Receiving ATXs during hare results in late hare messages

It is still unclear what is the direct cause of late hare messages that are received during ATX publication.
In my opinion, it is probably a bottleneck in the P2P.
CPU stress has always been suggested as the cause.
Should investigate the cause.
We need to investigate what is the cause for the delay.
The current metrics we need are:

[ ] try reproduce with test on GCP or AWS
[ ] adding  P2P metric for queue sizes.
[ ] bytes per second per protocol
[ ] how much time a message waits in queue
[ ] build simulator to allow ingestion of X atxs
[ ] add hare broker benchmark

No need to create a test for it. The main request from Barak is to handle this case and test it. A previous PR fixed it and it was tested on AWS (where it occurred) and it seems to solve the issue properly.


Apply PSR standards to README

Close #19.

Current coverage is 97.77% (diff: 100%)

Merging #25 into master will not change coverage

@@             master        #25   diff @@
==========================================
  Files             5          5
  Lines            90         90
  Methods          21         21
  Messages          0          0
  Branches          0          0
==========================================
  Hits             88         88
  Misses            2          2
  Partials          0          0

Powered by Codecov. Last update 65e1759...90766e4


Use path-like tools with DataTree

Hello,
I open this issue to discuss about integrating more path manipulations into the datatree library.
TLDR:
To summarize:

pathlib-like methods for  DataTree
Indexing with Path objects
To what extent is it possible to delegate to pathlib some path operations

Details
This is a suggestion regarding DataTrees
Since a DataTree can be accessed with string representing unix-like paths (slash-separated strings), and since there is the pathlib library in Python, I wondered if the DataTree could comply with some of the "pathlib API". It's especially true for Zarr files that are persisted to literal directories into the filesystem. It seems natural to have all the tools for Path manipulation inside a DataTree.
For instance, with pathlib we can glob or rglob on a directory path. Would it be possible to glob and rglob in DataTrees too? Currently there is a match function, but it introduces a new word, "match". dt.match("*/B") or dt.glob("*/B") would be okay, or dt.glob('**/B') or dt.rglob('B').
The idea is that the, glob and rglob are already "standard" in the pathlib library, and well-known by Python developers using pathlib.
Also, we can imagine, to keep the path aspect separated from the datatree API, to index a datatree with a Path: dt[Path('/a/b/c')]. Or, equivalent to dt.rglob('B'), dt[Path('/').rglob('B')]. I don't know how much pathlib is tied to the underlying file-system. We could imagine being able to use it from a "virtual filesystem hierarchy" provided by the DataTree itself:
dt_path: DataTreePath = dt.path()
for path in dt_path.rglob('B'):
    print(path)

(Note: i saw that the path property already exists on the DataTree object.)
The current way to iterate over all nodes is using .subtree
for node in vertebrates.subtree:
    print(node.path)

For a python developer discovering datatree but already knowing well how to work with paths, we could imagine:
for path, node in dt.rglob('*').items():
    ...

Hi @eschalkargans , thank you so much for your suggestion! This is something I have
So internally datatree already uses pathlib via the NodePath subclass. I have wondered before whether to publicly expose this class (see https://github.com/xarray-contrib/datatree/issues/205).

It's especially true for Zarr files that are persisted to literal directories into the filesystem.

One thing to be clear about here is that NodePath is a PurePath, it's not tied to the actual filesystem. In the case of Zarr then there is a direct mapping to the filesystem yes, but in general we can't always say that any DataTree object is backed by a matching filesystem. Imagine manipulating lazy datasets accessed over http, or just creating a new DataTree that lives only in RAM. Also filesystems on different machines have different syntax, and we want our DataTree objects to be above such small differences (see https://github.com/xarray-contrib/datatree/issues/250).

index a datatree with a Path: dt[Path('/a/b/c')]

This would be extremely easy to allow, as often the first thing we do internally is convert the given string to a NodePath object anyway. But does this actually help users particularly though? What can you do with this that you can't already do using DataTree and passing strings?

dt[Path('/').rglob('B')]

This is an interesting idea, and neat syntax, but how exactly would this work? Path here is not aware of the filesystem (see above), nor the dt it's being passed to, so the .rglob('B') has no knowledge of nodes that might be called 'B', so cannot expand into a list of them.

Would it be possible to .glob and .rglob in DataTrees too? Currently there is a .match function, but it introduces a new word, "match".

We certainly could. I was not sure what to call the .match method, and the main reason I went for "match" is because I imagined adding a regex=True flag later to perform the matching using either glob-style syntax or regexes, all under one method that "matches" things.
What do you think?

Hi @TomNicholas ,
Thanks for your answer! I'm answering from my other personal account.
TLDR
I wrote too much text so here is a quick summary:

(1) Having a companion class represening paths to navigate a tree makes sense for a project revolving around tree-like structures;
(2) Indexing via dt[Path('a/b') is useful to avoid having to downgrade the path to a string: dt[str(Path('a/b'))];
(3) I understand that  rendering the class public might add more work and be too early, as it would add maintenance work not only on DataTree, but also on DataTree + NodePath;
(4) A solution should be discusses to be able to tie a NodePath to an underlying DataTree, similar to how concrete Paths from pathlib are bound to the filesystem. Proposed inheritance chain: PurePath <|- PurePosixPath <|- PureNodePath <|- NodePath.

Details
(1)
As said in #205,

The concept of a file-like path between nodes is often useful.

This is also very useful for users! I have some points to defend the exposure of this NodePath class.
First, the package is named datatree and focuses around a tree-like structure. Having a companion path class abstraction to navigate such trees makes sense. The same family of problems emerging from the manipulation of filesystem paths as plain strings emerge from the usage of datatree. pathlib has been for me a true game-changer, eliminating so many typos and human mistakes due to raw string manipulation, leading to more readable and maintainable code. Not having to care about Windows vs UNIX paths anymore. Writing universal code for path manipulation. The ability to cleanly represent a path, having sets of property building a common vocabulary revolving about path manipulation, facilitating inter-developer communication. To name a few properties I use a lot: name, stem, suffix, with_suffix, parent, exists... The same vocabulary can be leveraged to manipulate DataTrees too! Some concepts might be irrelevant since there is no "file extension" equivalent for DataTrees, but name to only extract the variable name might be useful, parent for navigation, parts for getting a tuple[str, ...] version of the path, etc.
(2)
Then, also answering the reason of why indexing a DataTree with a NodePath directly might be useful: another benefit of being able to do dt[Path('/a/b/c')] and not only dt['/a/b/c'] is to remove the need of manually converting a Path object to a string. Some libraries now accept Paths in lieu of strings. For instance, when opening a file, we can pass a Path object. However, some libraries don't accept Paths, only strings, and in these case I often find myself having to "downgrade" my Path object to a string, adding boilerplate code and breaking the magic of using pathlib. In my own functions, usually I accept path: str | Path and the first operation I do is something like path: Path(path) (recreating the path from a path is OK)

Now, some drawbacks:
(3)
The main drawback of rendering the NodePath class public, I assume, from the library point of view, is that if users start to use it more and more, later changes might be difficult to bring. Now, datatree would not only be DataTree, but DataTree + NodePath, adding work. So, it might maybe be too early for now, adding another layer of development complexity that might not be needed while the project is still in prototyping phase. But, this NodePath does exist, so some part of the work is done!
Regarding:

One thing to be clear about here is that NodePath is a PurePath, it's not tied to the actual filesystem.

and

This is an interesting idea, and neat syntax, but how exactly would this work? Path here is not aware of the filesystem (see above), nor the dt it's being passed to, so the .rglob('B') has no knowledge of nodes that might be called 'B', so cannot expand into a list of them.

(4)
The design issue I can see is that the pathlib's "concrete" paths are bound to the underlying filesystem. There is only one filesystem. We don't need to indicate to pathlib that we use the current fileystem. So when we write a path.exists(), the underlying assumption is to check the existence of the file tracked by the path on the filesystem. So there is some sort of "hard link", that cannot be changed. However, a pure NodePath would not be tied to any particular DataTree. So, a bidirectional link between a NodePath object and the DataTree it is bound to might be needed. The user creating a Path might provide the related DataTree. Which is in my opinion a huge change compared to the usage of pathlib with the filesystem. The bind could be automatic when retrieving a path from a DataTree: dt.path -> path.datatree == dt. And creating a "PureNodePath" would result in NodePath().datatree is None. So maybe a solution would be to use a chain of inheritance resembling: PurePath <|- PurePosixPath <|- PureNodePath <|- NodePath
So, going back on dt[Path('/').rglob('B')], this expression seems wrong. To fix it using the ideas from the previous paragraph, I would more think of something like, let's say: dt.path.rglob('B'), returning an iterator of NodePath and DataTree. This would work similarly as when iterating over a pathlib's glob on the filesystem.

Thanks for your engagement and suggestions here @eschalkargans / @etienneschalk !

To name a few properties I use a lot: name, stem, suffix, with_suffix, parent, exists... The same vocabulary can be leveraged to manipulate DataTrees too! Some concepts might be irrelevant since there is no "file extension" equivalent for DataTrees, but name to only extract the variable name might be useful, parent for navigation, parts for getting a tuple[str, ...] version of the path, etc.

Trying harder to match the nomenclature used for DataTree attributes with those of pathlib.Path objects is a good idea. I do think we already do a pretty good job of this though! (e.g. we already have methods like .parent, .name, and .relative_to.) I just noticed that PurePath.match exists and is different to DataTree.match, so that's another reason to change the name of that method. The analogy only goes so far though, for example .suffix makes no sense for a DataTree object.

remove the need of manually converting a Path object to a string

This is a very easy fix, so I've opened #282 to add it.

The design issue I can see is that the pathlib's "concrete" paths are bound to the underlying filesystem.

This is a big difference, and I think indicates that exposing NodePath objects that are separate from the trees they refer to would not make any sense.

a bidirectional link between a NodePath object and the DataTree it is bound to might be needed

This is possible, but would be very complicated. I tried to create a similar bi-directional linking (between dt and dt.ds) to solve #80 and it was so difficult to guarantee everything stay consistent that I basically gave up.
In general I still don't really see a clear use case for exposing NodePath publicly. I think most of what you are asking for could be provided by thinking more explicitly of a DataTree instance as if it was an instance of PurePosixPath (though we should continue to wrap rather than inherit).

Closing in favour of https://github.com/pydata/xarray/issues/9448 upstream.


Java Desktop Application

Hi
This PR assigned with issue #92 to add a desktop application using java
I hope this project be good for other developers.
Thanks

@TawfikYasser When ever you send PR make sure one PR at a time . Don't spam .

@TawfikYasser When ever you send PR make sure one PR at a time . Don't spam .

I can’t understand you, Please!

@TawfikYasser When ever you send PR make sure one PR at a time . Don't spam .

I can’t understand you, Please!

When you send PR make sure send this at a time don't update after sending this . When you do this it's quite hard to viewed your changes .

@TawfikYasser When ever you send PR make sure one PR at a time . Don't spam .

I can’t understand you, Please!

When you send PR make sure send this at a time don't update after sending this . When you do this it's quite hard to viewed your changes .

Oh Okay, Sorry for that, I have lost my internet connection a little while ago, So I couldn't send the PR once.

I have finished.

@TawfikYasser When ever you send PR make sure one PR at a time . Don't spam .

I can’t understand you, Please!

When you send PR make sure send this at a time don't update after sending this . When you do this it's quite hard to viewed your change

@TawfikYasser When ever you send PR make sure one PR at a time . Don't spam .

I can’t understand you, Please!

When you send PR make sure send this at a time don't update after sending this . When you do this it's quite hard to viewed your changes .

Oh Okay, Sorry for that, I have lost my internet connection a little while ago, So I couldn't send the PR once.

@TawfikYasser No problem .

I have finished.

@TawfikYasser  May i proceed then ?

I have finished.

@TawfikYasser May i proceed then ?

Yes

@Kushal997-das Thanks

@Kushal997-das Thanks

@TawfikYasser Update the this readme.md file

@Kushal997-das Thanks

@TawfikYasser Update the this readme.md file

Sure, I will do.

@Kushal997-das README File Updated.


2x support

There is an interface for high quality (2x) images. I think the python xkcd interface should provide support for this. See the html of a single page:
...

...

and compare both:

This seem to be available in almost all comic since #1084, but as it's not in (#1079) and (#1551), I guess we should always check.

This is what I did before seeing this project.
I did check if we can use this api with<EMAIL_ADDRESS>before posting and here's their answer:

Of course it's alright. Though it's not like an "official" thing - just how the system works. It's an internal implementation detail we're happy for you to use.
-davean

I've created a pull request implementing support for this. #16

Thanks for the idea and patch! I've just merged this into master now. Sorry for my slowness in responding here.


Update compat

CUDAKernels and  KernelAbstractions no longer support julia v1.6 in their new version. To support julia v1.6, I'll keep CUDAKernels v0.3 and KernelAbstractions v0.7 in the compat


Leap Day 02-29-2020 raises KeyError

Calling get_calendar('XNYS').previous_session_label(datetime.date(2020, 2, 29)) raises a KeyError.

I think this is unrelated to leap day. The issue here is just that previous_session_label requires that its input is a trading session, and feb 29 was a saturday. The same error also gets raised for March 1st:
In [6]: c.previous_session_label(pd.Timestamp('2020-03-02'))
Out[6]: Timestamp('2020-02-28 00:00:00+0000', tz='UTC', freq='C')

In [7]: c.previous_session_label(pd.Timestamp('2020-03-01'))
...
KeyError: Timestamp('2020-03-01 00:00:00+0000', tz='UTC')

Closing this as as-designed. Feel free to reopen if you think there's something I've missed.


Show exclamation-triangle icon next group name on Policy show page for disabled policies

It's not clear when viewing a resource if there's an attached policy that's disabled. We could show

⚠ <group_name>

with a title reason instead

Hit this just now. Took a stab at fixing it but it wasn't straightforward so will defer the fix to @AndrewDryga


Execution of quantum circuits fails with 1 shot

Describe the bug
When running a circuit with a single shot an error is generated.
To Reproduce
A minimal example:
from quantuminspire.api import QuantumInspireAPI
from quantuminspire.credentials import get_token_authentication, load_account
from quantuminspire.qiskit import QI
from qiskit import QuantumCircuit

authentication = get_token_authentication(load_account())

backend_name= "QX single-node simulator"
QI.set_authentication(authentication)
backend = QI.get_backend(backend_name)
number_of_shots = 4 * 2048
backend.options.shots = number_of_shots

qc=QuantumCircuit(1)
qc.h(0)
qc.measure(0,0)

backend.run(qc, shots=1).result()

Error generated: CircuitError: 'Index 0 out of range for size 0.'

This is not a bug in SDK but a Circuit Error as the error message is saying.
The QuantumCircuit that is defined with QuantumCircuit(1) has 1 qubit registers and no classical bit registers.
This means that the measurement is generating the error because there is no classical register for the result.
To fix the error in this example, QuantumCircuit should be defined as: QuantumCircuit(1, 1).

This is not a bug in SDK but a Circuit Error as the error message is saying.
The QuantumCircuit that is defined with QuantumCircuit(1) has 1 qubit registers and no classical bit registers. This means that the measurement is generating the error because there is no classical register for the result.
To fix the error in this example, QuantumCircuit should be defined as: QuantumCircuit(1, 1).

Sorry, that was a typo in the script. Also with  QuantumCircuit(1, 1) I get an error


Create flowforge-1-10-release.md

1.10 release blog.

The release of AWS highly depends on their review, so I recommend being prepared to switch the headline if a blocker occurs on Thursday.


Have generated JSDoc list enum members

Perceived Problem

Manual doc already alludes to the members, suggesting innate desire for this feature

Ideas / Proposed Solution(s)

JSDoc lists the members of the enum

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:

npm package (@next-major dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Display "out of sync" drifts only on deep-mode

Description
For the non-deep mode, which is the default driftctl scan command, we display every time all the information about "unmanaged", "deleted", "drifted", "managed" resources, and the coverage.
It's quite unhelpful here to display the "drifted" resources since it would be ALL THE TIME equal to 0.
Example
Found 14 resource(s)
 - 21% coverage
 - 3 resource(s) managed by terraform
     - 0/3 resource(s) out of sync with Terraform state <- Not relevant in non-deep mode
 - 10 resource(s) not managed by Terraform
 - 1 resource(s) found in a Terraform state but missing on the cloud provider

Nice catch, this is very relevant 👍🏻
Maybe it can be a good first issue ?

Nice catch, this is very relevant 👍🏻
Maybe it can be a good first issue ?

Absolutely!


Unable to render example from schema when using anyOf or other multiple responses

Describe the bug
I noticed that it can't render the example from the schema when using anyof. It does know that there are two possible responses, but not what the schema is. I do know each one is correct because they are being used elsewhere and that renders.
      "EnvironmentsResponse": {
        "type": "object",
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "description": "A collection of environment information.",
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Environment"
                }
              },
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EnvironmentSummary"
                }
              }
            ]
          }
        }
      },

Expected behavior
It should render each response.
Current behavior
Doesn't render each response. Instead returns
{
  "data": [
    null
  ]
}

Possible solution
Steps to reproduce
https://preview-docs.coalesce.io/docs/api/coalesce/get-environments (no schema example)
https://preview-docs.coalesce.io/docs/api/coalesce/get-environment (Schema example working)
They both share the Environment Component.
Every endpoint that has multiple responses doesn't render an example.
List Nodes
Get Node
List Workspace Nodes
It does work in Swagger Editor.

Context
Not able to provide response examples when there are multiple options.
Your Environment
    "@docusaurus/core": "^3.5.2",
    "@docusaurus/preset-classic": "^3.5.2",
    "docusaurus-plugin-openapi-docs": "^4.0.1",
    "docusaurus-theme-openapi-docs": "^4.0.1",

Version used: 4.0.1
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3): Chrome Version 127.0.6533.120 (Official Build) (arm64).
Node v20.11.0
Operating System and version (desktop or mobile): Mac Sonoma 14.6.1.
Link to your project:
https://preview-docs.coalesce.io/docs/api/coalesce/get-environments (no schema example)
https://preview-docs.coalesce.io/docs/api/coalesce/get-environment (Schema example working)

I can pop over the file, it's big so I didn't attach it

coalesce-api.json
🤞🏾 this downloads

Related to #617

I wrote a python script to remove the empty responses from the mdx file output. I am using a JSON spec to generate my API files. But someone might find it helpful. It ignores other response examples.
import os
import re

def remove_tab_item(content):
    pattern = re.compile(r'(<TabItem\s+label={"Example \(from schema\)"}\s+value={"Example \(from schema\)"}.*?</TabItem>)', re.DOTALL)
    matches = pattern.findall(content)
    new_content = pattern.sub('', content)
    return new_content, matches

def process_file(file_path, log_file):
    with open(file_path, 'r', encoding='utf-8') as file:
        content = file.read()

    new_content, matches = remove_tab_item(content)

    if matches:
        with open(log_file, 'a', encoding='utf-8') as log:
            log.write(f"File: {file_path}\n")
            for match in matches:
                log.write("Found TabItem:\n")
                log.write(match)
                log.write("\n\n")

        with open(file_path, 'w', encoding='utf-8') as file:
            file.write(new_content)
        print(f"Updated and logged: {file_path}")
    else:
        print(f"No changes: {file_path}")

def process_directory(directory, log_file):
    for root, dirs, files in os.walk(directory):
        for file in files:
            file_path = os.path.join(root, file)
            process_file(file_path, log_file)

# Specify the directory to start from and the log file
start_directory = "docs/api"
log_file_path = "tab_item_log.txt"

# Clear the log file if it exists
open(log_file_path, 'w').close()

# Run the script
process_directory(start_directory, log_file_path)

print(f"Log file created: {log_file_path}")

Does #944 help to fix this issue?

@robbieaverill looks like it should


Documentation of how the app works

Is there an explanation anywhere on what exactly the app does?

What data does it collect and record?
How does it collect data when the app is closed? most mobile phones don't allow background processes to use location services.
Does the app get location history access? is this data access even grantable?
What's the internal algorithm to find matches between sick and unsick?

I would assume the mode of operation is as follows, but not sure if that's the case.

User consents to give app location history data (timestamps and locations)
Whenever a user is marked infected by the authorities, he is marked with the timestamp he was supposedly infected.
The recursive ReturnInfectedUsers(infected user, time of infection) method is called. it queries his route to find other users who have crossed paths with him since the time of infection (and remained near him for the required time threshold to be considered infected). For each infected user that is found, the process is repeated recursively.

Can someone verify?

nope, the data is never sent anywhere, only saved localy.. it uses your location history just to compare it to location the health care is publishing here:
https://govextra.gov.il/ministry-of-health/corona/corona-virus/spokesman-messages-corona/

https://govextra.gov.il/ministry-of-health/corona/corona-virus/spokesman-messages-corona/
and here:
https://gisweb.azureedge.net/Points.json

how does the above list of points you mentioned get collected? via technological means or via questioning of the sick, and reliance on their memory?

i know the app has location permission, but how does it obtain location history (1) when the app is off, (2) history prior to installing the app?

https://medium.com/proferosec-osm/hamagen-application-fighiting-the-corona-virus-4ecf55eb4f7c

Hey @ey51 ,
Apologies for the late response.
I think that Profero Sec's exlpanation of how Hamagen works and what gets collected is pretty good. Please let us know if you have anything you'd like to know more.
Regarding your other points, currently the app does not access your past history - but we are working on #124 which will allow a user to give the app access to his last 14 days of location history (only saved locally).
We know our current documentation isn't sufficient, please let us know where we can improve.

ack. thanks. stay safe


[NeedSupport] Passed onnx.checker.check_model() but failed when compiling with torch_tensorrt.compile()

Description
I'm trying to create Swin-Transformer with FPN backbone, and test with torch_tensorrt.
I'm using Swin-Transformer that adapted from https://github.com/SwinTransformer/Swin-Transformer-Object-Detection/blob/master/mmdet/models/backbones/swin_transformer.py to meet TorchScript and ONNX requirements.
After serveral modification, It was successfully scripted using (torch.jit.script(model)), convert to onnx using torch.onnx.export(), loaded using onnx.load, and eventually passed onnx checker.check_model() function.
But the torch_tensorrt.compile() return error with  this error.

The error says that some attributes with List[str] type is not supported. But the error did not say which part of model has error.
How to debug this?
Thank you so much.
Environment
TensorRT Version:  The torch_tensorrt.version command returns '1.0.0a0'
NVIDIA GPU:  RTX 2080 Ti
NVIDIA Driver Version:  495.44
CUDA Version:  11.5
CUDNN Version: 8.3
Operating System: ubuntu server 20.04
Python Version (if applicable): 3.8.12
Tensorflow Version (if applicable):
PyTorch Version (if applicable): 1.11.0
Baremetal or Container (if so, version): docker pytorch:21.11-py3
Relevant Files
src.zip
might be installing timm, yacs is required.
Steps To Reproduce
run docker container with:
sudo docker run -it --gpus all -v <source>:/workspace -p 8888:8888 nvcr.io/nvidia/pytorch:21.11-py3
install onnx_graphsurgeon, timm, yacs as following:
pip install nvidia-pyindex
pip install onnx-graphsurgeon
pip install timm yacs

The train.py file create Swin_transformer backbone2 using yaml config file from config folder.  then creates FPN with Swin-Transformer backbone.
Thanh you very much for helping me.

Can you enable debug logging and post the log?  You can do this by setting the reportable_log_level to debug


Adjust operand order for vmerge and vcompress

This makes instructions of mnemonic vvm, vxm have consistent intrinsic
interface.
Before:
vint32m1_t vmerge_vvm_i32m1
  (vbool32_t mask, vint32m1_t op1, vint32m1_t op2, size_t vl);

After:
vint32m1_t vmerge_vvm_i32m1
  (vint32m1_t op1, vint32m1_t op2, vbool32_t selector, size_t vl);

Before:
vint32m1_t vcompress_vm_i32m1
  (vbool32_t mask, vint32m1_t src, size_t vl);

After:
vint32m1_t vcompress_vm_i32m1
  (vint32m1_t src, vbool32_t selector, size_t vl);

Resolves https://github.com/riscv-non-isa/rvv-intrinsic-doc/issues/140
Resolves https://github.com/riscv-non-isa/rvv-intrinsic-doc/issues/167
Corresponding changes in LLVM is posted here:

D140686 [Clang][RISCV] Update operand order for vmerge and vcompress

Change: Rebase to latest master.


Zorro mask logic

Hi, thanks for the work,
I notice some difference in the zorro mask logic to the paper. In the code it goes like:
        # the logic goes
        # every modality, including fusion can attend to self

        zorro_mask = token_types_attend_from == token_types_attend_to

        # fusion can attend to everything

        zorro_mask = zorro_mask | token_types_attend_from == TokenTypes.FUSION.value

        # and both specific modalities like audio and video can attend to fusion

        zorro_mask = zorro_mask | token_types_attend_to == TokenTypes.FUSION.value

But in the paper at page 4, chapter Masked attetion, the author explains:

... our modality-specific representation does not have access to the global representation, ... Specifically, we set $m_{ij}=1$ if $j$ is a part of the fusion representation, otherwise we only set $m_{ij}=1$ if $i$ and $j$ are vectores of the same modality.

Which suggests that the third part of mask isn't needed.
Hope I understood the paper correctly.
Best,
Arthur

Closed with #6

Closed with #6


Android: Not rendering first slide.

I'v made a basic rn app and added react-native-swiper. When i add a new item to the array im rendering slides from the first slide will not show on android. It works fine on iOS. It allso works fine if there are atleast 2 elements initialy in the array.

index.android.js
/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View,
  TouchableOpacity
} from 'react-native';
import Swiper from 'react-native-swiper'
class SwiperTest extends Component {
  constructor(props) {
      super(props)
      this.state = {slides: []}
  }

  renderAttachments() {
    return this.state.slides.map((slide, index) => {
      return (
        <View style={[styles.slide1]} key= { index }>
          <Text>{ "Slide " + index }</Text>
        </View>
      );
    });
  }

  onPress() {
    this.setState({slides: this.state.slides.concat("Slide")})
  }

  render() {
    return (
      <View>
        <TouchableOpacity onPress = {this.onPress.bind(this)}><Text >Add slide!</Text></TouchableOpacity>
      <Swiper
        style={styles.wrapper}
        showsButtons={true} loop={false}
        dot={<View style={{backgroundColor:'rgba(0,0,0,.2)', width: 5, height: 5,borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 30,}} />}
        activeDot={<View style={{backgroundColor: '#000', width: 8, height: 8, borderRadius: 4, marginLeft: 3, marginRight: 3, marginTop: 3, marginBottom: 30,}} />}
      >
       {this.renderAttachments()}
      </Swiper>
      </View>
    )
  }
}

var styles = StyleSheet.create({
  wrapper: {
  },
  slide1: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#9DD6EB',
  },
  slide2: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#97CAE5',
  },
  slide3: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#92BBD9',
  },
  text: {
    color: '#fff',
    fontSize: 30,
    fontWeight: 'bold',
  }
})

AppRegistry.registerComponent('SwiperTest', () => SwiperTest);

package.json
"react": "15.2.1",
    "react-native": "0.29.1",
    "react-native-swiper": "^1.4.6"

Hi @srdjan-kolosek, I am facing the same issue here.
Any update? appreciate any help.

@karkb  Nope.

I found this package a few days ago, and it could be helpful for you both because it doesn't face these issues: https://github.com/race604/react-native-viewpager

It seemed that this repo is dead.

I found this fork, it fixes this issue.
https://github.com/ryd0rz/react-native-swiper

This repo is certainly not dead if you look at the commit history. Feel
free to submit a PR to fix any issues.
On Aug 27, 2016, at 5:06 AM, imoreapps<EMAIL_ADDRESS>wrote:
I found this fork, it fixes this issue.
https://github.com/ryd0rz/react-native-swiper
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/leecade/react-native-swiper/issues/191#issuecomment-242906027,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAG52A2z4iAWgmGKQ4BkJSdFDWrInRugks5qj_38gaJpZM4JMVBt
.

This is a problem for me even in iOS using v1.5.12. It adds extra screens at the beginning and the end.
I fixed it by installing at v1.4.9
 npm install<EMAIL_ADDRESS>


chore: Add SonarCloud config

Carbon copy of #464, but the head is in the SpoonLabs/Sorald repo instead of my personal fork.

Per our conversation, we want to merge this but we don't want comment to posted, we want only the Github PR status check.

Test failures probably due to GHA backend trouble: https://www.githubstatus.com/

@monperrus This is now ready for merge.
I've disabled PR comments in the SonarCloud UI, so we'll see if it honors that.
Note that the PR status check will not be posted on PRs that originate from forks, due to the security implications we discussed earlier. This seems to be something of an unsolved problem for SonarCloud, see e.g. this SO post and the fact that the Travis plugin has it as an upcoming feature.
We can work around that by our members working within the repository instead of on private forks, but external contributors won't have their code vetted by SonarCloud.

LGTM.

@fermadeiral feel free to merge!

Ok! Thank you, @slarse!

great milestone, thanks!


[Feature] Debin congrats

Motivación y Contexto
The change is required because at the moment of paying with debin, we need to show another type of information in the congrats.
Descripción

Draw payment method when payment is debin in congrats (generic and business).
Refactor PaymentResultMethod (separete the logic from the model in the view).

Cómo probarlo
Stand on this branch and pay with debin (in integration, select generic or business).
Screenshots
Business

Generic

Compartir conocimiento
Link reference: https://mercadolibre.atlassian.net/jira/software/c/projects/PXN/boards/2743?modal=detail&selectedIssue=PXN-2595&assignee=6058498a570829006ac8517b

@francofusaro altos nombres puse :P


License for using a pretrained model on Culane dataset

Hello @XingangPan,
I would like to ask you if one could use a pretrained model on the Culane dataset for commercial purposes?
I am currently working on lane detection with a custom dataset and it would be really helpful if one could use the pretrained model.
Thank you.

@aspandey2021 Hi, the data and models in this project are for academic research purpose only. Using a pretrained model on the Culane dataset for commercial purposes is not allowed.


HIVE-24559: Fix some spelling issues

What changes were proposed in this pull request?

This pull request fixes some minor typos.
Why are the changes needed?

This pull request fixes some minor typos.
Does this PR introduce any user-facing change?

No
How was this patch tested?

No need to be tested.

Hey @vihangk1, here's another patch to master, just fixing some typo issues~~ Could you please merge this again? Thanks a lot.

Hey @vihangk1, could you please help me merge this? The patch does not have any code changes, just fixing some typo issues~

Hey @vihangk1, could you please help me merge this? The patch does not have any code changes, just fixing some typo issues~

@sunchao Thanks a lot.

@sunchao Thanks a lot.


Your LinkedIn profile says "Japanse"

Sorry, its not an issue, just didn't know how to reach you without upgrading to LinkedIn Premium, and that would have been overkill.
Congratulations to your Public Speaking Contest - Grand Prize in Japanese that I saw on your LinkedIn page (Honors). Very impressive video on YouTube and interesting presentation. I hope to get that far (N1) one day myself.
However, I noticed it says "Japanse"... on the LinkedIn page, as in "Japanse Public Speaking Contest", shouldn't it be "Japanese"?
Patrick

Thank you!


Force consistent random seed at compile time

Hi,
I'd like to consider using aHash in a project in our lab (https://github.com/COMBINE-lab/alevin-fry).  In particular, we have a few places in the code where we make use of a greedy heuristic to solve a hard problem, where the exact result one gets depends on the order in which keys are observed.  Using standard hashers, this is a bit of an inconvenience, since you can run the program multiple times on exactly the same (deterministic) input and get slightly different results. The results are all equally "correct", since the greedy algorithm breaks ties randomly, but it would be desirable to have exact reproducibility between runs here.
I noticed that aHash supports using a const (compile-time) random number generator "when a random source is not present at runtime".  Is it possible to force aHash to use a const random number, even if a runtime source is present?  Is there any way to enforce that, in the same binary, the randomness will be the same between runs?
Thanks!

Yes. This is supported you can use the with_seeds method to manually supply a specific seed to the hashing algorithm.

This is great!  Thank you for the pointer; I'll try it out.


Uploading an image on wifi

Hi this is a bug I noticed a while ago but I thought it might be due to my slow wifi.
My brother is also having the issue and I've had it at many different locations.
Could it be related to maximum timeout during large photo uploads?

Are you still able to reproduce this issue @kirkins ? Do you have an error message?

Ipfs seems to be working fine on wifi now.

@bonustrack this conversation might be relevant to the issue but I'm not sure.
https://busy.org/@anna-mi/coconut-milk-pancakes-with-caramelized-peach#@kirkins/re-anna-mi-coconut-milk-pancakes-with-caramelized-peach-20180520t223517130z
Could it just be a an IPFS issue (maybe not handling large HQ photos)? With Anna-mi I think she is uploading large photos. She said she could see them on her phone but when she looked on her PC they weren't there.
I had something weird like this once too. In my case I could see the photos perfectly on the draft preview, but when I submitted they were broken on the actual post.
I'm guessing something related to IPFS, I don't know much about IPFS now.

In a different case she said the photos didn't appear and then later without updating the post they appeared.

Recently I already had also. But after a while, and from the computer and from the phone became visible all the images.


Yet another fix for lowerCamel field names.

Fixes googleapis/gax-nodejs#43

Current coverage is 78.91% (diff: 100%)

Merging #527 into master will increase coverage by 0.01%

@@             master       #527   diff @@
==========================================
  Files           248        248
  Lines          9084       9089     +5
  Methods           0          0
  Messages          0          0
  Branches       1183       1184     +1
==========================================
+ Hits           7168       7173     +5
  Misses         1608       1608
  Partials        308        308

Powered by Codecov. Last update 4f42626...1e9d75b


model.predict() on exported model

Hi,
As I explained in this issue here: https://github.com/XifengGuo/CapsNet-Keras/issues/95
I was able to resolve exporting the model and trained weights.
test_dicoms = ['test1.png','test2.png','test3.png','test4.png','test5.png','test6.png']
for img in test_dicoms:
        full_size_image = io.imread(img, as_gray=True)
        model.predict(np.asarray(full_size_image))

throws the following error:
ValueError: Error when checking model input: the list of Numpy arrays that you are passing to your model is not the size the model expected. Expected to see 2 array(s), but instead got the following list of 1 arrays: [array([[115, 164, 173, 170, 174, 167, 148, 125, 124, 126, 150, 191, 198,
206, 205, 209, 191, 180, 128, 109,  99,  67,  63,  58,  50,  41,
32,  41],
[150, 173, 191, 188, 191, 1...
Any help is appreciated. Thanks.
Note: test_dicoms has the correct path and images are already 28 * 28 (verified with image.shape).

@GaganaB Did you use the model or eval_model?
https://github.com/XifengGuo/CapsNet-Keras/blob/2f6d47dd205c7d77fc3d43626feee4c45d3c6db4/capsulenet.py#L242-L244
If you use model, which is 2-in-2-out model, you should feed a tuple with 2 arrays, like outputs = model.predict(x, y).
https://github.com/XifengGuo/CapsNet-Keras/blob/2f6d47dd205c7d77fc3d43626feee4c45d3c6db4/capsulenet.py#L69
If you use eval_model, which is a 1-in-2-out model, you should feed an array, like outputs = model.predict(x)
https://github.com/XifengGuo/CapsNet-Keras/blob/2f6d47dd205c7d77fc3d43626feee4c45d3c6db4/capsulenet.py#L70


Make sure clean binary file by make clean

Before:
[root@ecs-d8b6 goproxy]# make clean
[root@ecs-d8b6 goproxy]# ls ./bin/
goproxy

With this patch:
[root@ecs-d8b6 goproxy]# make clean
Removing bin/
[root@ecs-d8b6 goproxy]# ls ./bin
ls: cannot access ./bin: No such file or directory

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@oiooj

LGTM, Thanks @RainbowMango


[AutoRelease] t2-mobilenetwork-2022-07-20-06685(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3010
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=4616

issue link:https://github.com/Azure/sdk-release-request/issues/3010

/check-enforcer override


Subscription UX is difficult to work with

Cliffnotes:
1. New data is at the bottom of the list
2. Should this even be a list? I don't think so personally.
3. Can't scroll down because each data entry overflows.
4. Can't clear without refreshing.
Quick video showing the issues with the Subscription UX.
https://imgur.com/a/WEYFBsE
Recommended fixes in order of impact/time ratio

Place new data at the top of the list, not the bottom.
Don't let the responses overflow and thus create individual scrolling sections.
Allow the results list to scroll

Bump

Can someone point me to where subscriptions are handled, might create a PR

https://github.com/prisma-labs/graphql-playground/pull/1023 ....since May

PR's are completely blocked by maintainers with write access who are not contributing their time anymore.
https://twitter.com/luke_pighetti/status/1199079836481982466
https://twitter.com/luke_pighetti/status/1200798023632195584

@lukepighetti Great idea with the Twitter pings. Keep it up. This project is amazing, it just needs a few bug fixes.

I just pinged Peggy @ apollo to see if she knew anyone we could contact to get some visibility on this https://twitter.com/luke_pighetti/status/1203353017724153856


refactor: add $applicationMiddlewarePriority

This pull request introduces a new middleware priority policy, enhancing our system's flexibility and control. The changes ensure seamless integration, and the updated middleware prioritization enhances the overall performance and customization options. Please review and provide feedback for a swift merge.

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


A11Y: User is able to navigate through background content without closing the Sidebar Menu

ENVIRONMENT:
OS (number): N (7.1.2)
Build number: N2G47H
Form factor (Smartphone / tablet):  Nexus 6P
Browser: Chrome Dev 59.0.3056.4
Pre-requisite:

Talkback is ON

STEPS TO REPRODUCE:

Open https://ampstart.com))
Try to Linearly navigate through the Sidebar Menu.

ACTUAL RESULTS:
While Linearly navigating through the Sidebar Menu, user is able to navigate through the background content.
Note: Issue is also reproducible in iOS device.
EXPECTED RESULTS:
Focus should not go outside the Menu until it’s closed. i.e. user should not be able to to access the background content when Menu is opened.
ATTACHMENT
BackgroundNavigation_MenuOpen.mp4.zip

https://github.com/ampproject/amphtml/issues/9847


Why this library is not on Unity Assetstore?

This library works perfectly with unity and even performs better than Unet. Why it's not on assetstore?
It's much easier to update library from assetstore in a unity project.

The lib is too low level for users of the asset store, they probably would expect a bunch of monobehaviours included to help them out. It's also a pain for publishers to update their assets through Unity's API and it often takes too long (~4 days) for updates to be available on the store.
While just pointing to a repo would actually give people more incentives to contribute to it than an asset on the store would and updating through git is safer.
All of this is going to require additional resources to maintain, now RevenantX can do whatever he wants but I personally don't think it's worth it.

It's also a pain for publishers to update their assets through Unity's API and it often takes too long (~4 days) for updates to be available on the store.

I didn't know that it takes this long. surely cloning git repo and deleting unnecessary files will take less than 4 days 😄

Submitting something to the Assets Store (especially if your asset is updated often) it's a pain in the ass. An extensive time to validation is just the beginning of a headache that awaits you further.


Dev

https://github.com/bidolah/Calculator/milestone/1

Please clear solution. Delete commented code


Do media_type(s) need to be IANA assigned

Discussed at the Ely workshop...
Flow media_type and Receiver caps.media_types (and the Parameter Constraint urn:x-nmos:cap:format:media_type) is defined everywhere as "IANA assigned".
E.g. https://github.com/AMWA-TV/is-04/blob/0c48726e537574915ed9ef6cf550cc4a9fb57a74/APIs/schemas/flow_video_coded.json#L15
Do we really need these to be IANA assigned, or do we accept commonly used values like audio/AM824 and video/SMPTE2022-6 which are well defined by SMPTE or other industry bodies but are not found in the IANA Media Types Register? If so, could we tweak the language slightly?

@AMWA-TV/nmos-architecture-review will be interested?

Architecture Review Group review: place on backlog

Committed and published in IS-04 1.3.3


Can I show 3D models in search results, but not on the source website?

Description
How is it possible to embed 3d model so it will be visible only in Google AR Search but not visible on the page?
Below are 2 examples from Burberry and Wikipedia, their 3D models appear in search but not visible on the appropriate pages.
Live Demo
Burberry example:
https://www.dropbox.com/s/wpczqdthdugwu60/Google_AR_3D_Capture .mp4
Wikipedia example:
https://i.imgur.com/2eGW7HP.png

This is not currently supported, but I would first refer you to this comment here...
...and also point out that Google Search guidelines regarding structured data state explicitly:

Don't mark up content that is not visible to readers of the page. For example, if the JSON-LD markup describes a performer, the HTML body should describe that same performer. (source)

structured data on the page should describe the content of that page. You should not create blank or empty pages just to hold structured data; nor should you add structured data about information that is not visible to the user, even if the information is accurate. (source)

Okay and what about showing 3d content only on mobile but invisible on PC version?

Allow me to share some info about the appearance of the "View in 3D" chip in search results that was shared with me by resources on the business development side of the Google Daydream team recently:

This feature is in limited beta with a small handful of mostly large companies
They are being very selective about who can join the beta and will likely only consider organizations that have a very large number of models integrated into their site (i.e. >1000)
This beta test is being used to work out the value proposition to the almighty Google search results scheme as well as the mechanics of how the facility should look and work
There is no guaranty that the "View in 3D" search results chip will ever make it out of beta

@andrewtsymbal there is obviously gray area here, because one cannot force a mobile experience to contain exactly the same content as the desktop experience.
That said, my two cents: I think it goes against the principle of publishing in general to "change the story" you tell to users based on the form factor of the medium. If I read a novel, it doesn't matter if I read it on paperback, hardcover or in an e-reader. Even if I watch a movie adaptation, my hope as a viewer is to be exposed to a specific story.
If the content on the page relates the same details on PC and mobile, you are probably fine. But to the extent that a 3D model is an essential part of that content - and if you want it to be indexed by Search, I would say it rises to the level of an essential part of that content - it should be presented to all viewers of that content regardless of device type.


Add weekly full preset testing.  One level for each

Ensure all presets are regularly run.  Have the CI surface any issues.

Somewhat blocked until we get beefier hardware.

Closing. Won't fix.


Handle non-zero error codes in Stakeholder module update_all() method

Expected Behavior
When one or more nodes in the Stakeholder data model tree fails to update properly, the user should be informed (via dialog).  Additionally, details regarding which node(s) failed to update should be written to the debug log.
Actual Behavior
RTK simple prints 'FIXME: Handle non-zero error codes in rtk.stakeholder.Model.update_all()' to the terminal.  This print statement is simply a placeholder and useless to the end user.
Steps to Reproduce the Problem

Launch RTK.
Open a Program database.
Select the Stakeholder tab in the Module Book.
Press the 'Save All' button in the Module Book.

The top node in all data model trees does not contain a data object, so the update() method will return a non-zero error code.
Proposed Solution (optional)

Create a requirement/specification for the update_all() method to handle non-zero error codes from the update() method.  This requirement will cover the update_all() method in all RTK Modules.
Create a test to verify the requirement is implemented properly.
Ignore the top node in the update_all() method.
Create a descriptive error message to, ultimately, pass to the data controller.  This error message will be written to the debug log for later inspection.  Since the update() method that is called for each node in the update_all() method returns an error code and message, the update_all() method will need unique error code and message variables.  The error code variable must retain a non-zero value after one update error.  The error message variable must be appended to for each node that raises a non-zero error code in the update() method.
Have the Stakeholder Module View raise a Warning dialog informing the user one or more Stakeholders failed to update properly and to check the debug log for more details.

Operating Environment (not required for a [REQUIREMENTS] error)
Not required.  This is a [REQUREMENTS] error.

The AttributeError also needs handling in the update_all() method.  Refer to the HazOps module for reference on the AttributeError.

Fixed in commit 97cc29eb5a5adba48a895f233efeb7d0fad5df1e


Changes by Andreas, also add nat_traversal secure_serialisation and alter key types to box_

r? @vinipsmaker
(maidsafe_highfive has picked a reviewer for you, use r? to override)

Reviewed 9 of 12 files at r1, 4 of 5 files at r2, 2 of 2 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


fix '0x' address in token detail(#1849)

What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/kind api-change
/kind backend-change
/kind ui-change
/kind bug
/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes:

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

 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.jim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Be more efficient with pulls when multiple methods are called in rapid succession

Right now in Adventure, just using pull, read, read_all, etc for a few different things per controller action, I get a trace that looks like this:
Started GET "/projects/565392863c67538414000020/embed.json?preview=true" for <IP_ADDRESS> at 2015-11-23 17:31:55 -0500
Processing by ProjectsController#embed as JSON
  Parameters: {"preview"=>"true", "id"=>"565392863c67538414000020"}
D, [2015-11-23T17:31:55.028901 #33812] DEBUG -- : MONGODB | localhost:27017 | adventure_development.find | STARTED | {"find"=>"projects", "filter"=>{"_id"=>BSON::ObjectId('565392863c67538414000020')}}
D, [2015-11-23T17:31:55.031136 #33812] DEBUG -- : MONGODB | localhost:27017 | adventure_development.find | SUCCEEDED | 0.001826s
I, [2015-11-23T17:31:55.032328 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:55.719723 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:55.720315 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:55.727688 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:55.728194 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd
I, [2015-11-23T17:31:55.734071 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:56.413196 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:56.413825 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:56.421776 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:56.422270 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd
I, [2015-11-23T17:31:56.427733 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:57.089874 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:57.090589 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:57.098712 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:57.099410 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd
I, [2015-11-23T17:31:57.105311 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:57.767140 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:57.767853 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:57.775125 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:57.775618 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd
I, [2015-11-23T17:31:57.781516 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:58.436839 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:58.437613 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:58.445340 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:58.446253 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd
I, [2015-11-23T17:31:58.452632 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:59.115584 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:59.116230 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:59.123524 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:59.124116 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd
I, [2015-11-23T17:31:59.130610 #33812]  INFO -- : Fetching origin into<EMAIL_ADDRESS>I, [2015-11-23T17:31:59.793327 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:59.793893 #33812]  INFO -- : Updated refs/heads/master from 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd to 0f4ab7f07831cc4e42b98165c0120b005d53f028
I, [2015-11-23T17:31:59.801385 #33812]  INFO -- : Fetched refs/remotes/origin/master
I, [2015-11-23T17:31:59.801876 #33812]  INFO -- : Updated refs/heads/master from 0f4ab7f07831cc4e42b98165c0120b005d53f028 to 2dd92c3d314fd9fe03d9a4594a26452aaf12c1dd

Must be some way to get around this and speed everything up, yes?

So this hasn't been forgotten. There are a couple of different ways we could structure the code to do this, want to present the options I see for discussion.
The two basic methods I see are to implement either 1) some sort of transaction method where multiple calls are wrapped by a pull at the beginning and potentially a push at the end or 2) some sort of system timer that tracks the times at which pulls and methods get called and calls pull again whenever the time goes over some interval. The first might complicate the API code a bit, the second I worry we will run into more serious cross-platform issues and inconsistencies and be very hard to debug race conditions and etc.
So here are some proposed APIs.
Some form of block syntax? Within the block, one pull! is issued before all statements
and they then don't individually call sync.
repo.sync do |r|
  r.list
  r.log
end

Or more explicitly
repo.start_synced
repo.list
repo.log
repo.end_synced

Or
tx = repo.get_transaction
tx.list
tx.log
tx.end_transaction

Or the system clock option. Have a default config setting.
CapitalGit.config.sync_interval = 5s

And then, any calls that take place within 5 seconds of a previous pull will not pull again
repo.list    # will pull
repo.log     # won't pull
             # wait 5 seconds
repo.list    # will pull

@blumysden @samjacoby Thoughts?

I agree that the second option feels potentially buggy.  I like how explicit the first choice is, and I really like the block syntax idea personally.

I like the block syntax the most as well. I've got an, I think, working implementation of it in this branch https://github.com/newsdev/capital_git/tree/local-sync-pull
Pretty much exactly that syntax should work (though the r object and the repo object are not actually the same object.
Want to try it out or take a look @blumysden @samjacoby before I merge it in to master?
repo.sync do |r|
  r.list
  r.log
end

Sure.  Will try tomorrow.  Feel free to have a go yourself, @samjacoby, if
you want.
On Thu, Feb 25, 2016 at 6:24 PM, Albert Sun<EMAIL_ADDRESS>wrote:

I like the block syntax the most as well. I've got an, I think, working
implementation of it in this branch
https://github.com/newsdev/capital_git/tree/local-sync-pull
Pretty much exactly that syntax should work (though the r object and the
repo object are not actually the same object.
Want to try it out or take a look @blumysden
https://github.com/blumysden @samjacoby https://github.com/samjacoby
before I merge it in to master?
repo.sync do |r|
r.list
r.log
end
—
Reply to this email directly or view it on GitHub
https://github.com/newsdev/capital_git/issues/3#issuecomment-189032988.

Tests pass nicely, but when linking it from Adventure, I'm catching some errors while trying to pull in certain repositories.
Sync project Pick My ride
I, [2016-02-26T15:46:12.221432 #20]  INFO -- : Failed to create repository from /usr/src/app/vendor/cache/capital_git/tmp/adventure-production-2016-01-11-pick-my-ride
I, [2016-02-26T15:46:12.222284 #20]  INFO -- : Repository at /usr/src/app/vendor/cache/capital_git/tmp/adventure-production-2016-01-11-pick-my-ride doesn't exist
I, [2016-02-26T15:46:12.222922 #20]  INFO -- : Cloning git@newsdev.ec2.nytimes.com:adventure-production-2016-01-11-pick-my-ride.git (master) into /usr/src/app/vendor/cache/capital_git/tmp/adventure-production-2016-01-11-pick-my-ride
Completed 500 Internal Server Error in 1041ms
** [Airbrake] Notice was not sent due to configuration:
  Environment Monitored? false
  API key set? false

Rugged::OSError (Failed to mmap. Could not write data: Invalid argument):
  app/models/project.rb:77:in `capital_git_repo'
  app/models/project.rb:103:in `local_path'
  app/models/project.rb:52:in `sync'
  app/controllers/projects_controller.rb:261:in `sync_project'

When trying to re-add the project (pick-my-ride), I get the following:
Not 100% sure what's going on, but it suggests to me that something in here is changing the way Adventure is interacting with capital git.
W, [2016-02-26T15:51:20.666424 #20]  WARN -- : Attempting to connect to a repository that's not defined in configuration.
D, [2016-02-26T15:51:20.669057 #20] DEBUG -- : Setting database local_path to /usr/src/app/vendor/cache/capital_git/tmp
Completed 500 Internal Server Error in 16ms
** [Airbrake] Notice was not sent due to configuration:
  Environment Monitored? false
  API key set? false

NoMethodError (undefined method `gsub' for nil:NilClass):
  app/models/project.rb:77:in `capital_git_repo'
  app/models/project.rb:103:in `local_path'
  app/models/project.rb:52:in `sync'
  app/controllers/projects_controller.rb:261:in `sync_project'

Creating a new repo, etc., works 100%. I'll dig into this a bit when I get a chance, unless you have some smart pointers on where to look @albertsun.

Hm I'm not sure. Those seem to be at a layer of the code that I didn't really change in the pulling and cloning bits. And I don't think the underlying rugged or libgit2 versions should have changed from this either. Will look into it a bit too

This may have something to do w/ various docker builds I have running, and local capital_git linking, more than anything in the implementation.

I'm not seeing the same problems when I run it, Sam.  Could very well be
something weird like that.  If tests are passing, we can always merge, push
the new gem out, try to upgrade, and then peg the gem to an earlier version
if there's a problem, until we can fix.
Thanks, Albert!
On Fri, Feb 26, 2016 at 1:42 PM, Sam Jacoby<EMAIL_ADDRESS>wrote:

This may have something to do w/ various docker builds I have running, and
local capital_git linking, more than anything in the implementation.
—
Reply to this email directly or view it on GitHub
https://github.com/newsdev/capital_git/issues/3#issuecomment-189419020.

Cool. Releasing this as v0.2.0 https://github.com/newsdev/capital_git/releases/tag/v0.2.0


Add Command-line and Ant examples

These use the cucumber-jvm helloworld code as an example, and I'm adding
a simple script to run it without ant etc. Note that I'm not covering
how to compile stuff, for that ant is a lot easier!
Original PR: https://github.com/cucumber/cucumber.github.com/pull/53

Please issue a new PR if it needs any changes.
@aslakhellesoy is this good to merge?

closing due to age.


Borderlands 2 runs out of video memory (or so it says)

Here's a screenshot when it happens:

Don't mind the grey rectangles, it's a selection from the screenshot program. The main window isn't redrawing when the error happens. This time it happened when I got to the main menu but it can also "crash" (not really crash as it's not a segfault or whatever) midgame. The error is weird because I have plenty of VRAM (8 Gb) and the game doesn't allocate this much. Usually happens after an hour of playing or so.
Software information
Borderlands 2, all settings maxed out.
System information

GPU: GTX 1070
Driver: 430.26
Wine version: Proton 4.2-7
DXVK version: 1.2.1 built from master

For whatever reason I can't produce log files. My command line in Steam is DXVK_HUD=full DXVK_LOG_LEVEL=debug DXVK_LOG_PATH=/home/rkfg %command% but there are no new files in my home directory.
PS: many thanks for this project! Some might say it's not that important as D3D9 games are old and don't need beefy hardware to work smoothly on modern hardware but it's blatant lies. My FPS is like 50% better and more stable (almost no hitches) in BL2 with D9VK than with default OpenGL backend and it's even more correct! On OpenGL I see small black squares flickering on the geometry and some crosshairs and D9VK doesn't produce them.

Maybe related: in #36 a huge amount of samplers mentioned. I found out it only happens when "Texture fade" option is enabled, samplers count grows like crazy! I turned it off and now it's steady at around 80. Maybe that's the cause of this out of memory issue. I'll play further to confirm.

Was just about to report this myself. Played roughly 3 hours without any issues, but then it started crashing frequently (or rather, freezing). Sometimes I would get the same little error box saying it was out of memory. I'm running on a 2080 Ti with 11GB of VRAM, all graphic settings maxed out. Same proton/D9VK as rkfg. Tried running it without D9VK and it works fine then (but worse performance).
Worth noting is that my boss-intro-scenes are often screwed up as well (tons of random black-ness). Probably a separate issue though.

In the end my game froze, no error message box this time, no interesting info in the game's own log. The RES memory of the game process shrunk to just 18 Mb though.

I also noticed on D9VK not all shadows are rendered compared to native port or wined3d. But the performance is way better on D9VK.

Did any of you manage to get a D9VK log file? I'm running the game with Proton, installed D9VK into the prefix as described and as you can see on the screenshot I can enable the HUD. But the logging options either don't work or I do something wrong.

I'd say this is caused by D9VKs implementation of GetAvailableTextureMem. Maybe hook that up with VK_EXT_memory_budget and return values that are actually correct.

I'll try to get a log tomorrow for this. Should be able to monitor the VRAM usage as well to make sure this is not affecting the rest of the OS. At one time, when BL2 froze, my Discord froze as well. Odd.

Maybe worth to try and compare 0.11 release.
I was able to play through the whole Tina's DLC w/o any OOM errors. Now I tried new Lilith's DLC (+Handsome Collection) and got an error immediately after start (D9VK built from git master).
Mem usage snapshot during the error (longer session)
Several short sessions w/ 0.11 are fine so far.

I've tried quite a few builds with BL2/Proton and results vary from day to day. The current master crashes for me as well, but doesn't show anything. Master on Wednesday had "brightness problems" (snow in the start areas was completely bright white). The latest build from before the commit gap before Wednesday worked reasonably well, but had a few annoying graphical glitches that looked like they had to do with lighting (moire style patterns) and messes up the character introduction screens. The build from about a week before that had serious lighting problems. So it looks like the areas that are being worked on at the moment heavily affect BL2 and I haven't been able to find one that was good for this game. Unfortunately wined3d also has quite a few glitches.
I'll have a try with the 0.11 build now as suggested.

For me it usually freezes or crashes after an hour or so. Setting TextureMB from 120 to 1000 in the [MemoryBudgets] section of WillowEngine.ini makes the game crash much more often, either before the main menu or soon after the game is loaded. Turning off Texture Fade makes the game crash less often.

GPU: GTX 1050 Ti
Driver: 430.26
Wine version: Proton 4.2-7
DXVK version: d9vk-0.12 release https://github.com/Joshua-Ashton/d9vk/commit/19cefffdc80df3a8510878a83706ee0ae39174d0

Launcher_d3d9.log
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      18874368
  Alignment: 256
  Mem flags: 0x7
  Mem types: 0x681

DXVK version: d9vk master https://github.com/Joshua-Ashton/d9vk/commit/88e5369185dcd8edd23f7ffbf4807f08773166fd

Launcher_d3d9.log
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      16777216
  Alignment: 256
  Mem flags: 0x6
  Mem types: 0x681
err:   DxvkMemoryAllocator: Memory allocation failed

Setting TextureMB to a bigger value will probably cause it to keep more textures alive.
For most textures D3D9 also has a copy in system memory and when the game reaches the 32 bit address space limit, it crashes.

Solved my no log issue. The cause is that Proton overrides DXVK_LOG_LEVEL with none, even if it's specified from command line. To enable logging I copied user_settings.sample.py to user_settings.py in Proton's directory (usually %steamroot%/steamapps/common/Proton 4.2 or such) and changed the log setting inside it to "DXVK_LOG_LEVEL": "debug". Now the log file is created correctly. Will post my output when the game freezes next time.

Setting TextureMB to a bigger value will probably cause it to keep more textures alive.
For most textures D3D9 also has a copy in system memory and when the game reaches the 32 bit address space limit, it crashes.

That makes sense. I disabled the Ultra HD Texture Pack, and there are no issues now as far as I can tell after testing the game for 25 minutes with TextureMB set to 1000.

Tried producing a log today and it worked well. I actually happen to be at a spot where the game will crash every single time the save is loaded (instantly as soon as the save almost finished loading).
Here is the log (22MB):
steam-49520.log
Here's the end of it:

steam-49520.log (end)
52927.113:0027:0028:trace:seh:cxx_frame_handler handling C++ exception rec 0x239dae0 frame 0x239de64 trylevel 12 descr 0x18c5868 nested_frame (nil)
52927.113:0027:0028:trace:seh:dump_exception_type flags 0 destr (nil) handler (nil) type info 0x18b9714
52927.113:0027:0028:trace:seh:dump_exception_type     0: flags 1 type 0x1958470 {vtable=0x18a38f4 name=.PA_W ()} offsets 0,-1,0 size 4 copy ctor (nil)
52927.113:0027:0028:trace:seh:dump_exception_type     1: flags 1 type 0x1958480 {vtable=0x18a38f4 name=.PAX ()} offsets 0,-1,0 size 4 copy ctor (nil)
52927.113:0027:0028:trace:seh:dump_function_descr magic 19930522
52927.113:0027:0028:trace:seh:dump_function_descr unwind table: 0x18c588c 44
52927.113:0027:0028:trace:seh:dump_function_descr     0: prev -1 func (nil)
52927.113:0027:0028:trace:seh:dump_function_descr     1: prev 0 func 0x14c3580
52927.113:0027:0028:trace:seh:dump_function_descr     2: prev 1 func 0x14c358b
52927.113:0027:0028:trace:seh:dump_function_descr     3: prev 1 func 0x14c3596
52927.113:0027:0028:trace:seh:dump_function_descr     4: prev 1 func 0x14c35a1
52927.113:0027:0028:trace:seh:dump_function_descr     5: prev 1 func 0x14c35ac
52927.113:0027:0028:trace:seh:dump_function_descr     6: prev 1 func 0x14c35b7
52927.113:0027:0028:trace:seh:dump_function_descr     7: prev 6 func 0x14c35c2
52927.113:0027:0028:trace:seh:dump_function_descr     8: prev 7 func 0x14c35cd
52927.113:0027:0028:trace:seh:dump_function_descr     9: prev 7 func 0x14c35d8
52927.113:0027:0028:trace:seh:dump_function_descr     10: prev 6 func 0x14c35e3
52927.113:0027:0028:trace:seh:dump_function_descr     11: prev 1 func 0x14c35ee
52927.113:0027:0028:trace:seh:dump_function_descr     12: prev 1 func 0x14c35f9
52927.113:0027:0028:trace:seh:dump_function_descr     13: prev 1 func 0x14c3604
52927.113:0027:0028:trace:seh:dump_function_descr     14: prev 1 func 0x14c360f
52927.113:0027:0028:trace:seh:dump_function_descr     15: prev 1 func 0x14c361a
52927.113:0027:0028:trace:seh:dump_function_descr     16: prev 1 func 0x14c3625
52927.113:0027:0028:trace:seh:dump_function_descr     17: prev 16 func 0x14c3630
52927.113:0027:0028:trace:seh:dump_function_descr     18: prev 17 func 0x14c363b
52927.113:0027:0028:trace:seh:dump_function_descr     19: prev 17 func 0x14c3646
52927.113:0027:0028:trace:seh:dump_function_descr     20: prev 16 func 0x14c3651
52927.113:0027:0028:trace:seh:dump_function_descr     21: prev 1 func 0x14c365c
52927.113:0027:0028:trace:seh:dump_function_descr     22: prev 1 func 0x14c3667
52927.113:0027:0028:trace:seh:dump_function_descr     23: prev 22 func 0x14c3672
52927.113:0027:0028:trace:seh:dump_function_descr     24: prev 23 func 0x14c367d
52927.113:0027:0028:trace:seh:dump_function_descr     25: prev 23 func 0x14c3688
52927.113:0027:0028:trace:seh:dump_function_descr     26: prev 22 func 0x14c3693
52927.113:0027:0028:trace:seh:dump_function_descr     27: prev 1 func 0x14c369e
52927.113:0027:0028:trace:seh:dump_function_descr     28: prev 0 func 0x14c36a9
52927.113:0027:0028:trace:seh:dump_function_descr     29: prev -1 func (nil)
52927.113:0027:0028:trace:seh:dump_function_descr     30: prev 29 func 0x14c36b4
52927.113:0027:0028:trace:seh:dump_function_descr     31: prev 30 func 0x14c36d6
52927.113:0027:0028:trace:seh:dump_function_descr     32: prev 31 func 0x14c36f8
52927.113:0027:0028:trace:seh:dump_function_descr     33: prev 32 func 0x14c371a
52927.113:0027:0028:trace:seh:dump_function_descr     34: prev 33 func 0x14c373c
52927.113:0027:0028:trace:seh:dump_function_descr     35: prev 32 func 0x14c373c
52927.113:0027:0028:trace:seh:dump_function_descr     36: prev 31 func 0x14c373c
52927.113:0027:0028:trace:seh:dump_function_descr     37: prev 30 func 0x14c373c
52927.113:0027:0028:trace:seh:dump_function_descr     38: prev 29 func 0x14c373c
52927.113:0027:0028:trace:seh:dump_function_descr     39: prev 38 func 0x14c3747
52927.113:0027:0028:trace:seh:dump_function_descr     40: prev 39 func 0x14c3752
52927.113:0027:0028:trace:seh:dump_function_descr     41: prev 29 func 0x14c375d
52927.113:0027:0028:trace:seh:dump_function_descr     42: prev 41 func 0x14c377f
52927.113:0027:0028:trace:seh:dump_function_descr     43: prev 42 func 0x14c37a1
52927.113:0027:0028:trace:seh:dump_function_descr try table: 0x18c5854 1
52927.113:0027:0028:trace:seh:dump_function_descr     0: start 0 end 28 catchlevel 43 catch 0x18c5844 1
52927.113:0027:0028:trace:seh:dump_function_descr         0: flags 1 offset -616 handler 0x4c1d3a type 0x1958470 {vtable=0x18a38f4 name=.PA_W ()}
52927.113:0027:0028:trace:seh:dump_function_descr expect list: (nil)
52927.113:0027:0028:trace:seh:dump_function_descr flags: 00000001
52927.113:0027:0028:trace:seh:call_catch_block matched type 0x18b9720 in tryblock 0 catchblock 0
52927.113:0027:0028:trace:seh:_CreateFrameInfo (0x239d5ec, 0x239db9c)
52927.113:0027:0028:trace:seh:__regs_RtlUnwind code=e06d7363 flags=3
52927.113:0027:0028:trace:seh:__regs_RtlUnwind eax=00000000 ebx=0239de64 ecx=0239d500 edx=00141010 esi=0239dae0 edi=018c5844
52927.113:0027:0028:trace:seh:__regs_RtlUnwind ebp=0239d6c8 esp=0239d510 eip=7d3b24e6 cs=0023 ds=002b fs=0063 gs=006b flags=00200246
52927.113:0027:0028:trace:seh:__regs_RtlUnwind calling handler at 0x7bc85e60 code=e06d7363 flags=3
52927.113:0027:0028:trace:seh:__regs_RtlUnwind handler at 0x7bc85e60 returned 1
52927.113:0027:0028:trace:seh:cxx_local_unwind calling unwind handler 0x14c35f9 trylevel 12 last 0 ebp 0x239de70
52927.113:0027:0028:trace:seh:cxx_local_unwind calling unwind handler 0x14c3580 trylevel 1 last 0 ebp 0x239de70
52927.113:0027:0028:trace:seh:call_catch_block calling catch block 0x18c5844 addr 0x4c1d3a ebp 0x239de70
52927.113:0027:0028:trace:seh:__CxxUnregisterExceptionObject (0x239d5ec)
52927.113:0027:0028:trace:seh:_FindAndUnlinkFrame (0x239d5ec)
52927.113:0027:0028:trace:seh:_IsExceptionObjectToBeDestroyed 0x239db9c
52927.113:0027:0028:trace:seh:__DestructExceptionObject (0x239dae0)
52927.113:0027:0028:trace:seh:call_catch_block done, continuing at 0x4c1d18
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state 180
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state 183
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      2097152
  Alignment: 256
  Mem flags: 0xe
  Mem types: 0x681
52930.318:0027:0059:trace:seh:MSVCRT_raise (22)
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
Unable to read VR Path Registry from C:\users\steamuser\Local Settings\Application Data\openvr\openvrpaths.vrpath
52930.319:0027:0059:fixme:msvcrt:__clean_type_info_names_internal (0x2795cc) stub
terminate called after throwing an instance of 'dxvk::DxvkError'
Setting breakpad minidump AppID = 49520
Steam_SetMinidumpSteamID:  Caching Steam ID:<PHONE_NUMBER>5526353 [API loaded no]
pid 4702 != 4701, skipping destruction (fork without exec?)

The log level was info. Not sure if it should have been debug.
Finally, since my save file seems to be great for debugging atm, here it is:
Save0001.zip
For me, it crashes before I can see the character. Tried it about 6 times and got the same result every time. Got the out of memory dialog a few times, and a few times not. Monitoring the GPU, the VRAM usage goes up to between 2-2.5GB every time. Sits at about 0.9GB without the game running.
The game is running on max graphics with the Ultra HD texture pack installed. Haven't modified any files.

That makes sense. I disabled the Ultra HD Texture Pack, and there are no issues now as far as I can tell after testing the game for 25 minutes with TextureMB set to 1000.

Nevermind. It just crashed with the same DxvkMemoryAllocator error without the Ultra HD Texture Pack and with TextureMB set to 1000. I guess I set it back to 120.

The game froze and well, the same is in the log:
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      33554432
  Alignment: 256
  Mem flags: 0xe
  Mem types: 0x681

Looks like we're hitting the 32 bit limit (I have 32 Gb of RAM and of course an amd64 system). When you play and visit different locations with many different textures it might exhaust the address space pretty quickly.

It seems on Medium textures the game works without this issue. The VRAM usage floats around 2100, the game usually crashes when it hits 3100 or so. That's all with UHD textures enabled.

For me it usually freezes or crashes after an hour or so. Setting TextureMB from 120 to 1000 in the [MemoryBudgets] section of WillowEngine.ini makes the game crash much more often, either before the main menu or soon after the game is loaded. Turning off Texture Fade makes the game crash less often.
* GPU: GTX 1050 Ti

* Driver: 430.26

* Wine version: Proton 4.2-7

* DXVK version: d9vk-0.12 release [19cefff](https://github.com/Joshua-Ashton/d9vk/commit/19cefffdc80df3a8510878a83706ee0ae39174d0)

Launcher_d3d9.log
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      18874368
  Alignment: 256
  Mem flags: 0x7
  Mem types: 0x681

* DXVK version: d9vk master [88e5369](https://github.com/Joshua-Ashton/d9vk/commit/88e5369185dcd8edd23f7ffbf4807f08773166fd)

Launcher_d3d9.log
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      16777216
  Alignment: 256
  Mem flags: 0x6
  Mem types: 0x681
err:   DxvkMemoryAllocator: Memory allocation failed

* DXVK version: d9vk-0.11 release [2a0c153](https://github.com/Joshua-Ashton/d9vk/commit/2a0c153b0c9e0b754b9cfc41ea16c5bdc758fab5)

Launcher_d3d9.log
err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      16777216
  Alignment: 256
  Mem flags: 0xe
  Mem types: 0x681

This also happens with America's Army Proving ground when using the master branch.

I tested the latest master ( e2fcd7f9 ) and tried to quit to the menu from the game. I showed "Compiling shaders" and then gave the memory error. This did not happen on build 2436010 that I've use for a while before.
I don't have logs since I wasn't looking for this, but I assume it'll be the same as for the others.

It seems on Medium textures the game works without this issue. The VRAM usage floats around 2100, the game usually crashes when it hits 3100 or so. That's all with UHD textures enabled.

Can confirm, with medium textures and the Ultra HD Texture Pack it no longer crashes.

Nothing about this has changed on the D9VK side. Medium textures just use less VRAM.

It seems on Medium textures the game works without this issue. The VRAM usage floats around 2100, the game usually crashes when it hits 3100 or so. That's all with UHD textures enabled.

Can confirm, with medium textures and the Ultra HD Texture Pack it no longer crashes.

Yeah, same here. Uses ~500mb less. Everything else is still on high however

This is still an issue in .013...

I'm getting err: DxvkMemoryAllocator: Mapping memory failed VK_ERROR_MEMORY_MAP_FAILED
Just by loading into Sanctuary. I can't get into the game anymore.
Ryzen 1600 | RX 580 8 Gb | 16 Gb RAM
AMD RADV/ACO | DRM 3.27.0, 5.0.0-20, LLVM 8.0.0 | Mesa 19.2.0-devel | Vulkan 1.1.107
D9VK 0.13f
steam-49520.log

Today I tested the latest nightly build (#692) right after dropping into the game. This did not happened with d9vk 0.12 there I was able to play and stream the game multiple hours with "no" issues. (Except of some missing lightning VFX)

Further more I can also confirm reducing the Texture quality to low or medium will solve the issue.
Now comes a funny thing.
If you loaded a game (so exiting the main menu and dropping into sanctuary for example) and now increasing the texture quality to high will not result in a crash.
Also if you now teleport to another map (with textures still set to high) will not crash the game.
And my VRAM keeps on 30 - 40% (independent from the texture quality. Which is realy funny. Which means if I set the quality to low or to high will, according to conky, not increase or decrease the total VRAM used by the GPU 8 GB GDDR on a GTX 1080)
Max texture quality and after changing from one map to another:

The error still occurs with commit eccc5c983370b729ab5e709b6b90da72aa1fe1db.

So I looked into this more and I absolutely cannot repro this on Windows.
This only ever happens when Wine gets involved for me so I feel there is some issue somewhere else causing this, but I have no idea right now.


Bug fixes

Summary
MM-11166 - Updating loading button for GMs
MM-11300 - Fixing sidebar styling based on plugins
MM-10979 - Fixing long UI wrap in settings modal
Ticket Link
https://mattermost.atlassian.net/browse/MM-11166
https://mattermost.atlassian.net/browse/MM-11300
https://mattermost.atlassian.net/browse/MM-10979
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit and component tests passed
[ ] Added or updated unit tests (required for all new features)
[ ] Has server changes (please link)
[ ] Has redux changes (please link)
[x] Has UI changes
[ ] Includes text changes and localization file (.../i18n/en.json) updates
[ ] Touches critical sections of the codebase (auth, posting, etc.)

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0264190b8e0001799.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0264190b8e0001799

Spinmint test server destroyed

@saturninoabril Done. Joram also asked me to check if the length was 0.

The test failed on that condition flags.
I think what make sense is either:
if (this.props.pluginComponents && this.props.pluginComponents.length > 0) {

or
if (!this.props.pluginComponents || this.props.pluginComponents.length === 0) {

depending on whether you'll apply the class to with or without plugin component/s, respectively.

@saturninoabril Not necessarily sure how to add that test.

I've pushed test for it and also updated prop type of pluginComponents.

Thanks @saturninoabril

Done @hmhealey


My username for admin

(ADMIN)Sulli

angel

AdityaAlt

jit trippin
On Thu, Apr 13, 2023 at 5:57 AM ThrottleX @.***> wrote:

AdityaAlt
—
Reply to this email directly, view it on GitHub
https://github.com/mrmojololo/blooket-admin-hack/issues/252#issuecomment-1506760579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A67SKULPOFVPD6AARMKIBJTXA7LX5ANCNFSM6AAAAAAWUDPZYM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from a Racine Unified School District Elementary School student
account

pay 50$ xbox code for hacks
On Mon, Apr 17, 2023 at 9:05 AM SULLIVAN RAVNIKAR @.***> wrote:

jit trippin
On Thu, Apr 13, 2023 at 5:57 AM ThrottleX @.***>
wrote:

AdityaAlt
—
Reply to this email directly, view it on GitHub
https://github.com/mrmojololo/blooket-admin-hack/issues/252#issuecomment-1506760579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A67SKULPOFVPD6AARMKIBJTXA7LX5ANCNFSM6AAAAAAWUDPZYM
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Sent from a Racine Unified School District Elementary School student
account

thatguy12346


if the host enabled with network manager, the network will lose connection after adding L2 network

fixed in upstream


stupid question

does nskinz contain malware

no.
but the whole thing is only distributed as source, you could just literally read it instead of asking me

I am sorry for comenting but Im new plus i dont know c ++


ignore declare statements in no-class-fields

The proposed change does nothing for vanilla JS, but it ignores declare statement in TS.
Related issue: #100

Could you please add tests?

Could you please add tests?

Sorry, I am not sure what tests could be useful, so I only add a minimal set of tests to illustrate this patch.


change nongo bundle generation cruft to use updated flags

Fixes #5987
Took a look at this and it looks like it should be fine.

hey could you take a look at this @jmrodri ? You wrote the original change for the go stuff


Move TODOs to issues

I would suggest to move the contents of the TODO file file to GitHub issues and to delete the file, but don't know what the plan is re: management of the code base/repo.

agreed :+1:
currently, this is not official yet - there will be a contributing guide once we have a release.

currently, this is not official yet - there will be a contributing guide once we have a release.

If the template is actually still considered to be "under development", it might make sense to convert the current main branch into a dev branch and later start a new main branch off clean (ideally with an empty initial commit + any "messy" commits merged down).
I'm actually having this problem now that my version of the code over on GitLab starts out with a different root commit, so I can't cleanly combine the two repos as planned. :grimacing:


code for complementary colors

Hi. I am following the tutorial for complementary-color-predictions in https://deeplearnjs.org/demos/complementary-color-prediction/complementary_color_prediction.html, but I cannot find the code in the repository. I was wondering if anyone can help?

Hi @ZahraMousavi,
Currently, demos are in process of being migrated to eager mode since Graph API is deprecated and now removed from the library for next major release. If you wish to see the code in eager mode, you can checkout #803 which implements the same. You can always visit the history and see the code but since the API is deprecated, I wouldn't recommend it.

Thanks for your help:-)

@ManrajGrover, I think "if" statement should be removed from line#123 otherwise train1Batch function will only be called if shouldFetchCost is set to true.

@pankajvishwani I think you're right. Please feel free to leave the comment in that PR (#803)

Closing this out - let's move this to Observable or something of that sort. We want to keep the set of examples relatively small.


added the check that auto_prepended file is actually on the include_path

There was an error in Profiler::requiresDelegateToOriginalPrependFile(), as
file_exists(ini_get("auto_prepend_file")) could be false when auto_prepended file is not an absolute path and is somewhere on the include_path.

Fixed in 1.6.6 and 2.0-alpha3


Throw a error if mutilple wherearrayContains methods are used in a query

Problem: Throw an error if multiple wherearrayContains methods are used in a query
Example 1: For the below code an error is thrown
results=locations.wherearrayContains("marks",50).wherearrayContains("rank",50).get()
output: Error is thrown.
Example 2: For the below code no error is throw
results=locations.wherearrayContains("marks",50).wherearrayContains("marks",50).get()
output: No error is thrown.
Expecting an error message in case of example 2 similar to example 1
In example1 two wherearrayContains functions uses two different fields(marks,rank)
In example2 two wherearrayContains functions uses same field(marks)

Hi, we have release in April, can you please look into this bug on priority

@ehsannas
Can you please try this?
results=locations.whereNotEqualTo("marks",50).whereNotEqualTo("marks",50).runquery().get()
You will get an error.
But for the below case, no error is throw.
collection.whereArrayContains("a", 10).whereArrayContains("a", 10).get();
This behavior is different for different functions.


Feature Request: option to allow items to transfer without computers/devices/users attached

I operate a dual server setup (developer and production environments) It would be useful that if anything that might have a computer/device/user directly attached to it (such as static groups) ignore the computer/device/user attached, since in my environment it is unlikely the computer/device/user be on the other environment.
A preference setting maybe, with a sub-option to include or exclude policies where "Migrate Dependencies" is ticked.

Just to be sure, these settings aren't getting the desired results? Uncheck scope for policies.

That Pane is not very clear, but i'll try that for Static Groups, not to mention, I still want the groups to copy, but I'll test them out.

I'm closing this because I'm going to go with a workaround, where I'll make sure the Static Groups on that pref pane remain unticked, and just make sure I have no policies/etc with computers/devices/users directly attach (require they be in an appropriate group), which is an appropriate plan since we allow the support staff to edit groups, but not edit policies/etc.


[請求] 新增（符合 GH 的）許可證文件

[Google-CHI]
您好，首先感謝您所做的出色工作！
因為我已經在 [Opendows 專案](https://forart. it/opendows)，您能為它新增一個符合 GH 的許可證檔案嗎？
如您所知，明確的授權條款對於讓任何人更好/更快地了解如何在其他開放專案中重複使用/改編/修改來源（而不僅僅是）非常重要，反之亦然。
儘管這聽起來像是一個小問題，但許可證文件的遺漏顯然也會導致相關徽章的生成不一致：

（徽章產生器 URL：https://badgen.net/github/license/as2648as/AIO_Optimizer)
您可以透過 GH 的許可證精靈工具輕鬆設定標準化許可證。
最後但並非最不重要的一點是，我邀請您加入 CS 討論 分享有關 Windows 調整的想法。
希望有幫助/啟發！
[ENG]
Hi there, 1st of all thanks for this awesome work !
Since I've 'doxed' it in the TWEAKERS page of the Opendows project, can you please add a GH-compliant license file for it ?
As you know, expliciting licensing terms is extremely important to let anyone better/faster understand how to reuse/adapt/modify sources (and not only) in other open projects and vice-versa.
Although it may sounds like a minor aspect, license file omission obviously causes an inconsistent generation of the relative badge too:

(badge-generator URL: https://badgen.net/github/license/as2648as/AIO_Optimizer)
You can easily set a standardized one through the GH's license wizard tool.
Last but not least, I invite you to join CS Discussions to share ideas about Windows tweakings.
Hope that helps/inspires !

[Copilot-Translate]
Hi @MarcoRavich, Thank you very much for your attention and notice.
Since this project is for my personal use, the text is entirely in Chinese. Additionally, I only write or paste content that I understand.
I have limited familiarity with open-source licenses, but I chose the MIT license because it is one of the most permissive licenses available.
I won't be updating it for a long time because this project is typically only used and adjusted when I reinstall my system. However, this doesn't mean I won't use it. If there are any new features, I will still update it.
Finally, I appreciate the opportunity and will try to participate in the discussion when I have some free time.  :)

谢谢，现在可以了！
有时间的话欢迎加入 CS讨论！
[ENG]
Thanks, works now !
You're welcomed to CS Discussions when you've spare time !


Update Docker to More Recent Version

Every once in a while, a build fails with Layer already being pulled by another client. Waiting.. This issue was supposedly fixed on 1.9.
Are there any plans to move towards newer Docker Engine versions? I know Docker's not the most stable, so it'd definitely be a slow process. Let me know if you'd like help with it.

This would be good, but I'm gonna go ahead and close this and move it over to https://github.com/remind101/conveyor-builder/issues/5, since that's where the Docker version is specified.


index.md

updated link to image in (El modelo de caja CSS)

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


the instrution of how to package the netty source code into a jar file like files in Release

I download the sources to the local,and  compile successfully.
now I want to package the project into a jar file to be a library in an other project,
just like the releases.
how can I do?
The version of source is 4.1 and my IDE is Intellij IDEA

This is a netty issue tracker. Please ask questions on stack overflow


Remove border and outline from the btn

Remove the outlie from the btn and the input tag and also change the border radius in the input tag

just few changes i have done

just few changes i have done


fix: check valid buffer id

This is to fix where the buffer IDs do not exist anymore, for example, neo-tree buffer after recovering from a session

thinks


Proposal: Support Well-Known URL for Password Change

Description
Employees from Apple proposed to add a Well-Known URL for "Change Password" sites, so password managers could help the users to change their passwords more often (see https://wicg.github.io/change-password-url/index.html). This is still a draft itself, but supporting this feature could be fancy and should not be complicated. Following the draft itself, a redirect is allowed. Adding this feature should be easy (for go developers) and not have any disadvantages, if I'm not wrong.
For Gitea, this means that all requests at the URL /.well-known/change-password only must be forwarded to /user/settings/account.

Sounds good to have, should probably be a 307 redirect.


Throw error when no compiler of a language is found

Throw an error and guide user to install respective compiler

@issuehuntfest has funded $30.00 to this issue. See it on IssueHunt

@prithaupadhyay has submitted a pull request. See it on IssueHunt

@aashutoshrathi has rewarded $21.00 to @prithaupadhyay. See it on IssueHunt

:moneybag: Total deposit: $30.00
:tada: Repository reward(20%): $6.00
:wrench: Service fee(10%): $3.00


x=ja(&y,&z)

in PR "Use ja to null-terminate code strings. #11"
- ..x=K(",[;10h$0]",r1(x));..
+..C z=0;r1(y);x=ja(&y,&z);x==y?--xn:r0(y);..

reviewing api docs at http://code.kx.com/q/interfaces/capiref/#joins, x==y is always true after x=ja(&y,&z)
a solution
+Z K2(runs){P(xt!=-KJ||y->t!=KC,E(type))r1(y);ja(&y,""),--y->n;PyErr_Clear();O o=PyRun_String(xG,xj?Py_eval_input:Py_file_input,d,d);r0(y);R ko(o)?:PE;}

Hmm, I think you are right.  I recall seeing some crashes when I first wrote the code the way you propose, but now it looks right to me. Maybe it was something else.
Note that if you are not renaming y to x, you should change xG to kG(y) and xj to y->j later in the line.
Nice trick using "" to create a pointer to a null character, BTW.

What do you think about
x=ja(&y,"");xr?--xn:0;

There is no need to modify xn if x is not shared.

i'm not sure that the complexity this optimization introduces is worth it. i'd tend toward using k() or doing something threadsafe to copy xC and append "\0" (if "\0" is not already there).

Speaking of thread safety, you probably know that Python API is not thread safe and you want to call it from multiple threads you have to acquire the Global Interpreter Lock (the infamous GIL).


run style on diffusers app

Currently, docker_images/diffusers/app/idle.py is causing tests to fail. This PR runs formatting to fix this file.

Thanks @davanstrien