Util/embed helper

Hello. This PR is by no means the finished feature. I feel the need to discuss some things before proceeding.
Here are some of the things which I feel this PR should address.

[ ] Provide an easy and consistent way for the developer to create embeds.
This is to be achieved by providing default title and embed colors to ensure that the embeds issued are consistent.
Embed categories:

[x]  information
[x] error
[x] warning
[ ] infraction?

[ ] Make the embed deletable or non-deletable based on a no-delete parameter.

[ ] Make the embed message mention a role or user specified or the user invoking the command otherwise.

TODO:

[ ] Better doc strings (It will probably be useful as IDE tooltips).
[ ] Make the embed deletable or non-deletable based on a no-delete parameter.
[ ] Make the embed message mention a role or user specified, or the user invoking the command otherwise.

All arguments except description is optional.
    @command(name="test1")
    async def test1(self, ctx):
        embed = EmbedHelper.error(description="description be like")
        await ctx.send(embed=embed)

Other usage:
    @command(name="test2")
    async def test2(self, ctx):
        embed = EmbedHelper.error(title="hey", description=" be like description")
        await ctx.send(embed=embed)

    @command(name="test3")
    async def test3(self, ctx):
        embed = EmbedHelper.error(description="link ^", url='https://www.youtube.com/')
        await ctx.send(embed=embed)

    @command(name="test4")
    async def test4(self, ctx):
        fields = ({"name": "hi", "value": "bye"}, {"name": "bye", "value": "hi"})
        embed = EmbedHelper.information(title="hi", description="check my fields out", fields=fields)
        await ctx.send(embed=embed)

    @command(name="test5")
    async def test5(self, ctx):
        fields = (
            {"name": "hi", "value": "bye", "inline": True},
            {"name": "bye", "value": "hi", "inline": True}
            )
        embed = EmbedHelper.information(description="Fields can be inline", fields=fields)
        await ctx.send(embed=embed)

All arguments except description is optional.
    @command(name="test1")
    async def test1(self, ctx):
        embed = EmbedHelper.error(description="description be like")
        await ctx.send(embed=embed)

Other usage:
    @command(name="test2")
    async def test2(self, ctx):
        embed = EmbedHelper.error(title="hey", description=" be like description")
        await ctx.send(embed=embed)

    @command(name="test3")
    async def test3(self, ctx):
        embed = EmbedHelper.error(description="link ^", url='https://www.youtube.com/')
        await ctx.send(embed=embed)

    @command(name="test4")
    async def test4(self, ctx):
        fields = ({"name": "hi", "value": "bye"}, {"name": "bye", "value": "hi"})
        embed = EmbedHelper.information(title="hi", description="check my fields out", fields=fields)
        await ctx.send(embed=embed)

    @command(name="test5")
    async def test5(self, ctx):
        fields = (
            {"name": "hi", "value": "bye", "inline": True},
            {"name": "bye", "value": "hi", "inline": True}
            )
        embed = EmbedHelper.information(description="Fields can be inline", fields=fields)
        await ctx.send(embed=embed)

I don't think @gustavwilliam  (Vestergurkan) is a fan of Embedhelper.category() and prefers the category to be passed in as an argument.

I don't think @gustavwilliam  (Vestergurkan) is a fan of Embedhelper.category() and prefers the category to be passed in as an argument.

I don't think @gustavwilliam  (Vestergurkan) is a fan of Embedhelper.category() and prefers the category to be passed in as an argument.

Yep. I want it to be dynamic, without having to use getattr if you want to pass the embed type easily.

I don't think @gustavwilliam  (Vestergurkan) is a fan of Embedhelper.category() and prefers the category to be passed in as an argument.

Yep. I want it to be dynamic, without having to use getattr if you want to pass the embed type easily.

[ ] Make the embed deletable or non-deletable based on a no-delete parameter.
[ ] Make the embed message mention a role or user specified, or the user invoking the command otherwise.

These features require the message to be sent in the first place. This means that  we will need to use a separate helper for sending embeds or subclassing Messagable.send.
I am thinking of doing the former. Perhaps, I'll subclass discord.Embed and add attributes which specifies which users to mention and whether the embed has to be deleted.

[ ] Make the embed deletable or non-deletable based on a no-delete parameter.
[ ] Make the embed message mention a role or user specified, or the user invoking the command otherwise.

These features require the message to be sent in the first place. This means that  we will need to use a separate helper for sending embeds or subclassing Messagable.send.
I am thinking of doing the former. Perhaps, I'll subclass discord.Embed and add attributes which specifies which users to mention and whether the embed has to be deleted.

I don't think @gustavwilliam  (Vestergurkan) is a fan of Embedhelper.category() and prefers the category to be passed in as an argument.

Yep. I want it to be dynamic, without having to use getattr if you want to pass the embed type easily.

By dynamic, I have come to understand that you should be able to do this:
category = "warning" if error else "info"

However, the description has to be passed in too and it will actually end up looking something like
category = "warning" if error else "info"
if category = "warning":
  descripition = "Hi."
else:
  description = "Bye."

or
category = "warning" if error else "info"
if category = "warning":
  descripition = "Hi." if category = "warning" else "bye"

Therefore, it isn't as dynamic in my eyes.

I don't think @gustavwilliam  (Vestergurkan) is a fan of Embedhelper.category() and prefers the category to be passed in as an argument.

Yep. I want it to be dynamic, without having to use getattr if you want to pass the embed type easily.

By dynamic, I have come to understand that you should be able to do this:
category = "warning" if error else "info"

However, the description has to be passed in too and it will actually end up looking something like
category = "warning" if error else "info"
if category = "warning":
  descripition = "Hi."
else:
  description = "Bye."

or
category = "warning" if error else "info"
if category = "warning":
  descripition = "Hi." if category = "warning" else "bye"

Therefore, it isn't as dynamic in my eyes.

I'm proposing that we shall be able to do the following:
if error:
    embed = EmbedHelper.error("Bye.")
else:
    embed = EmbedHelper.information("Hi.")

I'm proposing that we shall be able to do the following:
if error:
    embed = EmbedHelper.error("Bye.")
else:
    embed = EmbedHelper.information("Hi.")

That was simply an example of something you could do. Let's take the gurkanrate as an example. In it, the description will always be the same and the title will change.
It would be nice to just set the title and then automatically get the right embed.

That was simply an example of something you could do. Let's take the gurkanrate as an example. In it, the description will always be the same and the title will change.
It would be nice to just set the title and then automatically get the right embed.

That was simply an example of something you could do. Let's take the gurkanrate as an example. In it, the description will always be the same and the title will change.
It would be nice to just set the title and then automatically get the right embed.

The description will still need to be passed in since the helper is a general method and does not know what it will be used for.

That was simply an example of something you could do. Let's take the gurkanrate as an example. In it, the description will always be the same and the title will change.
It would be nice to just set the title and then automatically get the right embed.

The description will still need to be passed in since the helper is a general method and does not know what it will be used for.

Hi @codephile1221, is there any progress on this?


tidyed up solution and git

Hi ok i think i see what the problem might be. because the gitignore didn't exclude the packages folder, some where checked in rather than being nuget references. I've just done the following.

[x] added packages and .vs folders to the git ignore
[x] deleted the packages folder from git.
[x] added the vsixupdater package to the nuget references
[x] moved the integration test project from within the configtransform project (not sure how it got inside there :))
[x] updated the vstools version inside the csproj to 15.

This pr ok to accept?

I will try to build it under VS2017 and create a new version today.

Excellent hope it builds ok.

New version v<IP_ADDRESS> released.


initial changes to portfolio

button adds a random favorite pic, background color and text color update, refactored random method allows reusability, new content shares more about me
(ps sorry about having one commit that encompasses everything. The instructions encouraged us to play around before informing us that we should continually do one commit per topic)

I've replied to all comments and updated the code to reflect it


Docker login instructions

Fixes new docker login parameters (no email address) and makes sure to not instruction non-GSE users to have to login. Fixes #440 and closes #496.

I merged developer for easier visual comparison, and added some color to highlight key steps and contacts.  Your changes LGTM, reciprocate if you're cool with the color changes below:
OSS

GSE


Render readme.md as root page

Doc doesn't have enough info.  instead of writing two pages, just render the readme.md as the root.

README.md now detected in root path and rendered via Markdown2 to HTML.


Enable Boogie programs to scale to be deeply nested without overflowing the stack

Changes

Do not use threads with 16MB stack space, instead of the default 1 MB.
Wasn't needed: replace algorithms in Boogie that traverse Boogie programs using the call stack

Testing

Add a test that tries to trigger a stack overflow by using a Boogie program with deep nesting
Dafny tests pass with this change: https://github.com/dafny-lang/dafny/pull/1917

Seems reasonable to me, though I'd prefer to get some feedback from other Boogie users.  Why was this introduced in the first place?

Seems reasonable to me, though I'd prefer to get some feedback from other Boogie users. Why was this introduced in the first place?

I contacted @BarryBo who contributed the initial change that added this stack, who informed me this was needed by Dafny. I've run the Dafny test suite and one large Dafny customer test suite with this change and both pass so it seems Dafny does not need this change at the moment.

Very nice, thanks.


check if payload of message is defined

When a payload is not defined, then the application is crashed.
For example if you try to read an alias. And  alias is empty.

Thanks for this fix. Are you able to write a test for this?

Fantastic, thanks!


Result texts of programmer tools are clipped (high DPI & minimum window size)

Describe the bug
Result texts of programmer tools are clipped:

high DPI
minimum window size

Screenshots
minimum window size

Expected behavior
if I adjust the window size larger, there is no problem

Device and Application Information

OS Build: 10.0.19042.0
Architecture: X64
Application Version: 10.2011.16.0
Region: zh-CN
Dev Version Installed: False

Requested Assignment
I'm just reporting this problem.  I don't known how to fix it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


[Extension] ColorPicker extension - visually impaired mode

Provide a visually impaired mode via the colorpicker extension

@czirkelbach Done?

@Alexander-Krause Still some refactoring and testing needs to done.

Done.


Add not-in-appStore app to the Readme section

It's pretty hard to find those other app that aren't in the app store.

True, I'll think about it

This is the best I could come up with for now :smile:

:+1: Looks good

@kostiakoval hey the two lists were merged :grin:


The file share explorer displays blank

Storage Explorer Version: 1.25.0-dev
Build Number: 20220616.8
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.4 (Apple M1 Pro)
Architecture ia32/x64
How Found: From running test cases
Regression From: Previous release (1.24.2)
Steps to Reproduce

Expand one storage account -> File Shares.
Open one file share.
Observe the file share explorer displays well.

Expected Experience
The file share explorer displays well.

Actual Experience
The file share explorer displays blank.

Verified this issue on the build main/20220617.3. Fixed. So close it.


Docker layer cache CI

Does it affect the container build time?
Old Build Time
19:21:17 -> 19:26:53 (5m36s)
New Build Time
1m20s
But the problem is that the new structure needs an "upload artifact" (3m14s) and "download artifact + load image" (1m23s) time which are added (4m37s total). Therefore the optimization only gives us 1 minute (plus some time of compute because the Docker image is only built once -- maybe cost saving in Github Actions).

Another positive point:

In the first run, the build is done and maybe some jobs fail.
When you do a retry, the build is not done again and the already-built image would be reused. This is going to save 4m10s on all of the retries for failed jobs.


Added Turso support for Nim Library in community

No I decided to send a pull request through my main account @AritraBanik08

@boat12022 Got it!


Truncating indexes

E.g files in filestores cannot be deleted due to random-access so all the data has to be rewritten to new files.

Added in commit 2a9404e9eaefc4145529633051ee8f17af149599


Change links structure to more simple

Change links structure to the list of the key-value pairs - in this way, link types will be just one enum and implementation of the final structure will be much easier for the end-user point of view

Just so we're clear, you're suggesting e.g.

"links": [
{"type": "cause", "target": "uuid1"},
{"type": "cause", "target": "uuid2"},
{"type": "iut", "target": "uuid3"}
]

?

Exactly

If this change is fine with you then I will update description to include example

I like it, I think it's cleaner. Let's see if we can get another pair of eyes on it.
We'll have to change all our examples, of course.

I like the simplification. One drawback is that I do not think the Json validation will be able to catch that we have more then one link of a single link type.
This will not be detected as illegal
"links": [
{"type": "context", "target": "uuid1"},
{"type": "context", "target": "uuid2"}
]

True, but we can't validate the legality of links to any significant extent anyway :frowning:
(I just realized there's a ton of emojis available. I'm so going to abuse them...)

We'll go for this. We need to update all examples, obviously. Are you willing to do that, @Andrey9kin, then we can merge in both repos at once.

@d-stahl-ericsson I push pulled request to examples repo. Would it make sense to merge those two repos? Why do you want them separate?

The reason to keep them in individual repositories is to keep different types of information separate. This repository is documentation, intended for human consumers. Eiffel-examples primarily contains sample events in various constellations, which you would typically subscribe to in e.g. CI jobs.

@d-stahl-ericsson I just thought that those example samples will be consumed by the readers of the protocol and then it would be good to have them in the same place. Also, it helps to sync changes - you can change all you need in one commit securing consistency

There are pros and cons. The separation of concerns between the repositories is useful, but keeping track of multiple repositories also adds some overhead. We'll see how it plays out in the long run.

Going back on topic: We need a larger rewrite of the links documentation. Do you want to update this PR, or should I/we do a new one?

@d-stahl-ericsson if you have a possibility then please go ahead and do necessary updates. I'm teaching CD this week in Trondheim university and it takes more or less all my time

Ok, I created a new pull request, #25. Closing this one.


Refresh Locations grow each poll causing a memory leak

Expected Behavior

Each location is updated only once every poll

Current Behavior

When there are entities in the catalog, the polling time refresh grows exponentially and polls every entry a lot of times according to the log.

Possible Solution

Only poll each location once

Steps to Reproduce

Start the frontend and the backend
Load the mock data yarn lerna run mock-data
Watch the log and see the exponential locations grow.

info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:07.088Z"}
info: Visiting 40 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:07.090Z"}
info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:17.595Z"}
info: Visiting 80 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:17.597Z"}
info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:28.536Z"}
info: Visiting 160 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:28.538Z"}
info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:40.340Z"}
info: Visiting 294 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:40.344Z"}
info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:53.573Z"}
info: Visiting 554 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:22:53.581Z"}
info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:23:09.399Z"}
info: Visiting 820 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:23:09.409Z"}
info: Beginning locations refresh {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:23:27.252Z"}
info: Visiting 846 locations {"type":"plugin","plugin":"catalog","service":"backstage","timestamp":"2020-07-15T09:23:27.266Z"}

On further investigation, it turns out that the location function from the CommonDatabase.ts is returning way to many entires.
https://github.com/spotify/backstage/blob/3bff1d6a683ed22330e49869cff295dfa973df21/plugins/catalog-backend/src/database/CommonDatabase.ts#L313-L329
locations here resolves to something like this:
[
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '2d6efbb0-800f-4f41-978f-01905422bbc0',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  },
  {
    id: '0c3c8ca4-5198-4f5f-94b2-126a8ab35c85',
    type: 'file',
    target: '/Users/blam/dev/spotify/backstage/plugins/scaffolder-backend/sample-templates/springboot-template/template.yaml',
    status: 'success',
    timestamp: '2020-07-16 02:27:23',
    message: null
  }
]```

After just loading the sample templates from the scaffolder and waiting a few mins. Think that the entries here should be de-deuped by ID, or the initial query needs changing. @freben maybe you know whats best?

Can't say for sure without poking at the code, sorry. That is a weird join though and for sure we have to change it to not do a full unlimited join.
The entities list call makes use of a helper view to get the corresponding latest log entry I think, maybe use the same methodology here?
Or go super basic for now - just fetch the locations completely without status, and then make a separate query for the corresponding statuses and "join" in a loop in code. Native but works. Still, you'd have to make sure to get only the latest status entry per location.


Error in Colab - "from lightning_modules import LigandPocketDDPM"

Hi,
Upon running the exact Colab notebook included in the repo, I get an error in the code chunk entitled "Run sampling (this will take a few minutes; runtime depends on the input parameters n_samples, timesteps etc.)"
The error occurs on the line....
from lightning_modules import LigandPocketDDPM

OSError                                   Traceback (most recent call last)
 in <cell line: 7>()
5 import torch
6 import utils
----> 7 from lightning_modules import LigandPocketDDPM
8
9 pdb_id = Path(pdbfile).stem
21 frames
/usr/lib/python3.10/ctypes/init.py in init(self, name, mode, handle, use_errno, use_last_error, winmode)
372
373         if handle is None:
--> 374             self._handle = _dlopen(self._name, mode)
375         else:
376             self._handle = handle
OSError: /usr/local/lib/python3.10/dist-packages/torchaudio/lib/libtorchaudio.so: undefined symbol: _ZN2at4_ops5zeros4callEN3c108ArrayRefINS2_6SymIntEEENS2_8optionalINS2_10ScalarTypeEEENS6_INS2_6LayoutEEENS6_INS2_6DeviceEEENS6_IbEE
Could you help me with this issue? It appears similar to a previous issue.
Thanks!

Hi Evan,
thanks for reporting this issue. This commit should solve it.
Best,
Arne


plugin: patches clippy

Clippy is complaining about using .get(0) instead of .fist() in methods where we are getting more than just the first item. Supress the warning

I'm going to go ahead and merge this given there is no outstanding PR ready to be merged


Support multiplication of SparsePauliOp with Parameter

What should we add?
from qiskit.circuit import Parameter
from qiskit.quantum_info import SparsePauliOp

param = Parameter("a")
op = SparsePauliOp("X")
param * op

---------------------------------------------------------------------------
QiskitError                               Traceback (most recent call last)
Cell In[5], line 6
      4 param = Parameter("a")
      5 op = SparsePauliOp("X")
----> 6 param * op

File ~/projects/qiskit-terra/qiskit/quantum_info/operators/mixins/multiply.py:36, in MultiplyMixin.__rmul__(self, other)
     35 def __rmul__(self, other):
---> 36     return self._multiply(other)

File ~/projects/qiskit-terra/qiskit/quantum_info/operators/symplectic/sparse_pauli_op.py:370, in SparsePauliOp._multiply(self, other)
    368 def _multiply(self, other):
    369     if not isinstance(other, Number):
--> 370         raise QiskitError("other is not a number")
    371     if other == 0:
    372         # Check edge case that we deleted all Paulis
    373         # In this case we return an identity Pauli with a zero coefficient
    374         paulis = PauliList.from_symplectic(
    375             np.zeros((1, self.num_qubits), dtype=bool),
    376             np.zeros((1, self.num_qubits), dtype=bool),
    377         )

QiskitError: 'other is not a number'

Hi @kevinsung! I think that the development of this feature and, more in general, the support for symbolic computation within the qiskit.quantum_info module could be very interesting. However, I already had a short but quite exhaustive conversation with @jakelishman on thread #9513 about this and the conclusion was that enabling symbolic computation in Qiskit would mean being able to properly extend all kind of operations already supported for complex/float numbers to symbolic expression: this could very complicated and it goes beyond qiskit-terra core features (e.g. quantum circuit construction, manipulation, and transpilation).
For example, in this specific case, allowing multiplication between SparsePauliOp and Parameter instances could look as simple as adding to _multiply(self, other) something like:
if isinstance(other, ParameterExpression):
    self.coeffs = other * self.coeffs

This works but it converts coeffs from a numpy array of complex to a numpy array of object where each element is actually a ParameterExpression instance. As you can easily understand, this means that all the operations supported for SparsePauliOp (and between it and all the others module classes) have to be basically reimplemented to handle symbolic math.
By the way, I started working on symbolic computation in Qiskit to allow something similar to what you are proposing here and I recently released the package qiskit-symb to leverage sympy for symbolic computation on quantum statevectors, density matrices, and operators as the ones defined in qiskit.quantum_info. The package has also already been published to the Qiskit Ecosystem and I will show a quick demo on June 15th for the Qiskit DemoDay. If interested, check it out and feel free to contact me via Slack.

This works but it converts coeffs from a numpy array of complex to a numpy array of object where each element is actually a ParameterExpression instance. As you can easily understand, this means that all the operations supported for SparsePauliOp (and between it and all the other module classes) have to be basically reimplemented to handle symbolic math.

The stored coefficients can already have data type object. See https://github.com/Qiskit/qiskit-terra/pull/8620.

@kevinsung you are right, sorry for the confusion! It also looks that the SparsePauliOp class already implements the features to support unbound parameters: this means that, taking care of everything that might be needed, multiplication could be supported as well. I will take a look at this possibly in the next days.

Closed by #10264.


How to allow the Flux extension to be installed on a tainted system node pool?

I am trying to deploy a Flux/GitOps configuration through a Bicep template. The Bicep template includes the deployment of the Flux extension. The deployment of this extension hangs and times out after the max deployment time of an Azure deployment without any real feedback as to what the issue is.
As per the Microsoft recommendation we taint our system node pool with the CriticalAddonsOnly=true:NoSchedule taint. This seems to cause issues with the bootstrapping of the Flux/GitOps extension, because the deployment works just fine if I redeploy the cluster without this taint in place.
I would like to know how to make it possible to get this to work with the taint in place, presumably by adding a toleration somewhere in the configuration properties of the extension. However, this does not seem to be documented anywhere based on my findings. In fact, none of the documentation for Flux/GitOps on AKS seems to make any mention of taints or tolerations at all, which is surprising considering how basic of a feature this is.
I simultaneously opened a Azure support request to get this looked at, but I'm guessing asking this question here doesn't hurt either.

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

ID: 4d674084-1d8f-b845-9781-d3a144ecfe9b
Version Independent ID: b4b5514f-1b86-5851-5e2f-ef3b592b9600
Content: Tutorial: Use GitOps with Flux v2 in Azure Arc-enabled Kubernetes or Azure Kubernetes Service (AKS) clusters - Azure Arc
Content Source: articles/azure-arc/kubernetes/tutorial-use-gitops-flux2.md
Service: azure-arc
Sub-service: azure-arc-kubernetes
GitHub Login: @JnHs
Microsoft Alias: jenhayes

@jan-delaet, thank you for the question. I am assigning it to our content team for further review.
@JnHs, could you review this question and share your thoughts. Thanks.

Hello again @jan-delaet - since we haven't heard back from you, I'm going to hope that means the issue has been resolved, and will close this now. However, if you are still unable to install the extension, or have any other questions, please let me know!
#please-close


Square at the end of a Text property

Adding an ampersand character to a Text property to enable a hotkey shows an square character at the end.
Steps to reproduce in Windows :

Create a new empty Firemonkey application.
Drop a button on the form.
Set the button's Text property to &Text.
Run the application and the button will show "Text□"

Fixed in our new release 3.4.1


Selfhosting throws HttpListenerException (The handle is invalid)

Describe the bug
When running wacs with selfhosting validation, it is unable to activate the HttpListener because of the exception: System.Net.HttpListenerException (6): The handle is invalid
To Reproduce

Run with command line wacs --target manual --host "example.com" --validation selfhosting 8080 --test --verbose
See error

Expected behavior
The command should complete without error, or stop to ask for additional options.
Log
 [VERB] Verbose mode logging enabled
 [VERB] Looking for settings.json in C:\win-acme
 [VERB] Copying settings_default.json to settings.json
 [DBUG] Config folder: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org
 [DBUG] Log path: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Log
 [DBUG] Cache path: C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Certificates
 [VERB] Arguments: --target manual --host example.com --validation selfhosting 8080 --test --verbose
 [DBUG] Renewal period: 55 days

 [INFO] A simple Windows ACMEv2 client (WACS)
 [INFO] Software version <IP_ADDRESS>7 (RELEASE, TRIMMED)
 [INFO] ACME server https://acme-staging-v02.api.letsencrypt.org/
 [VERB] SecurityProtocol setting: SystemDefault
 [DBUG] Connection OK!
 [INFO] IIS not detected
 [INFO] Running with administrator credentials
 [WARN] Scheduled task not configured yet
 [INFO] Please report issues at https://github.com/win-acme/win-acme
 [VERB] Test for international support: 語言 язык لغة
 [INFO] Running in mode: Unattended, Test
 [VERB] Adding <IP_ADDRESS> as DNS server
 [VERB] Adding <IP_ADDRESS> as DNS server
 [VERB] Adding <IP_ADDRESS> as DNS server
 [INFO] Target generated using plugin Manual: example.com
 [VERB] Targeted convert into 1 order(s)
 [VERB] Checking [Manual] example.com
 [VERB] Handle order 1/1: Main
 [VERB] Creating order for hosts: ["example.com"]
 [VERB] Loading ACME account signer...
 [DBUG] Loading signer from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Signer_v2
 [VERB] Constructing ACME protocol client...
 [DBUG] Send GET request to https://acme-staging-v02.api.letsencrypt.org/directory
 [VERB] Request completed with status OK
 [DBUG] Send HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce
 [VERB] Request completed with status OK
 [DBUG] Loading account information from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Registration_v2
 [DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/new-order
 [VERB] Request completed with status Created
 [VERB] Order https://acme-staging-v02.api.letsencrypt.org/acme/order/13668293/92349288 created
 [VERB] Handle authorization 1/1
 [DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/56553613
 [VERB] Request completed with status OK
 [INFO] Authorize identifier example.com
 [VERB] Initial authorization status: pending
 [VERB] Challenge types available: ["http-01", "dns-01", "tls-alpn-01"]
 [VERB] Initial challenge status: pending
 [INFO] Authorizing example.com using http-01 validation (SelfHosting)
 [EROR] Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80
 [EROR] Error preparing for challenge answer
System.Net.HttpListenerException (6): The handle is invalid.
   at System.Net.HttpListener.SetupV2Config()
   at System.Net.HttpListener.Start()
   at PKISharp.WACS.Plugins.ValidationPlugins.Http.SelfHosting.PrepareChallenge()
   at PKISharp.WACS.Plugins.ValidationPlugins.Validation`1.PrepareChallenge(IChallengeValidationDetails challenge)
   at PKISharp.WACS.RenewalExecutor.HandleChallenge(ExecutionContext context, TargetPart targetPart, Authorization authorization)
 [VERB] Starting post-validation cleanup
 [VERB] Post-validation cleanup was succesful
 [EROR] Create certificate failed: Error preparing for challenge answer

Platform:

OS: Microsoft Windows Server 2016 Datacenter, 10.0.14393.0, 64-bit
Version: 2.1.7, trimmed

Additional context
Same problem appears running in Windows PowerShell, PowerShell Core 6 and cmd.

There is a bug here but it's that the command line parser is not letting you know that your arguments are invalid. Try "wacs --target manual --host "example.com" --validation selfhosting --validationport 8080 --test --verbose"

Oh, sorry, my example command was wrong, but this was not actually the issue.
 [INFO] IIS not detected
 [INFO] Running with administrator credentials
 [WARN] Scheduled task not configured yet
 [INFO] Please report issues at https://github.com/win-acme/win-acme
 [VERB] Test for international support: 語言 язык لغة
 [INFO] Running in mode: Unattended, Test
 [VERB] Adding <IP_ADDRESS> as DNS server
 [VERB] Adding <IP_ADDRESS> as DNS server
 [VERB] Adding <IP_ADDRESS> as DNS server
 [INFO] Target generated using plugin Manual: example.com
 [VERB] Targeted convert into 1 order(s)
 [VERB] Checking [Manual] example.com
 [VERB] Handle order 1/1: Main
 [DBUG] Refreshing order...
 [VERB] Loading ACME account signer...
 [DBUG] Loading signer from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Signer_v2
 [VERB] Constructing ACME protocol client...
 [DBUG] Send GET request to https://acme-staging-v02.api.letsencrypt.org/directory
 [VERB] Request completed with status OK
 [DBUG] Send HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce
 [VERB] Request completed with status OK
 [DBUG] Loading account information from C:\ProgramData\win-acme\acme-staging-v02.api.letsencrypt.org\Registration_v2
 [DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/order/13668293/92349288
 [VERB] Request completed with status OK
 [DBUG] Cached order has status pending, discarding
 [VERB] Creating order for hosts: ["example.com"]
 [DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/new-order
 [VERB] Request completed with status Created
 [VERB] Order https://acme-staging-v02.api.letsencrypt.org/acme/order/13668293/92635657 created
 [VERB] Handle authorization 1/1
 [DBUG] Send POST request to https://acme-staging-v02.api.letsencrypt.org/acme/authz-v3/56553613
 [VERB] Request completed with status OK
 [INFO] Authorize identifier example.com
 [VERB] Initial authorization status: pending
 [VERB] Challenge types available: ["http-01", "dns-01", "tls-alpn-01"]
 [VERB] Initial challenge status: pending
 [INFO] Authorizing example.com using http-01 validation (SelfHosting)
 [EROR] Unable to activate HttpListener, this may be because of insufficient rights or a non-Microsoft webserver using port 80
 [EROR] Error preparing for challenge answer
System.Net.HttpListenerException (6): The handle is invalid.
   at System.Net.HttpListener.SetupV2Config()
   at System.Net.HttpListener.Start()
   at PKISharp.WACS.Plugins.ValidationPlugins.Http.SelfHosting.PrepareChallenge()
   at PKISharp.WACS.Plugins.ValidationPlugins.Validation`1.PrepareChallenge(IChallengeValidationDetails challenge)
   at PKISharp.WACS.RenewalExecutor.HandleChallenge(ExecutionContext context, TargetPart targetPart, Authorization authorization)
 [VERB] Starting post-validation cleanup
 [VERB] Post-validation cleanup was succesful
 [EROR] Create certificate failed: Error preparing for challenge answer

Yes that looks strange, I've not seen that error before. Is there any chance that some other piece of software is using that port?

Indeed very strange. I did check the ports with both Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess and netstat -a -b, and I found no processes using that port. I also tried random other ports to be sure.
I also checked the source for HttpListener. It does throw from SetupV2Config in two locations, but I did not find any clues as to why it would fail with ERROR_INVALID_HANDLE. https://github.com/microsoft/referencesource/blob/master/System/net/System/Net/HttpListener.cs
Maybe there is something wrong with the runtime on this system. Any idea on how to debug this?

Perhaps check to see if a UrlAcl needs to be set to allow a listener on port 8080 (https://docs.microsoft.com/en-us/windows/win32/http/add-urlacl), if the machine is not new perhaps something else previously used port 8080 and adjusted the settings. Might not make a difference but might be worth a try.

Going to write some documentation on how to diagnose http listener issues using this thread and #1418 as refererences.

Documentation updated at https://www.win-acme.com/reference/plugins/validation/http/selfhosting and related bug #1621 fixed in 2.1.10.

@WouterTinus
Great, but I am still experiencing the same issue. I am starting to think that this is a bug / configuration error on my system, because even netsh gives me the same error:
C:\>netsh http show urlacl

URL Reservations:
-----------------

The handle is invalid.

I've tried googling around, but can't seem to find anything useful regarding this. Note that this is running in a VM in Azure, and that nginx is running without issues. Also note that this is an attempt to upgrade from an older version (letsencrypt 1912.2.6907.35819) which worked just fine.

Hi, check for invalid or duplicate ssl bindings:
https://forums.iis.net/t/1233877.aspx


loadOnStart false, pagination info template reads "no relevant data"

I've setup my vuetable similar to lesson 17 in the tutorial, using the render function for rendering the vuetable. I've additionally set loadOnStart=false , which does not load the data to the vuetable initially. this is great. however, the pagination info displays "no relevant data". I don't  believe it should state this when one has not even told the vuetable to load data yet.... thoughts?
additionally, I'm actually using the pagination top info template to give the table a title name. However, right now I have this getting set in the renderPaginationTop() method, which doesn't run yet due to the loadOnStart = false. Anyway to render the title prior loading data to the vuetable?
...
methods: {
            // render related functions
            renderVuetable(h) {
                return h(
                  'vuetable',
                  {
                      ref: 'vuetable',
                      props: {
                          apiUrl: this.apiUrl,
                          fields: this.fields,
                          title: this.title,
                          loading: this.loading,
                          css: this.css,
                          rowClass: 'table__row',
                          filterText: this.filterText,
                          paginationPath: "",
                          perPage: this.perPage,
                          loadOnStart: this.loadOnStart,
                          multiSort: true,
                          sortOrder: this.sortOrder,
                          appendParams: this.params,
                          detailRowComponent: this.detailRowComponent,
                      },
                   ...
            },
            renderPaginationTop(h) {
                return h(
                  'div',
                  { class: {'vuetable-pagination': true} },

                  [
                    h('vuetable-pagination-info', {
                        ref: 'paginationInfoTop',
                        props: { 'info-template': '' + this.title + '', css: this.css.pagination },
                    }),
                    h('vuetable-pagination', {
                        ref: 'paginationTop',
                        props: {'no-data-template':'no results found', css: this.css.pagination },
                        on: {
                            'vuetable-pagination:change-page': this.onChangePage
                        }
...

okay, i can actually set the title if i do so through the no-data-template prop for paginationInfoTop.... works, but probably not the nicest way.

@clemsontiger VuetablePaginationInfo is not intended to be used in that way, but that's the design choice you've made. If you simply want to display a text, it's better to render it in a
 or .

@ratiw , yes I realize this, and yes it's the design choice I've made due to that upper left hand location being a near perfect spot for a table title. Flows well along with minimum space usage.
What about my question regarding the pagination info displaying "no relevant data" when loadOnStart is false? Not sure if it makes sense to display that message when it has been specifically set not to load data. Should probably just be blank or allow one to customize it when loadOnStart is false... I couldn't get it customized as I don't think it runs the code to apply the customized info message when loadOnStart is false.

Have you ever thought about extending VuetablePaginationInfoMixin? I think it's time that you go deeper into the library. I'll be more fun for you, I guess.
Let's see the code. This is just a sample, I haven't test this. But logically, it should work (I hope).
// VuetableTitle.vue
<template>

</template>


rely: warning when using snapshotDir without opening RelyInternal.TestFrameworkConfig

When I try out the example, I get the following warning:
Error (warning 40): this record of type RelyInternal.TestFrameworkConfig.requiredConfiguration contains fields that are
not visible in the current scope: snapshotDir projectDir.

Opening RelyInternal.TestFrameworkConfig fixes it, but not sure that module was intended to be opened since it has 'internal' in the name.

Do you have a more complete example of your project? (A github repo perhaps?)
Typically this shouldn't be required and with our setup it doesn't seem to have the same issue: https://github.com/facebookexperimental/reason-native/blob/master/tests/TestFramework.re

Closing due to lack of activity (feel free to reopen with more info)


Removed unnecessary product demo images #7651

Coverage remained the same at 69.23% when pulling a7d18921848f5ce7e337cf719afceaf82eb326b3 on gautampanday:task-7651 into b7b58e2e89788998c1ccdfcf23d3bc8562fc2ae5 on openlabs:develop.


Date from database

Check if date from database is properly displaying after hour change in Poland (30/31 March)

Fixed in #153


Bump manageiq-smartstate gem version to 0.1.3

In order to finish implementation of changes for https://bugzilla.redhat.com/show_bug.cgi?id=1475540 the above gem version needs to be updated.  This will be backported to fine.
Links [Optional]

https://github.com/ManageIQ/manageiq-smartstate/pull/25
https://bugzilla.redhat.com/show_bug.cgi?id=1475540

@roliveri please merge so this Blocker bug can be back ported to Fine.  Thanks.

@miq-bot add_label fine/yes

Closing and reopening this PR so that it picks up the newly published 0.1.3 version of manageiq-smartstate.

I don't see it released: https://github.com/ManageIQ/manageiq-smartstate/releases

@Fryguy we did a gem build and a gem push.  That's what I've done in the past with other gems that I actually own.  I didn't know about the file you linked above.  Did we miss something?

Yes, you should be using bundle exec rake release or adding some manual tagging, but for consistency use the rake command.  Otherwise there is no tag git tag.  I see the version was bumped in a PR, but it's preferable to bump it via the rake released mechanism.  Additionally, we probably should start a CHANGELOG file (cc @JPrause), which should also be changed at the same time as the version.

OK, I've tagged the repo with 0.1.3

Backported to Fine via https://github.com/ManageIQ/manageiq-gems-pending/pull/267


Add Kucoin support (spot)

Added here, waiting to be merged on master branch.

Merge into master here.


The project is abandoned?

Question for the developer.
Has the project been abandoned? Or is it still being developed? Will there be updates?

Even without updates, PicoTorrent works flawlessly and is incredibly fast.

Yes, it works well for now, but...


DateParser does not currently recognize EPOCHs

Dateparser currently does not handle EPOCHs very well. When parsing through a document, I sometimes of EPOCH with datetimes that I need to parse. Dateparser currently brings back null values instead of making the dateparser translation. I suggest incorporating something like the following code to EPOCHs and then making the translation to UTC. Something like the example below will help to keep your dateparser format working if the value is a string or float EPOCH.
import re
import logging
import pytz
import datetime
import dateparser
from dateparser import parse

def dateparser(dt_input):
    epoch = None
    utc_zone = pytz.timezone('UTC')
    if dt_input is not None:
        epoch = float(dt_input)
        if epoch:
            try:
                dt_input_epoch = datetime.datetime.utcfromtimestamp(epoch)
                dt_input_epoch = utc_zone.localize(dt_input_epoch)
            except Exception as e:
                logging.warning(f"Error converting epoch to timestamp for {dt_input}: {e}")
        else:
            try:
                #Timestamp to Epoch
                if 'utc' not in dt_input.lower() and "+" not in dt_input:
                    dt_input_parsed = parse(str(dt_input), settings={'TIMEZONE':'UTC'})
                    if dt_input_parsed is not None:
                        dt_input_parsed = utc_zone.localize(dt_input_parsed)
                else:
                    dt_input_parsed = parse(str(dt_input))
            except Exception as e:
                logging.warning(f"Error parsing timestamp for {dt_input}: {e}")
   return dt_input_parsed

example:
dateparser("1616005693")
datetime.datetime(2021, 3, 17, 18, 28, 13, tzinfo=<StaticTzInfo 'UTC+00:00'>)
dateparser(1616005693)
datetime.datetime(2021, 3, 17, 18, 28, 13, tzinfo=<StaticTzInfo 'UTC+00:00'>)

I don't see the point. If you use the dateparser.parse() function, you will see that it returns the correct value.
>>> import dateparser

>>> dateparser.parse("1616005693")
datetime.datetime(2021, 3, 17, 19, 28, 13)

Using an integer instead of a string (second example) is not valid for dateparser.parse() as it expects a string.
On the other hand, an EPOCH / Timestamp doesn't contain timezone information, so it shouldn't return a datetime.datetime object with tzinfo.
Let me know if there's something I didn't understand.


would be ideal if other registry argument was const reference.

https://github.com/skypjack/entt/blob/454f072f13e263aed7bb4660aa8ef6211d84cfff/src/entt/entity/registry.hpp#L1629
idk if that's an issue if source registry == destination registry. maybe not, just separate const-type references to the same registry seems fine.

It makes perfectly sense actually. There is no reason apparently for which it shouldn't be const. I'll try it. :+1:

Thanks
On Saturday, September 7, 2019, Michele Caini<EMAIL_ADDRESS>wrote:

Closed #308 https://github.com/skypjack/entt/issues/308 via 1550efa
https://github.com/skypjack/entt/commit/1550efaf7ef9b9b9d0f842c4df40f0917f2375ee
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/skypjack/entt/issues/308?email_source=notifications&email_token=AAZNT5XFZVPLLMXQSVV63BLQIQRPDA5CNFSM4IURMFO2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTPZ35HQ#event-2616442526,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZNT5US4MLRPZLRPPVAXVTQIQRPDANCNFSM4IURMFOQ
.


Address namespace PR comments.

could you please apply the same InnerJoins + Select logic to all the other places where we now join on experiments from the namespace?

applied inner join in other places.


Complex ICA

adding complex ICA
adding Fourier ICA
adding plotting routine for FourierICA results
adding ICASSO (but only optimized for FourierICA)

Thanks @lukasbreuer . Merging.


[Feature Request] Obtain permission "Install from unknown sources" when opening an apk

Is your feature request related to a problem? Please describe.
I installed localsend via F-droid on Android TV.  I use it to send apk I want to sideload to the TV.
When the apk is received in the historylist of LocalSend I can't install it by clicking open.
LocalSend I think is missing the "install from unknown sources"-permission.  In other apps, you get a message asking to enable the permission.  LocalSend doesn't prompt for this.
Describe the solution you'd like
Prompt for android permission "install from unknown sources" and obtain it.
Describe alternatives you've considered
I install the apk by leaving LocalSend and using a file explorer
Additional context
No response

Added in v1.8.0

Nice and thanks.


[feat] : add some built-in color palette

https://github.com/henices/logseq-flow-nord/commit/bb5bc5db70e5d854d5f70e37724a1b1e4bcd9a91


Kicking off the doc-build script

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-doc-build


Update docstring of pyfar.dsp.fractional_octava_bands

Which issue(s) are closed by this pull request?
Closes #468

really hot hotfix ;), but I think that the way to go +1.

I think we wanted to always branch and merge from/to main in such cases and decide later if it's worth a hot fix. I think in this case we can wait for the regular feature release - hopefully on friday :)


[CastOptimizer] This test requires an optimized stdlib.

The bug doesn't reproduce on a debug stdlib, where the scopes
are already correct. Add this requirement.
rdar://problem/51804780

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci smoke test

Ben reverted, nothing to see here.


GCM register has failed

Hi,
Works as expected in development. However, if I package it using electron-packager, I get this error (on ipcRenderer.send(START_NOTIFICATION_SERVICE, 'correct id'))
Register request has failed with Error=PHONE_REGISTRATION_ERROR
Retry... 1
<retries 5 times, then>
Register request has failed with Error=PHONE_REGISTRATION_ERROR
PUSH_RECEIVER:::Error while starting the service Error: GCM register has failed
What could be the problem?

The problem is with webpack - it does not copy .proto files and also when UglyfyJS is applied somehow the code stops working.

Hey @RaimisJ, how to fix this?
Thanks.

In my case, this problem entirely depended on my configuration:
1 .In my configuration I had to swap "webpack.optimize.UglifyJsPlugin" with "uglifyjs-webpack-plugin", as the former produces unexpected results.
2. Also, my configuration produces single electron.js file while packing, but it does not bundle proto files. So I copy them myself:
shell.cp(path.join(__dirname, '../node_modules/push-receiver/src/client/mcs.proto'), targetPath)
shell.cp(path.join(__dirname, '../node_modules/push-receiver/src/gcm/android_checkin.proto'), targetPath)
shell.cp(path.join(__dirname, '../node_modules/push-receiver/src/gcm/checkin.proto'), targetPath)

Thanks @RaimisJ

I'm also encountering this problem, however my .proto files are properly copied to my build dir.
I also works perfectly even when compiled with webpack, it however fails with the same error when compiling the code with electron-build. Any ideas?

@RaimisJ what is targetPath in your config? The output folder of webpack?

@ream88 in the end, I ended up using not bundled node_modules folders. Only then it works correctly in all cases.

@RaimisJ Yeah, not using webpack and bundling the files helped! However now I need more and more features provided via webpack like for example its DefineWebpack plugin, and I'm stuck again 😞

Hi have the same issue, has anybody found any solultion. I use webpack but copy the fileswith CopyWebPackPlugin when building. It works perfectly in my dev dev environment, but when i package the app with electron builder I get the infamous PHONE_REGISTRATION_ERROR. The proto files are included in the asar file and loaded correctly (I've checked putting logs in my node modules). So the problem comes from elsewhere but I can't figure it out. Any ideas ?

@ream88 I think you have the issue as #32

process.env.NODE_ENV = process.env.NODE_ENV || "production"

const CleanWebpackPlugin = require("clean-webpack-plugin")
const CopyWebpackPlugin = require("copy-webpack-plugin")

module.exports = {
  module: {
    rules: [
      {
        test: /\.(m?js|node)$/,
        parser: {amd: false},
        use: {
          loader: "@zeit/webpack-asset-relocator-loader",
          options: {
            outputAssetBase: "build",
          },
        },
      },
      {
        test: /\.js$/,
        exclude: /node_modules/,
        use: "babel-loader",
      },
    ],
  },
  entry: "./main.js",
  plugins: [
    new CleanWebpackPlugin(["dist", "build"]),
    new CopyWebpackPlugin([
      {from: "node_modules/push-receiver/src/mcs.proto", to: "build"},
      {from: "node_modules/push-receiver/src/gcm/android_checkin.proto", to: "build"},
      {from: "node_modules/push-receiver/src/gcm/checkin.proto", to: "build"},
    ]),
  ],
  output: {
    path: __dirname,
    filename: "main-packaged.js",
  },
  node: {
    __dirname: false,
    __filename: false,
  },
  target: "electron-main",
  mode: "production",
  stats: {
    colors: true,
    children: false,
    chunks: false,
    modules: false,
  },
}

This works for me


[Azure Stack] Updates to Azs.Compute.Admin spec for autorest config

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

@zyxyoshine could you please approve this PR if it looks good to you? Thanks!

@fengzhou-msft could you pls merge this PR if it looks good to you? Thanks!

/azp run

@KrisBash could you pls merge this PR if it looks good? Thank you! @bganapa FYI

@KrisBash Do you need anything to be fixed here? Could you pls merge this

@fengzhou-msft is there any changes you are expecting? Could you please merge if it looks good? Kris had already signed off.

@viananth sorry for the delay, I do not have permission to force merge the PR. @akning-ms can you help merge this PR?


Localization for Messaging

Would like the ability to natively handle the localization of messages based on the users language choice.
For example, if a user chooses the French language, the text options would have values like -message & -messageFR or -title & -titleFR and swiftDialog could correctly determine which message takes precedence.
This understandably could potentially create a mess of spaghetti code especially as more languages would be added/created, so if this is not the proper solution, then this can be handled in the script code.

I've had a think about it and I don't think language support within the app itself is something I want to work with. There is localisation for in-app elements such as default button labels etc but as titles and messages are defined by the admin then there's going to be a bunch of work on the admin side anyway to support multiple languages.
One way to achieve this in script :
language=$(locale | grep LANG | awk -F '=' '{print $NF}' | tr -d '"')

case ${language} in
en*)
    echo "English"
    ;;
fr*)
    echo "French"
    ;;
de*)
    echo "German"
    ;;
*)
    echo "Default"
    ;;
esac

You then set your dialog variables based on what language is detected.
Since an admin would have to create all these cases anyway to provide the various languages, adding in a case statement to use the correct one would be trivial.


Message terminator parameter

Merges #10

@firstrow
Any plans to merge this? You considered it with #10 and this should be properly updated with the current code style. All tests pass as well.


Document how to manage timeout

The release notes mention now the support for a timeout in prismic-javascript v2.6.0 and up.
Could you document how to proceed please and can you advise whether we can send a timeout in the request to the cdn or when using the api object?
Thanks

Just going to add my ➕  to this issue. This would be super helpful for us as we are currently using AbortController and trying to support IE11 so that's super tricky.

@angeloashmore maybe this can be interesting in v6 examples? Feel free to close if not/handled~

@angeloashmore any thought?

Added as an example~
https://github.com/prismicio/prismic-client/tree/master/examples/custom-timeout


Add cookie support to Kitura-CSRF

Enable storage of secret in cookies once secure cookies are available

Depends on HTTPS support.

@ianpartridge is this still blocked?

@irar2 ?

This is not blocked anymore. We can now store secrets in cookies.

Does that mean this issue can be closed?

No, it just means that it is not blocked, but it is not implemented yet.


Can't build with Xcode 16.0

Platform
iOS, iPadOS
Environment
Develop
Installed
CocoaPods
Version
"@sentry/capacitor": "^0.14.0",
"@sentry/angular": "7.73.0",
Xcode Version
16.0
Did it work on previous versions?
15.4
Steps to Reproduce
Install Xcode 16.0
Build the app.
Expected Result
The app builds and runs as in Xcode 15.4.
Actual Result
The process fails with multiple errors in Sentry's SDK. Concretely, the SentryCrashMonitor_CPPException.cpp file.
no type named 'terminate handler' in namespace 'std'

@TarekAlTarshishi can you update the SDK to 0.19.0? This version uses the latest sentry-cocoa SDK under the hood and should build correctly with Xcode 16.

@TarekAlTarshishi can you update the SDK to 0.19.0? This version uses the latest sentry-cocoa SDK under the hood and should build correctly with Xcode 16.

exactly, for me it's working with version 0.19.0, after update I remove the Podfile.lock and execute this command "cd ios/App && pod install --repo-update"

Thanks 0.19.0 also did the trick for me!


Can't log into Skoda Connect

This error originated from a custom integration.
Logger: custom_components.skodaconnect.config_flow
Source: custom_components/skodaconnect/config_flow.py:98
Integration: Skoda Connect
First occurred: 16:36:50 (2 occurrences)
Last logged: 16:44:57
Login failed with error: User appears unauthorized
Debug logs
2021-09-22 16:44:56 INFO (MainThread) [skodaconnect.connection] Init Skoda Connect library, version 1.1.6
2021-09-22 16:44:56 DEBUG (MainThread) [skodaconnect.connection] Using service https://msg.volkswagen.de
2021-09-22 16:44:57 INFO (MainThread) [skodaconnect.connection] Initiating new login
2021-09-22 16:44:57 DEBUG (MainThread) [skodaconnect.connection] Starting authorization process for client skoda
2021-09-22 16:44:57 DEBUG (MainThread) [skodaconnect.connection] Got redirect to signin-service
2021-09-22 16:44:57 DEBUG (MainThread) [skodaconnect.connection] Start authorization for user<EMAIL_ADDRESS>2021-09-22 16:44:57 DEBUG (MainThread) [skodaconnect.connection] Finalizing login
2021-09-22 16:44:57 DEBUG (MainThread) [skodaconnect.connection] Unexpected response:

ŠKODA ID

Welcome
to ŠKODA App & Portal.

/>

Email

Next

        Create account

Imprint

Terms of Use

Data Privacy Policy

Cookie Policy

3rdParty Licenses

Imprint

Terms of Use

Data Privacy Policy

Cookie Policy

3rdParty Licenses

2021-09-22 16:44:57 WARNING (MainThread) [skodaconnect.connection] Invalid credentials or invalid configuration. Make sure you have entered the correct credentials
2021-09-22 16:44:57 ERROR (MainThread) [custom_components.skodaconnect.config_flow] Login failed with error: User appears unauthorized
2021-09-22 16:47:11 ERROR (MainThread) [homeassistant.components.upnp] Error requesting RBR350(Gateway) data:
Installation:

Home Assistant variant: [Supervised] Version core-2021.9.7

I can definitely log into the Skoda Connect website without any issues

Same here, since a few days.

Try setting a new password in the Skoda Connect portal. The login fails after the integration has provided your password, it looks like it gets redirected back to the login page.

Same problem here with homeassistant-seatconnect after HA was restarted yesterday. Password change did not not solve the issue.
Issue also noticed in seatconnect fork: https://github.com/Farfar/homeassistant-seatconnect/issues/4

I would need full debug logs from someone with this issue, doesn't matter if it's for the Seat Connect fork or Skoda Connect.
The parts I am interested in is from "Finalizing login" up until the error. (different log messages for Seat Connect, might need whole log).

Had the same issue yesterday (after applying HassOS update) and a password change did not work.
According to the logs the password did not seem to be the problem, the error message i found was "API token request failed."
However, after reinstalling the integration it worked again.
Unfortunately, because of this I can't provide the log since the reinstallation included a restart of HA.

Ok My fault when I logged onto the android app there were some things I had to OK and now the integration is OK. Thanks

I do not have anything specific to accept in Seat Connect Android App or in my.seat web page. Both are working OK. But seatconnect HA plugin does not work anymore after HA reboot yesterday. Did everyone else managed to make skodaconnect working after accepting something in Android App?

I do not have anything specific to accept in Seat Connect Android App or in my.seat web page. Both are working OK. But seatconnect HA plugin does not work anymore after HA reboot yesterday. Did everyone else managed to make skodaconnect working after accepting something in Android App?

Continue in Seat Connect issue please.


Release schedule

Sorry if I'm nagging, but are there are any plans for a new release soon?
It's been two months since the last one and there are several features that appeared during this time that I would like to see. As I understand, the API definitions will be pulled to provide new APIs automatically?
Is there anything that I can help with to make a release happen? Perhaps there are some blocking issues?

Thanks for checking in. I've been out of the country on holiday for almost a month, which slowed things down. There's also the massive codebase requiring at least a full hour to build on my personal Macbook that causes delays. Both of these combined with my 2019 break from open source slowed things down quite a bit.
It's probably time to open up another issue for getting more maintainers of Rusoto. The time I can spend volunteering to maintain such a large project is getting reduced by various life and career changes, but I'd love to see Rusoto continue. While I'm exploring various options to keep the project going with its target of monthly releases without spending large amounts of my personal budget and time, there are plenty of ways to keep things going on an entirely volunteer effort and I'm working on those as well. 👍
While I'm working on those avenues to keep release velocity, I'm planning on doing a new release in the next week or two to pick up various changes an enhancements that have accumulated.

Sounds great! I will look forward to these developments and I appreciate the work you put into the project.


Adding a Subscription

Issue on page:        https://github.com/opentelekomcloud-docs/simple-message-notification/blob/main/umn/source/subscription_management/adding_a_subscription.rst
You mention HTTP(S)-Requests but not defining if it is POST, PUT, GET, etc.

Issue addressed in gitea:
https://gitea.eco.tsi-dev.otc-service.com/docs/simple-message-notification/issues/67
will be corrected in the next doc release

Fixed in gitea (https://gitea.eco.tsi-dev.otc-service.com/docs/simple-message-notification/pulls/77), the new UMN version will be released soon.


somatic calling

There should be somatic (or tumor/normal) calling supported by freebayes in a coherent way.
Right now we have some experience with doing it using a command line similar to this:
freebayes -f ref.fa --pooled-continuous --pooled-discrete -F 0.03 -C 2 tumor.bam normal.bam >out.vcf

The problem is that to get good performance you need to implement something like the (mutect filter)[https://www.broadinstitute.org/cancer/cga/mutect] criteria based on the GLs. This could easily be supported internally if additional parameters were specified. For instance:
freebayes ... --tumor [tumor sample name in BAM] --normal [normal sample name in BAM] ...

An additional parameter, say --somatic-lod-filter-mut-rate 1e-7 --somatic-lod-filter-target-fp 0.01 could be used to specify the thresholds which are important for the method to work.

We're also interested in a sane way to do paired somatic variant calling using Freebayes, without coming up with our own arbitrary filters. I like the idea of a parameter to control the FP rate, and in general making assumptions about biological mechanisms (i.e. your mutation rate example) also seem like a good idea as a common issue in our group (@swheelan) is "Freebayes gave us sooooooooo many variants: 1. how do I filter them? 2. Even after filtering, is this close to a reasonable number of variants?"

Matt, Erik and all;
We've done a lot of work on filtering somatic calls with FreeBayes and have an in-progress writeup on the results validating against the DREAM synthetic 3 data here:
https://github.com/chapmanb/bcbb/blob/master/posts/cancer_validation.org
There is a section specifically about improvements we were able to get with FreeBayes, in additional to comparisons to other callers.
The code we use to call FreeBayes is here: https://github.com/chapmanb/bcbio-nextgen/blob/master/bcbio/variation/freebayes.py#L118 and our filter is here:  https://github.com/chapmanb/bcbio-nextgen/blob/97060a79fe3dc82fb7cf7953495d52f0ba8c40ad/bcbio/variation/freebayes.py#L217
Hope this is helpful to folks. Happy to work with anyone to improve calling.

Great work, very interesting read. Two questions:

Have you tried pindel for somatic indel calling? I'd be interested in
learning how it performs.
Is the pipeline for timor-only calling available?

Thanks,
Daniel
On Thu, Jan 22, 2015 at 4:46 PM, Brad Chapman<EMAIL_ADDRESS>wrote:

Matt, Erik and all;
We've done a lot of work on filtering somatic calls with FreeBayes and
have an in-progress writeup on the results validating against the DREAM
synthetic 3 data here:
https://github.com/chapmanb/bcbb/blob/master/posts/cancer_validation.org
There is a section specifically about improvements we were able to get
with FreeBayes, in additional to comparisons to other callers.
The code we use to call FreeBayes is here:
https://github.com/chapmanb/bcbio-nextgen/blob/master/bcbio/variation/freebayes.py#L118
and our filter is here:
https://github.com/chapmanb/bcbio-nextgen/blob/97060a79fe3dc82fb7cf7953495d52f0ba8c40ad/bcbio/variation/freebayes.py#L217
Hope this is helpful to folks. Happy to work with anyone to improve
calling.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/107#issuecomment-71040897.

Daniel;
Glad this is useful:

We did do some initial validation with pindel. With the default settings it was very accurate but less sensitive than Scalpel. We didn't explore more because it was slow for larger datasets. We were not able to turn off code that checks for larger structural variants when trying to use it just for smaller indel detection. You can see the work in progress here: https://github.com/chapmanb/bcbio-nextgen/blob/master/bcbio/structural/pindel.py.

The tumor-only prioritization happens by default when running within bcbio with a sample missing a matched normal. Apologies, I should have been more explicit about that and added a note to the write up.

Thanks again.

@chapmanb: Are you able to call any linked mutations using Freebayes for Tumor-only calling like KRAS G12C, G12D etc?

I'm not exactly sure from your question what outputs your looking for, but I did do work to call tumor-only variants and prioritize non-germline calls using data from ExAC and 1000 genomes. This is integrated as part of bcbio (https://github.com/chapmanb/bcbio-nextgen) and a write up on the approach is here:
http://bcb.io/2015/03/05/cancerval/
We run bcbio in the same way for tumor/normal and tumor-only, but need to do the post filtering with known population variants to try and remove germline. The options we use for FreeBayes somatic calling are here:
https://github.com/chapmanb/bcbio-nextgen/blob/f9e0cae9fd7c3770a1ef19244787484a295fb4c6/bcbio/variation/freebayes.py#L47
Hope this helps.

Hi Brad,
Thanks for your reply. I will check that out.
I want to generate VCF files. Currently I am looking for a caller to replace Illumina's Somatic variant caller which is inbuilt on the Miseq Reporter.
We run only Tumor samples in our assay and I wanted to be able to detect variants as low as 3%
I already tried running the software using --pooled-continuous and -F 0.001 in the default diploid mode.
I noticed though that the vcf Files does have some calls with multiple Variant alleles separated by a comma. Do I just ignore those? I think your write-up clarifies a lot of my questions.
Thanks again.
From: Brad Chapman<EMAIL_ADDRESS>Sent: Thursday, June 18, 2015 7:37 AM
To: ekg/freebayes
Cc: Shruti Bhide
Subject: Re: [freebayes] somatic calling (#107)
I'm not exactly sure from your question what outputs your looking for, but I did do work to call tumor-only variants and prioritize non-germline calls using data from ExAC and 1000 genomes. This is integrated as part of bcbio (https://github.com/chapmanb/bcbio-nextgen) and a write up on the approach is here:
http://bcb.io/2015/03/05/cancerval/
We run bcbio in the same way for tumor/normal and tumor-only, but need to do the post filtering with known population variants to try and remove germline. The options we use for FreeBayes somatic calling are here:
https://github.com/chapmanb/bcbio-nextgen/blob/f9e0cae9fd7c3770a1ef19244787484a295fb4c6/bcbio/variation/freebayes.py#L47
Hope this helps.
—
Reply to this email directly or view it on GitHubhttps://github.com/ekg/freebayes/issues/107#issuecomment-113175297.
DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.

You could filter the alleles using hard filters or other classifier
approaches based on annotations in the vcf file.
The idea with the open caller settings is more for freebayes to work as a
kind of first level compressor and filter over the sequencing data. In
effect freebayes turns the reference and read data into a description of a
series of bubbles bounded by the reference, with only minimal filtering.
On Jun 18, 2015 5:01 PM, "cellnetix-shruti"<EMAIL_ADDRESS>wrote:

Hi Brad,
Thanks for your reply. I will check that out.
I want to generate VCF files. Currently I am looking for a caller to
replace Illumina's Somatic variant caller which is inbuilt on the Miseq
Reporter.
We run only Tumor samples in our assay and I wanted to be able to detect
variants as low as 3%
I already tried running the software using --pooled-continuous and -F
0.001 in the default diploid mode.
I noticed though that the vcf Files does have some calls with multiple
Variant alleles separated by a comma. Do I just ignore those? I think your
write-up clarifies a lot of my questions.
Thanks again.
From: Brad Chapman<EMAIL_ADDRESS>Sent: Thursday, June 18, 2015 7:37 AM
To: ekg/freebayes
Cc: Shruti Bhide
Subject: Re: [freebayes] somatic calling (#107)
I'm not exactly sure from your question what outputs your looking for, but
I did do work to call tumor-only variants and prioritize non-germline calls
using data from ExAC and 1000 genomes. This is integrated as part of bcbio (
https://github.com/chapmanb/bcbio-nextgen) and a write up on the approach
is here:
http://bcb.io/2015/03/05/cancerval/
We run bcbio in the same way for tumor/normal and tumor-only, but need to
do the post filtering with known population variants to try and remove
germline. The options we use for FreeBayes somatic calling are here:
https://github.com/chapmanb/bcbio-nextgen/blob/f9e0cae9fd7c3770a1ef19244787484a295fb4c6/bcbio/variation/freebayes.py#L47
Hope this helps.
—
Reply to this email directly or view it on GitHub<
https://github.com/ekg/freebayes/issues/107#issuecomment-113175297>.
DISCLAIMER:
This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you have
received this message in error, please immediately advise the sender by
reply email and delete this message.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/107#issuecomment-113202169.

Great! Thanks Brad!
From: Erik Garrison<EMAIL_ADDRESS>Sent: Thursday, June 18, 2015 9:09 AM
To: ekg/freebayes
Cc: Shruti Bhide
Subject: Re: [freebayes] somatic calling (#107)
You could filter the alleles using hard filters or other classifier
approaches based on annotations in the vcf file.
The idea with the open caller settings is more for freebayes to work as a
kind of first level compressor and filter over the sequencing data. In
effect freebayes turns the reference and read data into a description of a
series of bubbles bounded by the reference, with only minimal filtering.
On Jun 18, 2015 5:01 PM, "cellnetix-shruti" <notifications<EMAIL_ADDRESS>wrote:

Hi Brad,
Thanks for your reply. I will check that out.
I want to generate VCF files. Currently I am looking for a caller to
replace Illumina's Somatic variant caller which is inbuilt on the Miseq
Reporter.
We run only Tumor samples in our assay and I wanted to be able to detect
variants as low as 3%
I already tried running the software using --pooled-continuous and -F
0.001 in the default diploid mode.
I noticed though that the vcf Files does have some calls with multiple
Variant alleles separated by a comma. Do I just ignore those? I think your
write-up clarifies a lot of my questions.
Thanks again.
From: Brad Chapman<EMAIL_ADDRESS>Sent: Thursday, June 18, 2015 7:37 AM
To: ekg/freebayes
Cc: Shruti Bhide
Subject: Re: [freebayes] somatic calling (#107)
I'm not exactly sure from your question what outputs your looking for, but
I did do work to call tumor-only variants and prioritize non-germline calls
using data from ExAC and 1000 genomes. This is integrated as part of bcbio (
https://github.com/chapmanb/bcbio-nextgen) and a write up on the approach
is here:
http://bcb.io/2015/03/05/cancerval/
We run bcbio in the same way for tumor/normal and tumor-only, but need to
do the post filtering with known population variants to try and remove
germline. The options we use for FreeBayes somatic calling are here:
https://github.com/chapmanb/bcbio-nextgen/blob/f9e0cae9fd7c3770a1ef19244787484a295fb4c6/bcbio/variation/freebayes.py#L47
Hope this helps.
—
Reply to this email directly or view it on GitHub<
https://github.com/ekg/freebayes/issues/107#issuecomment-113175297>.
DISCLAIMER:
This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you have
received this message in error, please immediately advise the sender by
reply email and delete this message.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/107#issuecomment-113202169.

—
Reply to this email directly or view it on GitHubhttps://github.com/ekg/freebayes/issues/107#issuecomment-113204406.
DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.

Thanks Erik.
I have some clarity after reading Brads post too.
From: Erik Garrison<EMAIL_ADDRESS>Sent: Thursday, June 18, 2015 9:09 AM
To: ekg/freebayes
Cc: Shruti Bhide
Subject: Re: [freebayes] somatic calling (#107)
You could filter the alleles using hard filters or other classifier
approaches based on annotations in the vcf file.
The idea with the open caller settings is more for freebayes to work as a
kind of first level compressor and filter over the sequencing data. In
effect freebayes turns the reference and read data into a description of a
series of bubbles bounded by the reference, with only minimal filtering.
On Jun 18, 2015 5:01 PM, "cellnetix-shruti" <notifications<EMAIL_ADDRESS>wrote:

Hi Brad,
Thanks for your reply. I will check that out.
I want to generate VCF files. Currently I am looking for a caller to
replace Illumina's Somatic variant caller which is inbuilt on the Miseq
Reporter.
We run only Tumor samples in our assay and I wanted to be able to detect
variants as low as 3%
I already tried running the software using --pooled-continuous and -F
0.001 in the default diploid mode.
I noticed though that the vcf Files does have some calls with multiple
Variant alleles separated by a comma. Do I just ignore those? I think your
write-up clarifies a lot of my questions.
Thanks again.
From: Brad Chapman<EMAIL_ADDRESS>Sent: Thursday, June 18, 2015 7:37 AM
To: ekg/freebayes
Cc: Shruti Bhide
Subject: Re: [freebayes] somatic calling (#107)
I'm not exactly sure from your question what outputs your looking for, but
I did do work to call tumor-only variants and prioritize non-germline calls
using data from ExAC and 1000 genomes. This is integrated as part of bcbio (
https://github.com/chapmanb/bcbio-nextgen) and a write up on the approach
is here:
http://bcb.io/2015/03/05/cancerval/
We run bcbio in the same way for tumor/normal and tumor-only, but need to
do the post filtering with known population variants to try and remove
germline. The options we use for FreeBayes somatic calling are here:
https://github.com/chapmanb/bcbio-nextgen/blob/f9e0cae9fd7c3770a1ef19244787484a295fb4c6/bcbio/variation/freebayes.py#L47
Hope this helps.
—
Reply to this email directly or view it on GitHub<
https://github.com/ekg/freebayes/issues/107#issuecomment-113175297>.
DISCLAIMER:
This message is intended for the sole use of the addressee, and may
contain information that is privileged, confidential and exempt from
disclosure under applicable law. If you are not the addressee you are
hereby notified that you may not use, copy, disclose, or distribute to
anyone the message or any information contained in the message. If you have
received this message in error, please immediately advise the sender by
reply email and delete this message.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/107#issuecomment-113202169.

—
Reply to this email directly or view it on GitHubhttps://github.com/ekg/freebayes/issues/107#issuecomment-113204406.
DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the addressee you are hereby notified that you may not use, copy, disclose, or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete this message.


Update iot-hub-devguide-messages-construct.md

remove incorrect info on Iot hub enqueued time

#sign-off

Hi @ash2017 - Contributors who work in the Product Manager role should work in the private repository for advanced quality validations and staging (you also can sign off directly in the private repo). To edit an article in the private repo from within the documentation, after you select Edit on an article page,  add “-pr” to the URL. Would you make the updates in the private repo? We'll close this PR. Thanks!

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We have closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions


Integrating into node.native

Dear Sir,
This library is amazing, and I'm trying to use it in node.native project (node.js c++ port).
since they are both event-driven, I don't know where to put the ioService.run() code. (maybe due to my poor understanding of boost asio), please help:
ioService.run();
return native::run();
The above 2 lines are both blocking function calls.
    int main()
        {
            boost::asio::ip::address redisAddress = boost::asio::ip::address::from_string("<IP_ADDRESS>");
        const int redisPort = 6379;

        boost::asio::io_service ioService;
        RedisClient redis(ioService);

        if( !redis.connect(redisAddress, redisPort) )
        {
            std::cerr << "Can't connecto to redis" << std::endl;
            return EXIT_FAILURE;
        }

        http server;
        int port = 8080;
        if(!server.listen("<IP_ADDRESS>", port, [&redis, &ioService](request& req, response& res) {
            if ( req.url().path() == "/user/create" ) user::create(req, res, redis, ioService);//some function doing redis access and out http response
            else
            {
                    res.set_status(404);
                    res.end("404 Not Found");
            }

        })) return 1; // Failed to run server.

        std::cout << "Server running at http://<IP_ADDRESS>:" << port << "/" << std::endl;
            ioService.run();
        return native::run();
    }

Thanks & Regards,
Simon

I do not know how to do it. I think you should use http server with boost::asio event loop (https://github.com/nekipelov/hserv) or redis library with libuv event loop (https://github.com/redis/hiredis).


Make the copy option more functional.

Fixed Issue no :- #3
Hay @jatiinyadav I have fixed the issue #3, which I have raised.
Here are the Changes  -

When hovering on the color code 'copy' text will be visible, but when copy is clicked this change 'copied' will be visible, this will make user confirmed that the color code is copied successfully.

Hi @Chayandev, Thankyou for you contribution.
I would like to suggest some changes:-

Please remove the Check mark icon.
It would be great if you add a popup (as you have mentioned in the issue) at the top right corner with text :
Copied {color_code}!!
Make sure that the popup disappears after 2 seconds.

Ok sure ...
On Sun, 8 Oct, 2023, 9:43 pm Jatin Yadav, @.***> wrote:

Hi @Chayandev https://github.com/Chayandev, Thankyou for you
contribution.
I would like to suggest some changes:-

Please remove the Check mark icon.
It would be great if you add a popup (as you have mentioned in the
issue) at the top right corner with text :
Copied {color_code}!!
Make sure that the popup disappears after 2 seconds.

—
Reply to this email directly, view it on GitHub
https://github.com/jatiinyadav/Color-Palettes/pull/4#issuecomment-1752095828,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AV5A3PWTU7BMPESCB2FIYP3X6LGJVAVCNFSM6AAAAAA5XYDUQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJSGA4TKOBSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

hay @jatiinyadav I fixed the code according to your proposal.
Here the changes :

@Chayandev Thankyou for your valuable contribution.


go build for daemon binary failed  master branch

I make a go build for daemon binary and failed.
It seems need to add  "github.com/go-openapi/spec" package in main.go and rechange RestoreAssets to
spec.RestoreAssets on line 433 ?
Important: Join our slack channel for immediate
support and an opportunity to ask questions. Please also have a look at our
FAQ for frequently asked questions first.
If you open a GitHub issue, please follow these guidelines:

It must be a bug or a feature request.
The form below must be filled out.

Bug reports
Title
Choose a descriptive title that summarizes the symptom of the bug
General Information

Cilium version (run cilium version)
Kernel version (run uname -a)
Orchestration system version in use (e.g. kubectl version, Mesos, ...)
Link to relevant artifacts (policies, deployments scripts, ...)

How to reproduce the issue

instruction 1
instruction 2

Feature Requests
Title
Choose a descriptive title, e.g. "Support delivering pizzas"
Description of requested functionality
Paragraph goes here
Example use cases
Use case description goes here
List of sub tasks

[ ] Task 1
[ ] Task 2
[ ] Task 3

@peiqi-caicloud were you able to fix this issue or you close it by accident?


export const x = "y" converts to exports.x = "y" and fails to be imported at runtime.

export const x does not work.
For example:
Expected Behavior & Steps to Reproduce the Problem
in file 'constants.ts'
export const SheetId = "sheetId1234";

in file code.ts
function main() {
  let ss = SpreadsheetApp.openById(SheetId);
  Logger.log(ss.getName());
}

Running main should log the Spreadsheet's name.
Actual Behavior
I get the error ReferenceError: SheetId is not defined
Specifications

Node version: 14.5
Version: 2.3.0
OS Mac: Mojave

I believe this to be a bug. Known issue?

Not sure if this is related to clasp or the way ts2gas transpilation works. Can't say, as I don't know much about how that transpilation works.
I pushed up the code with the same files except I explicitly aded exports when calling SheetId which seemed to solve the issue.
Below is what rendered on my side when I pushed it up to a script project.
In constants.gs
// Compiled using ts2gas 3.6.3 (TypeScript 3.9.7)
var exports = exports || {};
var module = module || { exports: exports };
exports.SheetId = void 0;
exports.SheetId = "id123";

In code.gs
// Compiled using ts2gas 3.6.3 (TypeScript 3.9.7)
var exports = exports || {};
var module = module || { exports: exports };

function main() {
    console.log(exports);
    console.log(exports.SheetId);

    var ss = SpreadsheetApp.openById(exports.SheetId);
    Logger.log(ss.getName());
    console.log(ss.getName());
}

In my logs:
DEBUG      2020-07-23T04:18:24.035Z N/A {"message":"{ SheetId: 'id123' }","serviceContext":{"service":"..."}}
DEBUG      2020-07-23T04:18:24.038Z N/A {"message":"id123","serviceContext":{"service":"..."}}

Alternatively running it without the export seems to work.

It is not currently supported, but there are some workarounds in their docs:
https://github.com/google/clasp/blob/master/docs/typescript.md

It is not currently supported, but there are some workarounds in their docs:
https://github.com/google/clasp/blob/master/docs/typescript.md

Well, in the doc's example, it does not what it claims to behave as:
// Export (The export keyword is ignored)
export const pi = 3.141592;

But as we all know, export is not ignored.
Although @leeyspaul 's solution does work, you cannot have this on the local copy, so I decided to go with wrapping in a function:
export function getSheetId(): string {
    return "sheetId1234";
}

The link to the thread does seem to be related. Thanks for pointing me to the thread.
Thank you all for the suggestion :D

There is another trick that I've figured - you can declare the vars without export and in the end of the file add
export {varX, varY}
The thing is that appsscript expect it to be without export, but typescript needs this export to tell the compiler that those vars are intended (and allowed) to be imported somewhere else.
in appsscript, vars are anyways accessible in other files as they are globally defined, so this way you both define it globally for appsscript (but ts will encapsulate them from the usage in other files), and also export them (which will be used to regularly export vars in TS, but will be kind of ignored in appsscript).
Thats for sure better than wrapping every global var in a function :)
Wish it helps!

There is another trick that I've figured - you can declare the vars without export and in the end of the file add
export {varX, varY}
The thing is that appsscript expect it to be without export, but typescript needs this export to tell the compiler that those vars are intended (and allowed) to be imported somewhere else.
in appsscript, vars are anyways accessible in other files as they are globally defined, so this way you both define it globally for appsscript (but ts will encapsulate them from the usage in other files), and also export them (which will be used to regularly export vars in TS, but will be kind of ignored in appsscript).
Thats for sure better than wrapping every global var in a function :)
Wish it helps!
const a = 'BLA_BLA';

...

export {
   a
}

NOICE. Thanks for sharing :)
I'm going to make the changes in my code.


Android API <16 got Java.Lang.NoSuchMethodError: android.view.View.setBackground

Hello,
I'm testing a new app using your PayPal.Forms on a tablet with Android 4.0.4.
Could be possible to implement the method setBackgroundResource instead which is available since version 1? I don't know if this is an issue or something, thank you anyway.
Simone

4.0.4 is not supported by PayPal SDK I recommend to target min 4.1(recommended) or 4.3(best)

thank you very much for your time n°1


Added new web bluetooth samples

Please @scheib, can you review these new web bluetooth samples that will be linked from WebFundamentals article?
This should be straightforward.
@jeffposnick may you have a look at the index.html file and see if that fits well with googlechrome/samples architecture?

Can @jyasskin have a look as well?

Can you keep the README.md? It's fine to customize the content if you don't like the current format, and it's nice to have it around for those browsing using GitHub's web interface.

LGTM

@jeffposnick If that looks good to you, could you merge it?

:+1:


how to create workflow and pods in specific namespace ?

Question :
=  how to create workflow and pods in specific namespace ?

Do you mean to say you need to deploy argo controller in one namespace but create workflow resource and subsequently workflow pod in another?

@jessesuen thoughts on adding multiple informers for different namespaces in controller?


Added a Flag to Disable Transcoding

This allows users to stream the original versions of songs instead of
transcoding them on the fly.
This implements the idea outlined in #527.

Here it is in action