Save and restore state

It would be useful to be able to save the current bindings and restore them later.
Use case:
I have an interface with bindings for 'j'/'k' (for down and up in a list). When pressing 'm', I open a menu to choose a report, and I want to remap 'j'/'k' to go up and down in that menu instead. If I espace the menu however, I need to go back to the previous mapping.
Since the menu can be triggered from various contexts, it's a bit complex to remap after the menu is closed, so it would be much more practical to save the mappings and restore them.

This is totally possible using an extension... also see my comments on #247 for some ideas of how you could implement it.  You can basically juggle around a few different mousetrap objects (perhaps coupled with the pause/unpause plugin).
You could have a documentMousetrap and then a menuMousetrap, and when the menu is focused you could pause the document one.  That is not the prettiest API, but you could wrap it with something a bit nicer.
I don't plan on implementing this natively in mousetrap though.

That is great. Thank you.


uv unwrap fails on some models

submitted by ricebowl.1 on the discord --
they encountered it with this file:
vjr_backup_uv_unwrap_bug.txt
They sent the following message:
I keep getting the
"ERROR THERE AREN'T ENOUGH UNIQUE VERTICES OOPS
Exception in Tkinter callback
Traceback (most recent call last):
  File "tkinter_init.py", line 1948, in call_
  File "toolkitUI.py", line 2636, in unwrap_model
  File "picoCADParser.py", line 287, in test_create_normals
  File "picoCADParser.py", line 278, in get_scaled_projected_points_to_distance
TypeError: unsupported operand type(s) for *: 'decimal.Decimal' and 'float'"
error when i try to uv unwrap my model, does anyone know how to fix this?

Fixed this and improved the error into a warning instead since I made the math better as well.


[Bug]: BigqueryAvroUtils builds invalid Avro schema which prevents insert

What happened?
I will add a failing test below, but basically we have a structure in our system which looks something like;
class1 { identifier: record1 }
class2 { identifier: record2, class1: class1 }
That is, we have two separate members with the name "identifier" in two different parts of the type we're trying to write to BigQuery.
When BigqueryIO calls BigQueryAvroUtils.toGenericAvroSchema() on the type, it generates a schema for the structure, but unfortunately calling toString() on the resulting avro schema crashes with;
Method threw 'org.apache.avro.SchemaParseException' exception.
It seems to be due to that;

BigQueryAvroUtils.toGenericAvroSchema uses a static namespace of "org.apache.beam.sdk.io.gcp.bigquery" for all types, no matter where in the type structure it's located. If it in this case for example adding the encompassing type to the namespace (org.apache.beam.sdk.io.gcp.bigquery.class1.identifier), there should be no problem.

It seems to handle the member name (identifier) as a type name in the schema, so it thinks the two members with the same name are trying to redefine a type.

Not quite clear on the terminology here so I may be using it wrong, but basically it tries to register org.apache.beam.sdk.io.gcp.bigquery.identifier twice in org.apache.avro.Schema$Names.put and that crashes the write to BQ.
The structure is working without any issues up to Beam 2.42 but fails on 2.43, 2.44 and now also 2.45.
To maybe make it clearer, here's a very basic unit test (in Kotlin, but should translate over to java fairly easily I hope) that fails on the toString() call; it builds the TableSchema manually, but in the same structure as it's seems to be built by BigqueryIO for our type.
package org.apache.beam.sdk.io.gcp.bigquery;

import com.google.api.services.bigquery.model.TableFieldSchema
import org.junit.jupiter.api.Test

class SchemaTest {

    @Test
    fun test() {

        val stringSchema1 = TableFieldSchema().setName("id1").setType("STRING")
        val stringSchema2 = TableFieldSchema().setName("id2").setType("STRING")

        val identifier1Schema = TableFieldSchema().setName("identifier").setType("RECORD")
            .setFields(listOf(stringSchema1))

        val identifier2Schema = TableFieldSchema().setName("identifier").setType("RECORD")
            .setFields(listOf(stringSchema2))

        val recordSchema = TableFieldSchema().setName("record").setType("RECORD")
            .setFields(listOf(identifier1Schema))

        val rootSchema = TableFieldSchema().setName("root").setType("RECORD")
            .setFields(listOf(recordSchema, identifier2Schema))

        val output = BigQueryAvroUtils.toGenericAvroSchema("root", rootSchema.fields)

        val outputAsString = output.toString()
    }
}

The test fails as is, but renaming the member id2 to id1 so that both instances of the member with the name "identifier" are seen as the same type makes the test pass.
If it helps, I'll try to make a more complete example that builds the TableSchema from the type in the same way BigqueryIO does, but I hope this makes the problem clear.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[X] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Also affect 2.46.0.  The same issue occurs while reading BigQuery table, not just writing/inserting.
I encountered this issue trying to read a Firebase/Google Analytics 4 table.  Here a public example of such a table: https://developers.google.com/analytics/bigquery/web-ecommerce-demo-dataset
Same issue as: https://github.com/apache/beam/issues/26318

Same for me, When BigQueryIO tries to convert a structure to an Avro schema, it generates a schema for the structure. However, when BigQueryIO tries to convert the schema to a string, it crashes with an error.

My code started working with 2.50 again, every version between 2.42 (working) and 2.50(working) were broken.
Leaving the bug open in case other people are still having problems with the new version.


Add signature

Please add my signature:
Jason Neel, Senior Web Developer, West Virginia University
Thank you!

Thanks, again!


Added PSR-11 service locator

The service locator extracted from #224 (with the iterator that I sent in #234).
The documentation is adapted from the Symfony docs.

Thank you @skalpa.


with 1.3.0 ngrx/effects stops working in AOT mode

downgrading to 1.2.5 solves the issue (works with AOT)
building in dev mode solves the issue (works in 1.3.0)
ngrx effects are not started/triggered/subscribed to
i'm running angular 4.0.0 and ionic 3.0.0

So seemingly there are some changes to the way the ngc compiler is called that cause ngrx-effects to break.
Any ideas?

Duplicate: https://github.com/driftyco/ionic-app-scripts/issues/879
Can you please follow the steps I outlined in the last post so I can fix the issue?
Thanks,
Dan

thanks, 1.3.1 fixes the issues for me


Client errors were not going to STDERR

Fixes #1959
For example 404 errors were printed to STDOUT. This PR changes the output to STDERR.
Before:
$ kontena vault read foofoofoo > foo.txt
$ cat foo.txt
[error] Not found

After:
$ kontena vault read foofoofoo > foo.txt
[error] Not found
$ cat foo.txt
$

Checked that the e2e tests still pass :+1:


build constraints exclude all Go files in<EMAIL_ADDRESS>on darwin

Hi, @JupiterRider. A user reported that github.com/jupiterrider/ffi failed to build on Darwin. I believe this library should be able to build on Darwin as well. Perhaps we should allow these files to build on Darwin?
For more context: https://github.com/apache/opendal/discussions/4996

I'm willing to help get this fixed. And maybe add some test in CI to cover.

Hey @Xuanwo , I added macOS with 51655c1a7824d0d9cdbb4f9a533bca26b5f9e25 .
You can try it by running go get github.com/jupiterrider/ffi@51655c1a7824d0d9cdbb4f9a533bca26b5f9e25.

Thanks for the prompt fix.
I don't have the device to help verify it. But I think I can contribute an integration test to avoid regression. What do you think?

@Xuanwo After a little trail and error, I finally have a working CI workflow: 9dafd5739f9fcb6cdac3d37c13c00a9c3de243ad
If you have any improvement suggestions, let me know or feel free to open a pull request.

@Xuanwo After a little trail and error, I finally have a working CI workflow: 9dafd5739f9fcb6cdac3d37c13c00a9c3de243ad
If you have any improvement suggestions, let me know or feel free to open a pull request.

Hi, would you like to submit your changes as a PR to make it easier for us to collaborate?

Of course. I created a pull request: #5

macOS support is now live with v0.1.0 🚀


feat(app): updated top nav to use network dropdown

Description

[x] Change home network selector to use dropdown layout
[x] Removed Network switcher from Sidebar
[x] Added indicator for selected network

Fixes: #478
Screenshot

TODO

[ ] Support Add Network option in the Dropdown Menu (refer to below screenshot)

I think add network can be split in a new issue, I don't see the need for this right now.

One small enhancement.
The dropdown auto focuses the first network in the list.
I think the selected network should have the default focus, or an indicator that it is selected.

@LuizAsFight - Added box-shadow to Dropdown Menu like suggested above and also fixed the issue with autoFocus not focusing on selected network item. Need to merge this PR and publish a new version of fuel-ui package before we can merge this PR. Thanks!
cc: @luizstacio


Replace SimSun, MingLiu, MSGothic, GulimChe with one (or four?) decent monospace fonts.

THEY ARE UGLY, REALLY.
The new font(s) should be:

Exact half-width monospace, to prevent full-width glyphs being stretched or alignment being broken.
No bitmap. In vector.
Well hinted.
Follows regional (CCJK) orthographic standards and aesthetic habits.

I want this too but I highly doubt anyone would (or could) help you here. If you're looking for a font that works well in the X env, I doubt this team will tries to mess too much with the ubuntu userland. Even if they did, their expertise is very far from understanding fonts.
Outside X env, I doubt their team can touch much anway. This belongs to a different team.
I just noted that you're at MS yourself. It looks to me like you're closer to help solve this problem than anybody else. And while you're at it, can you have MS remove all the "Ming" fonts from the following: "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink"?
It's almost universally accepted that Ming fonts are not suitable for screen. So I would like them not being linked by default

Oh, and while you're at it, can you ask MS to comission someone to make a good non-Ming font that covers CJK-ext-2?
Hanazono and MingLiu_HKSCS-ExtB both look horrible.
Thanks!

@be5invis Hey, could you open a mail thread with richturn AKA @bitcrazed (he'll CC the rest of the team) on this? I'm sure we'd be more than happy to get some help getting better fonts in the console by default :)

@SRGOM Cover Ext BCD? This may take $10M and 5 years to make that font.

@be5invis: I am not arguing with you, I'm only trying to understand-  but do you guys not use Chise IDs or cjk decomposition or something similar for making fonts? In that case wouldn't the work be greatly reduced?

@SRGOM
Using IDS cannot create a typeface fitting the quality requirements of type designers.

This issue was moved to Microsoft/console#107


[Docker slim] wait is not a valid ctl command

https://github.com/keybase/client/blob/e4baaaacbc13b6861afe4dde27e43c2bc25cb6e8/packaging/linux/docker/slim/entrypoint.sh#L27
In the slim Docker container's entrypoint it calls keybase ctl wait but as of keybase v5.2.0 'wait' is not a valid command to 'ctl'.
This results in the error No help topic for 'wait'.
I am only encountering this issue when trying to run the container in Google Cloud Run. Running it locally on Docker (macOS) you don't notice the error.

It worked fine when I changed that line to keybase ctl start.

Did you build the images yourself? wait was introduced, I believe, in 5.3.x.

I'm building an image on top of keybaseio/client:stable-slim.
A slightly out of date Dockerfile is here: https://gist.github.com/vladionescu/a1d666f3b8fc6fdffdbcdd59bf122b59

Hi @vladionescu, the wait command isn't in the release v5.2.0, which would be the version you have from keybaseio/client:stable-slim, it was added to the source code right after we cut a release from master. So if you build an image from source, you should get the wait command working, otherwise it will be in the next release
Thanks for the notice though!


Implement Remove Command to remove remark/ pending question

Implemented a remove command to allow user to remove remark, pending question or both.
COMMAND_WORD = "remove"
example: remove INDEX [r/] [pq/]
Test case for RemoveCommand and RemoveCommandParser has yet to be written.

#97


fix removal from queues on retire

Figure out a way to not update all the queues at once. Alternatively we could just leave them in there and allow them to drain naturally or we could remove from the serialized response on selection similar to how we do the current seen context.
Any thoughts on this one appreciated.

Check if the subject is in the queue still before issuing a dequeue. https://github.com/zooniverse/Panoptes/pull/1625#issuecomment-171463494

Alternatively we could just leave them in there and allow them to drain naturally or we could remove from the serialized response on selection similar to how we do the current seen context.

I think both is a good option.  Just do a quick ruby .select(&:active?).  I guess that could put you in the position of having to refill the queue mid-request though.

[ ] Move to ruby land queue updates that touch the updated_at timestamp (track old queue updates)
[ ] Avoid retire dequeue contention, just leave them in the queue and remove them when serializing or serialize with the finished context (current).
[ ] Look at flushing / ignoring stale queue data (older than 1 day?)

That last point, do you mean deleting queues that have not been read from for a day? That sounds like a plan.

I wasn't going to delete them per se but maybe just empty them. Might be an idea to remove them altogether.
Linking #1661 & #1640 here for ref.

this work was done in #1676 and #1682


[AB#42975] logical replication approach dropped in favor of db triggers and message polling

Pull Request
Prerequisites

[x] The PR is targeting the right branch (dev for features and master for
releases)
[ ] potential release notes to the PR description added
[x] potential testing notes to the PR description added
[x] appropriate labels for the PR applied

Description
Previously, we used logical replication to detect database changes related to localizable tables. Now, each table is explicitly handled by having AFTER INSERT/AFTER UPDATE/AFTER DELETE triggers (using dedicated db helper functions). Each trigger inserts a relevant entry into the inbox table, which is processed by the pg-transactional-outbox message polling mechanism to send messages to the localization service in a similar way it was done with logical replication.
TODO: This PR is waiting for transactional outbox change to be merged into dev branch and synced with this branch to integrate triggers, inbox entries, and localizable-entity-message-handlers into a single working chain. Currently missing the polling part and some TODOs in the code should be adjusted.
Testing notes
General testing on localization-related functionality shall be done, e.g. Create, update, delete, assign cover, change cover, unassign cover for movie/tvshow/season/episode/collection.

Closed in favor of https://github.com/Axinom/mosaic-media-template/pull/253


Error with vagrant up with EOS-4.15.5M

I'm getting the following errors when trying to load 4.15.5M.
Interpreting C:\Users\Tharp Family.vagrant.d\boxes\vEOS-lab-4.15.5M\0\virtualbox\box.ovf...
OK.
0%...
Progress state: VBOX_E_OBJECT_NOT_FOUND
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not get the storage format of the medium 'C:\Users\Tharp Family\VirtualBox VMs\vEOS-4.15.5M_1462723112437_40437\vEOS-4.15.5M-disk2.iso' (VERR_SHARING_VIOLATION)
VBoxManage.exe: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component MediumWrap, interface IMedium
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 877 of file VBoxManageAppliance.cpp
Any ideas of what could be going on?

This looks eerily similar to #4, found on Window 7.   There are also a number of references to VERR_SHARING_VIOLATION found and addressed in the VirtualBox forums but there's don't seem to be any clear winners.
On the up side, you should be able to download the pre-packaged box from http://arista.com/  --> Software Downloads --> vEOS  --> vEOS-lab-4.15.5M-virtualbox.box.   Please let me know if you have any issues with that box or need further assistance.

I ran into this issue on Windows 10, Virtualbox 5.0.22, Vagrant 1.8.4
"
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\John.vagrant.d\boxes\ubuntu-VAGRANTSLASH-trusty64\2016062
1.0.0\virtualbox\box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'C:\Users\John\Virtu
alBox VMs\ubuntu-cloudimg-trusty-vagrant-amd64_1467168167978_8384\box-disk1.vmdk
' (VERR_ZIP_ERROR)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component A
pplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(s
truct HandlerArg *)" at line 877 of file VBoxManageAppliance.cpp
"
Is there any solution?

Omg, just delete olders machines

Appears to be a Windows-VirtualBox issues.    Recommend just downloading the latest pre-built images from http://arista.com/


Fix Content Security Policy property

Thanks

Is something wrong with the PR?

@olsh no just github being weird; I merged and it confirmed, I closed. Obviously didnt do the job :D


Web - Workspace - Error is appeared as a text at the bottom of Avatar

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open website > Settings
Click on Workspaces > any Workspace > Avatar > Avatar (Editor) > Upload smaller than 4096x4096 pixels

Expected Result:
Error should be appeared as special error that contains full page
Actual Result:
Error is appeared as a text at the bottom of Avatar
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: v1.3.54-11
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/115492554/bb55eb04-088c-4166-b9ab-191b0313f723
https://github.com/Expensify/App/assets/115492554/134774ad-ba22-40e9-8a2b-7c5c243326b2
Expensify/Expensify Issue URL:
Issue reported by: @mahmudjontoraqulov
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1691297148289289
View all open jobs on GitHub

Left a comment in the Slack thread, but I;'m not clear what the expected result is meant to be. I feel like this isn't a bug, so I'll be closing!


Change opening times text

Issue: Scottish-Natural-Heritage/Licensing#657

Reverted the new line that was added


Use official ogg files from Week 7's source code release

This includes the fixed audio for Spookeez, where before it was desynced from the chart.

Wait, source code for week 7 is released?

WAIT IT IS!!!


Write tests

There are lots of things to improve in svero, and some rough edges yet to be smoothed in the brand-new Svelte 3.
Tests would prevent things from breaking without notice and help with contribution check.

Commit e37d59a144fc27cde83deed342607a9228227c5e marks the closing of this issue.


return -1 when locAtDateTime doesn't find the datetime.

This if the fix for issue "Bug in DatetimeIndex.locAtDateTime? #78"

fixed. I also added a regression test for it.

LGTM


Migrate Twitch API

Switch twitch api from kraken to helix.
Reason: kraken API will be offline at February 28, 2022.
You can find more about this here

Already offline...


tvOS support

Hello, does this currently or in near future will support tvOS?
Thanks.

It might work? I just need to get some cash together for a tvOS device so I can test it.

Works now.


typo: seperate -> separate

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

Looks good; thanks.


ros_comm: 1.11.16-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_comm to 1.11.16-0:

upstream repository: git@github.com:ros/ros_comm.git
release repository: https://github.com/ros-gbp/ros_comm-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.20
previous version for package: 1.11.15-0

message_filters

No changes

ros_comm

No changes

rosbag
* show size unit for --size of rosbag record in help string (#697 <https://github.com/ros/ros_comm/pull/697>)

rosbag_storage

No changes

rosconsole

No changes

roscpp
* add getROSArg function (#694 <https://github.com/ros/ros_comm/pull/694>)

rosgraph

No changes

roslaunch
* add -w and -t options (#687 <https://github.com/ros/ros_comm/pull/687>)
* fix missing minimum version for rospkg dependency (#693 <https://github.com/ros/ros_comm/issues/693>)

roslz4

No changes

rosmaster
* add -w and -t options (#687 <https://github.com/ros/ros_comm/pull/687>)

rosmsg

No changes

rosnode

No changes

rosout

No changes

rosparam

No changes

rospy
* catch ROSInterruptException from rospy timers when shutting down (#690 <https://github.com/ros/ros_comm/pull/690>)

rosservice

No changes

rostest

No changes

rostopic

No changes

roswtf

No changes

topic_tools

No changes

xmlrpcpp

No changes

Do not merge yet - waiting for other releases.


Include license for Fluent icons and Quick Look

Files is missing the required licenses for QuickLook and the Fluent icons used in the app.

@yaichenbaum Should the licenses be included with the source, binaries, or both?

@yaichenbaum Should the licenses be included with the source, binaries, or both?


[Master] Fix 14217 emit shebang at the top of output file

Fix #14217

[x] Fix emit prologue directives to be at the top of the output file. See comment

The first commit is adjusted baselines from removing empty line (this is needed to be able to test shebang mark easily).


BUG: scipy.sparse.rand raises ValueError on ppc64le

Describe your issue.
On a ppc64le QEMU instance running Debian unstable, I noticed that scikit-learn's test suite was triggering an error during test collection. I could trace this back to a call to scipy.sparse.rand(10, 3, density=0.5).
This only happens on ppc64le as far as I know. The call worked fine on other architectures.
This is with gfortran, libblas and liblapack from Debian. scipy was built/installed using pip.
It works with a density up to 0.11, but fails with 0.12 and higher (at least, from the few samples I tested manually).
Reproducing Code Example
>>> from scipy import sparse
>>> sparse.rand(10, 3, density=0.5)

Error message
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/venv/lib/python3.9/site-packages/scipy/sparse/construct.py", line 868, in rand
    return random(m, n, density, format, dtype, random_state)
  File "/root/venv/lib/python3.9/site-packages/scipy/sparse/construct.py", line 813, in random
    return coo_matrix((vals, (i, j)), shape=(m, n)).asformat(format,
  File "/root/venv/lib/python3.9/site-packages/scipy/sparse/coo.py", line 196, in __init__
    self._check()
  File "/root/venv/lib/python3.9/site-packages/scipy/sparse/coo.py", line 283, in _check
    raise ValueError('row index exceeds matrix dimensions')
ValueError: row index exceeds matrix dimensions

SciPy/NumPy/Python version information
1.7.3 1.22.0 sys.version_info(major=3, minor=9, micro=9, releaselevel='final', serial=0)

Update: I now had the chance to test this on actual ppc64le hardware (rather than QEMU) and the problem is not reproducible there. Therefore, closing this bug.


Unfilled polygon hit detection

The canvas replay renderer is currently inserting a default fill for the hit detection instructions for any polygon, regardless of whether it is filled or not:
https://github.com/openlayers/ol3/blob/master/src/ol/render/canvas/canvasreplay.js#L1334
My team would prefer to only hit detect polygons that are actually filled when hovering over the interior and not hit detect unfilled ones. The fillStyle from the actual polygon is right there on the state in that function, so why not just use that? There isn't a good way to work around this short of overriding the whole function (that I can see). Would this give you any heartburn to change? Or to be made configurable?

#7750


Problem with imshow

I took a pic from webcam and am facing problem while importing it,an error occurs which states:
error: (-215) size.width>0 && size.height>0 in function cv::imshow
I downloaded a picture and while working with it i don't get the same problem.

This seems a problem with OpenCV, not with Spyder. I'm sorry but we can't help because we don't know what is happening in this case.


[ad_mob] dispose does not dispose BannerAd if called before being loaded on Android

Describe the bug
On Android, If BannerAd.dispose() is called quickly after the BannerAd.show() is called, the banner might still be shown and can never be hidden
To Reproduce
It is easier to reproduce by code (simple call show() then dispose()) but the example app should be enough
Steps to reproduce the behavior:

Build and run (flutter run) AdMob example app, can be on an emulator using test ads (although easier to reproduce on real device)
Tap 'SHOW BANNER' then 'REMOVE BANNER' right away (the more the speed is like a double click, the more it might show the issue)
If you did not manage to tap 'REMOVE BANNER' before the ad appears, the ad will be hidden correctly. Otherwise the ad might still appear (a little bit later - once loaded) and 'REMOVE BANNER' will never remove it.
It might have worked as expected, otherwise try again multiple times, you might get to a point where 'REMOVE BANNER' can no longer hide the ad.

Expected behavior
Calling dispose() should dispose the ad and prevent it from being shown later.
Additional context
There seems to be an edge case condition in Android state machine where the ad view can be inserted in the tree once loaded - although adView.destroy() [java] has been called - but maybe that is not enough, some Android aps also hide the view (maybe add a new destroyed state to handle if the ad gets loaded later to prevent adding the child adView).
The workaround I have currently is that I wait (30s) for any event (loaded/load failure) before calling dispose on the dart land.
I have not tested on iOS (or at least not seen such issue)
If needed, I can work on a fix (just add this new destroyed state on Android) and submit a PR, let me know

By managing the loaded state of the ads, I manage to get it to work correctly on Android, but on iOS, calling dispose appears to pop banners off a stack, rather than popping the one for which a reference is provided.

@LouisParkin how did you solve this by managing the state?

@hesyar I posted one of my dart files here: https://gist.github.com/LouisParkin/9e669b533f404c940d256fdb9af87afe

@LouisParkin thanks a lot ;) I will check this in the evening

Another race condition: #669

The firebase_admob plugin will be deprecated in April 2021 in favor of Google Mobile Ads SDK for Flutter.
Google Mobile Ads SDK for Flutter is a new Flutter plugin that supports more Ads formats than firebase_admob does. Google Mobile Ads SDK for Flutter currently supports loading and displaying banner, interstitial (full-screen), native ads, and rewarded video ads across AdMob and AdManager. It also supports displaying banner and native ads as Widgets as opposed to being overlayed over all app content.
We're now recommending projects currently using firebase_admob migrate to Google Mobile Ads SDK for Flutter following the instructions outlined here.
Issues with migrating or with using the new package should now be raised over on the Google Mobile Ads SDK for Flutter repository.


Grid exportOptions should support a "rows" property to allow some customization of which rows are exported.

The "rows" property should be similar to the "columns" property.
It should accept these string values:
"ALL", "FILTERED"
and accept a function taking the GridModel.  Not yet sure what that function will return maybe an array of records, or Id's, or a boolean like a filter...

I've looked at the code in GridExportService.js and see that the gathering of cell data depends on the rows as rendered by agGrid.
The service uses agrid's aggData to assemble summary rows.
If we were to apply a 2nd filter during export via the new rows option, I was hopefully thinking it would only be applied to the store records to create a new recordSet, without re-rendering the grid, but then the summary rows that might be left and are consulted for aggData could contain inaccurate values.
Basically, a rows option could work for plain grids, but for any grids that have aggData, it wouldn't work, or would be very difficult to implement, requiring a re-render of the grid using the export filter, and then a re-render back to the previous state.
Probably difficult to implement, creates UI jiggles & wiggles, and not in great demand.
Will stop work on this ticket until discussed further.


fix TW national_prefix

TW(Taiwan) national prefix number is 0.
It is also 0 in Google's libphonenumber library.
https://github.com/googlei18n/libphonenumber/blob/master/resources/PhoneNumberMetadata.xml#L23907
line: 23907
    <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)" nationalPrefix="0"
               preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG"
               mobileNumberPortableRegion="true">

@swdyh  2.1.3 released which includes this change

@rposborne Thank you. I will try to use It.


BluetoothManager.rx_state property not working

I switched to the new BluetoothManager API with version 1.1.0 using rx_state property instead of monitorState() but it seems I'm not getting state changes anymore.
Running on iPad Mini 2 WiFi, iOS 9.3.1
For now I'm sticking to the old API which works fine.

Hey there,
Thanks for telling us - we'll take a look at it today.

This is a bug - we'll fix it shortly. For now please use monitorState function.

Thanks for looking into it and for creating this awesome lib

Hi,
It's fixed in 1.1.1 version.
We'll investigate rx_state on Peripheral too, but it looks like it's working. We'll test it and give further info about it.
Thanks for reporting issue and have a great day :-)

Hi I can confirm that it's working in 1.1.1. great work!


AtlasEngine renders corner brackets at the left of the two-character space.

Windows Terminal version
1.19.10292.0
Windows build number
10.0.22621.3007
Other Software
No response
Steps to reproduce
Type or enter characters containing left and right corner brackets
Expected Behavior
Corner brackets are aligned to the middle of the 2-character space, which was the case when using the old renderer. See attachments:

Actual Behavior
Corner brackets are aligned to the left of the 2-character space. See attachments:

I won't be able to fix this in time for 1.21. However, the only reason this bug occurs is because your Japanese font is proportional and not monospace (it's Yu Gothic). 1.21 on the other hand will allow you to customize your font fallback, which allows you to use MS Gothic or some other proper monospace Japanese font:

(You can try it out by installing our canary version: https://aka.ms/terminal-canary-installer)


Automatic Relay  InputType

Is your feature request related to a problem? Please describe.
If I want to write Mutations according to the relay guide I have to declare an input type containing all arguments and a clientMutationId which is returned in the response.
Currently I have to write a lot of annoying Code. One class for the input, one for the payload and in the Mutation itself I have to pass the clientMutationId from the input to the payload manually.
Describe the solution you'd like
I would like to have a very simple and easy solution to speed up development. Maybe something like:
In my mutation/Resolver i would like to have a function as always without the inputType:
public User CreateUser(string firstname, string lastname, CancellationToken ctx){
	...
	return new User(....);
}

in my ObjectType for the Muation I would like to do something like:
 descriptor
	.Field(m =>  m.CreateUser(default, default, default))
    .UseRelayInputType()

this than should convert this stuff to provide a schema like:
type Mutation {
	createUser(input: CreateUserInput!): CreateUserPayload!
}

type CreateUserInput{
	fistname: String
	lastname: String
	clientMutationId: String
}

type CreateUserPayload{
	user: User
	clientMutationId: String
}

HC should then automatically pass the `clientMutationId``from the input to the payload and all the fields should be mapped. The GraphQLNonNullType should be respected by this solution

I thought about this one on the way back home and I think it is quite easy to implement with the new V9 type system. I think it is about 2 hours of work with testing. If you want to do this one I can show you how to implement this.

I'm starting to work on that over here

Any updates on this?
Perhaps if Hot Chocolate included a RelayInputObjectType<T> base class with the clientMutationId field pre-configured on it, this could be used instead of InputObjectType<T>.
type Mutation {
	createUser(input: CreateUserInput!): CreateUserPayload!
}

type CreateUserInput{
	fistname: String
	lastname: String
	clientMutationId: String!
}

// Base class for CreateUserInput

public abstract class RelayInputObject<TObjectType> : InputObjectType<TObjectType>
    where TObjectType : InputObjectType
{
    protected override void Configure(IInputObjectTypeDescriptor<TObjectType> descriptor)
    {
        descriptor
            .Field("clientMutationId")
            .Type<NonNullType<StringType>>()
            .Description("The unique identifier of the mutation, sent from the client.");
    }
}

Then for the output, a RelayOutputObjectType<T> class could look something like this:
type RelayOutput{
	value: Foo
	clientMutationId: String
}

public class RelayOutputObject<TObjectType> : ObjectType<TObjectType>
    where TObjectType : ObjectType
{
    protected override void Configure(IObjectTypeDescriptor<TObjectType> descriptor)
    {
        if (descriptor is null)
        {
            throw new ArgumentNullException(nameof(descriptor));
        }

        descriptor.Name("RelayOutput");
        descriptor.Description("The output of a mutation, containing the value and .");

        descriptor
            .Field("value")
            .Type<TObjectType>()
            .Description("The value of the mutation output.");
        descriptor
            .Field("clientMutationId")
            .Type<NonNullType<StringType>>()
            .Description("The unique identifier of the mutation, sent from the client.");
    }
}

If Hot Chocolate, knows about both of these types, it could connect the dots and pass the parameter automatically.

We are getting ready for an 11 release and this one is now move to the December patch release of 11.

Is this coming in v11.1?

The clientMutationId is no longer apart of Relay. It was removed  when Relay Modern was introduced (3 years ago). Reference.
I'm not sure if this should or even needs to be covered by HC at this point!?

It would still be nice if HC would provide an easy way to convert from "normal" functions like
public User CreateUser(string firstname, string lastname, CancellationToken ctx){
	...
	return new User(....);
}

to GraphQL like mutations
type Mutation {
	createUser(input: CreateUserInput!): CreateUserPayload!
}

type CreateUserInput{
	fistname: String
	lastname: String
}

type CreateUserPayload{
	user: User
}

(not sure if the payload part makes sense in this case but the input certainly would)

We postponed it to the June release.

This is implemented in 12.4 via MutationConventions


Provide a way to do case-sensitive property deserialization

Could you provides a way to opt-in to case-sensitive property deserialization?
It could take the form of a property of JsonSerializerSettings or JsonSerializer. This property could be a boolean or an enum type (permits a fine grain choice: in ctor and/or properties).
JsonPropertyCollection.GetClosestMatchProperty is used in:

JsonSerializerInternalReader where is already present a property Serializer of type JsonSerializer,
DefaultContractResolver whose instance is provided by JsonSerializer.

Can you explain the use case for this feature please?
The C# style guides/standards I've read in the past have all proscribed having members differentiated solely by case.

It's quite complexe but it can try to detailed my problem.
I use Json.Net to managed settings files used by my applications. These files should be mainly modiffied by my Apps but user can edit them manually.
I've one machine settings file and several user settings files. Machine settings file is not supposed to be editable. Only an administrator can distribute new machine settings files. Each modifications made by user are stores in user settings file and this file only contains "what is different"  from machine file. User data takes precedence over machine ones.
To implement this, I've used JSon.Net JContainer.Merge and a custom umnmerged algo to separate "what is different". Merge/unmerge is done at json DOM level (ie tree of JObjects). On load, after merging machine and user data, I use Json.Net deserialization (JObject.ToObject) to get a strongly typed .Net settings object. On save, I get a JObject tree fromJToken.FromObject, do an unmerge (a deep clone and delete "what is identical") to only store differences in user settings. And all was good and well.
I've just had a subtle bug when customer a have manually edit settings file but have made a casing error (mimetype vs Mimetype). During merge/unmerge works on JObject tree, comparaisons are made case sensitives but deserialization not (GetClosestMatchProperty). This difference of treatment break my diff algo.

Also I need this feature.
I get sometimes very complex jsons with double names with only case sensitive difference (MyName is different from myName).
The thing is, I have no control over the stuff I get, and I only know what I need, so...
When I get the data, its get overridden by the data I don't care about :(

Wow, I definitely want to try and chime in here. Myself, I feel that this should be very important to change. I feel a little worry. (Like people are getting a case of "facades in your eyes" over JSon.)
I was not able to simply symmetrically pass a DataContract object to Cosmos, and get back the correct data. This seems obviously wrong. (See the link to #427.) It cannot be easily passed off as "re-write and do it the way we tell you".
I have never seen an implementation that is handling identifiers with "prescribed styles". It might be one thing if you demarcate an identifier Key, and prescribe that the value will be case-insensitive ... but not an identifier. And if these are not identifiers, then throw away JSon and write Xml.
This creeps me out a little bit because it has interfered with DataContract transformation. I hope that light-headedness doesn't creep in. We have a well-documented transformation from DataContract to JSon, even including Type names that support KnownTypes; and the power is very high: you can leverage the very powerful object injection and construction that is possible with DataContract mechanisms; and if we need to deal with a textual representation in JSon, then it should certainly not be able to touch the implementation.
It is a fantasy world (where everyone works for Monolith) where "some department or tool" will create object facades with Poco properties, and somehow you "don't need to care"); but in a better life you hand Cosmos your DataContract and get the exactly correct thing back. --- Or, you are just actually looking at some "fluent" interface where you write a pair of curly braces in code ...
Please lean more on the side of "one day there may be an async key/value modifier; or ref, or out"... DataContract, DataContract, DataContract ...

Sorry!
OK, wow. People surely think I'm either some troll or bat-crazy ... But after fiddling around some more I can see the concept. I'm still amazed that I could get an asymmetric result on what seems to be the first possible activity to make against Cosmos; and I am also still uneasy about some layer of transforms, converters, or handlers or something to get things right.
I HAVE to say that it's a bad experience to have it linger that "there is a case insensitivity that might mean X_Y_Z in your model". That's a headache. (We have had a very rock solid --- AND obvious --- DataContract thing; and now there is a new outer space.

I would also like to push for this functionality. I had a pretty major logic issue where our object representation is different from the JObject representation, since it fudges the case sensitive property for the deserialization class. I want to avoid this and actually error out (or at the bare minimum not deserialize the property at all) when going from JSON to C# object.
It's currently impossible to override enough of a DefaultContractResolver to bypass the hardcoded JsonPropertyCollection.GetClosestMatchProperty functionality, so we are kinda stuck.

#1699 is the same feature request.

I also need this. I'm writing a validator for an API that will be consumed by a case-sensitive client.

A few years have passed. What reason not to do it so far?

I also need this for creating a JSON:API implementation. According to the JSON:API specification, member names MUST be case sensitive.

Are there plans to fix this issue? I have plenty of API-tests in which I'd like to ensure, that my server will not change the case of serialized properties, after upgrading a librariy, changing some settings or changing to Syste,Text.Json.
Or is there a workarround, like creating a custom ContractResolver?

I think our best option is migration to System.Text.Json if possible. I dont see this changing anytime soon.

+1

System.text.json has better performance now!
see =>

JSON.NET was good while it lasted!

Can you explain the use case for this feature please?
The C# style guides/standards I've read in the past have all proscribed having members differentiated solely by case.

Future-proofing? I'm working on a project in which complex JToken queries are necessary and where we're looking to migrate from PascalCase to camelCase for our DTO properties. Currently, this is a blocking issue for us to accomplish that goal without introducing our own shim.


added ability to specify not required parameter for action link. Fixe…

action_link changes and fixes.
Description
Fixed action link title attribute that was broken.
Added ability to specify additional custom attributes for action link.
Updated documentation.
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
This change requires a documentation update

Coverage decreased (-0.007%) to 73.543% when pulling ec3298d9a2435bb0d7c7057b35f28c777f9121dc on feature/add_custom_action_link_attributes into c6b482a3e43757a93099f5405fce63f4ecfd47b0 on develop.

Coverage decreased (-0.007%) to 73.543% when pulling ec3298d9a2435bb0d7c7057b35f28c777f9121dc on feature/add_custom_action_link_attributes into c6b482a3e43757a93099f5405fce63f4ecfd47b0 on develop.


No module named reportssimple_history

When I try to run makemirations I'm having this problem:
(executiveENV) joao@joao-VirtualBox:~/projetos/executive_backend$ python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/joao/projetos/executiveENV/local/lib/python2.7/site-packages/django/core/management/init.py", line 385, in execute_from_command_line
utility.execute()
File "/home/joao/projetos/executiveENV/local/lib/python2.7/site-packages/django/core/management/init.py", line 354, in execute
django.setup()
File "/home/joao/projetos/executiveENV/local/lib/python2.7/site-packages/django/init.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/joao/projetos/executiveENV/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/home/joao/projetos/executiveENV/local/lib/python2.7/site-packages/django/apps/config.py", line 87, in create
module = import_module(entry)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named reportssimple_history

Sorry guys... It was my mistake:
INSTALLED_APPS = (
# othes
'reports'        <====== I forgot the comma here
'simple_history'
)


use from a controller?

I need to access my translation from a controller, is this possible?

You should be able pull in the i18ng service and use the t method. Something like this:
angular.module('myModule')
  .controller('myCtrlr', function($scope, i18ng) {
    $scope.translatedText = i18ng.t('somekey')
  }])

I've updated the readme to reflect this: https://github.com/mikefrey/i18ng#service


⚠ Bofrost.be has degraded performance

In 5b7db1a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1430 ms

Resolved: Bofrost.be performance has improved in ad4ebd8.


add stuff to website

[ ] make it work on progl.ai
[ ] our core list of references (progressive learning, modern machine learning)
[ ] announce weekly seminar series (noon eastern wednesday)
[ ] figure out how to do them (eg, do we do my zoom room? do we make it password protected?)
[ ] link to progressive-learning repo
[ ] list core collaborators (basically co-authors, i will clarify)

[ ] add contact info - email address


Streaming server with context graph produces cut transcripts

Streaming server with context graph produces cut transcripts if the value of context-score exceeds some threshold (2.5 for example). This started to happen after  commit #468. It can be reproduced with various model (conformer, zipformer) for lengthy audio and large context-score.

Thanks! I will have a look at this issue.

I'm having the same issue. It seems log_prob gets a big negative score and hyp with less tokens always "wins" which results in lost transcript.


HBASE-23163 Refactor HStore.getStorefilesSize related methods

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 46s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:yellow_heart:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

:green_heart:
mvninstall
7m 31s
master passed

:green_heart:
compile
1m  8s
master passed

:green_heart:
checkstyle
1m 38s
master passed

:green_heart:
shadedjars
5m 56s
branch has no errors when building our shaded downstream artifacts.

:green_heart:
javadoc
0m 44s
master passed

:blue_heart:
spotbugs
5m  3s
Used deprecated FindBugs config; considering switching to SpotBugs.

:green_heart:
findbugs
5m  0s
master passed

_ Patch Compile Tests _

:green_heart:
mvninstall
6m 29s
the patch passed

:green_heart:
compile
1m  8s
the patch passed

:green_heart:
javac
1m  8s
the patch passed

:green_heart:
checkstyle
1m 38s
the patch passed

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
shadedjars
5m 15s
patch has no errors when building our shaded downstream artifacts.

:green_heart:
hadoopcheck
19m 35s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

:green_heart:
javadoc
0m 41s
the patch passed

:green_heart:
findbugs
4m 34s
the patch passed

_ Other Tests _

:green_heart:
unit
162m 47s
hbase-server in the patch passed.

:green_heart:
asflicense
0m 35s
The patch does not generate ASF License warnings.

232m 56s

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-719/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/719

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 73e62fcba4a2 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-719/out/precommit/personality/provided.sh

git revision
master / 9e628b715d

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-719/1/testReport/

Max. process+thread count
4564 (vs. ulimit of 10000)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-719/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

+1


Add UnaryUnion and Union

Thanks !
Unless someone have an opinion on the fact of not using unary_union on self but on a geometry given in argument, it looks good to me !


clearkey EME, play webm files only?

Hi
not an issue but a clarification request.. I see that clearkey eme example ) uses a webm file.. will it work with a mp4 file?
if so, how should the file be encrypted?
thank you

Yes: EME works with MP4. See detail here.


fixes based on go-fuzz runs

I did some work [1] with https://github.com/dvyukov/go-fuzz and found and fixed couple of crashers; at least one of which as a DoS vector.
[1] https://github.com/ryancox/go-collectd/blob/fuzztests/network/fuzz.go ... I'll submit a PR for this when the cdtime PR is merged in

Awesome, thanks @ryancox!


actually expose the dns port in the skydns container...

without this (and unless i'm missing something obvious) thing not as usefull as it could ...
/cc @pietern
/cc @thockin

oops. checkout from bad branch. rebasing in a bit
.

superceeded by #7388


Mocking Multiple Values Fails Randomly

When mocking commands like XAdd with multiple values the test will fail randomly depending on the order of the values the mock and client decide to put them in. Is there a way to validate that these commands have the right values without caring about the order?
Example:
func DemoFunc(db *redis.Client) (string, error) {
    resp := db.XAdd(&redis.XAddArgs{
        Stream: "foo",
        ID: "*",
        Values: map[string]interface{}{
            "foo": "bar",
            "test": "baz",
        },
    })
}

func TestDemoFunc(t *testing.T) {
    db, mock := redismock.NewClientMock()

    mock.ExpectXAdd(&redis.XAddArgs{
        Stream: "foo",
        ID: "*",
        Values: map[string]interface{}{
            "foo": "bar",
            "test": "baz",
        },
    })

    got, err := DemoFunc(db)

    if err := mock.ExpectationsWereMet(); err != nil {
        t.Error(err)
    }
}

This code will randomly either pass or fail.

I needed to figure this out today. For my use case it was sufficient to set mock.MatchExpectationsInOrder(false) as in the example: https://github.com/go-redis/redismock/blob/master/example/example.go#L72-L74

I have this problem too - this is a problem for any unordered queries i.e coming from a map.
Unless I have it wrong, that flag only allows you to run the redis commands out of order, however in a single command with unsorted data (in my immediate case SINTER), it will not fix the problem.
I would appreciate any suggestions if anyone has one.


Model trained in the GUI but run in the command window produces vastly different, poor results

Describe the bug
I am trying to run a model that I trained in the GUI, in the command window of Anaconda Prompt and the results from the model are vastly different than when I run the model in the GUI. The model significantly underperforms and I am wondering if there is a way to have the model perform as it does in the GUI so I don't have to individually apply the model to each image. I am using the model to trace water droplets. Let me know if there is anything that I am not doing correctly as I am still fairly new to cellpose
This is the image I am testing

This is the mask I recieve when I run the model in the GUI

And this is the mask I get when I run the exact same model, but from the Anaconda Prompt command window with the below command

Run log
(base) C:\Users\dnolan>python -m cellpose --dir C:\Users\dnolan\Desktop\20230713_gramnegs_repeat --pretrained_model C:\Users\dnolan.cellpose\models\10droplets --save_png --verbose
2023-07-28 13:23:18,426 [INFO] WRITING LOG OUTPUT TO C:\Users\dnolan.cellpose\run.log
2023-07-28 13:23:18,427 [INFO]
cellpose version:       2.2.3.dev1+g59bd0cd
platform:               win32
python version:         3.10.9
torch version:          2.0.1+cpu
2023-07-28 13:23:18,427 [INFO] >>>> using CPU
2023-07-28 13:23:18,445 [INFO] >>>> running cellpose on 86 images using chan_to_seg GRAY and chan (opt) NONE
2023-07-28 13:23:18,445 [INFO] >>>> loading model C:\Users\dnolan.cellpose\models\10droplets
2023-07-28 13:23:18,581 [INFO] >>>> model diam_mean =  30.000 (ROIs rescaled to this size during training)
2023-07-28 13:23:18,581 [INFO] >>>> model diam_labels =  52.5
2023-07-28 13:23:18,584 [INFO] >>>> using diameter 30.000 for all images
2023-07-28 13:23:18,586 [INFO] 0%|          | 0/86 [00:00<?, ?it/s]
2023-07-28 13:23:32,744 [INFO] 1%|1         | 1/86 [00:14<20:03, 14.16s/it]
2023-07-28 13:23:47,396 [INFO] 2%|2         | 2/86 [00:28<20:13, 14.45s/it]
2023-07-28 13:24:02,825 [INFO] 3%|3         | 3/86 [00:44<20:36, 14.90s/it]
2023-07-28 13:24:18,128 [INFO] 5%|4         | 4/86 [00:59<20:34, 15.06s/it]
2023-07-28 13:24:33,456 [INFO] 6%|5         | 5/86 [01:14<20:27, 15.15s/it]
2023-07-28 13:24:48,694 [INFO] 7%|6         | 6/86 [01:30<20:14, 15.18s/it]
2023-07-28 13:25:04,638 [INFO] 8%|8         | 7/86 [01:46<20:19, 15.43s/it]
2023-07-28 13:25:22,854 [INFO] 9%|9         | 8/86 [02:04<21:12, 16.32s/it]
2023-07-28 13:25:46,367 [INFO] 10%|#         | 9/86 [02:27<23:49, 18.57s/it]
2023-07-28 13:26:03,050 [WARNING] no masks found, will not save PNG or outlines
2023-07-28 13:26:03,051 [INFO] 12%|#1        | 10/86 [02:44<22:46, 17.99s/it]
2023-07-28 13:26:18,796 [INFO] 13%|#2        | 11/86 [03:00<21:37, 17.30s/it]
2023-07-28 13:26:34,454 [INFO] 14%|#3        | 12/86 [03:15<20:43, 16.80s/it]
2023-07-28 13:26:50,158 [INFO] 15%|#5        | 13/86 [03:31<20:02, 16.47s/it]
2023-07-28 13:27:05,659 [INFO] 16%|#6        | 14/86 [03:47<19:24, 16.18s/it]
2023-07-28 13:27:21,081 [INFO] 17%|#7        | 15/86 [04:02<18:52, 15.95s/it]
2023-07-28 13:27:36,800 [INFO] 19%|#8        | 16/86 [04:18<18:31, 15.88s/it]
2023-07-28 13:27:52,237 [INFO] 20%|#9        | 17/86 [04:33<18:06, 15.75s/it]
2023-07-28 13:28:07,618 [INFO] 21%|##        | 18/86 [04:49<17:43, 15.64s/it]
2023-07-28 13:28:23,189 [INFO] 22%|##2       | 19/86 [05:04<17:26, 15.62s/it]
2023-07-28 13:28:38,846 [INFO] 23%|##3       | 20/86 [05:20<17:11, 15.63s/it]
2023-07-28 13:28:54,293 [INFO] 24%|##4       | 21/86 [05:35<16:52, 15.57s/it]
2023-07-28 13:29:09,927 [INFO] 26%|##5       | 22/86 [05:51<16:37, 15.59s/it]
2023-07-28 13:29:25,400 [INFO] 27%|##6       | 23/86 [06:06<16:20, 15.56s/it]
2023-07-28 13:29:40,924 [INFO] 28%|##7       | 24/86 [06:22<16:03, 15.55s/it]
2023-07-28 13:29:56,505 [INFO] 29%|##9       | 25/86 [06:37<15:48, 15.56s/it]
2023-07-28 13:30:12,303 [INFO] 30%|###       | 26/86 [06:53<15:37, 15.63s/it]
2023-07-28 13:30:27,894 [INFO] 31%|###1      | 27/86 [07:09<15:21, 15.62s/it]
2023-07-28 13:30:45,449 [INFO] 33%|###2      | 28/86 [07:26<15:39, 16.20s/it]
2023-07-28 13:31:03,471 [INFO] 34%|###3      | 29/86 [07:44<15:54, 16.75s/it]
2023-07-28 13:31:19,580 [INFO] 35%|###4      | 30/86 [08:00<15:27, 16.56s/it]
2023-07-28 13:31:38,100 [INFO] 36%|###6      | 31/86 [08:19<15:42, 17.14s/it]
2023-07-28 13:31:54,837 [INFO] 37%|###7      | 32/86 [08:36<15:19, 17.02s/it]
2023-07-28 13:32:10,129 [INFO] 38%|###8      | 33/86 [08:51<14:34, 16.50s/it]
2023-07-28 13:32:26,623 [INFO] 40%|###9      | 34/86 [09:08<14:18, 16.50s/it]
2023-07-28 13:32:44,995 [INFO] 41%|####      | 35/86 [09:26<14:30, 17.06s/it]
2023-07-28 13:33:05,680 [INFO] 42%|####1     | 36/86 [09:47<15:07, 18.15s/it]
2023-07-28 13:33:25,863 [INFO] 43%|####3     | 37/86 [10:07<15:19, 18.76s/it]
2023-07-28 13:33:46,242 [INFO] 44%|####4     | 38/86 [10:27<15:23, 19.25s/it]
2023-07-28 13:34:08,971 [INFO] 45%|####5     | 39/86 [10:50<15:53, 20.29s/it]
2023-07-28 13:34:30,267 [INFO] 47%|####6     | 40/86 [11:11<15:47, 20.59s/it]
2023-07-28 13:34:56,051 [INFO] 48%|####7     | 41/86 [11:37<16:36, 22.15s/it]
2023-07-28 13:35:13,815 [INFO] 49%|####8     | 42/86 [11:55<15:16, 20.83s/it]
2023-07-28 13:35:29,914 [INFO] 50%|#####     | 43/86 [12:11<13:54, 19.41s/it]
2023-07-28 13:35:46,555 [INFO] 51%|#####1    | 44/86 [12:27<13:00, 18.58s/it]
before running any Cellpose functions.

Hi @daniel-nolan142 can you verify that all of the settings in the GUI are being used when you call the command line program? Channels, cell size, flow_threshold, cellprob_threshold all might change your results.

I have experienced this same issue.  I get excellent results using the GUI with cellpose 2.2.2 when trained on a 1080 Ti for our lattice lightsheet data.  However, I get a lower quality segmentation that picks up way more background noise when I process 3d stacks with the same model on our A100 headless nodes.  Can you please output the segmentation parameters used for the GUI mode so that the results match when running a big batch of images in headless processing mode?

Hi. I'm newby for the cellpose and very appreciate for great work of developers and community.
I think a similar point in this thread; GUI works excellently, but CLI might be different, at least for my data.
I'm using version 3.0.5 and the codes in CLI are below;
from cellpose import core, denoise, io, utils
model = denoise.CellposeDenoiseModel(gpu=False,model_type="cyto3",restore_type="denoise_cyto3")
masks, flows, styles, diams = model.eval(imgs, diameter=None, channels=[0,0],niter = 2000)
io.masks_flows_to_seg(fnames_tif, masks, flows, fnames_save, diams=diams)

These are almost similar to the demo notebooks with small modifications I think.
In response to @mrariden 's comments, flow_threshold and cellprob_threshold should be default values (0.4 and 0) if I use this code.
On the other hand, in GUI, after using the "denoise" function, I set these parameters as the channel to segment is "0: gary" (because my image is gray-scale), cell size is 9.4, this was automatically calibrated, flow_threshold was 0.4 and cellprob_threshold was 0 for the same image.
I checked the intermediate variable diams (2D-array? I think this might be a single float value...) in CLI, and it might be correctly determined because the values in this variable were proper (max value is ~7).
Probably, the auto-detected value of cell diameter is not reflected for the estimation step in CLI.
I got an almost similar result by using 30 for the cell diameter in GUI.
I'd really like to know how to match the EXCELLENT result with GUI to that with CLI!

Please set the diameter when running the CellposeDenoise model to what you get from the calibrate button in the GUI, or ideally you actually know the diameter/can estimate it yourself based on the image. You are not setting the diameter in your code at all here so it defaults to 30, which you are saying is wrong

Also the output of the CellposeDenoise model is not diameter: https://cellpose.readthedocs.io/en/latest/restore.html#cellposedenoisemodel

Thank you for your quick reply!
As your comment, that it is not set the cell diameter if diameter = None, does it mean that I need another step to automatically estimate cell diameters? If I will not perform denoising, is it automatically estimated?

Correct yes the Cellpose model can estimate it for you but it's very much not recommended to do that in noisy and blurry images because the segmentation model is not trained on these images. Also generally you should approximately know your diameter and use that because Cellpose is not perfect at estimating it.

Thank you for a clear explanation and I'm sure it.
I was reading the API docs and the diameter estimation could be perform firstly with Cellpose and then the actual cell detection will be. I'll give that a try if I need to.
Again, Thank you so much!

Hello, I am now trying to convert the CellposeDenoiseModel() to ONNX format.
import torch.onnx
from cellpose.denoise import DenoiseModel, CellposeDenoiseModel
from cellpose.models import model_path
import cellpose.denoise as Dn
model = CellposeDenoiseModel(
pretrained_model=False,
model_type="cyto2_cp3", restore_type="denoise_cyto3",
chan2_restore=False)
model_paths_dn = model_path("denoise_cyto3")
model_path_cn = model_path("cyto2_cp3")
model.dn.net.load_model(model_paths_dn)
model.cp.net.load_model(model_path_cn)
model.eval()
The problem here is that I couldn't get the network model. It is not like in DenoiseModel or CellposeModel, where the net is already based on CPnet.
Does anyone have any ideas?

correct it is a combination of the two models, we will not support ONNX exporting.
regarding different predictions in GUI vs CLI, please comment in issue #972


Use Riverpod in an App with GetIt and BLoC while migrating

Is your feature request related to a problem? Please describe.
Currently I have a kind of big app using Flutter BLoC as state management. I'm thinking in moving to Riverpod, but I need a smooth migration, making BLoC/GetIt and Riverpod live together for a while.
New features will be written in Riverpod while old ones will be migrated slowly. In this case, it could happen that a service/repository consumed by a BLoC will be replaced from GetIt to Provider. The problem is that I don't have a context neither a ProviderScope inside the BLoC to read it.
Describe the solution you'd like
A way to access current providers from BLoC while migrating.
There are some approaches here and here, but it looks as a global ProviderContainer is not a good practice.
Describe alternatives you've considered
I'm considering having a ProviderContainer as global while migrating is done using an UncontrolledProviderScope. After migrating, move to a regular ProviderScope.

@David-Mou Hi! A personal question. I wonder who forced you migrate from the Flutter bloc to Riverpod?

Just exploring possibilites and also reduce the boilerplate.
Apart of that, I like more how Riverpod is handling the state management.

Could you explain specifically what you would like?
Is it being able to watch package:provider's providers inside package:riverpod's providers?

Current situation:
class Repository {
 ...
}

class SomeBloc extends Bloc<Event, State> {
    SomeBloc(Repository repository)  {}
}

GetIt.registerSingleton<Repository>(Repository());
GetIt.registerFactory<SomeBloc>(() => SomeBloc(GetIt<Repository>()));

What I will have while migrating:
class Repository {
 ...
}

// GetIt.registerSingleton<Repository>(Repository()); <- This is now provided by provider
final repositoryProvider = Provider((_) => Repository());

class SomeBloc extends Bloc<Event, State> {
    // I want to get here the repository currently provided by repositoryProvider
    SomeBloc(Repository repository)  {}
}

GetIt.registerFactory<SomeBloc>(() => SomeBloc(GetIt<Repository>()));

I hope this clarify the situation.
While creating this example I realize that I could avoid the factory from GetIt and create manually the BLoC in the widget tree, making the widget a ConsumerWidget and passing the ref to the BLoC created... Would this be the best practice?

Is there a reason why SomeBloc would not be in a Riverpod provider too?

If I don't misunderstand how Riverpod works, that code will generate a singleton for the BLoC.
That means that I always have the same instance of the BLoC when I return again to the same screen instead of start again from initial state...
Could we replicate that factory behaviour with autodispose?

If I don't misunderstand how Riverpod works, that code will generate a singleton for the BLoC.
That means that I always have the same instance of the BLoC when I return again to the same screen instead of start again from initial state...
Could we replicate that factory behaviour with autodispose?

Yes autoDispose should do the trick

Thanks! This should work as expected then!


Unexpected EOF

FTP OS: Windows
FTP Server: FileZilla
Computer OS: Windows
FluentFTP Version: v34.0.0
Unexpected EOF when uploading file to remote machine.
" System.Net.Security:  Received an unexpected EOF or 0 bytes from the transport stream."
Getting that ^ error when uploading a file to server, entire console output is included in pastebin link.
Not sure if I am doing something wrong, the same file is being uploaded to several machines but this only seems to happen on  a few.
Thanks!
Logs :
https://pastebin.com/VSCYBmQj

The actual error on FileZilla shows a TLS session resumption error
(000036)04/06/2021 10:08:37 - service (<IP_ADDRESS>)> 200 Type set to I
(000036)04/06/2021 10:08:37 - service (<IP_ADDRESS>)> EPSV
(000036)04/06/2021 10:08:37 - service (<IP_ADDRESS>)> 229 Entering Extended Passive Mode (|||50095|)
(000036)04/06/2021 10:08:37 - service (<IP_ADDRESS>)> STOR /JJW2021.deskthemepack
(000036)04/06/2021 10:08:37 - service (<IP_ADDRESS>)> 150 Opening data channel for file upload to server of "/JJW2021.deskthemepack"
(000036)04/06/2021 10:08:37 - service (<IP_ADDRESS>)> 450 TLS session of data connection has not resumed or the session does not match the control connection

Well looks like this relates to #311 this may have nothing to do with unexpected EOF after all.

Seems that way to me too.


MessageBox "No Results After 50 Retries. Disabling Reddit Wallpaper Changer."

On my office, sometimes the internet gone for long time the night, waiting for the router to reboot :(
On the morning, when I come back, I see lots of messagebox on my desktop (more than 50).
I propose to replace the message with a BalloonTipIcon to avoid that.
Replace on RWC.cs line 640:
MessageBox.Show("No Results After 50 Retries. Disabling Reddit Wallpaper Changer.", "Reddit Wallpaper Changer: Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
with
taskIcon.BalloonTipTitle = "Reddit Wallpaper Changer";
taskIcon.BalloonTipText = "No Results After 50 Retries. Disabling Reddit Wallpaper Changer.";
taskIcon.ShowBalloonTip(700);```

Thanks for the suggestion. I'll review the code and see about changing it. :)

Changed form message box to notification. Will close once live in the next release.

Live.


Secutree asset 4290 bugfix

Proposed changes

Related issues

Checklist

[x] I consider the submitted work as finished
[x] I tested the code for its functionality
[ ] I wrote test cases for the relevant uses case
[ ] I added/update the relevant documentation (either on github or on notion)
[ ] Where necessary I refactored code to improve the overall quality

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

I think this is a relay compiler error, you may need to re-run the yarn relay command


Specified Power Curve Editing

A new specified power curve cant be created and a blank specified power curve template with a turbulence and denstiry blank also cannot be edited. Therefore the GUI can only edit/use precreated xml specified power curves.

Solved problem. There was an New Button but it was hidden beneath the edit button. Have moved it so it is now above however it is in the same line as Diameter as I don't know how to edit the height of the fileopenentry box.

https://github.com/MVAppleby/PCWG/commit/5139678fd22d3d40856e37d0a825e6f4773dc23a

(Just in case I misunderstood the issue)

yup, seems fine.


FBM get3 doesn't work

Looks like it should be Vector3
https://github.com/FarazzShaikh/three-noise/blob/e12385a2b12f87417eaa3a88f91bbac708bcd125/src/FBM.js#L83
Error message:
three-noise.module.js:423 Uncaught Input to Perlin::get3() must be of type THREE.Vector3

Indeed it should, will fix

Fixed in release 1.1.1


Add spin-mutex Lua API

Standalone mutex API
Explicit locks for SharedTable (and internal recursive spin-mutex)

We had decided don't implement it


Cleanup & CameraBehavior Scaffolding

We need to talk about how to approach a few things outlined in the changes. To be clear, I do not want this merged into master until we iterate after dialogue.

There is an issue with the camera, where things that are rendered to it after a certain point aren't present, and are instead transparent. This is shown in these images. I'm investigating why right now.

This doesn't happen with a smaller map:

(TMX used for testing: https://a.pomf.cat/lzaoib.tmx)

And fixed. SurfaceLayers was calling get_size() on the Camera, which means that it was calling the parent function and returning the scale-up resolution as the size of the Surface, instead of the size of the source surface. Adding a get_size() function that returned the right size fixed this.

Hm, @txanatan, that sounds like we're walking into murky waters. Let's have a long convo about this today.

We may have to clarify some variables more descriptive, e.g., source_surface doesn't tell me much.

Yeah you should be sending source surface, not camera!

I've resolved this issue. :)

An issue with your change is camera.update() is no longer being called as blitting doesn't go through the camera, instead directly to it's source surface. This means that when scroll_to() isn't being called (when the character isn't moving) updates won't be applied, breaking the character animation. Adding a call to camera.update() after the layers.render() call will fix this.


Fix all the broken links in the navbar tree

With the current navbar tree generation lots of links are actually broken/don't exist. The navbar names that do not actually point to real files should not be marked with a link to those files.

One approach can be to flatten the module hierarchy, e.g.

Mathlib

Mathlib.Algebra

Mathlib.Algebra.Group

Mathlib.Algebra.Group.Basic
Mathlib.Algebra.Group.Defs

Mathlib.Algebra.Ring

MAthlib.Algebra.Ring.Basic

into

Mathlib

Mathlib.Algebra.Group.Basic
Mathlib.Algebra.Group.Defs
MAthlib.Algebra.Ring.Basic

which reflects the actual parent-children relation between modules.

I don't think that flattening is a good idea mathlib, we've got ~2000 modules.

I've also noticed two other regressions:

The module names no longer fit in the sidebar (which is an issue now that the full names are shown):

The navbar used to remember the position when navigating to another page (i.e., on loading it scrolls down to the current file).  This doesn't work for me anymore.


Recognize inherited DynamoDBAttributes on properties

Fix attribute inheritance issue with DynamoDB in object persistence model
Description
This pull request addresses the issue where DynamoDBAttributes on properties were not being inherited in the object persistence model. The fix involves updating the GetAttributeObjects method to use CustomAttributeExtensions.GetCustomAttributes (Attribute.GetCustomAttributes for .Net Framework) instead of MemberInfo.GetCustomAttributes.
Motivation and Context
This change is required to ensure correct serialization and deserialization of objects when using inheritance in the AWS SDK .NET with DynamoDB. This PR fixes issue #2590.
Testing
The changes were tested by creating a parent class with a property decorated with a DynamoDBProperty attribute and a child class that inherits from the parent class and overrides the property. The SDK now recognizes the attribute in the property in the inherited class as expected.
Screenshots (if appropriate)
Types of changes

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

Checklist

[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[x] I have read the README document
[x] I have added tests to cover my changes
[x] All new and existing tests passed

License

[x] I confirm that this pull request can be released under the Apache 2 license

As reported by user, per MemberInfo.GetCustomAttributes Method, inherit parameter is ignored for properties and events.

This was manually merged and released today as version 3.7.103 of AWSSDK.DynamoDBv2.
Thanks again for your contribution!


Support Video and Audio files - Gathering Records Log

As a ministry coordinator
I want audio and video files to be uploaded and deduplicated
so that the files can be added to the Harms Package

Assumptions & Scope
In the Gathering Records Log, we need to support the upload and download of video (e.g., AVI, MP4, MOV) and audio (e.g., MP3, WAV) files. These files will be incompatible, but should still be able to run through dedupe.
These files would follow all the same rules and functionality as other incompatible files in the Gathering Records Log.
Upload Limit to be 1GB
What is in and not in scope?
Acceptance Criteria
**Scenario 1: Upload and Dedupe Audio file **

GIVEN a ministry coordinator is on the Gathering Records log
WHEN the ministry coordinator uploads an audio file to the Gathering Records log (e.g., MP3, WAV)
THEN the file will be deduplicated
AND the file will be shown as incompatible

**Scenario 2: Upload and Dedupe Video file **

GIVEN a ministry coordinator is on the Gathering Records log
WHEN the ministry coordinator uploads a video file to the Gathering Records log (e.g., MP4, MOV)
THEN the file will be deduplicated
AND the file will be shown as incompatible

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team?s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@abin-aot @lmullane @liseandtea @m-prodan - enable audio and video files in the gathering record log ticket.

Separate task needs to be created for downloading to Harms.

Per discussion at refinement - this won't be a part of the gathering records release. Will need a separate user story to address downloading harms.


Don't force standard variant on TextField

Material-UI allows customizing default props for components in the theme. This library is currently overriding the theme-provided variant prop by defaulting to 'standard' internally.

Thanks! I have no idea why I added this back. This is not the first PR to undo this change...


Fixed broken image to diagram in README

The first verb should be in present tense :) I have edited it for you


Gulp  failed with error code 1

Environment

Server - TFS

Account Name: Dark Blue Sheep (https://dbsheep.visualstudio.com/)
Build Definition Name: MyPos Portal-ASP.NET Core-CI-Dev-Minifcation

Agent - Hosted:

Hosted 2017

Issue Description
I'm trying to integrate Gulp  to minify and bundle our JS/CSS assets. I'm getting the following error though:
2018-03-18T17:55:28.0821135Z ##[error]Gulp failed with error: C:\npm\prefix\gulp.cmd failed with return code: 1
Now I have seen in a previous #3660 that this was reported, but I have tried the suggestions but to no avail. Am I missing something?

Here is the above config options:
npm custom (install gulp)

npm custom (install gulp cli)

npm install

Building & Minification (Where the error occurs)

Error logs
Shows where it errors:

Full Error Log:
2018-03-18T17:55:25.9110420Z [command]C:\npm\prefix\gulp.cmd --gulpfile D:\a\1\s\PosPortal.Web
2018-03-18T17:55:28.0581667Z [17:55:28] Local gulp not found in D:\a\1\s
2018-03-18T17:55:28.0582030Z [17:55:28] Try running: npm install gulp
2018-03-18T17:55:28.0821135Z ##[error]Gulp failed with error: C:\npm\prefix\gulp.cmd failed with return code: 1
2018-03-18T17:55:28.0846584Z ##[section]Finishing: Bundling & Minification

gulp is returning 1 (a failure).  The task just runs gulp (which runs your script).

What is the file path for the gulp script file that you are trying to run? From the screenshots above, it appears that the gulp task is being given a directory rather than the file path in the Gulp File Path input.

@bryanmacfarlane  / @scottboehmer 👍
I was being an absolute ninny! Thank you! I changed the following:

Changed the directory to point to the gulfile.js instead of just the directory it lived it.

Also I changed the default taskname to "min" and forgot to reference that in the TFS build.

Sorry for wasting your time guys but thank you for a speedy reply.

np :)

I'm just all of a sudden started to hit this very same issue - the task was setup when I created from the Azure Portal as part of the Quick Start web app process and I've not edited anything on there.
Things I've tried that haven't helped:

Rolled back the Node version from 10.15.3 to an earlier version of Node where the build worked
Switched the agent from Hosted VS2017 to Hosted Ubuntu 1604
Switched the version of the Gulp task from v0 to v1 (Preview)
Disable "Publish to Azure Pipelines/TFS" option

I can run the command locally and the Gulp task runs fine with no errors. Things I've yet to try:

Rollback the latest change in the repo (I can't see anything in particular that would break Gulp, and the fact it runs locally on master suggests it is something related to the Agent)
Use my local machine as an Agent


Imports all function from the parent library

I am not sure if the example in the readme will run without importing all the other functions at the moment.

Alright, I will close the PR then.


Support derived helper?

This is a broad subject. We could start listing what are the different options that we could have to leverage the feature.

Hits widget on another index. Let the user create a hits widget that would get its results from another index.

Closing this as we know the kind of widgets that we are going to propose to be able to use this feature.


cityscape.py did not filter the target domain images

After using prepare_data.m, source domain images and target domain images are recorded in the same trainval.txt.
In the foggy_cityscape.py, source domain images are filtered in _load_image_set_index(), but in cityscape.py, the target domain are not filtered. Do you regard all the images in trainval.txt as source domain ?

I found this problem, too.
If the set of target domains is filtered out, the final result may be much lower than the result claimed in the paper.
I will retest this change。

I've retested this part (filtering out target domain images)
The result is 32.61, which is similar to 34.3 in the paper.


[VS Code] [Audio] HTTPS request failed for SkypeToken: Client network socket disconnected before secure TLS connection was established

Error:
HTTPS request failed for SkypeToken: Client network socket disconnected before secure TLS connection was established
Steps to Reproduce:
1.
2.

Version Data

extensionName
VSLS-Audio

extensionVersion
0.1.91

applicationName
VSCode

applicationVersion
1.49.0

platformName
Windows

platformVersion
10.0.18362

Duplicate of #3206


Fix a bug in DocumentRoot::coalesceIndexPath

if the requesturi is "/", then clear the filesystem cache for
all index files before you get the file statistics for each index file

Hey @bzrk, I guess you placed a new file there and it wasn't served correctly due to an older cache entry?

Hey @kelunik, thanks for the response.
Yes i placed a new index.html file in the document root directory. But the server give me ever the old content.
I'm sure the the problem is not the Cache from DocumentRoot Object. You can see in the Testcase i started a new Server with an empty Cache. I hope you understand my English ;-)

@bzrk Sorry for the long delay. Caching has been reworked in amphp/file@^2, so you can now simply pass a non-caching driver instead, see https://github.com/amphp/http-server-static-content/compare/v1.0.6...v1.0.7

THX


V4 AngularJS ng-model value not work

???

you didn't bother to give a description or anything I could work with.


[RHOAIENG-10454] mock cypress test flake: pipelines.cy.ts 'imports a new pipeline'

RHOAIENG-10454
Description
The reloading of pipelines after uploading a new pipeline in the 2 tests updated here was causing the page to reload and in some cases that reload would impede on the redirect to the pipeline details page.
Test Impact
2 cypress tests were updated to address the issue
Request review criteria:
Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@jpuzz0 The test still ends on the table and not the details page, although now without waiting for the refresh, we don't see the new entry.

When running locally, the browser navigates very briefly to the details page before redirecting back to the table.
I suspect that this will continue to be a flakey test.
Why is the final page not the details page?

@christianvogt
Every time I upload a pipeline via url or yaml in dev, I see the redirect happen, and I've run these 2 tests successfully locally ~10 times in a row, and I am seeing a redirect happen right after the upload for both, why the page reloads in the test I'm not sure, but the assertion is no longer interrupted by refreshing the pipelines fetched.
Since the expectation is that the page redirects and not that the new resource exists in the table, that new resource showing in the table shouldn't matter IMO as the user wouldn't see that until navigating back to the list page anyways.

Agreed that we do not need to wait for the refresh to return. However the test should end on the details page if that's the next page to be asserted. It's still a race condition but now has a smaller chance to occur.

Agreed that we do not need to wait for the refresh to return. However the test should end on the details page if that's the next page to be asserted. It's still a race condition but now has a smaller chance to occur.

@christianvogt should be updated now. Both of these tests land on the pipeline details page now and do not redirect afterwards.

Ran locally to confirm tests pass and land now on the correct page.
/lgtm
/approve


[move][easy/cleanup] Run cargo fmt on move crates

Description
What it says on the tin: cargo fmt keeps shifting these files, and I'd rather not have to keep restoring them after calling fmt in move/ccrates on unrelated diffs.
Test Plan
Everything still works, with no observable change.

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Yes I also ran cargo fmt under external-crates/move while upgrading Rust toolchain version. It seems there is no conflict on most changes.


Save and load model with tunning in automatic_tuning_colab.ipynb

Hey,
I tried the example:
automatic_tuning_colab.ipynb
and if I put at the end
tuned_model.save('Linear_test') #,save_format='tf'
I got the following error.
WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. INFO:tensorflow:Assets written to: Linear_test/assets INFO:tensorflow:Assets written to: Linear_test/assets WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config. WARNING:tensorflow:Model'sinit()arguments contain non-serializable objects. Please implement aget_config()method in the subclassed Model for proper saving and loading. Defaulting to empty config.
I tried to solve it but my knowledge is not enough. After a week of trying I give up. Does anyone know a smarter way to add auto-tuning to the Save and Load the Model?

Hi,
thank you for reporting this issue. I haven't been able to reproduce it immediately, could you please clarify what you are trying to achieve?
For me, adding the following code at the end of the tutorial returns True, i.e., the tuned model can be saved and loaded back, with the same predictions given by the saved an the loaded model.
tuned_model.save('/tmp/tuned_model') #,save_format='tf'

# Load
loaded_tuned_model = tf.keras.models.load_model('/tmp/tuned_model')

# Run predictions
tuned_model_pred = tuned_model.predict(test_ds)
loaded_tuned_model_pred = loaded.predict(test_ds)
# Check if the predictions are the same
assert(tuned_model_pred == loaded_tuned_model_pred).all()

The Tensorflow warnings are not consequential AFAICT.
As all TF-DF models, the loaded models behave differently from the original models (see known issues for details)

I opened the example on COLAB and went step by step. no editing.

I added up to line 14.  the same error again :(
https://colab.research.google.com/drive/1hnFOfu0VQssR2q28TT4_FpPUrsRZBAdS?usp=sharing

Hi, in your screenshot, I'm seeing some warnings but no errors . In fact, both cells completed successfully. The warnings do not impact the main usability of the model as far as I can tell. Is there any issue other than the warnings printing on screen?


TextEditorRevealType.AtTop does not always reveal at top

If the requested range is below the current position in the editor, this will be revealed at the bottom, even if AtTop is requested.
When requesting AtTop, I expect it to be revealed at the top no matter what as far as possible.

@h0rdak I cannot reproduce. Here is what I am trying:

package.json:

{
  "name": "50457",
  "publisher": "alex",
  "version": "0.0.0",
  "engines": { "vscode": "^1.22.0" },
  "activationEvents": [ "*" ],
  "main": "index.js"
}

index.js:

const vscode = require('vscode');

exports.activate = function() {
    const ed = vscode.window.activeTextEditor;
    ed.revealRange(new vscode.Range(9, 0, 9, 0), vscode.TextEditorRevealType.AtTop);
}

test.txt:

This is line number 1
This is line number 2
This is line number 3
This is line number 4
This is line number 5
This is line number 6
This is line number 7
This is line number 8
This is line number 9
This is line number 10
This is line number 11
This is line number 12
This is line number 13
This is line number 14
This is line number 15
This is line number 16
This is line number 17
This is line number 18
This is line number 19
This is line number 20
This is line number 21
This is line number 22
This is line number 23
This is line number 24
This is line number 25
This is line number 26
This is line number 27
This is line number 28
This is line number 29

I then position the editor to show line number 29 and proceed to reload the window. Line number 10 is correctly shown at the top of the editor:


Formatting changes in Report Panel

Please make the following format changes in the Report panel:

Capitalize the word presenting what is being measured:

area should be Area
length should be Length
count should be Count

Lower case the units of measure:

Miles should be miles
Acres should be acres
Kilometer should be km
Sq.Km. is preferred to be km^2 -- is it possible to have text be superscript that it looks like this:

There is an unnecessary space on the point counts. only add a space when a summary value requires a units of measure.

@jessnoo We have implemented the changes and will include in next release


Coucou

Hello @Gottek We have no plans to modify the README at this time. Please feel free to file an issue if you believe there is something to be addressed.


Refactoring the entire project

@SabriHamda Please update the PR name to Refactoring the ....

@SabriHamda Accepted, ready to merge.


rioxarray as dependency

Im not entirely shure if this is an issue, but anyways. At the moment there are two lists of requirements. One is in setup.py and the other in requirements.txt. These two lists differ and i am not completely sure if that should be the case. rioxarray for example is not present in setup.py but is listed in requirements.txt. Can't we import the requirements in setup.py from requirements.txt, so we only have to maintain a single list?

I think what sometimes happens is we introduce optional dependencies for certain methods/functions. Setup.py includes everything that is necessary to be able to import the package, whereas requirements can include some optional stuff for specific methods that is then included in the requirements file for e.g. testing. These optional imports are generally contained within the functions/wrapped in try/excepts or put in files that are not imported directly.
Having said that, rioxarray is a top level import so i think should be listed in setup.py as well.

I think @martinvonk fixed something for optional dependencies in pastas and will do this for hydropandas. So maybe he can implement this for nlmod as well?

In requirements.txt are only the requirements needed for the tests. Therefore we can delete all the requirements that are allready in setup.py. This is what I have done in Pull Request #81


UP044 false positive around PEP 692 TypedDict **kwargs type hints

Since ruff 0.7.2 the code below:
class KwargsDict(TypedDict):
    foo: int
    bar: int

def fun(
    **kwargs: Unpack[KwargsDict],
) -> None: ...

Triggers this error:
UP044 [*] Use `*` for unpacking

I don't think the star syntax is allowed in this case though, see: https://peps.python.org/pep-0692/#introducing-a-new-syntax
And making this change triggers another Ruff error:
SyntaxError: Starred expression cannot be used here Ruff

Thanks for reporting this and linking to the relevant PEP section. @diceroll123 are you interested in submitting a fix for the new rule?


Download links for compose and CLI are old version

Rancher Versions:
Server: v1.3.0
Steps to Reproduce:
Use download links to download compose/CLI, but old versions are downloaded.
Results:
rancher-compose v0.12.0
cli: v0.4.0
Expected:
rancher-compose v0.12.1
cli: v0.4.1

Tested with v1.3.1-rc1. Rancher-compose download links point to v0.12.1 for Mac/Linux/Windows
Rancher CLI download links point to v0.4.1 for Mac/Linux/Windows


fix(leaderboard): move group reducer to status board

Because it intuitively belongs next to group-by selector. And then there's more room in the chart itself. Also, beautified the status board a bit

Here is the screenshot from GDP branch to preview that 3 dropdowns don't even fit in a line. And for some reason it's not clickable, most likely due chart interactivity.


Gate ControlledQubitUnitary not supported on device braket.local.qubit

Describe the bug
It mentions on the plugin site that all PennyLane operations are supported. https://amazon-braket-pennylane-plugin-python.readthedocs.io/en/latest/devices/braket_local.html#supported-operations
While running the QuantumPhaseEstimation template from Pennylane on the local device, this error is raised:
raise DeviceError(
pennylane._device.DeviceError: Gate ControlledQubitUnitary not supported on device braket.local.qubit

To reproduce
Use qml.QuantumPhaseEstimation
Expected behavior
Circuit should run without error.
Screenshots or logs
N/A
System information
A description of your system. Please provide:

Amazon Braket Python PennyLane Plugin version:1.11.2.post0
Amazon Braket Python SDK version:1.35.5
Amazon Braket Python Schemas version:1.14.1.post0
Amazon Braket Python Default Simulator version:1.11.5.post0
Python version:3.9.16

Additional context
N/A

Thank you for the issue, and good catch; that documentation is out-of-date. We have since added new operations to the plugin, such as GPi and MS. As well, PennyLane added several new operations, and the plugin doesn't support all of them (for example, ControlledQubitUnitary). If your use case allows it, you'll need to use QubitUnitary with the full matrix of the controlled operation.


new-container should have a "name" parameter - not a "containername" parameter

The "container" is implied

I did this initially to differentiate between the identifying information being provided for the image that the container is based on and the new information used on the container being created.  But if you think just "-Name" is sufficient, we can change it to that.

Just "name" is the standard.  Check Hyper-V commandlets - we use "name" when the cmdlet includes "vm" and "vmname" when the cmdlet does not include "vm"


Title

TITLE
USER STORY
As a user, I want to find a related title about the site so that if change the page in the web browser I can always find it again easily.
ACCEPTANCE CRITERIA
GIVEN a recast of the digital marketing agency website
WHEN I check the browser tab
THEN I see an alternative alternative title chosen by me

job done


Investigate UNETR NN architecture

Issue:

Closes #3

Description:

None

Removed UNETR notebook, since it was refactored into different notebooks in another commits.


Dint 842 removeFromRequisitoinList and requisitionListItems

Description

Related Issue

https://jira.corp.adobe.com/browse/DINT-842
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist

[x] I have signed the Adobe Open Source CLA.
[ x My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

@benjaminkalk this is going to be a pain to diff but can you do the following:
cd packages/storefront-events-collector
npm run format:fix
npm run lint:fix

same for storefront-event-sdk

@aniham we will do lint stuff as a separate PR