chore(deps): update common-dev-assets digest to f0d2efd

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
d1bcbc8 -> f0d2efd

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

:tada: This PR is included in version 1.41.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix 'wd show' for directories within $HOME

Please post this PR to the official repo and we'll update the plugin once a new version is released.


Not all CybOX 2.x objects can be converted

In version 1.0 of the elevator, we only implemented the conversion of a subset of the CybOX 2.x objects that could be represented in STIX 2.0.  This subset was informed by the DHS NCCIC AIS profile for STIX 1.x.
For instance, X509 Certificates and UserAccounts are not handled by the elevator.

Is this a duplicate of #50?

Duplicate of #50


Escape columns according if using database specific Query classes

Description
I did not saw in the documentation how to escape the columns, and I expected this library to do it in a way or another. In my case I expected it to automatically escape the columns.
Reproduce
Save the following code in a file test.py
from pypika import MySQLQuery, MSSQLQuery, PostgreSQLQuery, Table

table = Table("user")
mysql_query = MySQLQuery.from_(table).select("id", "external_id", "name", "from", "user")
mssql_query = MSSQLQuery.from_(table).select("id", "external_id", "name", "from", "user")
postgresql_query = PostgreSQLQuery.from_(table).select("id", "external_id", "name", "from", "user")
mysql_query_string = mysql_query.get_sql()
mssql_query_string = mssql_query.get_sql()
postgresql_query_string = postgresql_query.get_sql()

print("**** MySQL QUERY ****")
print(mysql_query_string)
print("**** MSSQL QUERY *****")
print(mssql_query_string)
print("**** PostgreSQL QUERY *****")
print(postgresql_query_string)

See the output in console.
python test.py

**** MySQL QUERY ****
SELECT id,external_id,name,from,user FROM user
**** MSSQL QUERY *****
SELECT id,external_id,name,from,user FROM user
**** PostgreSQL QUERY *****
SELECT id,external_id,name,from,user FROM user

Expected result
To see in console the escaped columns.

Maybe this could be opt-in in a way or another, meaning if you decide to resolve this issue,

to make the library to automatically escape the columns, with an option in a defined location (on the class level?) to let the developer to disable this behavior (like .select("id", "user", escape=False))
to make the library not to do anything without the developer to specify wether he want to escape columns or not (like .select("id", "user", escape=True))

This goes beyond the scope of this issue (for the moment?), but maybe extend this escape feature to table names also?

By escape do you mean wrapping column references with quotes? If I run your sample code I get the following result:
**** MySQL QUERY ****
SELECT `id`,`external_id`,`name`,`from`,`user` FROM `user`
**** MSSQL QUERY *****
SELECT "id","external_id","name","from","user" FROM "user"
**** PostgreSQL QUERY *****
SELECT "id","external_id","name","from","user" FROM "user"

I'm not terribly familiar with mssql, however, I believe there are some people who use pypika with mssql, this dialect specific class was contributed by one of them, and they didn't set the quote character. Maybe the double quote works as well as brackets?
What version of pypika are you using?

After running pip list I got
...
PyPika        0.9.4
...

you've got a really old version. Can you please upgrade to the latest?

It worked, I upgraded to 0.38.* and it correctly returned the expected output. Got baited by the published tags (did not browsed the last version on PyPI).

good to hear :) thanks for reporting anyway. If you run into any other issues, please don't hesitate to open another ticket.


typo in fuse-ios and fuse-android "about" descriptions

Since those repositories don't have issues enabled and the "about" section can't be changed from a pull request I'm reporting it here.
They both say hybdrid natrive-web, I think it should be hybrid native-web.
Also in fuse repository "about" section it says hybdrid web-native, I think it should be hybrid web-native.
But also for consistency, I think all the repositories should use the same term, web-native or native-web, but the same in all of them.

Thanks for pointing that out, I've corrected them.


Can't use modded ROMs for the PC port

OK, so I was doing a little experiment: I made a copy of the PD folder and attempted to use a modded ROM where you could play as Mario characters. Unfortunately, I got an error where it said I couldn't play the game because the ROM size was too big. Will there be any fix for this at some point?

The rom is checked against the 1.1 hash. To play PD64 mods you need to extract the assets (like the level lists, files, etc) and re implement any new logic that isn't implemented as pure level ailsts
https://github.com/fgsfdsfgs/perfect_dark/wiki/Modding

It's not checked against the hash, it just checks the header and size.
This is not a bug. It is not trivial to support modded ROMs. ROMs with custom code (such as GE X) can't be supported at all. Most I could do is support ROMs with asset replacements, but some of those would require a custom segment map, and you can already replace some assets via the aforementioned modding features. So for the general case this probably won't ever be a feature.


Update last merge

Hello, it is possible to publish the last merge on the production website ? thanks

Sorry for the delay. I don't have an automatic mechanism for deploying the website.

Its up now.


SurfaceView support?

Any plans?
Thanks

I think this may be done by NDK.

Hi @oeddyo I've created a new ticket #36 to track the progress of SurfaceView support. It will be release in our v1.1.0 release. If you have any comments or feature suggestions leave them there. Thanks!


chore(readme): add codacy badge

@all-contributors please add @beogip for code, maintenance, review and ideas


[arrow_dataset.py] add new filter function

The .map() function is super useful, but can IMO a bit tedious when filtering certain examples.
I think, filtering out examples is also a very common operation people would like to perform on datasets.
This PR is a proposal to add a .filter() function in the same spirit than the .map() function.
Here is a sample code you can play around with:
ds = nlp.load_dataset("squad", split="validation[:10%]")

def remove_under_idx_5(example, idx):
    return idx < 5

def only_keep_examples_with_is_in_context(example):
    return "is" in example["context"]

result_keep_only_first_5 = ds.filter(remove_under_idx_5, with_indices=True, load_from_cache_file=False)
result_keep_examples_with_is_in_context = ds.filter(only_keep_examples_with_is_in_context, load_from_cache_file=False)

print("Original number of examples: {}".format(len(ds)))
print("First five examples number of examples: {}".format(len(result_keep_only_first_5)))
print("Is in context examples number of examples: {}".format(len(result_keep_examples_with_is_in_context)))

I agree that a .filter method would be VERY useful and appreciated. I'm not a big fan of using flatten_nested as it completely breaks down the structure of the example and it may create bugs. Right now I think it may not work for nested structures. Maybe there's a simpler way that we've not figured out yet.

Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
for i in range(num_examples):
    example = map_nested(lambda x: x[i], batch)
    # ... then test to keep it or not

Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
for i in range(num_examples):
    example = map_nested(lambda x: x[i], batch)
    # ... then test to keep it or not

Awesome I'll check it out :-)

Instead of flattening everything and rebuilding the example, maybe we can try to access the examples like this:
for i in range(num_examples):
    example = map_nested(lambda x: x[i], batch)
    # ... then test to keep it or not

Awesome this function is definitely much nicer!

Actually I just realized that map_nested might not work either as it applies the function at the very las list of the structure. However we can imagine that a single example has also a list in its structure:
one_example = {
    "title": "blabla",
    "paragraphs": [
        "p1", "p2", ...
    ]
}

We'll probably have to take into account the dset._data.schema to extract the examples from the batch.

Actually I just realized that map_nested might not work either as it applies the function at the very last list of the structure. However we can imagine that a single example has also a list in its structure:
one_example = {
    "title": "blabla",
    "paragraphs": [
        "p1", "p2", ...
    ]
}

They both work. I'm using it on trivia_qa which is pretty nested. If you use the option with_dict=True I think it's fine.

We'll probably have to take into account the dset._data.schema to extract the examples from the batch.

Why?

Actually it's fine. I guess this is going to be yet another thing to be unit-tested just to make sure ^^

Yes, I will need to add tests and documentation!
@thomwolf - would a function like this be ok? It abstracts .map() a bit which might be hard to understand.

I tried on some datasets with nested structure and it works fine ! Great work :D

Awesome :-), I will add documentation and some simple unittests

Ok merging!


Newtype name is always equal to "Type" in compiler errors

Hi. Newtype name is always equal to "Type" in compiler errors.
Example is Either[Type, Type] where it has to be Either[UserId, UserUid].
Is it possible to get proper names?

Bumping this, as we are experiencing a related issue in Tapir: https://github.com/softwaremill/tapir/issues/3835
If I understand correctly, with code generated like this:
package object types {
  type WidgetId = WidgetId.Type
  object WidgetId {
    type Repr = Int
    type Base = Any { type WidgetId$newtype }
    trait Tag extends Any
    type Type <: Base with Tag

    def apply(x: Int): WidgetId = x.asInstanceOf[WidgetId]

    implicit final class Ops$newtype(val $this$: Type) extends AnyVal {
      def toInt: Int = $this$.asInstanceOf[Int]
    }
  }
}

the WidgetId type is ultimately resolved as WidgetId.Type. This results in just the type name Type shown the compiler, as well as Tapir macros which resolve the name using typeSymbol.fullName (see here).
Maybe the generated type could be more specific, something like
    type WidgetIdType <: Base with Tag

which shouldn't affect compatibility?

type WidgetIdType <: Base with Tag erases to Object I think


Jenkins unable to connect to ESXi Solaris machines

Jenkins is not able to connect to 2 of our Solaris machines hosted on our Esxi server
https://ci.adoptopenjdk.net/computer/test-equinix_esxi-solaris10-x64-1-NEW/
https://ci.adoptopenjdk.net/computer/build-equinix_esxi-solaris10-x64-1-NEW/
Currently their node configs are set to Launch agent by connecting it to controller
Jenkins fails to connect if set to Lauch agents via ssh

@Haroon-Khel I had a quick play this morning. Based on the error it look like it was related to the host key verification so I adjusted the configuration of a new definition https://ci.adoptopenjdk.net/computer/build-equinix_esxi-solaris10-x64-1-SSH to have a host key verification strategy of Manually Provided and then put the key from /etc/opt/csw/ssh/ssh_host_rsa_key.pub into the box. That allowed it to connect, then it seems you can switch it back to Known hosts file Verification Strategy without any problems.
Feel free to switch over to using the -SSH one. They're both live at the moment (ssh one is runnig with a root dir of /export/home/jenkins/sshagentto avoid conflicts. It's also set to use zulu 11 (Which requiresLD_PRELOAD_64` in the start options in the jenkins agent config).

Excellent find. I've done the same thing to https://ci.adoptopenjdk.net/computer/test-equinix_esxi-solaris10-x64-1-NEW/


Ordering command arguments

Feature
Slash command arguments are currently sorted in the order they are in the class, and can't be reordered within necord.
I'd recommend to have an index: number property added to the various command options (StringOption, BooleanOption, etc.) to specify the order in which we want them to appear.

Ideal solution or implementation
Adding an index property on the various comand options:
  @StringOption({
    name: "option",
    description:
      "The rsn for one of your accounts (defaults to all accounts if no rsn is provided)",
    required: false,
    autocomplete: true,
    index: 2,
  })

Alternative solutions or implementations
No response
Other context
No response

Closed by https://github.com/SocketSomeone/necord/commit/8ffa69cb256c68e35e927220ec53877218dae164.
Wait 5.0.0


setup + doc (poetry): Specify how to install poetry tools into the sg…

Prerequisites

[ ] I did version my data with DVC
[ ] If I installed new pip package, I added them to the requirements.txt
[x] I completed the Readme.md by adding my latest feature to it

Description
Update of Seetup.md to specify what to do to install Poetry in sgoinfre
Fixes #49
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
with the command:
poetry run src data --download twitter --mention Jadot

Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Nice!


fix generation of llms-ctx*.txt files

The flags were wrong in the script!  Threw me off.  Also the published versions of these are wrong too.
https://docs.fastht.ml/llms-ctx.txt
vs
https://docs.fastht.ml/llms-ctx-full.txt
Are the same 😆 .  But no worries.  This fixes that.

Made this change in fastcore too with this commit https://github.com/fastai/fastcore/commit/3b9f27f462a71e65d06f8a1b92b5f15da00f499a

ha! thank you :D


Missing Into implementations

Into trait implementations are missing.
I manually defined it in core.h
https://github.com/cryspen/hacl-packages/blob/4bfd52161096a8b6882c910327c4023f28be54f5/libcrux/include/eurydice_glue.h#L57C9-L57C43
with custom implementations
https://github.com/cryspen/hacl-packages/blob/3113bd081da3c9f330711744e045f2847f819988/libcrux/include/libcrux_ml_kem.h#L2200-L2249

I did some some investigations here. With the following revisions:
libcrux: af4e0cf4fdc40b5aca4cebe317747ff17310e983 (on lucas/extract-intrinsics)
charon: c7b2396375cec464fb1e1f27477890681697e3ad (on fix-203)
everest/karamel: 04cb86b94f57c495b715d6e9f98e29352d72d5f3 (on protz_trait_methods)
eurydice: 7d1f0f0985482600ae879a86479c47399de9e856 (on protz_trait_clauses)

I do see the from traits (passing --log Phase1 to eurydice):
  libcrux_ml_kem_types_{(core::convert::From<&0 (@Array<u8, SIZE>)> for libcrux_ml_kem::types::MlKemCiphertext<SIZE>)#3}_from
  <cg: 1><0>(
    mutable
    SIZE(Mark.Present,(Mark.AtMost 1), ): size_t,
    mutable
    value(Mark.Present,(Mark.AtMost 1), ):  uint8_t*
  ):
  libcrux_ml_kem_types_MlKemCiphertext[[$0]]
  {
    {
      value
      =
      core.array.{(core::clone::Clone␣for␣@Array<T,␣N>)#20}.clone < uint8_t > [[@1]] @0;
    }:
    libcrux_ml_kem_types_MlKemCiphertext[[$0]]
  }

but there is no definition for the Into trait!
  external core_convert_Into_into <2>:<cg: 0> 1 -> 0
  external core_convert_{(core::convert::Into<U> for T)#3}_into <2>:<cg: 0> 1 -> 0

because there is no definition for into (the second one), I don't know that into can be implemented as a symmetrical call to from, which is why your functions end up being undefined
@Nadrieril is there any prospect of extracting the definition of cover::convert::into that relies on From?
the workaround for now will be to use from


[REQUEST] Events for when someone enters or leaves a zone

I'm going to forgo the GitHub template here because I think this is a pretty straightforward request:
I'd like to be able to see programmatically when someone enters or leaves a zone. My particular usecase is an administrative client mod that tells you which zones you're currently in on the F3 debug screen, though I admittedly have a hard time thinking of other uses that wouldn't be more appropriate as settings.
Right now, I can listen to the movement event myself and check if the zones are different (which is what Nope does for entry and exit checks already) but if Nope is already doing that, it'd be convenient to just fire the event at that time. I don't think it's necessary to make those events cancelable but maybe another developer will have a use for that?
Thanks!

So to clarify, you just want the event to have the name of the zone you enter? It would be something like HostEnterEvent and HostExitEvent with the MoveEntityEvent and the name of the Host attached, so just a string. It would also fire for changing worlds (Domains).
Does that satisfy your use case?

Either that or the whole Host/Domain object, if possible, yeah! One event for entering, one for leaving.

Well, I don't currently have any plans in elevating the actual Host to the API, so unless it's an internal event, I'll just use the name

Added in BETA-2.0


Running "python /srv/main.py" issue

Once I run 'python /srv/main.py', I get this error:
Traceback (most recent call last): File "/srv/main.py", line 21, in <module> PINS = os.environ.get('PINS').split(',') AttributeError: 'NoneType' object has no attribute 'split'
What should I do to get this to work? I'm decently knowledgeable with Raspberry Pi, but not good enough to code or edit code :/ Thanks!

Make sure you have copied the .env file and that it contains PINS= plus some value.


Add option to skip static localhost entries in the final hosts file.

This is particularly handy when you want to add the generated hosts file as additional static hosts file in a DNS server without affecting the default /etc/hosts.
For example, --addn-hosts=<file> in dnsmasq can be used exactly for this purpose.

This PR is just an idea. If this makes sense and is applied, relevant updates need to be applied in readme.md as well since it would be a deviation from the documented expectation (These unified hosts files should serve all devices, regardless of OS.).

This is an interesting pull request Indrajit @indrajitr.  This seems like a good feature.
Since it's an option, and it defaults to false, I can't think of any objections.
@FadeMind what's your opinion?

I like this.  Merging.  Thanks @indrajitr !


nn-U-Net multiprocessing error with fix

@lassoan are you aware of the nnU-Net multiprocessing error that occurs on Windows? It did not let me run TotalSegmentator initially. There is still no response to the PR with the fix I made.
MIC-DKFZ/nnUNet#1155
Are you solving this locally during installation or do I oversee a fix that they made?

I don't have any errors when using TotalSegmentator extension on Windows in Slicer's Python environment. Everything works well both on a desktop with an NVIDIA GPU and cuda enabled; and on a laptop without a discrete GPU.
What Python distribution you have problem with? Slicer's Python, https://www.python.org/, or anaconda?

Just checked the Python libs of my local Slicer installation:
In
C:\Users\rudol\AppData\Local\NA-MIC\Slicer 5.2.1\lib\Python\Lib\site-packages\nnunet\inference\predict.py
if 'win' in sys.platform:
    #fix for windows platform
    import pathos
    Process = pathos.helpers.mp.Process
    Queue = pathos.helpers.mp.Queue
else:
    from multiprocessing import Process, Queue

is now included, which was the fix I suggested. Can you confirm the same on your system?

TotalSegmentator is using this slightly modified version of nnunet, which includes your fix: https://github.com/wasserth/nnUNet_cust/commits/working_2022_03_18
This bug should be really fixed upstream in the official nnUNet repository, so I've pinged the maintainers.

Great, thanks.


NOTICE: Replacing joern with a custom distribution

Working on a slimmer cli distribution called atom which will replace joern that gets bundled with cpggen.

1.2.x bundles atom in the pypi package, cpggen-slim container image, and published binaries
cpggen-linux-amd64
cpggen-oss-linux-amd64
cpggen.exe
ORAS Binaries
cpggen-oss-bin
cpggen-bin
cpggen-windows-bin


Adding Managed Identities to restrictions

This is currently not supported, but is missing in the documentation.

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

#sign-off


Container Provider Support: New-Item, Remove-Item, Rename-Item, Copy-Item, Get-ChildItem

Implementation of the New-Item, Remove-Item, Rename-Item, Copy-Item, Get-ChildItem cmdlets
Support for -Filter, -Include, -Exclude parameters in the cmdlets
PathGlobber supports built-in globbing, so stuff like Get-Item variable:* -Include "[AP]*" works out of the box, at least for all ContainerCmdletProviders (untested for NavigationCmdletProviders)

These commits also include a tree-based TestNavigationProvider and some related tests, because it wasn't clear at the beginning for me which capabilities a ContainerCmdletProvider really has.
(Btw: ContainerCmdletProvider means no hierarchy at all, only drives are containers, everything else are leafs)
Location related functionality is not yet implemented and will follow in another commit.

Fixing those issues...

The FileSystemProvider includes a workaround now to manually append the drive root to all paths that aren't relative.
This is needed, because the PathGlobber strips the drive for drive qualified paths. Maybe this isn't right.
However, if the PathGlobber simply adds the drive's Root to all paths, it will break much functionality (e.g. built-in globbing).
Until I further evaluated this issue, which is something that will need to happen anyway when I implement NavigationCmdletProvider support, this workaround should be fine. Other NavigationCmdletProviders than our own FileSystemprovider aren't currently supported anyway.


googleanalytics added

added new environmental variable for google analytics

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-217.dev.beta.nhschoices.net)

:rocket: deployment of nhsuk/register-with-a-gp-beta-web succeeded (http://register-with-a-gp-beta-web-pr-217.dev.beta.nhschoices.net)


docs: Add applicationset controller policy configuration documentation

What type of PR is this?
/kind documentation
What does this PR do / why we need it:
Document how to add the ApplicationSet Controller policies configuration, what are the available values and what are the effects of each of those values.
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[X] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
How to test changes / Special notes to the reviewer:

/lgtm


Testimonial UI

Hey @Srijita-Mandal , I would like to open this issue under JWOC. The testimonial page UI do not matches the home page. I would like to improve this.

@ritika728 Go for it. Also add the navbar to the page.

@Srijita-Mandal should I add the footer too ?

@Srijita-Mandal should I add the footer too ?

No, footer is not need to be added

Okay


Attempting to connect to Azure Database for MySQL, subshell command is not recognized

When attempting to connect to Azure Database for MySQL using the command prompt, and Powershell as a member of an AAD group, I issue the following command:
mysql -h mysql-main.privatelink.mysql.database.azure.com --user "AAD GROUP"@dmysql-main --enable-cleartext-plugin --password=az account get-access-token --resource-type oss-rdbms --output tsv --query accessToken
I get the following error:
mysql: [ERROR] unknown option '--resource-type'.
A teammate who has Azure CLI for macOS does not have this issue.
If I replace az account get-access-token --resource-type oss-rdbms --output tsv --query accessToken with the actual token, it works in a command prompt, though oddly enough not in PoSh as it complains about the username and doesn't matter if I use single quotes instead of double quotes, it won't accept it.
Why are the subshell commands not being recognized?

@jiasli for awareness


apps: Use the first detected address family if IPv6 is not available [1.1.1]

Backport of #16074 to the 1.1.1 branch.

This pull request is ready to merge

Merged to 1.1.1 branch. Thank you for the contribution.


improvement(client-python): add Namespace and NameIdentifier interface

What changes were proposed in this pull request?

add Namespace and NameIdentifier interface to client-python

Why are the changes needed?

client-python needs Namespace and NameIdentifier to represent a resource such as metalake, schema, table.

Does this PR introduce any user-facing change?

yes, add client-python api about Namespace and NameIdentifier

How was this patch tested?

pytest in local

@shaofengshi @Lanznx @SophieTech88 Could you help me review this? Thanks.

LGTM; @zhaoyongjie yongjie, could you please take a look? thanks!

Hey @coolderli,
Thanks for introducing the new features in the Py client. I guess the aim of this feature is to construct an abstraction data-access layer (or data transfer layer) upon resources, while the other PR also introduces the same utils.
IMO, objects in Python naturally support dot access. Imagining, there is a Table class and a Column class, the property columns should be easily added to the Table class so that the table.columns property can straightforwardly access all columns.
But I welcome discussion on this PR.

Hey @coolderli,
Thanks for introducing the new features in the Py client. I guess the aim of this feature is to construct an abstraction data-access layer (or data transfer layer) upon resources, while the other PR also introduces the same utils.
IMO, objects in Python naturally support dot access. Imagining, there is a Table class and a Column class, the property columns should be easily added to the Table class so that the table.columns property can straightforwardly access all columns.
But I welcome discussion on this PR.

@zhaoyongjie Thanks for your reply. I think you may misunderstand the NameIdentitfier  and Namespace.  It's not an abstraction data-access layer.  It can identify a resource such as a metalake, a catalog, a schema, or a table.  You can see the client-java  about the different of the DTO and NameIdentifier.
https://github.com/datastrato/gravitino/blob/main/clients/client-java/src/main/java/com/datastrato/gravitino/client/GravitinoMetalake.java#L97


//sw/device/tests/crypto:rsa_3072_verify_functest_wycheproof tests hang

    Looking into the wycheproof timeouts:

//sw/device/tests/crypto:rsa_3072_verify_functest_wycheproof_fpga_cw310_test_rom TIMEOUT in 900.0s
//sw/device/tests/crypto:rsa_3072_verify_functest_wycheproof_sim_verilator TIMEOUT in 900.0s

Investigating for known good commit.
It's hanging on vector 170 on cw310 (165 for verilator) (seemingly waiting for OTBN to complete) Instrumenting with logging info, has an effect on where it stalls so I should figure out halting and getting IP over GDB to see where it hangs when uninstrumented.
Originally posted by @drewmacrae in https://github.com/lowRISC/opentitan/issues/15877#issuecomment-1340157010

CC: @jadephilipoom

These are some of the longest tests we have -- I think it's possible they are genuinely timing out, not hanging. The Verilator one definitely will not finish in 900s, I think it takes about 7h. I'll look into the FPGA tests and see whether this is hanging or if we just need to split the tests into two Bazel targets/increase the timeout.

Are we putting the entropy source into auto mode for those tests? And if not, are the tests possibly exhausting the boot-time entropy?
That happened to me when I raised the FPGA frequency in https://github.com/lowRISC/opentitan/pull/19368 and found keymgr_sideload_otbn_test started failing. OTBN would get stuck waiting for entropy to complete a secure wipe.

Yup, that was the problem. Threw in an entropy_complex_init() and no more freezing.

Awesome, thanks @a-will !


Using an in-memory repository. Keys will not be persisted to storage.

Hello,
I have deployed my .net core application to shared hosting with default settings of DataProtection like this:
services.AddDataProtection();

I get these errors (warrnings):

ID
Level
Logged
Message
Logger
Callsite

2476
Warn
8/27/2017 5:20:28 AM
No XML encryptor configured. Key {08660da7-762e-40a4-90bd-2b18081e0af4} may be persisted to storage in unencrypted form.
Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager
Microsoft.Extensions.Logging.LoggingExtensions.NoXMLEncryptorConfiguredKeyMayBePersistedToStorageInUnencryptedForm

2475
Warn
8/27/2017 4:00:49 AM
Using an in-memory repository. Keys will not be persisted to storage.
Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository
Microsoft.Extensions.DependencyInjection.DataProtectionServices+<>c.b__0_1

2474
Warn
8/27/2017 4:00:47 AM
Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
Microsoft.Extensions.DependencyInjection.DataProtectionServices
Microsoft.Extensions.DependencyInjection.DataProtectionServices+<>c.b__0_0

I can see the strange behavior of my application if I have loggin in my application and use the option remember my login - next day if I try enter to the site the system can't read this persistent cookie but in browser is stored correctly - like if the system can't decrypt the cookie but it's only my idea.
How can I solve this issue please?
I have uses these packages:
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.1" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="1.1.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.Design" Version="1.1.1">
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="1.1.0">
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.1" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.2" />
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="1.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="1.0.0">

Are you on Linux by any chance?
We try to figure out where we can store things but when we can't work it out, or the OS doesn't have any reasonably secure defaults we fall back to in memory. In this case you need to make decisions about where you want to persist keys using the configuration extensions. So you'd choose to persist to the file system, outside of your web root obviously, and then protect with a certificate. Or shove them in Azure blob storage and use Azure Key Vault.

The application is running on shared hosting with IIS, on windows server. I don't have any access to configuration of IIS. I have tried to use the store of keys on the file system that seems solve these warrning but I have a .Net Core 1.1.  and I can't find a method for encrypt using certificate, probable this feature is available - how can I encrypt the keys in version 1.1.?
Thank you for suggestions.

Unfortunately it's only available in 2.0, unless you target .NET Desktop.
If you are only planning to run on one server you could use DPAPI instead.

I solved this issue using storing dataprotection keys to file system.

I resolved this issue when i edit application pool as below:
https://cypressnorth.com/programming/solved-using-memory-repository-keys-will-not-persisted-storage-asp-net-core-iis/


Implement Leaderboard with AJAX along with throbbers

Benchmark the time. Implement it with json API and handle the DOM object creation in JS

Optimized timings -> 4 seconds (Previous 15+ seconds)


Invalid regular expression: /[\p{Extended_Pictographic}\u{1F3FB}-\u{1F3FF}\u{1F9B0}-\u{1F9B3}]

Describe the bug
When exec npm run dev get an error msg
Steps to reproduce

npm i
npm run dev

Expected behavior
A clear and concise description of what you expected to happen when you encounter the bug.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information)

Windows 11
npm 6.14.15
node v14.18.0
vue-advanced-chat "^2.0.1"

Additional context

I get it, my vue version is 2.6.10


Can't import

I got this :

Hi again @AndroidDeveloperLB ,
You can't import a library folder with Android Studio because it's not an app. You have to create an Android project which import this library as a dependency in your build.gradle.
I will provide a sample folder for this library soon.
Thanks for your contribution.

So how can I try it out?
And what's on the animation of the repository, if not the sample?

Thank you.
The sample looks great, but on landscape it's being cut:

BTW, how did you do the animation on the repository?

Using Blender, with a 3D model of smartphone and a plugin to import a video as a 3D plane.

Nice. Did it take a long time?
I think you've missed it a bit. The left side of the smartphone seems to have black content...
And the screen content seem a bit too far from the display itself.

It took me about 2 hours. For the left side, yeah the shadow of the plan applies on the phone because of the incurved borders of the smartphone model. I've improved this problem on the dots indicator repository, where the 3D plane don't emmit any shadow on the smartphone.

OK thanks.
Have you reproduced the issue of landscape?


Auto import auto fix missing

I cannot get the import option when trying to auto fix no-undef, i can only disable the rule. I've seen vscode offer to import files in this menu. If i start typing the class, it will offer to auto import, just can't autofix. Is there a way to get this functionality?

@pailhead only if ESLint offers is (e.g. https://github.com/eslint/eslint). Can you fix the problem using ESLint when running ESLint in a terminal with --fix.


NFR5: (Usability): Schema Validate improvement

Story : As a feature owner, I want to be able to inform if data has inconsistencies
Estimate: 8
Condition for satisfaction: Check NaNs/Null in data

Clarify issue and see if it can be competed by demo 1

Issue does not need improvement since it's been implemented already in Pandera


CI/CD pipeline: failing tests are not stopping vercel deployments

Issue
The CI/CD pipeline should prevent code that is failing tests from going live. This issue was exposed by a time related test that started failing on our master branch today.
Pushing up a non related change caused the CI to display the failed test:
https://github.com/garageScript/c0d3-app/runs/3979312177?check_suite_focus=true
But did not stop vercel from publishing the changes:
https://github.com/garageScript/c0d3-app/commit/94a5bead6147de53fdde29f05cf8a93b46ff1222#commitcomment-58512155
Potential Solution

disable the vercel plugin for master branch merges
add another CI workflow that handles the vercel integration for master branch merges as seen here: https://github.com/vercel/vercel/discussions/4589#discussioncomment-23277

This has been enabled:

Since it can't be a PR. May you guys please review it? @songz @SahilKalra98 @anthonykhoa @mino323

This issue was resolved by enabling Require branches to be up to date before merging


System AggregateException when trying to run sample test

Describe the bug
When trying to execute dotnet run after setting up the test sample, it provides the System AggregateException with the following message:
[Error]: System.AggregateException: One or more errors occurred. (Errors: Error 39-40: Unexpected characters. The formula contains 'ParenClose' where 'Error' is expected.
Error 39-40: Unexpected characters. Characters are used in the formula in an unexpected way.)
 ---> System.InvalidOperationException: Errors: Error 39-40: Unexpected characters. The formula contains 'ParenClose' where 'Error' is expected.
Error 39-40: Unexpected characters. Characters are used in the formula in an unexpected way.
   at Microsoft.PowerFx.CheckResult.ThrowOnErrors()
   at Microsoft.PowerFx.RecalcEngine.EvalAsync(String expressionText, CancellationToken cancel, RecordValue parameters, ParserOptions options)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at System.Threading.Tasks.Task`1.get_Result()
   at Microsoft.PowerFx.RecalcEngine.Eval(String expressionText, RecordValue parameters, ParserOptions options)
   at Microsoft.PowerApps.TestEngine.PowerFx.PowerFxEngine.Execute(String testSteps) in C:\Users\CAS00\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\PowerFx\PowerFxEngine.cs:line 123
   at Microsoft.PowerApps.TestEngine.PowerFx.PowerFxEngine.ExecuteWithRetryAsync(String testSteps) in C:\Users\CAS00\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\PowerFx\PowerFxEngine.cs:line 70
   at Microsoft.PowerApps.TestEngine.SingleTestRunner.RunTestAsync(String testRunId, String testRunDirectory, TestSuiteDefinition testSuiteDefinition, BrowserConfiguration browserConfig, String queryParams) in C:\Users\CAS00\PowerApps-TestEngine\src\Microsoft.PowerApps.TestEngine\SingleTestRunner.cs:line 142

To Reproduce
Steps to reproduce the behavior:

dotnet run on BasicGallery_1_0_0_2

Expected Behavior: Correctly running the tests
Actual Behavior: System AggregateException
Additional context
Theres no issue when the engine is trying to set up browser, test infrastructure or navigating to the correct URL. It happens specifically when trying to run the test cases.
I've attempted changing properties in the sample on PowerApps website, and changing the test steps to be more forgiving. Even when trying to run the test cases on Test Studio, theres no issues whatsoever. It only occurs in Test Engine.
The sample is: BasicGallery_1_0_0_2. I havent tried using any other samples yet.

I just attempted the fix mentioned with replacing , with ; and ; with ;; - it seems to have done the trick.


Invisible Rooty Dirt w/ Mario Mod

Forge v<IP_ADDRESS>57-1.12.2
Dynamic Trees v0.8.1g
Raycore v<IP_ADDRESS>
Mario 2 v<IP_ADDRESS>
CTM v<IP_ADDRESS>
The rooty dirt block is invisible when next to the ground block from the Mario 2 mod. The Mario 2 mod also requires Raycore and CTM.

  I suspect this is a problem interfacing with CTM since it's a case I never considered.

I thought so too.

I also ran into this with when one of Pam's wee flowers flower grew next to the root block.  I didn't take a screenshot, but it appeared that there was a flower inside the root stump as well. I've only run into it the one time.

Duplicate of #118


React Native CLI uses autolinking error, please help thankyou.

this happen when i runnning yarn run-android-gps on my terminal, but i already setup the path environment variables
$ react-native run-android --variant=btDebug --appId=org.pathcheck.covidsafepathsBt
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:

react-native-local-resource (to unlink run: "react-native unlink react-native-local-resource")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink " and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.

@santoscarlo , sorry for the delay, not sure if anyone is actively responsible for github issues.  Is this still a problem for you?

i fixed it bro few days ago, thankyou for your response. :)

this happen when i runnning yarn run-android-gps on my terminal, but i already setup the path environment variables
$ react-native run-android --variant=btDebug --appId=org.pathcheck.covidsafepathsBt
error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually:

react-native-local-resource (to unlink run: "react-native unlink react-native-local-resource")
This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink " and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.


Output more info when replay blocks

Including runtime logs, storage diff etc for each phase

closed by #476 and #495


BUG: WEB-STORYBOOK not working styles

The styles do not properly work in the web's storybook.
message from console:
index.js:51 Invalid styles with id `262`. Skipping ...

fixed


Document project start up and build process

Description
It would be great to have some documentation to outline the project startup and build processes. Some engineers who are less experienced with C# development could use the guideposts.

We have these docs now living here: https://github.com/github/gh-gei/blob/main/docs/ContributingCode.md


Unusual change path warning

I didn’t have any issues sending/receiving from other wallets to Jade. However, I’m having trouble consolidating UTXOs within my Jade, using Sparrow.
When I attempt to sign the transaction, Jade warns me of an “unusual change path” and Sparrow reports that it “failed to extract input _tx.”
I have closed Jade in Sparrow and reopened with the correct passphrase, but don’t know what to try next.

it “failed to extract input _tx.”
This means sparrow is not passing the utxo tx - is this the latest version of sparrow ?
Seems v odd that it would work for a foreign address but not for your own address - I assume that's the only difference ?
You're doing a 'send all' to an address of your own ?

Related to: https://github.com/Blockstream/Jade/issues/40
The jade does not handle consolidation transactions properly.

In what sense ?
The 'unusual path' warning is more of a 'mismatch' between Jade and the app in question - ie. if the app tells Jade that a certain output is our 'change' - but the path is not of the internal chain (ie. is not .../1/n) then Jade issues that warning - same as if the app tells Jade that a certain output is not our change (but is eg a consolidation output back to ourselves) but the path is of the internal chain (ie. .../1/n) then again Jade issues that warning.
The error “failed to extract input_tx.” is due to the app not passing Jade the full tx from which the utxo being spent was an output.

As I understand it, the mismatch is due to a bug in HWI, which most apps use to interface with Jade. I don’t foresee app developers fixing the issue in HWI any time soon.

I can look at it myself when I get a moment ...

Do you know if resolving the mismatch in HWI would also fix the second issue (failed to extract input_tx) ?

I don't think so, as I think that implies the psbt being passed from sparrow to hwi/jade is missing some data jade expects.

I am having the same issue, error messages as above when using Sparrow with the Jade to consolidate UTXOs  , is there a solution. Any help would be appreciated.

I'm not aware of any workaround at the moment.

Hi Yianni,Thanks for the update. Please keep me posted if there's a fix for this issue. Currently, I can't move funds from Sparrow Wallet due to problems with bulk transactions from Strike, though transactions work from Green Wallet.In Sparrow, the UTXO appeared normal but couldn't be signed because of an error. Additionally, Jade incorrectly reports that the fee is larger than the transaction amount. But the fee is actually significantly lower. The main issue:- Jade displays a warning about an "unusual change path."- Sparrow fails with a "failed to extract input_tx" error.Appreciate any help. Thanks!Cary Hammond Sent on the move On 28 Aug 2024, at 19:37, Yianni Georgantas @.***> wrote:
I'm not aware of any workaround at the moment.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Oh actually, you can maybe try using an older version of Sparrow. I don’t recall “failed to extract input_tx” being an issue when I had used multisig with the Jade some versions ago. I believe I had used this version: https://github.com/sparrowwallet/sparrow/releases/tag/1.6.4
The unusual change path error will persist however because thats an issue on the Jade’s side.

Hi, Yianni Thank you for the advice I shall try to revert back to an older version of Sparrow. Maybe that might work. The issue was with one UTXO from Strike which was sent when I was using the latest Sparrow update. I’ll try an older version and send a transaction from strike and see if I get the same signing issue. I’m using Green to & that seems fine just in case. Interesting on the unusual change path maybe there will be a fix on a future firmware update. Was the other issue too where Jade shows a message saying that the fee is higher than the send if that makes sense. Which it’s not but I still sign out a transaction fine. Thank you Yianni for your time with this. The Jade is a great little device but you do get confused - concerned when things don’t seem correct 👍 Cary Hammond Sent on the move On 29 Aug 2024, at 00:19, Yianni Georgantas @.***> wrote:
Oh actually, you can maybe try using an older version of Sparrow. I don’t recall “failed to extract input_tx” being an issue when I had used multisig with the Jade some versions ago. I believe I had used this version: https://github.com/sparrowwallet/sparrow/releases/tag/1.6.4
The unusual change path error will persist however because thats an issue on the Jade’s side.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

No, I did not get any fee issues on that version. If you are still having issues with the fee and "invalid input" error on version 1.6.4 of Sparrow, then I think these issues could be related to a newer version of the firmware. I don't think a root cause for them has been identified yet. Agree, these issues do not inspire confidence 😣

The 'unusual path' warning is more of a 'mismatch' between Jade and the app in question - ie. if the app tells Jade that a certain output is our 'change' - but the path is not of the internal chain (ie. is not .../1/n) then Jade issues that warning - same as if the app tells Jade that a certain output is not our change (but is eg a consolidation output back to ourselves) but the path is of the internal chain (ie. .../1/n) then again Jade issues that warning.
The error “failed to extract input_tx.” is due to the app not passing Jade the full tx from which the utxo being spent was an output.

I have recently made a PR to HWI which should address these issues - ofc we have to wait for HWI to take them, release, and then Sparrow to upgrade HWI ...
See https://github.com/bitcoin-core/HWI/pull/753

Hi Jamie very Interesting and thank you for your response. I also want to thank the team at Blockstream, I have had some excellent feedback.
‘Change’ popped up when I was trying to research the issue I was having but did not quite understand at the time.
I also spoke with Craig Raw on Telegramme Funny as at first it was not him and I was given instructions for a fix, well step 2 was to input my seed which of course I did not LOL
Anyway, I did speak with the real man who advised on a driver issue but that did not work. He then advised me to speak with Blookstream.
So Jamie this transaction was a single UTXO from Strike as a bulk send, I have since stopped until I can solve this issue with Sparrow as it was fine when using green.
What would be the advice now Jamie would I just have to wait for Sparrow to upgrade HWI, which I have no idea what that is ha!
Unfortunately the link https://github.com/bitcoin-core/HWI/pull/753. I get a warning from and can't see that page.
Thanks again

On 5 Sep 2024, at 09:20, Jamie C. Driver @.***> wrote:
The 'unusual path' warning is more of a 'mismatch' between Jade and the app in question - ie. if the app tells Jade that a certain output is our 'change' - but the path is not of the internal chain (ie. is not .../1/n) then Jade issues that warning - same as if the app tells Jade that a certain output is not our change (but is eg a consolidation output back to ourselves) but the path is of the internal chain (ie. .../1/n) then again Jade issues that warning.
The error “failed to extract input_tx.” is due to the app not passing Jade the full tx from which the utxo being spent was an output.
—
Reply to this email directly, view it on GitHub https://github.com/Blockstream/Jade/issues/112#issuecomment-2330902659, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKSY56UMAAFIPZVI6PEP4KLZVAH3DAVCNFSM6AAAAABBWWYWDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQHEYDENRVHE.
You are receiving this because you commented.


Roll Engine from 9cd90e399e23 to 6c272cba3fee (1 revision)

https://github.com/flutter/engine/compare/9cd90e399e23...6c272cba3fee
2022-02-01<EMAIL_ADDRESS>Roll Skia from a69af3bec2e2 to 1def701690fa (2 revisions) (flutter/engine#31180)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Append vera device id to entity id - but not name.

Description:
Fix problem in https://github.com/home-assistant/home-assistant/pull/6100#discussion_r105529891 that appended the device ids to the name as well as the entity_id.
Related issue (if applicable): fixes #
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>
Example entry for configuration.yaml (if applicable):

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Thanks @MartinHjelmare hopefully sorted.

Perfect 🐬

cherry-picked for 0.40


Contract descriptions

as hiwi/wimi on the contracts index page, i want to see the contracts description in the table

also as hiwi on the dashboard i want to see the contracts description instead of the cryptic name

Rename description field to "Name"


LUCENE-10531: Add @RequiresGUI test group for GUI tests

Mark TestScripts.testLukeCanBeLaunched as @RequiresGUI and add an Actions workflow for distribution tests that runs all distribution tests including GUI tests. The workflow should run on all major OSs: Linux, MacOS, and Windows.
On mandatory test runs:
./gradlew -p lucene/distribution.tests/ test -Dtests.gui=false
:lucene:distribution.tests:test (SUCCESS): 8 test(s), 1 skipped  // TestScripts is skipped.

On test runs where tests.gui sysprop is set to true:
./gradlew -p lucene/distribution.tests/ test -Dtests.gui=true
:lucene:distribution.tests:test (SUCCESS): 8 test(s)

On CI build, tests.gui sysprop is forced to set true to run GUI tests.

The added workflow takes 3 minutes on ubuntu-latest, and it takes 5 minutes on macos-latest.

This worked on Windows VM - looks fairly slow (the whole workflow takes 7.5 minutes) as compared to Ubuntu (3 minutes) though.

surprisingly, it worked on the first try... I'll open this and try to address https://github.com/apache/lucene/pull/893#discussion_r873546269

while waiting for review... here's Randomizedtesting Luke, rough-and-tumble boy (based on the "Tumble Duke") - the latest addition to my fan-art collection

The duke is awesome (as are the others on your site)!

The previous CI run result looks good to me. I also enabled GUI tests in the smoke tester.

How about renaming the action's directory name .github/actions/yarn-caches/ to .github/actions/gradle-caches/? @dweiss

up to you, entirely. :)

The yarn-caches name is wrong - it's something else I was working (!).

I'll update the directory name later.
This time, the test timed out on Windows... I think this could occasionally happen :/

Increase the timeout, maybe? Windows boxes on github are slow.

sorry couldn't resist.
"Build Duke"

I'm merging this only to main - let me know if it's worth backporting.

I'd apply this to 9x as well since it'll ease backports of other things/ decrease the potential of a conflict in the future?

Ok I'll backport it to the 9x branch.

We increased the timeout to 120 seconds, but the test still occasionally fails on Windows. I opened #917 to disable it on windows for now.


UTC/GMT Timestamp not working with newUI

Elasticsearch version: 2.3.4
Moloch version: moloch v0.17.0-GIT
OS name and version: Centos 6.6
How was Moloch built/installed: (rpm, deb, singlehost built, ...) RPM
Provide logs, stack traces and steps to reproduce:
Doesn't look like the UTC/GMT timestamp option is working with the newUI. The start and stop times are showing in my local timezone. GMT timezone is selected under settings. Works ok on the oldUI.

Should be fixed in 0.17 commit dec96dfee284f697db2882e4fc4a4a609b3b5210


Duration.ZERO.addTo(t) throws for some Temporals

On the JVM, it returns t for every Temporal t, e.g. for instances of LocalDate.

Same for subtractFrom.

Jenkins test this please


feat: port/CategoryTheory.Limits.Shapes.FiniteLimits

[ ] depends on: #2522

This PR/issue depends on:

leanprover-community/mathlib4#2522
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2522
By Dependent Issues (🤖). Happy coding!

Lean was very cruel with inferring instances here.

bors r+

bors r+


Add support for ValioBungee

https://github.com/ProxioDev/ValioBungee
There are two problems crossing proxies:

only players in the same server would be shown even only_list_players_in_same_server: false
name format isn't following the setting in tab_groups.yml

Thanks, but I'm probably not going to look at going out of my way to add support for Proxy-to-Proxy setups like RedisBungee or that; these setups are largely applicable to massive-scale servers that would be better off considering forking & doing their own work to support this. If someone else wants to do this work (and does a nice job) I'm okay with that, though.


[dash-pipeline] Refactor Makefiles

compile everything with host user id and group
reduce number of required libs
simplify Makefiles
make proper dependencies

@chrispsommers can you take a look at this error https://github.com/sonic-net/DASH/actions/runs/6052818653/job/16427025685?pr=432#step:15:275 ?? i have no clue why this fails, make docker-saithrift-client passes locally on my machine, make all, run-server and run all tests, all that passes, but here im a little bit lost

#10 5.873 python3: can't open file 'setup.py': [Errno 2] No such file or directory
#10 ERROR: process "/bin/sh -c cd /saithrift-0.9 &&     sudo python3 setup.py install &&     cd / &&     sudo rm -rf saithrift-0.9 &&    cd thrift-0.11.0 &&     sudo python3 setup.py install &&     cd / &&    sudo rm -rf thrift-0.11.0 &&     cd /SAI/test/ptf &&     sudo python3 setup.py install" did not complete successfully: exit code: 2
------
 > [6/9] RUN cd /saithrift-0.9 &&     sudo python3 setup.py install &&     cd / &&     sudo rm -rf saithrift-0.9 &&    cd thrift-0.11.0 &&     sudo python3 setup.py install &&     cd / &&    sudo rm -rf thrift-0.11.0 &&     cd /SAI/test/ptf &&     sudo python3 setup.py install:

from previous logs seeems like setup.py from saithrift-0.9 and from thrift-0.11.0 was executed ok, and is missing from /SAI/test/ptf, no, but there is no SAI/ptf dir, only SAI/SAI/test/ptf, and it contains setup.py, maybe directory is wrong mounted ? since previously docker-saithrift-client was downloaded and not built from scratch, and somehow this PR triggered to rebuild it

btw. those ptf tests, wait for 5 seconds and retry 10x times, which is hudge waist of time:
urn up port 281474[97](https://github.com/sonic-net/DASH/actions/runs/6053205361/job/16428197918?pr=432#step:17:98)6710658
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.

468                     time.sleep(5)
469                     print("port {}:{} is not up, status: {}. Retry. Waiting for Admin State Up.".format
SAI/ptf/sai_base_test.py
https://github.com/opencomputeproject/SAI/pull/1677 @ravi861 please explain this sleeps if they are needed, they slow down out tests, waiting and retrying all time https://github.com/opencomputeproject/SAI/pull/1677/files#diff-79e5a6916a2dff14d4fe5f385b6d5bb183adad2f4e9ec02d3ced4c3030b73940R318

@ravi861 Please look into these sleeps, it's made the tests take very very long.

Please see comments, I'm unsure of the side-effect of adding SUDOs to makefiles.

should be none, if something appears, we will update

btw. those ptf tests, wait for 5 seconds and retry 10x times, which is hudge waist of time:
urn up port 281474[97](https://github.com/sonic-net/DASH/actions/runs/6053205361/job/16428197918?pr=432#step:17:98)6710658
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.
port 1:281474976710658 is not up, status: 0. Retry. Waiting for Admin State Up.

468 time.sleep(5) 469 print("port {}:{} is not up, status: {}. Retry. Waiting for Admin State Up.".format
SAI/ptf/sai_base_test.py
opencomputeproject/SAI#1677 @ravi861 please explain this sleeps if they are needed, they slow down out tests, waiting and retrying all time https://github.com/opencomputeproject/SAI/pull/1677/files#diff-79e5a6916a2dff14d4fe5f385b6d5bb183adad2f4e9ec02d3ced4c3030b73940R318

@kcudnik A simple solution for this in dash repo without affecting SAI is to add a fixed API impl in get port attribute SAI_PORT_ATTR_OPER_STATUS as UP always here.
https://github.com/sonic-net/DASH/blob/main/dash-pipeline/SAI/templates/dashsai.cpp.j2#L427

@kcudnik A simple solution for this in dash repo without affecting SAI is to add a fixed API impl in get port attribute SAI_PORT_ATTR_OPER_STATUS as UP always here. https://github.com/sonic-net/DASH/blob/main/dash-pipeline/SAI/templates/dashsai.cpp.j2#L427

this seems like a workaround to me, but also it may not be that simple since bmv2 uses actual eth ports to forward trafiic so the status could be bound to them too

From what I know, bmv2 works using veth pairs which are usually always brought up because bmv2 itself expects them to be up before it initializes.
From the CI logs you pointed me to, I never see below line printed. So it seems ports are never created in a bmv2 context.
https://github.com/opencomputeproject/SAI/blob/master/ptf/sai_base_test.py#L757
My recommendation is we use the suggested workaround as the solution and check if it helps alleviates the delay.

From what I know, bmv2 works using veth pairs which are usually always brought up because bmv2 itself expects them to be up before it initializes.

True, the veth ports are already up before the bmv2 swtich is run.

From what I know, bmv2 works using veth pairs which are usually always brought up because bmv2 itself expects them to be up before it initializes.

True, the veth ports are already up before the bmv2 swtich is run.

ok, i can add code that will always return true, on each port, but then could be modified to reflect actual interface status, let see if that will help to speed up test execution

@chrispsommers please review and merge when ready

LGTM, excellent improvements!

https://www.youtube.com/watch?v=rR4n-0KYeKQ


Syntax highlighting and static analysis of Supply Chains/Deliveries in Docs

Description of problem
User POV:
When I work with supply chains (and deliveries) I struggle to ensure :

I am matching inputs to the correct outputs
My syntax is correct
Know what my options for syntax are.
Evaluate the correctness of my supply chain without pushing the changes to a cluster.

Doc Author/support POV:
Explaining examples of supply chains is difficult without a way to visualize the shape of the supply chain and the dependencies involved.
Proposed solution
Introduce a live playground like ytts
I've already demonstrated a rudimentary live visualizer to the maintainers using mermaid
I propose a static web app built using

Monaco for live yaml editing. This is the same editor component as found in VSCode
The monaco-yaml editor, with a schema definition for Supply Chains and Deliveries
An autocomplete worker process that identifies possible entries for sources|images|configs
A live transform that produces a mermaid graph of the supply chain/delivery

Additional Context
Happy to treat this work as a spike and publish the editor as a blog post to gather feedback while not implying ongoing support.
Spike Targets:

[x] Republishable to the blog post
[ ] Errors on illegal references
[x] Vizualizer (maybe not show empty nodes until they refer to something valid)
[x] Shareable Link (Really nice to have)
[x] tidy

[x] clean up the blog post, add image, explain the editor and make the external link obvious
[x] in the "help" mention copy-past of the url (maybe add a share-link button)
[x] make the lint and copyright pass.

Implied work

[ ] Support options, snippets and/or multipath

Big list of awesome

[ ] JSON Schema

[ ]  Extract Schema generator into a tool
[ ] Host schema, and use it in the editor so that tooltips are more useful.

[ ] Supply chains show default and required params
[ ] workload tabs that visualize the supply chain specifically for the workload.

[ ]  Missing params and resulting-set params

[ ] Template tabs (showing params?) and autocompleting template names in the supply chain resources
[ ] Gist reference support (and maybe create-new-gist)
[ ] Runnable? Delivery? Deliverable?
[ ] Show that a workload will select the given supply chain AND/OR supply-chains

Live preview in the docs site on this PR https://github.com/vmware-tanzu/cartographer/pull/605

This work is done enough to consider the spike complete. I need to add/update the 'roadmap' in the editors readme and close this issue.
I think it's worth sharing some learnings

the yaml library I am using is great, it lets me do a significant amount of lexicial analasys/ast work cheaply.
I'm not using a worker, and I'm not backing things with a language server. The worker is not necessary with the current load, but perhaps it will be when parsing multiple files at once. A language server would be much more reusable (in other editors) but is far from necessary for this one editor.
To formalize this editor as something well managed, well written, tested and CI/CDed would require a dedicated person (or pair) for a significant time. I'm thinking 4 weeks before being able to slow down and pick up other work.


TEST: Clarify test in asset finder.

Fix comment copypasta and add a check for the third sid that should be
found.

LGTM :+1:


Config Components packages

Is your feature request related to a problem? Please describe.
The andromedocs will have some components to help document their design systems. So we need a package that contains these components.
Describe the solution you'd like
...
Describe alternatives you've considered

yarn init
https://github.com/vtex/create-react-library

Hello :smile: @thayannevls, @JRobsonJr and @JGuilhermeCoelho a few minutes ago I added the configuration of the component package. :rocket:


Adds hook for conditional rendering

closes #20
@matziol here is my idea for conditional rendering, I want to leave this PR open for a week or two and try this out in one of my projects/ see if I can get some feedback on this. But you are welcome to pull from this branch and let me know how this works for you/ if you have any suggestions

Codecov Report

Merging #21 (98a364c) into main (bcfc4d1) will increase coverage by 0.36%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   98.26%   98.63%   +0.36%
==========================================
  Files          10       11       +1
  Lines         115      146      +31
  Branches       11       11
==========================================
+ Hits          113      144      +31
  Misses          2        2

Impacted Files
Coverage Δ

src/helpers.ts
100.00% <100.00%> (ø)

src/hooks/useSizeRender.ts
100.00% <100.00%> (ø)

src/index.ts
100.00% <100.00%> (ø)

tests/Sample.tsx
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I think this API naming is clean and clear, I think you should ship it if you are happy with it. I just tried your library out and realized that this thing was missing, didn't find anything in the README so I thought it didn't exist and wrote something halfbad myself using basically minSize(DEVICE_SIZES.MD).includes(currentSize), which is not too performant or elegant.
I only have one suggestion for this PR, and that is to add a section to the readme for conditional rendering.

closes #20
@matziol here is my idea for conditional rendering, I want to leave this PR open for a week or two and try this out in one of my projects/ see if I can get some feedback on this. But you are welcome to pull from this branch and let me know how this works for you/ if you have any suggestions

Sorry, I missed it somehow. I just installed from branch and tested it in my project. Everything is clear and works like a charm, thank you!

@StefanWallin I have added documentation to the readme


Cors in Framework

Any solution to the cors in the framework??, I put the headers after the require vendor but still no result
`require 'vendor/autoload.php';
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET,PUT,POST,DELETE');
header('Access-Control-Allow-Headers: Content-Type');`

I just tested this to double-check, and this works perfectly fine for me.
Are you sure you do not have some other error in your code which is breaking headers, such as a random byte or two of output before you try to send the headers? (ie: UTF-8 BOM, random linebreak in another file you are including, etc)

Send headers before output. ;-)

Hello,
Just a remark, that is not very good to bypass Cors with header('Access-Control-Allow-Origin: *');
It works but if your customer do a penetration test, it would be raised as a security issue.
I do that way:
I have a class to define with the Cors, filtering if the origin is allowed or not. Our app is developed with Angular and Ionic, so I whitelist related URLs.
namespace Shared;

class Cors
{
	public static function set(): void
	{
		if (isset($_SERVER['HTTP_ORIGIN'])) {
			self::allowOrigins();
			header('Access-Control-Allow-Credentials: true');
			header('Access-Control-Max-Age: 86400');
		}

		if ($_SERVER['REQUEST_METHOD'] == 'OPTIONS') {
			if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_METHOD'])) {
				header(
					'Access-Control-Allow-Methods: GET, POST, PUT, DELETE, PATCH, OPTIONS'
				);
			}
			if (isset($_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS'])) {
				header(
					"Access-Control-Allow-Headers: {$_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']}"
				);
			}
			exit(0);
		}
	}

	private static function allowOrigins(): void
	{
		$allowed = [
			'capacitor://localhost',
			'ionic://localhost',
			'http://localhost',
			'http://localhost:4200',
			'http://localhost:8080',
			'http://localhost:8100',
		];

		if (in_array($_SERVER['HTTP_ORIGIN'], $allowed)) {
			header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
		}
	}
}

then I could define the cors
require './vendor/autoload.php';

use Shared;

Cors::set();

@n0nag0n also done.

Thanks @krmu


Move setup to services

Use DAO instead of services and run setup method under 1 transaction.

wro4j seems to not work properly in setup mode

Look at http://www.liquibase.org/ or https://flywaydb.org/


6.3 Epic

Switch to GRpc from REST
Enhance Diary and Note
Refactor code

Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
   at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions, Action`1 configureOptions)
   at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable`1 listenOptions, AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Laobian.Api.Program.Main(String[] args) in /src/api/Program.cs:line 12

Db repo recreate
Google search refresh
Readme & repo desc
email notify for some critical path
master GitHub actions publish release binary


Support streaming bookcorpus dataset

Support streaming bookcorpus dataset.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Syntax Error: Cannot parse the unexpected character "/".

i get this syntax error when using the generate-fragments command:
$ API_URL=foo AUTH_TOKEN=bar graphql generate-fragments -p default -g js -o baz --save
✖ Generating fragments for project default...
Syntax Error: Cannot parse the unexpected character "/".

my .graphqlconfig:
{
  "schemaPath": "schema.json",
  "extensions": {
    "endpoints": {
      "default": {
        "url": "${env:API_URL}",
        "headers": {
          "Authorization": "Bearer ${env:AUTH_TOKEN}"
        }
      }
    }
  }
}

i've successfully saved the schema file (with graphql get-schema) so the url and the token are valid.
from my package.json:
"graphql-cli": "^2.13.0",
"graphql-cli-generate-fragments": "^1.1.0",

Hi @gex super apologies for the delay - I've been on holiday.
In your .graphqlconfig you have a json file. - This should be a graphql schema.
Did you run graphql init?
If you follow the steps laid out in "see it in action" from: https://github.com/graphql-cli/graphql-cli you should be able to run graphql get-schema afterwards and then graphql generate-fragments

@gex How did you go?

@develomark yep i was able to save the schema with graphql get-schema as i mentioned it in my previous comment:

i've successfully saved the schema file (with graphql get-schema) so the url and the token are valid.

after i successfully run graphql init and graphql get-schema i got the syntax error with graphql generate-fragments :(

Can you share your .graphqlconfig? It shows schemaPath": "schema.json, as opposed to ``schemaPath": "schema.graphql`

@gex Can you share with me your schema?

they added json output to graphql-cli and i thought schema.json would be more straightforward than storing json in a schema.graphql file. :)
i'm not allowed to post my schema publicly but if it helps i can share it with you.

I didn't know that - seems to be undocumented!
I wouldn't suggest that it is more straightforward. All the tooling pulls in .graphql files. graphql-tag, graphql-import etc. etc.
What is the usecase for json over graphql for the schema?

to be honest i don't remember exactly why i switched to json. i tried to setup a lot of things together. i'm using apollo, v2 needs fragment matching so i installed graphql-cli with your plugin then i thought it would also be nice to validate all of my queries and mutations with eslint-plugin-graphql but i use eslint-plugin-prettier and those two are not compatible yet (eslint-plugin-graphql #109 and eslint-plugin-prettier #81). somewhere in this process i switched to json. :)
i switch back to graphql extension and try to get the fragments with that setup and get back to you with the results!

Under the hood this is passing SDL (the schema) via importSchema() and passSDL() fromgraphql-import - it doesn't have a method to pass JSON.
I'll update the error message for this so it now throws a more informative error message.
Thanks for the spot @gex

OK that's done.
Please update to the latest.

thank you for your time and help!

okay, now i remember why i switched to json. apollo documentation recommends

setting up a build step that extracts the necessary information from the schema into a JSON file, where it can be imported from when constructing the fragment matcher

and i don't know why but i supposed this plugin will help me to extract that data from the schema but i was wrong :D anyway, you improved this plugin and i learned a few things after all.

@gex Hey no problem.
FYI you don't need to have the schema in json for eslint-plugin-graphql I've got that working with SDL. It automatically picks it up from .graphqlconfig.


Build Collision Detection

Collision Detection for this game will use the Axis Aligned Bounding Box (AABB) method

Work on a Collision Class


Add description to all the widgets in the Widget Catalog

A short description needs to be added to all the widgets present in the Widget Catalog. The description needs to be added in the  WidgetDescription class under the dart file of that particular widget. For example, in Row Widget, a short description of what a row widget does needs to be added in the RowDescription class, which is present in the row.dart file in lib\routes.
Please attach a screenshot of your work.

Can I take this issue?

Can I take this issue?

Sure, I will assign this issue to you.

@AryanKhubchandani  Please find the Screen shots below :

@nirad17 Please reply on your PR.


Does this work on Tomcat 10.1.3

I've been using JasperReportsIntegration for 10 years and have never had issue. I recently upgraded to Tomcat 10.1.3 and am having issues.
I've deployed to webapps directory and get:  FAIL - Application at context path [/jri] could not be started
I've deployed also to webapps-javaee directory and can get the jri home test page to load but when trying to run the test.pdf it returns java errors.
ON page it lists:
The current configuration is loaded from: F:/JasperIntegrationforTomcat10
Config-Directory: F:/JasperIntegrationforTomcat10\conf
Config-File: F:/JasperIntegrationforTomcat10\conf\application.properties
Reports-Path: F:\JasperIntegrationforTomcat10\conf..\reports
Temp-Directory: C:\Program Files\Apache Software Foundation\Tomcat 10.1\webapps\jri\report_tmp
Logs-Directory: F:/JasperIntegrationforTomcat10\logs
Java-Runtime-Version: 20.0.2
JasperReports-Version: 6.20.0-51a71b12f8db21cb011628dd221240da17b0feaa-migrated-1.0.7
Your ip address: <IP_ADDRESS>
Classpath: C:\Program Files\Apache Software Foundation\Tomcat 10.1\bin\bootstrap.jar
C:\Program Files\Apache Software Foundation\Tomcat 10.1\bin\tomcat-juli.jar
______________ERROR PAGE _______________
Type Exception Report
Message Servlet execution threw an exception
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
jakarta.servlet.ServletException: Servlet execution threw an exception
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
Root Cause
BUG! exception in phase 'semantic analysis' in source unit 'calculator_test_1697119302414_957837' Unsupported class file major version 64
org.codehaus.groovy.control.CompilationUnit$ISourceUnitOperation.doPhaseOperation(CompilationUnit.java:906)
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:628)
net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:112)
net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:230)
net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:358)
net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:274)
net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:256)
net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:555)
de.oc.jasper.ReportUtilities.compileJRXMLIfNecessary(ReportUtilities.java:134)
de.oc.integration.jasper.webapp.ReportWrapper.service(ReportWrapper.java:197)
jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
Before I spend more time more time debugging....is it supported on 10.1.3 ?
Thanks.

Hi,
yes, should work.
I am testing releases now on Windows with:

apache-tomcat-10.0.27
apache-tomcat-10.1.5
glassfish-4.1
wildfly-26.1.1.Final
Weblogic wls1411
Weblogic wls12214

For Tomcat 10.1.5 I am using JDK 11, though.
And your error messages indicates an issue with the Java version.
Please use the latest version 2.10.1: https://github.com/daust/JasperReportsIntegration/releases
And definitely make sure to use the Tomcat10 specific version: jri-2.10.1-jasper-6.20.0-tomcat10.war.
Please let me know if this fixes the problem.
Best, Dietmar.

Appreciated...I change Java to JDK 11 and see what happens.thx!  I'll keep
you posted.
On Sat, Oct 14, 2023 at 7:25 AM Dietmar Aust @.***>
wrote:

Hi,
yes, should work.
I am testing releases now on Windows with:

apache-tomcat-10.0.27
apache-tomcat-10.1.5
glassfish-4.1
wildfly-26.1.1.Final
Weblogic wls1411
Weblogic wls12214

For Tomcat 10.1.5 I am using JDK 11, though.
And your error messages indicates an issue with the Java version.
Please use the latest version 2.10.1:
https://github.com/daust/JasperReportsIntegration/releases
And definitely make sure to use the Tomcat10 specific version:
jri-2.10.1-jasper-6.20.0-tomcat10.war.
Please let me know if this fixes the problem.
Best, Dietmar.
—
Reply to this email directly, view it on GitHub
https://github.com/daust/JasperReportsIntegration/issues/135#issuecomment-1762823721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDHC7M7IGVWF42QYHFTAPKLX7JZB7ANCNFSM6AAAAAA55VRWIM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Just a quick follow up..I'm using Tomcat version 10.1.13.   Do I need to
put the jri.war into /webapps or /webapps-j2ee folder in Tomcat?   When
putting into /webapps it continually can't start:
FAIL - Application at context path [/jri] could not be started
When placed in webapps-j2ee folder then I can run the page and connect to
database, but reports won't run.
I've tried setting JAVA_HOME to JDK 11 and also to JDK 20 and get same
results.
My customer wants me off Tomcat 10.1.5 and on latest for security purposes,
otherwise I'd stay on 10.1.5.
On Sun, Oct 15, 2023 at 9:52 AM Radiology Geocoding <
@.***> wrote:

Appreciated...I change Java to JDK 11 and see what happens.thx!  I'll keep
you posted.
On Sat, Oct 14, 2023 at 7:25 AM Dietmar Aust @.***>
wrote:

Hi,
yes, should work.
I am testing releases now on Windows with:

apache-tomcat-10.0.27
apache-tomcat-10.1.5
glassfish-4.1
wildfly-26.1.1.Final
Weblogic wls1411
Weblogic wls12214

For Tomcat 10.1.5 I am using JDK 11, though.
And your error messages indicates an issue with the Java version.
Please use the latest version 2.10.1:
https://github.com/daust/JasperReportsIntegration/releases
And definitely make sure to use the Tomcat10 specific version:
jri-2.10.1-jasper-6.20.0-tomcat10.war.
Please let me know if this fixes the problem.
Best, Dietmar.
—
Reply to this email directly, view it on GitHub
https://github.com/daust/JasperReportsIntegration/issues/135#issuecomment-1762823721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDHC7M7IGVWF42QYHFTAPKLX7JZB7ANCNFSM6AAAAAA55VRWIM
.
You are receiving this because you authored the thread.Message ID:
@.***>

sorry, folder webapps-javaee not  webapps-j2ee....mistyped in first
message...
On Sun, Oct 15, 2023 at 10:32 AM Radiology Geocoding <
@.***> wrote:

Just a quick follow up..I'm using Tomcat version 10.1.13.   Do I need to
put the jri.war into /webapps or /webapps-j2ee folder in Tomcat?   When
putting into /webapps it continually can't start:
FAIL - Application at context path [/jri] could not be started
When placed in webapps-j2ee folder then I can run the page and connect to
database, but reports won't run.
I've tried setting JAVA_HOME to JDK 11 and also to JDK 20 and get same
results.
My customer wants me off Tomcat 10.1.5 and on latest for security
purposes, otherwise I'd stay on 10.1.5.
On Sun, Oct 15, 2023 at 9:52 AM Radiology Geocoding <
@.***> wrote:

Appreciated...I change Java to JDK 11 and see what happens.thx!  I'll
keep you posted.
On Sat, Oct 14, 2023 at 7:25 AM Dietmar Aust @.***>
wrote:

Hi,
yes, should work.
I am testing releases now on Windows with:

apache-tomcat-10.0.27
apache-tomcat-10.1.5
glassfish-4.1
wildfly-26.1.1.Final
Weblogic wls1411
Weblogic wls12214

For Tomcat 10.1.5 I am using JDK 11, though.
And your error messages indicates an issue with the Java version.
Please use the latest version 2.10.1:
https://github.com/daust/JasperReportsIntegration/releases
And definitely make sure to use the Tomcat10 specific version:
jri-2.10.1-jasper-6.20.0-tomcat10.war.
Please let me know if this fixes the problem.
Best, Dietmar.
—
Reply to this email directly, view it on GitHub
https://github.com/daust/JasperReportsIntegration/issues/135#issuecomment-1762823721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDHC7M7IGVWF42QYHFTAPKLX7JZB7ANCNFSM6AAAAAA55VRWIM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hhhm. It works for me without problems.
I am using Windows 11 in a virtual machine running Parallels. It is a 64bit system.

I have downloaded Tomcat 10.1.13

yet I don't see the the other webapps directory.

Either you are giving incorrect / missing information or I don't know.
And yes, you need to put the file jri-2.10.1-jasper-6.20.0-tomcat10.war into the directory webapps.
Also, this time you didn't give the error message ... just said it won't start ... not helpful.

Dietmar,
Things seem to be working now.  I can't say for sure what fixed it, but
thanks so much for the quick response and willingness to help out.
Really appreciate it.
On Sun, Oct 15, 2023 at 11:55 AM Dietmar Aust @.***>
wrote:

Hhhm. It works for me without problems.
I am using Windows 11 in a virtual machine running Parallels. It is a
64bit system.
[image: image]
https://user-images.githubusercontent.com/4840057/275337493-61ac8b3f-f311-46db-929f-f1bfd6b4d877.png
I have downloaded Tomcat 10.1.13
[image: image]
https://user-images.githubusercontent.com/4840057/275337600-b344a584-0113-4af6-afa0-dd5488e1b3e6.png
yet I don't see the the other webapps directory.
[image: image]
https://user-images.githubusercontent.com/4840057/275337644-e60098e1-6d30-403c-a57f-9fc45ef8aecc.png
Either you are giving incorrect / missing information or I don't know.
And yes, you need to put the file jri-2.10.1-jasper-6.20.0-tomcat10.war
into the directory webapps.
Also, this time you didn't give the error message ... just said it won't
start ... not helpful.
—
Reply to this email directly, view it on GitHub
https://github.com/daust/JasperReportsIntegration/issues/135#issuecomment-1763431724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BDHC7M4H3TF2OD6GE52SGPTX7QBOFANCNFSM6AAAAAA55VRWIM
.
You are receiving this because you authored the thread.Message ID:
@.***>

Wonderful.
I guess in the end, it might have been that the JDK 11 was not picked up by the Tomcat environment for some reason. This would explain the behavior.
Anyhow, glad you have it working now.
Best, ~Dietmar.


SBGL and SBGR update

SBGL and SBGR airports converted to real coordinate systems, runways and waypoints(a lot of real waypoints added)

Have a little error here, the "Merge pull request #2 from zlsa/gh-pages …" is not my work, how i can delete this item?

Following this link:
http://stackoverflow.com/questions/927358/how-do-you-undo-the-last-commit
I think what you want to do in your SBGR_improvment branch:
git reset --hard HEAD~1
Then push. Any better ideas out there?

I actually wanted to send only the "SBGL and SBGR update", but was also the "#2", which was an import that I did for my local version, is I enable a way of my fork upgrade to the same version of zlsa automatically ?
Sorry for asking questions so noobs.

@MaicomMR - to upgrade your fork to the same version as zlsa, here is a link to some documentation below. zlsa's repository uses a "gh-pages" branch instead of master, so what I do is:
git checkout gh-pages
git fetch upstream
git merge upstream/gh-pages
git push origin gh-pages

https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/
Does that help?

@MaicomMR - Working with Remotes / Trabalhando com Remotos (em português!)
https://git-scm.com/book/pt-br/v1/Git-Essencial-Trabalhando-com-Remotos

Hey @glangford very thanks my friend, you is a big leader, you search for portuguese articles to help me :)
I dont know use commands on github, i'm using the desktop version(windows), I solve this deleting(close) the old pull request. Now I create a new branch and add my contribution, I put on the pull request list. (SBGL and SBGR update #192)
Really very thanks for your help!


Update https:// on getsubstrate.io

#1075

Looks good, but maybe the "wrong" solution. @fevo1971 do we redirect http to https by default?
I think redirecting is the better solution, than requiring the user to type https.

@bkchr via the web browser, getsubstrate.io does redirect to https, but if you try to do the command:
curl getsubstrate.io -sSf | sh
without the https, you get the following error:

sh: line 1: Found: command not found

Not exactly sure what causes that in the background, but using https solves it.


Installing ffmpeg breaks libarchive / libmamba

Solution to issue cannot be found in the documentation.

[X] I checked the documentation.

Issue
Running conda install ffmpeg -c conda-forge automatically installs libarchive from conda-forge, but not libmamba and related mamba packages. This causes a broken conda install because conda-forge's libarchive will install libarchive.so.13.6.
Error while loading conda entry point: conda-libmamba-solver (libarchive.so.19: cannot open shared object file: No such file or directory)

This is a known version numbering issue at https://github.com/conda-forge/libarchive-feedstock/issues/69
To be consistent, conda-libmamba-solver, libmamba and libmambapy have to be installed from conda-forge as well. Could someone add them the dependencies? Thanks.
Installed packages
(applies to all)

Environment info
(applies to all)

sorry for not getting to this.
if this is still an issue, please provide
conda info
conda list

otherwise, i'll close in 2 weeks or so.


Add requirement for conda maintainers to use commit signing

This is a proposal to start requiring conda maintainers to use commit signing. I also added that we strongly recommend other contributors to do this as well.

Some responses to asked questions in the community mtg, and some other FAQs from prior efforts in other projects:
Question 1: signing vs signoff

This effort would be about commit signing (git commit -S or --gpg-sign), not signoff (git commit -s or --signoff).  Signoff is essentially a liability/policy thing: all it does is add a line of text to your commit message that says "Signed off by ...".  It's just you providing an attestation that you approve this commit.  There's no security element / verification.  Commit signing, instead, is the creation of a cryptographic signature that is included with your commit and which can be used by anyone to confirm that the commit has not been tampered with since signing (as long as you know the expected key and that expected key has not been compromised -- see below).  I use both by default.

For the rest of these answers, try to imagine two separate questions:

does this commit match this signature from this key?
is that key trustworthy for this repository?

Question 2: git vs GitHub

just plain git:  (local signing, gpg for key trust, local verifying)

Without GitHub involvement, signing and verifying commits is supported in git, and git will use your GPG/OpenPGP keychain (if you have it installed) to check to see if you trust the key and if the signature is correct.  This means that without GitHub, you need to use GPG (or your special setup) to verify signatures and manually maintain trust for keys.  This is what makes signing parties relevant.  This is useful for a maximum security model, but it's a huge hassle for the general public (in other words, nobody will use it), though it can be useful for maintainers.  git log commands are easily aliased to show commit signature status (can share my config if anyone wants).

what GitHub adds:    (local or remote signing, remote verifying)

GitHub does some additional work on the signing side and on the verification side.  Both make it dramatically easier for people to verify things, though the easy ways mostly provide slightly weaker security guarantees.

what GitHub adds to the signing side of the process:

if web interface, GitHub signs:  for any commit you make through the GitHub web interface (probably also any GitHub CLI), it is not possible for you to sign the commit yourself, so GitHub will sign it for you, using GPG keys they maintain.  Note that any tampering that occurs on the GitHub side (with some agent compromise) or between you and GitHub (if there's a transport security compromise) is therefore not protected against.   is made with your GitHub user authentication, and GitHub registers that.  (It will appear as "verified"

what GitHub adds to the verification side of the process:

Badges and automatic verification with GitHub's key registration.  The interface will provide a "verified" badge for the commit you see if it has been signed with a key registered with GitHub or if the commit was made through GitHub's web interface.  Note that these appear the same, but have different security guarantees.  In addition, tampering is possible if an agent on GitHub's side is compromised or if there is a compromise in transport between you and GitHub.  Still, this adds a lot and is lovely. :)

Question 3: key envelope types -- ssh keys vs gpg keys

Both are fine.  GitHub supports registration of gpg keys for gpg signing, and also registration of ssh keys for signing using ssh keys (not the original purpose of ssh keys, of course, but perfectly fine).  Both work equally well on GitHub.  Git also supports this use, if you're doing the clunkier, higher security checks locally -- but I haven't used ssh keys locally, so I can't speak to this.

Oh, separately:  this is an extremely good thing to do.  Many thumbs up.

If you develop remotely or in a docker container, do you just import those commits back out to the host OS and redo the signing?

I usually develop on my host system, test on a VM (one-way shared folder or single-command deploy), and sign on the host system.  I'm not sure what you'd want to do with docker, but I don't think it's useful to sign in the lower-security environment and then re-sign -- just sign when it's safe.  (Did that answer the question?)

So I could shell into a system with ssh forwarding, push up to github, download the branch to OSX, run (which command?) to sign those commits, and then push it back up to github?

Oh.  You're pushing to GitHub from the docker container?  That's adding a lot of steps for tampering to occur as it travels all around the internet and comes back to you before it's signed.  Maybe it's worth it?

As to your question about which command:  if it's one commit, git commit --amend -s -S.  If it's a bunch, you'll want to rebase, and use that rebase setup that lets you edit each commit as you go.  I can't remember what that is.

It's pretty usual to remote into a server like zeus or a docker container, and use ssh agent forwarding to interact with github. Hopefully git can talk to the ssh agent, ask it to sign things, and go from there? Alternatively could commit on the server, git pull from the server, amend, etc.

I think I understand the threat model. Anyone can claim to have any e-mail or date in git. No need to make life inconvenient by trying to protect against compromised github or servers; potentially useful to protect against random person including your email in a long history in a PR.

We currently squash the history of all PRs on merge, making all signatures either going away or invalid.
The more important thing to protect against threads is that main branches can be only changed via PRs (without admin exceptions!) and a reviews by at least a second pairs of eyes being required.


Update Fundamentals DI doc and sample to RTM

This PR updates the sample code from RC2 (with Preview 1 tooling) to RTM (with Preview 2 tooling) and makes minor tweaks to the doc as a result of that modified code. It also fixes a few minor spelling/grammar issues.

:shipit: