Using default user and password won't allow login.

Hi, if I run the generator and leave the password to the default value I'm unable to log in.
Supplying a password causes the login to function correctly even if "admin" is re-entered.

Do you know what it ends up as in the database?

Hi Ben, first off, very nice job on this project.
Hats off to you and the team.

Yesterday I managed to recreate the problem 3 times, you know to be sure.
Today I'm unable to reproduce it, PBKAC I guess.
Sorry for the hassle.
Marc.
On Thu, Mar 9, 2017 at 9:05 PM, Ben Conolly<EMAIL_ADDRESS>wrote:

Do you know what it ends up as in the database?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keystonejs/generator-keystone/issues/242#issuecomment-285551598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIhMcEkT3QLw9Wh5KcWEdmZ9WbxNl1L4ks5rkK_wgaJpZM4MYKJ-
.

All good, thanks for the nice words!
And all good on not being able to reproduce. I'm going to close this issue for now, but reopen it if it turns out to be a *thing*.


UPS sample has secret in the wrong place

Right now the UPS example, if I'm following it correctly, has people create broker and instance resources that are basically static. The unique part of things are in the binding because that's where we point to the secret that has the creds. This isn't correct. The secret/creds should be part of the instance so that as multiple apps bind to that instance those creds are injected by copying the secret from the instance data. They shouldn't have to specify the secret on each binding.
In the CF world, the equivalent would be something like:
cf create-user-provided-service my-db-mine -p "username, password"

where this is creating a new service instance called my-db-mine.  People can then bind to this instance w/o having to provide the creds each time.
I see code like this: https://github.com/kubernetes-incubator/service-catalog/blob/master/contrib/pkg/broker/user_provided/controller/controller.go#L83   which either seems to imply that UPS instances can have the creds as part of it or this is just a sample and not meant to be used to actually deploy UPS.
Perhaps the walkthru sample yaml just needs to be updated to add the creds to the instance instead - I'm not sure, the way UPS is layed out (code-wise and in the dir structure) is very confusing to me.

Looking at that code some more I think the answer here is to just update the walkthru sample yaml so that we include a "credentials" parameter in the instance yaml.  I'll open a PR for this.

#851 should close this


Support for vector parameters

As per https://mc-stan.org/docs/2_18/stan-users-guide/linear-regression.html it is recommended to use matrix notation for data because this will be sped up via vectorisation.
While multi-dimensional arrays can be passed to Stan via the data dictionary, there is no way to access a results vector from Julia.
The vector is apparently filtered out at some point - neither cnames nor values provide a means to
access. Specifying beta[1] as monitor also does not work, this issue appears to be independent of using StanMCMCChain (:namedarray also does not work)
I'd be happy to investigate / provide a PR on my own if I am pointed in the right direction, though I'm not sure if there's a 'good' solution to this given that a multidimensional array is not a sufficiently complex type.
Expected behaviour:
beta columns can be accessed via Julia
Example repro:
using CmdStan
using StanMCMCChain
using MCMCChain

y = collect(1:100);
x = [3:3:300 5:5:500];

model = """
data {
  int<lower = 0> N;
  int<lower = 0> k;
  matrix[N, k] x;
  real<lower=0> y[N];
}
parameters {
  vector[k] beta;
  real<lower=0> sigma;
}
model {
  y ~ normal(x * beta, sigma);
}
""";
data = Dict("N"=>100, "k" => 2, "x" => x, "y" => y);
stanmodel = Stanmodel(monitors = ["beta", "sigma"],model=model,
  output_format=:mcmcchain);
rc, sim, cnames = stan(stanmodel, data; diagnostics = false);

cnames
# ["sigma"]

describe(sim)

Closing; forgot that R tends to turn these indices into e.g. beta.1 - specifying this via monitors works.

Although I have never figured out a better way to simplify capturing such an array and the dotted notation is awkward in Julia (I usually rename them to beta_1 or even beta[1], but it continues to bother me).
In the master version of (the still unregistered) StanMCMCChains.jl I'm experimenting with m12.6sl and the new section option in (the not yet merged) MCMCChains.jl. Just as an example where we could go, this is still a number of weeks out ...
Any thoughts are welcome!

Closing; forgot that R tends to turn these indices into e.g. beta.1 - specifying this via monitors works - apologies for the noise.

Would you mind sharing the code for this?

Hi Oliver, an example is m10.04s.jl


cmd/compile: don't depend on statictmp_ variables being read only

In cmd/compile/internal/gc/racewalk.go:
		// statictmp's are read-only
		if strings.HasPrefix(n.Sym.Name, "statictmp_") {
			return true
		}

This isn't really true. If you do:
type T struct {
	x int
}
var y = &T{}

Then the &T allocates a variable that starts with statictmp_, but it is writeable.
I think it would be hard to have a race on these variables, as they are only accessed directly during init functions.  But maybe we should update the comment.
@dvyukov

How's it going here @dvyukov and @randall77?

I'm not sure what the right answer is here.  Possibly this allows races to go undetected.  But it is a very weird corner case, not sure it is worth the effort.
In any case, nothing is happening on it.  Punting.

How hard is it to detect these variables? Is it just checking some addrtaken flag?

@randall77 This issue seems to be outdated afterhttps://go-review.googlesource.com/102817

The string comparison in question is now in ssa.IsSanitizerSafeAddr.


GH1032: Support Async tasks

Issue: https://github.com/cake-build/cake/issues/1032
I have some time inbetween jobs so trying to do this as I attempted to do an async Task.
I'm confused on how to test out an actual script.  I tried to do an integration test.
I went the route of "async by default" so the execute of the ActionTask transforms an Action into a Func then just handle it from there.

@adamhathcock Sorry for not getting back to you sooner.
Is the purpose of this PR to add support for the await keyword in scripts?
Although I'm not opposed to the idea, I feel reluctant to make this many changes in the public APIs in Cake.Core. Is there any other way we could make this happen?

I could probably try to change things to be additive instead.
Would basically be putting 'Task.Wait' in the old methods be bad or would you want a completely separate path for async?

@adamhathcock I think we could start simple with keeping the Tasks synchronous but allowing for running asynchronous code with in the Task.
And an example usage of this could be:
Task("Async-Test")
    .DoesAsync(async () => {
            using (var client = new HttpClient())
            {
                await client.GetAsync("https://raw.githubusercontent.com/cake-build/cake/develop/build.sh");
                var result = await client.GetAsync("https://raw.githubusercontent.com/cake-build/cake/develop/build.sh");
                Information("Build.sh {0}", result.StatusCode);
            }
    })
    .DoesAsync(async context => {
            using (var client = new HttpClient())
            {
                var result = await client.GetAsync("https://raw.githubusercontent.com/cake-build/cake/develop/build.ps1");
                Information("Build.ps1 {0}", result.StatusCode);
            }
});

Will run those 2 actions async when Cake task executes.  And output something like
Build.ps1 OK
Build.sh OK

build.sh last because it this time took longer for som reason to download.
A rough 5-min implementation could look something like
public static class CakeTaskBuilderAsyncExtensions
{
    private static readonly ConcurrentDictionary<string, IList<Func<ICakeContext, Task>>> AsyncTasks = new ConcurrentDictionary<string, IList<Func<ICakeContext, Task>>>();
    public static CakeTaskBuilder<ActionTask> DoesAsync(this CakeTaskBuilder<ActionTask> builder, Func<Task> action)
    {
        return DoesAsync(builder, context => action());
    }

    public static CakeTaskBuilder<ActionTask> DoesAsync(this CakeTaskBuilder<ActionTask> builder, Func<ICakeContext, Task> action)
    {
        AsyncTasks.AddOrUpdate(
            builder.Task.Name,
            key => {
                var tasks = new List<Func<ICakeContext, Task>> {action};
                builder.Does(context => Task.WaitAll(tasks.Select(task => task(context)).ToArray()));
                return tasks;
            },
            (key, list) => {
                list.Add(action);
                return list;
            });
        return builder;
    }
}

My two cents: I really, really believe that Async/Await should a first class citizen in Cake and I like the direction this PR is heading. I think just patching async support in and using blocking Task.Wait* APIs is a bad idea and setting yourself up for long term pain.

@RichiCoder1 Yes, but that is a way bigger task to take on. A lot of code will have to be rewritten (most of the core) and to be honest I'm not that the return on investment would be worth it. I think that the change Mattias propose is something that doesn't intrude on the internals and the day we know how to rewrite the engine, it would be trivial to make these changes fit with the new engine.

@patriksvensson I'll continue to respectfully disagree :), as I believe it's worth the investment. That being said, if there is an engine rewrite being pondering, that would be a good time to introduce this kind of broad change.

@RichiCoder1 out of interest, what are the use cases or benefits that you see for this type of support?

Looking at @devlead 's suggestion, it seems he's doing something to execute things in parallel which is not what I'm trying to accomplish here.
I'm attempting to just execute Tasks synchronously but they're using the async and await keywords to allow usage of Task-based APIs with the pretty await keyword.
I definitely agree running things in parallel is a big change but I'm not seeing what I did as a big change.  It's just pushing some of the idea that a CakeTask would use Task into the engine.  I recognize that could break things but it should be done sometime :)
Anyway, true parallel execution of tasks is out of scope for me.

@adamhathcock well it's only async/parallel with in the same task, in general people only have one "does", but if the do have two async does with in same task wouldn't expectation be to do both async?

@devlead You can save DoesAsync as a method to mean actually run in parallel.
However, if it's just Does(Func<Task>) or Does(Action) it's run synchronously.
When people chain await in code, it's still run in sync.  There's no parallelization unless there's a Task.Run used or something.  I'm just covering the first case using await, not the second with parallelization.

@patriksvensson any comment? (Or anyone else)  I don't think @devlead 's suggestion is the use case I'm covering.
I just want to support async/await.  Not true parallel execution.  I think changing the internals to do Tasks is a first step for both even if it breaks some things.

@cake-build/team what do you think?

@devlead @patriksvensson I've updated my branch (I'll rebase) but just wanted to make sure can this be put in?
async/await in Cake scripts are desired for me :)

Tools such as Windows Azure Storage now only have Async methods. Do you really, want Cake AddIn devs to wrap everything in Task.Run or TaskCompletionSource?

@adamhathcock Sorry for the radio silence about this. I haven't been able to put in as much time as I would have wanted in the project.
Would adding async/await support for tasks break existing scripts?

@patriksvensson Nope!  It adds a new overload for Task to be used by async scripts.  Internally, the old method gets converted a completed task (this change is in CakeTaskBuilderExtensions.cs I think)
The big changes are internal to make the engine be a Task (async all the way) but the scripts themselves can be Task or not.
I think the tests say it all.  All of the old test scripts work and I added a new one that has an async Task task using await inside.

@adamhathcock Will take a closer look at the PR to understand better how it works, but this change sounds OK to me 👍
@cake-build/cake-team Any thoughts about this?

@adamhathcock Since this PR contains breaking changes (ABI compatibility), we've decided to merge this PR with 0.21 if it's OK with you (since that release will contain other breaking changes).

Oh, probably a dum question, but are the script engines we use smart enough to know not to end script exection after RunTarget fires since it's async now? (would need to make sure that this is testing with tasks that actually run ask (file i/o etc...) otherwise the tasks just run sync and it'll work like normal)

@RichiCoder1 Excellent point. We should absolutely make sure that errors are handled properly before merging this PR.

@adamhathcock If you don't get there before more, I can throw together some simple .cakes that exercise these paths. Been forever since I ran cake from source, but I should be able to try this branch out tomorrow :)

@RichiCoder1 @adamhathcock preferably as additions to the integration tests.

Ooo, true. I don't think I've touched cake source code since they were introduced majorly. I'll look into it.

@RichiCoder1 the integration tests are located at
https://github.com/cake-build/cake/tree/develop/tests/integration

@RichiCoder1 it's still synchronous in that code execution is paused then resumed when the await ed code is ready.  There doesn't need to be much special case.  This is just usage of the async/await keywords.  Nothing executes in parallel.
@patriksvensson fine by me.  It is a breaking change in that sense and makes sense to group with others.

Also, error handling with async/await doesn't require anything special unless you're rewriting the stack.  I don't think extra error handling is necessary.  If there's already tests, then issues would have shown up as the engine is Task based now.

@adamhathcock Yes, but suppose you have something like the following (pseudocode warning):
#addin MyAsync.Library

var target = Argument("target", "Default");

Task("Work-With-A-File")
   .Does(async () =>
{
    await DoFileThingAsync();
});

Task("Default").IsDependentOn("Work-With-A-File");

RunTarget(target); // <--- Without an await, will this wait until Work-With-A-File is done, or continue once the sync portion of the code finishes?

  I didn't realize those are the same.  People need to make a RunTargetAsync method and have the old RunTarget call that with a wait.
I'll fix this soon.  Late here.

Okay, updated.  RunTarget calls RunTargetAsync on the script host.  I did some renaming to add Async suffixes on things that looked public like ICakeEngine to make it clear.
I'll collapse the commits later.

When this is merged, will probably want to document the difference somewhere after this is merged.

@patriksvensson and @RichiCoder1 still on the 0.21 milestone?

@adamhathcock yes, I think so. Am I right @cake-team?

@adamhathcock @patriksvensson I would think v0.22.0 as we inserted the .NET tooling parity milestone as 0.21.0, it's nearly ready to ship though. And not much left in 0.22.0 so should be able to ship not to distant future.
If pr could be rebased into one commit against latest develop we could review it directly post 0.21.0 release.

@devlead rebased again

Disappointed this didn't make it into 0.22 . rebased again

ping @patriksvensson

@adamhathcock I'll review this and if I find no issues it'll be shipped with 0.23.0

@adamhathcock I'm really sorry about this. It's been so much work with getting the 0.22 out and for some reason, we forgot to attach this issue to a milestone, which in turn made us forget about it.
This is something that we really want included in Cake, so we hope that you can forgive us for the oversight.

@patriksvensson No big deal.  I was just wanting it in.  Makes my life a lot easier :)

Integration tests fail with
Error: Error occurred when compiling build script: /pullrequest/tests/integration/Cake.Common/IO/FileAsync.cake(17,54):
error CS1503: Argument 1: cannot convert from 'Cake.Core.IO.FilePath' to 'string'
/pullrequest/tests/integration/Cake.Common/IO/FileAsync.cake(18,55):
error CS1503: Argument 1: cannot convert from 'Cake.Core.IO.FilePath' to 'string'

Needed a ToString() :)

Rebased

@adamhathcock your changes have been merged, thanks for your contribution 👍

:)


Can you add new performance metrics

Can you provide implement code for showing the MAP performance on the COCO dataset? Thank you very much if you can help me !!

Hi, to compute COCO MAP you cannot compute it at every iteration since COCOEval computes evaluation on entire dataset at once. Plus since this repo does single person pose estimation MAP evaluation does not fit perfectly with the current scripts. Check #18 to see guidelines about MAP


Support builds on Windows Server 2022 + Install Docker CE

MicrosoftDockerProvider is now deprecated per the README, happy to use this install method for all version but at least on my testing 2022 VM I was unable to install Docker via the old method.

Duplicate of https://github.com/GoogleCloudPlatform/kubernetes-engine-windows-tools/pull/20


Allow collection/persistence of ml_model objects

I want to be able to reuse a model across connections.
Here's a linear regression of the cars dataset.
library(dplyr)
library(sparklyr)

sc <- spark_connect("local")

# The classic cars dataset, plus some data to predict with
cars_tbl <- copy_to(sc, cars)
new_car_data <- data.frame(speed = seq(0, 100, 10))

# Any model will do; here's a linear regression
model <- cars_tbl %>%
    ml_linear_regression("dist", "speed")

If I disconnect and reconnect, then making predictions no longer works.
spark_disconnect(sc)
sc <- spark_connect("local")
new_car_data_tbl <- copy_to(sc, new_car_data)
model %>% predict(new_car_data_tbl)
## Error: java.lang.IllegalArgumentException: Object not found 139

I tried to persist the model using sdf_persist(), but that throws an error.
sdf_persist(model)
## Error: Unable to retreive a Spark DataFrame from object of class ml_model_linear_regression ml_model

Some of the elements of the model are spark_jobjs, which (if I've understood them correctly) are connections to things in Spark. For example
str(model$.model)
## Classes 'spark_jobj', 'shell_jobj' <environment: 0x1123e7120>
ls(model$.model)
## [1] "connection" "id"

I tried to collect the model to bring it into R, but no method has been implemented.
collect(model)
## Error in UseMethod("collect") :
##   no applicable method for 'collect' applied to an object of class "c('ml_model_linear_regression', 'ml_model')"

Due to the presence of these connection objects, saving the model using saveRDS() is also useless.
Have I missed some way to store an ml_model object? Or is it not currently possible?

You likely want to use ml_save() and ml_load(), which should work fine at least with a local Spark connection.

@kevinushey Wow, I can't believe I missed those. Thanks.


chore(main): release 3.6.0

:robot: I have created a release beep boop
3.6.0 (2024-07-29)
Features

add support for node_os_channel_upgrade and maintenance windows (#202) (f0ca6fe)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v3.6.0
:sunflower:


Recording mentions and uses of Frictionless tooling

When I see a reference or use of Frictionless tooling online I want to record it so that we have a set of referenceable examples of people using it that we can cite to funders or mention on our website
Acceptance

[ ] ...

Tasks

[ ] ...

Analysis

online article using table schema … https://hackersandslackers.com/infer-datatypes-from-csvs-to-create/

at OKF, we've created a google form/spreadsheet combo to track things like this. Just FYI in case that is a helpful example to think about :-)

@lwinfree great, is it public and can I add items to it?

@rufuspollock it isn't for general FD items. I brought it up as a suggestion for how we/you might want to start keeping track of general FD items

@lwinfree great suggestion - so you mean we could create a spreadsheet like that? 😄 👍

yes :-)

@sapetti9 We haven't used the OKF sheet in a while...what do you think about re-vamping it?

First draft created: https://forms.gle/hBJhpwY2TdPEFpc97


Missing table schema details

For this table, there's no primary key set.
CREATE TABLE IF NOT EXISTS balance_changes (
   "contract" TEXT NOT NULL,
   "owner" TEXT NOT NULL,
   "amount" INT NOT NULL,
   "old_balance" INT NOT NULL,
   "new_balance" INT NOT NULL,
   "transaction_id" TEXT NOT NULL,
   "block_num" INT NOT NULL,
   "timestamp" TEXT NOT NULL,
   "change_type" INT NOT NULL
)

When sinking data to db, stream sends
{
        "table": "balance_changes",
        "pk": "225bc3affc1da39bd3cb2100c74a41c62310d1e1:b5606469f317018d21f504b6e1518e54b23fa761:9a083cbfc17fbe465bf5c5a042d9e9edbf11a12ae775f6b901c983d2882dd929",
        "operation": "OPERATION_CREATE",
        "fields": [
          {
            "name": "owner",
            "newValue": "b5606469f317018d21f504b6e1518e54b23fa761"
          },
          {
            "name": "timestamp",
            "newValue": "1461615677"
          },
          ...

and it says the table needs to have a primary key. I can set combined primary key as (contract,owner,transaction_id) but the stream needs single primary key.
Can this be resolved using a generated column and specifying it as a pk?

fixed in v1.3.0.
thank you!


Research how sonarqube works with a mixed language project such as react native

Works out the box as it will detect multiple languages. Might need to exclude some of the files in the project though.


Limit on getters?

Summary
Not sure how many getters are allowed
Description
Rn my SCC is a subclass of Server, so when I am trying to updateQueue() or updateAvailableTime() of SCC, I have to create a new SCC and hence, have to access its superclass Server's attributes through getters. Is this OK or will I be penalised?

I made use of protected for the Server's attribute instead of private so that the child class SCC can access the attributes. If I am not wrong, we are allowed to use protected for project

I think it's possible to use protected! I did that as well

@jianhaosoh @jennipho ok got it! thanks :))

@delulu04 you might want to close the issue to declutter, thanks!


Not able to keep the browser open after execution of all the steps in a scenario

QAF Version

3

Steps To Reproduce
1. Run a scenario in feature file (QAF)
2. All the steps gets executed
3. After the final step, the driver gets closed automatically

Is there any way to keep the driver/browser open after the execution of all the steps?

There is selenium.singletone qaf application property.  Possible value can be Tests or Methods or Groups.
If selenium.singletone=Methods, then after each and every test method, driver will quit.
If selenium.singletone=Tests, then after execution of TestNG test, driver will quit.
If selenium.singletone=Groups, then after execution of group, driver will quit.

Hi Amit, thanks for this suggesstion. However, my requirement is something like this:
Execute all the steps > Then keep the browser open so that I can execute some steps manually
Execute all the steps > Issue occurs > Keep the browser open so that the issue can be analysed manually
I want to prevent the browser from closing at all. Is there any way I can achieve it?
Right now I am doing this in debug mode.
Thanks
Rizwana

There are two ways:

Put a break point and Run in debug mode.
Or
Use existing web driver seesion. Create webdriver seesion and use it. Refer https://qmetry.github.io/qaf/latest/using_running_driver_session.html

closing inactive issue. Please post your questions in users group if required further help.


Disabled field styles aren't accessible or visible on low contrast screens

Fields that have a value but aren't editable use a very light grey font style which isn't visible on all screens and won't meet AA accessibility.

Aesthetically I feel like the lighter input and placeholder text is more pleasing, so can see why we originally went down this route, but we’re never going to pass accessibility tests going down that route... feels like Bootstrap does a decent job of this: https://getbootstrap.com/docs/4.0/components/forms/#disabled-forms
I’d suggest we make the normal input background a darker colour and lighten the text inside it whilst still passing the aa accessibility threshold. Might also be worth exploring a “disabled” cursor style, few options: https://codepen.io/chriscoyier/pen/uCwfB

Here's color-grey-2 #4d4d4d foreground on color-grey-4 background. It has a contrast ratio of 6.96:1, and passes WCAG AA standard at normal text size, but not AAA.
Does it look disabled enough?

Is there a slight border on that (i'm on a tiny display and it's hard to tell)? If so would be good to match the background colour to the border, other than that this looks good to me. We should use the cursor: not-allowed; pointer style as well to reinforce the disabled state on non-touch devices

There is a border, and it is now coincidentally the same as the background. The cursor property value is currently default.


[Question] How to add a project page with a specific link?

Thanks for the really cool template. I was running into an issue and I was wondering if anyone knew the solution to it. I was previously using a static html website and I had some project pages that were directly linked under my page (eg, mbanani.github.io/project_name. Since moving to this template, I haven't figured out how to revive those links. Specifically:

Is there a way to incorporate a static html page under the jekyll+githubpages?
how can I set a link between <username>.github.io/<projectname> and that html page?

I would greatly appreciate any help here. Thank you!

I found a hacky solution which is to add the html file as a layout and then create a page with that specific layout. I think there is probably a better solution, but for now, this seems to work.


[auto-merge] branch-22.06 to branch-22.08 [skip ci] [bot]

auto-merge triggered by github actions on branch-22.06 to create a PR keeping branch-22.08 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/reference/pulls#merge-a-pull-request'}

Please use the following steps to fix the merge conflicts manually:
# Assume upstream is NVIDIA/spark-rapids remote
git fetch upstream branch-22.06 branch-22.08
git checkout -b fix-auto-merge-conflict-5724 upstream/branch-22.08
git merge upstream/branch-22.06
# Fix any merge conflicts caused by this merge
git commit -am "Merge branch-22.06 into branch-22.08"
git push <personal fork> fix-auto-merge-conflict-5724
# Open a PR targets NVIDIA/spark-rapids branch-22.08

IMPORTANT: Before merging this PR, be sure to change the merging strategy to Create a merge commit (repo admin only).
Once this PR is merged, the auto-merge PR should automatically be closed since it contains the same commit hashes

https://github.com/NVIDIA/spark-rapids/pull/5725


FIX: Issue #7750 - Hyperkube docker image needs certificates to connect to cloud-providers

This PR addresses a bug found with hyperkube and controller-manager service. Logs from controller-manager shows errors connecting to AWS during cloud sync. Resolved by adding ca-certificates package to base hyperkube docker image (editing dockerfile).

Signed corporate CLA in place for Emerging Stack Pty Ltd.

CLA verified.


Add Travis syntax check

Closes https://github.com/openmicroscopy/infrastructure/issues/6

Note this script currently assumes all playbooks will be stored directly under ansible/. If we are planning a different layout, it should be possible to run the syntax check on all *.yml files excluding main.yml /cc @kennethgillen @manics @joshmoore

Works for me for the moment.


Error when using useCommandState

I have just added useCommandState to my cmdk component and before anything is even typed this error is shown. I am using the latest version of next.js (v12.3.1), React (v18.2.0) and cmdk (v0.1.20). Do you have any idea why this might be occurring? Is there anything else that I need to add in order for this to work?
Usage
const search = useCommandState((state) => state.search)

Error
TypeError: Cannot read properties of undefined (reading 'subscribe')

The useCommandState hook must be used below the Command component

Thanks @joaom00, the docs do not state that this hook relates to React context.


Create images and icons at 150% size

When setting the following argument on Windows you can simulate different scalings on Archi for 200% or 150% scaling to get an idea of what it looks like on hi-res monitors:
-Dswt.autoScale=200

-Dswt.autoScale=150

We have icons for 100% and 200% scaling but not 150% scaling. And I think that some people on Windows do use 150% scaling.
The naming convention is:
icon.png
<EMAIL_ADDRESS><EMAIL_ADDRESS>
To create all the icons would take some time, and would need some adjustment if converting from the 2x icons.
Perhaps someone might care to contribute this?

Close this as it just ain't gonna happen.


Bugfix/20240321 enable fetching more security groups by adding pagination

Github Issue: https://github.com/jenkinsci/alibabacloud-ecs-plugin/issues/55
Added pagination to enable fetching more security group. The MAX_PAGE and INITIAL_PAGE are the same from DescribeVPCs.

The HPI was built locally using mvn as follow:

$ mvn hpi:hpi
$ mvn --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/homebrew/Cellar/maven/3.9.6/libexec
Java version: 21.0.2, vendor: Homebrew, runtime: /opt/homebrew/Cellar/openjdk/21.0.2/libexec/openjdk.jdk/Contents/Home
Default locale: en_ID, platform encoding: UTF-8
OS name: "mac os x", version: "13.6.1", arch: "aarch64", family: "mac"

The .hpi file was uploaded manually to our Staging Jenkins
To test previous issues, 10 security groups were created from Aliyun console and then the "security group" dropdown menu is checked to verify if >10 security groups were shown.

Test Results Images:

### Submitter checklist
- [x] Make sure you are opening from a **topic/feature/bugfix branch** (right side) and not your main branch!
- [x] Ensure that the pull request title represents the desired changelog entry
- [x] Please describe what you did
- [x] Link to relevant issues in GitHub or Jira
- [x] Link to relevant pull requests, esp. upstream and downstream changes
- [x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

thx,  we've already fix this issue in  alibabacloud-ecs-1.22 pls check.


Add api to get dump of statistics

Add API
GET /nodes/<nodeid>/stats

{"statkey1": statobj1, "statkey2": statobj2}

Get all statskeys from the redis of the node

shouldn't this be latest, 5min & hourly?
we should be able to get all info from aggregated redis

@despiegk you are right the title was misleading the idea of this api was to get the stats keys in out in its raw mode. The time frame if in the key itself.

can't validate due to

software versions
master : 0675fcc


Separator character "--/--" causes several problems

function, function_codespace, usage, usage_codespace and name attributes for buildings, bridges etc may include multiple values and these values could be saved as string with a predefined separator character.
It is selected as "--/--".
Unfortunately, this group of characters have multiple disadvantages which sometimes causes to errors or confusing SQL statements.
"--" used for single line commenting in SQL statements.
"/" is a breakline character, it is mostly used in bash scripts.
"" is escape character for RegEx filters. It is most problematic character in this group. Sometimes it is breaking batch RegEx replacements.
My suggestion is to use ";;" as separator character, because all other characters may used as wildcard or operator for a specific reason in SQL statements (for both PostgreSQL and Oracle). By the way ";" character is used only to specify ending of SQL statement. This rule makes it impossible to use ";" inside the SQL statements.

Hi Murat,
please don‘t comment on so many things on the
3DCityDB before we haven‘t talked about it. In your
recent postings there are many unnecessary discussions
which we already had decided before. It will take
much of my time to answer to all of this and stating
that I am exactly the opposite opinion. Also the impression
to our partners will not be the best.
Hence, let us have a meeting before causing confusion
with me and our partners.
For example, the latest issue that you have posted can
immediately be closed, because we do now store multiple
occurrences of the same property as separate entries in the
property table. Hence, there is no more need for any separator
characters.
Best regards
Thomas

Prof. Dr. Thomas H. Kolbe  -  Chair of Geoinformatics
Dept. of Aerospace and Geodesy
TUM School of Engineering and Design
Technische Universität München
Arcisstr. 21, 80333 München, Germany
Tel.: +49 89 28923888  WWW: https://www.asg.ed.tum.de/gis/

Am 05.08.2022 um 15:50 schrieb Murat Kendir @.***>:

function, function_codespace, usage, usage_codespace and name attbibutes for buildings, bridges etc may include multiple values and these values could be saved as string with a predefined seperator character.
It is selected as "--/--".
Unfortunately, this group of characters have multiple disadvantages which sometimes causes to errors or confusing SQL statements.
"--" used for single line commenting in SQL statements.
"/" is a breakline character which used mostly in bash scripts.
"" is escape character for RegEx filters. It is most problematic character in this group. Sometimes it is breaking batch RegEx replacements.
My suggestion is to use ";;" as seperator character, because all other characters may used as wildcard or operator for a specific reason in SQL statements (for both PostgreSQL and Oracle). By the way ";" character is used only to specify ending of SQL statement. This rule makes it impossible to use ";" inside the SQL statements.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

Hi Thomas,
I understand your concerns, but i need to know the final decision about this issue, otherwise it is not possible to proceed the development of upgrade scripts. It is causing to be stuck in some step and further developments should be redesigned regarding to this issue.
By the way, i am closing this issue and also will remove the label.
I will be waiting for a discussion about this topic and relevant issues.
Best Regards.


can we support request param field type like interface, json.RawMessage?

sometimes, the field may be not a concrete type (like int, string ...).
It may be interface{} type. But this can not be solved by go-zero framework.
type Request struct {
	YData json.RawMessage `json:"YData"`       // can not parse
	ZData interface{}     `json:"YData"`               // can not parse
        ...

        // interface type now can be achived by define map[string]interface{}, like below：
	Data map[string]interface{} `json:"data"`    // this is ok, can parse body success
}

can you explain more detail in what case you need this?
because we have to unmarshal the json string to type, I'am afraid you need to add a custom json unmarshal function.
I think it need more discuss

+1


Validation issue with partially bound texture arrays

Hey, not sure if this is the right spot to put this (should it go in discussions?). I'm currently diagnosing some issues with partially bound texture arrays and MoltenVK. Looking for some guidance to diagnose it and I'll make a PR once fixed.
I am not using argument buffers.
I have an array of size 128, but the shader only uses 1 element, and I'm only binding one texture on binding index = 0. This means that indexes 1-127 are also allocated for that texture array, but unused.
If a previous operation has binded a texture to index 1, I may get a metal validation errors such as:
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5446: failed assertion `Draw Errors Validation
Fragment Function(main0): The pixel format (MTLPixelFormatRG16Uint) of the texture (name:uniqueID: 7359) bound at index 1 is incompatible with the data type (MTLDataTypeFloat) of the texture parameter (sTDInstanceTextures [[texture(1)]]). MTLPixelFormatRG16Uint is compatible with the data type(s) (
    uint,
    ushort

Shouldn't any currently bound indices for that array get unbound to avoid stale bindings being checked during validation?
Does that only need to happen when validation is enabled, and can be ignored otherwise, with the presumption the shader isn't going to access that stale binding?
Thanks

Shouldn't any currently bound indices for that array get unbound to avoid stale bindings being checked during validation?

By "binding", are you referring to vkUpdateDescriptorSets()?
If so, vkUpdateDescriptorSets() is specifically designed by Vulkan to update only the descriptors that you indicate, and leave the others unchanged. Descriptor elements are not automatically unbound.

Sorry, I mean the Metal bindings set with setFragmentTexture. I guess the correct term is entry in the argument table.
Those are left as-is, but Metal's validation seems to check those entries vs the shader, and can throw that assert, even those the shader does not dynamically use that entry.

So in other words, vkCmdBindDescriptorSets().
The Vulkan standard says only that, if a pipeline with a new layout is bound, and descriptor set n is then bound when there are already sets bound, then:

If descriptor set m < n is already bound, and the pipeline layouts are not compatible for set m, then set m is disturbed; and
If the pipeline layouts are not compatible for set n, then all sets following n are disturbed.

It also says that, once descriptor sets are disturbed, the descriptors become undefined, with everything that entails.
Does what you're doing work with the validation layer?

Thanks for the feedback. I don't have validation layers running on macOS because I link with MoltenVK directly, but the same codepath doesn't trigger validation issues on Windows.
However I think the issue is at the Metal level, not at a Vulkan usage level.
Say I have a shader that uses two integer textures at bindings 0 and 1. Following that I have a shader that has two floating point texture bindings at 0 and 1, but only index 0 is dynamically used by the shader.
In Vulkan I would provide a descriptors for the integer textures and they'd get bound to metal indices 0 and 1. Then for the next shader I could provide a PARTIALLY_BOUND descriptor that only has an entry for index 0. When the geometry for that shader is rendered the binding at 1 is still leftover as an integer texture, triggering this metal assert (even though what I did was legal from a Vulkan standpoint).
This is my understanding of what is happening from the outside atleast, without being a Metal expert.

Hmmm. MoltenVK doesn't do anything with the VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT.
The simplest thing to do would be for MoltenVK to disable descriptorBindingPartiallyBound feature flag, but it is a required feature for EXT_descriptor_indexing and Vulkan 1.2, in which case, if we can't implement this within MoltenVK, we would have to treat it as a portability limitation, similar to the way we do with robustBufferAccess

I don't think it's a required feature of EXT_descriptor_indexing. Just if it's not supported then all descriptors need to be assigned a valid resource.
It would be a shame to remove it though, as it does seem like Metal supports it in it's own fashion.
I think a fix to this case would be to ensure every binding the shader expects either points to something specified by the descriptorset, or is unbound in the case of it not being specified (size too small), or is an invalid resource.

I don't think it's a required feature of EXT_descriptor_indexing.

The Vulkan spec has wording that requires it:

All Vulkan graphics implementations must support the following features:
...

If the descriptorIndexing feature is supported, or if the VK_EXT_descriptor_indexing extension is supported:
...

descriptorBindingPartiallyBound

I think a fix to this case would be to ensure every binding the shader expects either points to something specified by the descriptorset, or is unbound in the case of it not being specified (size too small), or is an invalid resource.

Hmmm...but doesn't your situation have a texture in index 1, but that the shader is not using it, and validation complains anyway? MoltenVK would have to somehow know the shader doesn't ever access element 1, and remove it as being set. How would MoltenVK know what indexes the shader might be accessing?

The question is if that is only required for when Metal validation is enabled, and can safely be avoided for regular builds, with the assumption the shader isn't using this invalid/nil resources.

This point is valid. We could adopt a stance that the validation is overly sensitive, and that the practical effect is that it works anyway.

Hmmm. MoltenVK doesn't do anything with the VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT.
The simplest thing to do would be for MoltenVK to disable descriptorBindingPartiallyBound feature flag, but it is a required feature for EXT_descriptor_indexing and Vulkan 1.2, in which case, if we can't implement this within MoltenVK, we would have to treat it as a portability limitation, similar to the way we do with robustBufferAccess

It is required for the EXT, but I don't think it is for Vulkan 1.2. `descriptorIndexing and hence EDI features are optional in core. No portability bit needed.

It is required for the EXT, but I don't think it is for Vulkan 1.2. descriptorIndexing and hence EDI features are optional in core, see spec section "Feature requirements". No portability bit needed.

Agreed that descriptorIndexing is optional, but MoltenVK does support it, along with EXT_descriptor_indexing.
The OP indicates use of VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT, which requires descriptorBindingPartiallyBound, and both are provided by descriptor indexing.
If descriptorIndexing is supported, that "Feature requirements" section says that we can't disable descriptorBindingPartiallyBound.
The portability change would be to include spec wording that descriptorBindingPartiallyBound is not required if descriptorIndexing is supported, but portability is active.

Ah my mistake, I thought descriptorBindingPartiallyBound was optional. Anyways I think a solution should maintain support for that, so that's a moot point.

Hmmm...but doesn't your situation have a texture in index 1, but that the shader is not using it, and validation complains anyway? MoltenVK would have to somehow know the shader doesn't ever access element 1, and remove it as being set. How would MoltenVK know what indexes the shader might be accessing?

Right, neither MoltenVK nor Metal can know what the shader is actually using. The Metal validation issue occurs because there is a leftover incompatible binding at index 1, and the shader may use that binding, so it complains.
I would think MoltenVK can know all the bindings the shader may use, and compare that with the descriptors that are provided. If any binding indices have missing or invalid entries, then it should clear out the Metal bindings.

I would think MoltenVK can know all the bindings the shader may use, and compare that with the descriptors that are provided. If any binding indices have missing or invalid entries, then it should clear out the Metal bindings.

Hmmm...so MoltenVK would have to query the shader for texture formats, check the descriptor texture formats at runtime, and refuse to bind them to Metal if they are different. This is possible with effort (both dev and runtime cost), but also does seem expensive for an edge case.

I wouldn't expect it to compare formats. If the descriptor has a resource for a binding, it's up to the programmer to ensure it's a compatible format. This would only be for bindings that don't have an entry or have an invalid entry, since that results in 'leftover' bindings in the argument table from previous operations, that may be incompatible.
If this isn't going to be a long term issue due to a different workflow coming in though, then I totally agree we can just ignore it until then.

The descriptor only has an entry for binding 0, which is a float texture. There is nothing specified for binding 1, so it's left as-is in the Metal argument table. In this case it happens to be an int texture from a previous shader+render operation

Ah. Okay. Just check that the second DS is only setting one texture, but the array is larger and so all the other elements need to be nilled.
Can you post the Metal function declarations for your two respective shaders, so we can see how the arguments are being declared, please? We don't need the shader body, just  the
fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> tex [[texture(0)]], sampler texSmplr [[sampler(0)]])
part for each.
You can generate those by setting a MVK_CONFIG_DEBUG=1 environment variable when you run.

Here is the shader that is used beforehand
fragment main0_out main0(main0_in in [[stage_in]], texture2d<float> uTDCurveTexture [[texture(0)]], texture2d<uint> uTDBandTexture [[texture(1)]], sampler uTDCurveTextureSmplr [[sampler(0)]], sampler uTDBandTextureSmplr [[sampler(1)]])
The shader with this declaration causes the validation error to occur when trying to render, due to a uint texture being left bound to binding 1.
fragment main0_out main0(main0_in in [[stage_in]], constant _RESERVED_IDENTIFIER_FIXUP_gl_DefaultUniformBlock& _35 [[buffer(0)]], array<texture2d<float>, 128> sTDInstanceTextures [[texture(0)]], sampler sTDInstanceTextureSampler [[sampler(0)]])


cant work with package: web3

Overview
-- python: 3.8.10
-- eip712: 0.1.6
-- web3: 5.31.3 (lastest)
when i install eip712 & web3:
The conflict is caused by:
eip712 0.1.6 depends on eth-typing<4 and >=3.2
web3 5.31.3 depends on eth-typing<3.0.0 and >=2.0.0
https://github.com/ethereum/web3.py
web3  is popular，can we work with them？

eth-typing==2.3.0
I tested without any issues

Released with https://github.com/ApeWorX/eip712/releases/tag/v0.1.7


Fix ServerTimeout exemption on raven<6.1

Support for non-string values was only added in 6.1. Some of our
services are still using older versions.
https://github.com/getsentry/raven-python/blob/master/CHANGELOG.md#610-2017-05-25

:eyeglasses: @rram @pacejackson


Compositional Modeling Frameworks

This paper by Baez https://arxiv.org/abs/1704.02051 shows how to represent reaction networks as a category and use composition to build up more complex models as compositions of simpler models. It seems to heavily cite Fong's thesis: https://arxiv.org/pdf/1609.05382.pdf
@mehalter and I had a good conversation about building post-hoc modeling frameworks based on this kind of representation. If we can express the model in two categories. One capturing the structure of the model (the reaction network) and the other capturing the implementation details (a system of ODEs) then the functor from the structure category to the implementation category provides a method for generating code that implements a model.
"Inverting" this functor would allow us to extract from implementations the underlying model in the structure category. If we had multiple categories of implementations (ODEs, ABMs, DBNs) then we should be able to translate a model from one implementation to another by composing functors like ODE(ABM^-1(abm_code)) or DBN(ODE^-1(ode_code)).

We have working examples of compositional modeling on #223, where you can use SMC operations to build models of dynamical systems.


Rule34 XXX - tags are not saved in a separate log during batch download

Bug description
Tags are not saved in a separate log during batch download. This happens exclusively during the batch download. If you click on an image manually and then Save, the tags will be there. This bug does not occur on Grabber version 5.5.2.
Steps to reproduce

Go to Tools --> Options --> Save --> Separate log files
Click on 'Add a separate log file' and fill it with desired tokens (%artist%, %character%, %general%, etc)
Save the options
Choose rule34.xxx from the sources
Click get this page
Go to Downloads tab and click Download button
Once the batch is finished, go to the save folder, open a log file
The log does not contain any tags, only the "If empty" replacement specified for each token in the options

Expected behavior
The log file should be full of tags. This happens exclusively during the batch download. If you click on an image manually and then Save, the tags will be there.
Context
All 3 files in the attachment
main.log
restore.log
settings.log
I changed extensions of restore.igl and setting.ini to log, cause GitHub nagged that it doesn't support these formats.
System information

OS: Ubuntu 18.04 (64bit)
Grabber version: 6.0.5

The bug can also be reproduced by right-clicking an image then clicking "Save" in the results list (if it was not opened beforehand).


@FaragElsayed2 Please take a look

@atorkmabrains Ready to review


Missing transactions/Pending Transactions

Hi, so today I send a transaction to Binance (They are allowing deposits and withdrawals) it was 1000 XVG as a test, it's been 4 hours since that transfer and it still unconfirmed...
I've send second transaction 500 XVG just to see if that one will go through, seems like not.
However some how additional 4500 XVG has gone missing from my balance....

I am using the newest version of XVG Wallet for PC Windows
Transaction #1
Net amount: -1000.100000 XVG
Transaction ID: efad1e868bd148eba3af0059afe59fc3e8587c3ee3b2bc510fe052fa301c176a
Transaction total size: 377 bytes
Transaction virtual size: 377 bytes
Output index: 1
Transaction #2
Transaction ID: 11c12f1c8674e6beea4eee21cd4855fa473bd48cff0ac8a969ce840b4dac00cb
Transaction total size: 230 bytes
Transaction virtual size: 230 bytes
Output index: 1
And after sending transaction #2 additional 4500 XVG has gone missing from the balance...
If more info needed , tell me.

Do you see your transactions on the blockchain?
https://verge-blockchain.info
This is most likely an issue you will need to raise with Binance

Do you see your transactions on the blockchain?
https://verge-blockchain.info
This is most likely an issue you will need to raise with Binance

When I paste the Transaction ID, it couldn't find anything on blockchain
But why did additional 4500 XVG dissapeared from the wallet, and I have no sign of it? There is no transaction for 4500 xvg etc
the wallet seems tricky

What about searching for the wallet address to see if there are transactions in/out of the wallet?

What about searching for the wallet address to see if there are transactions in/out of the wallet?

What addresses u talking about?
The Binance address? After searching this Address I only see transaction back when I've send XVG from Binance to this wallet (old one) but the two transactions made today are not appearing.

I guess, you just need to rescan the wallet again.
On Wed, 5 Jun 2019, 19:34 nefroti<EMAIL_ADDRESS>wrote:

What about searching for the wallet address to see if there are
transactions in/out of the wallet?
What addresses u talking about?
The Binance address? After searching this Address I only see transaction
back when I've send XVG from Binance to this wallet (old one) but the two
transactions made today are not appearing.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vergecurrency/VERGE/issues/937?email_source=notifications&email_token=AI6OLPBPBPDHUOAUJX5B5UDPY72I5A5CNFSM4HT74K4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXAOOMI#issuecomment-499181361,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI6OLPCJ2VSRRTQQEDCKKMLPY72I5ANCNFSM4HT74K4A
.

I guess, you just need to rescan the wallet again.
…
On Wed, 5 Jun 2019, 19:34 nefroti, @.***> wrote: What about searching for the wallet address to see if there are transactions in/out of the wallet? What addresses u talking about? The Binance address? After searching this Address I only see transaction back when I've send XVG from Binance to this wallet (old one) but the two transactions made today are not appearing. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#937?email_source=notifications&email_token=AI6OLPBPBPDHUOAUJX5B5UDPY72I5A5CNFSM4HT74K4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXAOOMI#issuecomment-499181361>, or mute the thread https://github.com/notifications/unsubscribe-auth/AI6OLPCJ2VSRRTQQEDCKKMLPY72I5ANCNFSM4HT74K4A .

What does it mean? Sorry but I am not really a guy with knowledge in this matter ;P

When trying to find your transaction on the blockchain, you want to look for both addresses, where you sent from, and where you sent to.
If you don't see the transactions on the blockchain, they didn't happen.  Figuring out why can come later, but I would first try closing the QT client and re-opening.
As Karan suggested, doing a rescan on the wallet.
I wrote a pretty good guide for situations like this... 2 and 6 on the list most likely apply to you:
https://verge.zendesk.com/hc/en-us/articles/360016162111-Funds-aren-t-showing
Give that a read and see if it helps

i dont see any of those transactions on the blockchain. what did you send the funds from? linux wallet? android wallet? mac wallet?

i dont see any of those transactions on the blockchain. what did you send the funds from? linux wallet? android wallet? mac wallet?

I've send it from version 5.1.2 its version for Windows PC

When trying to find your transaction on the blockchain, you want to look for both addresses, where you sent from, and where you sent to.
If you don't see the transactions on the blockchain, they didn't happen. Figuring out why can come later, but I would first try closing the QT client and re-opening.
As Karan suggested, doing a rescan on the wallet.
I wrote a pretty good guide for situations like this... 2 and 6 on the list most likely apply to you:
https://verge.zendesk.com/hc/en-us/articles/360016162111-Funds-aren-t-showing
Give that a read and see if it helps

I did everything from #6 in your post, the rescanning is at 1% it will take long?

Update to the new release that just came out, @nefroti. It will speed up sync process much :-)

Update to the new release that just came out, @nefroti. It will speed up sync process much :-)

I am fully synced I used bootstrap, and I added nodes for the connections aswell

@nefroti can you tell me how many connections to the network you have? please go into help, and tell us how many connections you have, and what the current block number is.
then debug console, and type:
getmempoolinfo
and paste that here

Connections : 9 (In: 0 / Out: 9)
Current Block - 3185062
"size": 0,
"bytes": 0,
"usage": 64,
"maxmempool": 300000000,
"mempoolminfee": 0.100000,
"minrelaytxfee": 0.100000

Try this on the transaction you've created

Try this on the transaction you've created

That worked, I got my 1500 XVG back (the one I actually tried to send) + I got back the 4500 XVG that gone missing, however we still need to fix the ability to send XVG from the wallet as it seems broken for me.
Thanks for the solution marpme

Try this on the transaction you've created

What top exchanges are confirmed as working for XVG Deposits? Maybe its Binance issue?

no, if it occurred from your wallet, it is on your end.

no, if it occurred from your wallet, it is on your end.

Any idea why?
Am I using alright version? 5.1.2?
I have downloaded Blocks and chainstate to speed up the syncing
also added shit loads of nodes to get connections
Maybe thats the problem? orrrrr

no, if it occurred from your wallet, it is on your end.

I have send again 1k to Binance
and this says Status: 0/offline, has not been successfully broadcast yet
How I am offline if I got 16 connections right now..

Just trigger than and you wallet tx will be re-broadcasted and then they are gone!
Make sure being online & synced

Just trigger than and you wallet tx will be re-broadcasted and then they are gone!
Make sure being online & synced

It should list both tx ids then

I don't get it :D What I have to do?

Open the help menu -> open debug -> choose console tab -> type in resendwallettransaction -> wait a sec.

Open the help menu -> open debug -> choose console tab -> type in resendwallettransaction -> wait a sec.

20:08:05
￼
resendwallettransaction
20:08:05
￼
Method not found (code -32601)

so missed the s at the end
It's resendwallettransactions

sorry missed the s at the end
It's resendwallettransactions

20:09:47
￼
resendwallettransactions
20:09:47
￼
[
]
got something like this now :D

sorry missed the s at the end
It's resendwallettransactions

it has resend the transaction but it says the same Status: 0/offline, has not been successfully broadcast yet
14 Connections, up to date synced

okay then close your wallet and hand us your debug.log.
This can be found under the debug/info tab:

Uploading debug.log…
here

I guess you commented too early

I guess you commented too early, it's not uploaded

Yep, so keep this thread, and delete the other one I created...
debug.log

ahhh fuck did read that

Try this on the transaction you've created

That worked, I got my 1500 XVG back (the one I actually tried to send) + I got back the 4500 XVG that gone missing, however we still need to fix the ability to send XVG from the wallet as it seems broken for me.
Thanks for the solution marpme

Well now you can just recreate a transaction if you are online and have peer connections

I created that 1 hour ago almost... Its all the time the same
I am synced and connected to peers, i dont know whats the F is the problem

Any chance of firewall/antivirus blocking connection?

Any chance of firewall/antivirus blocking connection?

Nope, it doesnt detect anything bad within the client...

So nobody knows why I can't send transactions?

in one of your screenshot i see you have 1 connection, could be the issue

i think that was marpmes screenshot

from your debug.log:
2019-06-05T19:07:23Z AddToWallet c5d6029a64b9f5990ecc3fb6e497cccd9d7b03692c9f46ce6d2cf5cf53bf5075  new
2019-06-05T19:07:23Z CommitTransaction(): Transaction cannot be broadcast immediately,  (code 0)
the transaction cannot be committed to memorypool, dev has to take a look, what code/state 0 means

Why would you close the issue ? You should keep it open until it has been
resolved
On Wed, 5 Jun 2019, 22:41 nefroti<EMAIL_ADDRESS>wrote:

Closed #937 https://github.com/vergecurrency/VERGE/issues/937.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vergecurrency/VERGE/issues/937?email_source=notifications&email_token=AI6OLPC7FFOVXPXV6JJNL6LPZAQG3A5CNFSM4HT74K4KYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR2NCV6I#event-2392468217,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI6OLPFBHLOU66SV6EE5WLTPZAQG3ANCNFSM4HT74K4A
.

your issue is very uncommon let people time to verify it, closing it mean you solved it

Devs are onto it. Please wait
On Wed, 5 Jun 2019, 22:21 nefroti<EMAIL_ADDRESS>wrote:

So nobody knows why I can't send transactions?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vergecurrency/VERGE/issues/937?email_source=notifications&email_token=AI6OLPCCB5YDAXFXJ6LYTCDPZAN5RA5CNFSM4HT74K4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXA4YHI#issuecomment-499239965,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI6OLPCLXUME4MAPTYQKUQTPZAN5RANCNFSM4HT74K4A
.

Yeah I am starting to think it has something to do with his network
configs. Maybe he uses VPN or a program that might block/suppress the
connection
On Wed, 5 Jun 2019, 22:47 tpfuemp<EMAIL_ADDRESS>wrote:

from your debug.log:
2019-06-05T19:07:23Z AddToWallet
c5d6029a64b9f5990ecc3fb6e497cccd9d7b03692c9f46ce6d2cf5cf53bf5075 new
2019-06-05T19:07:23Z CommitTransaction(): Transaction cannot be broadcast
immediately, (code 0)
the transaction cannot be committed to memorypool, dev has to take a look,
what code/state 0 means
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/vergecurrency/VERGE/issues/937?email_source=notifications&email_token=AI6OLPA2NYKVEQUNDSPV7VLPZAQ4LA5CNFSM4HT74K4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXA65XY#issuecomment-499248863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AI6OLPEWHGCVJXKGHD2TGWLPZAQ4LANCNFSM4HT74K4A
.


Support installs of multiple ODL versions from ansible-odl latest

To provide a better experience for consumers of the ODL Ansible role, we need to support user-defined ODL version installs from ansible-opendaylight latest code (vs tags for versions with no backporting of features/fixes).

88a99ca3195d2c54a1715d21df89d397ae27833e

[This vagrant-opendaylight box] installs ODL Be ERP via ansible-opendaylight by overriding the default params for rpm_repo_file, rpm_repo_url and default_feature_repos. OpenDaylight 3.3.0 would have been installed by the defaults. This feature is now supported.


ENH: Added support for python 3.6.8 to 3.6.12

Thanks for the contribution :pray:

travis ... unrelated failure: only 3.5.1 and 3.5.2 are failing

travis ... unrelated failure: only 3.5.1 and 3.5.2 are failing

May we say we only support version from 3.5.3 and drop support for 3.5.1 and 3.5.2?

Closing. This pull request is superseded by https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/267 and https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/pull/282


Add guide on embedding C in Java using GraalWasm.

I've migrated the guide from https://www.graalvm.org/jdk23/reference-manual/wasm/guides/embed-c-in-java/ to this repository. I've supplemented it with the resulting demo, where I added Maven automation to build the C code into a WebAssembly module as part of Maven's build lifecycle. This means it's now easier to edit the C file and re-run mvn package to compile and run the C code through GraalWasm. I've also updated the guide so that it contains all the steps necessary to have a functioning demo from scratch (added maven archetype usage and the instructions on how to setup C compilation in Maven).

@olyagpl I've implemented your suggestions to the README file. Thanks for your time and feedback!
@fniephaus Thanks for the emsdk setup and fixing the mkdir build step!

I'm going to replace the link to https://www.graalvm.org/jdk23/reference-manual/wasm/guides/embed-c-in-java/ with a link to https://github.com/graalvm/graal-languages-demos on the website


H3 ubiquitin etc.

PMID:31468675

decreased histone H3-K14 ubiquitination during vegetative growth
altered histone H3 methyltransferase substrate specificity
abolished ubiquitin binding

decreased histone H3-K14 ubiquitination during vegetative growth FYPO:0007075
altered histone H3-K9 methyltransferase substrate specificity FYPO:0007076
abolished ubiquitin binding FYPO:0007077
edit file: 51d2fa0213b2f4cacab19ad8df262b67c74ef2fa
release: 53940dd86555e65ec07901c5ed8e36a0a1cc9ee1


Verify contents and format of track documentation

Each language track has documentation in the docs/ directory, which gets included on the site
on each track-specific set of pages under /languages.
We've added some general guidelines about how we'd like the track to be documented in exercism/exercism.io#3315
which can be found at https://github.com/exercism/exercism.io/blob/master/docs/writing-track-documentation.md
Please take a moment to look through the documentation about documentation, and make sure that
the track is following these guidelines. Pay particularly close attention to how to use images
in the markdown files.
Lastly, if you find that the guidelines are confusing or missing important details, then a pull request
would be greatly appreciated.

FYI that your github blob link is broken. (Not too surprising after 2.5 years, but alas.


type safer and little bit faster numberToString

only number should be apply to this method.

Thanks for the cleanup - I'll merge it now, could you add your name to AUTHORS too?

You doing it will be ok, thanks.

Sure! Is it your username? How do you format it - Tram Champloo? Sorry for not recognising.

BTW this doesn't actually compile for me:
[error] /Users/stephenmcd/dev/curiodb/src/main/scala/Data.scala:136: could not find implicit value for evidence parameter of type Numeric[Any]
[error]   def set(arg: Any): String = {val x = numberToString(arg); value(args(0)) = x; x}
[error]                                                      ^
[error] one error found
[error] (root/compile:compile) Compilation failed

arg is always a string. Sorry for mine doesn't work.
But the redis behaves this:
<IP_ADDRESS>:6379> hgetall hash

"foo"
"1.0"
<IP_ADDRESS>:6379> hset hash foo 1.00
(integer) 0
<IP_ADDRESS>:6379> hgetall hash
"foo"
"1.00"
which is different from curiodb, so maybe just forget about tailing zeros.

The intention was for commands like HINCRBYFLOAT and other INCR type commands (and also sorted set scores) to mimic Redis, eg:
<IP_ADDRESS>:6379> hset xx 1 xx
(integer) 1
<IP_ADDRESS>:6379> hgetall xx
1) "1"
2) "xx"
<IP_ADDRESS>:6379> hincrbyfloat xx xx 1
"1"
<IP_ADDRESS>:6379> hincrbyfloat xx xx 1
"2"
<IP_ADDRESS>:6379> hincrbyfloat xx xx 1.1
"3.1"
<IP_ADDRESS>:6379> hincrbyfloat xx xx 1.9
"5"

Redis always outputs floats as strings (according to Redis Protocol which has a notion of ints, but not floats), and always strips trailing zeros. Of course in hashes (in CurioDB at least) the key values are always strings - so I think being loose with type safety here actually mimics Redis most closely.
I'll close this one for now since I think layering type info on top of everything here won't provide much benefit.


[DV] Failing regression at riscv_debug_basic_test.0 for experimental-maxperf-pmp-bmfull

Config: experimental-maxperf-pmp-bmfull
Test: riscv_debug_basic_test
Seed: 11904
Message: No dret detected, or incorrect privilege mode switch in                                     timeout period of 100000 cycles

See https://dev.azure.com/lowrisc/lowrisc-private/_build/results?buildId=25194&view=results for full logs (you can find the artifacts under the "Related" heading on that page where it says "1 published").
The test log says:
Test binary: out/seed-11904/instr_gen/asm_tests/riscv_rand_instr_test.0.o
ibex uvm log : out/seed-11904/rtl_sim/riscv_rand_instr_test.0/sim.log
riscv_rand_instr_test : [PASSED]

ibex : out/seed-11904/rtl_sim/riscv_rand_instr_test.0/trace_core_00000000.csv
spike : out/seed-11904/instr_gen/spike_sim/riscv_rand_instr_test.0.csv
[PASSED]: 694 matched

Test binary: out/seed-11904/instr_gen/asm_tests/riscv_debug_basic_test.0.o
ibex uvm log : out/seed-11904/rtl_sim/riscv_debug_basic_test.0/sim.log
riscv_debug_basic_test : [FAILED]

Test binary: out/seed-11904/instr_gen/asm_tests/riscv_multiple_interrupt_test.0.o
ibex uvm log : out/seed-11904/rtl_sim/riscv_multiple_interrupt_test.0/sim.log
riscv_multiple_interrupt_test : [PASSED]

ibex : out/seed-11904/rtl_sim/riscv_multiple_interrupt_test.0/trace_core_00000000.csv
spike : out/seed-11904/instr_gen/spike_sim/riscv_multiple_interrupt_test.0.csv
[PASSED]: 0 matched

2 PASSED, 1 FAILED

sim.log says:
ucli% run
UVM_INFO @ 0: reporter [RNTST] Running test core_ibex_debug_intr_basic_test...
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_base_test.sv(111) @ 202500: uvm_test_top [uvm_test_top] Running test : out/seed-11904/instr_gen/asm_tests/riscv_debug_basic_test_0.bin
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/common/ibex_mem_intf_agent/ibex_mem_intf_response_seq_lib.sv(28) @ 202500: uvm_test_top.env.instr_if_response_agent.sequencer@@instr_intf_seq [uvm_test_top.env.instr_if_response_agent.sequencer.instr_intf_seq] is_dmem_seq: 0x0
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/common/ibex_mem_intf_agent/ibex_mem_intf_response_seq_lib.sv(28) @ 202500: uvm_test_top.env.data_if_response_agent.sequencer@@data_intf_seq [uvm_test_top.env.data_if_response_agent.sequencer.data_intf_seq] is_dmem_seq: 0x1
core_ibex_tb_top.dut.u_ibex_tracer.printbuffer_dumpline.unnamed$$_0: Writing execution trace to out/seed-11904/rtl_sim/riscv_debug_basic_test.0/trace_core_00000000.log
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_seq_lib.sv(39) @ 4126500: reporter@@debug_seq_stress_h [debug_seq_stress_h] Starting sequence...
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_seq_lib.sv(60) @<PHONE_NUMBER>: reporter@@debug_seq_stress_h [debug_seq_stress_h] Stopping sequence
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_seq_lib.sv(51) @<PHONE_NUMBER>: reporter@@debug_seq_stress_h [debug_seq_stress_h] Exiting sequence
UVM_INFO /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_base_test.sv(127) @<PHONE_NUMBER>: uvm_test_top [uvm_test_top] ECALL instruction is detected, test done
UVM_FATAL /azp/agent/_work/1/s/dv/uvm/core_ibex/tests/core_ibex_test_lib.sv(346) @<PHONE_NUMBER>: uvm_test_top [uvm_test_top] No dret detected, or incorrect privilege mode switch in                                     timeout period of 100000 cycles

@udinator would you mind having a look if we just need to increase the timeout in this test, or if there's something going wrong?

yup, I'll take a look

This issue should have been addressed by #1183, so I'll close this issue.


Refactor resources to use a tower chain

Instead of the current hodge podge of reference classes

Something like this.
virtual_check        %>>%
modification_tracker %>>%
dependency_tracker   %>>%
caching_layer        %>>%
preprocessor         %>>%
parser               %>>%
as.active_resource(resource)

# A resource is now just the tuple (name, director).
# An active resource is a resource with meta data for carrying it through
# the tower, e.g., injects and state.

# TODO: Define a "tower" and the %>>% operator

## Virtual check:
# - Check if virtual resource, inject "virtual"
# - Error if no preprocessor exists (but should that be here or down there?)
## Modification tracker:
# - Compute modification info. Insert into injects. Insert into state iff soft. != FALSE
# - If modification detected (on the directory level),
#   inject "modified" to be TRUE, otherwise FALSE. Note we no longer need
#   special behavior for idempotent resources since we are looking on the
#   directory level
## Dependency tracker:
# - Inject dependencies from cached state.
# - Start dependency tracking + nesting level.
# - on.exit, place just-determined dependencies in state.
## Caching layer:
# - If caching is enabled (ask the director) and cached value is in state,
#   just use it an return here, unless recompile. = TRUE
# - If caching is enabled (ask the director) then on.exit place the computed
#   value in *state*.
## Preprocessor
# - Find preprocessor using director, throw in a ton of injects, send to preprocessor.
#   TODO: How to pass preprocessed value to parser?
## Parser
# - Find parser using director, throw in a ton of injects, send to parser.
#   Return final output instead of yielding.

%>>% is being used in pipeR, might want to choose a different symbol

So? I'm not exporting it.

Oh, internal only

Prototype complete!


Add Range Option on String Queries

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Looks like some tests are failing. Can you investigate?


Added sendSpy before each and every socket.send

Coverage increased (+0.1%) to 88.952% when pulling 8cdf1820e22e9685578b31da2a1a33a418b8476c on aminmarashi:intercept_socket_send into ac214e1178aa52c7a6f33aca6ef5bf77d7ec75fd on binary-com:master.


Typo in the PPO example

https://github.com/google/flax/blob/830f2aec35b3ea690eca9a080181c143562f3b84/examples/ppo/ppo_lib.py#L343
A typo: return state instead of train_state here.

Nice, thanks! Do you want to file a PR fixing this?

Sure, PR #2306  needs a reviewer.


build: align linting rules with CLI

Align linting rules with the CLI.
See also https://github.com/SmartThingsCommunity/smartthings-cli/pull/364.
Types of Changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document
[ ] My code follows the code style of this project (npm run lint produces no warnings/errors)
[ ] Any required documentation has been added
[ ] I have added tests to cover my changes

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Error with buf generate when creating OpenAPI Spec from base YAML file with defined Auth settings

When trying to create an OpenAPI Spec using buf generate from a base YAML file with defined Auth settings as shown below, the following error occurred:
Mar  5 12:21:11.299 ERR Failed to read input: oneOf constraint failed for SecuritySchemeOrReference with 0 valid results: map[Reference:required key missing: $ref SecurityScheme:oneOf constraint failed for SecurityScheme with 2 valid results: map[APIKey:required key missing: name MutualTLS:bad const value for "type" ("mutualTLS" expected, "http" received) Oauth2:required key missing: flows Oidc:required key missing: openIdConnectUrl]]
Failure: plugin connect-openapi: exit status 1
make: *** [proto] Error 1

My base YAML file:
openapi: 3.1.0
info:
  title: MyProject
  description: "My Project Description"
  version: v1.0.0
# 1) Define the security scheme type (HTTP bearer)
components:
  securitySchemes:
    bearerAuth: # arbitrary name for the security scheme
      type: http
      scheme: bearer
      bearerFormat: JWT # optional, arbitrary value for documentation purposes
# 2) Apply the security globally to all operations
security:
  - bearerAuth: [] # use the same name as above

@devleejb Thanks for this report!
I'm still looking at WHY the openapi31 library behaves this way, but adding $ref: "" causes this to work, like this:
openapi: 3.1.0
info:
  title: MyProject
  description: "My Project Description"
  version: v1.0.0
# 1) Define the security scheme type (HTTP bearer)
components:
  securitySchemes:
    bearerAuth: # arbitrary name for the security scheme
      $ref: ""
      type: http
      scheme: bearer
      bearerFormat: JWT # optional, arbitrary value for documentation purposes
# 2) Apply the security globally to all operations
security:
  - bearerAuth: [] # use the same name as above

I don't believe this should be required... this may be a bug in github.com/swaggest/openapi-go/openapi31. But hopefully this is a decent workaround for you.

@sudorandom
Thank you for your quick fix!
But, after updating to v0.5.3, below error occurs.
Warning: Duplicate generated file name "yorkie/v1/yorkie.openapi.yaml". Buf will continue without error here and drop the second occurrence of this file, but please raise an issue with the maintainer of the plugin.
Warning: Duplicate generated file name "yorkie/v1/yorkie.openapi.yaml". Buf will continue without error here and drop the second occurrence of this file, but please raise an issue with the maintainer of the plugin.

It works well in v0.5.0.

And these options doesn't work properly.
components:
  securitySchemes:
    basicAuth: # <-- arbitrary name for the security scheme
      type: http
      scheme: basic
security:
  - basicAuth: [] # <-- use the same name here

I'll comment it to swaggest/openapi-go!

@sudorandom oof. I fixed the "Duplicate generated file name" issue in v0.5.4.

@sudorandom
Awesome!
Thank you very much! It works well!

@sudorandom
Below YAML file occurs error (basicAuth).
openapi: 3.1.0
info:
  title: MyProject
  description: "My Project Description"
  version: v1.0.0
components:
  securitySchemes:
    basicAuth: # <-- arbitrary name for the security scheme
      type: http
      scheme: basic
security:
  - basicAuth: [] # <-- use the same name here

I checked out the yorkie repo and applied the changes you discussed in your issue:
> cat api/docs/yorkie.base.yaml
openapi: 3.1.0
info:
  title: MyProject
  description: "My Project Description"
  version: v1.0.0
# 1) Define the security scheme type (HTTP bearer)
components:
  securitySchemes:
    bearerAuth: # arbitrary name for the security scheme
      type: http
      scheme: bearer
      bearerFormat: JWT # optional, arbitrary value for documentation purposes
# 2) Apply the security globally to all operations
security:
  - bearerAuth: [] # use the same name as above

and after calling buf generate with your given buf.gen.yaml file, I successfully get openapi output:
> grep -C10 bearerAuth api/docs/yorkie/v1/admin.openapi.yaml
        - 10
        - VALUE_TYPE_INTEGER_CNT
        - 11
        - VALUE_TYPE_LONG_CNT
        - 12
        - VALUE_TYPE_TREE
        - 13
      title: ValueType
      type: string
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http
security:
- bearerAuth: []
tags:
- description: Admin is a service that provides a API for Admin.
  name: yorkie.v1.AdminService

running your make docker-swagger command, this is what I see:

Oh, I see the difference now. You're doing basicAuth now. Sorry, I was just missed that detail!

@sudorandom
It's right. But, below base file doesn't run.
openapi: 3.1.0
info:
  title: MyProject
  description: "My Project Description"
  version: v1.0.0
components:
  securitySchemes:
    basicAuth: # <-- arbitrary name for the security scheme
      type: http
      scheme: basic
security:
  - basicAuth: [] # <-- use the same name here

The difference in this file is that it uses basicAuth instead of bearerAuth.

@devleejb in case you didn't see, I pushed a new version that includes the 2nd fix to openapi-go. 😄  Does it work fully? If you have different base openapi files for different protobuf files you may have to use gnostic annotations to configure specific paths: https://github.com/sudorandom/protoc-gen-connect-openapi/blob/main/gnostic.md (and you can use those annotations instead of having base.yaml altogether)

@sudorandom
It works well! Thank you for your help.
OK, I'll check the document.


Publishers want to upload a Seurat .rds dataset to a private collection from dropbox

Story
Publishers want to add a dataset to a collection.
Notes
A collection is either public or private. All datasets that belong to a collection share its visibility when it is set or changes. A private collection only contains private datasets. A public collection only contains public datasets.

Closing until self-publication stories return to the roadmap.


Revendor installer, repair OpenStack MachinePool UT

Revendor installer to pick up https://github.com/openshift/installer/pull/8187 and https://github.com/openshift/installer/pull/8209
Refactor OpenStack MachinePool code to use the new code path for trunk support discovery and accommodate the new signature of the MachineSets() generator
Repair long-broken OpenStack MachinePool unit tests, which were previously blocked by the above
Accommodate https://github.com/openshift/installer/pull/8006 which is also brought in by the revendor

A subsequent PR will use this to

Expand unit tests to reproduce the error in the referenced card
Fix it.

Part of HIVE-2476

/cc @patrickdillon
would you please have a look at the third commit, which incorporates the new CAPI SG filters from https://github.com/openshift/installer/pull/8006

/test e2e-gcp

/test e2e-gcp

/test e2e-gcp


Add french translations

This pull request simply adds a couple of translations in french.

Support

Thanks @loicgasser


[cPP ENHANCEMENT] Codify application note details into FPT_TST_EXT.1.1

Provide the location of the issue
<IP_ADDRESS>, FPT_TST_EXT.1 TSF Testing (Extended)
What is the enhancement request for the cPP? Please describe.
FPT_TST_EXT.1 Application Note 25 defines minimum expected effort as: “It is expected that at least self-tests for verification of the integrity of the TOE firmware and software as well as for the correct operation of cryptographic functions necessary to fulfil the SFRs will be performed.”
Consider codifying this expectation into FPT_TST_EXT.1.1 directly.
Describe the solution you'd like
Suggested update:
The TSF shall run a suite of the following self-tests:
•	During initial start-up (on power on) to verify the integrity of the TOE firmware and software;
•	During initial start-up (prior to providing any cryptographic services) to verify correct operation of cryptographic implementation necessary to fulfil the TSF;
•	[selection: no other tests, during initial start-up (on power on), periodically during normal operation, at the request of the authorised user, at the conditions [assignment: conditions under which self-tests should occur]]
to demonstrate the correct operation of the TSF: [assignment: list of self-tests run by the TSF].
Additional context
This command and solution were submitted by the Canadian Centre for Cyber Security. [Reference CCCS-PP-20]

Application note should explain the requirement, not specify.

o	Please introduce a requirement to document what self-tests are being claimed so there is a definitive list of self-tests in the scope of FPT_TST_EXT.1.
o	Please improve clarity of documentation by asking to categorically document under what condition these tests are run (e.g., periodically, during startup, etc.)
o	Mandate that self-tests of cryptographic implementation/module must be in the scope of FPT_TST_EXT.1.

I agree with Ken's proposed approach (per email thread) to address this issue by further modifying FPT_TST_EXT.1.1 element.

Resolved in PR https://github.com/ND-iTC/Documents/pull/307


Feat/add-feature-flag-userStatusFlag2

Issue:
Description:
Anthing you would like to inform the reviewer about:
Dev Tested:

[ ] Yes

Images/video of the change:
Follow-up Issues (if any)

This was just for checking the file difference hence closing it.


Create lockedSource for use by SkipList

Instead of having a static lock to provide thread safety for the
generator used by SkipList, the change models a lockedSource off of Go
stdlib's globalRand source. This is primarily a code refactor, but does
allow for locking at a smaller granularity.
There may be a better place to put this new type.

lgtm

+1

+1

Thanks for your contribution @nvanbenschoten!


Batch uploaded GPX-files in a zip-file, not showing up in iD

I zipped a bunch of gpx-files as mentioned in this link.
https://wiki.openstreetmap.org/wiki/Batch_Upload_of_GPX_(various_tools)
But when i try to load the trace in iD, I can't see the trace. iD shows only one trace from one gpx.
This is the trace i uploaded.
https://www.openstreetmap.org/user/magu01/traces/3161726
The API is allready in place and working and the problem was discused in this bug report.
https://github.com/openstreetmap/openstreetmap-website/issues/2455

tomhughes
"I suspect the problem is that editors don't cope with the slightly odd way we return the data, which is basically by concatenating all the files, and they are at best only parsing the first XML document they see."

Your link to your uploaded trace does not work here: „trace not found“

Sorry, I deleted it without thinking. This is a new link to the same trace.
https://www.openstreetmap.org/user/magu01/traces/3162221


Update banking.json

typo fixed

@ikr0m the diff doesn't render well, what text did you update?

@stevemart "accounType" is fixed as "accountType"


MultiCompiler (array of webpack configs) causes "Cannot read property 'tap' of undefined" in WebpackDevServerUtils.js at npm start

Describe the bug
After turning my webpack into a MultiCompiler (returning an array of configs instead of a single object to webpack), npm start would fail with a Cannot read property 'tap' of undefined error.
Did you try recovering your dependencies?
yes, did not help
Which terms did you search for in User Guide?
"npm start error" "tap undefined". Did not find anything relevant.
Environment
npx: installed 98 in 7.446s

Environment Info:

  current version of create-react-app: 3.4.1
  running from <homedir>/.npm/_npx/59886/lib/node_modules/create-react-app

  System:
    OS: macOS 10.15.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 14.4.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.8 - /usr/local/bin/npm
  Browsers:
    Chrome: 85.0.4183.121
    Firefox: 76.0.1
    Safari: 14.0
  npmPackages:
    react: ^16.9.0 => 16.13.1
    react-dom: ^16.9.0 => 16.13.1
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found

Steps to reproduce

generate an array-of-configs in webpack.config.js (i.e. a MultiCompiler) based on the create-react-app config, with typescript enabled
npm start

Expected behavior
devserver should start without error
Actual behavior
On npm start, the following error appears.
><EMAIL_ADDRESS>start <app path>
> node scripts/start.js

Cannot read property 'tap' of undefined
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `node scripts/start.js`
npm ERR! Exit status 1

Debugging with node --inspect-brk ./scripts/start.js indicates the problem is at https://github.com/facebook/create-react-app/blob/master/packages/react-dev-utils/WebpackDevServerUtils.js#L143
    compiler.hooks.beforeCompile.tap('beforeCompile', () => {

because MultiCompiler does not have a beforeCompile in hooks, it only has done, invalid, run, watchClose, watchRun, and infrastructureLog in hooks.
I fixed it with the following patch, but it seems incomplete, as it doesn't handle the hooks.failed in isSmokeTest below (wasn't quite sure if I should hook all the compilers, or just the last one). It also hangs with the message Files successfully emitted, waiting for typecheck results... after running npm start, but the devserver seems to work anyways.
--- node_modules/react-dev-utils/WebpackDevServerUtils.js	1985-10-26 01:15:00.000000000 -0700
+++ patches/WebpackDevServerUtils.js	2020-09-22 11:22:48.000000000 -0700
@@ -138,8 +138,11 @@
   let tsMessagesPromise;
   let tsMessagesResolver;

+  var isMulti = compiler.compilers && compiler.compilers.length > 0;
+  var firstCompiler = isMulti ? compiler.compilers[0] : compiler;
+
   if (useTypeScript) {
-    compiler.hooks.beforeCompile.tap('beforeCompile', () => {
+    firstCompiler.hooks.beforeCompile.tap('beforeCompile', () => {
       tsMessagesPromise = new Promise(resolve => {
         tsMessagesResolver = msgs => resolve(msgs);
       });

Reproducible demo

(working on a minimal repro)

i have same question...
`Failed to compile.
Cannot read property 'tap' of undefined
(node:37134) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit`

In other words, Webpack configuration could be an array of Configuration objects.
webpack.config:
module.exports = function (webpackEnv) {
    const createReactAppConfig = {
        mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
        // ...
    }
    const additionalConfig = {
        // my custom config
    }

    return [createReactAppConfig, additionalConfig ] // <-- returning an array
}

This is important because this way the create-react-app webpack file could easily be extended. Instead of messing with an existing configuration section, the new one could be appended. Please see the types here:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/webpack/index.d.ts#L61

It would be great to have this working!

In other words, Webpack configuration could be an array of Configuration objects.
webpack.config:
module.exports = function (webpackEnv) {
    const createReactAppConfig = {
        mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',
        // ...
    }
    const additionalConfig = {
        // my custom config
    }

    return [createReactAppConfig, additionalConfig ] // <-- returning an array
}

This is important because this way the create-react-app webpack file could easily be extended. Instead of messing with an existing configuration section, the new one could be appended. Please see the types here:
https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/webpack/index.d.ts#L61

It would be great to have this working!

Did Anyone find a solution to this ?

Solution for me was to set FAST_REFRESH=false in .env file. There goes 3 hours I'll never get back.

Hey, any update on this one?


[mysql] change MySqlSource constructor's accessibility from package-private to public

By applying this change, the user can construct a
MySqlSourceConfigFactory first, and use the constructor
to construct the MySqlSource, which can reduce the work
to maintain some other MySqlSourceConfig code.
Signed-off-by: 元组<EMAIL_ADDRESS>

@zhjwpku Thanks for the pull request. However, could you explain a bit why you need the MySqlSource constructor and MySqlSourceConfigFactoy? Why the MySqlSourceBuilder can't satisfy your need? In theory, they exposes the same configs.

Hi Jark,
What we need is MySqlSourceConfig, since we what to use the TableDiscoveryUtils#discoverCapturedTableSchemas flink-connector-mysql-cdc provided. We could use the MySqlSourceConfig constructor, but that's more error prone, so we think MySqlSourceConfigFactory#createConfig might be a better option.
If we construct the MySqlSourceConfigFactory first, we can use it to create a MySqlSourceConfig instance same as used in the MysqlSource. In this way, we just need to maintain the database properties in one place.
BR,
Zhao

@zhjwpku , MySqlSourceConfigFactory and MySqlSourceConfigFactory#createConfig are public. So you are free to use them to create the MySqlSourceConfig instance. But why do you need to update MysqlSource constructor?

@wuchong I know MySqlSourceConfigFactory and MySqlSourceConfigFactory#createConfig are public, but If MySqlSource constructor are package-private, I have to main a MySqlSourceConfigFactory and use MySqlSourceBuilder to main the db information twice. like:
MySqlSource
     .<String>builder()
     .hostname("localhost")
     .port(3306)
     .databaseList("mydb")
     .tableList("mydb.users")
     .username(username)
     .password(password)
     .serverId(5400)
     .deserializer(new JsonDebeziumDeserializationSchema())
     .build();

MySqlSourceConfigFactory factory = new MySqlSourceConfigFactory()
        .hostname("localhost")
        .port(3306)
        .databaseList("mydb")
        .tableList("mydb.users")
        .username(username)
        .password(password);

But if the MySqlSource constructor is public, I can do this:
MySqlSourceConfigFactory factory = new MySqlSourceConfigFactory()
        .hostname("localhost")
        .port(3306)
        .databaseList("mydb")
        .tableList("mydb.users")
        .username(username)
        .password(password);

MySqlSource<String> source = new MySqlSource<>(configFactory, new JsonDebeziumDeserializationSchema());

DB infomations just need to type once, which is less error prone.
I am not sure public the MySqlSource constructor is the reasonable way to do this, but it's the easiest way. Add a getMySqlSourceConfig method to MySqlSource is another solution, but I think that might violate the MySqlSource's encapsulation.

Thanks @zhjwpku , but I think maybe it would be better to provide MySqlSource#getConfigFactory() method. Because expose the constructor of MySqlSource will violate with the builder pattern which we actually don't want to expose the constructor (the constructor may adding more parameters in the future).

Thanks @zhjwpku , but I think maybe it would be better to provide MySqlSource#getConfigFactory() method. Because expose the constructor of MySqlSource will violate with the builder pattern which we actually don't want to expose the constructor (the constructor may adding more parameters in the future).

ok, I will file another PR then ;)


How to pass URL params to static fetchData component method?

I'm keen to understand best practices for passing url params from the express route handler to the component being rendered server side. Currently, it looks as though the only way the is achievable is by using custom express routes when required or a hacky url split inside the static component method.
eg.
GET http://www.myapp.com/posts/:id (req.params.id required to load post 10 from external endpoint)
import { getPost } from './actions/post'

...

static fetchData(store) {
    // param 10 required from request url
    return store.dispatch(getPost(:id))
}

Any thoughts on this?

For anyone experiencing the same issue see below for the fix...
In routes/index.js see the line...
const promises = branch.map(({route}) => {
...
})

Each route being mapped will also contain a 'match' property. This property contains the url params as defined in the router. So if the match route is http://www.myurl.com/posts/:id, match.params.id will be the value of :id. So in full...
const branch = matchRoutes(routes, req.url);
const promises = branch.map(({ route, match }) => {

    let fetchData = route.component.fetchData

    return fetchData instanceof Function
        ? fetchData(store, match)
        : Promise.resolve(null)
})

...the static fetchData method on the component might look like this...
static fetchData(store, props) {
    return store.dispatch(getPost(props.params.id));
}


2.7.5 bk

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

merge 2.7.5-bk to local 2.7.5


Adding support for sound null safety

Moving to null safety should be top priority.
Without support for null safety this package will not get new users as everybody is moving to it.
It is stopping me from using this package and I am sure it is not just me.

@guyluz11 maybe I'm missing something, but null safety support was added 9 months ago in version 0.2.5 (see the changelog: https://github.com/terrabythia/dart_chromecast/blob/master/CHANGELOG.md).

I see what you mean now. It's complaining that one of the transitive dependencies doesn't support null safety. Unfortunately this is because the current protoc_plugin uses an old version of that library and there is no newer version yet.

If you can find a way to fix this anyway feel free to create a PR!

I have opened an issue for google after opening this issue
https://github.com/google/protobuf.dart/issues/540 and this is related too.
As @JishnuM wrote we can use dependency override and it should work.
In another project of mine I am using protoc but generating it using protoc program and not dart package, so this is another option.
And I think protoc_plugin belongs in dev_dependencies and not in dependencies in case we go with keeping it.
Tell me what option you prefer that I will work on.

@terrabythia can you try removing  protoc_plugin and test if everything is working correctly?, I think it is not needed at all.

@guyluz11 hm... interesting. protoc_plugin is probably only needed to generate the files in lib/proto. We can remove it!


mksh: 56b -> 56c

Semi-automatic update. These checks were performed:

built on NixOS
found 56c in filename of file in /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c

cc "@AndersonTorres @joachifm"

Success on x86_64-darwin (full log)
Partial log (click to expand)

Run the regression test suite: ./test.sh
Please also read the sample file dot.mkshrc and the fine manual.
installing
post-installation fixup
gzipping man pages under /nix/store/z80q3j8dzi5jzv0lz4b5si9zc828sjvg-mksh-56c/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/z80q3j8dzi5jzv0lz4b5si9zc828sjvg-mksh-56c/bin
patching script interpreter paths in /nix/store/z80q3j8dzi5jzv0lz4b5si9zc828sjvg-mksh-56c
/nix/store/z80q3j8dzi5jzv0lz4b5si9zc828sjvg-mksh-56c

Success on x86_64-linux (full log)
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c
shrinking /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c/bin/mksh
gzipping man pages under /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c/bin
patching script interpreter paths in /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c
checking for references to /tmp/nix-build-mksh-56c.drv-0 in /nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c...
/nix/store/88xmgl9p82fph7d8qqzp48iqvkh688jd-mksh-56c

Success on aarch64-linux (full log)
Partial log (click to expand)
these paths will be fetched (0.18 MiB download, 0.35 MiB unpacked):
  /nix/store/amha6ghwh68b4nlz8q5ylq7bj95g9khp-mksh-56c
copying path '/nix/store/amha6ghwh68b4nlz8q5ylq7bj95g9khp-mksh-56c' from 'https://cache.nixos.org'...
/nix/store/amha6ghwh68b4nlz8q5ylq7bj95g9khp-mksh-56c