Support Inline Pdf Viewing

Thank you a lot for this plugin. It's amazing, the one thing it lacks is to add an AppBar in the pdfViewer activity. Any idea how it could be done? Maybe like the flutter webview plugin does?
Thanks again!

I can get you a Android native appBar, but that's pretty useless since its just a top bar with the name of the app.
In Android, we have the back button so going back to the app is not an issue?
To get any sort of flutter component onto that PDF screen requires some sort of compositing engine that combines both flutter and Android views into one.
I'll look more into how webview plugin does it, with it's rect analogy, whether that applies to Android PDF viewer...

Great, thanks for the prompt reply. I look forward to this :D

I look forward to this too :D

Been busy with zproc.
This is definitely on my to-do list.

Zproc looks cool. Using IPC.
You should also consider NATS.
I get 800 k transactions a second on my old MacBook. Has drivers in python
and very easy to use.
It's a well known compeditoor to zmq.
I use it with flutter as well as for servers
On Sun, 26 Aug 2018, 00:41 Dev Aggarwal<EMAIL_ADDRESS>wrote:

Been busy with zproc https://github.com/pycampers/zproc.
This is definitely on my to-do list.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pycampers/flutter_pdf_viewer/issues/1#issuecomment-416001131,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuCwsJT6JKcxw5UzcdgcdJVJS7bRIejks5uUdK2gaJpZM4VlYpL
.

Great research here.
Flutter Textures is an interesting approach. But it will mean you will
loose any clipboard ability maybe ? No sure.
But yes I was using the Textures approach to render 3d models and spin
them. Not fast of course.
On Mon, 30 Jul 2018, 07:27 Dev Aggarwal<EMAIL_ADDRESS>wrote:

Update-
The webview plugin uses a FrameLayout
https://developer.android.com/reference/android/widget/FrameLayout,
which works fine. But IMO, provides a mediocre experience. It feels like a
weird mix of android and flutter views to me...
I personally, would like to try out flutter Textures
https://docs.flutter.io/flutter/widgets/Texture-class.html. Since they
are flutter widgets, I hope that they look and feel like a non-GMO flutter
app ;)
For instance, it's used by fluttie
https://pub.dartlang.org/packages/fluttie.
The library can render the animations by piping the output from the Lottie
Android library into a Flutter texture.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pycampers/flutter_pdf_viewer/issues/1#issuecomment-408750745,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuCwsBdL7R0nuhs6PY_PgYnvIViEof8ks5uLpkqgaJpZM4VlYpL
.

Thanks, will check it out.
zproc is also compatible with TCP btw.
I'm trying to get a stable feature-set first. (Working on a PUSH-PULL model right now)
But if NATS really is faster than ZMQ, I wouldn't mind putting it as an alternative backend.

Not fast of course.

What exactly was the bottleneck, the 3d rendering library or the Textures API?

Pumping the textures to the flutter texture object is not fast.
The fluttie team use it and when you try it it's not that fast.
But I would still go with it to just get going.
I saw another flutter project also using the Texture Flutter object. It was a 3d model viewer.  Slow but worked.
They were designed to use opengl I think.
Can't find the link now.
Anyway I think getting a MVP going is first Step

Would it be possible to use the new AndroidView created for Inline Google Maps?
https://github.com/flutter/flutter/issues/19030#issuecomment-416393456
https://github.com/flutter/plugins/pull/743#pullrequestreview-150361671

@allanwolski thats looks very interesting !
I think it worth trying and then comparing what it gives with the Flutter Texture approach.

I also think it's worth a try.
This may help:
https://medium.com/flutter-community/flutter-platformview-how-to-create-flutter-widgets-from-native-views-366e378115b6
https://docs.flutter.io/flutter/widgets/AndroidView-class.html

So this is basically rastisinh it to an image ?
There are tons of libs that do that but I presume you want it written in
dart ?
On Sat, 8 Sep 2018, 18:36 allanwolski<EMAIL_ADDRESS>wrote:

I also think it's worth a try.
This may help:
https://medium.com/flutter-community/flutter-platformview-how-to-create-flutter-widgets-from-native-views-366e378115b6
https://docs.flutter.io/flutter/widgets/AndroidView-class.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pycampers/flutter_pdf_viewer/issues/1#issuecomment-419656095,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuCwmZYRfrB435lytGqq0SUs5AqGnqcks5uY_ITgaJpZM4VlYpL
.

Yes, I want written in dart.
This is the layout I need port to Flutter:

Quick Status update -  will look into this issue after iOS support is enabled.

Any progress on this?

@allanwolski
I have a MVP working at the inline branch.

However, it seems that there are still some rough edges;
Here are some I encountered.

Hot reload breaks the view
Changing orientation breaks the view

Once these are ironed out, I will merge into master.

Great job, @devxpy!
I tested here and found only the problems reported by you.
The performance is very good!

I experience crashes with multiple tabs and the plugin of the inline branch. Maybe i can send logs later.

But anyways thank you very much for this :+1:

@Borduni multiple tabs, can you please provide more context?

I have a layout with a bottom navigation bar (3 pages). The app crashes when switching between them after implementing this plugin. If I revert it everything is fine again

@Borduni I think it would really help if you could provide some error logs :smile_cat:

Okay I think the error was because of my phone. I have installed a custom rom. Tried it on the same phone without any modifications and it worked, thanks!

That's weird. This could be an issue upstream with flutter. Let me try upgrading to flutter 1.0

@devxpy, any updates on this? Do the bugs still occur?

I found i out that if you add
 `<application>`
        <activity android:name=".PdfActivity" android:configChanges="orientation" />
    </application>

to AndroidManifest.xml the view will rerender after changing orientation. But some stack trace error occurs during that

Thanks for checking this out, @Xaeroxaero. Could you please issue a pull request?

@Xaeroxaero where is PdfViewerThread?


Architecturally defined software hints

It is a common use model for hypervisors to emulate an IOMMU for the guest OS or in case of nested virtualization, for the guest VMM. Such emulation involves shadowing updates made to in-memory data structures of the emulated IOMMU by the guest OS/VMM. Usually this requires the IOMMU to track updates to the memory resident data structures made by the guest OS/VMM.
When the data structure entries are made invalid i.e., the V bit changed from 1->0, the IOMMU is not required to observe the changes till a suitable IOMMU command to invalidate cached copies of such data structures are issued. The submission of such a command to the emulated command queue enables the hypervisor to perform the shadowing operations to synchronize the shadow copies of the data structures.
However, when data structure entries are made valid i.e., the V bit changed form 0->1, the architecture does not require an explicit invalidation command to be submitted as the architecture requires that invalid entries be not cached. However for the emulated IOMMU this poses extra burden to track all memory updates made by the guest OS/VMM.
To support such emulation cases efficiently, a hint could be provided by the hypervisor to the guest to request that invalidation commands be submitted on V transition from 0->1.
To generalize this concept, the following is proposed:

Reserve a 8-byte location in the IOMMU register map for software defined hints. This location will be called
architecturally-defined-software-hints (ADSH). This location being architecturally defined allows software
portability and uniformity across all IOMMU implementations.

The hardware behavior of this location is to drop writes and return 0 on reads.

The software guidelines section of the specification shall define meaning of bits in in this location will be defined.
In the current version of the specification, one bit of this location shall be defined as follows:
Bit 0 - IOV - Invalidate entry on making valid. When a in-memory data entry is made valid i.e. the V bit of the entry
changed from 0 to 1, then software must issue a suitable invalidation command as defined in Table 4 of
section 2.9  "Caching in-memory data structures"  for the change to be observed by the IOMMU.
Bit 47:1 - reserved for future standard use
Bit 63:48 - designated for custom use

Better pursued as Device Tree and ACPI binding extension.


App is crashing on Launch Screen

When I'm testing my app on develop mode, everything is ok, but when I'm sending a test flight version of my app to the app store my app is crashing at Launch Screen and I have to open the app from recent list of iPhone.
When i run the app with Release mode i get the following error :
2017-09-07 15:45:37.158 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'console.tron.log')
2017-09-07 15:45:37.169 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'console.tron.log')
libc++abi.dylib: terminating with uncaught exception of type NSException
Crash Log
Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note:  EXC_CORPSE_NOTIFY
Triggered by Thread:  3
Application Specific Information:
abort() called
Filtered syslog:
None found
Last Exception Backtrace:
(0x18dd7a1c0 0x18c7b455c 0x18dd7a108 0x1000f6e38 0x1000f1264 0x18dd80160 0x18dc73c3c 0x18dc786ec 0x1000f4d04 0x1001427fc 0x100142668 0x18cc05200 0x18cc051c0 0x18cc13444 0x18cc089a8 0x18cc13940 0x18cc1538c 0x18cc150ec 0x18ce0e2b8 0x18ce0dda4)
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_platform.dylib      	0x000000018ce07e70 0x18ce06000 + 7792
1   CoreFoundation                	0x000000018dc800f4 0x18dc4b000 + 217332
2   ImageIO                       	0x000000018fb86918 0x18f9f2000 + 1657112
3   ImageIO                       	0x000000018fb86460 0x18f9f2000 + 1655904
4   ImageIO                       	0x000000018faac010 0x18f9f2000 + 761872
5   ImageIO                       	0x000000018fa1871c 0x18f9f2000 + 157468
6   ImageIO                       	0x000000018fbb7688 0x18f9f2000 + 1857160
7   ImageIO                       	0x000000018fbbb8a0 0x18f9f2000 + 1874080
8   ImageIO                       	0x000000018fc063f0 0x18f9f2000 + 2180080
9   ImageIO                       	0x000000018fa1d510 0x18f9f2000 + 177424
10  ImageIO                       	0x000000018fa1b058 0x18f9f2000 + 168024
11  ImageIO                       	0x000000018fa2477c 0x18f9f2000 + 206716
12  ImageIO                       	0x000000018fa22708 0x18f9f2000 + 198408
13  QuartzCore                    	0x0000000190f96a98 0x190f7c000 + 109208
14  QuartzCore                    	0x0000000190f95e20 0x190f7c000 + 106016
15  QuartzCore                    	0x0000000190f97be8 0x190f7c000 + 113640
16  QuartzCore                    	0x0000000190f97e4c 0x190f7c000 + 114252
17  QuartzCore                    	0x0000000191087088 0x190f7c000 + 1093768
18  QuartzCore                    	0x00000001910037f8 0x190f7c000 + 555000
19  QuartzCore                    	0x000000019102ac58 0x190f7c000 + 715864
20  QuartzCore                    	0x000000019102b678 0x190f7c000 + 718456
21  CoreFoundation                	0x000000018dd277dc 0x18dc4b000 + 903132
22  CoreFoundation                	0x000000018dd2540c 0x18dc4b000 + 893964
23  CoreFoundation                	0x000000018dd2589c 0x18dc4b000 + 895132
24  CoreFoundation                	0x000000018dc54048 0x18dc4b000 + 36936
25  GraphicsServices              	0x000000018f6da198 0x18f6ce000 + 49560
26  UIKit                         	0x0000000193c402fc 0x193bc5000 + 504572
27  UIKit                         	0x0000000193c3b034 0x193bc5000 + 483380
28  primi                         	0x00000001000d80d0 0x1000d0000 + 32976
29  libdyld.dylib                 	0x000000018cc385b8 0x18cc34000 + 17848
Thread 3 name:  Dispatch queue: com.facebook.react.ExceptionsManagerQueue
Thread 3 Crashed:
0   libsystem_kernel.dylib        	0x000000018cd4a014 0x18cd2b000 + 126996
1   libsystem_pthread.dylib       	0x000000018ce12450 0x18ce0d000 + 21584
2   libsystem_c.dylib             	0x000000018ccbe3e0 0x18cc5b000 + 406496
3   libc++abi.dylib               	0x000000018c7892d4 0x18c788000 + 4820
4   libc++abi.dylib               	0x000000018c7a6cc0 0x18c788000 + 126144
5   libobjc.A.dylib               	0x000000018c7b4844 0x18c7ac000 + 34884
6   libc++abi.dylib               	0x000000018c7a366c 0x18c788000 + 112236
7   libc++abi.dylib               	0x000000018c7a2f84 0x18c788000 + 110468
8   libobjc.A.dylib               	0x000000018c7b4690 0x18c7ac000 + 34448
9   primi                         	0x00000001001429f0 0x1000d0000 + 469488
10  primi                         	0x0000000100142668 0x1000d0000 + 468584
11  libdispatch.dylib             	0x000000018cc05200 0x18cc04000 + 4608
12  libdispatch.dylib             	0x000000018cc051c0 0x18cc04000 + 4544
13  libdispatch.dylib             	0x000000018cc13444 0x18cc04000 + 62532
14  libdispatch.dylib             	0x000000018cc089a8 0x18cc04000 + 18856
15  libdispatch.dylib             	0x000000018cc13940 0x18cc04000 + 63808
16  libdispatch.dylib             	0x000000018cc1538c 0x18cc04000 + 70540
17  libdispatch.dylib             	0x000000018cc150ec 0x18cc04000 + 69868
18  libsystem_pthread.dylib       	0x000000018ce0e2b8 0x18ce0d000 + 4792
19  libsystem_pthread.dylib       	0x000000018ce0dda4 0x18ce0d000 + 3492
Environment

react-native -v: 0.46.1
node -v: 7.7.1
npm -v: 5.3.0
yarn --version:

Then, specify:

Target Platform: IOS

Development Operating System: macOS

Build tools:

Facing the same issue. I open the app several times and it's fine and then it randomly crashes before loading the package.
Seems to be limited to iOS.

Thanks for opening the issue! It does not appear like a community member will be able to reliably reproduce this issue. This may be for several reasons; perhaps it affects a particular app but a minimal repro has not been provided, or the issue may be sporadic. As it happens, we need a concrete set of steps that can demonstrably reproduce the issue as this will allow your fellow community members to validate a fix. We'll close the issue for now, but feel free to submit a new issue once you're able to reliably reproduce the issue locally. Thanks for your understanding!

Getting the same issue after ungrading to iOS11 and react-native 0.48

It looks like we got the same issue during the apple review.

I am also having this issue in TestFlight with an app that has worked in Simulator and on my iPhone6 / iPad for months.
Has anyone found a solution?

I'm having the same issue too, is there a hero out there who can save us all ?
react-native : 0.50.3
iOS : version 11

I have just reached out to my local tech community which is pretty strong; hoping for a response in a day or two.
I have been unable to find ANY helpful information on Apple Dev forum, google or stackoverflow.

I had exactly the same issue, the same type of a crash. It turned out to be due to use of the deprecated View.propTypes.style in one of the imported libraries. See:
https://github.com/facebook/react-native/issues/16542
By the way, you can test release builds before sending it to Testflight or Appstore in Simulator:
react-native run-ios --configuration Release

have the similar probleam , could anybody help me with detecting issue
Last Exception Backtrace:
0   CoreFoundation                	0x183d67164 __exceptionPreprocess + 124
1   libobjc.A.dylib               	0x182fb0528 objc_exception_throw + 55
2   CoreFoundation                	0x183d670ac +[NSException raise:format:] + 115
3   yonotonApp                    	0x1010b624c RCTFatal + 3940940 (RCTAssert.m:134)
4   yonotonApp                    	0x1010a19e4 __28-[RCTCxxBridge handleError:]_block_invoke + 3856868 (RCTCxxBridge.mm:852)
5   libdispatch.dylib             	0x1836e6a54 _dispatch_call_block_and_release + 23
6   libdispatch.dylib             	0x1836e6a14 _dispatch_client_callout + 15
7   libdispatch.dylib             	0x183727c80 _dispatch_main_queue_callback_4CF$VARIANT$armv81 + 967
8   CoreFoundation                	0x183d0f344 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 11
9   CoreFoundation                	0x183d0cf20 __CFRunLoopRun + 2011
10  CoreFoundation                	0x183c2cc58 CFRunLoopRunSpecific + 435
11  Foundation                    	0x184661594 -[NSRunLoop+ 50580 (NSRunLoop) runMode:beforeDate:] + 303
12  Foundation                    	0x1846809ac -[NSRunLoop+ 178604 (NSRunLoop) runUntilDate:] + 95
13  yonotonApp                    	0x101042bc0 +[SplashScreen show] + 3468224 (SplashScreen.m:23)
14  yonotonApp                    	0x100cfaa14 -[AppDelegate application:didFinishLaunchingWithOptions:] + 27156 (AppDelegate.m:55)
15  UIKit                         	0x18d3902c4 -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 383
16  UIKit                         	0x18d581bc4 -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 3435
17  UIKit                         	0x18d586a14 -[UIApplication _runWithMainScene:transitionContext:completion:] + 1711
18  UIKit                         	0x18d8222a8 __111-[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:]_block_invoke + 799
19  UIKit                         	0x18dafa100 +[_UICanvas _enqueuePostSettingUpdateTransactionBlock:] + 159
20  UIKit                         	0x18d821f0c -[__UICanvasLifecycleMonitor_Compatability _scheduleFirstCommitForScene:transition:firstActivation:completion:] + 251
21  UIKit                         	0x18d82276c -[__UICanvasLifecycleMonitor_Compatability activateEventsOnly:withContext:completion:] + 731
22  UIKit                         	0x18dfa77c0 __82-[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:]_block_invoke + 259
23  UIKit                         	0x18dfa7664 -[_UIApplicationCanvas _transitionLifecycleStateWithTransitionContext:completion:] + 447
24  UIKit                         	0x18dd152cc __125-[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:]_block_invoke + 219
25  UIKit                         	0x18deae3cc _performActionsWithDelayForTransitionContext + 111
26  UIKit                         	0x18dd1517c -[_UICanvasLifecycleSettingsDiffAction performActionsForCanvas:withUpdatedScene:settingsDiff:fromSettings:transitionContext:] + 251
27  UIKit                         	0x18daf9760 -[_UICanvas scene:didUpdateWithDiff:transitionContext:completion:] + 363
28  UIKit                         	0x18d585158 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 539
29  UIKit                         	0x18d99adbc -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 363
30  FrontBoardServices            	0x18642a1f0 -[FBSSceneImpl _didCreateWithTransitionContext:completion:] + 363
31  FrontBoardServices            	0x186432af8 __56-[FBSWorkspace client:handleCreateScene:withCompletion:]_block_invoke_2 + 223
32  libdispatch.dylib             	0x1836e6a14 _dispatch_client_callout + 15
33  libdispatch.dylib             	0x1837229c4 _dispatch_block_invoke_direct$VARIANT$armv81 + 279
34  FrontBoardServices            	0x18645e7f8 FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 35
35  FrontBoardServices            	0x18645e49c -[FBSSerialQueue _performNext] + 403
36  FrontBoardServices            	0x18645ea38 -[FBSSerialQueue _performNextFromRunLoopSource] + 55
37  CoreFoundation                	0x183d0f77c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 23
38  CoreFoundation                	0x183d0f6fc __CFRunLoopDoSource0 + 87
39  CoreFoundation                	0x183d0ef84 __CFRunLoopDoSources0 + 203
40  CoreFoundation                	0x183d0cb5c __CFRunLoopRun + 1047
41  CoreFoundation                	0x183c2cc58 CFRunLoopRunSpecific + 435
42  GraphicsServices              	0x185ad8f84 GSEventRunModal + 99
43  UIKit                         	0x18d3855c4 UIApplicationMain + 235
44  yonotonApp                    	0x100cfae94 main + 28308 (main.m:16)
45  libdyld.dylib                 	0x18374c56c start + 3
RN:0.49.5
app is crashed on launch in release mode , (apple rejected app)

any solution ? facing same error

same issue: got reject while app review
"react": "16.3.1",
"react-native": "0.55.4",
Thread 5 name:  Dispatch queue: com.facebook.react.ExceptionsManagerQueue
Thread 5 Crashed:
0   libsystem_kernel.dylib        	0x00000001820e12ec 0x1820bf000 + 140012
1   libsystem_pthread.dylib       	0x0000000182282288 0x18227f000 + 12936
2   libsystem_c.dylib             	0x000000018204fd0c 0x181fed000 + 404748
3   libc++abi.dylib               	0x00000001817ea2c8 0x1817e9000 + 4808
4   libc++abi.dylib               	0x00000001817ea470 0x1817e9000 + 5232
5   libobjc.A.dylib               	0x00000001818148d4 0x18180c000 + 35028
6   libc++abi.dylib               	0x000000018180437c 0x1817e9000 + 111484
7   libc++abi.dylib               	0x0000000181803ccc 0x1817e9000 + 109772
8   libobjc.A.dylib               	0x0000000181814720 0x18180c000 + 34592
9   CargetherV2                   	0x000000010040d154 0x100378000 + 610644
10  CargetherV2                   	0x000000010040cc9c 0x100378000 + 609436
11  libdispatch.dylib             	0x0000000181f4cb24 0x181f4b000 + 6948
12  libdispatch.dylib             	0x0000000181f4cae4 0x181f4b000 + 6884
13  libdispatch.dylib             	0x0000000181f56a38 0x181f4b000 + 47672
14  libdispatch.dylib             	0x0000000181f57380 0x181f4b000 + 50048
15  libdispatch.dylib             	0x0000000181f57d4c 0x181f4b000 + 52556
16  libdispatch.dylib             	0x0000000181f6011c 0x181f4b000 + 86300
17  libsystem_pthread.dylib       	0x000000018227fe70 0x18227f000 + 3696
18  libsystem_pthread.dylib       	0x000000018227fb08 0x18227f000 + 2824

just a comment : I spent a lot of time to found the crash issue, but then found that crash was in Ipad and issue was with specific settings for Modal window for tablets

Solution found here.
https://stackoverflow.com/a/51947619/5343704

For a very large project, solution found here.
https://stackoverflow.com/a/51947619/5343704


Add signaturedata

Creating a signatureData struct that can be used by both validator and signer
vendoring the etree fork until the upstream merges a pull request we need

closing this to remove the TravisCI checks...got Codeship to work for the build/testing


chaos(engine): enable chaos test in dataflow and add two tests.

What problem does this PR solve?
Issue Number: ref #5640
What is changed and how it works?

Enable chaos test in CI. Run every night regularly.

Check List
Tests

Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

Codecov Report

Merging #5641 (23b328c) into master (fcea4d5) will increase coverage by 0.2915%.
The diff coverage is 57.6974%.

Flag
Coverage Δ

cdc
61.9846% <62.3731%> (+0.8364%)
:arrow_up:

dm
52.0113% <29.5774%> (-0.0314%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #5641        +/-   ##
================================================
+ Coverage   56.0768%   56.3684%   +0.2915%
================================================
  Files           535        526         -9
  Lines         70143      69617       -526
================================================
- Hits          39334      39242        -92
+ Misses        27078      26640       -438
- Partials       3731       3735         +4

/merge

/run-verify

/run-verify


build(readme.md): add support for fastify

:tada: This PR is included in version 1.106.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[SDK] Custom gas for Xpla create2 factory deployment

Problem solved
Custom gas-price for Xpla create2 factory deployment

850 gwei for testnet
5100 gwei for mainnet

/release-pr

/release-pr


IOS Build Failed (Unknown type namespace)

Steps to Reproduce

Use GoogleSignIn with react-native-maps

Actual Behavior
Here is trace

Environment
Here is my Podfile

react-native
react-native-google-signin
react
cocoapods and GoogleSignIn pod version (if applicable)
gradle, android plugin for gradle and play-services-auth version (if applicable)

This way of installing React use Folly and boost-for-react-native which cause this error
I need this for react-native-maps
When I use GoogleSignIn in clear project - all good
How to use react-native-google-signin with react-native-maps?

I am not using react native maps but still same issue.

Solved by changing RNGoogleSignin.xcodeproj
In "Framework search paths" and in "Header search paths" should use $(SRCROOT)/GoogleSdk

Also having this issue, but the proposed solution does not work for me. Any other ideas?

@jmacioszek remove ${SRCROOT}/../../../ios/** from RNGoogleSignin.xcodeproj header search path.

@AbhishekCode awesome, thanks a lot!

Solved.


Change to union_relations in 0.8.1 causes error about no columns being found

Describe the bug
Today our activities model, which uses the union_relations macro, to stitch together a few models, has broken within our SQLFluff Github Action, with the following error:
TMP: dbt compilation error on file 'models/enrichment/en__activities.sql', There were no columns found to union for relations int__activities__customer_order_created, int__activities__non_customer_order_created, int__activities__order_adjusted, int__activities__order_line_created, int__activities__order_line_refunded

This error message looks like it was introduced in 0.8.1, which appears to amend how include and exclude works, but our model does not use these fields, here it is:
WITH
activities AS (
    {{ dbt_utils.union_relations(
        relations=[
            ref('int__activities__customer_order_created'),
            ref('int__activities__non_customer_order_created'),
            ref('int__activities__order_adjusted'),
            ref('int__activities__order_line_created'),
            ref('int__activities__order_line_refunded')
        ]
    ) }}
)
....

Steps to reproduce
With the following:
dbt_core==1.0.*
dbt_snowflake==1.0.*
sqlfluff-templater-dbt==0.9.*

and packages:
packages:
  - package: calogica/dbt_expectations
    version: 0.5.1

Create a model using union_relations, and try to compile the code
Expected results
The model should compile without issue
Actual results
The compile fails, stating that there are no columns found in the relations
System information
The contents of your packages.yml file:

package: calogica/dbt_expectations
version: 0.5.1

Which database are you using dbt with?

[ ] postgres
[ ] redshift
[ ] bigquery
[ x ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
installed version: 1.0.3
   latest version: 1.0.3

Up to date!

Plugins:
  - snowflake: 1.0.0 - Up to date!

Additional context
Looks related to this column_superset.keys() list from https://github.com/dbt-labs/dbt-utils/blob/main/macros/sql/union.sql#L64
Happy to share more info and screen grabs of our model and the underlying models, and from our github action as well (it's basically running sqlfluff lint on changed files)
Are you interested in contributing the fix?

Hi @andrewpblee, sorry for your trouble here! This is curious as during testing everything worked correctly. I'm wondering whether the absence of one or more of the include/exclude params behaves differently.
Could you try one or both of these:

manually pass in all columns' names for one of your unioning models to see if that corrects it
Making a custom version of the utils macro inside of your project, which changes this line to be something like {% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}

https://github.com/dbt-labs/dbt-utils/blob/main/macros/sql/union.sql#L64
I suspect that might restore the old behaviour - if it does then I'll ship another patch ASAP.
Writing this on mobile which is why I'm delegating the debugging - thanks in advance for your help!

hey @joellabes thanks - and no worries - i'll try the custom macro version first and see how that reacts

It works! - I copied the macro into a new file, swapped out the line as you said and the github action passes with dbt utils at 0.8.1

OK! Thanks for doing the research. We'll get that properly released later today hopefully, at which point you can safely delete your version

Thanks @joellabes, I'm intrigued why this is only happening within our github actions (we use sqlfluff and pre-commit-dbt and both errored) and not when I compile locally.

Hmm! That is weird - we couldn't repro it here either. Can you share the columns in the models you're trying to union? Our only guess so far is something along the lines of "maybe the third model doesn't share any columns with the first one".

Hello, happy to help resolve that issue, we're also experiencing the exact same problem.

@thisiscab thank you! In the short term, it looks like the workaround above will see you right - would appreciate any background you can share.
Is yours also only happening with sqlfluff and other CI checks? Is there anything unexpected about the columns you're combining? Do you define a set of include/exclude values in any of your usages of the macro?

Here is how we're using the the macro:
{%- set table_that_contains_locations = [
        ref('stg_chord__shopify_orders'),
        ref('stg_chord__shopify_fulfillments'),
    ]
-%}

with source as (

    select * from {{ source }}

),

all_location_ids_outside_main_table as (

    {{ dbt_utils.union_relations(
        relations=table_that_contains_locations,
        include=[
            chord_utils.target_casing('location_id'),
            chord_utils.target_casing('created_at'),
        ]
    ) }}

),

...

It's failing in our CI checks when running the command dbt compile.

hey @joellabes, so this is our activities one-big-table, that has everything a customer ever did with us, each activity must have a core fields in common (e.g customer_id and activity_type) , so there shouldn't be anything in one model that isn't in another. Happy to share the columns if you need though

@joellabes I am seeing similar issues in our dbt project @ Surfline. All started when I ran dbt deps which bumped dbt_utils version from 0.8.0 to 0.8.1. Originally, dbt_utils was installed by calogica/dbt_date. We've hard coded the dependency like @thisiscab called out to
packages:
  - package: calogica/dbt_date  # This includes dbt-labs/dbt-utils
    version: [">=0.5.0", "<0.6.0"]

  - package: dbt-labs/dbt_utils  # This is included due to a bug in union_relations for v0.8.1
    version: 0.8.0

  - package: dbt-labs/audit_helper
    version: 0.5.0

  - package: dbt-labs/codegen
    version: 0.5.0

The SQL where this failed was
with combined as (

    -- noqa: disable=all
    {{ dbt_utils.union_relations(
        relations=[
            ref('base_wavetrak_itunes_subscription_event_schema_1_2'),
            ref('base_wavetrak_itunes_subscription_event_schema_1_2_stitch')
        ],
        exclude=[
            'apple_report_datetime',
            'id',
            '_dbt_source_relation',
            '_sdc_batched_at',
            '_sdc_extracted_at',
            '_sdc_received_at',
            '_sdc_sequence',
            '_sdc_table_version'
        ]
        )
    }}
    -- noqa: enable=all

),

As a sanity check that it wasn't something upstream for our extract-load, I queried the underlying tables and they do have columns to union.

@GClunies are you running into issues only in secondary CI contexts (e.g. SQLFluff and pre-commit-dbt) vs deployment, or is it impacting your main workflow as well?
This is a weird one; I would prefer to understand it before fixing it, to be sure that we're actually fixing it, but since the workaround above protects users who aren't even using include/exclude, I think we'll ship that now and keep trying to track down the underlying issue.

@joellabes I ran into it while developing locally. Error surfaced when running dbt build -s +some_model --full-refresh

OK thanks! I've just released dbt_utils 0.8.2 which has a fix, so I'll close this out. Sorry for the hassle all!


Smart Camera

Smart Camera support
Is is possible to get a Tuya wifi smart camera Solar PTZ to work bridging to home kit?
Prefer not to purchase overpriced products that are Homekit supported

Duplicate of #48
PTZ can be supported, but with 4 on/off switch represents for 4 directions, the user experience may be not so good.


Exit if max attempt limit is reached in make_request_using_api_utils (#161)

This PR modifies the make_request_using_api_utils function from inventory.py -- used by the course, account, and term Canvas data fetching -- so that it exits the program if the maximum number of attempts are reached. This ensures that the Response object returned by the function is always a valid one. The PR aims to resolve issue #161.
I thought for a little while about whether the program should continue after failing multiple times, and I decided that for these requests, the dataset would be incomplete without the data. We would either be missing 100 courses or a foreign key constraint would fail from course -> account or term. Note that I have not yet seen this situation in our deployed processes; if we are concerned that this might happen, we can bump the max request attempts to 4.

@ssciolla your rationale seems for exiting if retry fails seems ok. I have seen different API errors out in different ways. You might experience JSON parsing error might not be true for another API. I have also seen that for certain API retry sometime don't fetch the data you want when tried momentarily.
This is OK.

I'm okay with the changes, I just left some comments about how this could be improved, but they're not necessary to implement now.


add default filter slot to filter section

What's added
A default filter slot for filter section.
Reason
A default filter does not have to go through the initialisation process as it is always visible, adding any filter to this slot will remove it from dropdown's init logic.

It would be nice if you can provide an example in the PR description of the usage of this new slot. Feel free to add it after you merge the PR if you prefer.


Implement HasRawWindowHandle for x11, maybe GTK?

This was added for the mac and windows in #1586.

curious to hear if this was a decision or an omission.

This was discussed. I have no access to non-Windows platforms and little knowledge about them, so rather than doing a blind implementation likely to be buggy, implementations on those missing platforms is left for a future change by whoever can contribute it. I did Windows and @rjwittams did macOS.
Originally posted by @djeedai in https://github.com/linebender/druid/issues/1586#issuecomment-782599567

Some notes: I looked at GTK and X11, and X11 is probably trivial (but I'd rather someone do it who can also test it). GTK however is an odd one because it's not a platform but already a platform abstraction itself, so this would require a bit of work to go fetch the right raw platform handle for the current platform config, if at all possible (I think it is, but couldn't find the appropriate wrapper in the Rust binding).

GTK is also easy (for x11 atleast) but I don't think the bindings have an easy way to get the xdisplay.
There's (gdk_x11_window_get_xid)[https://developer.gnome.org/gdk3/stable/gdk3-X-Window-System-Interaction.html#gdk-x11-window-get-xid] to get the xlib window. The corresponding function in the bindings is (here)[https://docs.rs/gdkx11/0.9.0/gdkx11/struct.X11Window.html#method.get_xid].
To get the xdisplay we have (gdk_x11_display_get_xdisplay)[https://developer.gnome.org/gdk3/stable/gdk3-X-Window-System-Interaction.html#gdk-x11-display-get-xdisplay] but in the (bindings)[https://docs.rs/gdkx11/0.9.0/gdkx11/struct.X11Display.html] I don't see how I can get the raw pointer.
I opened an (issue)[https://github.com/gtk-rs/gtk-rs/issues/346] in the gtk-rs repo to see if I can get some help.


[bug]:  macOS build failure "unsealed contents present in the bundle root" after using flutterfire configre

Is there an existing issue for this?

[X] I have searched the existing issues.

CLI Version
0.3.0-dev.18
Firebase Tools version
13.0.1
Flutter Doctor Output
[✓] Flutter (Channel stable, 3.16.3, on macOS 13.6 22G120 darwin-arm64 (Rosetta), locale en-DE)
    • Flutter version 3.16.3 on channel stable at /Users/nils/fvm/versions/3.16.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (3 days ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/nils/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.12.1

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

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

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

[✓] IntelliJ IDEA Community Edition (version 2023.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Ultimate Edition (version 2022.2.3)
    • IntelliJ at /Users/nils/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.4345.14/IntelliJ
      IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] VS Code (version 1.82.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.70.0

[✓] Connected device (3 available)
    • Nils’s iPhone (mobile) • 00008110-00042D6011D3801E • ios            • iOS 17.1.2 21B101
    • macOS (desktop)        • macos                     • darwin-arm64   • macOS 13.6 22G120 darwin-arm64 (Rosetta)
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 119.0.6045.199

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Description
I'm unable to build our macOS application after using flutterfire configre:
/Users/nils/Projects/playground/flutter_macos_flavors/build/macos/Build/Products/Debug-dev/dev_flutter_macos_flavors.app: unsealed contents present in the bundle root
Command CodeSign failed with a nonzero exit code

Steps to reproduce
Run the following commands:
# Create Flutter app
flutter create flutter_macos_flavors_bug

# Navigate to the app
cd flutter_macos_flavors_bug

# Configure Firebase
flutterfire configure \
  --project=YOUR_FIREBASE_ID \
  --platforms=macos \
  --out=lib/firebase_options.dart \
  --macos-build-config=Debug \
  --macos-out=macos/config/firebase \
  --macos-bundle-id=re.nils.flutterMacosFlavorsBug

# Remove firebase_options.dart as it's not needed and requires the firebase_core package. If you like, you can also install the firebase_core package to fix this problem, but it won't fix the reported bug.
rm lib/firebase_options.dart

# Try to run for macOS
flutter run -d macos

Alternatively, you can clone this repository: https://github.com/nilsreichardt/playground/tree/main/flutter_macos_flavors and try to run flutter run -d macos
Expected behavior
The app should build.
Screenshots

Additional context and comments

If you comment out the commands in the "FlutterFire: "flutterfire bundle-service-file"" Build Phase, the build works again.

Hey @nilsreichardt, thanks for reporting. I was able to reproduce and should have a fix in the next release that should be cut at some point this week. Also have the documentation PR we discussed in Prague: https://github.com/invertase/flutterfire_cli/pull/224 if you want to take a look 👍

Thanks for the quick fix ❤  This was a major blocker for us to migrate to use flavors and macOS (https://github.com/SharezoneApp/sharezone-app/pull/1078)


Improve finding half.hpp

On Fedora half.hpp is installed to the system dir /usr/include. There is no cmake package, so finding the half cmake package will always fail. The source looks for half with #include <half/half.h>  The use of half/ makes it impossible to find and use the system location.
So look for the half.hpp path and add add that to the include_directories.
Use this sed script to programatically change the uses of #include <half/half.h>
for f in find . -type f -name '*.hpp' -o -name '*.cpp' ; do
sed -i -e 's@#include <half/half.hpp>@#include <half.hpp>@' $f
done
This covers this issue https://github.com/ROCm/rpp/issues/292

@trixirt -- changes failing all CI tests
CMake Error in src/modules/CMakeLists.txt:
  Found relative path while evaluating include directories of "modules":

    "HALF_INCLUDE_DIR-NOTFOUND"

CMake Error in addkernels/CMakeLists.txt:
  Found relative path while evaluating include directories of "addkernels":

    "HALF_INCLUDE_DIR-NOTFOUND"

-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    HALF_INCLUDE_DIRS

CMake Generate step failed.  Build files cannot be regenerated correctly.

##[error]The process '/usr/local/bin/cmake' failed with exit code 1
##[error]CMake failed with error: The process '/usr/local/bin/cmake' failed with exit code 1

PR #459 - adds this fix


Update StockBugFixModules old versions KSP versions

Less promiscuous version numbers

Ah, I missed that one.

https://github.com/politas/CKAN-meta/commit/f12f24e4650595ced2a88d2a5f0697ac0634ba1a passes jenkins.
https://github.com/politas/CKAN-meta/commit/ac8cb0219385b65e624a7d251a427a0401dff58f and https://github.com/politas/CKAN-meta/commit/6171d3295512ebc0b9ce5de114b69f5b04d6317e fail seemingly unrelated to the changes they made. Manually tested both affected files locally and passed. Merging with my thanks.


Running Sumo-Gui

Hello after the training is done. I wanted to create visualizations in SUMO of unoptimized traffic vs traffic that is optimized with neural networks. Visuals of before training vs after training. How do you suggest is the best way to do that? Thank you very much

I have just updated the code. Now it is possible to easily test the trained models and compare them using data generated by the test episode.


Status Effect Alert sidebar disappears and reappears sporadically

Description

The sidebar window on the right side of the screen displaying health, hunger/thirst, buckled, handcuffed, stunned, and other status effects seems to disappear and reappear at random.
So far no one has been able to determine the steps to reproduce. Reported by multiple users in the Discord, and I've experienced it myself.
Screenshots

It seems to collapse into this little square here. (I annotated this screenshot originally posted in Discord by user Raya Nebula)
Additional context

First reported on 2022-01-06 from what I can tell.
It has been speculated that the disappearance/reappearance can be triggered by a change in status effects (e.g. hunger or thirst getting worse over time).

TODO: revert #6574 whenever this is fixed

Discord user AbsolutePotato reports that this happens when they resize their chat window.

I have come to the conclusion that drones are pilfering our alerts and running off with them.
https://user-images.githubusercontent.com/60421075/156610227-7a660ae1-6854-4e8e-b974-f45dc7b0c05b.mp4
So yeah, looks like somehow alerts get cleared when the sandbox menu spawns some client-side dummy entities. This also seems to happen with monkeys? There might just be entities somewhere on the map causing the same effect during regular gameplay.


Irma

There are various fixes scattered in here. Let me know if I should pull things out and remove the changes that are specific to #82
fixes #96

@jread-usgs Could you fix the merge conflicts? I'd like to switch to Irma where hopefully my remake pipeline isn't broken.

Closing this in favor of #109


Problem with scrolling on ios

I have a problem with scrolling on ios on my website - http://silencer.website/tomatdesign-testing/ (Without init sliders - http://silencer.website/tomatdesign-testing-without-sliders/). It isn't because of header because it had started lagging before I created it.
On my website I use:
autosize.js
jquery.fileupload.js
jquery.validate.js
jquery.inputmask.bundle.js
masonry.pkgd.js(But it destroys on mobile(< 768))
retina.js
slick.js
Here are videos with bugs:
http://silencer.website/tomatdesign-testing/videos/bug1.mp4
http://silencer.website/tomatdesign-testing/videos/bug2.mp4
http://silencer.website/tomatdesign-testing/videos/bug3.mp4
Tested on iPhone 5S, 6S, 7 in Chrome and Safari.
jQuery version - 3.2.1
Slick version - 1.8.1

Same issue here, not fixed


computeMD5 with special characters has 2 different outputs

Environment
Liquibase Version: master branch and last tag is v4.1.1
Liquibase Integration & Version: maven 3.6.3
Liquibase Extension(s) & Version: none
Database Vendor & Version: none
Operating System Type & Version: Windows 10 & Ubuntu 18.04
Description
I discovered that the md5 checksum can be different between Windows 10 and Ubuntu 18.04 when we deal with special characters.
I discovered this issue when my team changed their Jenkins pipeline from Windows OS to Linux OS. The generateSQL process was finishing with md5 checksum error. After investigation I saw it was due to accent characters.
Steps To Reproduce
To be very efficient (I hope), I forked your repository and added unit tests to reproduce easily the issue.
What to do:

Copy paste this unit tests file: https://github.com/fabiencrassat/liquibase/blob/md5encoding/liquibase-core/src/test/java/liquibase/util/MD5UtilTest.java
Run mvn -Dtest='liquibase.util.MD5UtilTest' test into liquibase-core folder.

Do it on Windows OS and Linux OS and you will see the output (commented in MD5UtilTest.java file too).
Actual Behavior
A string with special characters has two different computeMD5 outputs, depending of the stream encoding and the OS.
Expected/Desired Behavior
A string with special characters should have the same computeMD5 outputs, without concern of stream encoding or the OS.
Additional Context
I can not imagine the impacts of a change like that. That's why I prefer to show you with unit tests. And don't hesitate to explain these impacts here, I will be very happy to understand better!
Sorry for my english, I'm a French old developers! And take care of you all!!

Thanks @fabiencrassat for bringing this issue to our attention.  And thanks for making the recreation scenario.  It definitely helps.  We will add this to our list of issues.

Good! Thank you @molivasdat
Hope it will be easy. If not, don't hesitate to contact me :)
And I'm very curious to understand what will be your analysis.
Regards,

Hi @fabiencrassat Which version of java were you using for the tests?

Hi,
On windows it is:
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

For Linux I can do it only next week :(
Regards,

Hello @molivasdat,
Hope you are being well!
I have your answer for linux, I'm using a docker image with IBM jdk-8.251.
Hope it will help you :)
Regards,

@fabiencrassat Thanks for getting back to us.  Looks like both windows and Linux are using the same major version 1.8

@fabiencrassat Thanks for getting back to us.  Looks like both windows and Linux are using the same major version 1.8

Yes ;)

The goal of the MD5Util class is to be a low-level "just encode the bytes" given helper function. Any "smoothing" of cross-os differences like line ending standardization etc. should be handled upstream, such as in liquibase.change.CheckSum#compute()
My guess is that there are byte-order differences or encoding differences between the different platforms that makes java generate different bytes for the same input strings and that's why we get the difference.
From a library-api standpoint, perhaps it would help to remove the MD5Util.computeMD5(string) function completely? If we just have the InputStream version, it would be more obvious that the function is just computing a value based on bytes and it is up to the caller to be careful of what those bytes are. In the javadoc, we can direct them to either use a ByteArrayInputStream for reading from a string or use the CheckSum.compute() method does smoothing of strings. Internal testing shows that the CheckSum.compute() method is giving the same values across different OSs
For the tests you are adding, @fabiencrassat, do they give the same values across platforms if you use the InputStream version of the method and specify the encoding? Also, are the tests there in an attempt to isolate a problem you are seeing in general liquibase usage? Or were you exploring how the method works out of curiosity?

Hello and sorry for the delay,
First, maybe I did not present well the description of my ticket because yes this is a problem that my team encountered when changing the operating system of our Jenkins (Windows to Linux). Since then, Liquibase's generateSQL has been in error because the MD5s of the files compared with the database are different. We therefore are doing our builds locally on our Windows computers.
And yes it's also curiosity to better understand your software because I'm always interested in presenting problems with reproducibility. But because I don't know your architecture maybe I added some tests in the wrong place and I'm sorry.
@nvoxland, coming back to the CheckSum.compute() method, it does not take special characters (accents, ...) in these tests. So I added them for the method here: https://github.com/fabiencrassat/liquibase/blob/md5encoding/liquibase-core/src/test/java/liquibase/change/CheckSumTest.java#L104
The results show that CheckSum.compute() responds differently depending on the operating system :(
So would it be somewhere else?
Please feel free to continue to share your thoughts here, I always like to understand the why and how of things.
Fabien
P.S .: I hope my English is good enough!

Yes, your english is great @fabiencrassat . Far better than my french :)
It makes sense that we'd get different checksums with different encodings of strings, since that could be giving us different bytes that we checksum.
The code upstream from the CheckSum should be in charge of ensuring a consistent charset for the stream. We've been making improvements to that since 4.1.1, can you see if you are still seeing the problem with the newest release?
If you are, can you tell me how the problem changeset(s) are set up? What type of changes are in there? The problem will more likely actually lie more with sqlFile or the createView or whatever code.


Listing ancestors in campaign without ancestors raises StopIteration

Given:
c1 = Campaign.create(name='a')
which is a campaign with no parent, calling
c1.ancestors()
returns an iterator of ancestors (there are none). Iterating raises a  StopIteration error, as specified here.
This means that , for example, both [_ for _ in c1.ancestors], and list(c1.ancestors) return a StopIteration error.
While this is fine, it does not appear to be the expected behaviour based on this test.
Need to agree on expected bahaviour and fix either code or test.

Can't reproduce - how do you get a StopIteration error?
[_ for _ in c1.ancestors] returns an empty list on my system. No error is raised.

c1.parent_id is None
Hence,
        if not self.parent_id:
            raise StopIteration

I have tested this in a brand new conda environment with presamples master branch taken directly from the pascallesage conda channel:

Submitted a PR, hopefully it makes this go away. So weird, I don't get this
at all, either conceptually or on my machine.
On Thu, 21 Nov 2019 at 16:57, PascalLesage<EMAIL_ADDRESS>wrote:

c1.parent_id is None
Hence,
    if not self.parent_id:

        raise StopIteration

I have tested this in a brand new conda environment with presamples master
branch taken directly from the pascallesage conda channel:
[image: image]
https://user-images.githubusercontent.com/16614268/69354004-713c1700-0c4d-11ea-9d80-88cc0bf00567.png
[image: image]
https://user-images.githubusercontent.com/16614268/69354012-7600cb00-0c4d-11ea-9789-df63760586a9.png
[image: image]
https://user-images.githubusercontent.com/16614268/69354030-7a2ce880-0c4d-11ea-9f2a-a7ad5c8f9563.png
[image: image]
https://user-images.githubusercontent.com/16614268/69354164-a8aac380-0c4d-11ea-826c-31c8344b437d.png
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/PascalLesage/presamples/issues/61?email_source=notifications&email_token=AAE5QYKDONR5QCHFZF2WTQLQU2VV3A5CNFSM4JNPM6I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE2WYQI#issuecomment-557149249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE5QYLDSRADCDCRJO3MD7LQU2VV3ANCNFSM4JNPM6IQ
.

--
############################
Chris Mutel
Technology Assessment Group, LEA
Paul Scherrer Institut
OHSA D22
5232 Villigen PSI
Switzerland
http://chris.mutel.org
Telefon: +41 56 310 5787
############################

I didn't get it, conceptually, either, but hesitated getting rid of it without checking in first since it was from you.


toast media player doesn't emit "ENDED" event

Toast media player works fine in the browser emulator. Doesn't work in the TIZEN Studio version 1.1.0 (from 2016-12-21?!) emulator that comes with it.
When I load a video in the toast browser emulator, the media player is properly updated with the duration of the file being loaded and then I can use that.
When I load a video in the tizen studio emulator, the media player is not updated with the duration (the duration is, however, for some reason, put in to the _currentPosition variable. Which then seems to result in the ended event not being emitted, so I can't even use the events properly.

Hello, jamesmskelsey
The result that I tested in the tizen studio emulator and browser was no problem.
So plz update the emulator with latest version.
Thank you.

Well I feel dumb - I didn't realize that I could open the emulator outside of the studio and then open the .wgt file. I have been beating myself up for days... that...
helps a lot. Too bad nothing says that anywhere.
Thanks! I'll close the issue out.


termux

First: is this a bug report? A suggestion? Or asking for help?
Problem description
If possible code, or pseudo-code to reproduce the problem / present an idea.
Environment

Operating system: linux distribution, windows, macOS, ...
Backend used: ncurses (the default one), pancurses, termion, ...

If using ncurses on linux, ncurses version? (run grep "define NCURSES_VERSION " /usr/include/curses.h)

Current locale (run locale in a terminal).
Cursive version (from crates.io, from git, ...)

Hi, I get cursive perform smoothly using termux ncurses backend ;
is there a recommnded backend for termux ?

My bad : should read >> Hi, I couldn't get cursive perform smoothly using termux ncurses backend ;

Hi!
Do you mean you're running cursive on termux, the terminal environment for Android?
If so, I haven't used it much here; could you describe the problem? Is it only a performance problem, or is the output itself bad for some reason?


Hello? I have some doubts about my results on CUHK03

I have done some improvements on your network structure, but the results on CUHK03(detected) have surprised me, it got 84.6%mAP and 77.3% rank 1 accuracy for CUHK03. I don't believe this result so I doubt whether there is anything wrong with my command? My command is as follows: python train_alignedreid.py  -d cuhk03 --use-metric-cuhk03 -a resnet50 --test_distance global_local  --stepsize 300  --lr 0.0002   --save-dir ./log/try/  --train-batch 128 --eval-step 150  --max-epoch 60000  --reranking  --height 384 --width 128

@romanticegg If you want compare the results with some published papers on CUHK03, you should remove ' --use-metric-cuhk03'. You can get more details from the 'Readme.md' file.
Old test protocol:  ' --use-metric-cuhk03' + '--cuhk03-classic-split'
New test protocol: default (do nothing)

@michuanhaohao Oh I know the problem. You are nice! Thanks a lot!


confuse about td-agent version

we install fluentd by using td-agent  which installed by curl -L https://toolbelt.treasuredata.com/sh/install-redhat-td-agent2.sh | sh,  but we find that the version of td-agent is different as well as fluentd, looks like:
Host A :
[root@hosta /tmp]#rpm -qa|grep td-agent
td-agent-2.3.5-1.el2017.x86_64
[root@hosta /tmp]#td-agent --version
td-agent 0.14.21
[root@hosta /tmp]#cat /etc/issue
Amazon Linux AMI release 2014.09
Kernel \r on an \m

Host B :
[root@hostb /tmp]#rpm -qa|grep td-agent
td-agent-2.3.5-1.el2017.x86_64
[root@hostb /tmp]#td-agent --version
td-agent 0.12.36 /etc/issue
[root@hostb /tmp]#cat /etc/issue
Amazon Linux AMI release 2014.09
Kernel \r on an \m

Host C:
[root@hostc /tmp]#rpm -qa|grep td-agent
td-agent-2.3.6-0.el2017.x86_64
[root@hostc /tmp]#td-agent --version
td-agent 0.12.40
[root@hostc /tmp]#cat /etc/issue
Amazon Linux AMI release 2014.09
Kernel \r on an \m

Host D
[root@hostd /tmp]# rpm -qa|grep td-agent
td-agent-2.3.6-0.el2017.x86_64
[root@hostd /tmp]# td-agent --version
td-agent 0.14.22
[root@hostd /tmp]# cat /etc/issue
Amazon Linux AMI release 2017.03
Kernel \r on an \m

I have 3 questions:

why cause the above scenario?
how can I specify the td-agent version or the fluentd version?
my install script is td-agent2, why does it install fluentd-0.14?

I'm not sure. td-agent itself doesn't provide package for 2014.09.
Maybe, Install date is the cause because latest is changed when new amazon linux is released.

Maybe this: https://docs.fluentd.org/v0.12/articles/plugin-management#plugin-version-management

just one more question, in our case, forwarder is 0.14.22 and  aggregator is 0.12.36, we use out_s3 on aggregator, but logs of aggregator shows error:
2017-11-15 11:46:16 +0800 [warn]: emit transaction failed: error_class=MessagePack::UnknownExtTypeError error="unexpected extension type" tag="k8s.nginx.access2s3"

so, is this caused by different version of td-agent?

See: https://docs.fluentd.org/v0.12/articles/in_forward#i-got-messagepack::unknownexttypeerror-error.-why?

it does help! thanks a lot


Create a CollisionPolygon2D from image

I would like to propose a feature to speed the creation of collisionpolygon2d.
A common case is to have an image with a transparent background and want to create a collisionpolygon2d which has the same shape as the outline of the image.
My proposal is a feature that to create a collisionpolygon from an image.
e.g. you can convert the image into a 2-color (black and transparent) and use the non-transparent color as shape to findup the vertices of the polygon.

AFAIK, they have plan for this at 2.1.
Editor #15: Create a Sprite -> Polygon Tool to optimize drawing of large objects (investigate algorithm for this)
http://www.godotengine.org/projects/godot-engine/roadmap

I'd like to say that Inkscape has this "Trace bitmap" option which I think it's relevant in some way. It might be more complicated then necessary cause Inkscape can vectorize shapes based on colors etc, not just alpha channel, but might be a good starting point for algorithm investigation... I was just thinking about this ability (lack of) in godot.

There are editors out there that have these features along with loaders/importers for popular game engines. The typical workflow is you open some images (or sprite sheet), trace them and tweak the number of vertices you want (too many will hurt performance) and once you are happy, you export the results. Then you have a loader script/plugin/class in your game that imports the data and create physics objects.
Of course for Godot we'd just want this feature integrated into CollisionPolygon2D editor as the data is all already connected to the game objects by Godot.
Physics Body Editor is one editor that does this and is open source, might be worth a look to get ideas for implementation. There are others out there, my personal favorite is PhysicsEditor - it is not open source however.

Note that with the addition of plugins in 2.1, it should be possible to make such a plugin for the assetlib :tada:

@bojidar-bg I'm not sure about that; the plugins will only be able to use GDScript; does GDScript have functionality to read images at a pixel level? I couldn't find any way to do that in the API. I think to do this in a plugin we are blocked on #3996. I would guess though that a feature like this could probably be accepted into the main code base.

@jeremyjh Yes, it is possible, you would just use the Image::get_pixel method.

+1 this feature would save me a huge amount of time drawing collision polygons. is there still interest in it? or is it an old abandoned idea?

I think there is some interest in this, though nobody has claimed the task yet...

bojidar-bg, what do you think would take for someone to claim the task? is there a process to follow? in the meantime i am trying to find out how to export for godot from the software jeremyjh mentioned, PhysicsEditor. hope i manage to get something useful out of it.

To use PhysicsEditor with Godot, someone would have to write a loader for Godot. PhysicsEditor can export to a generic XML format, but someone has to write then a plugin or module which reads that XML file and creates physics game objects. The PhysicsEditor author might do so if there were enough interested paying customers but that seems unlikely to me, because Godot has its own full-featured editor most people are not going to look outside it. So really the right answer here is the Godot plugin, which just takes an interested person with the time on their hands to do it.

i guess i would be willing to pay for a Godot plugin like that

finally! i managed to make a PhysicsEditor exporter for godot :) an early version of it at least

Hey @aombk, would you mind writing up how you got PhysicsEditor exports to work in Godot?

sure. i made this exporter:
https://iraisynn.attinom.net/demos/godotexporter.zip
you unzip it in C:\Program Files\CodeAndWeb\PhysicsEditor\resources\exporters , if i remember correctly
and it exports a godot xml scene file

Hey @aombk, thanks! How can we consume this godot xml scene file?

well this exporter creates a godot scene with a CollisionPolygon2D node
so in another scene, you add a StaticBody2D or RigidBody2D etc node and you instance the exported xml as a child of the body2D. and you add the sprite separately, as a child also. hope this makes sense

Yeah that makes sense, but I can't figure out how to import the xml as a scene. Any ideas?

copy the xml in your game working directoryand instead of clicking that + button, click that chain button next to it.

Beautiful, amazing, thank you! Just like you said, added a StaticBody2D, then the instance/chain button instanced the polygon2D

i dont understand what you mean by that.
for more than one sprite you need more than one StaticBody2D
take a look at these:
http://docs.godotengine.org/en/stable/learning/step_by_step/scenes_and_nodes.html
http://docs.godotengine.org/en/stable/learning/step_by_step/instancing.html

Yeah true, but PE allows importing in many sprites and exporting them all in one file. I think the other exports have json/xml with one entry per sprite, and then it can be parsed to find the correct one. This way works fine but you have to be careful to only export one sprite at a time and choose the correct one.

I've made an addon that converts Sprites to Polygon2Ds to cut off transparent areas.
https://github.com/timoschwarzer/polygonizer-gd-addon
Currently it uses the convex hull for the images, thus it's not suitable for CollisionPolygons in the most cases. And I think it's definitively a useful and needed feature for the engine.

hey timoschwarzer, i just saw your post. it didnt work for me in godot 2.1.4 , i couldnt find the polygonizer buttons. its a cool addon though. have you abandoned it or a re you planning to add support for godot 3 and more methods instead of convex hull? thanks

@aombk
The buttons are just above the 2D viewport.
I will make a version  for 3.0 as soon as 3.0 has a stable release.

@timoschwarzer
yes i know where the buttons should be.
but they are not there for some reason.

@aombk
Have you enabled the Plugin? Which node do you have selected?

@timoschwarzer hello!  are you planning to update your plugin for 3.0?  I was considering rolling my own simplified version but then found this 👍

I've not planned an update for 3.0 because they have 2D meshes on the roadmap and I want to wait for them.
But feel free to make a PR for the repo: https://github.com/timoschwarzer/polygonizer-gd-addon
Should be easy to port it to 3.0 since the algorithm is the same.

This one may be of interest here: #20862
Since image-to-poly is already on 3.0, I backported, exposed and improved it.
It's pretty easy to generate collision polygons via script/plugin with that.
Exposition and improvements for 3.1 are done too, in another PR.

This was implemented in https://github.com/godotengine/godot/pull/27553, closing.


add nasm support for msvc

issue #59
For Windows users, if the OPENSSL_RUST_USE_NASM environment variable is set, the assembly language routines will be enabled.
Tested on Windows 10 64bit (20H2), VS Community 2019 (16.9.1), rustc 1.50.0 (stable-x86_64-pc-windows-msvc), NASM version 2.15.05.

Thanks! Can this be tested on  CI? (both with and without nasm ideally)
Additionally I think the logic is inverted? It looks like if the env var is unset then this panics? I think it's fine to have the env var to forcibly disable or forcibly enable, but otherwise detecting nasm at build time seems like the best choice.

I tested this on my local machine, not a CI.
This logic is a bit confusing. According to my understanding and test results, it works like this:
function is_nasm_ready() return value:

env is set
env not set or =0

nasm is installed
true
false

nasm not installed
panic!
false

In other words, by default the env var is not set, so nasm is disabled. When the env var is set to a non-zero value, it detects nasm (and panic when nasm is not installed because this env var conflicts with the absence of nasm)

Oh oops I never know how to read map_or, so I got mixed up.
I still think, though, that maybe an env var isn't worth it here? Could nasm.exe just be detected and we enable it whether it's installed or not?

New version:

the env var changed to OPENSSL_RUST_NO_NASM, which disable the asm compiling.
the default behavior is auto-detecting.

function is_nasm_ready() return value:

env var is set
env var not set or =0

nasm is installed
false ❌
true ✔

nasm not installed
false ❌
false ❌

In other words, by default the env var is not set, nasm.exe will be auto-detected. But user can use the OPENSSL_RUST_NO_NASM env var to disable it anyway.

I think the env var is necessary. It is a switch to control whether to use asm compiling, for it is not easy to temporarily exclude a binary from the PATH.
What will happen if we just detect nasm.exe without noticing users? Considering there are two people using build environments with the same configuration expect one installed nasm.exe but the other does not, they use the same command to build the same code -- but they get two different binaries (I am not referring to the difference in very details, but to the significant difference caused by the difference in the code/objects).
So, I think the env var is worth.

Looks good to me! Can you ensure that this is tested on CI?

CI Test added. Now, the windows test on GitHub Actions will takes about 25 min.
On my fork, it passed. And on my local windows PC, the build process works well.

Well, there so many tests about windows. 32bit/64bit, crt static yes/no, nasm none/installed/env-var -- 223 == 12 tests. Anyway,these tests passed.

Er well I don't think that the full matrix really needs to be tested. I think it's fine to just add a single x86_64 builder which enables nasm.

In this commit, I reduced the number of tests. Maybe only one left for nasm.exe may be too few.
In this version, we have 4 new tests for nasm.exe (comparing to e634b86cbfb6ef279b950a81ae65052d32d1468c)

system
crt_static
nasm_exe
env_no_nasm
remark

1
i686

installed

to test wheter it builds on win32

2
x86_64

installed

to test wheter it builds on win64

3
x86_64

installed
set
to test wheter the env var works

4
x86_64
yes
installed

to test wheter it builds with crt_static

This force push makes all previous commits as one commit.

Thanks for that but I'm not super interested in adding tons of CI configuration just for this use case, it's a lot of goop to maintain. I think that all that needs to be added is a singular new builder which has a singular extra step of downloading nasm. I then think that the env var, when set to 1 (or nonzero basically), would panic the build script of nasm.exe isn't detected. This new CI builder would enable the env var which guarantees that nasm is used and that it builds/works.

I'll reduce the numbers of CI tests.
However, I've changed the env var and now it won't panic. See https://github.com/alexcrichton/openssl-src-rs/pull/87#issuecomment-800758206 for details.
About the env var, the two methods:

OPENSSL_RUST_USE_NASM (comment)
OPENSSL_RUST_NO_NASM (comment)

Which would you like?

In this version, I set the environment variable back to OPENSSL_RUST_USE_NASM. But its behavior is changed:
function is_nasm_ready() return value:

env var value
yes
auto or not set
no

nasm is installed
true ✔
(auto-detect) true ✔
false ❌

nasm not installed
panic! 💥
(auto-detect) false ❌
false ❌

This information is also updated in README.md.

About the CI tests:
Now, there is only one test abuot nasm: it only tests that the nasm works with this build process.
I didn't test the env var for the following reason.

I think the code for the OPENSSL_RUST_USE_NASM env var is simple enough.
I've tested these is_nasm_ready() and check_env_var() functions several times in my local Windows PC.
Testing the OPENSSL_RUST_USE_NASM env var needs more jobs in CI. And CI scripts will become more complicated.

About the panic when nasm not installed and the env var is set to yes:
This panic is not caused by my code. It is caused by the ./Configure not exit with code 0, which satisfies this requirement:

As I've mentioned before I think the build script should panic if nasm is explicitly requested but it's not found.
(source)

In this version, the acceptable values of the environment variable OPENSSL_RUST_USE_NASM is changed:
function is_nasm_ready() return value:

env var value
1
not set
0

nasm is installed
true ✔
(auto-detect) true ✔
false ❌

nasm not installed
panic! 💥
(auto-detect) false ❌
false ❌

This information is also updated in README.md.

Thank you for considering merging this PR. And thank you for your suggestions during this process.


Add TranslationList

Is your feature request related to a problem?
Yes.
Describe alternatives you've considered
So for all types is it probably tricky what kind of string I should use, i do a class with listed all translation keys In it.
Additional context
No response

Something like:
class FormTranslationList {
    public static string $UI_CLOSE = "§cClose";
    public static string $UI_BACK = "§cBack";
    // ...
}

So it can be easy overwritten by:
class MyFormTranslations extends FormTranslationList {
    public static string $UI_CLOSE = "%ui.close";
    public static string $UI_BACK = "%ui.back";
    // ...
}

The final name is TranslationFactory!!


[DSpace 7 Upgrade] Reimplement describe step for submission workflow customizations

Blocks https://github.com/TAMULib/DSpace/issues/202
org.dspace.app.xmlui.aspect.submission.submit.DescribeStep
May need to be transferred to DSpace repository or another issue be created in DSpace repository.

is in XMLUI package (was removed in dspace 7).  -- Want to maintain feature parity.
Could create a custom UI override in the UI.
See Issue 49.

Here is the DescribeStep in 7:
https://github.com/TAMULib/DSpace/blob/tamu-dspace-7_x/dspace-server-webapp/src/main/java/org/dspace/app/rest/submit/step/DescribeStep.java
Here is the DescribeStep in 6:
https://github.com/TAMULib/DSpace/blob/tamu-dspace-6.3/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/DescribeStep.java
Here is the TAMU Customized DescribeStep in 6:
https://github.com/TAMULib/DSpace/blob/tamu-dspace-6.3/dspace/modules/xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/DescribeStep.java

The detailed_name custom field of the DescribeStep customization has been disabled from the input-forms.xml.
I have confirmed that this customization is no longer in use on OAKTrust or dspacepre1 for the applicable form-map collections.
If enabled we would see Enter the names of the authors of this item. For TAMU Faculty, Staff, and Students please use TAMU email address (@tamu.edu) as the Authors input field.
<name-map collection-handle="1969.1/93296" form-name="facultyPub"/>

<name-map collection-handle="1969.1/187506" form-name="facultyPub"/>

@jcreel do we require bringing over the Java processing code behind the detailed_name custom field for DSpace 7 having available for submission input form?

Upon further investigation, without the need for the detailed_name step there is no Java code customizations necessary.
https://raw.githubusercontent.com/TAMULib/DSpace/tamu-dspace-6.3/dspace-api/src/main/java/org/dspace/submit/step/DescribeStep.java
compared with
https://raw.githubusercontent.com/TAMULib/DSpace/tamu-dspace-6.3/dspace/modules/additions/src/main/java/org/dspace/submit/step/DescribeStep.java
and
https://raw.githubusercontent.com/TAMULib/DSpace/tamu-dspace-6.3/dspace-xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/DescribeStep.java
compared with
https://raw.githubusercontent.com/TAMULib/DSpace/tamu-dspace-6.3/dspace/modules/xmlui/src/main/java/org/dspace/app/xmlui/aspect/submission/submit/DescribeStep.java
has no additional Java code customizations.

Customizations for this step will be included with #202.


some plugins doesnt work in ubuntu14.04?

git docker mvn npm work  well.
vagrant python gem pip etc. dont work.
what's problom with it?  who can tell me this?

i found i must exec compinit again in terminal, then they work.

I solve this problom via google.
compaudit | xargs chmod g-w


Removed enable_containers setting

I don't think we want enable_containers set on the API monitoring pod.

LGTM.

LGTM.


Lua suppport

This branch adds lua support via neovim internals.

BTW, I found ts-support some what strange, for example, I evaluate current form for :
"abc"

when the cursor is on one of the "s, it would turn out to evaluate symbol abc rather than string "abc"

Also, this PR now has some problem.  Though codes will be correctly evaluated and logged, the HUD does not always appear.
I would be happy if you can instruct me how to fix this.

The HUD not appearing can be a symptom of the cursor moving as you evaluate which means that these events happen:

Eval using a text object such as aw
Result
Displayed in HUD
Cursor moves to beginning of evaluated text object
Closes HUD automatically

Which basically happens in a single frame, a debounce / cooldown period on the HUD opening and closing could fix this but also maybe introduce some horrible timing based bugs 🤔 adding timers in nvim is almost like adding threads anywhere else, here be dragons! But maybe helpful dragons!
As for the abc part, that's the tree-sitter implementation I think, you're using TS right? I think we need to modify conjure.tree-sitter to be smarter about walking up the tree to find the right thing to eval, I think someone raised an issue for the exact problem you described.
Thank you for this PR though, I'm going to take a look now, this'll be an amazing addition.

 Sorry but I'll reopen this. I rename the typo in branch name at my side

Hah okay then, I don't mind at all but it's fine if you want to do that 😄


T HE MONKEY

Song Name
THE MONKEY
Artist Name
haezer
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=nvKGbcX2fyI
Direct File Link
No response
Song ID
679002
Start Offset [ms]
No response
Extra
No response

btw i forgot to say in extra im trying to make a level with this song so i just picked a random id i wont use

reject
popular songs like "Jet set" are too inconvenient to be replaced by smth unrelated and are therefore usually rejected.
Note that you can still use the song yourself, but it won't be public


Error while issuing  initialize_shop_demo command

I am getting an error during demo shop initialize.
./manage.py initialize_shop_demo throws:
...
File "/usr/lib/python3.5/zipfile.py", line 1026, in init
self._RealGetContents()
File "/usr/lib/python3.5/zipfile.py", line 1094, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
It seems that the file to be downloaded
http://downloads.django-shop.org/django-shop-workdir-17.zip is not accessible.
What could be done to resolve this?

Thanks for reporting.
There was a problem with the configuration of the webserver.
Please change the download URL to https, or recreate the project with the latest cookiecutter version.


Update documentation for new code architecture

The architecture has changed a lot since the refactor from #299 / #300. Once this work is fully completed and before merging to master we should update the documentation and wrap-up the refactor by changing this repo's name fromi ipc-agent to just ipc as agreed by the team.

Tackled partly in #343


FilteredTable uses wrong schema with alias

When FilteredTable interface is activated on join with table alias, the error  field <field> is not on schema shows incorrectly. This only happens with table aliases.
The problem is that the FixFieldIndexes uses the alias table schema and not the raw table schema. Therefore the field cannot be found and above error occur.
To Reproduce
Activate FilteredTable on memory store by setting WithFilters on to Table instead of FilterTable. This activates the implementation. Then run test case pushdown_filters_to_under_join_node for example.
Changing from tableNode.Schema() to table.Schema() in pushdown.go did solve the issue for me but unit tests still don't look too encouraging.

If you can get us a test case that demonstrates this bug, we'll get this fixed ASAP.

Test case provided. My apologies for the late reply.

Thanks for reporting this and sending us the awesome test case with the repro @Allam76. That was a big help in debugging. I've got a fix proposed in PR https://github.com/dolthub/go-mysql-server/pull/965

You are welcome :smiley:

Alright, this fix is available on main now. 🎉 Thanks again for taking the time to report this and make it easy to debug. Let us know if you hit anything else odd and we'll be happy to dig into it.


JSON GET option

Aside from disabling api mode and using axios directly, is there any way to turn on a method whereby the api-url is used but instead of query parameters, a JSON object is sent? Whether or not it's agreed to be a good standard practice may be debatable but some of us have REST endpoints that do this.
Something like:
<template>
  <vuetable ref="vuetable"
    api-url="https://vuetable.ratiw.net/api/users"
    :fields="['name', 'email', 'birthdate']"
    :jsonGet=true
    :jsonGetOverride=myJsonMethod
  ></vuetable>
</template>

...
export default {
...
methods: {
  myJsonMethod (data) {
    // data is pre-populated with sort-order, page_number, etc. from the normal request params
    return data; // this is what's passed to the GET
  }
}
...
}
...

Use http-fetch prop.

That works great for me, thank you.


Improve beam package GoDoc with examples.

The  beam package godoc needs some improvements.
@lostluck wrote some for internal use at Google, but it hasn't yet migrated out.
Even without these, godoc provides a few nice functions like compileable examples and more of which we have made light use.
Given the complexity of the API, we could use more.
In particular, calling out the Bundle Lifecycle method names for Structural DoFns, and the method names for Structural CombineFns would be of immense value, as that's not clearly documented.
Also, examples of how to use GroupByKey and CoGroupByKey and what that means for the subsequent DoFn methods, and how they affect Side Inputs.
As examples are run during tests, this will also improve testing of various edge cases, to be part of the package.
The main complication is that these will require _example.go files since methods cannot be added to types in function scopes.
Imported from Jira BEAM-10253. Original Jira may contain additional context.
Reported by: lostluck.

Go 1.19 will support "lists" and "links" including references to other sections of the doc, and other package docs.
https://tip.golang.org/doc/comment#lists
https://tip.golang.org/doc/comment#links
Links especially will dramatically simplify cleaning up the go doc, and properly documenting the SDK in the SDK going forward.
We can start using these new specifications immeadiately, they simply won't be displayed correctly until pkg.go.dev is using go 1.19.


Replace the calendar day picker with a week carousel

https://github.com/mduccc/flutter_calendar_week

Forked to https://github.com/nachoapps/flutter_calendar_week with some changes


Add aclose to _BUILTIN_ASYNC_METHODS

This pr adds aclose to the list of builtin async methods. This is to allow classes like StreamReader to implement aclose in a way that's compatible with the recent async_utils changes.

I think it makes sense to add this. The issue in modal-client is partially also caused by sync_or_async_iter being semi-broken in how it determines sync vs async logic in combination with synchronicity-wrapped iterables being both sync and async...


How to get real IP when running Nginx?

I have the java app running on port 4567, and I'm using nginx to make a reverse proxy to my domain. All I see on the console output is either 127.0.01 or 0:0:0:0:0:0:0:1. My location block on nginx looks like this:
location / {
    proxy_read_timeout 3600s;
    proxy_redirect off;

    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-NginX-Proxy true;

    proxy_set_header X-Forwarded-Host $host;
    proxy_set_header X-Forwarded-Server $host;
    proxy_http_version 1.1;
    proxy_pass_request_headers on;
    proxy_set_header Connection "keep-alive";
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'Upgrade';
    proxy_cache_bypass $http_upgrade;

    proxy_store off;
    proxy_pass http://localhost:4567;
}

But it seems this is not enough. Could anyone point me into the right direction here?

if the APP says it's from <IP_ADDRESS> /  0:0:0:0:0:0:0:1, that's because the request came proxied through nginx.
if you expect to see an external ip try using the proxied port directly without nginx' proxy.
if it still logs some unexpected ip, there might be something wrong with your gateway setup.
I'm not the most experienced with nginx but you should set proxy_pass_reverse, so nginx runs as transparent proxy.
hth.

What do you mean by

try using the proxied port directly without nginx' proxy

As far as I'm aware, I need Apache/Nginx to tie a domain name to a port, or does this java app do some black magic I can take advantage of to do this that I'm unaware?

nginx works as proxy so you can serve something from another port to the usual port.
e.g. if your app runs on port 9600 you can proxy it to port 80.
in your config you proxy port 4567 to port 80 with address /
you can try to access this app directly on port 4567
then look in your log and check if the adress is still <IP_ADDRESS>, if so this has to do with misconfiguration of nginx.
detailed answers are here: https://serverfault.com/questions/314574/nginx-real-ip-header-and-x-forwarded-for-seems-wrong/414166
try this fairly plain config:
location / {
    proxy_pass http://localhost:4567;
}

if this config works, you should overthink your config parameters, which some might be wrong or misplaced.
hth.

Check the server.proxy block of pxls.conf - it'll allow you to set up a chain of headers to check for a real IP.

@xSke thanks for the reply. I tried with the following items inside the array but I'm still getting only localhost. Am I using the wrong ones here?
proxy {
	localhosts: ["<IP_ADDRESS>", "0:0:0:0:0:0:0:1"]
	headers: ['x-forwarded-for', 'X-Forwarded-For', 'X-Real-IP', 'x-real-ip']
}

try proxy_set_header X-Forwarded-For $remote_addr;


convergence

The epoch is set to 200,but when i run the code it converge at 20 epoch,and the accuracy dont change ,do you met the same situation?

Yes. This algorithm converges quickly, as illustrated in Figure 4 in the paper.


Windows Terminal hangs with DesktopWindowXamlSource

Windows Terminal doesn't start after reboot. It was working on current machine, but suddenly stop working and now it run only a zero size window with "DesktopWindowXamlSource" caption, that hangs immediately after start. I can close it only from task manager.

It was working fine but after another windows update it just doesn't start. I've rebooted my PC several times, deleted profile.json, try to install Preview terminal version - nothing of this doesn't helps to me.
I'm located in secure local network and don't have administrator rights on my PC.
Link on feddback hub: https://aka.ms/AA8xqz6
Environment
Windows 10 2004
Microsoft Windows NT 10.0.19041.0
Windows Terminal version 1.0.1211.0

Steps to reproduce
Run Windows Terminal from desktop icon.

Expected behavior
It start and work

Actual behavior
It start and nothing happen. Just empty window with caption "DesktopWindowXamlSource", that i can't close.

Hey, I'm so sorry we took a long time to get to this bug. Does it still happen with 1.1 or 1.2?

Hi!
I've check just now and can tell you that issue still persist. On both 1.1 and 1.2

Okay this is a long shot, but I'm not really sure where to go with this one currently.

Could you try adding "showTabsInTitlebar": false, to your settings.json, and see if the Terminal will boot then? This file will be in %localappdata%\Packages\Microsoft.WindowsTerminalPreview_8wekyb3d8bbwe\LocalState\settings.json
Can you open the PowerToys Settings app? You can find that by right-clicking on the powertoys icon in the taskbar after installing PowerToys.

This one's a real spitball. I know that the PT Settings app is another XAML Islands app, so I'm hoping we can check if the issue is local to the Terminal or not.

Hi!
Sorry for the delay
showTabsInTitlebar setting has no affect on behavior of the terminal. It still hangs.
As for PowerToys unfortunately i can't install it to this PC. I can install apps only from msixbundle file

If you run wsl.exe (outside of terminal!) does it ever work, or does it hang forever? How about wsl.exe -l?

Yes. Problem with Windows Terminal only. Wsl runs nice as from it's own app and from powershell.
I've try to run Terminal even without settings.json and have same result.

Can you use Task Manager to “Create a dump file” for WindowsTerminal.exe? You can do it by right-clicking WindowsTerminal on the Details tab.
Then, upload the “.dmp” file to OneDrive or Google Drive and e-mail me a link. My address is on my GitHub profile.
Thanks!

Please, check your e-mail for link

Interesting... it looks like we have a bunch of threads blocked in the Mcafee security driver. Are you getting any AV/security alerts from that software?

I just had this for the first time ever and I don't have McAfee took maybe five minutes and then it closed and resolved itself.

Oh, more detail I guess.
I just updated to 21H1 - Windows 10.0.19043.1023
Windows Terminal 1.7.1033.0.
I was closing the WIndow after spending a couple of hours logged in via SSH to one of our HPC systems.

Oh, actually there's an error in event log:
Exception code 0xc0000602
In module KERNELBASE.dll.

Unfortunately, that doesn't give us enough to work with by itself. However, if it's happening consistently, the Feedback Hub might be able to get us some useful info:
/feedback

I'm having the same problem as well. Just prior to rebooting Windows Terminal worked fine, but after it just doesn't start. Window titled "DesktopWindowXamlSource" appears for couple seconds and closes itself automatically without any warnings/errors:

I've tried setting "showTabsInTitlebar": false in the settings.json - didn't help. I've tried running wsl.exe from cmd.exe - works fine. Default profile on Windows Terminal was PowerShell 7 and separately it works fine as well.
Are there any logs written somewhere when Windows Terminal starts? I don't think it's possible to make a memory dump - it's closing itself too fast.

I'm having an identical problem to what @muRn describes.
Additionally, when I try to run it either from cmd.exe or by manually by executing it from its folder in explorer I get this error:
C:\Users\astewart>wt The system cannot find the file C:\Users\astewart\AppData\Local\Microsoft\WindowsApps\wt.exe.

I'm having the same problem right now, this has never happened before on my end. Are there any possibilities to reset some caches or something similar? I don't want to need to use the old conhost again. :D

A reboot (coincidentally during an update to Windows 21H1) fixed this for me.

In my case, uninstalling Ubuntu that I installed from Microsoft Store. Both Ubuntu 18.04 LTS and 20.04 LTS causes this problem.
But it does not mean a lot to me if I cannot keep both "Windows terminal" and "Ubuntu WSL".

I'm having the same problem right now.   My Environment:
OS:    win10 21H2 19044.1806
Terminal  ver:  1.13.11431.0
:(

I got this problem when use terminal in administrator mode...

clear then JSON file, FIX this.
in my case is
C:\Users\user\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

clear then JSON file, FIX this. in my case is
C:\Users\user\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json

Removing the folder Microsoft.WindowsTerminal_8wekyb3d8bbwe fixed it for me


SplashScreen and ApplicationInfo.VB

In Framework SplashScreen.VB gets it information from My.Application.Info and this is entered via VS under Properties/Application then a button called AssemplyInfo. This produces a class file called AssemblyInfo.VB. In Core the Application/AssemblyInfo is disabled and information is entered under Properties/Package but this information does not flow (at least at design time) to where Splash Screen expects it so you can't compile.
In the VS IDE all the information under Properties/Application and stored in Application.myapp creates Application.Designer.vb is missing. and if it is carried over from Framework you can't build your application. The setting that starts the startup screen is missing.
All this is a Breaking change

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8651cb33-a3f1-6af5-43cc-aa3e2e121f49
Version Independent ID: 1f1f395f-0abc-8ef3-9a15-103315a1018a
Content: Breaking changes for WinForms - .NET Framework to .NET Core - .NET Core
Content Source: docs/core/porting/winforms-breaking-changes.md
Product: dotnet-core
GitHub Login: @cartermp
Microsoft Alias: phcart

@PriyaPurkayastha @Thraka Should this be documented as a breaking change?

Is @OliaG still the PM for WinForms Core?

@Thraka the form I showed is what Visual Studio and Winforms with Core 3.1 adds to a Core project and the comment in the form has instructions for setting the values those instructions don't work in Core. This is about a breaking change. If you just copy AssemblyInfo.vb from Framework (to get the values) that SpashScreen is looking for, you get errors about duplicate variable because in Core some of the items are somewhere else (another breaking change) and SplashScreen does not know how to find them. With proper documentation I think this could all be worked around but eventually SplashScreen for Core needs to be updated (separate issue) and that would be another breaking change.

@paul1956 Can you provide more information about how you created the app? I cannot create vb.net core winforms apps in visual studio, only c# is provided in the templates. The same with the .net core templates in the Core CLI. Can you provide versions of visual studio and .net core?

Start with Framework App use TryConvert (now works with VB) or manually convert project file. Once its a core app, add SplashScreen from Visual Studio 2019 Version 16.5.0 Preview 1.0, Menu if your app does not already have a SplashScreen. Ignoring the SplashScreen the way you get information about the has changed with Core. If I have an app that used AssemplyInfo.vb that has changed.
The code below is different between Core and Framework and it should be a breaking change.
My.Application.Info.Copyright

DotNet versions below.
  Microsoft.NETCore.App 5.0.0-alpha.1.19564.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 5.0.0-alpha.1.19625.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

This is partly fixed in current WinForms Master based on Core 5.0 with a new AssemplyInfo.vb but the way that class is populated has changed, some of the information like Title don't have a source what is enterable by a developer so the value it provides is not the same as Framework. I have entered a WinForm issue for this difference. I don't know when 5.0 comes out until then this is issue is a breaking change and the way/place you enter the information will always be a breaking change.

@paul1956 Hi Paul. I'm back from vacation. I'll get to looking at this.

@gewarren I think this should be noted on this page. However, it's (in a way) covered by https://docs.microsoft.com/en-us/dotnet/core/compatibility/visualbasic as that article details that the Microsoft.VisualBasic.ApplicationServices namespace is no longer available, which the splashscreen is designed to use. For VB.NET Windows Forms projects, they may be using the SplashScreen/About forms provided by the templates in Visual Studio. These use the My object model noted by the compatibility page I linked to.
@paul1956 There is a flag in the project file that will disable the auto assembly info generation and use an assemblyinfo.vb file instead. This is set by the try-convert tool with the <GenerateAssemblyInfo>false</GenerateAssemblyInfo> setting in the project file. But that doesn't solve the problem. The problem is that the splashscreen/aboutscreen templates use the VB.NET specific My.Application object which doesn't exist in .NET Core.
The windows forms templates for about/splashscreen in Visual Studio need to be updated for .NET Core.
/cc @KathleenDollard @OliaG

@Thraka yes you can set the flag and you existing ApplicationInfo.vb will work with frozen values from FrameWork. In Core the most of the values you need are set in Package and will not flow to ApplicationInfo.vb. If you want to values in Package there needs to be documentation on how to get them. You could create a new ApplicationInfo.Vb, the file exists in current Master that gets most of the values. The only issue is Info.Title see above and https://github.com/dotnet/winforms/issues/2637

Thank you for linking to that, it gives me a better picture of the overall state.
@gewarren I think this does warrant a breaking change update. Perhaps the content at https://docs.microsoft.com/en-us/dotnet/core/compatibility/visualbasic could be duplicated here but also mention that the SplashScreen and About forms provided by Visual Studio use these namespaces and the the System.Reflection.Assembly.GetExecutingAssembly method should be used to get the assembly information.

@Thraka There's a specific template for breaking change issues. It's a process that Ron established with the product team. Usually someone from the product team fills out the template. At that point, I can document it here. I'd then mark this issue as a dupe of that issue.

@paul1956 @gewarren I filed #16655 to cover the breaking change aspect. I also included code that users can copy\paste over the code that was generated by the templates.

I have commented there and will close this. Your solution will change again in Core 5.0 when a compatible AssemblyInfo comes back and the original code will work except for having a correct Title and covered https://github.com/dotnet/winforms/issues/2637.