#[schema(...)] (exclusive_)maximum and (exclusive_)minimum error with negative values

For some reason, the error is only appearing in rust-analyzer diagnostic output (in both vscode and zed) but cargo check passes.
It seems like the - token is being parsed as punctuation rather than part of the number.
Repro:
[package]
name = "utoipa-repro"
version = "0.1.0"
edition = "2021"

[dependencies]
utoipa = { version = "5.0.0-alpha.1" }

use utoipa::ToSchema;

#[derive(Debug, ToSchema)]
pub struct Example {
    #[schema(minimum = -2.0, maximum = 2.0, nullable)]
    pub float_value: f32,
}

Relevant part of the token stream:
TokenStream [
    Ident {
        ident: "minimum",
        span: SpanData { range: 61..68, ... },
    },
    Punct {
        ch: '=',
        spacing: Alone,
        span: SpanData { range: 69..70, ... },
    },
    Punct {
        ch: '-',
        spacing: Alone,
        span: SpanData { range: 71..72, ... },
    },
    Literal {
        kind: Float,
        symbol: "2.0",
        suffix: None,
        span: SpanData { range: 72..75, ... },
    },
    ...

Well that's a bummer, I took a look into this, and since it actually compiles it does the right thing and works. That is it somehow seems to to like very much of the negative numbers. Prefers users to be more positive :rofl:
Anyhow, something similar also happens if you would set a negative number to deafult = ... attribute, but different error of course. However the code works nevertheless.
I might need to change the whole idea of allowing users to set directly numbers to the arguments and go for more boring API where all primitive types should be presented as strings. Like serde is expecting all arguments to be string arguments.

Found a solution for fixing these issues. PR is coming shortly.

@kyle-mccarthy
However there is only 2 options, either to require users to use the fully qualified type. For attributes like minimum  and maximum the type is f64. The error goes away if users give explicitly the type in float form e.g. 5.0. This can also be enforced in parsing side as well which would then result user clear compile error that you should use the float format.
Another way to get around this would be to loosen the restrictiveness of the attributes itself. This could be done by instead of enforcing users to use f64 we would let users to give anything that serde::Number allows. Nonetheless this will then allow all sort of numbers which might not be what we want.


Updated Gradle wrapper jar and scripts

Was using an older jar that was flagged with a security vulnerability.

There's a test failing due to an unrelated change in the server, will submit a separate PR for that.


Address doesn't use customized required_fields in validate method.

Premise: Address::required_fields should be customizable via config files (or in code by updating the config value).
This seems to be nicely implemented in getRequiredFields, but the validate method doesn't use these required fields, it reads directly from the static variable, which doesn't allow customization.
Proposed fix: Use getRequiredFields in the validate method as well.
Can create a PR for this if wanted.

That sounds like a holdover from SS2.4. Good idea. If you've got time to create that PR that would be helpful. Thanks.

I just noticed that this has been changed in the develop branch (I was looking at the 1.1.0 version). The validate method now uses $this->config()->required_fields.
I think it would still be better to use getRequiredFields instead, since it handles overrides and extensions as well.

I agree

Created a PR for this. #370

Solved in #370


Some of tensorflow GPU OpKernel compute by eigen device without stream sync, is that correct?

from gpu_device.cc
   // NOTE(tucker): We need to discriminate between Eigen GPU
   // operations and all others.  If an operation is Eigen
   // implemented (or otherwise tries to launch a cuda kernel
   // directly), we need to establish a stacked-scoped environment
   // that directs it to execute on the proper device.  Otherwise we
   // expect the Op to use StreamExecutor directly and correctly.  The
   // way we make this discrimination is quite hacky: At the moment
   // the only non-Eigen GPU Op is the recv-op, which is known to be
   // asynchronous.

and gpu_device only waits when there are different contexts. (sync_every_op is false)
But take argmax_op.h  for example,
template <typename Device, typename T>
struct ArgMin {
#define DECLARE_COMPUTE_SPEC(Dims)                                     \
EIGEN_ALWAYS_INLINE static void Reduce##Dims(                        \
const Device& d, typename TTypes<T, Dims>::ConstTensor input,    \
const int32 dimension,                                           \
typename TTypes<int64, Dims - 1>::Tensor output) {               \
output.device(d) = input.argmin(dimension).template cast<int64>(); \
}

use device compute directly. Is that correct? Or I miss something ...
Thank you very much!

sorry, I miss something in code. cuda stream is passed to eigen device

how does cuda stream pass to eigen device?


Add StreamMessage.flatMapSequential()

that is similar to StreamMessage.flatMap but produces the elements sequentially.

I'm interested in doing this one once I finish up flatMap 🙂

Thanks, @sleeplesslord! 😄

I see. Let me finish reviewing #4227 if there're any optimization points.

Yes, it turned out to be that we can just use the flatMap. 😓
There are not so many optimization points. The buffer isn't going to be used anyway when maxConcurrency == 1.
So let's just close this issue. 😄


feat: return delegated tokens as well from getSecurityTokens

getSecurityTokens now returns all tokens owned by the passed wallet address as well as all tokens
for which that address has permissions. Also added a getPolyTokenAddress function to the base
client

:tada: This PR is included in version 2.0.1-beta.36 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[tcgc] add .sdkPackage now that the design is finalized

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/562/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/562/


Celerity Character Sheet

Celerity Character Sheet
Celerity sheet added
Changes
Celerity Sheet was added.
Additional comments
Celerity ruleset was written to address the numerous balance issues of D&D 3.5. The ruleset can be found in https://d20celerity.net.

Greetings @Aetis
I've approved this submission. In a future pull if you could move the images to github that would be most helpful. :)
Thanks,
Cassie

Got it. Is there anything else I need to do?

This looks like a good start. If I catch anything after the merge I'll let you know. :)


[iOS][Accessibility] Font size should adapt system settings.

What platform is your feature request related to? (Delete other platforms).

iOS

Additional context
If we changed font size in system settings, I think font size of adaptive card should be adjusted automatically like the green part in screenshots.

@jwoo-msft - do we have any work to do here or is this on the host to manage this situation?

@jonmill,
We need to make some changes to SDK for this to happen. It's a relatively new feature with iOS 11.

We should discuss whether this is something we should handle in our SDKs (because the system supports a call for text scaling) or whether the host should listen to these changes and update host config. If we do decide that this is on hosts to handle, our visualizers should do this work.

iOS renderer will check with iOS's native ability in supporting this feature. If this can be supported easily without needing changes in shared code such as HostConfig, we will use the native feature.


support ARURF ？

support ARURF ？

What exactly do you want it to do? There are no picks nor bans.


Fix dependencies in pubspec.yaml.

Running flutter packages pub upgrade failed with the following output:
ERR: The current Dart SDK version is 2.2.1-dev.0.0.flutter-7c70ab1817.
Because bidirectional_scroll_view requires SDK version >=1.19.0 <2.1.0, version solving failed.
Can you help me fix this please?

I made a pr #10

For temporary use

My pr to fix this issue was merged, but the author didn't push the new version to pub. You can simply use the GitHub version.

This issue can be closed. The plugin works with the newest version of flutter.


Allow Danger to retrieve the list of issues that would be closed when a GitLab MR is merged

The need comes from https://gitlab.com/gitlab-org/gitlab-ce/issues/52488.
That would be nice to allow Danger to retrieve the list of issues that would be closed when a GitLab MR is merged (the endpoint already exists: https://docs.gitlab.com/ee/api/merge_requests.html#list-issues-that-will-close-on-merge), so that further actions could be taken based on these issues.

I'm happy to have the gitlab DSL expanded to include that via something like gitlab.closes_issues (we do that kinda thing for a few properties in the DSL.)
That said, it might just be worth using the GitLAb API via the included Gem in your Dangerfile in this case, or do you see it being used in a lot of Dangerfiles for the community?

That said, it might just be worth using the GitLAb API via the included Gem in your Dangerfile in this case, or do you see it being used in a lot of Dangerfiles for the community?

We can definitely start with the "manual" way in our own Dangerfile, and see if there's traction on this integrated proposal. 👍


Adding Travis

As @xsanda suggested, it would probably be a good idea to let Travis handle building and deploying to /dist.

Implemented in #35. The files will be deployed to Releases.


chore: merge pegasus-scala-client to incubator-pegasus

What problem does this PR solve?
merge pegasus scala client into incubator-pegasus
details can be seen in the issue : https://github.com/apache/incubator-pegasus/issues/945
What is changed and how does it work?
only add the scala client repo
Checklist
Tests

Unit test
Integration test

I've checked:

[ ] .github/workflows/*.yaml
[ ] .gitignore
[ ] com.xiaomi.infra.pegasus renamed to org.apache.pegasus
[ ] new actions are running normally
[ ] All files have APLv2 header
[ ] SER[V] -> Serializer[V]


chore: update synthtool committish

For existing files, the copyright year shouldn't change (Copyright notice).
@diegomarquezp should we change the generation logic?

For existing files, the copyright year shouldn't change (Copyright notice).
@diegomarquezp should we change the generation logic?

@JoeWang1127 check this thread it's fine to update the year on existing libs


Ensure a Git remote named 'platform'.

This could allow users to have an 'origin' remote set to another URL.
[WIP]

For information: having to deal with more than one remote repository can be made with only one remote identifier as explained here http://stackoverflow.com/a/4255934/766215
I just made the test and it works well. Of course, the two remotes have to be absolutely synchronized.

I think we want two identifiers for the same remote, rather than one identifier for two remotes. I want consistent documentation, and a reliable remote name that can be used by other commands. I want to be able to advise a CLI user: git push platform <branch> and to know that it'll work. But users will also be used to working with origin.


Add dynamic home

This PR contains:

ENHANCEMENT

Describe the problem you have without this PR
Shortly mentioned here: https://github.com/salomonelli/best-resume-ever/pull/5#issuecomment-329301836
The home overview with all templates has to be edited for every template which is added. To minimize redundancy, this can be done in a vue loop.
To Do / Discussion

Written here https://github.com/salomonelli/best-resume-ever/issues/41#issuecomment-329518443, the images are not rendered. Maybe someone knows a solution?
If a new template is added, it has to be imported and added to a list in src/resumes.js. Can this be done better?

Really cool, thanks a lot! Unfortunately the preview images are broken (status code 404).

I know, I don't really know much about the link conversion, but I think there's something going on, am I right? (https://github.com/salomonelli/best-resume-ever/issues/41#issuecomment-329518443)

I close this PR for two reasons:

I messed up my fork with branching I don't understand.
The more templates are added while the problem isn't solved, the more I have to modify this.

If someone finds a solution in the mean time, he can make a pull request or comment on this.
There are only a few changes and it's simple to restore them :+1:


Files created from model with extra spaces

For some reason sometimes code is generated with extra spaces. See attached file.
Code is technically correct and compiles after the spaces are removed, but it can be tedious.

Referenced attachment.
world.zip

Please share the environment details NetBeans IDE, JPA Modeler version , Operating System etc.
Is it ubuntu ?

Netbeans IDE 8.1, Ubuntu 14, JPA modeler 1.5.6

In some cases it was letters in others chunks of words.

Hi @javydreamercsw ,
This issue is not reproducible, may be it is specific to your environment (OS), Have you tried it with any other env.

No, I haven't.

Hi @javydreamercsw ,
Can you try it with other environment. I have already observed(not now, 1 year before) in Ubuntu OS with different text editor. I am sure this environment specific issue.

Requester is unresponsive and issue is not reproducible so is closed right now.
If you are getting the same issue also with different environment then reopen it.


Memory game added

Hello everyone, I just added a fun memory game Please merge it if Everything is fine.

Thanks

Congratulations for your Open source contribution. Don't forget to follow and add a star on this repo.. Happy hacking


fixing docs

Fixes #283

Coverage remained the same at 60.798% when pulling a939a13f2a8ee215e0df49c03af5cfb401678394 on kevgliss:283-certificate-upload-docs into 4da2f33892a2a014b91ec82a376e219d6170b33f on Netflix:master.


Lifecycle callbacks setupall investigation

Looks like it's not possible to for an instrumentation app to store cache/tmp files (link).

Remembering setUpAlls that were executed across multiple app under test runs requires some safe, persistent place.
On iOS, this can simply be instrumentation's memory, because it lives for the whole duration of the test suite execution.
On Android though, the instrumentation and app under test live in the same process, and both are killed and their memory is cleared after a single test finishes running. It's Android Test Orchestrator who manages execution, and it doesn't expose any APIs for storing some data persistently.

Another idea is to store the status of setUpAll that were executed in the filesystem.
As an example, we can take a look at how Allure accomplishes that:

AllureAndroidJUnitRunner
ExternalStoragePermissionsListener

This sounds good

Superseded by #1751.


fix(NODE-4125): change stream resumability

This PR address resumability issues in the iterator-based API for change streams.
As much as I tried to separate the refactor from the code changes, I ended up making a few refactors as a part of this PR.

44635ba30e9dc93559ba1bfe98fcc65ff062e79a makes the cursor property on the change streams always defined (non-optional).  This was primarily to make tests that use the cursor easier to work with.
881dcf2c460a82018b3476262b989c8f24809fb7 breaks apart the error handling for iterator and event emitter modes.  Although this does result in some duplicated code, it did simply each method and allowed the promisifying of iterator-mode resume without modifying event emitter mode resuming.
I made each iterator method (tryNext, next and hasNext) internally use async IIFEs.  I did this for two reasons.  First, it made the resume logic a bit simpler to read and write.  Second, once we get to the async/await work, we can simply remove the maybePromise wrapper and the IIFE, and we should have the async functionality we need already written for us.

Relevant Commits
8820ea16e31874a22bfe1ddafc9423d379327a29 is the most important commit in this PR, as it actually fixes the resumability for iterator mode.
94a48533255022d2e02a44552c551d80887f5cad makes a drive-by fix to remove an internal function in favor of server selection in the resume process.
Note
As it turns out, the stream based change stream API has never been resumable.  I can file a follow up ticket to make our stream resumable, if we want to, but it seemed out of scope for this bug fix work.
Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
[x] Changes are covered by tests
[x] New TODOs have a related JIRA ticket

My patch run: https://spruce.mongodb.com/version/62ab44d632f417132f2a9a8a/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC


Sidebar

Description
Change Status

[*] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

Checklist

[*] My code follows the style guidelines of this project
[*] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[*] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[*] There are no merge conflicts

Good Job


prismlauncher: update to 6.0

Description of changes
Changelog: https://github.com/PrismLauncher/PrismLauncher/releases/tag/6.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg eval

Generally we format update commit messages in the following way: prismlauncher: 5.2 -> 6.0 (see contributing.md) so it would be nice if you could amend to this

Yeah I probably had a brain lag yesterday while updating all Prism Launcher packages I am involved with. :D

Result of nixpkgs-review pr 205813 run on x86_64-linux 1

2 packages built:

prismlauncher
prismlauncher-qt5

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/731


Enable TestingMiddleware to introduce randomization when writing declarative test transcripts

microsoft/botframework-composer#3889 has the feature request to include a SetTestOptionsMiddleware in the default runtime. A convenient way to generate new tests is to create a transcript using the Emulator and turning that into a test script. However, randomness in bot responses make it impossible to replay the same transcript.
To resolve this, the SDK has:

Defined TestingMiddleware in Microsoft.Bot.Builder (Inspection) to pick up a SetTestOptions custom event and copy the payload into conversation.testOptions. We made the payload open ended.
Defined randomSeed to seed a random number generator or randomValue to return a constant value from all calls to random and adjusted all users of random to make use of that.
Defined a bf plugin that converts a transcript into a test script that supports the history and mocking.

Evaluate enabling this in the Adaptive Runtime as a middleware to enable in runtime configuration, included in whatever block of work is focused on enabling bot unit tests.

Big rocks agreed to rename it to TestingMiddleware in order to have a place to put testing stuff and treat it in the same way we do inspection middleware in terms of the package it is in and the namespace.

I like the idea of making this a component to give developers additional control to turn this on/off. As a component, you could easily include it in dev/test environments, but not deploy to your production environment.

#5077 has a PR.  That PR just moves this middles out of Adaptive.Testing (preview) and into Bot Builder.
This issue will need to resolve how to make it available to runtime.  I am leaning somewhat to adding a feature flag.  There is an issue of where to put the BotComponent if we want to go that route.  In either case, this middleware could be enabled in appsettings.development.json to avoid it being in a production bot.

This definitely needs to be configurable - distributing as a package seems like a good way to accomplish that. If we want to leave it in the SDK, we'll need to make Composer UI changes to provide a toggle on the settings page, and update the CI/CD guidance to recommend using a JSON transform to disable it before deploying to production.

We have agreed on multiple occasions to move away from transcript based testing. They are difficult to debug, hard to maintain,  and lead directly to huge PRs with hundreds of files changed. Are we sure adding more features to a story we're moving away from is the right choice?
@johnataylor I'm assuming as this is both Middleware and Transcript Testing that you're in favor. Can you please add your reasoning here so we can discuss?

Couple of things, yes absolutely the transcript based testing is absolutely not appropriate for the checkin tests or unit tests or anything at that level. They are no substitute for designing the code for testing, carefully crafting the test cases with mocks and injection and carefully make appropriate assertions. Perhaps there is a role in some functional test scenario. If the high level end to end functional test is what is desired then sure, that may be useful but lets not confuse that with regular testing. Can we completely decouple the functional tests, for example, aren't they in a completely different repo?
Specifically with regards to the middleware, we discussed this, its a couple of lines of code in the adaptive dialog bot to flip a setting, there is no need for the noise and complexity of making it a middleware. I realize its a simple middleware, but it is also pointless and these things just add up over time.

This is likely a duplicate of https://github.com/microsoft/botbuilder-dotnet/pull/5628.  Will close this one if that issue/PR is agreed on.

Closing.  No longer needed due to how #5077 was implemented.  SetTestOptions handling is always on in the AdaptiveDialogBot.


marc2bf 'Requirement to convert link target to IRI failed for invalid input'

When I try to run marc2f to convert a record, I get tons of WARNING messages, for example:
WARNING:marc2bf:Requirement to convert link target to IRI failed for invalid input, causing the corresponding output link to be omitted entirely: (I(hpp6TLv1L24), I(http://bibfra.me/vocab/lite/link), 'http://www.degruyter.com/isbn/9781501502170    ')
After keyboard interrupt, the only clues I can see seem to be around a module, but which the only solutions I've seen involve reinstalling Python:
FileNotFoundError: [Errno 2] No such file or directory: '-------src-dir-------/Python-3.5.1/Modules/pyexpat.c'

Hi. That's a common warning as we currently make no attempt to sanitize or encode the field, and is not indicative of any issue with your environment. In this case, what's supposed to be a URI ends in a space and so cannot be turned into an IRI. We get lots of those warnings too as you might imagine, and haven't spent much time thinking about how to clean this up, other than to observe (as your example demonstrates) that actions such as percent-encoding wouldn't necessarily always be appropriate.


only reconnecting some consumers

Hey, we encounter some problems with the reconnection of consumers in our services. It seems that only some of them are being recovered, sometimes even none at all.
Initializing environment variables...
Initializing queues...
2023-07-25T13:40:02+02:00 ??? 2023/07/25 13:40:02 gorabbit INFO: Processing messages on 1 goroutines
2023-07-25T13:40:03+02:00 ??? 2023/07/25 13:40:03 gorabbit INFO: Processing messages on 1 goroutines
2023-07-25T13:40:03+02:00 ??? 2023/07/25 13:40:03 gorabbit INFO: Processing messages on 1 goroutines
2023-07-25T13:40:03+02:00 ??? 2023/07/25 13:40:03 gorabbit INFO: Processing messages on 1 goroutines
start consuming events
Started to listen for sigkill and sigterm
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit INFO: rabbit consumer goroutine closed
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit ERROR: attempting to reconnect to amqp server after connection close with error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit INFO: waiting 5s seconds to attempt to reconnect to amqp server
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit ERROR: attempting to reconnect to amqp server after close with error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit ERROR: attempting to reconnect to amqp server after close with error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit INFO: waiting 5s seconds to attempt to reconnect to amqp server
2023-07-25T13:46:18+02:00 ??? 2023/07/25 13:46:18 gorabbit INFO: waiting 5s seconds to attempt to reconnect to amqp server
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit WARN: error closing connection while reconnecting: Exception (504) Reason: "channel/connection is not open"
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit WARN: successfully reconnected to amqp server
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit INFO: successful connection recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit WARN: error closing channel while reconnecting: Exception (504) Reason: "channel/connection is not open"
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit WARN: successfully reconnected to amqp server
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit INFO: successful publisher recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit WARN: error closing channel while reconnecting: Exception (504) Reason: "channel/connection is not open"
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit WARN: successfully reconnected to amqp server
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit INFO: successful consumer recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T13:46:23+02:00 ??? 2023/07/25 13:46:23 gorabbit INFO: Processing messages on 1 goroutines
recreating channel cause of error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 connection closed, reason: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 Exception (504) Reason: "channel/connection is not open"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 channel closed, reason: %vException (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit INFO: rabbit consumer goroutine closed
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit ERROR: attempting to reconnect to amqp server after connection close with error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit INFO: waiting 5s seconds to attempt to reconnect to amqp server
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit ERROR: attempting to reconnect to amqp server after close with error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit ERROR: attempting to reconnect to amqp server after close with error: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit INFO: waiting 5s seconds to attempt to reconnect to amqp server
2023-07-25T14:10:16+02:00 ??? 2023/07/25 14:10:16 gorabbit INFO: waiting 5s seconds to attempt to reconnect to amqp server
2023-07-25T14:10:19+02:00 ??? 2023/07/25 14:10:19 channel recreate failed, err: Exception (504) Reason: "channel/connection is not open"
2023-07-25T14:10:19+02:00 ??? 2023/07/25 14:10:19 reconnect success
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit WARN: error closing connection while reconnecting: Exception (504) Reason: "channel/connection is not open"
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit WARN: successfully reconnected to amqp server
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit INFO: successful connection recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit WARN: error closing channel while reconnecting: Exception (504) Reason: "channel/connection is not open"
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit WARN: successfully reconnected to amqp server
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit INFO: successful consumer recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit WARN: error closing channel while reconnecting: Exception (504) Reason: "channel/connection is not open"
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit WARN: successfully reconnected to amqp server
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit INFO: successful publisher recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2023-07-25T14:10:21+02:00 ??? 2023/07/25 14:10:21 gorabbit INFO: Processing messages on 1 goroutines
2023-07-25T14:10:22+02:00 ??? 2023/07/25 14:10:22 channel recreate success
2023-07-25T14:24:37+02:00 INF successfully handled event: xyz service=zyx <---- from one consumer
--- no further messages after that ---

As you can see the service started with 4 consumers but only one seems to have reconnected. This seems to be a similar or even the same issue as #99. I've also checked #87 but we're already using only one consumer per queue.
Should the consumers have each their own connection (#79)? Maybe I've misunderstood something but I thought with the connectionManager and channelManager there shouln't be a need for this. Using v0.12.4

The related issues are closed, are you still seeing this problem with the latest version?


Ability to ignore node_modules or files in .gitignore by default

Referencing issue #427, I am working on a project where I'm co-locating tests with their module.
i.e.
--/path/to/module.js
--/path/to/module.spec.js

I'm currently targeting these spec files with the function tape '{,!(node_modules)/**/}*.spec.js' | tap-spec. The glob I've written is somewhat convoluted and slightly difficult to read and it does seem like perhaps the default behaviour for the tape-cli is that it should exclude the node_modules directory or respect your .gitignore file.
Within the glob module that tape uses, there is an ignore option to exclude certain directories and files. If there are legitimate reasons for not excluding node_modules and/or gitignore by default, perhaps this could be achieved behind a flag.
Thoughts?

I think that a good semver-minor change would be to add an option to the tape binary that uses gitignore (node_modules should be gitignored anyways), and then in a later semver-major, flip the default.

Cool I'll go ahead with dotignore

@danielgormly it'd be great if you wanted to submit a PR for this :-)


Create a "getting started" tutorial

Probably the simplest solution would be to take one of the examples and split it up into pieces.

I can take a go at this, but could you elaborate a little more? Maybe explain what you mean by split an example into pieces? The codes already commented so i'm just wondering what id be doing exactly.
Thanks

Hey Gambit,
I added a quick skeleton tutorial here https://github.com/jacob-grahn/jiber/tree/master/packages/jiber-client/docs/draw-with-friends-tutorial
We can start filling it in bit by bit until we've got a pretty good guide to get people started.

Okay, sounds great. I'll start filling it in as I learn jiber better myself, i'm still checking it out and learning a bit, so I might add some subtle things for now but I want to learn jiber more thorough before I add any code sections or anything! You can definitely expect something from me though.


Turbine doesn't recover data from multiple applications (same cluster)

I am not sure whether this is an issue or I am missing something.
I am testing spring cloud netflix in the following setup:

2 app: microservice-one, microservice-two (microservice-one calls microservice-two)
1 zuul server (calling both microservice-one and microservice-two)
all calls are done using feign, hystrix and ribbon
1 eureka server
1 turbine
1 Hystrix dashboard

Everything works as expected except Turbine, which I haven't been able to make it work as I expected.
I would like to have a single Hystrix Dashboard unifying the two apps and zuul server. This way calls to microservice-two from zuul server and microservice-one would be aggregated in a single dashboard. The turbine configuration is the following:
turbine:
  aggregator:
    clusterConfig: MYCLUSTER
  appConfig: microservice-one, microservice-two, zuul-server
  clusterNameExpression: metadata['cluster']

The two microservices and the zuul server are registering to Eureka providing the cluster name as metadata:
eureka:
  instance:
    metadataMap:
      cluster: MYCLUSTER

From Turbine log I can see that turbine tries to get info from Eureka for the three applications, but only recovers instances from the first. What puzzles me is that this happens regardless of which of the three applications (zuul-server, microservice-one and microservice-tow) is the first and therefore it might suggest that something is wrong. This is the log:
2016-04-04 11:47:57.105  INFO 8436 --- [        Timer-0] o.s.c.n.t.CommonsInstanceDiscovery       : Fetching instance list for apps: [microservice-one,  microservice-two,  zuul-server]
2016-04-04 11:47:57.105  INFO 8436 --- [        Timer-0] o.s.c.n.turbine.EurekaInstanceDiscovery  : Fetching instances for app: microservice-one
2016-04-04 11:47:57.105  INFO 8436 --- [        Timer-0] o.s.c.n.turbine.EurekaInstanceDiscovery  : Received instance list for app: microservice-one, size=1
2016-04-04 11:47:57.106  INFO 8436 --- [        Timer-0] o.s.c.n.turbine.EurekaInstanceDiscovery  : Fetching instances for app:  microservice-two
2016-04-04 11:47:57.106  WARN 8436 --- [        Timer-0] o.s.c.n.turbine.EurekaInstanceDiscovery  : Eureka returned null for app:  microservice-two
2016-04-04 11:47:57.106  INFO 8436 --- [        Timer-0] o.s.c.n.turbine.EurekaInstanceDiscovery  : Fetching instances for app:  zuul-server
2016-04-04 11:47:57.106  WARN 8436 --- [        Timer-0] o.s.c.n.turbine.EurekaInstanceDiscovery  : Eureka returned null for app:  zuul-server
2016-04-04 11:47:57.106  INFO 8436 --- [        Timer-0] c.n.t.discovery.InstanceObservable       : Retrieved hosts from InstanceDiscovery: 1
2016-04-04 11:47:57.106  INFO 8436 --- [        Timer-0] c.n.t.discovery.InstanceObservable       : Found hosts that have been previously terminated: 0
2016-04-04 11:47:57.106  INFO 8436 --- [        Timer-0] c.n.t.discovery.InstanceObservable       : Hosts up:1, hosts down: 0

As I said, I am not sure whether I am trying to use turbine for something that it is not built for or it is an issue.
The code for this test is available at https://github.com/jpuigsegur/spring-cloud-netflix-sample.

Ok. Until the commit makes its way to the corresponding release, removing white space from appConfig string makes it works as expected. The Turbine configuration now looks like:
turbine:
  aggregator:
    clusterConfig: MYCLUSTER
  appConfig: microservice-one,microservice-two,zuul-server
  clusterNameExpression: metadata['cluster']
  combineHostPort: true

Thanks!


error when validating station with regions key

Validating this station
{
	type: 'station',
	id: '123456',
	name: 'Hauptbahnhof',
	location: {
		type: 'location',
		latitude: 45,
		longitude: 13
	},
	regions: ['1234']
}

Fails with
AssertionError [ERR_ASSERTION]: objregions[1] must be a string
    at validateReference (/node_modules/validate-fptf/lib/reference.js:9:5)
    at recurse (/node_modules/validate-fptf/index.js:45:7)
    at validateStation (/node_modules/validate-fptf/station.js:32:7)
    at recurse (/node_modules/validate-fptf/index.js:43:7)
    at validate (/node_modules/validate-fptf/index.js:53:10)
    at Object.<anonymous> (/test.js:21:1)
    at Module._compile (module.js:649:30)
    at Object.Module._extensions..js (module.js:660:10)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:501:12)

Same thing happens for regions with stations key.

PR welcome.

I find your code pretty hard to read/understand, so its probably easier if you fix it yourself.

I'm not sure how to make the code significantly simpler. Will fix this one though.

Thanks!

Same thing happens for regions with stations key.

Not fixed yet, I'll PR.


Add usage example notebooks

Currently we do not have notebooks that compare performance of DSM with other models.
We would need to compare against:
-DeepHit
-DeepSurv
-Random Survival Forest
-Cox PH
on Time Dependent CI and Brier Score.

@chiragnagpal  sir, This looks interesting...
I would like to work on this part...

@kishanmaharaj great, I am assigning this to you. I'll add a small notebook example and let you work on improving this. Ideally we'd want to work on a separate branch for this and not commit to master.

@chiragnagpal Okay Sir... Understood.

@chiragnagpal sir, can you send me some references on the above-mentioned models (DeepHit, DeepSurv, Random Survival Forest etc.)...?

you can find the original references to the papers/methods mentioned in our paper
https://arxiv.org/pdf/2003.01176.pdf
see sec. 4.2
Fpor experiments, you might want to check out the python package pycox,  scikit-survival and lifelines which have implementations of these methods.

@chiragnagpal Okay, sir...


[Refactor] no-invalid-html-attribute: sort HTML_ELEMENTS and messages

Sorting things help me anticipate what the next item in the list will be and allow me to spot missing values, e.g. when there was no strong after strike I'd directly see that it would be missing.

Totally fine to do it in a separate PR, just makes this one harder to review :-)
Originally posted by @ljharb in https://github.com/yannickcr/eslint-plugin-react/pull/3174#discussion_r785464082

This is a pure chore commit - it only re-arranges/sorts the code - no additions or removals.

Codecov Report

Merging #3182 (82e4750) into master (5f49f51) will decrease coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3182      +/-   ##
==========================================
- Coverage   97.55%   97.46%   -0.09%
==========================================
  Files         120      120
  Lines        8287     8287
  Branches     2981     2981
==========================================
- Hits         8084     8077       -7
- Misses        203      210       +7

Impacted Files
Coverage Δ

lib/rules/no-invalid-html-attribute.js
96.71% <ø> (ø)

lib/rules/no-unused-state.js
94.80% <0.00%> (-3.04%)
:arrow_down:

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 5f49f51...82e4750. Read the comment docs.

(I renamed it because the word "chore" is wildly inappropriate; chores are miserable things that you're forced to do by an authority figure :-) maintenance tasks and refactors are good things, and shouldn't invite that kind of connotation)

Hahaha 😅 OK! 👍🏻
I wasn't sure how much folks are into Conventional Commit style here. Refactor sounds much much better

That tooling is great, but unfortunately the actual style is terrible, and offers no way to configure it.


How do I fix it?

when I run "examples/train_bc_rnn.py --bebug", something went wrong.
Epoch 2 Memory Usage: 1030 MB
Exception ignored in: <function MjRenderContext.del at 0x7fa1b109e310>
Traceback (most recent call last):
File "/home/user/Downloads/robosuite-master/robosuite/utils/binding_utils.py", line 199, in del
self.gl_ctx.free()
File "/home/user/Downloads/robosuite-master/robosuite/renderers/context/egl_context.py", line 149, in free
EGL.eglMakeCurrent(EGL_DISPLAY, EGL.EGL_NO_SURFACE, EGL.EGL_NO_SURFACE, EGL.EGL_NO_CONTEXT)
File "/home/user/miniconda3/envs/robomimic_venv/lib/python3.8/site-packages/OpenGL/error.py", line 230, in glCheckError
raise self._errorClass(
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_NOT_INITIALIZED,
baseOperation = eglMakeCurrent,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7fa1a6735ec0>,
<OpenGL._opaque.EGLSurface_pointer object at 0x7fa1c9044a40>,
<OpenGL._opaque.EGLSurface_pointer object at 0x7fa1c9044a40>,
<OpenGL._opaque.EGLContext_pointer object at 0x7fa1c9044cc0>,
),
result = 0
)
Exception ignored in: <function EGLGLContext.del at 0x7fa1b109e160>
Traceback (most recent call last):
File "/home/user/Downloads/robosuite-master/robosuite/renderers/context/egl_context.py", line 155, in del
self.free()
File "/home/user/Downloads/robosuite-master/robosuite/renderers/context/egl_context.py", line 149, in free
EGL.eglMakeCurrent(EGL_DISPLAY, EGL.EGL_NO_SURFACE, EGL.EGL_NO_SURFACE, EGL.EGL_NO_CONTEXT)
File "/home/user/miniconda3/envs/robomimic_venv/lib/python3.8/site-packages/OpenGL/error.py", line 230, in glCheckError
raise self._errorClass(
OpenGL.raw.EGL._errors.EGLError: EGLError(
err = EGL_NOT_INITIALIZED,
baseOperation = eglMakeCurrent,
cArguments = (
<OpenGL._opaque.EGLDisplay_pointer object at 0x7fa1a6735ec0>,
<OpenGL._opaque.EGLSurface_pointer object at 0x7fa1c9044a40>,
<OpenGL._opaque.EGLSurface_pointer object at 0x7fa1c9044a40>,
<OpenGL._opaque.EGLContext_pointer object at 0x7fa1c9044cc0>,
),
result = 0
)

This seems like an issue with EGL rendering with your mujoco / robosuite installation. Have you verified that offscreen rendering works for you with robosuite environments? For example, you could try this script here. It may also be worth posting the issue there, as this is not a robomimic issue.


Prototyping decidable subtyping

Implements a decision procedure for semantic subtyping.

Deprecated in favour of https://github.com/Roblox/luau/pull/466


Songs Not loading and im Stuck

So normally after update i just copy plugins from old folder to new plugins after update but im getting the attached message but not sure  which plugin this relates too is this the song loader ??

ok so found out this is for plugin multiplayer which im not fussed about at the moment when i copy the song loader plugin from previous folder to new plugin folder i cannot get past main menu as clicking solo does not work


Unit test DNS on connlib

DNS resource_intents don't have any test coverage at the moment, should at least get some basic unit tests in.

Now that https://github.com/firezone/firezone/pull/4503 is merged, I am planning to work on some basic property-based tests tomorrow that attempt to connect a client and a gateway together, add a CIDR resource and send ICMP packets to it.
We can then use that as a baseline for doing the same with DNS resources.
I'll open a separate ticket to track that kind of work.

I think this has been merged


zrange gets the entire set instead of specified range

Hi, I encountered a bug when using zrange. If I specify a range, for some reason it retrieves the entire set instead of just the ones in range. This is the call I made:
            RedisClient.zrange("timestamp", 0, 100,function(err,result){                 console.log(result);                 resolve(true);             })
The full set is:

The result is:
Successfully connected to Redis server budget DB [ '56c26b8b33d008e101020026',   '56c26b8b33d008e101020040',   '56c26b8b33d008e101020030' ]
As shown, only the first id should be returned.
Can someone look into it to see if there is a bug?

I think that you are looking for 'zrangebyscore' rather than 'zrange'.

The returned set is going to be from range 0 - 100. This is no bug in node_redis. Please check zrange

@stockholmux  thanks! did not know that was an option


why are jobs not running?

Please read the following instructions carefully.
Check out https://github.com/ParsePlatform/parse-server/issues/1271 for an ideal bug report.
The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
Many members of the community use Stack Overflow and Server Fault to ask questions.
Read through the existing questions or ask your own!

Stack Overflow: http://stackoverflow.com/questions/tagged/parse.com
Server Fault: https://serverfault.com/tags/parse

For database migration help, please file a bug report at https://parse.com/help#report
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[ ] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[ ] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[ ] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

[ ] You have filled out every section below. Issues without sufficient information are more likely to be closed.

--
Issue Description
[DELETE EVERYTHING ABOVE THIS LINE BEFORE SUBMITTING YOUR ISSUE]
Describe your issue in as much detail as possible.
[FILL THIS OUT]
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

[FILL THIS OUT]
[FILL THIS OUT]
[FILL THIS OUT]

Expected Results
[FILL THIS OUT]
Actual Outcome
[FILL THIS OUT]
Environment Setup

Server

parse-server version (Be specific! Don't say 'latest'.) : [FILL THIS OUT]
Operating System:     [FILL THIS OUT]
Hardware:             [FILL THIS OUT]
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): [FILL THIS OUT]

Database

MongoDB version: [FILL THIS OUT]
Storage engine:  [FILL THIS OUT]
Hardware:        [FILL THIS OUT]
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): [FILL THIS OUT]

Logs/Trace
You can turn on additional logging by configuring VERBOSE=1 in your environment.
[FILL THIS OUT]

Really not much to document here. I have jobs that run every minute and they stopped at 18:53PM today
i'm helpless, trying to move my app, but need it to work

You need to schedule your jobs with an external scheduler, like kue. Jobs are exposed on the REST endpoints POST /jobs/:jobName
You need to pass the masterKey to run them, unlike the functions.

My jobs have been running the exact same way for almost 2 years.
It isn’t that I can’t get them to work, they have worked for a long time and just stopped today at 18:53pm for no reason
From: Florent Vilmart<EMAIL_ADDRESS>Reply-To: ParsePlatform/parse-server<EMAIL_ADDRESS>Date: Tuesday, October 18, 2016 at 4:47 PM
To: ParsePlatform/parse-server<EMAIL_ADDRESS>Cc: hashtagru<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ParsePlatform/parse-server] why are jobs not running? (#2883)
You need to schedule your jobs with an external scheduler, like kue. Jobs are exposed on the REST endpoints POST /jobs/:jobName
You need to pass the masterKey to run them, unlike the functions.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If you're still running on parse.com then you should migrate to parse-server. In the meantime, you should report your issue at http://Parse.com/help

can we use agenda library with parse server? can we show these jobs in parse dashboard?

The latest version of the dashboard shows the jobs.
I'm not familiar with agenda but anything hat can schedule jobs and make HTTP calls should work.


Ruemonge

Thank you for your code. I have some questions about Ruemonge dataset.

I download this dataset, but I didn't find the 'pcl.txt' file. This is in SPH3D-GCN/preprocesing/ruemonge2014_prepare_data.m line 13 data = load('pcl.txt');.
According to your paper, point clouds are splie into blocks. When I load the _pcl split.mat_file, some blocks contains less than 8192 point clouds. What did you deal with it? Repeat sampling?
Lookinf forward to your reply!

I think the 'pcl.txt' file should be the transformed format of the 'pcl.ply' file in the dataset.
Yes. Your guess is correct. Check lines 329-332 in train_ruemonge2014.py for the sampling strategy.

@JihaoLee Can you give the download link of the RueMonge2014 dataset


Fix Kafka consumer 'OffsetCommit failed before join;'

Occasionally the consumers log this error.
bdcd-data_consumer_eth-7   | OffsetCommit failed before join, ignoring: CommitFailedError: ('Commit cannot be completed since the group has already\n            rebalanced and assigned the partitions to another member.\n            This means that the time between subsequent calls to poll()\n            was longer than the configured max_poll_interval_ms, which\n            typically implies that the poll loop is spending too much\n            time message processing. You can address this either by\n            increasing the rebalance timeout with max_poll_interval_ms,\n            or by reducing the maximum size of batches returned in poll()\n            with max_poll_records.\n            ', 'Commit cannot be completed since the group has already rebalanced and may have assigned the partitions to another member')

Not sure how to reproduce it yet.

Maybe setting max.poll.records to a lower value (100) might help? This sometimes happens when some consumers start much later than the others.

Seemingly this went away after setting KAFKA_GROUP_INITIAL_REBALANCE_DELAY_MS=10000. When all the consumers are present on the initial rebalance this error doesn't seem to show up.


Domain fixes | Added general Homeassistant Domain

This pull request includes the following changes:

Added Homeassistant to availableDomains (for general purpose)

This also required these changes:

Made callService & CallServiceCommand Method/Constructor accept a domain instead of an entity in order to make it possible to use the selected domain from buttonSettings

@ToBiDi0410
Thank you very much for your support! :)


spotify-player: 0.17.2 -> 0.18.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/aome510/spotify-player/releases.
meta.description for spotify-player is: A terminal spotify player that has feature parity with the official client
meta.homepage for spotify-player is: https://github.com/aome510/spotify-player
meta.changelog for spotify-player is: https://github.com/aome510/spotify-player/releases/tag/v0.18.0
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.18.0 with grep in /nix/store/160zk4mdpjldzk3z8vyfx6g65zjmfnsy-spotify-player-0.18.0
found 0.18.0 in filename of file in /nix/store/160zk4mdpjldzk3z8vyfx6g65zjmfnsy-spotify-player-0.18.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

spotify-player

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/160zk4mdpjldzk3z8vyfx6g65zjmfnsy-spotify-player-0.18.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spotify-player https://github.com/r-ryantm/nixpkgs/archive/49c0e3f5c702980a5aac2099bb4e53c8d6a2985c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/49c0e3f5c702980a5aac2099bb4e53c8d6a2985c#spotify-player

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/160zk4mdpjldzk3z8vyfx6g65zjmfnsy-spotify-player-0.18.0
ls -la /nix/store/160zk4mdpjldzk3z8vyfx6g65zjmfnsy-spotify-player-0.18.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

spotify-player

Maintainer pings
cc @dit7ya @xyven1 for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/aome510/spotify-player/releases.
meta.description for spotify-player is: A terminal spotify player that has feature parity with the official client
meta.homepage for spotify-player is: https://github.com/aome510/spotify-player
meta.changelog for spotify-player is: https://github.com/aome510/spotify-player/releases/tag/v0.18.1
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.18.1 with grep in /nix/store/3j10q1gpwx27svikrdnqjpndfbj94pf6-spotify-player-0.18.1
found 0.18.1 in filename of file in /nix/store/3j10q1gpwx27svikrdnqjpndfbj94pf6-spotify-player-0.18.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

spotify-player

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3j10q1gpwx27svikrdnqjpndfbj94pf6-spotify-player-0.18.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spotify-player https://github.com/r-ryantm/nixpkgs/archive/4ea21c23ce2670302372e72ea5fe2d463b71b787.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4ea21c23ce2670302372e72ea5fe2d463b71b787#spotify-player

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3j10q1gpwx27svikrdnqjpndfbj94pf6-spotify-player-0.18.1
ls -la /nix/store/3j10q1gpwx27svikrdnqjpndfbj94pf6-spotify-player-0.18.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

spotify-player

Maintainer pings
cc @dit7ya @xyven1 for testing.


Use digests instead of tags

Hello,
Would it be possible to start using image SHA digests instead of tags since tags for 'ImageContentSourcePolicy' resources are no longer supported by Red Hat[1]?
Using tags makes the whole operator unusable in OpenShift 4 disconnected environments[2][3].
If you need I can prepare a PR for the next release.
[1] https://access.redhat.com/solutions/4817401
[2] https://github.com/openshift/api/issues/636
[3] https://github.com/openshift/okd/issues/226
Cheers,
Ondrej

Using tags makes the whole operator unusable in OpenShift 4 disconnected environments[2][3].

We added a "registry" parameter to allow pulling images from an internal registry for air-gapped installs.
Sifting through your provided links (thanks!) I can see that "registry" won't be very helpful in those scenarios. Let me bring this up with product management.

We've switched to pulling by digest. Can you please confirm with v2.4.2 of the Operator?


MI - DEVELOPER section (Initial Topic list)

Come up with the initial topic list under Developer Experience[1] for the EI7 Micro Integrator. See preview on netlify[2].
[1] https://github.com/wso2/docs-ei/tree/master/en/micro-integrator/docs/develop
[2] https://wso2docs-configurationcatalog-3.netlify.com/develop/intro-integration-development/

Done. Need review.

@nandika / @isudana - Could we do a check on this topic list? Anything missing? Any structural changes? For example, do we need to break down some 'Developer Kick Start' into sub pages?

Done


Add user agent to outbound requests

Fixes #96

Codecov Report

Merging #119 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #119      +/-   ##
==========================================
+ Coverage   96.22%   96.25%   +0.03%
==========================================
  Files          22       22
  Lines        1431     1443      +12
==========================================
+ Hits         1377     1389      +12
  Misses         37       37
  Partials       17       17

Impacted Files
Coverage Δ

chttp/chttp.go
95.37% <100%> (+0.22%)
:arrow_up:

couchdb.go
100% <100%> (ø)
:arrow_up:

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 e50c55a...1611871. Read the comment docs.


Is it possible to convert a FileInfoWrapper or FileInfo base into normal FileInfo

I need to pass a file info to an external library. If I use the factory I get a FileInfoWrapper but I need the normal FileInfo. there is a reason why the instance is private? Could we make it protected so I can extended? or can we implement an accesor to it?

Can’t you just new up a FileInfo with that path exposed by the wrapper?

@oleguerOrtega based on the age of this ticket, I'm going to close this out. If this does not answer your question, please feel free to reopen or create a new one.


Changing passwords for users

Please consider changing the password not only for user root, but also for the second non-privileged user viewer.
If user viewer does not exist, then it is worth creating it, and when changing his password, it is advisable to change the hash for the NetIP system.
Thanks
adduser viewer -s /bin/false -D -H
echo viewer:123456 | chpasswd

Added into dev [6447c8d]. Try it out and see if it works for you.


Feature/replace setuptools

Features:

shorten the package name
replace setuptools with poetry
update travis CI pipeline

csrf is short for Cross-Site Request Forgecy so I would like to maintain the full name for unambiguity.


docs/ Docker error

Is this a regression?
Yes
Description
Reading docs/README.md there are instructions for seeing swagger docs. They didn't work for me
Please provide the exception or error you saw
docker compose -f docs/docker-compose.yml up

WARN[0000] /home/projects/IDENTUS/identus-cloud-agent/docs/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion
[+] Running 1/2
 ✘ atala-structurizr-lite Error pull access denied for atala-struc...                               4.0s
 ⠏ swagger-ui Pulling                                                                               4.0s
Error response from daemon: pull access denied for atala-structurizr-lite, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

Please provide the environment you discovered this bug in
Linux: Debian/Ubuntu 22.04
Docker: version 27.3.1, build ce12230

Anything else?
Note I had to run docker compose not docker-compose ... i forget why docker split these out / when ... generally it's not a problem to swap those commands but it is a deviation from the documented command to run

@bvoiturier The docs was no instructions how to build the docker image atala-structurizr-lite


Update Anthropic Client

Anthropic changed their python sdk - making this code line outdated.
https://github.com/wenhuchen/TheoremQA/blob/123e36beaaa97c01f28a582f13c4f77a6822c199/run_claude.py#L18
Would love to know if this might help - https://github.com/BerriAI/litellm
~100 lines of code, that standardizes all the llm api calls to the OpenAI call
from litellm import completion

## set ENV variables
# ENV variables can be set in .env file, too. Example in .env.example
os.environ["OPENAI_API_KEY"] = "openai key"
os.environ["ANTHROPIC_API_KEY"] = "anthropic key"

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# anthropic call
response = completion("claude-v-2", messages)

cc: @wenhuchen

The library looks great! It could save lots of effort to maintain these API calls. I will look into this!

@wenhuchen Happy to make a PR to help with the integration

Sure, that would be great! Make sure to create a new script with litellm library.


[Port] start with eulaCheckButton hidden (#12427)

Fixes https://github.com/microsoft/azuredatastudio/issues/12422
The "Validate EULA" button added to the Deployment Dialog in a previous PR wasn't being hidden immediately so would show up when initially opening the page even if an item that was selected didn't need the button shown (which most don't)

Pull Request Test Coverage Report for Build 261455345

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 38.903%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/ui/resourceTypePickerDialog.ts
0
3
0.0%

Totals

Change from base Build 260511917:
-0.002%

Covered Lines:
19207

Relevant Lines:
45057

💛  - Coveralls


theme changer

🚀 Feature
want to add a button to change theme to light , light to dark
Motivation
every music players have this function
Pitch
(Please explain why this feature should be implemented and how it would be used.)
Add relevant screenshot or video (if any)
(Add here)

Can I work on this issue.

Assigned @bharth-stack .
Definitely, you can @jugeshraghav if @bharth-stack fails to complete the task within the given time. Till then explore the other issues if possible.


[Bug]: Background image does not respect rounded corners

What happened?
If you set a background image the card does not respect the rounded corners, see image below:

I think the design should be the same with or without background image.
Card Version
1.1.2
HomeAssistant Version
2022.12.8
Relevant javascript log output
No response

As I see an  overflow: hidden shoud be added to ha-card element to solve the problem.

That's interesting because this does not happen here:

I wonder if you may be using an outdated version or a not common browser?

I have prepared an other example:

The code to reproduce:
type: vertical-stack
cards:
- type: custom:minimalistic-area-card
  title: Room with background
  area: working_room
  image: >-
    https://www.thespruce.com/thmb/kNPU_doz6IvtUXrtV1GnzI85BXs=/750x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/living-room-ideas-5194639-hero-a99a77f61b9b4e368c62ca603ab45322.jpg
  entities:
    - light.dining_room_led_light
    - sensor.dining_room_temperature
- type: custom:minimalistic-area-card
  title: Room without background
  area: working_room
  entities:
    - light.dining_room_led_light
    - sensor.dining_room_temperature

I'm using Chrome 108.0.5359.125 (64 bites) (cohort: Stable) from Windows 10. But from Android phone it looks like the same:

Do you have any theme or "custom-ui" customizations in place?
My android app also works:

If you could try inspect the img in the card that will give us a clue of what might be happening:

I've disabled all my 3rd party javascript integrations and looks the same. The problem could be related to --ha-card-border-radius css variable because as I see it is empty for me:

Do you know where should it be defined?

The ha-card  style defines border radius as 12px (but only as fallback value):

Ok, thanks for digging it out

It is working now in 1.1.8. Thanks for the fix:


Verify reports email sent (Delivery Receipt)

💡 Summary
Add to the pe-reports-mailer to verify that all reports successfully sent and report to user successes and failures
Motivation and context
As the project scales up it will be difficult to verify that all reports were sent by just looking at which reports were sent.
Currently we are relying on an operator to manually look for the sent emails for each stakeholder.
Implementation notes
Create python script to parse any log to verify if a 200 code was returned after sent report and read email header to know the email was passed off successfully to desired domain.
Acceptance criteria
How do we know when this work is done?

[ ] Create variables that reflect a positive and negative return code
[ ] Get all return codes after email sent
[ ] Determine methods to handle negative return codes and associated email to get to a positive return code after sending
[ ] Report to system that all reports were sent successfully

@stewartl97 @rapidray12
Do we care if we know anything more than if the email got handed to the correct domain successfully? Im thinking we can update this issue if that is all we care about, to zero in on the scope of this issue a bit more.

Closing but want to keep on the radar. @rapidray12


Remove Image

When I upload image to firebase and get the image's URL, everything is fine, except one thing, how can I know when user removed the image ? When user removed the image in WYSIWYG Editor, the image still in firebase storage !

https://github.com/BCSDLab/KOIN_ANDROID/blob/develop/koin/src/main/java/in/koreatech/koin/service_board/ui/KoinRichEditor.java#L37
https://github.com/BCSDLab/KOIN_ANDROID/blob/develop/koin/src/main/java/in/koreatech/koin/service_board/ui/ArticleEditActivity.java#L195
It's little bit trick. extends Editor class and customize it.


Not suited for Java's modular world

Hello
I wouldn't necessarily call this an issue, or even a question.
And it's not directly related to this repository,
It's more of a jtapi codebase issue,
but maybe it's worth mentioning in this repo's README.
The jtapi jar cannot be used in a JPMS project.
You can easily get away with the lack of module-info using the moditect plugin.
But the two package-less classes residing in the jar's root:

CiscoJtapiVersion.class
DefaultJtapiPeer.class

Afaik, are a no-go in Java's modular world.
I'm going to have to rebuild my current project in a non JPMS manner.
Maybe it's worth mentioning in the README that these samples,
or even the jtapi jar itself, is not suitable for a modular project.
Thank you.

Good catch, and thanks for the feedback!
We've opened a defect against Cisco JTAPI for tracking: CSCvw28384
I don't have a JPMS compliant project handy, but I am able to just delete CiscoJtapiVersion.class and DefaultJtapiPeer.class from the .jar and the sample seems to still run - could be a possible workaround (along with creating an ad hoc module-info.java as you suggest.)

Added a note to README.md re JPMS support and jtapi.jar

Thank you for your response and the offered workaround.
I'll test it out as soon as I can and report back.

Deleting DefaultJtapiPeer.class might be troublesome.
It is used by JtapiPeerFactory as the default class for instantiating when invoking getJtapiPeer as it's done in the examples found in this repository:
CiscoJtapiPeer peer = (CiscoJtapiPeer) JtapiPeerFactory.getJtapiPeer(null);

If I read the code correctly, will return a new instance of DefaultJtapiPeer which does nothing but extend CiscoJtapiPeerImpl which is an implementation of CiscoJtapiPeer.
So I believe that deleting DefaultJtapiPeer.class might be troublesome.
The following line works exactly the same,
and should allow the safe deletion of DefaultJtapiPeer.class:
CiscoJtapiPeer peer = (CiscoJtapiPeer) JtapiPeerFactory.getJtapiPeer("com.cisco.jtapi.CiscoJtapiPeerImpl");

For anyone who bumps into this in the future,
I finally got around to trying this again.
I was able to make this work and use the non-modular jtapi jar in a modular environment using the following steps:
1- Remove the CiscoJtapiVersion and DefaultJtapiPeer classes from the original jar as suggested by @dstaudt prior to deploying the jar as specified in the Notes section of the README File.
2- After deploying, use the maven coordinates specified in the Notes section(or your own) with the moditect plugin to generate the module-info descriptor.One can also accomplish this manually using jdeps.
3- Modify the getJtapiPeer() method argument as suggested in the above comment.
Following these steps, I was able to require the fixed module inside my own project's module-info descriptor.

FYI JPMS support is known to be part of the scoping for enhancing JTAPI in support of Java 1.8+ generally (in a yet-unidentified CUCM release.)

FYI JPMS support is known to be part of the scoping for enhancing JTAPI in support of Java 1.8+ generally (in a yet-unidentified CUCM release.)

That's awesome!
Thank you for sharing this.
:-)
BTW
I was able to accomplish what I needed.
My initial goal was to distribute my app as a JPMS image using jlink.
But as jlink doesn't work with automatic modules,
So I had to figure out how to convert the jtapi jar to a modular one.
I was able to get this working, and it's sweeeetttt! :fire:
If anyone bumps into this, these were the pitfalls, from the jar point of view:

The two package-less classes, CiscoJtapiVersion and DefaultJtapiPeer needed to be removed, as mentioned in this comment.
The instantiation of the peer using the peer factory needed to be more explicit, using the fqdn com.cisco.jtapi.CiscoJtapiPeerImpl as mention in this comment.

These :point_up:, were handled manually, and need to be repeated if the jar was ever replaced in my project, e.g. when bumping versions.
This of course needs to be done prior to deploying the jar to the relative lib folder.
The following :point_down:, however, can be handled manually, or in build time.

There are two extra dependencies, log4j and jsafe, afaik these, are old, unmaintained, and unused dependencies.
This was in fact, only discovered in runtime (testing) as there are only a couple of sub-packages inside the jtapi jar using these dependencies, and I'm not using any of them, so it was caught when my testing plugin was unable to construct the modulepath.
Getting around this was easy (eventually), as the new version of the jtapi jar was now modular and has a module-info descriptor, so I just stopped exposing these sub-packages, and all was right in the world again. 😄

From a build point of view, it was a bit tricky.
The easiest way was of course to just replace the actual jar in the lib with the new one, and be done.
But that would mean that my project will be tightly coupled with the specific version I'm currently using (11.5).
To accomplish this in build time, basically, one needs to create the new modular jar and add it to the modulepath.
But (and that's a big but) the original jar needs to be removed from the modulpath, if not, one will end up with two jars, one as a named module and one in the unamed module.
The tricky part is that the original jar, is on the classpath, that's where the modulepath gets it from to begin with.
And as we can't actually manipulate the classpath, I was left with manipulating the modulepath prior to its construction.
That took some effort, but I was eventually got it working, I've shared my findings, you can have a look here.

That's awesome!
Thank you for sharing this.
:-)
BTW
I was able to accomplish what I needed.
My initial goal was to distribute my app as a JPMS image using jlink.
But as jlink doesn't work with automatic modules,
So I had to figure out how to convert the jtapi jar to a modular one.
I was able to get this working, and it's sweeeetttt! :fire:
If anyone bumps into this, these were the pitfalls, from the jar point of view:

The two package-less classes, CiscoJtapiVersion and DefaultJtapiPeer needed to be removed, as mentioned in this comment.
The instantiation of the peer using the peer factory needed to be more explicit, using the fqdn com.cisco.jtapi.CiscoJtapiPeerImpl as mention in this comment.

These :point_up:, were handled manually, and need to be repeated if the jar was ever replaced in my project, e.g. when bumping versions.
This of course needs to be done prior to deploying the jar to the relative lib folder.
The following :point_down:, however, can be handled manually, or in build time.

There are two extra dependencies, log4j and jsafe, afaik these, are old, unmaintained, and unused dependencies.
This was in fact, only discovered in runtime (testing) as there are only a couple of sub-packages inside the jtapi jar using these dependencies, and I'm not using any of them, so it was caught when my testing plugin was unable to construct the modulepath.
Getting around this was easy (eventually), as the new version of the jtapi jar was now modular and has a module-info descriptor, so I just stopped exposing these sub-packages, and all was right in the world again. 😄

From a build point of view, it was a bit tricky.
The easiest way was of course to just replace the actual jar in the lib with the new one, and be done.
But that would mean that my project will be tightly coupled with the specific version I'm currently using (11.5).
To accomplish this in build time, basically, one needs to create the new modular jar and add it to the modulepath.
But (and that's a big but) the original jar needs to be removed from the modulpath, if not, one will end up with two jars, one as a named module and one in the unamed module.
The tricky part is that the original jar, is on the classpath, that's where the modulepath gets it from to begin with.
And as we can't actually manipulate the classpath, I was left with manipulating the modulepath prior to its construction.
That took some effort, but I was eventually got it working, I've shared my findings, you can have a look here.

Note, new enhancement issue tracking id: CSCvw64751


make error with matlab bindings

Thanks for the good work. Very interesting and impressive!
I want to compile with Matlab bindings, and have the issue as follows,
cmake .. -DBUILD_BINDINGS_MATLAB=ON is succeed

but after that, make has an error

Hi @HuanYin94, thanks for your interest. Unfortunately I recently made some changes to speed up the algorithm which broke the MATLAB bindings. Until I get a chance to fix it, you may use the Python bindings or you can use an older version of the code which should have working MATLAB bindings. Try this commit, for example: f4e67ec

I see. Thanks for your prompt reply.

Hi, I cloned the commit f4e67ec and builded it. However I am now gettingthe following error in Matlab: Unrecognized function or variable 'clipper_pointnormaldistance'.


Removed preprocessing tests because they are already run in the "keras-preprocessing" repo.

Summary
I understood that it was one of the goals of the split of keras into three distinct repos. I don't know if it was one purpose that the tests were left here or if it was just that we forgot to remove them. I think this should be clarified.
Related Issues
#9256
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[x] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

These tests are inexpensive and should be kept around  in some form since these classes/functions are still part of the API. For reference, we still have applications tests, they're just a lot lighter than before (integration tests). In this case the existing unit tests are already very fast so there's limited upside in replacing them with brand new integration tests.
If you want to remove them, they would have to be replaced with thorough integration tests.

Thank you very much for taking the time to clarify it.


Added dropped targets API

Continuing from #3646.

@brian-brazil
Made changes so as not to include redundant information on dropped targets in the API response.


Connection problem

I had trouble seeding the database then after changing to node version 20, it worked.
Now I can't fetch data.
I use nvm.
What could be the issue?

The to run for populating the database from seed.js isn't working...It throws out nodejs errors.

try running vercel dev instead of npm run dev
that did the magic for me
https://github.com/orgs/vercel/discussions/2350#discussioncomment-5850746

Hey there, I am not able to reproduce this. Please open a new issue if you are still having trouble here. Thank you!


Issue #101: Raising new SAML_RESPONE_INVALID error when the response fails validation

Unsure how you feel about a dynamic error message from errorReason.

You can raise that exception in the code that uses the php-saml toolkit anytime, I don't think that is useful for 100% of developers.

I agree that I can raise this exception in the code using the tool-kit. May I just ask the benefit of having some errors thrown by the tool kit (OneLogin_Saml2_Errors) as well as sometimes returning an array of errors.
Can we agree having a OneLogin_Saml2_Error predefined for an invalid SAML authn_response, similar to the SAML_LOGOUTREQUEST_INVALID that isn't thrown by the toolkit, would be useful to developers?

Errors are thrown when they are critical, if is a SAML validation error, then is registered at the Array


IllegalStateException after closing player

After using the seekbar and closing the player, sometimes the app crashes with the following error:
java.lang.IllegalStateException
	at android.media.MediaPlayer.getCurrentPosition(Native Method)
	at com.bambuser.broadcaster.NiceMediaPlayer.getCurrentPosition(SourceFile:2)
	at com.bambuser.broadcaster.BroadcastPlayer.getCurrentPosition(SourceFile:2)
	at com.bambuser.player.m5.d(SourceFile:126)
	at com.bambuser.player.yd.run(SourceFile:4)
	at java.util.TimerThread.mainLoop(Timer.java:562)
	at java.util.TimerThread.run(Timer.java:512)

Thank you for your feedback, we are currently looking into the issue

Should be fixed in 1.1.5, please let us know if you can still reproduce.


Smooth Motion Pack SE 5.3.3

What happened?
5.1 - Validating Game ESMs
5.12 - Creating Output Folders
5.74 - Optimizing ModList
5.74 - Optimizing ModList directives
8.33 - Looking for files to delete
8.35 - Cleaning empty folders
9.17 - Looking for unmodified files
9.8 - Updating ModList
9.8 - Optimized 198599 directives to 198599 required
9.84 - Hashing Archives
9.84 - Looking for files to hash
10.03 - Found 1228 total files, 1018 matching filesize
10.22 - Downloading Missing Archives
10.22 - Missing 1 archives
10.22 - Getting Nexus API Key, if a browser appears, please accept
10.23 - Loading server whitelist
10.43 - Loaded permissions for 675 servers and 299 Google Drive files
10.43 - Getting upgrades list
10.64 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
10.67 - Downloading Smooth Motion Pack SE 5.3.3.FOMOD
11.24 - Hashed download is incorrect
11.24 - Loading for alternative to EX/MxhndsFE=
11.24 - No alternative for EX/MxhndsFE= could be found
11.29 - Hashing Remaining Archives
11.29 - Looking for files to hash
11.37 - Found 1228 total files, 1018 matching filesize
11.55 - Unable to download Smooth Motion Pack SE 5.3.3.FOMOD (GoogleDriveDownloader+State|1MLyn1f44aEBlO0NNJGDLA0OXwDvk7hvD)
11.55 - Cannot continue, was unable to download one or more archives
11.55 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
11.57 - Encountered error, can't continue - System.Exception: Cannot continue, was unable to download one or more archives
at Wabbajack.Lib.AInstaller.Error(String msg) in C:\Wabbajack\splitwork\wabbajack\Wabbajack.Lib\AInstaller.cs:line 71
at Wabbajack.Lib.MO2Installer._Begin(CancellationToken cancel) in C:\Wabbajack\splitwork\wabbajack\Wabbajack.Lib\MO2Installer.cs:line 161
at Wabbajack.Lib.ABatchProcessor.b__66_0() in C:\Wabbajack\splitwork\wabbajack\Wabbajack.Lib\ABatchProcessor.cs:line 177
at Wabbajack.MO2InstallerVM.<>c__DisplayClass31_0.<b__0>d.MoveNext() in C:\Wabbajack\splitwork\wabbajack\Wabbajack\View Models\Installers\MO2InstallerVM.cs:line 181
--- End of stack trace from previous location ---
at Wabbajack.MO2InstallerVM.Install() in C:\Wabbajack\splitwork\wabbajack\Wabbajack\View Models\Installers\MO2InstallerVM.cs:line 175
at Wabbajack.InstallerVM.<>c__DisplayClass88_0.<<-ctor>b__78>d.MoveNext() in C:\Wabbajack\splitwork\wabbajack\Wabbajack\View Models\Installers\InstallerVM.cs:line 391
11.72 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
Modlist version
Latest version of the mod.
Also my apologies if this is a bad place to post this. If I should post this elsewhere please let me know. Thanks for your time.

I just realized one of my issues, I will post again of I cannot get it working.

0.26 - Wabbajack Build - aa36c5996492336a142f2e355e67c204ba806dc5
0.26 - Running in E:\Wabbajack\<IP_ADDRESS>
0.28 - Detected Windows Version: 10.0.19044.0
0.28 - System settings - (32GB RAM) (24.8GB Page), Display: 1920 x 1080 (10.9GB VRAM - VideoMemorySizeMb=10240)
0.29 - Getting new Wabbajack version list
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key appid
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key name
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key installdir
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key LastUpdated
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key SizeOnDisk
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key BytesToDownload
0.34 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key BytesDownloaded
0.35 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key BytesToStage
0.35 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_1245620.acf does not contain a value with key BytesStaged
0.35 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_221100.acf does not contain a value with key BytesToDownload
0.35 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_221100.acf does not contain a value with key BytesDownloaded
0.35 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_221100.acf does not contain a value with key BytesToStage
0.35 - Steam: ACF Manifest at D:\SteamLibrary\steamapps\appmanifest_221100.acf does not contain a value with key BytesStaged
0.36 - Steam: Found game 3DMark (223850) at "E:\SteamLibrary\steamapps\common\3DMark"
0.36 - Steam: Found game Darkest Dungeon® (262060) at "E:\SteamLibrary\steamapps\common\DarkestDungeon"
0.36 - Steam: Found game Black Desert (582660) at "E:\SteamLibrary\steamapps\common\Black Desert Online"
0.36 - Steam: Found game Sid Meier's Civilization V (8930) at "E:\SteamLibrary\steamapps\common\Sid Meier's Civilization V"
0.36 - Steam: Found game Steamworks Common Redistributables (228980) at "C:\Program Files (x86)\Steam\steamapps\common\Steamworks Shared"
0.36 - Steam: Found game ELDEN RING (1245620) at "D:\SteamLibrary\steamapps\common\ELDEN RING"
0.36 - Steam: Found game Hollow Knight (367520) at "D:\SteamLibrary\steamapps\common\Hollow Knight"
0.36 - Steam: Found game Wallpaper Engine (431960) at "D:\SteamLibrary\steamapps\common\wallpaper_engine"
0.36 - Steam: Found game Nioh: Complete Edition (485510) at "D:\SteamLibrary\steamapps\common\Nioh"
0.36 - Steam: Found game Counter-Strike: Global Offensive (730) at "D:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive"
0.36 - Steam: Found game Outward (794260) at "D:\SteamLibrary\steamapps\common\Outward"
0.36 - Steam: Found game Sea of Thieves (1172620) at "D:\SteamLibrary\steamapps\common\Sea of Thieves"
0.36 - Steam: Found game The Elder Scrolls V: Skyrim Special Edition (489830) at "E:\SteamLibrary2\steamapps\common\Skyrim Special Edition"
0.36 - Steam: Found game Steamworks Common Redistributables (228980) at "c:/program files (x86)/steam\steamapps\common\Steamworks Shared"
0.36 - GOG: GOG was not found in the registry
0.36 - BethNet: Unable to open Registry Keys SOFTWARE\WOW6432Node\Bethesda Softworks\Bethesda.net and SOFTWARE\WOW6432Node\Bethesda Softworks\Bethesda.net
0.36 - EGS: Unable to open Registry Key SOFTWARE\Epic Games\EOS
0.36 - Origin: LocalContent directory at C:\ProgramData\Origin\LocalContent does not exist
0.96 - Wabbajack Version: <IP_ADDRESS>
1.19 - Build server is alive
1.2 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
1.22 - Build server is alive
1.22 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
8.49 - Starting to install Tsukiro
8.5 - Cleaning VFS, this may take a bit of time
8.53 - Starting Installer Task
8.53 - Installation has Started
8.53 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
8.69 - Configuring Processor
8.69 - Install Folder: E:\Tsukiro
8.69 - Downloads Folder: E:\Tsukiro\downloads
8.69 - Game Folder: E:\SteamLibrary2\steamapps\common\Skyrim Special Edition
8.69 - Wabbajack Folder: E:\Wabbajack\<IP_ADDRESS>
8.7 - Drive watcher is starting. Will warn at 8GB and error at 4GB
8.7 - Starting Drive watcher on E:\ currently 357.4GB free out of 894.2GB
8.7 - Validating Game ESMs
8.71 - Creating Output Folders
9.37 - Optimizing ModList
9.38 - Optimizing ModList directives
12.04 - Looking for files to delete
12.06 - Cleaning empty folders
12.97 - Looking for unmodified files
13.61 - Updating ModList
13.61 - Optimized 198599 directives to 198599 required
13.65 - Hashing Archives
13.65 - Looking for files to hash
13.72 - Found 1036 total files, 1016 matching filesize
204.24 - Downloading Missing Archives
204.24 - Missing 1 archives
204.24 - Getting Nexus API Key, if a browser appears, please accept
204.26 - Loading server whitelist
204.44 - Loaded permissions for 675 servers and 299 Google Drive files
204.44 - Getting upgrades list
204.55 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
204.57 - Downloading Smooth Motion Pack SE 5.3.3.FOMOD
205.13 - Hashed download is incorrect
205.13 - Loading for alternative to EX/MxhndsFE=
205.13 - No alternative for EX/MxhndsFE= could be found
205.2 - Hashing Remaining Archives
205.2 - Looking for files to hash
205.3 - Found 1036 total files, 1016 matching filesize
205.5 - Unable to download Smooth Motion Pack SE 5.3.3.FOMOD (GoogleDriveDownloader+State|1MLyn1f44aEBlO0NNJGDLA0OXwDvk7hvD)
205.5 - Cannot continue, was unable to download one or more archives
205.5 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
205.51 - Encountered error, can't continue - System.Exception: Cannot continue, was unable to download one or more archives
at Wabbajack.Lib.AInstaller.Error(String msg) in C:\Wabbajack\splitwork\wabbajack\Wabbajack.Lib\AInstaller.cs:line 71
at Wabbajack.Lib.MO2Installer._Begin(CancellationToken cancel) in C:\Wabbajack\splitwork\wabbajack\Wabbajack.Lib\MO2Installer.cs:line 161
at Wabbajack.Lib.ABatchProcessor.b__66_0() in C:\Wabbajack\splitwork\wabbajack\Wabbajack.Lib\ABatchProcessor.cs:line 177
at Wabbajack.MO2InstallerVM.<>c__DisplayClass31_0.<b__0>d.MoveNext() in C:\Wabbajack\splitwork\wabbajack\Wabbajack\View Models\Installers\MO2InstallerVM.cs:line 181
--- End of stack trace from previous location ---
at Wabbajack.MO2InstallerVM.Install() in C:\Wabbajack\splitwork\wabbajack\Wabbajack\View Models\Installers\MO2InstallerVM.cs:line 175
at Wabbajack.InstallerVM.<>c__DisplayClass88_0.<<-ctor>b__78>d.MoveNext() in C:\Wabbajack\splitwork\wabbajack\Wabbajack\View Models\Installers\InstallerVM.cs:line 391
205.64 - File hash check (-42) db84c2145f9d01f15649807be67c7f459c2f8c19d042a33b9466170637130eef
Still not working. I am now out of ideas and would appreciate feedback, thank you.

https://github-wiki-see.page/m/zhongjiedong/Tsukiro/wiki/Commonly-failing-downloads
You can find the manual download for Smooth Motion Pack SE 5.3.3.FOMOD here.

Thanks I didn't see that @largemonron

@largemonron I didn't see your comment until today. I worked. Your a saint. Thanks for the assistance.


Document undef, or is there a bug in comparisons of strings with undef?

After a bit of trouble with trying to distinguish variables being undef from being set as "" or 0, I think I learned that the comparison operator for undef is eq/ne rather than ==/!=, correct?
This ...
!mmm script
!mmm   set v = "foo"
!mmm   chat: ${(v == undef)}
!mmm end script

... results in true, but this ...
!mmm script
!mmm   set v = "foo"
!mmm   chat: ${(v eq undef)}
!mmm end script

... results in the logically expected false, and using ne in place of eq makes the result true, as expected.
Which basically reminded me to look for docs on how to use undef, which do appear to be missing. Not sure if there is anything else to know, but that bit about comparison operators would have been nifty to look up somewhere.
Ummm. So now I had a thought. When I made v a number (123) instead of a string, both sets of operators behaved as expected. Is there a bug in how the expressions are evaluated, after all?

eq/ne compare strings, ==/!= compare numbers. There's no operator that compares undef.

Value
for ==
for eq

undef
0
""

"foo"
0
"foo"

123
123
"123"

So, "foo" ne undef is correct (because "foo" ne ""), as is "foo" == undef (because 0 == 0).
Clearly, coercion rules stand to be documented.
Full disclosure: undef is really just a variable named undef that you haven't set yet. :) Using undef to refer to undefined values is an ad-hoc convention I made up on the go.
I could add an isdef() function along the lines of the existing isdefault() etc., but just to understand more: What's your use case for wanting to distinguish undef from 0 or ""?

Use case: In processing damage to characters, there is a special case for subzero health points and other conditions in which a variable timeToDie is created, but valid values for timeToDie include 0. So when I'm trying to determine later if this particular case is present, rather than re-enacting the entire earlier logic or creating another flag only for that purpose, I tried to check if timeToDie is not undef as distinct from being potentially defined as 0.

Idea for a practical workaround: How about you initialize timeToDie as unknown once at script start and use isunknown() later?

Ah, hadn't thought of using the unknown value this way. Good idea!

Speaking of: I had for a while been wondering if maybe any attempt to read a variable that has never been assigned to should result in an unknown with some useful diagnostic ("Unknown variable foo"). What do you think – useful or annoying?

Well, it would change a major default behavior. It would also add clarity where I have spent quite some time debugging situations where it was hard to figure out if something was "", 0, false or undefined. I guess I would be in favor because for the growing complexity of the code I maintain the advantages would certainly outweigh the few changes I might have to make.

Oh, and related: I recently ran into a problem with all the convenient type-coercing (if that's the right word) without having a way to check if something is a string or a numeral. I wrote functions to store arbitrary data in attributes. Sometimes I have something to validate the data against. But as far as I understand, if I don't know a variable's data type, I cannot make a reliable comparison because comparison operators are type-specific, right? This is not a major issue since all these validation checks are not super-necessary as long as I'm the only one writing code that messes with with these attributes.

Well, it would change a major default behavior.

Noted and acknowledged. We'd have to go to version 2.0.0 for this change.

I guess I would be in favor because for the growing complexity of the code I maintain the advantages would certainly outweigh the few changes I might have to make.

Very good – I'll put that on the list then. :)

I recently ran into a problem with all the convenient type-coercing (if that's the right word)

It's how I've been calling it anyway :P

without having a way to check if something is a string or a numeral. I wrote functions to store arbitrary data in attributes. Sometimes I have something to validate the data against. But as far as I understand, if I don't know a variable's data type, I cannot make a reliable comparison because comparison operators are type-specific, right?

Note that Roll20's attributes don't retain any type information – they store (and return) strings, that's all.
What kind of validation are you doing where MMM's paradigm fails you – can you give an example?

What kind of validation are you doing where MMM's paradigm fails you – can you give an example?

From your explanations I just understood my mistake. Since My setattr() returns the new attribute value in case of success, my typical call tries to catch success or failure (from some kind of denied access or Roll20 problem) with code like
!mmm   if setattr(attackerID, script.m3mgdAttrXP, newXP) != newXP
!mmm     chat: Something went wrong, you might be missing out on hard-earned experience!
!mmm   end if

I thought this required for me to know the type of the data I'm writing into the attribute, in order to choose between != and ne. But in fact, when unsure, I can simple use a string comparison and I'll be fine. So, a non-problem -- thanks for the explanation!


Camera doesn't save image on some Amazon tablets

Steps to reproduce:

In paint editor, click camera button, then touch a shape to fill... shape shows live video as fill
touch the camera to take the photo
filled shape turns green

Only seems to be an issue on Amazon Fire tablets. May also be related to a FireOS update - ones with the issue are running FireOS 5.6
Fire HD 8 (2017)
Fire (2015)
Kindle Fire HD (2013)

Issue also in fire7


App and WatckKit App Extension share objects

I use the realm to save a local object.
When trying to get this object through the app everything works correctly.
When I try to get this same object through the Watch App is not returned any results.
You can share this object through the two environments?
I believe it is not possible:
WatchKit App Architecture

Hey Bruno, this is still a WIP https://github.com/realm/realm-cocoa/issues/824, feel free to comment on this issue there!