Write HFP deduplication

HFP stream contains duplicate messages due to MQTT QoS 1. And if we run multiple instances of pulsar-mqtt-source, we need to deduplicate those streams as well. Keep the first copy of each unique message.
Implement using Pulsar Functions.
Run on Docker host / Docker Swarm using Pulsar Admin API or CLI.
Ask Pulsar devs whether they are interested in:

Streaming compaction of topics instead of cron jobs.
Compaction by retaining only the first instances of unique messages, not the last.

Latest thoughts:

Keep in-memory cache where TTL is the same as the MQTT Broker's TTL

Let's not use Redis for perf reasons. Even though we're not currently in any hurry, it's in our critical processing path.

Let's read multiple Pulsar topics in one app in single thread, calc unique hash from the entire message payload using some good and fast hash function (SHA-1?). Then it's fairly generic piece of code
When we discover a message with hash that has been seen before just throw it away
In normal case we should have the same amount of forwarded and discarded messages. enable alert if these two differ too much.
Requires some bootstrapping functionality (Read all old messages for cache TTL) so we don't lose the cache during application restarts. this will always cause a delay to the processing pipeline so it's a bit expensive..

Pulsar log compaction won't work because it keeps the last one and requires manual invocation.
Pulsar deduplication won't work since it's only for making sure same consumer message won't be published twice and uses MessageId's for that.


Update BIT 2D with Range Update and Range Query.cpp

the previous implementation is incorrect,to duplicate the error give the following input 3 4
6 9 2 1
4 2 5 3
9 1 2 6
2
1 1 1 3 4 -1
2 2 3 3 4
Previous code gives 13,while answer is 12

Thanks a lot!


OCPBUGS-13303: pkg/operator/startupmonitor: skip openshift-apiserver readiness check…

… for kube-api's readyz
For SNO installations cluster-kube-apiserver-operator should consider kube-apiserver healthy even without openshift-apiserver available. This would allow operator to rollout sooner, speeding up the installation process.
The tradeoff is that users will not be able to login during install until apiserver/oauth servers are ready

/test e2e-gcp-operator-single-node
/test e2e-aws-operator-disruptive-single-node

/test e2e-aws-ovn-single-node
/test e2e-gcp-operator-single-node
/test e2e-aws-operator-disruptive-single-node

/retest

LGTM
@vrutkovs are you waiting for any specific signal from the CI or do you want to merge this PR ?

single-node jobs should be passing, I'm a bit concerned that e2e-gcp-operator-single-node is not passing. Lets run it again
/test e2e-gcp-operator-single-node

It looks like e2e-aws-operator-disruptive-single-node is permanently broken, it looks like an issue with the fallback mechanism provided by the operator. It is hard to debug because we don't have logs from the startup monitor - that should be our first step.

Thanks, seems e2e-gcp-operator-single-node was not updated after 1.27 bump as well, so no regressions in this PR and its ready to be lgtm'ed

Thanks, seems e2e-gcp-operator-single-node was not updated after 1.27 bump as well, so no regressions in this PR and its ready to be lgtm'ed

/lgtm

/approve

/cherrypick release-4.13

/retest

e2e-gcp-operator currently permafails - needs https://github.com/openshift/cluster-kube-apiserver-operator/pull/1497

e2e-gcp-operator currently permafails - needs https://github.com/openshift/cluster-kube-apiserver-operator/pull/1497

/retest


NPC sheets do not work

I cannot open NPC sheet and trying to open it produces error in the console

Which version of foundry are you running and which version of the system?

Thanks for the report! It seems I hadn't created new NPCS since I upgraded the system to 08! How foolish of me! Should be fixed within the hour

It seems that you already found the issues but if it helps I am using 0.8.6 foundry and 0.2.3 Vagabonds system.

Just pushed an update that should resolve the issue

Fixed in 0.2.4

This issue is still occurring.


Will I get a certificate from learning this ai for beginners

No, the course does not issue a certificate of completion.


Base64 prediction

In this few commits, I eased the API for predicting with models and added the feature to support base64 inputs.

Pull Request Test Coverage Report for Build 20

195 of 195 (100.0%) changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 99.712%

Totals

Change from base Build 18:
0.09%

Covered Lines:
692

Relevant Lines:
694

💛  - Coveralls

Pull Request Test Coverage Report for Build 20

195 of 195 (100.0%) changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 99.712%

Totals

Change from base Build 18:
0.09%

Covered Lines:
692

Relevant Lines:
694

💛  - Coveralls

Pull Request Test Coverage Report for Build 20

195 of 195 (100.0%) changed or added relevant lines in 10 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.09%) to 99.712%

Totals

Change from base Build 18:
0.09%

Covered Lines:
692

Relevant Lines:
694

💛  - Coveralls


Use shallow clone for git repositories by default (#129)

use shallow clone for git repositories by default

remove trailing spaces

Looks great, thanks a lot for the PR! I'll test this in some large projects and will create a new release if everything works as expected.


starting crashes game

when i start it it just crash before it loads the mojang studios screen

fill out the bug template


API TOKEN REQUEST

Referring to Brian's comment in crowdcover/logging-roads#49 I'd like to request a token for nightly extract for our logging road project.
Thanks

@thomas-maschler have you received the API token from @bjohare yet?

Yes. All good. Thanks
On Wed, Nov 4, 2015 at 9:21 PM -0800, "mataharimhairi" <notifications<EMAIL_ADDRESS>wrote:
@thomas-maschlerhttps://github.com/thomas-maschler have you received the API token from @bjoharehttps://github.com/bjohare yet?

Reply to this email directly or view it on GitHubhttps://github.com/hotosm/osm-export-tool2/issues/96#issuecomment-153960460.

Great @thomas-maschler. Will close this issue :)


Fix translation

I found that in Convert to CSV / Excel doesn't match the Spanish translation with the button below, I correct it in this request.

#66


Add next-plugin-profiler to list of community plugins

This PR adds next-plugin-profiler, a plugin that allows you to enable the React profiler, to the list of community plugins.

I'd prefer to land this feature into Next.js under a configuration flag.

@timneutkens Gotcha. That makes perfect sense. Are you open to a PR for that in https://github.com/zeit/next.js?

@taylorbryant for sure feel free to add it as an experimental flag initially 🙏


Add TPC-H query 8 for Dask, PySpark, DuckDB and Polars

Add query 8 as requested in #1071

@mrocklin @phofl Do we still want this?

I care about it less now that the initial push for PyData NYC is over.  I
still care generally about expanding benchmark coverage.  Maybe that's more
TPC-H or maybe it's some other benchmark suite, like TPC-DS.  I'd encourage
folks like yourself and @fjetter and @phofl to figure out what might be
best here.
On Tue, Nov 21, 2023 at 3:45 AM Miles @.***> wrote:

@mrocklin https://github.com/mrocklin @phofl https://github.com/phofl
Do we still want this?
—
Reply to this email directly, view it on GitHub
https://github.com/coiled/benchmarks/pull/1180#issuecomment-1820569350,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTCCQ35WCMUZAPK4YDLYFRZ3TAVCNFSM6AAAAAA6XH2R56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRQGU3DSMZVGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
https://coiled.io
Matthew Rocklin CEO, Dask Maintainer

Is there any work left here?


feature request: option to unblock

Would be nice to have an ability to undo blocking.

Definitely interested in this one - blocking-worthiness signals can be subtle. There have been multiple cases where I wanted to 'Run unblock chain' after an inadvertent block run.


GSoC Proposal: Complete implementation of the math and cmath library

Complete Implementation of math and cmath
Project Goal
The math library is one of the most commonly used libraries in python. With math being such a crucial aspect of coding everywhere and keeping the goal of VOC in mind, I am willing to devote my time to implement these two important libraries.
As of now, there are no implementations of these two libraries what so ever. I have planned to split the timeline into two; One-half for implementing cmath and the other for math.
Implementation
The math Library
In reference to the Python documentation, there is a total of 44 methods and 5 constants, out of which 22 methods and 3 constants do not translate directly to the java.lang.Math class.
Among the 23 methods and 3 constants, I have divided them into two parts,

Easy Ones:
Under the easy ones come the fsum(), sum(), gcd(), isfinite(), ininf(), isnan(), fmod(), modf(), trunc(), acosh(), asinh(), and atanh() methods.
Implementing fsum is straightforward, there is an implementation of it here. Implementations of fmod, acosh, asinh, and atanh are simple as well, as there are formulas for them.

Harder Ones:
Under this category come the, isclose(), factorial(), frexp(), ldexp(), log(), log2(), erf(), erfc(), gamma(), lgamma(). The reason that these come under the hard catergory is beacuse of the fact that these functions cannot be directly plugged into an equation. Some manipulation must be done with the values to arrive at the output.
The log() function will need some extra care because you can pass the base as an argument, this will have to be taken into consideration and the respective conversion must be done.
Implementing the gamma and lgamma methods will take some time as I will have to read up on how these equations can be implemented. I will have to learn Stirling's Approximation and Lanczos Approximation to implement the function the least time complexity. When gamma() is implemented, implementing the lgamma() method will be very easy.

The cmath Library
In reference to the python documentation of cmath, there is a total of 23 methods and 7 constants. Unfortunately, Java does not have a class for manipulating complex numbers. Therefore, all of the methods must be implemented from scratch.
The functions that have to be implemented are phase(), polar(), rect(), exp(), log(), log10(), sqrt(), acos(), asin(), atan(), cos(), sin(), tan(), acosh(), asinh(), atanh(), cosh(), sinh(), tanh(), isfinite(), isinf(), isnan(), and isclose().
It is difficult to categorize these methods as they all require the same amount of work. They aren't too hard either; Most of them have direct formulas, other require a little bit more work.

Timeline

Community Bonding Period

Get to know my mentors and all the others
Learn the ins and outs of the code base
Learn about the gamma function, draft up an implementation
Learn about finding the logarithm of complex numbers, and come up with an implementation
I wouldn't be able to interact much during this period because of my end semester examinations

Week 1: May 30 - June 2

My summer holidays would have started, I would be able to work for longer hours
Start out with implementing the math library first
Implement the methods that directly translate to the java.lang.Math class.

Week 2: June 5 - 9

I will be able to finish most of the methods this week because of my holidays
Implement the fsum(), sum(), gcd(), isfinite(), isnan(), isinf() methods

Week 3: June 12 - 16

I will finish off the methods falling under the easy category
Implement fmod(), modf(), trunc(), acosh(), asinh(), atanh() methods

Week 4: June 19 - 23

I will transition into implementing the harder methods this week
Implement isclose(), frexp(), ldexp()
ldexp() is essentially the inverse of frexp(), so this would be easy to implement
I won't be able to work long hours because my classes would have started

Week 5: June 26 - 30

Implement the log methods
Implement log(), and log2()
Implement factorial()

Week 6: July 3 - 7

Implement erf() and erfc()

Week 7: July 10 - 14

Implement gamma() and lgamma() methods
Wrap up the implementation of the math library

Week 8: July 17 - 21

Transition into the implementation of the cmath library
Implement phase(), polar(), and rect(), sqrt()
I would be able to implement all these with ease, as they are basic

Week 9: July 24 - 28

Implement the exp(), log(), log10()

Week 10: July 31 - August 4

Implement sin(), cos(), tan(), tanh(), cosh(), and sinh()
I will get help with implementing these functions from here, and here
These methods come after log() because, they are very much dependent on that

Week 11: August 7 - 11

Implement acosh(), asinh(), atanh(), isinf()

Week 12: August 14 - 18

Implement isfinite(), isnan(), and isclose()
This would mark the end of implementing the cmath library

About Me
I am an undergraduate student studying Computer Science, I have been coding from a very young age. I know Java very well, and I know the basics of Python. This is my first time applying for GSoC, honestly, I haven't dealt with open source organizations much. I see this as a great opportunity for me to get to know the world of python and open source. I come up with solutions fairly fast, maintaining my deadline wouldn't be much of a problem with me.
Contributions to VOC : PR #489
email -<EMAIL_ADDRESS>

Unfortunately, this proposal wasn't accepted.


Flowbite-Svelte-CLI

Summary
Having flowbite-svelte-cli simplifies the installation of SvelteKit, Tailwind CSS, flowbite, flowbite-svelte, dependencies, and color scheme selection.
Basic example
npm create flowbite-svelte@latest my-app

Dependencies:

create-svelte
@clack/prompts
kleur
mri ?
fs-extra ?
got ?
semver ?
?

Process

SvelteKit using create-svelte
Install tailwind CSS using svelte-add
Install flowbite, flowbite-svelte classnames @popperjs/core
Selection of primary and secondary colors
Over-write tailwind.config.cjs according to the primary/secondary colors

Would this not be possible with a svelte-add script rather than an entire CLI to bootstrap the project? Something I've noticed from other UI libraries which rely heavily on CLI to bootstrap is that it deters people with existing projects of adopting them.
Additionally, there are other create-XX to bootstrap things that are more annoying than installing a few libraries - think of the t3-stack, how would this work if something comparable in the Svelte ecosystem was being used?
Definitely like the idea to be able to select primary and secondary colors and have them just default to blue if none are defined in the tailwind.config though, that will be a gamechanger.

@shinokada, I build a simple cli that setup flowbite-svelte project template, tell me if this is Ok and can I raise a PR.
Used this this as the base template.
https://github.com/themesberg/flowbite-svelte/assets/85363195/3324c839-178d-4123-bc23-3f8bb5c01621

Can I see the repo?

Can I see the repo?

Repo

@vasucp1207 Seeing the repo, just copying from a repo is not a sustainable solution. Ideally it should go through the process of normal installation when you use CLI.

This can be one of tasks done by the CLI.

I developed https://github.com/shinokada/svelte-lib-helpers and Flowbite-Svelte and other libraries are using it.
Creating content for tailwind.config.cjs can be added to this and rename it Flowbite-Svelte-Cli.
https://github.com/themesberg/flowbite-svelte/issues/922


Add events to span detail pane

Fixes https://github.com/dotnet/aspire/issues/1463

Adds events to the span detail pane.
Adds extra content template to support displaying span event attributes when present
Updates span detail pane to use an accordion. By default, high-level span details are open and application and span events are closed. The accordion allows the pane to support more information. An alternative approach would be a tab control, but an accordion allows sections to be viewed side by side and feels more appropriate right now.
Event count is visible in accordion if there are one or more events (so people know whether it is worth expanding event section).

Microsoft Reviewers: Open in CodeFlow

cc @rolfik-mycronic @davidfowl


Better Naming and Logo

Suggestions were:

Pasternak (as a nod to Kefir.js, both Russian poet and food)
Kartoffel (as a nod to Kefir.js), but sounds not so good
Flow (sure)
...

Reactive Patch Development
Reactive Patch Definition :thumbsup:
Reactive Patch Distribution
Reactive Patch Composition
Reactive Patch Degustation

Logo is nice as it is.


Support Relay's new Nil UUID added in v0.4.6

Relay v0.4.6 switched to Nil UUIDs: https://github.com/cachewerk/relay/releases/tag/v0.4.6
We can keep both sed in place to support both formats and keep backwards compatibility.

Ping @thomasdiluccio.


ENH: LinearOperator matvec should correctly handle the case when the input is (n,1)-shaped

Is your feature request related to a problem? Please describe.
The provided matvec must correctly handle the case when the input is (n,)-shaped. This is a documented requirement (see the Notes).
It prevents a valid matmat to be used also as matvec, which is illogical.
Describe the solution you'd like.
Require that matvec must correctly handle the case when the input is (n,)-shaped ONLY if matmat is not provided. Or better yet, check for the shape of the vector input to matvec and reshape (n,1) into (n,) if needed. At least one spot where it is needed is in /scipy/sparse/linalg/_interface.py the code in question is
    def _init_dtype(self):
        """Called from subclasses at the end of the __init__ routine.
        """
        if self.dtype is None:
            v = np.zeros(self.shape[-1])
            self.dtype = np.asarray(self.matvec(v)).dtype

Describe alternatives you've considered.
The requirement puts more burden on the user while it could be easily handled internally.
Additional context (e.g. screenshots, GIFs)
Originally reported at https://github.com/scipy/scipy/issues/19207, but moved here.
Reproducing Code Example
import numpy as np
from scipy.sparse import spdiags
from scipy.sparse.linalg import LinearOperator, aslinearoperator
from scipy.sparse.linalg import lobpcg
n = 100
vals = np.arange(1, n + 1).astype(np.int16)
A = spdiags(vals, 0, n, n)
A = A.astype(np.int16)
rng = np.random.default_rng()
X = rng.normal(size=(n, 1))

def A_matmat(X):
    return vals[:, np.newaxis] * X

A_lo = LinearOperator((n, n), matvec=A_matmat, matmat=A_matmat)
eigenvalues, _ = lobpcg(A_lo, X, maxiter=80)

Error message
From https://circleci.com/gh/scipy/scipy/75161

        A_lo = LinearOperator((n, n), matvec=A_matmat, matmat=A_matmat)
      File "/home/circleci/repo/build-install/lib/python3.9/site-packages/scipy/sparse/linalg/_interface.py", line 584, in __init__
        self._init_dtype()
      File "/home/circleci/repo/build-install/lib/python3.9/site-packages/scipy/sparse/linalg/_interface.py", line 182, in _init_dtype
        self.dtype = np.asarray(self.matvec(v)).dtype
      File "/home/circleci/repo/build-install/lib/python3.9/site-packages/scipy/sparse/linalg/_interface.py", line 244, in matvec
        y = y.reshape(M)
    ValueError: cannot reshape array of size 10000 into shape (100,)

SciPy/NumPy/Python version and system information
current main

LinearOperator itself does not require a matvec. It already has the internal logic to infer one from the other. Rather, the only constraint is that _CustomLinearOperator does not also implement this and requires a matvec.
I'm going to close this because the stated enhancement request is not the direction we need to go to solve the problem.

#19213 is the right description, with my clarification as to exactly where the change needs to be made.

These two are separate issues, no?

If you solve that one, this one is unnecessary. There is no need to make the matvec= argument accept matmat functions if one can construct LinearOperators with just a matmat= argument.

I disagree - this issue is unrelated to matmat. Even if only matvec= is set, I still see no point to restrict its input to (n,)-shaped ONLY and not allow (n,1)

Each matvec implementation must handle both. If you want to only deal with proper matrices (i.e. by implementing only a matmat), that's fine! The logic to infer matvec behavior from a matmat implementation already exists. You just need the ability to construct a LinearOperator by providing a matmat= argument, and that's covered by #19213 .


qform referenced before being defined

From https://neurostars.org/t/fmriprep-issue-with-validate-node-qform/6169:

My command line is:
fmriprep /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/dataset /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/derivative participant --fs-license-file /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/ --use-aroma --fs-no-reconall --participant_label sub-07
Here is the copy of the crash file:
Node: fmriprep_wf.single_subject_07_wf.func_preproc_task_rest_wf.bold_reference_wf.validate
Working directory: /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/work/fmriprep_wf/single_subject_07_wf/func_preproc_task_rest_wf/bold_reference_wf/validate

Node inputs:

in_file = /netapp/vol7_u923/COSIMAGE/cosimage_ml/repos/fmriprep/dataset/sub-07/func/sub-07_task-rest_bold.nii

Traceback (most recent call last):
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py”, line 69, in run_node
result[‘result’] = node.run(updatehash=updatehash)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 479, in run
result = self._run_interface(execute=True)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 585, in _run_interface
return self._run_command(execute)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py”, line 678, in _run_command
result = self._interface.run(cwd=outdir)
File “/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py”, line 382, in run
runtime = self._run_interface(runtime)
File “/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/images.py”, line 423, in _run_interface
if np.allclose(new_qform, qform) and qform_code > 0:
UnboundLocalError: local variable ‘qform’ referenced before assignment

Fixed in #466.


Update unsigned field's type from Option<Value> to Map<String, Value>

it's guaranteed to always be an object
Option isn't needed because the distinction empty object / missing field is not of interest

Status: This has to be rebased after Serialize implementations are no longer generated by us but by serdes own derive macros.


Why we don't have 1 button to expand & collapse all block code ?

I have some files and it's included a lot of functions. Total 5613 lines now, I won't use scroll by mouse to end of file, my hand has been fatigued. So I always collapse the functions I don't working on it, sometimes that functions auto expands, I have to re-collapse them.
I think we need a button to collapse all of blocks. It will very helpful

There is Ctrl+Shift+P and >Fold all or >Fold Level 1 commands. They already have shortcuts and you can reassign them if needed.
Does this solve your problem?

Also this extension to add context menu items:
https://marketplace.visualstudio.com/items?itemName=georgejames.thefoldingstuff

Closing since there are available solutions to this problem as described above.

There is Ctrl+Shift+P and >Fold all or >Fold Level 1 commands. They already have shortcuts and you can reassign them if needed.
Does this solve your problem?

What the shortcut on MacOS ?

There is Ctrl+Shift+P and >Fold all or >Fold Level 1 commands. They already have shortcuts and you can reassign them if needed.
Does this solve your problem?

Thanks. I don't know it since read your comment. It's very helpful for me.


Change some font options

The letter spacing looks awkward. I've fixed that. [L104 - L106]
The font looks too fat. I've fixed that too. [L21 - L22]

Thanks, but I'll leave the font rendering up to the browsers and operating systems :). Hacking them like this will inevitably lead to more work for others down the line.

This isn't a hack. It's actually a fix. Nothing will break. Browsers that don't support it will be fine.


chore: 08-wasm branch for conditional clients compatible with v8.3.x

Description

closes: #XXXX

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against the correct branch (see CONTRIBUTING.md).
[ ] Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/).
[ ] Added relevant godoc comments.
[ ] Provide a conventional commit message to follow the repository standards.
[ ] Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
[ ] Re-reviewed Files changed in the GitHub PR explorer.
[ ] Review SonarCloud Report in the comment section below once CI passes.

Summary by CodeRabbit

Chores

Updated backport patches target branches for wasm ibc-go versions.

Documentation

Added recommendations for sharing Wasm VM instances in integration guides.
Updated migration guide for 08-wasm versions detailing changes in checksum storage and WasmEngine interface updates.

This needs to be merged before dependabot updates wasmvm to v2.0.1, right?

Not necessarily. It also works with reapplying the label on the PR.


Coordinate therapeutic agent branch with CHIRO

maxo has an agent branch like this:

these terms are similar to chebi roles, although the hierarchy is different (e.g. in chebi alkylating agent is under mutagen, and not under anti-neoplastic)
@nicolevasilevsky is already doing work to axiomatize the chebi role ontology with https://github.com/obophenotype/chiro - for example, anti-neoplastic agent is defined as having a role that is realized by negatively regulating neoplastic activity

I suggest

we make a DP whereby we define X agent using the term X role from chebi

e.g. X agent = .. and has_role some ...
but note this will not give us the desired inferences, so we should compare the chebi roles with maxo. We can make requests for chebi to change if we like (link back to this ticket)

we coordinate on the axiomatization in chiro and in maxo. E.g presumably antineoplastic therapy will have some kind of link to mondo neoplasm. If there are a handful we can do manually. If there are many, then semi-automate

I'm not terribly familiar with CHIRO, but certainly would be interested.

Moving this to a discussion #213


MSSQL Migration enahnchements

When using migrations with MSSQL the dropColumn, dropTable are often blocked by constraints created automatically by SQL Server (i.e. a DEFAULT VALUE), and doing up and down is a PITA.
I have created the attached Migration class which I use to mitigate this.
N.B. This though does not solve the problem on when doing an alterTable and changing a field which has a constraint defined.
If I add a column link this:
$this->addColumn('{{%table}}','field',$this->integer()->null());
SQL Server would add a contraint for the NULL default value.
Then doing:
$this->alterColumn('{{%table}}','field',$this->string(40)->notNull());
would FAIL as there is a constraint.
this->dropColumnConstraints('{{%table}}','field');
must be called before.
Maybe can be of help for integration in default yii2 Migration ...

Fixed by yiisoft/db-mssql#282


feat: blog article explaining public key infrastructure

Fixed #683

@chrisproch You can find the preview here: https://deploy-preview-684--umh-docs.netlify.app/docs/concepts/symmetric-asymmetric-encryption/


Addon-a11y crashes without withA11y decorator

Describe the bug
In 4.x:

Register addon-a11y in addons.js

In 5.x:

Register addon-a11y
Add addDecorator(withA11y) in config.js or the addon crashes

We should support the 4.x defaults so as not to break existing storybook configs

False alarm 🤕


Added support for newer json service accounts

Left old json service account functionality untouched to ensure
backwards compatibility isn't broken. Added test for both formats of
json service files.

Looks great, thanks!


Fix possible crash when Control overrides mouse input on Area2D

Made Viewport::_cleanup_mouseover_colliders queue up mouse_exit and mouse_shape_exit signals to emit and at the end of the function's execution to avoid potential crashes.
Fixes #79371

I was thinking at first this method would be good incase of another function or variable could retrigger Viewport::_cleanup_mouseover_colliders immediately like changing the control.mouse_default_cursor_shape in the MRP. But after checking if using the get_viewport().warp_mouse(position : Vector2) could cause a immediate retrigger, it didn't, idk may of been better with Sauermann initial thought on it. Not really sure.

Thanks!


Ability to generate a list of possible smiles representation for a given molecule

Description:
Can we add a parameter to bypass smiles "rule" based generator to be able to get a random smiles for a given starting atom number ?

RDKit Version:
Platform:

Your code sample here

+1
Collecting a few (maybe) useful links:

Your mailing list post @thegodone 😄:

https://sourceforge.net/p/rdkit/mailman/message/36382511/

Esben's work presented last year:

Presentation - https://github.com/rdkit/UGM_2017/blob/master/Presentations/Bjerrum_RDKitUGM_Smiles_Enumeration_for_RNN.pdf
Publication: https://arxiv.org/pdf/1703.07076.pdf
Code: https://github.com/EBjerrum/SMILES-enumeration/blob/master/SmilesEnumerator.py

I added this to #2059, but here is a simple python function that randomizes smiles:
import random

def randomSmiles(m1):
    m1.SetProp("_canonicalRankingNumbers", "True")
    idxs = list(range(0,m1.GetNumAtoms()))
    random.shuffle(idxs)
    for i,v in enumerate(idxs):
        m1.GetAtomWithIdx(i).SetProp("_canonicalRankingNumber", str(v))
    return Chem.MolToSmiles(m1)

m1 = Chem.MolFromSmiles("CNOPc1ccccc1")
s = set()
for i in range(1000):
  smiles = randomSmiles(m1)
  s.add(smiles)

print(s)```

generating ALL possible smiles is much, much harder to do efficiently than it seems at first blush.

@bp-kelley: Randomizing the ranks certainly helps, but it doesn't solve the problem that the traversal algorithm still prefers non-ring bonds to ring bonds - this takes preference over the ranks. Here's an example using your randomSmiles() function:
In [13]: m2 = Chem.MolFromSmiles('CC1C(CC=1)O')

In [14]: set(randomSmiles(m2) for x in range(1000))
Out[14]:
{'C1(C)=CCC1O',
 'C1(O)C(C)=CC1',
 'C1(O)CC=C1C',
 'C1=C(C)C(O)C1',
 'C1C(O)C(C)=C1',
 'C1C=C(C)C1O',
 'CC1=CCC1O',
 'OC1C(C)=CC1',
 'OC1CC=C1C'}

For what it's worth, I have this bunch of code in FASMIFRA:
def random_reorder_atoms(randomize, mol):
    if randomize:
        rand_order = list(range(mol.GetNumAtoms()))
        random.shuffle(rand_order)
        rand_mol = Chem.RenumberAtoms(mol, newOrder=rand_order)
        set_name(rand_mol, get_name(mol))
        return rand_mol
    else:
        return mol


Stack stuck in activating when one container fails to come up, holds up other containers

Rancher Version:
1.1.x
Docker Version:
1.10.3
OS and where are the hosts located? (cloud, bare metal, etc):
RancherOS
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node/external DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Steps to Reproduce:
This can happen to standalone containers as well, when starting a container with a conflicting port for example. Rancher will cycle trying to create the container endlessly.
Results:
stacks/containers stay in activating state indefinitely
Expected:
Bubble up error on why container cant come up

I'm adding this comment from a customer:
I think that is a great start. Given we don’t want to grant everyone ssh access to look at the docker.log this will be helpful. Actions correlated with the various log sources would also be very useful. In some cases, I hope (at least over time) Rancher will be able to identify docker/systemlog events and correlate to (mis)configuration in Rancher or even the docker-compose files.
E.g. Pulling form a repo without the right credentials results in a forbidden in the logs – Rancher can then provide in the UI “Unable to pull image due to authentication error. Did you add the registry credentials? <link to registries page”
Not always related to log events, but some level of docker-compose linting would also be useful:
E.g. Launching a docker-compose file with a bind mount to a non-existent path on the host – Rancher can then provide a warning “Service bind-mounts a non-existant directory on the host. Did you mean to use a named volume?”
The last one there made me realize there currently no “logs” at the stack level. So something like that could be presented as Stack-level errors/warnings in the UI.

We have added service logs to bubble up issues in services.  Stand alone containers will also report the errors of why they haven't started.

I see in the service view, there is a log tab. This looks great, verified using c1.2.0-pre4-rc15


Added visualisation of player position

Inspired by https://github.com/AHAAAAAAA/PokemonGo-Map/tree/develop
run using option "-v 5000" and then navigate to http://localhost:5000/
visualisation supports real time tracking, even walking deltas supplied by API walk function

I'm afraid that will cause our app too big? I'm planning to embed bot in to Android application, how do you think about? @mpawlucz

@mpawlucz you mind trying to find a way to do it without modifying anything under pgoapi folder? pgoapi is an external library, from here https://github.com/tejado/pgoapi and I'm planning to move it to a setup.py dependency to remove its folder entirely from this project.

I'd look at making the google maps key non-hardcoded, possibly as a config variable?  Seeing as pretty much every pokemon go map app is using the key AIzaSyAZzeHhs-8JZ7i18MjFuM35dJHq70n3Hx4, it'll definitely get overloaded.

@PokemonGoF need to find a faster way to talk with you. Please mail me with Hangouts, Facebook or whatever you use: d.camata at gmail dot com. Confirm when I can delete this message.

@jtdroste I setup an -k option, but haven't figured out how to get a correct one..

If you can add a chat windows to show the console in the map and show all pokestops, gyms and pokemons near you, you will become my new god!

@PokemonGoF quoting from Mila "We dont want Niantic to take action against API usage. There are a lot of nice projects out there built on the API. So please dont blame us about thinking about our actions."
I guess the best option is to keep this bot running in Terminal or something else. Keep it simple. The API is beautiful. It help us as developer to create another app. But bot, is another story.
Just saying. :)

@PokemonGoF would that android application supply bot configuration (eg. which poke to catch, min cp)? This is a nice idea. I thought of adding some configuration over web interface, but if pokemon go is an application for mobile then your way seems more reasonable
@douglascamata there is already a callback 'walking_hook' added by @PokemonGoF , I think we could make use of it
@bravocado do you mean keep bot simple so Niantic won't notice it? :)

We no longer accept merges on master

Can you possibly add this functionality to what we currently have?  Right now we're writing to a file (/web/location.json) everytime we call the API to update.  Then, we run a simplehttpserver on the /web directory to view current bot status.  If you can build this into the app, so it's an optional command line thing, while avoiding the constant rights, that'd be great.

Closing the PR.  If you choose to go with what I said above, feel free to submit another one! Thanks again


How to download this repository and use it as an external library?

Hi. I want to download this repository and use it as an external library. The reason is so that I can modify it for my own specific project. Can you tell me what changes I need to make to settings.gradle and build.gradle to be able to do that? For the open source Sceneform archive, the instructions were like this
Can you provide similar instructions for using this repository as an external library in my project?

The process is not that different.
Compared to the original Repository sceneform is now core and sceneformux is ux. I can tell you tomorrow more, but yeah only the names have changed.

Download or clone this Repository and put it into your root project folder
Modify settings.gradle

include ':core'
project(':core').projectDir=new File('sceneform-android-sdk/core')

include ':ux'
project(':ux').projectDir=new File('sceneform-android-sdk/ux')

Modify your app build.gradle

api project(":ux")

Sync everything
You can verify if the ux and core module are added to your project by going to File -> Project Structure -> Modules, ux and core should be listed.

Thank you very much, it worked!

I am struggling to add 'Sceneform Maintained' in an existing project.
Questions:

should not you add also :


Add mesheryctl smoke test workflow

Signed-off-by: Navendu Pottekkat<EMAIL_ADDRESS>Description
Adds a workflow that runs on every PR and push to master to run a smoke test with mesheryctl.

[x] Yes, I signed my commits.

Codecov Report

Merging #4818 (916c4a2) into master (f7a55a0) will decrease coverage by 6.79%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4818      +/-   ##
==========================================
- Coverage   32.01%   25.21%   -6.80%
==========================================
  Files          61       61
  Lines        5148     5148
==========================================
- Hits         1648     1298     -350
- Misses       3074     3532     +458
+ Partials      426      318     -108

Flag
Coverage Δ

gointegrationtests
?

unittests
25.21% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

mesheryctl/internal/cli/root/system/start.go
1.15% <0.00%> (-58.47%)
:arrow_down:

mesheryctl/internal/cli/root/system/restart.go
2.50% <0.00%> (-47.50%)
:arrow_down:

mesheryctl/internal/cli/root/system/status.go
0.00% <0.00%> (-47.44%)
:arrow_down:

mesheryctl/internal/cli/root/system/update.go
1.05% <0.00%> (-34.74%)
:arrow_down:

mesheryctl/internal/cli/root/system/stop.go
1.78% <0.00%> (-23.22%)
:arrow_down:

mesheryctl/internal/cli/root/system/check.go
1.38% <0.00%> (-22.23%)
:arrow_down:

mesheryctl/internal/cli/root/system/logs.go
3.29% <0.00%> (-20.88%)
:arrow_down:

Continue to review full report at Codecov.

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

How is the build of mesheryctl here any more of a test than the existing workflows that build and unit test mesheryctl?

+1

Answering my own question a bit.... I understand that this is likely a starting point for running any number of functional tests like mesheryctl mesh deploy.

@navendu-pottekkat will you articulate how this will be built upon? In its current form, it's redundant.

Smoke tests will be a subset of E2E tests. If the smoke tests fail, we skip E2E tests and if it passes we continue on with the E2E tests.
All tests are built upon each other as it is proposed in the Master Test Strategy.


Github Markdown highlighting: Syntax Highlighted fenced code blocks breaks highlighting

Description
For Markdown files  : Syntax highlighted fenced code blocks break markdown syntax highlighting.
By Syntax highlighted fenced code blocks I refer to a code block in which the source code language is specified, as described here. I am unclear on how standard this feature is, but it would be a nice to support it if possible.
Steps to Reproduce

As you can see in the picture, the "c++" label after the fenced code block sequence (```) breaks the highlighting. The fenced code block section should be yellow; and the yellow should stop once the section is closed. Instead, the (```c++) line is not recognised as a code block starter, and the ending (```) is.

This looks like it's a duplicate of https://github.com/atom/language-gfm/issues/21.
As a workaround, seems that language-markdown doesn't have the problem.


style_training

Why the "style_training" parameter has been removed?

Replaced by "Offset Noise", way better for styles

@TheLastBen
when u say style
is a certain color pattern is a style?
the problem is the most model is too cinematic and professional looking, most image is cloudy, dull
i want to some fresh style like this

what dataset should i find?
match the color vibe with 10 images?


Simplify README by removing JSON examples

Dotbot will retain JSON support (it's a subset of YAML anyways). But perhaps it's worth removing the JSON examples from the README, because it adds a lot of clutter to duplicate everything.
A counterargument is that sometimes JSON is clearer than YAML because of all the implicit stuff in YAML (e.g. true becomes the boolean true and needs to be put in quotes if you want the string "true").
Would love to hear others' thoughts on this.

Might be worth doing a quick user study to see what percent of people are using YAML vs JSON.
@casey has done this already: https://github.com/casey/dotbot-user-study, though the results are ~ 3 years old. As of that time, it seemed to be ~ 7% JSON, ~ 93% YAML.
(might also be neat to see what else we can learn from the user study)

Oh man, I forgot I did this. I tried to re-run it to pull new configs, but it looks like the code has rotted a bit. I don't have time to tackle it at the moment, but it's probably an easy fix.

Done in b062aeaf15f1b174f6c9b88a0b2017b06d7fbd3e.


Dear Lord MonyX Staff Read This

Fund your wallet, talk to your damn investors, and switch to Thorn Coins model....They switched their entire system in days. Staking is not much different from lending. Your block explorer and internal exchange actually look decent. Sure, we had a glitch here and there, but that is to be expected.
 Some people liked the casino idea, but a bunch more did not.  You have potential. Was this really just a scam or is it just lack of leadership? Listen to your investors. If you build it nerds will come.

The BTC our team got... reserve to pump monyx on external has finally been channel to lend connect. Lend connect to the moon today...and onward. Mkt have improved.

Dev seems not showing responsibility.


autogen failed on ubuntu 16.04

When I run ./autogen.sh on ubuntu 16.04 with libtool installed,
it gives me:
configure.ac:165: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
Makefile.am:141: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:141:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:141:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:141:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:141:   its definition is in aclocal's search path.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Same issue with redhat. Related https://github.com/google/googletest/issues/236

Solution might be to install libtool. sudo apt-get install libtool

Solution might be to install libtool. sudo apt-get install libtool . Since I don't have install privileges I can't test this, but maybe it'll be fixed for you.

I have libtool installed and can still reproduce the issue

Did you just install it? Might want to try running aclocal again to refresh.

Did you just install it? Might want to try running aclocal again to refresh if so.

It is preinstalled on my machine. I have tried your method a long time ago but no luck.

Just a thought. On Monday I'll be installing prebuilt binaries instead of building so probably won't be able to figure out what's wrong.

looks like indeed libtool is missing. But note that you can always just graph .tar.gz from downloads. As usual with autotools project, source tar ball already has right configure that doesn't need libtool or anything fancy available.


Change the color

Please change the page color. Here is our Color combination:

$primary: #eebf00;
$secondary: #232b38;
$ternary: #6c6c6c;
$danger: #fe4545;
$pure: #fefefe;
$light: #f0f0f0;
$heaven: #ffffff;
$footer: #2d333f;
$title: #333333;

https://github.com/masrufjaman/gas-n-go/commit/0d5c654af7abb7f8310a31505bcdf569f4c58eb1
I have changed the color of About US and Contact US page.

Great work @anandahrafi .


Queues: more magic numbers

The eDSL code for the three kinds of queues had a magic number: the capacity of the queues, set to 10 in the examples. This quick PR declares the value as a constant.
There was another magic constant, technically unrelated but coincidentally also set to 10: the number of spots in the user-facing answer memory. This is controlled not by the flavor of queue (fifo.py, pifo.py, or pifo_tree.py) but rather by the top-level runner generated using queue_call.py. This too has been clarified in this PR.

Awesome! Is the long-term idea that we'll make the queue capacity a parameter for the module so that users can control it?

Indeed!


Update Guzzle version to version 7

Currently working on a Drupal 10 upgrade which requires Guzzle version 7. Can the dependency on Guzzle be updated to use version 7?

Create 1.3 release to update guzzle dependency to use version 7.0


Loot tracker is not refreshed when changing accounts fix

Loottracker now checks to see if account has been changed and clears the records if it has
close #7896

Wouldn't this defeat the purpose of the loot being saved between sessions?

It only resets when signing into a separate account, otherwise it still carries over

eg:

start the client
observe your loot has been loaded from the last session
log in
see your loot get cleared

So, it breaks the loot saving feature. Additionally, the majority of this PR is just shifting around code and not doing anything.


[Message] Add alignment support for the "Message" Collection

Header, Segment, Button, and probably other Semantic-UI components have support for left, right of center aligned class. I currently have two cases where having message alignment would be really useful.

Sorry for the double submission, Duplicate of #5048

The community fork Fomantic-UI prepared a center aligned message by
https://github.com/fomantic/Fomantic-UI/pull/1800


Redirect bug on android.

Bug description:
On android the latest version of react-native-webview at the time of writing (10.9.0) is not able to handle redirects correctly. If you point the webview to the uri: https://mijn.uwv.nl/ it should redirect you to a login page. Also if you click the button 'DigiD inloggen' you are not properly redirected. Clicking it brings you back to the original page.
This bug has been reported earlier 1434 and has also been mentioned as fixed in 1525 But unfortunately it is not fixed.
Good to know that in this case there is a situation of multiple consecutive redirects.
To Reproduce:

checkout react-native-redirect-bug
npm i
expo start
run on android
click 'DigiD inloggen' button (first button)
you are not redirected to login page.

(You can open page in desktop browser here to see desired behaviour
Expected behavior:
Expected to be redirected to login page
Screenshots/Videos:
https://parser-prod.aqopi.com/extension/redirect-bug.mp4
Environment:

Android
react-native version: latest (or older)
react-native-webview version: 10.9.0

still searching for solutions

I am also facing this exact problem

same here

Same here

Same here

I am also facing this exact problem only in android. Its working fine in iOS.
@timboektoe Did you manage to get it work?

The bug still exists, we managed to do a workaround for the time being by setting headers manually:
https://github.com/react-native-webview/react-native-webview/blob/master/docs/Reference.md#props-index
We detect whether custom header should be set using onShouldStartLoadWithRequest. Something like this:
private _handleOnShouldStartLoadWithRequestAndroid = (event: WebViewNavigation) => {
        const { url: newURL } = event;

        // Check uwv digid login is being loaded
        if (newURL !== UWV_LOGIN_URL) return true;

        // Set state with specific referer
        this.setState({
            source: {
                uri: newURL,
                headers: {
                    Referer: UWV_LOGIN_REFERER
                }
            }
        })

        // Stop loading (instead load through source)
        return false;
    }

Webview source prop then binds to state.source. This only works for GET requests.

I am also facing this exact problem only in android. Its working fine in iOS.
@timboektoe Did you manage to get it work?

The bug still exists, we managed to do a workaround for the time being by setting headers manually:
https://github.com/react-native-webview/react-native-webview/blob/master/docs/Reference.md#props-index
We detect whether custom header should be set using onShouldStartLoadWithRequest. Something like this:
private _handleOnShouldStartLoadWithRequestAndroid = (event: WebViewNavigation) => {
        const { url: newURL } = event;

        // Check uwv digid login is being loaded
        if (newURL !== UWV_LOGIN_URL) return true;

        // Set state with specific referer
        this.setState({
            source: {
                uri: newURL,
                headers: {
                    Referer: UWV_LOGIN_REFERER
                }
            }
        })

        // Stop loading (instead load through source)
        return false;
    }

Webview source prop then binds to state.source. This only works for GET requests.

I am also facing this exact problem only in android. Its working fine in iOS. react-native-webview version: 11.0.2

I Have Fix by upgrade to version laster and use props
onShouldStartLoadWithRequest={request => true}

Interestingly, I'm seeing the browser open on iOS only 😅

Any update on this? Same issue on android

same issue on "react-native-webview": "13.6.4"

still searching for solutions

the solution I found was to make sure the redirection url is not a protocol-relative-url. For security reasons Android webview blocks them


Change editor value from code while restrictions exist

Is there any clean way to change the editor value from code while restrictions are in place? When I try to do so, it immediately gets reset by the constrained instance, and I cannot edit the value.
I managed to do it by:

Save existing restriction ranges
const range = constrainedInstance._uriRestrictionMap[model?.uri].getCurrentEditableRanges().state.range;

Remove restrictions
constrainedInstance.removeRestrictionsIn(model);

Update value
setEditorValue(newValue); // React value

Reapply restrictions from previously saved value
constrainedInstance.addRestrictionsTo(model, [
  {
    range: [
      range.startLineNumber,
      range.startColumn,
      range.endLineNumber,
      range.endColumn,
    ],
    label: "state",
    allowMultiline: true,
  },
]);

But I am wondering if there's a better way, as my approach is a little hacky. Thanks!

@tqwewe There are two cases in altering the editor value

Changing the entire editor value ( let us assume, you want to break the existing blueprint structure and have a new structure)
Replacing a new content in the current restricted area alone without changing the base blueprint

To achieve the first case, I would advise you to create a new model with that blueprint and just replace that model in the editor instance.
To achieve the second case, There is an method present in the constrained editor plugin : updateRestrictions. As I have the track of the range of the current restricted area, This method will update the value in that range.For this to work properly you have to provide a label to uniquely identify the restricted range.
PS : I guess this method's name is slightly ambiguous, I will change it to updateValueInRestrictedArea in the upcoming versions
I hope this helps you

Thanks for all the info! I'll try it out shortly.

I guess this method's name is slightly ambiguous, I will change it to updateValueInRestrictedArea in the upcoming versions

I see on the documentation it says under updateRestrictions:

update the contents inside the editable ranges

updateValueInRestrictedArea sounds like you edit text outside the allowed editable area, but I think you mean it should update text in an editable area? Perhaps updateValueInEditableArea might be clearer?

@tqwewe Thanks for the suggestion

Perhaps updateValueInEditableArea might be clearer

Yes, this seems more clear


AUR install is broken

AUR install fails with:
:: Importing keys with gpg......
gpg: keyserver receive failed: No data
==> Error: Problem importing keys

Fix from: https://aur.archlinux.org/packages/wob/
gpg --keyserver keys.openpgp.org --receive-keys 5C6DA024DDE27178073EA103F4B432D5D67990E3

Not sure what causes the gpg import to fail, but it does.

+1

I think that is how it is supposed to work. You don't have the PGP key which is used to sign the source files so it fails.
https://wiki.archlinux.org/index.php/Makepkg#Signature_checking

I confirm that we can't import the gpg key, as he showed you
❯ LANG=C gpg --recv-keys F4B432D5D67990E3
gpg: keyserver receive failed: No data

What keyservers are you using?

❯ grep '^keyserver' ~/.gnupg/gpg.conf
keyserver hkp://keys.gnupg.net

I've sent key to keys.gnupg.net, it should be working now.
Thanks :slightly_smiling_face:

Does not seem to be working just yet:
$ gpg --keyserver keys.gnupg.net --receive-keys 5C6DA024DDE27178073EA103F4B432D5D67990E3
gpg: keyserver receive failed: No data

This is the default in arch:
$ gpg -v --receive-keys 5C6DA024DDE27178073EA103F4B432D5D67990E3
gpg: data source: https://<IP_ADDRESS>:443
gpg: keyserver receive failed: No data

Many users will install your package using yay or equivalents, which automatically imports (after asking...) the pgp key for AUR packages.

Hmm, this time I used their web upload form instead of gpg --send-keys. Seems to be working in clean docker image.

It worked for me, thx

yay now installs wob and adds the key without complaining! :+1:
Thanks @francma


port to python

Hi, would you mind porting this project to python?

Sorry, could not understand. Can you please clarify?

I mean is it feasible to write same code in python.

OpenCV has python API too, so of course you can do the same thing with python. Feel free if you have any other query.
Sorry for the late reply :)


feature request: support linear types

Consider supporting linear types. Wild proposal for a reasonably major direction. Didn't see it discussed here or in the Google Group. Even something simple like an '@noCopy' annotation would be useful.
A few basic points:

Flutter's meta already has @useResult and @immutable.
Big help to FFI users, especially Rust interop
Possible performance benefits, e.g. if some data copies can be avoided. (Or the implementation is simpler if the VM already does that analysis and there's code to reuse)
More flexibility in SendPort.send :)

Lots of languages have bolted on linear typing or linear-like features. In Dart's case, it might make sense to do at the analyzer level at first and expose piecemeal features driven by the same underlying analysis such as something like @noCopy annotation, etc. Then a real design for the type system for Dart 5 or whatever could subsume those features.

Moved back to SDK repo and made an anlyzer issue. (They can then consider whether it should be a lint or not.)


Refactor domains (error handling)

Possible it is needed to move stack domains from application object to handler script instance (separate for every handler). Need more investigation.

Not needed, tested and it works fine


Follow 307 redirect for Mesos operator

I was getting errors like this when a new Mesos master was elected as leader and the old Mesos master was return 307 status codes, as described here:
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-5-97ca5d57dd56> in <module>()
----> 1 mesos_manager.master_operator.getAgents()

/usr/local/lib/python2.7/dist-packages/pymesos/operator_v1.pyc in getAgents(self)
    261             type='GET_AGENTS',
    262         )
--> 263         return self._send(body)
    264
    265     def getRoles(self):

/usr/local/lib/python2.7/dist-packages/pymesos/operator_v1.pyc in _send(self, body, path, method, headers)
     62                 raise RuntimeError(
     63                     'Failed to send request code=%s, message=%s' % (
---> 64                         resp.status, resp.read()
     65                     )
     66                 )

RuntimeError: Failed to send request code=307, message=

I have added a check for 3xx response codes, and updated the daemon URI accordingly for subsequent requests.
I'm not sure if this is also required for scheduler.py, as I found that my scheduler worker was still working fine despite the leader change, not sure why as well.
On the other hand, should I be using MasterDetector to handle this case instead? In any case, I feel like we should be supporting both use cases for Mesos master HA in any case.

As your question, I think the scheduler uses the underlying process.py to detect mesos master change event, see: https://github.com/douban/pymesos/blob/master/pymesos/process.py#L145

LGTM. Thanks for your PR

Thank you! Sorry for the multiple commits, forgot that it should be on Python 3 as well. Can I get you to publish a version ASAP? Thank you! 🙇

@irvinlim Done.


Ability to resize by some number like x1.5, x2

It would be awesome we could just use a slider to resize the original image by a slider. At least a couple of buttons like x1.5, x2, x3 would be amazing.

https://github.com/Elldreth/loopback_scaler/pull/8


charts/openshift-reporting: Fix PVC usage query

The group by was incorrect and was incorrectly getting us only a single
PVC row per timestamp, rather than a row per PVC + timestamp.

/assign @EmilyM1


[Doc] fix bugs in unixtimestamp and adjust part of "using starrocks"

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

starrocks_be_unittest succeeded.

run starrocks_admit_test


Add dep on sam_basic_controllers

@svbhat I added a dep on sam_basic_controllers here since we need it to run the sim.


ProcessException: No such file or directory   Command: ./git log -n 1 --pretty=format:%H

flutter doctor

Unhandled exception:
ProcessException: No such file or directory
  Command: ./git log -n 1 --pretty=format:%H
#0      _ProcessImpl._runAndWait (dart:io-patch/process_patch.dart:496:7)
#1      _runNonInteractiveProcessSync (dart:io-patch/process_patch.dart:641:18)
#2      Process.runSync (dart:io-patch/process_patch.dart:66:12)
#3      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:93:20)
#4      _runWithLoggingSync (package:flutter_tools/src/base/process.dart:349:48)
#5      runSync (package:flutter_tools/src/base/process.dart:321:10)
#6      _runGit (package:flutter_tools/src/version.dart:535:10)
#7      new FlutterVersion (package:flutter_tools/src/version.dart:23:26)

However if I cd into where the sdk is installed, in my case cd ~/.flutter_sdk,
all works well:
➜ .flutter_sdk flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.15 19A582a, locale fr-FR)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.1.1)
[✓] VS Code (version 1.38.1)
[!] Connected device
    ! No devices available

! Doctor found issues in 1 category.

@pouledodue
Can you just run flutter where you are getting an error? Most likey flutter is not set up in the path correctly.

@ketanm same error with just flutter

Ok. It means your path is not set properly. Update your PATH environment variable to point to SDK. See docs on website for Windows specific instructions or check Stack overflow

Also you would need to add the export to .zshrc and run sourse ~/.zshrc so you won't need to add it to path every time after reboot. Or similar with .bashrc or whatever shell you use.

This is a question better suited for StackOverflow, since there doesn’t seem to be anything wrong with Flutter itself. See also https://flutter.dev/community for support options. I'm going to close it, but please report if you managed to fix it.


Actor Persistence

Requirements

Add ability to persist actor state to enable recovery
Events by actor stored in a supported data store
Events are stored by appending and never mutated
Add recovery and reply ability by utilizing the persisted events
Support ability to recover from full history or a given checkpoint
Ability to set a checkpoint

Data Stores to support as a minimum
It would be ideal to have ZIO implementations as an optional dependency on maven for these datastores

Postgresql (ZIO Wrapper around Doobie or Skunk)
Kafka (Using zio-kafka)
Cassandra
ScyllaDB
Redis

Notes

This feature needs to be split up into multiple issues

@softinio Hi, I've started thinking about an API design for this ticket. Have you started working on this?
After some time of thinking about it on my own and then looking at Akka, I came to a conclusion that Akka's API design is suitable.
Do you think that is the correct approach? Or is there a better one?
Design
So, as we already have Stateful trait for describing actor's non-persisted behavior, first we need to introduce equivalent of EventSourcedBehavior:
trait EventSourcedStateful[S, +E <: Throwable, -F[_], Ev]

  def receive[A](state: S, msg: F[A], context: Context) :IO[E, (Event[Ev], A)]

  def sourceEvent(state: S, event: Ev): S

}

Same as in Akka, the API should provide two separate steps of processing a message:

receive - An effectful processing with possible side effects e.g. spawning new actors. The state in the return type tuple is replaced with an Event which indicates whether to persist it or ignore (then we avoid persisting data retrieval messages and persist only those which change actor's state).
Also this stage can fail. (similar to commandHandler in Akka)

sourceEvent - Pure function that only updates actor's state, performs no side effects and never fails. This stage is persisted into datastore, where table would be like Akka journal table. (similar to eventHandler in Akka)

For representing events there's Event (the one used in return type in receive):
sealed trait Event[+Ev]
case class Persist[Ev](event: Ev) extends Event[Ev]
case object Ignore extends Event[Nothing]
object Event {
  def persist[Ev](event: Ev) = Persist(event)

  def ignore = Ignore
}

Such design is pretty much the same as in Akka, because we need a separation for impure message processing and pure state update that we persist.
Reading persisted events for given persistenceId is performed when an actor with such persistenceId is spawned. So the flow is: receive with side effects / failures => sourceEvent => persistence.
Example
sealed trait Msg[+A]
case object Increase extends Msg[Unit]

sealed trait MyEvent
case object SomeEvent extends MyEvent

new EventSourcedStateful[Int, Nothing, Msg, MyEvent] {

  override def receive[A](state: Int,
                          msg: Msg[A],
                          context: Context)
  : IO[Nothing, (Event[MyEvent], A)] =
    msg match {
      case Increase =>
        state match {
          case i if i > 10 =>
            IO.effectTotal((Event.ignore, ()))
          case _ =>
            IO.effectTotal((Event.persist(SomeEvent), ()))
        }
    }

  override def sourceEvent(state: Int, event: MyEvent): Int =
    event match {
      case SomeEvent =>
        state + 1
  }

}

Thanks to using ZIO we can be sure that user won't make any side effects in sourceEvent inadvertently by returning just S. In Akka it's easy to do some side effects there so they provide warnings about it in docs: https://doc.akka.io/docs/akka/current/typed/persistence.html#event-handler.
(I think that's a great advantage to force it on API level!)
Also when spawning an actor with a EventSourcedStateful there will be also persistenceId to provide primary key for table storage.

What do you think about such design?

@mtsokol Nice work Sir! Overall I am fine with your design but would be good to do more to distinguish our implementation from Akka.
I haven't started work on this myself yet, I assigned myself to it as I wanted to break it up into smaller issues as I feel this is a big topic to have as a single github issue.
Lets use this issue to finalize design and approach and create new related issues for doing the work so we can split the work.
We need to design a common Trait that gets extended for each datastore that we will support.
Will provide more feedback later this weekend once I have chance to think your design through more.
@mijicd Look forward to your feedback also on this approach?

I agree with both about taking the approach from Akka as the API design foundation. It is battle-tested, and anyone interested in this feature is more or less familiar with it. That being said, what's called Event in the proposal, is Command in Akka's terminology, and in my opinion, it should be aligned with it.
I don't agree with the statement about sourceEvent and ZIO. Based on my understanding of the proposal, ZIO won't provide freedom from side effects there.
@softinio you can "merge" ScyllaDB and Cassandra, the same client can be used for both.


rustfmt-formattable syntax?

I'm aware how minimal and stable this crate is and has been for a long time, but something that's always put me off from using it (usually in favor of manual #[cfg] attributes) is how its syntax is completely unfamiliar to rustfmt, and therefore any expressions or items inside of a cfg_if! block can't get the advantages that rustfmt brings.
// stays as is when `cargo fmt` is run
cfg_if! {
    if #[cfg(foobar)] {
        fn baz() { qux();   flop()
        }
    }
    else {
        fn bar() {
        }
    }
}

Was there a reason that you didn't choose a more traditional/valid rust syntax for the macro? e.g.
cfg_if!(if cfg!(foobar) {
    fn baz() {
        qux();
        flop()
    }
} else {
    fn bar() {}
});

I'm aware that rustfmt wasn't as popular/well-integrated in 2017, but I feel like a syntax like this would greatly improve the ergonomics of this crate.
(feel free to ignore, I was just surprised that there wasn't an issue about this already)

I chose to use #[cfg] instead of cfg! because cfg! already exists but behaves differently than this crate. It's true that when this was created rustfmt didn't exist, but I would indeed be interested if there's a way to get rustfmt to look at code inside the macro and format it. I don't know what heuristics rustfmt has, however.

We don't really have the ability to format anything that's contained with any macro call using brace delimiters, so a change to cfg! isn't going to do anything for rustfmt.
cfg_if is actually already one of the special case scenarios where we do peek inside to look for any out-of-line mods that are imported and we do format the associated files for those mods, but don't touch the inline args to the mac call.
Our ability to format the out-of-line mods is heavily predicated on the current syntax, so the only immediate impact of from #[cfg] to cfg! would actually be to break the current ability to format those mods.


License error: Failed to parse key

I try to install OmniSci Enterprise edition using a Docker container.Then I connected to Immerse using a web browser connected to my host machine on port 6273.I click APPLY and got an error msg "License error: Failed to parse key".I donot know how to do with this.

Hi @junrenge
It happened the same when I copied the key from a windows browser and tried to paste it into the browser.
You can try to check the length of the license, pasting it into a notepad, and saving the file. It would be around 1229 bytes.
Alternatively, you can download the key, connect to the docker you created and create a file called omnisci.license into /var/lib/omnisci/omnisci-storage (or directly on /omnisci-storage into the host if you used the default YAML settings) and restart the docker.
Regards,
Candido

Hi @junrenge
It happened the same when I copied the key from a windows browser and tried to paste it into the browser.
You can try to check the length of the license, pasting it into a notepad, and saving the file. It would be around 1229 bytes.
Alternatively, you can download the key, connect to the docker you created and create a file called omnisci.license into /var/lib/omnisci/omnisci-storage (or directly on /omnisci-storage into the host if you used the default YAML settings) and restart the docker.
Regards,
Candido

Thank you for your help.I tried but it didnot work.

Hi @junrenge
It happened the same when I copied the key from a windows browser and tried to paste it into the browser.
You can try to check the length of the license, pasting it into a notepad, and saving the file. It would be around 1229 bytes.
Alternatively, you can download the key, connect to the docker you created and create a file called omnisci.license into /var/lib/omnisci/omnisci-storage (or directly on /omnisci-storage into the host if you used the default YAML settings) and restart the docker.
Regards,
Candido

Thank you for your help.I tried but it didnot work.

Ah,
I'm sorry but I gave you the wrong direction.
the license fie should be placed under /omnisci-storage/data
to be sure we are working with a valid license, I'm sharing my personal free license at this link
https://drive.google.com/file/d/1mPp1nKrTS2iVltRlowH-yj7XqVRxOEas/view?usp=sharing
let me know when you have downloaded, so I'll remove the link

hi @cdessanti
I have downloaded your license, you can remove it now.
And I put it under /omnisci-storage/data, the container cannot restart, error_log says 'Failed to parse key'.
Now I try to start with Open Source edition, it  works well.

That's worrying because I used without any problems with a 5.7.1 free on a tarball installs lately.
The Os is fine if you plan to use the database only because you are going to miss immerse and backend rendering.
I will try to reproduce the error you are getting.
Candido
Scarica Outlook per Androidhttps://aka.ms/AAb9ysg

From: zszq @.>
Sent: Saturday, September 25, 2021 4:36:21 AM
To: omnisci/omniscidb @.>
Cc: Candido Dessanti @.>; Mention @.>
Subject: Re: [omnisci/omniscidb] License error: Failed to parse key (#680)
hi @cdessantihttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcdessanti&data=04|01||146c4c005cbb4b0bc90f08d97fcd4335|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637681341833088972|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=DGq%2BuPQa4vE8tl0jH6kwbGqFfgUXZ99KBFx00q6%2Bh4Q%3D&reserved=0
I have downloaded your license, you can remove it now.
And I put it under /omnisci-storage/data, the container cannot restart, error_log says 'Failed to parse key'.
Now I try to start with Open Source edition, it works well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fomnisci%2Fomniscidb%2Fissues%2F680%23issuecomment-926997834&data=04|01||146c4c005cbb4b0bc90f08d97fcd4335|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637681341833088972|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=kyLbisJv0gtPUIekRJ%2FILPpJcenHpro8N%2BX8M8Jey30%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHLFBFZ7OLNKEGV3RCMAZ3LUDUYSLANCNFSM5EQSPCSA&data=04|01||146c4c005cbb4b0bc90f08d97fcd4335|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637681341833098968|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=z0Pl4NDH4cKoRl8nZpo7mhG93VSNHf%2B0JkAs2L6UQtw%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||146c4c005cbb4b0bc90f08d97fcd4335|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637681341833108963|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=v%2Foc7BKikCf3bIFF9m9U%2BKEljPHDg5%2B%2B4BSHSnZ%2F53U%3D&reserved=0 or Androidhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||146c4c005cbb4b0bc90f08d97fcd4335|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637681341833108963|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=aXubO8x4u0xh9whZYca1Rtn3RyoYVLwT9JDxAi5AvDc%3D&reserved=0.


[bp/1.28] deps: Bump com_github_nghttp2_nghttp2 -> 1.60.0 (#33002)

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@birenroy looks like there build failures due to the new adapter. Does the adapter change need to happen together with nghttp2 update?
/wait-any

At a minimum we'll need a backport of https://github.com/envoyproxy/envoy/pull/33076 to v1.28 before this PR can land.

The full nghttp2 backport to 1.28 is on pause for now. We will evaluate later based on internal discussion.
/wait-any


Fixes issue 524 : Mockito 1.10.9+ incompatibility, by repackaging CGLIB MockMaker

Fixes issue 524
As Mockito changed the structure of this internals : renaming, package changes, visibility change, interface change. PowerMock doesn't have anymore the opportunity to hack his way by extension.
So he best way currently is to repackage some of the mockito internals (the CGLIB related part), and change visibility where relevant. However it means that PowerMock won't use current Mockito MockMaker. As Mockito is progressively moving away from CGLIB, there will for sure be another implementation. Let's forget bug fixes on this front too.
A better solution has to be engineered. PR are welcome on https://github.com/mockito/mockito/

Thanks Brice. A better solution would be great since the PowerMock Mockito integration is very hacky and fragile (and has always been). Unfortunately I guess that I won't have the time needed to undertake such as big task atm. Perhaps this is off topic but I'm curious to know what lib Mockito will use instead of CgLib in the future?

We'd like to move to bytebuddy, and actually @raphw (the author of bytebuddy) contributed us something. I agree it's moving slower that I would like to be, but we're getting there :)
Anyway mockito already offers a way to change the MockMaker. In bytebuddy, you could propose extension points, Szczepan introduced the Plugins class that may be a starting point to extend / plug in behavior.

By the way do you have an idea when you want to release this temporary fix.

I very much agree that Mockito should move on to using Byte Buddy soon. ;)
Is there any specific extension you would like to see in the library to simplify integration or are you rather speaking about Mockito's interface to the code generator? Byte Buddy gained a fair amount of users recently and as those users did not experience too many bugs, I am very much open to suggestions that extend the library's functionality if the implementation makes sense at this point in time.
As a matter of fact, Byte Buddy already offers a rebase definition which more or less flattens a defined subclass into the base class without breaking the subclass calling semantics. (Overridden methods are simply inlined as private methods.) This might be an interesting option for PowerMock as the rebased class would behave like a Mockito mock by only changing one instruction of the DSL.
Just ping me if you need any help with this.

@raphw I was mostly speaking for the powermock development to plug-in behavior within mockito. Anyway regarding the byte code manipulation, bytebuddy might offer a compelling alternative to what is used now.


Hide modifiers if not required

Is there a way to disable modifiers?
If not shall I raise a PR?
I don't want to hide it using css instead I do not need to render it.

Hey Dinesh,
There is not an option to hide modifiers right now - intrigued as to your
usecase for removing this? 💁🏼♂
On Mon, Feb 20, 2017 at 23:47 Dinesh Ramasamy<EMAIL_ADDRESS>wrote:

Is there a way to disable to modifiers?
If not shall I raise a PR?
I don't want to hide it using css instead I do not need to render it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tommoor/emojione-picker/issues/57, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXP8nlJsD2tmHdL8qLK7lipZ7pDUIrbks5repaBgaJpZM4MG-n9
.

Hey Tom Moor,
I'm working for a commercial app in which the requirement is not to show skin color.

Skin tone modifiers are important, I don't want to support removing them in the official module - feel free to fork and remove them for your own use which I'm guessing is what you ended up doing here 😉


⚠ CICD has degraded performance

In cfe5fb7, CICD (https://cicd.jenshamann.solutions/userContent/readme.txt) experienced degraded performance:

HTTP code: 200
Response time: 7717 ms

Resolved: CICD performance has improved in f1643a7.


Update mysql-binlog-connector-java to 0.25.5

Updates com.zendesk:mysql-binlog-connector-java from 0.25.4 to 0.25.5.
Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.zendesk", artifactId = "mysql-binlog-connector-java" } ]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #311.


[WebToolsE2E][Aspire] [.NET Framework WAP with Aspire] Running 'azd init' with cmd failed: "failed to generate manifest from app host project..."

REGRESSION INFO: Also reproduced on VS 17.10.0 Preview 4 [including .NET Aspire 8.0.0-preview.5.24201.12]
INSTALL STEPS

Clean machine: Win11 x64 23h2 ENU
Install VS 17.10.0 Preview 5 [rel.d17.10-34816.249] [including .NET Aspire 8.0.0-preview.5.24201.12]
Install azd [1.9.0-beta.1-daily.3698623]

REPRO STEPS

New Project > ASP.NET Web Application (.NET Framework), select MVC 5 > name it 'WebApplication1' > Create
Right-click Project > Add > .NET Aspire orchestrator support
Open Command Prompt and navigate to the solution path of this project
Run 'azd init', select 'Use code in the current directory'

ACTUAL
Failed to initialize project:

ERROR: failed to generate manifest from app host project: generating app host manifest: dotnet run --publisher manifest on project 'C:\Users\v-bennettyue\source\repos\WebApplication2\WebApplication2.AppHost\WebApplication2.AppHost.csproj' failed: exit code: 1, stdout: Building...
C:\Users\v-bennettyue\source\repos\WebApplication2\WebApplication2\WebApplication2.csproj(252,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\8.0.300-preview.24203.14\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the expression in the Import declaration "C:\Program Files\dotnet\sdk\8.0.300-preview.24203.14\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" is correct, and that the file exists on disk.
, stderr:
The build failed. Fix the build errors and run again.
EXPECTED
Initialization successful and publishing successful

Can you publish your project? Doesn't seem related to aspire at all but something busted in vs or the .NET sdk.

@davidfowl If you publish a WAP~MVC5 project without Aspire, it will be published successfully.

We don't support publishing ASP.NET WAP projects via aspire. This is by design


chore(starknet_api): create a new method for l1 handler using version 0

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2702  👈 (View in Graphite)
#2699
#2698
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

This PR is odd. The idea is not good. Closing for now.


[MacOS] LogicalKeyboard involving shift key throws error: Physical key for LogicalKeyboardKey not found in macos physical key map

When I try to press the exclamation logical keyboard key using WidgetTester, I get the following error:
Error: 'package:flutter_test/src/event_simulation.dart': Failed assertion: line 243 pos 12: 'result != null': Physical key for LogicalKeyboardKey#00021(keyId: "0x00000021", keyLabel: "!", debugName: "Exclamation") not found in macos physical key map

Flutter version:
Flutter 2.8.1 • channel stable • git@github.com:flutter/flutter.git
Framework • revision 77d935af4d (2 weeks ago) • 2021-12-16 08:37:33 -0800
Engine • revision 890a5fca2e
Tools • Dart 2.15.1

CC @justinmc @gspencergoog

CC @justinmc @gspencergoog

Hi @matthew-carroll, Thanks for filing the issue. Can you please share a minimal and complete reproducible code to better address the issue.
Thanks

Here's repro code:
import 'package:flutter/services.dart';
import 'package:flutter_test/flutter_test.dart';

void main() {
  testWidgets("Can't type !", (tester) async {
    await tester.sendKeyDownEvent(LogicalKeyboardKey.exclamation, platform: "macos");
  });
}

Thanks for the sample code @matthew-carroll, I am able to reproduce the same exception on both stable and the master channel. The tests are only failing when simulating key events which require a shift key e.g *, !, ( etc so simulating the below key events the test fails
LogicalKeyboardKey.asterisk
LogicalKeyboardKey.exclamation
LogicalKeyboardKey.braceLeft  etc
This seems to be related to https://github.com/flutter/flutter/issues/90167

flutter doctor -v
mahesh@Maheshs-MacBook-Air-M1 counter % flutter test
00:15 +0: Can't type !
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following assertion was thrown running a test:
Physical key for LogicalKeyboardKey#00021(keyId: "0x00000021", keyLabel: "!", debugName:
"Exclamation") not found in macos physical key map
'package:flutter_test/src/event_simulation.dart':
Failed assertion: line 243 pos 12: 'result != null'

When the exception was thrown, this was the stack:
#2      KeyEventSimulator._findPhysicalKeyByPlatform (package:flutter_test/src/event_simulation.dart:243:12)
#3      KeyEventSimulator.getKeyData (package:flutter_test/src/event_simulation.dart:260:21)
#4      KeyEventSimulator.simulateKeyDownEvent._simulateByRawEvent.<anonymous closure> (package:flutter_test/src/event_simulation.dart:763:16)
#5      KeyEventSimulator._simulateKeyEventByRawEvent.<anonymous closure> (package:flutter_test/src/event_simulation.dart:685:65)
#6      KeyEventSimulator._simulateKeyEventByRawEvent.<anonymous closure> (package:flutter_test/src/event_simulation.dart:681:39)
#9      TestAsyncUtils.guard (package:flutter_test/src/test_async_utils.dart:71:41)
#10     KeyEventSimulator._simulateKeyEventByRawEvent (package:flutter_test/src/event_simulation.dart:681:27)
#11     KeyEventSimulator.simulateKeyDownEvent._simulateByRawEvent (package:flutter_test/src/event_simulation.dart:761:14)
#12     KeyEventSimulator.simulateKeyDownEvent (package:flutter_test/src/event_simulation.dart:768:16)
#13     simulateKeyDownEvent (package:flutter_test/src/event_simulation.dart:904:28)
#14     WidgetController.sendKeyDownEvent (package:flutter_test/src/controller.dart:1034:12)
#15     main.<anonymous closure> (file:///Users/mahesh/Desktop/counter/test/widget_test.dart:6:18)
#16     main.<anonymous closure> (file:///Users/mahesh/Desktop/counter/test/widget_test.dart:5:31)
#17     testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:170:29)
<asynchronous suspension>
<asynchronous suspension>
(elided 5 frames from class _AssertionError, dart:async, and package:stack_trace)

The test description was:
  Can't type !
════════════════════════════════════════════════════════════════════════════════════════════════════
00:15 +0 -1: Can't type ! [E]
  Test failed. See exception logs above.
  The test description was: Can't type !

00:15 +0 -1: Some tests failed.

@dkwingsmt Is this related to your keyboard work?

This is behaving as designed, because there is no "!" key on the keyboard, but only Shift-Digit1. You should dispatch a "ShiftLeft down, Digit1 down, Digit1 up, ShiftLeft up".

@dkwingsmt if this is intended behavior, then how are developers expected to input arbitrary characters when testing keyboard input?
Unless I'm missing some other set of Flutter test APIs, the only thing that I can think of is that every app will need to maintain their own mapping that connects every logical key to its physical key + shift status, per keyboard type, and then use that to construct the "intended" key event.
If that's the intended behavior, it creates identical work for every app, forces app developers to educate themselves on the various keyboard configurations, and it forces them to figure out how the test system utilizes key events. I think that's a pretty strong argument that Flutter should not expect developers to interact with keyboards in this manner within their tests. I think that this is probably disincentivizing testing, rather than promoting it.
Here's a test tool in Super Editor where we need to allow our users to enter arbitrary text into the field:
https://github.com/superlistapp/super_editor/blob/main/super_editor/lib/src/infrastructure/super_textfield/_test_tools.dart#L44
That method will blow up if the user tries to type any shift-based character.
It would be nice if Flutter didn't require each developer to know every character that requires shift to be pressed. However, I went ahead and wrote all of them down in the aforementioned tool.
What I didn't map out was the relationship between every logical key and its associated shift-based value. That's another mapping that it sure would be nice if Flutter handled for us.
Can Flutter introduce APIs that represent the way that app developers think about keyboard input, rather than APIs that strictly adhere to internal Flutter details? I think that would be much more valuable when we're talking about top-level testing APIs.

On a related node, is there a reason that the sendKeyDownEvent() method supports a character argument, but sendKeyEvent() doesn't?
This API difference requires explicit "down" and "up" events when specifying a character, even though those two events constitute a single "key event".

Update: I just merged in a contribution from someone else that went ahead and added that shift mapping for a US English keyboard. Everything in my previous response remains the same, except the Super Editor code now works for US English use-cases.

I think you've mixed "having this feature in production" with "testing this feature".
Use keyboard events
For how to develop a keyboard feature that deals with characters: The native macOS API provides two kinds of information regarding the character: characters, which would be "@" in your example, and charactersIgnoringModifiers, which would be "2" in your example. Flutter converts the former to KeyEvent.character, and the latter (roughly) to KeyEvent.logicalKey. (I'm not that sure with the legacy RawKeyboard API but I would assume it's similar; let me know if not.) So you if you want the user to input arbitrary text, append the KeyEvent.character value to your state. Or maybe you should checkout the text input API, which also handles IME?
Test keybaord events
First off, instead of WidgetController.sendKeyEvent (and siblings), you might want to check out simulateKeyDownEvent (and siblings.) They allow customizing physicalKey and character. Yes, the WidgetController.sendKeyEvent methods are just wraps over them, and it's an oversight that these APIs are not exposed. We should fix it.
Now, if that solves your problem, great. If not, I'll continue explaining.
The mapping between physical keys, logical keys, and characters, is completely arbitrary. It's entirely possible to have a LogicalKeyboardKey("@"). Sure, create it on your own, and maybe it will be sent by some embedding.
The problem is, it will never be sent by a macOS embedding. Simulating a keyboard event (for the RawKeyboard API) requires converting your key event back to a macOS native key event, sends it to RawKeyboard, which then converts it again to RawKeyEvent API. But if macOS never sends a LogicalKeyboardKey("@") value, what native event can it even be converted to?
(This will be easier to understand once we migrate everything to the HardwareKeyboard API, whose framework part knows nothing about the native information.)
Furthermore, what indeed do you want to test? The user can input "@" via a variety of ways:

macOS, US keyboard, Shift-2.
macOS, ASERTY keyboard, 2.
Windows, US keyboard, Shift-2.
macOS, custom keyboard layout, CapsLock (for random reasons.)

Do you really want to test out all cases? Or do you only care about processing key events where KeyEvent.character equals to "@", no matter what their physicalKey and logicalKey are?
That's why the key event simulation API provides customizing all 3 fields: logicalKey, physicalKey, and character. The latter 2 fields are derived by default for convenience, but you shouldn't assume that the default behavior is all that Flutter assumes.

@dkwingsmt to make sure that I'm not misunderstanding you, can you write an example WidgetTester invocation that sends the "@" character in the manner that you think a Flutter developer should use in their tests?

Is this something that might suit you?
  testWidgets('Test @ on US keybaord', (WidgetTester tester) async {
    const String platform = 'macos';
    final FocusNode focusNode = FocusNode();
    final List<RawKeyEvent> events = <RawKeyEvent>[];
    await tester.pumpWidget(
      RawKeyboardListener(
        focusNode: focusNode,
        autofocus: true,
        onKey: (RawKeyEvent event) {
          events.add(event);
        },
        child: const SizedBox(width: 100, height: 100),
      )
    );
    await simulateKeyDownEvent(LogicalKeyboardKey.shiftLeft, platform: platform);
    await simulateKeyDownEvent(LogicalKeyboardKey.at, physicalKey: PhysicalKeyboardKey.digit2, platform: platform);
    await simulateKeyUpEvent(LogicalKeyboardKey.at, physicalKey: PhysicalKeyboardKey.digit2, platform: platform);
    await simulateKeyUpEvent(LogicalKeyboardKey.shiftLeft, platform: platform);
    expect(events[1].logicalKey, LogicalKeyboardKey.at);
    expect(events[1].character, '@');
  });

@dkwingsmt I think that would technically be work-able.
I think it's worth considering whether Flutter should provide some common keyboard configurations so that app developers don't need to manually connect the "@" character to the "2" key. That level of control might be good at the ground level, but I think it's going to feel out of place in the common case.
In fact, I think it might make sense for Flutter to support the actual use-case that I'm dealing with, which is pressing keys that correspond to arbitrary characters. If that's not something that Flutter wants to offer, then it would be helpful to know where Flutter sees the boundary between the built-in test capabilities vs individual app developer test responsibilities.
One last point, the use of the word "simulate" in these calls makes them seem fundamentally different from existing WidgetTester calls, e.g., "sendKeyEvent". Are these calls fundamentally different? If so, please be sure to clearly describe those differences in the API docs for any new methods.

A bit of heads up: I've mostly decided to unify the behavior regarding Shift'ed keys and logical keys. We're changing the behavior on macOS and Linux (and later Web) to align with that on Windows. Generally speaking, the new behavior will be more predictable and intuitive. See below:

When pressing physical keys...
on layout
Previous logical keys
New logical keys

1
US
digit1
digit1

Shift-1
US
shiftLeft + exclamation
shiftLeft + digit1

1
French
ampersand
digit1

Shift-1
French
shiftLeft + digit1
digit1

a
Russian
ф
keyA

This means that you will be able to write test for shiftLeft + digit1 and expect it to work.
This will probably be a breaking change, but I'm still evaluating options.

I also encountered the same problem on Android phones with buttons
When listening for keyboard events, I am unable to listen for F12 function buttons
But when I press any number key, I can listen to F12
So when I don't press the number keys, I can't listen to buttons like F12


A command syntax is not correctly explained

Example :
MyFunction myParem

Inside a console :

The AST :

Duplicate of #32, closing that one in favour of this one.
A solution could be to mark unrecognized commands as such:
MyFonction myparam
MyFonction (unrecognized command)


React Native not work command + R & command + D

"aurora-imui-react-native": "^0.10.1",
"react": "16.3.1",
"react-native": "0.55.3",
React Native not wotk menu is Device command + R & command + D

try command + ctrl + z


authenticate using existing accesstoken

Would it be possible to implement this?
http://docs.servicestack.net/releases/v4.5.8#authentication-via-oauth-accesstokens

That would be very useful for Native clients that generate their own tokens.
This is the recommended process by AAD: https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-flows#mobile-and-native-apps

I tried making the changes myself. Following GoogleOAuth2Provider design and OAuth2Provider.
However the validate API for Azure is not the same and it requires getting the tenant's signing key and validating the JWT against it. The blocking point was that there are not .netstandard 2.0 libraries that can do that check (like ServiceStack OAuth2 or Microsoft Owin). So not sure how to solve it.

I think the solution here might be to issue the raw http requests and deal
with things at that level, hopefully avoiding the need for any third party
dependencies. That being said, the servicestack auth providers seem to have
these dependencies in them and @mythz (in my opinion) has done a really
great job of not depending on anything that he doesn't have to. There must
be a reason he chose to take on that dependency.
Perhaps we should create a branch where we can start to play a bit with
some ideas. Is this something you'd be interested in looking at?
ian
On Fri, Feb 16, 2018 at 10:19 AM, Jonathan Nappee<EMAIL_ADDRESS>wrote:

I tried making the changes myself. Following GoogleOAuth2Provider design
https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Authentication.OAuth2/GoogleOAuth2Provider.cs
and OAuth2Provider.
However the validate API for Azure is not the same and it requires getting
the tenant's signing key and validating the JWT against it. The blocking
point was that there are not .netstandard 2.0 libraries that can do that
check (like ServiceStack OAuth2 or Microsoft Owin). So not sure how to
solve it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ticky74/ServiceStack.Authentication.Azure/issues/6#issuecomment-366299976,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD9H95PzvcAoHJ0WcZGfvGpzk6wGi27wks5tVbiVgaJpZM4NcYSV
.

Sure I can post my code so far (which doesn't work), at least it's clear where the blocking point is.
Do you think we can use graph.microsoft as a way to check if the token is valid?

See informational PR: https://github.com/ticky74/ServiceStack.Authentication.Azure/pull/13

I will create a branch for us where you can commit code etc, but probably
not today. Yes, off the top of my head, I think that we can use the
microsoft graph to authorize the token.
On Fri, Feb 16, 2018 at 10:54 AM, Jonathan Nappee<EMAIL_ADDRESS>wrote:

Sure I can post my code so far (which doesn't work), at least it's clear
where the blocking point is.
Do you think we can use graph.microsoft as a way to check if the token is
valid?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ticky74/ServiceStack.Authentication.Azure/issues/6#issuecomment-366309801,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD9H99_593_9bOyJDFfBu4tN_JdQ7bRkks5tVcDagaJpZM4NcYSV
.

I have managed to make it work using JwtAuthProviderReader in addition to AzureAuthenticationProvider.
It's kind of a clean solution. If we want AzureAuthenticationProvider to do both we need to import some token validation tools.

This sounds great! Are you able to create another separate provider class to support the use case? If so and you are willing, I think it would be an awesome pull request that we could get out to the community. For things like micro services this is a killer feature. I'm really sorry I'm quite busy with work lately and haven't had much time to give. Let me know what you want to do and we can proceed. Thanks again.
ian