send_ssl_message receives 6 arguments but only expects 1~5

Summary
Running kong from the official docker image generates 2 periodic error in error.log:
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors: 2016/10/07 15:08:29 [error] 100#0: lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/pgmoon-mashape/init.lua:172: ngx.socket connect: expecting 1 ~ 5 arguments (including the object), but seen 6
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors: stack traceback:
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors: coroutine 0:
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors:   [C]: in function 'send_ssl_message'
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/pgmoon-mashape/init.lua:172: in function 'connect'
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:142: in function 'query'
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:285: in function 'clear_expired_ttl'
Oct  7 17:08:30 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:39: in function </usr/local/share/lua/5.1/kong/dao/postgres_db.lua:36>, context: ngx.timer
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors: 2016/10/07 15:08:34 [error] 104#0: lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/pgmoon-mashape/init.lua:172: ngx.socket connect: expectin
g 1 ~ 5 arguments (including the object), but seen 6
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors: stack traceback:
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors: coroutine 0:
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   [C]: in function 'send_ssl_message'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/pgmoon-mashape/init.lua:172: in function 'connect'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:142: in function 'query'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:171: in function 'retrieve_primary_key_type'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:189: in function 'get_select_query'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:360: in function 'find_all'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/dao/dao.lua:174: in function 'find_all'
Oct  7 17:08:35 eac60fa9c016 api-preprod-kong-errors:   /usr/local/share/lua/5.1/kong/core/cluster.lua:78: in function </usr/local/share/lua/5.1/kong/core/cluster.lua:69>, context: ngx.timer

It still works though.
Steps To Reproduce

Use the official kong docker image

Additional Details & Logs

Kong version: 0.9.2

Kong debug-level startup logs
kong_start.txt

Kong error logs (<KONG_PREFIX>/logs/error.log)
kong_error.txt

Kong configuration (registered APIs/Plugins & configuration file): nothing register yet, configuration is done via env vars:

- KONG_SSL: off
- KONG_DATABASE: postgres
- KONG_PG_SSL: on
- KONG_PG_SSL_VERIFY: off
- KONG_PG_PORT: 5432
- KONG_PG_DATABASE: kong_non_prod
- KONG_PG_HOST: <redacted>
- KONG_PG_USER: kong_non_prod
- KONG_PG_PASSWORD: <redacted>
- KONG_PROXY_LISTEN: <IP_ADDRESS>:5300
- KONG_ADMIN_LISTEN: <IP_ADDRESS>:5301

Operating System: CentOS inside docker (your official docker image + some basic packages like cron)

Thanks for the report

I also see this error when trying to connect connect to postgres using ssl and the official mashape docker image. However, this also results in 500 errors when making requests to any endpoint in either the admin api or a proxy api. It is accompanied by other errors as well:
        [C]: in function 'resume'
        /usr/local/share/lua/5.1/lapis/application.lua:393: in function 'handler'
        /usr/local/share/lua/5.1/lapis/application.lua:130: in function 'resolve'
        /usr/local/share/lua/5.1/lapis/application.lua:161: in function </usr/local/share/lua/5.1/lapis/application.lua:159>
        [C]: in function 'xpcall'
        /usr/local/share/lua/5.1/lapis/application.lua:159: in function 'dispatch'
        /usr/local/share/lua/5.1/lapis/nginx.lua:214: in function 'serve'
        content_by_lua(nginx-kong.conf:111):10: in function <content_by_lua(nginx-kong.conf:111):1>, client: <IP_ADDRESS>, server: kong_admin, request: "GET /status HTTP/1.0"
2016/10/13 21:15:46 [error] 117#0: *2427 [lua] init.lua:62: handle_error(): /usr/local/share/lua/5.1/lapis/application.lua:396: /usr/local/share/lua/5.1/pgmoon-mashape/init.lua:172: ngx.socket connect:
 expecting 1 ~ 5 arguments (including the object), but seen 6
stack traceback:
        [C]: in function 'send_ssl_message'
        /usr/local/share/lua/5.1/pgmoon-mashape/init.lua:172: in function 'connect'
        /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:142: in function 'query'
        /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:171: in function 'retrieve_primary_key_type'
        /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:189: in function 'get_select_query'
        /usr/local/share/lua/5.1/kong/dao/postgres_db.lua:398: in function 'count'
        /usr/local/share/lua/5.1/kong/dao/dao.lua:222: in function 'count'
        /usr/local/share/lua/5.1/kong/api/routes/kong.lua:74: in function </usr/local/share/lua/5.1/kong/api/routes/kong.lua:51>

stack traceback:
        [C]: in function 'error'
        /usr/local/share/lua/5.1/lapis/application.lua:396: in function 'handler'
        /usr/local/share/lua/5.1/lapis/application.lua:130: in function 'resolve'
        /usr/local/share/lua/5.1/lapis/application.lua:161: in function </usr/local/share/lua/5.1/lapis/application.lua:159>

Additional Details

Kong Database Configuration:

database = postgres
pg_host = <redacted>
pg_port = 5432
pg_user = kongtest
pg_password = <redacted>
pg_database = kongtest
pg_ssl = on
pg_ssl_verify = off

Database Info:
Postgres db version 9.5.2, running in Amazon RDS with rds.force_ssl set to on (also tested with it set to off)

If it looks like my issue is unrelated, let me know and I will file a separate issue.

Here is the fix for our pgmoon fork: https://github.com/Mashape/pgmoon/commit/c16d2d48ada61e64138062a43d6c9749927fbdae
I released pgmoon-mashape 2.0.1 which you can install with:
$ luarocks install pgmoon-mashape 2.0.1

This should override the 2.0.0 version installed by Kong.
This fix will also be pushed to leafo/pgmoon.
I believe that ideally, ngx_lua should be updated to discard additional arguments to sslhandshake() (and other tcp/udp socket methods), so that it follows usual Lua idioms and would be a more elegant fix for this.

Fix verified. Thank you!

Great, thanks for testing it out!

@thibaultcha master branch and 0.9.5 don't include version bump, and because of it postgres with ssl fails. shoudn't it be released as 0.9.6?

@sheerun Hey, sorry for the delay on our side. I just released 0.9.6:
https://github.com/Mashape/kong/releases/tag/0.9.6
Which takes care of bumping the pgmoon-mashape dependency. This definitely warrants a hotfix. It can already be installed over an existing Kong install via:
$ luarocks install kong 0.9.6

We we be releasing the updated distribution packages by the end of the day.
Thanks again!

Any update on when the distribution packages are going to be released, we have just ran into this problem while moving to postgres.


Take control of tools we install on shell server

We migrate from using an empty problem bundle to using Ansible.
Resolves #185

Is your goal to add in our problem bundle in this stage as well, or leave that part manual and just automate the tool installation?


[Docs] More documentation about function transformations

For users not familar with JAX, vjp and jvp terminology can be confusing. I think we should have a bit more documentation about:

vjp and jvp terminology and its use in automatic differentiation
automatic differentiation implementation in MLX.
vmap usage

Developer documentation provides a clear example of how to implement a new primitive. However, I think it would be helpful to know a bit more about automatic differentiation implementation in MLX.
In addition, vmap is a very powerful function transformation which could be useful to both users and developers of the framework. Thus, I think it would be awesome to have an example page demonstrating its usage, such as https://jax.readthedocs.io/en/latest/jax-101/03-vectorization.html

💯 we should add more on transforms.
As for auto diff, anything specific there? We could write some developer docs on it, which would be nice to have. But to be honest that part of the code is pretty slow changing, so it's not a super high priority.

I think higher priority are transforms examples, such as vmap. For auto diff, just a bit of terminology explanation would be sufficient.


chore: Add Noto Sans Mono font-family to Hacker theme

What changed? Why?
Add Noto Sans Mono fontFamily to the Hacker theme.
Notes to reviewers
How has it been tested?

can we dynamically load the correct fonts for a theme?


Bump Gradle Version, Use Proper Plugin Configuration

Allows you to actually use the plugins block.
plugins {
	id 'com.fox2code.foxloader.dev' version '1.2.50'
}

I also added myself to the contributor list.

Look fine and ready to merge to me


Module 5 Create Model Calculations.pptx Incorrect Title

Module: 5 (Slides)
Lesson 2
Title Incorrect
Title of Slide for  Mod 5 Create Model Calculations.pptx
is:
Lesson 2: Real-Time Dashboards
should be:
Lesson 2: DAX Context

I made a mistake, and I am going to submit this to the MCT Course/Content Forum instead.  Apologies.  Closing.


Have you dropzone for vue1.0

Hey @zndxtdxy,
Rightnow component doesn’t support vue1.0. :frowning_face:   You can see this comment by owner.
Thanks


Default/rest arguments should be disallowed on functions containing "use strict" prologue

As per 14.1.2 Function Definitions - Static Semantics: Early Errors pointed out by @bterlson's tweet :smile:.
This should error:
function f(a = 10) {
    "use strict";
}

This should continue not to error:
export var foo = 10;

function f(a = 10) {
}

This should also continue not to error:
function container() {
    "use strict";

    function f(a = 10) {
    }
}

Note that this also applies to method definitions (both object literal and class kinds)!

What makes the first example an error?

OK, I read the tweet.
I don't think we can definitively say that any code is necessarily is not in strict mode. It could be bundled in to a single file that has a strict mode declaration at the top.
Also, if we downlevel the default, it doesn't matter if the code is in strict mode or not.

As per #25616, it sounds like this should also cover destructuring assignments. I'm not sure why though offhandedly.


Search and focus nodes

To find nodes easily, a search over all nodes, which allows to select and focus nodes, could enhance usability.

graph.focusItem centres view on Node, can't zoom in
graph.zoomTo set zoom level, no animation


Fix some simplification rules for floating-point arithmetic operations

Which issue does this PR close?
N/A
Rationale for this change
Similar to #7503.
Because of the presence of NaN, some simplification rules will no longer be applicable to floating-point types.
What changes are included in this PR?

Are these changes tested?
Yes
Are there any user-facing changes?
No

Thanks for the clarification @jonahgao


Lock the columns

Hello,
I would like to know if there is an attribute for the columns of a form to make sure that by scrolling the table you lock a certain column and remain visible.
Thanks!

That's called 'frozen columns'. It's not implemented in the main project, but I'd suggest googling around a bit, there are a few repos that have implemented this feature, JLynch in particular.
I'd like to implement it in my repo, but it would take a significant amount of time to integrate. May get around to it some day, but not for a few years, I reckon.

https://github.com/6pac/SlickGrid/issues/26


HDFS-15939.Solve the problem that DataXceiverServer#run() does not record SocketTimeout exception.

…cord SocketTimeout exception.
NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
14m 28s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
32m 56s

trunk passed

+1 :green_heart:
compile
1m 20s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
1m 16s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
0m 59s

trunk passed

+1 :green_heart:
mvnsite
1m 22s

trunk passed

+1 :green_heart:
javadoc
0m 54s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 27s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
3m  6s

trunk passed

+1 :green_heart:
shadedclient
16m 16s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  9s

the patch passed

+1 :green_heart:
compile
1m 12s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
1m 12s

the patch passed

+1 :green_heart:
compile
1m  8s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
1m  8s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 52s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 2 new + 10 unchanged - 0 fixed = 12 total (was 10)

+1 :green_heart:
mvnsite
1m 16s

the patch passed

+1 :green_heart:
javadoc
0m 44s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 16s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
3m  3s

the patch passed

+1 :green_heart:
shadedclient
4m 16s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
230m  2s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 40s

The patch does not generate ASF License warnings.

317m 42s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestBPOfferService

hadoop.hdfs.server.namenode.snapshot.TestNestedSnapshots

hadoop.hdfs.server.datanode.TestDirectoryScanner

hadoop.hdfs.server.datanode.TestBlockRecovery

hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2841

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 4ddb274b241b 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a569176522b3b15d60011a9caa9ee11aa77ac5e4

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/1/testReport/

Max. process+thread count
3105 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
30m 43s

trunk passed

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 14s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  0s

trunk passed

+1 :green_heart:
mvnsite
1m 24s

trunk passed

+1 :green_heart:
javadoc
0m 56s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 29s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  6s

trunk passed

+1 :green_heart:
shadedclient
16m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 12s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
0m 51s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 2 new + 6 unchanged - 0 fixed = 8 total (was 6)

+1 :green_heart:
mvnsite
1m 16s

the patch passed

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 19s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 10s

the patch passed

+1 :green_heart:
shadedclient
16m 14s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
228m 40s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 47s

The patch does not generate ASF License warnings.

312m 40s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestRollingUpgrade

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2841

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 552cb35d4755 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a569176522b3b15d60011a9caa9ee11aa77ac5e4

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/1/testReport/

Max. process+thread count
3079 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Sorry, I ignored this question for a while. I will continue to work.
@liuml07 , thanks for your comment.
I very much agree with your opinion, so I made two improvements:

Rename the ignored variable to ste;
When this exception occurs, close the peer; because this exception does not seem simple.
If there are other suggestions, please discuss them.
thank you very much.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m  5s

trunk passed

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 17s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
0m 59s

trunk passed

+1 :green_heart:
mvnsite
1m 26s

trunk passed

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 26s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  9s

trunk passed

+1 :green_heart:
shadedclient
16m 22s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 15s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 15s

the patch passed

+1 :green_heart:
compile
1m  7s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  7s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 50s

the patch passed

+1 :green_heart:
mvnsite
1m 15s

the patch passed

+1 :green_heart:
javadoc
0m 47s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 21s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
16m  0s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
233m 38s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 42s

The patch does not generate ASF License warnings.

317m 58s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2841

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux ab27bc0bdc27 4.15.0-151-generic #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / b0ed73569c97b4d7c225bdae5b1a1f3011fef08f

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/2/testReport/

Max. process+thread count
3529 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2841/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Missing option for step interpolation in Lines

Describe the bug
In old versions of bqplot it was possible to define lines with step interpolation (step-before or step-after). In the latest version (0.12.33) when setting interpolation as "step-before" or "step-after", no trace is shown. Looking at the source code, I can see that the options are still available in the interpolation Enum, so no error is thrown in the Jupyter notebook.
To Reproduce
Create a Figure containing a Line with the argument interpolation="step-before" or interpolation="step-after".
Expected behavior
A figure with traces drawn with step-wise interpolation.

@martinRenou I noticed the changes in my PR were not included in the latest releases. Is it possible to include it in the next release? I have a small project that relies bqplot and I need to either use the master branch or rely on version 0.11.9 where step interpolation is still working. It would be great to be able to use the latest releases.


configuring Azure Managed Instance options not available

The article describes 2x ways to change the value for max text repl size (B)
Neither of the 2 described methods are applicable for Aure Managed Instance, although the page reference appears to indicate it should.

Right click on the server in object explorer
For managed instance, no server level property options is available

Using SQL - the sp_configure option is not permitted for managed instance just now..

I think this means the option is unchangeble for managed instance scenarios, which in our case does present a problem.
I saw a response (below) that corroborates, but excluding the data columns is not a solution in our scenario:
https://docs.microsoft.com/en-us/answers/questions/853802/how-to-modify-34max-text-repl-size34-for-azure-sql.html
simon
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8c9f16f4-305a-b520-2728-e11a78a2cde8
Version Independent ID: 4f7828d5-802a-ceb7-67cc-83209a02db8e
Content: Configure the max text repl size Server Configuration Option - SQL Server
Content Source: docs/database-engine/configure-windows/configure-the-max-text-repl-size-server-configuration-option.md
Product: sql
Technology: configuration
GitHub Login: @rwestMSFT
Microsoft Alias: randolphwest

Apologies, issue applies to an elastic db instance, not Managed Instance.


add getComputePlanStatus

Closing in favor of https://github.com/SubstraFoundation/substra-chaincode/pull/53


Support inline header with multiple values semantics in AuthorizationPolicy.condition

(This is used to request new product features, please visit https://discuss.istio.io for questions on using Istio)
Describe the feature request
Does istio Authz supports matching among multiple values separated by commas of an inline header? (No according to my experiments on 1.12.6)
There is support for this inline multiple header values semantics from Envoy: https://github.com/envoyproxy/envoy/issues/13751
In our use case, we have a header key with multiple values separated by comma, and we want to use Istio AuthorizationPolicy.conditions to match if the wanted header value appears in the inline multi-values header.
For example the header is:
x-example: "v1,v2,v3"
We want it to be allowed by the rule:
rules:
    - when:
        - key: request.headers[x-example]
          values: ["v1"]

Is it possible? Is this the expected behavior?
Describe alternatives you've considered
This can also be supported if we can have string match in the authorization policy values, similar issue as https://github.com/istio/api/pull/2173
Affected product area (please put an X in all that apply)
[ ] Docs
[ ] Installation
[x] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[x] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

Hi @howardjohn, could you take a look? Since you were in the same discussion thread, do you have any updates on this issue? https://github.com/kubernetes-sigs/gateway-api/issues/213#issuecomment-888754154 I think we do need a way to support inline multi-value headers authz.

Currently, this is already causing an semantics inconsistency in Istio Authz,
See following examples:
Policy: ALLOW x-foo: bar
Request: curl -H "x-foo: bar" -H "x-foo: not-bar"

This request will be denied.
Policy: ALLOW x-foo: bar*
Request: curl -H "x-foo: bar" -H "x-foo: not-bar"

But this request will be allowed, because the header gets merged as x-foo:bar,not-bar

reopening issue.

reopen


scratch island app uses 19041 maxversiontested

https://github.com/microsoft/terminal/blob/c8f00df17023562e173fda0b9bdb13d3575a39ce/scratch/ScratchIslandApp/WindowExe/WindowExe.manifest#L9
this should be 18362 because... reasons

Ugh, thank you


IntelliSense for module paths does not find modules in current path if current folder contains capital letters in its name.

Issue Type: Bug
Create an empty project folder with following structure:
|-- fooAAA
|   `-- foo.js
|   `-- bar.js

when trying to require foo.js with
const foo = require("./foo");
the path in the require function does not trigger IntelliSense when the path starts with "." (the dot, as in current folder)
When changing the "fooAAA" to "fooaaa" it works fine.
The project sits on a case-sensitive mac (HFS+) drive. Just in case, that's what's causing the issue.
VS Code version: Code 1.60.2 (7f6ab5485bbc008386c4386d08766667e155244e, 2021-09-22T11:59:08.826Z)
OS version: Darwin arm64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
8.00GB (0.11GB free)

Process Argv
--crash-reporter-id 67d65d84-87b5-4f20-93a5-352da0d3a7ea

Screen Reader
no

VM
0%

Extensions (26)

Extension
Author (truncated)
Version

TabOut
alb
0.2.1

spellright
ban
3.0.60

ibmi-languages
bar
0.5.9

markdown-preview-github-styles
bie
0.2.0

better-toml
bun
0.3.2

npm-intellisense
chr
1.4.0

bracket-pair-colorizer-2
Coe
0.2.1

vscode-eslint
dba
2.1.25

githistory
don
0.6.18

gitlens
eam
11.6.0

vscode-npm-script
eg2
0.3.22

prettier-vscode
esb
9.0.0

vscode-firefox-debug
fir
2.9.4

mayukaithemevsc
Gul
3.0.1

vscode-sshfs
Kel
1.22.0

rainbow-csv
mec
1.9.1

git-graph
mhu
1.30.0

debugger-for-chrome
msj
4.13.0

vetur
oct
0.34.1

LiveServer
rit
5.6.1

bash-debug
rog
0.3.9

rust
rus
0.7.8

svelte-vscode
sve
105.4.0

vscode-status-bar-format-toggle
tom
2.0.0

pdf
tom
1.1.0

vscode-icons
vsc
11.6.0

(5 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
vsccppwt:30364497
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt2:30371810
dockerwalkthrucf:30370837
bridge0723:30353136
pythonrunftest32:30365366
pythonf5test824cf:30361778
javagetstartedc:30364665
pythonvspyt187:30365361
pydsgst2:30361792
vssid140:30363603
vssur157:30367808

@mjbvz
Yes. I was able to reproduce this on the latest VS Code Insiders build with extensions turned off:

I also commented out all of my user settings, just to make sure it's not some weird setting causing the issue.

Ah actually I can hit this now if I'm on a case-insensitive main drive but then open a folder on a case-sensitive drive (APFS vs HFS doesn't seem to matter)
Here's the code that likely causes the issue if someone wants to investigate:
https://github.com/microsoft/vscode/blob/1f3f12bc5173123a51bbbef5fd996e29a9aa63c8/extensions/typescript-language-features/src/utils/fileSystem.electron.ts#L18

@mjbvz Hi! Has this issue been resolved yet? I am trying to contribute to a GitHub project for the first time and this seems like a good first issue. Let me know, thanks!

@hannahcoles the issue is still open. I am currently running this version of VS Code:
Version: 1.67.2
Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
Date: 2022-05-17T18:20:04.972Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.5.0

and can still reproduce the problem.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Fixes #13 - Added Error Handling for Vehicle Addition

Closes #13

In this PR, I addressed issue #13 by enhancing the vehicle addition process. Here are the key changes:
Error Handling:  Added error handling for the addVehicle function. Now, if any issues occur during the addition of a vehicle, it will throw an error and display an error to the user.
Documentation: I've also included some additional documentation. This might be helpful for beginners.
UI Improvement: I removed the background of the "Sign up with Apple"  button to improve the overall user interface.

I believe all the issues have been addressed and resolved in this PR.

I've applied the same approach as in #74, and now the add vehicle view pushes onto the navigation stack. The alert should appear as expected.


fixing poller seg_faults and deadlock, by KiSuh

What problem are you trying to solve with this patch?
On Wed, Dec 9, 2015 at 11:40 AM, Han Wang<EMAIL_ADDRESS>wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/cambridgehackers/connectal/pull/103
Commit Summary

fixing poller seg_faults and deadlock, by KiSuh

File Changes

M cpp/poller.cpp
https://github.com/cambridgehackers/connectal/pull/103/files#diff-0
(23)
M cpp/portal.h
https://github.com/cambridgehackers/connectal/pull/103/files#diff-1
(1)

Patch Links:

https://github.com/cambridgehackers/connectal/pull/103.patch
https://github.com/cambridgehackers/connectal/pull/103.diff

—
Reply to this email directly or view it on GitHub
https://github.com/cambridgehackers/connectal/pull/103.

@kslee

Thanks for contributing a fix.
However, I think we can do something simpler by preallocating the fds array to a configurable size. For example, we only support 16 hardware portals, so we could just preallocate it to that size. Plus 1, for the pipe that is used to wake up poll. I tested this style with DMAC but I guess I wasn't confident enough to push it to connectal.


Sharing Parameters between BucketingModules

Description
I am trying to share parameters between two BucketingModules. More specifically, my requirements are:

I have different sources of data, that are read by different data iterators
I have several instances of BucketingModule. The modules have some parameters in common, and they should share them. I.e. the parameter arrays should essentially be identical.
On top of that, the modules have other parameters that they do not share.

What is your recommendation? How should I set up those modules?
Things I've tried

I tried defining a master module and then, while binding a second module, use the shared_module attribute:

https://mxnet.incubator.apache.org/api/python/module/module.html?highlight=bucketing#mxnet.module.BucketingModule.bind
Unfortunately, this is not available for BucketingModule. (Why?)

It's possible to get and set params between modules to sync some of their parameters after each update. Here is a working example:

https://gist.github.com/bricksdont/3dc6213482c38526decacf2a54b7f8b6
But the downside is obviously that it slows down training.
Environment info (Required)
$ python diagnose.py
----------Python Info----------
('Version      :', '2.7.14')
('Compiler     :', 'GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)')
('Build        :', ('default', 'Oct  5 2017 02:28:52'))
('Arch         :', ('64bit', ''))
------------Pip Info-----------
('Version      :', '9.0.1')
('Directory    :', '/Users/mathiasmuller/miniconda2/lib/python2.7/site-packages/pip')
----------MXNet Info-----------
/Users/mathiasmuller/miniconda2/lib/python2.7/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters
/Users/mathiasmuller/miniconda2/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:46: DeprecationWarning: OpenSSL.rand is deprecated - you should use os.urandom instead
  import OpenSSL.SSL
('Version      :', '1.0.0')
('Directory    :', '/Users/mathiasmuller/miniconda2/lib/python2.7/site-packages/mxnet')
('Commit Hash   :', '9ef196909ec7bf9cdda66d5b97c92793109798e1')
----------System Info----------
('Platform     :', 'Darwin-16.4.0-x86_64-i386-64bit')
('system       :', 'Darwin')
('node         :', 'dhcp-wlan-uzh-10-12-89-199.uzh.ch')
('release      :', '16.4.0')
('version      :', 'Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64')
----------Hardware Info----------
('machine      :', 'x86_64')
('processor    :', 'i386')
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI
machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 BMI2 INVPCID SMAP RDSEED ADX IPT FPU_CSDS
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
machdep.cpu.brand_string: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0053 sec, LOAD: 0.9015 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0222 sec, LOAD: 0.6658 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0220 sec, LOAD: 0.9553 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0020 sec, LOAD: 0.1104 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0199 sec, LOAD: 0.0656 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.9416 sec, LOAD: 0.0611 sec.

I'm using the Python package.

It seems that other people are having the very same problem: https://discuss.mxnet.io/t/sharing-parameters-between-two-modules-through-arg-dict/1046.

You can hack module by yourself.

Could you please elaborate on that? I assume you mean deriving a new class from BucketingModule, but what exactly do you recommend to do?

@chinakook Excuse me, I do not see how this solves my problem; BucketingModule does not have an argument shared_module. Binding the mod module only to rebind it later does not make much sense to me. And why exactly new_sym as the _symbol? As I understand, _symbol changes if the current bucket changes in a BucketingModule.

@sandeep-krishnamurthy  Could you please label it as question


feat: add sponsor section

Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[x] Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your default branch!
[x] Make sure you are making a pull request against the default branch (left side). Also you should start your branch off default branch.
[x] Check the commit's or even all commits' message styles matches our requested structure.
[x] Check your code additions will fail neither code linting checks nor unit test.
[x] I have added necessary documentation (if appropriate)

Description
Please describe your pull request.
❤Thank you!
Post merge checklist

[ ] Follow steps from the guidelines for contributing to this repository.
[ ] If you are a new contributor, ping in the thread and one of the maintainers will add you to all-contributors list.

@CIPHERTron Reloading the page on a slow connection is distorting the design paint. Try to find a fix

@abhibhaw I think this happens because Nextjs fetches the styles after rendering the page
https://dev.to/rsanchezp/next-js-and-styled-components-style-loading-issue-3i68
I'm not sure but this might be the solution to our problem. Let me look into it!

This should work or maybe we need a preloader?

@CIPHERTron Reloading the page on a slow connection is distorting the design paint. Try to find a fix

@abhibhaw I think this happens because Nextjs fetches the styles after rendering the page
https://dev.to/rsanchezp/next-js-and-styled-components-style-loading-issue-3i68
I'm not sure but this might be the solution to our problem. Let me look into it!

This should work or maybe we need a preloader?

@CIPHERTron Reloading the page on a slow connection is distorting the design paint. Try to find a fix

@abhibhaw I think this happens because Nextjs fetches the styles after rendering the page
https://dev.to/rsanchezp/next-js-and-styled-components-style-loading-issue-3i68
I'm not sure but this might be the solution to our problem. Let me look into it!

We are going to need a preloader :')

This should work or maybe we need a preloader?

@CIPHERTron Reloading the page on a slow connection is distorting the design paint. Try to find a fix

@abhibhaw I think this happens because Nextjs fetches the styles after rendering the page
https://dev.to/rsanchezp/next-js-and-styled-components-style-loading-issue-3i68
I'm not sure but this might be the solution to our problem. Let me look into it!

We are going to need a preloader :')

Technically speaking a preloader is nothing but again css. You will be using css preloader waiting for css to load. Also I'm using a similar setup of gatsby and styled components on my website, there isn't this issue, might be something with tailwind. Need to check that again, otherwise a preloader might not help

This should work or maybe we need a preloader?

@CIPHERTron Reloading the page on a slow connection is distorting the design paint. Try to find a fix

@abhibhaw I think this happens because Nextjs fetches the styles after rendering the page
https://dev.to/rsanchezp/next-js-and-styled-components-style-loading-issue-3i68
I'm not sure but this might be the solution to our problem. Let me look into it!

We are going to need a preloader :')

Technically speaking a preloader is nothing but again css. You will be using css preloader waiting for css to load. Also I'm using a similar setup of gatsby and styled components on my website, there isn't this issue, might be something with tailwind. Need to check that again, otherwise a preloader might not help

🥲🥲🥲

Heyy @ratnakar5938 , is the mapping done?

Heyy @ratnakar5938 , is the mapping done?

Also, @ratnakar5938, the grid view is not applied. Kindly check that once.
Logos are overlapping in md, sm & xs views.
Fix that and commit the changes again!

Also, @ratnakar5938, the grid view is not applied. Kindly check that once.
Logos are overlapping in md, sm & xs views.
Fix that and commit the changes again!

Please check now bhaiya i have fixed that issue

@ratnakar5938 Looks all good, one small change, instead of 3 in a row in mobile view, can you make it 2 in a row for mobile view?

Good work @ratnakar5938
One last thing. Pull upstream main to this i.e ratnakar-2 branch of yours locally, resolve the conflicts and commit the changes.

@riteshsp2000 squash krna tha 😆

Naa bhai squash kyun? Bichare ka pura commits chala jata 🥲

Naa bhai squash kyun? Bichare ka pura commits chala jata 🥲

So kind XD

@all-contributors add @ratnakar5938 for Code

Naa bhai squash kyun? Bichare ka pura commits chala jata 🥲

ahh the squash pain 🗡


run Gratipay 142

141

Reviewed 29 (23) accounts.

Droplet spun up and updated.

Backup taken and verified.

Script started.

Script ran for 15 minutes (0:15:02.224045).

Masspay done and posted back for 86 users.

Logs uploaded in https://github.com/gratipay/logs/commit/b7c10a93750e6ebf80905dd940ea85d9ca006c3f.

Pinned https://twitter.com/Gratipay/status/568467525916336128.

Escrow shuffled, btw.

Aaaan droplet destroyed. :blush:


Netty Proxy server doesn't seem to be running/accepting connections for testProxy tests.

Hi @ganskef ,
Referring to this branch : https://github.com/ganskef/LittleProxy-mitm/tree/netty_proxy_client
I'm trying to figure out how to help you solve the MITM + chain proxy issue, and I noticed that the proxy server running on port 9090 does not seem to be running (I setup firefox and curl to route through it, while debugging the tests, and i get connection refused on them as well).
I'm going to debug further, maybe disable the tests, package the jar and see if i can implement this functionality (I'm not too amazing with Junit yet.)
I'd like to get talk with you a bit. I'm a native english speaker but I also took a few semesters of german.

I've tried to describe the issue here. Please, try following:

Start a proxy with port 9090, like mitmproxy mitmproxy -p 9090. All tests will succeed.
Quit mitmproxy and start the LittleProxy-mitm Launcher. Three tests in ProxyClientNettyTest will fail while using a netty client - but, the same tests in ProxyClientUrlTest extends ProxyClientNettyTest are passed with a URLConnection based client.
What's wrong with this picture? :-/

We can close this issue.. I think it was a red herring. Specially if you can't reproduce it.

I think, you've closed the wrong issue, you do?

@ganskef you were right, sorry. also forget the details of this.


Thread affinity on Linux locks execution on single core

With this code
       // Set the properties for the current thread
	// on linux this locks code to single core
	SetCurrentThreadAffinity(0);

	m_threads[0] = GetCurrentThread();

execution on linux locks on single core despite count of cores in config. It can be fixed with deletion of affinity, or with adding it to each thread creation.
FTL_THREAD_FUNC_RETURN_TYPE TaskScheduler::ThreadStartFunc(void *const arg) {
	auto *const threadArgs = reinterpret_cast<ThreadStartArgs *>(arg);
	TaskScheduler *taskScheduler = threadArgs->Scheduler;
	unsigned const index = threadArgs->ThreadIndex;

	SetCurrentThreadAffinity(index); // <=================  here

	// Clean up
	delete threadArgs;

	// Spin wait until everything is initialized
	while (!taskScheduler->m_initialized.load(std::memory_order_acquire)) {
		// Spin
		FTL_PAUSE();
	}

with a per thread affinity it beautifully utilize cores and performance increase unlike the unattached threads

Nice find!


"saffire server" for internal webserver

https://github.com/davidmoreno/onion

+1 excellent idea

I'm actually trying to see if we can do this in Saffire itself. I'm modelling a (very simple) webserver in PHP at the moment, to see what we need and are still missing in Saffire itself (for instance, we do not have any socket libraries, but it's easy enough to build some initial ones).
This also would mean that we probably need to do issue #213, where we can easily add such features easily. I'm still thinking about such a system, so any idea's are always welcome!

Well, something really simple as PHP dev server itself happens to be, should be enough for sure. Only annoyance I know from PHP's dev server is that it by default routes everything thru the given router, not checking existing files. Other than that, it's +/- feature complete.

@Addvilz I've created a (simple) test server in PHP to see what we are missing. Turns out, not too much, and it might be possible to create these extensions (albeit temporarily) in order to get a complete webserver hosting Saffire written in Saffire (hurrah!)..
The POC is found on: https://github.com/jaytaph/webserver  and not really a lot besides socket-handling and some small datetime stuff is needed.

Current status:

[X] Created POC of webserver in PHP
[X] Converting webserver to Saffire
[ ] Writing additional modules (like socket handling) in Saffire

The only thing it really needs (to be a crude webserver), is to allow execution of saffire code. Since we are running in external code, maybe some way could be by creating an exec (proc_open) call that calls a saffire script and redirects I/O?


The play button does not attach & source debugger

may be a regression per pavel.
normal setting of bkpoint, attaching & sourcing works and bkpoints are hit
1.0 candidate, VS2015

To be more specific, the Start Debugging button was behaving as if there is no active project, or the project is not runnable. Even though there is a project with a startup file etc.

Can't repro this on Dev15.

Can you share the project file (just post the contents as a comment, it should be short)? Does it come from some older (esp. particularly older) version of RTVS?
I can't repro it on new projects. But for Start Debugging to light up, the project file (.rxproj) needs to have certain things in it. If it's a project from before the time where we first added this feature, it won't have the requisite stuff in it.

@smortaz ping.

yes, it's definitely an older project.
sadly i dont know which was as i have 84.
On Tue, Jan 31, 2017 at 12:45 PM, Pavel Minaev<EMAIL_ADDRESS>wrote:

@smortaz https://github.com/smortaz ping.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/RTVS/issues/3067#issuecomment-276486604,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtUVDs6fn4ogUBYZfLToFj-LaKQpSVAks5rX512gaJpZM4LvKvQ
.

Then it's almost certainly for the reason described above. If you hit it again, ping me and I can double-check for that project.

thumbs up.
On Tue, Jan 31, 2017 at 12:54 PM, Pavel Minaev<EMAIL_ADDRESS>wrote:

Closed #3067 https://github.com/Microsoft/RTVS/issues/3067.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/RTVS/issues/3067#event-943774576, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAtUVCztqaXzIIV2eROFJgnWOzIehxVxks5rX5-KgaJpZM4LvKvQ
.


Datepicker date format to allow DD MMM YY

Can we have the option to display dates in DD MMM YY (or YYYY) please.
So 20 Mar 19 for example

Thanks, what is the use case here? We depend upon the locale and browser defaults for setting these formats, so this is a non-trival change to make it work properly.

hey there, thanks for getting back.  I've got an international currency trading app I'm building and I'd like to be as clear as possible with the date between North America and Europe.

20 Mar 2019 would be fine btw

This is a duplicate of #2056 closing in favor of it.


🐛 [BUG]: Component emitted event "x" but it is neither declared in the emits option nor as an "x" prop.

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
A Vue warning is printed to the console for every emitted event that is not defined.
Expected Behavior
No warnings should be printed to the console.
Steps To Reproduce
I believe it is environment/config independent. Simply moving the mouse or clicking within the VueFlow viewport should print a Vue warning.
It can be easily replicated in any live editor that displays warnings:

Relevant log output
No response
Anything else?
May be related to #1585?

@bcakmakoglu
Reasons
Possible reasons: Union types such as EdgeMouseEvents cannot obtain the actual event name when the defineEmits macro function is processed in the vue compiler. emits in the vue component object in the end product bundler will not contain the event names defined in the EdgeMouseEvents type
Example
export type EdgeMouseEvents =
  | 'edgeContextMenu'
  | 'edgeMouseEnter'
  | 'edgeMouseMove'
  | 'edgeMouseLeave'
  | 'edgeDoubleClick'
  | 'edgeClick'
  | 'edgeUpdateStart'
  | 'edgeUpdateEnd'

interface FlowEmits {
  (event: 'init', paneEvent: VueFlowStore): void
  (event: EdgeMouseEvents, edgeMouseEvent: EdgeMouseEvent): void
}

// VueFlow.vue
const emit = defineEmits<FlowEmits>()

// VueFlow.mjs
const __default__$1 = {
  name: "VueFlow",
  compatConfig: { MODE: 3 }
};
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
...__default__$1,
props: {},
emits: ['init'],
...
})

@bcakmakoglu
Do you want to consider merging certain events? Not only avoids the complexity limit of TS, but also solves the problem this time.
It's just an idea of mine

Do you want to consider merging certain events?

No, that would be a breaking change so it's not an option.

Union types such as EdgeMouseEvents cannot obtain the actual event name when the defineEmits macro function is processed in the vue compiler. emits in the vue component object in the end product bundler will not contain the event names defined in the EdgeMouseEvents type

Looking into the types that are generated the events do all seem to be listed which is why this warning is strange 🤔
Will see what can be done about this.

Should be fixed in the next patch.
Seems like isolating the event names as separate union types doesn't work for whatever reason while inlining the union of event names does work without throwing warnings and preserving auto-completion support, even though the type defs output looks more or less the same to me 🤷♂

Should be fixed with 1.40.1


Xcode 6.3 Compatibility

Updates the bundled Cedar Xcode Plugin's DVTPlugInCompatibilityUUID list and disables some specs which fail to compile with the latest toolchain due to increased strictness.  More work is needed in order to continue to support expect(667) >= 666;

Thanks @akitchen!


l-tag is not working

The following is about the verification process.
Even if the l-tag is specified in the AMS header in sealing process, validation according to the l-tag content is not performed, and the result is fail.
When sealing the ARC, we set l=16, then added a character to the 17th character of the message body and sent the email.
The verification on the receiving side resulted in a fail.
For reference, when I performed the verification using Perl's Mail::DKIM::ARC::Verifier library, the result passed as expected.

https://github.com/flowerysong/OpenARC/pull/20 might fix this, but I haven't actually come up with a way to test it yet so it also might not.


site-maven-plugin fails with "API Rate Limit Exceeded" when project is large

Hi,
when I try to create a site of a project  https://github.com/jprante/elasticsearch  with large javadocs, it fails badly.
The first tries produced 403 errors after long runs (15 minutes estimated):
Failed to execute goal com.github.github:site-maven-plugin:0.6:site (default) on project elasticsearch: Error creating blob: forbidden (403)
Okay, that confused me a bit, but I assume it failed because of too many blobs. So I reduced from >10,000 javadoc files down to ~7,000 by dropping test-javadocs.
My last try resulted in an API rate limit exceeded.
[INFO] --- site-maven-plugin:0.6:site (default) @ elasticsearch ---
[INFO] Creating 6,848 blobs
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:28.961s
[INFO] Finished at: Tue May 15 01:11:26 CEST 2012
[INFO] Final Memory: 38M/523M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.6:site (default) on project elasticsearch: Error creating blob: API Rate Limit Exceeded for jprante (403) -> [Help 1]

DryRun works without problems.
How can I succeed (without breaking down the project into smaller pieces)?
Or, related question, what is the maximum number of blobs that can be created with github site maven plugin at once? Is it possible to batch / compress blobs?
Thank you for your time and help,
Jörg

+1 same here

+1 same here too


ARROW-10656: [Rust] Allow leaner schema validation on new batch

This adds the option to create a new record batch with less strict validation for list field names.
The default behaviour is preserved.

Hi @ch-sc , please have a look at the approach that I've taken, and let me know if it meets your use-case.
If you're happy with the PR, I can then document the new functions, and add unit tests, then get it reviewed.
Thanks

Codecov Report

Merging #8988 (883f735) into master (4c48539) will decrease coverage by 0.49%.
The diff coverage is 48.23%.

@@            Coverage Diff             @@
##           master    #8988      +/-   ##
==========================================
- Coverage   83.09%   82.60%   -0.50%
==========================================
  Files         200      200
  Lines       49076    49714     +638
==========================================
+ Hits        40782    41065     +283
- Misses       8294     8649     +355

Impacted Files
Coverage Δ

rust/arrow-flight/src/utils.rs
0.00% <0.00%> (ø)

rust/arrow/src/datatypes.rs
75.02% <0.00%> (-1.43%)
:arrow_down:

rust/arrow/src/ipc/gen/SparseTensor.rs
0.00% <0.00%> (ø)

rust/arrow/src/ipc/gen/Tensor.rs
0.00% <0.00%> (ø)

rust/arrow/src/ipc/convert.rs
91.90% <27.27%> (-1.11%)
:arrow_down:

rust/arrow/src/record_batch.rs
76.06% <38.23%> (-12.23%)
:arrow_down:

rust/arrow/src/ipc/gen/File.rs
40.94% <39.28%> (-2.20%)
:arrow_down:

rust/parquet/src/arrow/schema.rs
90.62% <40.00%> (-0.44%)
:arrow_down:

rust/arrow/src/ipc/gen/Message.rs
32.03% <42.10%> (+2.21%)
:arrow_up:

rust/arrow/src/ipc/reader.rs
82.86% <50.00%> (-0.84%)
:arrow_down:

... and 4 more

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 a2e7d3a...883f735. Read the comment docs.

Looks good to me @nevi-me. Thank you!

The full set of Rust CI tests did not run on this PR :(
Can you please rebase this PR against apache/master to pick up the changes in https://github.com/apache/arrow/pull/9056 so that they do?
I apologize for the inconvenience.

Done rebasing @alamb

Done rebasing @alamb


Unable to resolve peer dependency tree with react@18

Hi Tiago! How are you? I just found your module and it looks amazing 😍  the only problem I'm having is while installing it on a project using React 18, the peer dependency tree won't resolve correctly:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-hide-on-mouse-stop
npm ERR!   react-hide-on-mouse-stop@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I never worked with peerDependencies to be honest and I don't know what's the proper way to handle this situation without requiring people to use React 18.
https://github.com/tiagomotasantos/react-hide-on-mouse-stop/blob/609fa95c4141c90a96197f31a42cfbda8dcfb7c0/package.json#L36-L38

Hi Tiago! How are you? I just found your module and it looks amazing 😍 the only problem I'm having is while installing it on a project using React 18, the peer dependency tree won't resolve correctly:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/react-hide-on-mouse-stop
npm ERR!   react-hide-on-mouse-stop@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

I never worked with peerDependencies to be honest and I don't know what's the proper way to handle this situation without requiring people to use React 18.
https://github.com/tiagomotasantos/react-hide-on-mouse-stop/blob/609fa95c4141c90a96197f31a42cfbda8dcfb7c0/package.json#L36-L38

Hi @filipedeschamps, you can solve the problem adding --legacy-peer-deps flag (as showed in the error log), but at the end you are declaring that you accept risks due the version incompatibility - that's a way to pass the installation process with success, if you consider bypass as success.
Another way is (you or someone else) test with 18+ version and submit a PR to update the project dependencies compatibility.
I don't know how much you know about peerDependencies, but it says that the plugin only works with that specific version, that's why you are getting an error with a version that is not 17.X - if you wanna know more about it you can read this article: https://nodejs.org/es/blog/npm/peer-dependencies/
Hope this helps!


Add a "Code of conduct" and "CONTRIBUTING.md"

For Code of Conduct refer: https://help.github.com/articles/adding-a-code-of-conduct-to-your-project/
For CONTRIBUTING.md refer: https://help.github.com/articles/setting-guidelines-for-repository-contributors/
Sample Refer: https://github.com/atom/atom/blob/master/CONTRIBUTING.md

hey - I´m on it :)

That was great @codingCookie .


Destructured parameters

Currently when using destructuring directly on a parameter, something like this:

The extension creates an annotation like this:

This isn't really helpful, maybe we could just not emit any annotation on destructured parameters.

Duplicate of #14


improve uclid example

I noticed the left column doesn't have step values.  Not sure if this was intentional but I think it makes a better demonstration with the step values in both columns.

Good idea! Thanks :)


[Debugger]: Show recorded register values for non-current stack frames

Is your feature request related to a problem? Please describe.
Not really a problem, just something I noticed and thought it could be improved: register values for non-current stack frames are shown as 0 instead of what they were before the CALL.
Describe the solution you'd like
It would be nice for register values to be shown in the "Registers" component for non-current stack frames selected in the "Stack" component.

Looking into this today - want to make sure I understand what we're currently doing so I can say something coherent.  :)

So, an interesting idea....  A couple of pieces to consider:  the Register Viewer, like most of the viewers except the Objects Viewer, is intended to reflect the values at the currently selected snap for the currently selected thread.  Adding a dependence on the selected stack frame adds a third variable.  At a minimum, we'd have to make it very clear in the Viewer what was going on.  Also, we'd definitely have to make sure that selecting a frame adjusted the current thread in the thread viewer.
The trickier issue is whether we really want to pull all the register values for all the frames for all the threads whenever the execution stops.  That's relatively expensive.  In the gdb case, we capture all the registers for the current frame, if I remember correctly.  The Object Viewer display per-frame register trees under each frame node.  We could do this for Windows (if I can remember how the GetContextStackTrace API works).  My initial inclination would be to do this on demand, although we could also mirror the gdb approach.
The really really tricky question would be, assuming you wanted the Register viewer to respond to thread, snap, and frame, what would you want the snap for each frame to be.  Would you want to pull all the values on each stop and mark them / record them with that snap?  Would you want to record them only on the snap corresponding to the call? What if the target never stopped on that call?
Anyway, some things to think about.

(Actually, hmmm, guess it would be GetValue2 vs GetContextStackTrace)

@chezwicker  Apologies for jumping in here given your question was addressed to @nsadeveloper789 , but...
You can actually do what you're describing - well almost.  Intel processors have support for step-by-branch, and you can set-up handlers to automatically record state and resume.  In fact, Intel has circular buffers that will do all that for you - and you really really want the processor to do that for you because the back-and-forth between the target and the debugger is way too expensive to do anything sizeable.  So, what you really want is a debugger that supports tracing.
Have you looked at Windbg Preview by any chance?  It does pretty much all this and more, at least for user-mode processes.  And, if you want to interact with Ghidra, we support that too using the dbgmodel (vs dbgeng) interfaces.  You can also record traces in Windbg independently and load them into Ghidra in various ways.  Let us know if you want to try this out - we can certainly give you some tips for the Ghidra piece.
I should caveat this with the fact that Microsoft has just release da new version, and we're having a little difficulty getting the integration right with it.  Yell, and I can point you to a version that works.  In the gdb space, at some point we hope to support RR but really haven't started working on that bit yet.

@d-millar : oh, I'm so sorry, I didn't mean to cut you out!
I'm unfortunately spread pretty thinly at the moment, so I might not get to look into this before June (optimistically) depending on the effort required. Would you be able to give me an indication of what kind of effort would be involved in making this happen?
Thank you!
P.S. I realize I'm opening all these issues so it's totally reasonable to expect me to spend more time on this - I'm sorry I can't!

No worries - I certainly understand.  So the basic outline is this:
(1) Download Windbg Preview (typically done through the Microsoft Store)
(2) Copy the contents of the amd64 directory from the install directory (C:\Program Files\WindowsApps\Microsoft.Windbg.very_long_name\bin\amd64 to the bin directory in your JDK install
(3) Run either the GADP or IN-VM dbgmodel versions of the Ghidra debugger rather than dbgeng
The tricky bits are for (1) you may not want the latest version until we figure out how to link it, and I'm not sure where the best place to download older versions from is, and for (2) that directory is hidden so best to get it via the command line.  Everything else depends on what you want to do.
No rush in any case - we plan to be around and with luck the interface will get better not worse.  :)


cmd/{dist, ctr}: cleanup flushing and alignment

Signed-off-by: Stephen J Day<EMAIL_ADDRESS>

LGTM

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1024   +/-   ##
=======================================
  Coverage   59.28%   59.28%
=======================================
  Files           5        5
  Lines         781      781
=======================================
  Hits          463      463
  Misses        204      204
  Partials      114      114

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 4f20689...5d13f80. Read the comment docs.

LGTM

LGTM


Add @Nullable to ChipDeviceController and ChipClusters

Problem
We can't use androidx.annotation.Nullable, since we have no dependency for it in java/BUILD.
Proposed Solution
Not sure here yet - may have to pull AndroidX into third_party, and then write a BUILD.gn file there.

Nullable annotation is usable through third_party/android_deps, and is used where it matters in the clusters code.


Build Optimizations

This PR improves our Dockerfile and CI flow

[x] separates downloading the dependencies
[x] mounts the various go cache directories
[x] adds a BUILD_TAGS arg which allows us to get rid of .testnet copy pastes of both the Dockerfile and GH actions
[x] adds a BUILD_METADATA build arg which allows skipping the build metadata (useful for local developement)
[x] sets some flags that should make the resulting binary smaller

The following output shows that the images are receiving the proper build tags.
NOTE: this adds mainnet to the image names... I think that's fine but it is kind of unfortunate
➜  docker run --pull=always ghcr.io/siafoundation/renterd:pj-build-optimisations-testnet
renterd v0.4.0-beta
Network Zen Testnet

➜  docker run --pull=always ghcr.io/siafoundation/renterd:pj-build-optimisations-mainnet
renterd v0.4.0-beta
Network Mainnet

It brings down my local build time from ~400s to ~40s and if I skip building the metadata it's almost instant at ~4s :fire:.

@n8maninger tagged you as a reviewer because you're the GH actions 👑 - if approved you could make the same changes to hostd


Script Data Editor

Expected Behavior
Allows player to write the data portion of a script in a convenient interface. The interface will change based upon which script is being edited.
Category of Issue
Improvement

As of now, 4 script types remain.

As of now, one script type remains.

Added the last type of script!


Add test to validate loaded assemblies and libraries on startup

PR Summary
Assemblies  loaded on startup impact startup time.  Sometimes we merge a commit that uses a new type that adds loading a new assembly on startup.  We need to catch these and decide if it's worth the impact or delay loading when possible.  There's some in this list that appear like they can be delay loaded.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[ ] Not Applicable or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

seems that 'System.Collections.Immutable.dll' is still being loaded on startup

'System.Security.Cryptography.Algorithms.dll' also is still being loaded

'System.Security.Permissions.dll' is also being loaded on Windows

Add-Type is the only place where immutable type is used. However, immutable.dll is loaded at startup even on my local Linux machine. There should be a dependency to it from .NET Core on Unix platforms.
For System.Security.Cryptography.Algorithms.dll and System.Security.Permissions.dll on Windows, I don't get them loaded locally. Let me take a look at what the CI does.

@SteveL-MSFT The additional loaded assemblies are resulted by the profile optimization configured in powershell. The file StartupProfileData-NonInteractive records assemblies that are potentially used right after powershell starts. With this file being available, powershell will eagerly load those assemblies using multiple CPU cores, even though some assemblies are not really needed for the current use case.
I updated the tests, and also made a change to correct the folder to store the 'StartupProfileData' files.
For convenience, I will just close this PR and submit a new one.


OutOfTimeError when dt < 0

I have run into a problem where Parcels is returning a OutOfTimeError when a negative time step is used. It is possible that this error is related to the error described in #1069 (I discovered this error whilst trying to get to the bottom of #1069) but I am not yet sure. I have created a self-contained test case that shows this behaviour in this repository. The script (Seychelles_backtrack_diagnosis.py) runs fine when sim_dt (line 49) is positve, but fails to run when sim_dt is negative. The error message claims that the field was sampled outside of the time domain at the time point where particles are initialised, but this is incorrect since pset.show(field=fieldset.U, show_time = ...) evaluated at that time point returns the correct field, and initialising particles at that time point with positive sim_dt runs with no problems. Additionally, this error does not appear when using only the CMEMS WAVERYS (Stokes) product, it only appears with the CMEMS GLORYS12V1 product.
This is confusing me greatly since this error also appears to be inconsistent as in some cases, backtracking does work but then results in the error described in #1069 at a random point further down the line. But for now, here is a self-contained test case that reproduces the above error so if anybody has any insight as to what is going on, that would be marvelous.

Thanks @erikvansebille, this indeed fixes the issue!


ParserException in JSON.php line 30: Failed To Parse JSON

hi,
we are using nathanmac and first time getting this kind of error and it is showing error in parser.php. tell me the reason for this.
thanks in advance.

and i am getting message like
JSON->parse('  503 Service Temporarily Unavailable  Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 503 Service Temporarily Unavailable error was encountered while trying to use an ErrorDocument to handle the request.

hi,
issue has been resolved, another internal server has been not working initially, now it is working fine

Can't parse HTML as JSON, no. 😄
If your issue is resolved, you might consider closing the issue.


fixed layout of cards on landing page, happy birthday as well

Fixes #1
I tried, but had so many weird issues, couldn't open the project locally 😔, but see if this works!

If it isn't tested it doesnt get merged :(
please test, post screnshots


Finalize mocks

Starting with Grace, then me, and now Vickie, we've iterated on user flows and wireframes for a bit.
Most of this back and forth on the Slack channel.
Would like to finalize some aspects of what we have and chat IRL so we can comfortably start coding it out.

Think we got to a good place with discussing mocks. I have photos of the hand drawn sketches. @VictoriaODell, were you going to do anything further with those?
Also linking to the Duolingo inspired wireframes.
https://wireframe.cc/pro/pp/005cefd3a49876

Yo!
I sketched out the ideas a bit more and took some more notes the other night. Just trying to understand the flow a little better. I'd like to digitize them. The page I'm struggling a bit on is the report page. While users can go back and change their answers we still need to show some hierarchy. The constant menu we thought of suggests more lateral movement than rather than getting from point A-B and I think that's what makes the reports page a little weird.
Also, I think on the "Drill down" pages we should ger rid of the constant menu we decided on and replace it with one main "call to action" like "done","submit", still spinning on that( and the menu in general). I want the user to know that once they finish this section they can always come back and change their answer. The reason to break away from the constant menu on this page is because it is more focused/task-oriented? than the other pages and it's a UI pattern that seems common.
Language for the content is still something I'm thinking a lot about.
Also idk why the photos came out sideways. click on them and they are the right side up.
Hope that made some sort of sense~ If not maybe a Google hangout or call.

I

Ok! I think I got it figured out.
I'm working on making some nicer digital mocks. We could use some copy help.
I have an idea of the text we put in the mocks but just generally.

HacktheBudget.pdf
Sketch Wireframes.
The color blue 🔵  = an interactive element.
Overall could use a lot of copy help.
Page 1 / Home Page

Button links to Services page where people would begin
Link under button links to an about page
Blurb under title could use some copy love

Page 2 / Services Page

Top menu is persistent and adjusts as they adjust service spending and revenue
Top menu should start with current or default $. Zeros are just placeholders
Blurb under title needs some copy love
Blue circles would be icons or imagery to rep the section
Blue circles are clickable and would open up into "drill down page" that would have more info about that service and would allow users to adjust the spending.
Bottom menu is persistent and would allow the user to jump around sections if they decide to adjust their answer or want to check out what the rest of the process looks like
Current page would not be an active link on the bottom menu.
People can jump around in the sections.

Page 3/ Revenue Page
Same as above!
Page 4 / Drill down page

Top menu is persistent and adjusts as they adjust service spending
Number under menu denotes how far along they are. In this example they are on 12 of 12.
Blurb under title needs some copy love. It should give an overview of the services and what id does.
Clicking "read more" would reveal more(Page 5) information(maybe stats) to help guide their decision.
Done would be at the bottom of the text they read and is how they can submit their changes. (Wondering if we need a close or back button too? )
Bottom slider would be persistent and would allow them to toggle spending. As they toggle the spending the $ amount above the slider would adjust

Page 5 / Report page

Services and Revenue section would give a quick overview of the changes they made. Needs lots of copy love.
"Overview" text would link to detailed pages shown on page 5.
Optional email allows them to send a copy of the the budget to themselves that includes the info on page 6. We can also maybe send a survey or something to if want to collect more info or get feedback on the app
Submit button would send the budget to whoever it's supposed to go to lol

Page 5 / Detailed page of changes

Would give a section by section overview of the changes they made and what they mean
Needs tons of copy love here too
Menu up top would be persistent and allow them to do 2 things. Go back to the services page and adjust their answers or close the overview page and go back to page 5.

I made an invision prototype really quick too:
https://invis.io/AY7ZDBSEM#/174484674_HacktheBudget-pdf_1
I realized some of my styling isn't all the way consistent and I need to do som language updates on the menu + menu sections since it doesn't correlate all the way right now. I turned on commenting so it would be great if ya'll could leave feedback or post questions there if possible.

You can also check out the prototype on your phone

Updated Mocks.
Still ideating on the reports pages. I only did 1 Service page but the styling should be the same for all of them.
HacktheBudget_v3.pdf

Not much changed. Just added a "Surplus card" We are ideating on the text for issue #24
HacktheBudget_v4.pdf
Didn't update the "fund" page since what Mateo has now seems sufficient

These should be most up to date. I skipped the Fund page since @mateoclarke already has something nice coded.


the compileSdkVersion 27 must to be 28

the compileSdkVersion 27 must to be 28 to build android because in build.gradle is 28 and i face issue because that.

Same problem here
If I don't change compileSdkVersion to 28 then when I build application with
flutter build apk --release
It fails with
Execution failed for task ':keyboard_visibility:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /Users/DCrow/Work/app/build/keyboard_visibility/intermediates/res/merged/release/values/values.xml:236: error: resource android:attr/fontVariationSettings not found.
  /Users/DCrow/Work/app/build/keyboard_visibility/intermediates/res/merged/release/values/values.xml:237: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.13.6-pre.23, on Mac OS X 10.14.6 18G84, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[✓] Connected device (1 available)

• No issues found!

same issue

Same here... Any progress? I don't think the plugin is currently usable without this change!

same

https://github.com/MisterJimson/flutter_keyboard_visibility


Error in inferTraceBugs

Hi
I am trying to run fbInfer for an XCode project. The analysis ran successfully. Got this message at the end:
** BUILD SUCCEEDED **
There was nothing to analyze, exiting
After this I tried running inferTraceBugs. I am getting the following error:
Traceback (most recent call last):
File "/Users/Priyanka/Documents/XXXX /Tools/infer-osx-v0.1.1/infer/infer/bin/inferTraceBugs", line 270, in
main()
File "/Users/Priyanka/Documents/XXXX /Tools/infer-osx-v0.1.1/infer/infer/bin/inferTraceBugs", line 248, in main
with open(os.path.join(args.infer_out, JSON_REPORT)) as report_file:
IOError: [Errno 2] No such file or directory: u'/Users/Priyanka/Documents/XXXX/Local/XXXX/trunk/infer-out/report.json'
Why am I getting this error? Any help appreciated. Thanks!

Hi @PriyankaJais,

There was nothing to analyze, exiting

This means that Infer didn't find any file to analyse in your project. You should run Infer on a cleaned version of your project. Try running something like this before running Infer:
xcodebuild -target <your target> -configuration Debug -sdk iphonesimulator clean

(adapt this command to your own project)

IOError: [Errno 2] No such file or directory: u'/Users/Priyanka/Documents/XXXX/Local/XXXX/trunk/infer-out/report.json'
Why am I getting this error? Any help appreciated. Thanks!

You are getting this error because the Infer result directory (infer-out) doesn't exist, because Infer didn't find anything to analyse.

Thanks!
I am sorry if this is a silly question but my xcodeproj is in a trunk folder and the source files are in a folder inside the trunk folder like,
ls -lrt trunk
rwxr-xr-x@  6 Priyanka  staff     204 May 11 12:31 Project.xcodeproj
drwxr-xr-x@  7 Priyanka  staff     238 Jun 19 17:24 Project
Now, when im trying to run fbInfer from the trunk directory, I get the error:
There was nothing to analyze, Exiting.
When i tried running from the Project directory, Im getting the following error:
xcodebuild: error: The directory /Users/Priyanka/Documents/XXXX/Local/Project/trunk/Project does not contain an Xcode project.

Hello @PriyankaJais,
I'd suggest to have a look at this guide by Apple to find the right command to build your project through xcodebuild https://developer.apple.com/library/ios/technotes/tn2339/_index.html#//apple_ref/doc/uid/DTS40014588-CH1-HOW_DO_I_BUILD_MY_PROJECTS_FROM_THE_COMMAND_LINE_
Follow the guide and try running xcodebuild with the correct set of arguments first, then as soon as you find the right configuration, try using infer --  with it.
If you still have problems, please paste here, if you can, the xcodebuild command you are using and information that can help troubleshooting, like the output of the command.
Thanks!

I am trying to build through a script. Using the following commands:
xcodebuild -project Project.xcodeproj -scheme Project clean
infer -- xcodebuild -target Project
Before using infer, i was using :
xcodebuild -project Project.xcodeproj -scheme Project clean build > xcodebuild.log
I was able to build successfully without Infer

I tried to use infer with the example HelloWorldApp also in ios_hello directory
Following is the output:
Priyankas-MacBook-Pro:HelloWorldApp Priyanka$ infer -- clang -c Hello.m
Starting analysis (Infer version v0.1.1)
Analysis done
0 file analyzed
No issues found

@PriyankaJais: you may have some luck with re-installing the command line tools, as pointed out in another issue.

Hello,
I am checking with example for iOS app and using below command for testing bugs in app but i didnt get any single issue. Can you please help me on that.
"infer -- xcodebuild -target HelloWorldApp -configuration Debug -sdk iphonesimulator"
Its show only one warning. And in line "There was nothing to analyze, exiting".
How to check all error and leaks ?
Thanks & Regards,
Mayur Bhansali

Hi,
Maybe you need to clean your project first by running
xcodebuild -target HelloWorldApp -configuration Debug -sdk iphonesimulator clean and then try to run infer.

This has been inactive for a while. Feel free to re-open if you have more questions.


Support for Entry data under nested JSON dictionary.

With this change one can use a separate JSON object for log entry parameters. For example, if JSON formatter is created with
formatter = &logrus.JSONFormatter{
    TimestampFormat: time.RFC3339Nano,
    DataKey: "params",
}

sample output looks as follows (after pretty-fying):
{
  "level": "info",
  "msg": "connecting to Kafka cluster",
  "params": {
    "brokers": [
      "localhost:9991",
      "localhost:9992",
      "localhost:9993"
    ]
  },
  "time": "2018-06-19T15:10:17.556928325+02:00"
}

I believe it is much better to keep log arguments in a separate namespace. Also it helps to avoid key clashes in a nicer way than renaming level to fields.level, etc. on the fly.

Hello, @codepainters I think your commit lacks the appropriate field clash handling, event when put in a subdirectory these field keys are still modified when they match the mandatory key names. Can you have a look at that ?

@codepainters my mistake, I read to fast and thought the prefixFieldClashes was applied on the nested dictionnary itself instead of the top level one.

Great, thanks a lot!


feat: migrate to to offical native open telemetry support

add otel grpc exporter
add gorm span
add redis span
add router span

fix #100

/approve


Fix flaky tests and build errors

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:chungers/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353906408
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


User should be able to see application window

The following features will be part of the core shell.
👉Runnable application
👉 Persistence support for application data using SQLite database
👉 Application configuration using .ini files
👉 Separate requirements file for development/build and testing
👉 Resource files and application icon
👉 Make file to setup virtualenv, run and test application
👉 Make command to generate code from QtDesigner generated .ui files
👉 Make command to generate and compress resource files
👉 Make command to generate icons from SVG file
👉 Stylesheets for switching between Light/Dark modes


Upgrade less devel to version 481

Needs a rebase, thanks!

Misty added it in https://github.com/Homebrew/homebrew-dupes/commit/eff3f183be5d065297b5114fad3e587ffcd24eb7. Thanks for the submission though @zchee!


goctl don't support keyword any

api file:
type Example {
	Data any `json:"data"`
}

run goctl command
Error message: can not found declaration 'any' in context

It's by design, not supporting generic types.


Where are the examples?

The readme says the examples are in an examples folder, but I don't see such a folder :)

It seems this statement in the README is not accurate anymore. The pyknos package is mainly a wrapper for different density estimation methods used the sbi package.
We have several tutorials and examples available there as well.

Thanks. Can you provide a reference to those examples/tutorials?

https://github.com/mackelab/sbi/tree/main/tutorials


Sam validate always returns Valid!

The tool sam validate is supposed to report errors when a SAM template is not valid.
Currently, it reports anything as valid.
steps to reproduce
cat "{}" > test.json
sam validate -t test.json
Expected - Some validation message
Actual - Valid!
Affects version

snapshot local
0.2.2

I think validate tests if your resources are valid (setup with correct values). Not necessarily that the template is invalid.
Definitely a nice to have though when it comes to cloudformation validity.

@iph It also fails for the example given in the readme https://github.com/awslabs/aws-sam-local#validate-sam-templates
I had a look a the tests, the seem to be a bit happy path focused. I've got no Go experience, but I'll have a look to see if I can describe this in a test.

Currently sam validate just checks whether the template is valid JSON/YAML.
At initial launch, we did do further validation against the SAM specification, however the implementation had a few major bugs and caused a lot of problems for people. As such, we removed  this functionality until it can be revisited.
We've recently done some work in the goformation to automatically generate a JSON Schema for the whole CloudFormation and SAM specification - which I think we could use within SAM Local to do this more advanced validation.

Thanks for the insight @PaulMaddox. That sounds like it will be really great. We were hoping to use it in our build pipeline to validate nice and early. We're currently doing some validation with aws cloudformation validate-template.
I think the docs need updating to reflect the information you've provided. I'll get a PR together and you can use as a starting point if you like.

Great. In the meantime, there's nothing stopping you from using the JSON Schema file I linked to earlier, with a CLI based JSON Schema validator in your buid pipeline. Google shows quite a few options.

I made a Ruby script that will read the YAML into JSON and validate against the schema if anyone is interested. https://gist.github.com/metaskills/674d819f24f41ddb9664b0386d147ce0


Fix wrong scopes caused by empty scope input (#19029)

Backport #19029
As the title, close #18972
Try to fix:

https://github.com/go-gitea/gitea/issues/18972

And there are many bugs in the admin login source page, they can not be fixed easily in this PR, so I just left some FIXMEs.

thanks!


Cannot read property 'highlight' of undefined - when using an indented code block

This bug was initially submitted with marked.js (https://github.com/markedjs/marked/issues/1348) but it seems the problem is finally with Docute. Please also see the comment at https://github.com/markedjs/marked/issues/1348#issuecomment-426269743
Description
Using the example HTML file with a specific README.md, the site is not rendered and the console mentions
Uncaught (in promise) TypeError: Cannot read property 'highlight' of undefined
Please report this to https://github.com/markedjs/marked.
    at U.n.code (docute.js:1)
    at V.tok (docute.js:1)
    at V.parse (docute.js:1)
    at Function.V.parse (docute.js:1)
    at rt (docute.js:1)
    at docute.js:1

Reproduction
Expose the following two files via a web server (devd in my case), the HTML file is the first example given in Docute.
The error is on the block containing code

index.html

<!DOCTYPE>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>My Docs</title>
    <link rel="stylesheet"<EMAIL_ADDRESS>

README.md (please take the source code, as the version below is rendered by GitHub and i do not know how to make it raw (non-rendered) data)

--- snip ---
text
code

text
--- snip ---

Please let me know if the landing place of the bug is correct or not.

My guess is that the problem lies in the /src/utils/markedRenderer.js file since it overrides marked's renderer.

which version are you using? it is supposed to be fixed in 4.0.7


Added type to content source

Resolved an issue with IMA plugin and HLS plugin on post-roll completed ads: without the source type the player hangs with a format not supported error.

I signed it!

Added a small comment. Thanks for the PR!

Hi,
I've tried the "simple" example changing the source with an HLS one (I used the "videojs-contrib-hls" 5.11.1 plugin and upgraded the video.js to 5.19.1 version to support the HLS plugin).
After the post-roll complete:

the player crash with a not supported format error:

because it needs to know the correct source type.

Makes sense - once you resolve the comment I left and the CLA we should be good to go :)

Hi,
I'm sorry but I didn't see any comment on your side :-
I've already solve the CLA changing the email author... what I'm wrong?

Oh whoops, it looks like I started a review but never submitted it - you should see it now.

Thanks for the fix!


Bump Visual Studio Tools for Unity changelog to <IP_ADDRESS>

@sailro,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

cc @jbevain @TerryGLee

We'll be able to publish the bits this morning, so we could change the date to 4/6

Let's publish it as is and if we want, we can change the date to 4/6/2017 after-the-fact.

Bits are live


Add the missing vGPU Devices title in page

Summary
Fix the missing vGPU Devices title in Advanced ->  vGPU Devices page.
PR Checklist

Is this a multi-tenancy feature/bug?

[ ] Yes, the relevant RBAC changes are at:

Do we need to backport changes to the old Rancher UI, such as RKE1?

[ ] Yes, the relevant PR is at:

Are backend engineers aware of UI changes?

[ ] Yes, the backend owner is:

Fixes # https://github.com/harvester/harvester/issues/5604

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video
before

after

@mergify backport release-harvester-v1.3


Typescript

Enduro.js seems to be a killer project, I see a big future for what you have developed here.
But hey! What about Typescript?
Large apps/project today, sometimes, need to be typed at server side.
Do you have any plans to convert or add Typescript support?

Hey Micene. Sure, the plan is to add a plugin ecosystem, so that these postprocessors could be added simply. Hold tight, this will get done soon.


Added support for compiled queries with include for lists & dictionaries

Closes #358

Will add docs for it later on today/tomorrow.

@nieve would you want me to pull this in now, or wait for the docs? I'm not in any huge hurry to kick out a new nuget, so no rush.

Done :)

Got it w/ a rebase, thanks @nieve !