use fit with a network with two inputs with different sized images?

Hi,
I can build a model with two input but i can't train it. I would build one model with two different input and in next levels the network  merge the Feature map.
Thank you

Is this what you want?
https://github.com/marugari/Notebooks/blob/master/mxnet_multi-input_multi-output.ipynb

Thank you
my problem is similar at your code but it not the same. In my case i have a
single output and different image input.  In this network data1 and data2 have two image with different
resolution ( course in level "Concat" shapes should be equal, but this just
an example). If i wanted to change code in train_imagenet.py and the
relative code for read image dataset (ImageRecordIter), how can i do?
I have made many tests but without result!
But thank you very much for your response!
get_symbol <- function(num_classes = 1000) {
data1 <- mx.symbol.Variable('data1')
data2 <- mx.symbol.Variable('data2')
conv1 <- mx.symbol.Convolution(data = data1, kernel = c(5, 5), num_filter =
20)
conv2 <- mx.symbol.Convolution(data = data2, kernel = c(10, 10), num_filter
= 50)
tanh1 <- mx.symbol.Activation(data = conv1, act_type = "tanh")
tanh2 <- mx.symbol.Activation(data = conv2, act_type = "tanh")
actf = mx.symbol.concat[tanh1,tanh2];
flatten <- mx.symbol.Flatten(data = actf)
fc1 <- mx.symbol.FullyConnected(data = flatten, num_hidden = 500)
tanh3 <- mx.symbol.Activation(data = fc1, act_type = "tanh")
second fullc
fc2 <- mx.symbol.FullyConnected(data = tanh3, num_hidden = num_classes)
loss
lenet <- mx.symbol.SoftmaxOutput(data = fc2, name = 'softmax')
return(lenet)
}
2016-10-02 13:02 GMT+02:00 Yoshinori Nakano<EMAIL_ADDRESS>
Is this what you want?
https://github.com/marugari/Notebooks/blob/master/mxnet_
multi-input_multi-output.ipynb
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/issues/3417#issuecomment-250965743, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVfO4EbkDhZOoj5v5a8p_CN4yHhv-zk5ks5qv49ggaJpZM4KKhf3
.

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Hoof token added

I can help refer this zakimzf/profile#1
PS: if you don't need my help.. please ignore this!


MAINT: special: Rewrite a test of wrightomega

assert_equal(res, 0) fails with the development version of numpy,
because assert_equal() now takes into account the signs of the
real and imaginary parts of +/- 0.0 +/- 0.0j.
To avoid that, the test now uses explicitly given expected results
with signed real and imaginary parts, and compares the actual results
with the expected results using assert_equal() with only real arguments.
This works for old numpy and should continue working with new versions
of numpy.
Closes gh-7227.

@WarrenWeckesser : To be clear, assert_equal has always taken into account the sign-bit when comparing scalars.  It just so happened that we dodged that case before because .real and .imag returned ndarray, which for some reason didn't check the sign-bit.
To answer your question posed in the related issue here, I do prefer your second option for the patch (which is also what you implemented in this PR).

@gfyoung wrote:

To be clear, assert_equal has always taken into account the sign-bit when comparing scalars.

OK, but you appear to be speaking from the point of view of a numpy developer who is familiar with what is going on behind the scenes.  From the point of a view of a user, or a downstream project such as scipy, all the matters is the publicly displayed behavior.  From that point of view, assert_equal(-0j, 0) was not taking into account the signs of the zeros in the real and imaginary parts, because that assertion passed.

OK, but you appear to be speaking from the point of view of a numpy developer who is familiar with what is going on behind the scenes.

That is a fair point.  It can be tricky to separate out that perspective when working on downstream-library related issues.  Hopefully, it wasn't too much numpy stuff for this discussion. :smile:


proxy: Make Histogram generic over its value

In order to support histograms measured in, for instance, microseconds,
Histogram should blind store integers without being aware of the unit.
In order to accomplish this, we make Histogram generic over a V: Into<u64>, such that all values added to the histogram must be of type
V.
In doing this, we also make the histogram buckets configurable, though
we maintain the same defaults used for latency values.
The Histogram type has been moved to a new module, and the Bucket
and Bounds helper types have been introduced to help make histogram
logic clearer and latency-agnostic.

I also added a number of unit tests in PR #775 which I think should be fairly easy to adapt to work with your changes as well --- I'm happy to open a follow-up PR to add them?


[Bug] Some images don't load because the API gateway timeouts

Is there an existing issue for this?

[X] I have searched the existing issues

What projects are you seeing the problem on?
OpenChallenges
Current behavior
Some images return a 500 errors when the stack is deployed with Docker compose. It looks like the image is due to a timeout at the level of the API gateway or Thumbor server. The URL of these images are fine and I can get the images one by one, i.e. likely because the backend is no longer flooded with requests.

Here is an example of error thrown by the API gateway:
Original Stack Trace:
2023-06-12 23:40:13 WARN  [reactor-http-epoll-5] r.n.http.client.HttpClientConnect - [e8e352d1-8, L:/<IP_ADDRESS>:52424 ! R:openchallenges-thumbor/<IP_ADDRESS>:8888] The connection observed an error
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed BEFORE response
2023-06-12 23:40:13 ERROR [reactor-http-epoll-5] o.s.b.a.w.r.e.AbstractErrorWebExceptionHandler - [63219d6c-116]  500 Server Error for HTTP GET "/img/6IP26BBsWLts21OynZ4HfpfSTag=/140x140/logo/ibm.svg"
reactor.netty.http.client.PrematureCloseException: Connection prematurely closed BEFORE response
        Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
        *__checkpoint ? org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.authorization.AuthorizationWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.authentication.logout.LogoutWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.savedrequest.ServerRequestCacheWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.context.SecurityContextServerWebExchangeWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.ui.LogoutPageGeneratingWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.ui.LoginPageGeneratingWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.authentication.AuthenticationWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.oauth2.client.web.server.OAuth2AuthorizationRequestRedirectWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.context.ReactorContextWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.header.HttpHeaderWriterWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.config.web.server.ServerHttpSecurity$ServerWebExchangeReactorContextWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.security.web.server.WebFilterChainProxy [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.cloud.sleuth.instrument.web.TraceWebFilter [DefaultWebFilterChain]
        *__checkpoint ? org.springframework.boot.actuate.metrics.web.reactive.server.MetricsWebFilter [DefaultWebFilterChain]
        *__checkpoint ? HTTP GET "/img/6IP26BBsWLts21OynZ4HfpfSTag=/140x140/logo/ibm.svg" [ExceptionHandlingWebHandler]

Expected behavior
The image requests should not timeout.
Anything else?
The API gateway is probably flooded because the images are returned through it. A better solution would be for the web app to send requests directly to the Thumbor server. This would involve exposing Thumbor to the public network and that's how it will be done in production. It's currently done through the API gateway for simplicity but should be changed, even for development deployments.
Commit ID
0305560
Are you developing inside the dev container?

[X] I am using the dev container

Code of Conduct

[X] I agree to follow this project's Code of Conduct

This issue should be solved by #1654. The timeout was likely because Thumbor was taking to much time to respond to the API gateway when it was configured to retrieve results from S3.


Add commands to easily add arguments to terminal commands

The goal is to add commands which make it easier to add arguments to terminal commands, like "ls --all", "mkdir --help" etc as discussed with @2d6 on slack.
Currently there are two approaches to be tried and discussed:
1. generic formatinng
E.g. flag [<user.letter>]: "-{letter or ''}" or param [<user.text>]: " --{text or ''}".
2. curated list of options
Like arguments_git.csv a "bag-of-arguments approach" (see #982 ), but it needs to be discussed wether to put this in the settings folder (like unix_utilities) or somewhere tracked by git (like arguments_git.csv).

@rntz I guess you are going to see this anyway, but since you did #982 I want to ensure you see this

An idea - that is maybe to big of an refactor for this issue - splitting up settings in a part that is tracked by git and one that is not (where private stuff like specific system_paths go).

#1107 contains my current draft for that, try out:

"core makedir help"
"core makedir"
"option help"
"param help"
"param absolutely everything"
"flag air"
"flag shift air"

Another idea - that is maybe to big of an refactor for this issue - splitting up settings in a part that is tracked by git and one that is not (where private stuff like specific system_paths go).

After our discussion, I also thought about this. I think this would combine the best of both worlds in that it supports both user-specific as well as system-specific configuration. For me, the amount of refactoring isn't the issue here. My main reservation would be that this structure is going to be less clear to new users of knausj. It also breaks with other features implemented previously. None of those arguments are a deal breaker to me, but it would be good to have some input from one of the maintainers.
I'm going to take a look at the merge request now :)


Failed to execute script k

bug Failed to execute script k

Check if all deps are installed

all deps are installed

try to my windows same bug too

Wait some moments i'll check it

right chech my log or the bug

Bee > u
[] Checking version information..
[] You are already up to date with git origin master.

@devil67 try https://youtu.be/ifOGkOTS5zk
reclone and follow the steps


Can't sign into site where site name contains spaces

I have a site named "Test Site" (under manage all sites in Tableau Server > Edit Settings > Name > Site Name:).
When I try to sign into this site I get this error:
File "/usr/local/lib/python3.5/site-packages/tableauserverclient/server/endpoint/auth_endpoint.py", line 29, in sign_in
    Endpoint._check_status(server_response)
  File "/usr/local/lib/python3.5/site-packages/tableauserverclient/server/endpoint/endpoint.py", line 54, in _check_status
    raise ServerResponseError.from_response(server_response.content)
tableauserverclient.server.endpoint.exceptions.ServerResponseError:

	401001: Signin Error
		Error signing in to Tableau Server

Here's a snippet of my code:
tableau_auth = TSC.TableauAuth(username, password, site)
target_server = TSC.Server(server)
target_server.auth.sign_in(tableau_auth)

'site' above is where I'm passing in "Test Site". When I remove the space (i.e. "TestSite") things work as expected.

There is no valid site url that has a space in it.


Feat: responding a ping request from the server

Server sometimes send a ping request to the client, and we need to sent result to this

Integrated in 0.0.7


Review

Adjust license to Autodesk
Broken image on readme

license problem is fixed now.

license problem is fixed now.


HAWQ-1162. Resource manager does not reference dynamic minimum water …

…level of each segment when it times out YARN containers

@jiny2 @stanlyxiang  please review this pull request, thank you.

LGTM. +1

+1 This change is ok to me.


The documentation portal is down ?

http://terraformer.io/wkt-parser/ is not working anymore ?
Could we find the documentation in another place ?
Thank you

https://terraformer-js.github.io/wkt-parser/


Xcode roll increased the size of app_framework_uncompressed_bytes

On an unrelated commit that just marked a test bringup: true, iOS and macOS uncompressed and release size regressed due to an increase in app_framework_uncompressed_bytes:
https://flutter-flutter-perf.skia.org/e/?begin=1682634606&end=1683136208&keys=Xb6ca173484be41194ec56dc0abcbc1e1&requestType=0&selected=commit%3D34660%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253Dnone%252Cdevice_version%253Dnone%252Chost_type%253Dmac%252Csub_result%253Dapp_framework_uncompressed_bytes%252Ctest%253Dhello_world_macos__compile%252C&xbaroffset=34658
Before: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_benchmark hello_world_macos__compile/1525/overview
{
      "dependency": "xcode",
      "version": "14c18"
}

After: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_benchmark hello_world_macos__compile/1532/overview
{
      "dependency": "xcode",
      "version": "14e222b"
}

cc @jmagman

I'm not sure how app_framework_uncompressed_bytes would have been impacted by an Xcode bump, it's the AOT snapshot.  You'd think that would happen in a dart -> engine roll...

For reference, this value is computed here https://github.com/flutter/flutter/blob/master/dev/devicelab/lib/tasks/perf_tests.dart#L1557.
I wonder if the new XCode version is populating that directory with some extra stuff?

Xcode bump at https://github.com/flutter/flutter/pull/125716.

I wonder if the new XCode version is populating that directory with some extra stuff?

I don't think so since that directory is entirely constructed by flutter assemble.
https://github.com/flutter/flutter/blob/f704c68924149467dcbfb0d325b86c60e383b669/packages/flutter_tools/lib/src/build_system/targets/ios.dart#L490
https://github.com/flutter/flutter/blob/f704c68924149467dcbfb0d325b86c60e383b669/packages/flutter_tools/lib/src/build_system/targets/ios.dart#L516-L542
@cyanglaz is going to run it locally on both Xcode 14.2 and 14.3 to confirm that's the cause of the regression, and investigate.

Local result Xcode 14.2:
  "data": {
    **"app_framework_uncompressed_bytes": 2935520,**
    "flutter_framework_uncompressed_bytes": 26489136,
    "release_initial_compile_millis": 57756,
    "release_size_bytes": 15644604,
    "release_full_compile_millis": 24617,
    "debug_initial_compile_millis": 20709,
    "debug_full_compile_millis": 20706,
    "debug_second_compile_millis": 7716,
    "debug_compile_after_edit_millis": 9287
  },

Local result Xcode 14.3
Task result:
{
  "success": true,
  "data": {
    "app_framework_uncompressed_bytes": 2935520,
    "flutter_framework_uncompressed_bytes": 26489136,
    "release_initial_compile_millis": 26382,
    "release_size_bytes": 15644602,
    "release_full_compile_millis": 24398,
    "debug_initial_compile_millis": 20858,
    "debug_full_compile_millis": 20865,
    "debug_second_compile_millis": 7701,
    "debug_compile_after_edit_millis": 9092
  },
  "detailFiles": [],
  "benchmarkScoreKeys": [
    "app_framework_uncompressed_bytes",
    "flutter_framework_uncompressed_bytes",
    "release_initial_compile_millis",
    "release_size_bytes",
    "release_full_compile_millis",
    "debug_initial_compile_millis",
    "debug_full_compile_millis",
    "debug_second_compile_millis",
    "debug_compile_after_edit_millis"
  ],
  "reason": "success"
}

local result Xcode 14.3:
"data": {
    "app_framework_uncompressed_bytes": 3100640,
    "flutter_framework_uncompressed_bytes": 26489136,
    "release_initial_compile_millis": 38842,
    "release_size_bytes": 15693806,
    "release_full_compile_millis": 24910,
    "debug_initial_compile_millis": 20370,
    "debug_full_compile_millis": 20513,
    "debug_second_compile_millis": 7643,
    "debug_compile_after_edit_millis": 9183
  },

app_framework_uncompressed_bytes does regressed because of xcode upgrade.

There was a size increase in the snapshot_assembly.o object compiled from the snapshot_assembly.S source generated by Dart's gen_snapshot.
With Xcode 14.3 snapshot_assembly.o now includes the __eh_frame stack unwinding section.

There's also a 200KB compressed increase in flutter gallery on iOS:
https://flutter-flutter-perf.skia.org/e/?begin=1682925020&end=1683212749&queries=sub_result%3Drelease_size_bytes%26test%3Dflutter_gallery_ios__compile&requestType=0&selected=commit%3D34663%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253DiPhone_11%252Cdevice_version%253Dnone%252Chost_type%253Dmac%252Csub_result%253Drelease_size_bytes%252Ctest%253Dflutter_gallery_ios__compile%252C.
So the increase scales up with the size of the app. Marking this P2 since I suspect this may set off alarm bells in the internal roll.

From chat:

@mraleph: on https://dart-review.googlesource.com/c/sdk/+/241282
In general we don't need these sections but if you have native tool like Instruments profiler or crash handler then it most likely needs these to properly unwind things.

The change has rolled and the size dropped down to the previous value:
https://flutter-flutter-perf.skia.org/e/?begin=1682634606&end=1683403222&keys=Xb6ca173484be41194ec56dc0abcbc1e1&requestType=0&selected=commit%3D34660%26name%3D%252Carch%253Dintel%252Cbranch%253Dmaster%252Cconfig%253Ddefault%252Cdevice_type%253Dnone%252Cdevice_version%253Dnone%252Chost_type%253Dmac%252Csub_result%253Dapp_framework_uncompressed_bytes%252Ctest%253Dhello_world_macos__compile%252C&xbaroffset=34658


Improve the text at the top of the home page

Received the latest home page text from the product team.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: ansingha2111 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

It was a mistake.


Adjusting to updates to to switch to psf-slp-indexer

:tada: This PR is included in version 1.0.6 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Default test timeout time increased

Default test timeout time increased from 300 seconds to 600 seconds for allowing larger files to complete decoding.
Ex: VP9 10-bit 4K test stream TheWorldinHDR.mkv taking around 600 seconds to complete VP9 decoding.
Signed-off-by: hbomminx<EMAIL_ADDRESS>

@uartie , @FocusLuo and @wangzj0601  couls you please review this patch

gst-vaapi i965 taking longer time than ffmpeg-vaapi decoding for container test stream

Any reason you can't use --call-timeout option?

yes, with --call-timeout 720 also tests are passing but thought changing here will work for larger test streams.

I think setting to 720 by default is too long for most cases.  Maybe it would be better to add support in user config to specify a call timeout on a per-case basis.


Background color button has no effect

Clicking the "Background color" button on the bottom toolbar has no obvious effect. The button fades out until something else is clicked, but no color selector appears, as might be expected.

:tada: This issue has been resolved in version 2.3.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Bug] Remove Unused Commented Code to Improve Readability

Description
The current 404.html code for the CC Search Portal contains commented-out sections. Keeping unused code can make the file cluttered.This can make it harder for future developers to read and maintain it.The best practice would be to remove unnecessary code to improve its clarity and maintainability.
Reproduction

Navigate towards the 404.html page in the src folder
Locate the commented code

Expectation
Removing unused commented code will lead to a cleaner codebase and this will improve maintainability and reduce confusion for future contributors.
Screenshot

Environment

Device: (eg. iPhone Xs; laptop)
OS: (eg. iOS 13.5; Fedora 32)
Browser: (eg. Safari; Firefox)
Version: (eg. 13; 73)
Other info: (eg. display resolution, ease-of-access settings)

Additional context
If the commented code is intended for use in the future  then it can be documented  more clearly .
Resolution

[x] I would be interested in resolving this bug.

@Silvia-Wachira Can you please:

provide textual examples of these areas, listing them out if possible
verify this is not commenting inherited from Vocabulary (particularly in the header/footer).

@possumbilities As far as I'm concerned, It is not inheriting from vocabulary. Do correct me if I'm wrong


Fix rollup warning about broken sourcemap

By replacing @class annotation with @__PURE__ we broke rollup
internal sourcemap generator.
Found the fix here
https://github.com/ex-machine/rollup-plugin-ts-treeshaking/blob/master/index.js

Why don't just using the ts-treeshaking-plugin?

Another one package for simple task which wraps the module we already use. Currently we see which exactly transformation it does and may manipulate it as we want.


Adds Maian tool analysis report

Adds Maian tool analysis report and docker files.
Is dependent upon: https://github.com/hashgraph/hedera-smart-contracts/pull/726/files

@nabialek-arianelabs I noticed the dependency on:  PR726.  Once @acuarica and @arianejasuwienas agree to where these kind of reports should live, then I think this PR should follow that standard.


[WIP] Example 12 23well

Add an example to process the large 23 well plate (see https://github.com/fractal-analytics-platform/fractal/issues/213)

Added another zenodo example to this branch. Now merging into main


charts: bump node-disk-manager v0.7.3

- To apply new rbac and CRD fields

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Problem:
We need new rbac/CRDs or we will see the following error because the image cannot match.
W0919 06:40:58.680919       1 reflector.go:547] github.com/rancher/lasso/pkg/cache/cache.go:145: failed to list *v1beta1.LVMVolumeGroup: lvmvolumegroups.harvesterhci.io is forbidden: User "system:serviceaccount:harvester-system:harvester-node-disk-manager" cannot list resource "lvmvolumegroups" in API group "harvesterhci.io" at the cluster scope
E0919 06:40:58.681002       1 reflector.go:150] github.com/rancher/lasso/pkg/cache/cache.go:145: Failed to watch *v1beta1.LVMVolumeGroup: failed to list *v1beta1.LVMVolumeGroup: lvmvolumegroups.harvesterhci.io is forbidden: User "system:serviceaccount:harvester-system:harvester-node-disk-manager" cannot list resource "lvmvolumegroups" in API group "harvesterhci.io" at the cluster scope
W0919 06:41:38.481042       1 reflector.go:547] github.com/rancher/lasso/pkg/cache/cache.go:145: failed to list *v1beta1.LVMVolumeGroup: the server could not find the requested resource (get lvmvolumegroups.meta.k8s.io)
E0919 06:41:38.481118       1 reflector.go:150] github.com/rancher/lasso/pkg/cache/cache.go:145: Failed to watch *v1beta1.LVMVolumeGroup: failed to list *v1beta1.LVMVolumeGroup: the server could not find the requested resource (get lvmvolumegroups.meta.k8s.io)

Solution:
Bump new chart version
Related Issue:
None
Test plan:
None

LGTM, but I'm not sure we need the backport, as the v1.4 branch was already updated.

yeah, I thought we didn't need the backport. The v1.4 branch looks fine.


Add changelog to release notes

This PR

adds shell script which exports details to environment variables, given the changelog format won't change (!)
uses options mentioned here to modify name and body of github release

There are a few things that might not work because I'm also unsure if travis can handle them:

CLI programs used in the script get_changelog.sh could be missing. I used grep, cat, sed, head, tail which are normally chore utils on every unix installation
The environment variables that are exported in the scripts could be unavailable in the travis.yml deploy section

I don't have any chance to test these changes myself unfortunately. Maybe just try them out and disable PyPi releases for the test releases :sweat_smile:

Pull Request Test Coverage Report for Build 390

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

Totals

Change from base Build 388:
0.0%

Covered Lines:
1619

Relevant Lines:
1619

💛  - Coveralls


KyuubiBatchService should wait for HTTP server started before picking jobs

:mag: Description
This is similar to https://github.com/apache/kyuubi/pull/5310.
We need to wait for Jetty Server started before picking jobs, otherwise, it may get the wrong local HTTP server port -1.
This only affects Batch V2
Types of changes :bookmark:

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Tested in internal workloads.

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

cc @zwangsheng

Thanks, merged to master/1.9.2/1.8.3


[UI][Suggestion] Switch from dump1090 to tar1090

(removing the default issue template, as this is not really an issue report but a question/suggestion)
Would it be an idea to switch the UI from dump1090-fa to tar1090?
As you can see on https://globe.adsbexchange.com/ it does provide quite an improved UI...
(now that I've spent time working on adapting the dump1090 to add the links to FR24 in #44, maybe not the smartest to move right away to another UI, but maybe food for thought?)

There is a new version of the UI on fa https://github.com/flightaware/dump1090/tree/master/public_html_merged
Maybe we should wait a bit to see if it's worth to change.
Personally I don't really care about all fancies options.

Here is the new filters etc


Fix root cert param name in SQL shell example

Fixes cockroachdb/cockroach#23507.

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6ff7158425a3c7c154063f878308a290061b7b5e/

. Thanks for the fix. @dt.

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

awwww shucks, I was going to sandbag and merge this one tomorrow, so I could count it towards my fixit day roachcoin

Whoops. Sorry, @dt. Feel free to retroactively open an issue for this, tag it with fixitday, and close it ;)


test coverage issues with navigationOptions.tabBar

Example code:
const AppSections = TabNavigator({
  Search: { screen: Search },
  Favorites: { screen: Favorites }
}, {
  navigationOptions: {
    tabBar
  },
  tabBarComponent: TabView.TabBarBottom,
  tabBarPosition: 'bottom',
  initialRouteName: 'Search',
});

If you notice, I am using default navigationOptions and I have pulled out tabBar into a separately declared function for testing/coverage purposes
// used in tabBar
const routeNameToIconName = {
  Search: 'ios-search-outline',
  Favorites: 'ios-heart-outline'
};

export const tabBar = ({ state }) => ({
  icon: ({ tintColor }) => ( // eslint-disable-line react/prop-types
    <Ionicons name={routeNameToIconName[state.routeName]} color={tintColor} size={30} />
  )
});

I would like to be able to make tabBar.icon an actual react component, but I can't do this because i need state, and state is only found within the closure scope.
It seems like state should be passed to tabBar.icon by react-navigator, instead of relying on closure scope
thoughts?

Why can't you pass state yourself like <Ionicons state={state} />?

this works! but it means you have to also test the wrapper function (tabBar.icon) to get full coverage:
export const TabBarIcon = ({ tintColor, state }) => <Ionicons name={routeNameToIconName[state.routeName]} color={tintColor} size={30} />;

TabBarIcon.propTypes = {
  state: navigationStateType.isRequired,
  tintColor: PropTypes.string.isRequired
};

/**
 * provides the base tab bar functionality for the AppSections Navigator
 * @param {navigationStateType} state
 */
const tabBar = ({ state }) => ({
  icon: ({ tintColor }) => <TabBarIcon state={state} tintColor={tintColor} />
});

Ideally there would be no closure scope where i'm forced to create a wrapper function that I need to separately test

I am not really sure if this issue is actionable. What you @thurt ended up doing, out of curiosity? That's the way the API is designed.

hi @grabbou -- i havent changed anything. tabBar.icon is same as shown in my first post.
my test looks like:
describe('tabBar.icon', () => {
    it('matches snapshot', () => {
      const icon = tabBar({ state: navigationState }).icon({ tintColor: 'black' });
      expect(icon).toMatchSnapshot();
    });
  });

unfortunately, i have to use //eslint-disable-line react/prop-types currently for tabBar.icon. I'm not able to cleanly define the propTypes interface for an tabBar.icon component because the navigation state is not being passed.

hi @grabbou -- i havent changed anything. tabBar.icon is same as shown in my first post.
my jest test looks like:
describe('tabBar.icon', () => {
    it('matches snapshot', () => {
      const icon = tabBar({ state: navigationState }).icon({ tintColor: 'black' });
      expect(icon).toMatchSnapshot();
    });
  });

unfortunately, i have to use // eslint-disable-line react/prop-types currently for tabBar.icon. I'm not able to cleanly define a propTypes interface for an tabBar.icon component because the navigation state is not being passed along with the other icon properties (tintColor, focus).

Thanks!


Can I limit the number of lines for every point?

I want to make the effect of floating constellations. For example, every point has a maximum of 2 lines with the nearest points.

Yes - see https://github.com/VincentGarreau/particles.js/blob/master/particles.js#L676. Change it to add/increment a value on both particles and drop out early if either value exceeds a limit.
However - it doesn't check for the closest particle (and doing so would be slower). Possibly the best option with the code as is would be to restructure to create a list of lines w/lengths, sort that and chop above a limit, then draw the lines. That would be pretty simple.
Best might be to implement a k-d tree for searching points - but that'd be pretty bothersome :).


Added Functionality for Continuous Use

This is a great tool that I've used to help detect possible sensitive information in my organization's repositories. Since we use Gitrob to continuously keep track of our repositories, I added some functionalities that have been useful to us and I thought they would be a good contribution to the project:

I added select boxes to the UI that allows users to flag findings based on whether or not they believe there is an actual problem. When the user chooses an option, the 'status' attribute (that I added to the blob model) is updated in the database. Along with this, I added some filters that allow users to choose which findings they want to view in the UI based on the flags. This can help users keep track of the findings, especially if the organization is large.

I added an "update" feature that allows an existing organization in the database to be updated. This is useful for users that want to continuously keep track of their organization's repositories. Instead of having to scan the entire organization again (which could take several hours), the update will only scan repositories that have been updated since the last scan. This not only reduces the runtime, but also helps prevent the problem of reaching the Github API rate limit. This update can be done through the UI or the command line.

I also implemented support for email notifications. This is useful for users that intend on running Gitrob on a schedule (such as cron jobs) and want to be notified of new or updated repositories and findings. The SMTP settings can be set through the configuration along with which emails the user would like to send the notifications to.

I added a delete button to the UI to remove existing scans.

I found a bug in one of the error catching statements where it was trying to use a variable that wasn't defined. I fixed this as well.

Thank you,
Tyler

We would take advantage of this right away! This is great.

Amazing PR, thank you for contributing this back! :+1:
I'll have a look at the code later today and merge it back in.

Hi I was just wondering if you had a chance to look at the code? If you would like me to change anything, I have about 2 weeks before I go on extended leave. I think it would be really cool to see my changes merged in. :) Thanks!

:+1: revisit

Hi @tmaudev, sorry for the long wait, I am taking a break from the Internetz. I gave your fork a test run and it is a great contributation, however I found a couple of minor UI quirks that would be great to have fixed:

The buttons look a bit out of place and seem to have different heights. The Gitrob project uses the Twitter Bootstrap project, so it should be an easy fix if you use the button styling from the framework.

It's  a bit hard to read the dropdown box with its current width. I think it would be great to expand it a bit so that it shows the options completely.
The last thing I was thinking about is whether these features should be "unlocked" by a setting? Something a long the lines of "Enable continuous use mode" in the setup wizard. What do you think?

Those are some great suggestions. When I get the chance, I will make those changes and you can let me know how you like them. Thanks!


Hi, where should I put the Model Files, and the Dir Structure is?

I cannot find the info, please tell, thank you.

Hi. Models should be placed on \ComfyUI\models\faster-whisper.
Just running the workflow would automatically download models to there, but I should've specified that in the README.

Updated README in #2

awesome, thank you so much for your fast reply and such many nice jobs.

@jhj0517 I think I still have this problem when running with dir structure like this:

but I have error as

I have tried the new version, It works perfectly, Thank you so much.


backwards compatibility tests - infra + preliminary tests

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Feature - automated backwards compatibility tests

What is the current behavior? (You can also link to an open issue here)
Currently we manually test backwards compatibility with each release, these changes aim to automate this.

What is the new behavior (if this is a feature change)?
Automated backwards compatibility tests

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
No

Have unit tests been run against this PR? (Has there also been any additional testing?)
Developer testing has been done - independently
Orchestrator Workflow run - https://github.com/adityabharadwaj198/marqo/actions/runs/11572501434
Build_push_img workflow run - https://github.com/adityabharadwaj198/marqo/actions/runs/11572505736
Image pushed to ECR -
backwards compatibility test run: https://github.com/adityabharadwaj198/marqo/actions/runs/11651395865/job/32441361365

Related Python client changes (link commit/PR here)

None

Related documentation changes (link commit/PR here)
None

Other information:

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

Can we have a how-to guide about this workflow?

Sure, I created this: https://www.notion.so/Compatibility-Tests-Github-Actions-workflow-13775d43da4c805da50eed92b4a1a155?pvs=4 let me know if you want me to add this to the code


Feature request: support resume loading after disconnect

Any plans to support reconnect feature?

maybe .setRetryPolicy(new DefaultRetryPolicy())? ThinDownloadManager has this.

Hi @JackLauu
Enven on main page noted:
NOTE: Android's DownloadManager has plenty of features which is not available in ThinDownloadManager. For ex. pause and continue download when network connectivity changes.
Yes, DefaultRetryPolicy is in sample.
The problem is:
if we lose connection, for example for 1 second, or server close connection on it side due to 502 or 503 error, it can't restart loading. Default DownloadManager can do it.
Android DownloadManager in this case at first sends partial content request, which return just size of file, and then start loading. If connection lost, it sends range request, something like this "Range: bytes=31246-58342" and continue to load from that place where it lost connection.

@akadatsky You are right. ThinDownloadManager doesn't keep track of how many bytes so far downloaded and if connection breaks it deletes the file which is not fully downloaded at the time. The general advice is if you are downloading a very large file in terms of 100MBs, stick with android download manager.

@smanikandan14  I can't due to of DOWNLOAD_WITHOUT_NOTIFICATION permission.
I believe it's not hard to do in the technical plan, or ThinDownloadManager arch is not designed for this? Or you have no desire to maintain?

+1 for this feature

I may be implementing this depending on my current project requirements. I'll update this thread in the next couple weeks either way.

DownloadRequest can now be set to not delete files on download failure. It also supports html headers for setting range information. I am currently looking into whether this is all that is nessisary.  If no changes are required, I'll post a few tips. Otherwise, I'll be implementing this.

There is a one line change required in ThinDownloadManager to enable resuming using the aforementioned headers. I will put together a quick pull request when I get to my computer later today. I will also post some example code in the pull request description.

See this pull request.

@PrimeKang How can we test this ? Any prescribed steps.

To test this pull request:

upload a small test binary with known values.
Download using the Range header value to grab a handful of bytes from the middle . downloadRequest.addCustomHeader("Range", "bytes="+startByteZeroIndexed+"-"+endByteOrOmittedForEOF);
Compare with expected values

To test the sudocode I provided in the description of the pull request:

create a part1 file with the same part1-postfix
write a few recognizable bytes to it
start a resumable request for a very small binary file on dropbox that has more bytes in it than your part1 file, It also must not start with your part1 test bytes.
read the completed file into a byte buffer
check that the first bytes match your test part1 bytes
check that the remainder of the buffer matches the same part of the remote file.
Celebrate great success :)


Start-BitsTransfer : HTTP 状态 407: 需要代理身份验证。

when i run flutter doctor:
PS E:\git_project\flutter\bin> flutter doctor
Checking Dart SDK version...
Downloading Dart SDK 1.25.0-dev.11.0...
Start-BitsTransfer : HTTP 状态 407: 需要代理身份验证。
所在位置 E:\git_project\flutter\bin\internal\update_dart_sdk.ps1:55 字符: 19

Start-BitsTransfer <<<<  -Source $dartSdkUrl -Destination $dartSdkZip

CategoryInfo          : InvalidOperation: (:) [Start-BitsTransfer], Exception
FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
TransferCommand

Error: Unable to update Dart SDK. Retrying...
How to solve this problem？

cc @jakobr-google @mit-mit does this look familiar?
Does this mean that a proxy or intermediary is in the way?

I think this is the windows proxy issue @goderbau

Dupe of https://github.com/flutter/flutter/issues/10903.


Axis decorate doesn't work as expected

See this codepen which is a slightly modified version of the example from the site

Actually that might be a different issue due to overloading the transform attribute. However, this demonstrates exactly the issue I'm seeing -
axis.decorate(g =>
  g.enter()
    .selectAll('path')
    .style({
      stroke: 'none',
    });
})

This is a combination of a couple of issues ...

In the codepen the decorate function sets an attribute, transform, which is also set in the axis update selection. This explains the off behaviour where the axis rotation applied in the decorate / enter is overwritten by the second datajoin
The issue with the path stroke not being set when new ticks 'enter', is due to cartesian exposing the axis series decorate, rather than the axis decorate. Hence the enter selection is the one that constructs the axis container, not the axis ticks.

Fixed in #989


OpenShiftDeploymentVerifier build step fails with false positive.

I have a build job with a OpenShiftDeploymentVerifier build step.  It is configured to verify if there is one pod running after build set. Even though I have one pod running this steps fails hence, my build job fails.
For this test following image has been used.
docker.io/openshift/jenkins-1-centos7 latest 212bac2225d0 6 days ago 655.4 MB
Below you can find the relevant log extract.
OpenShiftDeploymentVerifier rc current count 1 rc desired count 1 step verification amount 1 current state Running
Auth - allowCertificate with incoming chain of len  2
Auth - allowCertificate returning true
OpenShiftDeploymentVerifier latest version:  19
Auth - allowCertificate with incoming chain of len  2
Auth - allowCertificate returning true
OpenShiftDeploymentVerifier current rc {
"kind" : "ReplicationController",
"apiVersion" : "v1",
"metadata" : {
"name" : "cakephp-example-19",
"namespace" : "xyz",
"selfLink" : "/api/v1/namespaces/xyz/replicationcontrollers/cakephp-example-19",
"uid" : "49a7a46a-af9e-11e5-8b2c-fa163ef5b9d0",
"resourceVersion" : "4043011",
"generation" : 2,
"creationTimestamp" : "2015-12-31T09:10:08Z",
"labels" : {
"openshift.io/deployment-config.name" : "cakephp-example",
"template" : "cakephp-example"
},
"annotations" : {
"kubectl.kubernetes.io/desired-replicas" : "0",
"kubectl.kubernetes.io/update-source-id" : "cakephp-example-1:fb35e105-ae32-11e5-8b2c-fa163ef5b9d0",
"openshift.io/deployer-pod.name" : "cakephp-example-19-deploy",
"openshift.io/deployment-config.latest-version" : "19",
"openshift.io/deployment-config.name" : "cakephp-example",
"openshift.io/deployment.phase" : "Running",
"openshift.io/encoded-deployment-config" : "{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"cakephp-example","namespace":"xyz","selfLink":"/oapi/v1/namespaces/xyz/deploymentconfigs/cakephp-example","uid":"3833352c-ae32-11e5-8b2c-fa163ef5b9d0","resourceVersion":"4042975","creationTimestamp":"2015-12-29T13:44:01Z","labels":{"template":"cakephp-example"},"annotations":{"description":"Defines how to deploy the application server"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["cakephp-example"],"from":{"kind":"ImageStreamTag","name":"cakephp-example:latest"},"lastTriggeredImage":"<IP_ADDRESS>:5000/xyz/cakephp-example@sha256:0a8132be3ff05f61d47bf5751b6dd1cb38054f7b208cfe6442821e3651f71cac"}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"cakephp-example"},"template":{"metadata":{"name":"cakephp-example","creationTimestamp":null,"labels":{"name":"cakephp-example"}},"spec":{"containers":[{"name":"cakephp-example","image":"<IP_ADDRESS>:5000/xyz/cakephp-example@sha256:0a8132be3ff05f61d47bf5751b6dd1cb38054f7b208cfe6442821e3651f71cac","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"DATABASE_SERVICE_NAME"},{"name":"DATABASE_ENGINE"},{"name":"DATABASE_NAME"},{"name":"DATABASE_USER"},{"name":"DATABASE_PASSWORD"},{"name":"CAKEPHP_SECRET_TOKEN","value":"H3N7w8isnMAK6eNeTG8wSU7Fu3xoD6wbmWVEUZ68WkeVKNsrtU"},{"name":"CAKEPHP_SECURITY_SALT","value":"seE36hj8kjfTtKmAeVs8qvtcv2BBQl2sAPmkDwwY"},{"name":"CAKEPHP_SECURITY_CIPHER_SEED","value":"368014367837282015085010621150"},{"name":"OPCACHE_REVALIDATE_FREQ","value":"2"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":19,"details":{"causes":[{"type":"ImageChange","imageTrigger":{"from":{"kind":"DockerImage","name":"<IP_ADDRESS>:5000/xyz/cakephp-example:latest"}}}]}}}\n"
}
},
"spec" : {
"replicas" : 1,
"selector" : {
"deployment" : "cakephp-example-19",
"deploymentconfig" : "cakephp-example",
"name" : "cakephp-example"
},
"template" : {
"metadata" : {
"labels" : {
"deployment" : "cakephp-example-19",
"deploymentconfig" : "cakephp-example",
"name" : "cakephp-example"
},
"annotations" : {
"openshift.io/deployment-config.latest-version" : "19",
"openshift.io/deployment-config.name" : "cakephp-example",
"openshift.io/deployment.name" : "cakephp-example-19"
}
},
"spec" : {
"containers" : [{
"name" : "cakephp-example",
"image" : "<IP_ADDRESS>:5000/xyz/cakephp-example@sha256:0a8132be3ff05f61d47bf5751b6dd1cb38054f7b208cfe6442821e3651f71cac",
"ports" : [{
"containerPort" : 8080,
"protocol" : "TCP"
}],
"env" : [
{"name" : "DATABASE_SERVICE_NAME"},
{"name" : "DATABASE_ENGINE"},
{"name" : "DATABASE_NAME"},
{"name" : "DATABASE_USER"},
{"name" : "DATABASE_PASSWORD"},
{
"name" : "CAKEPHP_SECRET_TOKEN",
"value" : "H3N7w8isnMAK6eNeTG8wSU7Fu3xoD6wbmWVEUZ68WkeVKNsrtU"
},
{
"name" : "CAKEPHP_SECURITY_SALT",
"value" : "seE36hj8kjfTtKmAeVs8qvtcv2BBQl2sAPmkDwwY"
},
{
"name" : "CAKEPHP_SECURITY_CIPHER_SEED",
"value" : "368014367837282015085010621150"
},
{
"name" : "OPCACHE_REVALIDATE_FREQ",
"value" : "2"
}
],
"terminationMessagePath" : "/dev/termination-log",
"imagePullPolicy" : "IfNotPresent"
}],
"restartPolicy" : "Always",
"terminationGracePeriodSeconds" : 30,
"dnsPolicy" : "ClusterFirst"
}
}
},
"status" : {
"replicas" : 1,
"observedGeneration" : 2
}
}
OpenShiftDeploymentVerifier rc current count 1 rc desired count 1 step verification amount 1 current state Running
Auth - allowCertificate with incoming chain of len  2
Auth - allowCertificate returning true
OpenShiftDeploymentVerifier latest version:  19
Auth - allowCertificate with incoming chain of len  2
Auth - allowCertificate returning true
OpenShiftDeploymentVerifier current rc {
"kind" : "ReplicationController",
"apiVersion" : "v1",
"metadata" : {
"name" : "cakephp-example-19",
"namespace" : "xyz",
"selfLink" : "/api/v1/namespaces/xyz/replicationcontrollers/cakephp-example-19",
"uid" : "49a7a46a-af9e-11e5-8b2c-fa163ef5b9d0",
"resourceVersion" : "4043020",
"generation" : 3,
"creationTimestamp" : "2015-12-31T09:10:08Z",
"labels" : {
"openshift.io/deployment-config.name" : "cakephp-example",
"template" : "cakephp-example"
},
"annotations" : {
"kubectl.kubernetes.io/desired-replicas" : "0",
"kubectl.kubernetes.io/update-source-id" : "cakephp-example-1:fb35e105-ae32-11e5-8b2c-fa163ef5b9d0",
"openshift.io/deployer-pod.name" : "cakephp-example-19-deploy",
"openshift.io/deployment-config.latest-version" : "19",
"openshift.io/deployment-config.name" : "cakephp-example",
"openshift.io/deployment.phase" : "Failed",
"openshift.io/encoded-deployment-config" : "{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"cakephp-example","namespace":"xyz","selfLink":"/oapi/v1/namespaces/xyz/deploymentconfigs/cakephp-example","uid":"3833352c-ae32-11e5-8b2c-fa163ef5b9d0","resourceVersion":"4042975","creationTimestamp":"2015-12-29T13:44:01Z","labels":{"template":"cakephp-example"},"annotations":{"description":"Defines how to deploy the application server"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["cakephp-example"],"from":{"kind":"ImageStreamTag","name":"cakephp-example:latest"},"lastTriggeredImage":"<IP_ADDRESS>:5000/xyz/cakephp-example@sha256:0a8132be3ff05f61d47bf5751b6dd1cb38054f7b208cfe6442821e3651f71cac"}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"cakephp-example"},"template":{"metadata":{"name":"cakephp-example","creationTimestamp":null,"labels":{"name":"cakephp-example"}},"spec":{"containers":[{"name":"cakephp-example","image":"<IP_ADDRESS>:5000/xyz/cakephp-example@sha256:0a8132be3ff05f61d47bf5751b6dd1cb38054f7b208cfe6442821e3651f71cac","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"DATABASE_SERVICE_NAME"},{"name":"DATABASE_ENGINE"},{"name":"DATABASE_NAME"},{"name":"DATABASE_USER"},{"name":"DATABASE_PASSWORD"},{"name":"CAKEPHP_SECRET_TOKEN","value":"H3N7w8isnMAK6eNeTG8wSU7Fu3xoD6wbmWVEUZ68WkeVKNsrtU"},{"name":"CAKEPHP_SECURITY_SALT","value":"seE36hj8kjfTtKmAeVs8qvtcv2BBQl2sAPmkDwwY"},{"name":"CAKEPHP_SECURITY_CIPHER_SEED","value":"368014367837282015085010621150"},{"name":"OPCACHE_REVALIDATE_FREQ","value":"2"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":19,"details":{"causes":[{"type":"ImageChange","imageTrigger":{"from":{"kind":"DockerImage","name":"<IP_ADDRESS>:5000/xyz/cakephp-example:latest"}}}]}}}\n"
}
},
"spec" : {
"replicas" : 0,
"selector" : {
"deployment" : "cakephp-example-19",
"deploymentconfig" : "cakephp-example",
"name" : "cakephp-example"
},
"template" : {
"metadata" : {
"labels" : {
"deployment" : "cakephp-example-19",
"deploymentconfig" : "cakephp-example",
"name" : "cakephp-example"
},
"annotations" : {
"openshift.io/deployment-config.latest-version" : "19",
"openshift.io/deployment-config.name" : "cakephp-example",
"openshift.io/deployment.name" : "cakephp-example-19"
}
},
"spec" : {
"containers" : [{
"name" : "cakephp-example",
"image" : "<IP_ADDRESS>:5000/xyz/cakephp-example@sha256:0a8132be3ff05f61d47bf5751b6dd1cb38054f7b208cfe6442821e3651f71cac",
"ports" : [{
"containerPort" : 8080,
"protocol" : "TCP"
}],
"env" : [
{"name" : "DATABASE_SERVICE_NAME"},
{"name" : "DATABASE_ENGINE"},
{"name" : "DATABASE_NAME"},
{"name" : "DATABASE_USER"},
{"name" : "DATABASE_PASSWORD"},
{
"name" : "CAKEPHP_SECRET_TOKEN",
"value" : "H3N7w8isnMAK6eNeTG8wSU7Fu3xoD6wbmWVEUZ68WkeVKNsrtU"
},
{
"name" : "CAKEPHP_SECURITY_SALT",
"value" : "seE36hj8kjfTtKmAeVs8qvtcv2BBQl2sAPmkDwwY"
},
{
"name" : "CAKEPHP_SECURITY_CIPHER_SEED",
"value" : "368014367837282015085010621150"
},
{
"name" : "OPCACHE_REVALIDATE_FREQ",
"value" : "2"
}
],
"terminationMessagePath" : "/dev/termination-log",
"imagePullPolicy" : "IfNotPresent"
}],
"restartPolicy" : "Always",
"terminationGracePeriodSeconds" : 30,
"dnsPolicy" : "ClusterFirst"
}
}
},
"status" : {
"replicas" : 0,
"observedGeneration" : 3
}
}
BUILD STEP EXIT: OpenShiftDeploymentVerifier deployment cakephp-example-19 failed
Build step 'Check Deployment Success in OpenShift' marked build as failure
Finished: FAILURE

First - thanks for the interest in the plug-in.  And for providing the debug data for this issue.
Looking at the data, I cannot agree with your assessment, though if the intent of the deployment verifier was not clear to you, we can work to improve the documentation.
In particular, Generation 2 of the replication controller has the "openshift.io/deployment.phase" annotation set to "Running", but the latest Generation, Generation 3, has the "openshift.io/deployment.phase" set to "Failed".  The deployment verifier considers only the latest/current deployment.
I'll wait for your response to my findings before dispensing with this issue.
@bparees @mfojtik - FYI.

it does look like the doc leaves out mentioning that it checks that the latest deployment succeeded, so it'd be good to add that to the list of things that are checked.
"Check deployment success in OpenShift": determines whether the expected set of DeploymentConfig's, ReplicationController's, and active replicas are present based on prior use of either the "Scale deployments in OpenShift" (2) or "Trigger a deployment in OpenShift" (3) steps; its activities specifically include:

it first confirms the specified deployment config exists.
it then gets the list of all replication controllers for that DC, and finds the latest incarnation.
and then sees if within a reasonable time the current replica count is at least equal to the desired replica count.

I've updated the README with some further clarification and pushed to the repo.
Going ahead and closing this one out.

Hi Gabe,
Sorry for late response. Last couple of days I have been traveling. After your first comment, I did further testing. It took me sometime  before I can figure out the root cause of the issue.  It turns out that issue I was having was related to https://github.com/openshift/origin/issues/5787.
My build job had "Scale deployments in Openshift" step. Before performing a build I was scaling down my app to 0 PODs and due to the issue I have pointed above rolling updates and validation step were failing.
It wasn't easy to spot but  while my replication controller with highest version was in "Failed" status and had 1 running POD, rolling updates were using the last replication controller with "Complete" status, which had 0 PODs active. This was triggering the issue above.  After I manually started an additional  POD with latest RC in "Complete" status and removed my scale down 0  step from my job, validation step was working as expected.


[keyvault] Add x509ThumbprintString property to CertificateProperties

Packages impacted by this PR

@azure/keyvault-certificates

Issues associated with this PR

Fixes https://github.com/Azure/azure-sdk-for-js/issues/25716

Describe the problem that is addressed by this PR
Add convenience property x509ThumbprintString which is a hex-encoded representation of the existing x509Thumbprint property.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-keyvault-certificates


Fix ERC721 token uris error

What was wrong?

For some ERC721 tokens there's an error retrieving the uri that makes the service crash

How was it fixed?

Updating gnosis-py to the last version

Coverage remained the same at 88.887% when pulling 5f61c659817726bc0f0dd6a6f09db469c7dc3c8b on fix-erc721-token-uris into 16ec68ac245e5f7f48dd42bd18f1709af6f73aac on master.


Not working on android

When I'm trying to call : EscPosPrinter.init app crashing with this error : react native attempt to invoke virtual method 'double java.lang.double.doublevalue()'
Also There's a typo >> EscPosPrinter.discovery() should be EscPosPrinter.discover() also this function returning an empty list (not showing printers connected via bluetooth)

@deounix Hello!
Could you provide a bit more info?
At least the package version you're are using. Thanks

I have the same problem

the same problem here

@samuel20miglia @MeSMedia  could you please provide the info I've mentioned above?

Hi @tr3v3r ,
please find below the details about the issue:
react-native-cli: 2.0.1
react-native: 0.64.2

Best Regards

@samuel20miglia Thanks.
Also, it would be nice if you could provide ]react-native-esc-pos-printer] version you are using and code snippet of how you call init method

react-native-esc-pos-printer: latest

@samuel20miglia I suppose the problem is that you are using a printer produced NOT by Epson.
Here is the list of all supported series names
EPOS2_TM_M10,
  EPOS2_TM_M30,
  EPOS2_TM_P20,
  EPOS2_TM_P60,
  EPOS2_TM_P60II,
  EPOS2_TM_P80,
  EPOS2_TM_T20,
  EPOS2_TM_T60,
  EPOS2_TM_T70,
  EPOS2_TM_T81,
  EPOS2_TM_T82,
  EPOS2_TM_T83,
  EPOS2_TM_T88,
  EPOS2_TM_T90,
  EPOS2_TM_T90KP,
  EPOS2_TM_U220,
  EPOS2_TM_U330,
  EPOS2_TM_L90,
  EPOS2_TM_H6000,
  EPOS2_TM_T83III,
  EPOS2_TM_T100,
  EPOS2_TM_M30II,
  EPOS2_TS_100,
  EPOS2_TM_M50,

But anyway thanks for finding this bug. I'll add an assertion for this case

yes, sure


Exceptions in policy creation

Hi,
I followed the advice in the pundit docs regarding closed systems, i.e., raising an exception when initializing the policy class. With this, a forbid_actions test fails, but I think it should pass. I currently use is_expected.to raise_error, but could be nicer if I didn't have to worry how exactly the action was forbidden
Thanks!

Yes I agree that Pundit Matchers should support exceptions in policies. We will need to prepare a PR to include support for failure by exception in the matchers. The permit matchers, along with forbid matchers, should have tests for this feature.

The solution proposed in https://github.com/punditcommunity/pundit-matchers/issues/39#issuecomment-1352644741 is to add support for multiple ways of failing, with "any" being the default. This would be a breaking change, requiring a major version bump. I'll close this issue and we can move further discussion to #39.


Separate not present or invalid

Separates the or normative statements into 2 steps

missing
invalid

Separates the or normative statements into 2 steps: 1. missing, 2. invalid

It's not clear to me why this needs to be done? It's functionally equivalent, isn't it?

Separates the or normative statements into 2 steps: 1. missing, 2. invalid

It's not clear to me why this needs to be done? It's functionally equivalent, isn't it?

@gannan08 wants both cases tested: the proof property is missing and the proof property is invalid.
It also turned out to be a good test. We don't validate the timestamps for instance so you can send any string as created.


Add Dark Mode Functionality with Caching

Fix for issue #4

Hmm, It appears that the scrollbar disappears for the homepage even though scroll is specified in only the header css


Add new policy for checking insecure_ssl on github_organization_webhook

Add a new policy to the GitHub provider to check if insecure_ssl was
set to true on the github_organization_webhook resource.
Resolves #339

Thanks!


Inadequate pre-commit linting configuration

This repository’s flake8 pre-commit configuration currently utilizes the latest PyPi version of flake8-annotations when building its linting environment rather than the current state of the local repo. This can potentially lead to a result that conflicts with both a manual flake8 invocation and the linting CI pipeline, which utilize the current state of the repo to lint itself.
My research into method(s) to resolve this hasn’t been fruitful. Perhaps linting ourselves is an antipattern or I’m just bad at finding things on the internet, but if there’s no way to solve this then I’m inclined to remove pre-commit completely rather than have this conflict.
Would love to have some opinions and/or leads on this!

I can look into this. However, perhaps linting with the "stable" version is better anyway?

One problem with that is if we’re fixing a bug then we’re linting with the buggy version instead of the fixed version.

True, but that'd only be a problem if the code required to fix the bug triggered the bug itself.

It can be done with a local repo. This runs flake8 in the project's venv. However, pre-commit will still create its own venv and I don't think that is avoidable.
repos:
-   repo: local
    hooks:
    -   id: flake8
        name: Flake8
        description: This hook runs flake8.
        entry: pipenv run lint
        language: python
        types: [python]
        require_serial: true

This gives me permissions errors on Windows:
PermissionError: [Errno 13] Permission denied: 'C:\\Project Data\\General Python\\flake8-annotations\\.env'
> git config --get-all user.name
> git config --get-all user.email


Missing dependencies needed

.\1、install-uv-qinglong.ps1
UV cache directory already exists, skipping disk space check
uv 0.5.6 (b70c4f30e 2024-12-03)
uv installed|UV模块已安装.
Windows .venv
Installing main requirements
Resolved 55 packages in 3.53s
  x Failed to download and build `pygltflib==1.16.3`
  `-> Build backend failed to build wheel through `build_wheel` (exit code: 1)                                                                                [stderr]
      Traceback (most recent call last):
        File "<string>", line 8, in <module>
      ModuleNotFoundError: No module named 'setuptools'                                                                                help: `pygltflib` (v1.16.3) was included because `kaolin` (v0.17.0) depends on `pygltflib`
Install kaolin failed
Install failed|安装失败。

the fix is to have the prerequisite setup tools wheel:
~/.local/bin/uv pip install --upgrade pip setuptools wheel

I forgot to consider that the setuptools wheel for the old version 3.10 of Python is outdated, and I will update this part of the code.


Workshop 4xercise 2 [Enaruvbe]

Please "drag & drop" exercise 3 file below.

Please UPDATE TH
Mod2_Ex_4.docx

This map shows the area around the city of Sokoto in Sokoto State, northern Nigeria. A large part of the area can be potentially flooded with a large area of cropland affected.

Excellent analysis!


Weird splash/ripple animation on BottomNavigationBar tap

Is this effect intended?

Quite different from Material Design Guidelines (see examples of behavior here: https://material.io/components/bottom-navigation#behavior)

flutter doctor -v
```
[✓] Flutter (Channel stable, v1.17.5, on Mac OS X 10.15.5 19F101, locale en-RU)
• Flutter version 1.17.5 at /Users/andrey/flutter
• Framework revision 8af6b2f038 (3 weeks ago), 2020-06-30 12:53:55 -0700
• Engine revision ee76268252
• Dart version 2.8.4
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/andrey/Library/Android/sdk
• Platform android-29, build-tools 28.0.3
• ANDROID_HOME = /Users/andrey/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.8.4
[!] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] VS Code (version 1.47.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.12.2
[✓] Connected device (2 available)
• Android SDK built for x86 • emulator-5554                        • android-x86 • Android 8.1.0 (API 27) (emulator)
• iPhone 11 Pro             • 95CDFC43-ED7E-40EE-9D5A-EAE483AAEE8A • ios         • com.apple.CoreSimulator.SimRuntime.iOS-13-5 (simulator)

Hi!
I fully share, looking for solutions to that "problem" I found the following and it is what I use in my projects. I hope it works for you 😁

Reproducible on the latest master 1.21.0-2.0.pre.83.

Minimal reproducible sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

/// This Widget is the main application widget.
class MyApp extends StatelessWidget {
 static const String _title = 'Flutter Code Sample';

 @override
 Widget build(BuildContext context) {
   return MaterialApp(
     title: _title,
     home: MyStatefulWidget(),
   );
 }
}

class MyStatefulWidget extends StatefulWidget {
 MyStatefulWidget({Key key}) : super(key: key);

 @override
 _MyStatefulWidgetState createState() => _MyStatefulWidgetState();
}

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
 int _selectedIndex = 0;
 static const TextStyle optionStyle =
     TextStyle(fontSize: 30, fontWeight: FontWeight.bold);
 static const List<Widget> _widgetOptions = <Widget>[
   Text(
     'Index 0: Home',
     style: optionStyle,
   ),
   Text(
     'Index 1: Business',
     style: optionStyle,
   ),
   Text(
     'Index 2: School',
     style: optionStyle,
   ),
 ];

 void _onItemTapped(int index) {
   setState(() {
     _selectedIndex = index;
   });
 }

 @override
 Widget build(BuildContext context) {
   return Scaffold(
     appBar: AppBar(
       title: const Text('BottomNavigationBar Sample'),
     ),
     body: Center(
       child: _widgetOptions.elementAt(_selectedIndex),
     ),
     bottomNavigationBar: BottomNavigationBar(
       items: const <BottomNavigationBarItem>[
         BottomNavigationBarItem(
           icon: Icon(Icons.home),
           title: Text('Home'),
         ),
         BottomNavigationBarItem(
           icon: Icon(Icons.business),
           title: Text('Business'),
         ),
         BottomNavigationBarItem(
           icon: Icon(Icons.school),
           title: Text('School'),
         ),
       ],
       currentIndex: _selectedIndex,
       selectedItemColor: Colors.amber[800],
       onTap: _onItemTapped,
     ),
   );
 }
}

flutter doctor -v
[√] Flutter (Channel master, 1.21.0-2.0.pre.83, on Microsoft Windows [Version 10.0.18362.900], locale et-EE)
   • Flutter version 1.21.0-2.0.pre.83 at C:\Development\flutter_master
   • Framework revision 9e658bc3d5 (8 hours ago), 2020-07-21 03:56:07 +0200
   • Engine revision dcc9a4048d
   • Dart version 2.9.0 (build 2.9.0-21.0.dev 9dca49e71e)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
   • Android SDK at C:\Users\Isa\AppData\Local\Android\sdk
   • Platform android-30, build-tools 30.0.0
   • Java binary at: C:\Users\Isa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763\jre\bin\java
   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
   • All Android licenses accepted.

[√] Chrome - develop for the web
   • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.4)
   • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
   • Visual Studio Community 2019 version 16.6.30309.148
   • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
   • Android Studio at C:\Users\Isa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763
   • Flutter plugin version 47.1.2
   • Dart plugin version 193.7361
   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.47.2)
   • VS Code at C:\Users\Isa\AppData\Local\Programs\Microsoft VS Code
   • Flutter extension version 3.12.2

[√] Connected device (5 available)
   • SM G950F (mobile)       • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
   • sdk gphone x86 (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
   • Windows (desktop)       • windows            • windows-x64    • Microsoft Windows [Version 10.0.18362.900]
   • Web Server (web)        • web-server         • web-javascript • Flutter Tools
   • Chrome (web)            • chrome             • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

It's expected for those who have large fingers or have trouble pointing.

Labeling for further insight from the team.

recordings

material 3
material 2

updated sample
import 'package:flutter/material.dart';

void main() => runApp(const MyApp());

/// This Widget is the main application widget.
class MyApp extends StatelessWidget {
  static const String _title = 'Flutter Code Sample';

  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: _title,
      theme: ThemeData(),
      home: const MyStatefulWidget(),
    );
  }
}

class MyStatefulWidget extends StatefulWidget {
  const MyStatefulWidget({Key? key}) : super(key: key);

  @override
  State<MyStatefulWidget> createState() => _MyStatefulWidgetState();
}

class _MyStatefulWidgetState extends State<MyStatefulWidget> {
  int _selectedIndex = 0;
  static const TextStyle optionStyle = TextStyle(fontSize: 30, fontWeight: FontWeight.bold);
  static const List<Widget> _widgetOptions = <Widget>[
    Text(
      'Index 0: Home',
      style: optionStyle,
    ),
    Text(
      'Index 1: Business',
      style: optionStyle,
    ),
    Text(
      'Index 2: School',
      style: optionStyle,
    ),
  ];

  void _onItemTapped(int index) {
    setState(() {
      _selectedIndex = index;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('BottomNavigationBar Sample'),
      ),
      body: Center(
        child: _widgetOptions.elementAt(_selectedIndex),
      ),
      bottomNavigationBar: BottomNavigationBar(
        items: const <BottomNavigationBarItem>[
          BottomNavigationBarItem(
            icon: Icon(Icons.home),
            label: 'Home',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.business),
            label: 'Business',
          ),
          BottomNavigationBarItem(
            icon: Icon(Icons.school),
            label: 'School',
          ),
        ],
        currentIndex: _selectedIndex,
        selectedItemColor: Colors.amber[800],
        onTap: _onItemTapped,
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.5, on macOS 12.6 21G115 darwin-arm, locale en-GB)
    • Flutter version 3.3.5 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d9111f6402 (14 hours ago), 2022-10-19 12:27:13 -0700
    • Engine revision 3ad69d7be3
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • Nexus (mobile)         • 00008020-001875E83A38002E            • ios            • iOS 16.0.2 20A380
    • iPhone 14 Pro (mobile) • 4302007A-B132-4B89-887A-C5993FCA3284 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[✓] Flutter (Channel master, 3.5.0-9.0.pre.29, on macOS 12.6 21G115 darwin-arm64, locale en-GB)
    • Flutter version 3.5.0-9.0.pre.29 on channel master at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ec68478e3c (4 hours ago), 2022-10-20 01:20:22 -0400
    • Engine revision 11d7135c34
    • Dart version 2.19.0 (build 2.19.0-318.0.dev)
    • DevTools version 2.18.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • Nexus (mobile)         • 00008020-001875E83A38002E            • ios            • iOS 16.0.2 20A380
    • iPhone 14 Pro (mobile) • 4302007A-B132-4B89-887A-C5993FCA3284 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.6 21G115 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.


sample for predict on test rows

yeah that helped
for according to this example predict will state 1 or 2 but when i ran this it was giving [127], [127], [127] and everytime this is changing. I was also expected 1 or 2. why in this this case it was giving random state?
what does hdfs_test_abnormal data covers? how to prepare it? I dont have abnormal routine dataset
csv-->
timestamp | event | machine
1590949800 | Get SDR 0034 command failed | head01
1590949800 | Get SDR 0034 command failed | head01
1590939800 | Close Session command failed | head01
1590959800 | Close Session command failed | head01
1590959800 | Watchdog         | EBh | ok  |  6.1 | | head01
abnormal file
1590959800 | Close Session command failed | head01
I am trying below and expecting predict as fix values.
import torch
from deeplog import DeepLog
from deeplog.preprocessor import Preprocessor
preprocessor = Preprocessor(
length  = 20,           # Extract sequences of 20 items
timeout = float('inf'), # Do not include a maximum allowed time between events
)
X, y, label, mapping = preprocessor.csv(r'C:\ee18337_deeplog_.csv')
deeplog = DeepLog(
input_size  = 300, # Number of different events to expect
hidden_size = 64 , # Hidden dimension, we suggest 64
output_size = 300, # Number of different events to expect
)
deeplog = deeplog.to("cpu")
X       = X.to("cpu")
y       = y.to("cpu")
#trainig
deeplog.fit(
X          = X,
y          = y,
epochs     = 10,
batch_size = 128,
)
y_pred_normal, confidence = deeplog.predict(
X = X,
k = 3,
)
print(y_pred_normal)
#another file for testing single row to predict single row as anamoly
X1, y1, label, mapping = preprocessor.csv(r'C:\out_directory_1\abnormal_routinne.csv')
X1       = X1.to("cpu")
y1       = y1.to("cpu")
#print("++++++++",y1)
y_pred_abnormal, confidence = deeplog.predict(
X = X1,
k = 3,
)
print("predicted output---> ",y_pred_normal)
anomalies_normal = ~torch.any(
y_pred_abnormal.T == y_pred_normal.T,
dim = 0,
)
print(f"False positives: {anomalies_normal.sum() / anomalies_normal.shape[0]}")
I am expecting we would be able to predict single row and say its anomaly. but this predicted output---> showing me every time different values.
here my dimension are not matching because my abnormal routine file contain only 1 row. do we always have to keep abnormal routine dimension matching with normal ones dimension?

Hi krishna213,
I think that the main issue here is that we need to train for more epochs, as we have very little data to learn from.
Using your example, I changed the number of epochs from 10 to 100 and added some additional printing to show which values are predicted for both the normal and abnormal case.
Please note that in this case, when predicting abnormal values, we tend to predict the correct value. This is because the predicted value is still in the top 3 most likely values. Usually DeepLog works better when trained and tested with very large datasets. But then again, for the details of DeepLog, please contact the original authors of the paper. I merely provided an implementation that we used to compare against our own work DeepCASE.
import torch
from deeplog import DeepLog
from deeplog.preprocessor import Preprocessor

preprocessor = Preprocessor(
    length = 20, # Extract sequences of 20 items
    timeout = float('inf'), # Do not include a maximum allowed time between events
)

X, y, label, mapping = preprocessor.csv('ee18337_deeplog_.csv')
deeplog = DeepLog(
    input_size = 300, # Number of different events to expect
    hidden_size = 64 , # Hidden dimension, we suggest 64
    output_size = 300, # Number of different events to expect
)

deeplog = deeplog.to("cpu")
X = X.to("cpu")
y = y.to("cpu")

#trainig

deeplog.fit(
    X = X,
    y = y,
    epochs = 100, # Train for a longer time, with so few samples we need to train a bit longer
    batch_size = 128,
)

y_pred_normal, confidence = deeplog.predict(
    X = X,
    k = 3,
)

# Added extra printing
print("predicted normal output---> ", y_pred_normal)
# Show in terms of actual predicted values
for index, row in enumerate(y_pred_normal):
    print("Prediction y_pred_normal most->least likely: ", ', '.join(mapping.get(x.item(), 'UNKNOWN') for x in row))

#another file for testing single row to predict single row as anamoly
X1, y1, label, mapping = preprocessor.csv('abnormal_routinne.csv')
X1 = X1.to("cpu")
y1 = y1.to("cpu")
#print("++++++++",y1)
y_pred_abnormal, confidence = deeplog.predict(
    X = X1,
    k = 3,
)

# Added extra printing
print("predicted abnormal output---> ",y_pred_abnormal) # Show predicted abnormal instead

anomalies_normal = ~torch.any(
    y == y_pred_normal.T, # We want to compare the normal values with the actual next value, not with the abnormal next value
    dim = 0,
)

anomalies_abnormal = ~torch.any(
    y1 == y_pred_abnormal.T, # We want to compare the normal values with the actual next value, not with the abnormal next value
    dim = 0,
)

print(f"False positives   normal: {anomalies_normal  .sum() / anomalies_normal.  shape[0]}")
print(f"True  positives abnormal: {anomalies_abnormal.sum() / anomalies_abnormal.shape[0]}")


New TS0012 variation

New quirk for TS0012 devices.
Will support _TZ3000_jl7qyupf
Fixes: #1898

Codecov Report
Base: 83.16% // Head: 83.16% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (ce1c940) compared to base (ad2eba0).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1967   +/-   ##
=======================================
  Coverage   83.16%   83.16%
=======================================
  Files         248      248
  Lines        7816     7819    +3
=======================================
+ Hits         6500     6503    +3
  Misses       1316     1316

Impacted Files
Coverage Δ

zhaquirks/tuya/ts001x.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 83.169%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
6503

Relevant Lines:
7819

💛  - Coveralls

Thanks David


Missing dependency for MVN build

When trying to build Alfviral locally there is a MVN dependency that cannot be resolved, excerpt below:
<dependency>
    <groupId>org.alfresco</groupId>
    <artifactId>alfresco-web-client</artifactId>
    <version>4.2.e</version>
    <classifier>classes</classifier>
    <scope>system</scope>
    <systemPath>D:/mvn_repo/org/alfresco/alfresco-web-client/4.2.e/alfresco-web-client-4.2.e.jar</systemPath>
</dependency>

Are there any details on where this file can be retrieved from to complete the build?

Hi!
Yes, it is due to a bug in the maven libraries for the Alfresco SDK version 4.2, I have not yet changed to the new ones.
Solution:
Specify the local path to the 'alfresco-web-client-4.2.e.jar' library in the 'pom.xml' file for the dependency of the 'alfresco-web-client' artifact.
Best regards,
Fegor

Thanks Fegor, I had tried downloading https://artifacts.alfresco.com/nexus/content/groups/public/org/alfresco/alfresco-web-client/4.2.e/alfresco-web-client-4.2.e.jar and pointing it to that but got another error e.g.:
[ERROR] Failed to execute goal on project alfviral: Could not resolve dependencies for project com.fegor.alfresco:alfviral:amp:1.3.4-SNAPSHOT: Could not find artifact org.alfresco:alfresco-web-client:jar:classes:4.2.e at specified path /home/peterg/Downloads/alfresco-web-client-4.2.e.jar -> [Help 1]

Is there somewhere else to get this JAR from?

But does not already have it in your maven repository, eg. {Maven_repository} /org/alfresco/alfresco-web-client/4.2.e?
If so, assuming {maven_repository} is mvn_repo:
		<dependency>
			<groupId>org.alfresco</groupId>
			<artifactId>alfresco-web-client</artifactId>
			<version>4.2.e</version>
			<classifier>classes</classifier>
			<scope>system</scope>
			<systemPath>/home/peterg/mvn_repo/org/alfresco/alfresco-web-client/4.2.e/alfresco-web-client-4.2.e.jar</systemPath>
		</dependency>

Is a local path. This library is for deprecated interface (/alfresco), in the future I remove.

I have it working now.
Thanks for your help!


⚠ Bofrost.be has degraded performance

In 7e9f0d5, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1799 ms

Resolved: Bofrost.be performance has improved in 381216b.


Build actions around Certificates

[x] Verify the certificate
[ ] Revoke the certificate
[ ] Share the certificate

Preliminary work for Verify is complete. I seem to be hitting some weird network issues that @kimdhamilton is seeing too. So when I tap 'Verify' it just hangs and the UI forgets about it.

Share is implemented, although currently it only works with document providers (iCloud). We should circle back to this once we determine all the different avenues we want to support sharing.
Revoke is stubbed out as a *Request class, and the UI around calling it is completed. I just need to figure out how to have it spend bitcoin from the appropriate address to have the recipient effectively revoke the certificate.

Sounds good. Let me know if I can help with that

Verify and Share work currently. I'm going to file a separate issue to track getting the Revoke action to work, since it's out of scope for the October 2016 deadline.


.net 8 wasm exception on @bind-Errors attribute

Bug type
Component
Component name
EditForm
What happened?
Created a new .net 8 wasm project with Mudblazor
All components are looking fine, except when using the MudForm with binding to the bind-Errors attribute. The browser shows an error and mudblazor components are not rendered.

After removing the @bind-Errors="@errors"  it runs
Expected behavior
The should be no error :)
Reproduction link
https://try.mudblazor.com/
Reproduction steps

Create new blazor wasm project with .net 8
Follow the guide on using mudblazor
use the Mudform component with default example (https://www.mudblazor.com/components/form#simple-form-validation)
...

Relevant log output
No response
Version (bug)
6.11.1
Version (working)

What browsers are you seeing the problem on?
Firefox
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@mikes-gh can you check this?

@ScarletKuro Sure but can @Letalis82 post a github repo. The author probably already has a project and just needs to put it on github.


Saving a post : Dexie.min.js.map is missing

Trying to save a post it says :
GET https://achaabni.github.io/hubpress/scripts/Dexie.min.js.map 404 (Not Found)

Hi @achaabni !
The name of your repository is achaabni.github.io so you must set master as the default branch and then update the config.json on master.

Thanks
but it's actually on Master and my config.json on Master is updated

ok, your config is good,
Could you show me the content that you try to save?

I probably find it.
I should update the settings page to define the number of posts by page. If there is not a value the post can't be saved.
Now it's solved.
Thank you for your quick response

Hmmm if the number of posts by page is not set the default value is 10.
I think it's a cache problem, and when you have saved the settings, the config.json has been refreshed
No matter, if everything is OK now i can close this issue :smile:.

Hmmmm Cache problem  :)
Well when I save the settings without putting a value the config will be changed to postsPerPage":""
At least I can configure it manually or by administration page by setting a value.


ostree: support pre-populating var and make rootfs optional

Two small changes. See the individual commits for more details.
Split out from #371

This also needs a rebase due to the module-rework. Since they update the DESC variables, the rebase is non-trivial. Otherwise looks good!


Count - Getter/Action, Model methods & renderless data component v3.11.0

Summary
This is a replacement to #483 from @tylermmorton because there was no activity recently.
What is this about?
Feathers.js provides a fast count query by adding $limit: 0 to the query which is widely unknown. The proposed changes to Feathes-Vuex enable an easy and convenient way to count items on the server or store

Pro tip: With pagination enabled, to just get the number of available records set $limit to 0. This will only run a (fast) counting query against the database and return a page object with the total and an empty data array.`
https://docs.feathersjs.com/api/databases/querying.html#limit

How is this different from #483?
What #483 does:

adds the Model methods count and countInStore where the last one is a monkeypatch to the count-getter.
adds tests for these two methods
add docs for these two methods

What this PR does:

add count getter and count action to service plugin
add static count and countInStore methods to Models
add <FeathersVuexCount> renderless data component for a fast way to show counts in <template>
add tests for getter, action & Model-methods
add docs for getter, action, Model-methods & renderless data components with a v3.11.0 badge

But wait, there are a lot of changes in the renderless data components docs?!
As I added the third renderless data component it became difficult to remain simpleness with the existing structure:

So now the components have individual props and scope data. It's longer but much easier to read
changed the slot-scope="" on child to v-slot="" on parent since slot-scope="" is deprecated as of vue^2.6.0 https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots
<FeathersVuexGet> has params and fetchParams beside query and fetchQuery. So I added it to <FeathersVuexFind> as well. Since the mixins and the composition API only use params instead of query it felt natural to me to deprecate the query related attributes. I documented it in the docs but it's a discussable step. The reason for params is it enables more flexibility, e.g. for $populateParams
<FeathersVuexCount> only has params and no ``query` to keep the consistency with mixins and the composition API
the temps attribute for <FeathersVuexFind> also gets deprecated because it gets replaced by :params="{ query: {}, temps: true }"

The changes got more than I thought but while programming there came more and more things along the way which felt like to they need to be pulled straight.
@marshallswain if the params for <FeathersVuexFind> and the deprecations don't feel right to you, I will change it back. I would be happy to discuss these steps :)
Closes #483

@fratzinger thanks for this contribution.  I'm super grateful for this and the original idea/code contributed by @tylermmorton.  This fits perfectly into the rest of the feathers-vuex tools.

Regarding ^^^, I've actually wanted to give the docs a more clear split like that.  It's so much easier to reference the information, so thanks for all of it.  I'm merging this as it is, now.

Glad to hear this. Thanks for your quick response!
If there's anything else I can do, please feel free to ask for help. I'm happy to contribute. :)


Support for hierarchical native targets

I struggled for a while trying to figure out what I did wrong but finally realized that the plugin doesn't seem to work for the parent ios() target, and instead only works on specific iosX64 or iosArm64 targets.
Is this a limitation of how this works? For instance, are the downloaded bindings specific to a precise platform, and there is no way to download generic iOS bindings?
Currently I find it quite painful to have to copy-paste iOS related code into iosX64Main and iosArm64Main instead of just having to write it once in iosMain.
Did I miss something here? If not, is there any workaround for this?

Do you have HMPP set up in the gradle.properties file?
Which Kotlin version are you using, ans which IDE of which version are you using?

Sorry for the initial lack of information, I thought the feature was actually missing and you wouldn't need to debug.
I have the following in my gradle.properties:
kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.mpp.enableCompatibilityMetadataVariant=true

I'm using Kotlin 1.5.21, Gradle 7.1.1, and I reproduced this under IntelliJ IDEA 2021.2 and 2021.3 (very early build).
Here is my project for reference:
https://github.com/joffrey-bion/krossbow
Please let me know if there is anything I can do to help.

You miss this:
kotlin.native.enableDependencyPropagation=false

See at the bottom of this page (which is the first Google search result for "Kotlin HMPP"): https://kotlinlang.org/docs/mpp-share-on-platforms.html#use-native-libraries-in-the-hierarchical-structure

Also, I don't think you need kotlin.mpp.enableCompatibilityMetadataVariant=true.

@joffrey-bion Can you confirm it resolves your issue after performing a Gradle sync?

@LouisCAD Thanks! I confirm kotlin.native.enableDependencyPropagation=false solved the problem. I didn't Google this because I enabled hierarchical source sets long before I looked for supporting Native in this library ;)

Also, I don't think you need kotlin.mpp.enableCompatibilityMetadataVariant=true.

Why? According to the doc, if I don't put it then the lib won't be usable by users that don't have hierarchical source sets enabled:
https://kotlinlang.org/docs/migrating-multiplatform-project-to-14.html#migrate-to-the-hierarchical-project-structure

Ah, true, you can keep it then.

Closing this issue since it was a misconfiguration unrelated to the plugin itself.
If you want to add an entry in the README for other folks that might have the issue, and have an idea on where to put it exactly, and how to phrase it, feel free to send a PR.


[Bug]: we should try to truncate the username of contributor

What happened?
in contributor card name is so long then not fit in the card so we can try to fit that we have option is truncate the name so it absolutely fit in the card .

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@punyakrit ,assign me
i do my best

after creating issue you can directly make pr it takes time to open and see all issue first then assign

I understood your situation @punyakrit

Thank you :)


AAAI paper list link is not available

Hi, AAAI paper list link is not available~

Thanks for your reminder, it seems AAAI has removed their links. I will update them soon. :)


frp branch is behind master

frp branch does not have reproducibility fix.  Need to catch up with it.

maybe i should make this an option in the notebook, like "export_frp = True", then it will have extra column.  Issues are

Christine may not like the idea of having extra column in the middle which appear/disappear depending on run time option.
right now step one is a static SQL script.  I may have to modify to read option from tbl_options and conditionally run code (one giant SQL script for one task turned out to be not very good idea, i should have used sqlalchemy or something..)

This comparison view should approximate the changes i needed when frp branch was completed.
https://github.com/NCAR/finn-preprocessor/compare/142d8a683f...frp

#42 , assimilated code and also confirmed that master and frp branch generate same output.  Now frp branch is incorporated into master.  frp is still , by default, not reported. Make  export_frp variable in notebook to True if needed.

#42 , assimilated code and also confirmed that master and frp branch generate same output.  Now frp branch is incorporated into master.  frp is still , by default, not reported. Make  export_frp variable in notebook to True if needed.


⚠ Validation of Dynamic Base Attribute Names

implement attr name validation as per specklesystems/speckle-sharp#37

closed by #48


Make build runner work with Xcode 15

The build runner in .github/workflows currently fails because it can't seem to locate Xcode 15, which makes things like #Preview fail.
I've tried explicitly setting the Xcode version, using various marketplace variants, etc. but it still fails.

This is partially resolved but we do not build macOS because runner doesnt supper macOS 14 SDK and image yet...

This works now.