Fixes  #1412 with TestKafkaBroker behaviour where Consumer Groups weren't being respected

Description
This fixes bug #1412 where distribution of messages on a topic does not get distributed to each consumer group when running the TestKafkaBroker.
Fixes #1412
Example: This example should have 2 messages received to 2 subscribers.
@test_broker.subscriber(queue, group_id="group1")
async def subscriber1(): ...

@test_broker.subscriber(queue, group_id="group2")
async def subscriber2(): ...

assert subscriber1.mock.call_count == 1
assert subscriber2.mock.call_count == 1

Where as if we have the same group_id, we only expect to receive it once.
@test_broker.subscriber(queue, group_id="same_group")
async def subscriber1(): ...

@test_broker.subscriber(queue, group_id="same_group")
async def subscriber2(): ...

assert subscriber1.mock.call_count == 1
assert subscriber2.mock.call_count == 0

Other fixes

It also fixes a small bug in DOCKER_COMPOSE_PROJECT project name generation where the users' username field contains a . character (which docker believes to be invalid naming).
Typo fix in .github/PULL_REQUEST_TEMPLATE.md

Type of change

[x] Bug fix (a non-breaking change that resolves an issue)

Checklist

[x] My code adheres to the style guidelines of this project (scripts/lint.sh shows no errors)
[x] I have conducted a self-review of my own code
[x] I have made the necessary changes to the documentation
[x] My changes do not generate any new warnings
[x] I have added tests to validate the effectiveness of my fix or the functionality of my new feature
[ ] Both new and existing unit tests pass successfully on my local environment by running scripts/test-cov.sh (No. Currently Segfaults on Local M1 MBP, will rely on GHA)
[x] I have ensured that static analysis tests are passing by running scripts/static-anaylysis.sh
[x] I have included code examples to illustrate the modifications

Currently facing an issue where the RPC test assumes you can get a response back from a publisher? Not sure why this assumption was made.
@pytest.mark.asyncio()
    async def test_rpc(self, queue: str, rpc_broker: BrokerUsecase):
        @rpc_broker.subscriber(queue)
        async def m(m):  # pragma: no cover
            return "1"

        async with rpc_broker:
            await rpc_broker.start()
            r = await rpc_broker.publish("hello", queue, rpc_timeout=3, rpc=True)

>       assert r == "1"
E       AssertionError

Currently facing an issue where the RPC test assumes you can get a response back from a publisher? Not sure why this assumption was made.
@pytest.mark.asyncio()
    async def test_rpc(self, queue: str, rpc_broker: BrokerUsecase):
        @rpc_broker.subscriber(queue)
        async def m(m):  # pragma: no cover
            return "1"

        async with rpc_broker:
            await rpc_broker.start()
            r = await rpc_broker.publish("hello", queue, rpc_timeout=3, rpc=True)

>       assert r == "1"
E       AssertionError

imo I think publishers by definition can't return anything other than a ReceiveAck / similar response from the message queue – also not sure if I misunderstand the use case for RPC in this context.

RPC in TestClient allows you to validate your handler result without special publisher creation. I think, we should save this behavior. In you case, if user has the only last result - it should be OK for most cases: (the following pseudocode represents assuming bahavior)
result = None
for sub in subscribers:
    result = call_subscriber(...)
return result

Should be good to go, applied ruff formatting + linting.

I'll check it and solve conflicts with main soon. Thank you for the work!


Version 0.9.0?

Hey @guilleiguaran
thank you for the Time you spent working on this gem.
Would it be possible for you to release a new Version?
We are stuck with redis 4.1 because there is no Version with this fix:
https://github.com/guilleiguaran/fakeredis/pull/247/files
Maybe it would be good to add these two MRs as well to stay in sync with redis:
https://github.com/guilleiguaran/fakeredis/pull/256/files
https://github.com/guilleiguaran/fakeredis/pull/257/files
Thank you.

We're stuck behind this too - currently trying to decide whether to fork, monkey-patch, or switch libraries :-\

It may not apply to your scenario, but I was able to take advantage of the EXISTS command merged fix by using the master branch in my gemfile:
gem 'fakeredis', '~> 0.8.0', github: "guilleiguaran/fakeredis", branch: 'master'

Hope that helps.

Hi @guilleiguaran,
is there anything we can do to get this moved forward?
Thank you.
Jonas

@nevinera What was your Solution?

@nevinera What was your Solution?

Deferred and crossed my fingers -.-
We'll probably make a private fork if the changes still aren't released when I get back around to it.

v0.9.0 is published and compatible with ~> 4.8, v1.0.0 will support ~> 5.0


French as language

Hey,
You use french for your documentation of your app. But your app supports both english and french while the english one is incomplete. It's considered to be good practise to internationalize github projects. It is also helpful for you so you can find more contributors. It is easier than just relying fully on french speaking contributors.
A person from the Telegram OSM Germany said that "OsmGo" has potenzial but is in its current state not recommendable.
So you see that there's interest in your project even from non-french speakers.

I'm the guy from the German Telegram group :P
I think your app has a lot of potential. After the initial translation of the documentation into English you will find lots of people willing to translate the interface to their local language and help out with the programming.

Since you're doing something for the OpenStreetMap Community you will find contributors there. There are various telegram groups to ask like https://t.me/openstreetmaporg and https://t.me/openstreetmapdev
Also a post in the forum to introduce your project wouldn't hurt :)
See also issue #13

Hello,
Sorry for my late response ... I was disconnected during the last month.
You're right, I'll try to find some time next week to translate the project into English.
If you want to help translate the interface into German, you can do it here:
https://osmgo.dogeo.fr/admin/#/
It is not a finalized version, but it can already be operational.
I started with "yes" and "no" but I'm not sure ... :s
You can also correct bad english translations ...;)
Thank you for your interest !

Hi, I found this issue, because I am also thinking very positive about this app. I just slightly corrected a few things in the german and english translation (UI).
So, just to to do nothing wrong:  Tag-translation: Every tag in the "DE" tags section hast to be translated right?
For example:
Now: "Bakery"
After: "Bäckerei"
Am I right?
I will see if I can to a little translation work for the tags as well.

One more thing: There are two Regions for Germany "DE" and "GER". Which one has to go with? (I suggest to delete the other one?)
Kind Regards

Hi,
Thank you very much for your contribution.
That's it, you're not mistaken.
One file per language / country.
You can see an for fr-FR here or en-GB.
Maybe you can start the translation directly on the file ? The interface is not very useful, especially for presets...

There are two Regions for Germany "DE" and "GER".

Take "GER". Created "de" by mistake because the interface did not work correctly for me.

Maybe you can start the translation directly on the file ? The interface is not very useful, especially for presets...

It's useless for preset editing. I also recommend editing files directly. It's easier for linux users. Windows users I don't know. I actually thing the most people are using linux excluding the Mainstream and including communities.

"Maybe you can start the translation directly on the file ? The interface is not very useful, especially for presets...'
Yes, I will have a look to it. Since I never worked with json files etc. before, could you give me a quick advice? Thanks!

Yes of course. The string between the quotes are the English description of the key on the left side. Also in quotes. The keys are often written in cryptic and do not contain whitespaces. They have _ instead of whitespaces. They are also often written in uppercases. Strings you need to translate are written in normal human-readable language.

E.g. Translate "lbl": "Poster Box" to "lbl": "Postkasten" (german)

I close the issue french is supported in OsmGo! 1.5.0


PartSysBase tweaks

Description
Move handling of particle output frequency into particle system base class.
Type of change

[x] Refactoring/cleanup
~- [ ] Bug fix (non-breaking change)~
~- [ ] New feature (non-breaking change which adds functionality)~
~- [ ] API change (breaks downstream workflows and requires major semver bump)~
~- [ ] Requires documentation updates~

Testing
No new tests. Passes existing unit and integration tests.
Test Configuration:
OS: Ubuntu 22.04
Compiler: GCC 11.3.0 / OneAPI v2022.1.0
SYCL implementation: Hipsycl v0.9.2 / DPC++ v2022.1.0
MPI details: MPICH v4.0.2
Hardware: CPU (Intel Alder Lake)
Checklist:

[x] New and existing unit tests pass locally with my changes
[x] I have used understandable variable names
[x] I have run clang-format against my *.hpp and *.cpp changes
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] ~- [ ] I have added tests that prove my fix is effective or that my feature works~
~- [ ] Any new dependencies are automatically built for users via cmake~
~- [ ] I have run cmake-format against my changes to CMakeLists.txt~
~- [ ] I have run black against changes to *.py~
~- [ ] I have made corresponding changes to the documentation~

N.B. I've only changed the parameter name in the SimpleSOL config file for now, since that's the only solver using PartSysBase at the moment.
I'll update the HW/LAPD solvers and their test/example configs on feature/3DHW.

Last commit just adds some explanation of how 'num_particles_total' is used in SimpleSOL.

Unit+Integration tests passed with hipsycl.


Container Lifecycle Hooks

This paragraph is a bit confusing -

Hook handler calls are synchronous within the context of the Pod containing the Container. This means that for a PostStart hook, the Container ENTRYPOINT and hook fire asynchronously. However, if the hook takes too long to run or hangs, the Container cannot reach a running state.

In first line, call is said to be synchronous. In second line  asynchronously

Page related to issue: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/
/language en

/retitle Improve clarity on synchronous and asynchronous nature of Container hooks handlers

You can find the information and the entire paragraph on the Page:  https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution.
/sig docs
/kind support

BTW we'd welcome a rewording that has the same meaning but that is easier for people to understand.
The existing text is correct but clearly at least one contributor did not understand it first go.

/remove-kind support
I think there's something we can fix here.

/remove-lifecycle rotten

/triage accepted

For contributors picking up this issue, please note the following:

We'd like to improve the existing text per this comment by Tim. You may propose a PR with your suggested changes and do not need to ask us for permission.
The page to be amended is: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#hook-handler-execution

/help

/assign

I think the issue is resolved by PR #46371 and can be closed

/close
Please feel free to re-open in case anything is left.


Bump minimum pydantic version to 2.7

Fix: https://github.com/p2p-ld/numpydantic/issues/36

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

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.351%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
1491

Relevant Lines:
1516

💛  - Coveralls


Fix error message template

Unsupported syntax was used for forrmatting an error message about bad unit.name

Looks good to me!

:D forgot about this


Lazily load images

Closes https://github.com/joemasilotti/railsdevs.com/issues/514
Pull request checklist

[x] Set image loading to lazy via Rails configuration
[x] Ensure that images load without issue in Chrome, Safari, and Firefox

[ ] My code contains tests covering the code I modified
[x] I linted and tested the project with bin/check
[ ] I added significant changes and product updates to the changelog

Thanks for this! Can you please add a comment to the configuration file explaining what the setting does (Render <img> tags with loading="lazy" or similiar) and update the CHANGELOG?

Thanks for this! Can you please add a comment to the configuration file explaining what the setting does (Render <img> tags with loading="lazy" or similiar) and update the CHANGELOG?

Done 👍

Merged. Thanks for your contribution!


[request]: Support RN v0.74

Would be good to use bridgeless mode by default.
see https://reactnative.dev/blog/2024/04/22/release-0.74

@turker0 We generally follow Expo's adoption cycle for new React Native apps, so keep an eye out, shoudln't be long.

You can use bridgeless when opting into the new architecture.
0.74 will be available in Ignite when Expo SDK 51 is released, in the mean time you can utilize the beta
You can get started with this command today:
npx ignite-cli@latest new MyBridgelessApp --experimental=new-arch,expo-next --workflow=cng --yes


How to license and monetize API?

Question

Our company offers RESTful API for the customers.
We want to offer this API in a free tier as well as paid enterprise version with an extended feature set and SLA.
How we can use licensing services to achieve this?

API licensing is just the same as license regular applications, SaaS or IoT devices. API functionality or even access can be restricted based on the validation response for a particular API caller.


migrate DEFAULT_SERVER into config

So, if you approve this code, can you please merge it @dannasessha ?

Built locally for me, and worked, but I had to move aside zingo-wallet.dat (but that was also true when I tried to run from dev as well).
There were some warnings associated with the build, but I think that is understood and we're moving fast, we'll circle back to those. I am going to merge in.


ubuntu2004 build fails with "error[E0283]: type annotations needed"

Description
Building ubuntu2004 image from ubuntu20/20210123.1  while building cargo I get the following error:
==> azure-arm: error[E0283]: type annotations needed
==> azure-arm:    --> /usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.50.0/src/cargo/util/config/de.rs:530:63
==> azure-arm:     |
==> azure-arm: 530 |                 seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
==> azure-arm:     |                                                           ----^^^^^^--
==> azure-arm:     |                                                           |   |
==> azure-arm:     |                                                           |   cannot infer type for type parameter `T` declared on the trait `AsRef`
==> azure-arm:     |                                                           this method call resolves to `&T`
==> azure-arm:     |
==> azure-arm:     = note: cannot satisfy `std::string::String: AsRef<_>`
==> azure-arm:
==> azure-arm: error: aborting due to previous error
==> azure-arm:
==> azure-arm: For more information about this error, try `rustc --explain E0283`.
==> azure-arm: error: failed to compile `cargo-outdated v0.9.14`, intermediate artifacts can be found at `/tmp/cargo-installPzevWT`
==> azure-arm:
==> azure-arm: Caused by:
==> azure-arm:   could not compile `cargo`
==> azure-arm:
==> azure-arm: To learn more, run the command again with --verbose.
==> azure-arm: Script exited with non-zero exit status: 101.Allowed exit codes are: [0]

Area for Triage:
Rust
Question, Bug, or Feature?:
Bug
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[x] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Expected behavior
Image build succeeds
Actual behavior
Image build fails
Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.

git clone git@github.com:actions/virtual-environments.git
cd virtual-environments
image="ubuntu2004"
os="linux"
ResourceGroupName="company-uk-south"
AzureLocation="uksouth"
ImageGenerationRepositoryRoot=$(pwd)
builderScriptPath=${ImageGenerationRepositoryRoot}/images/$os/$image.json
storageAccountName="$(echo $ResourceGroupName | sed 's/-//g')001"
echo "GithubFeedToken=$PAT" > ~/.ssh/GitHubFeedToken
. ~/.ssh/GitHubFeedToken
packer build -on-error=ask
-var subscription_id=$SubscriptionId
-var location=$AzureLocation
-var resource_group=$ResourceGroupName
-var storage_account=$storageAccountName
-var github_feed_token=$GithubFeedToken
$builderScriptPath

Hello, @henti
Fixed https://github.com/actions/virtual-environments/pull/2545

Hello, @henti
Fixed https://github.com/actions/virtual-environments/pull/2545

Hi @al-cheb
Fantastic, thank you. Will a new release be issued for this fix ?

Hi @al-cheb
Fantastic, thank you. Will a new release be issued for this fix ?

Hi @al-cheb
Fantastic, thank you. Will a new release be issued for this fix ?

I hope so. Fix is already merged - https://github.com/rust-lang/cargo/pull/9102. Discussion is in the thread - https://github.com/rust-lang/cargo/issues/7169

Hi @al-cheb
Fantastic, thank you. Will a new release be issued for this fix ?

I hope so. Fix is already merged - https://github.com/rust-lang/cargo/pull/9102. Discussion is in the thread - https://github.com/rust-lang/cargo/issues/7169

Also ran into this on Mac OS 10.15.6 whilst running the cargo install cargo-generate step from the Rust and Webassembly - Setup.
Will await the release.

Also ran into this on Mac OS 10.15.6 whilst running the cargo install cargo-generate step from the Rust and Webassembly - Setup.
Will await the release.

Fedora 33, also.

Fedora 33, also.

mac 10.15 Catalina, also.

mac 10.15 Catalina, also.

I'm having the same issue with windows 2016 build and this error
==> vhd: error[E0283]: type annotations needed
==> vhd:    --> C:\Rust\.cargo\registry\src\github.com-1ecc6299db9ec823\cargo-0.50.0\src/cargo\util\config\de.rs:530:63
==> vhd:     |
==> vhd: 530 |                 seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
==> vhd:     |                                                           ----^^^^^^--
==> vhd:     |                                                           |   |
==> vhd:     |                                                           |   cannot infer type for type parameter `T` declared on the trait `AsRef`
==> vhd:     |                                                           this method call resolves to `&T`
==> vhd:     |
==> vhd:     = note: cannot satisfy `std::string::String: AsRef<_>`
==> vhd:
==> vhd: error: aborting due to previous error
==> vhd:
==> vhd: For more information about this error, try `rustc --explain E0283`.
==> vhd: error: failed to compile `cargo-outdated v0.9.14`, intermediate artifacts can be found at `C:\Users\packer\AppData\Local\Temp\cargo-install
Dc86sw`
==> vhd:
==> vhd: Caused by:
==> vhd:   could not compile `cargo`
==> vhd:
==> vhd: To learn more, run the command again with --verbose.
==> vhd:      Summary Successfully installed bindgen, cbindgen, cargo-audit! Failed to install cargo-outdated (see error(s) above).

This is on the win16/20210118.1 tag and i've tested with 229234d1628cd4920413a6b0f68f663b8107f3f2 cherry-picked as well..

I'm having the same issue with windows 2016 build and this error
==> vhd: error[E0283]: type annotations needed
==> vhd:    --> C:\Rust\.cargo\registry\src\github.com-1ecc6299db9ec823\cargo-0.50.0\src/cargo\util\config\de.rs:530:63
==> vhd:     |
==> vhd: 530 |                 seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
==> vhd:     |                                                           ----^^^^^^--
==> vhd:     |                                                           |   |
==> vhd:     |                                                           |   cannot infer type for type parameter `T` declared on the trait `AsRef`
==> vhd:     |                                                           this method call resolves to `&T`
==> vhd:     |
==> vhd:     = note: cannot satisfy `std::string::String: AsRef<_>`
==> vhd:
==> vhd: error: aborting due to previous error
==> vhd:
==> vhd: For more information about this error, try `rustc --explain E0283`.
==> vhd: error: failed to compile `cargo-outdated v0.9.14`, intermediate artifacts can be found at `C:\Users\packer\AppData\Local\Temp\cargo-install
Dc86sw`
==> vhd:
==> vhd: Caused by:
==> vhd:   could not compile `cargo`
==> vhd:
==> vhd: To learn more, run the command again with --verbose.
==> vhd:      Summary Successfully installed bindgen, cbindgen, cargo-audit! Failed to install cargo-outdated (see error(s) above).

This is on the win16/20210118.1 tag and i've tested with 229234d1628cd4920413a6b0f68f663b8107f3f2 cherry-picked as well..

@henti , Fixed in the https://github.com/actions/virtual-environments/pull/2546 PR.

@henti , Fixed in the https://github.com/actions/virtual-environments/pull/2546 PR.

@al-cheb Fantastic, cherry-picked and rebuilding.

@al-cheb Fantastic, cherry-picked and rebuilding.


documentation required for VNET when setting up container environment

Please provide us with the following information:

This issue is a: (mark with an x)

[ ] bug report -> please search issues before submitting
[x] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
Please provide information on network requirements for setting up a Container Apps Environment when using an  already provided VNETs.
For the preview there was the Information that 2 /21 subnets were necessary for the control plane and the app subnet.
There is to my knowledge no clear documentation on the minimum requirements for the VNETs are at the moment. (when providing your own)
Steps to reproduct
none.
Expected behavior [What you expected to happen.]
Clear concise documentation on the necessary VNET sizes and restrictions
Actual behavior [What actually happened.]
No documentation available.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Ex. Did this issue occur in the CLI or the Portal?

@craigshoemaker Can you help get this page updated with the /23 requirements - https://docs.microsoft.com/en-us/azure/container-apps/vnet-custom?tabs=bash&pivots=azure-portal


Do not publish src/index.ts to npm

See screenshot, this is after installing with standard npm

@VinceBT-BG is this causing a problem for you somehow?
I ask because Webpack and tsc are bringing in only the file in dist since that is what the package.json instructs those tools to do.
So, given that this can’t (from my knowledge) be introducing performance or compilation issues, we will close this as too low priority. We can reopen the issue if you write back with details on how it is negatively impacting you and/or if you decide to send in a PR fixing it.

It's causing IDE compilation errors but only when the file is opened and weird behavior with auto imports but no big deal.

Yes, VSCode will show errors if you have different TSConfig rules and if you have it open. But if you search StackOverflow and look in the TSConfig docs you’ll see how to ignore typescript errors in node modules. It’s the recommended behavior. I can’t give more advice on this. Just don’t open the index.ts.


Class 'TheNetworg\OAuth2\Client\Provider\RuntimeException' not found

Getting this error with
Error in: ROOT/vendor/thenetworg/oauth2-azure/src/Provider/Azure.php, line 240
using RuntimeException from the root namespace fixes the error
change
throw new RuntimeException
to
throw new \RuntimeException
Also my Application Id is found in the appid claim while aud contains https://graph.windows.net/
changing the token claim check on line 239 from aud to appid allows the token to be validated correctly

Could you please submit a PR? I will be able to get to fixing it in about 14 days, leaving for vacation tomorrow.


api: expose oscap customizations in the API

As part of the effort to create a new step in the wizard for hardened images we need to have the back end able to communicate what are the filesystem and packages customization an image needs to have.
This PR does exactly this:

add an endpoint to get the list of available policies to apply on a distribution
add an endpoint to get the Customizations for that policy on that distribution
add a script to generate these Customizations

Not in the scope of this PR, but a nice followup:

a bot to propose automated PRs when the Customizations are needing an update

Open questions:

How do we make sure to avoid forgetting to update the list of valid policies for a given distribution ?

Thanks for this, just for the record from our call: in an ideal world we would be able to get some of this information from the compliance team and so this could be a solution in the interim. Will try set up a meeting with @croissanne and them next week when the person I know there is back from PTO.

Adding a new top-level directory seems like an overkill for me, because it adds more visual clutter to the repository, and we need to pass yet another variable through the whole stack (OSCAP_DIR and its variations).

I can see why having another variable might be slightly annoying, on the other hand, can we consider that changing that at this stage might require a redesign of a bunch of elements in this PR and that since there are time constraints associated to the global functionality being delivered, it might not be optimal ?
Also, another point to consider is that we don't want to keep these endpoints anyway. The short term goal is to provide a PoC that IB can be used to generate hardened images via the frontend. Then as a mid-term goal to get the compliance team to serve these endpoints instead of us.
This entire PR, to call their tool to generate customizations to serve, doesn't really make sense in IB anyway, but we need that shortcut to deliver fast.

Since the customizations are always tied to a distribution, cannot we just put them under distributions/$DISTRO/oscap? I see that some customizations are shared amongst multiple distributions (currently solved with the concept of "distro generalization"). We can use symlinks instead (or not care at all, the jsons are small).

It's not the storage that is an issue but the generation that takes a very long time.  That's why calling it only for the necessary distribution is a plus.
With that said, if you want me to spend some time changing where/how these oscap are stored I can take care of it.

Adding a new top-level directory seems like an overkill for me, because it adds more visual clutter to the repository, and we need to pass yet another variable through the whole stack (OSCAP_DIR and its variations).

I think since this is a temporary fix @ondrejbudai's feedback is actually more applicable. Passing a whole variable through the stack to then have remove it when we're able to query the compliance API feels like a lot. Whereas, if we implement this suggestion and put the configurations in the distro, it would be easier to remove at a later stage. It does mean generating more files, but I think the trade-off makes sense.

Adding a new top-level directory seems like an overkill for me, because it adds more visual clutter to the repository, and we need to pass yet another variable through the whole stack (OSCAP_DIR and its variations).

I think since this is a temporary fix @ondrejbudai's feedback is actually more applicable. Passing a whole variable through the stack to then have remove it when we're able to query the compliance API feels like a lot. Whereas, if we implement this suggestion and put the configurations in the distro, it would be easier to remove at a later stage. It does mean generating more files, but I think the trade-off makes sense.

Alright guys, let's implement that.


I can't compile examples

I have clone wasm-bindgen package and try compile example "DOM" but cant because have error:
/wasm-bindgen/examples/dom# RUST_BACKTRACE=1 wasm-pack build --target web
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Finished release [optimized] target(s) in 0.17s
[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', crates/cli-support/src/descriptor.rs:205:15
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::panicking::panic_bounds_check
3: wasm_bindgen_cli_support::descriptor::Descriptor::_decode
4: wasm_bindgen_cli_support::descriptor::Descriptor::_decode
5: wasm_bindgen_cli_support::descriptor::Descriptor::_decode
6: wasm_bindgen_cli_support::descriptor::Function::decode
7: wasm_bindgen_cli_support::descriptor::Descriptor::_decode
8: wasm_bindgen_cli_support::descriptors::execute
9: wasm_bindgen_cli_support::Bindgen::generate_output
10: wasm_bindgen_cli_support::Bindgen::generate
11: wasm_bindgen::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
Error: Running the wasm-bindgen CLI
Caused by: failed to execute wasm-bindgen: exited with exit status: 101
/wasm-bindgen/examples/dom# RUST_BACKTRACE=full wasm-pack build --target web
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Finished release [optimized] target(s) in 0.13s
[INFO]: Installing wasm-bindgen...
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', crates/cli-support/src/descriptor.rs:205:15
stack backtrace:
0:           0x6ebef0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hf42958820747a8ac
1:           0x7221bc - core::fmt::write::h6f5ededa5074697e
2:           0x6e97d5 - std::io::Write::write_fmt::hdb84dc6c28fda870
3:           0x6ede6b - std::panicking::default_hook::{{closure}}::hb85a09d7e9a16432
4:           0x6ed941 - std::panicking::default_hook::hdc924e74cb190bbb
5:           0x6ee534 - std::panicking::rust_panic_with_hook::hd63b080e78590a80
6:           0x6ee017 - std::panicking::begin_panic_handler::{{closure}}::h27bfba1f7e931f90
7:           0x6ec38c - std::sys_common::backtrace::__rust_end_short_backtrace::h2cc025f6c95b1f82
8:           0x6edf79 - rust_begin_unwind
9:           0x4291a1 - core::panicking::panic_fmt::h9f5a85773697c5f5
10:           0x429162 - core::panicking::panic_bounds_check::h70dd3fd6056304a0
11:           0x45f9ea - wasm_bindgen_cli_support::descriptor::Descriptor::_decode::h9adc04c55179ba18
12:           0x45f9bc - wasm_bindgen_cli_support::descriptor::Descriptor::_decode::h9adc04c55179ba18
13:           0x45f9bc - wasm_bindgen_cli_support::descriptor::Descriptor::_decode::h9adc04c55179ba18
14:           0x45fcce - wasm_bindgen_cli_support::descriptor::Function::decode::h81540754b760c003
15:           0x45f58e - wasm_bindgen_cli_support::descriptor::Descriptor::_decode::h9adc04c55179ba18
16:           0x48d079 - wasm_bindgen_cli_support::descriptors::execute::hf8840b1ee2325cbc
17:           0x443c6d - wasm_bindgen_cli_support::Bindgen::generate_output::h9b68d0f02d04575e
18:           0x42a72e - wasm_bindgen_cli_support::Bindgen::generate::h0bb72b73165f8801
19:           0x42dda0 - wasm_bindgen::main::h68109d2e2053b319
20:           0x42beb3 - std::sys_common::backtrace::__rust_begin_short_backtrace::he92ef7ccf1d60268
21:           0x42bec9 - std::rt::lang_start::{{closure}}::h1aac00108137e691
22:           0x6eea90 - std::rt::lang_start_internal::hfee0032b3594c35b
23:           0x42e1a2 - main
Error: Running the wasm-bindgen CLI
Caused by: failed to execute wasm-bindgen: exited with exit status: 101
Rust 1.57.0
Wasm-Pack 0.10.2
What am I doing wrong?

This is because the examples in this repository need to be copied externally to be built, they won't build in-tree due to weirdness of which version of wasm-bindgen-the-cli is used.


Limit of member for static segment

[Enter feedback here]
Hi,
here https://docs.microsoft.com/en-us/dynamics365/marketing/segments-vs-lists there is a note.
The note says that staic segment has the limit of 5000 members.
I used static segments in 365 Marketing and it is not true. is it possible to verify and correct the note in caso of error?
regards
Carlotta
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7903969d-d892-3102-e439-2b1377cb9c9c
Version Independent ID: 1b88aee0-8356-04c6-fc7b-5dc002fe3d56
Content: The differences between segments and lists (Dynamics 365 Marketing)
Content Source: ce/marketing/segments-vs-lists.md
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Thanks for bringing this to our attention. We've recently released more recent guidelines for our Fair Use Policy clarifying the segment limits. Per the document, the limit is 1,000 live segments per org (both user-defined and system created) and 10,000 segments total.


https://huggingface.co/UsefulSensors/moonshine-tiny-llamafile

Where?

@bphd this lacks sufficient detail
Having checked several other issues you raised on GH this is a recurring pattern. I appreciate you may not be a native English speaker but there are plenty of tools that allow you to translate effectively and thus raise more meaningful constructive issues.

@nmstoker
When does /UsefulSensors will publish /moonshine-tiny-llamafile on https://huggingface.co

I have no idea, but given there's no connection between this project (which is for ASR) and Llamafile (which is for LLMs) I doubt it will happen anytime soon
BTW Amusing to see you thumbs up and heart your own comments 😆

@nmstoker So how to bash --command 'moonshine-tiny-5000-lang --cli --interactive-first'?


Marketplace vendor selector should randomise order

The current vendor selector (which would more rightly be called "publisher selector") displays the options in a fixed order. It should present in a random order to ensure users have an unbiased choice.

Reopened due to https://github.com/adoptium/website-v2/pull/767

can i work on this


Add async map example

[x] Use this example<EMAIL_ADDRESS>[x] Fetch some data to make this example more useful

All fixed in this commit https://github.com/edysegura/js-asynchronous-and-flow-control/commit/fd8cf36c70f719da0f17eb53482d171dd9a0baaf


Fix dockerfile build steep

Description

I was annoyed by the message that the test on the main branch fails and see that it is connected with Dockerfile steep.
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

 E: Package 'python3.8' has no installation candidate for ubuntu/jammy (as :latest has shifted). imho...
May pinning to ubuntu LTS 20.04 would be better

Hi, the artefacts produced by docker must be accessible...  I think that you need to make public https://github.com/orgs/napari/packages?repo_name=napari
Cheers
Tru

Hi, the artefacts produced by docker must be accessible... I think that you need to make public https://github.com/orgs/napari/packages?repo_name=napari

I have just made them public (@jni let me know if there was any reason we wanted them private)

@Czaki do you need further support here? Anything we can do to help get this merged?

Anything we can do to help get this merged?


Need a way for chat participants to continue the conversation

Sometimes a chat extension runs a command and wants to reply to the user further in the chat panel. The best solution for now is to call back to the chat participant with a command like
executeCommand('workbench.action.chat.open', 'query')
But this should be better

Right now it always goes back to the chat panel, but it should go to the correct chat session. Usually this would be the most recently focused chat session but I'm not sure whether that is always correct
The chat participant ID and command should be parameterized like in ChatFollowup, not written with @ in text
It should be a real vscode ApiCommand

And in the future we should support things like just showing more content from the participant without having to write a fake user request.
Use cases

/fixTestFailure
https://github.com/microsoft/vscode/issues/213274#issuecomment-2136335264

Can we use executeCommand('workbench.action.chat.open', 'query') or will it be not supported after the changes planned above?

I expect to keep that command around, you can use it.

@roblourens Any movement on this front? Just encountering the limitations now and deciding how to work around them.


TCP input

Hi
I have problems with  tcp input.
Your Environment

Fluentd or td-agent version: fluentd-1.11.5 ruby="2.7.1"
Operating system: macos \ docker

Your Configuration
fluent.conf
<source>
  @type tcp
  tag tcp.events # required
  <parse>
    @type json
  </parse>
  port 5170   # optional. 5170 by default
  bind <IP_ADDRESS> # optional. <IP_ADDRESS> by default
</source>
<source>
  @type udp
  tag udp.events # required
  <parse>
    @type json
  </parse>
  port 5160                # optional. 5160 by default
  bind <IP_ADDRESS>             # optional. <IP_ADDRESS> by default
  message_length_limit 1MB # optional. 4096 bytes by default
</source>
<match **>
  @type stdout
</match>

docker-compose.yml
version: "3.7"
services:
  fluentd:
    image: fluent/fluentd:v1.11
    ports:
      - 5170:5170/tcp
    volumes:
       - ./fluent.conf:/fluentd/etc/fluent.conf

LOGS with working udp listener ()
fluentd_1  | 2020-12-18 13:19:33 +0000 [info]: starting fluentd-1.11.5 pid=7 ruby="2.7.1"
fluentd_1  | 2020-12-18 13:19:33 +0000 [info]: spawn command to main:  cmdline=["/usr/bin/ruby", "-Eascii-8bit:ascii-8bit", "/usr/bin/fluentd", "-c", "/fluentd/etc/fluent.conf", "-p", "/fluentd/plugins", "--under-supervisor"]
fluentd_1  | 2020-12-18 13:19:34 +0000 [info]: adding match pattern="**" type="stdout"
fluentd_1  | 2020-12-18 13:19:34 +0000 [info]: adding source type="tcp"
fluentd_1  | 2020-12-18 13:19:34 +0000 [info]: adding source type="udp"
fluentd_1  | 2020-12-18 13:19:34 +0000 [warn]: #0 define <match fluent.**> to capture fluentd logs in top level is deprecated. Use <label @FLUENT_LOG> instead
fluentd_1  | 2020-12-18 13:19:34 +0000 [info]: #0 starting fluentd worker pid=16 ppid=7 worker=0
fluentd_1  | 2020-12-18 13:19:34 +0000 [info]: #0 listening udp socket bind="<IP_ADDRESS>" port=5160
fluentd_1  | 2020-12-18 13:19:34 +0000 [info]: #0 fluentd worker is now running worker=0
fluentd_1  | 2020-12-18 13:19:34.657463700 +0000 fluent.info: {"pid":16,"ppid":7,"worker":0,"message":"starting fluentd worker pid=16 ppid=7 worker=0"}
fluentd_1  | 2020-12-18 13:19:34.657799000 +0000 fluent.info: {"bind":"<IP_ADDRESS>","port":5160,"message":"listening udp socket bind=\"<IP_ADDRESS>\" port=5160"}
fluentd_1  | 2020-12-18 13:19:34.660623600 +0000 fluent.info: {"worker":0,"message":"fluentd worker is now running worker=0"}

it seems only udp listener started , i also tried to remove udp, but in this case i don't have binding at all .
Sorry in advance if I miss something in documentation.

it seems only udp listener started

in_tcp seems to listen the socket. in_udp generates info log but in_tcp doesn't.
We will add info log to in_tcp.


Release to Hackage

There's one more upstream GHC patch that I'd like to land and backport to th-compat before an initial Hackage release, but otherwise, I think this package is mostly ready to go.

Should that patch/issue have a tag to be backported to GHC-9.0?

Sure. I've added the corresponding 9.0.1 milestone and labels for #18521 and !3800.

I've backported the fix for GHC#18521 in #3. Unless anyone else speaks up, I plan to upload th-compat to Hackage soon-ish (perhaps just before a GHC 9.0 beta release).

@RyanGlScott that's liftGHCSplice (the alias we don't yet have, but might)?
I.e. I'd name the function as liftWhateverAliasWeWouldUse.

Right, I faintly remember discussing this in #1. If I understand your proposal correctly, you would choose the -Splice suffix to denote things that have their types differ conditionally between Code and TExp? If so, would you be happy with liftTypedFromUntypedSplice :: (Lift t, Quote m) => t -> Splice m t (where Splice is defined here)?

liftTypedFromUntypedSplice is a good name. We should have a clear docs that it's never a liftTyped / liftCode directly. To differentiate it from possible liftSplice.

See #5.

I've uploaded th-compat-0.1 to Hackage.

:fireworks:


The loss increases until it become NaN on XOR example

The "Modeling XOR with a neural network" example don't work.
The loss increases until it become NaN
modeling_xor_with_a_neural_network.livemd.zip

Modeling XOR with a neural network
Mix.install([
  {:axon, ">= 0.5.0"},
  {:exla, ">= 0.4.0"},
  {:kino_vega_lite, ">= 0.1.6"}
])

Nx.Defn.default_options(compiler: EXLA)

alias VegaLite, as: Vl

Resolving Hex dependencies...
Resolution completed in 0.254s
New:
  axon 0.6.1
  complex 0.5.0
  elixir_make 0.8.4
  exla 0.7.3
  fss 0.1.1
  kino 0.13.2
  kino_vega_lite 0.1.13
  nimble_pool 1.1.0
  nx 0.7.3
  polaris 0.1.0
  table 0.1.2
  telemetry 1.2.1
  vega_lite 0.1.9
  xla 0.6.0
* Getting axon (Hex package)
* Getting exla (Hex package)
* Getting kino_vega_lite (Hex package)
* Getting kino (Hex package)
* Getting table (Hex package)
* Getting vega_lite (Hex package)
* Getting fss (Hex package)
* Getting elixir_make (Hex package)
* Getting nimble_pool (Hex package)
* Getting nx (Hex package)
* Getting telemetry (Hex package)
* Getting xla (Hex package)
* Getting complex (Hex package)
* Getting polaris (Hex package)
==> table
Compiling 5 files (.ex)
Generated table app
==> vega_lite
Compiling 6 files (.ex)
Generated vega_lite app
===> Analyzing applications...
===> Compiling telemetry
==> fss
Compiling 4 files (.ex)
Generated fss app
==> complex
Compiling 2 files (.ex)
Generated complex app
==> nx
Compiling 35 files (.ex)
Compiling lib/nx/binary_backend.ex (it's taking more than 10s)
Generated nx app
==> kino
Compiling 49 files (.ex)
Generated kino app
==> kino_vega_lite
Compiling 4 files (.ex)
Generated kino_vega_lite app
==> polaris
Compiling 5 files (.ex)
Generated polaris app
==> axon
Compiling 23 files (.ex)
    warning: function __to_backend__/1 required by behaviour Nx.Defn.Compiler is not implemented (in module Axon.Defn)
    │
  1 │ defmodule Axon.Defn do
    │ ~~~~~~~~~~~~~~~~~~~~~~
    │
    └─ lib/axon/defn.ex:1: Axon.Defn (module)

Generated axon app
==> nimble_pool
Compiling 2 files (.ex)
Generated nimble_pool app
==> elixir_make
Compiling 8 files (.ex)
Generated elixir_make app
==> xla
Compiling 2 files (.ex)
Generated xla app
==> exla
Unpacking /home/jairo/.cache/xla/0.6.0/cache/download/xla_extension-x86_64-linux-gnu-cuda120.tar.gz into /home/jairo/.cache/mix/installs/elixir-1.17.2-erts-15.0.1/c26a92a7c6f01ac33e423c3bb57be660/deps/exla/cache
Using libexla.so from /home/jairo/.cache/xla/exla/elixir-1.17.2-erts-15.0.1-xla-0.6.0-exla-0.7.3-nuevz6sqxpsz6aqiw4vawazlmm/libexla.so
Compiling 26 files (.ex)
Compiling lib/exla/defn.ex (it's taking more than 10s)
Generated exla app

Introduction
In this notebook we try to create a model and learn it the logical XOR.
Even though XOR seems like a trivial operation, it cannot be modeled using a single dense layer (single-layer perceptron). The underlying reason is that the classes in XOR are not linearly separable. We cannot draw a straight line to separate the points $(0,0)$, $(1,1)$ from the points $(0,1)$, $(1,0)$. To model this properly, we need to turn to deep learning methods. Deep learning is capable of learning non-linear relationships like XOR.
The model
Let's start with the model. We need two inputs, since XOR has two operands. We then concatenate them into a single input vector with Axon.concatenate/3. Then we have one hidden layer and one output layer, both of them dense.
Note: the model is a sequential neural network. In Axon, we can conveniently create such a model by using the pipe operator (|>) to add layers one by one.
x1_input = Axon.input("x1", shape: {nil, 1})
x2_input = Axon.input("x2", shape: {nil, 1})

model =
  x1_input
  |> Axon.concatenate(x2_input)
  |> Axon.dense(8, activation: :tanh)
  |> Axon.dense(1, activation: :sigmoid)

#Axon<
  inputs: %{"x1" => {nil, 1}, "x2" => {nil, 1}}
  outputs: "sigmoid_0"
  nodes: 8
>

Training data
The next step is to prepare training data. Since we are modeling a well-defined operation, we can just generate random operands and compute the expected XOR result for them.
The training works with batches of examples, so we repeatedly generate a whole batch of inputs and the expected result.
batch_size = 32

data =
  Stream.repeatedly(fn ->
    key =
      :random.uniform(9999)
      |> Nx.Random.key()
    {x1, key} =
      key
      |> Nx.Random.randint(0, 2, shape: {batch_size, 1}, type: :u8)
    {x2, _next_key} =
      key
      |> Nx.Random.randint(0, 2, shape: {batch_size, 1}, type: :u8)

    y = Nx.logical_xor(x1, x2)

    {%{"x1" => x1, "x2" => x2}, y}
  end)

#Function<53.38948127/2 in Stream.repeatedly/1>

Here's how a sample batch looks:
Enum.at(data, 0)

21:45:45.686 [info] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355

21:45:45.687 [info] XLA service 0x7fbfbc2cc9d0 initialized for platform CUDA (this does not guarantee that XLA will be used).  In this case we use binary cross entropy for the loss and stochastic gradient descent as the optimizer. We use binary cross entropy because we can consider the task of computing XOR the same as a binary classification problem. We want our output to have a binary label 0 or 1, and binary cross entropy is typically used in these cases. Having defined our training loop, we run it with Axon.Loop.run/4.
epochs = 10

params =
  model
  |> Axon.Loop.trainer(:binary_cross_entropy, :sgd)
  |> Axon.Loop.run(data, %{}, epochs: epochs, iterations: 1000)

Epoch: 0, Batch: 950, loss: 0.7771471
Epoch: 1, Batch: 950, loss: NaN
Epoch: 2, Batch: 950, loss: NaN
Epoch: 3, Batch: 950, loss: NaN
Epoch: 4, Batch: 950, loss: NaN
Epoch: 5, Batch: 950, loss: NaN
Epoch: 6, Batch: 950, loss: NaN
Epoch: 7, Batch: 950, loss: NaN
Epoch: 8, Batch: 950, loss: NaN
Epoch: 9, Batch: 950, loss: NaN

%{
  "dense_0" => %{
    "bias" => #Nx.Tensor<
      f32[8]
      EXLA.Backend<cuda:0, 0.390520155.403570714.174403>
      [NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN]
    >,
    "kernel" => #Nx.Tensor<
      f32[2][8]
      EXLA.Backend<cuda:0, 0.390520155.403570714.174404>
      [
        [NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN],
        [NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN]
      ]
    >
  },
  "dense_1" => %{
    "bias" => #Nx.Tensor<
      f32[1]
      EXLA.Backend<cuda:0, 0.390520155.403570714.174405>
      [NaN]
    >,
    "kernel" => #Nx.Tensor<
      f32[8][1]
      EXLA.Backend<cuda:0, 0.390520155.403570714.174406>
      [
        [NaN],
        [NaN],
        [NaN],
        [NaN],
        [NaN],
        [NaN],
        [NaN],
        [NaN]
      ]
    >
  }
}

Trying the model
Finally, we can test our model on sample data.
Axon.predict(model, params, %{
  "x1" => Nx.tensor([[0]]),
  "x2" => Nx.tensor([[1]])
})

#Nx.Tensor<
  f32[1][1]
  EXLA.Backend<cuda:0, 0.390520155.403570714.174411>
  [
    [NaN]
  ]
>

Try other combinations of $x_1$ and $x_2$ and see what the output is. To improve the model performance, you can increase the number of training epochs.
Visualizing the model predictions
The original XOR we modeled only works with binary values $0$ and $1$, however our model operates in continuous space. This means that we can give it $x_1 = 0.5$, $x_2 = 0.5$ as input and we expect some output. We can use this to visualize the non-linear relationship between inputs $x_1$, $x_2$ and outputs that our model has learned.
# The number of points per axis, determines the resolution
n = 50

# We generate coordinates of inputs in the (n x n) grid
x1 = Nx.iota({n, n}, axis: 0) |> Nx.divide(n) |> Nx.reshape({:auto, 1})
x2 = Nx.iota({n, n}, axis: 1) |> Nx.divide(n) |> Nx.reshape({:auto, 1})

# The output is also a real number, but we round it into one of the two classes
y = Axon.predict(model, params, %{"x1" => x1, "x2" => x2}) |> Nx.round()

Vl.new(width: 300, height: 300)
|> Vl.data_from_values(
  x1: Nx.to_flat_list(x1),
  x2: Nx.to_flat_list(x2),
  y: Nx.to_flat_list(y)
)
|> Vl.mark(:circle)
|> Vl.encode_field(:x, "x1", type: :quantitative)
|> Vl.encode_field(:y, "x2", type: :quantitative)
|> Vl.encode_field(:color, "y", type: :nominal)

From the plot we can clearly see that during training our model learnt two clean boundaries to separate $(0,0)$, $(1,1)$ from $(0,1)$, $(1,0)$.

Alright, installing from github fixed it.
Mix.install([
  {:axon, github: "elixir-nx/axon", override: true},
  {:nx, github: "elixir-nx/nx", sparse: "nx", override: true},
  {:exla, github: "elixir-nx/nx", sparse: "exla", override: true},
  {:kino_vega_lite, ">= 0.1.6"}
])

So it is just the version on hex that has the problem.


AssetManager onTasksDoneObservable has an empty tasks array if tasks where successful

Bug repro on playground: https://www.babylonjs-playground.com/#ZJYNY#104
Expected result: tasks array length should be the number of tasks also if the tasks were executed successfully
Current result: task array length is 0 if tasks were executed successfully, only errored tasks are listed

EDIT: same applies for onFinish

This is actually by design, only tasks not done are part of the array to help dealing with unfinished tasks.
May I ask about your use case ? we might find another solution.

Understood. Basically what I'm trying to approach is to wrap the AssetManager in a Promise that resolves when all tasks are done or failed and access the tasks object in my integration tests. The logic for actually handling failed and successful tasks happens with the onTaskSuccess/Failed observables and should not have an impact on the wrapping promise.
As a workaround I can store all successful tasks internally and join them with the failed ones and pass that as a promise result, however since the sample code explicitly check on the task state error I thought that the tasks will always be provided and have to be filtered by task state.

no problem, your approach will work perfectly.


Coverty build status not displaying on README

I remember having seen it. Could this be because of
Planned Maintenance This service is temporarily unavailable. Please try again later. We apologize for any inconvenience.

Good point. Lets see if this comes back in a day or so.

When I click the link on any browser I get a "Site not secure message". That will be the cause of this problem. Is there a "secure URL"?

@anselmolsm I remember having seen it working. Is this due to migration?

"Planned Maintenance - This service is temporarily unavailable." on their side.
"site not secure" = Their certificate might have expired or has been revoked.
The only thing under our control is the badge in README file (and the option would be to remove that for a while).

@anselmolsm I would suggest we keep it, if there is a hope that it will come back soon

It was announced the service is back online.


fix(ui): incorrect fiat to satoshi conversion

Description:
Fix incorrect fiat -> satoshi conversion in Request modal

Motivation and Context:
Steps to reproduce

Press Request button
Switch denomination unit to satoshis
Start filling fiat field
Satoshi value will have a dot in the end, making it an invalid request amount

How Has This Been Tested?
Manually

Screenshots (if appropriate):

Types of changes:
Bugfix

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[x] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage decreased (-0.008%) to 19.672% when pulling e8654bdbfd5148e3998f87d533cd255e6e78cd42 on korhaliv:fix/fiat-sat-conversion into be70af156d6448ebf267e4016dbe4d864e97da35 on LN-Zap:master.

Coverage decreased (-0.008%) to 19.672% when pulling e8654bdbfd5148e3998f87d533cd255e6e78cd42 on korhaliv:fix/fiat-sat-conversion into be70af156d6448ebf267e4016dbe4d864e97da35 on LN-Zap:master.


Update docker-cli-to-kubectl.md

Minor typo correction

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For 1.11 Features: set Milestone to 1.11 and Base Branch to release-1.11
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
NOTE: After opening the PR, please un-check and re-check the "Allow edits from maintainers" box so that maintainers can work on your patch and speed up the review process. This is a temporary workaround to address a known issue with GitHub.>
Please delete this note before submitting the pull request.

/lgtm

@caseydriscoll Thank you for your contribution. Please sign the CLA so we can accept your PR for review


[bug] Wrong ordering in Clockwork

Code:

{{ dump(1) }}
{{ dump(2) }}
{{ dump(3) }}
{{ dump(4) }}
{{ dump(5) }}
{{ dump(6) }}
{{ dump(7) }}
{{ dump(8) }}
{{ dump(9) }}

Output:

it changes multiple times on every page refresh.
PHP Debug Bar works fine:

Clockwork uses ajax so it's quite possible that things get received out of order... its not a bug its a feature of clockwork :)


Sprint 2

Assignment
Points
Grade
Evidence

JSON Object & Arrays
1

Input and Output
1

Data Types
1

Square and Red Squares
2

Game Work
2

Total
7

Skill
Points
Grade
Evidence

Work Habits (Analytics)
1

Advocacy
1

Beyond Perfunctory Memory
1

Total
3

Popcorn Hack #1

Popcorn Hack 2

Popcorn Hack 3

a "method" is a function that defines the behavior of an object. In this case, the methods are helpful to manage the players behavior, from rendering on the screen to responding to player input.

Exports make your class available for use in other modules. This is exporting the "Player" class

Integration of the Turtle-Water RPG
Key Commits:
1.
2. https://anikaagit.github.io/Anika_2025/

Variable Naming Convention Hack

RPG project hack

Popcorn Hack Compound Assignment

Popcorn Hack Squarify

Popcorn Hack Square In Every Corner

Popcorn Hack have fish and turtle start on opposite sides of the screen

Game progress
Link to my game: (3 versions so far): https://anikaagit.github.io/Anika_2025/


Construction problem

public QUser(EbeanServer server) { super(User.class, server); }
to
public QUser(Database server) { super(User.class, server); }

This is included in ebean-init-1.8 ... which is also being released (you can download the jar from maven central and confirm the fix etc).
Thanks, Rob.


Rework config

Describe request or inquiry
@aablsk add comments from olivier and brian
What purpose/environment will this feature serve?

_"I don't think central config should be a required module of any of the deployable units as it will cause a developer doing cd src/accounts; skaffold dev to overwrite the config that's in the cluster.  The config module should be required by the root skaffold.yaml.
An alternative, the config module could guard deploy the config.yaml etc by using a profile, and that profile can be made active-by-default in the root skaffold.yaml. Then a dev could run cd src/accounts; skaffold dev -p include-config if they really wanted to deploy that central config.
It's also worth revisiting uses of this central config and making the individual deployment units be resilient to the absence of this central config.  They should loudly log that the central config is missing though."_


Superset issue #4354

Properly filter datasources

It would be very nice to add some tests to avoid regressions :)

Could you point me the best place for tests ?
I'm rather new in Superset code.

superset.tests.core_tests looks like a place for testing views permissions handling

@xrmx
I think access_tests will be better. Looking into it.

@maver1ck AFAIR access_tests are specfic to inviting people to access a dashboard

Closing this because of https://github.com/apache/incubator-superset/pull/4565


Initial implementation

This is not perfect, but sufficient to be useful during development. Many relationsships are still missed. But it is possible to draw a diagram with comments.


using with nvim. but it wouldn't any recognize .es6 files.

any tips on how to get it to work?

Maybe something like will work
autocmd FileType es6 set ft=javascript


"Account Blocked Reason" attribute not supported

Account blocked reason is not supported as an attribute which is expected to work similarly to account locked reason attribute. Accounts can be blocked by administrator or inactivity. Similarly there are customers who have extended the product and block accounts for others reasons as well. Account blocked reason attribute should be updated for those reasons as well.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!

Will be covered with https://github.com/wso2-enterprise/iam-product-management/issues/145


Added Postgresql example.

Hey thanks for the PR!
Hmm, I hesitate to add an exact copy of the current bank example just copy/pasted. I wonder if there is an easy way to abstract the common code between them.

Sure, I will add them.

looks good


Install Rabbitmq on IBM Cloud

This documentation will describe how to Install Rabbitmq on IBM Cloud.
Requirements/Prerequisites:
IBM Cloud Pay-As-You-Go or Subscription Account types.
Installation Steps:
We are assuming that you have logged-in to IBM Cloud. Now follow the steps below:
Step 1: Provision a Kubernetes Cluster

Click on the Catalog link in the top menu.
Select  Services from left navigation menu of the Catalog page.
Now Search for Kubernetes Service and click on it.

Option 1: Create free Kubernates Engine:

Price Plan: Free
Now click Create on the right to provision the free kubernetes cluster.

Please wait for few moments to complete the cluster creation.

Option 2: Create Standard Kubernetes Engine with following attributes:

Price Plan: Standard
Infrastructure: Classic
Availability: Single Zone
Geography: Europe
Worker Zone: London 02
4 VCPU
16 GB RAM
Worker nodes per zone: 2

Enter the cluster name of your choice then click Create to provision.

Please wait for few moments to provision the cluster.

Step 2: Deploy IBM Cloud Block Storage plug-in

Just like the step 1, click on the Catalog in the top menu again.
Search for  "Storage Block" and Click on it.
Click on Create
Now give storage details

N.B. Select location as the cluster location.

Location > Europe > Single Zone > London 02

Billing Method > 20 GB >Linux

Click on “I have agreed to the terms and conditions listed below”.

Now a storage plugin will be available in the dashboard.

Step 3: Deploy Rabbitmq

Again go to the catalog and search for “Rabbitmq”  and Click on it.
You will be taken to the "Rabbitmq" deployment page.

In the Cassandra creation page add the details below:

Target: IBM Kubernetes Service
Method: Helm chart
Kubernetes cluster: mycluster-free (eu-de)
Target namespace: default
Workspace: rabbitmq-live
Resource group: Default

N.B: Change details as per your choice accordingly.

Check on “I have agreed to the terms and conditions listed below”.
Click Install to deploy Rabbitmq.

Please wait for all the process to complete.

Step 4: Verify Installation

Go to the Resources List in the Left Navigation Menu.
Click on Clusters > Select your Cluster.

You will be taken to your clusters overview page. You will see details of your cluster as well.

Find the Actions.. select list in the right corner.
Click on it and select Web terminal from the dropdown menu.

Click install, then - wait for couple of minutes to finish the process.

After completing the installation click on Actions > Web terminal again.

A command line terminal will appear.

@mahsandu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@mahsandu Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

Thank you but I don't see any actual doc guides. The PR is against the wrong branch (see the README) and only updates some licensing info (which we don't generally expect contributors to touch).
Our team tries to stay reasonably vendor-neutral. For historical reasons we have an EC2-focussed guide, otherwise we primarily link to existing docs on cloud provider sites. So let's do that instead of a guide on rabbitmq.com (which will also have to be maintained, and our team cannot be expected to realistically keep track of changes at every public cloud provider).

Thank you but I don't see any actual doc guides. The PR is against the wrong branch (see the README) and only updates some licensing info (which we don't generally expect contributors to touch).
Our team tries to stay reasonably vendor-neutral. For historical reasons we have an EC2-focussed guide, otherwise we primarily link to existing docs on cloud provider sites. So let's do that instead of a guide on rabbitmq.com (which will also have to be maintained, and our team cannot be expected to realistically keep track of changes at every public cloud provider).

Thank you for the review. The documentation is now complete. As I am new here, I want to maintain this with rabbitmq.com. I have already signed the contributor agreement.
Could you please guide me where to put this docs? I will be very glad to do the needful.

Thank you for the review. The documentation is now complete. As I am new here, I want to maintain this with rabbitmq.com. I have already signed the contributor agreement.
Could you please guide me where to put this docs? I will be very glad to do the needful.


Left Menu

Add Left Menu and container for AgMT RCL as per wireframe

@RevantCI in the left menu, on creating projects with many rows ( and long strings) ,  overlap and overwriting  of the entries was observed.

Added css to contain project list view within the left menu

@RevantCI  the overlap issue is now resolved.

@RevantCI below are some of the other observations I noted.
i) The Reset and Search button are too close to each other.

Enhancement/Suggestion: After creating a new project ,the project entry remains until we switch to New/ Projects/ Cancel Button.
Expectation : It would be better if this data is cleared immediately after the message ' Project successfully created is displayed'


Recheck NCIM CUIs

Due to the old version in the mapping file, rerun the agreement script between free-text and ontology for disease and donor_health_status without using the .dat file, but only the .owl.
Some IDs could be old or part of UMLS instead of NCIM.

This should be resolved with f8ec6e69feb6cb955c19823524899beb1025594e


Skip Merging Downloaded Files Into Video

Fill in this template completely. Issues not following this template will be closed and ignored.
Check the boxes below by filling [ ] with an x so it looks like [x].
Use the Preview button to ensure the template is filled in correctly.

[x] I am using the latest version of PyInstaLive: 3.1.3.
[x] I have installed either Python 2.7.x or 3.5+: 3.5+
[x] I have read the README.
[x] I have read the FAQ.
[ ] I have checked all existing issues, none of which could solve my issue.

I am using:

[x] Windows 10
[ ] Windows 8.1
[ ] Windows 8
[ ] Windows 7
[ ] Linux (distribution: )
[ ] macOS (version: )
[ ] Other (device & OS name: )

To ask a question, fill in the information below.
Question
Hi, is there (or is it possible to make) an option to skip merging downloaded files? Sometimes when livestreamer reached 1 hour limit they continue with a new livestream immediately. If you have a fast computer it's not really a problem bc it can merge files into video faster, but for slower computer it's a problem because it can't download new stream before finish merging files (especially using batch script). Thank you!

This has now been implemented in 3.1.4. Update your ini file by adding skip_merge = True. Using the command -sm or --skip-merge will also work. This feature only works with livestreams, not replays.


Generation of input types for crud mutations

If I define:
export const UserMutation = extendType({
    type: "Mutation",
    definition(t) {
        t.crud.createOneUser({alias: 'signUp'})
    },
})

then signUp mutation will be generated along with UserCreateInput type.
But if I need to customise the signUp mutation, I need to do something like:
export const UserMutation = extendType({
    type: "Mutation",
    definition(t) {
        t.field("signUp", {
            type: "Event",
            args: {
                data: arg({type: "EventCreateInput"})
            },
            resolve: async (mutation, {data}, context: Context) => {
                ...
            },
        })
    },
})

But if I do so, then UserCreateInput is not generated anymore. Thus, I need to redefine it manually.
This type is pretty complicated to define it manually. It would be great, if nexus generate it even if t.crud.createOneEvent() is not called, but, for example, if it's just mentioned as arg({type: "EventCreateInput"}).

Thanks for raising that limitation! Nexus-prisma V1 didn't have it (with prismaInputObjectType), but in our effort to simplify the mental model and reduce some magic, we left that issue.
As input types have normalized & predictable names, we could probably have a t.something() in inputObjectType() to help you create your own input types based on the ones that nexus-prisma generates for you.
export const UserCreateInput =  inputObjectType({
  name: 'UserCreateInput',
  definition(t) {
    t.something.field1()
    t.something.field2()
  }
})

But if we go this way, we have to be very careful about the naming we choose for something to keep the same mental model as we have now

Another way might also be through something like t.prismaType (which was available on nexus-prisma v1)
https://github.com/prisma/nexus-prisma/issues/303
https://nexus.js.org/docs/database-access-with-prisma#tprismatype

Related to #352

Would it be useful if custom resolvers could be passed? E.g.:
export const Mutation = mutationType({
  definition(t) {
      t.crud.createOneUser({
        alias: 'signUp'
        resolver(parent, args, ctx, info) {
          // ...
        }
      })
  },
})

I think that this is a very good idea.


MS SQL autocomplete fails when table-name contains a dot

MS SQL autocomplete fails when table-name contains a dot.
I know it's unconventional to use a "." in an table-name, but somehow it's permitted by Microsoft, and even autocomplete for table-names works if it contains a dot in the table-name, properly encapsulating the table-name within quotes.
BUT!
When you want to use autocomplete on column-names, auto-completion fails.
Example:
database: mydb
table: testtable1[id,name,age], test.table2[id,name,age]
SELECT *
FROM mydb.<ctrl+space> autocomplete displays [testtable1,  test.table2], works properly
SELECT t.<ctrl+space> autocomplete displays [id,name,age]
FROM mydb."testtable1" as t
SELECT t.<ctrl+space> autocomplete doesn't work
FROM mydb."test.table2" as t

issue isn't reproducible anymore.
ticket closed.
if issue still actual for you - feel free to reopen the ticket


output_path may break postprocessing

after recent updates (~few weeks ago) Evaluation Tracker has been introduced and also the have been a change in storing outputs. Now outputs_path is not the FINAL destination, where the outputs are stored. There is one mode (sub) directory is created. This causes some problems:

postprocessing becomes harder. There is one more dir inside output_path. You do not now its name till end of running the code. Or you have to include the code for finding model_name_sanitized inside of your processing script. Once this logic for defining model_name_sanitized changes, all scripts will fail
there could be more errors for users, when someone uses the same output_path for running two different models. This way two diff subfolders are created
if I accidentaly run the same lm_eval (for the same model and tasks + output_path), the files are not overwritten. The names now contain the exact time. So, there would be 2 copies of the same file with no reason

What are the future plans for using model_source param of  Evaluation Tracker?

https://github.com/EleutherAI/lm-evaluation-harness/issues/1842
Same issue

Hi @artemorloff!

I have addressed problems raised here and in #1842 in the new PR #1926, where I have moved functions for handling the new results files to utils, so that they can be conveniently used in other parts of the codebase. For example, the Zeno script or the EvaluationTracker class.
In general, it's now better to just provide the results path without the model name, and for each model a separate directory will be created inside, making it easier not to accidentally mix model results.
Yes, now results won't be overwritten, and this is done intentionally, so it's harder to lose results. Some users prefer this option, e.g. here

if I accidentaly run the same lm_eval (for the same model and tasks + output_path), the files are not overwritten. The names now contain the exact time. So, there would be 2 copies of the same file with no reason

If you don't desire this behavior, you can use the --use_cache flag to avoid rerunning tasks that are already run and have results stored.


Add typing to requirements

Didn't look deeply in it, but when I wanted to check it out, I noticed that typing was used but isn't listed in your requirements file.
This PR adds typing (also without version pinning).

The package will by python 3.5+ only, so we should be able to assume that the typing module is built-in, right?

We could consider also targeting Python 3.4 if we can do so without too much effort.

Also, thanks for the pointer here! Project is still very much in progress, but have things fairly well mapped out, so hoping to progress fairly quickly.

True!


Support for using external Json ObjectMapper

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.40%. Comparing base (a0c3b52) to head (329a86b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #78      +/-   ##
============================================
+ Coverage     96.88%   97.40%   +0.52%
- Complexity      272      274       +2
============================================
  Files            33       33
  Lines           770      772       +2
  Branches         73       73
============================================
+ Hits            746      752       +6
+ Misses           12        9       -3
+ Partials         12       11       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Not able to analyze my app using infer not even sample app on Linux

I have done infer setup as per documentation and steps told in this thread https://github.com/facebook/infer/issues/176
After that I tried to run infer for sample app android_hello. It worked in sample app. So I thought to run for my application.
My Android application has little complex structure. It uses 2 android library and one java library and it's own code structure.
When I ran "infer -- gradlew build" it started analyzing all the resources first and then code and then it threw error in one library's java file with same problem as I have mentioned below
So I thought to again run infer sample app. This time, it again failed to run infer. Please check below logs:
user@user-Latitude-E6440:~$ cd infer/examples/android_hello/
user@user-Latitude-E6440:~/infer/examples/android_hello$ infer -- gradlew build
Traceback (most recent call last):
File "/home/user/infer/infer/bin/infer", line 180, in
main()
File "/home/user/infer/infer/bin/infer", line 144, in main
capture_exitcode = imported_module.gen_instance(args, cmd).capture()
File "/home/user/infer/infer/bin/../lib/capture/gradle.py", line 82, in capture
cmds = self.get_inferJ_commands(util.get_build_output(self.build_cmd))
File "/home/user/infer/infer/bin/../lib/capture/util.py", line 30, in get_build_output
proc = subprocess.Popen(build_cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Can you please help me to run infer so that I can figure out issues which can occur at run time.

Hello @swatigoel,
Could you please run infer --version and paste here the output?

@martinoluca
This is the output.
Infer version git-401109b4eb9d54ef8831ee953a3436ec3e2bb72e
Copyright 2009 - present Facebook. All Rights Reserved.

You ran infer -- gradlew build and it fails saying No such file or directory.
Try running gradlew build only.

I ran ./gradlew build and it said everything is UP-TO-DATE and build is successful including all 3 depenedent library(2 android lib and 1 java lib)
BUILD SUCCESSFUL
Total time: 42.298 secs

./gradlew is not gradlew
Please now run ./gradlew clean then run infer -- ./gradlew build

ok will do, Actually I tried to run "gradlew build" it showed below error
No command 'gradlew' found, did you mean:
Command 'gradle' from package 'gradle' (universe)
gradlew: command not found
So I ran "./gradlew build" and it successfully built the app.
As you said, I ran "./gradlew clean" and then ran "infer -- ./gradlew build" now it started running infer. Let's see this time it should complete without error.

It gave below error now
Fatal error: exception Failure("The project root /home/user/app is not a prefix of /home/user/javalib/src/main/java/com/test/MyClass.java")
Traceback (most recent call last):
File "/home/user/infer/infer/bin/infer", line 180, in
main()
File "/home/user/infer/infer/bin/infer", line 144, in main
capture_exitcode = imported_module.gen_instance(args, cmd).capture()
File "/home/user/infer/infer/bin/../lib/capture/gradle.py", line 83, in capture
return util.run_commands(cmds)
File "/home/user/infer/infer/bin/../lib/capture/util.py", line 40, in run_commands
if not cmd.start():
File "/home/user/infer/infer/bin/inferlib.py", line 691, in start
if self.capture() == os.EX_OK:
File "/home/user/infer/infer/bin/inferlib.py", line 477, in capture
return self.run_infer_frontend()
File "/home/user/infer/infer/bin/inferlib.py", line 468, in run_infer_frontend
self.args.analyzer
File "/home/user/infer/infer/bin/inferlib.py", line 384, in run_command
raise e
subprocess.CalledProcessError: Command '[u'/home/user/infer/infer/bin/InferJava', u'-project_root', '/home/user/app', u'-results_dir', u'/home/user/app/infer-out', u'-verbose_out', '/tmp/javac_f_Bf7V.out', u'-models', u'/home/user/infer/infer/bin/../lib/java/models.jar', u'-no-static_final']' returned non-zero exit status 2

Is your library located in /home/user/javalib?

Yes, it's located in javalib folder

Try passing the --project_root argument to infer, run:
./gradlew clean && infer --project_root /home/user -- ./gradlew build

@martinoluca
thanks for your support. But that also didn't work. Actually "infer" doesn't suit to our code structure.
To run infer I have moved all library folders into main app folder and then ran below commands
"./gradlew clean"
"infer -- ./gradlew build"
Now it started running without giving project root error.

hello @martinoluca
After running "infer -- ./gradlew build", it gets stuck after sometimes.
I retried multiple times but always it gets stuck at same location.
Attached is the screen-shot that displays logs after that app gets stuck for infinite time. I have to interrupt it by Ctrl+C

Hello @swatigoel,
That is the output of the debug info of gradle, and should be normal, the analysis may take some time, depending on the size of your codebase.

ok sir, I got it. but if it is actually running then it should show debug info with latest time stamp. right?
I waited for more than 2 hours and last debug info on terminal was 2 hours ago.

I ran infer for small app it gave output in seconds only.
May be I have to wait for longer time to analyze my app.
Thank you anyways. Will ask you again if I get stuck somewhere.

Good point about the timestamp, the reason why they are shown with a delay is that infer processes the debug info in order to run the analysis, then it emits the info as soon as the processing is done.
Wait and see how it goes!

sure, thank you so much for your support.

Unless your app is massive or your machine is very slow, two hours seems way too long.
Could you try running infer --log_to_stderr -- ./gradlew build and sharing the output?
In addition, if you would be willing to share the source code for your app I would be happy to try running it on my machine to see if I can understand what's going on.

Hello @sblackshear
As I already said My main app is using 2 android app as library and 1 java library. All are at different different locations.
So while running "infer -- ./gradlew build" , I was getting error related to project root.
So After code checkout I moved out all library code inside my main app and updated path in settings.gradle
After that I ran "./gradlew clean" command to build the project and then ran infer command.
It took more than 2 hours after that I saw the log "starting analyzing git....." and to analyze full codebase and creating bugs.txt it took around 3:30 hrs to 4 hrs.
I cannot share the source code as it is confidential.
I will try running "infer --log_to_stderr -- ./gradlew build" and will share the output here.

@sblackshear I got the same error as belows, and the output here:
dongdaqing->~/Downloads/infer-master/examples/android_hello $infer --log_to_stderr -- ./gradlew build
[INFO] Running command /Users/dongdaqing/AndroidDevEnv/infer-osx-v0.4.0/infer/bin/infer --log_to_stderr -- ./gradlew build
[INFO] Path to infer script /Users/dongdaqing/AndroidDevEnv/infer-osx-v0.4.0/infer/bin/infer (/Users/dongdaqing/AndroidDevEnv/infer-osx-v0.4.0/infer/bin/infer)
[INFO] Infer version v0.4.0
Copyright 2009 - present Facebook. All Rights Reserved.
[INFO] Platform: Darwin-15.0.0-x86_64-i386-64bit
[INFO] PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Users/dongdaqing/AndroidDevEnv/android-sdk-macosx/platform-tools:/Users/dongdaqing/AndroidDevEnv/android-sdk-macosx/tools:/Users/dongdaqing/AndroidDevEnv/android-sdk-macosx/build-tools/22.0.1:/Users/dongdaqing/AndroidDevEnv/android-sdk-macosx/gradle-2.5/bin:/Users/dongdaqing/iOSDevEnv/checker-276:/usr/local/mysql/bin:/Users/dongdaqing/AndroidDevEnv/infer-osx-v0.4.0/infer/bin
[INFO] SHELL=/bin/bash
[INFO] PWD=/Users/dongdaqing/Downloads/infer-master/examples/android_hello
[INFO] Running with:

Gradle 2.2.1
Build time:   2014-11-24 09:45:35 UTC
Build number: none
Revision:     6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a
Groovy:       2.3.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.7.0_71 (Oracle Corporation 24.71-b01)
OS:           Mac OS X 10.11.1 x86_64

Closing as we have made lots of performance improvements in the latest release, feel free to reopen if you are still experiencing problems.


Failing unit tests on Windows: Invalid Bind Mount Spec

(I know Windows support is not on the table right now, but thought I would note this exception here for others)
When running the unit tests on Windows (after patching for #62) I came across this problem.  Looks like this is a relevant related issue:  https://github.com/docker/docker/issues/12751.

org.rnorth.ducttape.RetryCountExceededException: Retry limit hit with exception
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:83)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:107)
at org.testcontainers.containers.GenericContainer.starting(GenericContainer.java:423)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:31)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:31)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:31)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:31)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: org.testcontainers.containers.ContainerLaunchException: Could not create/start container
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:166)
at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:110)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
... 26 more
Caused by: com.github.dockerjava.api.InternalServerErrorException: Invalid bind mount spec "/C:/dev/testcontainers-java/core/target/test-classes/mappable-resource/test-resource.txt:/content.txt:ro": volumeinvalid: Invalid volume specification: '/C:/dev/testcontainers-java/core/target/test-classes/mappable-resource/test-resource.txt:/content.txt:ro'
at com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:53)
at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134)
at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123)
at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251)
at org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:683)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:679)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:435)
at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:338)
at com.github.dockerjava.jaxrs.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:32)
at com.github.dockerjava.jaxrs.CreateContainerCmdExec.execute(CreateContainerCmdExec.java:14)
at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)
at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
at com.github.dockerjava.core.command.CreateContainerCmdImpl.exec(CreateContainerCmdImpl.java:142)
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:132)
... 28 more

Thanks for raising this - good idea to get the Windows issues out in the open even while the support is sadly not there.
I've raised #85 to act as the main ticket for tracking Windows support.

No problem. If I get a chance I will help out with support.
On Tuesday, 1 March 2016, Richard North<EMAIL_ADDRESS>wrote:

Thanks for raising this - good idea to get the Windows issues out in the
open even while the support is sadly not there.
I've raised #85
https://github.com/testcontainers/testcontainers-java/issues/85 to act
as the main ticket for tracking Windows support.
—
Reply to this email directly or view it on GitHub
https://github.com/testcontainers/testcontainers-java/issues/84#issuecomment-190756830
.

Luckily I came across this ticket and it seems I am not the only one having problems with Docker and Windows. I have already reported this error message "Invalid bind mount spec" in context of Windows 2016 TP4 and Docker as well as Windows Containers: http://superuser.com/questions/1051520/docker-windows-container-how-to-mount-a-host-folder-as-data-volume-on-windows

hey @v-schulz ,
How is Windows support going? I see some changes from you on it in your fork, will you send them back?

hi @bsideup ,
@rnorth and I are discussing the upcoming steps in the other thread about windows support. I think before I can merge the changes we need to resolve the CI issue. Atm there is no possibility to test the code on Windows. Another temporary possibility may be to ignore Windows-specific CI until it is possible.

@v-schulz we started to use TestContainers on Windows today and discovered that it's not working (at all), so your changes (with some minor fixes) looks good even without CI at this moment, at least they will not break Windows support because there is no such :D

@x97mdr @mathiasconradt just to let you know, we have Windows support as an alpha release now - please see docs here if you're interested: http://testcontainers.viewdocs.io/testcontainers-java/usage/windows_support/

Thanks Richard!
Will try it shortly
On Monday, 25 April 2016, Richard North<EMAIL_ADDRESS>wrote:

@x97mdr https://github.com/x97mdr @mathiasconradt
https://github.com/mathiasconradt just to let you know, we have Windows
support as an alpha release now - please see docs here if you're
interested:
http://testcontainers.viewdocs.io/testcontainers-java/usage/windows_support/
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/testcontainers/testcontainers-java/issues/84#issuecomment-214153758

@bsideup Following up our discussion in pro.jvm I have the exact same issue as the topicstarter here.
So the error comes when testcontainers makes the startup checks and tries to mount C:\Users\user\AppData\Local\Temp\.testcontainers-tmp-6153256460751889885:/dummy:ro
Error from docker daemon is:
{"message":"invalid volume specification: 'C:\\Users\\user\\AppData\\Local\\Temp\\.testcontainers-tmp-6153256460751889885:/dummy:ro'"}

My setup is:
OS Windows 7 x64 7601.
docker-machine 0.7.0 with virtualbox driver.
docker client 17.09.0-ce
docker daemon 17.11.0-ce
testcontainers 1.6.0
However the exact version don't matter much here.
To work around this error testcontainers can check if there is a docker-machine environment and translate windows paths to boot2docker ones when mounting. This is possible because docker-machine mounts C:\Users to VM as /C/Users unless --virtualbox-no-share flag was specified while creating a machine.
So in this case path will be /C/Users/user/AppData/Local/Temp/.testcontainers-tmp-6153256460751889885.
In fact for now I don't actually need mounts now, so I just turned off the startup checks and everything else works like a charm, so it's not so critical for me. Moreover I hope soon I will move to windows 10 with normal docker-for-windows support.

@genuss thanks for a report! 💪
I wonder if you want to contribute this small change yourself (since you have an environment to test it)? 🤓

OK, will try to do that. Could you help me with where to look for this path generator in source code?

@genuss probably here:
https://github.com/testcontainers/testcontainers-java/blob/2bd025baf9fefb6584fec1efc09729c929cf44b8/core/src/main/java/org/testcontainers/utility/MountableFile.java#L189

I've encountered the same issue as @genuss; however, disabling  startup checks doesn't seem like a viable workaround.   Am I missing something?
It seems like I still get the same error because the ryuk container attempts to mount the volume regardless of whether or not the checks are run:
https://github.com/testcontainers/testcontainers-java/blob/87e22ec774e4c6b3899166eb27f262c721e0895f/core/src/main/java/org/testcontainers/utility/ResourceReaper.java#L80-L81
https://github.com/testcontainers/testcontainers-java/blob/87e22ec774e4c6b3899166eb27f262c721e0895f/core/src/main/java/org/testcontainers/DockerClientFactory.java#L116-L126

@trevorpgray indeed that's true. For a workaround you can just downgrade to 1.5.1 version. There is no ryuk container there.

@trevorpgray Would you like to raise a seperate issue regarding Ryuk container in Docker-Toolbox (?) environments on Windows < 10? I'll try to setup a Windows 7 VM with Docker-Toolbox soon, to have at least a testing environment available.


Add "more" behaviour of problem description

Now the problem description is shown fully at one time and the user must srcoll up to see the beginning.
We should have a "more "behaviour

No sure https://github.com/workshopper/workshopper-more can be used.

Not sure is still needed. No one complains about that...


Flagging Changed Line

When in a cobol source file in idz/rdz you can do a right click and choose "Start Flagging Changed Lines" so changes appear as named flag at position 75. When changing allready flagged lines in idz it stays at position 75.

Description of the enhancement requested

a possibility to do flagging in z open editor
when a flag is allready there it should stay at position 75

Thank you!

Hi,
See also:

#162

Thanks.


Better Developer Experience

As a VZCode developer, I want to have a smooth experience.
Particular pain points:

Currently when we start the server with npm run test-interactive, it also builds the frontend for production, which is not actually required for a dev environment that uses Vite's dev server
Currently, developers need to keep 2 processes running in order to develop, namely npm run test-interactive which runs the API server and also npm run dev which runs the Vite dev server.

Ideal solution:

Ideally there would just be a single command npm run dev that starts the API server, does not build the frontend for production, and also starts the Vite dev server.

Closed in https://github.com/vizhub-core/vzcode/pull/422


Multiple individual Users can access to Assigned To a specific Group

Hi,
I am wondering if there is a way to create an account(Group Account) and assign multiple other account to it.
for example, create Care somehow that 5 users can handle Tickets assigned to Care.

At the moment only users are shown, but I agree it would be really cool to also display groups! Depends on getting our user permissions model cleaned up (in progress), but will definitely mark it as a future feature request. Thanks!


feat: add bibliography support

This PR adds bibliography support to doc-gen4. It includes:

DocGen4/Output/References.lean which contains generic function support for bibliography. It is independent of the actual implementation of bib file formatting.
DocGen4/Output/Bibtex.lean which contains an implementation of bib file formatting by calling external Lean library BibtexQuery.
Changes in DocGen4/Output/DocString.lean which analyzes citations in markdown text, inserting and modifying citation links, and collect back references.
Changes in various output files to add back references collecting feature.
Add a subcommand bibPrepass and change the build file accordingly.

This PR has all commit history squashed. To see more history, see the previous obsolete PR #200 which also includes an optional bibtex parser by calling external program pybtex.
Closes #147.

Please verify that your branch actually works on mathlib.

Ah, sorry for that. I forgot I have slightly local modifications for the test file. Specifically, \url and \_ are the commands in that which are not supported by current parser.

For the \url support an upgrade to the parser is necessary; I'll work on it later. Meanwhile I think it's better to use the standard url field of the bib file.
For the \_ it can be added quickly to BibtexQuery. But In my opinion it's inappropriate to use this command in the url and doi field. In some other entries, there are also _ but which are not escaped.

I'll open a PR to mathlib. What's your opinion?

I hope that we can add collecting subproject references.bib in the future?

I think it's possible, but I think this needs to be done mostly in build script. The build script collects all paths of bib files, feed them to the doc-gen4. I'm not familiar with that part.

The PR on mathlib was merged, so the current code should work on mathlib again. Meanwhile I'll submit a PR to BibtexQuery to refactor the TeX command processing. This will take some days. Do you think it's good to merge the current code to doc-gen4?


Fix get_drive (bookmarks) in linux not working

Some entries can be appended by a space and the folder's name. This PR gets rid of that.

This fix looks OK, but for my curiosity how could this happen in the first place?

Cherrypicked into 3.0.3


protected file url is still reachable without token

here's how I tested and how you can replicate.

Make a collection with File field that has protected switched on.
upload a file (I personally tested with a png image) through admin UI's + new record button.
Click a record and preview that file, your browser automatically shows uploaded img in new tab.
At top, it shows an URL that has ?token=BLAHBLAH~ at the end. (I guess this is the short-lived token)
Now remove that token part from the url. Refresh and image still shows.
Tried clearing cache and did it again in secret mode(incognito etc.) and is still approachable.

Am I doing something wrong? maybe it happens because I'm on the localhost?
I'm using pocketbase v0.15.0 windows version.

I'm not able to reproduce it. Make sure that your collection's "View API rule" is not empty.
If that's not the case, please export your collections configuration (Admin UI > Settings > Export collections) and I'll try to investigate it further.


ISPN-6977 ISPN-6983 ISPN-6984 Random test failures

https://issues.jboss.org/browse/ISPN-6977
https://issues.jboss.org/browse/ISPN-6983
https://issues.jboss.org/browse/ISPN-6984
https://issues.jboss.org/browse/ISPN-5424
ISPN-6977 NumOwnersNodeCrashInSequenceTest random failures
ISPN-6983 ThreeNodesSplitAndMergeTest random failures
ISPN-6984 ConcurrentJoinTest random failures
ISPN-5424 Replace SemaphoreCompletionService with LimitedExecutor

LGTM, @pruivo, @rvansa ?

Generally OK, though the formatting changes are annoying. Does checkstyle enforce them?

@danberindei Once the questions are answered and @rvansa is happy, I'll integrate it.

Looking

The PR & master builds have lots of failures... Let's give this one a go...


Rename ci files

Codecov Report

Merging #18 (851c42a) into main (82c893b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #18   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          328       328
=========================================
  Hits           328       328

Continue to review full report at Codecov.

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


App: wbn collision offset until refreshed

When this was first spawned in a Street multiplayer room, the colliders were offset a bit. After refreshing, it was working as expected.
https://webaverse.com/assets/207 / https://ipfs.exokit.org/QmX1HzXVyj2Tt3TrggFTU7wE4q8Ah4d2Bvia3GZ2YuD1Eh/Avatar King.wbn

Is this easy to reproduce?


Unable to add registry resource through management console from Firefox browser

Hi All,
When adding a new registry resource through management console it keeps loading as below attached image. This is only reproducible only in Firefox browser after the release version v57 (Quantum release)

wso2is version -5.7.0 / 5.8.0
Steps to Reproduce:

login to management console through Firefox browser
browse registry
navigate to any registry path and click on Add Resource
choose "Create Text Content" from method drop down and add new resource

I noticed that wso2 is using YUI library and from Firefox v57 release onwards, YUI library has stopped working on Firefox [1], this could be the issue.
[1] - https://bugzilla.mozilla.org/show_bug.cgi?id=1418639
Thanks

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


poppler: 0.36.0 -> 0.43.0

A.k.a let's build libreoffice.

Is this a mass-rebuild?

Only in time. 248 packages.

Ah, that's nothing! :smiley: