Server will not start with Kafka client SSL failures

Possibly related to #5067
Describe the bug
With Kafka table receiving messages as expected and successfully writing through materialized views, restarts of the clickhouse-server daemon sometimes fail.
The only messages that appear in the clickhouse-server.err.log are:
2019.04.22 23:50:02.805504 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.certificate.location failed: No error
2019.04.22 23:50:02.806111 [ 1 ] {} <Error> Application: Failed to create consumer handle: ssl.certificate.location failed: No error
2019.04.22 23:51:53.390405 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.certificate.location failed: No error
2019.04.22 23:51:53.390904 [ 1 ] {} <Error> Application: Failed to create consumer handle: ssl.certificate.location failed: No error

Only known way to start server is to remove metadata files for Kafka tables, start server and recreate consumer views.
How to reproduce

ClickHouse server version 19.1.14 on CentOS Linux release 7.4.1708 (Core)

CREATE TABLE kafka_1
(
    hash String,
    date UInt64,
    time UInt64,
    ...
)
ENGINE = Kafka
SETTINGS kafka_broker_list = 'msg1.*.com, msg2.*.com ,msg3.*.com, msg4.*.com', kafka_topic_list = 'logs', kafka_group_name = 'clickhouse0', kafka_format = 'JSONEachRow', kafka_row_delimiter = '\n', kafka_skip_broken_messages = 1, kafka_num_consumers = 1;

Verify messages can be recieved by SELECT * LIMIT 1 from the above view.
Stop server with service clickhouse-server stop
Attempt to restart server with service clickhouse-server start
Note daemon is not running and see messages above emitted in logs

Expected behavior
Other nodes in this 4 node cluster start as expected and resume consuming messages

It appears that SSL failures can bring a running server down as well. Just observed a node that was previously ingesting messages stop without after emitting only these two messages into the logs:
2019.04.23 00:08:49.359147 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.certificate.location failed: No error
2019.04.23 00:08:49.392926 [ 1 ] {} <Error> Application: Failed to create consumer handle: ssl.certificate.location failed: No error

Switched to using Docker yandex/clickhouse-server:19.1.14, pointing to the same local data volumes and config.xml.
Upon starting containers, two started successfully, two emitted the following errors and terminated without any additional information:
2019.04.23 14:59:33.266127 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.certificate.location failed: No error
2019.04.23 14:59:33.290951 [ 1 ] {} <Error> Application: Failed to create consumer handle: ssl.certificate.location failed: No error

Entire clickhouse-server.err.log from other failed node:
2019.04.23 14:59:32.878876 [ 2 ] {} <Error> BaseDaemon: ########################################
2019.04.23 14:59:32.879034 [ 2 ] {} <Error> BaseDaemon: (from thread 24) Received signal Segmentation fault (11).
2019.04.23 14:59:32.879061 [ 2 ] {} <Error> BaseDaemon: Address: 0xf336190
2019.04.23 14:59:32.879074 [ 2 ] {} <Error> BaseDaemon: Access: read.
2019.04.23 14:59:32.879087 [ 2 ] {} <Error> BaseDaemon: Address not mapped to object.
2019.04.23 14:59:33.124787 [ 2 ] {} <Error> BaseDaemon: 0. /usr/bin/clickhouse-server(arena_dalloc_bin_junked_locked+0x86) [0x6d902e6]
2019.04.23 14:59:33.124846 [ 2 ] {} <Error> BaseDaemon: 1. /usr/bin/clickhouse-server() [0x6d88294]
2019.04.23 14:59:33.124858 [ 2 ] {} <Error> BaseDaemon: 2. /usr/bin/clickhouse-server() [0x6d8992f]
2019.04.23 14:59:33.124870 [ 2 ] {} <Error> BaseDaemon: 3. /usr/bin/clickhouse-server(tsd_cleanup+0x49) [0x6d8c559]
2019.04.23 14:59:33.124883 [ 2 ] {} <Error> BaseDaemon: 4. /lib/x86_64-linux-gnu/libpthread.so.0(+0x6408) [0x7fe1a7680408]
2019.04.23 14:59:33.124896 [ 2 ] {} <Error> BaseDaemon: 5. /lib/x86_64-linux-gnu/libpthread.so.0(+0x781b) [0x7fe1a768181b]

cat /var/log/clickhouse-server.err.log

2019.04.23 16:20:24.528645 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.ca.location failed: ../contrib/ssl/crypto/x509/by_file.c:254: error:0BFFF009:x509 certificate routines:CRYPTO_internal:PEM lib: , version = <IP_ADDRESS> (official build)
2019.04.23 16:20:26.364963 [ 1 ] {} <Error> Application: Failed to create consumer handle: ssl.ca.location failed: ../contrib/ssl/crypto/x509/by_file.c:254: error:0BFFF009:x509 certificate routines:CRYPTO_internal:PEM lib:

docker ps | grep clickhouse
1962a262e316        yandex/clickhouse-server:<IP_ADDRESS>                                                                 "/entrypoint.sh"         47 minutes ago      Up 17 minutes                           clickhouse19538

$ clickhouse-client
ClickHouse client version 19.1.14.
Connecting to localhost:9000.
Code: 210. DB::NetException: Connection refused (localhost:9000, <IP_ADDRESS>)

Similar occurring in v<IP_ADDRESS> via Yandex Docker container:
2019.04.29 18:27:06.754492 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.ca.location failed: ../contrib/ssl/crypto/x509/by_file.c:254: error:0BFFF009:x509 certificate routines:CRYPTO_internal:PEM lib: , version = <IP_ADDRESS> (official build)

@abyss7 - Similar occurring in v<IP_ADDRESS> via Yandex Docker container:
2019.04.29 18:27:06.754492 [ 1 ] {} <Error> Application: Caught exception while loading metadata: std::exception. Code: 1001, type: cppkafka::Exception, e.what() = Failed to create consumer handle: ssl.ca.location failed: ../contrib/ssl/crypto/x509/by_file.c:254: error:0BFFF009:x509 certificate routines:CRYPTO_internal:PEM lib: , version = <IP_ADDRESS> (official build)

That was generated on restarting the Docker container. The container stopped ingesting from Kafka 12 hours prior, but there are no events at all logged in /var/log/clickhouse-server.err.log or in the Docker logs.
Anywhere else I can look for diagnostic information, or settings to increase log levels?

So I could turn up logging to DEBUG level, I stopped all four Docker containers, and changed the logging level with the new log path. Upon restart of the containers, none of the 4 servers would accept clickhouse-client connections, and Kafka ingest rate was 0.
Only way to get them started was again to drop kafka table engines and consumer materialized views in the metadata path, which allowed servers to start normally. Re-creating Kafka consumers exactly as before resumed ingest.

The problem is solved in v19.8+ - the current solution only allows to start server with broken Kafka tables (they won't retry to connect to Kafka brokers again) and re-create/remove Kafka table if required.


Temporally remove bayeaian_networks

The current implementation of the structure learning of bayesian networks has no theoretical guarantee.

Done


frontend: add resource name to SectionHeader

@joaquimrocha I had to fix tests.

@farodin91 , thank you for the changes. This is a nice UX improvement.


SSG Prerendering gives timeout when rendering big numb of urls or api takes time to response

Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
I tried to build my app with following setting, I have ~20k urls to build. and because all requests are sent concurrently from the build process, the api is taking time to process all these concurrent requests.
{
...
"prerender":{
"routesFile": "prerender-urls.txt",
"discoverRoutes": false
},
"ssr": false
...
}
because of this delay, the page is taking more time to response than Agular build process waits and it fails with timeout error.
I did my research and opened a stackoverflow issue after I couldn't find any proper solution to this. I see other people facing the same problem. so opening this issue.
Please provide a link to a minimal reproduction of the bug
create a new app with 1 component, enable prerender with few diff parameter urls that needs backend api calls,  api should simulate a delay in response about  5 min or more to make it happen fast, build angular app and wait until the build throws a timeout  error.
Please provide the exception or error you saw
Prerendered 3 static routes.
Application bundle generation failed. [133.998 seconds]

X [ERROR] An error occurred while prerendering route '/jumbo'.

AbortError: Request for: http://ng-localhost/pens was aborted.
TimeoutError: The operation was aborted due to timeout
    at e.signal.addEventListener.once (file:///D:/Frontend/.angular/prerender-root/bb5c5a0f-dd0d-4247-9895-f97bd3bef5b1/main.server.mjs:74:4998)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)
    at EventTarget.dispatchEvent (node:internal/event_target:755:26)
    at abortSignal (node:internal/abort_controller:370:10)
    at AbortController.abort (node:internal/abort_controller:392:5)
    at EventTarget.abort (node:internal/deps/undici/undici:5038:21)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:820:20)
    at EventTarget.dispatchEvent (node:internal/event_target:755:26)
    at abortSignal (node:internal/abort_controller:370:10)
    at Timeout._onTimeout (node:internal/abort_controller:127:7)

X [ERROR] An error occurred while prerendering route '/'.

Error: Terminating worker thread
    at ThreadPool.destroy (D:\Frontend\node_modules\piscina\dist\index.js:428:27)
    at WorkerPool.destroy (D:\Frontend\node_modules\piscina\dist\index.js:631:65)
    at D:\Frontend\node_modules\@angular\build\src\utils\server-rendering\prerender.js:147:35
    at async Promise.all (index 4)
    at async renderPages (D:\Frontend\node_modules\@angular\build\src\utils\server-rendering\prerender.js:151:9)
    at async prerenderPages (D:\Frontend\node_modules\@angular\build\src\utils\server-rendering\prerender.js:93:49)
    at async executePostBundleSteps (D:\Frontend\node_modules\@angular\build\src\builders\application\execute-post-bundle.js:68:73)
    at async executeBuild (D:\Frontend\node_modules\@angular\build\src\builders\application\execute-build.js:170:24)
    at async watch (D:\Frontend\node_modules\@angular\build\src\builders\application\index.js:70:24)
    at async Task.task [as taskFn] (D:\Frontend\node_modules\@angular\build\src\tools\esbuild\utils.js:140:26)

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 19.0.2
Node: 20.15.1
Package Manager: npm 10.7.0
OS: win32 x64

Angular: 19.0.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1900.2
@angular-devkit/build-angular   19.0.2
@angular-devkit/core            19.0.2
@angular-devkit/schematics      19.0.2
@angular/cli                    19.0.2
@angular/ssr                    19.0.2
@schematics/angular             19.0.2
rxjs                            7.8.1
typescript                      5.6.3

Anything else?
it would be helpful if there is a way either in angular or node rendering engine to set a value for wait period before throwing a timeout error.
I believe this is one of the most common scenarios that many people are and will face it while using SSG with large amount of pages and slow apis.
thanks

I tried to build my app with following setting, I have ~20k urls to build. and because all requests are sent concurrently from the build process, the api is taking time to process all these concurrent requests.

This is not entirely accurate, as only up to four routes are generated in parallel. While we could implement a reasonable timeout, it raises the question about how the APIs will perform under real traffic conditions in production environments.

Hi, based on above response, you should verify if your server is getting all requests in parallel or only four by adding request log in server. 30 sec seems like a reasonable timeout.

If you need to reduce the number of pages being rendered simultaneously, you can configure the NG_BUILD_MAX_WORKERS environment variable. Which default to a max of 4.

Closing, as rendering a single route in approximately 30 seconds seems reasonable. However, it is recommended to improve the API performance, as limiting to only 4 parallel requests can cause a significant bottleneck, even in a production environment. As a workaround, you can use the use the environment variable mentioned above to reduce the number of routes rendered in parallel, which has an upper limit of 4.


2193: Use ContainerID when restarting a container

Fixes #2193

We should put this into 1.5.1, i.e. on the 1.5 branch.

Reopened against the 1.5 branch: https://github.com/weaveworks/weave/pull/2204


Typings For Globals

My Assumption:
My BDD framework, Preamble, exposes its semantic BDD api directly onto the window or global object for the browser and NodeJS, respectively. It appears to me, then, that neither typings nor tsd would be appropriate for supplying typings for such a use case as both typings and tsd result in .d.ts files that declare their modules ambient and hence name spaced.
My Question:
Is my assumption correct, that I cannot use tsd nor typings for my use case and if I am correct what method would you suggest for me to include the .d.ts file in my framework? Currently I am adding the one .d.ts file to the project's typings folder manually and adding a reference to that in the tsd.d.ts file. Obviously this is not optimal and sort of dangerous because my .d.ts file isn't listed in the tsd.json file.
I've been struggling to come up with a better solution so I thought it best to post this question here.

I forgot to include that I've also determined that using package.json typings key along with tsc's ability to to find the npm module containing the typings would also not work for my use case as that would also require typings exposed via a level of indirection.

declare their modules ambient and hence name spaced.

Ambient modules are global, so either would work for you.
Just briefly, is this your library or a library your contributing to? You can create a .d.ts file that is "ambient" (E.g. everything is global) and define it in there - then write some docs telling people to add a reference to it manually. The other solution is to use declare global - but if what it's doing it actually "creating a global runtime" for testing, that's not ideal. I'd say the first solution is correct, create a global.d.ts and provide adequate docs for people to use it.
Either way, you don't need typings or tsd to make it work.

@blakeembrey thank you for such a quick response to my question. Yes, I am the author of Preamble, which I have recently totally rewritten in TypeScript :). I'm not sure what you mean by:

You can create a .d.ts file that is "ambient" (E.g. everything is global) and define it in there

Just for sake of clarification and as I am sure you already know, the api I am discussing would be used as follows which is common practice for unit test scripts as well as being convenient for those authoring those scripts:
describe(`"describe" is used to describe a suite which can contain one or more specs`, function() {
    it(`and "it" is used to describe a spec and is used to group one or more expectations"`, function() {
        expect(true).toBeTrue();
    });
});

If I used a .d.ts, such as the following :
declare module "api" {
 function describe(label: string, callback: () => void): void;
 function xdescribe(label: string, callback: () => void): void;
 function it(label: string, callback: () => void, timeoutInterval?: number): void;
 function it(label: string, callback: (done: () => void) => void, timeoutInterval?: number): void;
 function xit(label: string, callback: () => void, timeoutInterval?: number): void;
 function xit(label: string, callback: (done: () => void) => void, timeoutInterval?: number): void;
 function beforeEach(callback: () => void, timeoutInterval?: number): void;
 function beforeEach(callback: (done: () => void) => void, timeoutInterval?: number): void;
 function afterEach(callback: () => void, timeoutInterval?: number): void;
 function afterEach(callback: (done: () => void) => void, timeoutInterval?: number): void;
}

then those api functions would no longer be considered global and require the following, correct?
api.describe(`"describe" is used to describe a suite which can contain one or more specs`, function() {
    api.it(`and "it" is used to describe a spec and is used to group one or more expectations"`, function() {
        api.expect(true).toBeTrue();
    });
});

Correct, but you can do this instead:
declare function describe(label: string, callback: () => void): void;
declare function xdescribe(label: string, callback: () => void): void;
declare function it(label: string, callback: () => void, timeoutInterval?: number): void;
declare function it(label: string, callback: (done: () => void) => void, timeoutInterval?: number): void;
declare function xit(label: string, callback: () => void, timeoutInterval?: number): void;
declare function xit(label: string, callback: (done: () => void) => void, timeoutInterval?: number): void;
declare function beforeEach(callback: () => void, timeoutInterval?: number): void;
declare function beforeEach(callback: (done: () => void) => void, timeoutInterval?: number): void;
declare function afterEach(callback: () => void, timeoutInterval?: number): void;
declare function afterEach(callback: (done: () => void) => void, timeoutInterval?: number): void;

That'll keep them global.

The issue, of course, then becomes how you users use it. I'd probably say add docs to tell them to add a reference to node_modules/preamble/global.d.ts, and that'll work for any TypeScript user without Typings or TSD. It's not ideal, but works without much intervention (or hacks).

@blakeembrey that is exactly what I am currently doing, all in a single .d.ts.file :)
So I guess you would agree that placing this file in the typing folder myself is a very, Very, VERY bad idea lol.
As the standalone version of Preamble is just a file based web app with script tags, including one for the bundled version of the framework, there is no node_modules folder. Can I just place the .d.ts file in  a dist folder and ask users to reference it from there, such as:
/// <reference path="./dist/preamble.d.ts" />
The actual path they would enter would obviously have to relative.

@blakeembrey  Also, may I ask you why typings doesn't support my use case, because I imagine that there are a lot of frameworks out there that currently push their apis onto the global.

@jeffschwartz Because it works out of the box and there's not a clear benefit of tying it into Typings. For example, you can just do typings install npm:preamble/global.d.ts --save --ambient.

@blakeembrey My apologies, I should have read the docs further. Anyway, I'm going to close this one out and thank you, very much, for your patience and assistance.


"use symbolic math" fontifies (incorrectly scaled) data structures

Description
If I have checked
preferences --> ipython console --> advanced settings --> use symbolic math
Then data structures like dicts are fontified, which seems to be an unrelated behavior.  Also, the scaling is incorrect.   What do you see instead?
I would expect to see this:

Please provide any additional information below
This is Windows 10, on a Surface Pro 4, and with
preferences --> general --> appearance --> "enable high DPI scaling"
clicked.
Version and main components

Spyder Version: 3.1.4
Python Version: 3.5.3
Qt Versions: 5.6.2, PyQt5 5.6 on Windows

Dependencies
pyflakes >=0.6.0 :  1.5.0 (OK)
pep8 >=0.6       :  1.7.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
nbconvert >=4.0  :  5.2.1 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
matplotlib >=1.0 :  2.0.2 (OK)
sympy >=0.7.3    :  1.0 (OK)
pylint >=0.25    :  1.6.4 (OK)

This is the expected result when you use symbolic math in the console. In the future we could provide more fine grained options to symbolic math, but for now there's nothing we can do about it, sorry.

There were two problems here.  The first was the one just closed; the second was that the font scaling was incorrect.  Can that be fixed?

The font problem will be fixed in Spyder 3.2, by allowing users to set a custom scaling factor.
Please see #4454 to see how to use it.

OK, thanks.


README: Add cmake as dependency

hmm, cmake is only really a dependency if you make deps, which in itself negates the other requirements.

something like "the latest version of these dependencies can be downloaded and compiled into the deps/ folder using make deps, which depends on cmake"?

I rolled this back, didn't realize you were PR'ing master. Please PR unstable next time :)

Oh, I didn't know you only merge from unstable. I wanted this in master since that's the set of instructions people see when they first visit the github page.

I merged unstable, it was about time anyway.

Cool 👌


Flutter Application

I am just trying to create a simple application in flutter works fine in my laptop but when checking in phone with link Just a blank page I get please help 🙏

@AssassinAguilar
It seems you are asking for assistance on personal code. Please see https://flutter.dev/community for resources,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Ohh ok sorry 🙏 I will check out my problem throught those links 👀 Thanks for replying sir 🙂


use try/finally to make sure working-path restore on Exceptions

Q
A

Bug fix?
Yes

New feature?
No

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

fix within() to also restore the working-path when the given callback throws a Exception

Nice!


[JUJU-4180] Migrate offer resource from sdk2 to provider framework

Description
Migrates the offer resource from sdk2 to terraform provider framework. Schema isn't changed.
Type of change

Maintenance work (repository related, like Github actions, or revving the Go version, etc.)

Environment

Juju controller version: 2.9

Terraform version: 1.5.4

QA steps
Create an offer and use it in an integration (see examples/resources/juju_offer) with 0.7.0, and get this change:
 $ make install

-- cd into wherever the plan is --
Change the version in the plan to 0.8.0:
terraform {
  required_providers {
    juju = {
      version = "0.8.0"
      source  = "juju/juju"
    }
  }
}

Then run:
 $ terraform init --upgrade  && terraform plan && terraform apply --auto-approve

You should see No changes ... output.

@cderici Squash these commits before merging.


Problem with Let's Encrypt - Commit/Pull/Push to Git Repository

Is there an existing issue for this?

[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Insomnia Version
2021.5.3
What operating system are you using?
macOS
Operating System Version
Big Sur 11.6
Installation method
download from website
Last Known Working Insomnia version
2021.5.3
Expected Behavior
It was working fine with my own Gitlab server since yesterday.
PS. my gitlab server is secured with Let's Encrypt Free certificate.
Actual Behavior
Problem occurred when I wanted to push my changes into my own Gitlab server (with Lets Encrypt Free Certification) and it shows the following error:
Cannot read property 'request' of undefined.
TypeError: Cannot read property 'request' of undefined
at Object.request (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:130995:27)
at async Function.discover (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/isomorphic-git/index.cjs:6559:13)
at async Object.getRemoteInfo (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/isomorphic-git/index.cjs:9343:20)
at async GitVCS.canPush (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:87139:28)
at async GitSyncDropdown._handlePush (file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:309511:23)
Reproduction Steps
Set up a gitlab server with Let's Encrypt Certification and try to push your commits, error would be occurred.
Additional Information
No response

Thanks for reporting this! It seems related to https://github.com/Kong/insomnia/issues/2458 because the stack trace is identical, but it's useful to know the specifics of your environment. It's interesting you note that this was working fine on the latest release of Insomnia (2021.5.3), and then it stopped working all of a sudden.

@develohpanda Thanks for the comment. Yes it was working fine on previous versions.

In the description you mention that the last known working Insomnia version was 2021.5.3, and we haven't made any updates since then, which is what I find curious, but there could be something else at play considering there are other, similar bug reports too.

Temporary solution 1, run Insomnia by CLI:
export NODE_TLS_REJECT_UNAUTHORIZED=0
insomnia

Temporary solution 2, paste followed code in DevTools:
process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;

Probably associated with Let's Encrypt's Root cert expiring? https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

I wanted to follow up and also highlight that I'm unable to git clone any repositories either, public or private 😅 The console error logs in the dev tools are actually very sparse in the information given:
11:36:40.337 › [ga] Event Modals, Show, GitRepositorySettingsModal 11:37:24.362 › [ga] Event Git, Clone 11:37:24.379 › [ga] Event Modals, Show, AlertModal

Hi all, 2021.6 has been released which should include some better error messaging here to help narrow down the issue. Could you please report back any findings and whether you still experience this error after upgrading?

Want to further pipe in that if the issue originates with Insomnia's Electron version, we have since upgraded that to latest.  Let us know if you can still reproduce this error.


optimizer: merge LogicalProject into LogicalMultiJoin

Steps:
We first assume that a filter pushdown has been performed. This ensures that filters that are isolated to a subtree will already be in that subtree when we try to perform the merge.
Merging phase:

LogicalMultiJoin now has a projection as the top level node. So, morally, it looks like Proj -> Filter -> [Inputs]
When merging two logical multijoins, the projections on either side need to be pulled up through the join condition, and merged into the new projection. If the projection cannot be pulled up (join condition references a non-simple projection expression), let the input remain as an atomic input to the multijoin. This means that input is now in a self-contained join subtree.
When merging a filter into a multijoin, try pushing down the filter through the projection. If there are conjunctions that could not be pushed down, leave the filter above the multijoin. This means that that multijoin is now in a self-contained join subtree.
When merging a projection into a multijoin, merge the projection with the multijoin projection.
When issuing a left_deep_ordering, merge the reordering into the top-level projection.

Unoptimal cases:

Example: A join subtree is created due to the presence of a filter condition involving a non-simple expression. A relation in that join subtree could have acted as an edge in the eq join graph of the entire join tree but may not have an edge in the subtree. This causes an unnecessary crossjoin within the subtree. We will ignore optimizing such cases for now. In theory, one could find a better ordering by performing constrained optimization over the entire join tree, where the constraint is that certain subsets of relations need to be joined in a particular order (there is a partial order required on the join ordering).

Tracking issue: https://github.com/singularity-data/risingwave/issues/2530

I think that will be handled by output index. In the future, logical plan won't have projection solely for reordering column.
Tracking issue: https://github.com/singularity-data/risingwave/issues/1922
MultiJoin in the future should also support output_index. 🤣

Despite the most common case of projection (column reordering), maybe "join condition references a non-simple projection expression" will need special handling described as in this issue?

Yes, I think maybe I'll just ignore projections with non-simple expressions for now, and leave the handling of reorderings to the output index of multijoins.

closed with #3351


Fixes in JSON parser

I've started playing with flatcc with simple schemes, and found that when there are no global enums defined generated json parser is uncompilable. Then, it was unable to parse input containing empty objects or arrays ( {}, [] ). Wasn't too hard to fix :)

Thanks a lot, that looks reasonable. Glad you found it easy to fix. I'll get back when I have verified it.

Added fix for #17, wasn't easy as previous ones. Thanks a lot for your help!


Package script

This PR wraps the original script in a package, making it pip installable. High level of the changes:

Expanded .gitignore to leverage the GitHub Python example.
Updated README to show how to use script entry point and pipx example.
Added pyproject.toml file.
Setup init file which also tracks version.
Setup main file for potential future use.

This isn't expressly called out right now but python3 -m pota_local_progress will work when installed by pip.

Renamed the main execution file to "cli". The package name and project script provide relative compatibility to how the script operated before.

Thanks, I had never really looked into packaging python scripts before. Followed the new instructions in the README and it works fine, though I had to run pipx ensurepath when prompted. PR accepted, thanks for contributing!


fix docker-sgx build

Signed-off-by: Bruno Vavala<EMAIL_ADDRESS>

This fixes #29

@bvavala Can you please rebase; then we merge.

replaced by #31


Feature added to add/change profile image

Linked Issue:  9

Changes -
Added profile picture selection from gallery functionality

Feature added to add/change profile image

Looks fine! Great!


add a docker compose file

Hello @nullstyle,

Not yet I'am on it
100% agree, so how to let it agnostic ?


Download playlists in reverse order (Negative boundaries for --playlist-start & --playlist-end)

Let's say I want the n last videos from a playlist, it'd be nice to be able to use negative numbers like in python to do that.
For example if I want the last 100 videos from a playlist I could do youtube-dl playlistURL --playlist-start -100 or youtube-dl playlistURL --playlist-start -200 --playlist-101 if I want the previous 100 videos.

https://github.com/rg3/youtube-dl/issues/6845 is a duplicate of this. In that issue the suggestion is that --playlist-reverse (maybe it did not exist when this issue was opened) should also affect --playlist-start and --playlist-end. That seems the most logical solution.

Thanks. I'll close this as there are more discussions in #6845


Rename ConfigWriter

We have an interface named ConfigWriter in the stryker-api that allows plugins to alter the stryker config at runtime (before stryker starts testing). However, these plugins don't actually write any config, they just modify the existing config.
This interface (and everything that implements it) should be renamed to reflect this in order to prevent confusion with the StrykerConfigWriter in the initializer code. The StrykerConfigWriter does not implement ConfigWriter and is responsible for writing config.

So the task is: rename ConfigWrite interface and fix each class which implements it, right?

Yes. Question is: in what. Maybe Configurator?
@simondel what do you think?

May be be ConfigEditor or ConfigModifier since:

they just modify the existing config

So it will be like F2 on the interface definition, change name and commit, right? :)

You can see the result there: https://github.com/stryker-mutator/stryker/pull/357. What do you think folks? @simondel @nicojs

@simondel what do you think of the naming?

ConfigEditor
Configurator
ConfigModifier
Something else?

@nicojs I like ConfigEditor the most. An implementing class will edit the config, but it won't (shouldn't) write it to disk like the StrykerConfigWriter


Add Cloudevent section to Helm chart ConfigMap

I had to re-create Pull Request. This is original: https://github.com/robusta-dev/kubewatch/pull/48

@arikalon1 this is the same PR, but with all commits. I don't know why previous PR didn't refresh.

@thevops out of curiousity, how are you using the cloudevent integration? We don't see that many people interested in it.

Would it be ok to add Robusta to our list of adopters on: https://cloudevents.io/ ?

Yes,  absolutely!

great thanks!

@thevops out of curiousity, how are you using the cloudevent integration? We don't see that many people interested in it.

@aantn I tried to use it while playing with kubewatch. I wanted to check if this tool can be useful in my project.
Data sent by webhook give very little information, so I tried cloudevent.
It has huge potential (kubewatch with cloudevent), but it turned out I don't need it.

@thevops cool, thanks.
What is the end goal (whenever you need it)? If it all works, what would the result be?

@aantn It was just testing. I didn't expect any particular results 😄 I wanted to try and see how kubewatch works.


Getting SourceLink to work with Bonobo (git archive problem?)

First, I'm not terribly terribly savvy with Git overall, and as a result, i'm poking in the dark a little. I use git for source control, at what can probably be characterized as a beginner level.
As background for others, review the following https://github.com/dotnet/sourcelink
I've been trying to puzzle out how sourcelink could be used with bonobo, but believe my problems stem from not knowing enough about git.
I've implemented bonobo git (at the root of an IIS Website) so my bonobo URLs are something like https://host.domain.tld/Repository.git
I've also implemented BaGet for NuGet packages on the same web server at a vanity domain so my package repository is at https://baget.domain.tld/v3/index.json
I've managed to work out packaging my assemblies, and creating snupkgs for symbols.
The last piece of the puzzle to making my packages fully debuggable appears to be getting sourcelink information successfully into the packages.
I've cloned the SourceLink repository locally, and have duplicated the GitLab project (and the GitLab unit tests)  and updated names therein.
However, i do not know what URI format i need to translate to in order to download a set of source files from bonobo. I suspect that the mechanism uses git archive, however in attempting to run various URIs with git archive against bonobo, i've failed at each turn to produce anything apparently successful.
Here is what i've attempted:
`git archive -v -o Repository.tar --remote=https://host.domain.tld/Repository.git 40-char-sha-of-commit /*
fatal: operation not supported by protocol

git archive -v -o Repository.tar --remote=https://host.domain.tld/Repository.git 40-char-sha-of-commit
fatal: operation not supported by protocol

git archive -v -o Repository.tar --remote=https://host.domain.tld/Repository.git
fatal: operation not supported by protocol

git archive -v -o Repository.tar --remote=http://host.domain.tld/Repository.git
fatal: operation not supported by protocol

git archive -v -o Repository.tar --remote=git://host.domain.tld/Repository.git
fatal: unable to connect to host.domain.tld:

host.domain.tld[ip.ad.dr.ess]: errno=Unknown error

git archive -v -o Repository.tar --remote=host.domain.tld/Repository.git
remote: fatal: 'host.domain.tld/Repository.git' does not appear to be a git repository

remote: git upload-archive: archiver died with error

fatal: sent error to the client: git upload-archive: archiver died with error`

TL:DR; on the Sourcelink business, as far as i understand, the .nuspec file defines the source control type, the repository URI, and a commit sha in the following format:
<repository type="git" url="proto://host.tld/virtualdir/Repository.git" commit="40-char-sha-of-commit" />
example (from roughly randomly selected repository):
<repository type="git" url="https://github.com/ctaggart/SourceLink.git" commit="aac0493939bc3e82e4fd9651b6a5025e37affa92" />
This is translated by the sourcelink <> (not quite certain what the correct term is here, you include an implementation specific SourceLink reference in your project) during creation of the PDB into a URI as such:
https://raw.githubusercontent.com/ctaggart/SourceLink/aac0493939bc3e82e4fd9651b6a5025e37affa92/*
This is embedded in the PDB as a JSON.
Frankly, this is where i lose the trail. I don't know where SourceLink gets the value for "raw.githubusercontent.com" and I'm not sure precisely what mechanism SourceLink is using to retrieve files, and therefore do not know what format the ContentURI should be for Bonobo.
This is especially true as Bonobo gives individual file URIs within the repository browse web interface as GUIDs and so I can't work out if need to first remap the "Repository" name to the GUID or if the "Repository" itself will be useful. Git seems to be able to get by without this, so i have to assume either it's not necessary for Git's protocol, or something internal to Git is able to translate, and that either way the GUIDs are for the benefit of the web portal, and not actual source control.
Of course, while the "raw.githubusercontent.com" uri above works, raw.githubusercontent.com itself returns a 404 using a browser, so i assume this is special to git protocol.
My apologies if this is over ramble-y, but reading other issues it appears that it's common to err more on the side of too little information, and i wanted to avoid that if possible.

This is probably obvious to anyone who has used Sourcelink, but while the URL
https://raw.githubusercontent.com/ctaggart/SourceLink/aac0493939bc3e82e4fd9651b6a5025e37affa92/*
returns a 404, the URL
https://raw.githubusercontent.com/ctaggart/SourceLink/aac0493939bc3e82e4fd9651b6a5025e37affa92/LICENSE
actually returns the expected file for that commit.
The similar URL for bonobo appears to be like
https://host.domain.tld/Repository/guid-for-repository/40-char-sha-of-commit/Raw/file.ext?display=True
(presumably the ?display=True) parameter is irrelevant for SourceLink, as omitting it results in a direct download.)
This is what leaves me with the "how do i get a GUID for a given Repository.git in an expedient way, if indeed i need to do so?"

I've worked out that the translation logic is implemented by a structure similar to the following in either a .props file or the .*proj file:
<Project>
  <ItemGroup>
    <SourceLinkGitHubHost Include="github.com" ContentUrl="https://raw.githubusercontent.com"/>
  </ItemGroup>
</Project>

This leaves, i believe, only the question of:
Given a .git URI (https://mybonoboserver.local/myBonoboDirectory/myProject.git) and a 40 char sha commit hash, is there a URI that allows me to retrieve an arbitrary file by combining information from only those strings, or does a project GUID need to be retrieved, and what mechanism can be used to do so?

I don't think there's a URL which just lets you fetch a file like this - you'd be expected to either use a Git client to talk to the repository, or to use the browser-based interactive stuff to view files as a human.   You perhaps need something which is a little bit of both?

I don't think there's a URL which just lets you fetch a file like this - you'd be expected to either use a Git client to talk to the repository, or to use the browser-based interactive stuff to view files as a human. You perhaps need something which is a little bit of both?

I've already provided an example of a URL for bonobo, and examples from GitHub of the equivalent.
Example:
https://host.domain.tld/Repository/guid-for-repository/40-char-sha-of-commit/Raw/file.ext
Obviously, the ultimate tool used by VS to implement SourceLink uses Git (as authentication or other requirements may be needed) but then again Git is largely HTTP/HTTPS. Git is able to download independent files (though perhaps one could argue it's done via git's internal snapshot objects and then local resolution to files for the checked-out commit).
Basically, since i don't really understand how bonobo executes (which code to examine to answer my question) as yet, a simpler question may be:
Internally, how does bonobo generate the URLs for the links on https://bonoboserver.local/Bonobo-Git-Server/Repository/Index to each repository.
Example link: https://bonoboserver.local/Repository/Detail/ef42f3d2-abb1-42e6-9758-5dcce5ad62c3
The GUID in that link is what i ultimately need to be able to plumb this if there's no service URL or other direct URI to access the files directly.

I've already provided an example of a URL for bonobo,

Yes, but that was a URL which is part of the interactive repo browser, and it's not really using Git-over-http to get that file at all - the Bonobo server is using its own Git client to retrieve the file locally and then serve it up.
The GUIDs you're seeing in the URLs are keys into the database Bonobo is maintaining to keep track of repositories, and I don't think there's an easy to convert a repo name into a GUID that's exposed via HTTP.
When you make a "Git" connection to Bonobo, Git is never really aware of this GUID - it's used within Bonobo as part of looking up the repo and its user permissions, but once permissions have been granted, Git just gets on with doing its Git protocol stuff and never needs to know about the GUID.
If you're happy to build yourself a new version of Bonobo, then it would be easy enough to add something which could convert a repository name into a GUID.  But probably even better, to modify the Detail action on the RepositoryController so that it could take either a GUID or a repository name - then you'd just be able to pass the repo name into those Detail URLs rather than the GUID - perhaps something like this (from RepositoryController.cs):
    public ActionResult Detail(string id)
        {
            Guid repoId;
            if (!Guid.TryParse(id, out repoId))
            {
                // This doesn't seem to by a GUID - let's assume it's a name
                var repo = RepositoryRepository.GetRepository(id);
                if (repo == null)
                {
                    return new HttpNotFoundResult();
                }
                repoId = repo.Id;
            }

            ViewBag.ID = repoId;

            var model = ConvertRepositoryModel(RepositoryRepository.GetRepository(repoId), User);
            if (model != null)
            {
                model.IsCurrentUserAdministrator = RepositoryPermissionService.HasPermission(User.Id(), model.Id, RepositoryAccessLevel.Administer);
                SetGitUrls(model);
            }
            using (var browser = new RepositoryBrowser(Path.Combine(UserConfiguration.Current.Repositories, model.Name)))
            {
                string defaultReferenceName;
                browser.BrowseTree(null, null, out defaultReferenceName);
                RouteData.Values.Add("encodedName", defaultReferenceName);
            }

            return View(model);
        }

I will have a look at this avenue and see if i can put something together which works. This is quite helpful (or at least appears to be on the surface).
Any thoughts on why Bonobo isn't structured this way by default (is there some problem which is supposed to be solved by obscuring the Repo name as a GUID during browse operations, or is this an optimization to not need to look up the DB record GUID from the name on every page hit)?
Any thoughts on where the navigation URLs are generated (as a possible in-road to making an optional configuration wherein names are used in normal navigation rather than GUIDs for at least testing?)

I don't know the history of it because I wasn't involved in the project that far back, but Git repo names are perhaps not as obvious a choice as UUIDs are for a database key, which is what that 'Id' action parameter is.   There may be potentially URL safety issues too, so some repo names might need escaping?    The urls for the interactive repo browser just use the database ID, because that's the easiest thing to use, and they probably weren't intended to be providing an API for people to fetch files with other clients.    A lot of the "per repository" page serving in Bonobo never actually touches the Git repo, it's all about permissions, etc, and it's just manipulating the Bonobo database.
The URLs on the index page are just generated using various ActionLink calls in RepositoryController\index.cshtml - the "id" part of the URL is set to the Id property of the database object (which is the key).
If you were to change the meaning of "Id" within the URLs at the point they're generated then you'd have to change all the corresponding action methods, like my example above.   Simply making the relevant action methods happy to take either a GUID or a repo name seems like a nice safe straightforward starting point, though.


Subreddit name validation and JUnit5 addition

I'm happy to make any changes (or for you to do so).
All tests pass.

Looks good to me,
Thanks!


Update versions and run benchmarks again

Thanks for updating the benchmark results! I had some discussion on Reddit a while ago, and several people mentioned that a multi-threaded warp implementation would match or exceed Routerify... 🙂 But, I still find Routerify's API more ergonomic.

Thanks for updating the benchmark results! I had some discussion on Reddit a while ago, and several people mentioned that a multi-threaded warp implementation would match or exceed Routerify... 🙂 But, I still find Routerify's API more ergonomic.

Yeah, with all that generic meta programming warp composes the routing tree at compile time and hence does not need a map to store handlers. And no map means no boxing and pinning at every step of the way. Can't really get more efficient than that.


Add Self to Awesome React Repo and React Redux Links

Upon completion, add repo to https://github.com/xgrommx/awesome-redux and https://github.com/markerikson/react-redux-links

awesome-redux is done: https://github.com/xgrommx/awesome-redux/pull/267


Group code by Use Case (Modules)

Instead of grouping project files by type, we should group them by "use cases" or "modules".
Old structure (typical for Yii2), grouping by type:
/src/Controllers/Module1/Module1Controller
/src/Controllers/Module2/Module2Controller
/src/Components/Module1/Component1
/src/Components/Module2/Component2
/views/module1/index
/views/module2/index
/tests/module1/Testcase
/tests/module2/Testcase

New refined modern structure with grouping by module:
/src/Module1/
             Controllers/Module1Controller
             Components/Component1
             Views/index
             Tests/Testcase
/src/Module2/
             Controllers/Module2Controller
             Components/Component2
             Views/index
             Tests/Testcase

1 module = 1 folder
Not only classes should be grouped by modules, but views and tests too.
Benefits:

Store in one place all that is used in one business feature. For example, code with tests that testing it. Easy to find, easy to manage.

Reuse module between projects with copy-paste module folder. Easy!

Fork modules to reuse in same project. Just copy that folder, and replace some logic.

Work in single folder at one time, tinkering some feature. No need to open 3-4 folders in project tree (code, tests, views, etc).

Moved to yii-demo


terraform-ibm-scc-workload-protection tests fail on main branch

Affected modules
The test on the main branch is failing which is blocking all renovate and continuous test pipelines
 │ summary: 'CreateRuleWithContext failed: The resource attribute `serviceName`''s value
│   ''Security and Compliance Center Workload Protection'' is invalid.'
│ severity: error
│ resource: ibm_cbr_rule
│ operation: create

terraform-ibm-scc-workload-protection

Terraform CLI and Terraform provider versions

Terraform version:
Provider version:

Terraform output

Debug output

Expected behavior

Actual behavior

Steps to reproduce (including links and screen captures)

Run terraform apply

Anything else

By submitting this issue, you agree to follow our Code of Conduct

@shemau, Correct service name  is sysdig-secure.


OWLS85461 add introspect version to server pod label

Add a new label to server pods with unit test cases.
Update the public doc.
some cleanup.

https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/2691/
https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/2693/

The Pod processing already has a way to change labels and uses a patch to do so. All that should be necessary to add the introspect version is to add it to the computation of the model. This seems a lot more code than necessary.

That is actually what I started to do initially. I then realized that it was much cleaner to separate the existing patching use case and this one The additional code is marginally more, especially after I consolidated the code in three different use cases. Having said that, let me go through the process of using the existing patch step again and see.

Kicked off a Jenkins run for the latest. https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/2720/


What is the License of the Images?

Hello,
I would like to know what the license of the images of the D1 mini is. I cannot find any information. Is it usable under a creative commons licence?
Greetings!

Hello, I created the artwork in Illustrator and you are free to use them for any purpose.
Creative Commons CC0 - Free content globally without restrictions.
Enjoy!


[YAML] Generates write attribute methods for non writeable attributes

Problem
Some tests are trying to write to attributes that are not writeable.
This PR expose a test interface wrapping the normal cluster interface but with methods for writing to such attributes.
For example OnOffCluster is the base class for OnOffClusterTest:
class DLL_EXPORT OnOffClusterTest : public OnOffCluster
{
public:
   OnOffClusterTest() : OnOffCluster() {}
   ~OnOffClusterTest() {}

   CHIP_ERROR WriteAttributeOnOff(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback, bool value);
   CHIP_ERROR WriteAttributeGlobalSceneControl(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback,
                                               bool value);
   CHIP_ERROR WriteAttributeFeatureMap(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback,
                                       uint32_t value);
   CHIP_ERROR WriteAttributeClusterRevision(Callback::Cancelable * onSuccessCallback, Callback::Cancelable * onFailureCallback,
                                            uint16_t value);
};

All those methods should results into the controller returning an error when they are received. They are not useful for regular operations, but it is useful to check that the controllee implements those attributes properly.
Change overview

Add wrapper test interfaces
Remove some of the disabled flags into some yaml tests, notably those trying to write to global attributes
Update the generated content for tests

Testing
I have enabled more yaml tests.

@vivien-apple The Linux compile failures seem unrelated to your changes... needs a rebase?

Yes, needs to be rebased on top of #9560.

/rebase

@saurabhst @andy31415 ?

@vivien-apple - conflicts


AutoFocusDirectiveModule not exported

From Singh:
in version 1.3.0, AutoFocusDirectiveModule is not exported :disappointed: (add to cart module can not be overrided)
Workaround would be: import { ɵn as AutoFocusDirectiveModule } from '@spartacus/storefront';

QA steps: try to import { AutoFocusDirectiveModule } from @spartacus/storefrontlib


Improvement ideas for google::cloud::Log*

These are ideas to make the logging classes better:

[x] Implement a LogBackend that keeps the last N messages in memory, and only if a sufficiently severe message is generated then the last N messages are dump to another LogBackend.
[ ] Add a GCP_LOG_IF() macro that logs only if a condition is met.
[ ] Add a GCP_LOG_SEV() that accepts dynamic severity levels.
[ ] Automatically configure the LogBackends based on a JSON description of the hierarchy of backends. Note that we should let the application decide what is the source for this configuration (flags, environment variables, YAML file, whatever).
[ ] Implement a LogBackend that logs directly to a file.
[ ] Implement log rotation on log files.
[ ] LogBackend for Stackdriver.
[ ] LogBackend for Boost.Log
[ ] LogBackend to glog.

#4034 (Improve logging configuration for integration tests). which was closed in lieu of this, said:

We could enable full tracing for all the integration tests, just set GOOGLE_CLOUD_CPP_ENABLE_TRACING=cpp and GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes in the environment. This will produce a lot of output, but would be mostly hidden.

This proved infeasible ... indeed there was too much output. See #5626, #5627, and #5636.

We could also implement a fancy logger that preserves the last N messages, and logs them only if one of them is an error or when a test assertion fails.

Keeping the last N log messages isn't too complicated, and we could certainly dump those when processing a new message of high severity.  But I don't know how to GCP_LOG() a high-severity log message, or otherwise dump the log-message buffer, upon a googletest failure.

#4034 (Improve logging configuration for integration tests). which was closed in lieu of this, said:

We could enable full tracing for all the integration tests, just set GOOGLE_CLOUD_CPP_ENABLE_TRACING=cpp and GOOGLE_CLOUD_CPP_ENABLE_CLOG=yes in the environment. This will produce a lot of output, but would be mostly hidden.

This proved infeasible ... indeed there was too much output. See #5626, #5627, and #5636.

We could also implement a fancy logger that preserves the last N messages, and logs them only if one of them is an error or when a test assertion fails.

Keeping the last N log messages isn't too complicated, and we could certainly dump those when processing a new message of high severity.  But I don't know how to GCP_LOG() a high-severity log message, or otherwise dump the log-message buffer, upon a googletest failure.

Discussed. Closing until we need these.


Using a new instance of V1PodSpec from the template to avoid multithreading issues

After the PR https://github.com/azkaban/azkaban/pull/2913
azkaban.container.models.PodTemplateMergeUtils#mergePodSpec
makes changes in the Pod generated from the Template which is a singleton and has only one instance of Pod stored internally. Hence multiple executions lead to corruption of the same instance of POD in the singleton class.
This can be fixed by making sure that a new instance of POD is generated from the template every time during the course of pod spec creation. Since this instance will be local to the method, multiple threads won't affect it.

Pull Request Test Coverage Report for Build 6364

29 of 33 (87.88%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 45.123%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
0
1
0.0%

azkaban-common/src/main/java/azkaban/container/models/PodTemplateMergeUtils.java
26
29
89.66%

Totals

Change from base Build 6363:
0.03%

Covered Lines:
17639

Relevant Lines:
39091

💛  - Coveralls


Fix CameraRollManager putImageInfo uris with hash

Summary:
[Android] [Fix] CameraRollManager errors when there is a hashtag in the file name
Instead of using DefaultFileNameMap's implementation to guessContentTypeFromName, just take last characters before extension period and use MimeTypeMap to get the mime type (which is what URLConnection's guessContent... did)
Reviewed By: mdvacca
Differential Revision: D15212557

Closing this in favor of https://github.com/react-native-community/react-native-cameraroll/pull/54


Add RandomBeaconHistory to core contracts

Closes #499

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to GitHub issue with discussion and accepted design OR link to spec that describes this work
[ ] Code follows the standards mentioned here
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the GitHub PR explorer
[ ] Added appropriate labels

I think this should come from flow-go, not sure about the required update there. cc: @janezpodhostnik

This is only for logging which core contracts are deployed where, to inform the user.
Ideally this would either be something that we can get from flow-go, or queried using a script.  For now this update is ok.

@janezpodhostnik you said this is deployed to the service account though like the other contracts already, is that correct?

Confirmed it's on the service account. Just need to log it.


Navigation gestures focus another UI widgets

I find current behavior of swipe up, down, left right gestures rather unpleasant. Sometimes I focus another widget by accident and it is impossible to write. I have looked a bit into the issue and I think that it is not really possible to solve it and keep the current behavior.
Proposed solution: I would map swipe left right to move by one character left or right respectively. Swipe up and down will move to next word and previous word. I don't know if we should optionally keep the old behavior as it is a bit dodgy, I would suggest to remove it completely as this according to my tests is much better & practical.
EDIT: have basic implementation for my purposes but it is not mergeable due to conflicts rn

raise a PR anyways, may be I can extend your implementation to see what can be done.

Recently, I have come to the same conclusion. I am too in favor of making sure that d-pad actions should not move the cursor out of the text field.

I think the right implementation would be : movement in all directions should work and textbox should not loose focus ever due to d-pad actions.


Allow seal::EncryptionParameters to be used as a key in std::unordered_map

Currently EncryptionParameters implements equality as an equality check on seal::parms_id_type and separately a specialization for std::hash<seal::parms_id_type> is provided. If additionally std::hash was specialized (as a friend function) for EncryptionParameters, then we could use it as a key in associative containers.
This would be nice for looking up seal::SEALContext instances from a cache of type std::unordered_map<EncryptionParameters, std::shared_ptr<seal::SEALContext>>. As a work-around I currently can use std::vector<std::pair<EncryptionParameters, std::shared_ptr<seal::SEALContext>>> with linear search, which will probably perform just fine given that I don't expect there to be very many different EncryptionParameters instances.

This will be in the next minor release (3.6.0).


Update VS Code debug configuration

Update VS Code debug configuration to reflect new default values in the VS Code Chrome debugger.

I know I'm late here, but this change means losing your extensions every time Chrome quits. Doesn't seem too beginner friendly to me if people have to reinstall the React dev tools regularly or dig into the configuration options for the VS Code Chrome debugger to set the userDataDir. Should we at least add a note or something about this?

@denkristoffer We automatically set a userDataDir for you behind the scenes when using a launch config. We know it's annoying, but this means that you'll only need to install your extension once within your "VS Code Chrome" instance.


Branch Rollbacked result： PhaseTwo_RollbackFailed_Retryable

Ⅰ. Issue Description
Ⅱ. Describe what happened
When an exception occurs in the call, the transaction rollback is triggered, but the error is reported.And keep trying again and again.
2019/05/28-18:29:00 [rpcDispatch_RMROLE_3_8] INFO  io.seata.core.rpc.netty.RmMessageListener- onMessage:xid=<IP_ADDRESS>:8091:2012763204,branchId=2012763205,branchType=AT,resourceId=jdbc:mysql://<IP_ADDRESS>:3306/ft_device_db?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8,applicationData=null
2019/05/28-18:29:00 [rpcDispatch_RMROLE_3_8] INFO  io.seata.rm.AbstractRMHandler- Branch Rollbacking: <IP_ADDRESS>:8091:2012763204<PHONE_NUMBER> jdbc:mysql://<IP_ADDRESS>:3306/ft_device_db?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
2019/05/28-18:29:00 [rpcDispatch_RMROLE_3_8] INFO  io.seata.rm.AbstractRMHandler- Branch Rollbacked result: PhaseTwo_RollbackFailed_Retryable
2019/05/28-18:29:00 [rpcDispatch_RMROLE_3_8] INFO  io.seata.core.rpc.netty.RmRpcClient- RmRpcClient sendResponse xid=<IP_ADDRESS>:8091:2012763204,branchId=2012763205,branchStatus=PhaseTwo_RollbackFailed_Retryable,result code =Success,getMsg =null

Ⅲ. Describe what you expected to happen
Hope to roll back normally
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
When I switched to version 0.5.2, everything was fine. Once 0.6.0 is used, this exception occurs
Ⅵ. Environment:

JDK version :1.8
OS :MAC
Seata: 0.6.0
Spring Cloud
Mybatis

try 0.6.1

this bug should be fixed in 0.6.1,welcome get feedback us.


Using vagrant vm and proxying with nginx getting error : [WDS] Disconnected!

On my mac i'm using vagrant (ubuntu) as virtual environment , and when running command npm serve i get two bugs.
First one is on browser. WebSocket URL is not correct, because its trying to send data to localhost:4200, even though i'm on <IP_ADDRESS>/
Second one, Webpack is not reloading after file change. I have created multiple new boxes and it wont work. I have installed webpack cli sudo npm install -g angular-cli@webpack

OK, i didn't know for flag --host <IP_ADDRESS>, so there's no more errors for websockets.
Anyway after changing files, local access gets recompiled. But if i access from my mac, to vagrant ip, page does not get  recompiled. Websocket connection is established fine.

I can leave the issue open so other people can try and help out, but this sounds an awful lot like a Vagrant config issue and I just don't know a lot about that. If you uncover a solution that reveals a bug in the CLI I'm happy to look at a PR, but as is there isn't much I can do.

@sylar9232 you just solved my issue! I had no idea the <IP_ADDRESS> host setting would ultimately allow livereload to work for me in a vagrant setup. Because of this I now have a fully functional angular-cli project running on vagrant.
With that, I can help you in your issue with vagrant not picking up your changes.
Start by setting up vagrant-fsnotify: https://github.com/adrienkohlbecker/vagrant-fsnotify
FWIW, I would suggest using the following in your Vagrantfile:
config.vm.synced_folder ".", "/vagrant", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp', 'fsc', 'actimeo=1'], fsnotify: true, exclude: ["node_modules"]
That exclude bit is one of the more important bits and makes a 10 fold decrease in the notification timing.
Also worth mentioning, if you only use 1024 mb of ram for your vm, the recompile is pretty slow. It appears using 2048mb is sufficient.

Now that I'm re-reading this issue, I'm reminded of this PR, made to address something similar: https://github.com/angular/angular-cli/pull/1814
This, and @LeviRosol's comment should address your file changes issue.


update Your-first-VOC-contribution

Change the getting started guide(link) from getting-started.html to index.html

@freakboy3742 Can this issue be closed as it has been solved in PR #372

Yes it can!


About content.rdf.u8.gz

Hi Lin,
Since Dmoz is closed, the file content.rdf.u8.gz cannot be downloaded anymore. Cound you please help me with the dataset? Or do you have any ideas?
Thank you very much!

Hi,
I think they set up a static mirror from where you can still download the rdf file.
https://dmoztools.net/docs/en/rdf.html
Regards,
Yuhui
On Jun 29, 2017, at 7:12 AM, SongweiGe <notifications<EMAIL_ADDRESS>wrote:
Hi Lin,
Since Dmoz is closed, the file content.rdf.u8.gz cannot be downloaded anymore. Cound you please help me with the dataset? Or do you have any ideas?
Thank you very much!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/yuhui-lin/web_page_classification/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQdbfLTfghB5R1OXQpNLxXGFITqT9XOXks5sI4aygaJpZM4OJKFa.

Hi Yuhui,
Unfortunately, the url to download the dataset doesn't work any more: (
Thanks for your replying anyway!: )
Best,
Songwei

You can get them at
wget -r -l1 --no-check-certificate https://curlz.org/dmoz_rdf/


Add my first file

I have created a branch, added a file, and made a commit.

merge my-first-branch into main branch


feat(landing): search on landing page

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[x] Feature
[x] Refactoring

What's new?

[ ] PR related #3844
[x] Redesign: search bar on landing page

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot
preview link: https://deploy-preview-3970--koda-nuxt.netlify.app/?redesign=true

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Work in progress:

[ ] chain selector below the search bar
[ ] dark mode
[ ] responsive search bar
[ ] mobile compatibility

They're all good points.

this will change searchbar component in navbar on the other page, is this the expected result for now?

Yes, it is.

wrong font for landing text
font-size should be rem
could you move searchbar related css rules to /styles/components

I have modified the code to do these.

navbar has a blur/opacity hoverlay
navbar should have border-bottom (white in darkmode, black in lightmode)

I think they could be done in another PR that redesign the navbar, as there must be more polish to do.

chain-option should be clickable?

I have the same question. Should these chain options be clickable?  to switch to the other chain. /cc @yangwao

it seems that font got kinda weird with the latest commits? 👀

Fixed. Already remove the new custom font-family.

it seems that font got kinda weird with the latest commits? 👀

The font is not include in project yet, please follow guide from nuxt doc  (include it in assets folder)

I have the same question. Should these chain options be clickable? to switch to the other chain.

We can see hover state on figma file, I concluded that it was clickable

We can see hover state on figma file, I concluded that it was clickable

still not clickable @Jarsen136 👀

We can see hover state on figma file, I concluded that it was clickable

still not clickable @Jarsen136 👀

I'm working on it

Shouldn't we redirect to /?redesign=true when click on chain?
instead of adding stylesheet in component (included 2 times in build) put it in /styles/index.scss

Done. After we finished the whole redesign, we would remove all the parameter related to '?redesign=true'.

Done. After we finished the whole redesign, we would remove all the parameter related to '?redesign=true'.

I'm still getting redirected on old landing
https://user-images.githubusercontent.com/9987732/191283480-6083d8d2-fb3f-4281-a750-19f362dd061f.mov

Done. After we finished the whole redesign, we would remove all the parameter related to '?redesign=true'.

I'm still getting redirected on old landing https://user-images.githubusercontent.com/9987732/191283480-6083d8d2-fb3f-4281-a750-19f362dd061f.mov

weird issue, Fixed it in another way.

@Jarsen136 switching between chains produces 400 network errors for Snek and Moonriver

witching between chains produces 400 network errors for Snek and Moonriver

It's related to the redesign of Carousel component on landing page for Snek/Moonriver.

I should've said, switching from the new links under searchbar, and following search doesn't work afterwards 🤔 works okay if I switch chains with navbar option

Could pls you expand that how it can't work? I could not reproduce it, only see the error tooltips.

Could you pls expand that how it can't work? I could not reproduce it, only see the error tooltips.

can't reproduce rn, maybe it was some fluke since I was triggering many of the errors at the same time and following that, it looked like I wasn't connected to the indexer 🤷🏻♂

It's related to the redesign of Carousel component on landing page for Snek/Moonriver.

oh okay, you're right, I guess the rest gets resolved in

#3951

@Jarsen136 I guess let's merge update, check conflicts, check if there are no more DeepScan issue and then it's gtg 🚀
tracked one more thing here:

https://github.com/kodadot/nft-gallery/issues/3987

pay 150 usd

😍 Perfect, I’ve sent the payout
💵 $150 @ 40.45 USD/KSM ~ 3.708 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x2ae479885182a6a35e89e5632f73957805c3419392953b682a270dbf82a79ec5
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

ref #3989

ht for ping!
pay 150

pay 150 usd

pay 150

😍 Perfect, I’ve sent the payout
💵 $150 @ 43.55 USD/KSM ~ 3.444 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0xf58862c7497f0360f7af7fdba4098780979028da8c326fe76927322c47f130dc
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


[red-knot] binary arithmetic on instances

This implements the (subtle!) algorithm that Python uses for binary arithmetic operations between two instances. The full algorithm is described well in this blog post by Brett Cannon; the official Python docs for this are here.
There are still many TODOs in the code and tests. The main remaining tasks in this area are:

There are many type errors we do not currently catch, and some types that we do not yet infer correctly, because we would need to validate the types of arguments passed to functions.
We do not yet have any capability to traverse a class's MRO to understand if one class is a subclass of the other

Closes #13590

Okay, this should now be passing all tests!

Thanks @carljm! Pushed a commit addressing your review -- the only things you might want to glance at again are my implementation for is_subclass_of() and the test snippet I added for inheriting from Unknown.

I got messaged by @AlexWaygood on Discord about a potential error in my blog post's code, but since I never heard back from Alex after I answered the question I wanted to make sure you all knew that the canonical code for my syntactic sugar posts can be found at https://github.com/brettcannon/desugar/ . That repo has tests to verify the unravelling matches actual semantics and the code hasn't been modified for blog post readability, i.e. it shouldn't very bugs. 😅


Deploying stack from git fails on windows

Bug description
When managing docker on windows, deploying a stack from git fails
Expected behavior
Deploying a stack from git should succeed
Portainer logs:
2020/12/23 18:48:39 Instance already has defined endpoints. Skipping the endpoint defined via CLI.,
2020/12/23 18:48:39 Starting Portainer 2.0.0 on :9000,
2020/12/23 18:48:39 [DEBUG] [chisel, monitoring] [check_interval_seconds: 10.000000] [message: starting tunnel management process],
2020/12/23 18:48:39 server: Reverse tunnelling enabled,
2020/12/23 18:48:39 server: Fingerprint fd:af:57:18:e9:4c:ad:3e:5a:e3:73:91:90:f2:9d:f4,
2020/12/23 18:48:39 server: Listening on <IP_ADDRESS>:8000...,
2020/12/23 18:49:16 http error: Invalid JWT token (err=Invalid JWT token) (code=401),
2020/12/23 18:49:16 http error: Invalid JWT token (err=Invalid JWT token) (code=401),
2020/12/23 18:49:16 http error: Invalid JWT token (err=Invalid JWT token) (code=401),
2020/12/23 18:49:16 http error: Invalid JWT token (err=Invalid JWT token) (code=401),
2020/12/23 18:49:16 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404),
2020/12/23 18:49:16 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404),
2020/12/23 18:49:16 http error: No administrator account found inside the database (err=Object not found inside the database) (code=404),
2020/12/23 18:49:54 http error: Unable to clone git repository (err=read C:\data\compose\1\.git\HEAD: The process cannot access the file because another process has locked a portion of the file.) (code=500),
2020/12/23 18:50:08 http error: Unable to clone git repository (err=read C:\data\compose\2\.git\HEAD: The process cannot access the file because another process has locked a portion of the file.) (code=500),

Steps to reproduce the issue:

Go to stack creation view
Enter the details and stack name from a git repo
Try to deploy and get error unable to clone git repository

Technical details:

Portainer version: CE2.0.1
Docker version (managed by Portainer): 19.03
Platform (windows/linux): Windows Server 1809
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): docker run
Browser: Chrome

I found the same issue using version 2.0.1, guys.
Same log and same task: deploy stack.

Yip its still present in 2.0.1, as this has not been fixed yet :)

on standalone windows local endpoint I also get this issue in 2.1

I have the same bug when I try to deploy a stack from git and the docker host is placed behind a proxy. This bug occurs on Linux and Windows platforms when environment variables for the proxy are passed to the portainer container. Is it in the process of being resolved or is there a way around it ?

I have the same bug when I try to deploy a stack from git and the docker host is placed behind a proxy. This bug occurs on Linux and Windows platforms when environment variables for the proxy are passed to the portainer container and with Portainer (v2.1.1).It worked fine with version 1.22. It Is it in the process of being resolved or is there a way around it ?

@ChristelleThiry we're currently investigating changes on how we handle Git repositories but I'm not 100% sure that your problem is related to the one reported here (which is a Windows specific issue). Could you open a separate bug report and give us more details about it in there?

@deviantony I’m experiencing this issue, but on Ubuntu. Version 2.9.2


confidence score inconsistency with original paper

This is a question related with the content of the yolov2 paper. In paper, the predicted confidence pred_c is the product of class probability and IOU:
Pr(object)*IOU(box,object) =  sigmoid(pred_c)
However, in the interpret_netout function, I saw you do: Pr(object)=Pr(object)*sigmoid(pred_c), where Pr(object) uses softmax(pred_prob). While it makes sense to do so, I don't see the relationship between that and the above equation in paper.. and I don't know if this is the approach used in darknet?
Could you help me understand your approach here? Thanks!

Search for  "class-specific confidence scores" in the original yolo v1 paper: https://pjreddie.com/media/files/papers/yolo_1.pdf

@harryxu-yscz, I didn't notice this point until you asked the question. It turns out that I didn't follow the YOLOv1 paper closely regarding this matter of confidence score. Specifically, I completely ignore the IOU business when dealing with confidence. So Pr(object) is directly the confidence score (or objectness score). I will revise the code with regard to this matter.
In the interpret_netout, I did: Pr(class) = P(class/object) * Pr(object), not the formular that you wrote.
I hope that it clears the confusion.

Guys thanks for the engagements.
@experiencor you addressed my questions clearer than I did. And thanks for pointing out the details in interpret_netout

Did we solve this problem in the code?

@harryxu-yscz, I have fixed this code but there are still some discrepancies with the original loss function. I will update the code when I fix all of them. Stay tuned.

@experiencor Hi experioncor, I just want to ask, is this fixed yet?

@mrqorib Yes. This issue was fixed in the latest code.


Doesn't work on ubuntu bionic with netplan

Cookbook version
4.5.0, master
Chef-client version
14.8.12
Platform Details
Brand new minimal Ubuntu Bionic installation.
Scenario:
Basic usage (any).
Steps to Reproduce:
Try any standard example.
Expected Result:
It should work.
Actual Result:
Chef errors out when iptables::default tries to write to /etc/network/if-pre-up.d/iptables_load because that directory does not exist by default.  Ubuntu switched to netplan instead of ifupdown.
Discussion
See #103 for more details on what's going on here.  It looks like this cookbook doesn't even need to write a hook into if-pre-up.d anymore.
Workaround
Create the directory /etc/network/if-pre-up.d and let the cookbook install the obselete iptables_load hook there.  It won't ever be triggered on a host with netplan, and it wouldn't work anyway because /etc/iptables/general doesn't exist.

Hey, since @bmhughes  put in a fix in #109 can you check if this is still an issue?


add means to run dash-licenses

Discussing with @MatthewKhouzam  about 3PP license checks, I mentioned an Eclipse Foundation tool, dash-licenses, that I am integrating in Theia's CI. Here's a quick integration for theia-trace-extension. Since only Ericsson employees have contributed to this, and both Eclipse Theia and this project here are done for Ericsson, I think I can change the license of the license check script to match this repo's license (and have done so).
The PR adds:

a GH workflow that runs the license check
a "baseline file" (license-check-baseline.json), that acts as a filter, for the check to temporarily ignore some dependencies that are already known to fail the license check

this permits running the check during a PR's CI, to fail only if any new dependency is found that does not pass the license check.
the dependencies in that file are assumed to be worked-on in the background (e.g. being investigated)
in some cases, dash-license can report false positives - they can also be added to that file.
each entry in the file has two fields: the dependency and an optional string, that can be used to document why an entry is present. e.g. "the license for X says $BADLICENSE but we believe that's wrong so let's ignore it"

a license-check script, check_3pp_licenses.js and a script entry in package.json to run it

To run locally, do:
yarn license:check
To get the full results, first temporarily remove file license-check-baseline.json:
$ mv license-check-baseline.json license-check-baseline.json.bak
$ yarn license:check
$ mv license-check-baseline.json.bak license-check-baseline.json

A summary, with all dependencies listed, is created: license-check-summary.txt

@marcdumais-work Thanks for this contribution. Yes, changing the license to MIT as you suggested would help.
The license check execution failed because some licenses could not be verified (I think). What would be the steps to fix this? Please let me know.

FYI, the upstream PR has changed quite a bit since I opened this draft PR, with Paul helping improving it. I can uplift it, if you are interested to eventually merge.

I have updated the PR and description, to match what we merged upstream. I kept multiple commits so the changes I made are clearer - I can squash before an eventual merge.

FYI, Paul had the idea to contribute an npm packaging, directly in the dash-licenses repo, which would make it even easier to integrate to various repos. No ETA, so in the meantime this PR is the best way forward that we have.
https://github.com/eclipse/dash-licenses/issues/96

This PR has become obsolete. We are working to create an easily integrated wrapper for dash-licenses, that will be published as a npm package. Once that's done, adding license check here in this repo and others too, will become a lot easier and more maintainable.


tiledbsoma 1.5.0rc1

Following https://github.com/single-cell-data/TileDB-SOMA/wiki/Branches-and-releases

Blocked on https://github.com/conda-forge/tiledb-py-feedstock/pull/181

New error in CI:
package tiledbsoma-py-1.5.0rc1-py37h158d4c2_0 requires scanpy 1.9.*, but none of the providers can be installed

Weird: https://anaconda.org/conda-forge/scanpy/files has 1.9.5 ... 🤔 ...

scanpy 1.9.4 dropped support for Python 3.7 (https://github.com/conda-forge/scanpy-feedstock/pull/8). So the question is: why can't it install scanpy 1.9.1, 1.9.2, or 1.9.3?

Ah, I know why! The py37 conda binary is created by the fork TileDB-Inc/tiledb-py-feedstock
https://github.com/TileDB-Inc/tiledb-py-feedstock/tree/build-linux-64-py37
I have a job that runs every 6 hours. It checks conda-forge/tiledb-py-feedstock and then updates TileDB-Inc/tiledb-py-feedstock
https://github.com/TileDB-Inc/conda-forge-nightly-controller/actions/workflows/linux-py37.yml
It last ran 5 hours, and the update commit landed an hour ago. I just manually triggered the job
https://github.com/TileDB-Inc/conda-forge-nightly-controller/actions/runs/6355570813

What to watch:
https://dev.azure.com/TileDB-Inc/CI/_build/results?buildId=35299&view=results
https://anaconda.org/tiledb/tiledb-py/files

Uploaded https://anaconda.org/tiledb/tiledb-py/files?version=0.23.1


Schema 4.2

Refactored to organise the code better and align with similar extensions like ckanext-query-dois
Now uses datacite Python library
Uses Datacite schema 4.2
Breaking IDoi interface changes:

build_metadata changed to build_metadata_dict
build_metadata_dict has additional errors parameter and return value (a dict of metadata keys and any errors encountered while attempting to retrieve a value)
metadata_to_xml changed to build_xml_dict (because it wasn't actually creating any xml)
build_xml_dict parameters rearranged (to better match build_metadata_dict)
the dict used is now the package_show dict instead of the package_update dict because it has more information

Changes in metadata are checked directly against the xml stored in Datacite
New command for updating datacite metadata without updating the package: update-doi

I know the branch is called schema-4.3, I didn't know the datacite lib only goes up to 4.2 when I created the branch

Coverage decreased (-4.4%) to 57.95% when pulling 536358c1b6e25b57f4d57a4f62e02ad64bfdf160 on schema-4.3 into dae1385c8bafd1213ef20031658b4f6cc65bbca0 on master.


Replace docstring "Placeholder" text

Recently, we added placeholder subject lines to docstrings which lacked subject lines but contained other data, like parameter annotations or return annotation. We needed to do this because:

the code formatter didn't understand this situation and would try to fix it by bringing the  "Returns:" line to the subject, and
this would cause the docs to no longer correctly render the return type

We need to replace "Placeholder" with a real subject line for each of those functions/classes.

Should we replace the placeholder with a brief description of purpose of the function?

Yes, exactly :)


Quick Search not working

Laravel Version: 5.8.31
PHP Version: 7.3
Laravel-admin: 1.7.5

Description:
When using $grid->quickSearch('name') the page redirects to ?&search=asd but no search is applied to the grid. I've also tried:
            $grid->quickSearch('name', function ($q) {
                dd($q);
            });

but nothing happened

Update: for me the problem was that I was using old way of initialising the grid:
        return Admin::grid(BlogArticle::class, function (Grid $grid) {
            $grid->quickSearch('title');
            $grid->disableFilter();
        });

Fixed it by changing the code to:
$grid = new Grid(new BlogArticle());
$grid->quickSearch('title');
$grid->disableFilter();
return $grid;


Add anti aliasing

Closes #59

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (71028e9) 100.00% compared to head (7eb6939) 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##              main      #240    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files          136       137     +1
  Lines         8813      8946   +133
==========================================
+ Hits          8813      8946   +133

Files Changed
Coverage Δ

crates/modor_graphics/src/lib.rs
100.00% <ø> (ø)

...tes/modor_graphics/src/components/anti_aliasing.rs
100.00% <100.00%> (ø)

...odor_graphics/src/components/render_target/core.rs
100.00% <100.00%> (ø)

...modor_graphics/src/components/render_target/mod.rs
100.00% <100.00%> (ø)

...r_graphics/src/components/render_target/texture.rs
100.00% <100.00%> (ø)

...or_graphics/src/components/render_target/window.rs
100.00% <100.00%> (ø)

crates/modor_graphics/src/components/renderer.rs
100.00% <100.00%> (ø)

crates/modor_graphics/src/components/shader.rs
100.00% <100.00%> (ø)

crates/modor_graphics/src/components/texture.rs
100.00% <100.00%> (ø)

crates/modor_text/src/components/text.rs
100.00% <100.00%> (ø)

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


KZL-557 - Add all controller csharp

What does this PR do?

How should this be manually tested?

Step 1 :
Step 2 :
Step 3 :
...

Other changes

Boyscout

 Snippets tests reports   SDK Version Tests overview      v6        v5                           :heavy_check_mark:                            v1        v1        v1        v1


Read the feeDivisor value from contract

Read the feeDivisor value from contract when generating network instead of using 100.
Related to https://github.com/trustlines-network/relay/issues/194

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I resolved the problem shown by travis by reverse-engineering, and now the travis checks pass but I cannot run the relay server anymore. I am not sure who's correct.


Geographiclib does not exist in older versions of Ubuntu

Since #40244, we have trouble issues using rosdep install with geographiclib dependency in a Bionic Beaver version of Ubuntu.
Refering to this line, @clalancette, could we add:
artful: [libgeographic-dev]
bionic: [libgeographic-dev]
vivid: [libgeographic-dev]
wily: [libgeographic-dev]
xenial: [libgeographic-dev]
yakkety: [libgeographic-dev]
zesty: [libgeographic-dev]

to the "geographiclib" key for ubuntu in base.yaml below :
ubuntu:
'*': [libgeographiclib-dev]
?

Bionic (and older) are all end-of-life now, so I don't think we should keep those keys around.  But I'll ask others what they think; @ros/rosdeputies do you think we should restore these keys for end-of-life distributions?

I see this output in the terminal:
Looking for packages in '/opt/ros/melodic/share'... using matcher with tags [melodic, ubuntu, bionic]
loading cached data source:
	https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
	/root/.ros/rosdep/sources.cache/a4b3c8956ab7a3e6d293ba33b57fac42799e69e6.pickle
loading cached data source:
	https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
	/root/.ros/rosdep/sources.cache/b4931581ca7c5741f7ee4ac9767a1174838296f7.pickle
loading cached data source:
	https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
	/root/.ros/rosdep/sources.cache/7cfbeed211a3f9a6507c86cebaeedb3e3c4387f8.pickle
loading cached data source:
	https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
	/root/.ros/rosdep/sources.cache/825fae71ab9ea366e0b22e8dbe1e2948232cb2e8.pickle
loading cached data source:
	https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
	/root/.ros/rosdep/sources.cache/b67f64890f6d5269c51a68744711f115a8f207ae.pickle
loading cached data source:
	https://raw.githubusercontent.com/ros/rosdistro/master/melodic/distribution.yaml
	/root/.ros/rosdep/sources.cache/92e5d8c5f0d9455fe3a14e3dd1f7b90ca9ae78a8.pickle

Is there a way to change the URL from master to a commit SHA or tag instead of master? That way I could download old yaml files that still work fine in melodic and bionic.

do you think we should restore these keys for end-of-life distributions?

I don't think that it makes particular sense to keep maintaining these if they are clearly end of life.  Users should be able to use previous tags to preserve their current status, but consider migrating soon.

@mjcarroll, that's reasonable. How can users do this though?

Users should be able to use previous tags to preserve their current status

Oh, perhaps I was mistaken here.  I thought that rosdep would let you target previous tags.  @cottsay is this something in a PR that I am mis-remembering?

Well, with that PR landed, I think that resolves this.  @wico-silva and @Louis-PR feel free to try that out and open issues against the documentation if you continue to have issues.


Remove need for python by replacing python get user with native SH get user

If you replace line 114:
CURRENT_USER=$(/usr/bin/python` -c 'from SystemConfiguration import SCDynamicStoreCopyConsoleUser; import sys; username = (SCDynamicStoreCopyConsoleUser(None, None, None) or [None])[0]; username = [username,""][username in [u"loginwindow", None, u""]]; sys.stdout.write(username);')

With:
CURRENT_USER=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ && ! /loginwindow/ { print $3 }')

You won't need Python for this script anymore.

Good suggestion.
It should be noted that Apple announced during the release of macOS Catalina that future versions of macOS would not include a Python runtime as standard. Therefore removing the need for Python will make it more likely that this script will continue to work 'out of the box'.
See https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes and scroll down to "Scripting Language Runtimes".
I have not yet checked to see if macOS Big Sur has already implemented this change.

Removing Python dependency is a good step, but the bigger potential implication of macOS removing scripting language runtimes is the possibility of Bash also being removed, as indicated by the default shell switching to Zsh in macOS 10.15+. Switching the entire script to Zsh would be a good long-term move, though that may take a fair amount of testing and debugging.

I was planning on re-writing the script to ZSH anyways. We have 10.13-10.5 in my environment, so we’ll at least have that much tested.


Removed the ESLint errors from the project

Fixes #3
These were the following errors before the fix

And this is the build process after the fix

The changes have been commented in each file, you can verify them, if any change is needed, you can suggest me

Nice work @Shivansh-22866


#2138 Show Tweet about recent purchase with creator Twitter

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #2138
[ ]

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address:
Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

changed to twitter color

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 165.25 USD/KSM ~ 0.605 $KSM
🧗 EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU
🔗 0x270fa65ebd4f624a3251bf724c1cebc21bdd1fed5bc3d6854bf844cea76cd284
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Implemented :as mapping option

Implemented :as mapping option, see #184 for more details.

Thank you for the quick pull and the really really great gem!


Question: Is there any library or template reference for Angular

Question: Is there any library or template reference for Angular

@mkamranaslam We have no plans. I think you can refer to Vue or Svelte.


Add automatic mockgen for pkg/mock

Proposal
There are several mock interfaces generated from sources for testing purposes in pkg/mock. These interfaces were generated manually by running commands:
mockgen -destination=pkg/mock/mock_scaling/mock_interface.go -package=mock_scaling -source=pkg/scaling/scale_handler.go
mockgen -destination=pkg/mock/mock_scaler/mock_scaler.go -package=mock_scalers -source=pkg/scalers/scaler.go
mockgen -destination=pkg/mock/mock_scale/mock_interfaces.go -package=mock_scale<EMAIL_ADDRESS>mockgen -destination=pkg/mock/mock_client/mock_interfaces.go -package=mock_client<EMAIL_ADDRESS>
We should add a target to Makefile to regenerate this mock interfaces automatically when there is a change in the source files. mockgen installation should be handled by as well, similar way how kustomize or other tools are being installed in Makefile:
https://github.com/kedacore/keda/blob/00b2972aed7786aa4dcfc73b73a3f7afb367461f/Makefile#L203-L213

I opened #2137 to address this.


Refactor test case.

#97

Pull Request Test Coverage Report for Build 229

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.1%) to 63.324%

Files with Coverage Reduction
New Missed Lines
%

tracer-core/src/main/java/com/alipay/common/tracer/core/appender/self/SelfLog.java
1
75.51%

tracer-core/src/main/java/com/alipay/common/tracer/core/reporter/digest/DiskReporterImpl.java
1
84.62%

Totals

Change from base Build 225:
0.1%

Covered Lines:
2633

Relevant Lines:
4158

💛  - Coveralls


FunctionSet.copy_parameters_from()

Hi all!
The code in 'FunctionSet.copy_parameters_from()' does not work, when 'src' and 'dst' are both numpy.ndarrays?
if isinstance(dst, numpy.ndarray):
    if isinstance(src, numpy.ndarray):
        dst.copy(src)  # this gives a ValueError

I think this should read
if isinstance(dst, numpy.ndarray):
    if isinstance(src, numpy.ndarray):
        numpy.copyto(dst, src)

My numpy.version.full_version is 1.9.2, the 'copyto' method exists since 1.7.0.
Cheers,
-r

Thank you for reporting a bug. I'll check it and fix it.

Thank you guys!

:+1:


rtabmap: 0.17.1-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository rtabmap to 0.17.1-0:

upstream repository: https://github.com/introlab/rtabmap.git
release repository: https://github.com/introlab/rtabmap-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.4
previous version for package: 0.17.0-1

It should fix http://build.ros.org/job/Kbin_uX32__rtabmap__ubuntu_xenial_i386__binary/


Missing early tickets

Due to GitHub usage tickets 1 to 12.
Recommend:
Importing Trac ticket 1 to 12 manual one by one - after import

Ticket 1 & 4 imported, but 2 & 3 skipped

Wiki in https://github.com/pjsip/pjproject/issues/2277 was not resolved and was edited manually

Ticket 1-12 now imported to 2267 onwards.


Test Issue created at Sat, 11 Dec 2021 02:19:31 GMT

Test issue body  Sat, 11 Dec 2021 02:19:31 GMT

Comment on issue at Sat, 11 Dec 2021 02:19:34 GMT


Is foreman needed only for development?

Is foreman needed only for development? I see in the Procfile that you load only the racksh as additional process, so I assume it is not used in production?
Thanks for your attention!

Foreman indeed is only used for development. You don't even have to use Foreman in development, you can just run the commands from the Procfile manually.

I'm closing this issue for lack of activity.