Getting error while creating WebID, but it is actually created and listed after page refresh

When I try to create a WebID using latest webid manager, it is showing an error saying Error creating webid on the network and If I switch to list tab from create tab it lists the id which was just throwing the error.
Note: I used my old account which was created before rc2, for creating webid. Tested on Windows and Ubuntu cc: @bochaco

Thanks a lot @safesurfer , I'm investigating why some of the entries in the _publicNames container of your account throw an unexpected error when trying to decrypt them.

After further research I'm quite sure this has to do with the revocation of an app. After revoking one of the apps that has encrpyted and stored entries in the _publicNames container, and there is another app which is trying to decrypt them it cannot. I presume it's because they were re-encrypted with new keys during the revocation process.
I thought that re-authorisaing any of apps they should be able to decrypt the entries again, but from my quick test it's still not able to decrypt the enctries. But for sure I got an account to be in the same state as yours Srini after I revoke the WHM. I'll try to reproduce it tomorrow again and report the steps more clearly and hopefully be able to report it in a bug, don't know yet but if it is related to revocation it's likely to be in the safe_client_libs revocation algorithm, we'll see...

Upgrading safe-app-nodejs to incude the fixe from this PR: https://github.com/maidsafe/safe_app_nodejs/pull/328 will solve this issue, see the description in that PR for the details of the issue, which are confirmed to happen after an app is revoked.

QA verified


ENH: sqlalchemy

Do we need to add sqlalchemy to the requirements?

Joe added sqlalchemy to the requirements.txt. Merging.


The closing channel transaction blocks the whole application.

After the transaction is sent successfully, it should quickly return to the channel list page instead of staying on this waiting page, causing me to be unable to do any other operations.

resolved

It happened again. @healergyl

And the dollars in the channel were not sent back to the wallet address.

resolved


Tab header does not show in "native-base": "2.3.1"

Tabs work by swiping but the header saying "tab1" and "Tab2" does not show.
<Container>
        <Header hasTabs>
          <Left>
            <Button transparent style={styles.btnHeader} onPress={() => Actions.pop()}>
              <Icon active name="arrow-back" />
            </Button>
          </Left>
          <Body >
              <Title color='white' style={styles.header}>Vehicles</Title>
          </Body>
          <Right>
            <Button transparent style={styles.btnHeader} onPress={this.props.openDrawer} >
              <Icon active name="menu" />
            </Button>
          </Right>

        </Header>
        <Tabs initialPage={1}>
           <Tab heading="Tab1">
            <Tab1 />
          </Tab>
          <Tab heading="Tab2">
            <Tab1 />
          </Tab>
        </Tabs>

      </Container>

"native-base": "2.3.1",
"prop-types": "^15.5.10",
"react": "16.0.0-alpha.12",
"react-native": "0.48.4",
Expected behaviour
Show tabs header saying "Tab1" and "Tab2"
Actual behaviour
Does not show Tab header but tabs work by swiping
Is the bug present in both ios and android or in any one of them?
Testing on Android only
##Screenshot

@Ideasrefined Please check this with NativeBase 2.3.3

@SupriyaKalghatgi  It's still the same, no tab header

@Ideasrefined Can you share screenshot for it?

@SupriyaKalghatgi Updated post with Screenshot.
P.S i hope there is no issue if I use same component in both the tabs. Like i am using Tab1 component to show up in both the tabs.

@Ideasrefined I would suggest you not to edit the problem specification

Problem hasn't changed, its still the same. I just added the screenshot to it. But i'll refrain from editing the issue in future.

@Ideasrefined tried your code. Tab headers are visible. Attaching a screenshot.

Code
import React from 'react'
import { Container, Header, Content, Tab, Tabs, Text, Left, Button, Icon, Body, Right, Title } from 'native-base';

export default class App extends React.Component {
  render() {
    return <Container>
      <Header hasTabs>
        <Left>
          <Button transparent>
            <Icon active name="arrow-back" />
          </Button>
        </Left>
        <Body >
          <Title color='white'>Vehicles</Title>
        </Body>
        <Right>
          <Button transparent >
            <Icon active name="menu" />
          </Button>
        </Right>
      </Header>
      <Tabs>
        <Tab heading="Tab1">
          <Text>Tab one</Text>
        </Tab>
        <Tab heading="Tab2">
          <Text>Tab two</Text>
        </Tab>
        <Tab heading="Tab3">
          <Text>Tab three</Text>
        </Tab>
      </Tabs>
    </Container>
  }
}

Versions
 "native-base": "2.3.3",
 "react": "16.0.0",
 "react-native": "0.50.1",

@akhil-geekyants I start getting "Undefined is not an Object (evaluating 'native version.major')" error if I upgrade my environment to match yours. So can't test and verify.

But I did copy paste your code and it still didn't show the tab header.

@Ideasrefined created a fresh crna project and tried the above code. Working fine here.
Gif

Can you please try with my versions of environment as specified in the original post ? Because I can't seem to run your environment in my app.

@Ideasrefined got the same result
Gif

Versions
 "expo": "^21.0.0",
 "native-base": "^2.3.1",
 "react": "16.0.0-alpha.12",
 "react-native": "^0.48.4"

i am using FlatApp theme v7 based on native-base.
tried adding tabs to their latest version v8. tabs work. Now trying the same with untainted v7 . I'll update once done.

@Ideasrefined If its about Flat App Theme, then please raise issues on gitstrap
Or post your query at<EMAIL_ADDRESS>


feature: dynamic inventory of resources created by a CR of an ansible operator

Feature Request
Dynamic inventory of resources created by a CR of an ansible operator
Describe the problem you need a feature to resolve.
Operating or running ansible tasks over pods generated by a CR of an ansible operator is kind of cumbersome. One could use kubectl connection plugin and add them dynamically during each reconciliation loop using variables. The existing dynamic k8s inventory plugin could be a better fit. However, adding it to an ansible operator requires some steps. In addition, when done, it shows all the pods and services the operator has access and groups them in a way, in my opinion, not intuitive for the operator scope. They could not be filter, for instance.

Describe the solution you'd like.

The operator sdk to already include a dynamic inventory plugin that groups and adds only the pods, and optionally other kind of resources, of the CR the reconciliation loop is running. I would like to run some complementary ansible tasks over some of those pods. How it groups them should be intuitive in order to reference hosts, or groups more probably, in playbooks inside the operator. For instance: the name of a default group of all pods of a CR could be used as: hosts: {{ ansible_operator_meta.namespace }}__{{ ansible_operator_meta.namespace }}__pods. In addition, it would be helpful to define custom group formats using labels and add extra ansible variables using annotations. The following example shows: a posible pod definition for it to be considered as part of a CR inventory, to define a custom group membership and extra ansible variables:
apiVersion: v1
kind: Pod
metadata:
  annotations:
    # Define a variable for this pod only
    ansible.sdk.operatorframework.io/inventory_variable: '{"ansible_python_interpreter": "/usr/libexec/platform-python"}'
  labels:
    # Define a label to be included in an specific inventory.
    ansible.sdk.operatorframework.io/inventory: "mynamespace/mysample"
    # A default group for all pods could be <mynamespace>__<mysample>__pods
    # Define a custom group membership to <mynamespace>__<mysample>__<mygroup>__pods could be defined with:
    ansible.sdk.operatorframework.io/inventory_group: "mygroup"

The custom CR could be:
apiVersion: sample.example.com/v1alpha1
kind: Sample
metadata:
  name: mysample
  namespace: mynamespace
  annotations:
    # Define which label selector identify resources of this specific inventory for this CR.
    ansible.sdk.operatorframework.io/inventory: "mynamespace/mysample"
    # Define a variable for each pod
    ansible.sdk.operatorframework.io/inventory_variable: '{"ansible_remote_tmp": "/var/tmp/.ansible"}'

Using ansible to manage pods could be considered an anti-patter for k8s.

However, it could complement k8s where some functionality is lacking or to add some logic to an operator.

/language ansible

/lifecycle frozen


add new work

If you could add our work, thank you very much.
https://github.com/bigai-ai/ICE
https://arxiv.org/abs/2406.11194

Thank you for your interest. I have added your article to https://github.com/zjunlp/KnowledgeEditingPapers/blob/main/README.md#memory-based


Fix for MODCLUSTER-568.

Due to a regression in MODCLUSTER-376

@jfclere Can you create a PR for 1.3.x as well?


[BUG]: Naming convention for charts field are not common for all charts

@deepaknevdepsl
What is the bug?
Naming convention for charts field are not common for all charts
How can one reproduce the bug?
Steps to reproduce the behavior:

Go to Observability/Event Analytics/Explorer page
Go to Visualizations
Here for different chart the naming convention is not constant

What is the expected behavior?
All the label should follow the same naming convention
i.e.  The first letter of second word is capital or small.
It should be constant for all the charts
Thanks.
Nidhi Singhai
@abastwar @spattnaik

closing this as correction done


pull request for e2e test at 01/06/2017 20:56:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


add application/x-sigstore-tle as response type

Fixes: #2218

after reviewing, there's a problem in that we cannot take a TLE and convert back into a models.LogEntry because we don't have the tree ID to correctly set the entryUUID. While most tests still pass, others expect the full entryUUID and therefore I think this will significantly break clients. Given the flaky nature of go-openapi's Accept header support, and this fact, I think we'll have to punt this to the v2 api.


Couldn't import Carla egg properly

Couldn't import Carla egg properly

Please upgrade Carla to version 0.9.14


Fragment / jsxFragment support

Hi, this is a cool project, thanks so much.
I am using Typescript to compile the JSX, with this tsconfig.json:
    "jsx": "react",
    "jsxFactory": "h",

Most code is converted properly, except when using a fragment:
const foo = <>

row 1

row 2
</>

this warning from Typescript is given:

The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option.

I tried "jsxFragmentFactory": "Fragment", in tsconfig.json but of course no such Fragment is known nor exported from the vhtml import.

Is it possible to support JSX fragments in VHTML?
Is there any other way of storing multiple
 siblings as per the above example?

I see there is Fragment support added in https://github.com/developit/vhtml/pull/16 but it does not yet conform to the Typescript jsxFragmentFactory implementation in https://github.com/microsoft/TypeScript/pull/35392 at all.
Adding const Fragment = ({ children }: { children: string[] }) => h(null as any, null, ...children); to the source file seems sufficient, but, it should be added into vhtml itself for jsxFragmentFactory to work more seamlessly.

If you pass null as the jsxFragmentFactory it will just work fine
"jsxFragmentFactory": "null"
or in the file
/** @jsx h
 *  @jsxFrag null */

I wanted to mention that configuring tsconfig as
    "jsx": "react",
    "jsxFactory": "h",
    "jsxFragmentFactory": "h.Fragment",

allows me to use fragments with vhtml even though #33 is not merged. I don't know why this is.
I suppose it might depend on the bundler. I'm currently using esbuild, but maybe it's worth a shot for others to try instead of waiting for support to be merged here?

The solution is to set up your config like this:
{
    jsxFactory: 'h',
    jsxFragment: 'null',
}

See these test cases: https://github.com/developit/vhtml/blob/96fe21e63a983d7a8f52d8c51a0c994490313abc/test/vhtml.js#L177-L191

vhtml.Fragment works.
I have a working demo on CodePen


Propose a license

There's no license specified, so I propose the MIT license. I also suggest adding a copyright notice.

Thanks Joey!


Consider changing return type of PowerSet to IEnumerable<IReadOnlyList<T>>

The implementation uses an "ImmutableStack" (to preserve the order) and that Interface does only implement IEnumerable.


Make value of mss:SignatureProfile configurable

Currently, in the the WebClientImpl.cs you will find the <mss:SignatureProfile>-element with a hardcoded value http://mid.swisscom.ch/MID/v1/AuthProfile1. Today, this signature profile is deprecated and should no longer be used.
See Mobile ID Reference Guide section 3.2.1.
The signature profile value should be configurable, so that it can be changed to any other supported profile such as:

http://mid.swisscom.ch/Any-LoA4 (default)
http://mid.swisscom.ch/STK-LoA4
http://mid.swisscom.ch/Device-LoA4

Fixed with Installer v<IP_ADDRESS> / Pull Request #10


[RFE] different vfs storage strategy

Similar to #2868, but re-instancing for visibility, this is for a use case similar to #2986
I know this approach is also the one taken by docker with vfs, but the disk footprint makes it impractical for large images. I have a particular image that takes 218GB for a 5.5GB rootfs. I would gladly trade a longer startup time for the ability to store more than 5 images :)
Outside podman, a straightforward way to do that is:

pull: skopeo saves all compressed layers to a single directory (for caching)
run: umoci unpacks the right layers in order and handles whiteouts to build the final rootfs.

The disk size is now sum(compress(layers)) + sum(layers) instead of sum(layers[:1]) + sum(layers[:2]) + sum(layers[:3]) + ... + sum(layers[:n]).
It's unfortunate that we don't have a way to achieve that natively in podman, we would have to use other tools and then do podman run --rootfs.
The startup time does take a hit, which could be mitigated by:

Not using the Go standard library for decompression (i.e. pipe to pigz or just gzip)
Storing uncompressed layer tar files, this does require some additional bookkeeping to keep layer caching functional.

Regarding fuse-overlay: it's not available everywhere, and I don't want the overhead.
Thoughts? Feel free to close if you never plan to support this feature.

@nalind PTAL


Cell metadata

Provide a simple syntax to specify arbitrary block-level metadata
Line-level metadata is also possible, but to be processed independently by each format
Every format is free to interpret the metadata as they want
An ipymd Markdown cell has a new field metadata = {} which is just a Python dictionary

Examples of use-cases

Specifying a specific ODF style in a Markdown cell
Force rendering a code block as Markdown instead of a notebook cell
Skip particular code lines in a given format (better to deal with this directly in a format reader/writer)

How it works

Consider the body of a Markdown
If the first line contains ipymd-[a-zA-Z]+, it defines the cell's metadata
There can be several ipymd-foo or ipymd-foo=bar metadata fields on the line
ipymd-foo means metadata['foo'] = True
ipymd-foo=3 means metadata['foo'] = 3
If a format chooses to process some metadata, it must ensure that the information is not lost during the conversion, and it must implement two-way transformation of metadata. For example, an ODFReader must recreate the metadata from the cell's ODF style.

How about adopting the jekyll front-matter approach, and use some embedded YAML? I'd love to see a text-forward notebook UI (editor) that maintained nbformat metadata... in fact, this would be far easier than the current metadata UI!
An object between === could denote the notebook metadata (which could appear anywhere) while an object between --- could denote cell metadata. Of course, other parsing would give a nice default value for the cell_type and, say, nbformat, so it would be more of an metadata.update(**parsed_yaml). This would keep the base document really lean and readable.
I haven't had a chance to dig into the code, but would love to take a whack at throwing this together.
---
slideshow:
  cell_type: slide
---

# A Slideshow

---
slideshow:
  cell_type: fragment
---
```python
    print("Brought to you by ipymd")
\```
===
name: a slideshow
===

it would be great to have metadata support with a relatively standard syntax
see also http://rmarkdown.rstudio.com/ and https://github.com/chronitis/ipyrmd
let me know if you're going to work on the code -- i might have to merge my pending PR first...

No Intent To Implement yet! Just was reminded of this in another
discussion. Will check out the other links!
On 06:22, Fri, May 29, 2015 Cyrille Rossant<EMAIL_ADDRESS>wrote:

it would be great to have metadata support with a relatively standard
syntax
see also http://rmarkdown.rstudio.com/ and
https://github.com/chronitis/ipyrmd
let me know if you're going to work on the code -- i might have to merge
my pending PR first...
—
Reply to this email directly or view it on GitHub
https://github.com/rossant/ipymd/issues/38#issuecomment-106766631.

Here are a few ideas:

Full support for notebook and cell metadata with YAML. There is 1 to 1 correspondance between metadata JSON in the notebook and metadata YAML in Markdown
ipymd-specific metadata belong to the ipymd namespace (ipymd. prefix) -- dotted names are automatically replaced by nested dicts (?)
Notebook metadata:

===
ipymd.key1: value1
ipymd.key2:
    foo: bar
===

Cell metadata: idem but with ---
A cell metadata applies to the next cell
Metadata aliases: --- MY_ALIAS is replaced by a full metadata tree during a preprocessing stage
There are predefined aliases like IMPORT (see below)
Further aliases can be defined in the notebook metadata. Here is how the IMPORT alias would be defined (but in fact, this one would be a default alias, so no need to redefine it):

===
ipymd.aliases:
    - name: IMPORT
      replace:
        ipymd.import:
            name: $1
===

This means that --- IMPORT myfile.md will be replaced by:
---
ipymd.import:
  name: myfile.md
---

The ipymd.import metadata inserts the specified file in a preprocessing stage

Ahhhhh. Looking very promising!
aml will do . nested keys, but YAML won't... But i'd still stick with YAML. Whitespace nesting is probably good enough for most things, and one can fall back to JSON {} if you want it on one line.
I like the alias as a generalization/realization of the --- notation. JSON Patch might be up to the task, though it looks like the python implementation doesn't support inversion... yet! Indeed. Using the Patch might be better than re-inventing something new, even if it adds a dependency.
For roundtrip to work, you'd want to also remember that you used an alias, and its arguments...
--- SLIDE

secretly generates this metadata:
{"metadata": {
    "ipymd": {"aliased": {"SLIDE": []}}},
    "slideshow": {"slide_type": "slide"}
}}

the stack of changes for md -> ipnb sounds like

start with {}
patch with any explicit, long-form meta
patch with any aliases (and the implicit patch of remembering the alias)

reversed for ipynb -> md:

strip the "cruft": collapsed, trusted, prompt
invert the alias changes
collapse empty trees
if the result isn't {}, store that as explicit metadata

Shortcut/args being space delimited suggests you just get one, which is probably fine... the case where i would want more shortcuts is for slides: could one import n cells, and update their structure, i.e. load some slides as subslides? What happens when your import hits another import?
--- SUBSLIDE IMPORT other.md
---

Could just accept that an alias is really a function, and use named params...
--- SUBSLIDE IMPORT(other.md)
---

...which would then leave space for some kind of query language to pull out cells (in this example, the filter would be wrapped in $.cells[<expr>]:
--- SLIDE
# Title

--- SLIDE
# Recap...

--- SUBSLIDE IMPORT(part1.md, `this`.length-1)

--- SLIDE
# New stuff...
...

-- SLIDE IMPORT(common.md, ?(`this`.metadata.id=contact))

Could the alias definition be more namespace-y? Can't have multiple aliases to the same thing, and if someone wants to overload it, it shouldn't require looking through names.
Are document-level aliases are possible? I don't know what they would be... but the metadata regime is totally different, and i wouldn't want to mix them.
Combining all of these ideas, it's reasonably compact and standards-compliant, and should provide enough room to grow:
===
ipymd:
  alias:
    cell:
      SLIDE: [{op: add, path: /slideshow/slide_type, value: slide}]
      SKIP: [{op: add, path: /slideshow/slide_type, value: skip}]
      NOTES: [{op: add, path: /slideshow/slide_type, value: notes}]
      SUBSLIDE: [{op: add, path: /slideshow/slide_type, value: subslide}]
      FRAGMENT: [{op: add, path: /slideshow/slide_type, value: fragment}]
      IMPORT($path): [{op: add, path: /ipymd/import, value: $path}]
===

ping @tonyfast

But i'd still stick with YAML

agreed

Are document-level aliases are possible? I don't know what they would be... but the metadata regime is totally different, and i wouldn't want to mix them.

agreed

What happens when your import hits another import?

the import() alias function could implement recursive import, so there would be no recursivity at the level of the generic alias system
Questions:

Is it not too weird to mix JSON and YAML? (btw it looks like github renders YAML metadata in Markdown documents)
The query language idea is interesting but we might want to leave it for later. At the very least we should have a modular architecture for cell metadata that would allow users to write their own custom behavior.
Maybe lowercase is better for aliases...
I love the JSON patch idea for aliases! It's very neat. So, to summarize:

Simple static YAML for cell metadata (applied to the next cell)
Aliases let you set/update cell metadata dynamically (applied to the next cell). An alias may be defined internally, in the notebook metadata, or in a configuration file. It can be a function alias_name(cell, *args, **kwargs) (where args and kwargs are those appearing in --- alias(*args, **kwargs)), or a JSONPatch applied to the cell metadata.

Hopefully we're not creating too much of a monster :)

Are document-level aliases possible?

Had a duh moment: the obvious use case is a kernel name:
=== KERNEL(python)

this would go out and grab the whole kernelspec, which  nobody wants to type by hand.

Is it not too weird to mix JSON and YAML? (btw it looks like github renders YAML metadata in Markdown documents)

JSON is a strict subset of YAML :) YAML even inherits the duplicate keys problem that ijson intends to fix. Also, the gh rendering only works for the first chunk of meta, a la jekyll, and everything else thinks you're making a heading. gist thinks everything is a heading.
If you were to indent everything as code, the rendering is better on gist, but wouldn't work with the gh custom rendering. no big loss, i say.
If i was doing a lot of tricky meta editing, I might even choose to explicitly use ticks and declare yml for syntax highlighting and linting... either way, we are proposing some stuff fairly incompatible with editors: --- SOMEALIAS looks pretty ugly, and would certainly be ignored by gh.
We don't want to get into the syntax-highlighting-package-business if we don't have to.

The query language idea is interesting but we might want to leave it for later. At the very least we should have a modular architecture for cell metadata that would allow users to write their own custom behavior.

I suppose for reuse, if you want to reuse a little bit, you pull it out of the original file, and import it from both places. much cleaner. but someday...

Maybe lowercase is better for aliases...

sure, was just working off the showoff notation. I kinda like it, because it would be easier to search and not get false positives.

I love the JSON patch idea for aliases

hooray! i suppose it wouldn't be insane to actually set the scope of the thing to be the whole cell instead of just the meta... i can think of horrible, dirty things like template execution resulting in markdown, or, horror of horror, code (thanks, @tonyfast, for putting these thoughts in my head).
--- JINJA(data=http://foo.bar/data.csv, body_part="brain")
My {{ body_part }} just exploded.
{% for line in data %}
- {{ line.text }}
{% endfor %}

Secretly, this would stash the whole template in metadata... and this cell, much like imported cells, would not be editable... or rather, the generated text would be discarded on roundtrip.

alias_name(cell, *args, **kwargs)

Yeah, that's obvious now that you mention it:
--- SUBSLIDE IMPORT(slides.md, moreslides.md)

I might go a bit more verbose, if you're thinking magic names:
def alias_cell_<name>(cell, *args, **kwargs):
def alias_nb_<name>(nb, *args, **kwargs):

i wonder, if you IMPORT, do you get the aliases, defined/imported too? this would make the config file... just another file ./aliases.md, that one could maintain next to a big stack of notebooks. perhaps that is the meaning of import if done at the notebook, as opposed to cell, level.
would then all notebook meta come along? this would make it hard to overload, for example, a title or a theme (once slides support that). Perhaps the aliases can be used on either the opening or closing ---/===, which would control the resolution order.
Great stuff brewing here that answers the mail on a lot of long-standing issues with the usability of the notebook format itself. My colleagues are certainly excited by notebooks with sane PRs, and even more so for reuse. Wearing my nbviewer hat, I think one would still have to publish .ipynbs to get these rendered... but who knows!

I am having a little difficulty parsing all of this.  I am going to offer my two cents as far as the choice of markdown and yaml go.
YAML is always if a user will be entering their own keys and values.  There are fewer mistakes than JSON.  Also, the widespread adoption of things like Jekyll clearing indicate the ability for anyone to write JSON as YAML.
As for Markdown, I do not think that language or tool specific markdown flavors scale for the future.

RMarkdown is great for R users and the proposed syntax above may be great for notebook users.

The Ipython notebook's future applications are rapidly growing.  Many syntaxes, languages, and kernels can be used in the Ipython notebook.  If the notebook is treated as syntax/language agnostic then a conversion to/from markdown should be too.
Github Flavored Markdown is a proven language agnostic text document, see all the readmes.  Github uses Github Flavored Markdown for syntax highlighting, but as a text document GFM indicates that a block of text that is following has a specific syntax.

I am having a little difficulty parsing all of this.  I am going to offer my two cents as far as the choice of markdown and yaml go.
Use YAML always if a user will be entering their own keys and values.  There are fewer mistakes than JSON.  Also, the widespread adoption of things like Jekyll clearing indicate the ability for anyone to write JSON as YAML.
As for Markdown, I do not think that language or tool specific markdown flavors scale for the future.

RMarkdown is great for R users and the proposed syntax above may be great for notebook users.

The Ipython notebook's future applications are rapidly growing.  Many syntaxes, languages, and kernels can be used in the Ipython notebook.  If the notebook is treated as syntax/language agnostic then a conversion to/from markdown should be too.
Github Flavored Markdown is a proven language agnostic text document, see all the readmes.  Github uses Github Flavored Markdown for syntax highlighting, but as a text document GFM indicates that a block of text that is following has a specific syntax.
In this issue y'all mentioned slides, templates, kernels, and metadata.  Each feature has a very different application in practice:

Slides change use some Javascript to change HTML and CSS to create slides in the presentation view.
Templates help create views from variables in the kernel.
Kernels are important when the notebook is being used locally.
Metadata only matters if the readme is used as a notebook.

Very few users need all of these features.
I believe that GFM's success as a language agnostic document should guide any extension of the Ipython notebook.  I have been tinkering with converting GFM to Ipython Notebooks.  From a readme.md, each block of markdown and code is transformed into an appropriate notebook cell using some Java(Coffee)script to create a readme.ipynb.  The fenced code block languages are passed as cell magics.
At this point, I believe anything in this issue can be described by GFM markdown.

Slides are triggered by a Javascript code fence
Templates are already rendered as HTML and Javascript.
Kernel information and Metadata can be included in a code as YAML or JSON.

This bl.ock shows some extensibility of the readme file where a Javascript Template tool passes YAML variables to the Markdown.  One could imagine Reveal being used or the YAML being passed to the notebook metadata.

@tonyfast Sorry to bring you in without more preamble, Thanks for the feedback: we needed some of those words based on the stuff you linked and our lengthy discussions on previous topics.

You should definitely give ipymd a spin with pip: it's at heart a ContentsManager which replaces the stock FileContentsManager. It uses markdown as its storage mechanism, so you can round trip from md <-> json, editing wherever is appropriate at the time.

I have been advocating for notebooks-as-presentations for some time, but the approach has some shortcomings. Slides are where users are knowlingly manipulating at least cell-level metadata. Thus, one of the key drivers here is making slide editing and management really, really approachable, in the style of showoff, ioslides, etc.
I think we're in violent agreement that (GF)Markdown is teachable, mostly because it is readable but partially because it is diffable and mergeable to an extent beyond HTML and JSON. Basically, I (and others) have found that a directory of ipynb is not a long-term format for maintaining a family of docs, say a course, or a recurring meeting, or even the documentation for a decent-sized project. A "field reconsitutable" text representation that fully supports all features of the notebook format is the primary goal with the added goal of being more human-centric.
It is In this vein of user-centricity, that this whole alias discussion started. I would rather maintain and train:
--- SLIDE

over
```yaml
slideshow:
  slide_type: "slide"
```

though maybe there is some other GFM-compatible way to do the former...

HTML comments:
<!-- SLIDE -->

jinja
{{ SLIDE() }}

but each of these has its drawbacks.
Anyhow, to the management point: I really, really want to be able to reuse sanely-versionable content and not rely on hacking javascript. The IMPORT alias has tremendous potential, if we can figure it out properly :)

Kernel information and Metadata can be included in a code as YAML or JSON.

It becomes more out of control at the notebook level, even assuming we used the just-one-frontmatter approach. I want this:
--- KERNEL(python3)

vs
---
kernelspec:
  display_name: "Python 3"
  language: "python"
  name: "python3"
language_info:
  codemirror_mode:
    name: "ipython"
    version: 3
  file_extension: ".py"
  mimetype: "text/x-python"
  name: "python"
  nbconvert_exporter: "python"
  pygments_lexer: "ipython3"
  version: "3.4.2"
---

Slides are triggered by a Javascript code fence

I don't think that the best long term solution: the source needs to be as far removed from the details of the presentation engine as possible. I suspect at some point another, more modular slide framework will show up that supports most of the same concepts as reveal (heck, throw prezi in, too) but has better modularity, and definitely more stable and flexible archival generation.
Further, if using IJavascript or ITorch, it would be difficult to determine the cell fenced blocks from the meta fenced blocks without introducing some other mime type... which would again defeat the editor's attempt to assist us.

Templates are already rendered as HTML and Javascript.

That jinja examples was of what a plugin to ipymd could do, given access to the whole cell and not just the metadata. Basically, what could you do with a cell/notebook-level preprocessor that could modify what you see in the Notebook?

Oh wow, I see where y'all are coming from now.  Thanks for that description.  I love the idea of the human-centric part.  Largely, I have been focused on the ease of adoption and teaching, but you guys are at a much grander scale of interaction than I have been thinking.  It'll take a bit to get on this level.
Regardless, the example syntaxes like
=== KERNEL(python)
--- JINJA(data=http://foo.bar/data.csv, body_part="brain")
look mightly similar to explicit and global tags in YAML.  I have never applied them before, but they look analogous to some the suggestions above.

No worries! I didn't even think of all the extra stuff yaml just does. The
argument for using something native to the spec is strong.
It looks the tags take uris which in python resolve to callables. Ignoring
!, such that a user can still create their own, we could take !!. So a
!!slide could call alias_cell_slide. If they wrap, or list, i.e

!!import somefile.md
!!slide
other: data
And if it can do round trip, this would just about solve the issue, and
convince me that we don't want single line --- aliases.
Also, i like the ---/... Start and end of a meta block... Much better for
parsing. I wonder why the jekyll folk decided to use ---/---.
On 00:20, Tue, Jun 16, 2015 Tony Fast<EMAIL_ADDRESS>wrote:

Oh wow, I see where y'all are coming from now. Thanks for that
description. I love the idea of the human-centric part. Largely, I have
been focused on the ease of adoption and teaching, but you guys are at a
much grander scale of interaction than I have been thinking. It'll take a
bit to get on this level.
Regardless, the example syntaxes like
=== KERNEL(python)
--- JINJA(data=http://foo.bar/data.csv, body_part="brain")
look mightly similar to explicit and global tags in YAML
http://www.yaml.org/spec/1.2/spec.html#id2761694. I have never applied
them before, but they look analogous to some the suggestions above.
—
Reply to this email directly or view it on GitHub
https://github.com/rossant/ipymd/issues/38#issuecomment-112283584.

Do the YAML tags and Python for Names, Classes, and Objects move you in the right direction?

Heh, had a look at some of that stuff: ended up with this:
http://nbviewer.ipython.org/gist/bollwyvl/1c5d5f1040515fb108e1
We DON'T want to use the python namespace, because it can Do Horrible Things. Registering to the application-specific ! namespace is fine for me, as long as we document it :)
Otherwise, aside from not fully understanding how to handle missing stuff in JSON Patch, it's certainly looking pretty good!

closed by #62


does it support batching ?

Does kafka module use batching, while sending data. Moreover, the parameter  kafka_log_kafka_buffer_max_messages have any role in batching ?

Yes, this module uses librdkafka, message batching is implemented there.
The parameter kafka_log_kafka_buffer_max_messages  is translated to librdkafka's queue.buffering.max.messages, which is the maximum number of messages in the output queue. By default, messages can wait in the queue up to 1 sec, before they are sent (queue.buffering.max.ms)


Make game log more efficient

The game log is no longer saved in the game state G but is now saved in the built-in game log, and is accessed by the Board component. This resolves #12.

Game log no longer limited to ~200 lines
Game log is slightly more verbose
Less load on latency, since the entire game log no longer needs to be passed between the server and client.

If I touch anything, it will break. I’m not even sure what the ramifications of posting this comment is.

Thou must approve this message


GeoJSON not displayed in Map viewer but in GeoJSON viewer

I'm trying to display https://raw.githubusercontent.com/chrisfinch/over9k/master/public/experiments/march-2013/GBR_adm2.json as a GeoJSON resource. In the GeoJSON tab I get the correct map. But in the Map viewer tab which is displayed first (why are there two anyway here?) I get this error in the browser console:
XMLHttpRequest cannot load https://raw.githubusercontent.com/chrisfinch/over9k/master/public/experiments/march-2013/GBR_adm2.json.
Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers in preflight response.

Note that I deliberately do not use resource_proxy since I only want to support resources with proper CORS headers, which in this case above it has.

This also happens with WMS for many servers. The reason is that OpenLayers 2 adds to every request the header X-Requested-With: XMLHttpRequest for no good reason (see code: https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Request.js#L180). However, this is a massive problem when doing cross-domain requests, since by default you are only allowed to set the following headers: Accept, Accept-Language, Content-Language, Last-Event-ID, Content-Type. Any other headers will automatically trigger a CORS pre-flight request to the server by the browser itself. And this is simply an OPTIONS request asking the server if it's ok to use that header. And since many WMS servers don't support OPTIONS it just fails, and there's no good reason to support it anyway. jQuery doesn't send the X-Requested-With when doing cross-domain requests, which is the right way to do it. And OpenLayers 3 doesn't include a request facility like that anymore, so you would use something else anyway.
There are several ways to solve this issue:

file a bug in OpenLayers 2 and hope for a new release
patch the included version in geoview directly
update to OpenLayers 3

See https://github.com/ckan/ckanext-geoview/pull/31#issuecomment-210384999


istio-csr doesn't retry upon failed certificate requests

Hi all,
I am using istio-csr with cert-manager where vault is used as the CA on my istio mesh. I am running into the below issue.
When I try to deploy a workload pod on the istio mesh, I see errors in the events of the namespace
Error creating: Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": Post "https://istiod.istio-system.svc:443/inject?timeout=10s": x509: certificate has expired or is not yet valid: current time 2022-03-04T09:11:29Z is after 2022-03-04T02:12:13Z
Looking further at the details of the certificate deployed by istio-csr in istio-system namespace, I see that the last transition happened around 1:42:13
lastTransitionTime: "2022-03-04T01:42:13Z"     message: Renewing certificate as renewal was scheduled at 2022-03-04 01:42:13
What this shows is that there was an attempt to renew the cert istiod at the stipulated time and it doesn't tell us if this activity failed or not.
So, further I looked at the logs on the istio-csr pod running in cert-manager namespace and see the errors logs around the same time which said that the vault server was not available.
"msg"="failed to sign incoming client certificate signing request" "error"="failed to wait for CertificateRequest istio-system/istio-csr-d22hp to be signed: created CertificateRequest has failed: [{Approved True 2022-03-04 01:49:51 +0000 UTC cert-manager.io Certificate request has been approved by cert-manager.io} {Ready False 2022-03-04 01:49:55 +0000 UTC Failed Vault failed to sign certificate: failed to sign certificate by vault: Post no such host
I know that vault was brought down at that time for maintenance which was eventually brought back up. What I noticed is that even though vault was up after some time, none of the new pods were created successfully and all the pod creations complain about the certificate being expired.
I want to know why istio-csr did not try to renew certificates once vault was back up. Is there a workaround for this problem ?
Thanks

+1 @JoshVanL can you please look into this, its a critical issue for us as Vault can be temporarily available for maintenance

During a recent vault outage, many of our clusters didn't have their certs auto-renewed with the below error:
status:
  conditions:
  - lastTransitionTime:
    message: Certificate request has been approved by cert-manager.io
    reason: cert-manager.io
    status: "True"
    type: Approved
  - lastTransitionTime:
    message: 'Failed to initialise vault client for signing: error reading Kubernetes
      service account token from vault-istio-issuer-token: error calling Vault server:
      Post "<vault>/login":
      dial tcp: lookup vault.secure.car on xx: server misbehaving'
    reason: Pending
    status: "False"
    type: Ready

VaultIssuer recovered but new CSR was never made and this one was never eventually signed


Is it possible to hook into "vagrant status" ?

Thanks

Hello,
It's not currently possible, since an action hook is not defined for that machine action.
If that action hook should be implemented in upstream vagrant, the plugin would start hooking automatically.
Cheers :smiley:


erro : Failed invoking CreateCertficatePair

I've got the error below when i change the CORE_VM_ENDPOINT from unix:///var/run/docker.sock to any other address 127.* or 172.* or whatever
 19:22:34.267 [crypto] Debug -> DEBU 02c [validator.test_vp0]  Getting ECA client...done
 19:22:34.304 [crypto] Errorf -> ERRO 02d [validator.test_vp0] Failed invoking CreateCertficatePair [rpc error: code = 2 desc = Identity or token does not match.].
 19:22:34.304 [crypto] Errorf -> ERRO 02e [validator.test_vp0] Failed getting enrollment certificate [id=test_vp0]: [rpc error: code = 2 desc = Identity or token does not match.]
 19:22:34.304 [crypto] Errorf -> ERRO 02f [validator.test_vp0] Failed retrieving enrollment data [rpc error: code = 2 desc = Identity or token does not match.].
 19:22:34.304 [crypto] Errorf -> ERRO 030 [validator.test_vp0] Failed registering node crypto engine [rpc error: code = 2 desc = Identity or token does not match.].
 19:22:34.304 [crypto] Errorf -> ERRO 031 [validator.test_vp0] Failed registering peer [test_vp0]: [rpc error: code = 2 desc = Identity or token does not match.]
 19:22:34.304 [crypto] Errorf -> ERRO 032 [validator.test_vp0] Failed registering [test_vp0]: [rpc error: code = 2 desc = Identity or token does not match.]
 19:22:34.304 [crypto] RegisterValidator -> ERRO 033 Failed registering validator [test_vp0] with name [test_vp0] [rpc error: code = 2 desc = Identity or token does not match.].

Why was this discussion closed? Even i am getting the same error. Besides when i am trying to build the app2_internal.go, i get the following error:
app2.go:23:2: no buildable Go source files in /Users/Apple/Documents/go/src/github.com/hyperledger/fabric/core/crypto
app2.go:24:2: no buildable Go source files in /Users/Apple/Documents/go/src/github.com/hyperledger/fabric/protos
Basically I am  trying to register new users. How do i do it? Get certificates for them?
Can you give some useful links?

Hi,
the discussion was closed because we've moved from github to gerrit+jira. Please, see https://gerrit.hyperledger.org/r/#/admin/projects/fabric and https://jira.hyperledger.org/projects/FAB/issues
As for your question the basic answer is that you need to register and enroll the user. But you're welcome to join us on rocketchat and get live help from the community at: https://chat.hyperledger.org
Cheers.
Arnaud


[TACHYON-1428] Documented parts of the different modules in preparation for the checkstyle rule

https://tachyon.atlassian.net/browse/TACHYON-1428

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7736/
Test FAILed.

Jenkins, test this please

Thanks for the PR! I've left some comments

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7738/
Test PASSed.

@aaudiber Thanks for the comments. I updated the PR accordingly.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/7740/
Test PASSed.

LGTM


Javadoc

@grosu please review. The codeship build failed because the change made in K for this PR hasn't been merged into master. I guess we need to have a better way of the integration tests; I have an idea though.

In TextToMini I can only see 2 members in the generated scaladoc html.  I think we should see all of them.  We want to even put a link to this scaladoc on the webpage of kore later on, so people know what it provides without looking at the code.

All the other methods other than the two are private. You cannot call those private methods, and will be never shown in the scaladoc. If you're talking about the grammar, I think we can add a file for the grammar in the resource directory and put its link in the scaladoc.


shimgen fails to shims of chocolateypackage with PowershellDSC

I am installing NSSM using PowershellDSC. It installs NSSM but shimgen fails to generate a shim of nssm executable binary.  I am running DSC with administrator privileged account.
Here is the error log -
Calling command ['"C:\Choco\tools\shimgen.exe" --path="..\lib\NSSM\Tools\nssm-2.24\win64\nssm.exe" --output="C:\Choco\bin\nssm.exe"  --iconpath="C:\Choco\lib\NSSM\Tools\nssm-2.24\win64\nssm.exe"']
[DEBUG] -  [ShimGen] [WARN ] Could not extract icon from associated program. Using default. Error:
[DEBUG] -  [ShimGen]   Format not recognized by IconLib
[DEBUG] -  [ShimGen] Microsoft (R) Visual C# Compiler version 4.6.1055.0
[DEBUG] -  [ShimGen] for Microsoft (R) .NET Framework 4.5
[DEBUG] -  [ShimGen] Copyright (C) Microsoft Corporation. All rights reserved.
[DEBUG] -  [ShimGen] error CS0016: Could not write to output file 'c:\Choco\bin\nssm.exe' -- 'The directory name is invalid. '
[DEBUG] -  [ShimGen] [ERROR] ShimGen had an issue creating 'C:\Choco\bin\nssm.exe'. Please check the logs above.
[DEBUG] - Command ['"C:\Choco\tools\shimgen.exe" --path="..\lib\NSSM\Tools\nssm-2.24\win64\nssm.exe" --output="C:\Choco\bin\nssm.exe"  --iconpath="C:\Choco\lib\NSSM\Tools\nssm-2.24\win64\nssm.exe"'] exited with '1'

This has been reported elsewhere as well.
https://groups.google.com/d/msgid/chocolatey/4eb58e7b-ab61-4790-9f71-adbcfcb8dae4%40googlegroups.com
Same package. Out of curiosity, is that file locked and in use? c:\Choco\bin\nssm.exe

Since this issue doesn't appear to be specific to the DSC resource for choco, I'm going to close this issue.
The discussion is continuing on the Google Group above, as well as in the comments section of the package on chocolatey.org.

@ebekker do you have a good email address I can reach out to? my email is ferventcoder at gmail. You can just send a message to that and I will follow up.

Run


backslash and fancy quotes confuse highlighter

see example for https://docs.perl6.org/type/IO#sub_run

If it's the highlighter, it's an issue with the external tool we're using, and should be raised there.

Also, I'm not seeing anything wrong on the page mentioned. So what's wrong exactly? I can open the issue in https://github.com/perl6/atom-language-perl6/issues and close this, but I'm not sure what the actual problem is.

Also, unassigning @samcv until the issue is clear enough. Issues filed in https://github.com/perl6/atom-language-perl6/issues get @samcv attention anyway.

@gfldex can you say what the problem is? I'm not sure what it is? I could have fixed the issue since then, or the docs could have changed, but if you can give me a snippet. I tried the below code, but maybe you remember what the issue was?
‘blah\a’ blah
‘blah\\a’ blah
‘blah\\’ blah

Seams to be fixed already. Spooky bugfix at a distance.


Make API baseline generation part of the universe builds

We want to generate baselines automatically as part of Universe.
Initially we will generate baselines in a different configuration (UniverseBaselines).
Once we iron out the kinks, asses its stability we will decide whether or not we move it into universe.

Load balancing to @ryanbrandenburg . Please make sure changes are reviewed by @natemcmaster and @javiercn .

UniverseCoherence now generates baselines inside the modules bin/Release/TFM/. I'll make them artifacts so they're preserved for future processes to use.

3-Done?


changed prod to product in update-version-all.sh for matching right v…

…alue of Jenkins script variable
For matching values of variables in Jenkins CI scripts for releasing it is desired that this variable is product instead of prod.

Merged into master, thanks @mbiarnes!


Initial commit: update pip3-skeleton with project specifics

Limit python compatibility to those versions supported by BlueAPI

Tagged @gilesknap for review to make sure I have removed all the correct skeleton things and @keithralphs as he understands the purpose of the repository and can check if my docs make sense.


Fix the part of fixes in ecb01d413d9

Some of my fix was wrong: which checks if whether tx_size == 32x32 or 32x? or 32x?,  where ? < 32.

Coverage increased (+0.002%) to 83.006% when pulling 496b5509968f4766a4b56fca36091b42dfafe675 on ycho:fix2_get_tx_set into 8d8fcdf3091c6bfb41426b9cd134986341cfb269 on xiph:master.


Moving VPN to EKS Folder

Summary | Résumé
This is required for the BCP work - the VPN can't be created if the subnets don't already exists. There will be manual steps to migrate the VPN before merging this PR.
Related Issues | Cartes liées

https://app.zenhub.com/workspaces/notify-planning-core-6411dfb7c95fb80014e0cab0/issues/gh/cds-snc/notification-planning-core/318

Test instructions | Instructions pour tester la modification
TF Apply works AFTER RELEASE INSTRUCTIONS
Release Instructions | Instructions pour le déploiement

Clone this branch locally.
In Common:

terragrunt state pull > /var/tmp/common.tfstate

In EKS:

terragrunt state pull > /var/tmp/eks.tfstate

Open both files

Cut all resources under module.vpn from common.tfstate and paste them at the end of eks.tfstate

Cut the aws_acm_certificate client_vpn from common.tfstate and paste at the end of eks.tfstate

Cut the tls_self_signed_cert client_vpn from common.tfstate and paste at the end of eks.tfstate

Cut the tls_private_key client_vpn from common.tfstate and paste at the end of eks.tfstate

Increment the "Serial" field by 1 in both common and eks.tfstate

In Common:

terragrunt state push /var/tmp/common.tfstate

In EKS:

terragrunt state push /var/tmp/eks.tfstate

Re-run the terraform plan here to verify the changes

Reviewer checklist | Liste de vérification du réviseur

[ ] This PR does not break existing functionality.
[ ] This PR does not violate GCNotify's privacy policies.
[ ] This PR does not raise new security concerns. Refer to our GC Notify Risk Register document on our Google drive.
[ ] This PR does not significantly alter performance.
[ ] Additional required documentation resulting of these changes is covered (such as the README, setup instructions, a related ADR or the technical documentation).

⚠ If boxes cannot be checked off before merging the PR, they should be moved to the "Release Instructions" section with appropriate steps required to verify before release. For example, changes to celery code may require tests on staging to verify that performance has not been affected.

The subnet recreations are expected since I added the new k8s subnets


consider separating node recycling for chunks and huge allocations

Having one free list protected by the huge mutex and another by the chunk mutex would eliminate the need to grab a separate lock for the node free list. The huge code could be switched to using arena allocation but that will probably hurt data locality for the tree. It's not likely that this will be a significant improvement, but why not?

Implemented by 00dc00040e2b15ab2f1829d104b06723534f792b.


Update Route.md

Be more precise about the difference with the component attribute and the render/children attribute. Explain why inline function shouldn't be used in the component attribute

Thanks!


chore: bdd-spring-1572521893 to 0.0.1

chore: Promote bdd-spring-1572521893 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Posting Entity With Child Having IFormFile Property Causes Child To Be Initialized

Describe the bug
I have a form that creates a ShopProduct, which is a join between a Shop and a Product.
The ShopProduct Create form sends up the ShopId/ProductId/etc. When the ShopProduct is received by the method, the Shop field is null (as expected). This was working fine, until I added this field to Shop:
[JsonIgnore, NotMapped, Display(Name = "Background Image")]
public IFormFile BackgroundImage { get; set; }

Now, despite the actual ShopProduct form not changing at all, the ShopProduct entity received by the Create method has a NON NULL Shop entity - a Shop with all of its values set to their defaults.
This is problematic because this shop isn't null, which means it causes the ModelState to become invalid.
So there seems to be something which is causing entities that have an IFormFile property to initialized where they shouldn't be.
To Reproduce
Use ASP.Net Core 2.2
Expected behavior
The child of a posted entity should be null if it isn't included in the form - regardless of whether the child has an IFormFile input.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
.NET Core SDK (reflecting any global.json):
 Version:   2.2.103
 Commit:    8edbc2570a

Runtime Environment:

 OS Name:     Windows
 OS Version:  10.0.16299
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.2.103\

Host (useful for support):
  Version: 2.2.1
  Commit:  878dd11e62

As a (rather hacky) workaround, I created this class:
public class IFormFileWrapper
{
    public IFormFile File { get; set; }
}

And then changed the property on Shop like so:
[JsonIgnore, NotMapped]
public IFormFileWrapper BackgroundImage { get; set; }

The ShopProduct.Shop field is now null again, as it should be - but I'd rather not have to use this silly wrapped instead of IFormFile directly!

Thanks for contacting us, @DanielStout5.
The reason for the Shop to be initialized for you is because of how the model binding treats the inner IFormFile property. If a greedy (that's the case here) model binder finds an applicable property in the value graph, it'll automatically initialize the parent object (to it's default value).
@pranavkm, can we investigate why the binding doesn't happen if the IFormFile property is further down in the tree?

It seems to me that the model binder shouldn't be greedy here - there is no value being posted by the form, so I don't understand why it would instantiate it. The Shop.BackgroundImage value itself was null - the form isn't sending up any files.


Edit: TV Mana Maputo [MZ]

Channel ID (required)
TVManaMaputo.mz
Channel Name
TV Mana Mocambique
Alternative Names
TV Maná Moçambique;TV Maná Maputo
Network
No response
Owners
No response
Country
No response
Subdivision
No response
City
No response
Broadcast Area
No response
Languages
No response
Categories
No response
NSFW
None
Launched
No response
Closed
No response
Replaced By
No response
Website
https://tvmana-mocambique.com/
Logo
https://i.imgur.com/5UIy5tD.png
Notes
No response

@freearhey what happened? Channel disappeared from playlist.

The channel was removed from the database at your request https://github.com/iptv-org/database/issues/7847.

The channel was removed from the database at your request #7847.

I wanted to remove "TVManaMocambique.pt". This one should be "TVManaMocambique.mz".


Changing WOLF_RENDER_NODE does not seem to work

I tried setting WOLF_RENDER_NODE to /dev/dri/renderD129 to use the GPU instead of Intel QuickSync. But it keeps using Intel and D128.
I verified that the environment variable is correctly set by running -ti ... bash on the docker run command:
root@game-srv:/wolf# env | grep WOLF_RENDER_NODE
WOLF_RENDER_NODE=/dev/dri/renderD129

The way I found out it is using Intel is because of the HEVC encoder selection: 19:11:16.370946074 INFO  | Selected HEVC encoder: qsv

Have you seen the docs on this?
TL;DR:

WOLF_RENDER_NODE only controls on which GPU the virtual screen will be created
The encoder pipeline is controlled by the order of the entries in the config.toml. The default is: nvidia -> quicksink -> vaapi (both Intel and AMD) -> x265 (software). The order in which they appeat in the config.toml is the order in which they'll be tried by Wolf.

Which vendor is the GPU that you are trying to use?
If it's Intel or AMD based on this issue you should be able to replace vah265enc with varenderD129h265enc in encoder_pipeline under [gstreamer.video.hevc_encoders]] (and move that above the qsv entry or delete it). I don't have such a setup, so I haven't tested this personally.
I hope this helps!


fix: fix that failed to add renamed dependencies several times

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 40.063%

Totals

Change from base Build<PHONE_NUMBER>5:
0.2%

Covered Lines:
3074

Relevant Lines:
7673

💛  - Coveralls


Grammatical correction under Note

Under Note
If deployment fails or you delete your ISE, Azure might take up to an hour before releasing your subnets. This delay "means means" you might have to wait before reusing those subnets in another ISE.
means is repeated twice and needs to be removed once.
Doc link - Link - https://learn.microsoft.com/en-us/azure/logic-apps/create-integration-service-environment-rest-api?source=recommendations#create-the-ise
Note - section

Docs Build status updates of commit b1dc023:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/logic-apps/create-integration-service-environment-rest-api.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Looks good; thanks, @krishna-ms-git

Thanks


Disable EXTERNAL_IIIF_URL

Summary
Serverless iiif print doesn't support valkyrie. For now, we need to comment out or remove the EXTERNAL_IIIF_URLS from the servers.
references
related:

#747

Acceptance Criteria

[ ] The UV should be able to load

Screenshots or Video
Testing Instructions
In staging, visit a work with an attached file
Notes

QA RESULTS: PASS ✅
Tiff file correctly displays in UV.
Tested on staging


1.2.4 incorrectly running for Server Level  1 profile

Describe the Issue
1.2.4 is incorrectly included for level1-server profile. The CIS benchmark document specifies "Level 2 - Server" as the profile applicability for this rule.
Expected Behavior
When running with the level1-server tag, 1.2.4 should be skipped. Subsequent dnf tasks that interact with AL2023's default repositories should not fail due to missing GPG signatures (which are not provided by AWS).
Actual Behavior
1.2.4 is running with the level1-server tag. Without further workarounds, this causes subsequent dnf tasks to fail due to missing GPG signatures.
Control(s) Affected
1.2.4
Environment (please complete the following information):

branch being used: devel
Ansible Version: 2.17.3
Host Python Version: Python 3.9.16
Ansible Server Python Version: Python 3.12.1
Additional Details: Using test environment — VirtualBox via Vagrant (box created from most recent AL2023 release)

Additional Notes
Workaround is to skip this rule explicitly.
Possible Solution
Change tag on the 1.2.4 block from level1-server to level2-server.

hi @edjackson-wf
Thank you for taking the time to raise this issue.
Great spot PR is being raised to merge to devel and fix this.
Many. thanks
uk-bolly

Merged to main
Thank you
uk-bolly


Add support for "page=" and "search=" URL parameters

Both the Adobe Reader and Google Chrome PDF plugins accept several URL parameters which can be defined via the URL Fragment Identifier. Adobe has published a short overview on these parameters at http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf .
These optional parameters affect the behavior of the PDF plugin in several ways. The two most commonly used parameters - at least from my point of view - are:

page=: PDF is scrolled to the page specified.
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#page=5
search=: The search box is populated with the search term and the PDF is searched (text is highlighted, etc.).
http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf#search=PDF

Both of these parameters seem straightforward to implement and would create compatibility with use cases where these parameters are used in e.g. in third-party web applications.
Please note that I have searched the issue list for similiar feature requests and found nothing relevant, this is why I have created this ticket.

Usted ama el dolor? Y para que te haga un favor... voy a hacer eso!
Yo saque sus huevos de oro de fracaso tan duro hasta que están sonando y que están cantando todas las melodías de dolor hacia adelante y hacia atrás en un instante! Yo soy el cascanueces chico que las grietas de su nueces que nutheads!
Y ahora vete a la mierda ESTÚPIDA de MIERDA COÑO!

Usted puede lamer mi Pene y mis Huevos de oro y besar mi Culo hijo de puta con un Trastorno de la personalidad desde el más profundo de los abismos del infierno desde los Abismos de Mozilla!
Vete a la mierda y que tu Madre te autista hijo de puta, vas a lamer Putin Huevos, Puto Maricon Fascista!
La mierda de su Perro, su Gato y su sucio Cabra de montaña que Maricon Pendejo!
Chupar Mozilla Pollas y todos juntos ir y chupar de Google Culo lleno de Mierda!
 Y que Carajo Australis Chrome clon de mierda!

Usted ama el dolor? Y para que te haga un favor... voy a hacer eso!
Yo saque sus huevos de oro de fracaso tan duro hasta que están sonando y que están cantando todas las melodías de dolor hacia adelante y hacia atrás en un instante! Yo soy el cascanueces chico que las grietas de su nueces que nutheads!
Y ahora vete a la mierda ESTÚPIDA de MIERDA COÑO!

Usted puede lamer mi Pene y mis Huevos de oro y besar mi Culo hijo de puta con un Trastorno de la personalidad desde el más profundo de los abismos del infierno desde los Abismos de Mozilla!
Vete a la mierda y que tu Madre te autista hijo de puta, vas a lamer Putin Huevos, Puto Maricon Fascista!
La mierda de su Perro, su Gato y su sucio Cabra de montaña que Maricon Pendejo!
Chupar Mozilla Pollas y todos juntos ir y chupar de Google Culo lleno de Mierda!
 Y que Carajo Australis Chrome clon de mierda!

Will this also work for iframes?

I try to this:
PDFFindBar.open(); //optional if you want to show the search bar
PDFFindBar.findField.value = 'your search term';
PDFFindBar.highlightAll.checked= true;
PDFFindBar.findNextButton.click();
but i cant made execute fine
i try in
$(document).ready(function(){
but not work for me, somebody helpme?
i use PDF.js 1.1.3
sorry but my english is not the best

Its works!!!
i added:
  if ('search' in params) {
        PDFViewerApplication.findBar.open();
        PDFViewerApplication.findBar.findField.value = params.search;
        PDFViewerApplication.findBar.highlightAll.checked= true;
        PDFViewerApplication.findBar.findNextButton.click();
  }

in pdfViewSetHash
thanks for all

Hello Friends,
I am new to GitHub so please tell me how to download and use this PDF.js ?
I have a project in which i have to use Flux Player which starts IE but when i link pdf file page parameter is not working.
My project works fine in normal IE, Firefox and chrome but not in IE with Flux Player
So i think this PDF.js will help me to open specific page of pdf file.
Kindly guide me.
Thank you.

@AjayParmar See https://github.com/mozilla/pdf.js/wiki/Setup-pdf.js-in-a-website

@Rob--W  Thank you very much for help. I like to ask one more question can i run it from DVD as my project always run from DVD no web server. What extra utility i have to use for using this utility from DVD?

@AjayParmar Please do not post unrelated questions on this issue. Your question has nothing to do with the URL parameters that this issue is about. For such questions, please use the mailing list.

@AjayParmar That's going to be a bit difficult, because web browsers restrict access to local files, even if the web page is a local file. If you want to go down that route, converting the file to base64 (or a typed array) and inlining the data in the viewer is probably the best course of action. This use is not explicitly supported, so you're completely on your own if you want to use PDF.js at file://.

@Rob--W  Thank you very much.
@timvandermeij  Sorry for inconvenience, I will remember it.
Thank you.

It seems like this is not working in iframes, right?

Hello,
I would like to change the default url of viewer.js and pass a differenet url to it..
I have a html file which has differnt pdf links.When i click on an any of the links i want that file to be opend using the viewer.html file..
Is it possible to do that???
Please help

@mashwinfugro Your question has nothing to do with the original point of this issue, namely URL parameters for page and search. Please do not post unrelated questions on issues. Use the mailing list instead.

Hello
Very sorry for the inconvenience.
I would like to change the default url of viewer.js and pass a differenet
url to it..
I have a html file which has differnt pdf links.When i click on an any of
the links i want that file to be opend using the viewer.html file..
Is it possible to do that???
Wat are the changes to be made??
Please help
On Mon, Jul 27, 2015 at 11:38 PM, Tim van der Meij<EMAIL_ADDRESS>
wrote:

@mashwinfugro https://github.com/mashwinfugro Your question has nothing
to do with the original point of this issue, namely URL parameters for
page and search. Please do not post unrelated questions on issues. Use
the mailing list instead.
—
Reply to this email directly or view it on GitHub
https://github.com/mozilla/pdf.js/issues/1875#issuecomment-125291100.

@timvandermeij  Sorry for the inconvenience..

@charliec114 , I'm trying to make the same change that worked for you - where did you add your code in viewer.js?  I don't see pdfViewSetHash() in the latest version of viewer.js.

@ekraffmiller found it under PDFLinkService_setHash
So if anybody is still trying to implement the workaround for this, go ahead and paste
// add URL based search functionality         if ('search' in params) {                 PDFViewerApplication.findBar.open();                 PDFViewerApplication.findBar.findField.value = params.search;                 PDFViewerApplication.findBar.highlightAll.checked= true;                 PDFViewerApplication.findBar.findNextButton.click();         }
into PDFLinkService_setHash in your viewer.js
Note that this doesn't play nicely with the other bookmark parameters.

Is it possible to find word on Android webView?

#page=... has been supported for years, and with PR #5579 adding support for #search=..., I'm closing this issue as fixed.

Hello everyone,
I have a plan in .dwg, that I convert in .pdf
My purpose is to open this PDF and to programmatically make a search to highlight the ID of an entity in the plan.
I work in Csharp and I tried :
myProcess.StartInfo.Arguments = "/A "search=<entity_name> ;
It open the advanced search of Acrobat but it does nothing in. Could you light me?

Hello everyone,
I have a plan in .dwg, that I convert in .pdf
My purpose is to open this PDF and to programmatically make a search to highlight the ID of an entity in the plan.
I work in Csharp and I tried :
myProcess.StartInfo.Arguments = "/A "search=<entity_name> ;
It open the advanced search of Acrobat but it does nothing in. Could you light me?

Hello everyone,
I have a plan in .dwg, that I convert in .pdf
My purpose is to open this PDF and to programmatically make a search to highlight the ID of an entity in the plan.
I work in Csharp and I tried :
myProcess.StartInfo.Arguments = "/A "search=entity_name address_pdf ;
It open the advanced search of Acrobat but it does nothing in. Could you light me?

It open the advanced search of Acrobat but it does nothing in

Support of Acrobat is out of scope of this project. Please contact the vendor.

Are you creating the search page yourself? If so you might want to try getting the word occurrence from the backend and adding it as a url parameter. In my instance I use PHP so set each of my search page results like so
echo "File: ".basename($absolutePath)."";
Then I grab it with
From viewer.js
if ('search' in params) {
searchPDF(params['search'],params['occurance']);
}
then to actually send the data and make it jump to the occurrence
function searchPDF(td_text,td_occurance) {

	//must modify, finds partial words and not acutal word
	PDFViewerApplication.findBar.findField.value = td_text;
	PDFViewerApplication.findBar.findField.occurance = td_occurance;
	for(var i=0;i<td_occurance;i++){
		PDFViewerApplication.findBar.findNextButton.click();
	}

	PDFViewerApplication.findBar.open();
    PDFViewerApplication.findBar.caseSensitive.checked = false;
    PDFViewerApplication.findBar.highlightAll.checked = true;
//PDFViewerApplication.findBar.close();

}
Only problem is my search page does not find partial matches. for example if you search for John in pdf.js you will get results that say Johnny and Johnathan. I am trying to figure out where the regular expression is that allows this. But for now this is the best I've gotten. Hope this helps

Here instead of 2 for page number, can i send value from textfield??
Example:

Pretty sure you have to look at the params. You would assign the value of the text box value to the page number variable.
if ('page' in params) {
pageNumber = VALUE OF TEXT BOX OR HOW EVER YOU GET THE DATA
}

@plck : Hey I was searching for this solution , but I am yet not been able to identify where to put this code in ? As there exists no file named PDFLinkService_setHash , there exists file PDFLinkService , so could you please guide me here a little as where I need to look and dig to embed this auto-searching functionality in my project.


Use bootstrap in index.html

Is there a way i can use bootstrap on the generated index.html file, or inject a style sheet and change the css used??

Also, this URL on the readme file is not pointing to anything??  But it is referenced on microsoft??
https://github.com/domaindrivendev/Ahoy/tree/master/test/WebSites/CustomizedUi/wwwroot/swagger/ui

Also, is a new version going to be released soon as the code in the samples, does not match what is available in version beta902.  For example, .UseSwaggerUi extension method only accepts 2 parameters, but in the master branch it accepts Options

Just put index.html in wwwroot\swagger\ui and alter it as you wish.

This does not work.  I have put a custom index.html into wwwroot/swagger/ui folder and it is not being shown

app.UseStaticFiles(); is present int Startup.cs?
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
     app.UseStaticFiles();

     app.UseSwagger();
     app.UseSwaggerUi();

     app.UseMvc();
}

reference https://auth0.com/forum/t/webapi-authentication-with-swagger/1803/7

What is the request path of original index.html, when you look in dev mode (F12)
it should be http://locolhost:/swagger/ui/index.html if so, it should work, if no change folder path according what you see. Remember to clear cache, it may be still in cache.

I have changed the path, so that i need to request http://localhost:5000/api/v1/index.html which is specified in the base route property.  I am guessing i need to copy the index.html page to this folder instead??

Yep, then copy index.html into wwwroot/api/v1/


Allow to run individual region or all regions

Description
Please include a summary of the change and which issue is fixed.
Type of change

[x] Internal refactoring
[ ] Bug fix (bugfix - non-breaking)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Code snippets
In case of new feature or breaking changes, please include code snippets.

Can you check the conflicts, please? Thanks! 👍

@iAmmar7 found a way back to keep it all contained here in one place in workflow without the case statement.


PERF: using direct field accessors to key/value reference data instead of instantiating new int[] array

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Shows around 40% improvement on Druid's "read" benchmark: indexing.IncrementalIndexReadBenchmark.read

Will be included in future PR.


MediatR - Polymorphic Notification

Hello,
I have the following two classes I use for notifications:
public class InventoryNotificationBase : INotification
{
}

public class InventoryNotificationReceived : InventoryNotificationBase, INotification
{
}

And here is my handler:
public class InventoryDenormalizer :
    INotificationHandler<InventoryNotificationBase>,
    INotificationHandler<InventoryNotificationReceived>
{

    public Task Handle(InventoryNotificationReceived notification, CancellationToken cancellationToken)
    {
        return Task.CompletedTask;  // This is called twice.
    }

    public Task Handle(InventoryNotificationBase notification, CancellationToken cancellationToken)
    {
        return Task.CompletedTask;  // This is never called.
    }
}

Here is the publishing code:
mediator.Publish(new InventoryNotificationReceived());
The behavior I am noticing is the INotificationHandler<InventoryNotificationReceived> is being called twice and the INotificationHandler<InventoryNotificationBase> is never called.
However, I would have expected each handler to have been called once.
Thoughts?
Thanks for the awesome DI Container!

Hi,
Could you create a complete test in DryIoc.IssueTests project?

OK but do you agree this is a bug? Sorry not trying to be rude I just need to figure out if I need to swap DI containers if it is until a fix is made.

I don't understand this fully. If I see, play with complete sample / test, it will speedup things.
I doubt that the problem is in DryIoc, cause we talk about basic feature. But again, hard to be sure until I see a full example.

Ohh, what version of DryIoc do you use?
Now I have remembered that "maybe" related issue was fixed in v3.1 (now in preview). Try it out if you are using a lesser version.

Ohh, what version of DryIoc do you use?
Now I have remembered that "maybe" related issue was fixed in v3.1 (now in preview). Try it out if you are using a lesser version.

The preview version did not resolve the issue.

Hopefully, will have time to check.

Hi @mpaul31,
I have added the tests to demonstrate that it cannot be "simply" achievable. So it is not a DryIoc fault, nor the MediatR's. I tried the case without containers and MediatR with the same results.
First, you need to figure out how you would do it by hand, then we think how to automate it with libs.

Thank you for looking into this. I’ll try some other things in the office next week.

On Nov 3, 2018, at 12:40 PM, Maksim Volkau<EMAIL_ADDRESS>wrote:
Hi @mpaul31,
I have added the tests to demonstrate that it cannot be "simply" achievable. So it is not a DryIoc fault, nor the MediatR's. I tried the case without containers and MediatR with the same results.
First, you need to figure out how you would do it by hand, then we think how to automate it with libs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

In order to support such a notification we should construct something like this:
Func<N, Task> Handler =
    async n => await Task.WhenAll(new[] {
        ((INHandler<N>)new NHandler()).Handle(n),
        ((INHandler<K>)new NHandler()).Handle(n)
    });

class K {}
class N : K {}

I was able to resolve this by moving the INotification marker interface to a base class.
thanks for your help!


Support for Config file fixes

It was recently discovered that the Config file is sub-optimal. Could the fixes identified be integrated into this tool?
Info: https://www.reddit.com/r/cyberpunkgame/comments/kccabx/hey_cd_projekt_red_i_think_you_shipped_the_wrong/
Thanks!

Post is deleted, https://www.removeddit.com/r/cyberpunkgame/comments/kccabx/hey_cd_projekt_red_i_think_you_shipped_the_wrong/
for copy

Is this the PoolCPU and PoolGPU settings ?
I gave it a shot and saw no improvements on my machine if someone who did use this trick and got a performance boost reads this I would appreciate your help with testing a patch for this.
Cheers!

As a data point, I haven't seen any difference whatsoever by changing that file from the reddit post.

Noticed a slight improvement (5-7 fps) and what seems to be a slight increase in general texture quality.

As a further data point, I also saw no improvements by changing these config lines. Either to those recommended by the OP (16GB RAM, 8GB VRAM for my GPU) or both to 0 (which the text file suggests is auto-calc).
Ryzen 3700x, 32GB RAM, 5700XT.
FWIW: I monitored VRAM & RAM utilization and there was no difference in usage between any of these settings (default, recommended and zeroed). But pool allocation may not affect the overall usage, I am out of my depth here.

I observed a performance increase when I updated config file.
Ryzen 3900x/RTX 3080/32GB RAM
Might be worth adding this in. Looks like worst case it does nothing, while best case it gives you a performance increase.

Hi, not familiar with Windows development. Unix guy here.
Do I understand correctly, but does this mean there is no way of letting the exe know it can allocate as much resources as it wants, but we just need to raise the predefined bar?

As far as I can tell this does not work. You can make any edits to that file or even delete it and the game boots just fine and there are no changes. In fact, it makes no sense for it to work because OP of that Reddit thread didn't even uncomment the lines in the file for it to work. (Which by the way, it still doesn't.)
I also tried checking Process Explorer to see if the file is even used at all by the application and it seems it is not.

I went from 60fps to 90fps by modifying that config file. For reference, I have an RTX 3080, AMD 3800XT, and 64GB 3600MHz RAM. I had all setting set to their maximum level and DLSS set to Ultra Performance.

For reference, no change here. Perhaps you could make a small installer that allows users to select the features they need?

Hi, not familiar with Windows development. Unix guy here.
Do I understand correctly, but does this mean there is no way of letting the exe know it can allocate as much resources as it wants, but we just need to raise the predefined bar?

My best guess is that they set up a pool for custom memory management rather than relying on default OS memory handling. There are some potential advantages to this around efficiency of loading and maintaining memory, uploading data to the GPU, etc; especially if you can avoid having too many page faults in your access, which is perhaps more likely if you're allowing the OS to assign memory chunks -- I'm not familiar enough with OS memory management to know how likely, only that in theory such things might happen.
If the value is for pool size, then I would further assume that they ARE using default OS memory handling for everything else, and if your OS memory table is particularly fragmented or just not being handled well for whatever reason, I could understand some people seeing sometimes dramatic framerate improvements for when they're especially CPU-bound by things like page faults.

I did the change and I have a reproduceable crash right after a save. Without the change no crash in that save. I have 32gb ram so i did 16gb and i have a 1080 ti so i did 11gb. Not 100% sure about the values I used, but looks right.

I did the change and I have a reproduceable crash right after a save. Without the change no crash in that save. I have 32gb ram so i did 16gb and i have a 1080 ti so i did 11gb. Not 100% sure about the values I used, but looks right.

Which 1080ti? Not all models have 11gb, so that may be your issue.

I did the change and I have a reproduceable crash right after a save. Without the change no crash in that save. I have 32gb ram so i did 16gb and i have a 1080 ti so i did 11gb. Not 100% sure about the values I used, but looks right.

Which 1080ti? Not all models have 11gb, so that may be your issue.

Evga 1080 ti, and it states 11GB on the box.

Pretty sure there are different EVGA flavors of the same card. Mine is SC2.

I bought the card when it came out, the box doesn't have any other designator. Is there a command I can run or any place where it shows?

Its curious that you're getting crashes. What ram type & speed do you have? What CPU? Do you have game on HDD or SSD?

Might be worth trying with 10GB in case you haven't yet. If you have all the VRAM allocated and something needs to allocate something else for some reason, I could see that causing a GPU crash.

This is bonkers. We're doing a memory manager's job here. I'm surprised CP2077 doesn't come with DOS4GW included.

I can confirm i saw an increase in performance allowing me to jump from high to ultra present with 1-2fps performance gain.
Cpu consumption jumped from around 30-36 to 36-64.
9900k, 2080ti

Tried setting both the PoolXXX to 0 (dinamically allocated) and saw some improvement on my system, at least 5 FPS recovered and more ram usage, but never reached high levels. Seems setting manually to max doesn't really reach the value setted, I have to take a better look at how the game really utilizes the config file. For now, I suggest to not implement this feature here, or setting it to 0.

I'm on a i5-7600K, 16GB ram, 1060 6GB GFX. Noticed zero improvements using the config file no matter if i manually set it or set it to 0 and let it autodecide.
Struggling to get above 30+ in night city on low (textures are at high)

Config file modification did nothing for me. Changed it to 32GB for CPU and 8GB for GPU, saw no change in FPS. Tried changing it down to 1GB for CPU and 512MB for GPU, same FPS as both the default config and the first change I tried. I even went so far as to just straight up delete the config file and try running the game to see if the file would be remade or if the game just wouldn't launch. It launched fine and ran identically to before the config file thing was even in question.
I'm, on the GOG version of the game. Doubt that means anything.

I added this to the mod, it is enabled by default in v0.4.0, please let me know if it works for you as I don't get any performance change meaning I don't see if it actually works or not.

I experienced minor FPS gain (1-3 FPS), but the loading time seems to be reduced by a fair bit.
Running on a Ryzen 3600, 32GB RAM, RX 5700 XT and game is installed on a normal SATA SSD.

It should now detect the amount of VRAM correctly.

Thanks for the quick patch. 🥰


Where to update phpsdk_deps?

I have problems to understand, where to run this command phpsdk_deps --update --branch master (in the paragraph Basic usage example).
When I understand the paragraph correct, then I should be in the directory php-src and then run this command ..\path\to\phpsdk_deps --update --branch master. Is this correct? Or should I be outside of the php-src directory?

The issue seems resolved, thus closing.
Thanks.


Name tag with localization does not converted well to project.apm

I converted descriptor by migration guide with latest version of apm and it does not work well at the moment.
Names from this list were converted to
<name>
  <text xml:lang="en">Ancient Planet</text>
  <text xml:lang="zh_Hans">古老星球</text>
  <text xml:lang="zh_Hant">古老星球</text>
  <text xml:lang="ja">古代の惑星</text>
  <text xml:lang="ko">고대 행성</text>
  <text xml:lang="in">Planet Arkais</text>
</name>

this list and do not looks well on device.
Application name looked like <name xmlns....
<name><name xmlns="http://ns.adobe.com/air/application/33.1" xmlns:xml="http://www.w3.org/XML/1998/namespace">
<text xml:lang="en">Ancient Planet</text>
<text xml:lang="zh_Hans">古老星球</text>
<text xml:lang="zh_Hant">古老星球</text>
<text xml:lang="ja">古代の惑星</text>
<text xml:lang="ko">고대 행성</text>
<text xml:lang="in">Planet Arkais</text>
</name></name>

Happily I just removed name tag from project.apm and returned it to descriptor manually and it work fine.

Thanks for reporting this one, we'll apply the same treatment here.

Hi,
I've been able to isolate your issue. It's not directly related to #61, instead related to the init process. Seems if you have multiple languages and init your apm project from the app descriptor (ie. apm init app.xml) it inserts the entire raw xml string into your project.apm.
"name": "<name xmlns=\"http://ns.adobe.com/air/application/33.1\" xmlns:xml=\"http://www.w3.org/XML/1998/namespace\">\n  <text xml:lang=\"en\">Ancient Planet</text>\n  <text xml:lang=\"zh_Hans\">古老星球</text>\n  <text xml:lang=\"zh_Hant\">古老星球</text>\n  <text xml:lang=\"ja\">古代の惑星</text>\n  <text xml:lang=\"ko\">고대 행성</text>\n  <text xml:lang=\"in\">Planet Arkais</text>\n</name>",

As a temporary workaround, you can just open up your project.apm and change the "name" line to be:
"name" :"",

I'm looking into fixing this issue now.

I've just pushed in an update that should resolve this issue. You will need to either run apm init app.xml or make the change I've listed above.


Fix all no else warnings

Please complete #1468 before working on this because this PR includes content from #1468. If you work in parallel, fork this branch from master, not the branch for #1468.


Indirect modification of overloaded element of Customer has no effect in yii2/db/ActiveRelationTrait.php on line 371

What steps will reproduce the problem?
Using eager loading with aggregation relations like in the last example from https://www.yiiframework.com/doc/guide/2.0/en/db-active-record.
What is the expected result?
No PHP notice.
What do you get instead?
PHP notice.
Additional info

Q
A

Yii version
2.0.18

PHP version
7.3.4

Operating system
linux

Customer class has methods
public function getOrders()
{
    return $this->hasMany(Order::class, ['customer_id' => 'id']);
}

public function getOrdersAggregation()
{
    return $this->getOrders()
        ->select(['customer_id', 'counted' => 'count(*)'])
        ->groupBy('customer_id')
        ->asArray(true);
}

and when I use eager loading
Order::find()->with(['ordersAggregation'])->all()

I get PHP notice with xdebug:
PHP Notice: Indirect modification of overloaded element of Customer has no effect in vendor/yiisoft/yii2/db/ActiveRelationTrait.php on line 371

Would you please post database schema DDL as well?

Did a little more digging and the notice is thrown when using inverseOf() method on relation, which got somehow removed from my first example.
Here is complete code to produce this notice:
class Customer extends \yii\db\ActiveRecord
{
    public function getOrders()
    {
        return $this->hasMany(Order::class, ['customer_id' => 'id'])
            ->inverseOf('customer');
    }

    public function getOrdersAggregation()
    {
        return $this->getOrders()
            ->select(['customer_id', 'counted' => 'count(*)'])
            ->groupBy('customer_id')
            ->asArray(true);
    }

    public static function tableName()
    {
        return '{{%customers}}';
    }
}

class Order extends \yii\db\ActiveRecord
{
    public function getCustomer()
    {
        return $this->hasOne(Customer::class, ['id' => 'customer_id'])
            ->inverseOf('orders');
    }

    public static function tableName()
    {
        return '{{%orders}}';
    }
}

Customer::find()->with(['ordersAggregation'])->all();

CREATE TABLE `customers` (
  `id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
  `name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `orders` (
  `id` int(10) UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT,
  `customer_id` smallint(5) UNSIGNED
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Same problem detected. It looks like "->inverseOf()" in relation causes this error. If we add it to the code from documentation exsample like this:
public function getOrders()
    {
        return $this->hasMany(Order::className(), ['customer_id' => 'id'])->inverseOf('customer');
    }

"Indirect modification of overloaded element" PHP notice appears.

@Matvik is it possible to come up with a unit test for it? If would be half-way to have a fix.


Fail to build the image

Hi,
I want to use the framework to do some test.
But when I run the command
docker build -t faasbenchmark .

It failed on the "RUN npm install".
The error information is as below:
Step 16/17 : RUN npm install
 ---> Running in 5d2580ba4c6f
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated

><EMAIL_ADDRESS>install /app/node_modules/keytar
> prebuild-install || node-gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=13.8.0 runtime=node arch=x64 libc= platform=linux)
Package libsecret-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsecret-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libsecret-1' found
gyp: Call to 'pkg-config --libs-only-l libsecret-1' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:321:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.9.184-linuxkit
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /app/node_modules/keytar
gyp ERR! node -v v13.8.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm WARN notsup Unsupported engine for<EMAIL_ADDRESS>wanted: {"node":"<8.10.0"} (current: {"node":"13.8.0","npm":"6.13.6"})
npm WARN notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/watchpack-chokidar2/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!  And Docker version 19.03.5, build 633a0ea.
Is any advice for me to build it successfully? Thank you for your help.

OK, I fix it by add this in the Dockerfile.
RUN apt-get update && apt-get install libsecret-1-dev -y


Adding support Arthera Network

Hi @pcaversaccio can you please deploy Create2 on https://chainlist.org/chain/10242 chain.
Team has transferred 5m unit gas pass to your address. https://explorer.arthera.net/tx/0x102f0e3e0c3d54f4dcbb9921de5e5738bb2b96f70be1eac36f754b3fff3b6b85

Closed via https://github.com/pcaversaccio/create2deployer/commit/8c56e2247f411638dddf9ad1167c05808434a28e.


Removed nearby Test

Description
Fixes #1371
Removed all files from nearby test.

Please merge this PR. I will write all test in a different PR.


Hammerdb

Description
PVC, Hostpath and Local support for hammerdb
Fixes
Adding the following support for VM and Pod:

OCS PVC (Pod and VM) - Openshift Container Storage
Hostpath (Pod and VM) - Local OS disk
Local (POD only) - Local separate disk

Adding related examples under hammerdb_crds.

Can one of the admins verify this patch?

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
0
00:04:42

test_byowl
Pass
0
00:00:12

test_fiod
Pass
1
00:31:46

test_flent
Pass
0
00:08:30

test_fs_drift
Pass
0
00:04:34

test_hammerdb
Pass
0
00:05:13

test_iperf3
Pass
0
00:05:41

test_kubeburner
Pass
0
00:26:02

test_log_generator
Pass
0
00:02:26

test_pgbench
Pass
0
00:02:21

test_smallfile
Pass
0
00:04:41

test_stressng
Pass
0
00:01:53

test_sysbench
Pass
0
00:01:05

test_uperf
Pass
0
00:26:00

test_vegeta
Pass
0
00:04:29

test_ycsb
Pass
0
00:02:39

test_scale_openshift
Pass
0
00:08:15

Hi,
Do you mean to image reference ?

Hi,
I have updated all the database container disks into quay.io/cloud-bulldozer
.
https://github.com/cloud-bulldozer/benchmark-operator/pull/596/commits/97f90b6331d62dd1280285fcc01c69373e973c7d
Best Regards,
Eli Battat.
On Tue, Jun 29, 2021 at 8:07 PM Joe Talerico (rook) <
@.***> wrote:

@.**** commented on this pull request.
Some references to your personal repo here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cloud-bulldozer/benchmark-operator/pull/596#pullrequestreview-695291943,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARTWFG7UOQOJUBODJQWJ3P3TVH4WNANCNFSM47NLY65Q
.

Hey @ebattat, mind you update hammerdb docs with the new variables.

Hey @ebattat, mind you update hammerdb docs with the new variables.

Fixed https://github.com/cloud-bulldozer/benchmark-operator/pull/596/commits/648b80599f53be725bd01fab33501f10801ee7ea

@jtaleric we need your lgtm stamp to merge this one