Scalable dataset generation with Wikipedia (for mid/low resource languages)

I am currently experimenting with a scalable approach for retrieval and reranking benchmark dataset creation based on the wikimedia/wikipedia HF datasets. I want to specifically target this at mid and/or low resource languages.
The idea is to generate questions with GPT3.5-turbo and/or GPT4-turbo grounded in chunked Wikipedia articles and use the dataset as a benchmark for asymmetric retrieval/reranking common in RAG applications.
Rationale:
Wikipedia is often the highest quality/most reliable corpus for languages with small footprint on the internet.
Wikipedia is available in many languages, so this method should apply to many languages.
Since generations will be (single sentence) questions and will be grounded in sufficient context, hallucinations should be unlikely.
Short questions generated by strong LLMs grounded in actual Wikipedia articles of the target language should be a strict improvement over all the machine translated versions of SQuAD out there.
Risks:
GPT generation might not perform well enough in some target languages.
For this I am

replicating Wikipedia dataset preprocessing after SQuAD and GermanQuAD

sampling ~2000 articles from Top 10,000 PageRanked articles
chunking them to 512 tokens of the intfloat/multilingual-e5 tokenizer (very common multilingual embeddings and coincides with context limit in GermanQuAD)

generating single sentence questions relating to a given chunk with GPT3.5/4-turbo
validating generations in a second LLM pass (GPT4-turbo), checking for relevance to context and language adherence

Currently I am validating my idea with a German dataset. Next will be English and Bengali. For Bengali I can rely on judgment of a native speaker.
Happy to hear thoughts/suggestions! :)

@rasdani I believe this could be a very promising dataset. One point when creating the dataset is that it should be comparable to existing datasets out there. I believe reasonable baseline datasets to target are:
SQuAD, GermanQuAD (both high-resource), and norquad (low- to mid-resource). If we have a truly low-resource baseline that would be nice as well.
Another risk, which I believe is relevant is that the questions are not natural, i.e. that the questions are in fact not something that people would ever ask (but something that you might generate from a context). That being said if we can match human-constructed datasets for baselines (i.e. ranking of models correlate), I believe we have a strong case.

chunking them to 512 tokens of the intfloat/multilingual-e5 tokenizer (very common multilingual embeddings and coincides with context limit in GermanQuAD)

Seems like you could get more meaningful boundaries (paragraphs instead of mid-sentence) using chunking methods such as the recursive splitter in langchain.
Potentially related to #376
Related work: This tutorial I believe implements essentially what you are suggesting (with some filtering e.g. for tables and other regions poor for question generation). Though the repo is hosted by me it is actually developed by @jalkestrup. @jalkestrup is offline for the coming days, but will be back online later this week.
I have a vague suspicion that there might also be papers examining this approach (@Muennighoff, @imenelydiaker?)

Yeah IIRC InPars & Promptagator also synthetically generate embedding data with LLMs

Thanks @Muennighoff
Seems like they generally do it with the intent of training models rather than generating the test data (which also is an easier sell).
References: Promptagor, inPars, IIRC.
@rasdani an alternative direction you could go is, though it is probably a paper in itself (so consider it more like brainstorming):
generate questions from the wikidata graph (gold questions with known answers), choose a target LLM (small model like phi), and then the best embedding model is the one that can best find suitable Wikipedia articles to allow the LLM to answer the questions.
This tests the embedding models in a realistic use case. The bias is now of course in the embedding model - llm interaction instead of the llm question generation. Both approaches might have poor generalization to low-resource languages (even assuming the wiki content is good).

Sorry with IIRC, I meant if I remember correctly so only the other two (also InPars has a v2 - https://arxiv.org/abs/2301.01820). I need to improve my communication, I'm sorry 😅😅😅

I can do a retrieval correlation study with GermanQuAD, GermanRAG and my current approach.
For GermanRAG I augmented the answer spans in GermanQuAD with an LLM so it acts as a nice in-between comparison.

I did a test run and generated queries over the GermanRAG dataset with our internal synthetic data pipeline.
You can find the source dataset and the resulting dataset here:
https://huggingface.co/datasets/rasdani/germanrag-positives
https://huggingface.co/datasets/rasdani/germanrag-positives-queries
Generations are in the "query" column.
I used a subset of GermanRAG, because I already deduplicated contexts from GermanQuAD there.
I then evaluated retrieval on both datasets and computed some correlations here.
How would you calculate correlation in retrieval performance?
They way I did it, suggests that the current approach looks reasonable.
Here is the prompt template, I used with GPT4-turbo in our internal data gen tool:
Your task is to anticipate possible search queries by users in the form of a question for a given document.
- The question should be formulated concretely and precisely and relate to the information from the given document.
- The question must be coherent and should make sense without knowing the document.
- The question must be answerable by the document.
- The question should focus on one aspect and avoid using subclauses connected with 'and'.
Limit the questions to the information from the given document and do not draw on your prior knowledge.

Orient your question to the following examples:
Guam === Nach dem Zweiten Weltkrieg === Seit 1946 steht das Territorium auf der UN-Liste der Hoheitsgebiete ohne Selbstregierung. 1949 unterschrieb Harry S. Truman den Organic Act, ein Gesetz, das Guam zu einem externen Territorium der USA mit innerer Autonomie machte, das es bis heute geblieben ist.  Vom 15. September 1996 bis 16.

Generate a question for the following document:
<document>
{{ document }}
</document>

Search query:

Since the LLM already picked up on which language to use, I refrained from prompting for the target language specifically. But might introduce it when using GPT3.5-turbo.

Thanks for overview @rasdani, this looks very promising.
Some of my worries atm. include:

this might only work for high-resource language (so trying it out on norwegian or similar seems valid)
this seems to only be the performance scores of one model, I would love to see the scores of maybe 10 models (selected across the spectrum) and see how well the scores correlate between the two datasets (performance of gold standard dataset on the X axis and constructed dataset on the y-axis)

We could also generate clustering datasets from Wikipedia in scarce resource languages by traversing the category hierarchy. I've done this before and have some code lying around if you're interested.

I believe #376 is what you are looking for ;)

hey, @KennethEnevoldsen here's my update on correlation between human gold dataset and my synthetic queries :)
I tested with 10 embeddings for which I had the config and setup ready.

Here's the script and the notebook:
https://github.com/rasdani/mmteb-wiki/blob/main/mmteb_wiki/correlation_study.py
https://github.com/rasdani/mmteb-wiki/blob/main/mmteb_wiki/plots.ipynb
I ran the same generation pipeline with gpt-3.5-turbo and the queries look comparably good to gpt-4-turbo upon manual inspection. Will do the same correlation study for these, too.
I think I will tackle norquad next. I assume you are a native speaker of Norwegian?
If so, this would be a nice validation (low/mid-resource example + your judgment).
Then I would try the hard stuff with Bengali and eyeballing by a native speaker.

Thanks for taking the time with this. Very happy to see the correlation, seems like a close-to-perfect ranked correlation - at least if you only consider significant rank  (i.e. very similarly performing models should when bootstrapped perform similarly so switching up those two models shouldn't be considered an error).
To do those calculations, however, we would need to implement bootstrapping in the evaluations (shouldn't be too hard)

I think I will tackle norquad next. I assume you are a native speaker of Norwegian?

Sadly not, but I speak Danish which is closely related so feel free to forward any questions you have. I also don't mind taking a look at the data (most Danes can read Norwegian with some effort).

Added bootstrapped rank correlation to the notebook.
Mean Spearman Rank Correlation: 0.9302937560901587
95% Confidence Interval: [0.69220779 1.        ]

Looks good, doesn't it? @KennethEnevoldsen


v3

This is all work in progress - a complete rewrite of ts transformer

@rubenvanassche has this been abandoned? Do you think I can PR back something that fixes #23 in v2?
I am still using this writer in all my projects to this day 🥲
final class OptionalPropertiesTypeDefinitionWriter extends TypeDefinitionWriter
{
    public function format(TypesCollection $collection): string
    {
        return str(parent::format($collection))
            ->replaceMatches('/(\w+)\??: ([\w\. |<>]+) \| null;/', function ($matches) {
                return \sprintf('%s?: %s', $matches[1], $matches[2]);
            })
            ->toString();
    }
}

Not abandonned, just a lot of other things I'm working on internally which makes it complicated to work on this. As for your PR, @sebastiandedeyne will take a look at what such changes would mean for our projects and if it would be useful.

Thanks for the answer @rubenvanassche!


Update breadcrumb value from component

Is it possible to update breadcrumb value from the component? For example when I go to article page, I want to show the title of the article in breadcrumb, not something general like "Article page".

If the article page is going to be the last item in the breadcrumbs, you could use the $breadcrumbs property, loop it and then append your data to the end. e.g.

        {{ crumb.handler.breadcrumb }}

        {{ article.title }}

Implemented in branch issue-1, but does not update the dom until a second navigation occurs, which obviously isn't ideal.
I've tracked it down to a single line of code in the vue-router package Object.freeze() on the Router, commenting this out allows the dom to update freely, but obviously this isn't a viable fix.
Wondering if there's another way to enable the reactive state?

@samturrell probably with $set or Vue.set - described here: https://vuejs.org/guide/reactivity.html#Change-Detection-Caveats

Ok, I see what you mean. The problem is the same if you use $set.

Some work i did on this a little while ago can be viewed here: https://github.com/samturrell/vue-breadcrumbs/blob/issue-1/src/index.js
Basically it's leveraging the internal Vue.util.defineReactive helper to listen for changes, but only changes on second page load.

Yes, I checked it out and am currently trying around with it, but also couldn't find a solution yet.

I'm thinking about setting a 'breadcrumb' property in the displayed component itself, but it seems like there is no link from the route to the actual component object.

In my branch it's available as this.$breadcrumb (https://github.com/samturrell/vue-breadcrumbs/blob/issue-1/examples/index.js)

Sure, I saw that, but you're still storing it in the route object (which is frozen) via the setter, not in the component object (which is not frozen). I'm more thinking about something like this (note the crumbs.push(...) line):
Plugin:
Object.defineProperties(Vue.prototype, {
$breadcrumbs: {
      get: function () {
        var crumbs = [];
        for (var i = 0; i < this.$route.matched.length; i++) {
          if (componentObject.breadcrumbText) {
            crumbs.push({route: this.$route.matched[i], text: componentObject.breadcrumbText});
          }
        }
        return crumbs;
      },
    },
}

In component:
export default {
  computed: {
    breadcrumb () {
      return this.foo.bar
    }
  }
}

The problem is that I can't find a way to get componentObject (this.$route.matched[i].handler.component is just the definition, not the actual object)

How about just updating the last item on the breadcrumb
var crumb = this.$breadcrumbs.length     this.$breadcrumbs[crumb - 1].handler.breadcrumb = 'Modified'

Good way to achieve that is to support some form of simple DSL inside { breadcrumb: ... } and the ability to reference things from component's scope and current route.
{ breadcrumb: [ '$scope', 'title' ]}
// or
{ breadcrumb: ($scope) => $scope.title }

This would allow to access router and other constructs as well, since router injected into component's instance as everything else.

So? Is there any solution?

Hey guys, i'll try to look into this again this weekend if i have some time. Otherwise I'm happy to accept a PR 😄

@samturrell Have you played with this?

I've been looking into this for a couple of hours now. I've managed to sync up the data in the meta with a $breadcrumb value in the components data, but not have this be reactive on the page. The issue being that the $breadcrumbs data itself is not reactive simply because it is based on the $route data, and not any one component instance.
I somehow need to trigger a recalculation of the $breadcrumbs getter when a a components $breadcrumb data is updated.

can we not just add a watch on the breadcrumb data?

@asmaps Did you find a solution to this?

@ChadTaljaardt no, but I'm also not using this package anymore. And also I'm not using breadcrumbs anymore


fix: get messages between query over message_id typo

What changed?
templateGetMessagesBetweenQuery sql had a typo field name messageid should be message_id
Why?
I'm reading sql plugin related codebase.
How did you test it?
No, It seems queue table only use for XDC feature, lack of testing.
Potential risks
No. This misstake seems to have existed for a long time. Maybe no real user use  both pg and xdc.

Pull Request Test Coverage Report for Build 018d6606-fd09-4040-a9c1-8266127f2b7e

0 of 0   changed or added relevant lines in 0 files are covered.
56 unchanged lines in 8 files lost coverage.
Overall coverage increased (+0.04%) to 62.679%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
1
88.06%

service/history/task/transfer_active_task_executor.go
2
72.22%

service/history/task/transfer_standby_task_executor.go
2
87.01%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
59.55%

common/persistence/statsComputer.go
3
94.64%

common/persistence/sql/workflowStateMaps.go
11
85.56%

service/history/execution/mutable_state_task_refresher.go
14
62.34%

common/persistence/nosql/nosqlplugin/cassandra/workflow_parsing_utils.go
20
82.02%

Totals

Change from base Build 018d6605-57cf-413d-b549-2b6dab41071d:
0.04%

Covered Lines:
92182

Relevant Lines:
147070

💛  - Coveralls


Download buttons for themes hosted on Gitlab does not point to their homepages or repo urls

Download buttons on the pages of themes hosted on Gitlab (which includes my theme) points to their themes.gohugo.io page link. Ideally this should be pointed at the homepage variable from themes.toml or to the actual repo url from themes.txt.
I did look at the respective pages on themes.gohugo.io of all themes listed in themes.txt that are hosted on Gitlab and have verified the same.

I think this was fixed by my recently.

Note that we (at least for now) have stopped using the homepage variable, as it was abused for all kinds of promotional stuff.

@bep Understandable. Thanks for fixing the issue.


Support original/outer {root,folder}-{name,path} in window.title when using dev containers

As a developer who uses dev containers for many projects and always mounts the project as /workspace in the container,
I would like a way to specifiy the name and/or path of the original project root/folder outside of the development container in my window.title.
Currently, all my windows are called <Active Editor> - workspace [Dev container: golang] - Visual Studio Code.
None of the available variables seem to relate to the path/name of the project outside the container.
Workaround
Set the window.title in each project and add the project name as a string constant

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This could be solved with an extensions. You can use the command registerWindowTitleVariable to register a title variable and create a context key that specifies the value for the variable. For this you will need to pass 2 arguments to the command, the name of the variable (will be used in window.title) and the context key name. You can then change the value of the context key which will change the value of the variable.
@joshspicer maybe the dev container extension could provide a title variable?

Have you tried the name property on your devcontainer.json?


Fix wadm manifest.

Feature or Problem
wadm manifest is incorrect
wasmcloud.dev/categories expects a string

Hey @cdmurph32 we've got some conventional commit checking so I went ahead and reformatted your commit! Should be in shortly :rocket:


Deep map_operations doesn't preserve CircuitOperation tags

Description of the issue
When calling map_operations with deep=True, tags on FrozenCircuits inside CircuitOperations are not preserved.
How to reproduce the issue

c = cirq.Circuit.from_moments(cirq.FrozenCircuit().with_tags("asdf"))
print(c[0].operations[0].circuit.tags)

mapped = cirq.map_operations(c, lambda x, idx: x, deep=True)[0].operations[0].circuit.tags
print(mapped[0].operations[0].circuit.tags)

put long logs in details blocks like this

Cirq version
'1.4.0.dev20240220200443'

I think I see the issue. In this line, https://github.com/quantumlib/Cirq/blob/main/cirq-core/cirq/transformers/transformer_primitives.py#L174, we need to add with_tags(*op.untagged.circuit.tags). Unfortunately I'm not setup to develop on Cirq at the moment...


[as2_motion_reference_handlers] Trajectory Motion handlers now include a header field but the message used does not contain any frame information. Maybe we should change our message type into one that contains a header

    Trajectory Motion handlers now include a header field but the message used does not contain any frame information. Maybe we should change our message type into one that contains a header

Originally posted by @miferco97 in https://github.com/aerostack2-developers/motion_reference_handlers/pull/4#pullrequestreview-1128594065

Done with as2 msgs trajectory point


[v2] CLID-179: Include the HyperShift KubeVirt CoreOS container

Description
This feature change includes the kubvirt coreos container in the release payload for v2 of oc-mirror.
Fixes # CLID-179
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Use the following imagesetconfig
apiVersion: mirror.openshift.io/v2alpha1
kind: ImageSetConfiguration
mirror:
  platform:
    channels:
    - name: stable-4.16
      minVersion: 4.16.0
      maxVersion: 4.16.0
    kubeVirtContainer: true

Execute the following workflows
mirrorToDisk
bin/oc-mirror --config clid-179.yaml simple.yaml file://clid-179 --v2

diskToMirror
bin/oc-mirror --config simple.yaml --from file://clid-179 docker://localhost:5000/clid-179 --v2 --dest-tls-verify=false

To verify the container image has been uploaded do the following (use the tag as indicated in the console output below Expected Outcome section)
podman pull localhost:5000/clid-179/openshift-release-dev/ocp-v4.0-art-dev:sha256-f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b --tls-verify=false
Trying to pull localhost:5000/clid-179/openshift-release-dev/ocp-v4.0-art-dev:sha256-f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b...
Getting image source signatures
Copying blob 54bb06342a98 done   |
Copying config 7441ca3aaa done   |
Writing manifest to image destination
7441ca3aaa78c311e12791177e87a1aebd91ae15b4b9454f1e15faa6e18ea860

Expected Outcome
For the mirrorToDisk workflow console output should show  (truncated output)
bin/oc-mirror --config simple.yaml file://clid-179 --v2

2024/07/30 09:21:45  [WARN]   : ⚠  --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready.
2024/07/30 09:21:45  [INFO]   : 👋 Hello, welcome to oc-mirror
2024/07/30 09:21:45  [INFO]   : ⚙  setting up the environment for you...
2024/07/30 09:21:45  [INFO]   : 🔀 workflow mode: mirrorToDisk
2024/07/30 09:21:45  [INFO]   : 🕵  going to discover the necessary images...
2024/07/30 09:21:45  [INFO]   : 🔍 collecting release images...
2024/07/30 09:22:01  [INFO]   : kubeVirtContainer set to true [ including : quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b ]
2024/07/30 09:22:01  [INFO]   : 🔍 collecting operator images...
2024/07/30 09:22:01  [INFO]   : 🔍 collecting additional images...
2024/07/30 09:22:01  [INFO]   : 🚀 Start copying the images...
2024/07/30 09:22:01  [INFO]   : images to copy 192
 ...

 ✓   191/192 : (1s) quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b
 ✓   192/192 : (1s) quay.io/openshift-release-dev/ocp-release:4.16.0-x86_64
2024/07/30 09:17:10  [INFO]   : === Results ===
2024/07/30 09:17:10  [INFO]   : ✅ 192 / 192 release images mirrored successfully
2024/07/30 09:17:10  [INFO]   : 📦 Preparing the tarball archive...
2024/07/30 09:17:11  [INFO]   : mirror time     : 51.352435144s
2024/07/30 09:17:11  [INFO]   : 👋 Goodbye, thank you for using oc-mirror

Notice at the end the image with sha256:f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b should match the console message
2024/07/30 09:22:01  [INFO]   : kubeVirtContainer set to true [ including : quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b ]

For the dikToMirror the console output should show (truncated)
2024/07/30 09:24:33  [WARN]   : ⚠  --v2 flag identified, flow redirected to the oc-mirror v2 version. This is Tech Preview, it is still under development and it is not production ready.
2024/07/30 09:24:33  [INFO]   : 👋 Hello, welcome to oc-mirror
2024/07/30 09:24:33  [INFO]   : ⚙  setting up the environment for you...
2024/07/30 09:24:33  [INFO]   : 🔀 workflow mode: diskToMirror
2024/07/30 09:25:08  [INFO]   : 🕵  going to discover the necessary images...
2024/07/30 09:25:08  [INFO]   : 🔍 collecting release images...
2024/07/30 09:25:08  [INFO]   : kubeVirtContainer set to true [ including : quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f7f96da0be48b0010bcc45caec160409cbdbc50c15e3cf5f47abfa6203498c3b ]
2024/07/30 09:25:08  [INFO]   : 🔍 collecting operator images...
2024/07/30 09:25:08  [INFO]   : 🔍 collecting additional images...
2024/07/30 09:25:08  [INFO]   : 🚀 Start copying the images...
2024/07/30 09:25:08  [INFO]   : images to copy 192

/lgtm


Allow user to clear out recently used URLs

https://github.com/mchaynes/geodatadownloader/pull/55 started saving recently used urls. Users should also be able to clear them out as well. Preferably individually if its not too hard to do with the mui library.

Hey @mchaynes, can you assign me.


GE Double Oven Sensor Unavailable.

GE Double Oven  Lower Oven Temperature Display  entity is unavailable.

Additional Question.  I installed through HACS.  I cannot find or create the Oven Control Card.  Any guidance?

Hmm, that's odd, does it show up properly in SmartHQ?  As to your second question, there's no separate control card, it pretends to be a water heater device and leverages the standard HASS functionality for those devices.  Once the entity shows, you'll have this card available.


Is there any way to get images from the excel?

I want to parser excel contain images, Which function can do this?
thks

+1

+1

We offer this in the Pro compendium.  Since companies have paid for the features already, it would be unfair to them if we turned around and made it available as open source.  We have a longer comment in a gist.


Minor Update: Remove Arrow at end of slideshow

Remove the right arrow here at the end of the slideshow- changing the component should fix on all pages, but make sure to check:

tentatively assigned to tiffany


1.8.0-rc1: There are no more loopback devices available

I tried running the docker server using the binary at https://test.docker.com/builds/Linux/x86_64/docker-1.8.0-rc1 on arch linux and got this error.
docker version: Docker version 1.8.0-rc1, build 4f1c66a
docker info: n/a
uname -a: Linux linusputinmusk 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 x86_64 GNU/Linux
Environment details: arch linux, bare metal
How reproducible: 100%
Steps to Reproduce:

Get https://test.docker.com/builds/Linux/x86_64/docker-1.8.0-rc1
Run $ sudo ./docker-1.8.0-rc1 daemon -D

Actual Results:
$ sudo ./docker-1.8.0-rc1 daemon -D
DEBU[0000] Registering POST, /containers/{name:.*}/kill
DEBU[0000] Registering POST, /containers/{name:.*}/stop
DEBU[0000] Registering POST, /exec/{name:.*}/resize
DEBU[0000] Registering POST, /containers/{name:.*}/rename
DEBU[0000] Registering POST, /images/load
DEBU[0000] Registering POST, /containers/{name:.*}/wait
DEBU[0000] Registering POST, /containers/{name:.*}/attach
DEBU[0000] Registering POST, /build
DEBU[0000] Registering POST, /images/{name:.*}/tag
DEBU[0000] Registering POST, /containers/create
DEBU[0000] Registering POST, /containers/{name:.*}/pause
DEBU[0000] Registering POST, /containers/{name:.*}/restart
DEBU[0000] Registering POST, /containers/{name:.*}/start
DEBU[0000] Registering POST, /containers/{name:.*}/copy
DEBU[0000] Registering POST, /containers/{name:.*}/exec
DEBU[0000] Registering POST, /images/create
DEBU[0000] Registering POST, /commit
DEBU[0000] Registering POST, /images/{name:.*}/push
DEBU[0000] Registering POST, /containers/{name:.*}/unpause
DEBU[0000] Registering POST, /containers/{name:.*}/resize
DEBU[0000] Registering POST, /exec/{name:.*}/start
DEBU[0000] Registering POST, /auth
DEBU[0000] Registering PUT, /containers/{name:.*}/archive
DEBU[0000] Registering DELETE, /images/{name:.*}
DEBU[0000] Registering DELETE, /containers/{name:.*}
DEBU[0000] Registering OPTIONS,
DEBU[0000] Registering HEAD, /containers/{name:.*}/archive
DEBU[0000] Registering GET, /images/get
DEBU[0000] Registering GET, /containers/ps
DEBU[0000] Registering GET, /containers/json
DEBU[0000] Registering GET, /containers/{name:.*}/logs
DEBU[0000] Registering GET, /containers/{name:.*}/stats
DEBU[0000] Registering GET, /events
DEBU[0000] Registering GET, /images/search
DEBU[0000] Registering GET, /images/{name:.*}/get
DEBU[0000] Registering GET, /images/{name:.*}/json
DEBU[0000] Registering GET, /containers/{name:.*}/archive
DEBU[0000] Registering GET, /info
DEBU[0000] Registering GET, /containers/{name:.*}/json
DEBU[0000] Registering GET, /containers/{name:.*}/top
DEBU[0000] Registering GET, /containers/{name:.*}/attach/ws
DEBU[0000] Registering GET, /containers/{name:.*}/changes
DEBU[0000] Registering GET, /version
DEBU[0000] Registering GET, /images/json
DEBU[0000] Registering GET, /images/{name:.*}/history
DEBU[0000] Registering GET, /containers/{name:.*}/export
DEBU[0000] Registering GET, /exec/{id:.*}/json
DEBU[0000] Registering GET, /_ping
DEBU[0000] devicemapper: driver version is 4.31.0
WARN[0000] Udev sync is not supported. This will lead to unexpected behavior, data loss and errors. For more information, see https://docs.docker.com/reference/commandline/cli/#daemon-storage-driver-option
DEBU[0000] Generated prefix: docker-254:0-20713261
DEBU[0000] Checking for existence of the pool 'docker-254:0-20713261-pool'
DEBU[0000] Pool doesn't exist. Creating it.
DEBU[0000] docker group found. gid: 142
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
DEBU[0000] Error retrieving the next available loopback: open /dev/loop-control: no such device
ERRO[0000] There are no more loopback devices available.
ERRO[0000] [graphdriver] prior storage driver "devicemapper" failed: loopback mounting failed
FATA[0000] Error starting daemon: error initializing graphdriver: loopback mounting failed

Expected Results: starting the daemon
Additional info:
ls -lha /dev/loop-control
crw-rw---- 1 root disk 10, 237 Aug  2 00:27 /dev/loop-control

ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1280 qdisc mq state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet x.x.x.x/x brd x.x.x.x/x scope global dynamic wlp3s0
       valid_lft 57345sec preferred_lft 57345sec
    inet6 xxxx::xxxx:xxxx:xxxx:xxxx/xx scope link
       valid_lft forever preferred_lft forever
3: enp0s25: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff

I'm pretty sure that was my fault. I suspect that I updated the kernel without restarting or something silly like that. I can't reproduce this any more.


Rdp Wrapper ver. 10.0.14393.4169 not working.

I am not able to put rdpwapper working, it says the version is not supported.

termsrv.zip

I found the answer myself


Getting nil while calling the login method.

Checklist

[ ] I've the latest update of Swiftinstagram.
[ ] I've searched for existing GitHub issues.
[ ] I've read the wiki pages.
[ ] I've read the contibution guidelines.

Expected Behavior

Should not crash at the starting only when calling the login method.

Actual Behavior

Getting crash on calling this -  api.login(from: navigationController!, success: {
// Do your stuff here ...
}, failure: { error in
print(error.localizedDescription)
})
Error - Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)

Steps to Reproduce the Problem

Just call this :- let api = Instagram.shared
// Login
api.login(from: navigationController!, success: {
// Do your stuff here ...
}, failure: { error in
print(error.localizedDescription)
})

Specifications

iOS Version: 11.3
Device(s): iPhone6+

Hi @ambujshukla-cdn, did you follow all the previous steps https://github.com/AnderGoig/SwiftInstagram/wiki/Authentication#swiftinstagram-authentication?

@ambujshukla-cdn embed your controller to navigation controller.


MPI+OpenMP with MPI_THREAD_MULTIPLE?

From quickly reading through the code, I see that only one thread is calling into the MPI library. This would be the MPI_THREAD_FUNNELED mode.
Is it possible (or would it even make sense) to partition the work on each node such that each thread is also involved in communication, that is, multiple threads call MPI_Isend and MPI_Irecv following the MPI_THREAD_MULTIPLE mode?

Yes, at present MPI calls are issued from a single thread. In the current vertex-based distribution, each process owns a portion of vertices (and all the edges connected to it, a.k.a ghost vertices, much like halos in stencil); every process then performs some local computation (using multiple threads), and exchanges updates. In the exchange update stage, in some places a process has to send/recv data to/from p processes (see line 569 of dspl.hpp), and I guess thread_multiple could be used there in a straightforward fashion. So, I think we don't need to necessarily repartition to use thread_multiple. Does this make sense, I have little experience with thread_multiple, so feel free to criticize. - Sayan

Yes, that makes sense. The idea would be to divide up sending/receiving to/from p processes between the threads in the process.
From my understanding of the code, each rank sends and receives from all other ranks (https://github.com/Exa-Graph/miniVite/blob/master/dspl.hpp#L602). However, rank i sends and receives non-zero-bytes only to and from rank i-1 and rank i+1; it sends and receives zero bytes from all the other ranks. Is this exchange of zero bytes with other ranks necessary?

"it sends and receives zero bytes from all the other ranks. Is this exchange of zero bytes with other ranks necessary?" >> that doesn't sound right. A rank can exchange with p-1 ranks, basically exchanging data with ghost vertex owners, who're spread over {0,p-1}. Lets continue this discussion over email if that's ok (zsayanz at gmail).


[RESTEASY-1934] file changes for branch 3.6

PR has been revised as requested.

@rsearls the PR here is definitely including changes it shouldn't after you revisited it (32573 lines erased...), it's including RESTEASY-1941 commits which are unrelated.
As a consequence, I'm closing this. Please create a new and clean PR with the fix, thanks.

Replaced by #1647


The feature name refer "CloudKnox" instead of "Microsoft Entra Permissions Management"

[Enter feedback here]
The refer picture need to be changed as document name has changed to "Microsoft Entra Permissions Management"

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

ID: f02527a7-8532-40eb-9a69-7d1c9adf6890
Version Independent ID: 91031691-1813-7e3b-d4a4-0f52f9d99525
Content: What's Permissions Management? - Microsoft Entra
Content Source: articles/active-directory/cloud-infrastructure-entitlement-management/overview.md
Service: active-directory
Sub-service: ciem
GitHub Login: @kenwith
Microsoft Alias: kenwith

@TonySh127-ms Thanks for your feedback. We will investigate and update the thread.

This was updated a while back and I forgot to close this one. Thanks for catch and taking the time to open an issue and make the docs  better. I appreciate it! #please-close


Adopt standard graal test runtime

Remove the native image test module and run the tests in place.
See https://medium.com/graalvm/gradle-and-maven-plugins-for-native-image-with-initial-junit-testing-support-dde00a8caf0b
https://github.com/graalvm/native-build-tools/blob/master/native-gradle-plugin/README.md

Same site, just a more specific link https://github.com/graalvm/native-build-tools/blob/master/common/junit-platform-native/README.md

Closing as low priority


Update Shopify to hard

Update Shopify from impossible to hard, with new url and notes

Thanks for your contribution!


Refine release steps

What can be improved
/release vX.Y.Z triggers:

changelog generation which is added to release notes

Then /shipit comment

makes release commit

locks documentation for released version

new iteration commit
rebases release PR on master
closes corresponding milestone

Why
The current flow makes it harder to incorporate changes after the changelog is generated.
/release vX.Y.Z trigger:

changelog generation which is added to release notes
makes release commit

locks documentation for released version

new iteration commit

Then /shipit comment

rebases release PR on master

@aslakknutsen do we want to validate if the milestone we are about to close has open issues and in such a case fails the process?

@aslakknutsen do we want to validate if the milestone we are about to close has open issues and in such a case fails the process?

@aslakknutsen another thing is maybe we want to rename the commands to reflect better what is happening?

from /release vX.Y.Z -> /changelog vX.Y.Z

from /shipit -> /release

@aslakknutsen another thing is maybe we want to rename the commands to reflect better what is happening?

from /release vX.Y.Z -> /changelog vX.Y.Z

from /shipit -> /release

[ ] gh-action code adjustements
[ ] docs update (describing the process)

[ ] gh-action code adjustements
[ ] docs update (describing the process)


Update Main.java

Setup look and feel on main of the application. This way set any swing UI to GTK+.

Hi, have you tried your change?
And it would be better to have the deletion in the same PR as the addition because this belongs together.

Yes, I will send another pull with corrections working.


Recovery from seed not working

Moving the seed of any existing node with balance and channels to a different machine does not restore the channels, or the balance
Steps to reproduce:

Initialize a phoenixd node on server1, and back up the seed word from ~/.phoenix/seed.dat
Fund the node with enough sats to open a channel.  getbalance and listchannels must return non-zero/null results
Shut down phoenixd node on server1
On server2, create ~/.phoenix/seed.dat . Populate it with the seed words from step 1: word1 word2 wordN
Start phoenixd node on server2 --> The original NodeId is restored so the seed is picked up correctly, but the  balance is empty, and node has no channels.

./phoenix-cli getbalance
{
    "balanceSat": 0,
    "feeCreditSat": 0
}

./phoenix-cli listchannels
[
]

EDIT: Version 0.2.0-6eb0940

Cannot reproduce with a simpler variant where I just manually delete db files from ~/.phoenix and restart.
You're stopping server1 before starting server2 right? Please send server2's logs to<EMAIL_ADDRESS>for investigation.

Logs sent!
Yes, server1 is stopped for sure.
In fact, originally I ran into this problem when trying to update a docker container to the latest 0.2.0 , and orig container was stopped& then restarted.

Resolved. Looks like a bad user backup

Reopening this issue, having analyzed this further.

the seed.dat file does not only consider the twelve BIP-39 seed words, but produces different nodeId is there are additional characters in there. That's a bug; it should validate the content of seed.datfor valid BIP-39 seed word, and fail otherwise. Instead, I can put in everything I want into this file.

The content of seed.dat that phoenixd intially creates seems to contains some weird extra character at the end. And thus when you try to restore a node by create an empty seed.dat  file and typing in the backed up twelve words, you get a different nodeId. But it works if you restore from a physical copy of the original seed.dat file

Here's what I've done:

Initialize a fresh phoenixd, and generate a new seed. Take note of the nodeId.
Open ~/.phoenix/seed.dat in an editor. Ctrl+A, Ctrl+C to copy the content of seed.dat to clipboard
Shutdown phoenixd, and clear seed & db files:  rm -f ~/.phoenix/*
Create an new empty seed.dat , and paste the content from clipboard: nano ~/.phoenix/seed.dat (then paste content and save)
Start phoenixd --> it will recover a different nodeId!!

Steps
./phoenixd --agree-to-terms-of-service
Generating new seed...done
Generating default api password...done
Generating webhook secret...done
2024-07-14 21:50:50 datadir: /home/myuser/.phoenix
2024-07-14 21:50:50 chain: Mainnet
2024-07-14 21:50:50 autoLiquidity: 2000000 sat
2024-07-14 21:50:50 nodeid: 0246c3...
2024-07-14 21:50:50 offer: lno1zrxq8...
2024-07-14 21:50:50 connecting to lightning peer...
2024-07-14 21:50:50 connected to lightning peer
2024-07-14 21:50:50 listening on http://<IP_ADDRESS>:9740

#now copy the seed

^C2024-07-14 21:51:14 shutting down...
^C^C2024-07-14 21:51:15 http server stopped

 ~/Downloads/test  rm -f ~/.phoenix/*                                                                                sh: sure you want to delete all 6 files in /home/myuser/.phoenix [yn]? y
 ~/Downloads/test  nano  ~/.phoenix/seed.dat
# paste the seed and save file

~/Downloads/test  ./phoenixd --agree-to-terms-of-service
Generating default api password...done
Generating webhook secret...done
2024-07-14 21:51:57 datadir: /home/myuser/.phoenix
2024-07-14 21:51:57 chain: Mainnet
2024-07-14 21:51:57 autoLiquidity: 2000000 sat
2024-07-14 21:51:57 nodeid: 02d1f1....
2024-07-14 21:51:57 offer: lno1zrxq...
2024-07-14 21:51:57 connecting to lightning peer...
2024-07-14 21:51:57 connected to lightning peer
2024-07-14 21:51:57 listening on http://<IP_ADDRESS>:9740

Test seed.dat with some garbage
phoenixd still starts . This should fail, or at least issue a warning.
~/Downloads/test  cat ~/.phoenix/seed.dat
I AM NOT A BIP-39 SEED!!!

~/Downloads/test  ./phoenixd --agree-to-terms-of-service                                                                                2024-07-14 22:04:47 datadir: /home/myuser/.phoenix
2024-07-14 22:04:47 chain: Mainnet
2024-07-14 22:04:47 autoLiquidity: 2000000 sat
2024-07-14 22:04:47 nodeid: 021ab2a6128c4c0a6e8677476d62e6880f02834ede7bb4b34f6410da76017b6d99
2024-07-14 22:04:47 offer: lno1zrxq8pjw7qjlm68mtp7e3yvxee4y5xrgjhhyf2fxhlphpckrvevh50u0q0jnfev43d0fenlvq2g7fhsrr47ztz2hvw8q5f5eeddf7nn3g9krcqsza2wqzvyefkl65qhwlnydd5pm0yzgpnzt7742htfyl3vkpu352rgqqvagn2xc7dr9rh8ckyhnx7atgpt5f6ztspa0rty7uu07n2a49la775xds5swt25tzn336dnuqufu0xyalav7qw88x6vslq0s8c9va3g35dxk2qw8y83wk9wlcnw28mefkt4v0fy7wqqs4y2d836j3r3yc5ymy8s6m7lmpu
2024-07-14 22:04:47 connecting to lightning peer...
2024-07-14 22:04:47 connected to lightning peer
2024-07-14 22:04:47 listening on http://<IP_ADDRESS>:9740

I couldn't tell for sure if it adds anything, but the original seed.dat file phoenixd definitely produces derives a nodeId than when I create an empty  seed.dat file myself and type in the twelve words (which is what you'd expect from a user trying to restore his wallet).
Try to do a cat ~/.phoenix/seed.dat on a phoenixd-generated file, and it'll show a '%'  at the end.
I dont know what that is, but I suspect that this the reason it restores to a different nodeId.
Jul 15, 2024, 10:21 by @.***:

Thanks for the detailed report!
Point 1. is addressed in > #73 https://github.com/ACINQ/phoenixd/pull/73> .
I wasn't able to reproduce 2. though. Phoenixd doesn't add any special characters, line breaks or anything. Just 12 words, space-separated.
—
Reply to this email directly, > view it on GitHub https://github.com/ACINQ/phoenixd/issues/65#issuecomment-2227943545> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AV773HCOLIIM3EUSGXHNXE3ZMOA75AVCNFSM6AAAAABKS3SOMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXHE2DGNJUGU> .
You are receiving this because you modified the open/close state.> Message ID: > @.***>

This is because zsh automatically adds a newline character if there is none (https://unix.stackexchange.com/questions/167582/why-zsh-ends-a-line-with-a-highlighted-percent-symbol).

Even when I cat the content from seed.dat into an env var, and then echo it back into seed.dat , this results into a different nodeId. Although it must be a 1:1 copy of the content.

This should all be fixed in #73. Are you able to build yourself to verify? Otherwise I can attach a binary

This should all be fixed in #73. Are you able to build yourself to verify? Otherwise I can attach a binary

I can build it myself.
But first, will also test if I can/can't reproduce this on Ubuntu/bash.

@pm47 Could you attach a binary after all? somethings wrong my local build env, and I don't have the nerve to troubleshoot it now..

For macos right?

No, x86_64 linux
But I got something to work in a Docker container in the meantime and built off e480167ebd060e961754c212fdfebb3550176c5d
When I edit the seed.dat file (after it got created by the intial start of phoenixd) , it always complains that the last word is not a valid mnemonic word:
5362d6f44847:~/bin$ vi /phoenix/.phoenix/seed.dat
5362d6f44847:~/bin$ ./phoenixd --agree-to-terms-of-service
Usage: phoenixd [<options>]

Error: invalid mnemonic word daughter

What's the output of hexdump -C .phoenix/seed.dat ?

Wait you are missing two commits , you need 194cb2b

Wait you are missing two commits , you need 194cb2b

Yeah that was it.. copied the wrong commit hash.
Now everything is working. I was even able to restore my original node with the funds :partying_face:


⚠ Bofrost.at has degraded performance

In fb1547c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1588 ms

Resolved: Bofrost.at performance has improved in 6d2a921 after 6 minutes.


Import/Export app settings

It would be great to be able to export/import multiple settings as:
-Filter profiles
-Favorite list
-Settings
-Chargeprice Settings
Sincerely Eric

Hi! I agree that's a good idea. In principle, most of the settings should probably already be saved through Android's backup mechanism, but that works only on devices that have implemented it (i.e. mainly those with Google services) and sometimes you want to transfer settings manually. Probably the settings could be stored relatively easily as a JSON file.
Would you like to work on this?

@florian-sabonchi hey, do you still plan on working on this? I unassigned you as I haven't heard anything back from you.


Rename procs and all other namings of it to steps

ref https://github.com/woodpecker-ci/woodpecker/issues/745

Hi @anbraten, @6543
I wanna work on this
can u plz give me more insight into what are all changes required to do in this issue?
and how will I verify the changes I'll make are not breaking?

You could just start with renaming variables and code comments in code, that way nothing break and we have that already corrected ...
... rename structFields and tables are a more intemce thing ...

ok, thanks @6543
I have started working on this
I'll raise a PR for review

is mostly done so closing this


dApp's methods calls

This PR proposes the methods_calls() utility functions to facilitate dApps' methods calls dispatching, in compliance with the ARC-4. The utility function ensures some preconditions are also met by the invoking Application Call transactions.
Given the methods' dictionary:
methods = {
    'methodA': method_a(),
    'methodB': method_b(),
    'methodC': method_c(),
}

methods_calls(methods: dict) utility function could be invoked as:
Cond(
    ...
    [Txn.on_completion() == OnComplete.NoOp, methods_calls(methods)],
    ...
)

Producing the following TEAL (v3) methods' dispatching logic:
#pragma version 3
txn OnCompletion
int NoOp
==
bnz l2
err
l2:
txn TypeEnum
int appl
==
txn RekeyTo
global ZeroAddress
==
&&
txn NumAppArgs
int 1
>=
&&
assert
txna ApplicationArgs 0
byte "methodA"
==
bnz l8
txna ApplicationArgs 0
byte "methodB"
==
bnz l7
txna ApplicationArgs 0
byte "methodC"
==
bnz l6
err
l6:
int 1
return
l7:
int 1
return
l8:
int 1
return
int 1
return

Would you consider a dict rather than 2 separate lists?

Would you consider a dict rather than 2 separate lists?

Yes, it's better. I was thinking that too, right after the PR submission.

@barnjamin done! Feel free to take a look on it.

maybe omit the rekey check? if this is meant to be generic it should be handled elsewhere.
Also to "genericize" it more, maybe also pass in a reference to the transaction.  In this case its relying on the first transaction in a group to be the app call but if you pass in the transaction it should be possible to have the app call be anywhere in the group

maybe omit the rekey check? if this is meant to be generic it should be handled elsewhere.

Agree.

Also to "genericize" it more, maybe also pass in a reference to the transaction. In this case its relying on the first transaction in a group to be the app call but if you pass in the transaction it should be possible to have the app call be anywhere in the group

On this point I think we should refer to ARC-4 specifications about group transactions. I think has not been still defined if an ARC-4 dApp should requests for methods' to be invoked as first transaction in the group or not. But in general I'm fine with making this methods_calls() a "general" utility and pushing this checks elsewhere.

@cusma what do you think about formalizing this a little more and calling it a Router?
The author would define the logic for each OnComplete handler and then register a function for each NoOp "method" where the method is a string in the first AppArg that maps to some set of logic or follows the ABI convention for method calling.
Kind of like a standard web service route handler

I think it would be better to change the function spec to def methods_calls(methods, call_txn: TxnObject) to allow passing Txn, which even could be the default (I don't see a point in accessing other Gtxns in most use cases)

Closing this given all the evolutions of the ARC-4/ABI since this PR.


Critical error... "icuuc52.dll" does not exist.

When I try running the code I always stumble accros "Critical error during loading process. Required library "icuuc52.dll" does not exist."
I´ve already tried to repair/reinstall the game, put the dll in Starcraft´s Support and Support 64 folder, add the dll to the computer path, but nothing seems to work.
I hope somebody knows the answer.

If anyone has the same problem and is using PyCharm 2019.01 downgrading to PyCharm 2018.03 will help

Not using PyCharm 2019.1 did it for me Thanks M8 <3

I also ran into this issue, but with a JavaScript client, not Python.
For anyone else running into this issue, I found that the solution was that I did not have the Battle.net launcher open.
Once I had it open (and authenticated), then I was able to boot SC2 just fine from my code.


OOM Error when deploying BLOOM-3B on 16GB GPU via MII

When deploying the bigscience/bloom-3b (in fp32) via MII on a T4 GPU I receive a CUDA out of memory error, see this notebook. When deploying the same model (also in fp32) via the standard HF Pipeline API, it works, see this notebook.
My expectation would be that it should be possible to deploy the same model via MII if I can deploy it via HF Pipelines. If this is not possible then it'd be good to explain why and set expectations with users.

1 T4, GPU memory 16GB
deepspeed-mii version 0.0.3
transformers version 4.24.0
Amazon Linux 2

I'm having the same issue. would like to know the answer too

I can confirm that I'm able to reproduce this on an A6000 as well. With MII: VRAM usage is ~18GB, with tranformers.pipeline: VRAM usage is ~12GB.
The difference is unexpectedly large, and we are investigating the cause. I'll also note that this is not the case for all models. I just tested a few and many have the same memory usage.

@marshmellow77 it appears that the OOM you are seeing when using MII is due to the need for extra VRAM when injecting kernels with DeepSpeed-Inference. This can be avoided by loading the model onto system memory rather than GPU memory before using DeepSpeed-Inference. #105 adds the option to allow users to do this if you could give it a try and let me know the results:
Install this version of MII
pip install git+https://github.com/microsoft/deepspeed-mii@mrwyattii/address-poor-vram-usage
and add the following to your mii_configs: "load_with_sys_mem": True

I can confirm that the mdeol now load into GPU. I can't test the text generation because of https://github.com/microsoft/DeepSpeed-MII/issues/102, but I believe this issue can be closed.

@mrwyattii Can we not release the extra gpu memory used when load_with_sys_mem is False?

@mrwyattii Can we not later release the extra gpu memory used when load_with_sys_mem is False? For smaller models that would at least allow more free memory.

DeepSpeed-inference will release the extra memory after kernel injection happens


Added Hydepark to the list

Hydepark is a discussion forum application for Gemini

is there one running in the wild?

@pitr there's one instance running (temporarily) on my Raspberry PI: gemini://bestiya.duckdns.org

@spektom Thanks ☀


Noctis frame data has a few fields missing

I noticed a few inconsistencies with the Noctis frame data in t7/t7-noctis-1.json:

d/f+4, 2 has a null 'on ch' field and no notes field
WS+1 is missing on_block, on_hit, on_ch, and notes fields and the 'speed' field is likely the 'on_block' data
WS+3,2 is missing on_block, on_hit, on_ch, and notes fields and the 'speed' field includes the words throw (I don't think this is a throw)

Also a small one: d/f+1, 4 says "Tail Spion" in the notes instead of "Tail Spin"

Hi!
I've corrected 1 by downloading the latest frame data. You can see someone reported that:
http://rbnorway.org/noctis-t7-frames/#comment-12613
Unfortunately the other issues are with the source data at rbnorway.
I will raise it with Madcow he should fix it promptly.
Thanks for reporting!


Update readme.md[STYLE CHANGE]

Description:
Hello,
I want to add some more API boxes that will fetch & show the data of this repo
Reason for Change:
Actually many of the repo viewers watch & are attracted to the tabs of API

open issues
Closed issues
Open PR
Merged PR
Contributors
Visitors
Current Styling:

[Describe the current styling that needs to be changed.]
Proposed Styling:
[Describe the desired styling or changes you would like to see.]
Screenshots or Design Mockups (optional):
[If available, include relevant screenshots or design mockups illustrating the requested style changes.]
Before:

After:

Additional Information (optional):
[Provide any additional information that may help in understanding or implementing the style change. This can include any specific requirements or constraints.]

Priority Level (optional):

[x] Low
[ ] Medium
[ ] High

Timeline (optional):
[Specify any preferred or required timeline for implementing the style change.]
Possible Implementation Approach (optional):
[If you have any suggestions or ideas on how the style change could be implemented, feel free to provide them here.]

@akshitagupta15june Please assign me this issue under OSEN
So that I can work on this issue

@akshitagupta15june Please assign this issue to me under JWoC 2024


Carousel images

Hi,
how you handle carousel images? I see that plugin downloading all images, but how i find their relations? Maybe array of images for every post would do better job.

I found in source code. That carousel images have same media ID. Maybe you should add this information to readme.


pythonPackages.ansible2: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Bump version to latest upstream release.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[x] OS X
[x] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!


Fix cluster list filter

What this PR does / why we need it:
Filter cluster instances list to display only instances of hub and current cluster.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #195
Special notes for your reviewer:
PR from my repo to avoid a force push @simonswine
Rebased onto #205
Release note:

NONE

/assign @simonswine

I've checked that this works on an environment with multiple clusters.
I 'inited' a new cluster in the environment and showed me the bastion and vault instances - not all the instances in that env like my master build does.
tarmak|./tarmak-master -c my-tarmak-config/ --current-cluster env-cluster clusters instances list
ID                      HOSTNAME        ROLES
i-xxxxxxxxx5235a354     xx.xx.xx.213    master
i-xxxxxxxxx72391b12     xx.xx.xx.176    etcd-1
i-xxxxxxxxxf32c4ab7     xx.xx.xx.10     vault-3
i-xxxxxxxxx40bfc089     xx.xx.xx.46     etcd-3
i-xxxxxxxxx11173ff5     xx.xx.xx.10     vault-1
i-xxxxxxxxxb38136d6     xx.xx.xx.187    worker
i-xxxxxxxxxac73510e     xx.xx.xx.38     master
i-xxxxxxxxx357d3eaa     xx.xx.xx.78     bastion
i-xxxxxxxxx03c23f45     xx.xx.xx.225    etcd-2
i-xxxxxxxxx6f2154c7     xx.xx.xx.10     vault-2
i-xxxxxxxxx4446709e     xx.xx.xx.79     worker
i-xxxxxxxxxbc70ba96     xx.xx.xx.44     worker
tarmak|./tarmak-clusters-list -c my-tarmak-config/ --current-cluster env-cluster clusters instances list
ID                      HOSTNAME        ROLES
i-xxxxxxxxxf32c4ab7     xx.xx.xx.10     vault-3
i-xxxxxxxxx11173ff5     xx.xx.xx.10     vault-1
i-xxxxxxxxx357d3eaa     xx.xx.xx.78     bastion
i-xxxxxxxxx6f2154c7     xx.xx.xx.10     vault-2

/lgtm

/approve


Dev Test: Desktop App

The PhET Desktop App is available for testing. It is available here:

MacOS
Windows

The desktop app requires a Java JDK to be installed (found here). From this page install, the latest version (Java SE Development Kit 15.0.1) of the Java JDK for your tested platform as described below:

Windows: Windows x64 Installer
MacOS: macOS Installer

General
QA, please do a dev-test of the app. Please complete a general test to make sure that all sims are launching, resources are in the correct locale, and that all other functions of the app are working properly (menu items, shortcuts, filters, launching the app, installation, etc). Issues can be created in the Weddell repo.
Locale Specific
This version of the app has been built for multi-locales. These locales can be changed via the drop-down menus near the toolbar at the top of the app's window. The expected behavior for selecting locales is as follows:

Click a locale from the drop-down menu
App should refresh and the homepage should be translated.
Sims should open in the specified locale

Additionally, the app should open in the locale chosen before it was closed. For example, select "Spanish" then close the app. The next time the app is opened, it should be in "Spanish". Other functionality should remain the same.
Please reach out if I can be of any assistance. Assigning to @oliver-phet or @ariel-phet for any added input.

Just as a heads-up: looks as if the installer links are switched: if I press "Windows" the .dmg is downloaded and if I press "MacOS" the .exe file is downloaded

Fixed it.

Nothing to add, it will be good to get a solid shake down!

@Denz1994 Collision Lab (Flash) is giving me this dialog:

I don't think this is an issue with the app, but I'm not entirely sure why it is notifying the user of a new version (we've only published a prototype). Note, I don't get a similar dialog for Density (which also has an HTML5 prototype).
Everything else (switching locales, etc.) works seamlessly.

QA is done.

Closing due to opening new dev issue.


Update homebrew formula to latest version

No installation changes. Just version in the url and the sha256

This seems to be fixed. See https://github.com/Homebrew/homebrew-core/blob/master/Formula/elixirscript.rb

It is! Thanks!


ISPN-14868 HotRod client Connection pool removal

This is a rough draft. Tests will not pass. Basic operations will work. Listeners should but have not been tested. Failover and retry should also work. Streaming API has been disabled, needs to be decided.
I have even more changes that cut even deeper, but that is a separate PR when I get back. (Redoing the entire ChannelFactory and header params and having more efficient unmarshalling of response values just to name a few).
This PR is more here so we can test along with what the new client will perform more similar to.

This will be replaced later.


Added frogcat.txt to radio

Not sure if you want to add frogcat to radio, so I made a PR for you to choose.

Thanks Acto. If you find a missing href on any page, please feel free to add it.


Bag AdvancedWebView + admob InterstitialAd

Hello
When I use AdvancedWebView then not work links on Full Screen Ad
InterstitialAd showed but links not work
show InterstitialAd  from another activity - still does not work
Help please

Is your version of this library up-to-date?
Can you verify this on a real device, as opposed to an emulator?
Is Android System WebView up-to-date on your device?

Apart from that, can you explain the problems in detail or show some screenshots? Perhaps https://github.com/delight-im/Android-AdvancedWebView/issues/122 is related to your problem as well.

1 - yes test  library up-to-date
2 - yes test on real device
3 - no update
Decision. I am not called advancedWebView.onPause() and it work
Big thanks

Thanks, happy to hear that you were able to resolve this!


Issue with Google/Cache/File.php: fread(): Length parameter must be greater than 0

We noticed one of our systems had stopped sending data to big query, not sure for how long. When debugging we got the following error:
fread(): Length parameter must be greater than 0
We were able to fix this by deleting the cache file from the /tmp dir on our system. However it is a bit concerning that this happened in the first place.
Is there any knowledge of this bug, or how it can be avoided?

Not sure why that error isn't caught and handled gracefully.

Haven't seen it, but it sounds like a corrupted cache file of some kind. Would you be able to put together a minimal sample that reproduces the issue?

Came across the same problem.
Deleting the cache files in the tmp dir solved the problem but this might happen again.

Sorry, not exactly sure how to reproduce the problem.


promote_type when multiplying BlockDiagonal with vectors and matrices

Closes #92, closes #90
Should remove the need for #89.
@fchorney does it work for your use case?

@fchorney could you review this please?


Add support for Haskell IDE Engine (aka hie)

Haskell IDE Engine is a server implementing Language Server Protocol.
It encapsulates most of the linters currently supported by ALE in a unified interface simplifying use and providing somewhat better management of system resources.

+1, since ghc-mod is not maintained anymore, HIE is really important.

I'm also eagerly waiting for this.

Go ahead and create a pull request for it if you know how to start the server. Have a look at existing linters in the ale_linters directory and :help ale#linter#Define() for a description of how that works.

Thanks for the tips. I'll look into it and give it a shot.

@alex404
I'm working on that right now, here is the branch:
https://github.com/Luxed/ale/tree/hie
I don't think it's ready to be a PR yet, but it works pretty much as intended.
Simply enable the hie linter for haskell and you're good to go !
( I basically ripped off the Rust rls code to use for the HIE one)
I'll make a PR later today.

Sounds good to me. :+1:

@alex404 @Saul-Mirone , PR has been merged ! Please go ahead and test it to see if it is working correctly.
It worked for me, but I'm a begginer so I don't work on any real codebase, just a simple stack project.
Everything should work as intended as long as you have hie in your path. Then it searches for the stack file, the cabal file and it will use the current directory as a default to work on "plain GHC projects".

Seems to work well so far! Thanks for your hard work! I'll report if any problems come up.


sxhkd-git: init at revision from 2016-08-29

Motivation for this change
Added git version of sxhkd, the simple hotkey daemon for X.
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Please note that the package should be include unstable rather than git in the name according to our package naming policy at https://nixos.org/nixpkgs/manual/#sec-package-naming.

If a package is not a release but a commit from a repository, then the version part of the name must be the date of that (fetched) commit. The date must be in "YYYY-MM-DD" format. Also append "unstable" to the name - e.g., "pkgname-unstable-2014-09-23".

Changed to -unstable everywhere. Not sure how to inherit (src.meta) homepage;

Just put it inside the meta set e.g.:
meta = with stdenv.lib; {
  description = "Simple X hotkey daemon (git version)";
  inherit (src.meta) homepage;
  license = licenses.bsd2;
  platforms = platforms.linux;
};

The rest looks good as far as I can tell :wink:

Is there a reason not to use a released version? https://github.com/baskerville/sxhkd/releases

@primeos Amended as per your recommendation, thanks.
@Mic92 A few fixes have gone in since March. I am sure that I'm not the only one who would want them.

Thanks!


Message power levels

Ideally messages would have a power level too, showing who can read it. Setting the power level above zero means communicating with the admins only - and admins themselves (including abuse bots) can set power levels higher to remove material from public view.
Some possible use cases:

Inter-admin discussions (including or excluding mods and whatever other levels there might be);
Removing abusive messages without destroying the trail - so auditing remains possible.
Sending "private" messages to all admins at once - better than having to choose one single admin to DM;
Having "advanced" material only readable for members who have reached that state (reflected in a slightly raised power level).

This doesn't seem realistically possible, especially changing the "power level" after sending. The only secure way to implement it without significantly changing federation would be to encrypt the messages, but that could be problematic in big rooms, and obviously won't let you hide messages after they're sent.

Removing abusive messages without destroying the trail - so auditing remains possible.

This should probably be solved by adding a way for room admins to get redacted event content from the server.

Duplicate of https://github.com/matrix-org/matrix-doc/issues/482

This is actually one aspect of a much more comprehensive earlier proposal.


security bug Reported

hey developers~
I'm math1as from l-team
and i'd like to report a serious bug for u
the "Create Data Source" module has some problems
so that an attacker could easily get webshell from back-end and execute any codes
this module will write contents into a new .php file for a new data source
and in the class , $dsParamINCLUDEDELEMENTS get values from the fields_xml_element
as it does not has checked by your system (other paramters addslashes)
for more information
i have already send a email to<EMAIL_ADDRESS>thanks a lot

Please, in the future, ONLY contact us by email for those matters. We do appreciate your work, but this is sensible and should be dealt with in private.

@math1as See https://github.com/symphonycms/symphony-2/wiki/Security-Bug-Disclosure

@math1as See e30a18f8

@nitriques
this vulunerability is fixed and has been received by cve
CVE-ID:CVE-2017-7694

@math1as Thanks!


Fast forward tables

Does the pokerbot work on fastforward cash tables? :)

sure, but you need to use the https://github.com/dickreuter/Poker project for that.


[BCI-3862][chainlink-common] - Change DSL Block primitive to string instead of int

Task Description:
Change ChainReader block DSL uint64 type to string and update EVM implementation to reflect changes
This PR:
Changed the block proto field and fixed all the reference failures within chainlink-common
Ticket:

BCI-3862

Unblocks:

https://github.com/smartcontractkit/chainlink/pull/14033

"update EVM implementation to reflect changes" means updating this file? I don't see we are directly referencing the changed field

reopened here with signed commits https://github.com/smartcontractkit/chainlink-common/pull/688


Smart on FHIR

Is there smart on fhir component integrated into spark?

Currently no, the issue is being tracked here: https://github.com/FirelyTeam/spark/issues/383


Resetting causing TabNavigator tabs to unmount

My app returns a StackNavigator, with the first screen being a TabNavigator. If I reset my application to the TabNavigator, all of the individual tabs within it call componentWillUnmount after it's reset.
This means any setStates are not triggered and the views are not being updated.
Also the first tab is getting componentDidMount called, however the other tabs do not have this called. This issue is basically making it impossible to update my tab items using state.

Did you solve this problem?

I'm going to close this because it hasn't been updated in a while. If the issue still exists in the latest version please re-open (or ping me to). Thanks!


User defined labels in scan configuration which are available in report

Situation
At he moment the only information which is contained in the report is the job uuid. The job uuid is unique, but generated by SecHub and very generic.
Wanted
As I user, I want to be able to add additional information to the scan configuration which end up in the report as key value pairs.
Take for example this configuration:
{
  "apiVersion" : "1.0",
  "data" : {
    "binaries" : [ {
      "name" : "myproject",
      "fileSystem" : {
        "folders" : [ "myproject/code" ]
      }
    } ]
  },
  "codeScan" : {
    "use" : ["myproject"]
  }
}

The report will get the a job UUID and that will be in the report as well. For example: 60658942-bda8-11ed-9405-23831bdc0234.
{
   "result": {
      "count": 15,
      "findings": [
         {
            "id": 1,
            "description": "Unexpected property leak",
            "name": "Unexpected property leak.",
            "severity": "MEDIUM",
            "code": {
               "location": "com/myproject/code/controller/AuthorController.kt",
               "line": 23,
               "column": 0
            },
            "type": "codeScan"
         },
         …
         {
            "id": 15,
            "description": "MD2, MD4 and MD5 are weak hash functions",
            "name": "MD2, MD4 and MD5 are weak hash functions.",
            "severity": "MEDIUM",
            "code": {
               "location": "com/myproject/code/controller/UserController.kt",
               "line": 61,
               "column": 0
            },
            "type": "codeScan"
         }
      ]
   },
   "reportVersion": "1.0",
   "messages": [],
   "trafficLight": "YELLOW",
   "jobUUID": "60658942-bda8-11ed-9405-23831bdc0234",
   "status": "SUCCESS"
}

Now let's assume the users want to provide additional information (context) for the scan. To add them the users add labels:
{
  "apiVersion" : "1.0",
  "metaData": {
     "labels": {
        "stage": "testing",
        "purpose": "quality assurance"
    }
  },
  "data" : {
    "binaries" : [ {
      "name" : "myproject",
      "fileSystem" : {
        "folders" : [ "myproject/code" ]
      }
    } ]
  },
  "codeScan" : {
    "use" : ["myproject"]
  }
}

The labels will be in the report:
{
   "result": {
      "count": 15,
      "findings": [
         {
            "id": 1,
            "description": "Unexpected property leak",
            "name": "Unexpected property leak.",
            "severity": "MEDIUM",
            "code": {
               "location": "com/myproject/code/controller/AuthorController.kt",
               "line": 23,
               "column": 0
            },
            "type": "codeScan"
         },
         …
         {
            "id": 15,
            "description": "MD2, MD4 and MD5 are weak hash functions",
            "name": "MD2, MD4 and MD5 are weak hash functions.",
            "severity": "MEDIUM",
            "code": {
               "location": "com/myproject/code/controller/UserController.kt",
               "line": 61,
               "column": 0
            },
            "type": "codeScan"
         }
      ]
   },
   "reportVersion": "1.0",
   "messages": [],
  "metaData": {
     "labels": {
        "stage": "testing",
        "purpose": "quality assurance"
    }
  }
   "trafficLight": "YELLOW",
   "jobUUID": "60658942-bda8-11ed-9405-23831bdc0234",
   "status": "SUCCESS"
}

Now it is clear for the user, this report was created on the testing stage for quality assurance purposes. This is how adding labels can help the users to identify reports easier with context information which matter to them.

For security reasons we will implement some constraints here:

keys:

max length: 20 characters
allowed chars: "a-ZA-Z-_"

values:

max length: 100 characters
allowed chars: "a-ZA-Z-_ !?"

A SecHub configuration which does not comply with this constraints will be rejected by server.

Here an example output in HTML report with 3 defined labels ("Info statement", "Timestamp" and "Typ")

With last commit the report UI has changed a little bit:


filter out articles with strange characters in the title for danish

e.g. for danish:
| 2515497 | Politi fÃ¥r kritik for at undersÃ¸ge cyklist 'i bund' – men anholdelse var o.k.
| 2514845 | 17-Ã¥rig idÃ¸mt fÃ¦ngsel – kÃ¸bte pistol af politiagent                                                                                |

This is so silly!
We would have to run the SQL update, and also add a little hook - every time we detect these characters in the string either

drop the article
do the replace before saving in the DB


Screens appear twice when accidentally double clicking(touching)

If you accidentally touch a navigation button twice to jump to the next screen then the next screen will appear twice.
Is there some kind of inbuilt mechanism to stop this behaviour?
Great library btw!

Duplicate of #271


Update all policy Readmes with Permissions Statement

Policy Template Name
All
Issue Type
Bug
Use Case (Feature Request -or- New Policy Template Request Only)
[Describe the use case for this feature request or new policy template request]
Policy Template version (Bug Only)
All policies README need to have a statement about permissions.  Something like

This policy requires permissions to access RightScale resources (instances, volumes and tags).  Before applying this policy add the following roles to the user applying the policy.  The roles should be applied to all Accounts where the policy will run or the Organization. For more information on modifying roles visit the [Governance Docs](https://docs.rightscale.com/cm/ref/user_roles.html)

- Cloud Management - Actor
- Cloud Management - Observer```

### Code Snippet (Bug Only)
[Please provide any relevant code snippets (ie. datasource,escalation,policy, RCL, etc.) as it relates to the bug]

### Error Messages (Bug Only)
[Provide any error messages returned (if applicable)]

merged


2.6 artifacts implementation

these were unveiled in 2.6 livestream

i see that the  other set is still missing on hurt events. i'll add those later maybe next week


A node disappeared from listed nodes, unacked heartbeats probably led to that

Describe the bug
A job ID 41fcba15-6d53-4de7-9452-475b3a8ccabb failed since node1 suddenly disappeared from directord nodes listed . https://paste.opendev.org/show/b972ZzwGQbSJqQ0KIfHW/ shows events flow.
To Reproduce
Steps to reproduce the behavior:
follow https://etherpad.opendev.org/p/tripleo-directord-hackfest
Expected behavior
node1 should not disappear. It kept sending heartbeats, but those weren't confirmed by server
Operating System:

OS: Centos
Version 8 Stream

Python Version:

Version Python 3.8.12

Additional context
Python 3.8.12 (default, Sep 21 2021, 00:10:52)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] on linux
The problem was hit while running OpenStack 2021 PTG directord hackfest

It may be, could we focus on the reported situation yet, not on the root cause of the interrupted heartbeats flow, but better debugging/recovery for such situations? E.g. would be nice to track IDs to match send/recieved hearteats

Thank you @cloudnull . Perhaps keeping (seemingly) dead nodes in the list makes sense, if you think of large environments with hundreds of nodes. There should be a way to quickly re-add node back, or check its state - is it still dead, and/or to decide either to remove it or fence/unfence.

So I was thinking about this. Directord will never address or send work to a dead client; infact it'll raise if a client is specifically defined by a user but not found within it's running inventory. So, maybe we could move dead clients to a dead client list and show that information when running --node-list? It'd just be an esthetic change from the user POV. If the node starts checking in again the reference would be updated.


Exception in thread "main" java.lang.NoClassDefFoundError: org/asciidoctor/OptionsBuilder

Hi,
I've a problem with asciidoctor java lib using maven :
even with dependencies on my pom and right import, I always have the same error :

Exception in thread "main" java.lang.NoClassDefFoundError: org/asciidoctor/OptionsBuilder
at ProgGl.PriseDeNote.Application.view(Application.java:170)
at ProgGl.PriseDeNote.Commands.ViewCommand.execute(ViewCommand.java:22)
at ProgGl.PriseDeNote.App.main(App.java:65)
Caused by: java.lang.ClassNotFoundException: org.asciidoctor.OptionsBuilder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more

My co-worker made a stackoverflow post where he details more :
https://stackoverflow.com/questions/55929946/java-lang-noclassdeffounderror-while-using-maven-eclipse-asciidoctorj
thanks for answering

Hi,
The post mentions running a converter directly from a jar with java -jar target/PriseDeNotes-0.0.1-SNAPSHOT.jar but it also mentions using the maven plugin.
The use of one or the other depends on your needs and requires different configurations. Can you explain a bit what are you trying yo achieve?

Thanks for the fast answer.
The app is a simple school project that involve creating/deleting/listing/research in document etc...
But here for the view methods apparently we need asciidoctor lib to convert an asciidoc file to a correct html page so we can see it in our web-browser.

The app is a simple school project that involve creating/deleting/listing/research in document etc...

does this mean you are creating the document pragmatically?

we have an .adoc file and what we want Is to use Asciidoctor to convert the content of this file and convert it to an html file so we can open it in a browser.
and in general, the .adoc files are created by the user of the application and we don't have a problem with that.
the view function will open the .adoc file and do the conversion and create an html file.
but here the problem seems to be that he can't find the classes built in asciidoctor package .

In that case you don't need to meddle with AsciidoctorJ at all.
For conversion, just place the asciidoc document in src/docs/asciidoc, setup the maven plugin and run it plugin from the shell as mvn generate-resources. Here is a full example https://github.com/asciidoctor/asciidoctor-maven-examples/blob/master/asciidoc-to-html-example/pom.xml. Remove the <attributes> and <sourceHighlighter> configurations for a more "out of the box" conversion.

but here the problem seems to be that he can't find the classes built in asciidoctor package .

You don't need to do that with the maven plugin. But if you want to know, the problem is that you need to add all the required libraries to the classpath when using java -jar target/PriseDeNotes-0.0.1-SNAPSHOT.jar with the --classpath argument. When you compile/run from the IDE, the IDE takes care of that for you, but in the shell, you need to that manually.
I hope I am not giving too much help for the school exercise.

but even if I checked the lib in my project properties, I've to add the --classpath ?

And if we use the maven plugin, does that means that any document moved in the repository is automatically convert to html ?

but even if I checked the lib in my project properties, I've to add the --classpath ?

That's for running from eclipse. If you build your jar with package maven goal, the jar does not contain any of the dependencies. If you are familiar with c/c++ libs, it's like everything is "dynamically linked" in Java. So when you are running directly with java jar, you need to tell the Java runner where all the require libraries are located.
But this is just in case you want to convert the document directly with Asciidoctorj, which I understood this was not the case.

And if we use the maven plugin, does that means that any document moved in the repository is automatically convert to html ?

Yes, the plugin scans all sources in a folder root and converts them inside the target directory.

@abelsromero

But if you want to know, the problem is that you need to add all the required libraries to the classpath when using java -jar target/PriseDeNotes-0.0.1-SNAPSHOT.jar with the --classpath argument

Do you mean additional argument -classpath for running java, like
java -jar target/PriseDeNotes-0.0.1-SNAPSHOT.jar -classpath someother.jar
?

Actually we want to convert the document with Asciidoctorj using those lines :
public void view(String document) {
        OptionsBuilder op = OptionsBuilder.options().toFile(false);

        Asciidoctor asciidoctor = create();

        String html = asciidoctor.convertFile(new File(this.path + "/" + document + ".adoc"), op.asMap());
        System.out.println(html);
    }

Then - no. https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE

-jar jarfile
Executes a program encapsulated in a JAR file. The jarfile argument is the name of a JAR file with a manifest that contains a line in the form Main-Class:classname that defines the class with the public static void main(String[] args) method that serves as your application's starting point. When you use -jar, the specified JAR file is the source of all user classes, and other class path settings are ignored.

My mistake, sorry. You are right, just define all jars, included yours with the classpath option, but then you need to add the main class at the end.
java -cp MyJar.jar:lib/* com.somepackage.subpackage.Main

Is there another way to specify the main class in mvn projects ?
i'm his co worker and i think the problem is our pom.xml file.

You could use the https://www.mojohaus.org/appassembler/appassembler-maven-plugin/ to automate the creation of scripts to start the app.
You can find plenty of documentation and exemples on the web.
Regardless, I understand the issues with AsciidoctorJ are fixed right?

the problem is solved we had to run with
java -jar target/PriseDeNotes-0.0.1-SNAPSHOT.jar-with-dependencies.jar


Add new Wild Shape preset to actor transformation to match 2024 rules

According to the preview blog posts Wild Shape is changing to grant players temp HP equal to their Druid level, rather than assuming the monster's HP.

Woops, duplicate of https://github.com/foundryvtt/dnd5e/issues/3814


StageAttributes

Is stageAttributes.id also used as topic name/subject?

Pipelineobject.id defaults to className but overrides with stageatrrivutes.id. The kafka topic defaults to the stage id that sends into it. The kafka group id defaullts to the stage id of the reader but is overridden by --groupId in cluster mode

On Jun 3, 2018, at 11:45 AM, Wouter Zorgdrager<EMAIL_ADDRESS>wrote:
Assigned #100 to @joskuijpers.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hmm I don't think so about the topic, if I look at the create function of the BufferFactory it retrieves the subject by calling sinkObject.getSinkSubject (see here). If we then look to getSinkSubject, it just retrieves this.getClass.getName (see here). So it doesn't default to the stage id of its parent, it defaults to the class name of its parent. Is this desired?

No it isn't. That should be changed to this.id.


Layout.NoBorders doesn't remove some borders in multihead setup

Problem Description
Layout.NoBorders fails to remove borders on inactive screens in the following scenario:
Use smartBorders
On one monitor, fullscreen chrome. The borders disappear.
Then press mod-e to move to another monitor. The borders on chrome reappear.
Reverting https://github.com/xmonad/xmonad-contrib/commit/c6cdb77e3b3d6a3842b914a0cf64357f03fcf0c1 fixes the issue. The code related to the regression is probably under the section
 It seems more efficient to have each layout manage
            -- its own floating windows - and equally valid though untested
            -- against a multihead setup.

Can you please try if https://github.com/xmonad/xmonad-contrib/pull/440 fixes this?

Can you please try if https://github.com/xmonad/xmonad-contrib/pull/440 fixes this?


[Security] Implementing the throttling pattern to maintain healthy systems with Java Spring Boot

NOTE: All 1st-time contributors should know Topic approval and PR submission does NOT guarantee your Topic/Article will be published. Our team of Peer Reviewers and Content Moderators will review all PRs that come in to make sure they adhere to the standard of quality we expect from the EngEd community.
We expect all community memebers to go through provided examples, resources, and previously published material before submitting content. As a rule of thumb, please only submit articles (pull requests) that are complete, formatted correctly, and include a fully polished article (ready to be published and error free).
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue). Any PR that is submitted incomplete (meaning not ready to be published as is) will be closed. A PR being closed does NOT mean the article can not be published (or fixed) it simply means that the edits, revisions, and fixes will happen outside of the queue.
Topic Suggestion
[Security] Implementing the throttling pattern to maintain healthy systems with Java Spring Boot
Proposal Submission
Proposed title of article
[Security] Implementing the throttling pattern to maintain healthy systems with Java Spring Boot
Proposed article introduction
Microsoft defines Throttling as "the control of the consumption of resources used by an instance of an application, an individual tenant, or an entire service." By this, systems keep their functionality in meeting Service Level Agreements, especially when demands for resources go on the high.
The load on a cloud application typically varies over time based on the number of active users or the types of activities they are performing. For example, more users are likely to be active during business hours, or the system might be required to perform computationally expensive analytics at the end of each month. There might also be sudden and unanticipated bursts in activity. If the processing requirements of the system exceed the capacity of the resources that are available, it'll suffer from poor performance and can even fail. If the system has to meet an agreed level of service, such failure could be unacceptable.
The solution strategy of autoscaling is to allow applications to use resources only up to a limit, and then throttle them when this limit is reached. The system should monitor how it's using resources so that, when usage exceeds the threshold, it can throttle requests from one or more users.
ONLY viable topics to pick from:

API
Artificial Intelligence
Blockchain
Containers
Edge Computing
Languages
Machine Learning
Networking
Node.js
Security

Key takeaways

Readers will understand the advantages of throttling and how it is done in Java
Understanding how to limit or encourage requests based on the throttling parameters
Deferring operations being performed on behalf of low-ranked applications
Generally safeguarding API structures and provisions

Article quality
My article is a product of a design solution I implemented on an API infrastructure problem I navigated. Basically, it goes beyond the documentation and will be applied to other areas of software engineering and infrastructure building.
References
https://docs.microsoft.com/en-us/azure/architecture/patterns/throttling

Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.


Request for instructions on building a basic whatsapp bot in node js

I tried all the examples everything i dont know ts i tried everything i tried doing different ways different baileys library please someone instruct me how to do it

Ask in the discord or github discussion. Dont make issues.


Add option to load the config resources through a different class loader

This can be useful since prefixmapper and geocoder are packaged in two jars and in certain environments may be on different class paths (OSGI madness, etc.) and thus can result in a NPE in PrefixFileReader.java:56.

This change is

Hi @askannon,
Is this still an issue after #1300?

Hey @keghani,
I am afraid it doesn't solve the issue. While adding OSGI manifest information makes it easier for general class loading it doesn't solve the issue of file loading between artifacts.
In this specific case the PhoneNumberOfflineGeocoder from the "geocoder" JAR is using the PrefixFileReader from the "prefixmapper" JAR to load a file from the "/com/google/i18n/phonenumbers/geocoding/data/" directory in the "geocoder" JAR.
But since PrefixFileReader is using PrefixFileReader.class.getResourceAsStream() load the file it is using the classloader for the "prefixmapper" JAR and can't find the files from the "geocoder" JAR classloader.

Thanks for clarifying @askannon!
We'll look into this, but to set expectations, metadata updates are the priority for us to ensure the data is fresh.

Sorry this has been sitting here a while!
It's better tracked as an issue since we'll need to change it in several places. I'll close and track in #1757. Thanks for taking a stab at the PR!


Renderer error

Hello,
we are getting the following error when playing aol playlists:

Player enters into the crash loop and keeps throwing this error while switching between videos and then turns to RESTRICTED label on black background.

Hi @MaximSpirin!
Most likely this issue is connected to some specific device. Stack trace shows error in codec. Could you kindly provide us with details such as: device vendor, os version on it,  sdk version.

Hello,
please look at the attached image:

Hello.
Could hardwareAccelerated=true tag improve this issue?

Hi! Most likely this will not change anything. Do you have problem only with this device? Could you, kindly, try to run app in emulator?

Hello!
we are testing in on a couple new devices. The thing is that Tab E is our primary device that will be used massively so we would like to fix this problem asap.
Some additional info
every time this exception gets thrown the player itself calls ErrorListener.onError
It just happened with player when it was playing demo aol recycle ad which provoked an infinite ad loop - exo player throws an exception and cannot go to content.
Please take a look at the attached screenshot. Is it audio or video codec that fails to work?

@AleksanderLevadniy do they need to catch this error, and handle it in a specific way?  Of course, the best solution is to have no error, or to code around the error.

The issue happens inside ExoPlayer - we should investigate why it happens on this particular device. Handling this error will not help in displaying video...

@MaximSpirin Please, put full stacktrace. Could you also provide us with id of problematic video? How often does it happens? Could you try to reproduce this issue on emulator?

This may be connected to content type, I think issue will go away when we will implement mp4 extra field on MS

This is full debug output for this error:
I/ACodec:  [] Now uninitialized
I/ACodec: [] onAllocateComponent
I/OMXClient: MuxOMX ctor
I/ACodec: [OMX.qcom.video.decoder.avc] Now Loaded
I/MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 4940859
I/ExtendedACodec: setupVideoDecoder()
I/ExtendedACodec: vpp-enable search is 0 and value is 0
E/ACodec:  configureCodec multi window instance fail  appPid : 4825
E/ACodec: [OMX.qcom.video.decoder.avc] configureCodec returning error -5001
E/ACodec: signalError(omxError 0x80001001, internalError -5001)
E/MediaCodec: Codec reported err 0xffffec77, actionCode 0, while in state 3
E/MediaCodec: configure failed with err 0xffffec77, resetting...
I/ACodec:  [OMX.qcom.video.decoder.avc] Now uninitialized
I/ACodec:  [] Now kWhatShutdownCompleted event : 8937
I/MediaCodec: Codec shutdown complete
I/ACodec:  [] Now uninitialized
I/ACodec: [] onAllocateComponent
I/OMXClient: MuxOMX ctor
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/System.out: (HTTPLog)-Static: isSBSettingEnabled false
I/ACodec: [OMX.qcom.video.decoder.avc] Now Loaded
E/ExoPlayerImplInternal: Renderer error.
com.google.android.exoplayer2.ExoPlaybackException
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.throwDecoderInitError(MediaCodecRenderer.java:395)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.maybeInitCodec(MediaCodecRenderer.java:382)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onInputFormatChanged(MediaCodecRenderer.java:814)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onInputFormatChanged(MediaCodecVideoRenderer.java:435)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:513)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:574)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:350)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: com.google.android.exoplayer2.mediacodec.MediaCodecRenderer$DecoderInitializationException: Decoder init failed: OMX.qcom.video.decoder.avc, Format(1/27, null, video/avc, -1, null, [1920, 1080, -1.0], [-1, -1])
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.maybeInitCodec(MediaCodecRenderer.java:382)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onInputFormatChanged(MediaCodecRenderer.java:814)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onInputFormatChanged(MediaCodecVideoRenderer.java:435)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:513)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:574)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:350)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: android.media.MediaCodec$CodecException: Error 0xffffec77
at android.media.MediaCodec.native_configure(Native Method)
at android.media.MediaCodec.configure(MediaCodec.java:1884)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.configureCodec(MediaCodecVideoRenderer.java:405)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.maybeInitCodec(MediaCodecRenderer.java:371)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.onInputFormatChanged(MediaCodecRenderer.java:814)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.onInputFormatChanged(MediaCodecVideoRenderer.java:435)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:513)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:574)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:350)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
I/ACodec:  [OMX.qcom.video.decoder.avc] Now kWhatShutdownCompleted event : 8937
I/MediaCodec: Codec shutdown complete
D/edison_inrideads: AolAdPlayerSingle - : useSDKforPlaylist: onPlayError - CONTENT_ERROR

@AleksanderLevadniy re:emulator - we have our own specifics: we dont distribute our app via google play and we use the same specific model of the tablet for mass roll-outs.


Resolve included schemas based on parent

[ ] Add self to contributors.md
[ ] Apply tests patch 0001-Add-tests.patch


Editor fontWeight value completion missing values

VSCode Version: 1.5.-insider
OS Version: Windows

Steps to Reproduce:

open settings
request code complete on "editor.fontWeight" values. Only normal is proposed. Should bold, italic be in there as well.

Verified but some values are still missing. See https://github.com/Microsoft/vscode/commit/152e0b04a7a2de37358da53287cbad346c0182b8#comments

Thank you, answered inline in 152e0b0


Error: Sign in to confirm you’re not a bot - Missing flag "extractor-args"

Well i know this package is a wrapper of yt-dlp. and it's not a problem here
However, yt-dlp have this token tutorial which i followed and it works. Using this i can download videos again.
On the readme of this youtube-dl-exec says it can take any yt-dlp flag, but i can't use the required one to bypass this problem --extractor-args.
How can i use this flag --extractor-args in this package?

i noticed there were no restictions about flags , which is cool. you just take them and use them in yt-dlp
so, i was able to bypass the error by using any and destructure.
const extractorArgs: any = { extractorArgs: `youtube:player-client=web,default;po_token=web+${YT_PO_TOKEN}` };
const process = ytdl.exec(url, {
  cookies: 'cookies.txt',
  ...this.extractorArgs,
}

That's great!
I'm going to close this since you adressed your own question; could be nice if play a bit with the code and made a PR for addint extractorArgs as part of types:
https://github.com/microlinkhq/youtube-dl-exec/blob/master/src/index.d.ts
wanna be a contributor? 👀