Service/influxdb

Changes

New service template for InfluxDB

@mariusz-kraj  This is a service right so it is comparable to WordPress for example ofc for Database Management but it is not a Database like Redis or Postgres right?

Hi, this is a database. Optimized for time-series data and used extensively in IoT projects where you need to store sensor data over time.
It's also great for energy-related projects because it's very easy to make calculate power/energy calculations.

Thanks for the PR, this needs to be added to the codebase differently as a DB (I will leave this open for now).

I'm happy to help. Is there any documentation on how to add a new database?

No, there is no documentation, but you can check what files are needed by searching for an existing database such as keydb.

Thanks for the PR. Databases should not be added as service templates, they need to be added differently to the codebase. You can search for keydb for example to see how other DBs have been added. Could you please update your PR with these changes? If you do not have time to do it this way, I will close the PR for now.

I will have some time over the weekend. I'll do my best to update the PR

Thank you for your contribution. Due to inactivity, we're closing this PR. If you'd like to revisit this change, feel free to reopen this PR or open a new pull request. I have also added a Discussion to track this https://github.com/coollabsio/coolify/discussions/4038


Traffic pattern for a multicomputer graph computation

Define a traffic pattern and expected execution schedule (including switching and network traffic) for a large, error-corrected computation on a quantum multicomputer.
Application: some graph problem application; most likely, Sara's clique finding.
First task is to select this target, second task will be to define complete execution schedule.

This is partially done with #460. Depending on the exact behaviour of traffic targets. It might already be enough.


Not working on laravel 5.3

[BUG]
In raising this issue, I confirm the following (please check boxes):

[x] I have read and understood the contributors guide.
[x] I have checked that the bug-fix I am reporting can be replicated, or that the feature I am suggesting isn't already present.
[x] I have checked the pull requests tab for existing solutions/implementations to my issue/suggestion.

My familiarity with the project is as follows (check one):

[ ] I have never used the project.
[x] I have used the project briefly.
[ ] I have used the project extensively, but have not contributed previously.
[ ] I am an active contributor to the project.

My project stack details

Framework (Laravel / Lumen): Laravel
Framework Version: 5.3.2
JWT Auth Guard Version: 1.0.4
tymon/jwt-auth Version: dev-master

I have an error Class tymon.jwt does not exist.
I cant install tymon/jwt-auth:^1.0@dev, because dependecies changed

Laravel 5.3 works with

"tymon/jwt-auth": "dev-develop",


After adding GlossaryTerm data, the page is refreshed without data display.

After adding GlossaryTerm data, the page is refreshed without data display. The background reports an error Elasticsearch document missing, and the data is not written to the es.
_
[I/O dispatcher 1] ERROR c.l.m.s.e.update.BulkListener - Failed to feed bulk request. Number of events: 1 Took time ms: -1 Message: failure in bulk execution:
[0]: index [glossarytermindex_v2], type [_doc], id [urn%3Ali%3AglossaryTerm%3A70d11fa6-3340-45cd-aa66-c01b45cd5dd2], message [[glossarytermindex_v2/GGJD126OQNe7XpXWViPSQA][[glossarytermindex_v2][0]] ElasticsearchException[Elasticsearch exception [type=document_missing_exception, reason=[_doc][urn%3Ali%3AglossaryTerm%3A70d11fa6-3340-45cd-aa66-c01b45cd5dd2]: document missing]]]

_
When estimating new data, writing es fails, which results in that the urn array cannot be retrieved during query, and thus the data list cannot be found. Write supplementary data to es through the following interfaces, and then query the data from the page. http://ip:9200/glossarytermindex_v2/_doc/urn%3Ali%3AglossaryTerm%3Aba832d8e -82fa-4867-b390-0b9e8a197a67
{
"urn": "urn:li:glossaryTerm:ba832d8e-82fa-4867-b390-0b9e8a197a67",
"name": "dddd",
"termSource": "INTERNAL",
"hasParentNode": false
}

The environment variable MAE_CONSUMER_ENABLED needs to be set to true


The power is in your hands 🙃

oh, whoops. pushed a changelog at the same time as you

oh, whoops. pushed a changelog at the same time as you

No problem, I thought it was easier to just add the changelog myself :)

And this is why we should require a re-approval after pushing a change :P

I mean, everything was merged as intended.

And then some :)

I think the Github PR view is messed up, there is only one entry.
At least the merge queue is smart enough that it can't get changed after it's put there. Or at least it can't get changed by people without write access to the repo.


Confusing/Incorrect PickFirst behavior

Hi,
I have created the following reproducer that demonstrates confusing (to me) behavior when using PickFirst. Can someone help me understand what is going on?
use indoc::indoc;
use serde::Deserialize;
use serde_with::{self, FromInto, OneOrMany, PickFirst};

#[derive(Deserialize, Debug)]
#[serde(untagged)]
pub enum SubChild {
    String(String),
    Vec(Vec<String>),
}

#[serde_with::serde_as]
#[derive(Deserialize, Debug)]
pub struct Child {
    #[serde_as(as = "Option<OneOrMany<_>>")]
    pub a: Option<Vec<SubChild>>,
    #[serde_as(as = "Option<OneOrMany<_>>")]
    pub b: Option<Vec<SubChild>>,
    #[serde_as(as = "Option<OneOrMany<_>>")]
    pub c: Option<Vec<SubChild>>,
}

impl From<Vec<SubChild>> for Child {
    fn from(from: Vec<SubChild>) -> Child {
        Child {
            a: Some(from),
            b: None,
            c: None,
        }
    }
}

#[serde_with::serde_as]
#[derive(Deserialize, Debug)]
pub struct Parent {
    #[serde_as(as = "Option<PickFirst<(_,FromInto<Vec<SubChild>>)>>")]
    pub child: Option<Child>,
}

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let form_yml = indoc! {"
    child:
      - foo
      - bar
    "};

    let deserialized: Parent = serde_yaml::from_str(form_yml)?;
    println!("{:#?}", deserialized);

    Ok(())
}

Cargo.toml
[package]
name = "serde_as_repro"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
serde_with = { version = "2.2.0" }
indoc = "1.0"

The example unexpectedly produces:
Parent {
    child: Some(
        Child {
            a: Some(
                [
                    String(
                        "foo",
                    ),
                ],
            ),
            b: Some(
                [
                    String(
                        "bar",
                    ),
                ],
            ),
            c: None,
        },
    ),
}

When I expect:
Parent {
    child: Some(
        Child {
            a: Some(
                [
                    String(
                        "foo",
                    ),
                    String(
                        "bar",
                    ),
                ],
            ),
            b: None,
            c: None,
        },
    ),
}

If I switch the order of the PickFirst options(so FromInto is before _) it works as expected. If I remove PickFirst and use #[serde_as(as = "Option<FromInto<Vec<SubChild>>>")] it works as expected. If I remove the #[serde_as] within Parent I see  Error("child: invalid type: sequence, expected struct Child", as expected. I am not sure why it doesn't work as expected though, as shown in the reproducer.
Thanks,
Adam

Internally PickFirst uses an untagged enum, so this very much seems like an instance of https://github.com/serde-rs/serde/issues/1183. However, I am more surprised that you get this error message (invalid type: sequence, expected struct Child) when not using PickFirst. That seems like something what should work.
First, this relates to internal buffering of serde. Deserialization works, with values in a and b, when using these types. So it can be triggered without PickFirst, just using untagged.
#[serde_with::serde_as]
#[derive(Deserialize, Debug)]
pub struct Parent {
    pub child: Option<Child>,
}

#[derive(Deserialize, Debug)]
#[serde(untagged)]
enum U {
    P(Parent)
}

The default serde_derive implements deserialization of structs in two ways: 1) map-based and 2) sequence-based. Map-based works assuming there is a key and the elements can be in any order. That is what people usually know and expect. However, the sequence model is usually a surprise. It matches the fields in order to the fields of the struct. Since the last field of Child is Option, it can be omitted without the deserialization failing. For example, this works:
#[derive(Debug, serde::Deserialize)]
struct Foo {
    a: i32,
    b: bool,
    c: String,
}

let f: Foo = serde_json::from_str(r#"[123, false, "Hi"]"#).unwrap();
dbg!(f);

Now what I cannot explain is why serde_yaml does not allow deserialization from a sequence directly. It used to allow it in version 0.8. You can test it with your example. Due to the internal buffering of untagged enums it is no longer serde_yaml which controls the behavior, but a serde-internal type, which does allow deserializing structs from sequences.
If you want a single sequence to deserialize as a list of a, then I think the correct change is to reorder the PickFirst, with the FromInto before the _.

This seems to be answered, so I am gonna close this issue.


158 update json format

solve #158
change response format for get and subscription response

Will check and update accordingly
What works

[x] VSS test client
[x] DAPR pubbsub
[x] DAPR state storage
[ ] Node.red MQTT
[ ] Node.red Websocket
[ ] S3 Uploader
[ ] DBC Feeder


Updated README with new donation info

@sokra Hold on until Webpack README is finished, logo needs to by changed to the new one and a few fixes, I'm working on it in conjunction with the various *-loader README's :)

Soon...

@michael-ciniawsky Great work. I like it.

@sokra Yep :) thats the plan, like I mentioned, there a are a few known issues I will fix first, I will try to do it today.

Off topic here but can I ping you if I get stuck with content of x-loader, while updating docs?

Sure

👍

@michael-ciniawsky I merge it now, but it should be no problem merging both changes.


Recommend using dataclass in "Classes as dependencies" Docs

First check

[x] I added a very descriptive title to this issue.
[x] I used the GitHub search to find a similar issue and didn't find it.
[x] I searched the FastAPI documentation, with the integrated search.
[x] I already searched in Google "How to X in FastAPI" and didn't find any information.
[x] I already read and followed all the tutorial in the docs and didn't find an answer.
[x] I already checked if it is not related to FastAPI but to Pydantic.
[x] I already checked if it is not related to FastAPI but to Swagger UI.
[x] I already checked if it is not related to FastAPI but to ReDoc.
[x] After submitting this, I commit to:

Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
Or, I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
Implement a Pull Request for a confirmed bug.

Idea
Currently in the Classes as Dependencies docs: https://fastapi.tiangolo.com/tutorial/dependencies/classes-as-dependencies/#classes-as-dependencies_1
The sample class is:
class CommonQueryParams:
    def __init__(self, q: Optional[str] = None, skip: int = 0, limit: int = 100):
        self.q = q
        self.skip = skip
        self.limit = limit

I believe that it would be better to recommend the cleaner use of a dataclass, to remove boilerplate that can be error prone. New users are likely to simply copy this style directly and not realize they can use a cleaner syntax. It also matches more similarly to Pydantic usage elsewhere in FastAPI:
from dataclasses import dataclass

@dataclass
class CommonQueryParams:
    q: Optional[str] = None
    skip: int = 0
    limit: int = 100

@app.get("/items/")
async def read_items(commons: CommonQueryParams = Depends(CommonQueryParams)):
    response = {}
    if commons.q:
        response.update({"q": commons.q})
    items = fake_items_db[commons.skip : commons.skip + commons.limit]
    response.update({"items": items})
    return response

This is somewhat discussed in the closed issue #318 from two years ago.

FastAPI is compatible with Python 3.6+. As dataclasses were added in 3.7, my guess is that it was just simpler to document the version that works for both of them. I suppose a snippet could be added to the docs that mentioned that if using 3.7+, you could use dataclasses

Good point. It's also possible to use dataclasses on 3.6 using the PyPI backport as well.

Thanks for the interest and effort!
I'll copy my answer to the PR here as well for completeness.

I prefer to leave it as is, because dataclasses require assuming some knowledge about dataclasses and how they work. And they would only work for some specific cases. They wouldn't necessarily take things like Query(), Body() as default values, or at least the behavior is not certain. And it would require explaining how they work.
I prefer to keep the explanation simple and pure, that makes it obvious that the thing that makes it callable is what would be used to get the information (in this case the __init__(). But in a dataclass that is hidden, so it would require explaining that it's hidden but created automatically, and then it would require explaining that because the __init__() is autocreated, some things would work and some wouldn't.
And although the code is shorter, the explanation and the cognitive load would be higher, explaining what's everything that is happening underneath.
So I'll pass on this suggestion, but thanks for the interest! :cake:


[doc] remove out-dated data type description.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

more clearness, 😀


Development

:tada: This PR is included in version 0.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-development.3 :tada:
The release is available on:

npm package (@development dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Need clarification on creating training pairs.

Hello, I am attempting to reproduce your method and results. But I am still unclear about the idea of creating the pairs for training. After reading the paper several time, I can only interpret it as creating all possible unique pairs from the set. Therefore the number of training pairs would be nCr right?
For example, I have 1035 training essays, then after creating the pairs, I ended up with C(1035, 2) = 535095 pairs. I tried it on Colab's A100 system and it took around 2 hours each epoch!
Is this the correct way, and I just need a really strong system? Or the method I described above is wrong?
Thank you for your amazing work! I would really appreciate if you can clarify on this.

Happy to answer your questions. In order to construct an essay pair, let's
say if I have three essays a, b, c, we can construct essay pairs like (a,
b) , (b, c) and (a, c). Now with 1035 training essays, we can create nearly
twice as much.
Joseph Saido Gabriel @.***> 于2024年12月11日周三 19:13写道：

Hello, I am attempting to reproduce your method and results. But I am
still unclear about the idea of creating the pairs for training. After
reading the paper several time, I can only interpret it as creating all
possible unique pairs from the set. Therefore the number of training pairs
would be nCr right?
For example, I have 1035 training essays, then after creating the pairs, I
ended up with C(1035, 2) = 535095 pairs. I tried it on Colab's A100 system
and it took around 2 hours each epoch!
Is this the correct way, and I just need a really strong system? Or the
method I described above is wrong?
Thank you for your amazing work! I would really appreciate if you can
clarify on this.
—
Reply to this email directly, view it on GitHub
https://github.com/CarryCKW/AES-NPCR/issues/4, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOWSRN3GZ6N5XAUTL3MTCL32FAM33AVCNFSM6AAAAABTNHI6WCVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZTENRRGYYDONQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi, thank you for your answer on this topic! I have read about this in the paper and because only 3 essays were used as example, I was left a little bit unclear. Therefore, here is my current assumption.
If we have essays a, b, c, d, e
we first create adjacent pairs, correct?
(a, b), (b, c), (c, d), (d, e)
Then, in order to meet the accumulation criteria as described in the paper, we make pairs as such:
(a, c), (b, d), (c, e)
Since now essay (a) is paired with essay (c), and essay (c) is now paired with essay (e) we need to create the pair:
(a, e), ...
and this goes on and on and on depending on the size of the number of essays. So I was wondering what was the limit. But after looking at your implementation on data_prepare.py, I'm guessing this is the way you create the pairs (sorry for not mentioning this earlier)
# C2 performs better than C1
    for i in range(X_train.shape[0] - 6):
        # C2
        if Y_train[i] != Y_train[i + 1]:
            y_train.append(Y_train[i] - Y_train[i + 1])
            features_train.append((X_train[i], X_train[i + 1]))
        if Y_train[i] != Y_train[i + 2]:
            y_train.append(Y_train[i] - Y_train[i + 2])
            features_train.append((X_train[i], X_train[i + 2]))
        if Y_train[i] != Y_train[i + 3]:
            y_train.append(Y_train[i] - Y_train[i + 3])
            features_train.append((X_train[i], X_train[i + 3]))

Is this the method you used to generate the training pairs? It is similar to what I described and it goes up to 3 essays in the sequence.


Suricata - SC_ERR_UNKNOWN_VALUE

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

After the update to 21.7.5, which include the migration to ET's Suricata 5 formatted rules, the following errors are now appearing.
2021-11-30T17:02:37 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-user_agents.rules:250 uses unknown classtype: "pup-activity", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:34 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-ja3.rules:42 uses unknown classtype: "command-and-control", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:34 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-info.rules:1348 uses unknown classtype: "domain-c2", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:34 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-info.rules:694 uses unknown classtype: "coin-mining", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:33 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-hunting.rules:540 uses unknown classtype: "social-engineering", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:33 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-hunting.rules:482 uses unknown classtype: "external-ip-check", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:33 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-hunting.rules:414 uses unknown classtype: "credential-theft", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:33 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-hunting.rules:406 uses unknown classtype: "targeted-activity", using default priority 3. This message won't be shown again for this classtype |
2021-11-30T17:02:33 | suricata[61062] | [100268] <Warning> -- [ERRCODE: SC_ERR_UNKNOWN_VALUE(129)] - signature at /usr/local/etc/suricata/opnsense.rules/emerging-hunting.rules:170 uses unknown classtype: "exploit-kit", using default priority 3. This message won't be shown again for this classtype

To Reproduce
Steps to reproduce the behavior:

Enabled Suricata IDS
Install the ET Telemetry Edition (Though I'm guessing this also occurs in the OPEN Rules)
Start the Suricata Service
View the logs

Expected behavior
Rules would load without classtype errors
Describe alternatives you considered
A clear and concise description of any alternative solutions or workaround you considered.
Additional context
I believe this is caused by an out dated classification.config file included in the OPNSense source.  There was an update around the time of the Suricata 5 release to include a bunch of new classtypes.  I believe a simple "catchup" of the classification.config file could fix this issue.
Classtype update 1
Classtype update 2
Current Classtype Config
Environment
OPNsense 21.7.6-amd64
FreeBSD 12.1-RELEASE-p21-HBSD
OpenSSL 1.1.1l 24 Aug 2021

@zoomequipd looks like a reasonable explanation indeed, https://github.com/opnsense/core/commit/9f3b6e873ac14790246f9b83bc54d8852eaeccbe should update our  classification.config to the latest version.
Apply using the following command (reload suricata to flush the template)
opnsense-patch  9f3b6e8

Thanks @AdSchellevis !  We should probably setup a regular cadence as ET moves into supporting subsequent versions of suri.

@rgonzale6 definitely!

Please update to latest 22.7.x

Please update to latest 22.7.x

I have updated to latest version 22.7.6 with Suricata 6.0.8, the issue still unresolved..


Extend the riak_core_coverge_fsm to handle colocated data

Time Series (and other future data colocation work) requires a
different coverage plan than 2i index and yokazuna queries
The FSM can now be started with parameters describing how to
call out to a custom coverage plan function
The existing API is maintained for yokazuna which calls
into riak_core_coverage_plan:create_plan/5

+1 72beb13b495da0031c38f6b8f72b7f1680854506

@borshop merge


Adds handlebars logo to profiler/toolbar

I thought it would be nicer to display a relevant logo in the toolbar and profiler screens.

Indeed. Thanks for the PR!


Error importing diffeqpy

I get an exception when I import diffeqpy:
$ python -c"from diffeqpy import de"
Failed to import the site module
Traceback (most recent call last):
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/site.py, line 541, in <module>
    main()
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/site.py, line 522, in main
    known_paths = addusersitepackages(known_paths)
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/site.py, line 282, in addusersitepackages
    user_site = getusersitepackages()
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/site.py, line 258, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/site.py, line 248, in getuserbase
    USER_BASE = get_config_var('userbase')
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/sysconfig.py, line 608, in get_config_var
    return get_config_vars().get(name)
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/sysconfig.py, line 587, in get_config_vars
    import _osx_support
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/_osx_support.py, line 4, in <module>
    import re
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/re.py, line 122, in <module>
    import enum
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/enum.py, line 2, in <module>
    from types import MappingProxyType, DynamicClassAttribute
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/types.py, line 171, in <module>
    import functools as _functools
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/functools.py, line 21, in <module>
    from collections import namedtuple
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/collections/__init__.py, line 29, in <module>
    import heapq as _heapq
  File /Users/adrianseyboldt/.julia/v0.6/Conda/deps/usr/lib/python3.6/heapq.py, line 587, in <module>
    from _heapq import *
SystemError: initialization of _heapq did not return an extension module

This is using python3.6 from anaconda, and julia from brew on OsX.
I installed diffeqpy 0.4 with pip install diffeqpy, and executed diffeqpy.install()

I removed .julia and reinstalled the julia packages. That seems to have solved the issue.


Development server error when proxy configuration is added to package.json

Discussed in https://github.com/facebook/create-react-app/discussions/11788

Originally posted by petal-person December 16, 2021
Platform: Ubuntu
Cra & react-scripts Version: 5.0.0
NodeJS Version: v16.13.1
NPM Version: 8.3.0
Okay so, whenever I add the proxy configuration to my package.json I get an error. But without it,  the project compiles & the server starts just fine.
This is the terminal with the error:
><EMAIL_ADDRESS>start
> react-scripts start

Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
 - options.allowedHosts[0] should be a non-empty string.

This even happens on a plain boilerplate project. this is what my package.json looks like:
{
  "name": "app",
  "proxy": "http://localhost:3001", //the error only occurs when this is here..
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "@testing-library/jest-dom": "^5.16.1",
    "@testing-library/react": "^12.1.2",
    "@testing-library/user-event": "^13.5.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "5.0.0",
    "web-vitals": "^2.1.2"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": [
      "react-app",
      "react-app/jest"
    ]
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version"
    ]
  }
}

I'm trying to figure out what the problem is, I don't know if it's with my server or something in react...
Any help is appreciated :)

@petal-person thanks for reporting the issue, seems like we have an issue in the WDS configuration in some cases, closing this in favor of #11762


Support for attachments

It would be great to have support for attachment or embedded files, ate least document-level files. page-level are not so used, but I think they are on the specification.

Is there any way that the attachments can be Opened when clicked instead of requiring them to be saved to the computer first?

You can use "open" in the download dialog to open it directly, but it will still be saved to your temp folder. Many formats cannot be opened by the browser directly and detecting this would be very difficult.
(As a side note, please don't comment on closed issues, but open a new one instead.)


Un-statemented line item view

For both users and billers
Originally created by Tom Smyth at 2015-11-20 17:54, migrated from redmine-#3669

Status changed from New to Closed

By Tom Smyth at 2015-11-24 08:54


Doctrine\Common metadata drivers reuse

This PR is strictly related with https://github.com/doctrine/common/pull/98 and tests won't pass until the doctrine-common submodule points to a merged version of it (will do so later, so please don't merge now ).
Basically, I just stripped any code duplicate of what already available in dcom master under Doctrine\Common\Persistence\Mapping\Driver.
Tests are OK on my environment when using the new commons submodule.

I removed the driver as @stof pointed out that it is impossible to keep BC.
Will keep the AbstractFileDriver until I get feedback.
Same applies to the SimplifiedXmlDriver and SimplifiedYamlDriver.

@Ocramius you removed the interface but forgot to remove the implements Driver in all drivers, meaning they are broken (btw, you should run the testsuite. the PHP Fatal error would have been detected)

and if you don't want to setup the testsuite locally (which would be a bad news), you can at least activate travis-ci in your fork to run it.

I run the suite before every commit... Just forgot to remove the file :)

I've also rewritten SimplifiedYamlDriver and SimplifiedXmlDriver to use the new SimplifiedFileLocator, which could eventually be moved to Doctrine\Common

This will need some changes by merging master again. Please let me know when/if I should work on it.


Remove unused duplicate SCSS

How does this pull request make you feel (in animated GIF format)?

What are the relevant GitHub issues?
In #1310, we added a themes system.
In that PR, we copied all of the site's current SCSS into a 2017 folder.
We kept all of these files in place… just in case.
It's been over a year now. I think it's safe to delete them finally!
What does this pull request do?

Deletes a grip of unused files.
Changes the path for two imported files in the admin SCSS to use the files in the 2017 theme

How should this be manually tested?
Use any/all of the site. Look good? Ship it.
Is there any background context you want to provide for reviewers?
Slowly building toward a site redesign and theme switching system.

These files did not spark joy.


Report usages of commonly used APIs for cross project access when isolated projects is enabled

Add some more problems for some common APIs:
On Project

[x] Project.rootProject
[x] Project.parent
[x] Project.allprojects (the getter)
[x] Project.subprojects (the getter)
[x] Project.project()
[x] Project.findProject()
[x] Project.childProjects
[x] Project.getAllProjects() (both the keys and values)
[x] Project.getTasksByName()
[x] Project.properties and getProperty()
[x] Project.evaluationDependsOn() (returns project)

On Gradle

[x] Gradle.rootProject
[x] Gradle.parent
[x] Gradle.beforeProject
[x] Gradle.afterProject
[x] addProjectEvaluationListener(...) (ProjectEvaluationListener receives Project in beforeEvaluate and afterEvaluate)
[x] addBuildListener(...)
[x] addListener(...) – the user-provided listener object can implement:

ProjectEvaluationListener (same as above),
TaskExecutionGraphListener (a TaskExecutionGraph is passed to the user code),
BuildListener (Gradle and Settings references might be passed to the user code).

On Settings

[x] Settings.getGradle(), we want it to return an object that still tracks the referring project, if it's there.

Other places (split these out to other cards)

[ ] Tasks returned by Buildable.taskDependencies
[ ] Tasks returned by various TaskGraph methods.
[x] Project returned by ProjectDependency.dependencyProject (should deprecate this)
[x] Group and version on ProjectDependency.
[ ] Inherited properties.

Reconsider

Should Project.files(), etc be usable via another project instance? They don't reference any mutable state.

Some leftover corner cases after the current stage:

https://github.com/gradle/gradle/issues/22633

Reconsider

Should Project.files(), etc be usable via another project instance? They don't reference any mutable state.

In fact, the project.files() implementation is project-dependent in some details, such as project isolation compliance checks, which would require more complicated implementations to support using a files() collection created by one project in another.
We need to weigh the increased implementation complexity against the potential benefits of supporting such use cases, which are not clear for now.

Completed in the following sets of changes:

https://github.com/gradle/gradle/pull/21600
https://github.com/gradle/gradle/pull/21838
https://github.com/gradle/gradle/pull/22433
https://github.com/gradle/gradle/pull/22445
https://github.com/gradle/gradle/pull/22475

🎉


Local mocking fails with parametrized paths

The following definition with a parametrized request fails:
openapi: 3.1.0
info:
  title: simple-api
  version: 0.4.0
paths:
  /statuscode/{code}:
    get:
      x-kusk:
        upstream:
          host:
            hostname: mocktarget.apigee.net
            port: 80
      parameters:
        - name: "code"
          in: "query"
          description: "Desired response status code."
          required: true
          schema:
            type: "string"
      responses:
        "200":
          description: "Success"

kusk mock -i openapi.yaml
⨯ unable to parse openapi config: %!w(<nil>) 💔

The library underneath does allow for parametrized requests, as seen here https://github.com/muonsoft/openapi-mock/blob/master/examples/petstore.yaml#L56

It also fails for https://github.com/kubeshop/kusk-gateway/blob/main/examples/httpbin/httpbin-spec.yaml

This is not the openapi-mock that's failing, this is the parser that's failing.
spec, err := spec.NewParser(openapi3.NewLoader()).Parse(absoluteApiSpecPath)
if err != nil || spec.Validate(context.Background()) != nil {
	ui.Fail(fmt.Errorf("unable to parse openapi config: %w", err))
}

I will investigate

@aabedraba when investigating exactly what's causing the validation error, this is what the validator returns on your API spec
⨯ openapi spec failed validation: invalid paths: operation GET /statuscode/{code} must define exactly all path parameters (missing: [code]) 💔

@jasmingacic
⨯ openapi spec failed validation: invalid paths: the responses object MUST contain at least one response code 💔

The validation error for the httpbin api spec

@aabedraba
openapi: 3.1.0
info:
  title: simple-api
  version: 0.4.0
paths:
  /statuscode/{code}:
    get:
      x-kusk:
        upstream:
          host:
            hostname: mocktarget.apigee.net
            port: 80
      parameters:
        - name: "code"
          in: "path"
          description: "Desired response status code."
          required: true
          schema:
            type: "string"
      responses:
        "200":
          description: "Success"

The parameter.in value was wrong. Query is for query params. i.e. http://localhost:8080/statuscode?code=200
but since its in the path, the field needs to be in: path.


About the frame features

Hi,
Thanks for the paper and the code. I am wondering that when you used IRV2 to extract 2D frame features and selected 28 uniformly-spaced frames each video how do you aggregate these 28 feature vectors into one vector per video? Concatenate and project? Seemingly it is not clear in the paper.
Thank you!

i have the same question, did you find the answer?

Hi, it's also by mean-pooling.

thanks!!  I get it

thanks!! I get it

The shape of NPY is (28,1000), and the shape of H5 is (1536,1). How to conduct mean pooling?


Added support for Angular 7

Related issue #102

Be careful, It could break all the project running Angular version < 7 If you don't change the library version to a next major version such as v3.
I am currently using Angular 5 and It would say it will broke my project at least if you keep the version as 2.xx


Bower

Awesome stuff. Can we add this to bower?

Great suggestion. It's up now.
bower install angular-formly-templates-lumx

Thanks :)


Sort with dotfiles at the end

Is your feature request related to a problem? Please describe
No response
Will you be willing to contribute this feature?

[ ] Yes, I'll give it a shot

Describe the solution you'd like
I'd like to have an option in the [manager] area of the yazi.toml that declares whether dotfiles come before normal files or after
Right now with configuration of alphabetical, sort_dir_first I get
Alphabetical dotdirectories
Alphabetical directories
Alphabetical dotfiles
Alphabetical files
When I would have liked to get
Alphabetical directories
Alphabetical dotfiles
Alphabetical files
Alphabetical dotfiles
Describe alternatives you've considered
No response
Additional context
No response

I prefer not to add it because I don't see a use case for it. I did a quick search on two popular file managers ranger and lf and neither of them supports it.
Closing as it's not in the plan, sorry.


Rust codegen support?

I apologize in advance if this question doesn't make sense as I'm still wrapping my brain around Vale/HACL*.
We would potentially like to use some of the cryptographic implementations from HACL* in the @RustCrypto project.
The ideal way for us to consume them would be using Rust inline assembly syntax, as this approach eliminates all platform-specific concerns around linking by passing assembly directly to LLVM.
I thought I'd at least inquire as to whether it would make sense for Vale to have first-class support for this in some form. We could potentially build our own tooling to do this, but if it makes sense as a first-class feature that seems like a much better solution to me.

Vale has multiple printers for various assembly syntaxes, particularly gcc and masm ( https://github.com/project-everest/vale/blob/master/fstar/specs/hardware/X64.Print_s.fst and https://github.com/hacl-star/hacl-star/blob/main/vale/specs/hardware/Vale.X64.Print_s.fst ).  Also, there's a printer for inline assembly embedded inside gcc C code ( https://github.com/hacl-star/hacl-star/blob/main/vale/specs/hardware/Vale.X64.Print_Inline_s.fst ).  All of these printers just provide ways to emit the same underlying verified assembly language code in multiple formats.  Would it be sufficient to add a Rust inline assembly syntax printer alongside these printers?

Yes, that sounds great!


Suggestion: Powershell script for Windows installation/configuration

Sorry if logging an issue is not the correct way to suggest this, I don't github often.
It has occurred to me, that it should be possible to make a short (maybe one-liner) powershell script for installation. This would allow users to follow a very short and simple process to install the project, without needing to install git or any other additional tools. The process would be something like:
Use the address bar to visit about:support
Click on the Show Folder button available next to the label Profile Finder.
Click File... Open Windows Powershell
Paste in the following command and hit Enter:
    xxxxxxxx

It may even be possible to use powershell to find the profile directory  (I'm fairly sure we could parse profiles.ini), thus making this a matter of downloading a .ps script and running it.
The script could then download the zip, create the chrome folder and any necessary files which do not already exist, and append this project's @import commands to those files (preserving existing content), extract the zip to the appropriate location, etc.
If we go all-out, we could provide a simple text menu allowing the user to select highlight colours, optional tweaks (the script could un-comment @import lines), etc.
Perhaps the script would also be able to modify options for extensions, so that colours match (thinking about https://github.com/m-khvoinitsky/dark-background-light-text-extension)
I'm fairly comfortable with manually extracting the zip file personally, and those who have git on their machine will surely want to use that, but I think this is going to be a very very popular project, and less-tech savvy users will want a way to install it, which is familiar to them and has less chance of something going wrong like extracting it to the wrong place.
I don't want to make extra work for you and I'm not sure you own a windows PC, so I would be happy to provide this script if you would be interested. I've not looked into it too deeply and perhaps it might not be perfect or even possible, but everything seems quite straightforward at this point. I don't work as fast as you though ;) There are a few variables to consider (such as upgrading existing installations, preserving existing user modifications, etc) so it would take some time to make sure it's done right.

Hi there!
I think something along these lines is a fantastic idea and would love to see something like this incorporated into the repository :) It's late, so I apologize in advance for any ramblings haha.
Now that the project is, dare I say it, starting to reach a more "stable" form, I think a little more focus needs to be centered towards user-friendliness.
This would include:
(1) The initial install
(2) Keeping up-to-date with changes
(3) Customizability
(4) Improve the GitHub site/README/create a WIKI outlining how to do all the above
I think there are a lot of different approaches we could take to all of these and are worth looking into/considering before we decide on a path.
For example we could:
(1) Create a shell/bash script similar to what you are describing.
Advantages:

Relatively easy to use (would require a user to download the script, run it from the command line)

Disadvantages:

Would be OS dependent (would need to create/maintain different scripts for Windows, macOS, etc.)

Might be difficult to incorporate a good way for users to keep up to date (how frequently changes to the repo need to occur once it's initial set-up is done has yet to be seen)

(2) Create a python program to do everything you mentioned
Advantages:

Not OS dependent

Could fairly easily create a GUI for users to interact with, pick colors, select what files/changes they want incorporated etc.

Disadvantages

User would have to download python

(3) Create official "releases" through GitHub
Advantages:

Simplifies the process of gathering/downloading the necessary files off GitHub

Disadvantages:

Doesn't simplify the process of moving the download to the correct location

Makes "quick fixes" much more difficult/almost impractical

(4) Recommend the use of git
Advantages:

No need to "re-invent the wheel" in terms of finding a way for a user to reliably install/update the repo across all platforms.

Disadvantages:

User would have to install/use git

(5) Any combination of the above.

I'm open to discussion, so I'm glad you brought this up/started the topic. I don't have my heart set on anything yet...but I almost think the best approach would be this:
(1) Recommend git for install/keeping up to date.  It might be a bit of a learning curve, but we should be able to write a "how to" that's easy to follow.
Installing is a matter of one of two commands from the command line, and then we could give the user the proper commands.  i.e.
git clone https://github.com/overdodactyl/userContent-tweaks/ xxxx
and then git pull to update.  On top of this, if the user already has to use the command line for a script, I'm not sure git is terribly more complicated.  We could even write a little script that automatically pulls from the repo every so often to keep updated without having to do anything.  Alternatively, we could also write a little script that when it's executed, it does the pull request and grabs the new lines from the README (which I'll need to be better about updating...it's been a few days) and prints them out for the user to see.
Taking this approach would also save us some time/effort which could allow us to focus on creating some type of GUI to do the things you mentioned - i.e. select colors, uncomment necessary import statements etc.
For reference, here is a little script I recently wrote for another repo I frequently use. Basically, it takes file A from a profile directory, creates a backup of it, downloads the new version of file A off the repo, puts it in the directory, and appends file B to the end of it.  It's a little longer than you may expect, but might provide as a good base point/references if we go with the route you suggested.
Anyways, these are just a few thoughts! Honestly I'm just stocked to have someone like you making recommendations and volunteering to help :) So any scripts you want to write, code you want to include etc., we will find a way to incorporate it in...not a chance I won't add something someone provides!
Thoughts?

Having covered most of this in the https://github.com/overdodactyl/ShadowFox/issues/14 thread, I think you've got this covered with the release plan. Good to close this? I'm happy to contribute any windows-specific stuff you like.

We could certainly close it -
I think the only thing you brought up here is the idea of a script that moves the directory to the correct location...I'm not sure if that's a really necessary thing though or just more work/things to upload/download that no one would use


Star tour function needed

Versions

Angular:
Angular CLI:
ng-intercom:
Node.JS:
NPM:

Description

Can you send a link to documentation please? I don't know what "start tour" is in Intercom.

@wbhob could you please release your latest commits? Version 8.0.0.beta-1 is still the latest release (I guess) :-)
thank you!

@scott-wyatt i updated the version but evidently it didn't deploy

Did you do a release?

I npm version'd it and I thought it did it automatically. guess not

Yeah, you still have to create a github release with a v8.0.0, that triggers the CI to publish to NPM.

got it. its going now.


adding license tests to debian structure tests

@dlorenc @nkubala

This won't get merged until the new structure-test image gets pushed.

are the tests you removed covered by the license tests? i'm not totally clear on how it will test things like apt-get, etc.

Those are the original go tests that were obsoleted by the structure tests.

ahh right right, sorry wasnt thinking. LGTM


Added CI/CD pipeline containing all PyTests

Notes

Pipeline runs on Linux and contains code to install external dependencies ffmpeg and tesseract
Pipeline only runs upon pull request to main

Closing this PR in favour of the latest one (#139) that includes the patch for the failing test


Deprecated code

This tutorial is massively deprecated.
public interface InstanceIdResult is deprecated.
public class FirebaseInstanceId is deprecated.
A nightmare and a waste of time trying to run this!
Please, update.

@Krold, Thanks for leveraging Azure docs feedback channel to raise this feedback. Could you please share the Azure documentation for which this feedback is applicable to?


Add testing for python protoc-gen-mypy

Generate some example protos and verify the output of the protoc-gen-mypy script

Verify output matches expected
Verify output runs through mypy (syntactically correct)

I made some progress here

Added travis CI integration running a few tests
Added a test comparing output to an expected output (should help with code reviews)
Actually caught an additional bug resulting in nondeterminism of import order, which I fixed!

Still need to add testing that runs mypy on the output and verifies it's valid

Made some further progress. We now run mypy on the output and verify its validity.
Unfortunately, the mypy does not pass with code targeting python3 due to google.protobuf stub incompatibility in typeshed.
I opened https://github.com/python/typeshed/pull/2174 to see if we can improve typeshed.

I believe #28 should take care of this


change to external/msf_gif.h for rendering to gif

hmm, suspiciously easy! does seem faster!

@chriscamacho I added one review, MSF_GIF_MALLOC, MSF_GIF_FREE macros are required.

@chriscamacho msf_gif.h has changed to support memory version as per https://github.com/notnullnotvoid/msf_gif/issues/2 and https://github.com/notnullnotvoid/msf_gif/issues/3. I'm closing this PR for now, it should be re-implemented with the new API.

okay not sure if I'll get chance to get to this...


Add Chinese (both simplified and traditional) to ui-text.yml for Issue #404

This pull request provides a Chinese version of ui-text.yml, solving the problem mentioned in Issue #404.
Simplified Chinese:

zh
zh-CN

Traditional Chinese:

zh-HK
zh-TW

This pull request provides a Chinese version of ui-text.yml, solving the problem mentioned in Issue #404.

Excellent thanks for doing this, closes #404


responsive-table with custom tr/td height

Description
Resposive-table not working when you set custom tr, td height
CodePen example:
https://codepen.io/anon/pen/vZxxXv

https://codepen.io/anon/pen/pwedBJ


EhcacheOffHeapBackingMap.computeIfPinned()  too eagerly deserializes the OffHeapValueHolder's value

AbstractOffHeapStore.flush() calls EhcacheOffHeapBackingMap.computeIfPinned() which fully deserializes the OffHeapValueHolder's value even if the latter only is necessary when the flushed value expires and there is a registered cache event listener. The expiration check could be done solely with the OffHeapValueHolder's metadata, saving the enormous cost of object deserialization.

This relates to #797 but is more important as more perf is lost here than in the other compute methods.

Requires offheap-store release (most likely 2.2.1) to fix a bug


make cachehome configurable

Hi!
Not sure if this is anything you'd consider but here we go:
"cachehome" folder is now configurable via astro.conf
My main use case:
astro makes heavy use of files (for history and links within pages), which are stored inside [cachehome]/astro/. I want the cachehome to be configurable to move these working files to a memory-backed folder (e.g. via tmpfs).

Hi guzzisti.
Nice idea, I just want you to adjust some little things before I approve your PR.

I might annoy you with more PRs in the next days. ;)

That will be great.

Merged, thanks again.


i18n : Updated ms-MY Malay (Bahasa Malaysia) Language

Added ms-MY Malay (Bahasa Malaysia) Translation
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[/] Target branch: Please verify that the pull request targets the dev branch.
[/] Description: Provide a concise description of the changes made in this pull request.
[/] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[/] Testing: Have you written and run sufficient tests for validating the changes?
[/] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[/] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

i18n: Internationalization or localization changes

Changelog Entry
Description

18n added Bahasa Malaysia as one of the language options for Open Webui
Update on syntax error from https://github.com/open-webui/open-webui/pull/4178

Added

Added ms-MY Malay (Bahasa Malaysia Language)

Changed

Update latest translation

Screenshots or Videos

LGTM, Thanks!


Minecraft lighting (server)

We need to calculate lighting values for each block on the server. The server is the more difficult of the two components. This issue tracks that feature.
Thanks to @NSDex for documenting this on the wiki.

Sky light now sort of works. When light propagates through a semitransparent block (like ice or water), it will not be calculated correctly.

Update - sky light seems to be completely working from my testing, but performance is abhorrent and block light is untested (but might work, who knows).

Performance fixed up. Will start on block light soon.

Which mostly means writing some unit tests for it and then figuring out why it's borked.

Nevermind, tested it and it works.


RTL referencedViewForPhotoAt issue

@tungvoduc it's me again with the RTL :)
Could you please have a look on referencedViewForPhotoAt method with the RTL layout.
It returns invalid index,
Thanks again!

@a-hasan You seem to like my libraries ;) Thanks for the support.
I will check and fix it asap.

@tungvoduc yes, they are helpful and valuable libraries :)

@a-hasan Everything seems to work fine for me. I am using UICollectionView and it supports RTL layout automatically. Could you please tell me how to reproduce the bug?

@tungvoduc After DTPhotoViewerController display the selected photo and when the user close
it to back to the gallery referencedViewForPhotoAt is called with invalid index which cause the returning animation goes to different photo of the selected one .
I think the issue in those lines :
public var currentPhotoIndex: Int {
if scrollDirection == .horizontal {
if scrollView.frame.width == 0 {
return 0
}
return Int(scrollView.contentOffset.x / scrollView.frame.width)
}
else {
....
}
}
because with RTL layout first item will be with the offset of last item in case of LTR.

@a-hasan Issue fixed in newly released version 3.1.0.

@tungvoduc Every thing is working fine now, thanks!


route_check_tool: add new detailed-coverage flag

Commit Message:
route_check_tool: add new detailed-coverage flag
Additional Description:
Add a new flag to enable displaying/printing not covered routes in non-comprehensive code coverage mode.
Currently,  you can see missing tests/not covered routes only if you use comprehensive code coverage mode (--covall). These changes enable this feature for non-comprehensive mode.
Docs Changes:
route_table_check_tool.rst has been updated
Fixes #28709

@seventhscream PTAL


Wood spawn indicator

We've talked about maybe having some kind of indicator for wood spawning that's visible to the player under all circumstances (including wood spawning in darkness). Maybe something like a short animation that plays (once) at the spawn location?
The more i think about it in terms of designing a coherent gameplay loop, the more sense a system like this makes, for multiple reasons. Would be great to have, though not essential by any means. Medium priority I guess.

Let's see how it feels without the wood ever being visible.
I think it could also be cool, if the player has to wander out into the unknown, without any goal or direction.

On wood spawn, spawn entity with animation, delete when animation done.


release for sbt 1.0.0-RC3?

would be nice

Back-released 2.0.0: http://dl.bintray.com/sbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.12/sbt_1.0/2.0.0/jars/

thanks Dale!


🚧Fix all pwsh env references

Preview Feature Pull Request
📋Review Checklist📋

[x] The head(source) branch for this pull request is a preview feature branch, with the correct naming syntax, in the following example:

A head(source) branch is the branch being merged into a target branch.
Example
Syntax: preview/feature/<issue-num>-<description>
Example: preview/feature/123-my-preview-feature

[x] The head(source) branch for this pull request is created from a preview release branch, with the correct naming syntax, in the following example:
Example
Syntax: preview/v<major>.<minor>.<patch>-preview.<prev-num>
Example: preview/v1.2.3-preview.4

[x] The base(target) branch for this pull request is a preview release branch, with the correct naming syntax, in the following example:

A base(target) branch is the branch that the head(source) branch is merging into.
Example
Syntax: preview/v<major>.<minor>.<patch>-preview.<prev-num>
Example: preview/v1.2.3-preview.4

💡For more information on branching, refer to the project's branching documentation.

[x] Associated issue exists and is linked to this pull request.

One issue per pull request.

[x] Pull request title matches the title of the associated issue.

[x] A preview label has been added to the pull request.

[x] The labels attached to this PR match the labels attached to the associated issue.

[x] Project assigned matches the project of the associated issue.

[x] Milestone assigned matches the milestone of the associated issue.

[x] My code follows the coding style of this project.

The style is enforced by the .editorconfig files in the project and displayed as warnings.  If there is an edge case, reach out, and let's discuss it.

[x] I have manually tested my code changes to the best of my ability.

[x] All tests passed locally.

This is required because unit tests might pass locally but not in the CI environment during the status check process or vice-versa.
Tests might pass on the developer's machine but not necessarily on the code reviewer's machine.
Status checks run for this pull request when merging into the preview/v*.*.*-preview.* branch.  These status checks run every time a change is pushed to the pull request.  These checks validate version syntax, tagging, builds, unit tests, and more.

PR closed
Reason:
Work performed on PR https://github.com/KinsonDigital/Partithyst/pull/6


Actor.CreateFrom - functions ignore rotation

An initial rotation as passed in the transform in Actor.CreateFromGLTF or Actor.CreateFromLibrary is ignored. Scaling and positioning works fine, but rotation has no effect.
UPDATE: Rotation gets ignored if one creates a bunch of similar objects in one function call (like a circle of candles or standing stones) and doesn't wait for the ForwardPromise getting fully resolved.
WORKAROUND: Use

actorVar = await Actor.CreateFromLibrary(...)

rather than

actorVar = Actor.CreateFromLibrary(...).value

.
Related comment: https://altspacevrsdk.slack.com/archives/C0M6J4YBG/p1545414641022300

If I'm reading our loader code right, we generate a unique ID node-side for each call, but the actual GameObject unity-side never gets associated with it, it gets generated a second ID after it's loaded. So updates to the original ID don't affect the Unity scene.

@willneedit Can you provide sample code for repro?

      	let i = 0;
	for (i = 0; i < 360; i = i + 40) {
	    const triggerPromise = Actor.CreatePrimitive(this.context,
            {
                definition: { shape: PrimitiveShape.Box, dimensions: new Vector3(0.5, 0.5, 0.5)},
                actor: {
                    name: 'test ' + i,
		    transform: { rotation: Quaternion.RotationAxis(Vector3.Right(), i * DegreesToRadians) }
                }
            });
	    const trigger = triggerPromise.value; // or await triggerPromise
	}

Expected: A star-shaped object consisting of nine boxes, overlaying each other and evenly rotated
Got: What looks like two boxes, one at a fourty degrees angle rotated in relation to the other one.

@willneedit I copied your code verbatim and it appears to have worked correctly. Here's what I see in Unity:

Here it is in Altspace:

Does that look right to you?

Looks pretty much correct to me. I'll have to investigate further...

Ok. Let us know what you find. If you'd like a second pair of eyes on your project I'd be happy to take a gander.

For another object, I try to create a keyboard using the following code snippet:
        for (i = 0; i < 39; i++) {
            const xpos = (i % 8) * 0.10 + -0.35;
            const ypos = Math.trunc(i / 8) * -0.10 + 0.20;

            const key = Actor.CreatePrimitive(this.context,
                {
                    definition: { shape: PrimitiveShape.Box, dimensions: new Vector3(0.09, 0.09, 0.01)},
                    addCollider: true,
                    actor: {
                        // parentId: rootNode.id,
                        transform: { position: { x: xpos, y: ypos, z: 0 }},
                        name: 'button ' + i
                    }
                }).value;
            key.setBehavior(ButtonBehavior).onClick('pressed', (userId: string) => this.keypressed(i));
        }

Basically, place an eight by five panel of buttons, with the one on the lower right being left out. When I trigger the function from onUserJoined(), everything pans out okay. But when used from onStarted(), this function (seemingly) creates nothing.
Replacing const key with const keyPromise and then awaiting on the promise draws all the keys but the first when used in onStarted().
In addition I had used a root transformation (see parentId property), but when I instantiated an empty actor and awaited on this, the root transformation was missing and the first key was drawn.
So, in essence, even when trying to sync things, the very first instantiated actor falls under the table, when used from onStarted() rather than onUserJoined().
Not sure if it rates as a bug but rather a caveat, to think twice about building up any geometry in onStarted() but wait for it until the first user announced itself in onUserJoined(). Worse if it's a timing issue, and that may account for the spurious problems with the HelloWorld example.

Oh interesting. My code was in the onUserJoined() handler. When I move it to onStarted(), nothing shows up. That's definitely a bug. We want any kind of actor creation to succeed when initiated from onStarted().


graphics: Edges must be anti-aliased when the filter is the linear filter

Sometimes antialiasing doesn't work.

https://github.com/hajimehoshi/ebiten/issues/663 FXAA would solve this

Duplicated with #663


Refactor/model

So to install with pip install -e . this required me to change the src/p2lab to src/P2Lab, but that's an issue because it's now decided all the files are new? 🤷♀

There's a lot done here, everything seems to be working from start to finish in a very barebones not really doing much fancy stuff and the logic might be flawed for the GA. But I think from here it's worth merging to main and branching from this going forward!

FYI 08:11 minutes to run 10x generations of 10x teams of 6 Pokemon with 10x matches between each other team


Installation errors using conda/bioconda

conda install confindr
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:

conda install -c bioconda confindr

Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment:
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
UnsatisfiableError:
????

Hi ajkarloss,
What version of conda/python are you using?

Thanks, We fixed it already. Are you guys planning to add this tool to GalaxyTool shed?

Another group has already put confindr on Galaxy Tool Shed:
https://toolshed.g2.bx.psu.edu/repository?repository_id=cfe0b71273fe28e3&changeset_revision=c8158764b7a7


Update Restore-AzureADDeletedApplication.md

Add note indicating service principal needs to be created after application restore.

@PatAltimore,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Warning] No file found, nothing will be generated. Please make sure docfx.json is correctly configured.

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

@PatAltimore - looks like the build failed.  Can you try reformatting your note section to the correct format for note sections in MarkDown:
[!NOTE]
This is where the text lives after a note after the note tag has been added.

@TaraMeyer  Thanks.  I updated the note.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Warning] No file found, nothing will be generated. Please make sure docfx.json is correctly configured.

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

@TaraMeyer Seems like it still failed.  I'll use standard markdown and try again.

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Warning] No file found, nothing will be generated. Please make sure docfx.json is correctly configured.

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

@PatAltimore,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Warning] No file found, nothing will be generated. Please make sure docfx.json is correctly configured.

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

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Warning] No file found, nothing will be generated. Please make sure docfx.json is correctly configured.

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

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Error] Build cache was corrupted, please try force rebuild build --force or clear the cache files in the path: %_op_cacheFolder%/azureps-azuread. Detail error: Last build hasn't loaded model azureadps-2.0/AzureAD/Restore-AzureADDeletedApplication.md.
[Warning] No file found, nothing will be generated. Please make sure docfx.json is correctly configured.

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

@PatAltimore - yes I tried to fix on my end as well with the same results.

@TaraMeyer Thanks!

@PatAltimore,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Azure AD Cmdlets/AzureAD/v2/Restore-AzureADDeletedApplication.md
:white_check_mark:Succeeded

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

@PatAltimore - the issue was a bug, all is resolved now.  I've merged to master and pushed live.

@TaraMeyer - Cool.  Thanks!


"level=error msg="could not queue event" component=Agent entityKey= error="Could not queue event: Queue is full"

Description
We've struggled with a new bug that infected the Newrelic agent to stop running.

Expected Behavior
Restart the service automatically when something happens to the agent...
Troubleshooting or NR Diag results

Steps to Reproduce
Restart the 'newrelic-infra' service
Your Environment
Ubuntu (Happened to varied versions)
New Relic Infrastructure Agent version: 1.8.23
Additional context
We've got other log content from other servers:
"""
level=error msg="metric sender can't process" component=MetricsIngestSender error="error sending events: Post https://infra-api.newrelic.com/infra/v2/metrics/events/bulk: net/http: request canceled (Client.Timeout exceeded while awaiting headers)" postCount=2189248 sendErrorCount=20
"""
"""
level=error msg="metric sender can't process" component=MetricsIngestSender error="InventoryIngest:  events were not accepted: 500 500 Internal Server Error
"""
Those servers have other versions of agents:

New Relic Infrastructure Agent version: 1.12.3, GoVersion: go1.14.4, GitCommit: e0e2ab7155e79c483180fc0931c699e198807f7b\
New Relic Infrastructure Agent version: 1.11.45, GoVersion: go1.10.8, GitCommit: f3a73a8090908bb59673134e233b8af081250877

This might be related to an ongoing incident with infrastructure backend, please check status.newrelic.com

If the backend is temporarily unreachable the agent will keep retrying (with exponential backoff) until some thresholds are reached. Are the agents behaving as expected now or do you still see the errors? If you still need troubleshooting help in your environment please check support.newrelic.com

Currently, everything is working fine. I just wanted to understand the meaning of the issue and if anything could be done about it. Maybe even create a script that restarts the agent when the problem recurs.


Local build on ARM fails

The everything apps depend on mockerserver. That image is only available on amd64 platform and causes timeout when running on arm. Therefore build will fail. There is no available alternative image which does support that platform. How to deal with this? Just mention in contribution.md? Make the tests using mockserver platform dependant? Any other thoughts?

@KyleAure what are you're thought on this? It's quite annoying as I'm dependant on the CI for building this project because I've an ARM based machine.


Package not recognized if I install through pnpm

I installed the package through pnpm and the component is being recognized. Even if I add import manually import { MuiFileInput } from 'mui-file-input'

Hello !
Do you have a codesandbox for repro plz ?


mkcloud: test fix xen reboot bug

https://trello.com/c/1zhuA44m/46-debug-memballoon-xen

The initial approach did not work. Trying now with disabled memballoon driver - which seems to have been intended already, but defaulted to virtio one.


operator: example uses broken image

$ test/start-operator.sh
Deploying '/nvme/gopath/src/github.com/intel/pmem-csi/operator/deploy/operator.yaml'...
serviceaccount/pmem-csi-operator unchanged
role.rbac.authorization.k8s.io/pmem-csi-operator configured
clusterrole.rbac.authorization.k8s.io/pmem-csi-operator unchanged
rolebinding.rbac.authorization.k8s.io/pmem-csi-operator configured
clusterrolebinding.rbac.authorization.k8s.io/pmem-csi-operator unchanged
deployment.apps/pmem-csi-operator created
PMEM-CSI operator is running. To try out deploying the pmem-csi driver:
    cat operator/examples/pmem-csi.intel.com_v1alpha1_deployment_cr.yaml | /nvme/gopath/src/github.com/intel/pmem-csi/_work/pmem-govm/ssh.0 kubectl create -f -
cleaning up temp folder: /tmp/tmp.QFkHuVNfqB
$ cat operator/examples/pmem-csi.intel.com_v1alpha1_deployment_cr.yaml | /nvme/gopath/src/github.com/intel/pmem-csi/_work/pmem-govm/ssh.0 kubectl create -f -

This should bring up the driver, but that currently fails because operator/examples/pmem-csi.intel.com_v1alpha1_deployment_cr.yaml hard-codes an image that cannot be pulled (uses <IP_ADDRESS>:5000, which isn't correct for me).
It would be better to not use an image and then let the operator figure it out.

Fixed in #584

Fixed.


OP-22001 Added Auto Configuration to create datadog beans

Jira : https://devopsmx.atlassian.net/browse/OP-22001
Summary :
Datadog Configurations scanning was missing, lead to datadog bean creation issue, lead to missing components on UI.
Two possible ways :

use @ComponentScan & scan the config files (as already happenend for all modules - config files in Kayenta)
use Auto Configuration
using method2 in this PR as suggested by @sanopsmx & asked by @rakeshkrmeena

Testing :

Tested on local - able to fetch datadog accounts in local using kayenta-web/config/kayenta.yml config
Tested on remote - able to see datadog metric & metric aggregation fields on UI & able to fetch datadog accounts in logs

this could be a silly question but what if a customer does not have Datadog?
maybe Prometheus??

this could be a silly question but what if a customer does not have Datadog? maybe Prometheus??

imo, we(oss + oes) are only scanning required monitoring tools beans.
Dont know why all configs are not part of scan - either a miss or intentional.
Ref : https://github.com/spinnaker/kayenta/blob/b7e5c82a3db7f199e3fcd2766ee7298475934f78/kayenta-core/src/main/java/com/netflix/kayenta/config/KayentaConfiguration.java#L54
Pls let me know your opinion.


HTTP: delete Content-Encoding and Content-Length headers after decompression

We got following conclusions from #4957.

keep consistency by deleting some headers after decompression
FYI: Go lang sets Uncompressed flag when the body is decompressed.

This PR provides the former and solves consistency problem I'm facing.
# pseudo code
io  = some_compressed_http
res = HTTP::Client::Response.from_io(io)
io  = res.to_io
res = HTTP::Client::Response.from_io(io)
io  = res.to_io
res = HTTP::Client::Response.from_io(io)
... # This works well infinitely

Since some discussion is necessary and the amount of change is further increased,
I'd like to divide the latter issue into other PR.
Thank you,

We need to yield an extra uncompressed flag from this method, and use it in HTTP::Response, etc.

@maiha are you still working on this?
If not I can try and take it over.

@RX14 can this PR be closed? it seems abandoned

This is, as far as I can tell, the only record of an unsolved issue. So unless someone wants to make an issue to replace this PR it shouldn't be closed.


Integration tests for passive sts logout wreply url validation

This PR adds integration tests for logout wreply url in passive sts .
Related PRs

https://github.com/wso2/carbon-identity-framework/pull/5129
https://github.com/wso2-extensions/identity-inbound-auth-sts/pull/144

Can't we improve the test case to check the below scenarios

Send a different logout URL than the one configured
Not sending the reply to url
Not sending the reply to URL and realm

Can't we improve the test case to check the below scenarios

Send a different logout URL than the one configured
Not sending the reply to url
Not sending the reply to URL and realm

Added more test cases

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/6845738331

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/6845738331
Status: success


Fixed issue #1100

Signed-off-by: Rishabh Khanna<EMAIL_ADDRESS>

@Rishabhk07 Please give a link to the live gh-pages :)

@Rishabhk07 Great work! Please provide live link to the app.

https://rishabhk07.github.io/open-gh/tracks.html
i had edit the FossAsia16 zip for 2 speakers on same track, it can be seen in Grand Opening track

Codecov Report

Merging #1106 into development will increase coverage by 0.13%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           development    #1106      +/-   ##
===============================================
+ Coverage        62.42%   62.56%   +0.13%
===============================================
  Files                8        8
  Lines             1344     1349       +5
  Branches           210      210
===============================================
+ Hits               839      844       +5
  Misses             505      505

Impacted Files
Coverage Δ

src/backend/fold.js
85.08% <0%> (+0.18%)
:white_check_mark:

Continue to review full report at Codecov.

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

@aayusharora i have removed the space and formatted the code, please review :)


Bug: In user.cfg kernel src path defined but defconfig files not showing properly.

when manually adding kernel src path on prompt it is showing all present defconfigs properly but when its defined in user.cfg then its showing like this.
1 *_defconfig
2 vendor/*_defconfig

What the output of
uname -a && bash --version | grep bash && ps -p $$

Linux kubuntu 6.0.6-x64v2-xanmod1 #0~20221029.150b113 SMP PREEMPT_DYNAMIC Sat Oct 29 19:07:24 UTC  x86_64 x86_64 x86_64 GNU/Linux
GNU bash, version 5.2.2(1)-release (x86_64-pc-linux-gnu)
    PID TTY          TIME CMD
 383032 pts/1    00:00:00 bash

@mmtrt fixed by #755 (happened if you added a / at the end of the kernel path).
Thanks for reporting 🙏


Can I use Godot to connect a UDP Remote Node.js Server?

Godot version:
3.1
OS/device including version:
Windows 8.1
Issue description:
I expected UDP to work but it doesn't work. I am so sorry if I opened this issue to wrong place but I need to know if Godot Engine runs as client with Node.js UDP server. My server's public IP is for example <IP_ADDRESS>, and port that server listen is 6667, I am binding it with socket.bind(6667) in node.js, and in Godot, I am calling set_dest_address("<IP_ADDRESS>", 6667), but my server doesn't connect, doesn't give any error, doesn't say anything at all. I am not sure if this is issue or something but some people said Godot UDP doesn't work with Node.js UDP but in localhost, it works. I am so sorry if I am wrong.

No need to apologize!
But could you please provide a more descriptive title so that users who know about networking can assist you.
Thanks!

No need to apologize!
But could you please provide a more descriptive title so that users who know about networking can assist you.
Thanks!

I am so sorry, I noticed I omitted the title now. Yesterday, I saw my own online game in action, so I was so excited. But it was connecting with TCP so I tried the alter it as it uses UDP.

CC @godotengine/network

@Sphynxinator yes, UDP does work with servers written in other language.
UDP is a connectionless protocol, so you will never get a "connection", when you set_dest_address you are just setting the destination of the following sent packets.
Use put_packet to send data to that destination after it.

@Sphynxinator yes, UDP does work with servers written in other languages.
UDP is a connectionless protocol, so you will never get a "connection", when you set_dest_address you are just setting the destination of the following sent packets.
Use put_packet to send data to that destination after it.

Hi. I am already sending with put_packet with Godot, but the message event of Node.js server doesn't get emitted.

@Sphynxinator is the server behind a firewall? Did you open the necessary ports (UDP!)?
Can you make a minimal reproduction project (and server) so I can verify it?

How can I know if my server is behind a firewall? Which ports do you mean? I am not sure that I can make a minimal project because you couldn't access my server. I can make it connect to localhost, and if it connects to the localhost, it doesn't give error but the situation is not that. I want to run it on my server. Can you please give me an idea how can I share minimal project without localhost? Sorry if I am a nuisance. :(

@Sphynxinator just attach the server and client code, I'll try it on my own server.

How can I know if my server is behind a firewall?

Well, they usually are, it depends on your server, on linux iptables -L would show iptables rules for the machine, but the server might have extra protection from your service providers. You should check with them.

Which ports do you mean?

6667 UDP

UDP.zip
Sorry for the late answer. I made two projects, client with Godot, server with Node.js.
By the way, my server is Linux, Amazon Linux 2 to be exact. I think, it's CentOS 7 or something. But I am testing on Windows 8.1.

Update. I am so noob. I fixed that issue now. I closed that UDP:4666 connection on Security Group. You can close the issue, it's not Godot related. Godot works the best.

Hi,
@gd-com/utils is an npm pacakge who manage binary serialization / deserialization, for example to send var from godot to nodejs :)
Enjoy


Ordering of with_generators arguments

I hope I'm not being a nuisance by putting in an issue for this, but I was wondering if I could put in a PR for the argument ordering of with_generators to make it consistent with for_steps.
Currently, to load generators, I have to write:
trial.with_generators(trL, val_generator=deL, test_generator=teL)

It would be nice if I could instead write the following, especially since there's already a for_steps function that take in the train_steps, val_steps, and test_steps arguments in between the generator arguments:
trial.with_generators(trL, deL, teL)

Please let me know if this sounds reasonable, and again, I hope I'm not being a bother by making this suggestion.

That sounds reasonable, arguments should ideally be consistent with the for_steps method. Happy for you to open a PR :)


Tree shaking

added pure annotations for top-level functions

what if we make chain etc side effects free? Would this work as well?

i'm not sure that it will gain some improvements here but it is safe so we can

__NO_SIDE_EFFECTS__ annotation is supported only by rollup and esbuild. terser and uglifyjs doesn't support it.
google closure compiler work with @nosideeffects but not __NO_SIDE_EFFECTS__
I think it is too early to migrate to this annotation, it should be adopted well before

Got it.
Why does support by minifiers matter though? The build is usually done by bundlers first, because minifiers lack some features. After that, minifier does a second pass, on a bundled code.

I found this thread by Ivan Akulov
https://twitter.com/iamakulov/status/1353650608750825472
tldr;
webpack still relay that dead code elimination (and tree-shaking) would be done by terser (or other minifier) so it is important

I've just tested esbuild and the PURE annotations don't work.
import { base64url } from '@scure/base';
base64url.encode('a')

{
  "name": "build",
  "private": true,
  "version": "1.0.0",
  "main": "input.js",
  "type": "module",
  "devDependencies": {
    "@scure/base": "..",
    "esbuild": "0.17.19"
  },
  "scripts": {
    "build": "npx esbuild --bundle input.js --outfile=scure-base.js --global-name=scureBase"
  }
}

Exported properties are still kept. Any ideas why?

#16


unwrap() called on None panic when parsing qasm3 generated by Qiskit

In attempting to load the qasm using the Qiskit importer I received an internal panic in oq3_semantic that it was running unwrap() on a None value:
thread '<unnamed>' panicked at [/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/oq3_semantics-0.0.7/src/syntax_to_semantics.rs:254:44](http://localhost:8888/root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/oq3_semantics-0.0.7/src/syntax_to_semantics.rs#line=253):
called `Option::unwrap()` on a `None` value

It looks like here: https://github.com/Qiskit/openqasm3_parser/blob/3e9a05b79f19c756a7dec9e20ca2943060d23dd8/crates/oq3_semantics/src/syntax_to_semantics.rs#L253 the lhs of the BinExpr is None. My assumption this is coming from the custom gate definitions in the qasm. If so and this is just a duplicate of #82 we can close this as such, it just wasn't the most obvious error message so I wasn't 100% and opened an issue.
The qasm file
OPENQASM 3.0;
include "stdgates.inc";
gate rccx _gate_q_0, _gate_q_1, _gate_q_2 {
  u2(0, pi) _gate_q_2;
  u1(pi/4) _gate_q_2;
  cx _gate_q_1, _gate_q_2;
  u1(-pi/4) _gate_q_2;
  cx _gate_q_0, _gate_q_2;
  u1(pi/4) _gate_q_2;
  cx _gate_q_1, _gate_q_2;
  u1(-pi/4) _gate_q_2;
  u2(0, pi) _gate_q_2;
}
gate sxdg _gate_q_0 {
  s _gate_q_0;
  h _gate_q_0;
  s _gate_q_0;
}
gate xx_minus_yy_126160435882640(_gate_p_0, _gate_p_1) _gate_q_0, _gate_q_1 {
  rz(-1.6565605764620428) _gate_q_1;
  rz(-pi/2) _gate_q_0;
  sx _gate_q_0;
  rz(pi/2) _gate_q_0;
  s _gate_q_1;
  cx _gate_q_0, _gate_q_1;
  ry(3.02874427413078) _gate_q_0;
  ry(-3.02874427413078) _gate_q_1;
  cx _gate_q_0, _gate_q_1;
  sdg _gate_q_1;
  rz(-pi/2) _gate_q_0;
  sxdg _gate_q_0;
  rz(pi/2) _gate_q_0;
  rz(1.6565605764620428) _gate_q_1;
}
bit[3] c;
qubit[3] q;
rccx q[1], q[2], q[0];
h q[1];
t q[2];
p(0.7419890998827317) q[0];
sxdg q[0];
xx_minus_yy_126160435882640(6.05748854826156, 1.6565605764620428) q[2], q[1];
c[0] = measure q[0];
c[1] = measure q[1];
c[2] = measure q[2];

The qasm was just generated with:
from qiskit.circuit.random import random_circuit
from qiskit.qasm3 import dump

qc = random_circuit(3, 3, measure=True, seed=1234)
with open("qasm3_failure.qasm", "w") as fd:
    dump(qc, fd)

Thanks for the report. The current main branch of openqasm3_parser parses your example above without panic and without reporting syntax or semantic errors.
I'll release a version. I don't think I changed the API, but I have not been testing carefully with the qiskit importer.

If I run qiskit.qasm3.load_experimental(filename) with the current main branch of the parser, importing fails with
QASM3ImporterError: "can't handle non-built-in gate: 'rccx'"

Importing gate definitions has not yet been implemented in the importer.
I also had to add a couple of enum variants to a default match arm, because the importer lists all variants individually. I have been adding variants as I add support for parts of the langauge.
I should probably close #82 as it is rather irrelevant at the moment.

I just made this release https://github.com/Qiskit/openqasm3_parser/releases/tag/0.2.0
This produces the behavior in the previous comment. Namely, there is no longer a panic. But a QASM3ImporterError error is raised because the example code is not supported by the importer.

Adding a dbg! shows that the panic is indeed when analyzing u1(-pi/4) _gate_q_2; . And the problem is the unary minus.
This is a dup of #81, which was fixed in #92 .


Mean calculation

Hi,
CPDB calculates the mean values in the output file "means.txt" as the mean between interaction partner_a & partner_b.
Problem_1:
A high mean might be misleading if partner_a has a very high value and partner_b has a very low value.
Is there really a strong biological interaction if there is plenty of ligand (partner_a) but nearly 0 expression of the receptor (partner_b)?
The most simple solution would be to filter out low expressed genes before CPDB analysis.
But because CPDB tests for specifity and even low expressed interactions have an impact, we do not filter these genes out but rather do not use the mean of these interactions and instead mark them as "low" expressed.
Would be great if a user-definded threshold could be implemented which returns a "low" mean instead of a number for all interactions where one partner is below the treshold.
Problem_2:
For interaction partner with several assigned Ensembl_IDs like LTR4B (ENSG00000213903 & ENSG00000285456), CPDB calculates the mean rather than the sum. This will result in a decreased value of these genes and thus the mean of their interactions.
It would be better to sum up all genes which code for the same protein.
Example for LTR4B:
ENSG00000213903 = 2000 norm. counts
ENSG00000285456 is not found and thus 0
LTR4B value would be 1000 which is used for the mean calculation of all LTR4B-interactions.
This effect is worse for genes with more IDs like AGER (7 Ensembl-IDs).

Dear Leonhard2000,
Thank you for your insightful discussion.
Regarding the Problem_1, using the mean has advantages and disadvantages. You can set the -percent threshold to limit the inclusion of genes expressed by a low proportion of cells.
Regarding the Problem_2, this is a general issue aligning Ensembl-Uniprot. That you for raising, we will debate it. Meanwhile, you can translate Ensembl_IDs into gene symbols and use your preferred metric to aggregate multiple signals.
Best,
Luz

Thanks Luz,
yeah that is a workaround for Problem_2.
But in Problem_1 I mean the expression value (e.g. normalized counts, TPM, RPKM, ...) and not the % of cells expressing the gene.
Example 1:
100% of cells express the ligand with a value of 500 and the receptor with a value of 500
CPDB mean would be 500
Example_2:
100% of the cells express the ligand with a value of 1000 and the receptor with a value of 2
CPDB mean would be 501
Interpretation:
In my perspective the second interaction is not "stronger" than the first one and should be interpreted with caution because the receptor is nearly 0 which would mean no interaction.
My solution so far with Excel:
Use input_counts and manually calculate each ligand and receptor value and give a "warning" if one/both are below a defined threshold.
Problem:
Not all researcher are aware of this problem and CPDB has all data to provide these "warnings" on its own if a threshold value is given.


Nmap port scan crashes the entire app on iOS 16

Description
Running a nmap port scan crashes the entire app, for some reason
Steps to reproduce
Steps to reproduce the behavior:

Use the code below.
Run the command nmap -p 5555 IP_HERE
App crashes, with no output

Code:
This is how my server is defined
const options = {
    port: 5555,
    host: '<IP_ADDRESS>',
};

let senderSocket: TcpSocket.Socket;

const server = TcpSocket.createServer(function(socket) {
    socket.on('data', (data) => {
        console.log('data'); // Does not fire on nmap
        socket.write('Echo server ' + data);
    });

    socket.on('error', (error) => {
        console.log('An error occurred with client socket ', error);
    });

    socket.on('close', (error) => {
        console.log('Closed connection with ', socket.address(), ` error = ${error}`);
    });

    senderSocket = socket;

}).listen(options, () => {
    console.log(server.address())
});

server.on('error', (error) => {
    console.log('An error occurred with the server', error);
});

server.on('close', () => {
    console.log('Server closed connection');
});

App logs:
Logs for your project will appear below. Press Ctrl+C to exit.
iOS Bundling complete 874ms
 LOG  {"address": "<IP_ADDRESS>", "family": "IPv4", "port": 5555}

Nmap logs:
Starting Nmap 7.93 ( https://nmap.org ) at 2023-04-23 00:31 CDT
Nmap scan report for <IP_ADDRESS>
Host is up (0.026s latency).

PORT     STATE SERVICE
5555/tcp open  freeciv

Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds

Current behavior
Crashes on nmap.
Expected behavior
No crash occurs
Screenshots
May add video later
Relevant information
Dependencies (I am using expo if that matters):
  "dependencies": {
    "expo": "~48.0.11",
    "expo-network": "~5.2.1",
    "expo-sensors": "~12.1.1",
    "expo-splash-screen": "~0.18.1",
    "expo-status-bar": "~1.4.2",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.71.6",
    "react-native-tcp-socket": "^6.0.6"
  },
  "devDependencies": {
    "@babel/core": "^7.20.2",
    "@types/react": "~18.0.24",
    "@types/react-native": "~0.70.6",
    "expo-dev-client": "~2.2.1",
    "metro-hermes-compiler": "^0.76.0",
    "typescript": "^4.8.4"
  },

OS:
OS: macOS 13.3.1 22E261 arm64
Host: MacBookAir10,1
Kernel: 22.4.0
Uptime: 2 days, 6 hours, 29 mins
Packages: 75 (brew)
Shell: zsh 5.9
Resolution: 1440x900
DE: Aqua
WM: Quartz Compositor
WM Theme: Blue (Dark)
Terminal: iTerm2
Terminal Font: Monaco 12
CPU: Apple M1
GPU: Apple M1
Memory: 1546MiB / 8192MiB

Phone:
iPhone 14 Pro
iOS 16.4.1

~(Will test on android later)~
Edit: Does not crash on Android (Galaxy A14 5G, Android 13). But gives useful error. Will investigate

Further information: First of all, ios crash report
Second of all, the error defined by Android 13 was a "socket is closed" error. The error has no type/class, just Error.
Third, the iOS crash video, and the Android crash video.
Fourth, the offending line was in a function I didn't include. This function is called every ~200ms so that was a big oversight by me.
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    senderSocket.write(`${msg}\n`);
}

A quick fix involves simply adding a try/catch like so:
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    try {
        senderSocket.write(`${msg}\n`);
    } catch (e) {
        // @ts-ignore
        console.log(e.constructor.name)
    }
}

However, this results in console spam similar to to that in the Android video, e.g
500 above ...
 LOG  Error
 LOG  Error
 LOG  Error
500 below ...

So that suggests that it's attempting to write to the long closed socket forever. Any ideas on how to fix that?

Further information: First of all, ios crash report
Second of all, the error defined by Android 13 was a "socket is closed" error. The error has no type/class, just Error.
Third, the iOS crash video, and the Android crash video.
Fourth, the offending line was in a function I didn't include. This function is called every ~200ms so that was a big oversight by me.
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    senderSocket.write(`${msg}\n`);
}

A quick fix involves simply adding a try/catch like so:
function writeToSocket(msg: string) {
    if (! senderSocket) {
        return;
    }
    try {
        senderSocket.write(`${msg}\n`);
    } catch (e) {
        // @ts-ignore
        console.log(e.constructor.name)
    }
}

However, this results in console spam similar to to that in the Android video, e.g
500 above ...
 LOG  Error
 LOG  Error
 LOG  Error
500 below ...

So that suggests that it's attempting to write to the long closed socket forever. Any ideas on how to fix that? I can add a initial handshake message in my client, but i'd rather fix this issue on the server.
Related: #167, #165, #54


Refine Virtual Scrolling Tables

Enabled Word Wrapping
Fixed an error where the projection dialog did not apear in the agenda
Better promise handling to decide between motion table and tiles
Fixed a projector permission bug
disabled mat-row stagger animation
Exchanged ngrid-grey theme with OpenSlides mat-card background. Looks cleaner
Some CSS changes to give a more seamless VScroll experience

These minimal changes should have a big effect.
I suppose they are safe to roll out the way they are.

Good work!


FileNotFound error

Hello,
While executing the command python model.py the following error occurs:
FileNotFoundError: [Errno 2] File driving_log.csv does not exist: 'driving_log.csv'

Could you help me understand the reasoning behind this error/how to resolve it? Thanks

Hey,
before training the model you have to generate the training data (images and driving_log.csv) with the Udacity Self-Driving Car Simulator. I probably should provide a more meaningful error message - sorry for that.
Best regards,
Patrick