not working on angular 17

not working on angular 17

Would love to see the library being Angular 17 compatible as well. There seems to be a branch (see: https://github.com/verto-health/ngx-turnstile/tree/upgrade-angular-to-17) but no release for this yet. Is there maybe an ETA when the update will be published? I would like to avoid having to fork this just to update to the latestest Angular version.

can you show me the way how you did it?
if possible a git repo of that ?

@zakir1929 I'm afraid that I cannot share the entire project. However, I prepared a repository that contains the contents of the turnstile library.
https://github.com/me-marcel/nx-turnstile
Please keep in mind that you will need an NX monorepo with an Angular application for this library to work since it has dependencies on @angular/* packages.

When it will be available? I think the only thing missing on  #20 is the review, right?

When it will be available? I think the only thing missing on #20 is the review, right?

Seems like it. Linting is failing as well but that shouldn't be that big of a deal. I would love to do the review. Sadly, I can't.

@cherylchen2 @AleksanderBodurri Could you help us?

FYI that PR was merged and a release was cut just now, Mend Renovate just notified me for a repo I have. This should be closed

Closed by https://github.com/verto-health/ngx-turnstile/pull/20. Thanks for the patience everyone 🙏  Let me know if there's any issues

Hey @AleksanderBodurri , may you have forgotten to push a new version over on npm? '^^


Preview not working from WP and drafts broken

For me neither published posts or drafts ever load when selecting preview from WP.  Drafts throw this message:

Published posts basically time out. Tyler I believe you have access to my site to check things out, let me know if you have questions.
If you browse to the preview site directly published posts work fine. Drafts do appear on archive pages but the preview URL is broken: https://preview-moonmeisternet.gtsb.io/generated-preview-path/post/7176/
The only thing somewhat unique about my site that I can think of is the fact that I use the newish file-system routing API for posts.

  System:
    OS: Linux 4.4 Ubuntu 20.04.1 LTS (Focal Fossa)
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.15.3 - /tmp/yarn--1608653875235-0.10626545320667291/node
    Yarn: 1.22.10 - /tmp/yarn--1608653875235-0.10626545320667291/yarn
    npm: 6.14.9 - ~/.nvm/versions/node/v14.15.3/bin/npm
  npmPackages:
    gatsby: ^2.29.1 => 2.29.1
    gatsby-image: ^2.8.0 => 2.8.0
    gatsby-plugin-feed: ^2.10.0 => 2.10.0
    gatsby-plugin-goatcounter: ^0.4.0 => 0.4.0
    gatsby-plugin-linaria: ^2.2.0 => 2.2.0
    gatsby-plugin-manifest: ^2.9.0 => 2.9.0
    gatsby-plugin-netlify: ^2.8.0 => 2.8.0
    gatsby-plugin-offline: ^3.7.0 => 3.7.0
    gatsby-plugin-postcss: ^3.4.0 => 3.4.0
    gatsby-plugin-preact: ^4.4.0 => 4.4.0
    gatsby-plugin-react-helmet: ^3.7.0 => 3.7.0
    gatsby-plugin-readingtime: ^1.0.1 => 1.0.1
    gatsby-plugin-robots-txt: ^1.5.3 => 1.5.5
    gatsby-plugin-sharp: ^2.11.1 => 2.11.1
    gatsby-plugin-sitemap: ^2.9.0 => 2.9.0
    gatsby-plugin-webpack-bundle-analyzer: ^1.0.5 => 1.0.5
    gatsby-plugin-webpack-size: ^1.0.0 => 1.0.0
    gatsby-source-filesystem: ^2.8.0 => 2.8.0
    gatsby-source-wordpress-experimental: * => 6.0.0
    gatsby-transformer-sharp: ^2.9.0 => 2.9.0

@TylerBarnes I suspect this may be a FS routing API issue. I just published a draft and while the archive page is once again good the actual page didn't get created. Running dev in local worked fine and I suspect a clean build in prod would too.

Hey @moonmeister , thanks for raising this. It looks like the problem is the filesystem route api only calls onCreatePage when initially creating pages and then never again when updating pages. We will need a fix in Gatsby core for this to work.

Hey @moonmeister , thanks for raising this. It looks like the problem is the filesystem route api only calls onCreatePage when initially creating pages and then never again when updating pages. We will need a fix in Gatsby core for this to work.


Migrate to tani

Hi @tani, would you consider us migrating this repository to your user account e.g. tani/homebrew-fonts?

Okay. No problem. Would mind you to explain the background of your decision?
BTW, I prefer to migrate my work to cask-fonts like same as that Linuxbrew merged Homebrew.

Perfect, thanks!


selector fails when URL loaded with https

Forgive me if I'm missing something that should be obvious, but as far as I can tell I've found a bug.
I'm using 1.1 development, installed with
brew install casperjs --devel
but I noticed certain selectors failing if I used an https URI.  I've put together a simple script that demonstrates the problem.  If you manually load the page with https and view the source, you'll see that there are in fact paragraph elements that should be found.
Here's the script
var casper = require('casper').create({
  pageSettings: {
    loadImages:  false,
    loadPlugins: false,
  }
});

url = 'http://www.apple.com/' // without S
// url = 'https://www.apple.com/' // with S

casper.start(url, function() {
  if (this.exists('p')) {
    this.echo('We found at least one paragraph on ' + url);
  } else {
    this.echo('We did not find a single paragraph on ' + url);
  }
});

casper.run();

The first time I run the script as it is, above, and then I run with with the commenting on the url =  lines switched:
// url = 'http://www.apple.com/' // without S
url = 'https://www.apple.com/' // with S

and I get the following output:
$ casperjs bug.js
We found at least one paragraph on http://www.apple.com/
$ casperjs bug.js
We did not find a single paragraph on https://www.apple.com/

I can work around this by using  --ssl-protocol=tlsv1 on the command line (which apparently gets passed directly as-is to phantomjs).
I'll close this since it's arguably not a bug, almost certainly not one with casperjs, and it has certainly been discussed elsewhere.


"Accept header absent and forced to application/json" spam

Since updating to 0.8.0, I'm getting a lot of warnings printed to stderr about a missing Accept header in the REST requests. Seems to be coming from the Azure REST API, here.
This fills up our logs on VSTS for long-running jobs.

This sounds like msrest was updated recently to this, we don't have a direct dependency on it, I guess the issue is with some of the sdk that is not specifiing the header correctly.
In the meantime you can force msrest to be at a previous version or suppress the warning

We already suppress warning from msrestazure, should we do the same thing for msrest?
Since the issue is arising because of a transitive dependency, we really shouldn't surface any logging I feel.

I looked at their code and it seems like the logger name is the filename not msrest azure so I think it might be pretty hard to suppress


sparsity! reporting 0 stored entries

I have been trying to use SparsityDetection.jl for computing the sparsity pattern of a Julia function but I seem to be missing something. I can run the example from the README.md just fine, and the result is as expected; but I can't get the sparsity for a more complex function.
I have created a Notebook to demonstrate my issue:
https://nbviewer.jupyter.org/gist/ferrolho/5516d663963aeb67b231d4aec4d2efa1
Out [10] is where I'd expect to get the sparsity as illustrated in Out [9].

Hey, thanks for providing an example. I think we will need to really dig into it in order to find out what's going on!

Okay, here is another very simple function:
function EulerStep(dx, x)
    Δt = 0.001
    qᵢ = x[ 1: 7]
    q̇ᵢ = x[ 8:14]
    q̈ᵢ = x[15:21]

    dx[ 1: 7] = qᵢ + Δt * q̇ᵢ
    dx[ 8:14] = q̇ᵢ + Δt * q̈ᵢ

    nothing
end

After which, calling
input = rand(3*7)
output = zeros(2*7)
sparsity_pattern = sparsity!(EulerStep, output, input)

yields
Explored path: SparsityDetection.Path(Bool[], 1)
14×21 SparseArrays.SparseMatrixCSC{Bool,Int64} with 0 stored entries

Am I doing something terribly wrong?

It is weird because for another simple function it does work:
function g1(dx, x)
    dx[1] = 2x[1] + √x[3]
    dx[2] = 3x[1] + sin(x[4])
    dx[3] = 4x[1] + cos(x[5])
    nothing
end

input = rand(5)
output = zeros(3)
sparsity_pattern = sparsity!(g1, output, input)

Explored path: SparsityDetection.Path(Bool[], 1)
3×5 SparseMatrixCSC{Bool,Int64} with 6 stored entries:
  [1, 1]  =  1
  [2, 1]  =  1
  [3, 1]  =  1
  [1, 3]  =  1
  [2, 4]  =  1
  [3, 5]  =  1

Rewriting the function so as to eliminate range assignments solves the problem:
function EulerStep(dx, x)
    Δt = 0.001

    for i = 1:7
        dx[i  ] = x[i  ] + Δt * x[i+ 7]
        dx[i+7] = x[i+7] + Δt * x[i+14]
    end

    nothing
end

input = rand(3*7)
output = zeros(2*7)
sparsity_pattern = sparsity!(EulerStep, output, input)

Explored path: SparsityDetection.Path(Bool[], 1)
14×21 SparseMatrixCSC{Bool,Int64} with 28 stored entries:
  [1 ,  1]  =  1
  [2 ,  2]  =  1
  [3 ,  3]  =  1
  [4 ,  4]  =  1
  [5 ,  5]  =  1
  [6 ,  6]  =  1
  [7 ,  7]  =  1
  [1 ,  8]  =  1
  [8 ,  8]  =  1
  [2 ,  9]  =  1
  [9 ,  9]  =  1
  [3 , 10]  =  1
  ⋮
  [5 , 12]  =  1
  [12, 12]  =  1
  [6 , 13]  =  1
  [13, 13]  =  1
  [7 , 14]  =  1
  [14, 14]  =  1
  [8 , 15]  =  1
  [9 , 16]  =  1
  [10, 17]  =  1
  [11, 18]  =  1
  [12, 19]  =  1
  [13, 20]  =  1
  [14, 21]  =  1

Is range assignment not supported?

Besides range assignments, doing qᵢ = x[1:7] seems to break the exploration as well:
function EulerStep(dx, x)
    Δt = 0.001
    qᵢ = x[ 1: 7]
    q̇ᵢ = x[ 8:14]
    q̈ᵢ = x[15:21]

    for i = 1:7
        dx[i  ] = qᵢ[i] + Δt * q̇ᵢ[i]
        dx[i+7] = q̇ᵢ[i] + Δt * q̈ᵢ[i]
    end

    nothing
end

input = rand(3*7)
output = zeros(2*7)
sparsity_pattern = sparsity!(EulerStep, output, input)

Explored path: SparsityDetection.Path(Bool[], 1)
14×21 SparseMatrixCSC{Bool,Int64} with 0 stored entries

Awesome, thanks for the MWE. Yes, it looks like range indexing needs to be specialized on.

Indeed it's missing a term combination: https://github.com/JuliaDiffEq/SparsityDetection.jl/blob/master/src/terms.jl

I am trying to add this to SparsityDetection.jl/src/terms.jl but I need some help.
function Base.getindex(comb1::TermCombination, I...)
    TermCombination(comb1.terms[I...])
end

Wouldn't something along these lines suffice? How can I inspect this function during runtime? I may have gotten the signature wrong because I added a print statement to the body but it never got printed.

@shashi can you take a look at this?

TermCombination is used for Hessian sparsity. It looks like the range index is calling a unsafe_copy* function which we don't intercept... I'm playing with this now.

The same happens with ArrayPartition from RecursiveArrayTools:
using SparsityDetection
using RecursiveArrayTools
function rhs(dcs,cs,ps,t=0.)
    (c1, c2) = cs.x
    (dc1, dc2) = dcs.x
    (g1,g2) = ps
    for j=1:size(dc1,1)
        dc1[j] = g1[j] * c1[j]
    end
    for j=1:size(dc2,1)
        dc2[j] = g1[j] * c2[j] + g2[j] * c1[j]
    end
    dcs
end
N = 30
cs = ArrayPartition(rand(N),rand(N))
dcs = similar(cs)
ps = rand.((N,N))
sparsity_pattern = sparsity!(rhs,dcs,cs,ps)

gives
Explored path: SparsityDetection.Path(Bool[], 1)
60×60 SparseArrays.SparseMatrixCSC{Bool,Int64} with 0 stored entries

while
function rhs(dcs,cs,ps,t=0.)
    (g1,g2) = ps
    N1 = length(dcs) ÷ 2
    for j=1:N1
        dcs[j]    = g1[j] * cs[j]
        dcs[j+N1] = g1[j] * cs[j+N1] + g2[j] * cs[j]
    end
    dcs
end
N = 30
cs = rand(2N)
dcs = similar(cs)
ps = rand.((N,N))
sparsity_pattern = sparsity!(rhs,dcs,cs,ps)

works fine:
Explored path: SparsityDetection.Path(Bool[], 1)
60×60 SparseArrays.SparseMatrixCSC{Bool,Int64} with 90 stored entries: [...]


[Android] Unable to share files on the internal storage

Steps to reproduce
I'm using react-native-fs to download files to the local internal storage. Using such a file with a file:// url works great on iOS but fails on Android. Looks like the filepath is being tampered with and Android is unable to find the file.
URL from react-native-fs
file:///data/user/0/com.myapp/files/myapp/art/invitation.jpg
Error
Failed to find configured root that contains /data/data/com.myapp/files/myapp/art/invitation.jpg
Environment

React Native version: 0.57.8
React Native platform + platform version: Android 8.0

react-native-share
Version: 1.1.3

@a-koka hey, can you give an explanation this code what do exactly and what's the difference between it and in the documentation.
Thanks in advance

<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
    <external-path path="Download/" name="myExternalImages" />
    <files-path path="myInternalDir/" name="myInternalImages" />
</paths>


Search bar shows "Unknown"

Describe the bug
"Unknown" text is appearing in ng-doc searchbar.
To Reproduce
Steps to reproduce the behavior:

Go to https://ng-doc.com/customization/themes
Type "getting started" in the search bar
See error

Expected behavior
"Unknown" shouldn't appear.
Screenshots

Hey, thanks for the bug report! It will be fixed in the next release :)


v502 regression bug with front end elements.

There are at least two regressions introduced by the v1.0.502 update from 500:
The Oauth login button is now too small to display the element text:
Before:

After:

The running completion modal is also too small:
Before:

After:

Must have been a cloud build error, can't recreate.


Feature/apmi 2630 session based sampling

Implemented code.

if sessionbasedsamplingratio is out of range (0.0 , 1.0) we consider it as 100% and sampled all session. as we use 1.0 as default value. if you want any change in it then let us know.


[BUG] formula - SUMIF

🐛 Bug Report
I can't find a way to insert a SUMIF formula on a cell.
I've tried to write the SUMIF formula in 100 different ways but I can't find a way to write it properly.
Note that a simple SUM formula works perfectly fine.
Anyone with an idea on how to write this SUMIF formula properly ?
Lib version: latest
Steps To Reproduce
  worksheet.getCell('B16').value = { sharedFormula: 'B16', formula: 'SUMIF(B5:B14;1)', result: 0, date1904: false };

see https://github.com/exceljs/exceljs/issues/1650


Publish Filtering change

We have had 3 clients now complain that the filtering system always defaults to is rather than contains.
I have tried to figure out how to change it, but failed miserably. Can this be done?

Did you tried changing the order of this array ?
https://github.com/symphonycms/symphony-2/blob/2.6.x/symphony/lib/toolkit/class.field.php#L1185-L1208

Field's provide the filtering options, so the order comes from the Field. Changing the array @nitriques has linked to will do the job... but it's per field, so it can't be guaranteed that contains will be first for every single field.

Thanks for the clarification guys.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3216

Questions ?
Please refer to the Backport tool documentation


Deconz Conbee 2 detected as Raspbee

I don't know if it's the last update to the Deconz add-on or Supervisor release 208 but since one of those updates, my conbee 2 is detected as a Raspbee:

21:47:36:104 CTRL. 3.16.221:47:36:175 COM: --dev: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2133629-if00 (RaspBee)
...
21:47:40:862 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
21:47:40:892 COM: --dev: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2133629-if00 (RaspBee)
21:47:41:849 Announced to internet https://phoscon.de/discover
...
21:47:47:080 New websocket <IP_ADDRESS>:46488 (state: 3)
21:47:51:381 COM: --dev: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2133629-if00 (RaspBee)
21:47:51:410 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_ConBeeII_0x26490700.bin.GCF
21:47:51:471 Device firmware version 0x264A0700

I'm using HA 106.5, OS 3.11, Supervisor 209, Deconz add-on 5.3.1 on a Tinkerboard S

I've seen this as well, I removed the deconz integration and readded it, and then it saw it correctly again, not really sure whats going on

Hi!
Thanks for opening up an issue, the add-on does not determine the device, but deCONZ/Phoscon does. Please report this issue upstream with Dresden.
From our end, there is not much we can do about this.
Thanks 👍


Pipeline function not found on type NewBulkIndexRequest

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[x] elastic.v5 (for Elasticsearch 5.x)
Please describe the expected behavior
Upon setting 'Pipeline' on an instance of BulkIndexRequest, the request will go through the ingest pipeline.
Please describe the actual behavior
Upon setting 'Pipeline' on an instance of BulkIndexRequest (via NewBulkIndexRequest()), the program fails to compile with the error:
src/consumer/consumer.go:243: elastic.NewBulkIndexRequest().Pipeline undefined (type *elastic.BulkIndexRequest has no field or method Pipeline)
Creating a BulkIndexRequest without calling NewBulkIndexRequest results in the same behavior.
Any steps to reproduce the behavior?
Yep, this code compiles:
resultIndex := elastic.NewBulkIndexRequest().
		Index("scarf").
		Type("file").
		Id(strconv.Itoa(int(fi.Id))).
		Doc(fi)

This code doesn't
resultIndex := elastic.NewBulkIndexRequest().
		Index("scarf").
		Type("file").
		Id(strconv.Itoa(int(fi.Id))).
		Pipeline("attachment").
		Doc(fi)
// or
resultIndex := elastic.NewBulkIndexRequest().
		Index("scarf").
		Type("file").
		Id(strconv.Itoa(int(fi.Id))).
		Doc(fi)
resultIndex.Pipeline("attachment")

[thanks for your time, my apologies if i'm missing something obvious...]

I just added these yesterday. Can you update to 5.0.6 and try again?
Please close if it works.

Talk about timing.. working now! Thanks, was using last week's build.


Expeditor should be updating the Gemfile.lock after bumping version

Description
Otherwise the version of the license-acceptance gem itself begins to drift
Related Issue
N/A
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

@tas50 Updated to... update


unable to build conductor gradlew build

when i try to build conductor using ./gradlew build it fails with the following error.

Task :conductor-cassandra-persistence:test

com.netflix.conductor.dao.cassandra.CassandraExecutionDAOTest > testWorkflowCRUD FAILED
java.lang.AssertionError at CassandraExecutionDAOTest.java:55
java.lang.NullPointerException at CassandraExecutionDAOTest.java:63
com.netflix.conductor.dao.cassandra.CassandraExecutionDAOTest > testTasksCRUD FAILED
com.datastax.driver.core.exceptions.NoHostAvailableException at CassandraExecutionDAOTest.java:56
java.lang.IllegalStateException at CassandraExecutionDAOTest.java:63
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException at CassandraExecutionDAOTest.java:56
com.netflix.conductor.dao.cassandra.CassandraExecutionDAOTest > testValidateTasks FAILED
java.lang.IllegalStateException at CassandraExecutionDAOTest.java:56
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException at CassandraExecutionDAOTest.java:56
java.lang.IllegalStateException at CassandraExecutionDAOTest.java:63
Caused by: com.datastax.driver.core.exceptions.NoHostAvailableException at CassandraExecutionDAOTest.java:56
17 tests completed, 3 failed

Task :conductor-cassandra-persistence:test FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':conductor-cassandra-persistence:test'.

@rajanigk I cannot reproduce this locally. Can you please post your configuration. Also, can you update to latest release and try again.

i copied the condustor-master.zip to a freshly created linux ec2 instance on aws. No gradle was installed.
As per the documentation present in https://netflix.github.io/conductor/server/ , i unzipped the zip file and execute ./gradlew build, which downloaded the gradle version 4.8.1, and then after 95% of  the build, this error was thrown.

This seems to be a very expensive test and it fails if there are not enough resources. At least this was the reason why it failed for us. After wasting a lot of time with this we went the Java way and threw more RAM at it.

even gradlew server also fails if not gradle is installed on the system

Closing this issue as there is no activity for a while. Please feel free to reopen if you still have questions or concerns.

I am unable to do any build, clean or otherwise, with this same error:

Task :conductor-cassandra-persistence:test FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':conductor-cassandra-persistence:test'.

Process 'Gradle Test Executor 3' finished with non-zero exit value 1


How to define engine when use spark jdbc overwrite to clickhouse

I can use append mode successfully but overwrite mode failed,when overwrite table is deleted but not be recreated. I guess it caused by the engine definition but I dont know how to define it.

It has truncate option, but If you want to override some partitions, you should send a drop partition query before sending the data.

It has truncate option, but If you want to override some partitions, you should send a drop partition query before sending the data.

It has truncate option, but If you want to override some partitions, you should send a drop partition query before sending the data.

I want to use
    JdbcDialects.registerDialect(ClickHouseDialect)     df.write       .format("jdbc")       .mode("overwrite")       .option("driver", "com.github.housepower.jdbc.ClickHouseDriver")       .option("url","jdbc:clickhouse://xxx:9090")       .option("user","root")       .option("password", "xxx")       .option("dbtable", "xxx")       .option("numPartitions", "1")       .option("truncate", "true")       .option("batchsize", 10)       .option("isolationLevel", "NONE")       .save
to delete the entire table if it exsists and then automatically create the table according to dataframe and import the data, just like spark's overwrite mode, but an error was reported when using this JDBC.
But when I created the table, I changed the overwrite mode to append mode, no error was reported, and the data was successfully written into the clickhouse table.

It has truncate option, but If you want to override some partitions, you should send a drop partition query before sending the data.

I want to use
    JdbcDialects.registerDialect(ClickHouseDialect)     df.write       .format("jdbc")       .mode("overwrite")       .option("driver", "com.github.housepower.jdbc.ClickHouseDriver")       .option("url","jdbc:clickhouse://xxx:9090")       .option("user","root")       .option("password", "xxx")       .option("dbtable", "xxx")       .option("numPartitions", "1")       .option("truncate", "true")       .option("batchsize", 10)       .option("isolationLevel", "NONE")       .save
to delete the entire table if it exsists and then automatically create the table according to dataframe and import the data, just like spark's overwrite mode, but an error was reported when using this JDBC.
But when I created the table, I changed the overwrite mode to append mode, no error was reported, and the data was successfully written into the clickhouse table.

You can paste the error logs.

You can paste the error logs.

You can paste the error logs.

Exception in thread "main" com.github.housepower.jdbc.ClickHouseSQLException: DB::ExceptionDB::Exception: Syntax error: failed at position 45 (end of query): . Expected one of: storage definition, ENGINE, AS. Stack trace:

DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, bool, unsigned long, unsigned long) @ 0xe997949 in /usr/bin/clickhouse

? @ 0xdef9c45 in /usr/bin/clickhouse

DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool) @ 0xdef98bd in /usr/bin/clickhouse

DB::TCPHandler::runImpl() @ 0xe5cf926 in /usr/bin/clickhouse

DB::TCPHandler::run() @ 0xe5dbe27 in /usr/bin/clickhouse

Poco::Net::TCPServerConnection::start() @ 0x10d85cff in /usr/bin/clickhouse

Poco::Net::TCPServerDispatcher::run() @ 0x10d87711 in /usr/bin/clickhouse

Poco::PooledThread::run() @ 0x10eb4ce9 in /usr/bin/clickhouse

Poco::ThreadImpl::runnableEntry(void*) @ 0x10eb0c7a in /usr/bin/clickhouse

start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so

__clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
at com.github.housepower.jdbc.protocol.ExceptionResponse.readExceptionFrom(ExceptionResponse.java:36)
at com.github.housepower.jdbc.protocol.Response.readFrom(Response.java:35)
at com.github.housepower.jdbc.connect.NativeClient.receiveResponse(NativeClient.java:178)
at com.github.housepower.jdbc.connect.NativeClient.lambda$receiveQuery$0(NativeClient.java:135)
at com.github.housepower.jdbc.stream.ClickHouseQueryResult.consumeDataResponse(ClickHouseQueryResult.java:89)
at com.github.housepower.jdbc.stream.ClickHouseQueryResult.ensureHeaderConsumed(ClickHouseQueryResult.java:82)
at com.github.housepower.jdbc.stream.ClickHouseQueryResult.header(ClickHouseQueryResult.java:43)
at com.github.housepower.jdbc.statement.ClickHouseStatement.executeUpdate(ClickHouseStatement.java:93)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.createTable(JdbcUtils.scala:859)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:81)
at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:86)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:131)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:127)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:155)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:152)
at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:127)
at org.apache.spark.sql.execution.QueryExecution.toRdd$lzycompute(QueryExecution.scala:80)
at org.apache.spark.sql.execution.QueryExecution.toRdd(QueryExecution.scala:80)
at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:668)
at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:668)
at org.apache.spark.sql.execution.SQLExecution$$anonfun$withNewExecutionId$1.apply(SQLExecution.scala:78)
at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:125)
at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:73)
at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:668)
at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:276)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:270)
at com.fmtt.App$.main(App.scala:51)
at com.fmtt.App.main(App.scala)

You can paste the error logs.

Exception in thread "main" com.github.housepower.jdbc.ClickHouseSQLException: DB::ExceptionDB::Exception: Syntax error: failed at position 45 (end of query): . Expected one of: storage definition, ENGINE, AS. Stack trace:

DB::parseQueryAndMovePosition(DB::IParser&, char const*&, char const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, bool, unsigned long, unsigned long) @ 0xe997949 in /usr/bin/clickhouse

? @ 0xdef9c45 in /usr/bin/clickhouse

DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, DB::Context&, bool, DB::QueryProcessingStage::Enum, bool) @ 0xdef98bd in /usr/bin/clickhouse

DB::TCPHandler::runImpl() @ 0xe5cf926 in /usr/bin/clickhouse

DB::TCPHandler::run() @ 0xe5dbe27 in /usr/bin/clickhouse

Poco::Net::TCPServerConnection::start() @ 0x10d85cff in /usr/bin/clickhouse

Poco::Net::TCPServerDispatcher::run() @ 0x10d87711 in /usr/bin/clickhouse

Poco::PooledThread::run() @ 0x10eb4ce9 in /usr/bin/clickhouse

Poco::ThreadImpl::runnableEntry(void*) @ 0x10eb0c7a in /usr/bin/clickhouse

start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so

__clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
at com.github.housepower.jdbc.protocol.ExceptionResponse.readExceptionFrom(ExceptionResponse.java:36)
at com.github.housepower.jdbc.protocol.Response.readFrom(Response.java:35)
at com.github.housepower.jdbc.connect.NativeClient.receiveResponse(NativeClient.java:178)
at com.github.housepower.jdbc.connect.NativeClient.lambda$receiveQuery$0(NativeClient.java:135)
at com.github.housepower.jdbc.stream.ClickHouseQueryResult.consumeDataResponse(ClickHouseQueryResult.java:89)
at com.github.housepower.jdbc.stream.ClickHouseQueryResult.ensureHeaderConsumed(ClickHouseQueryResult.java:82)
at com.github.housepower.jdbc.stream.ClickHouseQueryResult.header(ClickHouseQueryResult.java:43)
at com.github.housepower.jdbc.statement.ClickHouseStatement.executeUpdate(ClickHouseStatement.java:93)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcUtils$.createTable(JdbcUtils.scala:859)
at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:81)
at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.run(SaveIntoDataSourceCommand.scala:45)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:70)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:68)
at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(commands.scala:86)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:131)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:127)
at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeQuery$1.apply(SparkPlan.scala:155)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:152)
at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:127)
at org.apache.spark.sql.execution.QueryExecution.toRdd$lzycompute(QueryExecution.scala:80)
at org.apache.spark.sql.execution.QueryExecution.toRdd(QueryExecution.scala:80)
at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:668)
at org.apache.spark.sql.DataFrameWriter$$anonfun$runCommand$1.apply(DataFrameWriter.scala:668)
at org.apache.spark.sql.execution.SQLExecution$$anonfun$withNewExecutionId$1.apply(SQLExecution.scala:78)
at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQLExecution.scala:125)
at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLExecution.scala:73)
at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala:668)
at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.scala:276)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:270)
at com.fmtt.App$.main(App.scala:51)
at com.fmtt.App.main(App.scala)

try add
 .option("createTableOptions", "ENGINE=Log()")

try add
 .option("createTableOptions", "ENGINE=Log()")

try add
 .option("createTableOptions", "ENGINE=Log()")

Succeed! Thank you very much, But can you tell me where to find the documentation for these option settings, and it is recommended to add this trick to your example.

try add
 .option("createTableOptions", "ENGINE=Log()")

Succeed! Thank you very much, But can you tell me where to find the documentation for these option settings, and it is recommended to add this trick to your example.

createTableOptions

@sundy-li
I find it in spark's document,thanks again.

createTableOptions

@sundy-li
I find it in spark's document,thanks again.

https://spark.apache.org/docs/3.0.1/sql-data-sources-jdbc.html

https://spark.apache.org/docs/3.0.1/sql-data-sources-jdbc.html


Bug: Page Refress ?

When browsing the users for the first time I will get the "full" image. Like this

When I browse again I will get this

You constantly need to Crtl+F5 to fix this

@Nigrini Hi ! This seem to be related to a cache meta tag that tell the browser to cache some image in a wrong way. You can create an account at Ngrok (free). This will allow you to examine requests and responses.
Good luck in your investigation.

I manage to sort this one out - Maybe it will help other people.
When you have https, then you must force it in the htaccess file. Some users visiting the site and registering a user on http will cause problems for you once the ssl is in place. By using a check of your site like https://www.whynopadlock.com/ it will tell you that some images were uploaded to your site that cannot be verified.
And the only way to fix that then is for you as the admin to upload another profile pic for the affected users.
Jeeeez, I hope this makes sense to you guys


Centered layout isn't centered

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.67.2 (Universal)
OS Version: macOS 12.3.1 (21E258)

Steps to Reproduce:

Open VS Code
Enable centered layout

The centered layout isn't centered. it seems to have some extra margin (seems to be the exact width of the sidebar?) on the right side of the editor. The issue persists after restarting my entire system.
This issue happened to me previously in January 2022. I don't remember how/if I did anything to fix it.

Can you try double-clicking one of the resizing sashes for the centered editor?

Sorry, I haven't been experiencing this issue for the last few months, so I can't test that out. The issue randomly stopped occurring a while back, and I'm not sure why.

thanks for the reply, sorry for the late reply

We closed this issue because we are unable to reproduce the problem with the steps you describe. Chances are we've already fixed your problem in a recent version of VS Code. If not, please ask us to reopen the issue and provide us with more detail. Our issue reporting guidelines might help you with that.
Happy Coding!


Invalid parser object - parser has an unknown property 'system'

Hey guys! 👋
So I just bumped up to<EMAIL_ADDRESS>and received the following
Module not found: ValidationError: Invalid parser object. Asset Modules Plugin has been initialized using a parser object that does not match the API schema.
 - parser has an unknown property 'system'. These properties are valid:
   object { dataUrlCondition? }
   -> Parser options for asset modules.

It seems like the specified module rule has an incompatible parser set.
I think it is referring to this line
https://github.com/hasanayan/craco-plugin-single-spa-application/blob/43546623f020ab992c07ec7ba146a92c448a4c94/src/index.js#L90
Thought I would bring this to your attention!
I am running:
"@craco/craco": "^7.0.0-alpha.3",
"react-scripts": "^5.0.1",
Let me know if there is anything else you need or how I might be able to help 💪
Keep up the great work!

Hi @dbgordon09 thank you for letting us know.
I have tried reproducing your issue following the steps below and the application works fine for me:

Create new CRA App using v5
Add<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>Change package.json from react-scripts to craco as per craco install steps
Add the src/single-spa-index.tsx
Add craco.config.js with the example configuration in this repo README.md
tried running npm run build

Is there something different for you from the steps above? Would it be possible that you share the code reproducing the issue?

Hey @felipeplets! 🙋♂
Thanks so much for getting back to me so quickly, much appreciated.
The steps you mentioned are very similar to the steps that I took, with slight deviations.

Created a new CRA with v5.0.1 of react-scripts.
Added craco v7.0.0-alpha.3.
Added<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Added src/single-spa-index.tsx.
Here is the contents of that file: (Even though I don't think this is in anyway related)

import App from 'App';
import React from 'react';
import ReactDOM from 'react-dom';
import singleSpaReact from 'single-spa-react';

const reactLifecycles = singleSpaReact({
  React,
  ReactDOM,
  rootComponent: App,
  errorBoundary: (_err, _errInfo, _props) => (

Something went wrong! 😥

  ),
});

export const bootstrap = reactLifecycles.bootstrap;
export const mount = reactLifecycles.mount;
export const unmount = reactLifecycles.unmount;

Created craco.config.ts to allow start to be overridden.
Created craco-single-spa.config.js to be referenced when building the app specifically for use in single-spa.

Here is the script that invokes the build process:
"build:single-spa": "craco build --config craco-single-spa.config.js",
Here is the contents of that config:
const singleSpaApplicationPlugin = require('craco-plugin-single-spa-application');

module.exports = {
  plugins: [
    {
      plugin: singleSpaApplicationPlugin,
      options: {
        orgName: 'eysbp',
        projectName: 'sdm',
        entry: 'src/single-spa-index.tsx',
        outputFilename: 'single-spa-build.js',
      },
    },
  ],
};

I am expecting it to create a single-spa-build.js but it gives me the above error.
Also while I have you here am I understanding correctly that if I go
"start:single-spa": "craco start --config craco-single-spa.config.js", if should serve said js file on port 3000? Or is that incorret?

Thank you for additional details. I have tried a couple of different situations but still wasn't able to reproduce.
A couple more questions that occured to me:

Which OS are you using?
What NodeJS version?
Are you in a monorepo?
Can you share your package.json content?
Can you share a repo with the code reproducing the issue?

@felipeplets For me the same issue came up as soon as I try to import JSON file into any component by writing:
import STH from './test.json'
The error message says:
ERROR in ./src/App.tsx 7:0-30
Module not found: ValidationError: Invalid parser object. Json Modules Plugin has been initialized using a parser object that does not match the API schema.
 - parser has an unknown property 'system'. These properties are valid:
   object { parse? }

<EMAIL_ADDRESS>This configuration should be deleted.
You can try https://github.com/fupengl/react-app-rewired-single-spa, compatible with wp5.

Thank you @orkisz and @fupengl. I was able to reproduce the error  and fix it.
Just released version 2.0.1 of the library with the fix. Please folks let me know if you find any other issues.

@felipeplets - Great job!
Just to confirm I tried creating a new react app and retrying with the same config and everything worked great. 🎉
It seems Webpack incorrectly throws this error when building for production as it is set to bail on error when not in development mode. So this error is somewhat of a red herring and has nothing to do with your wonderful plugin. Seems it was actually type errors that caused the TSC to fail and by extension Webpack.

Amazing! Thank you for confirming it @dbgordon09 and for helping make the plugin better.

@felipeplets I've just upgraded, everything works like a charm! Thank you :)


Fix runtimes download after iOS18/cryptexDiskImage introduction

see https://github.com/XcodesOrg/xcodes/issues/368

duplicate of https://github.com/XcodesOrg/xcodes/pull/370


Split up so Benchmarks is a separate package.

Gets tricky with keeping version low.

An alternative is to branch and create 1.x packages for roslyn 1.x and 2.x packages for roslyn 2.x


Showing discount to variant of config products for which catalog rule applied only.

Issue Reference
#6406

@papnoisanjeev
Not working The actual price is not visible please find the screenshot Here

@Sanjaybhattwebkul
As discussed and checked update working as expected.
Please re-test it again with master branch or latest release.

@papnoisanjeev
Not working properly,

@papnoisanjeev
Now this is working fine, Please find the screenshot Here


kotlin-native

Project description
Kotlin Native backend (LLVM), tools (example, cinterop) and std library.
Metadata

homepage URL: https://kotlinlang.org/docs/native-overview.html
source URL: https://github.com/JetBrains/kotlin
license: Apache 2
platforms: Linux-x86, Darwin-{x86, AArch64}, Windows NT-x86

This issue is mainly to talk a bit about the inclusion before sending a merge request. I think there are 3 options and I am not familiar enough with nixpkgs conventions (or if no conventions exist what the current maintainers would prefer):
a) Include it in the default kotlin package with a flag or as a subexpression.
b) Include it alongside the default kotlin package (pkgs/development/compilers/kotlin/native.nix) as a separate package on top-level.
c) Include it as another compiler separate from the current kotlin package (pkgs/development/compilers/kotlin-native/default.nix)

Duplicate of #94627


Update Composer dependencies (2024-04-20-00-10)

Visual regression test passed!
View the visual regression test report


lxd registry is not reachable.

I understand, now LXD remote images wont be part of LXD, and third party tool will be used for managing images from remote servers.
I was thinking, and reusing my code for building that third party tool for remote image management.
But https://registry.linuxcontainers.org/ is unreachable. Will such registry wont be part of official protocol for LXC images?

Hi,
The registry isn't needed anymore as it was a way to aggregate remote image servers for the client. As the client no longer knows about those, the server wasn't needed anymore.
Instead what will replace that mechanism is:

The https://images.linuxcontainers.org itself will start offering a minimal version of the LXD API to act as an image server which LXD can use.
We'll have a few scripts in the main LXD tree which will pull cloud images (or similar minimal images) for a set of Linux distributions, convert them to be valid LXD images (per specs/image-handling.md) and push them to LXD's image store.


Simplify worker setup

This involved a lot of tasks that can be summarized to a few
elements.
It should be easier to read now.

@kantarun opinion there?

I will bring auto bootstrapping of a correct ansible version into run.sh in a different commit.

What is the status of this?

Done.


New helper class QueueToDeviceMap.

Shared between the frame_time and runtime layers, without growing the
LayerData class. Intend to use also for the memory_usage layer. Also
fix runtime layer to use separate type-safe maps for VkCommandBuffer
and VkQueue, rather than a map keyed by void*.

Hi @nisse-work,
I opened a PR for what I suggested in the previous comment: https://github.com/googlestadia/performance-layers/pull/41. Could you see if it makes sense from the perspective of the memory usage layer?

The changes in pr #41 makes this a lot simpler. Nice!


SOA issues

Create an SOA record within the domain template.
The new domain selection template does not take effect.
template：https://imgchr.com/i/iMUoY6
domain：https://imgchr.com/i/iMUXmd

Your pictures doesnt work....
However i found sth different: (belongs to SOA too)
-> if you add/modify a record --> Serial gets updated
-> if you just delete a record  --> Serial doesnt update
Cheers :-)


Publish Visual Studio Extension task

[x] New Publish Visual Studio Extension task
[x] Re-use existing infrastructure, access tokens, service connections etc
[x] Make the UI a close as possible to the existing Publish task
[x] First version would publish as-is.
[x] Set the correct Demands
[x] Optionally use vswhere to detect the location of the Visual Studio SDK.
[x] Fixes #103
[x] Clearly, mark the task as Preview.
[ ] Create a Tool Installer task to install the vsix publisher executables and dependencies (Use the Nuget package to fetch the tools on demand)

This task uses VSIXPublisher to publish Visual Studio extension to Marketplace.
Screenshot:

This change is

Looks like we have out first bug report :).


crypto/libsodium: fix libsodium compilation warning

Summary
fix libsodium compilation warning with missing configuration
Impact
N/A
Testing
ci

[Experimental Bot, please feedback here]
This PR does not meet the NuttX requirements.
Here's why and how to fix it:

Summary:

While it mentions a compilation warning fix, it lacks specifics:

What warning exactly was addressed? (Provide the warning message)
Which part of libsodium's configuration was missing?
How was this missing configuration causing the warning?

Impact:

N/A is rarely acceptable. Even minor fixes can have some impact:

Build: Did the fix change any build flags, dependencies, etc.?
Compatibility: Does it affect specific libsodium versions?
Documentation: Might the fix warrant a minor documentation update (even a single line in a README)?

Testing:

"ci" is not sufficient.  Provide:

Specific build host details: OS, CPU architecture, compiler version
Target details:  If this is for a simulator, which one? If real hardware, specify the board and configuration.
Relevant log snippets: Don't just dump entire logs. Extract the lines showing the warning before the fix and its absence after.

In short, provide the necessary context and details to make the PR informative and reviewable.


JavaDoc shows raw HTML for Recipient class

From the GitHub README link to the JavaDoc, then click on Recipient class, the raw HTML shows up in the frame (all the other classes render properly).

The entire javadoc doesn't work properly in GitHub. I don't how to host that properly here. The only way it can work is by hosting it somewhere else...

OK, I get it. No problem. I love what you've started here.

Actually, I expected to find it on javadoc.io, but it's not picking up the release in maven central for some reason. I'll mail the maintainer there.

Yay: http://www.javadoc.io/doc/org.codemonkey.simplejavamail/simple-java-mail/2.5.1
I will update the Readme shortly

Awesome! Thank you.
And thanks again for building this package. I set up on SSH through Gmail in a jiffy.
I had to go into my Gmail account and turn on the setting "Allow for less secure apps” (something like that), and then it worked.

Cody

From: Benny Bottema <notifications<EMAIL_ADDRESS>Reply-To: bbottema/simple-java-mail <reply<EMAIL_ADDRESS>Date: Monday, February 22, 2016 at 9:58 PM
To: bbottema/simple-java-mail <simple-java-mail<EMAIL_ADDRESS>Cc: Cody Burleson <cody.burleson<EMAIL_ADDRESS>Subject: Re: [simple-java-mail] JavaDoc shows raw HTML for Recipient class (#27)
Yay: http://www.javadoc.io/doc/org.codemonkey.simplejavamail/simple-java-mail/2.5.1
I will update the Readme shortly
—
Reply to this email directly or view it on GitHubhttps://github.com/bbottema/simple-java-mail/issues/27#issuecomment-187552223.

I had to go into my Gmail account and turn on the setting "Allow for less secure apps” (something like that), and then it worked.

Yeah, I have two-factor login turned on for gmail and have to create a special per-app password to make mailing work.

Updated the javadoc references on the manual page!


[.NET] Need to clean up hardcoded constants

e.g. AdaptiveCardConverter.cs

also needed in both .NET renderers


Enhance Search Module PLZ!

Is your feature request related to a problem? Please describe.
The current search function cannot find codes in the database, etc.
Describe the solution you'd like
Refer to oracle sql developer 'Find database objects'

Describe alternatives you've considered
...
Additional context
...

thanks for the suggestion.
Closed as duplicate of #2443


Add default Mac application menu

I noticed the default app menu on Mac was missing so I added it.
All Mac apps generally have this menu, allows to hide the app with the
default shortcut.

Thanks! Could you run npm run prettify? Codes will be formatted.

@yuya-oc done :)


Older style curve's start property

In the older style curves, ie Tw2RotationCurve most have a start property which doesn't seem to do anything, and seems to be always 0.
Is this supposed to be the startValue as found in the new curves, or is the start property the key that the animation should begin at, and is read and handled externally to the curve, and the start value must be created as a key at 0 time?
Cheers.

example:

/**
 * Tw2RotationCurve

 * @property {string} name
 * @property {number} start
 * @property {number} length
 * @property {quat} value
 * @property {number} extrapolation
 * @property {Array.<Tw2QuaternionKey>} keys
 * @property {number} _currKey
 * @constructor
 */
export class Tw2RotationCurve extends Tw2EventEmitter
{
    constructor(name = '', startValue = quat.create())
    {
        super('curve');
        this.name = name;
        // starting key, or starting value?
        this.start = 0;
        this.length = 0;
        this.value = quat.clone(startValue);
        this.extrapolation = 0;
        this.keys = [];
        this._currKey = 1;
    }

  .....

  /**
     * Gets a value at a specific time
     *
     * @param {number} time
     * @param {quat} [value=quat.create()]
     * @returns {quat}
     */
    GetValueAt(time, value=quat.create())
    {
        // Return the default value [0,0,0,0] and no start value is ever retrievable
        // after keys are added, or should this return `this.start` which should be a vec4
        if (this.length == 0) return quat.copy(value, this.value);

        var firstKey = this.keys[0];
        var lastKey = this.keys[this.keys.length - 1];
        if (time >= lastKey.time)
        {
            switch (this.extrapolation)
            {
                // return current value or `this.start`?
                case (Tw2RotationCurve.Extrapolation.NONE):
                    return quat.copy(value, this.value);

                case (Tw2RotationCurve.Extrapolation.CONSTANT):
                    return quat.copy(value, lastKey.value);

                default:
                    time = time % lastKey.time;
            }
        }
        else if (time < 0 || time < firstKey.time)
        {
            switch (this.extrapolation)
            {
                case(Tw2RotationCurve.Extrapolation.NONE):
                    return quat.copy(value, this.value);

                default:
                    return quat.copy(value, firstKey.value);
            }
        }


Add your web dev projects

Hey! Welcome to our repo, here you can contribute by adding your projects or by contributing to existing projects
While adding new projects make sure to check the pattern followed in the repo for HTML, CSS and JS files.
For e.g
Html files should be added in public folder with name .html
CSS files should be added in assets/css with name .css
JS files should be added in assets/Js with name .js (If available)
Make sure to attach a gif/ss showcasing your project
Create a new issue for adding projects

I have added a pull request of a resume builder i made using vanilla JS

is it ok if i add more projects or is there a limit that i can add only one project ?


An error occurred when decoding using the retrained model

Deer RenYang:
Recently, there was an error that bothered me a lot. I retrained a network based on tensorflow-gpu==1.15.0 and tensorflow-compression==1.3, and neither the training process nor the encoding process was abnormal. However, when decoding was performed, the following errors occurred. It showed that I lacked Key MV_synthesis/layer_0/signal_conv2d/bias in checkpoints. I've printed the checkpoints I've taken, and there's no Key MV_synthesis/layer_0/signal_conv2d/bias, Instead, there are some similar MV_synthesis/layer_0/signal_conv2d_4/bias/Adam_2 and MV_synthesis/layer_0/signal_conv2d_4/bias/Adam_4, But I don't know why this is happening. I did not change any code but changed the environment. Can you tell me the reason why this error occurred? By the way, only 280,000 iterations were trained, could this be the cause of the error? Thanks a lot!
 error: `Traceback (most recent call last):

File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1365, in _do_call
return fn(*args)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1350, in _run_fn
target_list, run_metadata)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1443, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.NotFoundError: Key MV_synthesis/layer_0/signal_conv2d/bias not found in checkpoint
[[{{node save/RestoreV2}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 1290, in restore
{self.saver_def.filename_tensor_name: save_path})
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 956, in run
run_metadata_ptr)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1180, in _run
feed_dict_tensor, options, run_metadata)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1359, in _do_run
run_metadata)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/client/session.py", line 1384, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: Key MV_synthesis/layer_0/signal_conv2d/bias not found in checkpoint
[[node save/RestoreV2 (defined at /home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
Original stack trace for 'save/RestoreV2':
File "OpenDVC_test_video_decoder.py", line 89, in
saver = tf.train.Saver(max_to_keep=None)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 828, in init
self.build()
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 840, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 878, in _build
build_restore=build_restore)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 508, in _build_internal
restore_sequentially, reshape)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 328, in _AddRestoreOps
restore_sequentially)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 575, in bulk_restore
return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_io_ops.py", line 1696, in restore_v2
name=name)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
op_def=op_def)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
attrs, op_def, compute_device)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
op_def=op_def)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 1748, in init
self._traceback = tf_stack.extract_stack()
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 1300, in restore
names_to_keys = object_graph_key_mapping(save_path)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 1618, in object_graph_key_mapping
object_graph_string = reader.get_tensor(trackable.OBJECT_GRAPH_PROTO_KEY)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/pywrap_tensorflow_internal.py", line 915, in get_tensor
return CheckpointReader_GetTensor(self, compat.as_bytes(tensor_str))
tensorflow.python.framework.errors_impl.NotFoundError: Key _CHECKPOINTABLE_OBJECT_GRAPH not found in checkpoint
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "OpenDVC_test_video_decoder.py", line 92, in
saver.restore(sess, save_path=model_path)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 1306, in restore
err, "a Variable name or other graph key that is missing")
tensorflow.python.framework.errors_impl.NotFoundError: Restoring from checkpoint failed. This is most likely due to a Variable name or other graph key that is missing from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
Key MV_synthesis/layer_0/signal_conv2d/bias not found in checkpoint
[[node save/RestoreV2 (defined at /home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py:1748) ]]
Original stack trace for 'save/RestoreV2':
File "OpenDVC_test_video_decoder.py", line 89, in
saver = tf.train.Saver(max_to_keep=None)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 828, in init
self.build()
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 840, in build
self._build(self._filename, build_save=True, build_restore=True)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 878, in _build
build_restore=build_restore)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 508, in _build_internal
restore_sequentially, reshape)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 328, in _AddRestoreOps
restore_sequentially)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py", line 575, in bulk_restore
return io_ops.restore_v2(filename_tensor, names, slices, dtypes)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/ops/gen_io_ops.py", line 1696, in restore_v2
name=name)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper
op_def=op_def)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op
attrs, op_def, compute_device)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal
op_def=op_def)
File "/home/ai/anaconda3/envs/tf115/lib/python3.6/site-packages/tensorflow_core/python/framework/ops.py", line 1748, in init
self._traceback = tf_stack.extract_stack()`

I also encountered a similar problem, the error report showed that I could not find the key value in the code based on tensorflow-gpu=2.8.0

Sorry for the late reply.
It seems that the network has a variable MV_synthesis/layer_0/signal_conv2d/bias, however, your trained model doesn't contain it. In theory this shouldn't happen, since the network should contain the same trainable variables in training and inference. I would recommend you printing out all variable names during both training and inference, and check whether it is missed anywhere.


Prepare elemental local plan demo

Prepare and documenta elemental local plan demo
Initial work was already done https://github.com/rancher-sandbox/elemental-example-plan

I have submitted fix https://github.com/rancher-sandbox/elemental-example-plan/pull/1/

There were two recording made and shared among the team


Fix governance meeting link with tockify meeting link

Signed-off-by: dankingkong<EMAIL_ADDRESS>Updated the link as per https://github.com/cncf/tag-contributor-strategy/issues/197

@carolynvs my first pull request. Fixing one link, working on the rest.


Update: -add per dimension to clarify table

@logmanPL : Thanks for your contribution! The author, @mikeblome, has been notified to review your proposed change.


Shift + Click does not create a selection

Testing #119118

on macOS
click on a markdown cell
shift+click on another markdown cell
I would have expected this to create a selection, like it does in Finder.
I think right now I must use the keyboard to do multiple selections

Tested that it doesn't reproduce with builtin markdown with "notebook.experimental.useMarkdownRenderer": false in settings.

Duplicate of #119515 I believe


round tripping "state" is missing

additionally i spitted the confusing "state" property in xResponse.ts class used as state id query parameter and the optional custom state passed by the user.

For the public API (request + User):

state is the optional custom state

in xResponse classes:

state is the query response state=id -> id
state_data is the optional custom state

@pamapa docs/oidc-client-ts.api.md will conflict quite often. What is the purpose of this file in general?
In an case, to resolve that conflict this PR needs a rebase.

@pamapa docs/oidc-client-ts.api.md will conflict quite often. What is the purpose of this file in general?
In an case, to resolve that conflict this PR needs a rebase.

rebase is easy...


Loss in run_gen.py

Hi, I am trying to figure out how the loss is calculated, for example here. I assume it is some distance between generated_ids and target_ids with attention_masks, but could you point it out how the code and formula look like? Thank you very much!

HI, as CodeT5 is adapted from Huggingface's T5 implementation, you should refer to official documentations like here.


Update Azure AD Domain Services

It is listed in the Portal as Azure AD Domain Services, not Azure Active Directory Domain Services

@SvenAelterman : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off @SvenAelterman thank you!


CPL with multiple CDCIEssenceDescriptors

I tried to validate a CPL that has two CDCIEssenceDescriptors using IMPAnalyzer and it returned the following error:
"This Composition represented by the ID ae9213b1-01bf-4ffa-b113-a3f6d80ad46d is invalid since the VirtualTrack represented by ID dd48d8f3-
044a-4c2f-9e69-b3b07c3ae866 is not homogeneous based on a comparison of the EssenceDescriptors referenced by its resources in the
Essence Descriptor List, the EssenceDescriptors corresponding to this VirtualTrack in the EssenceDescriptorList are as follows"
The only fields that differ between the two essence descriptors are:
urn:uuid:8c5a652a-90f5-4647-34d4-6eebc28bd049
<m:EssenceLength>50</m:EssenceLength>
<m:InstanceID>urn:uuid:0751e8d6-5c0e-4e87-98bb-811c91bd0b95</m:InstanceID> (in JPEG2000SubDescriptor)
<m:InstanceID>urn:uuid:7efa6d75-4e26-4b8c-f53f-c32fe26f16f1</m:InstanceID> (in CDCIDescriptor)
<m:LinkedGenerationID>urn:uuid:f1529db5-a081-4d27-adb2-9661f0f5377e</m:LinkedGenerationID>
I would expect these fields to be different since the essence descriptors come from two different track files. Should this be an error?

We have addressed this issue with this commit:
Please give a try with the latest version of Photon (4.1.2) and let us know if the issue is still seen.

Yes. That seems to fix the issue.


update meeting notes

What type of PR is this?
Add one of the following kinds:

bug
correction
enhancement/feature
cleanup
documentation
subproject management
tests

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:
Changelog input
 release-note

Additional documentation
This section can be blank.
docs

You might want to consider to use the wiki.camaraproject.org for meeting minutes. If you are interested, please ask Casey Cain (@wrathwolf, <EMAIL_ADDRESS>to setup your page properly for that.

Yes, will later open an issue to do the wiki initialization maintainance.


flip interpolator as probes; fixes #572

For #572.
This is quite one-sided, basically moving everything to the new flipped version; most of the work does seem to be related to the abscissæ (element_finder, invF, gbasis) rather than the ordinates.  Maybe interpolator is now just for backward-compatibility?

Looks good. Can you remove those empty png files?

skfem/assembly/basis/interior_basis.py:146: error: Item "None" of "Optional[Any]" has no attribute "flatten"

I don't understand this one.

This will fix it:
modified   skfem/element/discrete_field.py
@@ -8,7 +8,7 @@ from numpy import ndarray
 class DiscreteField(NamedTuple):
     """A function defined at the global quadrature points."""

-    value: Optional[ndarray] = None
+    value: ndarray
     grad: Optional[ndarray] = None
     div: Optional[ndarray] = None
     curl: Optional[ndarray] = None

I think we always want to have at least value when creating DiscreteField?
Another option would be to check the contents of phis before using it but I think the above change is completely fine. At least all tests run if you apply the change.

I think we always want to have at least value when creating DiscreteField?

I think so.   I can't think of a counterexample; were one to arise I guess the value could have zero components? Anyway I won't worry about that bit.
The bit that I didn't understand though was that I don't think that this was triggered by anything I added or deleted; the .flatten() was already there.  Anyway, I won't worry about that either.
I would quite like to get rid of the for-loop.  I'll take the opportunity to look at that.  (Unless there's a reason for it.)

The bit that I didn't understand though was that I don't think that this was triggered by anything I added or deleted; the .flatten() was already there. Anyway, I won't worry about that either.

I have noticed that mypy seems to spot these mistakes very randomly. The change, for an unknown reason, allowed mypy to detect the typing mistake.

Ah, O. K., thanks.  I should study mypy; I know it's newish but it is very good to have any kind of support for types in numerical Python.

I would quite like to get rid of the for-loop.

https://github.com/kinnala/scikit-fem/blob/8763b9e415035acb8de406bd7e35ba89d7290f29/skfem/assembly/basis/interior_basis.py#L144-L146
I think this also unnecessarily restricts InteriorBasis.interpolator to scalars;
https://github.com/kinnala/scikit-fem/blob/8763b9e415035acb8de406bd7e35ba89d7290f29/skfem/assembly/basis/interior_basis.py#L143
In an example like gdmcbain/fenics-tuto-in-skfem#26, referred to in #572, one might well want to interpolate the velocity rather than the pressure; a more general NumPy sum might facilitate that generalization.


Firebase plan was downgraded from Blaze to Spark. Investigate if this is a problem.

Our pricing plan for Firebase was downgraded from Blaze to Spark today (10/12/2020). See firebase pricing.
We need to find out why this was changed and more importantly whether we need to change back again.

Given the following:

All our Cloud Functions are for node 10
The Spark plan does not support node 10 Cloud Functions - the Blaze plan does
The Spark plan provides free quotas but grinds to a halt once quotas have been exceeded
The Blaze plan provides the same free quotas as the Spark plan and then charges (pay-as-you-go) once quotas have been exceeded

It would appear we should move back to the Blaze plan.
Note
It looks like the reason for the downgrade was the ending of our trial / change in billing details. So not a change we intended to make, just a mechanism to get us to update our details.

@Rebecca-mcknight1991 @joy-ade please can you get our plans upgraded.
Select the correct project from the dropdown at the top of the screen (in this case Platform Production) then click the Upgrade button (bottom left of screen)

Select the Blaze plan

This will take you to Google Cloud Console where you'll be asked to confirm billing account and details.
This same upgrade will be needed for 'Platform - Production' and 'Platform - Staging'


fix: fixes proxmox_storage_iso temp dir path

This PR fixes the proxmox_storage_iso resource by replacing the hardcoded /tmp path with a cross-platform temporary dir using os.TempDir().
proxmox_storage_iso was broken on windows machines.

@Stankye Thanks for your contribution.


Create toa-gear-check

Plugin that adds a side panel that displays the gear of people applying to a party in ToA.

Don't use enabledByDefault = false, it's confusing for users to install a plugin and have it not be active immediately.


Flutter cold start is slowly in some low-end Android devices

After we use Flutter in our app, we found that the performance of cold start is not good as we expected. After I read the code of startup, I think there is room for improvement.
I discover that there is a latch between platform thread and ui thread when create Shell. These threads are always very busy when startup especialy in large complex app. The latch will slow it down, even produce  ANR. So I have tried remove the latch in PR https://github.com/flutter/engine/pull/8489.
We have used this patch online, I make sure that is effective. Our first frame time of cold start is almost 2 times earlier than before.
Hope the PR will help you find a effective way for boost startup.

mark

Spoke with customer "headline" that this issue no longer is a priority for them.

@liyuqian

If this is specific to add-to-app, there's a PR in review https://github.com/flutter/engine/pull/17192 that also claims ~2x speedup. I noticed that the original PR https://github.com/flutter/engine/pull/8489 for this issue has been closed since we haven't heard back from the author for a while. Meanwhile, Aaron does land something similar in https://github.com/flutter/engine/pull/10182.

I assume this is the main-thread cost of pre-warming the engine and the request is for async engine starts?

I believe so.

Keeping this issue open based on recent above activity and comments.


[naoqi_apps] (wip) add node and launch for ALListeningMovement

This is for http://doc.aldebaran.com/2-4/naoqi/interaction/autonomousabilities/allisteningmovement-api.html#allisteningmovement-api.
memo:

It needs SetEnabled.srv in https://github.com/ros-naoqi/naoqi_bridge_msgs/pull/30
IsActive.srv is in ALTracker related pull-request, (https://github.com/ros-naoqi/naoqi_bridge_msgs/pull/27)
and I'm thinking that I have to rename it for general use.
It is something wrong with isRunning method.

rosservice call /listening_movement_is_running
[ERROR] [WallTime:<PHONE_NUMBER>.759069] Error processing request: proxy_isRunning() takes exactly 2 arguments (1 given)
['Traceback (most recent call last):\n', '  File "/opt/ros/indigo/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 623, in _handle_request\n    response = convert_return_to_response(self.handler(request), self.response_class)\n', '  File "/home/kochigami/catkin_ws/src/naoqi_bridge/naoqi_apps/nodes/naoqi_listening_movement.py", line 66, in handleIsRunningSrv\n    res.status = self.listeningMovementProxy.isRunning()\n', '  File "/home/kochigami/naoqi/pynaoqi-python2.7-<IP_ADDRESS>-linux64/inaoqi.py", line 326, in isRunning\n    def isRunning(self, *args): return _inaoqi.proxy_isRunning(self, *args)\n', 'TypeError: proxy_isRunning() takes exactly 2 arguments (1 given)\n']

SetEnabled.srv in ros-naoqi/naoqi_bridge_msgs#30
replaced by std_srvs/SetBool based on the advice in https://github.com/ros-naoqi/naoqi_bridge_msgs/pull/30

IsActive.srv
replaced by std_srvs/Trigger

isRunning
I deleted it.

Thank you!


graphene fails to build (meson)

graphene 1.6.0
meson 0.41.1
glib 2.53.2
gobject-introspection 1.53.2
Ubuntu 17.10 Alpha
The meson build of graphene is no longer working but it built successfully previously.
Installing /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/graphene-gobject-1.0.pc to
 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig
Building documentation for graphene

Error in gtkdoc helper script:
'gtkdoc-scangobj' failed with status 127
./graphene-scan: error while loading shared libraries:
 libgraphene-1.0.so.0: cannot open shared object file: No such file or directory
Scan failed:

Full build log

This seems like a Meson issue.

Mmh, strange. I can't reproduce locally.
Which version of gtk-doc are you using?

gtk-doc 1.25-7ubuntu1 (There hasn't been a new gtk-doc release in a while.)

It's also 1.6.0, so it may be missing some of the commits that went into master. I'll try and reproduce locally.

meson 0.41 broke stuff so my first guess is meson too.

Laney says that the build works with meson master

I'll probably bump up the dependency in the graphene-1-6 branch, and spin a new release.

This was fixed by using meson 0.41.1 and cherry-picking this commit:
https://github.com/mesonbuild/meson/pull/1966/commits/6bc14424b
Feel free to close this issue if you like.

Graphene now requires Meson 0.43.1, so we can close this.


Unable to run gcloud commands with non-root container user

I'm experiencing an issue while attempting to execute gcloud commands with a non root container user. The issue appears to stem from restricted access to /var/run/secrets/sts.googleapis.com/serviceaccount/..data/token. This particular path needs to be accessible for gcloud commands to function properly. The problem persists even when I include the annotation cloud.google.com/gcloud-run-as-user in the service account.

Cloud you please share the details of your gcp-workload-identity-federation-webhook deployment (version, args, etc.) and ServiceAccounts and pods with which you are experiencing the issue, so that we can try to reproduce it?

Webhook's version: 0.4.1
I've verified the workload identity pool and provider are working properly and was able to access resources with a container that runs as root.
Using the same  working pool, provider and GSA, I've created a new KSA to support running a pod with a non-root container user and verified the correct ID for the non-root user.
Below is the KSA & Pod manifest file
# GSA has access to bucket `foo-gcs` and can read the secret file
# gcloud storage cat gs://foo-gcs/secret
# KSA Manifest
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: sa-foo
  namespace: default
  labels:
    app: wif-bar
  annotations:
    cloud.google.com/workload-identity-provider: "correct-identity-provider"
    cloud.google.com/service-account-email<EMAIL_ADDRESS>    cloud.google.com/audience: "correct-audience"
    cloud.google.com/injection-mode: "gcloud"
    cloud.google.com/gcloud-run-as-user: "1001"

# Pod Manifest
---
apiVersion: v1
kind: Pod
metadata:
  name: sa-foo
  namespace: default
  labels:
    app: wif-bar
spec:
  serviceAccountName: sa-foo
  containers:
  - name: gcloud-kubectl
    image: foobar-image-with-non-root-user
    command: ["/bin/sh"]
    args: ["-c", "gcloud storage cat gs://foo-gcs/secret && while true; do echo 'keep alive'; sleep 10; done"]

logs from the following container return:
ERROR: gcloud crashed (PermissionError):   [Errno 13]  Permission denied: '/var/run/secrets/sts.googleapis.com/serviceacount/token'

Hi, I would like to check in on this issue. I am currently still unable to run non-root containers using this webhook.

Sorry for late response.

logs from the following container return:
ERROR: gcloud crashed (PermissionError):   [Errno 13]  Permission denied: '/var/run/secrets/sts.googleapis.com/serviceacount/token'

What is the container's UID?
I guess setting cloud.google.com/gcloud-run-as-user annotation value to the UID might work.

Thanks for your respond @ordovicia , I've already included the correct UID for the container in the above manifest     cloud.google.com/gcloud-run-as-user: "1001" but the issue persists ):
Are you able to reproduce?

Just checking in to see if theres any update on this?


Clarify that unions are allowed in JSON.mapping

For reference: question about this on SO
Besides fixing the obvious mistake it would also be great to clarify the behaviour regardin union types.

It's not true that an alphabetical order is used. First the primitive ones are used https://github.com/crystal-lang/crystal/blob/master/src/json/from_json.cr#L192
and the the alphabetical of non primitives is used (but mainly as a side effect of how unions are stored)

@bcardiff I'm half tempted to use the dreaded words "implementation-defined behaviour" to describe the order...


Add code coverage update

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@741ae1e). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #12   +/-   ##
=======================================
  Coverage        ?   27.71%
=======================================
  Files           ?      290
  Lines           ?    30114
  Branches        ?        0
=======================================
  Hits            ?     8346
  Misses          ?    21768
  Partials        ?        0

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 741ae1e...b2f6e1d. Read the comment docs.


[BUG]: remove all warnings

[x] Would you like to take up this task?
[x] Are you from GSSoC'23?

Screenshots (if any)

Please provide any necessary screenshots to illustrate.

@sourabhsikarwar  Assign it to me


 leads to crash in production build

Preflight checklist

[X] I could not find a solution in the existing issues, docs, nor discussions.
[X] I agree to follow this project's Code of Conduct.
[X] I have read and am following this repository's Contribution Guidelines.
[X] I have joined the Ory Community Slack.
[ ] I am signed up to the Ory Security Patch Newsletter.

Ory Network Project
jolly-antonelli-gs7stzrg5w
Describe the bug
Using your <IntlProvider> component works well in a dev build but not in an optimized production build. The error I keep getting is this:

When I use the <IntlProvider> from  'react-intl' then there is no problem, but I no longer have the option to override ory error messages, which I now have to do.
Reproducing the bug
Setup a nextjs project, use any ory element that is wrapped in a <IntlProvider> from '@ory/elements' component. Create a production build like next build and run next start. Open the website with the ory element on it -> client-side crash.
Relevant log output
Failed to load resource: the server responded with a status of 401 (Unauthorized)
8041-ac529177d55d32fd.js:19 TypeError: (intermediate value)(intermediate value)(intermediate value) is not a function
    at memoize (ceb6948a-f5b67890939b9aa6.js:5:62014)
    at createFormatters (ceb6948a-f5b67890939b9aa6.js:16:1330)
    at createIntl$1 (ceb6948a-f5b67890939b9aa6.js:26:119)
    at createIntl (ceb6948a-f5b67890939b9aa6.js:26:4026)
    at new t (ceb6948a-f5b67890939b9aa6.js:26:4634)
    at lC (fd9d1056-92f9772659382b4a.js:1:55121)
    at lW (fd9d1056-92f9772659382b4a.js:1:60010)
    at iZ (fd9d1056-92f9772659382b4a.js:1:118352)
    at ia (fd9d1056-92f9772659382b4a.js:1:95507)
    at fd9d1056-92f9772659382b4a.js:1:95329
    at il (fd9d1056-92f9772659382b4a.js:1:95336)
    at oJ (fd9d1056-92f9772659382b4a.js:1:92692)
    at nb (fd9d1056-92f9772659382b4a.js:1:27178)
    at nw (fd9d1056-92f9772659382b4a.js:1:27916)
    at fd9d1056-92f9772659382b4a.js:1:28950
(anonymous) @ 8041-ac529177d55d32fd.js:19

Relevant configuration
No response
Version
"@ory/client": "^1.15.0",     "@ory/elements": "^0.5.0",

On which operating system are you observing this issue?
Ory Network
In which environment are you deploying?
Ory Network
Additional Context
No response

I can't reproduce this issue. Could you provide a minimal reproduction, e.g. some code, that you used to trigger this?

@jonas-jonas I was able to reproduce the bug within a default next.js project. Here is a proof of concept: https://github.com/janoschp/ory-elements-bug-proof-of-concept . Run next build & next start and open http://localhost:3000 to see it. This bug does not occur when running next dev.

You can also try replacing the <IntlProvider> provided by "@ory/elements" by using the library "react-intl": "^6.6.8" and importing their <IntlProvider>, which will make the bug disappear.

@jonas-jonas could you reproduce the bug with my code?

I was able to reproduce the issue with your example @janoschp, thank you for submitting this. For now I do not have a clear solution for this bug, I'll be checking few other options and will let you know if it's fixed. For now it seems like bundling the library itself is a problem.

Any progress on this?

I looked into this issue, and agree with @mszekiel that it is probably something with the bundling process? For some reason, the argument passwed to react-intl is an object and not a function, which may happen if we target for the wrong bundle? I'm not sure.
I've suuplied a PR to upgrade react-intl, in the hopes that it will just solve the issue, but I wouldn't bet on it ;)

Can someone in this thread please check if upgrading react-intl helps?

Any update on this?
I confirm the solution @janoschp mentioned works: replacing IntlProvider of Ory Elements by the one of react-intl (version 7.0.1 in my case) allows to build without the issue. Only thing is we can't pass customTranslations.


New package: DistributedFluxML v0.1.0

Registering package: DistributedFluxML
Repository: https://github.com/asaxton/DistributedFluxML.jl
Created by: @asaxton
Version: v0.1.0
Commit: f9586ab54da232b7c19d2f7394dd2e0f1be71a4c
Reviewed by: @asaxton
Reference: https://github.com/asaxton/DistributedFluxML.jl/commit/f9586ab54da232b7c19d2f7394dd2e0f1be71a4c#commitcomment-101506387

[noblock] This does have a similar name and functionality to another repo. However functionally DistributedFluxML uses Distributed.jl as its backend to share gradients and the other uses MPI.
Alternatively, I could rename this package to DistributedJLFluxML and technically meet all the requirements. But I feel like this is almost equally as confusing. What would the community prefer? Rename to DistributedJLFluxML or keep it DistributedFluxML?


Compatibility Python 3.8

/home/users/me/Dev/h5netcdf/h5netcdf/dimensions.py:1: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import MutableMapping

I didn't try to keep the compatibility with Python 2.7 since we are in July 2019 (see https://python3statement.org/).

Thanks for the PR!
Dropping Python 2.7 is fine (we could drop Python 3.4, too), but please also remove it from our CI setup so tests can pass:
https://github.com/shoyer/h5netcdf/blob/master/.travis.yml
Also it would be great to add python_requires into our setup.py file:
https://github.com/shoyer/h5netcdf/blob/master/setup.py
(should also drop the "Classifiers" for Programming Language :: Python :: 2')

Thanks for your comments. It should be better now!
I read that having
if sys.version_info[:2] < (3, 5):
    raise RuntimeError('Python version >= 3.5 required.')

is a good practice to fail early.


Add CRAN package registry

This PR adds a CRAN package registry.

Codecov Report

Merging #22331 (6dfd20f) into main (6ff5400) will increase coverage by 47.27%.
The diff coverage is 76.17%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##           main   #22331       +/-   ##
=========================================
+ Coverage      0   47.27%   +47.27%
=========================================
  Files         0     1154     +1154
  Lines         0   152403   +152403
=========================================
+ Hits          0    72049    +72049
- Misses        0    71864    +71864
- Partials      0     8490     +8490

Impacted Files
Coverage Δ

models/packages/package.go
44.37% <0.00%> (ø)

services/forms/package_form.go
0.00% <ø> (ø)

modules/packages/cran/metadata.go
71.85% <71.85%> (ø)

routers/api/packages/cran/cran.go
72.81% <72.81%> (ø)

models/packages/cran/search.go
94.82% <94.82%> (ø)

models/packages/descriptor.go
69.40% <100.00%> (ø)

modules/setting/packages.go
87.23% <100.00%> (ø)

routers/api/packages/api.go
90.80% <100.00%> (ø)

routers/api/v1/packages/package.go
88.82% <100.00%> (ø)

services/packages/packages.go
59.73% <100.00%> (ø)

... and 1144 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

SVG logo here needs some squaring.

I see the cropping had no effect on the output image, so fine anyways. My request was to make the source image square, but it seems our SVGO setup already correctly squares the output image.

BTW I just noticed my SVG squaring requests are bogus. This logo is square at the source, but GitHub renders it non-square. So it's a GitHub bug 😆.

@pat-s Is the block still relevant?


[11.x] Add namespace for make:trait and make:interface command

Please add a description to each PR 🙏

Sure.


[Docs] Remove dummy content and fix header issues

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[v] Have the files been linted and formatted?

What docs page needs to be fixed?
All
What is the problem?
From Docusaurus v2, hide_title: true frontmatter hides h1 title from their page.
Recent commits 264c21779f328093d6711d10f41140a35ca631dc and 757377326a48403203a44fa4d0f3b26072d002ea adds dummy content to work around this issue. But I recommend removing hide_title: true and using sidebar_label when we need it.

IIRC, this was a temporary thing that was resolve in the final 2.0 release. I think. I could be misremembering.
Anyways, it looks like everything matches up between the preview and live sites. Thanks!