Compile subgraphERROR TS2718: Duplicate property 'id'

First time I compiled my ProxyAdminUpgradeable.
Then I tried with the implementation address and got this error.
Seems to be complaining about a BN
 Compile subgraphERROR TS2718: Duplicate property 'id'.

   get id(): BigInt {
       ~~
 in generated/schema.ts(54,6)

ERROR TS2718: Duplicate property 'id'.

   set id(value: BigInt) {
       ~~
 in generated/schema.ts(59,6)

ERROR AS200: Conversion from type '~lib/@graphprotocol/graph-ts/index/BigInt' to '~lib/string/String' requires an explicit cast.

   entity.id = event.params.id
               ~~~~~~~~~~~~~~~
 in src/mapping.ts(26,14)

✖ Failed to compile subgraph: Failed to compile data source mapping: Compile error
Error: Failed to compile data source mapping: Compile error
    at Compiler._compileDataSourceMapping (/home/ian/code/graph/comp/node_modules/@graphprotocol/graph-cli/src/compiler.js:314:13)
    at /home/ian/code/graph/comp/node_modules/@graphprotocol/graph-cli/src/compiler.js:207:20
    at updateInDeepMap (/home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:1971:22)
    at updateInDeepMap (/home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:1980:23)
    at updateInDeepMap (/home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:1980:23)
    at Map.updateIn (/home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:1278:26)
    at /home/ian/code/graph/comp/node_modules/@graphprotocol/graph-cli/src/compiler.js:206:24
    at /home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:3016:46
    at List.__iterate (/home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:2206:13)
    at IndexedIterable.mappedSequence.__iterateUncached (/home/ian/code/graph/comp/node_modules/immutable/dist/immutable.js:3015:23)

still there

It happens because you have id properties in your events and the auto generated code has tem too by default.
Change your contract events from something like this:
  event IncorporateStart(uint256 indexed id, address incorporator);

to this:
  event IncorporateStart(uint256 indexed itemId, address incorporator);

and it should stop complaining when you run build. You should do the same change on every contract that emits an id
At least that is the solution that worked for me so far.

Is there a temporary work around to this that does not include updating the contract event signature?


[Enhancement] Make Notifications only appear when minimized or in tray

Shouldn't be hard to add a configuration option.


Multiple CollectionFS`s support

I'm using<EMAIL_ADDRESS>(installed it version via meteor add cfs:filesystem, also didn't test with 0.1.1 or ealrier) and having some problems:
(1) Images.files.permit(['download']).apply()  returns next error:
W20150330-20:25:57.663(3)? (STDERR) Error: allow: Invalid key: download
W20150330-20:25:57.665(3)? (STDERR)     at packages/mongo/collection.js:723:1
W20150330-20:25:57.666(3)? (STDERR)     at Array.forEach (native)
W20150330-20:25:57.667(3)? (STDERR)     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
W20150330-20:25:57.668(3)? (STDERR)     at [object Object].addValidator (packages/mongo/collection.js:721:1)
W20150330-20:25:57.668(3)? (STDERR)     at [object Object].Mongo.Collection.allow (packages/mongo/collection.js:769:1)
W20150330-20:25:57.669(3)? (STDERR)     at packages/ongoworks:security/security-util.js:39:1
W20150330-20:25:57.671(3)? (STDERR)     at Array.forEach (native)
W20150330-20:25:57.672(3)? (STDERR)     at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
W20150330-20:25:57.673(3)? (STDERR)     at addFuncForAll (packages/ongoworks:security/security-util.js:38:1)
W20150330-20:25:57.673(3)? (STDERR)     at packages/ongoworks:security/security-util.js:56:1

(2) Images.permit(['download']).apply() not working either
(3) Security.permit(['download']).collections([Images.files, Audios.files]).apply() fails with same error as (1)
(4) Security.permit(['download']).collections([Images, Audios]).apply() works, but actually set rules only for first collection in array (Images in example)
My temporary (cause I doubt I fixed it properly, but at least it works) solution to (4):
FSCollection object seems have no _name property, but have name. I mean, here c._name is undefined, and c.name is actual FSCollection (not mongo collection, which looks like cfs.filesystem.images and stored in Images.files._name property) name (i.e. 'images' or 'audio'). This leads to wrong assignment on 59th line (it creates object {undefined: true} cause c._name is undefined) and therefor in future  not processing any collections except first one or whatever.
So, to fix it one can change c._name to c._name || c.name on lines 54 and 59 in security-util.js file.
Also I did suppose something like c.files && c.files._name || c._name || c.name should work too, but it changes nothing (haven't investigated why). it works when permitting 'download' like wrote in upd. section
upd.:
To make my "hack" work seems like .collections method should be called separately for each collection, i.e.:
Security.permit(['download']).collections([Images]).apply();
Security.permit(['download']).collections([Audios]).apply();

Again, have no idea why

Should be fixed by https://github.com/ongoworks/meteor-security/commit/4a4c0ba523b035915a715ec377f2e985c874622b in 1.3.0

I can confirm that doing:
Security.permit( ['download'] )
        .collections( [CardImagesCollection, CardFilesCollection] )
        .ifCanReadOwnerCard()
        .apply();

only allows downsload on the first collection. ifCanReadOwnerCard will be executed for the second, but it will deny it no matter what is returned.


EvmError: Revert while setUp()

Component
zkForge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0
What command(s) is the bug in?
zkforge test
Operating System
macOS (Intel)
Describe the bug
[FAIL. Reason: EvmError: Revert] setUp() (gas: 0)

This should be resolved but please re-open if otherwise.


Make random order stable and platform-independent

This makes two important changes to random ordering.

Using the --order=random option with a particular seed will now produce the same order on every Ruby interpreter.
The order is stable, so that if step A runs before step B with a given seed, it will still do so for that seed and suite even if intervening steps are skipped.

Previously, the random seed would produce consistent results on a given interpreter, but this could not always be reproduced on another version of Ruby. This occurred because Array#shuffle is implemented differently in different interpreters: Ruby 1.9.3 and JRuby 1.7.x share one implementation, whilst Ruby 2.x has a different one.
Stability of ordering is a necessary precondition for using bisection to resolve an ordering dependency (as RSpec can do), should we wish to add that in the future.
Ordering is now implemented by sorting on the 256-bit SHA2 hash of the string representation of the seed plus the index of the scenario. As randomisation takes place before non-matching steps are discarded, stability is maintained.
Fixes #971.

Looks good @threedaymonk, thanks!

@danascheider Do not forget to update the History.md, when you merge a PR (this PR, and issue #971 that it closes, needs to be mentioned there now).

Sorry, will do!

I often forget too. It's a hassle but I think it's well worth it. I just wish there was some automatic way of doing it...


Updated default Corefile that is installed with the current version o…

The default Corefile that is installed by Kubernetes for CoreDNS has changed from what is currently represented in this document. Updated the Corefile and description of new options.

/assign @jimangel

/lgtm
/approve


Z Index issues

I'm able to access the resize handle above a dialog or anything above the resize handle.

Demo

Reproduction link
https://codesandbox.io/p/devbox/clever-johnson-yl7sg4?workspaceId=3494ce51-f0e3-4621-b467-08e9f6142c44

Yeah, I think this is a bug in the recent PanelResizeHandleRegistry utility I wrote, to support resizing multiple panels at once. Will need to think about how best to handle z-index.

This is trickier than I had hoped.
I have a work in progress attempt on #291 but (a) I'm not sure how expensive calculating and comparing stacking order will be and (b) I'm not yet sure why the change breaks my e2e tests.

Fixed in c1aa2b0; available in version 2.0.5

❤ → ☕ givebrian.coffee


Get unet test into main

Done: https://github.com/tenstorrent-metal/tt-metal/pull/6050#issuecomment-1979939119


[SPARK-29730][SQL] ALTER VIEW QUERY should look up catalog/table like v2 commands

What changes were proposed in this pull request?
Add AlterViewAsStatement and make ALTER VIEW ... QUERY go through the same catalog/table resolution framework of v2 commands.
Why are the changes needed?
It's important to make all the commands have the same table resolution behavior, to avoid confusing end-users. e.g.
USE my_catalog
DESC v // success and describe the view v from my_catalog
ALTER VIEW v SELECT 1 // report view not found as there is no view v in the session catalog

Does this PR introduce any user-facing change?
Yes. When running ALTER VIEW ... QUERY, Spark fails the command if the current catalog is set to a v2 catalog, or the view name specified a v2 catalog.
How was this patch tested?
unit tests

Test build #113502 has started for PR 26453 at commit 51af617.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/18393/
Test PASSed.

Test build #113502 has finished for PR 26453 at commit 51af617.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/113502/
Test PASSed.

Thank you very much for your help!! @dongjoon-hyun


FurtureWarning for deprecation in pandas frame.append method

bin/coverage_report_single.py:135: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  exon_cov_unbinned = exon_cov_unbinned.append(

Closing as has been refactored for next version and now not an issue


⚠ Quirk Club Argentina (API endpoint) has degraded performance

In cfc8841, Quirk Club Argentina (API endpoint) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/api) experienced degraded performance:

HTTP code: 200
Response time: 8276 ms

Resolved: Quirk Club Argentina (API endpoint) performance has improved in b81aab3.


cdsapi: ERA5 total precipitation accumulation

In data_factory/download_era5.py, it downloads 6-hour total precipitation by specifying 6 hour intevals.
But after reviewing the data and reading the ERA5 cdsapi demo,  It seems that the api only downloads 1-hour accumlated precipitation, for multi-hour accumulated precipitation, one have to download all the previous hours and perform accumulation afterwards.

Yeah, I agree with you. Also, in the GraphCast paper, the authors also mentioned that the precipitation data needs to be accumulated from the past six hours. So, have you tried to modify the code or figured out how to prepare the training data at least? (I plan to train the model from scratch if the provided weights file cannot be utilized)

Yeah, I agree with you. Also, in the GraphCast paper, the authors also mentioned that the precipitation data needs to be accumulated from the past six hours. So, have you tried to modify the code or figured out how to prepare the training data at least? (I plan to train the model from scratch if the provided weights file cannot be utilized)

cdsapi is rather straight forward to use, you can refer to NVIDIA's download demo here and here. For precipitation specifically, I just fetch data from all 6 previous hours and add them together, similar to the approach in the ECMWF demo.

Thanks for answering! I remember you mentioned that the inconsistency in model architecture between huggingface checkpoint and this repository in another issue post. Have you addressed that problem and run the project on the GPU cluster?

Thanks for answering! I remember you mentioned that the inconsistency in model architecture between huggingface checkpoint and this repository in another issue post. Have you addressed that problem and run the project on the GPU cluster?

No problem. Regarding the model weights, I wouldn't recommend to try to modify the source code to match the weights provided.
For FourCastNet, we have compared results both from this version and the official version from NVIDIA, and the results from this version is worse, though I couldn't remember by how large of a margin.
For GraphCast, deepmind have since released their implementation and weights in jax, and the results are mostly on par with their claimed state-of-the-art performance. You can also read the implementation in modulus for the pytorch.


Cutover to vanity URLs

add support for www route in prod
remove edge-terminated route

well I'm stumped 🤷
something for the morning...

This is calling for #322 to be added


Small size of svg images

After update to 1.5.1 (from 1.3.1), there is broken size of some downloaded SVG images. I would like the image to fill the entire image view. Here's en example of two similar SVG images and comparison with Coil-Compose:

As you can see, one of the images has broken size and setting contentScale or other imageLoader options has no effect to it.
Here's my code:
    Image(
        painter = rememberAsyncImagePainter(
            url = url,
            contentScale = ContentScale.FillWidth,
        ),
        contentDescription = null,
        modifier = Modifier
            .size(50.dp)
            .background(color = Color.Red),
        contentScale = ContentScale.FillWidth,
    )

I have attached a demo project - ImageDemo.zip
Versions:
ImageLoader - 1.5.1
Kotlin - 1.8.20
Compose - 1.4.0
Gradle - 8.0.2

@qdsfdhvh Thanks for fix. When you upload new release (1.5.2) to maven please?

Sorry, the configuration was changed incorrectly and the uploaded version code is missing, I am re-uploading it now.


Front-end image tag is not updated upon running release script

Bug Report
Problematic behavior
Front-end image tag is not updated upon running release script
Expected behavior/code
Change line 116 of src/helm/env.d/preprod/values.desk.yaml.gotmpl + same thing for prod
Steps to Reproduce

Make a release
Go see the front
It's the same front than 2 months ago and we never realized 🎉 🤝

Done d11d1f3


Breadcrumb trail does not end in item itself

Steps to reproduce

Create a site with the items listed below
Create a breadcrumb trail for /there/software/ahab.md

/index.md
/there.md
/there/software.md
/there/software/ahab.zip
/there/software/ahab.md

Expected behavior
Breadcrumb trail:

/index.md
/there.md
/there/software.md
/there/software/ahab.md

Actual behavior
Breadcrumb trail:

/index.md
/there.md
/there/software.md
/there/software/ahab.zip ← not ahab.md as expected!

I confirm that this change fixes the specific cases I had.


Add instructions to use fuelup.

This works, although without #1742 users will still have to install openssl (they would have to do that anyways if compiling from source so it's not a regression in that sense).

Should be good to go now


The script needs to be updated

Now the latest source code compilation error is ChallengeMode::OnGiveXP(player, amount, victim); No detailed parameters。
void OnGiveXP(Player* player, uint32& amount, Unit* /victim/) override   Change to  void OnGiveXP(Player* player, uint32& amount, Unit* /victim/, uint8 /xpSource/) override

this is the fix:
From:
void OnGiveXP(Player* player, uint32& amount, Unit* /victim/) override
To:
void OnGiveXP(Player* player, uint32& amount, Unit* /victim/, uint8 /xpSource/) override
From:
void OnGiveXP(Player* player, uint32& amount, Unit* victim) override
{
ChallengeMode::OnGiveXP(player, amount, victim);
}
To:
void OnGiveXP(Player* player, uint32& amount, Unit* victim, uint8 xpSource) override
{
ChallengeMode::OnGiveXP(player, amount, victim, xpSource);
}
From:
void OnGiveXP(Player* player, uint32& amount, Unit* victim) override
{
if (!sChallengeModes->challengeEnabledForPlayer(SETTING_QUEST_XP_ONLY, player))
{
return;
}
if (victim)
{
amount = 0;
}
else
{
ChallengeMode::OnGiveXP(player, amount, victim);
}
}
To:
void OnGiveXP(Player* player, uint32& amount, Unit* victim, uint8 xpSource) override
{
if (!sChallengeModes->challengeEnabledForPlayer(SETTING_QUEST_XP_ONLY, player))
{
return;
}
if (victim)
{
amount = 0;
}
else
{
ChallengeMode::OnGiveXP(player, amount, victim, xpSource);
}
}


Sample import does not work in Streams versions < V4.2

When trying to use the network toolkit as additional toolkit in a Streams version where it is not part of the product, i.e. a version < 4.2, it was not possible to import and execute the samples in StreamsStudio.
If a .project file would be delivered with the toolkit it would at least be possible to import them as existing projects.

My mistake. There were .project files for each sample so that I could import them as existing projects.

The sample TestPacketDPDKSource has no .project file. Therefore it can neither be imported as sample nor as existing project.

The DPDK-related operators and their sample applications depend upon specialized hardware and software, and extensive system configuration. They are not suitable for use in Studio.

Why is it not possible to execute TestPacketDPDKSource in StreamsStudio when I have fulfilled all the mentioned dependencies? What exactly is the problem?

Delivered with #100


[Bug] Tx subscriber `Server error: subscription was cancelled (reason: client is not pulling messages fast enough)

Event subscriber from tendermint stop subscribe after listen 4 reports in one block
How to produce?
Run chain with 4 validators when request has been executed. All 4 validators send report to chain in the same block, but tendermint server cannot handle report event correctly. (Internal buffer is full with capacity = 1)
Possible root cause
After experiment error come from https://github.com/tendermint/tendermint/blob/master/libs/pubsub/pubsub.go in send function. Code cannot push new event to channel because it's full. Consumer is https://github.com/tendermint/tendermint/blob/master/rpc/core/events.go that consume data after new event push make pubsub return error and try to cancel subscription.

But ws client have code to resub after got error but code doesn't work out as expect. It return error told that already subscribe

Way to solve

Make sure consumer consume event fast enough (?) for new event
Increase buffer size of buffer
Make resubscription work as code expected

This needs to be fixed prior to the demo. IMO the easiest fix would be to use polling in subscriber code.


TODO Feature: add jwt auth guard

Feature :
This feature needs to be added to the project.
Need to be completed

[x] Implementing Jwt guard
[x] Completion of the task

Done


failed to use SKLEARNEX for 'pairwise_distances'

patching pairwise_distances does not work when I test with following code:
from sklearnex import patch_sklearn
patch_sklearn()
import numpy
from sklearn.metrics import pairwise_distances
from sklearn.cluster import KMeans
import pdb

x = numpy.random.rand(10000,10000)
dist = pairwise_distances(x)

kmeans_clusterer = KMeans(n_clusters=10,
                          init="k-means++",
                          max_iter=300,
                          random_state=0)

labels = kmeans_clusterer.fit_predict(x)

Other functions (kmeans) work properly.
Reproduce

Run above code with export SKLEARNEX_VERBOSE=INFO
Output:

Intel(R) Extension for Scikit-learn* enabled (https://github.com/intel/scikit-learn-intelex)
SKLEARNEX INFO: sklearn.metrics.pairwise_distances: fallback to original Scikit-learn
SKLEARNEX INFO: sklearn.cluster.KMeans.fit: running accelerated version on CPU

Expected Behavior
SKLEARNEX INFO: sklearn.metrics.pairwise_distances: fallback to original Scikit-learn should not be printed.
Environment

OS: Ubuntu 18.04
python 3.6.9

numpy 1.19.5
scikit-learn 0.24.2
scikit-learn-intelex 2021.3.0

Yes, that's to be expected. Currently, the pairwise_distances support only "cosine" and "correlation" metrics for Intel(R) Extension for Scikit-learn, full list pathed algorithms, see here.  For pairwise_distances default is "euclidean" metric, which is currently don't patched.

Yes, that's to be expected. Currently, the pairwise_distances support only "cosine" and "correlation" metrics for Intel(R) Extension for Scikit-learn, full list pathed algorithms, see here. For pairwise_distances default is "euclidean" metric, which is currently don't patched.

Thank you for the reply. I've seen the list but just checked the last column 😭


Build OpenSearch Spark connector.

Goal
Build OpenSearch 2.3 Spark connector based on https://github.com/opensearch-project/opensearch-hadoop repo.

Build
The JAR is in ${OPENSEARCH_HADOOP}/spark/sql-30/build/libs/opensearch-spark-30_2.12-3.0.0-SNAPSHOT.jar
jenv local 14
./gradlew distZip --warning-mode=all

IDEA
./gradlew idea


[DuckDuckGoBridge] URL's returned are invalid

Searching for test in the DuckDuckGoBridge yields URL's such as /l/?kh=-1&uddg=http%3A%2F%2Fwww.test.com%2F.  I can confirm that running curl https://duckduckgo.com/html/?q=test also results in similarly incorrect URL's.  I guess this is either an anti-scraping technique or a spying technique by DuckDuckGo.  (The latter is rather amusing given that DuckDuckGo advertises itself as pro-privacy.)
I guess the DuckDuckGoBridge should remove the leading /l/?kh=-1&uddg= and then run urldecode on the remainder.

Correction: this behavior is documented at https://duckduckgo.com/privacy ; supposedly it's intended to improve privacy from the linked websites (though at the cost of privacy from DuckDuckGo).  According to https://duckduckgo.com/params , it can be disabled by the URL parameter kd=-1 .  So that's probably much preferable over trying to parse the redirect URL.


RGO size issue#352

fixed unreasonalbe 1000% RGO size

I reverted this change as it causes the game crashing a couple of years into the game. Do not knwo why.


Global variable in ddlogapi.c

We have users who want to create multiple instances of the same DDlog program.  The toDelete global variable will break things for them:
https://github.com/ryzhyk/differential-datalog/blob/006845fb67a4ab0e6cec29bf6a2729714ff7ebc1/java/ddlogapi.c#L27

What does "invalid" mean?

I think it means that the code does not look right, but it does not lead to a known bug yet (in this case, because  we are not running multiple instances yet). I might be wrong.

I thought that the labels apply to the issues, and this would mean that this is an invalid issue.
The right label is "bug", or "enhancement".

fair enough


Implements initial take on a forescout secure connector salt formula

GitHub Actions won't run on this PR because the workflows do not yet exist on the main branch. I was able to run them in my fork, though. Here is a run where I temporarily modified the configuration to run on push events:

https://github.com/lorengordon/forescout-secure-connector-formula/actions/runs/3176089811


Can't climb ladders through ceiling world connection properlly

I made the End wrap in on itself, and made a ladder that goes all the way around. However, trying to climb the ladder from the top of the world to the bottom of the world above was a bit janky and didn't work.

fixed in 0.24


Added support for disabling relative paths. Implement issue #37

Hi Daniel,
Awesome Plugin!
Myself and a couple devs from our team installed it today and wished that there was an option to use the project absolute paths instead of relative paths. I implemented this behavior by creating a new option in the settings called relativePaths. It's set to enabled by default which will cause the plugin to continue working as it did before. However, if you disable relative paths the import path will be the project absolute path instead. What do you think?

Any chance at getting this merged in?

Sweet! I appreciate your interest in my plugin and this sounds a perfectly valid feature; sorry I haven't been back to this repo in a while.

Eh, I'll just merge and fix the issues.

Oops, missed those leftovers. Thanks for cleaning it up... and the merge!
Btw, again, awesome plugin. I use it every day.


ClusterMesh: no use kvstore

Proposal / RFE
Summary
we should permit --kvstore to be empty when using ClusterMesh in multiple clusters and Cilium-CLI should not enable kvstore again.
Motivation
It may be more easy for users to generate kubeConfig than providing a suit of ETCD certificates and maintain an extra ETCD cluster.
Goals

kvstore-free on clusterMesh

NonGoals

improve perfermance of kubernetes' apiserver
misconfiguration for remote clusters

Proposal
Design Overview

Desgin Details
Implementation Details
Alpha workflow

Cilium-agent Daemon create a ClusterMesh instance.
ClusterMesh will add/remove cluster in clusterLifecycle.
Once the cluster is added to ClusterMesh, controllerManager will start controllers to list/watch remote Cluster's CiliumNode CiliumEndpoint and update IPCache locally.
ControllerManager will also start service controller to list/watch remoteCluster's ClusterService, it will update ClusterService and merge ServiceCache
Identity watcher will list/watch remote identities and update remote cluster's caches in remoteCaches

Alpha API
Modified
// RemoteIdentityWatcher is any type which provides identities that have been
// allocated on a remote cluster.
type RemoteIdentityWatcher interface {
   // WatchRemoteIdentities starts watching for identities in another kvstore and
   // syncs all identities to the local identity cache.
-     WatchRemoteIdentities(backend kvstore.BackendOperations) (*allocator.RemoteCache, error)
+    WatchRemoteIdentities(remoteAlloc *allocator.Allocator) (*allocator.RemoteCache, error)
   // Close stops the watcher.
   Close()
}

Added
// compatible with KvStore
type RemoteShareStore interface {
    NumEntries() int
    Close(ctx context.Context)
    UpdateLocalKeySync(ctx context.Context, key store.LocalKey) error
}
// compatible with KvStore
type RemoteIPIdentityWatcher interface {
    Watch(ctx context.Context)
    Close()
}

// TODO
//      more details

TestPlan
Following tests will be coverd or considered:

Unit Tests: All core changes must be covered by unit tests.
Integration Tests:

--kvstore can be empty string as an option when using ClusterMesh and Cilium-CLI should not enable kvstore again
different clusters can establish connections with each others
local-balancing with global services
security policies

Benchmark Tests

Graduation Criteria
Alpha

[ ] Implementaion of the new feature in the cilium agent
[ ]  Test cases mentioned in the TestPlan

Alpha -> Beta Graduation

New aggregation layer in the cilium operator, it keeps kubernetes' controllers and provides API interfaces that will be used for merging IPCache or ServiceCache by local cilium-agent

Beta -> GA Graduation

Conformance tests are agreed on and implemented

Risks and Mitigations
TODO
Implementation History
WIP
Reference

Cilium Project
Results of measuring of API performance of Kubernetes

Is your feature request related to a problem?
#15774
Describe the solution you'd like
I'm wish to implement this proposal. Does anyone have any recommendations or advice to fulfill more details of this proposal?

@sstoner New guides in Cilium 1.10 already set up ClusterMesh without kvstore via the new cilium-cli tool, please have a look: https://docs.cilium.io/en/v1.10/gettingstarted/clustermesh/clustermesh/

@sstoner New guides in Cilium 1.10 already set up ClusterMesh without kvstore via the new cilium-cli tool, please have a look: https://docs.cilium.io/en/v1.10/gettingstarted/clustermesh/clustermesh/

clustermesh-apiserver depends on etcd cluster so that cilium started with kvstore=“” is meaningless. And this proposal wants to remove etcd from cilium and clustermesh-apiserver in a true sense.

@sstoner can you present this proposal in the weekly development meeting? It will happen in exactly 12 hours from now. Feel free to ask how to access the meeting in the #development channel in Cilium slack.

clustermesh-apiserver depends on etcd cluster so that cilium started with kvstore=“” is meaningless. And this proposal wants to remove etcd from cilium and clustermesh-apiserver in a true sense.

As @joestringer answered your question in the linked issue, there are architectural reasons for separating the control planes of different clusters from each other, one of which is k8s apiserver scalability, which can't be ignored. Other consideration is the fact that we already have most of the needed control-plane interfaces using etcd that we already need to maintain, so reusing them was a sound architectural choice.
The design diagram shown in this issue description leaves important detail to be filled in in order to consider this proposal. For example, what do the blue boxes labeled as "cluster1" and "cluster2" represent? Red boxes seem to represent modules internal to Cilium agents. For example for the "watch remote identities" function, what entity is initiating it in cluster 1, and what entity in cluster 2 is responding to it? Are you proposing that Cilium agents connect to remote cluster's apiservers directly?

Are you proposing that Cilium agents connect to remote cluster's apiservers directly?

Yes.
In the design philosophy of Kubernetes, there is only one apiserver that is kube-apiserver in the "world" of Kubernetes. That's why all components connect to kube-apiserver to get the data which generated from aggr-apiserver, but not connect to aggr-apiserver directly. "Only one apiserver" keeps Kubernetes architecture simple and reliable, and ensure the data that component get is consistency.
For now, We are worried that the current ClusterMesh architecture will cause data inconsistency and we need more effort to maintain the aggr-apiserver and etcd stability.
For nodes < 5k of all clusters, agent connect to remote cluster's apiservers directly are more reasonable.
For nodes > 5k of all clusters, ClusterMesh aggr-apiserver will be considered. But it should be stateless and data should NOT be saved in the etcd. ClusterMesh aggr-apiserver provide list/watch API for agent, and the merged multi-cluster data keeps in its memory which is get from the remote clusters' apiserver.
Above all, we recommend ClusterMesh module could be more common, which could be run in cilium-agent and aggr-apiserver. And cilium-agent hold an abstract Interface that could get merged multi-cluster data, which implement could be local ClusterMesh instance running in cilium-agent, or a list/watch client get data from ClusterMesh aggr-apiserver.

clustermesh-apiserver depends on etcd cluster so that cilium started with kvstore=“” is meaningless. And this proposal wants to remove etcd from cilium and clustermesh-apiserver in a true sense.

As @joestringer answered your question in the linked issue, there are architectural reasons for separating the control planes of different clusters from each other, one of which is k8s apiserver scalability, which is the principal reason why we support etcd configurations. Other consideration is the fact that we already have most of the needed control-plane interfaces using etcd that we already need to maintain, so reusing them was a sound architectural choice.

we can treat APIServer as a SharedStore and maybe just need to add an adapter to ClusterMesh.

The design diagram shown in this issue description leaves important detail to be filled in in order to consider this proposal. For example, what do the blue boxes labeled as "cluster1" and "cluster2" represent? Red boxes seem to represent modules internal to Cilium agents. For example for the "watch remote identities" function, what entity is initiating it in cluster 1, and what entity in cluster 2 is responding to it? Are you proposing that Cilium agents connect to remote cluster's apiservers directly? If yes, then this seems like something we'd have to support and document in addition to the existing solution.

I have updated the diagram and the design details description. Please take a look.

I'd also like to hear more about the AggregationApiserver mentioned at the bottom of the diagram.

as this comment said , it is the aggregationApiserver we want to propose.

@sstoner can you present this proposal in the weekly development meeting? It will happen in exactly 12 hours from now. Feel free to ask how to access the meeting in the #development channel in Cilium slack.

Ok, I have added the topic to meeting docs


Enhancement Request - attribute to control the newline

Please consider the enhancement to have an attribute, say, "newlineCode", so we can configure the newline string, e.g. "\n" or "\n\r" or "\r".

There are no good reasons not to use \n everywhere. If you really need this, you can just run .replace(/\n/g, '\r\n') on the output.


Add playwright tests for shiny-live and shiny-static usecases

This PR sets up a series of playwright tests covering the following scenarios:
The spec scripts roughly test as follows:
playwright/load-from-url.spec
Tests the url parsing for the py-shinylive that is hosted at shinylive.io:

examples/, editor/, and app/ should allow loading code from URL with #code=...
app/ page should show header bar, but when h=0, should not show header bar.

h=0 should have no effect for examples/ and editor/ pages.

playwright/shiny-static.spec
Tests behavior of a basic shiny_static deploy

Default app view and edit/  pages shouldn’t load files from URL (with #code=...)
Default app view shouldn’t pay attention to h=0 in URL

playwright/examples-viewer.spec
Examples viewer as seen on shinylive.io

Clicking on an example triggers the URL to update to that new example so view can be shared
A new file can be added, code typed in, run and show up in the terminal window.

Misc info

The config file runs both the shinylive.io version  (served on port 3000 and builds a small shiny-live deploy (main app found at playwright/static-app-test) and serves it on port 8008.
The script playwright/helpers.ts gives a few utility functions for common testing expectations. (I'm always a bit weary of helper functions in tests but doing something like making sure text appears in the app iframe is a common action and a bit verbose without a helper)

 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.


docker: prepare Dockerfile for 2.x branch

I tried to install invenio master from docker and there is a problem:
git clone https://github.com/inveniosoftware/invenio.git invenio2docker
cd invenio2docker
docker-compose up

And, the error:
Complete!
Loaded plugins: fastestmirror
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
 ---> b0bc273d953a
Removing intermediate container 0c0a8484f277
Step 2 : ADD requirements.txt /tmp/requirements.txt
 ---> 4f40edc1e5bc
Removing intermediate container 62d0f41a3ab1
Step 3 : ADD requirements-extras.txt /tmp/requirements-extras.txt
Service 'web' failed to build: requirements-extras.txt: no such file or directory

@hachreak the Dockerfile needs to be completely rewritten for Invenio 2.x. I have started with very simplified version in my docker branch (https://github.com/jirikuncar/invenio/commit/568ada845d20a9594713e34644e0ccc3ed4dae6f).

In Invenio v2.0, the demo site was split into its own overlay, so I think most of Docker application building will be done in overlays.  (I had planned to set up an example for the demo site and the CERN Open Data, but I did not get to it yet.)  Inside Invenio itself, I think the Docker could be rather thin, basically just to install the software and run the tests...

basically just to install the software and run the tests...

I would say: basically just to install the software and run the tests...

I would say: basically just to install the software

(to be able to run the tests; we wouldn't run them in CMD)

to be able to run the tests

:+1:

[ ] add new configuration INVENIO_ALLOWED_ENVS with list of allowed os environment variables to ease creation of docker-compose.yml

Example
export SQLALCHEMY_URI = mysql://invenio:invenio@mysql/invenio
export REDIS_HOST = redis
INVENIO_ALLOWED_ENVS=SQLALCHEMY_URI,REDIS_HOST inveniomanage runserver -h <IP_ADDRESS> -p 8080

--
cc @lnielsen @tiborsimko @kaplun @egabancho

Ok, I'm working on new dockerization: https://github.com/hachreak/invenio/tree/fix_docker

INVENIO_ALLOWED_ENVS=SQLALCHEMY_URI,REDIS_HOST

Is this needed? The Invenio app uses many more environment variables, such as GD_ACCESS_TOKEN in googledrivefs.py, or just take HOME and TZ and PAGER ones...

Is this needed?

Yes, as discussed with @lnielsen IRL.
Summary: this variable creates list of keys that can be replaced in app.config and hence can have impact on application itself.
Following environment variables have limited impact and its usage should be anyway deprecated/removed.

GD_ACCESS_TOKEN in googledrivefs.py

It's there because we were trying to get integrated to pyfilesystem but normally it should be always supplied with user access token.

Summary: this variable creates list of keys that can be replaced in app.config and hence can have impact on application itself.

Then maybe a better name is needed.  If you do git grep os.environ, there are quite a few more environment variables that also have impact on an Invenio application. Was the idea to list them all and protect their usage everywhere in the code base, if they are not allowed via this new variable?  (That's bigger than just "prepare Dockerfile"...)

os.environ is fine as long as its value doesn't modify app.config (see 85a03a441ebe205eaf1085a98df514728ac96603).

os.environ is fine as long as its value doesn't modify app.config (see 85a03a441ebe205eaf1085a98df514728ac96603).

What about INVENIO_APP_CONFIG_ENVS?  Reads simply as "Invenio app config environments", which seems to denote well the meaning.
(INVENIO_ALLOWED_ENVS reads as "Invenio allowed environments", which seems too much, as if Invenio wouldn't allow any other envs anywhere else in the codebase...)


Make POST method accept dynamic URL

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2110
Description
Clear and concise code change description.

Changed the post method to accept a dynamic URL. This method uses the @Url annotation, allowing it to handle both relative and absolute URLs.
Remove need for distinct Bundle vs other forms of uploading by generalising the UploadRequest to accept any url and resource (of which Bundle is one)

Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)
Screenshots (if applicable)
Checklist

[x] I have read and acknowledged the Code of conduct.
[x] I have read the Contributing page.
[x] I have signed the Google Individual CLA, or I am covered by my company's Corporate CLA.
[x] I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach.
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the style guide of this project.
[x] I have run ./gradlew check and ./gradlew connectedCheck to test my changes locally.
[x] I have built and run the demo app(s) to verify my change fixes the issue and/or does not break the demo app(s).

please link issue number and update PR type

please link issue number and update PR type

done


Admin user provisioning tool should not have been removed from LCS deployments.

[Enter feedback here]
Why was the admin user provisioning tool removed from LCS deployed environments? If we perform a database restore from a higher environment where we don't have access (such as from prod), we lose access to our development environment and have to go add ourselves back in manually via SQL like it's 2012 again.

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

ID: fe3913a6-4daa-9973-6f0b-d7ae4c1007c2
Version Independent ID: f2cd311b-fcb8-cff4-57a3-47c3c52b19d6
Content: Deploy and access development environments - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/dev-tools/access-instances.md
Service: dynamics-365-cross-app
GitHub Login: @laneswenka
Microsoft Alias: laswenka

@DevinSharp, thank you for providing this feedback.
@laneswenka, can you answer the above question?


Custom objects

Thanks for developing this library! I am new to go, but it has been easy to reimplement our Python methods using your library.
However, I am currently still facing a problem, which is how to query custom objects stored in the database. Do you have any example how to retrieve an oracle object and convert this?
Thank you in advance.
For reference, in Python, we solved it by building an output converter which was attached to the query:
# this converter is used to convert Y_CUSTOM_OBJECT custom object to a list of integers
def list_out_converter(self, obj):
     return obj.aslist()

# output type handler allows us to convert query output data types
def blob_output_type_handler(self, cursor, name, default_type, size, precision, scale):
      if default_type == cx_Oracle.DB_TYPE_OBJECT:
            return cursor.var(cx_Oracle.DB_TYPE_OBJECT, arraysize=cursor.arraysize, typename='MY_CUSTOM_OBJECT', outconverter=self.list_out_converter)

I think you need to use pl/sql and parameter to get the result in go struct

Thanks, I have not tried that yet. Do you have an example perhaps?
I tried it with the godror library which implements the Oracle Object type, using this library I was able to use the following process to obtain the object and convert it to a list (BOUNDERS is the custom object representing a []int).

type data struct {
   Id    int
   NodeDef_Id   int
   Sent   int
   ValueRaw    byte[]
    BOUNDERS    interface{}
}

err = db.Select(&data, `SELECT t.ID, t.NODEDEF_ID, t.SENT, t.VALUERAW, t.BOUNDERS FROM table_name t WHERE t.CATEGORY_ID = :1`, input_1)

if err != nil {
	fmt.Println(err)
	close(c)
}

for i, blob := range data {
	var datatype []int64
	obj := blob.BOUNDERS.(*godror.Object)
	val, _ := obj.Collection().AsSlice(datatype)
	data[i].BOUNDERS = val
}

it would be great if the same/similar object type can be implemented

no need to convert to sql as pl/sql is also running but you need to use output parameter to get the result
see file connection.go line# 91 for example
func (conn *Connection) GetNLS() (*NLSData, error)

no problem I will investigate the issue and try to find better solution

Thanks, that would be appreciated. It would be nice to have proper support for objects similar to godror. Please let me know if you have any plans for this and if you like me to test something.

I will leave the issue opened and when I make solution I will inform you here

I make a commit  contain update about the issue
I explain how to use user defined type in README.md file v2.2.6 pre-realease
I test it against oracle server 12c hope it will work with other version
please test and send me your feedback

I test against other oracle version and working correctly

I add an example for how to user user defined type UDT


Problem 0.3.1

We have tried to solve problem 0.3.1, but are stuck with this and can't move forward.. Can you help us how we should set up the code with index and store it in the answer_031 variable afterwards? And is this even correct so far?

my_list=[-342, 195, 573, -234, 762, -175, 847, -882, 153, -22]
c_enumerate = enumerate(my_list)
def minimum(x,y):
x_min= min(my_list)
return my_list, x_min
print('answer_031 ', minimum(c_enumerate, my_list))

We get this result:
answer_031  ([-342, 195, 573, -234, 762, -175, 847, -882, 153, -22], -882)

Thank you!

By using this code we find the minimum to be at position 8 (-882) - which is correct, but the output is NOT in a tuple as wanted or stored with a correct variable name.. this guide was what we could find online.
a = [-342, 195, 573, -234, 762, -175, 847, -882, 153, -22]
minimum(a, len(a))
def minimum(a, n):
minpos = a.index(min(a))
print('The minimum of the index is at position: ', minpos+1)

Hi @Frejafalk
Your function minimum should only take one argument as input, the list of numbers.
The output should be a tuple with the index of the smallest number and the smallest number.
Your function definition should therefore be def minimum(numbers) where numbers is the list of numbers given in the assignment text.
And your function's return statement could be ("could" because you are free to name the variables whatever you like) return idx_min_value, min_value where   idx_min_value is the index of the smallest value in the list of numbers and min_value is the smallest number.
The function will therefore look like
def minimum(numbers):
    # Code goes here
    return idx_min_value, min_value

The line x_min = min(my_list) that you write is a big step in the direction of the solution. Ignore the hint from the assignment with the enumerate function.
There is a list method which takes as input a value and returns the index of the specified value (if the value exists in the list, else it returns a ValueError).
E.g.
animals = ["Cat", "Dog", "Horse"]
animals.index("Horse")
# output: 2

The line animals.index("Horse") outputs the number 2 while "Horse" is the third element in the list animals.
Apply this method inside the minimum function on the minimum value found and you should get the index of the minimum value.
Remember to store the solution in a variable named answer_031 i.e. answer_031 = minimum(numbers).
Cheers
Jonas


Minor copy style edits

cc @sandersonet

@krallin - If this is ok, I'll rebase and merge when specs pass.


Critical vulnerability in loader-utils dependency

Here is the notification - https://github.com/onflow/developer-portal/security/dependabot?q=is%3Aopen+manifest%3Ayarn.lock+package%3Aloader-utils


Lost fully qualified type (version 1.3.6)

Hello.
Here is one additional code snippet with lost fully qualified name.
using OtherNamespace;

namespace SomeNamespace
{
    public partial class Subject1
    {
        [Zomp.SyncMethodGenerator.CreateSyncVersion]
        public async Task<(XP, bool)> FooAsync()
        {
            throw new NotImplementedException();
        }
    }
}

namespace OtherNamespace
{
    public class XP {}
}

The problem:

I'm working on a rewriter which is a standalone and only takes care of fully qualifying everything.
I'll have this fixed this week.

Fixed in version 1.3.13


bug argocd application set for ingress picked when it wants LB

correlate changes with https://github.com/gitops-bridge-dev/gitops-bridge-argocd-control-plane-template/issues/17


Logging plaintext password

The adapter seems to be logging the PostgreSQL password in plaintext on startup. Is this intended? Would be nice if it didn't.

@andersflemmen  let me have a look at this and see what we can do in the short term.

let me have a look at this and see what we can do in the short term.
@bboule not log the password in plain text?

Hi @andersflemmen ,@RobAtticus, @bboule and @ashutoshgngwr
This issue is merged since months but still affects the latest Docker Image available on Docker Hub (tags: 0.6.0, master and latest) (see #102).


OmniSharp restarts on autocomplete

I'm using VS code 1.4.0. OmniSharp was working normally until today. When I'm trying to open autocomplete window in specific project OmniSharp restarts infinitely:
Here is output:
[INFO] Starting OmniSharp at '/Users/afomin/Developer/Rent'...
[INFO] Started OmniSharp from '/Users/afomin/.vscode/extensions/ms-vscode.csharp-1.3.0/out/.omnisharp-coreclr/OmniSharp' with process id 11615...
OmniSharp: -s /Users/afomin/Developer/Rent --hostPID 11585 DotNet:enablePackageRestore=false --stdio
[INFORMATION:OmniSharp.Startup] Omnisharp server running using Stdio at location '/Users/afomin/Developer/Rent' on host 11585.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /Users/afomin/Developer/Rent
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: False
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/src/Rent.ClientSite
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.ClientSite/project.json => 4a21c53c-952d-4bf3-8bc6-29d4350ddd00
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/src/Rent.Common
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.Common/project.json => 4d087ce0-65b1-43b7-94de-d50aacd13620
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.Common/project.json => ecb448bb-e936-43ea-8ba7-d25f4b1bf6e6
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/src/Rent.Models
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.Models/project.json => 27513f22-65b5-4fb4-9669-75e9093582bd
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.Models/project.json => dc26a4ea-661c-4239-969b-ad6b53323b33
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/src/Rent.JobFiles
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.JobFiles/project.json => c62c4573-6ac4-4382-843d-ff319c023afe
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/src/Rent.Portal
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.Portal/project.json => af2035e3-6509-45b9-a285-5b192ab89af7
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/src/Rent.Promo
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/src/Rent.Promo/project.json => a8ab0b1c-9008-4267-b977-ea8f6ba96c41
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/test/Rent.Portal.Test
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/test/Rent.Portal.Test/project.json => 707b654d-c44d-4196-8677-951b255c1cbd
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/afomin/Developer/Rent/test/Rent.Test
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/afomin/Developer/Rent/test/Rent.Test/project.json => 60dff26b-2c24-436d-8282-c9ee4cfd0516
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.ClientSite/.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 165 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 2 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 21 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Common/.NETFramework,Version=v4.6
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 116 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 1 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 46 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Common/.NETStandard,Version=v1.6
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 141 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 1 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 46 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Models/.NETFramework,Version=v4.6
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 69 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 48 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Models/.NETStandard,Version=v1.5
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 90 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 48 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.JobFiles/.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 154 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 2 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 1 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Portal/.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 165 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 2 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 80 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Promo/.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 164 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 2 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 5 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Portal.Test/.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 182 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 4 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 9 and removed 0 documents.
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] Rent.Test/.NETStandard,Version=v1.6
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 141 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 2 and removed 0 project references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 12 and removed 0 documents.
[INFORMATION:OmniSharp#MSBuild] Detecting projects in '/Users/afomin/Developer/Rent/Rent.sln'.

[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 374ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 19ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 3ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 15ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 1ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 1ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 3ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 4ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 7ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 4ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 8ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 127ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 28ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 2ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 18ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 148ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 889ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 545ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 5ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 26ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 25ms
[INFORMATION:OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.RunCodeActionService] Applying Microsoft.CodeAnalysis.CodeFixes.FullyQualify.AbstractFullyQualifyCodeFixProvider+MyCodeAction
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/runcodeaction: 200 223ms
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 200 68ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 4ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 1ms

Same here, but it's only in a specific class that Omnisharp restarts when I invoke autocomplete. It restarts because of:
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object.
I found the problem in my class. It implements IDisposable. When I remove that it works like a charm again.

With the latest version 1.5.2 (VSCode) error still present:
[INFORMATION:OmniSharp.Startup] Configuration finished.
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 443ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 8ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 12ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /autocomplete: 500 546ms
[INFORMATION:OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.RunCodeActionService] Applying Microsoft.CodeAnalysis.CodeFixes.AddImport.AbstractAddImportCodeFixProvider`1+OperationBasedCodeAction[Microsoft.CodeAnalysis.CSharp.Syntax.SimpleNameSyntax]
[INFORMATION:OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.RunCodeActionService] Applying Microsoft.CodeAnalysis.CodeFixes.AddImport.AbstractAddImportCodeFixProvider`1+OperationBasedCodeAction[Microsoft.CodeAnalysis.CSharp.Syntax.SimpleNameSyntax]
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /gotoDefinition: 500 1ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Specified argument was out of the range of valid values.
Parameter name: index
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 16ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Specified argument was out of the range of valid values.
Parameter name: index
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /v2/getcodeactions: 500 1ms

Is there anybody alive? This bug prevents from using VS Code with C# because Omnisharp always restarts 👎

Would you happen to have a minimal code sample that reproduces this issue that you could share?

I'm having this kind of issue too.
Here is my log:
Starting OmniSharp server at 12/4/2016, 12:49:12 AM
    Target:

OmniSharp server started wth Mono
    Path: /Users/<Username>/.vscode/extensions/ms-vscode.csharp-1.6.0-beta3/bin/run
    PID: 19476

OmniSharp: -s /Users/<Username>/Workspace/<app> --hostPID 19434 --stdio DotNet:enablePackageRestore=false --encoding utf-8
{"Event":"log","Body":{"LogLevel":"INFORMATION","Name":"OmniSharp.Startup","Message":"Omnisharp server running using Stdio at location '/Users/<Username>/Workspace/<app>' on host 19434."},"Seq":1,"Type":"event"}
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Initializing in /Users/<Username>/Workspace/<App>
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Auto package restore: False
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update workspace context
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Update project /Users/<Username>/Workspace/<app>
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Add project /Users/<Username>/Workspace/<app>/project.json => 518bfe3c-97d1-48bf-8abd-11e795ab805a
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem] Resolving projects references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]   Processing [ProjectState] ProjectAI/.NETCoreApp,Version=v1.0
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 218 and removed 0 file references
[INFORMATION:OmniSharp.DotNet.DotNetProjectSystem]     Added 49 and removed 0 documents.
[INFORMATION:OmniSharp#MSBuild] No solution files found in '/Users/<Username>/Workspace/<app>'
[INFORMATION:OmniSharp.Startup] Configuration finished.
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 500 21ms
[ERROR:Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware] An unhandled exception has occurred: Object reference not set to an instance of an object
[INFORMATION:OmniSharp.Middleware.LoggingMiddleware] /typelookup: 500 0ms

Can you set omnisharp. loggingLevel: “verbose” in the user settings and gather output again? This should give more details about the error

DotNetProjectSystem is no longer supported so I will close this issue.


Can't change the theme and wallpaper

Good day.
My attempts to change the topic of registration, and the wallpaper ended with the failure.
Configuration prescribed in 00-user.conf. The theme was applied only to Waybar.
set $theme $HOME/.config/sway/themes/matcha-blue
set $background $HOME/Изображения/background/1.png

The problem was solved by the transfer of strings, at the end of the config file.
include /etc/sway/inputs/*
include /etc/sway/outputs/*

This happened because in /etc/sway/outputs, the variables that we override are used.

If I remember correctly we have a $HOME/.config/sway/definitions file were you can adjust settings we have in /etc/sway/definitions. This includes changing the modifier key, background image, theme and waybar position.
All in 00-user.conf will be appended to the configuration.
If you have not updated or maybe changed too much it can help to start fresh by updating all packages (sudo pacman -Syuu) and copying the configs from /etc/skel/ to $HOME.

I apologize. Used outdated assembly.
On the site manjaro.org
The latest version of MANJARO-SWAY-21.0-210428 .....


Animations seem to disappear when the game window is minimized.

Seems like the rendering positions are flipping themselves when the window is reopened.
The bug affects everything rendered on the Overworld.
code
Camera cam = Undertailor.getEnvironmentManager().getActiveEnvironment().getOverworldController().getCamera();
Vector3 pos = new Vector3(fPosX, fPosY, 0F);
System.out.println("given " + pos.toString() + ", rendered animation at: screen " + cam.project(pos).toString() + " | world " + cam.unproject(pos).toString());

normal
given (0.0,0.0,0.0), rendered animation at: screen (320.0,240.0,0.0) | world (0.0,-0.4999995,0.0)
after bug
given (0.0,0.0,0.0), rendered animation at: screen (-320.0,-240.0,0.0) | world (0.0,479.5,0.0)

Seems like the rendering positions are flipping themselves when the window is reopened.
normal
given (0.0,0.0,0.0), rendered animation at: screen (320.0,240.0,0.0) | world (0.0,-0.4999995,0.0)
after bug
given (0.0,0.0,0.0), rendered animation at: screen (-320.0,-240.0,0.0) | world (0.0,479.5,0.0)
Test code used
Camera cam = Undertailor.getEnvironmentManager().getActiveEnvironment().getOverworldController().getCamera();
Vector3 pos = new Vector3(fPosX, fPosY, 0F);
System.out.println("given " + pos.toString() + ", rendered animation at: screen " + cam.project(pos).toString() + " | world " + cam.unproject(pos).toString());

ScissorStack wasn't related.
It was just a one-line fix by calling Viewport#update and telling it to go away from touching the camera.
Crying.


[io][dictdump] handle providing numpy arrays of 'numbers'

First check if the array is a numpy array of 'number' else do the previous treatment.
Otherwise the test added (testDumpNumpyArray) fails with h5py 3.0:
======================================================================
ERROR: testDumpNumpyArray (silx.io.test.test_dictdump.TestDictToH5)
Traceback (most recent call last):
File "/home/payno/dev/silx/build/lib.linux-x86_64-3.7/silx/io/test/test_dictdump.py", line 239, in testDumpNumpyArray
dictdump.dicttoh5(ddict, h5file)
File "/home/payno/dev/silx/build/lib.linux-x86_64-3.7/silx/io/dictdump.py", line 226, in dicttoh5
create_dataset_args=create_dataset_args)
File "/home/payno/dev/silx/build/lib.linux-x86_64-3.7/silx/io/dictdump.py", line 255, in dicttoh5
data=data)
File "/home/payno/.local/share/virtualenvs/silx_venv/lib/python3.7/site-packages/h5py/_hl/group.py", line 153, in create_dataset
dsid = dataset.make_new_dset(group, shape, dtype, data, name, **kwds)
File "/home/payno/.local/share/virtualenvs/silx_venv/lib/python3.7/site-packages/h5py/_hl/dataset.py", line 137, in make_new_dset
dset_id.write(h5s.ALL, h5s.ALL, data)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5d.pyx", line 232, in h5py.h5d.DatasetID.write
File "h5py/_proxy.pyx", line 145, in h5py._proxy.dset_rw
File "h5py/_conv.pyx", line 443, in h5py._conv.str2vlen
File "h5py/_conv.pyx", line 94, in h5py._conv.generic_converter
File "h5py/_conv.pyx", line 248, in h5py._conv.conv_str2vlen
TypeError: Can't implicitly convert non-string objects to strings

Changelog:

Could you also remove the if vlen_bytes: while you're at it? Leftover from some refactoring.

sure

So the issue original issue was
>>> numpy.array(1,numpy.uint32).dtype.kind
'u'
>>> numpy.array("unicode").dtype.kind
'U'
>>> numpy.array(b"bytes").dtype.kind
'S'
>>> numpy.array(True).dtype.kind
'b'

i think a better solution is to do
kind = array.dtype.kind
if kind in ["S", "U"]:

For reference

letter
type

b
boolean

i
signed integer

u
unsigned integer

f
floating-point

c
complex floating-point

m
timedelta

M
datetime

O
object

S
(byte-)string

U
Unicode

V
void

yes, I would go more on using numpy.issubdtype(, numpy.unicode / numpy.bytes_)

Do you need numpy.issubdtype(array.dtype, numpy.number)?

Yes otherwise the unit test I added doesn't work. We can want to save numpy arrays on the dicttoh5 ()
    def testDumpNumpyArray(self):
        ddict = {
            'darks': {
                '0': numpy.array([[0, 0, 0], [0, 0, 0]], dtype=numpy.uint16)
            }
        }
        with h5py.File(self.h5_fname, "w") as h5file:
            dictdump.dicttoh5(ddict, h5file)

but we can get rid of it removing the lower()...

Yes fine for me thanks
Le ven. 6 nov. 2020 à 11:46, woutdenolf<EMAIL_ADDRESS>a écrit :

@woutdenolf approved this pull request.
Looks good. If you're done @payno https://github.com/payno I'll merge.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/silx-kit/silx/pull/3251#pullrequestreview-525042120,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCPKFEWAJ6GZDXISM242HTSOPHZTANCNFSM4TMOJ3UA
.

--
Henri Payno


I'm wondering is there some other things need to do in the traing progresss?

At first thanks for your work. I just run the code with caffe and get a iter_200000 model, and test it by your matlab code.But it looks doesn't have the performance compared to your 170000  iterations counterpart.Is there some training tricks I need to do during training progress?(like decrease the learning rate or other things).
ps:the test loss decreases quickly and stucked at about average 0.185 after 30000 iterations.

Hi, 170000 model is trained by the sovler.prototxt in this repository. There aren't training tricks in my training.
In my opinion, more training sample will help your training. About 300000 training samples are used in my training.

Thanks for reply, I found that in the original patch-generation code, there are 20288 patches cropped from 91 images dataset, and you use data augmentation to get 300000 patches from these 91 images,right?

Yes
在 2016年10月10日，18:57，Xianyu Wang <notifications<EMAIL_ADDRESS>写道：
Thanks for reply, I found that in the original patch-generation code, there are 20288 patches cropped from 91 images dataset, and you use data augmentation to get 300000 patches from these 91 images,right?
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/huangzehao/caffe-vdsr/issues/15#issuecomment-252587019, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ANB22gkR8g6qA7nqTImS3GfyZdbxoSIzks5qyhopgaJpZM4KSMv-.


Added internal service to gather collection

this commit adds the collection of the internal service
that is created by every exported service.
the collection criteria is a service that is labeled with
submariner.io/exportedServiceRef with a value of the service name.

Signed-off-by: Brent Salisbury<EMAIL_ADDRESS>Associated with issue #1700

The only issue is File is not gofumpt-ed (gofumpt) and golangci-lint run can't make up their mind on a space at line 133 thus the linting CI is failing 🙃
I'm guessing a reviewer has run into this before and have a suggestion, its pretty basic err != nil check so nothing to really refactor to fix it.
The subctl gather output looks like the following for an example with two exports, nginx1 and nginx2:
 ✓ Found 1 services by label selector "submariner.io/exportedServiceRef=nginx" in namespace "default"
 ✓ Found 1 services by label selector "submariner.io/exportedServiceRef=nginx2" in namespace "default"

Example contents of one of the internal services yaml:
 more submariner-20220225045910/default_services_default_submariner-lpq6zr4tl4o5qvrv2t7o3l3gawkagast.yaml
apiVersion: v1
kind: Service
metadata:
  creationTimestamp: "2022-02-23T23:54:45Z"
  finalizers:
  - submariner.io/globalnet-internal-service
  labels:
    submariner.io/exportedServiceRef: nginx
  managedFields:
  - apiVersion: v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .: {}
          v:"submariner.io/globalnet-internal-service": {}
        f:labels:
          .: {}
          f:submariner.io/exportedServiceRef: {}
      f:spec:
        f:externalIPs: {}
        f:internalTrafficPolicy: {}
        f:ports:
          .: {}
          k:{"port":80,"protocol":"TCP"}:
            .: {}
            f:port: {}
            f:protocol: {}
            f:targetPort: {}
        f:selector: {}
        f:sessionAffinity: {}
        f:type: {}
    manager: submariner-globalnet
    operation: Update
    time: "2022-02-23T23:54:45Z"
  name: submariner-lpq6zr4tl4o5qvrv2t7o3l3gawkagast
  namespace: default
  resourceVersion: "1554"
  uid: 722ab0d2-a8e7-458e-a651-a59d4e1bfa9b
spec:
  clusterIP: <IP_ADDRESS>
  clusterIPs:
  - <IP_ADDRESS>
  externalIPs:
  - <IP_ADDRESS>
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app: nginx
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}

The summary file looks like the following:


[Maintenance] Support of dev Sylius 1.13 version

Q
A

Branch?
master

Bug fix?
no

New feature?
yes

We have introduced support for the dev version to make it easier to install the plugin and Sylius 1.13 at the same time

I'm closing as it has been provided in https://github.com/Sylius/PayPalPlugin/pull/287


PCP: Accelerate the speed of the load region

PCP #1830
What problem does this PR solve?
new feature : PCP: Accelerate the speed of the load region
What is changed and how it works?

add a method of storage.go : LoadRegionsOnce
in the cluster.go : the calling method changes to when load regions
in the region_syncer/client.go: When the follower synchronizes the regions, it will first determine whether it has been loaded from storage and will update the cache synchronously for the changed regions

Check List
Tests

Unit test

Codecov Report

Merging #2034 into master will increase coverage by 0.03%.
The diff coverage is 76.66%.

@@            Coverage Diff             @@
##           master    #2034      +/-   ##
==========================================
+ Coverage   76.83%   76.87%   +0.03%
==========================================
  Files         183      183
  Lines       18301    18326      +25
==========================================
+ Hits        14062    14088      +26
+ Misses       3175     3171       -4
- Partials     1064     1067       +3

Impacted Files
Coverage Δ

server/region_syncer/server.go
77.77% <ø> (ø)
:arrow_up:

server/server.go
82.75% <100%> (-0.29%)
:arrow_down:

server/region_syncer/client.go
83.33% <62.5%> (+0.43%)
:arrow_up:

server/cluster/cluster.go
80.6% <75%> (-0.35%)
:arrow_down:

tests/cluster.go
85.49% <80%> (-0.11%)
:arrow_down:

server/core/storage.go
74.43% <80%> (-1.02%)
:arrow_down:

server/member/leader.go
77.55% <0%> (-2.56%)
:arrow_down:

server/core/region_storage.go
81.81% <0%> (-1.14%)
:arrow_down:

server/config/option.go
90.32% <0%> (-0.93%)
:arrow_down:

... and 13 more

Continue to review full report at Codecov.

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

reset LGTM. PTAL @rleungx

/run-all-tests

/rebuild

LGTM.

/rebuild

/merge


Add link to new chat from contacts imported banner

cc @keybase/y2ksquad

@keybase/react-hackers bump


pgroll: 0.5.0 -> 0.6.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/xataio/pgroll/releases.
meta.description for pgroll is: PostgreSQL zero-downtime migrations made easy
meta.homepage for pgroll is: https://github.com/xataio/pgroll
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.0 in filename of file in /nix/store/bhs6pkn17gdbvnk5w8mny9b0m0qbm7in-pgroll-0.6.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

pgroll

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bhs6pkn17gdbvnk5w8mny9b0m0qbm7in-pgroll-0.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pgroll https://github.com/r-ryantm/nixpkgs/archive/f86578599c2785ca77ad44af8d666bba0d5adbe9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/f86578599c2785ca77ad44af8d666bba0d5adbe9#pgroll

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bhs6pkn17gdbvnk5w8mny9b0m0qbm7in-pgroll-0.6.0
ls -la /nix/store/bhs6pkn17gdbvnk5w8mny9b0m0qbm7in-pgroll-0.6.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

pgroll

Maintainer pings
cc @ilyakooo0 for testing.

Result of nixpkgs-review pr 313495 run on aarch64-darwin 1

1 package built:

pgroll


#12430 Shared SSH sessions

Test cases:

Connect to multiple databases on different hosts simultaneously
Do the same but with the same hosts
Do the same but mix different and same hosts
Try invaliding a connection with a shared session
Do the same but with a connection without a shared session
Try disconnecting a connection with a shared session
Do the same but with a connection without a shared session
Do all of the above with a different SSH implementation (JSCH, SSHJ)
Blend all together and try your best to break everything 🙂

To disable session sharing, use the following JVM property:
-Ddbeaver.ssh.disableSessionSharing=true

Thre is a problem with transactions. It gets rolled back without any warning if you invalidate another connection with the same tunnel. Maybe we shoudn't invalidate all of the connections with the same tunnel at the same time
STR

Create two connections with the same ssh tunnel
Connect to both
Open a transaction in one of them
Invalidate the other

Expected: Transaction is either still open or there is a pop-up asking for action with that transaction
Actual: Transaction is closed without any warning

I think we need to show warning message (e.g. Transactions will be rolled back in the following connections: )

There is an NPE when in tunnel connection in Cloud beaver
	at org.jkiss.dbeaver.model.net.ssh.AbstractSessionController$ShareableSession.connect(AbstractSessionController.java:423)
	at org.jkiss.dbeaver.model.net.ssh.AbstractSessionController$WrapperSession.connect(AbstractSessionController.java:336)
	at org.jkiss.dbeaver.model.net.ssh.AbstractSessionController$DirectSession.connect(AbstractSessionController.java:301)
	at org.jkiss.dbeaver.model.net.ssh.AbstractSessionController.acquireSession(AbstractSessionController.java:64)
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initTunnel(SSHTunnelImpl.java:219)
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.initializeHandler(SSHTunnelImpl.java:99)
	at io.cloudbeaver.service.core.impl.WebServiceCore.testNetworkHandler(WebServiceCore.java:765)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)

Now there is another NPE in the same place
java.lang.NullPointerException: Cannot invoke "org.jkiss.dbeaver.model.DBPDataSourceContainer.getPreferenceStore()" because the return value of "org.jkiss.dbeaver.model.net.DBWHandlerConfiguration.getDataSource()" is null
	at org.jkiss.dbeaver.model.net.ssh.SSHTunnelImpl.closeTunnel(SSHTunnelImpl.java:191)
	at io.cloudbeaver.service.core.impl.WebServiceCore.testNetworkHandler(WebServiceCore.java:778)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)

Verified


iphone8+: looks ugly when we change the language

Environment Details
Spartacus: beta release
Browser: Chrome
Device: Iphone8+
Happens on: https://spartacus.c39j2-walkersde1-d4-public.model-t.cc.commerce.ondemand.com
Steps to Reproduce
Go to Register Form page, or PLP or any page.
Change language to DE
Actual Result

Not very user-friendly. Once the page is reloaded in another language, user has to figure out how to close the disproportionate menu.
Once the menu is finally closed, the storefront is kinda ugly.

When are we getting translations?

we haven't done translation and we had ccv2 server in dev mode not production


Bug: input microphone audio level very low

this is a continuation of https://github.com/bitgapp/eqMac/issues/121
When eqMac is running, the microphone level is barely audible.  I cannot answer calls on my macbook, nor use my voice in meetings like Slack, Webex, Zoom, etc. because the microphone audio is so low.  I have quit eqMac for the audio to be usable.

This. My Mac is almost useless for FaceTime when eqmac is on. Had to manually quit the app every time which gets frustrating

You don't need to quit the app just "disable" it in the upper left corner. But yes I just noticed this and it's so bad oh.
I'm on Ventura not sure about others.

I am also experiencing this issue. Microphone is useless in Facetime while eqMac is enabled.

Ok so I don't use an iPhone and hence never came across this issue while developing the app.
Today I borrowed and iPhone and was testing this functionality for like 6 hours and can confirm that this is an issue and needs to be solved.
Unfortunately Apple does some black magic fuckery with audio device in the background, like creating hidden aggregate device and does a bunch of voice processing stuff in the background. For some reason when combined with eqMacs driver it's also "ducking" the Microphone volume together with other audio, which is totally not how it's supposed to work :
I've tried a bunch of stuff and couldn't find a solution for now.
I'm about to release a new update and thinking to just disable eqMac while there's an active call.
I will file an Apple Feedback request and see how they respond.
As a workaround for now, you can select the Output Device in Facetime > Video menu that you're using, instead of the eqMac device:

This will return the Mic volume back to normal

Hi, this is a long standing issue and we are working to find a workaround. I would close this issue since there is a issue that is pretty close to this one. Please track the progress over there, thanks! #605

Is there either a fix or a workaround for this? I can't renew my subscription in a few months if I have to choose between being able to use FaceTime and being able to EQ the rest of my Mac. I also need this app to control the volume of my external monitor using my keyboard, so I can't not have that every time that I need to use FaceTime.


Expand the discussion of external IP connectivity.

Closes https://github.com/GoogleCloudPlatform/kubernetes/issues/4824
@thockin @smarterclayton
I don't remember all of the details of the discussion, so it's possible that I forgot to add some things, please let me know if there are further things you'd like added.
--brendan

This is LGTM - clear summary.

Will defer to Tim for closure though

once again, I'm impressed my docs-only changes broke both travis and shippable...

@thockin I can haz an LGTM?

LGTM % one change request, feel free to self-merge

Comments addressed, will self-merge on green.

LGTM

Merging, given that Shippable is a flake and travis is running sloooooow


added ES6 importable version to dist

This PR contains a:

[ ] bugfix
[x] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
Wanted to be able to use this project by importing an ES6 module like:
import { NoSleep } from './nosleep.js';
This does just that. A user can copy the two files in dist/ES6 and then import in another module.

Breaking Changes

Additional Info
No breaking changes as it is... but it isn't integrated well with other parts of the package... basically have two versions of src. There has gotta be a better way... could use some input from the maintainer as to how to structure it.
Might also be what #84 looks to fix.

Does the following not work for you?
import NoSleep from 'nosleep.js'

I’m not sure what the specific use case is to import this from a relative path.

It did not work for me. I believe all of that involves using Node runtime or a bundler or other module systems.
See the note in this section: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#importing_features_into_your_script
I'm just wanting to use the ES6 browser based import mechanism.


Checklist after launch Android version

Based on #2.
The Android version is coming soon :muscle: - this is an important event :boom: after which you can advertise the application (links below). Then more people will know about us, which means there will be more new contributors and even more stars on GitHub :satisfied:

[ ] Update README.md + add new screenshots
[ ] Edit the description of the repository (also add labels: react-native, android, ios, github-client)
[ ] Update the description of the organization
[ ] Update information on the site

Publish information about the application (to get more people to know :raised_hand:)
Add repository as open source app:

[ ] React-Native-Apps
[ ] open-source-react-native-apps
[ ] awesome-react-native

Publish to:

[ ] Product Hunt (first and foremost)
[ ] Show HN
[ ] Hackernoon

If I forgot something, please write in the comments (or update the issue if you are a member). Any suggestions are welcome!

:heart: Thanks for making this checklist! I'm going to open some PR's to the three RN repositories listed here if that works for everyone?

@andrewda yes, of course, but only after the release of the Android version, because we could write that it already exists. What do you think?

@lex111 Sure works for me!

@andrewda I mean, it's not on Google Play yet.

I was literally about to write a similar checklist on our gitter channel but this is amazing, thank you so much for this @lex111 literally 2 steps ahead <3
So when I launched GitPoint, my tweet received the most attention by far (and the most traffic). But I also received a good amount from Product Hunt and Reddit. Unfortunately it didn't climb Hacker News as much as I hoped. Once enough attention was coming to the repo - it made GitHub trending and traffic came in beautifully.
I also published it on my LinkedIn feed as well as various Facebook groups. Will do the same again this time around.
In terms of adding to the checklist:
[ ] Twitter
[ ] Social Media groups (Facebook, Google Plus)
[ ] Applicable subreddits (Android/iOS/React Native/Web Dev]
[ ] MadeWithReact
If anymore come to mind I'll let you folks know (please feel free to add the above to your list).
Regarding Product Hunt - definitely agree that we should have the app there but it could prove to be a lot more beneficial if a recognized hunter posts our app. Will be happy to reach out to a few beforehand so we can time the release.

Just a friendly reminder, privacy policy page also be needed.
And about the analytics, I have some ideas. I used fabric.io & google analytics in my own apps, it also has react-native packages.
If anything I can help please let me know, I can do it at weekend.

#169 Privacy Policy is already in :)
Thanks so much @patw0929, I think I'll definitely ask about google analytics integration in the gitter channel over the weekend, appreciate it :pray:


Expose User() function

Power Apps has existing user function:  https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-user
The schema here includes: Email, FullName, and Image.
This should be in Power Fx Core so that other hosts can access in a consistent way.
There's an existing UserFunction definition in PowerApps (USer.cs) that should just be moved to core.
For interpreter,

hosts can provide the values via a ServiceProvider.
We have tests that demonstrate this: https://github.com/microsoft/Power-Fx/blob/76508caefa6f2c4deece9d3eded53ced7071583d/src/tests/Microsoft.PowerFx.Interpreter.Tests/ConfigTests.cs#L662 . But note that the test example derives from CustomFunction, whereas we should just use the definition from PAclient in User.cs.
if the User value is not set, then function can fail.
we may need to allow it to be a lazy lookup to get email/name. Sometimes the host just has a user guid, and getting name,email requires a network call.

TBD on how to handle Image.

fyi,  PowerApps impl of Email has some issues: https://github.com/MicrosoftDocs/powerapps-docs/issues/3152

Adding Needs Discussion tag, cc @jorisdg

Upon discussion with @gregli-msft, @jorisdg , @Shpakh-MSFT , we decided on:

User object, not User() function. This is more consistent with other host-level objects.  This is a known divergence from PowerApps, but we will update Power Apps.
But still same fields (full name, email, image)
Still add some hosting API to allow hosts to specify the fields

In case of conflict between a local symbol and the builtin global, not that Power Fx allows [@identifier] to refer to global namespace.  We can double check that Intellisense shows both [@User] and User if there is a conflict.

Fixed in https://github.com/microsoft/Power-Fx/pull/1214


Why 352*1216？

@zhyever Thanks for your sharing. The input of the model is only the best when it is 3521216, and the performance of other sizes becomes worse. Could you tell me why the output size is 3521216? Thank you very much!

@zhyever Thanks for your reply. I have some questions.

Why is it cropped to 3521216 first during training, and then randomly cropped 352704，instead of randomly cropped on the whole image？
During the test, the indicator is the best only when the model output is 3521216 and grap_crop is used for evaluation.  That is **model output size: raw_img  ,eval size :2061129(grap_crop).**
I tested some scenarios, and the metrics got worse，such as
model output size: raw_img  ,eval size :raw_img
model output size: raw_img  ,eval size :3521216(no grap_crop)
model output size: 3521216  ,eval size :3521216(no grap_crop)
model output size: 3521216  ,eval size :2061129(grap_crop)
model output size: 3021216(crop_by_me),eval size :206*1129(grap_crop)

So I'm wondering why the indicator is the best only in that one case？Thank you very much!

Hi, I'm sorry for this late reply.

The logic is that we first crop images to 352x1216 following the previous KBCrop. It is a center crop and the aim is to delete unuseful fringe areas. I can't remember what paper first adopted this, but many implementations followed it. Then, we come to the random crop of 352x704. The aim is to achieve data augmentation and reduce the memory cost caused by high-resolution input images.
That's an interesting question. Maybe I cannot surely answer you but I hope my words can provide some useful hints for you. I remember the pipeline of the evaluation is raw image -> pred depth -> KBCrop -> evaluation. As mentioned in tips1, the KBCrop removes the fringe of images, in which large depth errors may appear. Hence <model output size: raw_img ,eval size :352×1216(no grap_crop)> can get a better performance than <model output size: raw_img ,eval size :raw_img>. Eval size of 206x1129 is another area of images so the results could be different.
I have to say that <model output size: 352×1216 ,eval size :352×1216(no grap_crop)> is also reasonable. When seeing NYU dataset, the problem is more intuitive: the fringe of GT depth map has no valid value. And the evaluation pipeline is still image -> pred depth -> NYUCrop -> evaluation. Soooo, why not first crop images and then predict depth, like image -> NYUCrop -> pred depth -> evaluation? I tested it many months ago and get better evaluation results. That's could be reasonable, but I have to follow previous works to achieve a fair comparision.

@zhyever Thanks for your reply. I think grap_crop is a trick , not universal. And I can understand  image -> NYUCrop -> pred depth -> evaluation, but the most interesting thing is why it is 3521216 instead of other values(may be 3201184).  In other words, when we get a new dataset, we don't know how big it should be cropped.

I think the raw resolution is better if there is no invalid GT value lying in the fringe of images. If we have to crop, I guess we can calculate some error statistic information (I have to say that this is hard. But I recommend visualizing the GT maps of KITTI or NYU, and then you can see that the invalid fringe is so universal that you can easily set the crop size) about the error and then select relatively accurate areas (as large as possible). Another consideration is the requirement of the model. Many models require inputs with certain resolutions (multiple of 2, 4, 8, ...). You may also consider it when setting the crop size.


Update the page for iPRES 2024

Update this page: https://www.digipres.org/publications/ipres/ipres-2024/
This includes:

Adding useful links, e.g. collaborative notes, blog posts from iPRES 2024
Importing the publications data when it becomes available.
Links to session recordings, when they become available.

You can propose changes directly using this link: Edit via CMS (requires GitHub login) and that will open a PR for me to review.
Or edit the page here: https://github.com/digipres/publications/blob/main/ipres/ipres-2024/index.md
Or just comment below or ping me things on https://digipres.club/@anj or any other route to me or the DPC!

Hi Andy, It seems the iPres 2024 posters are located at a different Zenodo link.

Added, thank you @amanda-tome !

I'm closing this as I can just pick up any future additions as we go.


Maven dependencies not found

Hi there, i'm absolutely new to mirth plugin development and since there is next to no documentation on this, i wanted to use your guide and example. Sadly, the maven dependencies cannot be found. Do you have any idea on this?
Thanks in advance!

You need to show the errors you got when running Maven.
Remember to use code formatting so we can read the errors https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#quoting-code

Apologies, you've managed to hit the exact time of technical difficulties :)
The maven server is indeed currently offline.
I am working on getting it back, and will definitely inform about it here.
Meanwhile you are welcome to hang out at the Mirth Slack workspace and see me shouting at various things in #plugin-development channel.

Hi, @chrmey!
I'm letting you know that https://maven.kaurpalang.com repository is once again up and functional. Currently, it is missing the mirth-plugin-maven-plugin artifact, but for the time being you can import this manually from GitHub
If you have any questions, don't hesitate to join the Mirth Slack and ask around in either #general or #plugin-development.