HTTP body not read to completion. Dropping connection.

A batch of POST requests cause connection to be dropped due to unconsumed request body:
HTTP body not read to completion. Dropping connection.
Full log:
[2022-08-04 11:36:06,274] INFO  [io-compute-7] o.h.b.c.n.NIO1SocketServerGroup:276 - Service bound to address /<IP_ADDRESS>:8080
[2022-08-04 11:36:06,286] INFO  [io-compute-7] o.h.b.s.BlazeServerBuilder:422 -
  _   _   _        _ _
 | |_| |_| |_ _ __| | | ___
 | ' \  _|  _| '_ \_  _(_-<
 |_||_\__|\__| .__/ |_|/__/
             |_|
[2022-08-04 11:36:06,308] INFO  [io-compute-7] o.h.b.s.BlazeServerBuilder:425 - http4s v0.23.14 on blaze v0.23.12 started at http://<IP_ADDRESS>:8080/
[2022-08-04 11:36:07,271] INFO  [io-compute-7] o.h.b.s.Http1ServerStage$$anon$1:271 - HTTP body not read to completion. Dropping connection.
0: Response(status=200, httpVersion=HTTP/1.1, headers=Headers(content-length: 0, date: Thu, 04 Aug 2022 09:36:07 GMT))
[2022-08-04 11:36:07,340] INFO  [io-compute-7] o.h.b.s.Http1ServerStage$$anon$1:271 - HTTP body not read to completion. Dropping connection.
1: Response(status=200, httpVersion=HTTP/1.1, headers=Headers(content-length: 0, date: Thu, 04 Aug 2022 09:36:07 GMT))
[2022-08-04 11:36:07,354] INFO  [io-compute-6] o.h.b.s.Http1ServerStage$$anon$1:271 - HTTP body not read to completion. Dropping connection.
2: Response(status=200, httpVersion=HTTP/1.1, headers=Headers(content-length: 0, date: Thu, 04 Aug 2022 09:36:07 GMT))
[2022-08-04 11:36:07,367] INFO  [io-compute-8] o.h.b.s.Http1ServerStage$$anon$1:271 - HTTP body not read to completion. Dropping connection.
....
23: Response(status=200, httpVersion=HTTP/1.1, headers=Headers(content-length: 0, date: Thu, 04 Aug 2022 09:36:07 GMT))
[2022-08-04 11:36:07,638] INFO  [blaze-acceptor-0-0] o.h.b.c.ServerChannel:211 - Closing NIO1 channel /<IP_ADDRESS>:8080
[2022-08-04 11:36:07,639] INFO  [io-compute-2] o.h.b.c.n.SelectorLoop:72 - Shutting down SelectorLoop blaze-selector-0
...
java.io.IOException: HTTP/1.1 header parser received no bytes
	at java.net.http/jdk.internal.net.http.common.Utils.wrapWithExtraDetail(Utils.java:348)
	at java.net.http/jdk.internal.net.http.Http1Response$HeadersReader.onReadError(Http1Response.java:675)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.checkForErrors(Http1AsyncReceiver.java:302)
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver.flush(Http1AsyncReceiver.java:268)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$LockingRestartableTask.run(SequentialScheduler.java:205)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$CompleteRestartableTask.run(SequentialScheduler.java:149)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:833)
	at async_ @ org.http4s.jdkhttpclient.package$.$anonfun$fromCompletableFuture$1(package.scala:39)
	at delay @ org.http4s.jdkhttpclient.JdkHttpClient$.$anonfun$apply$21(JdkHttpClient.scala:243)
	at use @ Caused by: java.io.EOFException: EOF reached while reading
	at java.net.http/jdk.internal.net.http.Http1AsyncReceiver$Http1TubeSubscriber.onComplete(Http1AsyncReceiver.java:596)
	at
...
java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadSubscription.signalCompletion(SocketTube.java:640)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.read(SocketTube.java:845)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowTask.run(SocketTube.java:181)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler$SchedulableTask.run(SequentialScheduler.java:230)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:303)
	at java.net.http/jdk.internal.net.http.common.SequentialScheduler.runOrSchedule(SequentialScheduler.java:256)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$InternalReadSubscription.signalReadable(SocketTube.java:774)
	at java.net.http/jdk.internal.net.http.SocketTube$InternalReadPublisher$ReadEvent.signalEvent(SocketTube.java:957)
	at java.net.http/jdk.internal.net.http.SocketTube$SocketFlowEvent.handle(SocketTube.java:253)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.handleEvent(HttpClientImpl.java:979)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.lambda$run$3(HttpClientImpl.java:934)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at java.net.http/jdk.internal.net.http.HttpClientImpl$SelectorManager.run(HttpClientImpl.java:934)

And this - once in a while - makes client request lost on the wire.
For this to happen:

request should have non-empty body
response should be generated before body is consumed;

Checked with blaze and ember servers.
import cats.effect._
import cats.implicits._
import com.comcast.ip4s._
import org.http4s.blaze.server.BlazeServerBuilder
import org.http4s.client.dsl.Http4sClientDsl
import org.http4s.dsl.io._
import org.http4s.ember.server._
import org.http4s.implicits._
import org.http4s.jdkhttpclient.JdkHttpClient
import org.http4s.server.Router
import org.http4s.{HttpRoutes, Uri}

import java.net.http.HttpClient
import java.net.http.HttpClient.Version

object HttpConnectionCloseBodyDrain extends IOApp.Simple {

  def run: IO[Unit] = {
    val routes = HttpRoutes.of[IO] {
      case POST -> Root / "test" / "post" =>
        Ok()
    }

    val client = JdkHttpClient[IO](HttpClient.newBuilder().version(Version.HTTP_1_1).build())

    val postRequests = client.use { client =>
      val clientDsl = Http4sClientDsl[IO]
      import clientDsl._

      val req = POST("dummy body", Uri.fromString("http://localhost:8080/test/post?param=XXX)").toOption.get)
      val reqResource = client.run(req)
      List.from(0 until 100).traverse_ { i =>
        reqResource.use { response =>
          IO.println(s"$i: $response")
        }
      }
    }

    BlazeServerBuilder[IO]
      .bindHttp(8080, "localhost")
      .withHttpApp(Router("/" -> routes).orNotFound)
      .resource
      .use { _ => postRequests }

    /*
    EmberServerBuilder
      .default[IO]
      .withHost(ipv4"<IP_ADDRESS>")
      .withPort(port"8080")
      .withHttpApp(Router("/" -> routes).orNotFound)
      .build
      .use { _ => postRequests }
     */
  }
}

Thanks for opening the issue! It looks like this is specific to the jdk-http-client? We should transfer to the issue to its dedicated repository. cc @amesgen
https://github.com/http4s/http4s-jdk-http-client

@armanbilge Indeed, I can confirm, that the issue disappears when using OkHttpClient. Should I re-post the issue in https://github.com/http4s/http4s-jdk-http-client or perhaps @amesgen will do the transfer?


Some language edits

Some small language edits, also I think you need to explain where the forks info comes from.

Thanks! Added the details about forks in the next commit.


Add support for appending & prepending array of...

...slides to Virtual API.
Fixes #2975

@nolimits4web I attempted to parody the code in core/manipulation/appendSlide.js and core/manipulation/prependSlide.js.
When looking at those functions versus their Virtual counterparts, I noticed that the runCallbacks parameter is false in the core append/prepend yet true (default) in the Virtual append/prepend. I'm curious to know why that is the case or if it was an accidental oversight.

Thanks, merged!

When looking at those functions versus their Virtual counterparts, I noticed that the runCallbacks parameter is false in the core append/prepend yet true (default) in the Virtual append/prepend. I'm curious to know why that is the case or if it was an accidental oversight.

Can't remember for sure right the reason now, but it was for sure required. I remember there were some use cases when Virtual slides won't work correctly if no callbacks passed there


bootstrap-select not working when .clone(true) in jQuery

Does bootstrap-select really support cloning? I've followed some snippets found in https://github.com/silviomoreto/bootstrap-select/issues/157 and still it doesn't work. I've tried to include "true" in .clone() but it turns out that it will only affects the events of the original.
Here's the code. Let's assume that the id "packing" is a div containing input text boxes and a select. I want to prepend/append the clone to a div.
$('select').attr('data-live-search', 'true');
$('select').attr('data-style', 'form-control');
$('select').selectpicker();
function addformfield() {
        counter += 1;
        var packing = $('#packing');
        var clone = packing.clone();
        clone.prependTo('#product_field');
        clone.attr('id', 'packing_' + counter);
        $('select').selectpicker('refresh');
}

Here's also the JSFiddle: http://jsfiddle.net/rougin/N663T/2/

Thank you man!

I came across this problem but if using the latest version now the select is placed inside the .bootstrap-select element for html5 error handling purposes. The remove() also removes the select, a work around is:
Instead of:
clone.find('.bootstrap-select').remove();
Use:
clone.find('.bootstrap-select').replaceWith(function() { return $('select', this); });
This will replace the .bootstrap-select element with the select element that it contains inside,
Just thought I'd share in case anyone has the same problem.

Use:clone.find('.bootstrap-select').replaceWith(function() { return $('select', this); }); is useful ,thank you, @joejordanbrown

Thanks! work for me :)

How to create delete button?

I followed @joejordanbrown, but I am finding that my selection isn't preserved after cloning. Am I required to scan the copied selectpickers for their selection, and transfer these over to the cloned selectpickers?

I had to clone the select first before replacing, I assume it was perhaps being destroyed during the replace? In this example newref is my clone.
        var select = $(newref).find('select').clone();
        $(newref).find('.bootstrap-select').replaceWith($(select));

Thanks!

Why can I work inside the bucle "find(select).each"? for I can to clone multiples selectpicker

Have the same issue. When I use:
clone.find('.bootstrap-select').replaceWith(function() { return $('select', this); });
then the dropdown is hidden.

Surefyre's suggestion worked....

@LuTheZy : yes even i was facing this issue after replace with but later i found that you need to add one more line of code something like this.
cloned .find('.selectpicker').selectpicker('render');
.selectpicker('render')
You can force a re-render of the bootstrap-select ui with the render method. This is useful if you programatically change any underlying values that affect the layout of the element.
Hope this helps you. If you have already resolved the error, then I am sorry for posting it late.

Good ! Thx

I had to clone the select first before replacing, I assume it was perhaps being destroyed during the replace? In this example newref is my clone.
        var select = $(newref).find('select').clone();
        $(newref).find('.bootstrap-select').replaceWith($(select));

This!!!!
Thank you !  I spent so long trying different things, and I saw the code with the replace but that just didn't work and finally tumbled upon your comment and that did the trick!


A J: Watch forgotpasswordmailtriggeringinasp

A J requests the watch of the watch_keyword forgotpasswordmailtriggeringinasp. See the Metasmoke search here and the Stack Exchange search here.

!!/approve


tasks.json Environment Variable Expansion Broken When Variable is Not Defined

VSCode Version:
Version 1.20.0
Commit c63189deaa8e620f650cc28792b8f5f3363f2c5b
Date 2018-02-07T17:09:39.780Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

OS Version: Windows 10 Enterprise x64

Major  Minor  Build  Revision
-----  -----  -----  --------
6      2      9200   0

Steps to Reproduce:

Create a task in tasks.json using latest 2.0.0 format
Add an environment variable to the args parameter string
If variable is present, value will be properly expanded
If variable is not present, value will incorrectly use the literal environment variable name

Does this issue occur when all extensions are disabled?: Yes
This worked in vs code 1.19.3 and broke in 1.20.0 and is still broken in the latest version 1.21.1.
Issue is reproduced here, https://github.com/beufordy3k/vscode-tasks-environment-issue
Task Output from 1.19.3
> Executing task: dotnet build <

Microsoft (R) Build Engine version <IP_ADDRESS>579 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 38.05 ms for C:\tmp\projects\vscode-tasks-environment-issue\vscode-tasks-environment-issue.csproj.
  vscode-tasks-environment-issue -> C:\tmp\projects\vscode-tasks-environment-issue\bin\Debug\netcoreapp2.0\vscode-tasks-environment-issue.dll

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

Time Elapsed 00:00:01.33

Terminal will be reused by tasks, press any key to close it.

> Executing task: C:\tools\CustomTool.exe server=localhost;database=CustomDatabase;Trusted_Connection=Yes;Connection Timeout=15; <

Task Output from 1.20.0
> Executing task: dotnet build <

Microsoft (R) Build Engine version <IP_ADDRESS>579 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Restore completed in 53.19 ms for C:\tmp\projects\vscode-tasks-environment-issue\vscode-tasks-environment-issue.csproj.
  vscode-tasks-environment-issue -> C:\tmp\projects\vscode-tasks-environment-issue\bin\Debug\netcoreapp2.0\vscode-tasks-environment-issue.dll

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

Time Elapsed 00:00:02.04

Terminal will be reused by tasks, press any key to close it.

> Executing task: C:\tools\CustomTool.exe server=localhost${env:MyCustomVar};database=CustomDatabase;Trusted_Connection=Yes;Connection Timeout=15; <

@isidorn assigning to you since I remember us talking about this for the configuration resolver service. Didn't we discuss to use the variable name only for VS Code variables lile $file. For env we should do the same as a normal shell does which evaluates missing envs to empty string. Please move back if there is something I need to do.


[now-cli] Handle static v1 deployment upgrade to v2

Closing because the conflicts from https://github.com/zeit/now/pull/3467 require this to be re-done.


Ensure the transform identities are unique per execution history store

TL;DR: The uniqueId for project artifact transforms that is used in the execution history store is not unique, we fix it by adding the buildTreePath of the producer project to it.
The following is only about workspaces and transforms on project artifacts.
The unique workspace id of an artifact transform is used in two places:

key in the execution history in the current build (Gradle scoped)
workspace location in the producer project

That means the unique id needs to be unique:

per artifact to transform in the producer project <- This is simple, we are currently using the relative path of the artifact to the root in the producer project
per artifact to transform in the consumer build <- This is violated currently; see the two tests added in this PR.

To fix the problem, we can add additional data to the uniqueId related to the producer and consumer projects. Anything we'll add that is related to the consumer project will not help with the unique id problem, since the execution history is for the consumer build. So we need to add something from the producer project.
As the tests show, we must add the identity path to make it unique. That has the downside that if add the same build as an included build, then project artifacts within that included build will be re-executed since a new workspace will be assigned to them. Though while running the same included build constellation, everything will be re-used as expected.
As an additional advantage, this change makes the uniqueId unique within the whole build tree.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.

Pre-tested commit build failed. Click here to see all build failures.

Your PR is queued. See the queue page for details.


add support for gradle

add support for gradle , lsp cannot find jar packages downloaded by gradle from maven repos

This is unlikely to happen any time soon. In the meantime, the groovy.classpath setting can be used to add jar packages.

only can add all dependencies one by one . i want a automatic solution

Yes, I understand that you want an automatic solution. That's not possible yet, so I gave you the best manual workaround that's available right now. 😺

something like this ?
CLASSPATH=$(~/opt/gradle-classpath-1.2.0/bin/gradle-classpath --gradle-home="~/opt/gradle-7.5.1")
java -Dgroovy.classpath="${CLASSPATH}" -jar "~/opt/groovy-language-server/build/libs/groovy-language-server-all.jar"


PR #36 broke this repo

The patch modified the .mod -file so it is now referring the module as coming from @seven4x which breaks the import.
go: github.com/seiflotfy/cuckoofilter<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/seven4x/cuckoofilter
	        but was required as: github.com/seiflotfy/cuckoofilter

Fixing

On 22 Dec 2020, at 10:33, Mats Engstrom<EMAIL_ADDRESS>wrote:

The patch modified the .mod -file so it is now referring the module as coming from @Seven4X which breaks the import.
go: github.com/seiflotfy/cuckoofilter<EMAIL_ADDRESS>parsing go.mod:
module declares its path as: github.com/seven4x/cuckoofilter
but was required as: github.com/seiflotfy/cuckoofilter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

done... sorry about that... got to involved with the scalable part missed out on the go.mod


Broken link to Selenium-Wraith in README

The link to Selenium-Wraith in the README is broken.

The Selenium-Wraith is not maintained anymore, we should remove it from the README.


[Bug]: Missing tolerations and node selector in helm charts

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When we set the nodeSelector and tolerations in the values.yaml file, the config is only applied to the Appsmith Statefulset. This should also be applied to all relevant resources that the helm chart creates, for example the MongoDB, and Redis.
Not a helm expert but a solution would be something like adding this:
{{- with .Values.nodeSelector }}
      nodeSelector: {{- toYaml . | nindent 8 }}
    {{- end }}
    {{- with .Values.tolerations }}
      tolerations: {{- toYaml . | nindent 8 }}
    {{- end }}

... to all resources that will be running on a node.
We have unfortunately needed to take down appsmith because of a performance issue (see this), and we thought placing all Appsmith stuff in a different node pool would be a workaround, but this does not work either as described above.
Steps To Reproduce

Create a k8s node pool in GKE/AWS, with a "taint"
Add a nodeSelector that match the node you just made and tolerations to match the "taint", and add them to values.yaml
Run helm install ...

Appsmith Statefulset will be installed on the correct node, while the others instances (like MongoDB and Redis, etc) will be assign to another node (if any).
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Self-hosted, helm - latest

The issue is not fully fixed and has to be reopened. @pratapaprasanna @Nikhil-Nandagopal
Issue describes missing node selector AND tolerations. The submitted MR fixed only node selector but not tolerations.

We shall address it in a different PR and new helm chats release

Perfect, thanks @pratapaprasanna !


enhancement: Expand aliases in PlanResources output

Expands aliases like R into their full form (request.resource) so
that regardless of the expression used in the policy, the PlanResources
output is always predictable.
Also implements some simple optimisations like converting X && true
into X or X || false into false.
Fixes #962
Signed-off-by: Charith Ellawala<EMAIL_ADDRESS>

I've created a separate issue for FilterDebug. https://github.com/cerbos/cerbos/issues/964

Let's cover NOT true/false case while fixing #964


Add tests for setMinPinlength, modify tests for getpskentry

Signed-off-by: Keerthana Bidarakoppa<EMAIL_ADDRESS>

@gpepus  This PR needs a review.

Keerthana -- looks fine.  I don't see any obvious issues though frankly I'm not 100% familiar with what pskCipher is doing so my review of testing should have minimal impact. It doesnt appear to be the case that it will cause issues with our code at FUTURA Cyber.


DNS redirect changes name to ip.

First Check

[x] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the FastAPI documentation, with the integrated search.
[X] I already searched in Google "How to X in FastAPI" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to FastAPI but to Pydantic.
[X] I already checked if it is not related to FastAPI but to Swagger UI.
[X] I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import FastAPI
from fastapi.responses import Response, RedirectResponse

app = FastAPI()

## Start de la web
@app.get('/')
async def root():
  return Response(content="
HELLO WORLD!!
",status_code=HTTPStatus.OK)

if __name__ == "__main__":
    uvicorn.run("main:app",
                host="<IP_ADDRESS>",
                port=12345,
                workers=1,
                app_dir=os.path.join(".","SRC"),
                server_header=False,
                # ssl-keyfile=os.path.join('.','cert','key.pem')
                # ssl-certfile=os.path.join('.','cert','cert.pem')
                )

Description
I know the question is nooblike, but i'm getting verry frustrated with this.
I have my vps(OVH cheapest one) where the above code is running.
I have my domain name already buyed.
I have my dns(also OVH cheapest one) and configured to point the domain name to the IP of the VPS.
When i access my 'web page' through my domain it lands correctly to the page, but in the to bar of google chrome shows the ip instead the domain name.
I have configured Caddy and Uvicorn with the Let's encrypt certificate.
Am I missing something??
Versions:
OS: ubuntu 22.04 x64
Python: 3.10.4
Caddy : Latest
Uvicorn: 0.17.6
FastApi: 0.77.1
Operating System
Linux
Operating System Details
ubuntu 22.04 x64
FastAPI Version
0.77.1
Python Version
3.10.4
Additional Context
No response

How did you configure your DNS? Did you set an "A record" to your public IP address?
This doesn't seem an FastAPI issue by the way, I think it is more appropriate to ask this on SO.

I feel very dumb... some of my colleges drive me to confusion since they told me it had an option that i had to change... they were talking about wordpress
Thank you so much!! And sorry for the dumb question...
Gonna lay this video here for the posterity, its tiangolo explaining the whole process, idial thing to be in the uvicorn/fastapi documentation web: https://www.youtube.com/watch?v=7N5O62FjGDc

Never feel dumb, be happy you have learned something tangible today! :)


any Car tail lamp in night, is detected as "fire" in your model. How can I improve this ?

any Car tail lamp in night, is detected as "fire" in your model. How can I improve this ?
Images i have checked for example link : https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.facebook.com%2Fsikandcar%2Fposts%2Fsuzuki-baleno-tail-lights%2F1427205764052962%2F&psig=AOvVaw0WgUWdxxJb3XQW2JBnB8oM&ust=1589542621204000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCLDG78-hs-kCFQAAAAAdAAAAABAi

Which model are you referring to - we provide 8 of them ?
Please provide details of platform/environment ... etc.
To check: you are loading this as BGR channel ordering, resizing to 224x224, pixel range 0 -> 255 as per PAQ  ?
As the paper(s) say it is 93-9x% accurate - not 100%. Please provide a link to a downloadable video example as these objects are in the -ve set.


Missing conditional holidays for Neuchatel (Switzerland)

26.12 and 2.1 are holidays in Canton of Neuchatel only when the preceding day is a Sunday.
References:

https://fr.wikipedia.org/wiki/Jours_fériés_en_Suisse
https://www.ne.ch/themes/travail/pages/jours-feries.aspx
http://rsn.ne.ch/DATA/program/books/rsne/pdf/94102.pdf

I think I'll also add the Federal Thanksgiving Monday (same sources as above) in the same pull request.

Your bugfix has been included in the latest release of Workalendar, now available on PyPI!

https://github.com/workalendar/workalendar/releases/tag/16.3.0
https://pypi.org/project/workalendar/16.3.0/

\o/


Mono: Core API Hash Mismatch Error.

In Godot 3.5.x Mono, this error occurs when a C# solution has been built before running.
Error Message:
E 0:00:00.560   _init_godot_api_hashes: Mono: Core API hash mismatch.
<C++ Source>  modules/mono/mono_gd/gd_mono.cpp:515 @ _init_godot_api_hashes()

I don't think a "Core API hash mismatch" in GDMono error would be related to Lua PluginScript.
Does this error occur only when the plugin is not installed? Maybe try removing the plugin and seeing if the error persists.

The "Core API hash mismatch" error occurs only when I run Godot with the Lua PluginScript installed alongside the C# solution I've created. When I remove the plugin, the error does not occur.

Thank you for checking into this. If this error doesn't affect my project in any way, I won't worry about it.
I appreciate your investigation.


I want to help you out

Hi,
Didn't find your contacts so raised an issue just to let you know that I am open to help you out.

Hi Ab1gor,
Pleased to hear!
Shoot me an email to<EMAIL_ADDRESS>and I'll get you set up. :)
Thanks,
Jarek

Hi there, also interested in getting involved in the project.
Is it possible to get templates for PR and Issues?

^shoot me an email and I'll get you set up. :)
Happy to have someone add PR/Issue templates.

Thank you to everyone that offered their assistance - it is sorely needed.
Not sure if you managed to get hold of @jarekwg but please feel free to submit PR's for any of the remaining issues that you would like to work on and we will be sure to review / merge.


Do you plan to support javaScript compilation?

I plan to use javaScript in a project so I'm wandering if there will be support for javaScript. I'm willing to add support myself but although I know maven, and the ceylon command line and understand maven plugins, I don't have hands on experience with maven plugins.

developing a maven plugin is not very hard :-) and I can give you advices.
and I don't see why it could not be supported. at the moment the compile mojo uses specifically the JVM compiler though.

Ok. I think that I should start by pretty much copying what you did for the jvm compiler. However, I also think I should eventually add an easy way to include javaScript dependencies. Then, I think I should make it easier to include javaScript files in html pages.

if we can share some code between JS and Java compiler it would be a good thing.

First of all, here is my plan for this:https://docs.google.com/document/d/1m3bbI5VA7DpCnKwBo2FpBHuyNg8ZbP7lLkLcmItB6lE/edit?usp=sharing
Feel free to edit and comment.
I think most of the code in CeylonCompileMojo.java can be reused for the first things I plan to do for js support. In fact, I think I can do the first things I plan to do for js support by adding the class JsAndJavaCompiler and then changing line 112 of CeylonCompileMojo.java to use the JsAndJavaCompiler.

I submitted a pull request with support for the javaScript compiler

This has now been implemented. Needs the latest 1.2.3-SNAPSHOT versions of the Ceylon Maven artifacts


Improved the project overview

PR name: Improved the project overview
PR description:   #1
Short summary
This pull request is to improve the Project overview section
Name: Detailed project Overview
Description: Fixes #1
Made a detailed project overview section in the READ.ME FILE
Issue Number- #1
Short Summary
Better readability of Project overview section, and added more details

Great work @Abhishek022001, The project overview looks way better.
Please just edit your PR according to the PR Template we are following: https://github.com/SGCODEX/Music-Recommendation-Using-Facial-Expressions/blob/main/CONTRIBUTING.md#pr-template

Please check now if its okay

Heyy, I think there is a little bit confusion.
I meant like this:
Title: Improved the project overview
Fixes #1
Improved project overview section in the READ.ME FILE

Thank you!!


Why support for Python 3.8 has been removed in Tensorflow 2.14

Not an issue, but a question. Just out of curiosity, Why has support for Python 3.8 been removed in Tensorflow 2.14?

@harupy,
AFAIK, As part of the upgrade, Python 3.8 has been removed from Tensorflow 2.14. But the TensorFlow 2.13.1 patch release will still have Python 3.8 support.
https://github.com/tensorflow/tensorflow/releases
Could please allow me to do a deep dive into the same questions and provide an update. Thank you!

@tilakrayal Thanks!

Perhaps it's because pandas and numpy already dropped Python 3.8 support in their latest versions?

@sachinprasadhs makes sense, thanks for the clarification!


Unable to generate code for Integral / Summation

No code making function implemented yet for Integral/Sum.

Wait on implementing this until #74 is finished.

Note that #74 is now done and closed. Still, it's not clear to me how to implement this.

This is an issue for generating python code for Integrals/Summation, correct? (https://docs.scipy.org/doc/scipy/reference/tutorial/integrate.html)

Although it is entirely true that we cannot do this right now, there also doesn't seem to be any pressing issue to do so. I'm not sure it is useful to have such a long-standing "feature request" open as an issue.


[WIP] Add flatpages and ckeditor for a light cms experience

Closes #440.
Still looking into ways of making the editing experience easier (e.g. add defaults, remove extra fields, ...)

Closing as stale, please let me know if you're still interested in taking on this work


Travis: 2.4.1, 2.3.4, jruby-<IP_ADDRESS>

This PR keeps the versions of new rubies updated.

r? @indirect

Looks good 👍
@bundlerbot r+


Roll Engine from 26e217e6c3d4 to 0594c63ba687 (7 revisions)

https://github.com/flutter/engine/compare/26e217e6c3d4...0594c63ba687
2021-05-17<EMAIL_ADDRESS>fuchsia: Improve checking/logging for composition (flutter/engine#26166)
2021-05-17<EMAIL_ADDRESS>Roll Dart SDK from a527411e5100 to 67be110b5ba8 (1351 revisions) (flutter/engine#26192)
2021-05-17<EMAIL_ADDRESS>Roll Skia from 9c2769ec1198 to 2da029b28f97 (2 revisions) (flutter/engine#26191)
2021-05-17<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from v4P6zkHIE... to KmSY84b_E... (flutter/engine#26189)
2021-05-17<EMAIL_ADDRESS>Roll Skia from d22a70be4f00 to 9c2769ec1198 (1 revision) (flutter/engine#26188)
2021-05-17<EMAIL_ADDRESS>Add diagrams for Wiki (flutter/engine#26172)
2021-05-17<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from q9Qi_9RMf... to l6XmTSLnt... (flutter/engine#26187)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from q9Qi_9RMffk9 to l6XmTSLnt_jR
fuchsia/sdk/core/mac-amd64 from v4P6zkHIEaEp to KmSY84b_Efmz
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


[Suggestion] Add trim removing Termplate to sc-goddies

With 1.20 adding trims in game it seems to be lacking ability to remove the trims later. Adding a template that removes trims from armor would be nice addition.

What material would be used to get rid of it? Sand? Gravel? Cobble?

I would say that sand is probably the best if we're talking semi-realism, cause sandpaper.

Or a flint.

Any consensus on the best UX for this?

Personally i think adding this as additional custom Smithing Template with some crafting recipe would be best. Like any trim template surrounded with gravel making 16 trim removal templates. So they would remove trims same way they applied them by just using removal template and some more gravel in Smithing Table.


Update README.md

Fixes typo

Hi @WilliamBerryiii, can you please go through the ECA process above?

Closing this due to no activities


[CXF-8578] Bind bridge methods to operations

For each real method bound to an operation, add the corresponding bridge
methods of the class as secondary bindings. This gives them a
method-to-operation mapping each, enabling them to be used in client
proxies. On the other hand, only the real method gets an
operation-to-method mapping, which avoids re-introducing CXF-7670.

@octachoron thanks a lot for the issue and the pull request. First of all, I would like to agree with you that handling of the bridge / synthetic methods could be improved (especially, when using client proxies) but I would like to suggest a bit different fix here: https://github.com/apache/cxf/pull/842. The main idea is to complement the operation with additional binding details while evaluating resource class. Certain optimizations (like skipping the methods returning Object, ...) would also probably be beneficial.
Your feedback would be appreciated, the edge cases you have demonstrated in the ticket are passing now, thank you.

@reta #842 does sound like a better and more straightforward way to do this, both in terms of obtaining and binding the bridge methods, and testing through an actual client proxy. I also tested the approach against the code where we originally saw the symptoms, and it runs without issues.
I will go ahead and close this PR in favor of yours. Thank you very much for the review and suggestion.


Added BP module for Bilinear Pairings, with tests, docs and benchmarks.

This patch implements bilinear pairings inside OpenSSL, by creating a structure to store bilinear groups G1, G2 and GT and providing an EC-like interface to manipulate elements in such groups. G1 is implemented as a thin wrapper around EC_POINT, G2 implements arithmetic over a twist curve based on ecp_smpl.c and ecp_mont.c and GT implements a field extension. The API is abstract and somewhat low-level, allowing one to implement a pairing-based protocol on top without too much effort.
The patch applies cleanly as of this time of writing and should stay this way, since everything is mostly contained inside path crypto/bp, although there are tests, docs and benchmarks spread out along other places in the tree. The work was commissioned by MIRACL Inc. as part of the Apache Milagro initiative.
Ben Laurie gave feedback about an initial version of the code and did some light review of the current patch.
Thanks for your consideration!

If you are looking to contribute this then you will need to have the actual OpenSSL copyright in the top of the files you are contributing. Your short-form statements reference something which doesn't exist.
Do you have a contributor agreement in place with the OpenSSL project?
Individual or Corporate
It would also make sense to read through the Coding Style as alignment with that eases the integration.
Thanks,

Thanks Tim, I thought those would be put in place together with the merge. Sorry for my mishap, will redo the pull request with proper licensing.

This is huge.  And there's two weeks before API freeze.  I can't see how this makes it into 1.1

@richsalz It is large but not particularly complex. Also, I have already reviewed it...

Also, the thing I get asked for most often in OpenSSL is pairings.

Agreed with Rich. We are two weeks from beta - I think the next feature release (be it 1.1.1 or 1.2.0) is a reasonable target for this.

Believe me, this is a sort of minimal patch, as I don't have a BP_METHOD, function pointers or anything fancy in place and support is restricted to a single family of curves (although a very representative one).
Half of the patch size is documentation and tests, the functional part is fairly small (~4k lines) and mostly straightforward. The only non-trivial parts are in bp_gt.c (finite field extension arithmetic) and bp_map.c (pairing computation itself). Anyway, I will keep updating the branch to adhere more strictly to your guidelines.

This isn't about believing you or not; it's just about release planning for new features and public APIs (which in OpenSSL are essentially set in stone until the sun goes out). I'm going to leave a few cosmetic comments around where I already spotted things, and we can aim for a more thorough review after 1.1.0. As I mentioned over email, the patch is basically functionally separate from libcrypto, so hopefully it won't be too hard to keep it from going stale.

so I assume this doesn't relate, since we're providing a general facility, but I'd like confirmation: http://eprint.iacr.org/2016/223

Almost all of the points in Section 6 apply here:

Use the Type-3 setting: YES (G1 \neq G2 for BN curves)
Choose the best pairing function: YES (optimal ate pairing)
Begin with a correct set-up: YES (128-bit security level, other issues are protocol-related)
Security assumptions: protocol related
Prime curves and not extensions of binary/ternary fields: YES
Avoid the explicit homomorphisms: YES (no homomorphisms supported)
Hash to points only in Type-3: we are not providing a hash function to groups G1/G2 because they are not standard, but one can be easily constructed from our API.
Axuliary inputs: YES (due to curve choice)
Test Group Membership or Subgroup Secure Curves: we have subgroup membership functions in G1 and G2, but not GT. I will write one based in the compression/decompression code. The API easily allows one to set a subgroup-secure curve if the protocol requires it, but these are not in the IETF draft. In the mean time,  I suggested the author of the draft to include such parameters in a future version.

Thanks.  I'm relieved.

I know next to nothing about Bilinear Pairing, but as patches come, this one looks very straight forward to me, and I've only spent 5 minutes eyeballing it.

Thanks! I will rename things and fix the builds during the weekend, just in case. :)

I want to set expectations here:  this is a big change, we heard nothing about it, code freeze is in a week, and nobody on the team who is qualified to evaluate the cryptography has time to review this.  Who needs it?  Why?  Must it be part of openssl?

I have lots of interest because it is part of my research and practice, so I will try to invoke independent interested parties to contribute here. There are all sorts of interesting protocols and applications out there which would benefit from native pairing support in OpenSSL. A quick example is BLS short signatures (now implemented in petlib on top of this patch), but there is also identity-based crypto (deployed in commercial products, see Voltage Security), attribute-based encryption (see Zeutro LLC) remote attestation (part of Intel's SGX), among others.
Ben mentioned that he is asked a lot about pairings in OpenSSL. Ben, can you ellaborate on who and for what purposes?

Thanks.  I just don’t know if we have anyone on the team who has the time to review it for cryptographic correctness, for example.
I don’t want you to be disappointed.  It’s less than a week before API freeze.  And it’s 9000 lines.  (Sure, some are comments and some comments can be merge from 3 to line :)  And it was only submitted five days ago.

Hello all -- since @richsalz asks for use cases I would like to contribute some. We (at University College London) are heavy users of OpenSSL's libcrypto for primitives, both symmetric (evp), bn and ec. I have build petlib on top of libcrypto to teach courses and most of our research prototype code.
To us the lack of pairing friendly curves is a serious issue. For example, our work on private presence uses BLS signatures (6 lines of code if you have pairings!); to get those we had to take dependencies on GMP, Shoup's NTL, and PBC -- making the build many MBs and resulting in a monstrous set of dependencies that make the system a nightmare to build on almost any platform, and the attack surface the size of the moon.
As another example, I have integrated the patch by @dfaranha into petlib to implement the 2016 re-randomizable signature scheme by Poincheval and Sanders. The resulting code for the scheme is less than 50 lines: https://github.com/gdanezis/petlib/blob/openssl1.1.0/examples/PSSig.py
The authors, not having a handy pairing library did not provide an implementation of the scheme. With one, it took me about 30 minutes to code. I am now maintaining a petlib branch for OpenSSL 1.1 with the pairings patch applied.
The fact that access to a cross platform library for pairings is nearly impossible is one of the reasons credential schemes and other key privacy technologies are very hard to build. IBM, for example, still uses the inefficient RSA based Idemix for this reason. To today's crypto pairings are as common as bignum math used to be.

Another possibility is to use openssl 1.1 forked to have the pairings stuff.
9000 lines two weeks before code freeze scares me.  Wouldn’t it scare you?

Yes, depending on the nature of such code. I wrote/maintain since 2007 a library for curve-based crypto called RELIC which amounts to >80k lines of code, so I sort of understand how you feel.
However, this piece here does not involve networking, just a little bit of parsing and a lot of innocent arithmetic, being mostly self-contained to a single dir. Attack surface is thus rather low and I can help maintaining it functional for as long as needed. I will not be disappointed in any way, I am in academia and receiving rejections is part of may daily activities. :)

I asked you previously, but I'll ask again in public, just to help everyone on the team get a complete picture:
This doesn't integrate with EVP, with libssl, or really with anything in OpenSSL. Why does it have to live in mainline OpenSSL? Why not maintain a library of your own, on top of OpenSSL?

This is a fair point, here is my take.
The main reasons are convenience and ease of deployment. There are several research-focused libraries implementing pairings (MIRACL, RELIC, PBC, etc.) and not a single one gets enough traction due to having or representing additional dependencies. OpenSSL has good reputation and is available everywhere, and may even contribute towards the further adoption/standardization of pairings. Chicken and egg is a common issue with modern crypto.
Moreover, if this evolves and becomes a full-featured METHOD, we would certainly need access to bits in ec_lcl.h to improve performance and robustness of arithmetic in G1 and G2, for example. Finally, I always wondered if there was interest from the OpenSSL team in such an implementation and perhaps this could be a two-way street for all of us. It's perfectly understandable if there is no such interest and the patch may live on as a fork or standalone library. For the historical record: http://openssl.6102.n7.nabble.com/Bilinear-pairings-td34755.html

So it seems you're waiting since 2007 on this.  Maybe having to
wait for the next version isn't going make much difference.

Technically no, it was a different pairing construction (much less efficient) and the whole subfield was in its infancy. We did not have an idea of what would be secure or optimal in terms of performance, and many initial options were completely discarded in the last few years (such as small characteristic supersingular curves, due to quasi-polynomial attacks).
 :)

As the OpenSSL folks will be painfully aware, shipped APIs are for life.
This API very much apes the ECC API, which isn't a bad thing. But, with hindsight, there are a couple of things that I think we can learn from the ECC API:
It was probably too general. At the time when it was written, ECC was still immature. As such, in order to support all the things that might have ended up being important, it supported lots of things and dozens of curves. That's very much fallen out of favour as, for performance reasons, implementations of curves are very specific now and 95% of the curves are effectively dead.
I think that was a mistake and it made the code more complex and harder to make constant time. As it turns out, 99% of the things that people do with ECC are just Diffie-Hellman or signing, and both of those things are best presented to the world at the level of byte strings rather than playing with EC_KEYs, BIGNUMs and the like.
Pairings isn't at that point: I don't think that we have a few primitives that can be bundled up thus exposing the group operations is probably necessary. But this API is repeating the mistake (if you believe me) of supporting arbitrary curves again (i.e. BP_GROUP_new_curve). Rather, I would hope that the set of curves enumerated and very limited. (For what it's worth, the most popular curve that I've seen used is the one implemented here—although I don't know whether that's still optimal.)
Allowing arbitrary points to be precomputed is another generalisation in the ECC API that's duplicated here and I feel may have turned out to be a mistake.
Secondly, APIs based around BIGNUM make a constant-time implementation difficult because BIGNUMs have leading zeros removed and thus vary in length. I think a fair amount of thought is called for to see where BIGNUM is really the correct interface because, while variable-time issues can be fixed internally, API issues are much harder.
For what it's worth, several groups have gotten a long way using the more limited API exposed here. The use of C demands some extra API, of course, and some parts of the API are just wrong. (Scalars should not have been big.Ints.) But it saves quite a lot of complexity compared to the suggested API here.
I don't think rushing this into 1.1.0 in the current form would be the correct course of action.

Thanks for your points, Adam.
Trade-offs are everywhere, several of the design decisions here were taken to hopefully facilitate inclusion in the library and can be revisited. Removing code and APIs is much easier than writing it in the first place. It is quite possible that if I had done the implementation from scratch, reusing minimal portions of OpenSSL, it would be much bigger and there would be even less reasons to merge. :)
In terms of curves, the current patch only implements the family of BN curves, but concrete parameters can still be defined by applications. The specific implementation you mention chooses parameters to optimize a polynomial formulation, but there are faster choices. Changes are minimal from one case to another though. The only curve embedded in the patch is popular for research and candidate for standardization in an IETF draft, although I think subgroup-secure curves will end up being the ones standardized, if this ever happens, as they may simplify protocol design and incur small performance overheads.

Closing this as low-level crypto APIs are not something that is expected to be added to OpenSSL anymore with the 3.0 design objectives. That does not mean OpenSSL could not implement these algorithms but they must be accessible through the high level interfaces. However even for that the algorithms implemented should be already established in some standards and not just experimental stuff.


Setup Pipenv for our project, installed Django

Looks good.
Small note for future PRs: commit message subject should be concise and additional details can be added in the description. For example:
Setup Pipenv for our project
The pipenv includes installation of flake8 for tests
and Django for running the application


Rework Dockerfile to make it work

I will rework this once Rust 1.68 ist stable.
Or maybe @a-nick-fischer will do it, but he doesn't know yet.

Note: load yt-dlp directly from https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp instead of from a docker image
this is a "platform-independent zipimport binary", containing fancy magic

this is a "platform-independent zipimport binary", containing fancy magic
it doesn't actually contain magic, it just contains a zip file

But does the zip file contain magic? ;)

no, it contains zip!
isn't that obvious? :D

This issue should be closed with commit d23b2dd, but it is still untested

This should be finished with commit d23b2dd, but it still needs testing

This is now finished with 170eaa0
I can confirm it works as expected


no translation for "shower in vicinity" in zh-tw

no translation for "shower in vicinity" in zh-tw,it would be 周圍有陣雨 in zh-tw

Please help us with #359


added linter props validations

Thanks @frankctan! Looks good overall. I wrote some inline comments.
Could you please rebase this onto master instead of merging? That way we can maintain a linear git history.

Oh, one more thing, could you change the commit message to something like "Add propTypes to React components." Trying to conform to this commit message style: http://zulip.readthedocs.io/en/latest/code-style.html#commit-messages

The project is already configured to use Flow (as all new React Native projects are) and it replaces (and is superior to) the PropTypes.
This can be closed, I'll add props type annotations soon.


Fix channel names matching in calibrate_mmm()

Project Robyn
During debug of calibration MAPE calculation function I've found a small bug in calibration_input channel names matching.
It could cause wrong MAPE calculation in rare cases. Pls see the example and fix below:
getLiftMedia[m]<- c('google')
calibration_input$channel <- c('facebook', 'google', 'google_organic')

# original version
liftWhich <- str_which(calibration_input$channel, getLiftMedia[m])
# returns: 2 3 - incorrect, google_organic != google

# fixed version
liftWhich <- which(calibration_input$channel == getLiftMedia[m])
# returns: 2

Type of change

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

How Has This Been Tested?
Tested on our internal Robyn-based project.

Good catch. Wrong use of str_which() here; use of regular expressions is not good enough. Thanks for the fix @andrey-legayev


Linking to Chainer function or Python function for docs

Change documentation for functions that use Chainer functions as arguments to link to the Chainer functions page.
Likewise, change documentation for functions that use Python functions as arguments to link to the Python pages.
To address #1587

Thanks for the fixes! I have not yet taken a proper look but it seems Jenkins isn't too happy building the html.
https://ci-chainer.pfidev.jp/job/chainer_pr/2673/TEST=chainer-doc,sakura11=sakura11/console

It seems like some unrelated code was removed in the last commit.

jenkins, test this please.

Those links described as "Chainer function" may be confusing, because they do not actually accept chainer.Function nor chainer.FunctionNode. They accept any Python callable which maps  chainer.Variable(s) to chainer.Variable(s).
One idea is to make a dedicated section in reference/functions.rst for describing such usage, and link to it using such notation as :ref:`Chainer function <function_argument>`. You need .. _function_argument: in the section. That's exactly what's done to describe initializer arguments (ref. docs of L.Linear).
How do you think?

In the documents, a "function" is required to satisfy a certain subset of the conditions

backward-able,
parameter-less,

in addition to be a callable.
The first condition I stated is just as in the docstring of chainer.gradient_check.check_backward:
func (callable): A function which gets :class:`~chainer.Variable`\ s
    and returns :class:`~chainer.Variable`\ s. ``func`` must returns
    a tuple of :class:`~chainer.Variable`\ s or one
    :class:`~chainer.Variable`. You can use a
    :class:`~chainer.Function`, :class:`~chainer.FunctionNode` or a
    :class:`~chainer.Link` object or any other function satisfying the
    condition.

The second condition is for model components (e.g. activation, lossfun, etc.)  For example, L.Classifier does not register (learnable) parameters from the lossfun argument.
It's great to add the information that chainer.functions.foo_bar_in_lowercase is a wrapper (of chainer.functions.FooBar).  However there's no "function" argument requiring the condition

being a wrapper function of either a Function object or a FunctionNode object.

It can be a composite of several Function objects.

@toslunar Changed "Function Wrapper" to "wrapper function" to make clear that it could be a composite of several functions, and added the requirement that the wrapper function be "backward-able," i.e. differentiable into the wrapper function explanation section.
Please review!

jenkins, test this please

No, it's just an usual numeric error.

LGTM!


chore: Trigger snyk

DO NOT MERGE - draft snyk integration. This PR tests whether or not integration with a snyk GHA will work out of the box. It will be closed soon.

This is a rust project, so Snyk does not understand how to handle it.


user version of the app shows the debug console

version: 928 and latest
Having the debug console is handy for us developers, but it is very ugly for the final users.
To solve this issue, modify our ci workflow to perform two different types of builds, debug and release. Release should overwrite the project configuration like this -p:OutputType=WinExe

We can just always do this, not just during publishing. Just do it in the .csproj

the .csproj can handle different values depending on the type of build?

the .csproj can handle different values depending on the type of build?

We can always use win exe, unless you see a reason not to.

it is cool to have for when we test stuff

it is cool to have for when we test stuff

Don't you still get a console in the IDE or somewhere?

yeah but when we download from the artifacts

yeah but when we download from the artifacts

You still have log files or you can run it from console.
But sure you can also just do it in publish only.

reopening as tested on latest build from the CI artifacts still shows the debug console


Selected date background color

Ability to change the background color of the selected date.

Will add this in the next version of library.

how to change the selected background color?

Any update for this features? @iamvivekkaushik

Actually this is very easy. if you import library as module or copy library java classes, layouts and resource values you will see that
 if (selectedPosition == position) {                 rootView.setBackground(timelineView.getResources().getDrawable(R.drawable.background_shape));                 selectedView = rootView;             } else {                 rootView.setBackground(null);             }
in TimelineAdapter.java class. R.drawable.background_shape is your selected background. just change it

Also if you want to change week names and month names in your language or other language you can change lists as private static final String[] WEEK_DAYS = DateFormatSymbols.getInstance(new Locale("tr","TR")).getShortWeekdays();     private static final String[] MONTH_NAME = DateFormatSymbols.getInstance(new Locale("tr","TR")).getShortMonths();  in TimelineAdapter. for example above code shows week names and month names in Turkish. if you want you can add your Locale or use default locales

that's actually a good idea @akardas16 , but when I tried to import the module and I got this issue:
A problem occurred configuring project ':datepicker'.

Could not create an instance of type com.novoda.release.internal.compat.gradle5_3.AndroidSoftwareComponentCompat_Gradle_5_3.
org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext

Isn't that means I need to downgrade my gradle version? if in that case, I think I will not do that.

that's actually a good idea @akardas16 , but when I tried to import the module and I got this issue:
A problem occurred configuring project ':datepicker'.

Could not create an instance of type com.novoda.release.internal.compat.gradle5_3.AndroidSoftwareComponentCompat_Gradle_5_3.
org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext

Isn't that means I need to downgrade my gradle version? if in that case, I think I will not do that.

I didn't understand error but if you can just copy library class and resource files to your project this is will be more easy

that's actually a good idea @akardas16 , but when I tried to import the module and I got this issue:
A problem occurred configuring project ':datepicker'.

Could not create an instance of type com.novoda.release.internal.compat.gradle5_3.AndroidSoftwareComponentCompat_Gradle_5_3.
org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext

Isn't that means I need to downgrade my gradle version? if in that case, I think I will not do that.

I didn't understand error but if you can just copy library class and resource files to your project this is will be more easy

I don't think it's related to gradle version

I will give a try, thanks @akardas16.

By doing some researches and I found this issue. When you update your android studio to 4.0.0, the issue LazyConfigurationUsageContext will show up. This is because the gradle version which is over 6.0.0 does not support that.
The solution is after when you tried to import the module, use finder in path and search for code line: " apply plugin: 'com.novoda.bintray-release' ".
Then these code lines(may be different value, but just remove these lines):
apply plugin: 'com.novoda.bintray-release' publish {     userOrg = 'zhihu'     groupId = 'com.zhihu.android'     artifactId = 'matisse'     publishVersion = '0.5.2-beta4'     desc = 'A well-designed local image selector for Android'     website = 'https://www.zhihu.com/' }
After that you shall be able to use the latest gradle version and add the module in your project.
Latest stable versions you can use with Android Studio 4.0.1 (July 2020):
ndroid Plugin version: 4.0.1
Gradle version: 6.1.1
ref: https://stackoverflow.com/a/35272475/11055217


[Bug]:

Description
Our cluster is assigning Pod CIDRs for the range <IP_ADDRESS>/16, but the HCCM configuration sets this to "--cluster-cidr=<IP_ADDRESS>/24".
Logs from HCCM:
Flag --allow-untagged-cloud has been deprecated, This flag is deprecated and will be removed in a future release. A cluster-id will be required on cloud instances.
I0724 13:59:16.207436       1 serving.go:348] Generated self-signed cert in-memory
I0724 13:59:16.574446       1 serving.go:348] Generated self-signed cert in-memory
W0724 13:59:16.574556       1 client_config.go:618] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
I0724 13:59:16.941798       1 metrics.go:41] Starting metrics server at :8233
I0724 13:59:18.033375       1 cloud.go:146] Hetzner Cloud k8s cloud controller v1.17.1 started
W0724 13:59:18.033401       1 main.go:74] detected a cluster without a ClusterID.  A ClusterID will be required in the future.  Please tag your cluster to avoid any future issues
I0724 13:59:18.033423       1 controllermanager.go:167] Version: v0.0.0-master+$Format:%H$
I0724 13:59:18.037551       1 requestheader_controller.go:169] Starting RequestHeaderAuthRequestController
I0724 13:59:18.037665       1 shared_informer.go:311] Waiting for caches to sync for RequestHeaderAuthRequestController
I0724 13:59:18.037780       1 configmap_cafile_content.go:202] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::client-ca-file"
I0724 13:59:18.037864       1 shared_informer.go:311] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0724 13:59:18.037947       1 configmap_cafile_content.go:202] "Starting controller" name="client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"
I0724 13:59:18.038018       1 shared_informer.go:311] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0724 13:59:18.038772       1 secure_serving.go:210] Serving securely on [::]:10258
I0724 13:59:18.039379       1 tlsconfig.go:240] "Starting DynamicServingCertificateController"
I0724 13:59:18.138828       1 shared_informer.go:318] Caches are synced for RequestHeaderAuthRequestController
I0724 13:59:18.138828       1 shared_informer.go:318] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0724 13:59:18.138907       1 shared_informer.go:318] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0724 13:59:18.352748       1 controllermanager.go:336] Started "cloud-node"
I0724 13:59:18.352806       1 node_controller.go:161] Sending events to api server.
I0724 13:59:18.352851       1 node_controller.go:170] Waiting for informer caches to sync
I0724 13:59:18.353035       1 controllermanager.go:336] Started "cloud-node-lifecycle"
I0724 13:59:18.353132       1 node_lifecycle_controller.go:113] Sending events to api server
I0724 13:59:18.353285       1 controllermanager.go:336] Started "service"
I0724 13:59:18.353432       1 controller.go:229] Starting service controller
I0724 13:59:18.353450       1 shared_informer.go:311] Waiting for caches to sync for service
I0724 13:59:18.460803       1 controllermanager.go:336] Started "route"
I0724 13:59:18.461003       1 route_controller.go:104] Starting route controller
I0724 13:59:18.461086       1 shared_informer.go:311] Waiting for caches to sync for route
I0724 13:59:18.553530       1 shared_informer.go:318] Caches are synced for service
I0724 13:59:18.553860       1 load_balancers.go:109] "ensure Load Balancer" op="hcloud/loadBalancers.EnsureLoadBalancer" service="traefik" nodes=["app-scaler-auto-scaler-136f9ac7070f0914","app-scaler-auto-scaler-2402a18da250bf34","app-scaler-auto-scaler-4ff260b21d0b000d","app-scaler-auto-scaler-9c09a3e6f241c57","app-scaler-egress-lmg","app-scaler-auto-scaler-11f65c4f7140d69c"]
I0724 13:59:18.554241       1 event.go:307] "Event occurred" object="traefik/traefik" fieldPath="" kind="Service" apiVersion="v1" type="Normal" reason="EnsuringLoadBalancer" message="Ensuring load balancer"
I0724 13:59:18.561622       1 shared_informer.go:318] Caches are synced for route
I0724 13:59:21.572149       1 load_balancer.go:712] "update service" op="hcops/LoadBalancerOps.ReconcileHCLBServices" port=80 loadBalancerID=1290988
I0724 13:59:22.368457       1 load_balancer.go:712] "update service" op="hcops/LoadBalancerOps.ReconcileHCLBServices" port=443 loadBalancerID=1290988
I0724 13:59:23.698020       1 load_balancers.go:159] "reload HC Load Balancer" op="hcloud/loadBalancers.EnsureLoadBalancer" loadBalancerID=1290988
I0724 13:59:24.008215       1 event.go:307] "Event occurred" object="traefik/traefik" fieldPath="" kind="Service" apiVersion="v1" type="Normal" reason="EnsuredLoadBalancer" message="Ensured load balancer"
I0724 13:59:35.211684       1 route_controller.go:216] action for Node "app-scaler-control-plane-fsn1-cqm" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:35.211718       1 route_controller.go:216] action for Node "app-scaler-egress-lmg" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:35.211742       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-11f65c4f7140d69c" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:35.211751       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-136f9ac7070f0914" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:35.211757       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-2402a18da250bf34" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:35.211765       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-4ff260b21d0b000d" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:35.211771       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-9c09a3e6f241c57" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:52.069466       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-136f9ac7070f0914" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:52.069510       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-2402a18da250bf34" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:52.069524       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-4ff260b21d0b000d" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:52.069536       1 route_controller.go:216] action for Node "app-scaler-auto-scaler-9c09a3e6f241c57" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:52.069548       1 route_controller.go:216] action for Node "app-scaler-control-plane-fsn1-cqm" with CIDR "<IP_ADDRESS>/24": "keep"
I0724 13:59:52.069730       1 route_controller.go:216] action for Node "app-scaler-egress-lmg" with CIDR "<IP_ADDRESS>/24": "keep"
Kube.tf file
locals {
  # First and foremost set your Hetzner API token here. It can be found in your Project > Security > API Token (Read & Write is required).
  hcloud_token = "***********"
  cluster_ipv4_cidr = "<IP_ADDRESS>/24"
}

module "kube-hetzner" {
  providers = {
    hcloud = hcloud
  }
  version = "v2.3.1"
  hcloud_token = local.hcloud_token
  source = "kube-hetzner/kube-hetzner/hcloud"
  ssh_public_key = file("*************")
  ssh_private_key = file(""*************")
  network_region = "eu-central"
  control_plane_nodepools = [
    {
      name        = "control-plane-fsn1",
      server_type = "cpx11",  # change to cx11 for new cluster
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 1
    }
  ]
  agent_nodepools = [
    {
      name        = "agent-middle",
      server_type = "cx31",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 0
    },
    {
      name        = "agent-large",
      server_type = "cx51",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 0
    },
    {
      name        = "agent-middle-large",
      server_type = "cx41",
      location    = "fsn1",
      labels      = [],
      taints      = [],
      count       = 0
    },
    {
      name        = "egress",
      server_type = "cpx11",
      location    = "fsn1",
      labels = [
        "node.kubernetes.io/role=egress"
      ],
      taints = [
        "node.kubernetes.io/role=egress:NoSchedule"
      ],
      floating_ip = true
      count = 1
      },
  ]
  extra_firewall_rules = [
    {
      description     = "For outgoing."
      direction       = "out"
      protocol        = "tcp"
      port            = "any"
      source_ips      = []
      destination_ips = ["<IP_ADDRESS>/0", "::/0"]
    }
  ]
  network_ipv4_cidr = "<IP_ADDRESS>/16"
  cluster_ipv4_cidr = "<IP_ADDRESS>/24"
  automatically_upgrade_k3s = false
  automatically_upgrade_os = false
  cni_plugin = "cilium"
  enable_cert_manager= "true"
  cluster_name = "*******"
  allow_scheduling_on_control_plane = false
  autoscaler_nodepools = [
    {
      name        = "auto-scaler"
      server_type = "cx41"
      location    = "fsn1"
      min_nodes   = 1
      max_nodes   = 10
    }
  ]
  cilium_values = <<EOT
ipam:
  operator:
    mode: kubernetes
kubeProxyReplacement: strict
l7Proxy: "false"
bpf:
  masquerade: "true"
egressGateway:
  enabled: "true"
  EOT
}

provider "hcloud" {
  token = local.hcloud_token
}

terraform {
  required_version = ">= 1.3.3"
  required_providers {
    hcloud = {
      source  = "hetznercloud/hcloud"
      version = ">= 1.41.0"
    }
  }
}

output "kubeconfig" {
  value     = module.kube-hetzner.kubeconfig
  sensitive = true
}

Screenshots
No response
Platform
Linux

Hi @zypriafl, please have a look at https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/pull/902. If this is merged, you should be able to change the cluster CIDR with your current configuration. Currently this would only work if you leave the cilium config (cilium_values) untouched and not overwrite it in your kube.tf. Then cilium takes care about the pod CIDR assignment and ignores K3s IPAM (K3s uses by default <IP_ADDRESS>/16 -> https://docs.k3s.io/cli/server#networking) entirely. See also my comments below the referenced PR, if you are interested in more details.
PS: Your network for cluster_ipv4_cidr is pretty small. Normally you should have a /24 network for a single pod network per node and not just a single /24 for all of them. Btw, it is also separated from the network CIDR, which is highly recommended to avoid. This can lead to routing problems if you would go to native pod routing setup in future. See also here:
  # If you must change the network CIDR you can do so below, but it is highly advised against.
  # network_ipv4_cidr = "<IP_ADDRESS>/8"

  # If you must change the cluster CIDR you can do so below, but it is highly advised against.
  # Cluster CIDR must be a part of the network CIDR!
  # cluster_ipv4_cidr = "<IP_ADDRESS>/16"

@M4t7e Thanks for your help here.


Venv location without environment variables

Hi! This is not a bug, but a feature request/discussion.
I was thinking about the PIPENV_VENV_IN_PROJECT variable: is there any reason why this should be set as an environment var instead of a simple ‘switch‘ option in the CLI (like --in-project)? Note that I'm not suggesting to remove the environment variable (it should be kept for both compatibility and CI), but I'm suggesting the addition of a new CLI option for the "human users".
I'm willing to implement this option myself in a PR. But if there's a reason for this design, sorry for the useless request. :)

We added an environment variable recently to specify PIPENV_CUSTOM_VENV_NAME as well -- the rationale is users can have their own .env file per project easily enough.   I am inclined to close this as there are a lot of arguments already and we are trying to cleanup and simplify the interfaces.   If you feel strongly we can revisit but I am also trying to cleanup the backlog of old issues.


SPARKC-249: Fix merge strategy for netty.io.properties

Build against Scala 2.11 finished with failure

+1

Build against Scala 2.10 finished with success

Is it possible that this is not working for scala 2.11?
When I try to do an assembly against the latest commit in branch 1.5 it fails with the same error that's reported in SPARKC-249. (different file contents found in the following... netty.io.properties)
Also jenkins shows "Build against Scala 2.11 finished with failure" in the comment above.

@msemelman Looks fine to me
15:46:32 ➜  ~/repos/spark-cassandra-connector git:(b1.5) ✗ ./sbt/sbt -Dscala-2.11=true assembly
Launching sbt from sbt/sbt-launch-0.13.8.jar
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[info] Loading global plugins from /Users/russellspitzer/.sbt/0.13/plugins
[info] Loading project definition from /Users/russellspitzer/repos/spark-cassandra-connector/project
Using releases: https://oss.sonatype.org/service/local/staging/deploy/maven2 for releases
Using snapshots: https://oss.sonatype.org/content/repositories/snapshots for snapshots

  Scala: 2.11.7
  Scala Binary: 2.11
  Java: target=1.7 user=1.8.0_60
  Cassandra version for testing: 3.0.2 [can be overridden by specifying '-Dtest.cassandra.version=<version>']

[info] Set current project to root (in build file:/Users/russellspitzer/repos/spark-cassandra-connector/)
...
[info] Suites: completed 25, aborted 0
[info] Tests: succeeded 296, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 407, Failed 0, Errors 0, Passed 407
[info] Checking every *.class/*.jar file's SHA-1.
[info] Merging files...
[warn] Merging 'META-INF/INDEX.LIST' with strategy 'last'
[warn] Merging 'META-INF/LICENSE.txt' with strategy 'last'
[warn] Merging 'META-INF/MANIFEST.MF' with strategy 'discard'
[warn] Merging 'META-INF/NOTICE.txt' with strategy 'last'
[warn] Merging 'META-INF/io.netty.versions.properties' with strategy 'last'
[warn] Strategy 'discard' was applied to a file
[warn] Strategy 'last' was applied to 4 files
[info] SHA-1: 9526f64f47f8bd78148fdb87db9bafd5659853f9
[info] Packaging /Users/russellspitzer/repos/spark-cassandra-connector/spark-cassandra-connector/target/scala-2.11/spark-cassandra-connector-assembly-1.5.0-RC1-SNAPSHOT.jar ...
[info] Done packaging.
[info] Done packaging.
[success] Total time: 68 s, completed Feb 12, 2016 3:48:00 PM


DO NOT MERGE - TESING CI FIX

Signed-off-by: Yoni Bettan<EMAIL_ADDRESS>
/uncc @qbarrand

/hold
Should not be merged


pd.append -> pd.concat

Problem: Pandas append has been deprecated since version 1.4 and has been removed since version 1.6. create_group_split still uses pandas.append to split the train_val set into the train and val sets.
Solution: Updates create_group_split to utilize pandas.concat to create the train and val sets.

hi @drewnutt , we can merge this when it passes the yapf linter. You can do this yourself or I can take care of it at a later time. Thanks for the contribution! Feel fee to tag me if you make the yapf change yourself


Best practice to integrate existing app with React-Native

Hi There,
Thanks for your great work.
We have a bunch of legacy native code and want to have react-native get involved in the next version. As RN is not so feature complete to us, we'd like to experiment it as a component. Here are some thoughts about the future architecture based on our limited knowledge of RN, please comment.

We'd like to create a minimal component in JS land and use it as RCTRootView at App start.
As the App is native and RN hybrid, we'd like to reuse the *bridge created at first step, so it won't load JS files again.
registerComponent for different kind of views in JS land, so we can have multiple entries for native code which manage the lifecycle of RN's RootView(s).
Passing data back and forth between native code and RN. We experimented DeviceEventEmitter, but RN code runs in async mode, how can we guarantee the events send by native code will be listened in JS land? And we also tried AppParams.initialProps, but don't know how to get the value in JS land?

Thanks.

This should be fine. You can place one or more RCTRootViews anywhere in your app - they don't have to be the root view of the app, if that makes sense.

That's also fine. Just create the bridge and store it somewhere (probably in a property in your app delegate). You can then re-use that bridge for each RCTRootView without re-creating or reloading it.

I'm not sure what this means.

You can pass properties in the -(NSDictionary *)exportedConstants method of each of your modules that will be available to the JS code immediately when it loads. For data that changes while the JS is running, you'll need to use the event emitters. These events are guaranteed to be received as long as the JS code is running and has registered to observe the event.

@nicklockwood Thanks for your reply, if addresses my concerns.

Let me re-phase my questions. As we multiple RCTRootViews for different parts of the UI, so we'd like to make each RCTRootView backed by a JS component via "registerComponent". According to your previous answer, I think it's also feasible to do that.
Any more documents about this?

Yes, I think that's fine.

Create your bridge like this:
RCTBridge *bridge = [[RCTBridge alloc] initWithBundleURL:URL_YOU_NORMALLY_PASS_TO_ROOTVIEW moduleProvider:nil launchOptions:nil];

Then store it somewhere in your app, e.g. in a property inside AppDelegate. Then whenever you create a new RCTRootView, do it like this:
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:BRIDGE_YOU_CREATED_EARLIER moduleName:MODULE_NAME_FOR_THAT_COMPONENT];

That way, all of your root views will share the same bridge and javascript code, but can each run a different component.

Thank a lot, @nicklockwood


Issue in week days header

The days headers should be all equal in width. In my specific case I use a different content for Mondays and it causes a disalignment on narrow screens.

Hi, thanks for the issue. Will take a loo.

Hi v0.5.0 has been released, the DayHeader's are now constrained so you should get a layout error if they do not conform.


Restore original task id; Fix publish workflow

@mburumaxwell sorry, I broke the publish workflow; The task id was renamed during some of the manifest updates, I didn't realise this cannot be renamed once set.
error: Contribution Microsoft.VisualStudio.Services.TaskId.DEPENDABOTTASK is re-using task ID of some other contribution from earlier version. To publish the extension, change the task ID.

Thanks. I was just about to fix this. For some reason, the dev one was not affected.

I didn't run in to the error with my own local build either, so maybe it's a rule that is only applied for public extensions?


Update darkmode references and config use

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
The scope of this update is to address items that were missed with the last MAJOR release. This includes removing duplicated tokens in the new darkmode scope, updating token configs to build only from darkmode tokens, add new darkmode flag to correctly updated tokens and update README to correct all legacy references.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


User credentials are wrong

Hi there...since the recent instagram changes we are getting the errors and I've read people saying we need to be logged for stuff to work.
But when I try Instagram::withCredentials I get the message:
"User credentials are wrong."
I've tried using both e-mail and username for the login, but I always get the message. Is there a special way of sending the login data?
Thanks.

It should work normally... Make sure to use your instagral username without the @.
login();
    ?>
This works for me

It should work normally... Make sure to use your instagral username without the @.
<?php     $instagram = \InstagramScraper\Instagram::withCredentials('username', 'password');     //i'm not using cache here     $instagram->login();     ?>
This works for me

I'm having the same issue even using your code @bomboem . I know the credentials are right because I've been able to sign into instagram.com & the app with them

It should work without any additional settings or changes. Maybe try another IP address or are the accounts your attempting to use new ones? I'm just guessing, but could be instagram changed some data in newly registered accounts since they're changing their undocumented API. If this isn't the case, i'm clueless. Hope you find a fix, and let us know if you do...

Had the same issue today with a script running without problems for over a month... created a new instagram account and worked again with the new one. Strange thing though, is that the old account with another ip address works, so it feels like they block combination user + ip address or something.

@sam-gnx Looks like instagram may block you if you login too often. Try using cached sessions/proxys to avoid getting logged out. Reffer to the docs on how to use proxys.


Fixes #891: Added tests for the expandvars.py script.

Codecov Report
Base: 27.52% // Head: 27.52% // No change to project coverage :thumbsup:

Coverage data is based on head (544990b) compared to base (6173c88).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #893   +/-   ##
=======================================
  Coverage   27.52%   27.52%
=======================================
  Files         136      136
  Lines       32558    32558
  Branches     5219     5219
=======================================
  Hits         8960     8960
  Misses      22448    22448
  Partials     1150     1150

Flag
Coverage Δ

unittests
27.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@jiridanek if you don't have any other concerns about this PR, I would like to go ahead and merge it to main. I am working on including nginx in CI and would like to use this script in that project. Thx


Error with lnd going from RaspiBolt 2 to 3

Describe the issue
I was previously running a lightning node with channels using the RaspiBolt 2 guide. I am now reconfiguring my node using the RaspiBolt 3 guide and am running into an issue. I got to the point where I installed and initially ran lnd - that was all fine. I then took my thumbdrive which had my old node's data directory and mounted it and used the command in the FAQ section to transfer it over. That seemed to work fine (from what I could tell). The guide doesn't really say what to do from there but I went ahead and started up lnd at that point and I get the following error:
Attempting automatic RPC configuration to bitcoind
Automatically obtained bitcoind's RPC credentials
2022-02-16 12:58:02.858 [INF] LTND: Version: 0.14.2-beta commit=v0.14.2-beta, build=production, logging=default, debuglevel=info
2022-02-16 12:58:02.859 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2022-02-16 12:58:02.860 [ERR] LTND: Shutting down because error in main method: unable to load TLS credentials: tls: private key does not match public key
2022-02-16 12:58:02.860 [INF] LTND: Shutdown complete

unable to load TLS credentials: tls: private key does not match public key

Please let me know if there is something I missed or am potentially doing wrong. Thanks!
Location in guide
(https://raspibolt.org/faq.html)
Environment

Hardware platform: Pi 4, 4 gb
Operating system: Raspberry Pi OS 64bit
Version: Debian GNU/Linux 11 (bullseye)

Could you check who is the owner of the /data/lnd directory? (e.g. with ls -la /data)
You might need to change the ownership to user "lnd" with:
sudo chown -R lnd:lnd /data/lnd

Okay so I ran la -la and I believe the output suggests that there is a symbolic link connecting .lnd and /data/lnd (see below). But when I actually go into the respective folders ~/.lnd and ~/data/lnd I find that the folder contents are NOT the same. I am really not sure why?
lnd@raspibolt:~ $ ls -la
total 36
drwxr-xr-x 4 lnd  lnd  4096 Feb 16 12:54 .
drwxr-xr-x 6 root root 4096 Feb 16 12:29 ..
-rw------- 1 lnd  lnd   644 Feb 17 11:36 .bash_history
-rw-r--r-- 1 lnd  lnd   220 Feb 16 12:29 .bash_logout
-rw-r--r-- 1 lnd  lnd  3523 Feb 16 12:29 .bashrc
lrwxrwxrwx 1 lnd  lnd    13 Feb 16 12:30 .bitcoin -> /data/bitcoin
drwxr-xr-x 3 root root 4096 Feb 16 12:57 data
lrwxrwxrwx 1 lnd  lnd     9 Feb 16 12:30 .lnd -> /data/lnd
drwxr-xr-x 3 lnd  lnd  4096 Feb 16 12:31 .local
-rw-r--r-- 1 lnd  lnd  1670 Feb 16 12:29 .mkshrc
-rw-r--r-- 1 lnd  lnd   807 Feb 16 12:29 .profile

Okay so I ran ls -la and I believe the output suggests that there is a symbolic link connecting .lnd and /data/lnd (see below).

So here we are in your "lnd" user home directory.
The lrwxrwxrwx 1 lnd  lnd    13 Feb 16 12:30 .bitcoin -> /data/bitcoin and lrwxrwxrwx 1 lnd  lnd     9 Feb 16 12:30 .lnd -> /data/lnd are the symlinks to the Bitcoin Core and LND data directories, owned by "lnd". So that's all good.
However, there is a data folder there which, afaik, should not be here.. which brings us to your next question.

But when I actually go into the respective folders ~/.lnd and ~/data/lnd I find that the folder contents are NOT the same. I am really not sure why?

When moving to ~/.lnd with your "lnd" user you go to the following absolute path: /home/lnd/.lnd which translates to /data/lnd
When moving to ~/data/lnd with your "lnd" user you go to the absolute path: /home/lnd/data/lnd. This is probably a folder you pasted/sent to the wrong location.

To answer your question as well, when I run la -la /data/lnd I get the following output

Regarding the content of /data/lnd, all the files and directories are owned by the "lnd" user so that's a good start.
However, this symlink lrwxrwxrwx 1 lnd   lnd      9 Feb 17 11:36 lnd -> /data/lnd is wrong. It should be a real folder containing all the LND databases and data, not a symlink as it is now.

The contents I believe are a mish-mosh of files from my old and new node. lit.conf, for example, was an old .conf file I was using in my old node setup.

Yes, looks like there was a couple of mis-steps along the way when you copy-pasted the old LND data on your new node...
If you still have your old data on the thumbdrive, I would probably try to delete the /data/lnd folder on your new node and then copy/paste your old lnd folder. WARNING: before deleting any lnd data folders, make sure you have a backup or copy of your old LND data somewhere!  :)
Assuming you have a safe copy of the old LND data somewhere, I would do this with user "admin":
First, remove/back-up the problematic folders:
$ sudo mv /data/lnd /data/lnd.bak
$ sudo mv /home/lnd/data / /home/lnd/data.bak

Then I'd copy over the old LND data to the new node, either using the method described in the guide. Or else by doing it on a laptop (I've done it this way when migrating from v2 to v3, but it's probably longer and less efficient):

I would shut down LND and bitcoind and shut down the node and remove the SSD.
Then I'd plug the SSD and thumbdrive in a laptop and move over the old LND data to the new node with: sudo rsync -rhvP --append-verify /path/to/thumbdrive/data/lnd /path/to/new/node/drive/data
Then I'd plug the SSD drive into the Pi and plug the power to start the Pi
I'd then change the ownership of the lnd data folder: sudo chown -R lnd:lnd /data/lnd

As you can see my methid is more involved and time-consuming. Might be bette to use the method describied in the guide's FAQ!
Then try to start LND see if it works.
If it works well, later on you could delete the folder that we backed-up as they are not needed, i.e.:

/data/lnd.bak
/home/lnd/data.bak

Good luck!


Implement std::error::Error for Error

My use case is to use it seamlessly with the failure crate.

Looks good, thanks for the PR!  (and sorry about the CI problems)
I can make a release if you'd like.


Publish images to Amazon ECR Public Registry

Amazon has announced the Amazon ECR Public Registry, similar to DockerHub.
[Announcing Amazon ECR Public and Amazon ECR Public Gallery]
(https://aws.amazon.com/about-aws/whats-new/2020/12/announcing-amazon-ecr-public-and-amazon-ecr-public-gallery/)
ECR Public Gallery
Once our public registry is created, replicate the publishing to Docker for Amazon ECR Public Regsitry

In order to publish to an Amazon ECR, the build.sh line needs to be adjusted to remove the slashes and colons.  AWS ECR's do not allow these characters.
Before:
LOCAL_NAME=cypress/browsers:node14.15.0-chrome86-ff82

After:
LOCAL_NAME=cypress-browsers-node14.15.0-chrome86-ff82


Release/2.3

As a Content Editor, I want my rich text editor preview to match the way the content will display on the site so that I don't have to check the published version myself.
As a Content Editor, I should only be able to use supported formatting and tags when I edit site content so that the CDH has a uniform web presence.
As a Content Editor, I want to designate blog posts as featured so I can highlight their importance.
As a user, I want to see featured updates on the homepage so I can see what's going on at the CDH.

Upgrade tinyMCE to v4.7.9.

Codecov Report

Merging #99 into master will increase coverage by 0.12%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #99      +/-   ##
==========================================
+ Coverage   96.31%   96.44%   +0.12%
==========================================
  Files          62       63       +1
  Lines        2333     2416      +83
==========================================
+ Hits         2247     2330      +83
  Misses         86       86

Impacted Files
Coverage Δ

cdhweb/resources/tests/test_views.py
100% <100%> (ø)
:arrow_up:

cdhweb/resources/views.py
100% <100%> (ø)
:arrow_up:

cdhweb/blog/tests.py
98.18% <100%> (+0.68%)
:arrow_up:

cdhweb/blog/admin.py
86.36% <100%> (ø)
:arrow_up:

...dhweb/blog/migrations/0004_blogpost_is_featured.py
100% <100%> (ø)

cdhweb/__init__.py
83.33% <100%> (ø)
:arrow_up:

cdhweb/blog/models.py
96% <100%> (+2.66%)
:arrow_up:

cdhweb/settings.py
87.5% <100%> (+0.19%)
:arrow_up:

Continue to review full report at Codecov.

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


Added selectVariantAnnotationDialog #846

Added selectVariantAnnotationDialog, the mosaic option is not completed yet.

Hi @YangQi007. I've left comments on issue #846.

Hi @YangQi007. I pulled down your branch and tested this morning. There are some fixes I requested in the last pull request that are not yet fixed. Here are screen prints with comments.

See comments above ^

Hi, @tonydisera I fixed the user interface based on your comments. Here, there is a thing I would like to bring up to your attention. When parsing the vcf file, there are abbreviations for annotations, but not for calling the mosaic API. So on the user interface, the UI is not consistent.

@YangQi007, I like the way the interface looks with the fixed-width columns. It is okay that the Mosaic variant annotations look a bit different.

@YangQi007, there is a problem with the tooltip on the annotations in VariantInspectCard. When I hover over the annotation abbreviation, the screen flickers and the tooltip shows at the bottom of the panel rather than by the label I am hovering over.

@YangQi007 , please change the "select" button to have the following styling. This will align with the header.

And the icon within the button should have font-size: 22px

@YangQi007, we can probably have a narrower fixed width so that the values are closer to the labels.

On the "select annotations" dialog, there are still a few format issues to address. Also, it would be nice to have a "select all" checkbox so that the user doesn't have to click on every annotation.

Also, let's remove 'custom' from 'Custom annotations'. I think this will look better.

@YangQi007, we can probably have a narrower fixed width so that the values are closer to the labels.

As to your comment about narrowing down the fixed width. I did that because in mosaic the name of annotations are longer. So if make the width smaller, the format of name of annotations will be not consistent.

@YangQi007, we can probably have a narrower fixed width so that the values are closer to the labels.

As to your comment about narrowing down the fixed width. I did that because in mosaic the name of annotations are longer. So if make the width smaller, the format of name of annotations will be not consistent.

Good point, @YangQi007. Let's leave the fixed width to your proposed width.

Hi @YangQi007 -
I just pulled down your branch and tested. Some of the items haven't been fixed yet. Have you pushed all of your changes? I don't see the "Select all" checkbox on the 'Select annotations' dialog and the number of annotations next to the header. The tooltip still flickers on the VariantInspectCard when I hover over the icon. Also the tooltip isn't placed correctly.

Hi @YangQi007 - I just pulled down your branch and tested. Some of the items haven't been fixed yet. Have you pushed all of your changes? I don't see the "Select all" checkbox on the 'Select annotations' dialog and the number of annotations next to the header. The tooltip still flickers on the VariantInspectCard when I hover over the icon. Also the tooltip isn't placed correctly.

You got email for PR? I didn't commit them yet. I just fixed the tooltip flicking and changed their position. I am still working on selectAll feature.

I see. The 'review requested' (above) must happen when a push to your branch is made.

I see. The 'review requested' (above) must happen when a push to your branch is made.

Hi, @tonydisera just pushed the changes, now it should be all there. Please check it out.

@tonydisera I didn't add a new checkbox for the deselect option because the 'Cancel' button has the same functionality.

@YangQi007 This looks great. These last changes make the UI look really polished. I am merging this pull request.


Transpiling node_modules like CRA

Create React App supports transpiling es6 node_modules since v2. Is that something being considered in razzle? I've been trying to wrestle with razzle and getting es6 modules through babel-loader. As more libraries ship with es6 only syntax, it's important to not exclude all node_modules as razzle does by default.

In the dev version this can be done by adding a jsconfig with compilerOptions.paths set to { “somemodule/”: “somemodule/” } , may consider adding include and exclude support to razzle if this does not work.

This didn't work unfortunately after trying it all sorts of different ways. There is a pesky map-obj sub-dependency that doesn't include an es5 bundle but uses object spread syntax and so breaks browsers like MS Legacy Edge. I have a repro here https://github.com/hennessyevan/razzle-transpile-repro.
The bundle includes map-obj and the spread syntax un-transpiled. Packages like lodash-es work fine as long as I whitelist them from nodeExternals because I'm importing them directly in my project.

Hi, the jsconfig solution is not in the release version yet. I can try adding this as a example there :)

I made a new ticket to fix this. But not quite sure how to do this the right way. Bit i’ll try 😀


[BUG] Fleet not showing labels created with kubectl patch

Rancher Server Setup

Rancher version: 2.6.8
Installation option (Docker install/Helm Chart):
helm on rke2 with selinux
Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.24.4+rke2r1
Cluster Type (Local/Downstream):
local

Custom = Running a docker command on a node
Imported = Running kubectl apply onto an existing k8s cluster
Hosted = EKS, GKE, AKS, etc
Infrastructure Provider = Rancher provisioning the nodes using different node drivers (e.g. AWS, Digital Ocean, etc)
DO

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)
Admin user logged in

Describe the bug
When updating the Cluster label for fleel-local with
kubectl patch Cluster -n fleet-local local --type=merge -p '{"metadata": {"labels":{"name":"local"}}}'
It is not showing up in the GUI. This is trying another work around for : https://github.com/rancher/fleet/issues/759
To Reproduce
Run kubectl patch Cluster -n fleet-local local --type=merge -p '{"metadata": {"labels":{"name":"local"}}}' to add the label. Then check the gui. It shows up in kubectl  get Cluster -n fleet-local local -o json | jq .metadata.labels
Result

Expected Result
they match
Screenshots
see above
Additional context
please help obiwan.

Are you sure this patches the right "cluster"? There are multiple CRDs named "cluster:
clusters.cluster.x-k8s.io
clusters.fleet.cattle.io
clusters.management.cattle.io
clusters.provisioning.cattle.io

I think that explains it. There are several locations for the label.
clempro:clemenko rke2 ( <IP_ADDRESS>:6443 ) $ kubectl get clusters.fleet.cattle.io -n fleet-local local -o json | jq .metadata.labels
{
  "management.cattle.io/cluster-display-name": "local",
  "management.cattle.io/cluster-name": "local",
  "name2": "local2",
  "nametest": "local",
  "objectset.rio.cattle.io/hash": "f2a8a9999a85e11ff83654e61cec3a781479fbf7",
  "provider.cattle.io": "rke2"
}
clempro:clemenko rke2 ( <IP_ADDRESS>:6443 ) $ kubectl get clusters -n fleet-local local -o json | jq .metadata.labels
{
  "nametest": "local",
  "objectset.rio.cattle.io/hash": "50675339e9ca48d1b72932eb038d75d9d2d44618",
  "provider.cattle.io": "rke2"
}

kubectl patch clusters.fleet.cattle.io -n fleet-local local --type=merge -p '{"metadata": {"labels":{"name":"local"}}}'
worked for the fleet-local bug

closing as per location for clusters.fleet.cattle.io.


Use files join code in bytes

Addresses cleanup request in https://github.com/ethersphere/bee/pull/327#issuecomment-646057120

@janos please see comment from @acud


Feat(generateGdprExport): implement generate gdpr export deno

Created generateGdprExport() cloud function in deno at generate-gdpr-export folder
Tasks summary:

[x] Fork & clone Appwrite's demos-for-function repository- [ ] Create feat-implement-generate-gdpr-export-X branch where X is programming language you used
[x] Write code for the function
[x] Test the function using Appwrite
[x] Write a README.md explaining what function does, how to use and customize it. Here is an example.
[x] Submit pull request to our demos-for-function repository

Issue: #1904
Collection example:

Function output:

Generated files:

Only exported 1 documents because user only create one document.

THANK YOU! All changes merged 🥳
Please reach out to eldadfux on our Discord server if you would like to claim your Appwrite swags! As a way of saying thank you, we would also love to invite you to join the Appwrite organization on GitHub. Please share your GitHub username with us on Discord.
You can accept the invite by visiting https://github.com/orgs/appwrite/invitation. By joining our team, you will officially be an Appwrite maintainer on GitHub.
You can change your membership visibility settings, so your new Appwrite team membership badge will show up on your personal GitHub profile.
Please feel free to look for more PRs you might be interested in helping with on our long list of Hacktoberfest friendly issues and help make Appwrite better :)