Add ZAP to collateral contract

There is the UbiquityPoolFacet contract which allows users to:

transfer any ERC20 tokens to the contract in exchange for UAD
redeem UAD tokens from the contract in exchange for the collateral ERC20 tokens

We should have the ability to swap any ERC20 token to LUSD under the hood when user deposits collateral in order to mint UAD. Swaps should be made via the Cow Protocol.
Notice that:

there might be edge cases on mint or redeem when there is not enough liquidity in the pools
the underlying collateral token (LUSD in our case) should be configurable (i.e. we should be able to update it to some other token)

Original decsription:

we want user to be able to ZAP In any token to be swapped to $LUSD to retrieve uAD as described in #609

I assume 1. that we can fork how zapper does it 2. they call Uniswap to complete the transaction.

Didn't someone build a ZAP contract for another feature before? If not this one should be built in a more extendable manner, so it'd be able to ZAP to any of our existing or future contracts. Instead of having to build a bespoke zapper for each one.

@zapaz built the zap lol
Check out the Instadapp codebase under our organization.

/assign

/unassign

Is this issue still open?

This is very old code but if I remember correctly it had similar capabilities as this bounty, except that it was built inside of the context of Instadapp.
Please feel free to use it as reference.
https://github.com/ubiquity/ubiquity-instadapp/tree/master/backend/contracts/mainnet/resolvers/ubiquity

This issue https://github.com/ubiquity/ubiquity-dollar/issues/609 added the ability for users to:

Transfer ERC20 tokens to the contract in exchange for UAD
Redeem UAD tokens from the contract in exchange for the collateral ERC20 tokens

we want user to be able to ZAP In any token to be swapped to $LUSD to retrieve uAD as described in https://github.com/ubiquity/ubiquity-dollar/issues/609

So this issue describes this feature:

User should be able to transfer any collateral ERC20 token
Under the hood the collateral is swapped for LUSD

On step 2 we need to swap collateral ERC20 tokens for LUSD using any audited DEX aggregator, like 1inch
Is the description correct?

zapping smells flashloan like

On step 2 we need to swap collateral ERC20 tokens for LUSD using any audited DEX aggregator, like 1inch
Is the description correct?

Seems all correct but I would pick CoW Swap

On step 2 we need to swap collateral ERC20 tokens for LUSD using any audited DEX aggregator, like 1inch
Is the description correct?

Seems all correct but I would pick CoW Swap

Updated description

Notice that:

there might be edge cases on mint or redeem when there is not enough liquidity in the pools

Can you explain to me the edge cases? I don't understand the issue.

the underlying collateral token (LUSD in our case) should be configurable (i.e. we should be able to update it to some other token)

We should be able to eventually enable support for more assets. In the original specification for implementing the collateral module, I remember asking to enable support for sUSD as well, and then disable after we deploy so that the architecture to support multiple collateral types is included.

Notice that:

there might be edge cases on mint or redeem when there is not enough liquidity in the pools

Can you explain to me the edge cases? I don't understand the issue.

I meant that freshly created ERC20 tokens might not have any liquidity at all so the swap would not be possible but I guess the CoW Protocol has already covered such cases

the underlying collateral token (LUSD in our case) should be configurable (i.e. we should be able to update it to some other token)

We should be able to eventually enable support for more assets in case there are issues with acquiring new LUSD. In the original specification for implementing the collateral module, I remember asking to enable support for sUSD as well, and then we should disable sUSD deposits after we deploy so that the architecture to support multiple collateral types is implemented.

Yes, I overlooked this feature. Multicolalteral feature (along with disabling deposits for certain ERC20 tokens) is already implemented as a part of https://github.com/ubiquity/ubiquity-dollar/issues/609.
Deleted this line from the description:

"the underlying collateral token (LUSD in our case) should be configurable (i.e. we should be able to update it to some other token)"

this is basically an array of addresses address[] virtualized on an interface so that it supports further tokens && more importantly so that it handles different chains, because tokens are not the same on the different chains, neither exchanges (exchanges are realtive, UniV2 impl, etc), and liquidity but there is probably more under the hood, am stepping if not bounty hunter comes, on and after latests pull requests

because tokens are not the same on the different chains

@pavlovcik do we have plans to run UAD on different networks apart from ethereum mainnet?

If omnibridge works as expected then we can dynamically deploy on Gnosis Chain for payment settlement in uAD.
If we can't rely on that for some reason then we might need to deploy an instance on Gnosis Chain.
However I think it's overkill to redeploy the entire protocol in multiple networks. Arbitrageurs should keep stability intact.

it's overkill to redeploy the entire protocol on multiple networks

ok, so right now the focus is only on the ethereum mainnet

/assign

The best way to achieve this would be using CoW Hooks. The major limitation is that it only works with tokens that support EIP-2612 Permit. This should be fine for the majority of uses but some tokens won't be usable with the zap function. May need to create a predefined list of compatible tokens to avoid confusion.

The only token that comes to mind in my normal usage of CoW Swap is the dYdX token regarding incompatibility. I think it would be considered quite the edge case and probably not a significant issue compared to the benefits but I appreciate the caveat.

@rndquu  should we close this as unplanned

i think it's a nice feature to have but we can close as not completed, for future developing if we see the value on the actual live protocol out of the necessity, my thoughts

Yes, it is not a "must have" feature hence it makes sense to save time and close it as "not planned"


GPII-3464: Update gpii-express dependencies (October 2018).

See GPII-3464 for details.

This is fine to merge


Mininet patches from Big Switch

So, here is the first batch of mininet patches from big switch; normally they would create the pull request, but to get things started and to facilitate some discussion and code review, I've created the pull request myself.
This is (as far as I can tell) revised to have the correct rebase, which seems to have reordered some of my commits to master. We can discuss those as well, but my intent is to discuss the big switch changes.
I haven't reviewed everything, but a couple of things I've seen so far look pretty reasonable, including using sudo so Mininet is only root for the root-like things it needs to do (and so it can be imported into average python code not running as root), and a fix for the annoying control-c-kills-your-xterms (and other subprocesses) bug (assuming that the fix is good and works.)
Although this is a mass of patches, we may want to cherry-pick specific commits.
I'm (hopefully) cc'ing Ed and Mike from big switch so they can join the discussion.
/cc @eswierk @mscohen02

The chunk of dupes at the end are gone, so this is getting closer. Still,
there's a bunch of commits from Oct/Nov 2010 that Bob made that I aren't in
the current GitHub master branch. So the BS series is based on stuff that
hasn't made it into master.  Either:
(a) Bob's commits should have gone into master, in which case those commits
should be reviewed/rejected first, and the BS series rebased.
(b) Bob's commits shouldn't have or aren't ready, and the pull request
should be rebased to remove those older commits that precede the BS
additions.  If the BS guys have been using these commits happily, then hey,
let's pull 'em in.
These commits aren't in github master or testing, but they are in a branch
in the original gitosis repo called lantz/userovs.  Maybe this should get
pushed to the github repo (and rebased first)?
Bob, what's the status of this code?
Thanks,
-b
On Tue, Oct 25, 2011 at 3:58 PM, Bob <
<EMAIL_ADDRESS>
[Revised to have correct rebase. -BL]
So, here is the first batch of mininet patches from big switch; normally
they would create the pull request, but to get things started and to
facilitate some discussion and code review, I've created the pull request
myself.
I haven't reviewed everything, but a couple of things I've seen so far look
pretty reasonable, including using sudo so Mininet is only root for the
root-like things it needs to do (and so it can be imported into average
python code not running as root), and a fix for the annoying
control-c-kills-your-xterms (and other subprocesses) bug (assuming that the
fix is good and works.)
Although this is a mass of patches, we may want to cherry-pick specific
commits.
I'm (hopefully) cc'ing Ed and Mike from big switch so they can join the
discussion.
/cc @eswierk @mscohen02
You can merge this Pull Request by running:
git pull https://github.com/lantz/mininet bigswitch-patches-sep6
Or you can view, comment on it, or merge it online at:
https://github.com/mininet/mininet/pull/2
-- Commit Summary --

Beginning crack at user OVS. However, packets aren't forwarded; annoying
error.
Working on getting user mode OVS.
Remove debug printing for startintfs.
Cleaned up OVS user sitch and made moduledeps more verbose.
Added support for OVS controller.
Added code to delete stale OVS datapaths.
Include mnexec.c in the Python sdist package, and compile mnexec
Add a parameter to waitOutput that allows searching for a specific
pattern
Host mobility support for attaching/detaching hosts from switches.
Run commands with sudo so mininet can be directly imported by
Spawn shell subprocesses in a pseudo-tty, to insulate it from signals
Look for \r\n rather than just \n, now that shell subprocesses are
Integrate RemoteSwitch class into mininet; add explicit dpid field to
Kill stale user-mode switch processes on initialization

-- File Changes --
A MANIFEST.in (2)
M bin/mn (5)
M mininet/clean.py (11)
M mininet/cli.py (34)
M mininet/moduledeps.py (9)
M mininet/net.py (85)
M mininet/node.py (244)
M mininet/util.py (2)
M setup.py (34)
-- Patch Links --
https://github.com/mininet/mininet/pull/2.patch
https://github.com/mininet/mininet/pull/2.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2

We have been running our changes internally for some time.  Its not clear to
me how the pull request got so confused but I've added Ed, who can help us
sort this out.
On Tue, Oct 25, 2011 at 4:14 PM, Brandon Heller <
<EMAIL_ADDRESS>
The chunk of dupes at the end are gone, so this is getting closer. Still,
there's a bunch of commits from Oct/Nov 2010 that Bob made that I aren't in
the current GitHub master branch. So the BS series is based on stuff that
hasn't made it into master.  Either:
(a) Bob's commits should have gone into master, in which case those commits
should be reviewed/rejected first, and the BS series rebased.
(b) Bob's commits shouldn't have or aren't ready, and the pull request
should be rebased to remove those older commits that precede the BS
additions.  If the BS guys have been using these commits happily, then hey,
let's pull 'em in.
These commits aren't in github master or testing, but they are in a branch
in the original gitosis repo called lantz/userovs.  Maybe this should get
pushed to the github repo (and rebased first)?
Bob, what's the status of this code?
Thanks,
-b
On Tue, Oct 25, 2011 at 3:58 PM, Bob <
<EMAIL_ADDRESS>
[Revised to have correct rebase. -BL]
So, here is the first batch of mininet patches from big switch; normally
they would create the pull request, but to get things started and to
facilitate some discussion and code review, I've created the pull request
myself.
I haven't reviewed everything, but a couple of things I've seen so far
look
pretty reasonable, including using sudo so Mininet is only root for the
root-like things it needs to do (and so it can be imported into average
python code not running as root), and a fix for the annoying
control-c-kills-your-xterms (and other subprocesses) bug (assuming that
the
fix is good and works.)
Although this is a mass of patches, we may want to cherry-pick specific
commits.
I'm (hopefully) cc'ing Ed and Mike from big switch so they can join the
discussion.
/cc @eswierk @mscohen02
You can merge this Pull Request by running:
git pull https://github.com/lantz/mininet bigswitch-patches-sep6
Or you can view, comment on it, or merge it online at:
https://github.com/mininet/mininet/pull/2
-- Commit Summary --

Beginning crack at user OVS. However, packets aren't forwarded;
annoying
error.
Working on getting user mode OVS.
Remove debug printing for startintfs.
Cleaned up OVS user sitch and made moduledeps more verbose.
Added support for OVS controller.
Added code to delete stale OVS datapaths.
Include mnexec.c in the Python sdist package, and compile mnexec
Add a parameter to waitOutput that allows searching for a specific
pattern
Host mobility support for attaching/detaching hosts from switches.
Run commands with sudo so mininet can be directly imported by
Spawn shell subprocesses in a pseudo-tty, to insulate it from signals
Look for \r\n rather than just \n, now that shell subprocesses are
Integrate RemoteSwitch class into mininet; add explicit dpid field to
Kill stale user-mode switch processes on initialization

-- File Changes --
A MANIFEST.in (2)
M bin/mn (5)
M mininet/clean.py (11)
M mininet/cli.py (34)
M mininet/moduledeps.py (9)
M mininet/net.py (85)
M mininet/node.py (244)
M mininet/util.py (2)
M setup.py (34)
-- Patch Links --
https://github.com/mininet/mininet/pull/2.patch
https://github.com/mininet/mininet/pull/2.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2

--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2524451

Brandon, I am not 100% sure where those commits came from originally. I added nothing that wasn't in either mininet/mininet or bigswitch/mininet.

@lantz
Ok, that explains the discrepancy.  Since the userovs changes aren't tested, can you split them out and push them to a branch on your mininet repo (to get reviewed/tested/merged later), then split out the BS parts from this pull request, create a new one, and close it?
Thanks Bob, I know I'm asking without doing today - but I'm working to get Ali Y up to speed here, and in his critical path.

I was trying to avoid adding a large amount of extra work for myself, and extra delay for discussing the big switch changes.
Is there some strong reason not to do what I suggested in the pull request and just use it to discuss the big switch changes?
On Oct 25, 2011, at 4:40 PM, Brandon Heller wrote:

@lantz
Ok, that explains the discrepancy.  Since the userovs changes aren't tested, can you split them out and push them to a branch on your mininet repo (to get reviewed/tested/merged later), then split out the BS parts from this pull request, create a new one, and close it?
Thanks Bob, I know I'm asking without doing today - but I'm working to get Ali Y up to speed here, and in his critical path.
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2524657

As long as the code makes it in, in good shape, I'm happy.  Cherry-picking works fine when it isn't a ton of commits, like this .  Let's do that, like you originally suggested, and separately figure out whether the userovs commits should get merged.   I'll review the BS code.
  I can do this for ovs if you think it's too much work.

@brandonh
Actually now that I realize what happened it wasn't terribly difficult to push a feature branch for userovs to github. It is at:
https://github.com/lantz/mininet/tree/userovs
I also added OVSUserSwitch to tests and it seems to pass.
On Oct 25, 2011, at 4:53 PM, Brandon Heller wrote:

As long as the code makes it in, in good shape, I'm happy.  Cherry-picking works fine when it isn't a ton of commits, like this .  Let's do that, like you originally suggested, and separately figure out whether the userovs commits should get merged.   I'll review the BS code.
  I can do this for ovs if you think it's too much work.
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2524775

Cool, then do you want to send a pull request to mininet/mininet and cc me?
I think we should get in the habit of having someone else review all
non-install.sh code changes.
-b
On Tue, Oct 25, 2011 at 6:20 PM, Bob <
<EMAIL_ADDRESS>
@brandonh
Actually now that I realize what happened it wasn't terribly difficult to
push a feature branch for userovs to github. It is at:
https://github.com/lantz/mininet/tree/userovs
I also added OVSUserSwitch to tests and it seems to pass.
On Oct 25, 2011, at 4:53 PM, Brandon Heller wrote:

As long as the code makes it in, in good shape, I'm happy.
Cherry-picking works fine when it isn't a ton of commits, like this .
Let's do that, like you originally suggested, and separately figure out
whether the userovs commits should get merged.   I'll review the BS code.
  I can do
this for ovs if you think it's too much work.
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2524775

--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2525405

Not a bad idea; done.
On Oct 25, 2011, at 6:34 PM, Brandon Heller wrote:

Cool, then do you want to send a pull request to mininet/mininet and cc me?
I think we should get in the habit of having someone else review all
non-install.sh code changes.
-b
On Tue, Oct 25, 2011 at 6:20 PM, Bob <
<EMAIL_ADDRESS>
@brandonh
Actually now that I realize what happened it wasn't terribly difficult to
push a feature branch for userovs to github. It is at:
https://github.com/lantz/mininet/tree/userovs
I also added OVSUserSwitch to tests and it seems to pass.
On Oct 25, 2011, at 4:53 PM, Brandon Heller wrote:

As long as the code makes it in, in good shape, I'm happy.
Cherry-picking works fine when it isn't a ton of commits, like this .
Let's do that, like you originally suggested, and separately figure out
whether the userovs commits should get merged.   I'll review the BS code.
  I can do
this for ovs if you think it's too much work.
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2524775

--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2525405

--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2525508

Gentlemen,
github claims that you all were notified of the mininet pull requests I submitted today (one for the bigswitch changes and one for the userovs changes) - did you receive notifications on github or otherwise?
If not, I will explicitly cc you in the pull request message,
Bob

I got the github notification.  You should add Ed though too since he
authored most of the changes.
On Tue, Oct 25, 2011 at 7:24 PM, Bob <
<EMAIL_ADDRESS>
Gentlemen,
github claims that you all were notified of the mininet pull requests I
submitted today (one for the bigswitch changes and one for the userovs
changes) - did you receive notifications on github or otherwise?
If not, I will explicitly cc you in the pull request message,
Bob
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2525794

Yep, got the notification via email through github for both
On Tue, Oct 25, 2011 at 7:23 PM, Bob <
<EMAIL_ADDRESS>
Gentlemen,
github claims that you all were notified of the mininet pull requests I
submitted today (one for the bigswitch changes and one for the userovs
changes) - did you receive notifications on github or otherwise?
If not, I will explicitly cc you in the pull request message,
Bob
--
Reply to this email directly or view it on GitHub:
https://github.com/mininet/mininet/pull/2#issuecomment-2525794


[FLINK-8943] [ha] Fail Dispatcher if jobs cannot be recovered from HA store

What is the purpose of the change
In HA mode, the Dispatcher should fail if it cannot recover the persisted jobs. The idea
is that another Dispatcher will be brought up and tries it again. This is better than
simply dropping the not recovered jobs.
cc @GJL
Brief change log

Fail the Dispatcher/JobManager in case that we cannot recover a persisted job

Verifying this change

Added DispatcherTest#testFatalErrorAfterJobIdRecoveryFailure and DispatcherTest#testFatalErrorAfterJobRecoveryFailure

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Hi @tillrohrmann there is one question I want ask about this PR, is it means that in HA mode we can't tolerant jobs partial broken?

please just ignore my question...

Yes @sihuazhou. In such a case the JM will terminate in order to let another JM try to recover the jobs.

Thanks for your reply ;)

Thanks for the review @GJL. I've addressed your comments and rebased onto the soon to be master.

I had one more comment regarding Thread.interrupted().

Thanks @GJL. I've addressed your comments.


Linked_list : All operation in linked_list using java

Explanation
A list of data given. print the data based on which operation whatever you select like 1:insert_first 2:delete 3:traversal 4:insert_after 5:DELETE-KEY 6:insert_last 7:delete_last.
hey @tarun26091999 @rudrakshi99 I want to add this important question in the "Algo-Tree/Code/Java/".

all these issue are assigned already.


Support Verify contract on Fantom

Component
Forge
Describe the feature you would like
Trying to verify contract on Fantom (chain-id 250) doesn't work
Additional context

Should be fixed with the commit i made into ethers-rs

Would like some confirmation and then we can close, we might not have updated ethers in Foundry yet :smile:

Yep fixed now


FTB Utilities incompatibility

ColouredChat throws a null pointer exception when ftb utils is installed
https://gist.github.com/uberifix/e3a3940070f265a3a01dc624d9448f81
This error can be resolved with a small workaround by just disabling Ranks:override_chat in the configs

I have the same probelm, on my server, none of my players can talk in chat

For now I have added a null check and a warning message.
This should make it so it no longer throws exceptions and causes chat to not send at all, as well as alert users to the actual problem.
Will have to figure out how to parse text components differently to make it actually compatible.


Change to use ukhomeoffice npm account

Tim, did you just copy paste this from another project or did you use encrypt?


File names that start with a number cause a crash

Problem
File names that start with a number seem to cause a problem with the file name sorting done for the UI.
How to reproduce
Create a file that starts with a number, like 1.txt.  Then, run tl with that file and another one:
tl 1.txt /var/log/system.log

I see a traceback that ends with this:
  File "/opt/homebrew/lib/python3.11/site-packages/toolong/ui.py", line 91, in __init__
    self.file_paths = self.sort_paths(file_paths)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/toolong/ui.py", line 88, in sort_paths
    return sorted(paths, key=key)
           ^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'int' and 'str'

Details
It looks like the following code is trying to do a natural sort, but doesn't handle all the cases well:
https://github.com/Textualize/toolong/blob/9fe54a6bcd6bcc2b1066c762057b0de812dcd155/src/toolong/ui.py#L82-L86

Thanks. Should be fixed in 1.1.1


Improve selecting build cache

I want to merge this change because this improves selecting versions for cache-from and cache-to.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: CLOUD-1567 Speed up Saleor builds


Support for all Input Types

Not all of the input types are supported. For example, data-bind does not work for the color input.

This works for me. Please provide a test case that shows it not working.
<input data-bind-color type="color">

Color:


Flash Attention seems broken

Hello,
Thanks for a very useful and well documented package. Great effort!
I have tried to train the model with flash attention enabled, and ran into the following error:
....
  File "/bmm/home/et517/.conda/envs/openfold/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/bmm/home/et517/code/openfold/openfold/model/msa.py", line 284, in forward
    flash_mask=mask,
  File "/bmm/home/et517/.conda/envs/openfold/lib/python3.7/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/bmm/home/et517/code/openfold/openfold/model/primitives.py", line 502, in forward
    o = _flash_attn(q, k, v, flash_mask)
  File "/bmm/home/et517/code/openfold/openfold/model/primitives.py", line 718, in _flash_attn
    softmax_scale = 1., # q has been scaled already
  File "/bmm/home/et517/.conda/envs/openfold/lib/python3.7/site-packages/flash_attn/flash_attn_interface.py", line 301, in flash_attn_unpadded_kvpacked_func
    return_attn_probs)
  File "/bmm/home/et517/.conda/envs/openfold/lib/python3.7/site-packages/flash_attn/flash_attn_interface.py", line 98, in forward
    max_seqlen_k, dropout_p, softmax_scale, causal=causal, return_softmax=return_softmax
  File "/bmm/home/et517/.conda/envs/openfold/lib/python3.7/site-packages/flash_attn/flash_attn_interface.py", line 23, in _flash_attn_forward
    softmax_scale, False, causal, return_softmax, num_splits, generator
RuntimeError: cu_seqlens_k must have shape (batch_size + 1)

The error comes from Flash Attention C code, but I think that it is caused by incorrect reshaping of kv_mask in primitives.py:_flash_attn. It might have been caused by some changes on their side. According to their github page, they have made a number of releases in the last few months. I am using 0.2.8, which is the most recent right now.
I have corrected the mask shape on my branch and got rid of that particular error.
I have tried running the fixed version, but now the losses are NaN. Any ideas what might be causing this? It seems to run OK without Flash.
What kind of performance improvement should I be expecting, anyway? I am running on two servers with 4  Nvidia Quadro RTX 6000 each, and without flash each training batch takes about 1 minute, which seems a bit too slow.
Alternatively, if you could provide an older version of Flash that is proven to work, it would be much appreciated.

I haven't personally gotten FlashAttention training working (I see very similar issues/slow runtimes). It's currently included in the package as an inference-time optimization.

Thanks for the update. To clarify, the slow runtime (30 seconds to 1 minute per training step) is without flash attention. I thought the way to speed things up would be to enable flash attention. Should I be expecting anything faster on my hardware? Any tips on how to debug slow runtimes?

Are you using the "initial_training" setting?

Yes, I am


Doesn't work on Raspberry

I am using a Raspberry π (Debian) and tried to run it, but I got this:
The name org.freedesktop.Notifications was not provided by any .service files.

I installed "dunst" (notification daemon already installed) and the error disappeared.
However, it still doesn't work. I added the no-expiration, a sound hint (I can play sounds on my machine) but it simply executes silently. After many consecutive runs at best I see something flashing on the notification area for what seems like a millisecond because that's what I get at best.

Okay, I got it to work but the project README doesn't sufficiently document how to use it. That's the purpose of publishing it on GitHub.
So, on my Raspberry π (Linux Debian-based):

notification-daemon was installed but not sufficient to run. It would go fatal with a "no freedesktop service error."
Installed dunst (didn't try other alternatives). Now it would run but the notification couldn't be seen.
I suggest users to run the test and see what capabilities are reported by the unit test.

I reworked the code to get it working. Basically if you spit the notification out and immediately close it, the user won't see anything; therefore it was a bad example. At the minimum for a working example, a Sleep of a few seconds should be added. However, I am using channels & timeout to decouple the notification from the closing of the same should the user not click on it.
So I suggest:

a better example (not just a unit test)
more complete examples, like formatting the notification body.

Anyway, great thing to add in my GO programs.


Adapter: Handling multiple condition values

Hi there! First off, this is a really neat project and I sincerely appreciate you all putting it out there into the world. It seems like this is being very actively developed and I’m eager to see it progress.
I was just acquainting myself a bit with the code and architecture and ran across this comment:
https://github.com/Ladder99/ladder99-ce/blob/9a583d7c255a1c2edb7c2472ab9352056b6fb733/services/adapter/src/cache.js#L144
Coincidentally, I read about this exact case earlier today in a MTConnect PowerPoint presentation that I’m now struggling to find. Anyways: Apparently the correct move here is to key Condition off of ID + native code. You can have more than one condition value for an ID, but only one for an ID + native code.
Say there are 3 conditions present at a machine tool:
logic_cond warning code=1
logic_cond warning code=2
logic_cond fault code=3
All 3 should be broadcast via SHDR. If the fault resolves, you broadcast:
logic_cond normal code=3
but the warnings for code 1/2 remain. When all warning conditions resolve, you can broadcast normal without reference to a native code.
At least that was my understanding as of earlier today! Please feel free to close this issue/manage it how you will, but I thought I’d share in case it was helpful and because the coincidence was just too delightful.

Hey Zach, thank you for your comment! The approach you mention does sound good.
We had started a Zebra printer driver a while back, but currently it just reports an error if there are any errors, or a warning, or normal -
https://github.com/Ladder99/ladder99-ce/blob/a2dbac92963f9fb096e6c84b311d67c082748ef0/services/adapter/src/drivers/printer/zebra.js#L238
When we revisit this driver I'll store all the errors and warnings in the value passed to the cache, and compare them with those in the previous value, and report the status(es) accordingly via SHDR.
There's also a qualifier which looks like it could be part of the key (from part 3 of the standard) -
1051 When a qualifier of either HIGH or LOW is used with Fault and Warning, the
1052 Fault States can be differentiated as follows:
1053 Fault,LOW
1054 Warning,LOW
1055 Normal
1056 Warning,HIGH
1057 Fault,HIGH
I'll leave this issue open until we implement the handler.
Thanks again - let us know if you need help with anything. The repo is currently on version 0.7 in the 'develop' branch - working on 0.8 in the 'relay' branch.
Brian
<EMAIL_ADDRESS>

Thanks for the response, Brian!
I don’t believe Qualifier should be a part of the key. The qualifier is
meant to indicate the “direction” in which something is out of tolerance.
The example I saw was something like oil temp — a warning about it being
high could use a “HIGH” qualifier to provide more information.
Given that, qualifier is more about providing context to the warning — I
don’t believe it would make sense for a warning (with same native code) to
ever have two entries with two different qualifiers, since that would be
like saying the oil temp is both too high and too low at the same time.
—
I’ve been checking out the develop and relay branches as well. I’m amazed
by the amount of work you’ve done on this! As a tiny bit of personal
context: I found this project only a few days ago while looking for
reference adapter implementations. I’m working on my own small shop monitor
system (2 machines) and plan to write an adapter for our Brother Speedio
(vs paying the $1500 for one that I believe exposes less data than I’ll be
able to).
Our front-end needs are pretty different than the Ladder99 default, but
it’s suuuuper cool to see that we made basically the same backend decisions
(Postgres + timescaledb). I’m now thinking of potentially using the
Ladder99 pipeline and just sticking my own app in front of the database.
Anyways, I may bug you later on for a bit of implementation/setup help, but
for now I’m learning a lot just reading through your source.
On Tue, Apr 26, 2022 at 6:23 AM Brian Burns @.***>
wrote:

Hey Zach, thank you for your comment! The approach you mention does sound
good.
We had started a Zebra printer driver a while back, but currently it just
reports an error if there are any errors, or a warning, or normal -
https://github.com/Ladder99/ladder99-ce/blob/a2dbac92963f9fb096e6c84b311d67c082748ef0/services/adapter/src/drivers/printer/zebra.js#L238
When we revisit this driver I'll store all the errors and warnings in the
value passed to the cache, and compare them with those in the previous
value, and report the status(es) accordingly via SHDR.
There's also a qualifier which looks like it could be part of the key
(from part 3 of the standard) -
1051 When a qualifier of either HIGH or LOW is used with Fault and
Warning, the
1052 Fault States can be differentiated as follows:
1053 Fault,LOW
1054 Warning,LOW
1055 Normal
1056 Warning,HIGH
1057 Fault,HIGH
I'll leave this issue open until we implement the handler.
Thanks again - let us know if you need help with anything. The repo is
currently on version 0.7 in the 'develop' branch - working on 0.8 in the
'relay' branch.
Brian
@.***
—
Reply to this email directly, view it on GitHub
https://github.com/Ladder99/ladder99-ce/issues/130#issuecomment-1109622102,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD3BAWL4IOF5O47XW6EFW3VG673DANCNFSM5UHDBH4A
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah you're right, no need for qualifier in the key!
Yeah pg/timescaledb is great, very flexible. The current db structure is a little experimental with nodes and edges tables, though we could switch to a more conventional table structure if needed, when we optimize everything in v0.9.
I'm refactoring the db a bit in the relay branch / v0.8, but should end up with the same or similar views. We need to be able to point the Relay at any combination of Agents, and there could be device name and dataitem id collisions, so need to handle things a little differently.
What kind of frontend are you planning to make?

The db structure is definitely neat! I enjoyed reading through the migrations. I've used jsonb a fair amount before, but usually to store unknown/unstructured data. My initial concern was maybe losing some of timescaledb's performance or functionality by storing so much in jsonb, but I know pg has come a long way in terms of query/indexing/etc. performance on JSON.
Storing underlying data as a graph and then using views (possibly some materialized) to create a more "conventional" interface could be a good approach.
As for what I'm working on: my focus is primarily on real-time monitoring for a small shop where everyone wears a lot of hats and are running between the shop and office:

At the moment, the benefit we're getting from it is less about understanding machine utilization and more about making sure that the next pallet is loaded up by the time the cycle is finished. =) In addition to storing underlying MTC data, I have a small state machine that's tracking and logging program executions. The eventual goal is to tie programs to parts and material and be able to use this for higher-level production tracking.
The source is closed for the time being, mostly because I need to more carefully audit the IP camera integration. All in all it consists of a RedwoodJS web application (sort of regretting it because Prisma is pretty limiting when you want to do fancy SQL things) and a Raspberry Pi that's 1) ingesting MTConnect data and 2) transcoding RTSP video from the IP cameras to something that can be streamed in a browser.

Zach, thanks for the kind words.  Brian has put a lot of thought behind the design of Ladder99.  Our focus has never been on the front-end but more on the validity and usability of data by MTC apps and SQL has been our proving ground.  This would the north side direction for Ladder99.  Focus for the south side of the Agent is adapter and device model development, which still needs more thought.

plan to write an adapter for our Brother

I would be interested in the details as we will have to develop a Brother as well.
We also have an adapter for Fanuc CNCs.  https://github.com/Ladder99/fanuc-driver

IP camera integration

Would there be value in capturing frames from the video feed and referencing them somewhere in MTC Assets?

Coincidentally, I read about this exact case earlier today in a MTConnect PowerPoint presentation that I’m now struggling to find. Anyways: Apparently the correct move here is to key Condition off of ID + native code. You can have more than one condition value for an ID, but only one for an ID + native code.
Say there are 3 conditions present at a machine tool:
logic_cond warning code=1 logic_cond warning code=2 logic_cond fault code=3
All 3 should be broadcast via SHDR. If the fault resolves, you broadcast:
logic_cond normal code=3
but the warnings for code 1/2 remain. When all warning conditions resolve, you can broadcast normal without reference to a native code.

The assumption here is that the adapter is responsible for maintaining state of individual conditions in order to eventually resolve to a NORMAL.  To me this is preferred over blasting a single CONDITION.
Let's take a look at a several known conditions for a thermal printer: low ribbon, out of ribbon, low paper, out of paper, motor temperature.  When generated at the source, they all might as well be a table of codes.

code
description

120
motor over temp

002
ribbon low

102
ribbon out

001
paper low

101
paper out

999
something else

You could model this like so, and blast the above codes.
<Device>
  <Controller>
    ...
    <DataItem category="CONDITION" id="system_cond" type="SYSTEM"/>
  </Controller>
</Device>

Or you could develop the model further, and have the opportunity be more selective.
<Device>
  ...
  <Controller>
    ...
    <!-- catch all for underdeveloped model -->
    <DataItem category="CONDITION" id="system_cond" type="SYSTEM" />
  </Controller>
  <Axes>
    ...
    <Linear name="x">
      ...
      <DataItem category="CONDITION" id="x_motor_temp_cond" type="TEMPERATURE" compositionId="x_motor" />

      <!-- maps paper low warning, paper out fault -->
      <DataItem category="CONDITION" id="paper_present_cond" type="DATA_RANGE" compositionId="paper_sensor" />

      <!-- maps ribbon low warning, ribbon out fault -->
      <DataItem category="CONDITION" id="paper_present_cond" type="DATA_RANGE" compositionId="paper_sensor" />
      ...
      <Composition id="x_motor" type="MOTOR" />
      <Composition id="paper_sensor" type="SENSING_ELEMENT" />
      <Composition id="ribbon_sensor" type="SENSING_ELEMENT" />
    </Linear>
  </Axes>
  <Systems>
  </Systems>
</Device>

Hi Zach,

My initial concern was maybe losing some of timescaledb's performance or functionality by storing so much in jsonb

Storing underlying data as a graph and then using views (possibly some materialized) to create a more "conventional" interface could be a good approach.

Yeah I'll do some profiling soon - might need to migrate to tables like history_text and history_number instead of the jsonb. The end-user services like Grafana use the views, and are not meant to see the underlying tables.
I'll post a design decisions doc that explains some more to the github wiki today, with some diagrams.

In addition to storing underlying MTC data, I have a small state machine that's tracking and logging program executions. The eventual goal is to tie programs to parts and material and be able to use this for higher-level production tracking.

Ah, yeah we want to do similarly - currently we do tie in to JobBoss to get the job number, and reset a part counter when the value changes. We also get the work schedule for calculating the availability / utilization %. The Meter service calculates statistics like that, and will do more state machine tracking in the future.
Your app looks good - I like the video feed! Would be nice to have that with our setup also, but not sure about the hardware issues.

@zachallaun Does the native code actually come across in the MTC stream?  I never paid attention.
I ordered one of these last week to finally start learning CV.

Yep, they comes across. I think the idea is they usually map to the error/warning code that you'd look up in your device's manual. It obviously depends on your devices.xml, but I get native codes from my Mazak horizontal using the cppagent.
That camera kit is super interesting! I've been looking for something like this. IP67 sealed as well... I need to look into these...

That camera kit is super interesting! I've been looking for something like this. IP67 sealed as well... I need to look into these...

I know we're hijacking the thread at this point but whatever.
The camera works out of the box.  I've been reading the docs and they've built a nice ecosystem, partnering with roboflow.com to train your own models.  I also came across onepanel.ai a while back.  Zach, do you have much experience with CV?

The OpenMV was really easy to setup and use, but I guess is geared towards lower resolution / framerate applications - https://openmv.io/products/openmv-cam-h7-plus. It was able to scan moving barcodes pretty well though.

@bburns  can this be closed?

@MRIIOT yes, i think you answered it - https://github.com/Ladder99/ladder99/issues/130#issuecomment-1110484999


Youtube shorts June 2023

What filter does this issue target?
https://letsblock.it/filters/youtube-shorts
What changes should be made?
youtube.com##:xpath(//ytd-rich-item-renderer[descendant::span[contains(@aria-label,"Shorts")]])
!This part removes the "New Row" object. kind of like removing the new paragraph in word editors.
youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;)
!This part limits the number of videos per row. go ahead and play with the number.
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 6 !important;)
Did you write a uBlock filter solving this?
No response
Additional notes
https://www.reddit.com/r/uBlockOrigin/comments/143mdqv/code_to_block_youtube_shorts_june_2023/

Hello @huoltomies,
The rules at https://letsblock.it/filters/youtube-shorts have been updated recently, so I'm a bit septic about these rules being necessary. Could you please make sure you use the latest version and then post screenshots of the parts where they don't properly filter out shorts?
Thanks a lot!

They started pushing the new layout and shorts appeared again..

Heya @huoltomies, sorry for the late reply.
It seems like none of our team members is (for now) served the same layout as you. Could you please post a DOM dump for the element to hide:

open the inspector panel (right click > inspect)
find a shorts item, select its ytd-rich-item-renderer element (it should be highlighted in the page
right-click and chose "Copy outer HTML"
paste that into a code block in a comment here (put ``` on its own line, before and after the DM dump contents

Thanks for your help!

Hello! I'm closing this one due to inactivity, feel free to re-open if the recent updates to the template are not enough to address the layout you are seeing. In that case, please provide the debug info requested in the comment above.


Sync remote extensions when turning on Sync

Also sync remote extensions (WSL, SSH, Dev Container) while syncing

Accidently created an issue for this: https://github.com/microsoft/vscode/issues/107211
It'd be great to have this. But I am not entirely sure what this issue means. If I open the Sync View and check the extensions.json for the latest Extension sync item, it shows this:
	{
		"identifier": {
			"id": "ms-azuretools.vscode-docker",
			"uuid": "0479fc1c-3d67-49f9-b087-fb9069afe48f"
		},
		"installed": true
	},

That is an extension I have only installed on my ssh remote, so how come that is shown in the list of extensions.json?

Only local extensions are shown and synced and extensions from remote (WSL or SSH) are not synced. Please double check your VS Code (instance).

ms-azuretools.vscode-docker was disabled locally, so I assume that is considered as local then. But I was confused as to the "installed": true as it was only installed on the ssh host.

I can confirm what @thernstig reported.
For example, I'm working on remote SHH. So, I install some extension on my remote, vscode-docker for example.
Then I go to "Show synced data" and check synced extensions list and vscode-docker  is there.
This is very strange, since remote extensions are not supposed to be synced, right?

I realized that parts of it is already supported. When in remote, installing an extension is synchronized when settings sync is on. For eg., when you are in a codespace/wsl/any remote and if you have settings sync is on, installing any extension get synchronized and gets installed in all your machines.
One of the scenarios which is not yet supported is synchronizing already installed extensions in remote. For eg., If you have extensions installed in WSL already and you enabled settings sync later, then extensions in WSL are not synced.
Another scenario which codespaces reporting is initializing extensions into the codespace while creating it in desktop. I think it is nothing to do with settings sync or this issue. I am sorry that I linked this scenario with this issue. Creating a separate issue for this scenario - https://github.com/microsoft/vscode/issues/136424 cc @jkeech

Adding my experience in case it's helpful:
I installed VS Code on a Mac today expecting settings + extensions to sync from my Windows + WSL setup. In this case all extensions on my primary setup are remote installs. There may be an oversimplification into two camps of local (Windows, Mac, Linux) versus remote (WSL, SSH, Codespaces) that forbids a primary remote environment.
Expected result
The extensions I have installed should sync to my new installation
Actual result
No extensions are installed, since remote extensions are not synced, and it's unclear to me as a user why this matters

I realized that parts of it is already supported. When in remote, installing an extension is synchronized when settings sync is on. For eg., when you are in a codespace/wsl/any remote and if you have settings sync is on, installing any extension get synchronized and gets installed in all your machines.
One of the scenarios which is not yet supported is synchronizing already installed extensions in remote. For eg., If you have extensions installed in WSL already and you enabled settings sync later, then extensions in WSL are not synced.
Another scenario which codespaces reporting is initializing extensions into the codespace while creating it in desktop. I think it is nothing to do with settings sync or this issue. I am sorry that I linked this scenario with this issue. Creating a separate issue for this scenario - #136424 cc @jkeech @matthewisabel @Chuxel

I must say I haven't observed that behaviour. I have activated the settings sync, installed new extensions on remote since then, and still, when operationg on other machines, it's as if the remote extensions never existed. Perhaps I'm doing something wrong?

installed new extensions on remote

If you click on Install button in the Extensions view, the extension shall be synced. Can you please try it again and let me know if it is working?

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

I consider this a great thing for remote extensions as more and more work remotely. It is also a large thing for vscode.dev, codespace etc. I would assume?

This feature would be a very nice feature for all remote enjoyers, fingers crossed for reconsideration.
I find that e.g. lastSyncsettings.json and lastSyncextensions.json are generated by modifications of extensions installed in wsl/remote, but end up at Users/me/AppData/Roaming/Code/User/sync/settings/ and .../extensions/ respectively instead of something a la home/me/.vscode-server/data/Machine/sync/..., more wsl-like. In my experience, I cannot reproduce

installed new extensions on remote

If you click on Install button in the Extensions view, the extension shall be synced. Can you please try it again and let me know if it is working?

unless it's also installed on local, and it's reflected there.

I realized that parts of it is already supported. When in remote, installing an extension is synchronized when settings sync is on. For eg., when you are in a codespace/wsl/any remote and if you have settings sync is on, installing any extension get synchronized and gets installed in all your machines.
One of the scenarios which is not yet supported is synchronizing already installed extensions in remote. For eg., If you have extensions installed in WSL already and you enabled settings sync later, then extensions in WSL are not synced.
Another scenario which codespaces reporting is initializing extensions into the codespace while creating it in desktop. I think it is nothing to do with settings sync or this issue. I am sorry that I linked this scenario with this issue. Creating a separate issue for this scenario - #136424 cc @jkeech @matthewisabel @Chuxel

@sandy081
I think what you are doing is installing the EA extension on the remote server RA, which is then automatically installed on the local machine LA, and subsequently synchronized in the local machine's Settings Sync. However, if you wish to connect to another remote server RB through LA, or connect from a different local machine LB to RA and RB, you will need to manually install EA in LB by clicking on "Install EA in SSH RA".

@sandy081 I see that this correctly syncs remote extensions, but remote settings (settings.json) is not synced. Is this out of scope?


Opencore

Maybe you should migrate to Opencore.
acidanthera stopped clover support for their kexts .
when you need some help with the migration, feel free to ask.

I try soon configure this new bootloader.
Thanks for watching this repo.

Hi @rsdev69, can I share an OpenCore configuration based on your Clover Configuration?

Hi @rsdev69, can I share an OpenCore configuration based on your Clover Configuration?

Share here, i add in repo your OpenCore configuration.

I created a repository here: link. Only problem is that sometimes it stops at ACPI: Executed x blocks of module-level executable AML code , so you need to restart and boot again

I created a repository here: link. Only problem is that sometimes it stops at ACPI: Executed x blocks of module-level executable AML code , so you need to restart and boot again. Also you need to add the smbios in the config.plist.

Good job, OpenCore in trend now.

Hi @rsdev69
I remember that you said you will create a new Repo for your OpenCore configuration, can you please tell me when you will do that?
also does the Trackpad gestures work for you? (like two fingure scroll and four fingers to show all apps)
the Trackpad gestures doesn't work for me :(

I created a repository here: link. Only problem is that sometimes it stops at ACPI: Executed x blocks of module-level executable AML code , so you need to restart and boot again. Also you need to add the smbios in the config.plist.

Hi @giodani97
Thank you very much for sharing your OpenCore configuration,
I have a few question:

does the OpenCore works better than Clover for you?
Do you have sleep working properly? I'm using Clover now and the sleep not work for me
Can I continue use my current Dual boot when I move to OpenCore? currently I have two partitions, one for macOS and one for Windows, and I dual boot between them using Clover, Can I use the current partitions (I don't want to reformat) easily with OpenCore?

Thank you very much in advance

yes
try disable amd gpu, worked for me
you can use clover side by side with oc. windows bootloader and even linux , i'm using grub to boot my wanted BL (Clover as backup. OC , OC.bk   Windows , Manjaro)

Keep the SystemUUID from clover in the Opencore config

1. yes

2. try disable amd gpu, worked for me

3. you can use clover side by side with oc. windows bootloader and even linux , i'm using grub to boot my wanted BL (Clover as backup. OC , OC.bk   Windows , Manjaro)

Keep the SystemUUID from clover in the Opencore config

Hi @muhviehstah
Thank you very much for your response
Can you tell me how I can disable amd gpu in macOS only not in Windows?
Also, do you have the same ACPI: Executed x blocks of module-level executable AML code problem as @giodani97 ?
Lastly, it will be very nice if you make a public Repo for your OpenCore configuration and share it with us

Hi @muhviehstah
Thank you very much for your response
Can you tell me how I can disable amd gpu in macOS only not in Windows?

use the device property disable external gpu (see hackintool)
or simply use bootarg -wegnoegpu from Whatevergreen


fix the read permission contributor can't comment

Purpose
Fix the problem that read permission contributor can't comment on a project. Solves https://github.com/CenterForOpenScience/osf.io/issues/2684

@sloria rdy for review


[WIP] capi: support Flatcar OVA images

Add Flatcar as one of the distros in the VMware OVA image builder.
Would rely on https://github.com/flatcar-linux/flatcar-packer-qemu/pull/4 .
please do not merge. work-in-progress.

It was automatically closed as the base branch was gone.
Recreated as https://github.com/kinvolk/image-builder/pull/11.


Unrecognized attribute 'postProcess'. Note that attribute names are case-sensitive.

After initiating an update from Umbraco 7.3.x up to both 7.3.7 and 7.4 I've experienced this issue:
Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'postProcess'. Note that attribute names are case-sensitive.

Source Error:

Line 1:  <?xml version="1.0" encoding="utf-8"?>
Line 2:  <processing preserveExifMetaData="false" postProcess="true">
Line 3:
Line 4:

Source File: E:\Users\jon\Documents\Visual Studio 2015\Projects\Nation Grid Control Projects\NGControls.LatestNews\src\NGControls.LatestNews\config\imageprocessor\processing.config    Line: 2

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1038.0

and I have to copy over the example processing.cofig from the website in order for the site to run.
As I said above this has happend twice tonight on both install updates of Umbraco to the latest versions of ImageProcessor.Web via Nuget.
What Can I do to help?
J

Ah right.. I didn't set the config to remove the attribute. It's all xdt transforms. If you have a mo could you experiment? You can find the config transform for configuration package in the build folder.
https://docs.nuget.org/create/configuration-file-and-source-code-transformations

Just remembered that I use the same config files as built-in resources so I can't add transforms.
I'm gonna have to close this as can't fix.

Thanks James, is it then a case of ensuring the ImageProcessor.web is the latest or the one shipped with 7.4.n?

I always upgrade, then again I know what comes with each upgrade. The one in 7.4.1 is pretty good though.


Upgrade mysql2 gem to 0.4.8

Rails 5.1 supports the mysql2 gem up until (but not including) 0.5
Version 0.4.7 added support for MariaDB 10.2
Fixes #2064

Thanks


pdfium.dll locked by IIS Worker Process

Hi there,
Using Pdfium Viewer 2.13.0 (from Nuget) and PdfiumViewer.Native.x86_64.v7-xfa 2.13.0 (from Nuget) in a Web API project but am getting an issue when re-deploying to IIS Express.
The initial run works fine, DLL is copied and loaded fine.
The next time a deployment/run is attempted (In Visual Studio 2017) I get the following error:

Could not copy "pdfium.dll" to "bin\x64\pdfium.dll". Exceeded retry count of 10. Failed. The file is locked by: "IIS Worker Process"

Unable to copy file "pdfium.dll" to "bin\x64\pdfium.dll". The process cannot access the file 'bin\x64\pdfium.dll' because it is being used by another process.

I've seen a few others with similar issues on this GitHub but no real solution.
I believe this is a specific issue with Pdfium Viewer as no other DLL produces the same error.
Killing the "IIS Worker Process" resolves the issue but isn't a practical solution to be doing every time we want to re-run our Web API.

I also had this issue. Ended up having to add a deployment step to restart the website and restarting just the app pool didn't work. However that fix seemed to work for a while but now seeing this issue again.


Youtube as background

Is it possible to use Youtube links for video background?

Not directly as the script assumes the video tag.
However, it shouldn't take too much work to use the YouTube API and object instead.

@labsofawesome is correct. At the moment, it can only use HTML5 video tagged videos. It could be enhanced to take other objects (like a youtube video) in the future


Trickle Timer: Allow other modules to set Imin and Imax on same value

Currently, when TrickleTimer::Start method is called with same aIntervalMin
and aIntervalMax values, the remainder used to calculate I is 0, which causes an
Arithmetic Error and crash of the program.
MPL uses Imin and Imax equal to 64ms.

Current coverage is 72.41% (diff: 33.33%)

Merging #802 into master will decrease coverage by 0.77%

@@             master       #802   diff @@
==========================================
  Files           107        106     -1
  Lines         16033      16026     -7
  Methods        2183       2178     -5
  Messages          0          0
  Branches       1910       1911     +1
==========================================
- Hits          11734      11605   -129
- Misses         3669       3779   +110
- Partials        630        642    +12

Powered by Codecov. Last update c28042c...22d12c6


Using a custom name instead of _count

Problem
Les't say i have this query:
    const user = await this.prisma.user.findUnique({
      where : {id},
      select: {
        _count: {
          select: { followers: true, following: true },
        },
      },
    });

that returns:
{
  "user": {
    "_count": {
      "followers": 0,
      "following": 0
    }
  }
}

I can't change the "_count" in the query result
Suggested solution
It would be great if I can do something like this:
    const user = await this.prisma.user.findUnique({
      where : { id },
      select: {
        _count: {
          select: {
            followers: { as: "followers_count" },
            following: { as: "following_count" }
        },
      },
    });

result:
{
  "user": {
    "followers_count": 0
    "following_count": 0
  }
}

Alternatives
If I want to achieve that result I have to write a raw SQL query:
await prisma.$queryRaw` SELECT COUNT(followers) as followers_count, COUNT(following) as following_count
                                                    FROM User
                                                    WHERE id = ${id};`

+1


Short solution needed: "How to send HTTP2 request" (curl)

Please help us write most modern and shortest code solution for this issue:
How to send HTTP2 request (technology: curl)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to send HTTP2 request


Restructuring nufmt

Let's structure nufmt like this project.
https://github.com/kamadorueda/alejandra
Mainly using workspaces

As someone involved with the CI and crate setup of https://github.com/nushell/nushell I will say: Folks tend to have misconceptions how things behave in workspaces with different cargo commands. If there is no technical need for separate crates, my take, let's not shuffle things around just to have things familiar for one or two folks.

Sounds good, but I don't see the improvement. What's the reason for changing the structure?
I'm still open to change it, but is it better to be different than the other nushell's org repos?
I'm missing something

I thought you deleted too much, docs, benches, git workflows, etc. I can live with the rest but I defer to @AucaCoyan and @amtoine. They have been leading the charge here. I also wouldn't minimize @sholderbach's vast knowledge.

i think the biggest issue we all have here is understanding the value of such big changes :thinking:

i was going to add those back just didn't have the time yesterday

let's assume these files are put back, no worries, it's true that the PR is still a DRAFT :wink:
i still do not get why we need such changes :confused:

we already have a lib and a bin, why do we need two real crates?
for now, i only understand "here is a project written in Rust with a totally different structure, let's use it", but i'm not really willing to land such a big PR on that statement only... :cry:

@IogaMaster
if you can put back the files that shouldn't have been removed and justify the refactor a bit more so that there is value in both reviewing and landing the changes, i would be more than happy and i'll let @AucaCoyan decide if he likes them :relieved:
i might have been the first one to be interested by this, but he has been by far the number one contributor to Nufmt :pray:

Important
@IogaMaster
all this is not at all to undermine your work, motivation and efforts, quite the opposite! we're just looking for a direction for all of us to go together, which is the formatter :wink:
and btw, these other PRs of yours were really good :+1: :yum: (#43, #45 and #47)

again, thanks for finding interest in Nushell and willing to help in developing its tooling :pray:

i still do not get why we need such changes

Complete separation of the two functions of this project would allow the lib to be consumed (and published on crates io) separate from the bin.
It makes tracking changes easier, if someone were to make a change to the cli that needs a change in the lib, those could be separate PR's. Meaning reverting changes would be easier.
In general decoupling makes the project scale better, and makes it easier to understand when contributing.

all this is not at all to undermine your work,

I know, I understand making a big change like this needs a lot of work and justification. :grinning:
Thanks for your help! :ok_hand:

If we continue with the rewrite I will draft a plan for how to proceed.

I can see where you are coming from on the simplicity front, but I think in the long term it would be better. What is on the roadmap is just for now.

As a nushell org, to my knowledge today are a couple of satellite projects related with formatting and parsing that are not met and agreed upon. We have more than one lsp (vs code, nuls) other tools like tree-sitter, a repo called grammar, among others I don't remember now or are deeply buried in history of the organization & collaborators repos

Maybe I need to make an RFC to talk about building a unified language and style spec.

an RFC might be good but sounds out of the scope of this issue and the associated #49 :relieved:

Yeah, just the start of this process. :wink:


fix: given onClick callback was override default navigation handler

Issue
// src/react/components/Link.tsx

onClick={(e) => {
  /* ... */
}
{...props}  // <- override the Rocon's onClick if "onClick" was applied

Now
Given onClick handler will work with Rocon's one.

Thanks!


release v0.3.0

commit 950abadddfbe47fad3b3261705ec7836543a202c was a force push to resolve the conflicts with master.


[amd_hip_fp16.h] Remove anonymous namespace from __half functions

When including both amd_hip_fp16.h and amd_hip_bf16.h in the same file and trying to use functions in the anonymous namespace inside amd_hip_fp16.h which are shadowed by functions in the global namespace of amd_hip_bf16.h, e.g. hlog(__half) comes from the former and is shadowed by hlog(const __hip_bfloat16) from the latter, we're met with a compiler error of the form (the top file is Half.h):
eigen/include/Eigen/src/Core/arch/Default/Half.h:530:22: error: no viable conversion from 'const half' to '__hip_bfloat16'
  530 |   return half(::hlog(a));
      |                      ^
rocm/6.0.1/include/hip/amd_detail/amd_hip_bf16.h:112:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'const half' to 'const __hip_bfloat16 &' for 1st argument
  112 | struct __hip_bfloat16 {
      |        ^~~~~~~~~~~~~~
rocm/6.0.1/include/hip/amd_detail/amd_hip_bf16.h:112:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'const half' to '__hip_bfloat16 &&' for 1st argument
  112 | struct __hip_bfloat16 {
      |        ^~~~~~~~~~~~~~
rocm/6.0.1/include/hip/amd_detail/amd_hip_bf16.h:790:53: note: passing argument to parameter 'h' here
  790 | __device__ __hip_bfloat16 hlog(const __hip_bfloat16 h) {
      |                                                     ^

This is due to the fact that the global definition hides the definition in the anonymous namespace. Looking at the git history of this file it doesn't appear there's any specific reason these functions need to be in an anonymous namespace so I went ahead and removed it so that e.g. hlog(__half) participates in overload resolution.

This patch works when using prebuilts from RPMs & patching the headers directly. I am unable to build from source to run tests locally. Let me what verification you want me to run: when I tried following the README or https://rocm.docs.amd.com/projects/HIP/en/latest/install/build.html to build & run tests I run into various errors that no docs refer to (it seems I need to clone a few other repos & possibly build another project first, but I can't quite figure out the right incantations-- I've gotten as far as a cmake error complaining about not finding amd_comgr)

I think we made some changes to fix the ODR violation in bfloat16 header.
Can you please try that with latest HIP/ROCM.
 #include <Eigen/Core>
 #include <amd_detail/amd_hip_fp16.h>
 #include <amd_detail/amd_hip_bf16.h>

 __global__ void kernel(float* res1, float* res2) {
   auto hf1 = __float2half(2.718f);
   auto bf1 = __float2bfloat16(2.718f);
   *res1 = __half2float(hlog(hf1));
   *res2 = __bfloat162float(hlog(bf1));
 }

It seems to be working fine.

I reproduced this with ROCm 6.2 RC3-- did you have a different version in mind? Also just to confirm, what were your compiler flags for the above file? It was compiled with hipcc right? I think we repro'd with just clang.

Can you share your minimum reproducer here.
Regarding 6.2, It should have the fix, its just your original error, had the old hip_bf16 changes.
rocm/6.0.1/include/hip/amd_detail/amd_hip_bf16.h:790:53: note: passing argument to parameter 'h' here
  790 | __device__ __hip_bfloat16 hlog(const __hip_bfloat16 h) {

The definition of hlog is:
__BF16_DEVICE_STATIC__ __hip_bfloat16 hlog(const __hip_bfloat16 h)

Regarding compilation flags, I just used -Wall

Yes! Give me a few hours-- we got RC4 today so I'll use that to repro the issue. Thanks for the quick response here.

Ok I reused your minimal file above:
#include <Eigen/Core>
#include <amd_detail/amd_hip_fp16.h>
#include <amd_detail/amd_hip_bf16.h>

__global__ void kernel(float* res1, float* res2) {
  auto hf1 = __float2half(2.718f);
  auto bf1 = __float2bfloat16(2.718f);
  *res1 = __half2float(hlog(hf1));
  *res2 = __bfloat162float(hlog(bf1));
}

with eigen 3.3.90, rocm 6.2.0 rc4 I still get these errors:
repro.cpp:8:24: error: no matching function for call to 'hlog'
    8 |   *res1 = __half2float(hlog(hf1));
      |                        ^~~~
rocm/6.2.0/include/hip/amd_detail/amd_hip_bf16.h:1612:39: note: candidate function not viable: no known conversion from '__half' to 'const __hip_bfloat16' for 1st argument
 1612 | __BF16_DEVICE_STATIC__ __hip_bfloat16 hlog(const __hip_bfloat16 h) {
      |                                       ^    ~~~~~~~~~~~~~~~~~~~~~~
repro.cpp:8:11: error: no matching function for call to '__half2float'
    8 |   *res1 = __half2float(hlog(hf1));
      |           ^~~~~~~~~~~~
rocm/6.2.0/include/hip/amd_detail/hip_fp16_gcc.h:233:11: note: candidate function not viable: no known conversion from '__hip_bfloat16' to '__half' for 1st argument
  233 |     float __half2float(__half x)
      |           ^            ~~~~~~~~
2 errors generated.

Can you share your compile command as well.
The code is as follows?
#include <hip/hip_bf16.h>
#include <Eigen/Core>
int main() {}

I think I can reproduce the issue, but having some trouble with my machine. I think I am missing some newer devicelibs.
Reinstalling latest version of rocm and trying, will update it here.

I think a better way is to fix this in eigen lib itself.
hlog is the only function being referenced from unnamed namespace.
other half functions like hsqrt or hexp are referenced without any ::
Raised https://gitlab.com/libeigen/eigen/-/merge_requests/1661/diffs to fix this on eigen, lets see what folks say on it.

Sure, works for me (double checked with our repro). Thanks for putting up that patch. Going to go ahead and close this in hope that we can get that eigen patch upstreamed.


Adds an SDK

This PR adds an SDK as an interface for implementers who wish to separate out the cryptographic component from the rest of the participant logic.

I chatted with @kevaundray and this is pretty much what he had in mind, so merging this. Further objections & discussions welcome in a new issue. :)


Allow using a DB view for the repository table

I'm trying to use a postgresql materialized view as my repository table. Unfortunately it fails with the following error:
Could not load repository (local): Mapper mapped class dataset->emc_pycsw_view could not assemble any primary key columns for mapped table 'emc_pycsw_view'
Traceback (most recent call last):
  File "/home/pycsw/pycsw/pycsw/server.py", line 410, in dispatch
    self.repository = repository.Repository(
  File "/home/pycsw/pycsw/pycsw/core/repository.py", line 114, in __init__
    self.dataset = type(
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/decl_api.py", line 72, in __init__
    _as_declarative(reg, cls, dict_)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 126, in _as_declarative
    return _MapperConfig.setup_mapping(registry, cls, dict_, None, {})
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 177, in setup_mapping
    return cfg_cls(registry, cls_, dict_, table, mapper_kw)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 314, in __init__
    self._early_mapping(mapper_kw)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 200, in _early_mapping
    self.map(mapper_kw)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/decl_base.py", line 992, in map
    mapper_cls(self.cls, self.local_table, **self.mapper_args),
  File "<string>", line 2, in __init__
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py", line 298, in warned
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/mapper.py", line 685, in __init__
    self._configure_pks()
  File "/usr/local/lib/python3.8/site-packages/sqlalchemy/orm/mapper.py", line 1327, in _configure_pks
    raise sa_exc.ArgumentError(
sqlalchemy.exc.ArgumentError: Mapper mapped class dataset->emc_pycsw_view could not assemble any primary key columns for mapped table 'emc_pycsw_view'
basic service options error: NoApplicableCode, service, Could not initialize repository. Check server logs

It seems sqlalchemy would like there to be a primary key in the mapped table, but postgres does not really support putting primary keys on views. I tried creating a UNIQUE index on the view, but that does not change the error though.
The sqlalchemy docs on reflecting views mention that it is possible to provide information on primary keys by overriding the table definition with a primary key declaration.
It would be nice to be able to leverage this in order to allow pycsw to work with a view as its records table.
Possible implementation
I'm thinking about a mechanism that would apply to custom mappings.
When there are custom mappings to be loaded, the loaded mappings.MD_CORE_MODEL dict could be allowed to have an additional sqlalchemy_table_mapping_kwargs dict, which would be used to complete the __table_args__ keyword arg that is used when initializing the pycsw repository
Not sure it works, as I've not tried it yet, but I'd be willing to work on this and submit a PR. @tomkralidis Is this something you'd consider to add to pycsw?
Steps to Reproduce

Create a materialized view
Cutomize pycsw's config in order to use said view as the repository table
Launch pycsw
Perform any request

Makes sense @ricardogsilva.  How would this be realized from the user perspective?  i.e. extending pycsw repository configuration, or would this be for downstream applications?

@ricardogsilva I am interested in your CKAN->CSW workaround, wow, that sounds extremely useful.


Edge support

Wait until #947 for internal changes first.

Let's add Edge 80 testing on saucelabs

Specifically v80, or the latest Edge available?

Looks like 80 is the latest available on saucelabs

I meant do you want
      'sl-edge-80': {
        base: 'SauceLabs',
        browserName: 'microsoftedge',
        version: '80',
        platform: 'Windows 10',
      },

or
      'sl-edge': {
        base: 'SauceLabs',
        browserName: 'microsoftedge',
        version: 'latest',
        platform: 'Windows 10',
      },

Oh yeah, let's try "latest"


App gets stuck on IKS/SS one-time backup

[x] App gets stuck on IKS/SS one time backup as soon as user clicked on the CTA
[ ] Content is pending on this screen also @ASN-BitHyve https://github.com/bithyve/bitcoin-keeper/issues/4608

Completed


Import Excel doesn't work on BC 21

Hi,
When I try to import an excel file on BC21 it returns:

It crashes in all Excel Imports methods that they work on previous versions.
What can I do?
Version: W1 21.0 (Platform 21.0.46384.46844 + Application 21.0.46256.46853)

Hi, this issue is out of scope of for this repository. You should do one of the following:

Open a support request to CSS through the PartnerSource portal
Open a bug in Collaborate
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

As a reminder, this repository only handles issues to do with the compiler or VSCode development experience for AL.


[playgronud] add --automongo flag

This flag will use mongodb-prebuilt to
download (the first time) and run mongo 3.6.12 and then listen on the
port guessed from the --dburi flag.

Codecov Report

Merging #148 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #148   +/-   ##
======================================
  Coverage    85.9%   85.9%
======================================
  Files          27      27
  Lines         589     589
  Branches       72      72
======================================
  Hits          506     506
  Misses         71      71
  Partials       12      12

Continue to review full report at Codecov.

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


Resolve issue with focus being lost on search box after selecting a user

Details
Expected behavior:

Open the New Group page
Start typing the name of a user, and then select from the list of results.
Then if the search input was focused before the option was selected from the list, then the search input should retain focus, and the previous input value should be highlighted.
If the search input was not focused before the option was selected from the list, then the search input should not regain focus. Clicking on the search input should highlight the previous value, not clear it.

Fixed Issues
https://github.com/Expensify/App/issues/6470
Tests

Open the New Group page
Start typing the name of a user, and then select from the list of results.
If the search input was focused before the option was selected from the list, verify that it retains focus and the input value is highlighted.
If the search input was not focused before the option was selected from the list, click on it and verify that the input value is highlighted.

QA Steps

Open the New Group page
Start typing the name of a user, and then select from the list of results.
If the search input was focused before the option was selected from the list, verify that it retains focus and the input value is highlighted.
If the search input was not focused before the option was selected from the list, click on it and verify that the input value is highlighted.

Tested On

[x] Web
[x] Mobile Web
[ ] Desktop
[ ] iOS
[x] Android

The problem is present on Web and Desktop, but i have no way of testing the macOS desktop app
Screenshots
Web
https://user-images.githubusercontent.com/9059945/147157544-0b512212-bfb7-43ed-808f-2ff3a5d3541a.mp4
Mobile Web
https://user-images.githubusercontent.com/9059945/152217764-2cfaa001-7d3b-4357-97be-ab069121a41b.mp4
Android
https://user-images.githubusercontent.com/9059945/152217797-e95c17d4-4386-4e8d-a20b-f07e31ad9160.mp4

@eVoloshchak Any update...

@eVoloshchak Any update...

Sorry for the delay, I will update the PR tomorrow

@parasharrajat, I've updated the PR

Thanks for the update there is a small issue.

When you click/select any row. the contacts list is refreshed but now you can see all the items but the input box still contains the searched value.

When you clear all the selections, you see the filtered list.

This seems inconsistent to me. I think we should always see the filtered list till there is a value in the search input.

Thanks for the update there is a small issue.

When you click/select any row. the contacts list is refreshed but now you can see all the items but the input box still contains the searched value.
When you clear all the selections, you see the filtered list.
This seems inconsistent to me. I think we should always see the filtered list till there is a value in the search input.

I've updated the PR. I'm not quite sure I understood that correctly, so please check if the behaviour is as expected. Thank you

Testing shortly..

Ok, I tested it. It is not what I meant.

When there is a text in the search box and the user selects any item from the list. The list should always show the search results. The only change would be that the selected user moved to the selected list.

But currently list is refreshed and you can see all the items even though the search input still have the value.

Ok, I tested it. It is not what I meant.

When there is a text in the search box and the user selects any item from the list. The list should always show the search results. The only change would be that the selected user moved to the selected list.

But currently list is refreshed and you can see all the items even though the search input still have the value.

I still don't get it, sorry.
I've reverted my last commit and recorded this video
https://user-images.githubusercontent.com/9059945/155751115-6efab958-f3c3-402c-a8f5-da06d1e67186.mp4
When i select a contact, it moves to a 'selected' list. How should it behave?
I didn't change any code responsible for filering the lists, the only change introduced in NewChatPage is not to clear the input after the user was selected. So this bug/inconsistency with the lists was not caused by this commit, I think.

I hope this video clears it but please ask questions to get the full clarification before changing the code.
https://user-images.githubusercontent.com/24370807/155889619-601bde51-65b4-4013-ae0e-83da4a3ed5ea.mp4
In this video,

When I search for user. Four results come up.
Then when I select one of the four users from the results, the list is refreshed and all the contacts are visible now. But the search input still has user as search value.  The list should only show those four results the same as earlier due to the search input still having a search text, instead of the full list.

I hope this video clears it but please ask questions to get the full clarification before changing the code.
screen-2022-02-27_21.18.25.mp4
In this video,

When I search for user. Four results come up.
Then when I select one of the four users from the results, the list is refreshed and all the contacts are visible now. But the search input still has user as search value.  The list should only show those four results the same as earlier due to the search input still having a search text, instead of the full list.

Thank you for your patience and for the explanation
I've updated the PR, here's the video of the end result:
https://user-images.githubusercontent.com/9059945/155963973-822f5786-e528-44e6-9ab0-2056325508bf.mp4

Apart from it as we have enabled the same flag on WorkspaceInvitePage. we will have to do the same search logic there as well.

Done, updated the PR

PR looks good but you'll need to rebase with signed commits https://superuser.com/questions/397149/can-you-gpg-sign-old-commits

PR looks good but you'll need to rebase with signed commits https://superuser.com/questions/397149/can-you-gpg-sign-old-commits

All done

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @AndrewGable in version: 1.1.42-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @chiragsalian in version: 1.1.42-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


"Test is hanging"

Hi, I would like to know what means/what causes the "Test is hanging" result. Even with that, does it still means the device is not affected (green result)?

@Rikk  if you re-run does it give you the same result?

Yes

but if you run the scan multiple times, does it consistently say that?

Yes, ran more than 5 times, each one the same.

Some of the tests require permissions.  Pingpong root is a kernel bug related to sockets.. the app wouldn't be able to test for this bug without creating a socket(s).

Hi, I get this message also at the same vulnerability and at 2 others. And in addition an error with CVE-2015-3825. Please note the exported results in the attachment.
I own a 2 year old Samsung tablett Note 10.1
Btw. Thanks for this very useful app!
Memo_20151115_182028.pdf

Does v.9 fixes this, or reduces occurrence? I can't see the Apk in releases...

Thank you for reminding me. v.9 release includes the apk now.
I thought this issue may have been related to : #39  ... it is not.  That was a race condition in the checking code.
To give you a better understanding of what may be happening here:
The way the stagefright checks work are by creating a child process and actually trying to have android parse/play the media file.  In most cases, attempting to play one of these media files hits the appropriate bug and causes memory corruption usually causing crash.  Then the monitoring process just looks at the child to see if it crashed.  If it did, we know the device is vulnerable. However, there is no definitive way to assure that memory is corrupted in a consistent way that would cause a crash. In your case it's pretty likely that this bug is corrupting memory in such a way that it's causing an infinite loop inside the child process.  In this case, the particular test just hangs... at least until the monitoring parent realizes that it is past a certain timeout threshold and kills it.
I hope this makes sense.
Cheers,
Ryan

Yes, thanks for the great explanation. Is that timeout something you can control? Is there any way to increase that timeout so we some extra confidence this is the case? Might the timeout be too small for all devices to handle whatever is requested properly?

It's a couple of seconds.. The amount of data that the media processing code is parsing is sooo small that it should complete in a few ms...

Okay
The new version looks great, the colors and descriptions are much better than before.
And now I know I'm vulnerable to CVE-2015-6608 omg lol. (At least that's the only one -- not counting the always-hanging one)

Thanks.  Which device / model / version do you have?
You should consider a nexus device ;-)

It's a simple SM-G360M ('Core Prime' or 'Win 2 Duos'), enough for my mobile needs :)
Here we pay more than 4 times what US people pay for phones...
vts-v9-results.txt
Btw, in the report, imo 'versionName' and 'versionCode' would better not be together with phone info as they refer to VTS and not to the phone...

Duly noted

I ran the test with the version. 9 Unfortunately, the same error messages.


Multi height multi view

[fixes #87, #56]

[x] support multiple different view types

[x] first pass support for multiple heights

[x] _numChildViewsForViewport ("seeem to work")

[x] _startingIndex ("seeeeeem to work")

[x] memoization for height

[x] much cleanup and refactoring

[x] example

[ ] website

[x] in some scenarios we have a math problem, that results in a flicker... Lets fix it.

Bonus

[ ] pooling of different view types
[ ] grid should work, but each row should be the height of its largest entry
[ ] support dynamic heights (where they can change at anytime)

Thanks for the feature! One small bug: items height is cashed and not cleared on content change.
This is fix my issue:
contentDidChange: Ember.observer(function() {
//Height cache should be cleared on content change
this._cachedHeights = [0];
this._cachedPos = 0;
                addContentArrayObserver.call(this);
                syncChildViews.call(this);
            }, 'content'),


Open Project on the same window

My projects are many and small that i switch between them frequently, so in any instance of time there are multiple projects opened at the same window. and i keep add and remove project from the window.
It would be nice that project-manager will allow open project on the same window just like Add project folder instead of spawning new window.
We can do this by adding window argument to project configuration.

This has been added in the new release :)


fixed API procSetupDiGetDeviceRegistryPropertyW

confusingly, in this prototype Microsoft decided to split bufSize and reqSize

manually merged, thanks!


Add meetings calendar to "community" page

Description
The community page should have an embedded calendar listing all conda community meetings (conda, conda-forge, etc.). This will be a simple Google Calendar and should be execute very similarly to Nebari's community page: https://www.nebari.dev/docs/community#community-meetings
Tasks

[ ] Create a Google Calendar for these meetings; initially we can just list the conda and conda-forge community meetings
[ ] Embed it on the "community" page

More inspiration: https://www.cncf.io/calendar/

I would like to contribute. Can you assign this to me.

Hi @bupd,
I am going to be working on this issue. If you would like to become a contributor, I invite you to join our chat room: https://matrix.to/#/#conda.org:matrix.org
There, you will be able to reach out directly to us and find a task that would be reasonable for you to work on.


What are the exact versions of all the dependencies given in the requirements.txt file?

Can anyone confirm to have reproduced the results, with the expected training speed (one epoch in around 5 to 10 minutes, using 1 GPU, on VoxCeleb-2 dataset)?
Can you please tell me the exact versions of the dependencies (with which the results were reproduced) given in the requirements.txt file?

I have reproduced the results with all latest versions.


Bad loader performance on Windows

From Elrood, when building LLVM 3.0 and Clay 0.1 on Windows with MSVC:
load time = 2140.72 ms
compile time = 420.577 ms
optimization time = 976.115 ms
codegen time = 317.49 ms

The load time is likely because win32.generated is enormous. Should try generating it with one of the LEAN_AND_MEAN flags


[Dataverse] Details page - Back to Dataverse 2

Feature: Details page - Back to Dataverse 2

As a user of the portal on the details page of a Dataverse item,
I want to go back to the Dataverse
So that I continue to explore the resources available in the Dataverse

Acceptance criteria
Scenario: General display
Given that I am a user authenticated or not,
And I am using a desktop device,
When I am on on the details page of any Dataverse item
Then I should see the word Dataverse next to the back arrow (see mock up)
Scenario: Back to Dataverse
Given that I am a user authenticated or not on on the details page of any Dataverse item,
And I am using a desktop device,
When I click on the <- Dataverse
Then I am redirected to /dataverse
note mean when I click on the arrow or on the word dataverse both should take me back to the explore page
Scenario: Mobile display
Given that I am a user authenticated or not,
And I am using a mobile device,
When I am on on the details page of any Dataverse item
Then I should see <- Dataverse
Scenario: Internationalization
ENG Dataverse
FR   Dataverse
DE  Dataverse
Resources
Mockups

Environment

staging URL: https://app.staging.okp4.network/

Additional informations
None.

Definition of Ready

[ ] title, description, and value statement
[ ] acceptance criteria (scenarios)
[ ] mockups (all devices and themes)
[ ] labels added
[ ] US presented to DEV team (refinement)
[ ] attached to an epic
[ ] estimation (planning poker)
[ ] external dependencies if applicable

Hey team! Please add your planning poker estimate with Zenhub @lolottetheclash @ErikssonJoakim @0xLodz @fredericvilcot @amimart @bdeneux @d3ployment @DValide @jeremylgn @JoeyDjr @MdechampG @NourKired @SonnevilleDamien

Please add your planning poker estimate with Zenhub @ccamel

Test executed on Firefox => Passed


Merge Detected Services into META-INF

Now will add all detected modules/plugins to META-INF/services
add an option to disable just in case
now maven/gradle plugin will output plugin information in a csv format

resolves #731
relies on prisms 1.35

add all detected modules/plugins to META-INF/services

I'm looking to understand the exact use case for this. I believe this is only applicable when the maven shade plugin is used (or similar) to merge multiple modules into a single jar right?
As I see it, there will likely be other META-INF/services that also need to be handled/merged by the maven shade plugin, so this doesn't address that issue.
So what is the exact use case for this?

Ah, apologies, conversation is on the issue ... moving over there.


AgoraRtcWrapper.bundle.js for flutter web

Can someone please explain to me

where does AgoraRtcWrapper.bundle.js come from? does it get created when I add web support to my flutter project?
what is the correct way of updating it?

Thanks heaps in advance.

You can refer to https://github.com/AgoraIO/Agora-Flutter-SDK/blob/dev/flutter2/README.md#web

@LichKing-2234  I have added AgoraRtcWrapper.bundle.js inside  web  folder and added script

I am using:-   agora_rtc_engine: ^4.1.0-alpha.2
but while running in chrome(web) it gives error "No implementation found for method create on channel agora_rtc_engine".
Can you please put some light in this, it will be very helpful.
Thanks in advance.

Hi all,
I am currently facing the same issue, added AgoraRtcWrapper.bundle.js inside web folder then  in my index.html file, after importing agora_rtc_engine: ^4.1.0-alpha.2, running the project on chrome(web) gives "

"

pls use the branch dev/flutter2-iris before we release it.

Hi @LichKing-2234 ,
thank you for the quick reply, but I just don't understand from the description what should I do in order to import the plugin ! As I mentioned earlier I already downloaded 'AgoraRtcWrapper.bundle.js' and put it in the web folder of my app then added '' to my 'index.html' ! Is there something else I should do ? Am I not supposed to add 'agora_rtc_engine: ^4.1.0-alpha.2' in pubspec.yaml ? Sorry If my questions are obvious and thanks again for the support.
Best regards

@Ben-chedli the dev/flutter2-iris is a dev branch in this repository. you will have to use the source as local dependency instead of using the published one.

@plutoless Hi and thank you for your reply,
So you mean I need to add the package in my pubspec.yaml like this
agora_rtc_engine:
git:
url: git'https://github.com/AgoraIO/Flutter-SDK'
ref: dev/flutter2-iris

@Ben-chedli you can refer to this post https://stackoverflow.com/questions/51238420/how-to-use-local-flutter-package-in-another-flutter-application for how to import local dependency. to get the source code you will need to clone this repo and switch to the branch we mentioned.

Hi again @plutoless ,
I was able to add the dependency and run the example, thank you for the help.
Now though I am facing this issue evetime I run the example.. any idea why is this happening ?

Hello @Ben-chedli, try adding a Container with height/width as the parent widget.

Hi @littleGnAl ,
I tried to strip it to the most basic display so it shows just my local camera feed, still the same issue every time I click join !

@Ben-chedli It's a bug, we will fix it these few days.
Btw, you'd better edit your comment, seems it leaks something.

@Ben-chedli This issue had been fixed, pls update the latest code of dev/flutter2-iris branch

Hi @littleGnAl,
Thank you for the support, this is the result when I try to join a channel as local from the web and then try to join the same channel from my android device as remote, is the plugin supposed to be compatible cross platforms ?

The example is compatible with cross platforms, did you run the same example on your Android devices?

@littleGnAl no the project we tested on the android device is our released app built with agora_rtc_engine: ^3.2.1, we're now trying to release a web app that could communicate with that released Android/iOS app.
So in order to do that, do we need to update that app with the latest code of dev/flutter2-iris branch too ?

Have you use string uid?

@littleGnAl no actually, just added channel id and app id in the config

@Ben-chedli Can you try running the example on other platform (Android/iOS/macOS/Windows) to see it work or not?

@littleGnAl yes the example runs well on an android device and I don't see the "[AgoraSurfaceView] may not be set error" printed in the console, even when I toggle rendered by SurfaceView instead of the default TextureView.

@Ben-chedli
If you join the channel with ChannelMediaOptions, make sure you set publishLocalVideo to true.
It's hard to guess what went wrong, I think a reproducible demo should be helpful for your case.

@Ben-chedli
There's a relative issue that had been fixed, you can try agora_rtc_engine: ^5.0.0 to see if it works or not.


Use go modules instead of dep, easier development experience (requires go 1.11)

No need for $GOPATH
Use module name (tweek-gateway) instead of git repo name for project own packages.

Weird that it doesn't pass on code-fresh.
yarn start:e2e seems to pass locally