WifiClient and WiFiClientSecure issues...

There are a some issues I encountered when coding for wb3s and wbr3 chips (using the feature/realtek-update branch for wbr3):

WiFiClientSecure doesnt work at all for any of the chips.
When using with wbr3 (RTL8720CF), WiFiClient class times out and stops when calling a GET with HttpClient and when having a big payload more than 2000~ bytes.
HttpClient class throws errors with time "multiple definition of `_gettimeofday' when building. it seems it is due to cookies part of the class..

But the good news is:
After some digging and experimenting, I solved all of the above issues by implementing:

a separate WiFiClient class for RTL chips (copied and refactored from https://github.com/ambiot/ambd_arduino library)
a separate WiFiSSLClientRTL class for RTL chips (copied and refactored from https://github.com/ambiot/ambd_arduino library)
a separate WiFiSSLClientBeken class for Beken chips (copied and refactored from ESP32 arduino library)
a smaller and simpler version of the HttpClient which doesnt have cookies implementation, which is enough for my own use..

**The only change I made in my local copy of LibreTiny repo is, changing the bool _connected field of LWIPClient class to protected instead of private, so that I could access it during inheritance.. All 3 classes I implemented rely on this change to work.
All of the above are packed in https://github.com/nsavga/WiFiLib-LibreTiny repository I created.
I tested them for both wbr3 and wb3s and everything seem to be working fine.
I checked the contributor's guide but I was still hesitant to create a pull request before communicating..
I would love to apply the changes, in an appropriate way, in LIBRETINY natively itself, and create a pull request.. but it would be better first discussing the most proper way to do it..
Also I am willing to contribute in any other part of the project after the discussion. (For instance, I desparately need to make wbr3(RTL8720CF) OTA work..)
@kuba2k2, please let me know how we can have a discussion for applying my solution into LibreTiny natively and possible future contributions..
Regards.

Hi
We're more than open to any contributions.
I haven't had much time to check your library repo yet, so I just gave it a quick look.
Why do the two platforms need different implementations? They're both based on LwIP and mbedTLS, so I'm not sure why are the implementations so different.
If you want, we can discuss this further on our Discord server (link in the docs), or here of course. Feel free to make PRs, even if they don't get merged or will need changes I think it's worth it to show off your ideas.
I'm planning to refactor LibreTiny (again) and cleanup vendor SDKs as much as possible. It'll then use the same version of LwIP and mbedTLS on all platforms. That's a future plan, but I think it's reasonable and doable.

Hi,
Although they seem to have the same or similar versions of LwIP and mbedTLS, they have some differences and missing functions in both platforms in different points.
The non-TLS LwIP client had problems in mostly the available() function and also support issues for non-blocking functions.. Or at least bugs with them when handling bigger payloads..
On the mbedTLS side, again missing functions in different platforms. connect(), available() and read() functions of the WiFiClientSecure needed to be implemented slightly differently..
I ended up with two different classes because I already had the RTL version sorted out and when I needed to fix the Beken code I decided to first start from scratch to see what's going on, so I copied the ESP32 library's code as a start point. So I ended up with two sets of classes for different platforms. At the end, in any case, they need to be merged into one class for all platforms and handled with macros, but I didnt have time yet to polish and cleanup in that level.
My idea about the LibreTiny fixes for a pull request for the same area is:

Changing the HTTPClient class to accept IWiFiClient in its constructor instead of WiFiClient (so that the WiFiClientSecure can have its own code without inheriting the LwIPClient, as 99% of its code is separate logic.
Applying my fixes to both WiFiClient and WiFiClientSecure classes in LibreTiny and handling the platform differences with macros and ifndef logic in the same class..

If you agree with me about it, I will create a pull request with the above plan as soon as possible..
About the HTTPClient class issues. Do we really need the CookieJar implementation there?
If so, are you ok having another simpler class SimpleHTTPClient which doesnt have any redirection management, cookie and automatic 'switch to TLS' code? Smaller classes are better in most embedded cases as they are not having the unneeded overhead..
About the story on why I started to use your project:
I am working for a new IOT startup business. We initially made our module firmwares on ESP8266 and ESP32 chips.. Recently some Chinese manufacturers offered some products/modules which we are fitting in some of our use cases in our ecosystem, but having Beken or RTL chips. So I found your work when researching around, and started to test and implement our use cases with LibreTiny to support those chips..
After testing all in my list with a WBR3 chip which came with a test product, I ended up having two issues to handle: TLS and OTA.
With this code I finally managed handling the TLS issues. Now I need to find a way to make the OTA work too with the WBR3.. PWM and other stuff are not in good shape for WBR3 either, but luckily they are not needed at this moment for that particular product module's use cases..
I added you in LinkedIn and would like to talk to you.. In case you are willing to and have time, I would be happy to discuss about a plan to work together professionally.
The work we would do together would in any case end up as new features or bug fixes in LibreTiny, but with a professional, paid approach to work on issues/features..
Thanks and regards.

We can accept such an approach (separate classes) as a temporary solution - until we cleanup the SDK and use the same versions of LwIP and mbedTLS on all platforms. This will probably happen sometime this year, but it might be months from now.
These classes (LwIPClient, WiFiClient[Secure] and HTTPClient) were copied from somewhere else, most likely ESP32 Arduino Core. They might be unstable, because I did not put much work into testing them. The reason for this is that LibreTiny is mostly used by ESPHome users, and not by developers working on their own projects. That makes it easy to miss such bugs, until someone actually starts using these libraries.
The HTTPClient class was also copied from other Arduino cores, because LibreTiny was meant to be ESP32-Arduino-compatible. Hence, removing a functionality (the CookieJar) could cause problems for some use cases, even if that functionality isn't 100% bug-free. Adding a new "simple" class is a better idea.
That being said, if you're doing more serious work with LibreTiny, consider using LwIP and mbedTLS directly - without the Arduino wrapper classes. That way you get much more control about what your program is doing. The LwIP library allows to use Unix socket-like approach to network programming.
Anyways, I've accepted the invitation on LinkedIn. I'm not actively using that platform, so I'm not sure where to begin.


support scipy csc matrix

Is it possible to provide a convenient method to support the conversion of scipy's csc matrix into sprs CsMat?

Sorry for the slow reply. I think this is more likely appropriate for rust-numpy, or a separate thirdparty crate. PyO3 itself focuses on the Python standard library and very common Rust crates only.
It should be possible to use the new type pattern for user code to define to / from Python conversions.


Improve URL protocol support

I want to be able to improve the support for various URL schemes/protocols. This should enable the addition of custom protocols in the future such as a proper zip protocol that is more obvious than jar to users, and possibly the addition of things like tar which the JDK does not currently provide.
Challenges
This ordinarily could be achieved by just adding new URL protocol handlers and registering them via the handler SPI, but on Linux systems it appears Maven will bind these SPI instances before the plugin runs. An implementation detail of how the URL handler SPI works appears to be that we cannot register new handlers once initial ones have been loaded by Maven.
We cannot just manually process the URLs to deal with custom protocols either, as URLs require that their protocols map to a valid protocol handler in the URL SPI upon construction. This can occur prior to the plugin being fully loaded by Maven it would seem.
Initial ideas and thoughts
URL internal representation
I am thinking it may be simpler to change the resources taking a URL on the user API for this plugin to instead be regular strings. This will prevent URLs having to bind to a known scheme eagerly. Internally we can parse these as URI objects instead of URLs like we used to.
URIs cannot be placed on the plugin API directly as Maven will not parse them from the configurations in the pom.xml using this plugin.
Protocol mapping
A custom SPI can be created using the java.util.ServiceLoader mechanism that consumes a URI object and produces a buffered InputStream. These SPI instances can act as a predicate to determine if they will be able to consume a specific URI or not.
public interface UriResourceConnector {
  boolean canResolve(URI uri);

  InputStream connect(URI uri) throws FileNotFoundException, IOException;

  static Optional<UriResourceConnector> getConnectorFor(URI uri) {
    return ServiceLoader
        .load(UriResourceConnector.class)
        .stream()
        .filter(connector -> connector.canResolve(uri))
        .findFirst();
  }
}

An example implementation could look like the following:
@AutoService
public class FileUriResourceConnector
    implements UriResourceConnector {

  @Override
  public boolean canResolve(URI uri) {
    return uri.getScheme().equalsIgnoreCase("file");
  }

  @Override
  public InputStream connect(URI uri) throws IOException {
    ...
  }
}

In reality, handlers can be defined for file, ftp, jar, etc that simply delegate to their URL connection counterparts internally like UrlResourceFetcher already does.
For new schemes, custom providers can be implemented that may or may not use the URLConnection APIs internally.
Existing internal components
The new mechanism should be able to replace UrlResourceFetcher entirely or be the basis for the UrlResourceFetcher implementation.

Closing for now as there has been no request for this and the documentation is fairly clear on how this has to work. Will reopen if needed but for now I would rather avoid the added complexity.


add workwechat msgtype

Description

Checklist

[x] I have reviewed the contributing guidelines.
[x] I have included unit tests for my changes or additions.
[x] I have successfully run make test-docker with my changes.
[x] I have manually tested all relevant modes of the change in this PR.
[x] I have updated the documentation.
[x] I have updated the changelog.

Questions or Comments

Please add this line to the New features section at the top of CHANGELOG.md:
- [workwechat] add workwechat msgtype - [#1369](https://github.com/jertel/elastalert2/pull/1369) - @bitqiu

Already added

Please add this line to the New features section at the top of CHANGELOG.md:
- [workwechat] add workwechat msgtype - [#1369](https://github.com/jertel/elastalert2/pull/1369) - @bitqiu

already done

I apologize for the lack of explanation. Please add it below what is currently listed.
current
- [workwechat] add workwechat msgtype - [#1369](https://github.com/jertel/elastalert2/pull/1369) - @bitqiu
- Add workwechat alerter - [#1367](https://github.com/jertel/elastalert2/pull/1367) - @wufeiqun

fix
- Add workwechat alerter - [#1367](https://github.com/jertel/elastalert2/pull/1367) - @wufeiqun
- [workwechat] add workwechat msgtype - [#1369](https://github.com/jertel/elastalert2/pull/1369) - @bitqiu

[workwechat] add workwechat msgtype - #1369 - @bitqiu

already done

Has test code been added when work_wechat_msgtype is set to markdown?

@jertel
I think this pull request can be merged. I don't think there are any particular problems with the functionality or test code.


Colton day two

these are all the bug fixes to get the game ready to integrate to the site

@Kylyote @ColtonMakesStuff has beem working in a subdirectory that is exclusive to his game engine.   It doesnt affect any of the code in the main directory but is there to help us see how the engine works.  This is good to go


add subplot to show facilities in simulation to algorithm performance tests

closed with https://github.com/ergs/d3ploy/pull/168


rshell cp hangs if target becomes full

It issues False then hangs. C then leaves a part-written file on the target.

Thanks for the report. I think that the stmhal side is throwing an exception and rshell isn't dealing with that properly.

Someplace I have some code that deals with that - I need to find it and check it in.


Merge pull request #1 from jessesquires/develop

merge master

hey @keyeMyria - looks like this was a mistake? :smile: let me know if it isn't, and i'll re-open


Simplify StandardNote et al

Get rid of:

ColorT, TextT, TremoloT, HarmonicT, SlideT, TieT (replace with note-specific meta!)
The chord/list (why is it needed exactly?)
Pitch should no longer be a behavior by default (as fromPitch' . pure is too difficult to understand).

Handle as part of #324, as this relates to graphical music repr vs. semantic music repr. Close for now.


Green sceen after opening an obj file on a remote server

I always run things on a remote sever and need to open obj files on the sever through this extension. This extension was working fine util I updated my VSCode to 1.76.0 recently.  Now I can only see a green sceen after open a 3D model. Is there any thing wrong?

我也遇到相同的问题

i have same problem. In mesh obj it didnt work

您好，我是林晓建。您的邮件已收悉，我会尽快给您回复，谢谢！This is Lin Xiaojian. Your email is received and will be replied as soon as possible. Thank you and have a good day!

i have same problem

I have the same problem..

The problem persists in my case as well.

try waiting for ~20 seconds, it worked for me.

Same problem

Same problem for me. I've waited for seconds but it didn't work.

I came cross the same problem.
CentOS Linux release 7.6.1810

Same issue as well.
Local setup:
VS Code 1.83
Windows 10
Remote server:
Host: Google Compute Engine
OS: Debian GNU/Linux 10 (buster) x86_64
Kernel: 4.19.0-25-cloud-amd64

Same issue here

same problem on WSL

Same issue as well.
Local setup:
VS Code 1.88.0-insider
OS: Windows 11

Same issue here. vscode-3d-preview works for me though.

Same issue Here


Improve contrast ratio of button colours

Some of the ratios, such as this one are a bit low, we should probably be aiming for at least 3:1 here.

I'm all for WCAG compliance, but I've gone through all our examples and can't find anything that is using #8EC760 nor can I find any colour palette options that have less than 3.25 contrast ratio.


Creates project scaffolding

Creates project scaffolding based on kubernetes-template-project.
@jpeach I included you as an owner and a security point of contact. Let me know if any modifications are needed.
/cc @Miciah

@danehans Every repo in the projectcontour org inherits the documents in https://github.com/projectcontour/.github, though they don't always show up in obvious ways in the GitHub UI. Other documents can be drawn from https://github.com/projectcontour/community.

Every repo in the projectcontour org inherits the documents in https://github.com/projectcontour/.github

@jpeach thanks for the pointer, I've never worked with a default community health file before. It doesn't look like it's working though. For example, I tried creating an issue to see if the projectcontour/.github template works, but no-go. I also did not see the contrib when I submitted this PR.

Every repo in the projectcontour org inherits the documents in https://github.com/projectcontour/.github

@jpeach thanks for the pointer, I've never worked with a default community health file before. It doesn't look like it's working though. For example, I tried creating an issue to see if the projectcontour/.github template works, but no-go. I also did not see the contrib when I submitted this PR.

It's working now; GitHub is weird :)

Closed as a side-effect of renaming the default branch. Please re-post if there's anything left to do here.


Add automated integration tests

Experience has shown that we need some automated tests.
I would like the first test to be the following:

If we paste the standard main program then hovering on Unit should return Type.

https://code.visualstudio.com/api/working-with-extensions/testing-extension

@sockmaster27 Could you spend up to 4 hours investigating whether such a test is possible? I don't care about other types of tests. I want integration tests.

Maybe we need to start around here:
https://github.com/microsoft/vscode-extension-samples/blob/main/lsp-sample/client/src/test/completion.test.ts


Implementation of Dapr Building Block: Bindings

Overview of feature request
The Dapr bindings building block allows interaction with external systems by reacting to external system events through input bindings (e.g., messages received from SaaS software events) or by triggering an external system's response with output bindings (e.g., SMTP, SMS, etc.).
From a component standpoint, the only difference between input and output bindings is the direction metadata.
This enhancement will improve compatibility between Radius and Dapr. The building block is straightforward and won’t require any major changes to the daprrp aside from the new type.
Acceptance criteria

A new Applications.Dapr/bindings resource can be created.
Appropriate documentation will be provided.
No new local development recipe is needed, as bindings interacts with external systems.

Additional context
https://docs.dapr.io/developing-applications/building-blocks/bindings/bindings-overview/
Would you like to support us?

[X] Yes, I would like to support you

AB#13234

@SoTrx - Just FYI, we have been working on expanding the built in Radius types with the User defined types solution. This will simplify a lot of writing Go code to make new resource type work in Radius. You can find more context about it in these docs

PM feature spec - https://github.com/radius-project/design-notes/pull/58
Technical design -https://github.com/radius-project/design-notes/blob/main/architecture/2024-07-user-defined-types.md

That said, UDT's feature is still in design and no ETA at the moment. If you have plans to contribute to this now, please go ahead with the current way of adding new types to Radius.

Changes for users
This update introduces the Dapr Bindings Building Block.
Bindings are a way for applications to interact with external systems. There are two kinds of bindings:

Output bindings trigger external systems to react, and are often used for notifications.
Input bindings make applications react to external systems, such as CRON jobs or messages received in an external queue.

resource myapp 'Applications.Core/containers@2023-10-01-preview' = {
  name: '${baseName}-ctnr'
  properties: {
    connections: {
      mail: {
        source: mailing.id
      }
      cron: {
        source: cron.id
      }
    }
  ...
  }
}

// Output binding to an SMTP server.
// https://docs.dapr.io/reference/components-reference/supported-bindings/smtp/
resource mailing 'Applications.Dapr/bindings@2023-10-01-preview' = {
  name: '${baseName}-mail'
  properties: {
    application: app.id
    environment: environment
    resourceProvisioning: 'manual'
    type: 'bindings.smtp'
    metadata: {...}
  }
}

// Input binding : a CRON scheduler
// https://docs.dapr.io/reference/components-reference/supported-bindings/cron/
resource cron 'Applications.Dapr/bindings@2023-10-01-preview' = {
  name: '${baseName}-cron'
  properties: {
    application: app.id
    environment: environment
    resourceProvisioning: 'manual'
    type: 'bindings.cron'
    metadata: {...}
  }
}

Using a connection with a binding injects the corresponding Dapr component name into the app container environment variable as CONNECTION_$(connection_name)_COMPONENTNAME. This allows the application to access the binding as shown below:

import (
	"encoding/json"
	"log"
	"net/http"
	"github.com/gorilla/mux"
)

func sendMail(w http.ResponseWriter, r *http.Request) {
        // Sending an email with the output binding
        in := &dapr.InvokeBindingRequest{
            Name:      CONNECTION_MAIL_COMPONENTNAME,
            Operation: "create",
            Data: []byte("This is the body of the message"),
            Metadata: map[string]string{"emailTo"<EMAIL_ADDRESS>"subject": "Not fishy"},
        }

        out, _:= client.InvokeBinding(ctx, in)
        w.WriteHeader(http.StatusOK)
}

func main() {
	r := mux.NewRouter()
       // Each time a request is received with the input binding
	r.HandleFunc(CONNECTION_CRON_COMPONENTNAME, sendMail).Methods("POST", "OPTIONS")
	http.ListenAndServe(":6002", r)
}

Changes in Radius
This change adds the resource type Applications.Dapr/Bindings to the Dapr resource provider. This addition has no side effects on other resources in the provider.
Frontend
model DaprBindingResource
  is TrackedResourceRequired<DaprBindingProperties, "DaprBindings"> {
  @doc("Binding name")
  @key("bindingName")
  @path
  @segment("bindings")
  name: ResourceNameString;
}

@doc("Dapr binding portable resource properties")
model DaprBindingProperties {
  ...EnvironmentScopedResource;
  ...DaprResourceProperties;

  @doc("A collection of references to resources associated with the binding")
  resources?: ResourceReference[];

  ...RecipeBaseProperties;
}

Inner representation
type DaprBinding struct {
	v1.BaseResource

	// (Properties common to other components)
	Properties DaprBindingProperties `json:"properties"`

	// ResourceMetadata represents internal DataModel properties common to all portable resource types.
	datamodel.PortableResourceMetadata
}

Example emitted component
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: binding
  [labels]
spec:
  type: bindings.redis
  metadata:
  - name: redisHost
    value: localhost:6379
  - name: redisPassword
    value: <PASSWORD>

Let me know If I need to add anything to this description


Publish worldwide corporate information page

⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

We have decided to have a new content item instead of attempting to reuse the existing one https://github.com/alphagov/whitehall/pull/7789

We have decided to have a new content item instead of attempting to reuse the existing one https://github.com/alphagov/whitehall/pull/7789


add ram bundle to android template

Summary
I plan to do this for a long time :)
Still a little surprised so much people not know it https://twitter.com/geekykaran/status/1112756026611257344
Changelog

[Android] [Feature] - add ram bundle to android template
Test Plan
CI is green.

Thanks for this PR! We do not yet want to change the default and we'll probably want to make it opt-in soon. For now, let's keep it out of the template.

it's only in comment, user can uncomment it to enable it :)

Alright then, I'll land it but it may cause issues for people and they may need to do additional work to get it to run. It's also not useful without inline requires turned on.


Custom message editor

Hey! wdym my this?

I think (No offense) that if you got an idea, put a description. it doesnt have to be long just the gist of what you are trying to do

Basically just a better text editor for direct messages. An idea might be to use something like https://blocknotejs.org/

The SEQTA one is already pretty good. It may just need a little more features.

The SEQTA one is already pretty good. It may just need a little more features.

How's the progress going on this one?

How's the progress going on this one?

this one's turned out to be a bit messy so I've delayed it a little

If we are to use https://blocknotejs.org/ we should find a way to cover costs. I'm not suggesting implemting ads but we dont want to be spending money if there is no way of making it back.

If we are to use https://blocknotejs.org/ we should find a way to cover costs. I'm not suggesting implemting ads but we dont want to be spending money if there is no way of making it back.

Don't worry, we don't actually need to pay for it. It's just got more detailed examples- it's also for proper companies with support etc.

How would the messages be sent? The issue is that SEQTA (as a whole) probably cannot render many of the things in other text editors. Would it be sent as HTML?

The SEQTA one is already pretty good. It may just need a little more features.

I mean 😢 I just find it a bit annoying to use (and ugly) and there are a bunch of features like having image uploads embed directly into the message.

don't even get me started on links.

How would the messages be sent? The issue is that SEQTA (as a whole) probably cannot render many of the things in other text editors. Would it be sent as HTML?

Well seqta direct messages are just html pages, so you can actually just send html with a bunch of css to make it work perfectly. It also means that I can make it fully support betterseqta+ dark mode as I add the .dark class to the body element of it...

How would the messages be sent? The issue is that SEQTA (as a whole) probably cannot render many of the things in other text editors. Would it be sent as HTML?

Well seqta direct messages are just html pages, so you can actually just send html with a bunch of css to make it work perfectly. It also means that I can make it fully support betterseqta+ dark mode as I add the .dark class to the body element of it...

which would mean the body of the text in the custom message editor should be sent as html?

How would the messages be sent? The issue is that SEQTA (as a whole) probably cannot render many of the things in other text editors. Would it be sent as HTML?

Well seqta direct messages are just html pages, so you can actually just send html with a bunch of css to make it work perfectly. It also means that I can make it fully support betterseqta+ dark mode as I add the .dark class to the body element of it...

which would mean the body of the text in the custom message editor should be sent as html?

yes exactly! with inlined css styles using <style></style> tags. But one annoying thing is seqta adds their own styles on top too, so we'd have to override those specifically.


Update removes files from Binaries Folder

Hallo ive been runing into the Problem if ARK gets an update my PlayersJoinNoCheck.txt or PlayersExclusiveJoinList.txt gets removed from the ShooterGame/Binaries/Linux Folder and so i always have to upload it for all of my Servers manualy. Could that get maybe a fix ?

+1 from me. We have the same issue. :)

Did 9f188a5 (in v1.6.23 or newer) not fix this?

I´ve done many updates during the last weeks and don´t run into the problem since the fix


change Img size

Markwon version: {4.6.2}

When the label has no width information, I want to specify the width of the image to fill the whole screen. What should I do？
thank you
just like this

Hello @sunleidehao ,
you can take look at the FitWidthImageSizeResolverSample sample that achieves this with a custom ImageSizeResolver

Hello @noties
Where is the FitWidthImageSizeResolverSample?

Hello @hijunmeng ,
this is a file in this repository, you can search for it

hello @noties
I tried, but I couldn't find anything.

Hello @hijunmeng ,
sorry, it is not pushed yet 😅
class FitWidthImageSizeResolverSample : MarkwonTextViewSample() {
  override fun render() {
    val md = """
      # Fit Width Image

      ![wiki](https://en.wikipedia.org/static/images/project-logos/enwiki-2x.png)

      And some text after and then an inline image that takes full width again: ![wiki](https://en.wikipedia.org/static/images/project-logos/enwiki-2x.png)
    """.trimIndent()

    val markwon = Markwon.builder(context)
      .usePlugin(object : AbstractMarkwonPlugin() {
        override fun configureConfiguration(builder: MarkwonConfiguration.Builder) {
          builder.imageSizeResolver(FitWidthImageSizeResolver())
        }
      })
      .usePlugin(ImagesPlugin.create())
      .build()

    markwon.setMarkdown(textView, md)
  }

  private class FitWidthImageSizeResolver : ImageSizeResolverDef() {
    override fun resolveImageSize(drawable: AsyncDrawable): Rect {
      return resolveImageSize(
        ImageSize(
          ImageSize.Dimension(100F, UNIT_PERCENT),
          null
        ),
        // important detail - `drawable.result` bounds must be used
        drawable.result.bounds,
        drawable.lastKnownCanvasWidth,
        drawable.lastKnowTextSize
      )
    }
  }
}

Can you send me an example written in Java ： FitWidthImageSizeResolver
Thank you very much


fix: disable runtimeChunk optimization

Fixes #47

Thanks!

:tada: This PR is included in version 1.5.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


publish multi-photo posts

indieweb details in https://indiewebcamp.com/multi-photo. just a normal post with multiple u-photos.
twitter looks straightforward, we just need to upload the photos in separate API calls and then port to /statuses/update. (we currently use /statuses/update_with_media, which is deprecated and evidently only supports one photo anyway: /help/configuration returns "max_media_per_upload": 1.)
facebook is less obvious. https://developers.facebook.com/docs/graph-api/reference/v2.2/user/photos#Creating says:

There is no way to publish more then one photo in the same graph API call.

...and SO agrees:

http://stackoverflow.com/questions/21355785/facebook-graph-api-posting-multiple-photos
http://stackoverflow.com/questions/15891692/facebook-graph-api-post-multiple-photos-to-album-and-feed

the one workaround people mention is using Custom Stories aka Open Graph Stories, which support a multi-valued image param...but custom stories seem to be dying and deprioritized in news feed ranking (related: https://github.com/snarfed/bridgy/issues/479#issuecomment-166383558), so i'm reluctant to use them.
the other approach that would probably work is to create a new album for each post...but that seems...undesirable. :P

cc @kartikprabhu @tantek

@snarfed I don't POSSE to FB so I have no opinion on that. Twitter would be nice yes!

Instagram FYI now supports multi-photo posts. While they still lack an API for posting, I wanted to drop this comment in here for search result purposes, in case there's ever an IG posting API.


Data not visible from Dremio

Hi,
With configuration below, I ran sync in local and saw data updated in Minio under bucket path warehouse/data. But when I tried to access from Dremio Nessie datasource, no data shown.
If data are inserted through Dremio, it is displayed, and data are created under different folder in Minio. Not sure, this is something to do with Nessie version.
iceberg-connector-config.properties
....
iceberg.tables.dynamic-enabled=true
iceberg.tables.route-field=db_table
iceberg.tables.auto-create-enabled=true
iceberg.catalog.catalog-impl=org.apache.iceberg.nessie.NessieCatalog
iceberg.catalog.uri=http://nessie:19120/api/v2
iceberg.catalog.ref=main
iceberg.catalog.authentication.type=NONE
iceberg.catalog.warehouse=s3a://warehouse
iceberg.catalog.s3.endpoint=http://minio:9000
iceberg.catalog.io-impl=org.apache.iceberg.aws.s3.S3FileIO
iceberg.catalog.client.region=us-east-1
iceberg.catalog.s3.path-style-access=true

iceberg.tables.cdc-field=_cdc_op
iceberg.table.systemtable.id-columns=node_uuid
iceberg.tables.upsert-mode-enabled=true
iceberg.table.systemtable.partition-by=cluster_uuid

Same problem with me. The only solution seems like to be running a rewrite after data is committed. But in streaming scenario for dynamic multi table fan out scenario in upsert mode, rewriting in a separate process doesn't seem like a viable option.
Is there any configuration that I am not aware of to do a rewrite at the time of the commit with this sink connector?


New version: FMIBuild v0.1.2

Registering package: FMIBuild
Repository: https://github.com/ThummeTo/FMIBuild.jl
Created by: @ThummeTo
Version: v0.1.2
Commit: ecf5876e732cd6905d900cc85e835b7a129e5328
Reviewed by: @ThummeTo
Reference: https://github.com/ThummeTo/FMIBuild.jl/commit/ecf5876e732cd6905d900cc85e835b7a129e5328#commitcomment-66984389

block

block


feat: Improve tiptop-integration of toolbars for better UX

UX improvements
This PR introduces a new toolbar system for improved user experience.

The toolbars move into the editable div as Prosemirror decorations. This avoids problems with timeouts when the editable div blurs.
Visibility of toolbar and dropdown can be defined more clearly using CSS
The block toolbar is moved from a dialog tag to a div tag to leverage the different focus concepts.
The block toolbar button now can be used as a block handle for draging block content.
Events are (largely) handled by the Prosemirror engine for better consistency.
The toolbar code has been fully refactored and moved into its own module.

Summary by Sourcery
New Features:

Introduce a new toolbar system that enhances user experience.

@sourcery-ai review

@sourcery-ai review


Path of OCR (Recognize Text) files + Issue.

Image tab > OCR (Recognize Text): where is the path of downloaded language pack ? In case if I reinstalled the app, but don't want to download OCR files again, instead just copy the downloaded files to the path.
The files are not in (Android > data > ru.tech.imageresizershrinker) folder, it's empty.
ISSUE: when importing settings file, it didn't import the saved language that in the file.
Device: Xiaomi Redmi 9.
OS: Android.
Thanks.

It's not a bug

Files are stored in the internal app's storage, to save them on the deleting app, check the checkbox which says save app data in delete dialog

Files are stored in the internal app's storage, to save them on the deleting app, check the checkbox which says save app data in delete dialog

My phone doesn't support that.

Then it's impossible for now :( maybe i can create some kind of exporting/importing ocr models

Also i didn't get wdym by the saved language?

Also i didn't get wdym by the saved language?

The app's language when exporting settings is English language, but when importing the settings file .. the language I selected (English), it didn't selected, instead the app's language stay as my phone's language (Arabic language).

okay, got it, language don't saved because it has no sence on android upper than 12

okay, got it, language don't saved because it has no sence on android upper than 12

OK, thanks 🙂.


[ENH] - Upgrade conda-store permissions model in Nebari to v2

Feature description
Conda-store recently updated its permissions model and this issue is to make upgrade the conda-store's permissions model to the latest:
https://github.com/nebari-dev/nebari/blob/363cb0d92c72e13fee84312a7ae19e1054d95326/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/conda-store/config/conda_store_config.py
Value and/or benefit
The current conda-store permissions model used in Nebari is outdated:
Relevant docs:

Role mapping: https://github.com/conda-incubator/conda-store/blob/67a4860ac5d9cf33285b5641e5dbb3b9ce61b1c7/conda-store-server/conda_store_server/server/auth.py#L146
https://github.com/conda-incubator/conda-store/issues/491#issuecomment-1787969472
Docs for v2: https://github.com/conda-incubator/conda-store/pull/607/files#diff-5f8356bcc617cf766c46c649e9ada30a6801a8b9a6bd74689ad5595bcdf194c9
Tests: https://github.com/conda-incubator/conda-store/pull/607/files#diff-3451cc474d5698222168f66a293339a6bd296ee2c56f56409866bbae99917a79R770

Anything else?
No response

Fixed in #2531


I have Error when upgrade to flutter 2.5

The plugin flutter_absolute_path uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

I have this error too, waiting for solution

try copying the contents into your own file from:
lib/flutter_absolute_path.dart

Try with
  flutter_absolute_path:
    git:
      url: https://github.com/canewsin/flutter_absolute_path.git


fix(runner): test.extend doesn't work in hooks without test

Description

fix: #4030
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
[x] Ideally, include a test that fails without this PR but passes with it.
[x] Please, don't make changes to pnpm-lock.yaml unless you introduce a new test example.

Tests

[x] Run the tests with pnpm test:ci.

Documentation

[ ] If you introduce new functionality, document it. You can run documentation with pnpm run docs command.

Changesets

[x] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with feat:, fix:, perf:, docs:, or chore:.

I think the test failure has nothing to do with this PR

I think the test failure has nothing to do with this PR

Only Windows and Mac tests are flaky, the Ubuntu one I see for the first time.

I figured out why, since concurrent causes an error caused by the fact that the test fetched by getCurrentTest() may not be correct. Now I get fixtures from context because the context is right in concurrent


Test DUOS in ingest UI #999

Description of the task:
List and test a number of different cases that we might encounter with the usage of Data use restriction & DUOS ID, in ingest UI described in #999.
Feature is deployed in staging, where the test can be done.
First comment will include the list of cases, and in following comments a step by step reproduction of the case and test result should be included.
Acceptance criteria for the task:

[ ] List all available cases
[ ] Test all available cases
[ ] Resolve issues that occurred during tests

List of available cases

Create
[ ] create an NRES project with no DOI & no accession
[ ] create an GRU project with no DOI & no accession
[ ] create an GRU-NCU project with no DOI & no accession
[ ] create an NRES project from DOI
[ ] create an GRU project from DOI
[ ] create an GRU-NCU project from DOI
[ ] create an NRES project from accession
[ ] create an GRU project from accession
[ ] create an GRU-NCU project from accession
Update
[ ] update project from NRES -> GRU
[ ] update project from NRES -> GRU-NCU
[ ] update project from GRU -> NRES
[ ] update project from GRU-NCU -> NRES
[ ] update project from GRU -> GRU-NCU
[ ] update project from GRU-NCU -> GRU

create an NRES project from DOI

register new project from DOI 10.1016/j.cell.2024.03.009
added NRES as data_use_restriction
save
verify NRES in api
Upload minimum_test.xlsx to create submission
download spreadsheet and verify the field

Test: Pass

create an NRES project from accession fails but that fails in prod as well. GEO to HCA script is known to have problems and needs to be updated so we can skip these tests.

Update
update project from NRES -> GRU

register new project
added NRES as data_use_restriction
save
verify NRES in api
Updated data_use_restriction & added duos-id from UI
it return an error for no data in the publication info although no publication was added in the initial project creation. after removing publication from UI update completed

Test: pass

When editing a project that already has a DUOS-ID, the DUOS-ID is not editable unless we change the data_use_restriction field.

Bump
update

created NRES project with no DOI
through api, removed the data_use_restriction field and downgraded the project to 17.1.1 with the following query

query

{
"content": {
"describedBy": "https://schema.staging.data.humancellatlas.org/type/project/17.1.1/project",
"schema_type": "project",
"project_core": {
"project_short_name": "TestDowngradeProjectVersion",
"project_title": "test downgrade project schema to 17.1.1",
"project_description": "test downgrade project schema to 17.1.1"
},
"contributors": [
{
"name": "Arsenios,,Chatzigeorgiou",
"email"<EMAIL_ADDRESS>"institution": "EMBL-EBI",
"corresponding_contributor": true
}
],
"funders": [
{
"grant_id": "82030097",
"organization": "NCI NIH HHS"
}
]
}
}

When editing a project that already has a DUOS-ID, the DUOS-ID is not editable unless we change the data_use_restriction field.

In the interest of finding the different cases that we might come up in backfilling, I investigated the project_schema versions in ingest.

from hca_ingest.api.ingestapi import IngestApi
from collections import Counter
api = IngestApi(url="https://api.ingest.archive.data.humancellatlas.org/")
api.set_token(f"bearer {token}")
all_url = 'https://api.ingest.archive.data.humancellatlas.org/projects/'
all_projects = api.get_all(all_url, 'projects')
versions = []
for project in all_projects:
versions.append(projects['content']['describedBy'][47:53])
Counter(versions)

The output was:

'17.0.0': 888
'17.1.1': 205
'19.0.0': 13
'18.0.0': 10
'17.1.0': 5
'type/p': 1
'14.1.0': 1

type/p is from a project with the project version being: https://schema.staging.data.humancellatlas.org/type/project/14.1.0/project
14.1.0 is from the project 5116c081-8be7-49c5-8ce0-73b887328aa9

Therefore, in case of bump version from 17 and above, we only need to change the schema version and add the data_use_restriction and duos-id if needed.
In case of bump from version 14.1.0 we need to fill official_hca_publication field as well.


convertStyledProps is not a function

There is no convertStyledProps function in native-base source code. How should it work? It fails.

You have to use at least<EMAIL_ADDRESS>(I tried 3.5.0-rc.4)

Now there is another problem - @emotion components fail:
Cannot read properties of null (reading 'type')

I'm getting the same Cannot read property 'type' of null error.

Hey @sregg @crutch12 thanks for reporting this, I'm looking into this. Will share the updates soon.

Related: https://github.com/GeekyAnts/native-base-babel-plugin/issues/3
Fix: https://github.com/GeekyAnts/native-base-babel-plugin/pull/4


Solar Eclipse animation

Hi @Durgesh4993 , I want to create solar eclipse animation using html and css. Can you please assign this to me with the title of hactoberfest'23?

@charmee123 I'm eager to contribute to the solar eclipse animation project for Hacktoberfest 2023. Please consider me for this exciting opportunity! #Hacktoberfest2023 #OpenSource
@Durgesh4993

Hi @ZainabR11, I have already contributed this animation in the project. If you want to update it's styles or want to create new animations except solar eclipse then it would be better if you ask to @Durgesh4993  :)

@Durgesh4993 can i implement my idea for hacktoberfest 2023?


How to create user identity from identityserver4 bearer token

Please only use the issue tracker for bug reports and/or feature requests. For general security questions, or free or commercial support options do not use the issue tracker and instead see here for more details.
For bug reports,  include the relevant log files related to your issue. See here how to enable logging. Delete this line once you have.
Finally, please keep the issue concise and to the point. If you paste in more code than the text for the issue you are reporting then we will most likely not read it.
Issue / Steps to reproduce the problem
I am having identity server4 bearer token.
Can I create any deserialization/other techniques to generate user identity without calling useidentityauthe.. ?
Relevant parts of the log file
<log goes here>

The identity of the user in the bearer token is held in the "sub" claim type.


Missing an installation step

You can go to the Log Analytics Workspace, go to Virtual Machines under Workspace Data Sources, select the VM, and connect the VM to the Workspace.  This doesn't seem to be documented on this page as an installation method for the agent.

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

ID: 00a00a3e-a0df-7ee5-4733-7231bd7a024f
Version Independent ID: 94361683-e1e7-7e55-6993-86d3c2486a14
Content: Connect Windows computers to Azure Monitor
Content Source: articles/azure-monitor/platform/agent-windows.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@ElanShudnow Thanks for the comment. We are actively investigating on the issue and will get back to you shortly with an update.

@ElanShudnow The referred Azure document primarily explains about connecting windows computers by various approaches using

agent msi and setup wizard
agent exe and command line
agent exe and DSC in Azure Automation

But for Windows and Linux virtual machines which are already deployed in Azure, you can install the Log Analytics agent with the Log Analytics VM Extension as explained in this Azure document.
Hope this helps!

@ElanShudnow As at this point it appears that there's no edits or updates needed for the referred Azure documentation so closing this issue for now. If there are further questions regarding this matter or feedback on the documentation, please do let us know and we will gladly continue the discussion.


🐛 NavigationPane sticky state not preserved

Describe the bug

To Reproduce
You can see that on example app. Go the the settings pane and change theme (light, dark) and the sticky move from the previous selected pane to settings.
Expected behavior
The sticky must not be animate when we are already on the good pane.
Edit: 3.10.0 regression

This happens something on the parent (NavigationView and above) is updated (setState). I believe global keys should be considered for each pane item

Thanks !


geting errors

Looking into it. Could you post the entire error log?

actually i copy paste the code in Miktex and getting error

how can  resolve this error?  i not sure what does it mean

It seems that the style file - twentyseconds.cv - is not present in your project directory. You'll need to fetch that file and try compiling again.


Switch style from default to new york

Describe the feature
Hello I created a new project a while and have been working so far, but I realized the default style is not as good as new york.
Why is it so hard to migrate to the new configuration?
I changed my componets.json, with the new style and rebuilt the project but the style is still the default.

You need to re-add all of the components. The CLI looks at the components.json when adding a component, it doesn't do anything during build or dev.

Thanks!


Display multi line statements as one while browsing history

run a multi line sql command:
select
1;

1

now scroll up, it displays the last line only:
1;

but I want it as:
select
1;

dupe of https://github.com/libsql/libsql-shell-go/issues/121


[Bug report]:

Platform
Desktop
Version
1.6.1
Description
i set up a ledger profile on my desktop computer (windows) and sent funds 1000 miota from another desktop firefly wallet (different computer) (mac) to the ledger profile with no issues the funds appeared on the ledger profile.
i then recovered my main wallet from which the funds were originally sent and added the profile to the wallet containing the ledger profile so i could transfer form the main wallet to the ledger profile.
i transferred a 1000 miota and 100 miota using internal transfer from main wallet to the ledger profile when the balance updated the original 1000 miota i had originally transferred was not visible even on searching balances i cannot find it can you advise
kind regards mike
Expected behaviour
i expected all the balance transferred to be on the ledger profile
Actual behaviour
1000 miota gone astray
Can the issue reliably be reproduced?
No
Steps to reproduce the issue
No response
Operating System
Mac, Windows
Diagnostics
Version 1.6.1
Language: en
Currency: USD
Node selection: Automatic
Platform: win32
Platform Version: 10.0.19044
Platform Architecture: x64
CPU Count: 4
Total Memory: 16297.2 MB
Free Memory: 8349.5 MB

Developer Profile
No
Profile Type
Hardware (Ledger)
Staking
Previously staked
Crash Status
None of the above
Error Messages
no errors
Error Logs
No response
Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

[X] I agree to follow this project's Code of Conduct

update i have set up the ledger profile on a new install of firefly without adding the main wallet and it seems the 1000 miota from the original transfer is there but not the the 1000 and the 100 whiuch still appears on the mac wallet very confusing

sorry i have found it i created another ledger profile by accident if i log out i have a main wallet with  2 profiles i can transfer between ledger and software and a seperate ledger wallet very confusing but thanks for the swift relpyn


Add Polygon and Celo support

Planning to use this to shame colleagues
going forward. Cheers!

Awesome, thank you!


Cannot return JsonModel

I am trying to use JsonModel view to return Json data to the application. But it does not work.
Example from the skeleton application:
<?php
/**
 * @link      http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository
 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Application\Controller;

use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\JsonModel;
use Zend\View\Model\ViewModel;

class IndexController extends AbstractActionController
{
    public function indexAction()
    {
        return new JsonModel(['test']);
        return new ViewModel();
    }
}

this will return the index.phtml content.Expected and array with one element : test.
Am I missing any configuration?

Ok I founded it, after some efforts I remember to set the strategy as in ZF2, in module.config.php
        'strategies' => [
            'ViewJsonStrategy'
        ]


Update calculatorusingswitch.c

Using a single variable res to calculate the result and printing it at the end

Using a single variable res to calculate the result and printing it at the end


System.Management.Automation.RuntimeException: Method invocation failed because [System.Management.Automation.ErrorRecord] doesn't contain a method named 'ForEach'.

I have been unable to build a web package using the DNX Tasks. It seems to actually compile my project fine but there seems to be a problem with the Powershell script. I changed the .ForEach method call to a foreach loop and it worked fine after that. Am I missing a module or something?
******************************************************************************
Starting: Build Web Package: [ProjectName]
******************************************************************************
Preparing task execution handler.
Executing the powershell script: C:\agent\_work\_tasks\DNX.Tasks.BuildWebPackage_18e7af2f-a100-4868-9c88-bb3a07b3b3be\0.1.23\BuildWebPackage.ps1
Parameter Values:
    ProjectName = [ProjectName]
    BuildConfiguration = Release
    OutputFolder = C:\agent\_work\6\a
    PublishSource = false
    WorkingFolder = C:\agent\_work\6\s\Server\src\
    SourceFolder =
    SkipDotNetInstall = true

    1 Projects to build

dotnet restore for:
    ".\[ProjectName]"

    log  : Restoring packages for C:\agent\_work\6\s\Server\src\[ProjectName]\project.json...
    log  : Restoring packages for tool 'Microsoft.AspNetCore.Server.IISIntegration.Tools' in C:\agent\_work\6\s\Server\src\[ProjectName]\project.json...
    log  : Lock file has not changed. Skipping lock file write. Path: C:\agent\_work\6\s\Server\src\[ProjectName]\project.lock.json
    log  : .\[ProjectName]\project.json
    log  : Restore completed in 2311ms.
    Restore done.

dotnet build for:
    ".\[ProjectName]"

    Project [ProjectName2] (.NETFramework,Version=v4.5.1) will be compiled because project is not safe for incremental compilation. Use --build-profile flag for more information.
    Compiling [ProjectName2] for .NETFramework,Version=v4.5.1

    Compilation succeeded.
        3 Warning(s)
        0 Error(s)

    Time elapsed 00:00:01.8644790
    Project [ProjectName] (.NETFramework,Version=v4.5.1) will be compiled because dependencies changed
    Compiling [ProjectName] for .NETFramework,Version=v4.5.1

    Compilation succeeded.
        0 Warning(s)
        0 Error(s)

    Time elapsed 00:00:02.3561909
     (The compilation time can be improved. Run "dotnet build --build-profile" for more information)

    Warnings:

System.Management.Automation.RuntimeException: Method invocation failed because [System.Management.Automation.ErrorRecord] doesn't contain a method named 'ForEach'.
   at System.Management.Automation.EnumerableOps.MethodInvokerWorker(CallSite invokeMemberSite, IEnumerator enumerator, Object[] args, ExecutionContext context, ArrayList result, Boolean& foundMethod)
   at System.Management.Automation.EnumerableOps.MethodInvoker(PSInvokeMemberBinder binder, Type delegateType, IEnumerator enumerator, Object[] args, Type typeForMessage)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
   at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

    Build done.

dotnet publish for:
    ".\[ProjectName]"

    Publishing [ProjectName] for .NETFramework,Version=v4.5.1/win7-x64
    Configuring the following project for use with IIS: 'C:\agent\_work\6\a\[ProjectName]'
    Updating web.config at 'C:\agent\_work\6\a\[ProjectName]\web.config'
    Configuring project completed successfully
    publish: Published to C:\agent\_work\6\a\[ProjectName]
    Published 1/1 projects successfully

    Publish done for: .\[ProjectName]

PowerShell script completed with 1 errors.
******************************************************************************
Finishing: Build Web Package: [ProjectName]
******************************************************************************

Hi,
I am not sure why there are two compile steps. One with three warnings and one with zero warnings.
I will have a look into this and try to reproduce this.
Sorry fir the trouble.

The second step is a another dependent project in the solution. I probably should have named it [SecondProjectName] or something. I can edit it.

Is this build running on a hosted controller?
Can you show what you have changed when it is running well?

I think .ForEach is introduced with PowerShell 4.0. Maybe this is the problem here.

I made changes to these following sets of lines. This is what I changed it to, before it was just $buildWarnings.ForEach({...}) for example
if ($buildWarnings.Count -gt 0)
    {
        Write-Host "    Warnings:`n`r "
		foreach($warning in $buildWarnings)
		{
			if ($warning -ne [string]::IsNullOrWhiteSpace($warning))
            {
                Write-Host "##vso[task.logissue type=warning;]Warning: $warning"
            }
		}
        Write-Host " `n`r "
    }

    if ($buildErrors.Count -gt 0)
    {
        Write-Host "    Errors:`n`r "
        foreach($error in $buildErrors)
		{
            if ($error -ne [string]::IsNullOrWhiteSpace($error) -and
                -not ($error -like "*dotnet-compile.rsp returned Exit Code 1*"))
            {
                Write-Host "##vso[task.logissue type=error;]Error: $error"
            }
        }
        Write-Host "##vso[task.complete result=Failed;]Build Failed!"
        Write-Host "    Build Failed!`n`r "
        Write-Host " "

        exit 1
    }

...

        if ($publishWarnings.Count -gt 0)
        {
            Write-Host "    Warnings:`n`r "
		foreach($warning in $publishWarnings)
		{
			if ($warning -ne [string]::IsNullOrWhiteSpace($warning))
                       {
                            Write-Host "##vso[task.logissue type=warning;]Warning: $warning"
                       }
                }
            Write-Host " `n`r "
        }

        if ($publishErrors.Count -gt 0)
        {
            Write-Host "    Errors:`n`r "
			foreach($error in $publishErrors)
			{
				if ($error -ne [string]::IsNullOrWhiteSpace($error))
                {
                    Write-Host "##vso[task.logissue type=error;]Error: $error"
                }
            }
            Write-Host " `n`r "

            Write-Host "##vso[task.complete result=Failed;]Publish Failed!"
            Write-Host "    Publish Failed!`n`r "
            Write-Host " "

            exit 1
        }

Ah, this looks much better an this should be compatible with PowerShell 3 also.
Do you want to provide me a Pull request for this?
I will update the package in about 8h.
Thank for pointing this out!

Sure thing. I'll get the PR up in a bit.

Published the new package. Give it a try.
Thanks for your help!


Working with flavor using fastlane

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
fastlane screengrab shows all the apk for all flavor I need just show the apk with selected flavor. I want specific flavor would be selected then I can get the screenshots of that flavor
Complete output when running fastlane, including the stack trace and command used
[11:19:56]: Select your debug app APK
1.
app/build/outputs/apk/androidTest/flavorTest2/debug/app-flavorTest2-debug-a
ndroidTest.apk
2.
app/build/outputs/apk/androidTest/flavorTest1/debug/app-flavorTest1-debug-a
ndroidTest.apk
3. app/build/outputs/apk/flavorTest2/release/app-flavorTest2-release.apk
4. app/build/outputs/apk/flavorTest2/debug/app-flavorTest2-debug.apk
5. app/build/outputs/apk/flavorTest1/release/app-flavorTest1-release.apk
6. app/build/outputs/apk/flavorTest1/debug/app-flavorTest1-debug.apk
7. app/release/app-release.apk

  [10:41:14]: fastlane detected a Gemfile in the current directory
[10:41:14]: however it seems like you don't use `bundle exec`
[10:41:14]: to launch fastlane faster, please use
[10:41:14]:
[10:41:14]: $ bundle exec fastlane env
[10:41:14]:
[10:41:14]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[10:41:15]: Generating fastlane environment output, this might take a few seconds...
[10:41:15]: Error accessing file, this might be due to fastlane's directory handling
[10:41:15]: Check out https://docs.fastlane.tools/advanced/#directory-behavior for more details
#######################################################################
fastlane 2.89.0 is available.
You should use the latest version.
Please update using sudo gem install fastlane.
#######################################################################
2.89.0 Improvements

[action] Make sure get_version_number targets respond to test_target_type? (#12212) via Josh Holtz
[action] Make enable_automatic_code_signing for all configurations (#12187) via Nicolas Braun
[produce]Use correct spelling of icloud service in product/service.rb (#12134) via Jakub Knejzlík
[action] Add Support for Registering Mac Devices on Apple Developer Portal (#11978) via Baumchen
[spaceship] Spaceship delete testflight groups (#12111) via Kenneth Wong
[produce] Enable set 'NFC Tag Reading' at 'fastlane produce' cli. (#12179) (#12201) via Kazuhide Takahashi
[frameit] frameit documentation describes all parameters from the Framefile (#11662) via funnel20
[supply] Clarify difference between SUPPLY_JSON_KEY and SUPPLY_JSON_KEY_DATA via Aaron Brager
[action] added custom api_url option to testfairy (#12153) via Josh Holtz

Please update using sudo gem install fastlane
/var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/environment_printer.rb:214:in ``': No such file or directory - git (Errno::ENOENT)
from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/environment_printer.rb:214:in print_system_environment' 	from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/environment_printer.rb:24:in get'
from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/environment_printer.rb:4:in output' 	from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/commands_generator.rb:263:in block (2 levels) in run'
from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:75:in run!'
from /var/lib/gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/commands_generator.rb:333:in run'
from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/commands_generator.rb:42:in start' 	from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/fastlane/lib/fastlane/cli_tools_distributor.rb:107:in take_off'
from /var/lib/gems/2.3.0/gems/fastlane-2.88.0/bin/fastlane:20:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in `'

Environment

Android Fastlane

@shailesh2208 You can use Dir.glob to find the APK that you want with something like this...
:snaps do
  gradle(
    task: 'assemble assembleAndroidTest'
  )

  apk_path = Dir.glob("../**/flavorTest2/*-debug.apk").first
  test_apk_path = Dir.glob("../**/flavorTest2/*-debug-androidTest.apk").first

  screengrab(
    app_apk_path: File.absolute_path(apk_path),
    tests_apk_path:  File.absolute_path(test_apk_path)
  )
end


Update commons-csv to 1.10.0

Updates org.apache.commons:commons-csv from 1.9.0 to 1.10.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.commons", artifactId = "commons-csv" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.commons", artifactId = "commons-csv" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #685.


Add new Dialog static methods

Add a few new Dialog static methods:

Dialog.empty(): Empties the dialog's body container.  Returns Dialog for further chaining.
Dialog.wikiPassage(name): Renders the specified passage and appends it to the dialog's body container.  Returns Dialog for further chaining.

So Dialog.wikiPassage(name) would replace the need for doing Dialog.wiki(Story.get(name).processText())?

Correct.

Edited opening post.


terraform provider registration requires more than "Reader" rights on subscription

In what area(s)?

/area administration

/area ansible
/area autoscaling
/area configuration
/area cyclecloud
/area documentation
/area image
/area job-scheduling
/area monitoring
/area ood
/area remote-visualization
/area user-management

Expected Behavior
When following the system-managed-identity route, the documented requirements should be enough to deploy az-hop (in particular, "Reader" at the subscription level).
Actual Behavior
Even when the image terms are accepted, deployment still fails because terraform is trying to register all providers supported by azurerm (see here), which the system managed identity does not have the rights to do.
╷
│ Error: Error ensuring Resource Providers are registered.
│
│ Terraform automatically attempts to register the Resource Providers it supports to
│ ensure it's able to provision resources.
│
│ If you don't have permission to register Resource Providers you may wish to use the
│ "skip_provider_registration" flag in the Provider block to disable this functionality.
│
│ Please note that if you opt out of Resource Provider Registration and Terraform tries
│ to provision a resource from a Resource Provider which is unregistered, then the errors
│ may appear misleading - for example:
│
│ > API version 2019-XX-XX was not found for Microsoft.Foo
│
│ Could indicate either that the Resource Provider "Microsoft.Foo" requires registration,
│ but this could also indicate that this Azure Region doesn't support this API version.
│
│ More information on the "skip_provider_registration" flag can be found here:
│ https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs#skip_provider_registration
Cannnot register providers: Microsoft.StreamAnalytics, Microsoft.DBforMariaDB, Microsoft.ContainerRegistry, Microsoft.Management, Microsoft.DBforMySQL, Microsoft.NotificationHubs, Microsoft.OperationalInsights, Microsoft.AppPlatform, Microsoft.ApiManagement, Microsoft.AVS, Microsoft.RecoveryServices, Microsoft.Search, Microsoft.EventHub, Microsoft.ServiceFabric, Microsoft.MixedReality, Microsoft.DataProtection, Microsoft.Cdn, Microsoft.EventGrid, Microsoft.Maintenance, Microsoft.HealthcareApis, Microsoft.HDInsight, Microsoft.Cache, Microsoft.OperationsManagement, Microsoft.CognitiveServices, Microsoft.Maps, Microsoft.Devices, Microsoft.DataLakeAnalytics, Microsoft.PowerBIDedicated, Microsoft.BotService, microsoft.insights, Microsoft.MachineLearningServices, Microsoft.Media, Microsoft.DBforPostgreSQL, Microsoft.ServiceBus, Microsoft.DevTestLab, Microsoft.CustomProviders, Microsoft.Databricks, Microsoft.ContainerService, Microsoft.ManagedServices, Microsoft.Relay, Microsoft.DataMigration, Microsoft.DesktopVirtualization, Microsoft.Web, Microsoft.TimeSeriesInsights, Microsoft.Logic, Microsoft.DataLakeStore, Microsoft.GuestConfiguration, Microsoft.ServiceFabricMesh, Microsoft.ContainerInstance.
Errors were: Cannot register provider Microsoft.StreamAnalytics with Azure Resource Manager: resources.ProvidersClient#Register: Failure responding to request: StatusCode=403 --
Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client 'xxx' with object id 'xxx' does not have authorization to perform action 'Microsoft.StreamAnalytics/register/action' over scope '/subscriptions/xxx' or the scope is invalid. If access was recently granted, please refresh your credentials."

Note: The error message does not mention a clash with a customer policy but I don't know whether this could still be caused by a customer policy indirectly.
The first word of the error message contains a typo, so perhaps this indicates this error message is rarely seen...

Steps to Reproduce the Problem
Try to deploy az-hop via a system managed identity that only has the documented permissions (in particular: only "Reader" on the subscription level).

cc @matt-chan

This is quite easy to fix by telling terraform to skip the provider registration (will open a PR).
It did not seem to affect my deployment but I don't know whether this has unwanted side effects.

Is this something you are actually experimenting with a real customer case ?

yes

ok, sounds good to disable registration then.


ConfigurationException in pipeline does not set Adapter to error state

Describe the bug
If a ConfigurationException is thrown in pipeline.configure(), the owning adapter appears to startup normally, although not completely configured. If
Reporter
Gerrit
Category

Frank Framework

To Reproduce
Steps to reproduce the behavior:

Go to iaf-test, set fxf.dir to a non-existing directory.
Start iaf-test
See 'error initializing pipeline' message and stacktrace in the log, from Adapter:196
See that adapter is still started in console
See that the queries of the errorstorage are not initialized

Expected behavior
If a ConfigurationException is thrown in pipeline.configure(), the adapter must go to state 'error'.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment:

Tomcat
IAF Version [7.6 d.d. 21-7-2020]

Additional context
I think 'throw e;' should be at Adapter:197. However, this makes the whole configuration fail in such a situation

It appears that the adapter is not started, but that that is only revealed when the GUI is refreshed with Ctrl F5.


CDN for "All" type files

Explore using cdn to serve larger files. Files would be built and pushed daily, then linked from webpage.

CDN is setup, file build instructions are written.


fix(v2): parse frontMatter.date

Motivation
(Write your motivation here.)
frontMatter date is string, cause build error
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
yes
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
the problem is obvious, cause error like this https://github.com/wenerme/wener/runs/3180667805#step:5:782
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)

upgrade from alpha to beta, cause build failed

Hi, I'm not sure this fix is needed.
Can you please explain to me which frontmatter date string are you using exactly that is producing an error?
And what error did you get with it after upgrading?
I'd like to double-check that you are doing things right in the first place. The problem could also be that we don't log a good-enough error message to troubleshoot the issue.

@slorber Hi, you can check this build log
https://github.com/wenerme/wener/runs/3180667805#step:5:782
This line cause the problem https://github.com/wenerme/wener/blame/master/story/2016/2016-08-06-tap-titans.md#L2
this used to works in alpha version

I see thanks,
This is because Docusaurus does not really support the "blog post time".
2016-8-6 is ok, but 2016-8-6 23:43 is not.
Accepting the time may be more complicated.
We try to only parse dates as UTC and render them as UTC, because otherwise we had some tz offset issues  (ie you write day 8 and it prints day 9 on your server)
See also https://github.com/facebook/docusaurus/issues/4881
Why do you need that time in the first place?
Docusaurus does not even display it.
Do you expect that if you write 2016-8-6 05:00 thenfor an US citizen with different TZ it would print 2016-8-5 19:00 ?
Would it be good enough if we just displayed an error telling you to remove those useless times? That seems safer to me because otherwise, we give a false impression that the time could be important and used in practice. It would be hard to use a time on a site like Docusaurus because assets are build statically. The final HTML must contain the blog post date, it can't be adjusted on a per-user basis.

@slorber It's about metadata, I'd like to know when I wrote the article, event it's useless to docusaurus. docusaurus can offload the tz problem to just new Date(), it's depends on runtime. If docusaurus can not process the date, maybe just a warning ?

Agree we could silently allow to provide a date even if it's not used in practice.
Also taking a look at the code I think it's Yaml that converts the frontmatter date of a certain pattern to a string already so it may not even apply the UTC tz when doing so.
I think current system is not perfect and has some edge cases and your PR won't break it more, so going to merge this for now


Regression 0.9.2 -> 0.10.1 in segments merging

I'm now sure that this a bug :
https://groups.google.com/forum/#!topic/druid-user/2nq9KZlYdt8
There is no other way for me to pass the AWS credentials so we cannot upgrade to druid 0.10.1.

These are full logs from server https://gist.github.com/l15k4/ff4e61376bf5367e707ddfd1fc15c287

I compared the logs at 0.9.2 and 0.10.1 and they are identical ... the descriptor.json at s3 too...
Could this be caused by different hadoop-client versions 2.3.0 -> 2.7.3 ?

The problem here is, that the tuningConfig is ignored in this case :-/ So I added druid/_common/core-site.xml with :
<configuration>
  <property>
    <name>fs.s3.impl</name>
    <value>org.apache.hadoop.fs.s3a.S3AFileSystem</value>
  </property>

  <property>
    <name>fs.s3n.impl</name>
    <value>org.apache.hadoop.fs.s3a.S3AFileSystem</value>
  </property>

  <property>
    <name>fs.s3a.access.key</name>
    <value>${COMMON_DRUID_S3_ACCESSKEY}</value>
  </property>

  <property>
    <name>fs.s3a.secret.key</name>
    <value>${COMMON_DRUID_S3_SECRETKEY}</value>
  </property>

  <property>
    <name>fs.s3a.endpoint</name>
    <value>s3.eu-west-1.amazonaws.com</value>
  </property>

  <property>
    <name>com.amazonaws.services.s3.enableV4</name>
    <value>true</value>
  </property>
</configuration>

But I'm getting this now :
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[guava-16.0.1.jar:?]
	at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader(HadoopTask.java:218) ~[druid-indexing-service-0.10.1-iap3.jar:0.10.1-iap3]
	at io.druid.indexing.common.task.HadoopIndexTask.run(HadoopIndexTask.java:224) ~[druid-indexing-service-0.10.1-iap3.jar:0.10.1-iap3]
	at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:436) [druid-indexing-service-0.10.1-iap3.jar:0.10.1-iap3]
	at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:408) [druid-indexing-service-0.10.1-iap3.jar:0.10.1-iap3]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_101]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_101]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_101]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
	at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader(HadoopTask.java:215) ~[druid-indexing-service-0.10.1-iap3.jar:0.10.1-iap3]
	... 7 more
Caused by: java.lang.NoSuchMethodError: com.amazonaws.services.s3.transfer.TransferManager.<init>(Lcom/amazonaws/services/s3/AmazonS3;Ljava/util/concurrent/ThreadPoolExecutor;)V
	at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:287) ~[?:?]
	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2669) ~[?:?]
	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94) ~[?:?]
	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703) ~[?:?]
	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685) ~[?:?]
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:373) ~[?:?]
	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:295) ~[?:?]
	at io.druid.indexer.hadoop.DatasourceInputFormat$3$1.listStatus(DatasourceInputFormat.java:173) ~[?:?]
	at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:315) ~[?:?]
	at io.druid.indexer.hadoop.DatasourceInputFormat.lambda$getLocations$1(DatasourceInputFormat.java:213) ~[?:?]
	at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:267) ~[?:1.8.0_101]
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374) ~[?:1.8.0_101]
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_101]
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_101]
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_101]
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_101]
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499) ~[?:1.8.0_101]
	at io.druid.indexer.hadoop.DatasourceInputFormat.getFrequentLocations(DatasourceInputFormat.java:236) ~[?:?]
	at io.druid.indexer.hadoop.DatasourceInputFormat.toDataSourceSplit(DatasourceInputFormat.java:194) ~[?:?]
	at io.druid.indexer.hadoop.DatasourceInputFormat.getSplits(DatasourceInputFormat.java:124) ~[?:?]
	at org.apache.hadoop.mapreduce.lib.input.DelegatingInputFormat.getSplits(DelegatingInputFormat.java:115) ~[?:?]

Adding core-site.xml with :
<configuration>
  <property>
    <name>fs.s3.impl</name>
    <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  </property>

  <property>
    <name>fs.s3n.impl</name>
    <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  </property>

  <property>
    <name>fs.s3n.access.key</name>
    <value>${COMMON_DRUID_S3_ACCESSKEY}</value>
  </property>

  <property>
    <name>fs.s3n.secret.key</name>
    <value>${COMMON_DRUID_S3_SECRETKEY}</value>
  </property>
</configuration>

Doesn't help either, it is not picked up...

For this S3N configuration:
<configuration>
  <property>
    <name>fs.s3.impl</name>
    <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  </property>

  <property>
    <name>fs.s3n.impl</name>
    <value>org.apache.hadoop.fs.s3native.NativeS3FileSystem</value>
  </property>

  <property>
    <name>fs.s3n.access.key</name>
    <value>${COMMON_DRUID_S3_ACCESSKEY}</value>
  </property>

  <property>
    <name>fs.s3n.secret.key</name>
    <value>${COMMON_DRUID_S3_SECRETKEY}</value>
  </property>
</configuration>

I think you'd need to set "fs.s3n.awsAccessKeyId" instead of "fs.s3n.access.key" and        "fs.s3n.awsSecretAccessKey" instead of "fs.s3n.secret.key"

Thanks @jon-wei, I will try it out. But why doesn't it pick up the tuningConfig as it does in 0.9.2 ?

@jon-wei it works, although it is not grabbed from the jobProperties for some reason which it was in 0.9.2. So I'd let this issue open as other people may hit this issue too I believe.

@l15k4 Cool, good to hear that's working for you at least.
Thanks for the report on the tuningConfig issue.
To confirm, there is no remote hadoop cluster in your use case?
I remember testing 0.10.1 against several hadoop clusters, using S3 deep storage, and didn't see this issue, but don't think I've tried a case where there was no hadoop cluster, I wonder if something changed there.

@jon-wei No hadoop cluster, no. We use s3 only.

We actually use the imply distribution

Sorry I miss clicked and closed the issue ...

+1 observing this error

I experience it as well.

To sum up the problem, looks like the above configuration works only with s3n and with v2 buckets. I can't make v4 buckets work with s3n and switching to s3a leads to java.lang.NoSuchMethodError: com.amazonaws.services.s3.transfer.TransferManager.<init>(Lcom/amazonaws/services/s3/AmazonS3;Ljava/util/concurrent/ThreadPoolExecutor;)V

@moscowart thanks for the summary -- sounds like the explanation of why some people have this issue and others don't is that some people are in aws v4 regions and some are not.
Has anyone in this thread had a chance to try recompiling Druid with adjusted versions of aws-java-sdk and/or Hadoop? Hadoop 2.8.2 is out now, and it is built against aws-java-sdk 1.10.6 so it may link better with the 1.10.77 that Druid is built with.
If this works, then upgrading Druid to Hadoop 2.8.2 could be a viable option.

@gianm I'm going to try as I have a strict requirement having bucket in v4 region (Frankfurt). I'll let you know once I have any results. Btw did it work in previous versions? Like 0.9.2?

So I was not able to update Hadoop in Druid due to resources constraint. I found a workaround, using Hadoop 2.7.3 from HDP 2.5.3 distribution. It is patched with aws-java-sdk-*:1.10.6 and works perfectly with it. So I replaced hadoop and aws jars and was able to use S3 v4 as a deep storage. I know it's a dirty hack but this is all I can do now.

I am facing the same issue with the latest release of druid-0.11 as well.

I was able to get it working by doing the following:

Add hortonworks maven repository http://repo.hortonworks.com/content/repositories/releases
Add spring.io maven repository  http://repo.spring.io/plugins-release
Set hadoop.compile.version to: <IP_ADDRESS>.5.3.0-37
Had to disable module druid-kerberos
Built the distro and there were no more runtime version incompatibility:

Following error was gone:
Caused by: java.lang.NoSuchMethodError: com.amazonaws.services.s3.transfer.TransferManager.<init>(Lcom/amazonaws/services/s3/AmazonS3;Ljava/util/concurrent/ThreadPoolExecutor;)V
        at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:287) ~[?:?]
        at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2669) ~[?:?]
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:94) ~[?:?]
        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2703) ~[?:?]
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2685) ~[?:?]

The code change can be seen here - https://github.com/amalakar/druid/pull/1/files