Feedback for “Organize Files”

Is there a way to add an icon for pages?  Happy to submit a PR if there's an easy path for this

which icons do you mean? can you attach a screenshot?

You can attach icons in _meta.jsx or tsx files in title fields starting from Nextra 3


Finish planned set of Dredd mutations in a unified way

Issues #63 and #64 represent the final mutation operators planned for the initial version of Dredd. This issue sets out a proposal for how to implement them in a unified way.
Currently we have two expression-related mutation operator classes: MutationReplaceUnaryOperator and MutationReplaceBinaryOperator.
Rather than adding new classes for the operators of issues #63 and #64, I propose we proceed as follows:

Enhance MutationReplaceUnaryOperator so that it also considers unary operator insertion (as per #63), and replacement of the whole expression with a constant (as per #64). (Aside: redundant mutations can be nicely avoided in this process: e.g. with a unary operator "!e", we don't want to have both "e" and "!!e" as replacements.)

Similarly, enhance MutationReplaceBinaryOperator in this manner.

Add one more class, MutationReplaceExpr, for mutating any clang::Expr that isn't a unary or binary operator. The constructor for this class should assert that the clang::Expr with which it is constructed is not one of these subtypes. This class should just implement unary operator insertion (as per #63) and replacement with a constant (as per #64).

In mutate visitor, the general function for visiting expressions should be overridden - I think it is VisitExpr. When it visits an expression that isn't a unary or binary operator, it should add a MutationReplaceExpr object to the set of mutations (as long as the expression has a supported result type).

@JamesLee-Jones This is the idea I mentioned today about how to do the remaining Dredd mutations in a unified way. This would be a nice coding issue for you to work on while I'm away.


🪤 Non-trapping mode for wasm-smith

Partially addresses https://github.com/bytecodealliance/wasm-tools/issues/266. I'm thinking we get this landed since taking care of any the trapping operations will be useful for fuzzing. I spent a couple hours on the SIMD instructions, and will have to circle back to that with fresh eyes at some point 😵💫
Completed:

Replace unreachables with dummy-value returns
Return dummy results for call_indirect calls
Return dummy value for out of range load operations
Drop the value from the stack for out of range store operations
Change the divisor from 0 to 1 for div and rem operations
Change the divisor to 1 for signed div and rem operations that would result in 2n-1
Handle float -> int conversion

Will trap for NaN, Infinity, and out of range values (ref)

Not completed, but punting to a later PR:

Handle table operations
Handle memory.{init,copy,fill} (ref)
Vector/SIMD Instructions (i'm not sure what to do with these)

putting this up for some initial review as I work on the todos

One thing I might recommend adding, could a fuzzer (or a runner like crates/fuzz-stats) be added to test out that there are no traps? I presume that at this moment in time it'd quickly find the todo! panics but it might be useful to have something in-tree which tests the no-trap mode and asserts that traps in fact do not come out.

I think this is also something I will push to a later PR if that's cool (likely once the simd and table instructions are handled, since that's the point when such a fuzzer will be informative).


Add tests for shortcuts.dart API examples.

This PR contributes to https://github.com/flutter/flutter/issues/130459
Description

Adds tests for examples/api/lib/widgets/shortcuts/shortcuts.0.dart
Adds tests for examples/api/lib/widgets/shortcuts/shortcuts.1.dart

Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[X] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[X] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[X] I signed the [CLA].
[X] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[X] I added new tests to check the change I am making, or this PR is [test-exempt].
[X] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[X] All existing and new tests are passing.

Hi @bleroux @TahaTesser thanks a lot for the review!

@TahaTesser thanks for the replies and examples. I updated the tests according to your feedback. Could you please take a look again?

@bleroux @TahaTesser thanks for the review!


Updating to 1708 nuget packages

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


Compute distance with one point normalized

Setting:

I have a space with only categorical variables (most of them containing integers admittedly)
ask and tell API is used with an gp optimizer

The first n_initial_points-many points are evaluated as expected. After that i get the following error:
 [ ... ]
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 333, in ask
    x = opt.ask()
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 305, in ask
    return self._ask()
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 366, in _ask
    for xi in self.Xi])
  File "/usr/local/lib/python3.6/site-packages/skopt/optimizer/optimizer.py", line 366, in <listcomp>
    for xi in self.Xi])
  File "/usr/local/lib/python3.6/site-packages/skopt/space/space.py", line 721, in distance
    distance += dim.distance(a, b)
  File "/usr/local/lib/python3.6/site-packages/skopt/space/space.py", line 492, in distance
    " the space, not {} and {}.".format(a, b))
RuntimeError: Can only compute distance for values within the space, not 1.0 and 1750.

1.0 is not a reasonable value for this parameter (and far outside the bounds of the parameter space of that variable). Seems like one dimension is normalized and the other is not.
I am aware that using categoricals is probably not the most elegant way here. But this should work, shouldn't it?
When i have mixed variable types the categoricals seem to work fine. With Integers i often have the problem that the points to be evaluted quickly focus in the extreme values of the range. Is there maybe another way to solve this?

Tried to reproduce the error with this snippet:
cat1 = space.Categorical([2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
cat2 = space.Categorical([2, 3, 4, 5, 6, 7, 8, 9, 10, 11])

opt = skopt.Optimizer([cat1, cat2])
for n in range(15):
    x = opt.ask()
    print(n, x)
    opt.tell(x, 12*n)

which leads to the following error and traceback, which is different from yours:
/srv/venv/lib/python3.5/site-packages/sklearn/gaussian_process/kernels.py in __call__(self, X, Y, eval_gradient)
    677         """
    678         if eval_gradient:
--> 679             K1, K1_gradient = self.k1(X, Y, eval_gradient=True)
    680             K2, K2_gradient = self.k2(X, Y, eval_gradient=True)
    681             return K1 + K2, np.dstack((K1_gradient, K2_gradient))

/srv/venv/lib/python3.5/site-packages/sklearn/gaussian_process/kernels.py in __call__(self, X, Y, eval_gradient)
    752         if eval_gradient:
    753             K1, K1_gradient = self.k1(X, Y, eval_gradient=True)
--> 754             K2, K2_gradient = self.k2(X, Y, eval_gradient=True)
    755             return K1 * K2, np.dstack((K1_gradient * K2[:, :, np.newaxis],
    756                                        K2_gradient * K1[:, :, np.newaxis]))

~/skopt/learning/gaussian_process/kernels.py in __call__(self, X, Y, eval_gradient)
    389             raise ValueError(
    390                 "Expected X to have %d features, got %d" %
--> 391                 (X.shape, len(length_scale)))
    392
    393         n_samples, n_dim = X.shape

TypeError: %d format: a number is required, not tuple

So there are at least two things wrong here ;) Could you post a snippet that reproduces your error?
Note: adding a third Real dimension stops the exception from occurring in my case.

I'm sorry, i should have started with the example.
from numpy import linalg

from skopt import Optimizer
from skopt.learning import GaussianProcessRegressor
from skopt.space import Categorical

space = [Categorical([1, 2, 3]), Categorical([4, 5, 6])]

opt = Optimizer(space,
                base_estimator=GaussianProcessRegressor(alpha=1e-7),
                acq_optimizer='lbfgs',
                n_initial_points=10)

for i in range(15):
    next_x = opt.ask(n_points=4)
    opt.tell(next_x, [linalg.norm(x) for x in next_x])

The key to reproducing the error is setting acq_optimizer='lbfgs'. I tried to keep the example minimal but in my own project i use n_restarts_optimizer. That's why i needed acq_optimizer set to 'lbfgs'.
Adding an additional real dimension is what i did as well :smile:  Seems to work but i cannot tell if and how it will affect the optimization.

Workaround: what happens if you use a tree based surrogate instead of a GP? I think this but has to do with our special casing of purely categorical models for GPs. Trees are more natural at handling spaces that have discontinuities in them.
@MechCoder any ideas why this happens?

One things I just remembered: if you want to use BFGS as optimiser for your acquisition function you need to be able to compute derivatives which (I think) we don't do for categorical dimensions.

Using a tree based surrogate means setting base_estimator to 'ET', 'RF' or 'GBRT', right?
This seems to work well so far :+1:. Do you have any recommendations on which tree based surrogate to use?
The fact with the derivates is really good to know. But this also means that what i am doing should not work. So i probably have built a computationally inefficient random search.
Nevertheless, this sound like i should use a tree based approach here. Thank you for your help!

In the abstract it is hard to give any advice, I'd try RF, then ET then GBRT. RFs seem to work well most of the time. GBRT let you tease out a bit more performance but probably also need more data (ask&tell pairs).

Let's keep this issue open. There are at least two things that need doing:

create sensible error message for the case of categorical space + user selected BFGS optimizer
fix the bug that my snippet provokes


Cannot start Automatic annotation, Max retries exceeded with url: /

Browser Console:
cvat-app.tsx:284 Error: Inference status for the task 396 is failed. requests.exceptions.ConnectionError: HTTPConnectionPool(host='host.docker.internal', port=32001): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77d9292160>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Docker: cvat_worker_low
requests.exceptions.ConnectionError: HTTPConnectionPool(host='host.docker.internal', port=32001): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77d9292160>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/opt/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.8/http/client.py", line 1256, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1302, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1251, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.8/http/client.py", line 1011, in _send_output
    self.send(msg)
  File "/usr/lib/python3.8/http/client.py", line 951, in send
    self.connect()
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f77d9292160>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/opt/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/opt/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='host.docker.internal', port=32001): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77d9292160>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/opt/venv/lib/python3.8/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.8/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/home/django/cvat/apps/lambda_manager/views.py", line 638, in __call__
    LambdaJob._call_detector(function, db_task, labels, quality,
  File "/home/django/cvat/apps/lambda_manager/views.py", line 488, in _call_detector
    annotations = function.invoke(db_task, data={
  File "/home/django/cvat/apps/lambda_manager/views.py", line 265, in invoke
    response = self.gateway.invoke(self, payload)
  File "/home/django/cvat/apps/lambda_manager/views.py", line 96, in invoke
    reply = requests.post(url, timeout=NUCLIO_TIMEOUT, json=payload)
  File "/opt/venv/lib/python3.8/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/opt/venv/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/opt/venv/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='host.docker.internal', port=32001): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f77d9292160>: Failed to establish a new connection: [Errno -2] Name or service not known'))

Steps to Reproduce (for bugs)

problems with NAT in previous version: sudo iptables -t nat -I PREROUTING 1 -d <IP_ADDRESS> -j DNAT --to <IP_ADDRESS> fix
Automatic Annotation works.
checkout newest version on develop
start Automatic Annotation on nuclio
Error: Fetching inference status for the task xyz

Your Environment

Git hash commit (git log -1): commit 4167a4e40c8cca2adcb9ebfcd40d859bfcebc5d9 (HEAD -> develop, origin/develop, origin/HEAD)
Docker version : 20.10.17
Operating System and version (e.g. Linux, Windows, MacOS):

Linux  5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.5 LTS
Release:	20.04
Codename:	focal

@azhavoro
Also get this error:
Fetching inference status for the [task 60
Error: Inference status for the task 60 is failed. requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://host.docker.internal:49371/

Ooh, this my code error, my model return a error value to function handler, sorry.
  cvat_worker_low:
    extra_hosts:
      - "host.docker.internal:host-gateway"

This work for me. Thx.

Ooh, this my code error, my model return a error value to function handler, sorry.
  cvat_worker_low:
    extra_hosts:
      - "host.docker.internal:host-gateway"

This work for me. Thx.

hi,where to modify this file? it's in the container of 'cvat_worker_low' or other? but it's likely that the fiels of  the  container will be restored when reboot the container

@MikoyChinese I have the same error logs

@MrRe0 You can create a new docker compose file as override such as docker-compose.override.yml, then add some code like this:
version: '3.3'

services:
  cvat_worker_low:
    extra_hosts:
      - "host.docker.internal:host-gateway"

then run this:
docker compose -f docker-compose.yml \
    -f components/serverless/docker-compose.serverless.yml \
    -f docker-compose.override.yml up -d

Finally, you need to clean your browser cookies to visit your host.

@MikoyChinese yes.it works,thanks a lot, but it now produced another problem, it's that other computers   in  a local network can't visit the web "your-ip-address:8080" even though I set the "export CVAT_HOST=your-ip-address

@MikoyChinese thanks a lot, now it works.

  cvat_worker_low:
    extra_hosts:
      - "host.docker.internal:host-gateway"

it's working for me, Thank you :)

Ooh, this my code error, my model return a error value to function handler, sorry.
  cvat_worker_low:
    extra_hosts:
      - "host.docker.internal:host-gateway"

This work for me. Thx.

i have same error with you :

Tracker initialization error
Request failed with status code 500. "500 Server Error: Internal Server Error for url: http://host.docker.internal:32769/".
But add extra_hosts to cvat_worker_low not work for me. Please help.


Center Example A?

I am struggeling to center Example A?
Any tips for me?

Hey Marcel,
It's more of a css issue than anything else.
Try:
.rating-a .br-widget {
  margin: auto;
  width: 220px;
  ...
}


Initial Commit

Initial Commit for course material.

Excellent work! I see you even answered stretch goals!


Code block responsive

Describe your changes

CSS changes
Component code change

to make the code block responsive
Screenshots - If Any (Optional)
Mobile view:

Desktop View

Link to issue

Closes #282
Checklist before requesting a review

[X] I have performed a self-review of my code.
[X] Followed the repository's Contributing Guidelines.
[X] I ran the app and tested it locally to verify that it works as expected.
[X] I have checked my code with an automatic accessibility tool such as Axe Dev Tools or Wave
and it shows no errors.

Additional Information (Optional)
Any additional information that you want to give us.

Hello @Neha, thanks for raising a pull request in this project. The maintainers of this project are volunteers so please be understanding if it takes time before you get a response. We still appreciate your help with creating pull requests!

Hello @EmmaDawsonDev I have addressed all the comments. Thanks

668px - 799p

Thank you @EmmaDawsonDev
Is there a list of breakpoints we need to follow? Is yes, could you please share?
I would prefer to keep mobile first and keep the breakpoints only for the tablets, and desktops.

668px - 799p

Thank you @EmmaDawsonDev
Is there a list of breakpoints we need to follow? Is yes, could you please share?
I would prefer to keep mobile first and keep the breakpoints only for the tablets, and desktops.

I tend not to go by specific break points, but add them in only when I see something breaks. I think the only major one to be aware of is that the navigation, which flips from mobile navigation to desktop layout at 800px and over.

668px - 799p

Thank you @EmmaDawsonDev
Is there a list of breakpoints we need to follow? Is yes, could you please share?
I would prefer to keep mobile first and keep the breakpoints only for the tablets, and desktops.

I tend not to go by specific break points, but add them in only when I see something breaks. I think the only major one to be aware of is that the navigation, which flips from mobile navigation to desktop layout at 800px and over.

Changes done. Please check. Thanks

Hi Neha,
I'm still seeing that it breaks on certain screen sizes. I had a bit of a play around with some of the CSS you'd added. Try this and see if that helps:
.CodeBlockContainer {
	position: relative;
	width: 90vw;
	max-width: calc(1200px - 15rem);
}

.CodeBlock {
	overflow-x: auto;
}

@media only screen and (min-width: 800px) {
	.CodeBlockContainer {
		width: 65vw;
	}
}

Hi Neha,
I'm still seeing that it breaks on certain screen sizes. I had a bit of a play around with some of the CSS you'd added. Try this and see if that helps:
.CodeBlockContainer {
	position: relative;
	width: 90vw;
	max-width: calc(1200px - 15rem);
}

.CodeBlock {
	overflow-x: auto;
}

@media only screen and (min-width: 800px) {
	.CodeBlockContainer {
		width: 65vw;
	}
}

oh no!! Apologies. I had recorded a demo of all the breakpoints I tested and it was working fine ( I am not able to upload the recording here due to a size issue). However, I will just go ahead and implement the solution you suggested.
Thanks :)

fixed. please check


CI: Node.js 12 actions are deprecated.

Expected Behavior
No warnings.
Observed Behavior
fossa-scan
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: fossas/fossa-action

Validation
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: gradle/wrapper-validation-action

Steps to Reproduce
Run CI workflows. Specifically

[x] FOSSA License Scan

Example: https://github.com/detekt/detekt/actions/runs/3283964775
Fixed in https://github.com/fossas/fossa-action/pull/19, 13 April 2022
Released in 1.2.0
Tag v1 is updated: https://github.com/fossas/fossa-action/issues/20
Fixed automatically in https://github.com/detekt/detekt/pull/5455

[x] Validate Gradle Wrapper

Example: https://github.com/detekt/detekt/actions/runs/3283964768
Fixed in https://github.com/gradle/wrapper-validation-action/pull/53, 23 December 2021
Request tracked in https://github.com/gradle/wrapper-validation-action/issues/66
Released in 1.0.5
Tag v1 is updated: https://github.com/gradle/wrapper-validation-action/issues/66#issuecomment-1289438617
Fixed automatically in https://github.com/detekt/detekt/pull/5472

Context
For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Similar to https://github.com/detekt/detekt/issues/5432

This is done as soon as #5472 is merged.


add yarn/npm command for running slither locally

Purpose for this PR
add yarn/npm command for running slither locally

fair enough!


IDE complains that .json() takes no arguments.

Is this an issue with express definitions?

Hi, is that VS code?


Mute Audio Default Setting

Persistent setting to start video recordings muted or with audio

In the current code, you can now start a recording muted with PendingRecording.withAudioEnabled(initialMuted = true). Maybe you can add that to this PR?
https://developer.android.com/reference/androidx/camera/video/PendingRecording#withAudioEnabled(kotlin.Boolean)


WIP: Bitmap Refactor

We'll need to rework the integration / unit tests for this since that no longer compiles (and never worked for me on macOS anyways).

Note to self: Rename Bitmap to Bitset to match the C++ stdlib naming.


Development easyQuake

I added some modifications to easyQuake.py to include new functions for computing local and mblg magnitudes. Also, I created a function that merges all the picks into a single file to study the evolution of the detection.
There are some minor modifications in mseed_predictor.py for allowing to change between the "original" and the "conservative" versions of the EQTransformer model. Both .h5 files were taken from the EQTransformer GitHub repository, and are supposed to be the latest version.
Finally, the readme.md file includes some indications for installing this software on workstations with different versions of CUDA.

Why did you change the for both models here? Is that based on what worked best for you or based on original EQT documentation for original model?

It's based on comments written by Mousavi on EQT repository:

Original model (the one in the paper) has been optimized to minimize the false negative rate (maximize the number of detected events). This is a good choice when high false positive rates is not an issue in your application. For instance, in event location workfolow most of the false positives will automatically be removed during the association, location, and - especially - relocation procedure. You can use the original model with higher threshold values (~ 0.3 for P and S and 0.5 for detection).
Conservative Model, on the other hand, has been optimized to minimize the false positive rate (maximum number of valid detections). This model is useful when your application can not tolerate a high false positive rate. For example, in travel time tomography or using the detected events by EqT as the templates for template matching. You should use this model with a much lower threshold levels (0.03 for P and S).

For the conservative model, I set slightly different values for the thresholds (0.05 instead of 0.03 for P, S, and 0.2 instead of 0.3 for detection), but they work well with my data. I also tested what results could I get by changing the overlapping to 0.6 (Mousavi recommends 0.9 here: https://github.com/smousavi05/EQTransformer/issues/128, although it seemed too much for me), but the original model showed a poor performance. There were too many false positives when I ran the association with 3 stations*.
*I cared only for the earthquake detection and epicentral location, so 3 stations were OK to test every model. Later, I run a new association with 4 stations with fewer detections for every model.


Profile apk generated by flutter run --profile on emulator, fails to install on physical device

Steps to Reproduce

Create new flutter app
Run it on android simulator with additional arguments --profile in run configurations from android studio
find the apk under folder /build/app/outputs/flutter-apk/app-profile.apk
install that manualy on  samsung device running on android 8
i got following result.

	|

Logs

[✓] Flutter (Channel stable, 2.0.5, on macOS 11.0.1 20B29 darwin-x64, locale en-GB)
    • Flutter version 2.0.5 at /Users/userA/Library/Android/flutter
    • Framework revision adc687823a (12 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/userA/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • 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 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93

• No issues found!

Hi @mehtahardikr
Thanks for filing the issue.
When I run profile build for emulator then load the APK on a physical, it crashes (same as you) on Oneplus 8.
However do the same for physical device only, flutter run --profile -v on one plus 8, then copy profile apk, it installs successfuly
My guess is it is building APK specific to architecture, hence it's not compatible if you switch to a physical device from an emulator. This makes me think it's not a bug.
Can you please explain why you need to load APK generated from flutter run --profile from emulator to physical device?

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.0.5 at C:\Users\Taha\Code\flutter_stable
    • Framework revision adc687823a (12 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • 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 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • 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

[✓] VS Code (version 1.55.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • IN2011 (mobile)                       • c9d8ee0c      • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64    • Android 10 (API 29) (emulator)
    • Windows (desktop)                     • windows       • windows-x64    • Microsoft Windows [Version
      10.0.19042.928]
    • Chrome (web)                          • chrome        • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)                            • edge          • web-javascript • Microsoft Edge 90.0.818.46

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.3.0-1.0.pre.145, on Microsoft Windows [Version 10.0.19042.928], locale en-US)
    • Flutter version 2.3.0-1.0.pre.145 at C:\Users\Taha\Code\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1ad5cd9ee (5 hours ago), 2021-04-28 06:14:02 -0400
    • Engine revision adf2e24993
    • Dart version 2.14.0 (build 2.14.0-48.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\Taha\Code\SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = C:\Users\Taha\Code\SDK
    • Java binary at: C:\Users\Taha\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

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

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.9.4)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31205.134
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\Taha\Code\android-studio
    • 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 1.8.0_242-release-1644-b01)

[✓] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.3.3
    • 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

[✓] VS Code (version 1.55.2)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • IN2011 (mobile)                       • c9d8ee0c      • android-arm64  • Android 11 (API 30)
    • Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64    • Android 10 (API 29) (emulator)
    • Windows (desktop)                     • windows       • windows-x64    • Microsoft Windows [Version
      10.0.19042.928]
    • Chrome (web)                          • chrome        • web-javascript • Google Chrome 90.0.4430.93
    • Edge (web)                            • edge          • web-javascript • Microsoft Edge 90.0.818.46

! Doctor found issues in 1 category.

You should be able to see why it is failing by looking at the logcat.  This could explain why it isn't working on your emulator.

@TahaTesser  : I need to distribute apk for test via testfairy and that build is compact in size. you are saying that i have to generate fat apk which is big in size as expected. If one architracture has 20 mb in size then why fat apk has 35 m.b. in size.
it its generates fat apk then why we use it as native already provide compact size apk which is good to distribute as well. even .ipa files are ~19 to ~20 mb in size while generate for all ios devices.

You need to generate an APK that matches the target platform and architecture you are distributing for. Closing because this is not a bug

@jonahwilliams  : Please i am targetting all devices android 6 + so want me to generate multiple apks for all devices ?

@mehtahardikr
Please use flutter build apk --split-per-abi  with profile or release and generate APKs that matches target platform and architecture

@TahaTesser  : so there is no other option for generate small size apk ? its generates  almost double size of apk.


Scrollable output scroll bar should use default cursor

Testing #177719
Currently shows text cursor when hovering the scroll bar:

were you on the latest insiders? that should have been fixed in the most recent build from https://github.com/microsoft/vscode/issues/177724

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

This is fixed, but there are several pixels to the left now that have the opposite problem that select instead of scroll:

gifcap isn't great at showing the cursor but it gets the idea across.


feat: My Collection Visual Profile

The type of this PR is: Feature

This PR resolves CX-2017
Description
Paired with @araujobarret
This PR adds a function for uploading profile pictures and bio to the user account and updating it.

My Profile
Edit Profile

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests/stories for my changes, or my changes don't require testing/stories, or I have included a link to a separate Jira ticket covering the tests.
[x] I have added a feature flag, or my changes don't require a feature flag. (How do I add one?)
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a changelog entry below or my changes do not require one.

To the reviewers 👀

[x] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

Upload and update profile with photo, name and bio. - Sam, Carlos

iOS user-facing changes

Android user-facing changes

Dev changes

🛳🛳🛳


New version: Erlang.ErlangOTP version 26.2

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @vedantmgoyal2009,

Current manifest version 26.1.1 has 3 parameters, which is greater than this PR's version number 26.2's 2 parameters.

Is this intentional?
(Automated canned response from PR Watcher build 485.)


Preview

👷 Deploy Preview for timely-brigadeiros-dd9fc4 processing.

Name
Link

🔨 Latest commit
193c7c2324793efc79e1131e0d44488bd56d60ac

🔍 Latest deploy log
https://app.netlify.com/sites/timely-brigadeiros-dd9fc4/deploys/64d23d8a511fc3000705bcc5


issue 266 routing to /create

What does this PR do?
redirects to /create after signin
What issues does this PR fix or reference?
#266

Looks good but this seems to always redirect to /create after sign in. What if someone signed in while on the home page or  another page (we wouldn't want to just redirect them to /create.
I think we'd only want to redirect to /create after sign in if it is a non-logged in user trying to access /create to start with.

Thanks for the clarification @Winston-Hsiao , I apologize that I misunderstood the issue.
I observed whenever I log in from any page, I got redirected to "/" route, this might be because of this navigate("/"); statement in useAuth hook.

@sarthakmishraa Hey yeah that's the ideal default navigation, but it would still be nice to route users to login if the source/page they were on during signup was /create. A solution might involve keeping track of what url/path the user was on before entering the login/signup page. Maybe can try using react-router's history or navigate backwards functionality to return the user to the previous page they were on prior to login/sign up flow?
https://stackoverflow.com/questions/65948671/how-to-go-back-to-previous-route-in-react-router-dom-v6
I would play around with the different edge cases!

Hi @Winston-Hsiao , thanks for your response.
I went over that stack overflow discussion. please let me know if I am thinking in the right direction.
If a non logged in user is on "/", "/browse", or upvote/downvote and goes to "/login", we can use navigate(-1) to redirect to prev route ("/") after logging in successfully,
but if a non logged in user goes to "/create", a login/signup card appears, so we cannot use navigate(-1) on it as i will take user to "/" from "/create".
so I wrote a conditional logic to navigate user one page backward if they're on any route except "/create"
should I push these changes to my fork?


⚠ AnimeBytes has degraded performance

In c45d48e, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 598
Response time: 5995 ms

Resolved: AnimeBytes performance has improved in 1c3a22c.


"Target element not found!" false positives

Let's say you have a stream response that does two things:

Appends a new div.
Does something with that div, eg. scrolls it into view

You'll get a warning like this:

The error is incorrect because the first stream adds the element, so when the second stream runs the element does exist.
I think that's happening because consoleLogTurboStream runs before any of the streams are rendered, but I don't really know how to debug extensions in devtools so can't confirm.

ps. this extension slaps 👑 💯 😻

Hi @ghiculescu,

this extension slaps

thank you very much!! ☺
Thats a bug that I havn't seen before but totally makes sense when I think about it.

I think that's happening because consoleLogTurboStream runs before any of the streams are rendered

100% correct. We use the turbo:before-stream-render event to trigger the console logs. At this point the streams are not rendered yet and the HTML isn't affected by the Turbo Streams.
Not quite sure how to fix this yet but I will look into it.
I see these potential solutions:

Trigger the console logs after the streams are rendered. This would require some sort of turbo:after-stream-render event which doesn't exist yet.
Search not only in the HTML for the target but also in the receiving streams.
Add a delay to the console logs. This would be a quick fix but not a very elegant one.

I don't really like 2. and 3. to be honest.
I'll think about it more and see if a better solution comes up.
If someone has a an idea, feel free to share it

You could try adding an after-render event here https://github.com/hotwired/turbo/blob/f88bfe45ed44abb6ea9140a8ba138dfe68aa2730/src/elements/stream_element.js#L49. That would be the best solution!
Other than that I think option 3 makes the most sense, presumably if you setTimout with a 1ms delay then then stream element would render first, then your code would run?


Add an Authentication Provider

Right now the default's Laravel authentication is overwritten, and that's not clean.
We need to implement an Enso Auth Provider.

As we need AD login I was looking to override attemptLogin in the app's loginController; however it seems that the vendor controller is actually overriding the app's controller? Or am I doing something wrong? 😇

You need to overwrite also the auth routes. Add you own routes in api.php.

Thanks 🙇
I'm amazed at how simple things can be with Laravel... but you have to know where to look
for anyone stumbling upon this, in routes/api.php add the following (copied from vendor/laravel-enso/core/src/routes/api.php):

Route::namespace('Auth')
    ->middleware('web')
    ->group(function () {
        Route::post('login', 'LoginController@login')
            ->name('login');
        Route::post('logout', 'LoginController@logout')
            ->name('logout');
        Route::post('password/email', 'ForgotPasswordController@sendResetLinkEmail')
            ->name('password.email');
        Route::post('password/reset', 'ResetPasswordController@reset')
            ->name('password.reset');

I'm amazed at how simple things can be with Laravel... but you have to know where to look

I second that

Resolved this with the new auth system that can be overwritten.


Mussel validation enhancement & refinement - Second sweep

Describe the task
Iterate through the required fields for RJSF to actually enforce validation
Purpose
If fields aren't validated inspection officers can mistakenly/purposefully write bad inspections. Enforcing validation improves good data
Acceptance Criteria

[ ] Improved required fields validation
[x] Clean up missing/forgotten fields

Additional context

Second sweep of Mussel Inspection work

To be reviewed by MW


Improve typing of Workforce.map and ultimap

These changes aim to improve the typing of both Workforce.map and ultimap.
I've added 6(!) @overloads per function, to cover all the use cases.
While it would have been far more sensible to have the typing logic a part of Mapping, I wasn't able to to solve a major problem: Even if Mapping deduces the type of its __iter__ automatically based on the arguments to its __init__, when it is then wrapped by the method of Workforce, I couldn't get the typing be passed along without repeating all the logic again. You can't specify a type as "whatever overload that was chosen by Mapping"...
So for now I gave up, and the typing logic is only present in Workforce. The Mapping is specifically "told" what its __iter__ type is from the outside. Since it's an inward-facing class, I believe it's OK. The outward-facing interface is what's important.
In addition, I've also added many smaller typing improvements, so that when the package is checked using mypy, it almost passes. There are still minor "errors", but I don't think they're important.

Wow, nice one. This looks like a lot of work... I hope the syntax matures into something more compact in the next versions of Python. LGTM.


REQUEST: New membership for yittg

GitHub Username
@yittg
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/dapr/community/blob/master/community-membership.md)
[x] I have enabled 2FA on my GitHub account. See https://github.com/settings/security
[x] I have subscribed to the Dapr community Gitter channel
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more Dapr repositories

List of contributions to the Dapr project

PRs reviewed / authored
Issues responded to

/cc @yaron2

I support this request.

Your membership has been approved, looks out for a GitHub invite to join the members team on the Dapr org.

@yaron2 thanks


Add support for specifying a default variant (incomplete)

Took a crack at this but can't seem to get the parsing right, running cargo test produces the following error:
error: expected expression, found `,`
 --> examples/web_event.rs:5:1
  |
5 | #[typetag::serde(tag = "type")]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected expression
  |
  = note: this error originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `typetag` due to previous error

I'm at a bit of a loss since TraitArgs::parse() is returning before reaching any of the code I actually changed. If you're down to provide any guidance that'd be great, otherwise I might be too out of my depth to get this working.

Got it working except for the bincode test, not sure if setting a default variant is just incompatible with non-self-describing formats or if there's a problem with my implementation
---- adjacent_with_default::test_bincode_round_trip_default_variant stdout ----
thread 'adjacent_with_default::test_bincode_round_trip_default_variant' panicked at 'called `Result::unwrap()` on an `Err` value: Io(Kind(UnexpectedEof))', tests/test.rs:311:73

Updated this to always write the variant name when serializing, even for the default variant. This is necessary to support non-self describing formats (see https://github.com/dtolnay/typetag/issues/3#issuecomment-1466952555).
Tests are passing, lmk if I should add more cases or if I should add anything to the docs (and if so where).


OCPBUGS-30146: Serialize scheme construction to prevent panic

Within CI, seen error:
"fatal error: concurrent map read and map write"
Before this commit, this is seen when components
were reading the scheme maps and later we attempted to write to them when starting the main controller.
Scheme construct should be performed when an app begins before anything starts utilizing them.
fatal error: concurrent map read and map write

goroutine 31 [running]:
k8s.io/apimachinery/pkg/runtime.(*Scheme).New(0xc0002e81c0, {{0x0, 0x0}, {0xc000bd17c6, 0x2}, {0xc000bd17c0, 0x6}})
	/go/src/github.com/openshift/cloud-network-config-controller/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go:296 +0x67

goroutine 82 [runnable]:
k8s.io/apimachinery/pkg/runtime.(*Scheme).AddKnownTypeWithName(0xc0002e81c0, {{0x2ede1b9, 0x1a}, {0x2eb1bb8, 0x2}, {0x2ebb205, 0xa}}, {0x3388ab8?, 0xc00062e540})
	/go/src/github.com/openshift/cloud-network-config-controller/vendor/k8s.io/apimachinery/pkg/runtime/scheme.go:176 +0x2b2

See CI run [1] for full stack traces:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-openshift-hypershift-release-4.15-periodics-e2e-aws-ovn/1763616334094012416/artifacts/e2e-aws-ovn/run-e2e/artifacts/TestUpgradeControlPlane/namespaces/e2e-clusters-5tmhk-example-j4msj/core/pods/logs/cloud-network-config-controller-9689f46c8-w8h64-controller-previous.log
/hold until tested on cluster.

/test e2e-gcp-ovn
cluster init failure - should be unrelated to this PR

/unhold


Tag Minor Release

Hi there,
Could you tag a minor release with the 'name' field fix? Or just the latest master-commit? The latest tagged version is currently breaking builds in CI pipelines, unfortunately.
/ Yassin

Hi @ymakhloufi, apologies for the delayed response—I've been on a break (it's summer in my part of the world).
I'll endeavour to prep and tag a release shortly, but in the meantime, there is a branch alias, so you can install master with 1.1.x-dev.

Hi @ymakhloufi, apologies for the delayed response—I've been on a break (it's summer in my part of the world).
I'll endeavour to prep and tag a release shortly, but in the meantime, there is a branch alias, so you can install master with 1.1.x-dev.

Hi @j13k ,
Thanks, that would be great. Since you merged the PR already into master, we currently are referencing a hard-coded commit on it, which works fine-ish. But it would of course be nice to have a tagged version, so we're gonna wait until there's a version 1.1.4

Hi @ymakhloufi,
Version 1.1.4 has been released.
Apologies fo the delay—I wanted to squeeze some more work into this release, but finally figured it was worth releasing as is.
Hope it helps—let me know if any problems come up.


feat: dependency installer in root environments

Description
The install script could not be ran in environments without sudo, e.g. docker container build stages or root shells.
This pr adds minor changes to the install dependency script, to allow running in those environments (assuming that the executing user has the necessary requirements).
How Has This Been Tested?
Added GH action to test these changes against ubuntu 20.04, 22.04 and 24.04, to validate that these changes work there, Ubuntu 18.04 has not been tested.
Is this pull request on the correct branch?
probably it is pointing to the wrong branch, please let me know which one you prefer.
This may also be interesting for past releases, but I personally do not need it there, if you wish I can  make prs for the other changes there as well.

Thank you for the improvements.
Use the development branch, as that is the branch for future stable releases.
I would prefer the 2 files as separate merge requests.
I have no issues with the changes concerning the dependency-manager itself and would merge that on right away.
As of now I have no real experience with github workflows, so I would like to test them for a bit before merging.
Once merged they would have to be actively maintained, which makes me somewhat hesitant.
Do they always run automatically or do they have to be manually triggered and thus can also just be merged?
For some context:
We automatically verify build procedures for tiscamera master/development once a week on an internal jenkins instance compiling for Ubuntu18, 20, 22, 24 for armhf, aarch64 and amd64. So there are test, just not any that are visible to github.

Thank you for the improvements. Use the development branch, as that is the branch for future stable releases.
I would prefer the 2 files as separate merge requests. I have no issues with the changes concerning the dependency-manager itself and would merge that on right away.

I will change the root branch to develop.

As of now I have no real experience with github workflows, so I would like to test them for a bit before merging. Once merged they would have to be actively maintained, which makes me somewhat hesitant. Do they always run automatically or do they have to be manually triggered and thus can also just be merged?

The workflows would only start to trigger once they are on a branch that requires them to be triggered, creating a catch 22 in some way.
on:
  pull_request:
    branches: [ "master", "development", "release/*" ]
  merge_group:
  workflow_dispatch:

The current config would run them whenever a pr is requested to these target branches ( release, master, development), if that branch already has this file on it, so in reality it would only apply
for future releases, master and development.
merge_group is in there if you want to use that feature at some point, I had it in my template workflow, and it does not do any harm if you do not have merge queus enabled for this repository.
workflow_dispatch means that the workflow can be triggered manually, by a person with the correct access rights.
As far as I understand you commenting out the automatic triggers and therefore allowing you to run these workflows manually for evaluation, would be preferable to splitting the branch, right ?

For some context: We automatically verify build procedures for tiscamera master/development once a week on an internal jenkins instance compiling for Ubuntu18, 20, 22, 24 for armhf, aarch64 and amd64. So there are test, just not any that are visible to github.

Thanks for the clarification, a timed trigger could also be added to GH workflows, then GH pays for the compute :)

superseeded by #563


add dtypes to blend

Small change so operations using blend don't have to cast their results to tf.uint8 before using it. (#1452)

@gabrieldemarmiesse everything handled in tf.float32 now and it's also the return dtype. Any thoughts?


Add a connector for Tidido

http://tidido.com/US
Sure it's obscure, but it actually has a lot of music, some of which isn't actually available on Spotify or other streaming sites.

:+1:  done thanks to @alexesprit  :smile:


add information about supported react-native version

As mentioned in this issue: https://github.com/react-navigation/react-navigation.github.io/issues/335

same capitalization re: React native -> React Native in all titles :)

@brentvatne done :+1:


Add abstractions for streaming datatypes

We need to provide common ground for streaming datatypes, considering following implementations:
https://fs2.io/
https://zio.dev/docs/datatypes/datatypes_stream
https://monix.io/docs/3x/reactive/observable.html
https://github.com/travisbrown/iteratee

We can say initial solution was found in #302


Vive Pro Defaults OpenVr Generic Device causing one hand operation errors due to missing Spatial Grip Input Action

https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4470
Adds the Input Action assignment to support Vive Pro controllers

For this change, I applied the fix that was mentioned on slack (and linked in the issue).
Unfortunately I don't have access to Vive Pro hardware - @JShull can you confirm that this addresses the issue that you hit?

The Vive Pro defaults to the generic openVR controller but the spatial grip reference wasn't on the generic controller mapping so it throws an error the first time you go to one hand use the controller - not sure why it's looking for the spatial grip when I am using the trigger but it does! When I added in the spatial grip to the generic openVR controller mapping the error went away.

Confirmed working with Vive Pro Hardware, the error no longer comes up and one hand pick up and move works as it should.

/azp run mrtk_pr

/azp run

@wiwei , is this still alive?

/azp run mrtk_pr

Yep, sorry for the delay here. I got pulled into doing a bunch of other random work, but finally got back to this.

Since you have made changes to the generic controller, have you confirmed this has no knock on impacts to other controllers?  I would have expected Vive Wand controller updates in the ViveWand controller class
https://github.com/microsoft/MixedRealityToolkit-Unity/blob/mrtk_release/Assets/MixedRealityToolkit.Providers/OpenVR/ViveWandController.cs
Likely if the Vive Pro is reporting it's controllers differently to the base vive, in which case, it should have it's own definition anyway,

/azp run mrtk_pr

Since you have made changes to the generic controller, have you confirmed this has no knock on impacts to other controllers? I would have expected Vive Wand controller updates in the ViveWand controller class

Yeah, it's possible this mapping is missing from other OpenVR controllers as well (it does appear to be missing from the Vive Wand class). We should probably log this or go through in a subsequent PR to ensure feature parity across classes that support them.

Likely if the Vive Pro is reporting it's controllers differently to the base vive, in which case, it should have it's own definition anyway

That makes sense, but this PR is a good first step in that direction by at least unblocking devs from using that controller with the Toolkit.

@wiwei , are you awaiting reviews or have pending changes to implement?

Thanks for the reminder :)


Add argument for stratifying calculations using KS or INPFC stratum levels

This is a point referenced in PR #176. It may be worth including an argument in stratified_transect_statistic(...) that flags the use of either INPFC or KS for the stratum-level grouped calculations.
Originally posted by @leewujung in https://github.com/uw-echospace/EchoPro/pull/176#pullrequestreview-1877781915

This is related to discussions here: https://github.com/OSOceanAcoustics/echopop/issues/38#issuecomment-2052371255

A stratum argument has been added in PR #241 to the three current Survey-class analysis methods (transect_analysis, stratified_analysis, and kriging_analysis) that enables either ks or inpfc. However, the full implementation using ks is not yet included for stratified_analysis(...), although it is unlikely that ks makes sense as a stratum option for the Jolly and Hampton (1990) algorithm. I will confirm this by reading through the EchoPro implementation once more -- if it is the case that ks is not applicable to stratified_analysis(...), then this issue can be closed once #241 is merged.


close all servers of agent properly

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@ramaraochavali: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
e489f2d64bfadc637d7ce0d286b0b50234a5a79a
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
e489f2d64bfadc637d7ce0d286b0b50234a5a79a
link
true
/test unit-tests-arm64

lint_istio
e489f2d64bfadc637d7ce0d286b0b50234a5a79a
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ramaraochavali: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio
e489f2d64bfadc637d7ce0d286b0b50234a5a79a
link
true
/test unit-tests-arm64

lint_istio
e489f2d64bfadc637d7ce0d286b0b50234a5a79a
link
true
/test lint

unit-tests_istio
e489f2d64bfadc637d7ce0d286b0b50234a5a79a
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

would be useful to have more context on the user facing impacts?

There is no user facing impact. I was debugging draining behaviour and stumbled on this.


Broken gyro() fn in release mode

I'm using this crate in a project and I had problems reading only the gyro data.
I used the example in the f3 crate to examine the problem. I changed the example that only the gyro is read and run the example.
If I'm compiling the program in debug mode the data is read and the breakpoint for examin the data is reached. If I use the release mode the program stucks in the read function of the spi of the stm32f30x_hal crate. This happens only with gyro() and not with temp() or all().
All the functions are using the same logic. Only the specific call to the generic function read_registers() use a different array length.
Perhaps the optimization in release mode breaks the code in specific situations.

I was having the same issue and found out that I needed to change the optimization level in Cargo.toml:
[profile.release]
# default release opt-level is 3
# valid (working) values are 1, 2, and 'z'
# 's' may also be valid, but it broke a different part of my program
opt-level = 'z'

Should be fixed with the latest crate release. No need to change default optimization level for release build.  Please re/open a new issue if you're still encountering problems, thanks!


Using actiontext with rails_admin?

I am running on rails 6, but I'd like to take advantage of the integration of actiontext. I went through the documentation to install:
https://edgeguides.rubyonrails.org/action_text_overview.html
However, I've tried to add the following in the model:
has_rich_text :body

  rails_admin do
    edit do
      field :body, :rich_text_area
      field :prompt_id
    end
  end

but I get "Unsupported field datatype: rich_text_area".
Has anyone successfully integrated actiontext with rails_admin?

Yes, it's working out pretty fine. If you followed that rails guide you linked you will have a model like this one:
class Post < ApplicationRecord
  has_rich_text :body
end

Following the wiki entry of rails_admin you come out with something like:
class Post < ApplicationRecord
  has_rich_text :body

  rails_admin do
    field :body do
      js_location { bindings[:view].asset_pack_path 'actiontext.js' }
    end
  end
end

To get the js file loaded you need to separate the following lines from the application.js and put them into the file mentioned above:
require("trix")
require("@rails/actiontext")

After you restarted your server it should work.


I can't compile this app.

I get error information as below:
Error:A problem occurred configuring root project 'Kitchensink-Android-master'.

Could not find library.aar (com.viewpagerindicator:library:2.4.1).
Searched in the following locations:
https://jcenter.bintray.com/com/viewpagerindicator/library/2.4.1/library-2.4.1.aar

Solved:
Refer to:http://stackoverflow.com/questions/28791991/viewpagerindicator-errorartifact-com-viewpagerindicatorlibrary2-4-1library
Remove:
maven { url "http://dl.bintray.com/populov/maven" }
and instead of
compile 'com.viewpagerindicator:library:2.4.1@aar'
add:
compile 'com.mcxiaoke.viewpagerindicator:library:2.4.1@aar'
Clean and sync gradle.


How can i get cucumber scenario variables in title?

How can i get cucumber scenario variables in title?
I am having issue with my scenario name. I am expecting this should generate scenario name as "Residency as under 1 year" ..... But actual it's generating as
"ResidencyasUKResidiency("Under 1 year","Supplied")"
Can some one please help me to solve this
Scenario Outline: Residency as
Given I have built a policy with the following details
Then I verify UK Residence Parameter ''
Examples:
| UkResidency | UkResidence |
| Under 1 Year | Supplied |

This doesn't appear to be an issue any longer as of #68


Installer needed for alpha/beta testers.

Heya!  I had one of my friends ask for help to get your program working on his machine.  He's definitely not a programmer yet (just starting out learning Python) and wasn't familiar with C# and .NET.
Can you put together an installer for your next release?  I would recommend using InnoSetup. It's what I use at my day job. Free program, makes it real easy.

Hello!
SOR4Explorer is a .Net Core app, and (in theory) releases are
self-contained. That means the EXE file is actually a big package
containing all dependencies, no installer is needed and there should be no
additional system requirements. The EXE release should just work, unless
there is some bug in the program itself or some kind of incompatibility
between the machine and .Net Core. In any of those cases, an installer
wouldn't help (and I'm also not sure about .Net Core compatibility in
things like InnoSetup).
On Mon, Jun 22, 2020 at 3:46 AM STrRedWolf<EMAIL_ADDRESS>wrote:

Heya! I had one of my friends ask for help to get your program working on
his machine. He's definitely not a programmer yet (just starting out
learning Python) and wasn't familiar with C# and .NET.
Can you put together an installer for your next release? I would recommend
using InnoSetup. It's what I use at my day job. Free program, makes it real
easy.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jlcebrian/SOR4Explorer/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOABBN26WRPQHKHCC3P5BDRX2ZWJANCNFSM4OEEDOIA
.

InnoSetup bundles DLLs and files, and deploys them.  You tell it what to deploy, and it'll make an MSI for you.
That said, I didn't see any self-contained EXE's up on the Releases page, which got my friend confused.  Ended up stepping him through running it from the source ZIP. (I gotta get him up here)

The release page points to a ZIP with just a single big EXE. That EXE is
self-contained.
On Tue, Jun 23, 2020 at 3:48 PM STrRedWolf<EMAIL_ADDRESS>wrote:

InnoSetup bundles DLLs and files, and deploys them. You tell it what to
deploy, and it'll make an MSI for you.
That said, I didn't see any self-contained EXE's up on the Releases page,
which got my friend confused. Ended up stepping him through running it from
the source ZIP. (I gotta get him up here)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jlcebrian/SOR4Explorer/issues/1#issuecomment-648160807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOABBPS2WTRX4ND3DWKYATRYCXEHANCNFSM4OEEDOIA
.


How can I install third party plugins?

Hi, Strider.
I wanna install third-party plugin such as https://github.com/bitwit/strider-scheduler.
Can you give me some advice?
I'm using on strider stable version with npm install -g strider.

Since that plugin is not in the registry, you will need to install it with npm install --save strider-scheduler.
For plugins that are in the registry, go to the "Admin > Plugins" from within Strider and install from there.

@knownasilya
I solved this problem.
Thanks.


Update script to be able generate different NDK images

Checklist

[x] I've run make from the root directory to see all Dockerfiles are created successfully.
[ ] I've updated the documentation if necessary.

Motivation and Context
This PR relates to https://github.com/circleci/circleci-images/issues/341.
Shortly speaking it will be nice to have up-to-date images with latest NDK
Description

Remove code duplication on if [[ "$CIRCLE_NODE_TOTAL" -gt 1 ]]; statement
Docker file generation moved to separate functions
APIs and NDK revisions moved to global variables

Questions

Maybe it's time to turn Dockerfile-ndk.template into Dockerfile-ndk.m4?
Where and how to update documentation?

IDK why it's failed but I ready to fix it if someone will explain it

@marcomorain could you please help to understand why it fails & can I fix it by myself?

@marcomorain may I kindly ask you to assist me? My PR have no relation to containers which failed on CI. It related to android only


add 404 handling, respond with 404 if article hidden for non admins

adds handling to respond with a 404 page for invalid urls and hidden articles (for non admins)

fixes https://github.com/participedia/api/issues/616
@jesicarson @dethe @scottofletcher

can we change it to "Sorry, this page no longer exists"? that might clue people in to the fact that it was removed and not that they have the wrong URL

@jesicarson and i decided on a implementing a general 404 page so it will be used for pages that used to exist and pages that never existed, so we want to keep the copy general.


Internal script error(opcode #38) when calling set_script multiple times with classes defined in the same base file

Godot version:  v3.2.3.stable from flathub

OS/device including version: Arch linux, rolling, up to date

Issue description:

Set_script causes a godot interpreter error when called twice, switching from a class defined in the same file multiple times.
I was also unable to use set_script with preload and load but that may just be me being dumb
Steps to reproduce:

Create a file with 3 classes
Create a _process function that calls set_script inside of the first and second class
GDScript should crash
Minimal reproduction project:

SetScriptIsBorked.zip

Address sanitizer log
READ of size 8 at 0x61500006ca70 thread T0
    #0 0x1a93e8b in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_function.cpp:1129
    #1 0x18c4fb8 in GDScriptInstance::_ml_call_reversed(GDScript*, StringName const&, Variant const**, int) modules/gdscript/gdscript.cpp:1270
    #2 0x18c5264 in GDScriptInstance::call_multilevel_reversed(StringName const&, Variant const**, int) modules/gdscript/gdscript.cpp:1277
    #3 0x96d39d6 in Node::_notification(int) scene/main/node.cpp:149
    #4 0x177963b in Node::_notificationv(int, bool) scene/main/node.h:46
    #5 0x177baa6 in CanvasItem::_notificationv(int, bool) scene/2d/canvas_item.h:166
    #6 0xb1182c2 in Node2D::_notificationv(int, bool) scene/2d/node_2d.h:38
    #7 0xe9a2d91 in Object::notification(int, bool) core/object.cpp:932
    #8 0x96d5949 in Node::_propagate_ready() scene/main/node.cpp:196
    #9 0x96d51af in Node::_propagate_ready() scene/main/node.cpp:188
    #10 0x972202c in Node::_set_tree(SceneTree*) scene/main/node.cpp:2571
    #11 0x97e69b4 in SceneTree::init() scene/main/scene_tree.cpp:463
    #12 0x14d452f in OS_X11::run() platform/x11/os_x11.cpp:3350
    #13 0x1447d56 in main platform/x11/godot_x11.cpp:56
    #14 0x7fe3c49c40b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)
    #15 0x144796d in _start (/usr/bin/godots+0x144796d)

0x61500006ca70 is located 112 bytes inside of 456-byte region [0x61500006ca00,0x61500006cbc8)
freed by thread T0 here:
    #0 0x7fe3c5e891b7 in __interceptor_free (/lib/x86_64-linux-gnu/libasan.so.6+0xb01b7)
    #1 0xeed8b9c in Memory::free_static(void*, bool) core/os/memory.cpp:178
    #2 0x19117b2 in void memdelete<GDScriptFunction>(GDScriptFunction*) core/os/memory.h:119
    #3 0x18bc7b7 in GDScript::~GDScript() modules/gdscript/gdscript.cpp:988
    #4 0x1501a7c in void memdelete<Reference>(Reference*) core/os/memory.h:117
    #5 0x14f3a06 in Ref<Reference>::unref() core/reference.h:279
    #6 0x14f3bea in Ref<Reference>::ref(Ref<Reference> const&) core/reference.h:70
    #7 0x1903ed7 in Ref<Reference>::operator=(Ref<Reference> const&) core/reference.h:151
    #8 0xea6a141 in RefPtr::operator=(RefPtr const&) core/ref_ptr.cpp:41
    #9 0xe9a57cb in Object::set_script(RefPtr const&) core/object.cpp:1024
    #10 0xea0fb06 in MethodBind1<RefPtr const&>::call(Object*, Variant const**, int, Variant::CallError&) core/method_bind.gen.inc:775
    #11 0xe9a2901 in Object::call(StringName const&, Variant const**, int, Variant::CallError&) core/object.cpp:922
    #12 0xec1ee67 in Variant::call_ptr(StringName const&, Variant const**, int, Variant*, Variant::CallError&) core/variant_call.cpp:1128
    #13 0x1a93079 in GDScriptFunction::call(GDScriptInstance*, Variant const**, int, Variant::CallError&, GDScriptFunction::CallState*) modules/gdscript/gdscript_function.cpp:1088
    #14 0x18c4fb8 in GDScriptInstance::_ml_call_reversed(GDScript*, StringName const&, Variant const**, int) modules/gdscript/gdscript.cpp:1270
    #15 0x18c5264 in GDScriptInstance::call_multilevel_reversed(StringName const&, Variant const**, int) modules/gdscript/gdscript.cpp:1277
    #16 0x96d39d6 in Node::_notification(int) scene/main/node.cpp:149
    #17 0x177963b in Node::_notificationv(int, bool) scene/main/node.h:46
    #18 0x177baa6 in CanvasItem::_notificationv(int, bool) scene/2d/canvas_item.h:166
    #19 0xb1182c2 in Node2D::_notificationv(int, bool) scene/2d/node_2d.h:38
    #20 0xe9a2d91 in Object::notification(int, bool) core/object.cpp:932
    #21 0x96d5949 in Node::_propagate_ready() scene/main/node.cpp:196
    #22 0x96d51af in Node::_propagate_ready() scene/main/node.cpp:188
    #23 0x972202c in Node::_set_tree(SceneTree*) scene/main/node.cpp:2571
    #24 0x97e69b4 in SceneTree::init() scene/main/scene_tree.cpp:463
    #25 0x14d452f in OS_X11::run() platform/x11/os_x11.cpp:3350
    #26 0x1447d56 in main platform/x11/godot_x11.cpp:56
    #27 0x7fe3c49c40b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

previously allocated by thread T0 here:
    #0 0x7fe3c5e89517 in malloc (/lib/x86_64-linux-gnu/libasan.so.6+0xb0517)
    #1 0xeed7cab in Memory::alloc_static(unsigned long, bool) core/os/memory.cpp:82
    #2 0xeed7baa in operator new(unsigned long, char const*) core/os/memory.cpp:42
    #3 0x19a434e in GDScriptCompiler::_parse_function(GDScript*, GDScriptParser::ClassNode const*, GDScriptParser::FunctionNode const*, bool) modules/gdscript/gdscript_compiler.cpp:1684
    #4 0x19b19df in GDScriptCompiler::_parse_class_blocks(GDScript*, GDScriptParser::ClassNode const*, bool) modules/gdscript/gdscript_compiler.cpp:2029
    #5 0x19b5cce in GDScriptCompiler::compile(GDScriptParser const*, GDScript*, bool) modules/gdscript/gdscript_compiler.cpp:2181
    #6 0x18adf72 in GDScript::reload(bool) modules/gdscript/gdscript.cpp:605
    #7 0x18ea40f in ResourceFormatLoaderGDScript::load(String const&, String const&, Error*) modules/gdscript/gdscript.cpp:2321
    #8 0xf3928f9 in ResourceLoader::_load(String const&, String const&, String const&, bool, Error*) core/io/resource_loader.cpp:270
    #9 0xf3958c1 in ResourceLoader::load(String const&, String const&, bool, Error*) core/io/resource_loader.cpp:402
    #10 0xc57f30d in ResourceInteractiveLoaderText::poll() scene/resources/resource_format_text.cpp:433
    #11 0xf38cba6 in ResourceFormatLoader::load(String const&, String const&, Error*) core/io/resource_loader.cpp:197
    #12 0xf3928f9 in ResourceLoader::_load(String const&, String const&, String const&, bool, Error*) core/io/resource_loader.cpp:270
    #13 0xf3958c1 in ResourceLoader::load(String const&, String const&, bool, Error*) core/io/resource_loader.cpp:402
    #14 0x15d8cb1 in Main::start() main/main.cpp:1942
    #15 0x1447c89 in main platform/x11/godot_x11.cpp:55
    #16 0x7fe3c49c40b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

I saw a similar issue when you have a circular reference using class_name.

I received the "Internal Script Error! - opcode #38 (report please)" on a function that was using a setget getter with a Static defined return type. When I try and reproduce the error in a minimal project I can't seem to trigger it intentionally. Unfortunately I don't have the rights to upload the project I can reproduce this issue on in its entirety. At several points when playing with the code it seemed to cause a stack overflow that seemed related to the 'setget' keyword. If there is a log file I can upload that would help, instructions on where to find it would be welcome.

I received the "Internal Script Error! - opcode #38 (report please)" on a function that was using a setget getter with a Static defined return type. When I try and reproduce the error in a minimal project I can't seem to trigger it intentionally. Unfortunately I don't have the rights to upload the project I can reproduce this issue on in its entirety. At several points when playing with the code it seemed to cause a stack overflow that seemed related to the 'setget' keyword. If there is a log file I can upload that would help, instructions on where to find it would be welcome.

This is fixed on the master branch. I'm not sure what commit is responsible for making it work but regardless it works now, so I'm closing the issue


service-api's HTTPRoute spec.gateways does not work

Bug description

HTTPRoute spec.gateways is not working.

[X] Networking
Expected behavior
Steps to reproduce the bug

Deploy service-apis

Deploy HTTPRoute with spec.gateways.allow to FromList.

(e.g - gatewayRefs is invalid.)
  spec:
    gateways:
      allow: FromList
      gatewayRefs:
      - name: bar
        namespace: foo

The HTTPRoute always work even thought the gatewayRefs is invalid.

Version (include the output of istioctl version --remote and kubectl version --short and helm version if you used Helm)
istio version
$ istioctl version
client version: 1.8.0
control plane version: 1.8.0
data plane version: 1.8.0 (1 proxies)

servicce-apis version
$ kubectl apply -k 'github.com/kubernetes-sigs/service-apis/config/crd?ref=v0.1.0-rc2'

I will pick this up


parentIFrame.autoResize(false) -- iframe still autoresizes

When I resize the parent window the iframe also resizes.
window.iFrameResizer = {
  readyCallback: function() {
    parentIFrame.autoResize(false)
  }
}

On page load:
[iFrameSizer][Host page: theiframe] IFrame scrolling disabled for theiframe
[iFrameSizer][Host page: theiframe] [init] Sending msg to iframe[theiframe] (theiframe:8:false:true:32:true:true:null:taggedElement:null:null:0:false:parent:scroll) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][Host page: theiframe] [iFrame.onload] Sending msg to iframe[theiframe] (theiframe:8:false:true:32:true:true:null:taggedElement:null:null:0:false:parent:scroll) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] Initialising iFrame (http://<IP_ADDRESS>:4567/deviframe/8ax?x=2016-04-28T11:00:24+03:00)
[iFrameSizer][theiframe] Reading data from page: {"targetOrigin":"http://<IP_ADDRESS>:4567"}
[iFrameSizer][theiframe] TargetOrigin for parent set to: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] height calculation method set to "taggedElement"
[iFrameSizer][theiframe] HTML & body height set to "auto"
[iFrameSizer][theiframe] Enable public methods
[iFrameSizer][theiframe] Add event listener: Animation Start
[iFrameSizer][theiframe] Add event listener: Animation Iteration
[iFrameSizer][theiframe] Add event listener: Animation End
[iFrameSizer][theiframe] Add event listener: Input
[iFrameSizer][theiframe] Add event listener: Mouse Up
[iFrameSizer][theiframe] Add event listener: Mouse Down
[iFrameSizer][theiframe] Add event listener: Orientation Change
[iFrameSizer][theiframe] Add event listener: Print
[iFrameSizer][theiframe] Add event listener: Ready State Change
[iFrameSizer][theiframe] Add event listener: Touch Start
[iFrameSizer][theiframe] Add event listener: Touch End
[iFrameSizer][theiframe] Add event listener: Touch Cancel
[iFrameSizer][theiframe] Add event listener: Transition Start
[iFrameSizer][theiframe] Add event listener: Transition Iteration
[iFrameSizer][theiframe] Add event listener: Transition End
[iFrameSizer][theiframe] Create body MutationObserver
[iFrameSizer][theiframe] In page linking not enabled
[iFrameSizer][theiframe] Remove event listener: Animation Start
[iFrameSizer][theiframe] Remove event listener: Animation Iteration
[iFrameSizer][theiframe] Remove event listener: Animation End
[iFrameSizer][theiframe] Remove event listener: Input
[iFrameSizer][theiframe] Remove event listener: Mouse Up
[iFrameSizer][theiframe] Remove event listener: Mouse Down
[iFrameSizer][theiframe] Remove event listener: Orientation Change
[iFrameSizer][theiframe] Remove event listener: Print
[iFrameSizer][theiframe] Remove event listener: Ready State Change
[iFrameSizer][theiframe] Remove event listener: Touch Start
[iFrameSizer][theiframe] Remove event listener: Touch End
[iFrameSizer][theiframe] Remove event listener: Touch Cancel
[iFrameSizer][theiframe] Remove event listener: Transition Start
[iFrameSizer][theiframe] Remove event listener: Transition Iteration
[iFrameSizer][theiframe] Remove event listener: Transition End
[iFrameSizer][theiframe] Disconnect body MutationObserver
[iFrameSizer][theiframe] Parsed 1 HTML elements
[iFrameSizer][theiframe] Element position calculated in 0ms
[iFrameSizer][theiframe] Trigger event lock on
[iFrameSizer][theiframe] Sending message to host page (theiframe:1286:977:init)
[iFrameSizer][Host page: theiframe] Received: [iFrameSizer]theiframe:1286:977:init
[iFrameSizer][Host page: theiframe] Checking connection is from: http://<IP_ADDRESS>:4567
[iFrameSizer][Host page: theiframe] Checking height is in range 0-Infinity
[iFrameSizer][Host page: theiframe] Checking width is in range 0-Infinity
[iFrameSizer][Host page: theiframe] IFrame (theiframe) height set to 1286px
[iFrameSizer][Host page: theiframe] [Send Message] Sending msg to iframe[theiframe] (message:918) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] MessageCallback called from parent: 918
[iFrameSizer][theiframe]  --
[iFrameSizer][theiframe] Trigger event lock off
[iFrameSizer][theiframe] --
[iFrameSizer][Host page: theiframe] [Tab Visable] Sending msg to iframe[theiframe] (resize) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] Trigger event: Parent window requested size check
[iFrameSizer][theiframe] Parsed 1 HTML elements
[iFrameSizer][theiframe] Element position calculated in 1ms
[iFrameSizer][theiframe] Trigger event lock on
[iFrameSizer][theiframe] Sending message to host page (theiframe:618:977:resizeParent)
[iFrameSizer][Host page: theiframe] Received: [iFrameSizer]theiframe:618:977:resizeParent
[iFrameSizer][Host page: theiframe] Checking connection is from: http://<IP_ADDRESS>:4567
[iFrameSizer][Host page: theiframe] Checking height is in range 0-Infinity
[iFrameSizer][Host page: theiframe] Checking width is in range 0-Infinity
[iFrameSizer][Host page: theiframe] Requesting animation frame
[iFrameSizer][Host page: theiframe] IFrame (theiframe) height set to 618px
[iFrameSizer][theiframe] Trigger event lock off
[iFrameSizer][theiframe] --

Set the resize option in the parent page, not the iframe.

On 28 Apr 2016, at 09:02, n-0<EMAIL_ADDRESS>wrote:
When I resize the parent window the iframe also resizes.
window.iFrameResizer = {
readyCallback: function() {
parentIFrame.autoResize(false)
}
}
On page load:
[iFrameSizer][Host page: theiframe] IFrame scrolling disabled for theiframe
[iFrameSizer][Host page: theiframe] [init] Sending msg to iframe[theiframe] (theiframe:8:false:true:32:true:true:null:taggedElement:null:null:0:false:parent:scroll) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][Host page: theiframe] [iFrame.onload] Sending msg to iframe[theiframe] (theiframe:8:false:true:32:true:true:null:taggedElement:null:null:0:false:parent:scroll) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] Initialising iFrame (http://<IP_ADDRESS>:4567/deviframe/8ax?x=2016-04-28T11:00:24+03:00)
[iFrameSizer][theiframe] Reading data from page: {"targetOrigin":"http://<IP_ADDRESS>:4567"}
[iFrameSizer][theiframe] TargetOrigin for parent set to: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] height calculation method set to "taggedElement"
[iFrameSizer][theiframe] HTML & body height set to "auto"
[iFrameSizer][theiframe] Enable public methods
[iFrameSizer][theiframe] Add event listener: Animation Start
[iFrameSizer][theiframe] Add event listener: Animation Iteration
[iFrameSizer][theiframe] Add event listener: Animation End
[iFrameSizer][theiframe] Add event listener: Input
[iFrameSizer][theiframe] Add event listener: Mouse Up
[iFrameSizer][theiframe] Add event listener: Mouse Down
[iFrameSizer][theiframe] Add event listener: Orientation Change
[iFrameSizer][theiframe] Add event listener: Print
[iFrameSizer][theiframe] Add event listener: Ready State Change
[iFrameSizer][theiframe] Add event listener: Touch Start
[iFrameSizer][theiframe] Add event listener: Touch End
[iFrameSizer][theiframe] Add event listener: Touch Cancel
[iFrameSizer][theiframe] Add event listener: Transition Start
[iFrameSizer][theiframe] Add event listener: Transition Iteration
[iFrameSizer][theiframe] Add event listener: Transition End
[iFrameSizer][theiframe] Create body MutationObserver
[iFrameSizer][theiframe] In page linking not enabled
[iFrameSizer][theiframe] Remove event listener: Animation Start
[iFrameSizer][theiframe] Remove event listener: Animation Iteration
[iFrameSizer][theiframe] Remove event listener: Animation End
[iFrameSizer][theiframe] Remove event listener: Input
[iFrameSizer][theiframe] Remove event listener: Mouse Up
[iFrameSizer][theiframe] Remove event listener: Mouse Down
[iFrameSizer][theiframe] Remove event listener: Orientation Change
[iFrameSizer][theiframe] Remove event listener: Print
[iFrameSizer][theiframe] Remove event listener: Ready State Change
[iFrameSizer][theiframe] Remove event listener: Touch Start
[iFrameSizer][theiframe] Remove event listener: Touch End
[iFrameSizer][theiframe] Remove event listener: Touch Cancel
[iFrameSizer][theiframe] Remove event listener: Transition Start
[iFrameSizer][theiframe] Remove event listener: Transition Iteration
[iFrameSizer][theiframe] Remove event listener: Transition End
[iFrameSizer][theiframe] Disconnect body MutationObserver
[iFrameSizer][theiframe] Parsed 1 HTML elements
[iFrameSizer][theiframe] Element position calculated in 0ms
[iFrameSizer][theiframe] Trigger event lock on
[iFrameSizer][theiframe] Sending message to host page (theiframe:1286:977:init)
[iFrameSizer][Host page: theiframe] Received: [iFrameSizer]theiframe:1286:977:init
[iFrameSizer][Host page: theiframe] Checking connection is from: http://<IP_ADDRESS>:4567
[iFrameSizer][Host page: theiframe] Checking height is in range 0-Infinity
[iFrameSizer][Host page: theiframe] Checking width is in range 0-Infinity
[iFrameSizer][Host page: theiframe] IFrame (theiframe) height set to 1286px
[iFrameSizer][Host page: theiframe] [Send Message] Sending msg to iframe[theiframe] (message:918) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] MessageCallback called from parent: 918
[iFrameSizer][theiframe]  --
[iFrameSizer][theiframe] Trigger event lock off
[iFrameSizer][theiframe] --
[iFrameSizer][Host page: theiframe] [Tab Visable] Sending msg to iframe[theiframe] (resize) targetOrigin: http://<IP_ADDRESS>:4567
[iFrameSizer][theiframe] Trigger event: Parent window requested size check
[iFrameSizer][theiframe] Parsed 1 HTML elements
[iFrameSizer][theiframe] Element position calculated in 1ms
[iFrameSizer][theiframe] Trigger event lock on
[iFrameSizer][theiframe] Sending message to host page (theiframe:618:977:resizeParent)
[iFrameSizer][Host page: theiframe] Received: [iFrameSizer]theiframe:618:977:resizeParent
[iFrameSizer][Host page: theiframe] Checking connection is from: http://<IP_ADDRESS>:4567
[iFrameSizer][Host page: theiframe] Checking height is in range 0-Infinity
[iFrameSizer][Host page: theiframe] Checking width is in range 0-Infinity
[iFrameSizer][Host page: theiframe] Requesting animation frame
[iFrameSizer][Host page: theiframe] IFrame (theiframe) height set to 618px
[iFrameSizer][theiframe] Trigger event lock off
[iFrameSizer][theiframe] --
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/davidjbradshaw/iframe-resizer/issues/349

Thanks. It would be great if the initial resize could be disabled.

I've no idea why you would be using this if you don't want it to work out the size at init.

Is there a way to change the autoResize option after an iFrame has been initially setup?
In the iFrame, I've tried...
if ('parentIFrame' in window) {
    parentIFrame.autoResize(false);
}

In the parent page, I've tried...
var resized = function(data) {
    if (...) {
        data.iframe.iFrameResizer.resize(false);
    }
};

iFrameResize({
    heightCalculationMethod: 'taggedElement',
    resizedCallback: resized,
    autoResize: true,
}, "#<%= iframe_id %>");

Neither of these turn off autoResize on an iFrame that was initially setup with autoResize = true.
I want the iFrame to resize when first loaded. Then if the iFrame is over a certain height, I want to turn off autoResize until there is some user interaction. Then I want to turn autoResize back on.

If you set autoResize to false it will do an initial resize and then turn
itself off.
You can turn it on and off at will from within the iFrame. Have a look at
the docs for how to do this.
On Sat, 14 Oct 2017 at 02:31, kurttomlinson<EMAIL_ADDRESS>wrote:

Is there a way to change the autoResize option after an iFrame has been
initially setup?
In the iFrame, I've tried...
if ('parentIFrame' in window) {
parentIFrame.autoResize(false);
}
In the parent page, I've tried...
var resized = function(data) {
if (...) {
data.iframe.iFrameResizer.resize(false);
}
};
iFrameResize({
heightCalculationMethod: 'taggedElement',
resizedCallback: resized,
autoResize: true,
}, "#<%= iframe_id %>");
Neither of these turn off autoResize on an iFrame that was initially setup
with autoResize = true.
I want the iFrame to resize when first loaded. Then if the iFrame is over
a certain height, I want to turn off autoResize until there is some user
interaction. Then I want to turn autoResize back on.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/davidjbradshaw/iframe-resizer/issues/349#issuecomment-336600532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkHEl4bt90zlxHSlms5oEUXSzskpWmTks5ssA8AgaJpZM4IRrM6
.

--
Sent from my iPhone.

Thanks for the quick response!
Yeah, turning autoResize back on from within the iFrame isn't working for me. If I call .autoResize(true) and then .size() in the iFrame, then it resizes once due to the .size() call, but it doesn't resize after that due to the browser window being resized.
// Parent document
iFrameResize({
    heightCalculationMethod: 'taggedElement',
    resizedCallback: resized,
    autoResize: false,
}, "#iframe_id");

// Child document
if ('parentIFrame' in window) {
    parentIFrame.autoResize(true);
    parentIFrame.size();
}

I worked around this by passing messages back and forth between the parent and child page and only turning on iFrameResize once I'm sure the user wants the iFrame expanded.


formatHash colors properly

Closes #458
hashing preview
mining preview

Great fix! both the challenges have the desired text color.


Add special tiles activation

Given a board with existing special tiles, the board resolves activation and chained activation of special tiles.

This has been done in main


MinInternval is allowed to equal to MaxInterval Per IM spec

Problem
Per spec ticket, https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/4729, MinInternval is allowed to equal to MaxInterval Per IM spec
Change overview
Update ReadClient/ReadHandler to allow equal.
Testing
Update cirque test to validate this situation.

/rebase


Cant use ppadb in pyinstaller package exe

I use ppadb in my code
and use pyinstaller to turn it to exe
but I run my exe file,it will said " ModuleNotFoundError: No module named 'ppadb' "
I've try to add hidden-import "ppadb" but it didnt work

same here.
Failed to load module on raspbian
on linux mint almost anything works flawless....

Any update pls?


[cloudfunction] Deploy from a Google Cloud Storage URI

When a cloudfunction is created, provide a configuration to pass sourceArchiveUrl from Cloudfunction
as the source for Cloudfunction's code

Upload the code to a custom Google Cloud Storage Bucket with a custom name, as with GOBLET_BUILD_TAGS when tagging CloudRun Docker images.

This way a release version can be deployed from the same code on multiple environments.

Adding note here for recent discovery. Docs on how to upload files to GCS bucket is not very clear on how to do it with the API: https://cloud.google.com/storage/docs/uploading-objects#permissions-rest to add --data-binary on goblet_gcp_client as the example there shows for curl you can use the media_body property. Like this:
VersionedClients().storage_objects.execute(
    "insert",
    params={
        "bucket": bucket_name,
        "uploadType": "media",
        "media_body": file,
        "body": {
            "name": file,
        },
    },
)


🐛 Annoy save-load fails in a multiprocessing setting on Windows

Describe the bug
The save-load-identity test is currently skipped on Windows for Annoy. Annoy does not support pickle to store the index, therefore we store the raw index in a temporary directory and pickle to bytes. This approach works, but fails in the pytest multiprocessing setting.
Reproduction
Comment out the skipped test and run the test on Windows.
System Info
{
    "library": "0.1.0",
    "python": "3.10.13 | packaged by conda-forge | (main, Dec 23 2023, 15:27:34) [MSC v.1937 64 bit (AMD64)]",
    "platform": "Windows-10-10.0.22631-SP0",
    "architecture": "AMD64"
}

Validations

[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating duplicates.

Saving and loading should now work on Windows, but might leave temporary files on disk that could not be deleted, for example, due to a permission error.


Improved the clarity of Pod description in "Pods" documentation page

This PR fixes #41824
This improves the clarity of Pod description, making it more understandable to viewers.

Hi @RakshitKumar04 , Seems like netlify build time out .
Use this to trigger Netlify rebuild -
git reset
git commit --amend --no-edit
git push --force-with-lease

Hey, please review the PR.

I don't think this PR fixes #41824. Have a look at that issue and check that the criteria for a fix are met.


Wasmd deployment doc is missing.

https://github.com/CosmWasm/wasmd/blob/main/docs/deploy-testnet.md in the README.

Thanks for reporting! I will remove the the dead links


How to change API key of google drive ?

Hello,
How to change API key of google drive ?

You have to delete the old token and then add a new one:
https://github.com/prasmussen/gdrive/issues/158


Bump version to new HWE kernel 6.5 for Ubuntu 22.04

Hello!
Can you bump version for DisplayLink to new LTS kernel for Ubuntu 22.04?
Now it is 6.5 (HWE) on 22.04.4.

Sorry, my fault. I've found release notes about preliminary support Kernel 6.5


[RELAY][OP] Faster-RCNN Proposal OP

Added Proposal op to relay as a followup of #2420.
The arguments naming follows MXNet Proposal /  MultiProposal.
Please review @masahi @kevinthesun @Laurawly @zhreshold

So I suppose this PR is for mx-rcnn or rnn example under mxnet repo right?

@zhreshold yes