addStateDidChangeListener called multiple times when user does no longer exist at app startup

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.4
Firebase SDK version: 7.6.0
Installation method:  Swift Package Manager
Firebase Component: Auth

[REQUIRED] Step 2: Describe the problem
When starting an app that hasn't been started in a while (several days), and where the user has been deleted server side (either by deleting on the server or just having killed the local simulator), the addStateDidChangeListener callback is called multiple times at app startup. The first time it contains the user object that was previously valid but which has been removed server-side since, and the second time it contains nil as to show there is no active user.
As there is no way to see on the user object if it is a "good" one I don't see how I can know if we are actually logged in and good to go, or just temporarily get something back and will receive a nil very soon after. This is problematic for building the interface of the app as the screens depend on if we have a user or not.
Steps to reproduce:
Create a Firebase user in your app.
Kill your app.
Delete the created user from Firebase (or just kill the simulator if running locally)
Wait a few days
Start the app again
Relevant Code:
        listenerHandle = Auth.auth().addStateDidChangeListener { [weak self] _, user in
            if let self = self {

                if user != nil {
                    debugPrint("Has authenticated user")
                } else {
                    debugPrint("Does not have authenticated user")
                }

                self.user = user

                self.hasAuthenticatedUser = user != nil
            }
        }

So the question is: is this behavior normal, and if it is, how can I be sure that the user object I get is an authenticated user?

From what I understand this is correct behavior from the SDK. If you want to ensure your user is valid, you can try to reload the user before performing any operations.
@rosalyntan please correct me if I am wrong.

Just tried it again.:

start emulator
create account in app
kill emulator
restart emulator
restart app

result:
"Received a user, let's see if it is still valid"
[Firebase/Auth][I-AUT000016] Invalid user token detected, user is automatically signed out.
"Received nil user"
"Has authenticated user after get ID token"
So it did it again.

@rosalyntan is this a bug?

Hi @ir-fuel -- this looks WAI to me. The docs state that the addStateDidChangeListener will be triggered immediately when the block is registered as a listener, so it triggers with the cached user at app startup.
As @morganchen12 said, you can check whether the user is valid by calling reload. You mention that reload doesn't return an error, but from your logged debug statements, it looks like it does (since you call getIDToken only if reload returns an error).

Sorry @rosalyntan  but this is not correct. I would like to reopen this :)
As you can see in the logs, reload does not return an error, nor does getIDToken. The listener is called a second time when the async callbacks fired during the first call are still running.
What happens is:

Listener callback is called
I get user
I call reload on that user
Listener callback is called AGAIN with nil user (but the reload callback on the first user I got is still pending)
The first user I received reloads without errors and I call getIDToken.
getIDToken returns without an error making me think I have a valid user.

This is weird behaviour and does not allow me to detect if a user is still valid at startup

Ah yes, it's a typo. Oh boy ...


Unable to run ios build.

I am getting this and tried many way out Please help
/Users/macbook/Documents/FlutterSetup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_unity_widget-0.1.6+8/ios/Classes/FlutterUnityWidgetPlugin.m:100:29: No visible @interface for 'UnityAppController' declares the selector 'setUnityMessageHandler:'

Duplicated, use the XcodePostBuild.cs referred by SachinGanesh https://github.com/snowballdigital/flutter-unity-view-widget/issues/82#issuecomment-565432788

Duplicated, use the XcodePostBuild.cs referred by SachinGanesh #82 (comment)

i checked that solution but that solution is for AR unity file. Can you explain little more?


manifest.mobile.json more complex example

Hello! I am sorry for publishing here but I wonder if there is the full list of parameters supported by manifest.mobile.json somewhere?

Sorry it's not in a more obvious spot, but they are here:
https://github.com/MobileChromeApps/mobile-chrome-apps/blob/master/docs/NextSteps.md


what should happen if someone does a write on an xref source?

Probably fail telling them to update the target of the xref directly instead, or just ignore all other attributes except the "xref" one (if present), which is what we say should happen during the creation of the cross-reference.

Turns normal resource into an xref resource, and if rID1 doesn't exist already this will create rID1 as an xref:
PUT  .../rID1
{ "name": "foo",
"meta": { "xref": ".../rID2"} }
In both cases "name" will be ignored.
In the case of rID1 already existing, ALL attributes (and versions) except rID and xref will be deleted.
PUT  .../rID1  (where rID1 is an xref)
{ "name": "foo" }
what should happen? ignore "name"? error?
Proposal:
1 - on a create of a new Resource, that will be an xref, anything other than rID, meta.xref MUST result in an error
2 - on a conversion from "normal" to "xref" Resource, anything other than rID, meta.xref MUST result in an error
3 - conversion from "xref" to "normal" Resource, meta.xref=null(patch)/missing(put)
- request is:  PUT .../rID1 {} or PATCH .../rID1 {"name":"foo", "meta":{"xref":null}}
- create a new default version
- set createdat to original "createdat" when resource was first created. Yes system needs to save/hide it when it's an xref
- set epoch to: epoch=max(originalEpoch,rID2.epoch)+(1+)
- set modifiedat to "now"
4 - conversion from xref to normal,  GET rID1, remove meta.xref, PUT rID1?nested    IF you want make rID1 look like rID2

12/17:

agreed to proposal


Add a JavaScript Snippet: Throttle Function

Contribute a JavaScript code snippet that implements a throttle function, ensuring a function is called at most once in a specified time period.

Hello @shrinidhihegde3 , could you please assign me this issue?? I've reviewed the requirements and would love to work on this feature.Thank you!

assigned

Hi @shrinidhihegde3
I noticed an import issue with ThreadSynchronizationJava in App.tsx. The file seems to be located in the MultiLanguage folder instead of Java. I plan to update the import path to reflect this. Could you confirm if this is correct?
Thanks!

It is correct you can change


Correctly export the root file-system changes

When doing a checkpoint with --export the root file-system diff was not working as expected. Instead of getting the changes from the running container to the highest storage layer it got the changes from the highest layer to that parent's layer. For a one layer container this could mean that the complete root file-system is part of the checkpoint.
With this commit this changes to use the same functionality as podman diff. This actually enables to correctly diff the root file-system including tracking deleted files.
This also removes the non-working helper functions from libpod/diff.go.
Fixes: #4606

/approve

LGTM
@mheon @TomSweeneyRedHat @giuseppe @vrothberg @baude @QiWang19 @jwhonce PTAL

@adrianreber when a folder inside the container is removed it looks like the complete root file-system becomes part of the checkpoint
podman run --name test -dit alpine
podman exec -l sh -c 'rm -rf srv'
podman container checkpoint -l -e podman.tar
tar tvf podman.tar
...
-rw-r--r-- root/root   5816320 2019-12-06 18:03 rootfs-diff.tar

@adrianreber when a folder inside the container is removed it looks like the complete root file-system becomes part of the checkpoint
podman run --name test -dit alpine
podman exec -l sh -c 'rm -rf srv'
podman container checkpoint -l -e podman.tar
tar tvf podman.tar
...
-rw-r--r-- root/root   5816320 2019-12-06 18:03 rootfs-diff.tar

I cannot reproduce that:
#  podman diff -l ; podman container checkpoint -l -e podman.tar.gz -R
A /SOME_FILE
C /etc
D /root
b564fe891c82fdc019ac167bb7b729128191057e84d546df90e7b7e14ec3012a
#  tar xf podman.tar
# ls -la
drwxr-xr-x.  4 root root   176 Dec  6 18:44 .
dr-xr-x---. 10 root root  4096 Dec  6 14:09 ..
drwxr-xr-x.  2 root root     6 Dec  6 18:34 artifacts
drw-r-xr-x.  2 root root  4096 Dec  6 18:44 checkpoint
-rw-r--r--.  1 root root 50215 Dec  6 18:44 config.dump
-rw-------.  1 root root     0 Dec  6 18:34 ctr.log
-rw-------.  1 root root    16 Dec  6 18:44 deleted.files
-rw-r--r--.  1 root root   791 Dec  6 18:44 network.status
-rw-------.  1 root root 48841 Dec  6 18:44 podman.tar
-rw-r--r--.  1 root root  4096 Dec  6 18:44 rootfs-diff.tar
-rw-r--r--.  1 root root 45766 Dec  6 18:44 spec.dump
#  tar tf rootfs-diff.tar
SOME_FILE

Looks like your Podman binary has not the changes from this pull request. Can you double check?

Looks like your Podman binary has not the changes from this pull request. Can you double check?

Yes, I updated the Podman binary with the changes from this pull request.
It occurs only when rootfsIncludeFiles = []. The following fix seems to work:
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index 25688db5..709e3655 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -622,26 +622,27 @@ func (c *Container) exportCheckpoint(dest string, ignoreRootfs bool) (err error)
 			}
 		}

-		rootfsTar, err := archive.TarWithOptions(c.state.Mountpoint, &archive.TarOptions{
-			Compression:      archive.Uncompressed,
-			IncludeSourceDir: true,
-			IncludeFiles:     rootfsIncludeFiles,
-		})
-		if err != nil {
-			return errors.Wrapf(err, "error exporting root file-system diff to %q", rootfsDiffPath)
-		}
-		rootfsDiffFile, err := os.Create(rootfsDiffPath)
-		if err != nil {
-			return errors.Wrapf(err, "error creating root file-system diff file %q", rootfsDiffPath)
-		}
-		defer rootfsDiffFile.Close()
-		_, err = io.Copy(rootfsDiffFile, rootfsTar)
-		if err != nil {
-			return err
+		if len(rootfsIncludeFiles) > 0 {
+			rootfsTar, err := archive.TarWithOptions(c.state.Mountpoint, &archive.TarOptions{
+				Compression:      archive.Uncompressed,
+				IncludeSourceDir: true,
+				IncludeFiles:     rootfsIncludeFiles,
+			})
+			if err != nil {
+				return errors.Wrapf(err, "error exporting root file-system diff to %q", rootfsDiffPath)
+			}
+			rootfsDiffFile, err := os.Create(rootfsDiffPath)
+			if err != nil {
+				return errors.Wrapf(err, "error creating root file-system diff file %q", rootfsDiffPath)
+			}
+			defer rootfsDiffFile.Close()
+			_, err = io.Copy(rootfsDiffFile, rootfsTar)
+			if err != nil {
+				return err
+			}
+			includeFiles = append(includeFiles, "rootfs-diff.tar")
 		}

-		includeFiles = append(includeFiles, "rootfs-diff.tar")
-
 		if len(deletedFiles) > 0 {
 			formatJSON, err := json.MarshalIndent(deletedFiles, "", "     ")
 			if err != nil {

@rst0git Right. Only deleting files is not working. Thanks. Will fix it.

Can this be merged?

/lgtm

/hold

"PR is unmergable. Do the Tide merge requirements match the GitHub settings for the repo? At least 1 approving review is required by reviewers with write access."

I suggest you remove that requirement... it's duplicated from /approve

/lgtm

Still seems stuck.
I'm going to merge manually.

Oh, nevermind, it went.


How to update route state with own mutation, action and splited store?

Hi,
first of all big thanks for such great framework :).
I'm building data-table-grid like app, and I have some basic sort of "filtering" functionality with text inputs, and I want to sync it's values with query params in route? If someone change query param value it should update input text filter for that, and on the other hand if I update the input it should save it's updated state in the query param.
How to achieve that?
I'm playing with https://github.com/skyronic/vue-spa example app which has splited modules like cart and products, but vuex-router-sync adds its own route module... I dont know how can I supply my "route store" with my own "actions" and "mutations" for update that filter state in change in url and "getters"
There is so many files in that project, I want to provide a live example for you with, but in http://www.webpackbin.com/ I have so errors with file paths...

@cve Glad to hear you're enjoying Vue. 😄  Since this is neither a bug nor a feature request though, I recommend posting your question on either the forum or the Gitter chat.


ffi/function_structs_by_value_generated_test/(2|3) fails on dartk-(strong|weak-asserts)-mac-(debug|release)-arm64

from https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/vm-kernel-nnbd-mac-debug-arm64/1/overview
--- Command "vm" (took 09.000769s):
DART_CONFIGURATION=DebugXARM64 xcodebuild/DebugXARM64/dart --use-slow-path --sound-null-safety --ignore-unrecognized-flags --packages=/opt/s/w/ir/.packages /opt/s/w/ir/tests/ffi/function_structs_by_value_generated_test.dart

exit code:
-6

stdout:
PassStruct1ByteIntx10((-1), (2), (-3), (4), (-5), (6), (-7), (8), (-9), (10))
result = 5
result = 5
PassStruct3BytesHomogeneousUint8x10((1, 2, 3), (4, 5, 6), (7, 8, 9), (10, 11, 12), (13, 14, 15), (16, 17, 18), (19, 20, 21), (22, 23, 24), (25, 26, 27), (28, 29, 30))
result = 465
result = 465
PassStruct3BytesInt2ByteAlignedx10((-1, 2), (-3, 4), (-5, 6), (-7, 8), (-9, 10), (-11, 12), (-13, 14), (-15, 16), (-17, 18), (-19, 20))
result = 10
result = 10
PassStruct4BytesHomogeneousInt16x10((-1, 2), (-3, 4), (-5, 6), (-7, 8), (-9, 10), (-11, 12), (-13, 14), (-15, 16), (-17, 18), (-19, 20))
result = 10
result = 10
PassStruct7BytesHomogeneousUint8x10((1, 2, 3, 4, 5, 6, 7), (8, 9, 10, 11, 12, 13, 14), (15, 16, 17, 18, 19, 20, 21), (22, 23, 24, 25, 26, 27, 28), (29, 30, 31, 32, 33, 34, 35), (36, 37, 38, 39, 40, 41, 42), (43, 44, 45, 46, 47, 48, 49), (50, 51, 52, 53, 54, 55, 56), (57, 58, 59, 60, 61, 62, 63), (64, 65, 66, 67, 68, 69, 70))
result = 2485
result = 2485
PassStruct7BytesInt4ByteAlignedx10((-1, 2, -3), (4, -5, 6), (-7, 8, -9), (10, -11, 12), (-13, 14, -15), (16, -17, 18), (-19, 20, -21), (22, -23, 24), (-25, 26, -27), (28, -29, 30))
result = 15
result = 15
PassStruct8BytesIntx10((-1, 2, -3), (4, -5, 6), (-7, 8, -9), (10, -11, 12), (-13, 14, -15), (16, -17, 18), (-19, 20, -21), (22, -23, 24), (-25, 26, -27), (28, -29, 30))
result = 15
result = 15
PassStruct8BytesHomogeneousFloatx10((-1, 2), (-3, 4), (-5, 6), (-7, 8), (-9, 10), (-11, 12), (-13, 14), (-15, 16), (-17, 18), (-19, 20))
result = 10
result = 10.0
PassStruct8BytesMixedx10((-1, 2, -3), (4, -5, 6), (-7, 8, -9), (10, -11, 12), (-13, 14, -15), (16, -17, 18), (-19, 20, -21), (22, -23, 24), (-25, 26, -27), (28, -29, 30))
result = 15
result = 15.0
PassStruct9BytesHomogeneousUint8x10((1, 2, 3, 4, 5, 6, 7, 8, 9), (10, 11, 12, 13, 14, 15, 16, 17, 18), (19, 20, 21, 22, 23, 24, 25, 26, 27), (28, 29, 30, 31, 32, 33, 34, 35, 36), (37, 38, 39, 40, 41, 42, 43, 44, 45), (46, 47, 48, 49, 50, 51, 52, 53, 54), (55, 56, 57, 58, 59, 60, 61, 62, 63), (64, 65, 66, 67, 68, 69, 70, 71, 72), (73, 74, 75, 76, 77, 78, 79, 80, 81), (82, 83, 84, 85, 86, 87, 88, 89, 90))
result = 4095
result = 4095
PassStruct9BytesInt4Or8ByteAlignedx10((-1, 2), (-3, 4), (-5, 6), (-7, 8), (-9, 10), (-11, 12), (-13, 14), (-15, 16), (-17, 18), (-19, 20))
result = 10
result = 10
PassStruct12BytesHomogeneousFloatx6((-1, 2, -3), (4, -5, 6), (-7, 8, -9), (10, -11, 12), (-13, 14, -15), (16, -17, 18))
result = 9

stderr:
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=2, si_addr=0x100000017
version=2.14.0-edge.09fbf1ce60d3998665aef7e78ad0634c53290093 (be) (Tue Jun 22 09:18:12 2021 +0000) on "macos_arm64"
pid=39003, thread=5895, isolate_group=main(0x126012200), isolate=main(0x12601ce00)
isolate_instructions=1021efae0, vm_instructions=1021efae0
  pc 0x00000001059d1918 fp 0x000000016e5fa618 Unknown symbol
-- End of DumpStackTrace

--- Re-run this test:
python3 tools/test.py -n dartk-strong-mac-debug-arm64 ffi/function_structs_by_value_generated_test/2

cc @dcharkes

Thanks for reporting!
Duplicate of https://github.com/dart-lang/sdk/issues/46349.


Add Pokedex

Description
this is an extension for search using Pokemon names information of every pokemon using wikidex and poke API
Type of change

New extension

Screenshot

Checklist

[x] I read the contribution guidelines

@solrac97gr, I'm gonna close that PR for now. Please feel free to re-open once you have some changes to review 👍


Scene cruncher

Adds marching cubes crunching for the map scene previewer.

This is nearly done. There is a perfect voxelization from the top down for the scene, but it could be better with a triplanar capture.

I think we can merge this and continue in another PR.


Download By Volume & Merge Chapters by Volume

Description
This pull requests adds the option for the download command to download chapters for the provided volume or volume range. I have also added the option of being able to merge the chapters in the provided volume into the desired output. This is done by leveraging the same logic as the download chapters and merge commands that already existed. It adds new logic to build a map for the volumes and the chapters in each of those volumes. This map is used when merging the files and determining which chapters to download for the volume.
Please merge the following branches first as this branch contains code from those branches:

Fix rate limits
Add search output to .json

This PR was created in error. Please see #8


sysfs: wrap a few more errors

Codecov Report

Merging #151 into master will decrease coverage by 0.1%.
The diff coverage is 30%.

@@            Coverage Diff             @@
##           master     #151      +/-   ##
==========================================
- Coverage   84.79%   84.69%   -0.11%
==========================================
  Files          61       61
  Lines        4848     4854       +6
==========================================
  Hits         4111     4111
- Misses        667      670       +3
- Partials       70       73       +3

Impacted Files
Coverage Δ

host/sysfs/i2c.go
79.33% <28.57%> (-2.18%)
:arrow_down:

host/sysfs/spi.go
73.89% <33.33%> (-0.6%)
:arrow_down:

Continue to review full report at Codecov.

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


Release of the NwdStatic schema

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: diegoalexdiaz:x: aanora01You have signed the CLA already but the status is still pending? Let us recheck it.

@aanora01 you have to sign the CLA as well.


Insert Image Popup Won't Open After Closed

Hello, first of all i need to say big thanks to the Author for this awesome SunEditor.
Currently i have working with Ajax to load SunEditor, all button functionality seem normal, but all popup window won't open after i close window for "insert image".
This error is not occur when i close video or link popup, only after closing "insert image" popup that affecting all of those 3 windows.
I have load main SunEditor Main JS, Lang JS, & CSS inside HTML header.
Am i doing wrong with Ajax load? or something else happen?

I have found the error, it seem caused by SunEditor Option.
When i added imageFileInput: false, this error occurs.

Hi, @jatimyw
Thank you for raising an issue.
The fix will apply to the next version.
Thank you :)


[Feature]: Ability to pause the Ad-hock run on desire step

Is there an existing issue for this?

[X] I have searched the existing issues

What would you like to add?
Ability to pause the Ad-hock run on desire step
Why should this be worked on?
For better debugging, if we have the option to pause the executions on desired steps we can improve the user debugging the test case by a lot.
Other details
No response

REPORTING TIME ZONE :10:21:52+01(GMT) CUSTOMER’S COPY
DATE: 08/02/2022 PRT_CR41T-854107 - SWIFT ACKS-96321547++ DEUTSCHE BANK PRIVAT UND GESCHAFTSKUNDEN++++TIME: 10:21:52
***INSTANCE TYPE AND TRANSMISSION
RCVD++ NOTIFICATION (TRANSMISSION) OF ORIGINAL SENT BY SWIFT (ACK)
RCVD++ NETWORK DELIVERY STATUS
RCVD++ PRIORITY DELIVERY
RCVD++ MESSAGE INPUT REFERENCE
RCVD++ MESSAGE OUTPUT REFERENCE
: NETWORK ACK
: NORMAL
:<PHONE_NUMBER> 52DEUTDEDB26540038813200-CHASUS33-499M
: CHASUS021000021-DEUTDEFF-499M
---------------------------------------- ---------MESSAGE APPLICATION HEADER------------------------------------
RCVD++ SWIFT OUTPUT
RCVD++ SENDER
RCVD++ SENDER BANK NAME
RCVD++ SENDER BANK ADDRESS
RCVD++ SENDER ACCOUNT NAME
RCVD++ SENDER ACCOUNT NUMBER
RCVD++ SENDER SWIFT CODE
: MT103 GPI CASH TRANSFER
: DEUTDEDB265
: DEUTSCHE BANK PRIVAT UND GESCHAFTSKUNDEN
:
:
DB PRIVAT- UND FIRMENKUNDENBANK (DEUTSCHE BANK PGK) 49006 OSNABRUCK, GERMANY
IMMOBILIEN PARTNER GMBH
RCVD++ RECEIVER
RCVD++ RECEIVER BANK NAME
RCVD++ RECEIVER BANK ADDRESS
: DE20265700240038813200
: DEUTDEDB265
: SUN GROUP U.S.A. HARMONY CITY, INC
: CHASE BANK
: 1318 STOCKTON ST, SAN FRANCISCO, CA 94133, U.S.A
MANILA, PHILIPPINES
RCVD++ RECEIVER ACCOUNT NAME : SUN GROUP U.S.A. HARMONY CITY, INC
RCVD++ RECEIVER ACCOUNT NUMBER:737337938
RCVD++ RECEIVER ROUTING NUMBER: 021000021
RCVD++ RECEIVER GPI CODE : CHASUS33
RCVD++ RECEIVER SWIFT CODE : CHASUS33
RCVD++ RECEIVER BANK OFFICER NAME: GUOAN LIU
RCVD++ 3 USER HEAD BLOCK
RCVD++ MESSAGE USER PREFERENCE
RCVD++ VALIDATION FLAG: STP
RCVD++ SERVICE TYPE IDENTIFIER: 111:001
RCVD++ UNIQUE-END-TO-END-TRANSACTION-REFERENCE
UETR: 121: CHA0Q3U8-1F7F-47DE-8XB407-CT0DB5S5U2
-------------------------------------------------MESSAGE TEXT-----------------------------------------
MANDATORY FIELDS: MT 103 GPI
F20: TRANSACTION REFERENCE NUMBER: P458785TM202369M
F23B: BANK OPERATION CODE:CRED
F23E: INSTRUCTION CODE: SDVA
F32A: VALUE DATE/CURRENCY/INTERBANK SETTLED DATE: DATE: 08.02.2022
TIME: 10:21:52
CURRENCY: EUR /#499,000,000.00#
F33B: CURRENCY/INSTRUCTED AMOUNT:
€#499,000,000.00#
F50K: ORDERING CUSTOMER NAME & ADDRESS:
/ DE20265700240038813200
/ IMMOBILIEN PARTNER GMBH
F52A: ORDERING INSTITUTION FI-BIC:
/ DEUTDEDB265
F57A: BENEFICIARY BANK :CHASE BANK
/ 1318 STOCKTON ST, SAN FRANCISCO, CA 94133, U.S.A
F59A: BENEFICIARY CUSTOMER NAME & ADDRESS: SUN GROUP U.S.A. HARMONY CITY, INC.
/ 1318 STOCKTON ST, SAN FRANCISCO, CA 94133, U.S.A.
F70: REMITTANCE INFORMATION
/ INVESTMENT/PROJECT FUNDING
F71A: DETAILS OF CHARGES: OUR
/ SENDER’S CHARGES EUR47030.00
F72: SENDER TO RECEIVER’S INFORMATION:
/ PLEASE ADVISE THE BENEFICIARY OF THIS SWIFT.
/ THIS TRANSFER IS VALID FOR PAYMENT ACKNOWLEDGMENT
/ THE DAY OF RECEIPT. THIS IRREVOCABLE CASH BACKED
/ SWIFT MT103 GPI CASH TRANSFER CAN BE RELIED UPON
/ FOR FULL CASH.


Fix iOS 13 batch update animations

Details
This fixes an iOS 13 issue where copies of layout attributes returned from itemLayoutAttributesForInFlightAnimations and finalLayoutAttributesForDisappearingItem will cause the collection view to start animations from an estimated height, rather than the final height. On iOS 12 and below, this is not an issue. On iOS 13, the copies returned from these functions must be kept up-to-date with the latest size information ask items self-size.

Before
After

Related Issue

Motivation and Context
This solves insert animations looking wrong on iOS 13.
How Has This Been Tested
Tested with various insert / delete scenarios in the simulator. Unfortunately, this code is in the UIKit part of MagazineLayout, so it's not currently testable.
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[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 CONTRIBUTING document.
[ ] I have added tests to cover my changes.

As you can see, header / footer animations are still just as broken as in iOS 12 and below, and I'm pretty confident that this is a bug with collection view, rather than MagazineLayout. UIKit engineers at WWDC confirmed that supplementary views go through a different layout process, which explains why they've always been so wonky.


ux_mode not an option parameter for gapi.auth2.init

I am trying to avoid a browser pop-up and use ux_mode='redirect' during init() or signIn() and it seems like I cannot use this as one of the option parameters to either of those methods. Has this been removed/modified?

Could you post a snippet of code that reproduces the issue? We haven't changed anything related to that recently.

gapi.auth2.init({client_id: "my_client_id", scope: "profile email", ux_mode: "redirect"})
ux_mode isn't a valid parameter. I only have option of setting the following:
client_id
cookie_policy
scope
fetch_basic_profile
hosted_domain
openid_realm
But your documentation here says otherwise. https://developers.google.com/identity/sign-in/web/reference#gapiauth2clientconfig

I tried just now and it works for me. How do you load the library? Could you post a full snippet that reproduces the issue?

index.html has this and loads appcomponent.html:
<script src="https://apis.google.com/js/platform.js" async defer></script>
appcomponent.html has this:
<google-signin id="signin"
               style="display: inline-block;"
               [clientId]="clientId"
               [scope]="scope"
               (googleSignInSuccess)="onGoogleSignIn()">
</google-signin>

<button style="float:right; height: 36px; display: inline-block;" class="btn btn-default" (click)="onGoogleSignOut();">Sign out</button>

And appcomponent.ts has the following:
onGoogleSignIn() {

   let googleAuth = gapi.auth2.getAuthInstance();
   this.user = googleAuth.currentUser.get();

   if (googleAuth.currentUser.get().isSignedIn()) {
     googleAuth.signIn().then((data) => {
       this.token = data.Zi.access_token;
     });
   }
   else
   {
     let authResp = this.user.getAuthResponse();
     this.token = authResp.access_token;
   }
 }

 onGoogleSignOut() {
   gapi.auth2.getAuthInstance().signOut().then(function () {
     console.log('User signed out.');
   });
 }

This works just fine. But I wanted to not have the pop-up and instead have the user be redirected to another page to select the google account to login with. So, I was trying to specify ux_mode in the signIn() parameters or add in a onLoad() function with init().

Have you tried adding it in the signIn call?
googleAuth.signIn({ux_mode: 'redirect'});

Also, you're using a component, google-signin that is not from the library. You should make sure that this supports ux_mode, as you probable have to pass it as a parameter.

Yes, I have tried that and it's same issue. Ok, if not google-signin, what component should I be using?

You can file a bug at https://github.com/GoogleWebComponents/google-signin to ask them to add support for ux_mode.


If statement variable reassignment fail type check

Bug Report

🔎 Search Terms

if statement variable reassignment not assignable to parameter of type
if statement variable reassignment not assignable
if statement variable reassignment
variable reassignment type
variable reassignment

🕗 Version & Regression Information

Relatively new to Typescript, encountered this on<EMAIL_ADDRESS>
⏯ Playground Link

Playground link with relevant code
💻 Code

function fooBar(foo: "bar" | "baz"): boolean {
  return foo === "bar";
}

function fishTank(): boolean {
  let input = "";
  if (!input) {
    input = "bar";
  } else if (input !== "bar" && input !== "baz") {
    return false;
  }
  return fooBar(input);
}

🙁 Actual behavior

Failed to compile, Argument of type 'string' is not assignable to parameter of type '"bar" | "baz"'.ts(2345)
🙂 Expected behavior

Compiles successfully.

I believe we just don't narrow infinite types to singleton types in equality checks. @andrewbranch was dealing with a similar issue, but I can't recall what the reasoning was.

It is kind of similar to https://github.com/microsoft/TypeScript/issues/43584, but the premise of that issue is I feel like unknown may be worth treating specially. In this case, you probably just want a type annotation: https://www.typescriptlang.org/play?ts=4.3.0-dev.20210413#code/GYVwdgxgLglg9mABMOcBCBDATgChXALkQCIAjbYxAHxPIC9iBKI01AGwFMMkBvAKESIsHKCCxJ8iALwzaFANx8Avnz6hIsBMhgBnABYAVbgGsczRKziduifoM5REMMAAcQUImQrU5DH+AATDmBnDgDFQRhgRBwAQmc3KEZbAUEnV3dpOSxiCMQlRA42HQ4naJwEzNjZLxzEADJ69MTEaqlfJhS0oRExCQxijjyVVOFRcWRUTFxKpMURoA

I see, thanks.


Processing data models

Create models
Use models to insert data

Create custom methods

@mirouhml Thanks for the review and the suggestions. I will add them right now before I merge it.


No resize pointer when hovering over the borders of a settings dialog

Godot version
3.4.4 (Flatpak)
System information
Linux Mint 20.3
Issue description
When resizing a dialog window in Godot, the mouse pointer does not change to a dialog resize pointer when hovering over the dialog window border.
As an example, here is a screenshot of the editor settings with a normal mouse pointer where a dialog resize pointer should actually appear.

.
Steps to reproduce

Install Godot 3.4.4 as a Flatpak (on Linux Mint 20.3)
Open Godot
Open a settings dialog window
Hover over the border of this settings dialog with your mouse pointer

Minimal reproduction project
No response

This is usually an issue with your X11 cursor theme lacking the required resize icons. Can you try the official binary on godotengine.org (non-Flatpak)?
https://user-images.githubusercontent.com/180032/179099424-f105d14d-1ee9-4910-b991-b788ccb3af3a.mp4

The official binary from godotengine.org (non-Flatpak) has the problem partially as well.
The vertical resize pointer and the horizontal resize pointer are displayed with the official binary from godotengine.org (non-Flatpak), but the diagonal resize pointer is not displayed with it either.
Screenshot running the official binary from godotengine.org (non-Flatpak):

@Atalanttore Which mouse cursor theme are you using? You should be able to check this in the OS' mouse or theming settings.

@Calinou The mouse theme is called 'DMZ-White'.


Login button returns 404 with a fresh site session

Observed/problematic behavior
The login button gives you a 404 page not found if you have a "fresh" site session (aka the first time you press it after clearing session cookies or whatever). If you go back and press it again, it correctly takes you to the login page.
Expected behavior
To be taken directly to the login page.
Steps to reproduce

Open incognito/somehow whip up a fresh session
Press login
Observe yourself looking at a 404 page

Other

Image taken a couple of weeks ago, but I assume the issue is still the same.

this a really weird one and I can't reliably reproduce it, but I could reproduce it once (so did @lokka30).
I have pushed (and deployed) some code that maybe addresses this and will close this issue, if you can repro again I will need to look into this deeper...
https://github.com/HangarMC/HangarAuth/commit/2b2fe9131e16f8027cdbdb67a9c813ea105233ea


Use named port to select transport for clients

What changed?

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 4181e451-f8b0-4eb1-bbbe-a01b2f6f1250

124 of 169 (73.37%)  changed or added relevant lines in 12 files are covered.
57 unchanged lines in 8 files lost coverage.
Overall coverage increased (+0.05%) to 56.881%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/history/peerResolver.go
6
7
85.71%

host/membership_resolver.go
9
12
75.0%

service/history/handler.go
0
5
0.0%

common/membership/resolver.go
0
10
0.0%

common/membership/hostinfo.go
15
28
53.57%

host/onebox.go
57
70
81.43%

Files with Coverage Reduction
New Missed Lines
%

common/task/weightedRoundRobinTaskScheduler.go
1
89.64%

host/onebox.go
1
85.11%

service/matching/taskListManager.go
2
74.19%

common/cache/lru.go
3
90.73%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
55.49%

common/persistence/nosql/nosqlplugin/cassandra/workflowUtils.go
11
75.82%

common/persistence/sql/sqlExecutionStore.go
16
63.83%

common/persistence/nosql/nosqlplugin/cassandra/workflowParsingUtils.go
20
86.11%

Totals

Change from base Build 860d5573-8102-4be3-9fd2-0a5813436b29:
0.05%

Covered Lines:
83177

Relevant Lines:
146229

💛  - Coveralls


Fuzzy header search

PR Description
Previously we were only checking if a pattern is  present in a header string. As a result you would not get suggestions if you made a typo.
BEFORE:

This PR attempts to fix this issue using Fuzzy package.
AFTER:

Related Issues

Related Issue #207
Closes #207

Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] I have run the tests (flutter test) and all tests are passing

Added/updated tests?
All previous tests except one have been added for the new function.

[x] Yes
[ ] No, and this is why: please replace this line with details on why tests have not been included

It should show recommendation if there is a typo but if an exact substring match exists, it should show only them.

It should show recommendation if there is a typo but if an exact substring match exists, it should show only them.

@animator I have a suggestion to implement this.
in getFuzzyHeaderSuggestions():
List<String> getFuzzyHeaderSuggestions(String pattern) {
  final keys = headers.keys.toList();
  final fuse = Fuzzy(keys,
      options: FuzzyOptions(
        distance: 10,
        tokenize: true,
        matchAllTokens: true,
        tokenSeparator: "-",
        threshold: 0.2,
        shouldSort: true,
        minMatchCharLength: 1,
      ));
  final results = fuse.search(pattern);
  final List<String> suggestions =
      results.map((result) => result.item as String).toList();
  return suggestions;
}

when we obtain suggestions we can then iteratively sort them into 2 lists, "predictions" and "recommendations" {in case there is a typo}.
Example: every suggestion that exactly contains(pattern) will be a "prediction", else it will go to "recommendations".
Then if suggestions.length == 0 in which case the user made a typo, we will display the fuzzy "recommendations" list otherwise we will only display "predictions" that will contain the pattern substring.
Let me know if this is desirable.

Doing this also passes the one test case I had to edit. This should do better than the previous approach.

Passes all test cases and does not show approximate suggestions if no typo exists. If typo exists then it shows fuzzy suggestions.

@PratyushChauhan For the case, when the user just types a the result should include headers beginning with a followed by other headers. This is not happening currently.

@ashitaprasad worked on your suggestion, now the first character match is given preference in predictions.

@PratyushChauhan Why is Accept lower than Accept-Charset in your implementation?

@animator  this most likely happens when we re-order the predictions {in case of typo} to include first character matching strings near the top.
// sort the predictions based on first character match
  for (int i = 0; i < predictions.length; i++) {
    if (predictions[i][0].toLowerCase() == pattern[0].toLowerCase()) {
      final String temp = predictions.removeAt(i);
      predictions.insert(0, temp); //push to front
    }
  }

In case of a typo each string that has a matching first character is pushed to position 0. Hence the order given by the fuzzy finder is reversed which makes Accept have a lower ranking than Accept-Charset.
A way to fix this would be to introduce a currentIndex variable to keep track of which index we need to push to. This will preserve the order given by the fuzzy finder package.
Fix:
  int currentIndex = 0;
  // sort the predictions based on first character match
  for (int i = 0; i < predictions.length; i++) {
    if (predictions[i][0].toLowerCase() == pattern[0].toLowerCase()) {
      final String temp = predictions.removeAt(i);
      predictions.insert(currentIndex, temp); //push to front
      currentIndex++;
    }
  }

@animator @ashitaprasad  is this implementation fine?


Add MP0004 Fault Tolerance Proposal

Signed-off-by: Emily Jiang<EMAIL_ADDRESS>Proposal for a MicroProfile specification
! DO NOT MERGE this Pull Request BEFORE REVIEW is finished!
Merging this Pull Request means that the proposal is officially accepted by the MicroProfile Core Team as a MicroProfile incubation project. A public discussion and an agreement within the MicroProfile Core Team is expected before a proposal is accepted/rejected.
If this PR is not a proposal for a new specification, delete this template description.
Suggested steps to follow before this proposal is accepted

add label proposal to this PR on github
initiate a public discussion on the mP mailing list

Email Subject: "Review announcement: <<PROPOSAL_NAME>>"
Email Body: Based on review announcement template

fill in <<PROPOSAL NAME>>, <<REVIEW END DATE>> (not mandatory, can be announced later, but should be at least 7 days after the announcement email is sent)
and <<REVIEW MANAGER NAME>> (the name of the sender)
update the link to a proposal (NNNN-proposal.md) to point to this Pull Request

After the review, the Core Team should form an agreement whether or not to accept the proposal, or whether ask its author for amendments.
Once this Pull Reuest is merged, the proposal is considered accepted and an incubation repository should be created to facilitate collaboration.

This is a follow-up to closed #15. Look there for previous discussions.

https://github.com/Pscheidl/FortEE
I was creating a fault-tolerance solution based on Java EE on my own. Currently, basic failsafe and absolute timeout are done. We plan to add at least circuit breaker (very easy and very soon) and a machine learning approach to timeouts.
Maybe you can have a look and if nothing else, you can see which way is the bad way to go :) It is still in Beta and we are trying to test it.
More information in README and also in Microprofile Google groups here: https://groups.google.com/forum/#!topic/microprofile/2XH_1ddVXcg


.Net is not fully supported

I tried to create a VC++ CLR project which still falls under .Net and I got the error  "Could not install package 'Neo4j.Driver 1.2.0'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author." when trying to install the package.

Sorry for the inconvenient, I will look into this.

Hi @Tazmain  - Can you add a reference to System.Net.Security in the C++ CLR project?

It is possible to add the System.Net.Security dll manually, it seems to be a problem with Nuget for VC++. Is there a way to just download the .dll file?

There isn't a dll version - as Neo4j.Driver is distributed exclusively by nuget, so you have 2 options:

download the package into a C# project, then you should have the dll in the packages folder of that project, or
follow the instructions in: http://stackoverflow.com/questions/18694947/how-can-i-make-my-managed-nuget-package-support-c-cli-projects

I'm not sure which is easiest for you, I presume that 2 allows you to restore the packages and keep up to date, even if you have to use nuget manually, and 1 means you have to maintain that chain yourself.
Unfortunately there is nothing that a package author can do about this - as it's a nuget issue (as you correctly point out)

So I can add the .dll and start to use it. Will see if I can get it instantiated with C++/CLI and get a result.

If /when you do, I'd love to see a simple "hello world" example, I've really got no idea how to use it from c++

I am just getting stuck with the AuthTokens, I cannot cast AuthTokens to IAuthToken. Creating a Driver instance requires this if I want to authenticate myself. I have a hello world compiling, just need to figure out the System.Net.Sockets dll load issue.

@Tazmain AuthTokens is not a IAuthToken. AuthTokens is a class provides static methods to create AuthToken. So you need to either use AuthTokens to create a AuthToken to cast to IAuthToken or create a AutoToken yourself if you have access to that class.

So as it turns out I can use the .dll but because of its dependencies, it fails to load those, since it is looking for the nuget versions of System.Net.Sockets. If that was removed I would be able to use it. It is also possible to create a nuget package compatible with Visual C++. For now, I suggest just updating the webiste to not say .Net compatible but C# .Net compatible rather, being specific. As .Net compatible includes Visual C++.

How is it possible to create a nuget package that works with C++, if you could share that it'd be super useful to be able to get it working.

It doesn't work for me either when trying to add the package to a Xamarin Forms app. Has anyone been successful adding the driver to other platforms?
I'm getting this:

thanks!

Hi @bytebuilder26,
The Neo4j.Driver package targets .NET Standard 1.3 and the runtimes that supports it could be found here. PCL profile 259 is logically equal to .NET Standard 1.0 and an exhaustive list of profiles and their corresponding .NET Standard levels could be found here. Although we have a plan to support .net 4.5.2, we probably will not be targeting .Net Standard versions less than 1.3.

If dotnet core is going to be the target for the future, then having it working with C++ might be a problem since dotnet core will not support VC++.

Hi @Tazmain,
Latest 1.4.1 release and 1.5.0 pre-releases targets both .net 4.5.2 and .net standard 1.3. With explicit support for .net 4.5.2 you can manually reference it in your C++/CLI project (as nuget is not supported on C++ projects) and make use of it as an ordinary class library.
Please also note that we have incorporated more compatibility changes (changing optional arguments to method overloads) in the latest 1.4.1 release for better integration in other .NET languages other than C# and VB.
Ali

Hi @bytebuilder26,
Please be informed that our latest 1.4.1 release targets .net framework 4.5.2 and .net standard 1.3. With this improvement, you may retry your usage scenario in Xamarin Forms by selecting a PCL profile that supports .net framework 4.5.2.
Ali


Markdown emphasis incorrect highlighting

Some cases in commonmark spec doesn't emit correct highlightling, like:
*foo *bar**

**strong **with strong** in it**

This issue was moved to Microsoft/vscode-markdown-tm-grammar#8


I miss the refresh button!

Please bring it back :) It is invaluable when switching projects often. At this moment, I cannot get the database to refresh the collection list. I usually have to wait for the app to crash because it can't find one of the tables, and then restart Meteor.

hi, do you have the latest version?
cuz collection list is fetched from DB on every page load (hard refresh)

Yep. I'm on the very latest version. Now, I started it up after a week not using it, went to localhost:3040 and the collections of a Meteor project I haven't run for days are still there. And the console is flooding with errors. (" Error: Collection [meteor.addresses] not found." etc)

ok we will fix this.
Temporary workaround is to create new connections in DRM for every project (or even run every project on different port)


Support for the latest Wwise version (2<IP_ADDRESS>65)

Seems it's currently not supported by the latest Wwise. Trying to install this plugin gives me the following message:
Error: Cannot install from D:\Downloads\MicrosoftProjectAcoustics.plugins.Unreal\Wwise\2019.1\ProjectAcoustics
The specified package is incompatible with the target.

blink7,
We are aware that the latest Project Acoustics release doesn't support Wwise 2021 at this time.  We'd like to update our plugin to support Wwise 2021's new object pipeline by the end of the year, but we haven' started on that work yet.
If this is a blocker for you, there are a couple of options:

Get access to the source by joining the Source Licensing program (https://docs.microsoft.com/en-us/gaming/acoustics/what-is-acoustics#source-access) which is an addendum to the GDK program
Use Wwise 2019 for now
Send me a note at<EMAIL_ADDRESS>requesting a one-off copy of a Wwise 2021 plugin (no object pipeline support) to temporarily unblock your work until we ship an official update with Wwise 2021 support.

Thanks,
Noel

Any update on this?
I'm trying to run the Project Acoustics Unreal/Wwise sample project:
https://docs.microsoft.com/en-us/gaming/acoustics/unreal-wwise-sample
On the website, it explicitly says Wwise 2021 needs to be integrated into the Unreal project in order to build soundbanks. However, the download link https://www.microsoft.com/en-us/download/details.aspx?id=58090 only provides the plugin for Wwise 2019.
Is the PA plugin for Wwise 2021 available somewhere?
Thanks,
Yoerik

Hi Yoerik, sorry for the confusion. Our documentation update went live in this last week before our downloads were updated. We're expecting to have things ready any day now. We'll let you know when the new downloads are available.

That's awesome! Thanks for the quick follow-up!

Wwise 2021 support is available in the 3.0 release, available now!


Counter matching Note13 -> Note-1#3

If you create the following notes:
Note-1.md
# Note-1

##### 3

This is a test

and
Test.md
Link to non-existing [[Note-13]].

Then SNW will show a bubble indicating that Note-1#3 is being linked to.

I've been experiencing the same problem for a while. I have a Bible text divided into one file per chapter and one heading per verse, and SNW erroneously displays counters for the first so many verses of every chapter, depending on how many chapters are in the book. Here's a screenshot of SNW mistaking [[1Sa 21]] for [[1Sa 2#1]]:

I am having the same issue as @ParkerRobb. I too am using the markdown Bible and want to use it with SNW. But, one of the best features of of SNW, the link counter to headings, is creating false connections just as Parker stated.

As can be seen, connections are being made where none exist.

Thank you all for reporting this issue. I recently rewrote the SNW indexing engine, and during my testing, I was unable to reproduce the problem. Thus, I am hopeful that it has been fixed. I am planning to release the beta version as 2.0.0 soon, and I hope you will all be able to test it and report back on whether it is working.
If you wish to test it now, please install the plugin using BRAT. The version 1.2.7 is the beta and includes the intended fixes.

@TfTHacker were you able to reproduce the issue before the plugin rewrite?

I didn't try before the rewrite :-), but I tried duplicating it lat night.

I've been looking for this bug to reproduce recently and can not, so I must assume that the rewrite was successful. Well done sir!


If the evaluation window of the query is too short, the api might return an empty result which datadog-service treats as 0 and fails the evaluation

Problem

Same as title
This needs more research but the problem is, say the query is avg:system.load.1{*}.rollup(avg, $DURATION) and if the calculated $DURATION in the query is too short, Datadog API returns empty results. $DURATION is the time duration of test execution. If the tests run only for a short period of time, the evaluation window becomes short as well.
I have noticed this happening with the system.load metric if the $DURATION is less than 10s.
When the query results an empty response, datadog service treats it as a 0 and fails the SLO evaluation
I think the issue occurs because the query $DURATION is shorter than time interval between two successive metric data exports

Might be related: https://github.com/vadasambar/datadog-service/issues/8


Pin ubuntu base image tag

Pin the OCI image tag used for the base-image of Ubuntu-based
Kolla image builds. This prevents packages in the image with
the latest tag getting in front of StackHPC release-train
package repositories. This tag should be bumped when new
packages are available in StackHPC release-train.

tested here https://github.com/stackhpc/stackhpc-kayobe-config/actions/runs/7167964981

Do we need the same for Rocky Linux?

We should probably pin to the minor version, which we could get from stackhpc_pulp_repo_rocky_9_minor_version.

Do we need the same for Rocky Linux?

We should probably pin to the minor version, which we could get from stackhpc_pulp_repo_rocky_9_minor_version.

added, testing in https://github.com/stackhpc/stackhpc-kayobe-config/actions/runs/7180464635


Hide trending where not supported and update compatibility table

https://github.com/cheeaun/phanpy/labels/pleroma and https://github.com/cheeaun/phanpy/labels/akkoma don't support Trending, perhaps by development philosophy.
This pull request allows hiding the option from the menu for accounts on such instances, and additionally does the same with the Filter option.

GoToSocial also doesn't support trending links or trending hashtags so it might be added to this PR.
Alternatively, is there any server software other than Mastodon and its forks (Glitch, Hometown) that does support Mastodon's trending links and trending hashtags API? Pixelfed, Pleroma, Akkoma and GTS all don't, so that seems about it.
I wonder if what's really wanted here is an explicit notion of "server is Mastodon." If so, that could be done by checking the software.name field of the NodeInfo, which my PR #817 would fetch. Every supported server type other than Mastodon specifies its name there.

Just realized that the "Go to another instance" button is available on the Trending page, so hiding it completely might not be a good idea...
Let's go back to the planning stage!


"make test" fails to build on Arch linux

Hello. I've been waiting for a zerocoin implementation for a long long time and I recently decided to give zcoin a try. Thank you!
I'm building the daemon only, without Qt or UPNP support. The zcoind binary builds file, just some warnings, and appears to work fine, other than having a bit of a "new code smell." However the test binary won't build.
g++ (GCC) 6.3.1 20170306
boost 1.63.0
make -f makefile.unix USE_UPNP=- -e PIE=1 test
g++ -c -DTEST_DATA_DIR=/home/user/zcoin/src/test/data -DBOOST_TEST_DYN_LINK -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/user/zcoin/src -I/home/user/zcoin/src/obj -DUSE_IPV6=1 -I/home/user/zcoin/src/leveldb/include -I/home/user/zcoin/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -fPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -MMD -MF obj-test/transaction_tests.d -o obj-test/transaction_tests.o test/transaction_tests.cpp
In file included from /home/user/zcoin/src/libzerocoin/Zerocoin.h:52:0,
                 from /home/user/zcoin/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/user/zcoin/src/libzerocoin/Coin.h:52:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^~~~~
In file included from /home/user/zcoin/src/libzerocoin/Zerocoin.h:54:0,
                 from /home/user/zcoin/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/user/zcoin/src/libzerocoin/Accumulator.h:61:43: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination() const;
                                           ^~~~~
In file included from /home/user/zcoin/src/libzerocoin/Zerocoin.h:56:0,
                 from /home/user/zcoin/src/main.h:15,
                 from test/transaction_tests.cpp:6:
/home/user/zcoin/src/libzerocoin/CoinSpend.h:77:41: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
  const CoinDenomination getDenomination();
                                         ^
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function 'void transaction_tests::tx_valid::test_method()':
test/transaction_tests.cpp:70:58: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
             BOOST_CHECK_MESSAGE(tx.CheckTransaction(state), strTest);
                                                          ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
test/transaction_tests.cpp: In member function 'void transaction_tests::tx_invalid::test_method()':
test/transaction_tests.cpp:139:47: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
             fValid = tx.CheckTransaction(state) && state.IsValid();
                                               ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp: In member function 'void transaction_tests::basic_transaction_tests::test_method()':
test/transaction_tests.cpp:166:50: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
     BOOST_CHECK_MESSAGE(tx.CheckTransaction(state) && state.IsValid(), "Simple deserialized transaction should be valid.");
                                                  ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
In file included from /usr/include/boost/test/test_tools.hpp:45:0,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from test/transaction_tests.cpp:3:
test/transaction_tests.cpp:170:51: error: no matching function for call to 'CTransaction::CheckTransaction(CValidationState&)'
     BOOST_CHECK_MESSAGE(!tx.CheckTransaction(state) || !state.IsValid(), "Transaction with duplicate txins should be invalid.");
                                                   ^
In file included from test/transaction_tests.cpp:6:0:
/home/user/zcoin/src/main.h:698:10: note: candidate: bool CTransaction::CheckTransaction(CValidationState&, uint256, bool, int) const
     bool CheckTransaction(CValidationState &state, uint256 hashTx, bool isVerifyDB, int nHeight = INT_MAX) const;
          ^~~~~~~~~~~~~~~~
/home/user/zcoin/src/main.h:698:10: note:   candidate expects 4 arguments, 1 provided
/home/user/zcoin/src/main.h: At global scope:
/home/user/zcoin/src/main.h:200:14: warning: 'int64 GetBlockValue(int, int64, unsigned int)' declared 'static' but never defined [-Wunused-function]
 int64 static GetBlockValue(int nHeight, int64 nFees, unsigned int nTime);
              ^~~~~~~~~~~~~
make: *** [makefile.unix:231: obj-test/transaction_tests.o] Error 1

Hi can you test the new code? make test works for me.

Closing; will reopen should OP continue to have the issue.

Closing; will reopen should OP continue to have the issue.


What's the meaning of ndc_coeff?

Hello, I don't understant the meaning of ndc_coeff in LLFFDataset and tv_loss. Can you give an explanation?

ndc_coeff are just some conventient variables used for internal NDC computation.
self.ndc_coeffs = (2 * self.intrins_full.fx / self.w_full,
    2 * self.intrins_full.fy / self.h_full)

I think tv loss refers to the total variation loss (not sure if that answers your question)

Thank you!


Move repo to /ckan/ckanext-issues

datagovuk is maintaining this repo over on their fork, and rather than them hassling okfn as they have several times in the past to merge their changes, I'm wondering if now okfn have finished their paid-for work they should pass the repo to the CKAN community to continue development in a new home at github.com/ckan? The problem is that while it lives in okfn that will be the default home everyone where everyone will look. There are two other forks off okfn's potentially dead mainline, rather than the live datagovuk one. Users are raising issues and pull-requests that are ignored on okfn's one. I think it would be better to move this repo to http://github.com/ckan/ckanext-issues and datagovuk take over official responsibility for it.
Thoughts @rgrp?

:+1:

@davidread this seems great generally as an approach at this point.
And sorry if you have not been able to get things merged - and being able to converge the DGU fork and this would be great. I suggest you take over as lead maintainer.

Super, thanks


Mouseover no longer blue.

For a while the triggered element became "DataPLANT"-blue. This is no longer the case...

Isn't this what was requested via #3 ?


Investigate options of reducing the base overhead of async functions as well as overhead per await.

We pay a high code size cost for async functions atm and we should investigate possible improvements.

To determine the priority of this, I have (hopefully correctly) analyzed a version of a big internal app (GP) with the following results

type
count
wrapper
closure
total

async
3909
1349276
3826420
5175696

async*
11
4280
37652
41932

sync*
52
4776
5348
10124

Around 4k functions out of 92k are async functions.
The wrapping functions take up 1.35 MB, 6% of RX
The inner closure functions (which includes application code plus await overhead) take up 3.8 MB, 17.5% of RX

RX makes up 65% of the final AOT app (app.so).
So I think we should make this a P1 to investigate.

/cc @alexmarkov @mraleph


type 'Null' is not a subtype of type 'String' in type cast

Exception details
The exception points to:
  Application._fromMap(Map<dynamic, dynamic> map)
      : appName = map['app_name'] as String,
        apkFilePath = map['apk_file_path'] as String,
        versionName = map['version_name'] as String?,
        versionCode = map['version_code'] as int,
        dataDir = map['data_dir'] as String, /// This line is throwing the exception
        systemApp = map['system_app'] as bool,
        installTimeMillis = map['install_time'] as int,
        updateTimeMillis = map['update_time'] as int,
        enabled = map['is_enabled'] as bool,
        category = _parseCategory(map['category']),
        super._fromMap(map);

Seems like a null safety type error.
The exception is throwing after calling this method:
final deviceApps = await DeviceApps.getInstalledApplications(
  includeSystemApps: true,
  includeAppIcons: true,
);

Enviroment info
Flutter:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.0, on Microsoft Windows [Version 10.0.19043.1237], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Android Studio (version 2020.3)
[√] Connected device (3 available)

• No issues found!

Android Emulator:

Should be fixed with version 2.2.0


RSS feed for blog

It would be great to have an RSS feed for the blog so folks (like me) can discover new posts automatically and read in the comfort of their feed reader if they desire.

That's a good idea and luckily this is not hard to implement.
Just in case someone else want to tackle this before I'd do it:

Write a function BlogApi.createRssFeed, which utilizes the BlogApi.getAllPosts for retrieving the data

Inspiration for the RSS serialization: https://gist.github.com/fredrikbergqvist/36704828353ebf5379a5c08c7583fe2d

Create a page /pages/rss.re or (whatever name is the most common)
Ideally use getStaticProps to render the feed per build (since blog posts are also generated per build, it can't really get out of sync)... not sure if SSG allows setting the content-type to text/xml,  i'd assume there is a way to do that

For the maximum size of the feed, I'd suggest the last 10 blog posts (ordered by ascending date), like it is done in the pages/blog.re file.

@wezm just added RSS support. Could you test it with your preferred RSS feed reader and give feedback?
URL: https://reasonml.org/blog/feed.xml

Excellent, thank you. I was able to subscribe in Reeder and it worked although there is no article body present.

the article body is the description meta field within our blog system... articles ported from the different Reason projects don't have that set, unless the editor did some extra writing ... that said, some articles should have a description set.
If you could give me an example of a good looking RSS preview from another RSS feed, I could try to extract some content text from the blog content body if there is no description available!

Closing as this is now working for me.


[BUG] filter parameter example suggests invalid syntax

Describe the bug
When using e.g. ResourceOperations.List() operation, filter contains the following example:
For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'

Unfortunately, if I use the suggestion:
client.Resources.List("$filter=resourceType eq 'Microsoft.EventGrid/systemTopics'")

I'm getting an error saying filter is invalid.
Expected behavior
SKD should either:

have updated example so it doesn't suggest using $filter=
avoid prepending $filter in the filter

Actual behavior (include Exception or Stack Trace)
Using $filter ends up with the following error:
"Service request failed.\r\nStatus: 400 (Bad Request)\r\n\r\nContent:\r\n{\"error\":{\"code\":\"InvalidFilterInQueryString\",\"message\":\"Invalid $filter '$filter=resourceType eq 'Microsoft.EventGrid/systemTopics'' specified in the query string.\"}}\r\n\r\nHeaders:\r\nCache-Control: no-cache\r\nPragma: no-cache\r\nx-ms-failure-cause: REDACTED\r\nx-ms-ratelimit-remaining-subscription-reads: REDACTED\r\nx-ms-request-id: REDACTED\r\nx-ms-correlation-request-id: REDACTED\r\nx-ms-routing-request-id: REDACTED\r\nStrict-Transport-Security: REDACTED\r\nX-Content-Type-Options: REDACTED\r\nDate: Sat, 13 Feb 2021 13:59:23 GMT\r\nContent-Type: application/json; charset=utf-8\r\nExpires: -1\r\nContent-Length: 167\r\n"

To Reproduce

Use ResourceOperations.List() and provide any kind of filter with $filter string e.g. client.Resources.List("$filter=resourceType eq 'Microsoft.EventGrid/systemTopics'")

Environment:

Name and version of the Library package used: Azure.ResourceManager.Resources 1.0.0-preview.2, Azure.Identity 1.3.0
Hosting platform or OS and .NET runtime version:

.NET SDK (reflecting any global.json):
 Version:   5.0.102
 Commit:    71365b4d42

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.18363
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\5.0.102\

Host (useful for support):
  Version: 5.0.2
  Commit:  cb5f173b96

.NET SDKs installed:
  2.1.805 [C:\Program Files\dotnet\sdk]
  3.1.102 [C:\Program Files\dotnet\sdk]
  5.0.102 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.All 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

IDE and version : VS Code 1.53.0

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@kamil-mrzyglod, thank you for the feedback. We are redesigning the .NET API for Azure.ResourceManager.xxx libraries and will debut it in few month. Your feedback should have been addressed in the new API. Please stay tuned.
In the meantime, I will close this issue. Once the new API is out, I look forward for your feedback.

Is there a workaround for this bug? Closing the item and not offering an alternative solution seems less than customer-focused.


Tracking problem

I am working with tracking problem. How can I generate oxts folder (imu/gps information)?
Also how can I create planes for this dataset?

Hi bilalsatar, I think Waymo haven't release their imu/gps data.


Add basic recipe upload form

This commit adds the basic version of the form for uploading a recipe.
The form includes the required fields of a name, difficulty, description, a list of tools, a list of ingredients, and a list of instructions. There is also a space for extra information (the space for food blog like information) that is not a required field.
Most fields have some sort of formatting that automatically gets applied to their value. This formatting usually removes extra white space, capitalizes the first letter of the first word, and/or removes punctuation, numbers, and other symbols from the beginning of the value of each entry in the instructions field.

I ended up not adding a Validator and not throwing a separate error since adding the character limit is enforced without having to catch any exceptions. Instead I displayed the number of characters used out of the total allowed.

I'm going through all my open GitHub notifications but this change doesn't have approval from someone in the Pod yet so just noting that I'm skipping my final review for now

Turns out https://github.com/googleinterns/step79-2020/pull/33 is in the same situation but I think there must be some misunderstandings in the process given that these two PRs expect host review even though they haven't been approved by someone in the Pod. I'll go ahead and do final review on both today, but going forward it'd be a much better signal to hosts if at least one person in the Pod has approved a PR - any host reviews before that wouldn't be for approval


Add support for sklearn 1.3.0

Closes #65
https://github.com/scikit-learn/scikit-learn/pull/23595 added the missing_go_to_left option to the state.

Code looks good but do you want to drop scikit-learn < 1.3?


Revert "update: better alert impl."

Reverts madara-alliance/madara-orchestrator#111

coverage: 64.606% (+1.9%) from 62.675%
when pulling 74aa012407783e7c11bcc4e23589fd082f550f6d on revert-111-improvement/better-alert
into 21ec2cbc98dd2d3beea3a068d7747fb95320cf61 on main.


Incorrect Battery Percentage Cap

Hello,
The application sometimes charges above 80%.
I am not sure if this is a bug or something from my side
Version 1.4.2

Facing the same issue - had charged to 80, but now it shows 84%.

I'm facing the same issue I have it at 70% and it shows 73% right now


[T4A3][F11-A4] Cindra

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.

@CindraTan  Some comments added. Please close the PR after reading comments. Sorry to bother you again. You may want to see the comments.


Add a warning or try to use withMacroTask

So event handler here are different from Vue's event handlers in one important aspect: they use microtasks instead of macrotasks. So if an event handler here modifies Vue reactive state, Vue responds to that change immediately, even before the event handler returns, which can have bad effects (like invalidating DOM so that the event cannot bubble at all and things like that; my experience was that events would randomly seem like not triggering).
Vue wraps it handlers with withMacroTask so this component should do the same. The only issue is that withMacroTask is not seems to be available outside of Vue codebase.
So maybe there should be a warning to use setTimeout(..., 0) inside your handler if you are modifying any reactive state.

I opened: https://github.com/vuejs/vue/issues/9094

I am using this for mouseup event. And I have a button on the page. Because I modify some Vue state in global mouseup event, DOM gets modified even before the event comes to button so that handler never gets triggered.
So the problem is that Vue reactive queue is triggered before the event fully propagates through DOM.

I see, some global events do trigger too often

It is not a problem of number of events, but that modifying a reactive variable like this.mydata in Vue trigger Vue to modify DOM. Which is how it operates. But it does that too soon.

I wouldn’t say having a warning is a good idea since it’s not exactly an error, just the way event handling works. Hence it would also happen if one would register the events by using window.addEventListener.
However, I think we could add a note in the README that mentions this possible issue if a global event conflicts with a local listener by modifying state that will cause a rerender. And to avoid that we could suggest using setTimeout or $nextTick though I’m not sure if the latter would solve it without running a test.
If withMacroTask becomes exposed in Vue, we might get back to it and introduce it as a prop. What do think @mitar @posva?

If withMacroTask becomes exposed in Vue, we might get back to it and introduce it as a prop. What do think @mitar @posva?

I think we should always wrap if that gets exposed so it's a no-brainer
For the moment we can add a new item to the advice/caveat section

@posva But what if someone wishes the global events to be executed first and skipping any potential local events? This would also introduce a change that makes it work slightly different than if the events were registered manually which might also be confusing.

It will still execute first (or same order). I'm not sure to follow here 😆
On Tue 20 Nov 2018 at 15:44, Damian Dulisz<EMAIL_ADDRESS>wrote:

@posva https://github.com/posva But what if someone wishes the global
events to be executed first and skipping any potential local events? This
would also introduce a change that makes it work slightly different than if
the events were registered manually which might also be confusing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shentao/vue-global-events/issues/12#issuecomment-440297521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoicVAN5S9FbKuExe070dKFPVrl6Hpjks5uxBVigaJpZM4Yquwc
.

--
Eduardo San Martin Morote

But it won’t prevent other events from being called like in this issue, which I imagine might be something desired in some cases. I’m okay with making withMacroTask true by default though.

What other events? The ones added manually?
On Tue 20 Nov 2018 at 16:53, Damian Dulisz<EMAIL_ADDRESS>wrote:

But it won’t prevent other events from being called like in this issue,
which I imagine might be something desired in some cases. I’m okay with
making withMacroTask true by default though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/shentao/vue-global-events/issues/12#issuecomment-440323074,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAoicWXiuUkxTUkIovc28_GlpobV1v8aks5uxCVqgaJpZM4Yquwc
.

--
Eduardo San Martin Morote

I am using this for mouseup event. And I have a button on the page. Because I modify some Vue state in global mouseup event, DOM gets modified even before the event comes to button so that handler never gets triggered.

A global event that you want to execute and prevent any other handler (like on a button) to be triggered.

I think you miss the point. What if the current behaviour – that is causing a problem for you hence this issue – but might be someone else’s requirement? As in – the desired behaviour?
What if someone doesn’t want that button click to be triggered if a global event was triggered?
Might not be a common case – I agree. But if this is how window.addEventListener works right now, making vue-global-events work differently might end up a bit confusing don’t you think?

What if the current behaviour – which is causing a problem for you hence this issue – but might be someone else’s requirement? As in – the desired behaviour?

I think this is highly unlikely because it is not very controllable. It is really an unexpected side effect. For example, if you are updating a reactive variable inside your handlers, this.foobar = 4. This behavior of event not being propagated would happen only if foobar has a value different from 4. If it already has 4 it does not happen. If your function calls any more complicated other function which might touch reactive state internally, then your behavior starts looking very random because you cannot really anticipate when values will be modified and when not.
So, if somebody is programming this way, they have a bigger problem.

But if this is how window.addEventListener works right now, making vue-global-events work differently might end up a bit confusing don’t you think?

Making vue-global-events work differently would be one more reason why people should use this library and not just window.addEventListener. Because using just window.addEventListener would not interoperate with Vue fully (like this issue is bringing up).

So, if somebody is programming this way, they have a bigger problem.
I don’t agree – if there was no real change to this.foobar then it makes sense to not cause a rerender.

That’s why I said that I’m 100% okay with making withMicroTask the default behaviour that can potentially be turned off (thus reverting to how it works now). Unless we investigate the topic some more and figure out that there is no way this behaviour could be somehow used.
Or we do it the other way round and just implement it using withMicroTask and in case someone comes up with a way why it shouldn’t use withMicroTask, we then introduce a prop that takes care of it. It should be a relatively simple change anyway.

Yes! Because in that case, it means that the global event did not introduce any meaningful changes thus the event can be ignored.
Unless the event listeners job was to intercept other events but that a completely different use case. What I’m talking about is that now it would be possible to prioritise a global event before a local one and if it somehow affects the app – it prevents the local handler from being executed.
Unless I get this all wrong and the local event still fires after the rerender – I haven’t had the time to try it out...  Sorry if that’s the case.

Since we are reverting to microtasks and I cannot reproduce this (https://jsfiddle.net/4t1w2Ldc/ click on hey, it correctly executes) I will close this. If you have a repro, then we can look again into this as it would indeed be problematic if the click handler didn't execute


Adding comment feature

Why you added this field, we are working with errors( Map<String,String>) as i have seen in the front end app


Opening Zip File tells "Not a zip file record 0xFFFFFFFF instead of 0x504B0102

When I try to open a ZIP file created on my mac it will tell:
Caused by: java.lang.IllegalStateException: Not a zip file record 0xFFFFFFFF instead of 0x504B0102
2020-05-13 02:17:23.411 15528-16050/? W/System.err:     at com.soywiz.korio.file.std.ZipVfsKt.ZipVfs(ZipVfs.kt:95)
2020-05-13 02:17:23.412 15528-16050/? W/System.err:     at com.soywiz.korio.file.std.ZipVfsKt.openAsZip(ZipVfs.kt:260)
2020-05-13 02:17:23.412 15528-16050/? W/System.err:     at com.soywiz.korio.file.std.ZipVfsKt.openAsZip(ZipVfs.kt:264)
2020-05-13 02:17:23.412 15528-16050/? W/System.err:     at com.soywiz.korio.file.std.ZipVfsKt.openAsZip$default(ZipVfs.kt:263)
What can I do about it? Thanks :)

Which program are you using?
And can you attach a small file reproducing it? For example with a small txt file inside or something. That would help since I could add it as a test.

I had a problem how I imported the file into the Android App, so no Bug here, thanks!


Ionic Material Design Pages Transition

Ionic material design is awesome, but has anyone try it on wp8 device. I did, but i've a problem, some pages are not loading, and when they do load, the transition is very poor. I don't know if this can be fixed, we all love good things (ionic material design is very awesome), this issue doesn't exist on android, even if it does (i guess cross-walk engine can be used), but how about windows 8. HELP PLEASE!!!

I fix this issue by removing fabs for each page and css effect for list.


"esbuild-svelte" didn't set a resolve directory

When i use url() in css like:
content: url('img/img.jpg');
/* or */
background-image: url('img/img.jpg');

i have a error:
> fakecss:/path/to/Component.esbuild-svelte-fake-css:1:458: error: Could not resolve "img/img.jpg" (the plugin "esbuild-svelte" didn't set a resolve directory)

To Reproduce
REPO
Expected behavior
bundling url() to css 🤷🏻♂

esbuild-svelte version: latest
esbuild version: latest
Svelte preprocessors used (if any): sass

Yep that's a bug! I'm a bit swamped this week but I'll get on this as soon as a can!
For future @EMH333 / anyone tackling this: Need to return resolveDir in the onResolve callback, however current code isn't set up to do that. Can split the file path and return that?

Yep that's a bug! I'm a bit swamped this week but I'll get on this as soon as a can!
For future @EMH333 / anyone tackling this: Need to return resolveDir in the onResolve callback, however current code isn't set up to do that. Can split the file path and return that?

if in resolveDir true absolute path it's working

Fixed in v0.5.5

What is this require(";`); in<EMAIL_ADDRESS>line:23

Oh wow! That appears to be a bug in rewrite-imports. I'll follow up later to confirm. Fix released in v0.5.6

tx for quick feedback 👍🏻 testing
in resolveDir: /path/to/component/where/make/import ?


slow opening JSON document

opening and editing a JSON file is slow. seems more slow than it should be considering it's only bout 60k in size. I would attach the file but can't. It's nothing fancy, but here it is. In fact this textarea form reads the data in faster :-(
See https://gist.github.com/thomasjo/9b88cb2ee1e94f9f002f

NOTE: inline file removed by @thomasjo, and moved to a Gist.

Please remove the massive JSON blob—create a Gist instead and link to that.

so at last we agree it's massive but thank you for being fairly unhelpful otherwise. just close the issue it's obvious you're more concerned with less important things like putting a stupid 60k file in a post than trying to provide any kind of useful help.
Sent from my iPhone

On May 1, 2015, at 1:59 PM, Thomas Johansen<EMAIL_ADDRESS>wrote:
Please remove the massive JSON blob—create a Gist instead and link to that.
—
Reply to this email directly or view it on GitHub.

OK. I moved the inline file to a Gist for you. Removing noise from the issue body makes it easier for the rest of us to help you out.
I saved a copy locally, and opened it in Atom; it opens up really quick here. Are you able to reproduce the poor performance characteristics in safe mode? Just to make sure the issue is not caused by a community package.
In addition, it'd be nice if you could let us know which version of Atom you're running, OS, and if the relevant storage unit(s) is spinning rust or SSD.

In addition, while this might not technically be a large file, #307 might be worth subscribing to. Specifically that issue is being addressed in https://github.com/atom/text-document, so you might want to follow that as well if you're interested.

Also maybe related to #979?

I can't reproduce the slowness either on 0.197.0-570c424.  Ubuntu 15.04, 4-year-old laptop with a HDD.

@thomasjo @50Wliu Did you test with the formatted JSON file or the original one-line JSON file?

Did you test with the formatted JSON file or the original one-line JSON file?

Both. The one-liner does not cause any performance issues, but syntax highlighting breaks (as expected) due to the token limitation being hit.

I wasn't able to reproduce the slowness when opening either version. I did, however, observe a slight delay when editing the one-line version. I believe https://github.com/atom/atom/issues/979 already covers that since it contains comments which mention editing delays.
I'm going to close this since a few people haven't been able to reproduce and no more information was provided (see https://github.com/atom/atom/issues/6607#issuecomment-98242818). @sjamesmccarthy If you can reproduce this in Atom 1.0.11 in safe mode and the problem isn't already covered by https://github.com/atom/atom/issues/979 -- let us know and try to provide this information. :v:


[BUG] bbc.com news languages don't work

Describe the bug
A clear and concise description of what the bug is.
I am trying to get the text and possibly all the bbc links for the language and it keeps printing blank and showing 0 urls. Nothing for bbc yoruba works.
To Reproduce
Steps to reproduce the behavior, please post any code you used and the website you tried to parse/process:
from newspaper import Article

article = Article('https://www.bbc.com/yoruba/articles/c04lkx8ll52o')

print(article.text)

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: [Windows / Linux / Macos]
Python version [e.g. 3.6, 3.9]
Library version [e.g. 0.9.0]

Additional context
Add any other context about the problem here.

Hello Smyja,
The proper way to call the library is
article = Article('https://www.bbc.com/yoruba/articles/c04lkx8ll52o', language='yo')
article.download()
article.parse()

unfortunately, Yoruba Language is not (yet) supported. There is no stopwords list in our library in order to analyse the Yoruba Language articles.
Do you know a good resource for this? Also, since i'm not familiar with your language, is there a special tokenization rule for Yoruba? or does tokenization work with spaces and common punctuation ?

Hello Smyja,
The proper way to call the library is
article = Article('https://www.bbc.com/yoruba/articles/c04lkx8ll52o', language='yo')
article.download()
article.parse()

unfortunately, Yoruba Language is not (yet) supported. There is no stopwords list in our library in order to analyse the Yoruba Language articles. Do you know a good resource for this? Also, since i'm not familiar with your language, is there a special tokenization rule for Yoruba? or does tokenization work with spaces and common punctuation ?

Here are the stopwords list. Maskhane own is more recent.
https://github.com/masakhane-io/masakhanePreprocessor/blob/main/african-stopwords/languages/yo.txt
https://github.com/stopwords-iso/stopwords-yo/blob/master/stopwords-yo.json

Ok, i have added them for the next release.


Add ankit-srivas's file

I have: created a branch, created a file and made a commit, and opened a pull request


Bind docker to <IP_ADDRESS> for making it work with docker swarm

Before you can connect to the docker instance you have created with your docker machine with docker swarm, you have to change so that docker start up binding to the <IP_ADDRESS>, else can swarm manager not connect to the machine, because it does not accept connections.
Get http://xx.178.98:2375/v1.15/info: dial tcp xx.178.98:2375: connection refused

By default machines use TLS and listen on 2376.  You will need to use the certs and that port to connect via TCP.


refactor(semantic): transform checker continue checks if missing IDs

#5259  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


add bolt_arm64.go for arm64

Support arm64 architecture
Signed-off-by: jefby<EMAIL_ADDRESS>

@benbjohnson Hi, could you please check the code? Thanks very much.

:+1: thanks!

I reverted this change in this PR (https://github.com/boltdb/bolt/pull/418). I attempted to add build tags to support it in this PR (https://github.com/boltdb/bolt/pull/417) but no luck.
@jefby If you can get build tags working on Go 1.4 then we can put arm64 support back into Bolt.

@benbjohnson Hi,it can work in go 1.5beta3/1.5/1.5rc1, maybe version 1.4.x is not supported arm64.

It works in 1.5 but the problem is that 1.4 doesn't recognize arm64 as a GOARCH so it doesn't ignore the file. See the other PR for more details.

Any current plans on merging the arm64 support in bolt? From the discussion, I understood that the build fails for Go 1.4.x. However, I am now trying to build Docker 1.9-dev on arm64 and this patch would be the missing piece. What's the current status?

Oh and by the way - Go version is 1.5.

@dodgerblue The issue is that Go 1.4 (and before) don't recognize arm64 as an ARCH so builds fail if bolt_amd64.go is included.  If you can get the arm64 to be ignored by Go 1.4 then I'm cool to merge it in.

@benbjohnson What about #417? Doesn't that fix the issue? I tested that on my machine and got no compile errors (albeit it's not an amd64, but a i386). So if I were to submit a PR, it would be consisted of #414 and #417.

@dodgerblue Hmm, yeah, you're right. If you can submit the PR and test it against Go 1.4 & 1.5 then I'll merge it in. :+1:

@benbjohnson I sent a new PR #435 , added build tag for arm64, I tested it against Go 1.4.2 & 1.5, it works fine.
And I think we can add that kind of build tags for other platform specific files, like other Docker venders such as https://github.com/vishvananda/netns does? I'll sent a new PR soon.

I checked other vendors, like https://github.com/kr/pty
it only handles build tag for arm64, so maybe we can keep other files as they were.


refactor(batch): enable GenericExchangeExecutor2 poll all the sources

Signed-off-by: d2lark<EMAIL_ADDRESS>let GenericExchangeExecutor2 poll all the sources at the same instead of polling them sequentially
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)
close https://github.com/singularity-data/risingwave/issues/2362

Passed tests in https://github.com/singularity-data/risingwave/runs/6363622955?check_suite_focus=true. Merge now.


Use random_bytes instead of ircmaxell/random-lib to get tests passing on PHP 7.1

This PR

[x] Removes dependence on ircmaxell/random-lib, which was previously used to generate random strings of arbitrary length.
[x] Sets target platform (PHP 7.0.25) in composer.json because I ran into issues with "Style" build step failing to install dependencies on PHP 7.0 because dependencies updated after removing random-lib (locally running PHP 7.1)

#526 fails because random-lib uses mcrypt, which is deprecated in PHP 7.1. This causes the test-suite to fail. For such a use-case as ours, random_bytes suffices.
Follows #526.

@localheinz any tips on why matrix expansion isn't happening for build stages in this PR? I'm following up on your introduction of PHP 7.1 to the matrix and have cleaned up the dependency issues. Just need to get Travis CI config straightened out.

@mdwheele
Apologies for the late reply, will take a look today!

@mdwheele
See https://github.com/mdwheele/opencfp/pull/5.

@mdwheele
Build is now failing because of undefined classes in migrations.

Looks like that got it. Thanks for the help with Travis. Do you have a link to docs from them on how it works? The matrix expansion docs I found were at https://docs.travis-ci.com/user/build-stages/#Build-Stages-and-Build-Matrix-Expansion. However, I think that would have expanded every stage. I couldn't find anything with the syntax you provided (which obviously does exactly what we want).

@mdwheele
Maybe http://blog.daemonl.com/2016/02/yaml.html helps?

Maybe http://blog.daemonl.com/2016/02/yaml.html helps?

Hahaha, yes! My usage of YAML is obviously rudimentary :stuck_out_tongue_closed_eyes:
Everything else look decent here? I don't think we were necessarily getting anything super-special out of this dependency that this implementation couldn't equally provide.


support parquet files in catalog

As I said in #48, I was recently involved in group trying to use intake-stac with some data we have sitting in s3. This data is in parquet format. I've used intake-parquet on this data with no problem to get a dask data frame. But when I try with intake-stac,
import intake
from intake import open_stac_catalog
cat = open_stac_catalog('https://not.the.real.url/catalog.json')
df = cat["AIRX3STD_006_SurfAirTemp_A/AIRX3STD_006_SurfAirTemp_A_2002_08.parquet"].get().to_dask()

I get the error:
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-10-25d227182f13> in <module>
----> 1 df = cat["AIRX3STD_006_SurfAirTemp_A/AIRX3STD_006_SurfAirTemp_A_2002_08.parquet"].get().to_dask()

~/Software/python3/envs/stac/lib/python3.8/site-packages/intake/source/base.py in to_dask(self)
    219     def to_dask(self):
    220         """Return a dask container for this data source"""
--> 221         raise NotImplementedError
    222
    223     def to_spark(self):

NotImplementedError:

I assume that intake-stac is keying off the "type" field in the item field. Parquet doesn't have a mime-type, so I tried 'parquet' without success. I then re-read your Readme and realized that if intake-stac is built on top of intake-xarray, then you probably can't read in parquet regardless of what I put in the "type" field.
Would it be possible to add parquet via the intake-parquet library?
I'm wondering if parquet is beyond the scope of the STAC catalog spec? I don't see parquet in STAC's list of media types here. But then I don't see zarr either and I'm guessing that you support zarr with intake-stac because it's your favored data type for pangeo.

Yes! We should totally be able to do this. We need to map the stac type to the intake-parquet driver. Here's where that would go:
https://github.com/intake/intake-stac/blob/d71b2d2b0ea2f8c89cb0310706c4de6d19406e17/intake_stac/catalog.py#L351-L363
Are you up for adding this feature?

I think I can handle adding one line to your drivers :)
But I'd think this would also require adding ingest-parquet as a dependancy somewhere. Your top level requirements.txt, I assume?
And I'd need to add something to https://github.com/intake/intake-stac/blob/d71b2d2b0ea2f8c89cb0310706c4de6d19406e17/intake_stac/tests/test_catalog.py#L1

Was looking over this during STAC sprint 6, currently updating types based on STAC Types

What Media Type should we use for parquet considering it does not have a mimetype? Ideas application/parquet
While were at it should we add all the [Media Types]((https://github.com/radiantearth/stac-spec/blob/master/item-spec/item-spec.md#media-types) that STAC supports? Maybe this is a different ticket to figure out additional formats intake needs like geojson.

@wildintellect - if you are up for it, let's just do one PR where we update all the media types. I think application/parquet makes sense. I can help provide additional mappings to intake drivers as needed.


Different general improvements and fixes

Hello @emmanuelm41 , there are some conflicts with this branch probably related to this https://github.com/LedgerHQ/app-plugin-rarible/pull/4/files PR that was part of a batch work to make all plugins compatible with Stax.
Can you please see what you want to keep from the PR 4 / resolve conflicts ?


Contributors grid: improve display order

The current version of the contributors grid displays contributors on up to 3 lines. The way contributors are organized today is:

Order them to put most important ones (admins, biggest contributors) first in list
Get the correct contributor index from the list thanks to the getIdx function https://github.com/opencollective/opencollective-frontend/blob/bb2bf261c1d0c9d67f42528e455ba7d29482bb37/components/ContributorsGrid.js#L77

The current formula is:

index = rowIndex * nbCols + colIndex;

Problem: when the grid is full, you need to scroll to the right to see some of the highest contributors. This is not fair to them.
We want to change this formula so that the grid will be filled first from the left:

TODO

[ ] Rename the function to getContributorIdx
[ ] Update the formula
[ ] Ensure it works with a variety of collectives, you can use

(small) https://staging.opencollective.com/styled-icons
(medium) https://staging.opencollective.com/vis
(big) https://staging.opencollective.com/webpack

Feel free to add the nbRows parameter to the getIdx function if you think it is required.

:gift: :money_with_wings: A $50 bounty was attached to this issue. Anyone submitting a Pull Request will be rewarded with $50 when the Pull Request is reviewed, accepted and merged.
:arrow_right: More info

@Betree I want to work on it

How can I get to the page on the screenshot?

It's the collectives page. You can either activate the NCP_IS_DEFAULT=true flag or add /v2 at the end of the url (ex: https://opencollective.com/babel/v2). Please note that because this issue has a minimal complexity, the allowed time frame to complete it is only one week.

Please note that because this issue has a minimal complexity, the allowed time frame to complete it is only one week.

@Betree , Since this is the last day and also @Rexben001  hasn't made the changes after almost 3 days and hence I went ahead an raised the PR. Please review it
Thanks :)

@Rexben001 Sorry, time was almost out and @jeffin143 came up with a working solution. We'll continue with https://github.com/opencollective/opencollective-frontend/pull/2749 instead

:trophy: This issue is now completed by @jeffin143
To claim the bounty, you can either:

Submit an invoice to https://opencollective.com/engineering/expenses/new (please mention the issue number in the expense's title)
Or ask for an Open Collective gift card of the same value (to donate to other collectives)

For more info about the bounty process and how to format your invoice, please read https://docs.opencollective.com/help/developers/bounties
If you have any feedback on how we could improve the bounty process or how to better onboard new developers please share it with us, we're always eager to improve :slightly_smiling_face:


LCH color sliders

I love that your app treats LCH as a first-class citizen! I’ve been using LCH colours for different UI elements ever since I stumbled upon Lea Verou’s article, and I end up using her LCH colour picker https://css.land/lch/ a lot. It would be great to have this functionality in the sliders tab as well.

Yes, this is planned. I'm not sure when I will get to this though.

I just realized the LCH text field isn’t read-only, so I can write the specific LCH values I want, this is perfect for my use case! The LCH sliders are less needed for me now, but still a nice to have.


instance node in register center could't be removed when procedure  shutdown(using spring)

I found the instance node in register center could't be removed when the procedure shutdown
Which version of ElasticJob did you use?
the master branch version
Which project did you use? ElasticJob-Lite or ElasticJob-Cloud?
ElasticJob-Lite
Expected behavior
instance node in register server(zk) be removed
Actual behavior
instance node still in zk until the heartbeat timeout
Reason analyze (If you can)
the shutdown method schedulerFacade.shutdownInstance() removed the instance in memory and didn't remove instance node when spring desory .
it remove the regCenter also,  so in the next  JobShutdownHookPlugin shutdown step,method  new InstanceService(regCenter, jobName).removeInstance() could not being called and the jobinstance node keep alive in the register center .
Steps to reproduce the behavior.

init the job server using spring
gracefully shutdown the jvm process

Example codes for reproduce this issue (such as a github link).

same as #797


arrumando bug no modal

Arrumando bug no modal do calendário onde não carregava o formulário de atualização de evento

Pull Request Test Coverage Report for Build 390429427

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

Totals

Change from base Build 390232729:
0.0%

Covered Lines:
616

Relevant Lines:
636

💛  - Coveralls


This issue fixed for me the error "reactRoutesConfig is not defined".…

… (see http://skrift.io/articles/archive/getting-supercharged-with-react/)
I really liked playing with react and umbraco! It feels like the right direction for templating stuff.

Great stuff. I've been trying to get some time to work on this but new lap top at home needs some setting up (Visual Studio, Resharper, Licences and all) and then there is the small matter of the Tour de France being on ;)


Added missing Footer to Card Component

Example still contains html but those components are not there yet

Added OnClick to Footer, override default URL as javascript:void instead of #