Problem with steam vr

I have problem with steam vr when I start steam vr ps move controllers dosent show.
I am using PSMoveFreepieBridge 15 and PsMoveService 8.7.2
vrserver log - driver_psmove.dll exists
### Wed Oct 04 2017 20:43:46.620 - ================================================================================================
Wed Oct 04 2017 20:43:46.620 - ================================================================================================
Wed Oct 04 2017 20:43:46.620 - Runtime path was D:\Program Files (x86)\Steam\steamapps\common\SteamVR. Setting it to D:\Program Files (x86)\Steam\steamapps\common\SteamVR\ to match vrserver.exe
Wed Oct 04 2017 20:43:46.623 - Setting shared memory namespace to 15276
Wed Oct 04 2017 20:43:46.624 - VR server (v1504061330) starting up with config=D:\Program Files (x86)\Steam\config
Wed Oct 04 2017 20:43:46.624 - VRServer will wait for VRMonitor before exiting
Wed Oct 04 2017 20:43:46.629 - Unable to register named resource path psmove with 'D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\psmove\resources' because it is already set to 'D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\psmove\resources'
Wed Oct 04 2017 20:43:46.629 - [Settings] Load Default Json Settings from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\resources\settings\default.vrsettings
Wed Oct 04 2017 20:43:46.630 - [Settings] Load Default Json Settings from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\htc\resources\settings\default.vrsettings
Wed Oct 04 2017 20:43:46.630 - [Settings] Load Default Json Settings from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\lighthouse\resources\settings\default.vrsettings
Wed Oct 04 2017 20:43:46.630 - [Settings] Load Default Json Settings from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\null\resources\settings\default.vrsettings
Wed Oct 04 2017 20:43:46.631 - [Settings] Load Json Settings from D:\Program Files (x86)\Steam\config\steamvr.vrsettings
Wed Oct 04 2017 20:43:46.637 - Add Json firmware manifest from {htc}/firmware/manifest.vrfirmware
Wed Oct 04 2017 20:43:46.638 - Add Json firmware manifest from {lighthouse}/firmware/manifest.vrfirmware
Wed Oct 04 2017 20:43:46.700 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrstartup.exe (VRApplication_Bootstrapper) (Args: ) 15240
Wed Oct 04 2017 20:43:46.702 - Creating builtin app for D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrstartup.exe (VRApplication_Bootstrapper)
Wed Oct 04 2017 20:43:46.702 - Setting app system.generated.vrstartup.exe PID to 15240
Wed Oct 04 2017 20:43:46.712 - lighthouse: Attached HID Devices:
Wed Oct 04 2017 20:43:46.712 - lighthouse:     No devices
Wed Oct 04 2017 20:43:46.712 -   driver lighthouse implements interfaces IVRSettings_002 ITrackedDeviceServerDriver_005 IVRDisplayComponent_002 IVRDriverDirectModeComponent_002 IVRControllerComponent_001 IVRCameraComponent_002 IServerTrackedDeviceProvider_004 IVRWatchdogProvider_001 IVRVirtualDisplay_001 IVRDriverManager_001 IVRResources_001
Wed Oct 04 2017 20:43:46.712 - Loaded server driver lighthouse (IServerTrackedDeviceProvider_004) from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\lighthouse\bin\win64\driver_lighthouse.dll
Wed Oct 04 2017 20:43:46.712 - Driver lighthouse has no suitable devices.
Wed Oct 04 2017 20:43:46.714 -   driver oculus implements interfaces IVRSettings_002 ITrackedDeviceServerDriver_005 IVRDisplayComponent_002 IVRDriverDirectModeComponent_002 IVRControllerComponent_001 IVRCameraComponent_002 IServerTrackedDeviceProvider_004 IVRWatchdogProvider_001 IVRVirtualDisplay_001 IVRDriverManager_001 IVRResources_001
Wed Oct 04 2017 20:43:46.714 - Loaded server driver oculus (IServerTrackedDeviceProvider_004) from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\oculus\bin\win64\driver_oculus.dll
Wed Oct 04 2017 20:43:46.714 - Driver oculus has no suitable devices.
Wed Oct 04 2017 20:43:46.716 - error VRInitError_Driver_RuntimeOutOfDate when initing driver oculus_legacy from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\oculus_legacy\bin\win64\driver_oculus_legacy.dll.
Wed Oct 04 2017 20:43:46.716 - Unable to load driver oculus_legacy because of error VRInitError_Driver_RuntimeOutOfDate(204). Skipping.
Wed Oct 04 2017 20:43:46.718 - oculus_vridge: Preparing HMD, mode 0
Wed Oct 04 2017 20:43:47.394 - oculus_vridge: PCHCK: Signature not verified:  Neplatný podpis.

Wed Oct 04 2017 20:43:47.394 - oculus_vridge: PCHCK: Wrong signature
Wed Oct 04 2017 20:43:47.408 - oculus_vridge: PCHCK: Query result: ProcessorId "BFEBFBFF000306C3"
Wed Oct 04 2017 20:43:47.409 - oculus_vridge: PCHCK: Query result: Name "Intel(R) Core(TM) i3-4330 CPU @ 3.50GHz"
Wed Oct 04 2017 20:43:47.410 - oculus_vridge: PCHCK: Query result: Manufacturer "GenuineIntel"
Wed Oct 04 2017 20:43:47.411 - oculus_vridge: PCHCK: Query result: Manufacturer "American Megatrends Inc."
Wed Oct 04 2017 20:43:47.412 - oculus_vridge: PCHCK: Query result: SMBIOSBIOSVersion "FC"
Wed Oct 04 2017 20:43:47.415 - oculus_vridge: PCHCK: Query result: SerialNumber "To be filled by O.E.M."
Wed Oct 04 2017 20:43:47.416 - oculus_vridge: PCHCK: Query result: ReleaseDate "20140619000000.000000+000"
Wed Oct 04 2017 20:43:47.417 - oculus_vridge: PCHCK: Query result: Version "BIOS Date: 06/19/14 22:49:02 Ver: 04.06.05"
Wed Oct 04 2017 20:43:47.420 - oculus_vridge: PCHCK: Query result: Model "Generic- SD/MMC USB Device"
Wed Oct 04 2017 20:43:47.423 - oculus_vridge: PCHCK: Query result: Manufacturer "(StandardnĂ diskovĂ© jednotky)"
Wed Oct 04 2017 20:43:47.429 - oculus_vridge: PCHCK: Query result: Manufacturer "Gigabyte Technology Co., Ltd."
Wed Oct 04 2017 20:43:47.430 - oculus_vridge: PCHCK: Query result: Name "ZĂˇkladnĂ deska"
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: PCHCK: Query result: SerialNumber "To be filled by O.E.M."
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: PCHCK: Machine SHA256 id: "E3E216A9E76BA3C39197160790A9B52AF57BC2AEF2062775291DA54B9492256A"
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: PCHCK: Expected machine SHA256 id: "E3E216A9E76BA3C39197160790A9B52AF57BC2AEF2062775291DA54B9492256A"
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: Machine id verified
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: PCHCK: Vridge service not found
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: Using settings values
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: Serial Number: 0.8
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: Model Number: Vridge
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: Window: -1 -1 1000 600
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: Render Target: 500 600
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: Seconds from Vsync to Photons: 0.000000
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: Display Frequency: 60.000000
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: driver_vridge: IPD: 0.065000
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: Fake sensor registered with result 1
Wed Oct 04 2017 20:43:47.432 -   driver oculus_vridge implements interfaces IVRSettings_002 ITrackedDeviceServerDriver_005 IVRDisplayComponent_002 IVRDriverDirectModeComponent_002 IVRControllerComponent_001 IVRCameraComponent_002 IServerTrackedDeviceProvider_004 IVRWatchdogProvider_001 IVRVirtualDisplay_001
Wed Oct 04 2017 20:43:47.432 - Loaded server driver oculus_vridge (IServerTrackedDeviceProvider_004) from C:\Program Files (x86)\Riftcat\lib\Driver\oculus_vridge\bin\win64\driver_oculus_vridge.dll
Wed Oct 04 2017 20:43:47.432 - oculus_vridge: HMD activated with id 0
Wed Oct 04 2017 20:43:47.433 - Active HMD set to oculus_vridge.0.8
Wed Oct 04 2017 20:43:47.433 - Initialized EyeToHead Left Translation -0.032500 0.000000 0.000000
Wed Oct 04 2017 20:43:47.433 - Initialized EyeToHead Right Translation 0.032500 0.000000 0.000000
Wed Oct 04 2017 20:43:47.433 - oculus_vridge: Activate fake sensor 1
Wed Oct 04 2017 20:43:47.434 - DXGI thread failed to get SDL display index
Wed Oct 04 2017 20:43:47.435 - error VRInitError_Driver_RuntimeOutOfDate when initing driver oculus_legacy from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\oculus_legacy\bin\win64\driver_oculus_legacy.dll.
Wed Oct 04 2017 20:43:47.435 - Unable to load driver oculus_legacy because of error VRInitError_Driver_RuntimeOutOfDate(204). Skipping.
Wed Oct 04 2017 20:43:47.437 - Unable to load driver psmove from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\psmove\bin\win64\driver_psmove.dll.
Wed Oct 04 2017 20:43:47.437 - Unable to load driver psmove because of error VRInitError_Init_FileNotFound(103). Skipping.
Wed Oct 04 2017 20:43:47.439 - Unable to load driver psmove from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\drivers\psmove\bin\win64\driver_psmove.dll.
Wed Oct 04 2017 20:43:47.439 - Unable to load driver psmove because of error VRInitError_Init_FileNotFound(103). Skipping.
Wed Oct 04 2017 20:43:47.439 - Not loading driver null because it is disabled in settings
Wed Oct 04 2017 20:43:47.439 - Processing message VRMsg_Connect from vrstartup (15240) took 0.739 seconds
Wed Oct 04 2017 20:43:47.501 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background) (Args: ) 9452
Wed Oct 04 2017 20:43:47.503 - Creating builtin app for D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrcompositor.exe (VRApplication_Background)
Wed Oct 04 2017 20:43:47.503 - Setting app system.generated.vrcompositor.exe PID to 9452
Wed Oct 04 2017 20:43:47.503 - Using existing HMD oculus_vridge.0.8
Wed Oct 04 2017 20:43:48.472 - Setting app openvr.tool.steamvr_environments PID to 14460
Wed Oct 04 2017 20:43:48.597 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrdashboard.exe (VRApplication_Overlay) (Args: ) 2912
Wed Oct 04 2017 20:43:48.600 - Creating builtin app for D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrdashboard.exe (VRApplication_Overlay)
Wed Oct 04 2017 20:43:48.600 - Setting app system.generated.vrdashboard.exe PID to 2912
Wed Oct 04 2017 20:43:48.600 - VRDashboard watchdog enabled for pid:2912
Wed Oct 04 2017 20:43:48.600 - Using existing HMD oculus_vridge.0.8
Wed Oct 04 2017 20:43:48.839 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrmonitor.exe (VRApplication_VRMonitor) (Args: -nokillprocess) 11828
Wed Oct 04 2017 20:43:48.841 - Creating builtin app for D:\Program Files (x86)\Steam\steamapps\common\SteamVR\bin\win32\vrmonitor.exe (VRApplication_VRMonitor)
Wed Oct 04 2017 20:43:48.841 - Setting app system.generated.vrmonitor.exe PID to 11828
Wed Oct 04 2017 20:43:48.841 - Using existing HMD oculus_vridge.0.8
Wed Oct 04 2017 20:43:48.850 - New Connect message from D:\Program Files (x86)\Steam\steamapps\common\SteamVR\tools\steamvr_environments\game\bin\win64\steamtours.exe (VRApplication_Scene) (Args: -vr -retail -useappid SteamVRAppID -nowindow -vconport 29009) 14460
Wed Oct 04 2017 20:43:48.853 - Setting app openvr.tool.steamvr_environments PID to 14460
Wed Oct 04 2017 20:43:48.853 - Using existing HMD oculus_vridge.0.8
Wed Oct 04 2017 20:43:48.974 - Closing pipe vrstartup (15240) because it was broken from the other end
Wed Oct 04 2017 20:43:48.974 - Process vrstartup (15240) disconnected (Thread(0x000000AC1910BCC0/0x000)
Wed Oct 04 2017 20:43:50.798 - New Connect message from D:\Program Files (x86)\Steam\Steam.exe (VRApplication_Overlay) (Args: -silent) 4252
Wed Oct 04 2017 20:43:50.801 - Creating builtin app for D:\Program Files (x86)\Steam\Steam.exe (VRApplication_Overlay)
Wed Oct 04 2017 20:43:50.801 - Setting app system.generated.steam.exe PID to 4252
Wed Oct 04 2017 20:43:50.801 - Using existing HMD oculus_vridge.0.8
Wed Oct 04 2017 20:43:51.262 - Setting app htc.vive.overlay PID to 9620
Wed Oct 04 2017 20:43:51.262 - Started autolaunch dashboard htc.vive.overlay.
Wed Oct 04 2017 20:43:53.018 - New Connect message from D:\Program Files (x86)\ViveSetup\Updater\App\Dashboard\win32\ViveDashboard.exe (VRApplication_Overlay) (Args: -compositor) 9620
Wed Oct 04 2017 20:43:53.021 - Setting app htc.vive.overlay PID to 9620
Wed Oct 04 2017 20:43:53.021 - Using existing HMD oculus_vridge.0.8
Wed Oct 04 2017 20:44:25.659 - Process vrmonitor (11828) has initiated a quit all
Wed Oct 04 2017 20:44:25.659 - oculus_vridge: Enter standby Server tracked device
Wed Oct 04 2017 20:44:25.665 - Sending Quit event to process vrdashboard (2912)
Wed Oct 04 2017 20:44:25.665 - Sending Quit event to process steamtours (14460)
Wed Oct 04 2017 20:44:25.665 - Sending Quit event to process Steam (4252)
Wed Oct 04 2017 20:44:25.665 - Sending Quit event to process ViveDashboard (9620)
Wed Oct 04 2017 20:44:25.798 - Closing pipe ViveDashboard (9620) because it was broken from the other end
Wed Oct 04 2017 20:44:25.798 - Process ViveDashboard (9620) disconnected (Thread(0x000000AC1F4B30E0/0x000)
Wed Oct 04 2017 20:44:25.928 - Closing pipe steamtours (14460) because it was broken from the other end
Wed Oct 04 2017 20:44:25.928 - Process steamtours (14460) disconnected (Thread(0x000000AC1F4B37E0/0x000)
Wed Oct 04 2017 20:44:27.347 - Closing pipe vrdashboard (2912) because it was broken from the other end
Wed Oct 04 2017 20:44:27.347 - Process vrdashboard (2912) disconnected (Thread(0x000000AC1F4B3E60/0x000)
Wed Oct 04 2017 20:44:27.613 - Closing pipe Steam (4252) because it was broken from the other end
Wed Oct 04 2017 20:44:27.613 - Process Steam (4252) disconnected (Thread(0x000000AC1F4B2160/0x000)
Wed Oct 04 2017 20:44:27.614 - Sending Quit event to process vrcompositor (9452)
Wed Oct 04 2017 20:44:27.614 - Sending Quit event to process vrmonitor (11828)
Wed Oct 04 2017 20:44:28.885 - Closing pipe vrmonitor (11828) because it was broken from the other end
Wed Oct 04 2017 20:44:28.885 - Process vrmonitor (11828) disconnected (Thread(0x000000AC1F4B53E0/0x000)
Wed Oct 04 2017 20:44:28.985 - Closing pipe vrcompositor (9452) because it was broken from the other end
Wed Oct 04 2017 20:44:28.985 - Process vrcompositor (9452) disconnected (Thread(0x000000AC1F4B46E0/0x000)
Wed Oct 04 2017 20:44:28.994 - VR server shutting down
Wed Oct 04 2017 20:44:28.994 - oculus_vridge: Driver deactivated: Vridge fake sensor
Wed Oct 04 2017 20:44:28.994 - oculus_vridge: Driver deactivated: Vridge
Wed Oct 04 2017 20:44:29.087 - Listener thread ending

Thanks for help

I'm not a champion at this - however all I can see in the output is that the psmove drivers are not installed in your steam folder.
Have you tried reinstalling them from the psmoveservice root folder?

Did you find a solution? Im stuck using 8.1.0 and cant upgrade to anything else. Have no idea why ive tried everything. Its a shame i really need one with virtual hmd but 8.3.0 and higher just wont connect to steamvr.


[SPARK-23522][Python] always use sys.exit over builtin exit

The exit() builtin is only for interactive use. applications should use sys.exit().
What changes were proposed in this pull request?
All usage of the builtin exit() function is replaced by sys.exit().
How was this patch tested?
I ran python/run-tests.
Please review http://spark.apache.org/contributing.html before opening a pull request.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@HyukjinKwon @ueshin @holdenk

ok to test.

Test build #87768 has started for PR 20682 at commit 311da8a.

Test build #87769 has started for PR 20682 at commit 311da8a.

Test build #87769 has finished for PR 20682 at commit 311da8a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87769/
Test FAILed.

Test build #87768 has finished for PR 20682 at commit 311da8a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87768/
Test PASSed.

Seems fine but I think I need to double check the difference too before actually merging it.

Thanks for the review and sorry about the missing sys imports. I guess my script to add them was buggy. Should be fixed now.

Test build #87788 has started for PR 20682 at commit 96529ca.

Test build #87788 has finished for PR 20682 at commit 96529ca.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87788/
Test FAILed.

Test build #87790 has started for PR 20682 at commit 3d28bbf.

Test build #87790 has finished for PR 20682 at commit 3d28bbf.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87790/
Test FAILed.

retest this please.

Test build #87815 has started for PR 20682 at commit 3d28bbf.

Test build #87815 has finished for PR 20682 at commit 3d28bbf.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87815/
Test FAILed.

Test build #87833 has started for PR 20682 at commit 3d28bbf.

Test build #87833 has finished for PR 20682 at commit 3d28bbf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87833/
Test PASSed.

I think dev/run_tests doesn't actually test most of the changes (checking doctest failure) here because it needs a test failure. Can you check one of them with a manual test failure for sure?

I've now fixed the style as you suggest and got python/run-tests passing.

Test build #87879 has started for PR 20682 at commit 4dac3a7.

Test build #87879 has finished for PR 20682 at commit 4dac3a7.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87879/
Test FAILed.

retest this please

Test build #87882 has started for PR 20682 at commit 4dac3a7.

lgtm otherwise

Test build #87882 has finished for PR 20682 at commit 4dac3a7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87882/
Test PASSed.

Test build #87891 has started for PR 20682 at commit c1b7413.

Test build #87891 has finished for PR 20682 at commit c1b7413.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87891/
Test PASSed.

Merged build finished. Test PASSed.

retest this please

Test build #88036 has started for PR 20682 at commit c1b7413.

Test build #88036 has finished for PR 20682 at commit c1b7413.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88036/
Test FAILed.

retest this please

Test build #88042 has started for PR 20682 at commit c1b7413.

Test build #88042 has finished for PR 20682 at commit c1b7413.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88042/
Test PASSed.

Merged to master.


Couldn't find any Elasticsearch data

Kafka providing the following message. How do I connect kafka to S3 bucket or is that already configured in the template ?


Resetting trace_mock.call_count to initial state 0

This PR aims to improve test reliability of test test_python_wrapper_python_runner_factory_failed by resetting trace_mock.call_count to initial state 0 by calling method reset_mock
The test can fail in this way by running pip3 install pytest-repeat; python3 -m pytest --count=2 tests/wrappers/test_python_function.py::test_python_wrapper_python_runner_factory_failed:
        with mock.patch(
                'epsagon.runners.python_function.PythonRunner',
                side_effect=TypeError()
        ):
            assert wrapped_function('a', 'b') == 'success'

>       trace_mock.prepare.assert_called_once()
...
>           raise AssertionError(msg)
E           AssertionError: Expected 'prepare' to have been called once. Called 2 times.
E           Calls: [call(), call()].
../../.local/lib/python3.8/site-packages/mock/mock.py:891: AssertionError

It may be better to clean state pollutions so that some other tests won't fail in the future due to the shared state pollution.

It seems that the CI failed due to some other reasons.

It seems that the CI failed due to some other reasons.

@henprtz can you please handle

It seems that the CI failed due to some other reasons.

@henprtz can you please handle

https://github.com/epsagon/epsagon-python/pull/379

Handled in https://github.com/epsagon/epsagon-python/pull/379

Thanks @sturmianseq !


[DO NOT MERGE] Add streaming microphone sample for Speech

For @beccca preliminary review
Command line microphone streaming example in node, run MicrophoneStream.js --help

Where are the tests?

@beccca @happyhuman 👋 What's the status of this PR?  It's been hanging around for a while :) Anything we can do to help get it merged?


Ci testing destroy if fail

The PR is for testing destroy-if-fail functionality in integration tests.
Please do not merge

[citest]

[citest]

[citest]

[citest]

[citest]

[citest]

[citest]

[citest]

[citest]

[citest]


[Feature Request/Question] Non ECMAScript polyfills

Hi,
As far as I understand this plugin is only capable of providing polyfills for features that are supported by core-js.
Things like classList, fetch, element-remove or FormData are not available via core-js.
Is there already a way to make those polyfills available only in the ES5 version?

@DreierF Yes - DOM polyfiling is far too difficult to implement via static analysis. My blanket recommendation is to import the polyfills you need manually, via polyfill.io or dom4.


Add comment on cancellation being forever alone in the batch

Add comment on cancellation being forever alone in the batch

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 2,019,390      Total (=)      2,019,390

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
11,180,032      Total (<)     11,180,033

 No significant differences in binary sizes

Corrupt JSON data (indicates timeout or crash):
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.new: 10
    bm_call_create.BM_IsolatedFilter_ClientChannelFilter_NoOp_.counters.old: 10

[microbenchmarks] No significant performance differences

Been sending too many review requests to @vjpai . Should spread these around.
@mhaidrygoog This is a small followup from #17072 which adds a simple comment about no other ops being present in the batch along with cancel

Ignoring test failures, since this is a simple documentation change


multiple names per service possible?

Imagine i deploy an nginx to serve a webfrontend and I'd like to give it:
annotations:
  external-dns.alpha.kubernetes.io/hostname: www.example.com.
  external-dns.alpha.kubernetes.io/hostname: example.com.

Maybe the annotation should be a list?

functionally duplicate of https://github.com/kubernetes-incubator/external-dns/issues/197
Regarding syntactical specs please discuss it there


[TF 2.0 API Docs] tf.data.Dataset

URL(s) with the issue:
https://www.tensorflow.org/versions/master/api_docs/python/tf/data/Dataset
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/data/ops/dataset_ops.py
Description of issue (what needs changing):
Need an overall example of how to use tf.data.Dataset
It is a struggle to relate the dataset with the keras model code.  The model.fit() doc describes how to use a tf.dataset as input but without experimentation its hard to discern the correct format of the dataset.
Correct links
Is the link to the source code correct?  Yes.
Parameters defined
Are all parameters defined and formatted correctly? Yes
Returns defined
Are return values defined?
Raises listed and defined
Are the errors defined? Yes.
Usage example
Is there a usage example?  No.  I added an example for the common use case of most users to use the dataset with a simple model.fit call for keras.
Request visuals, if applicable
Are there currently visuals? No. yes, it would be helpful.
Submit a pull request?
Are you planning to also submit a pull request to fix the issue?  Yes.
[TF 2.0 API Docs] tf.data Add pointer to tutorials which work with r2.0 #29323

Referencing the corresponding PR request : #29323

Is this issue still valid? The attached pull requests looks like it's a bit out of sync.
For the TF2 ref docs, we now automatically include links to usage in our guide and tutorials. See here: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/data/Dataset
These examples are easier for us to test and maintain then any snippets included in the doc strings.

I thought it was closed already
On Fri, Jul 12, 2019 at 13:16 Billy Lamberta<EMAIL_ADDRESS>wrote:

Is this issue still valid? The attached pull requests looks like it's a
bit out of sync.
For the TF2 ref docs, we now automatically include links to usage in our
guide and tutorials. See here:
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/data/Dataset
These examples are easier for us to test and maintain then any snippets
included in the doc strings.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/29337?email_source=notifications&email_token=ABBXUHCXVIIIHIFTRGZKKJTP7C377A5CNFSM4HSDPWY2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2KVGI#issuecomment-510962329,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABBXUHHBHYMGTNAV3DWOSBTP7C377ANCNFSM4HSDPWYQ
.

--
Rocking the roll like a natural man!

Thanks for confirming


Any ideas for page breaks?

Trying to figure out the best way to add page breaks. I tried adding css page breaks but that doesn't seem to work well. I also tried inserting empty tables with a given height to push content to the next page but that doesn't seem to work well either. Any ideas for solving this problem when converting using your library?

 works for me as a page break

I have add this code to html file

It work well.

I tried following but it adds one more blank page before that content.

for more example, let add to the other element
`
...

[title]

`
This code use on my work, The table "b" will start at the new page.

I tried this code too but having same result. When I append following code to my body it creates additional blank page and after that its will show the [title]


ios map not show

im try the exmple.. android works fine... but ios dont show the map, when click the button... show the marker,etc... but not the map

Please post your issue more detail information.
How can I help you without information.... :(

i hope the image help.

when i click the button

thanks for help wf9a5m75.

https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/TroubleShooting:-Blank-Map

i'll try, thaks again.

ios work!! thanks, ios sdk switch was my problem...


[SPARK-49701] Use JDK for Spark 3.5+ Docker image

What changes were proposed in this pull request?
This PR aims to use JDK for Spark 3.5+ Docker image. Apache Spark Dockerfile are updated already.

https://github.com/apache/spark/pull/45762
https://github.com/apache/spark/pull/45761

Why are the changes needed?
Since Apache Spark 3.5.0, SPARK-44153 starts to use jmap like the following.

https://github.com/apache/spark/pull/41709

https://github.com/apache/spark/blob/c832e2ac1d04668c77493577662c639785808657/core/src/main/scala/org/apache/spark/util/Utils.scala#L2030
Does this PR introduce any user-facing change?
Yes, the user can use Heap Histogram feature.
How was this patch tested?
Pass the CIs.

Thank you, @viirya .

Merged to master.

For the record, the fixed images are released.
$ docker run -it --rm apache/spark:4.0.0-preview1 jmap | head -n3
Usage:
    jmap -clstats <pid>
        to connect to running process and print class loader statistics

Hi Team, think similar changes is required for Java 11 as well. At the moment we are using spark:3.5.2-scala2.12-java11-python3-ubuntu. We wanted to check heap dump but ended up into issue , It show something like below -:

We went aheads and checked the Java installed within docker image to get Jmap by doing an kubectl exec -ti <executor-pod> sh - however even within the java installed we did not find heap dump. Will the change in java version work for 3.5.2 .

To @anish97IND , please use the latest Spark 3.5.3 images instead of 3.5.2.
FYI, there are correctness fixes in Apache Spark 3.5.3.

https://issues.apache.org/jira/browse/SPARK-46037
https://issues.apache.org/jira/browse/SPARK-48965


Allocation profiling gets SIGSEGV on ARMv7

I'm getting a SIGSEGV error on the Ubuntu and AdoptOpenJDK builds of JDK versions 11 and 14 when running with allocation profiling on both a real ARMv7 Cortex-A9 processor and a QEMU ARMv7 virtual machine.
The cpu and lock profiling work fine on both ARMv7 systems, and I don't see the problem with the alloc profiling on an Intel Xeon processor.
The errors for Ubuntu OpenJDK 14 on Ubuntu 20.04 are shown below.
1.0 GHz i.MX6SLL ARM Cortex-A9 with 512 MiB of RAM
See hs_err_pid10889.log for the full log file.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x76b3b826, pid=10889, tid=10890
#
# JRE version: OpenJDK Runtime Environment (14.0.1+7) (build 14.0.1+7-Ubuntu-1ubuntu1)
# Java VM: OpenJDK Server VM (14.0.1+7-Ubuntu-1ubuntu1, mixed mode, sharing, serial gc, linux-arm)
# Problematic frame:
# V  [libjvm.so+0x52e826]
#
# Core dump will be written. Default location: core.10889 (may not exist)
#
# An error report file with more information is saved as:
# /home/ubuntu/src/epd-javafx/hs_err_pid10889.log
#
# If you would like to submit a bug report, please visit:
#   Unknown
#

QEMU armv7l virtual machine with 1 CPU and 1 GiB of RAM
See hs_err_pid2364.log for the full log file.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb6aeb894, pid=2364, tid=2365
#
# JRE version: OpenJDK Runtime Environment (14.0.1+7) (build 14.0.1+7-Ubuntu-1ubuntu1)
# Java VM: OpenJDK Server VM (14.0.1+7-Ubuntu-1ubuntu1, mixed mode, sharing, serial gc, linux-arm)
# Problematic frame:
# V  [libjvm.so+0x52e894]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/ubuntu/src/epd-javafx/core.2364)
#
# An error report file with more information is saved as:
# /home/ubuntu/src/epd-javafx/hs_err_pid2364.log
#
# If you would like to submit a bug report, please visit:
#   Unknown
#

I'm passing the async-profiler options -agentpath:$HOME/opt/async-profiler-1.7.1/build/libasyncProfiler.so=event=alloc,start,file=alloc-jdk14.svg.

Seems that AdoptOpenJDK is compiled with Thumb instruction set, while async-profiler expects ARM instruction set.
Can you try if it works with Liberica JDK?

Can you try if it works with Liberica JDK?

Wow, it works! Thanks for the suggestion. Ubuntu JDK 14 and AdoptOpenJDK 14 both fail with a SIGSEGV error when profiling the heap allocation, while the Liberica 32-bit Linux ARM Standard JDK 14 (bellsoft-jdk14.0.1+8-linux-arm32-vfp-hflt.tar.gz) works without problems.

I've fixed async-profiler to support JDKs compiled in THUMB mode.


Introduce aws-sdk-rust as rusoto S3 replacement

refer #2683

First step to introduce checksum metadata leveraging the checksum calculation to S3.

aws-smithy-http: Needed because of SdkBody see https://github.com/awslabs/smithy-rs/issues/1759

aws-types: Needed because of SharedCredentialsProvider, the recommended way from aws is something like aws_config::from_env().region("us-east-1").load().await but that is problematic because of:

sync -> async  in the creation of S3Client and i don't want to change the signature of any method in this class.
We do not need the four default steps in https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/aws-config/src/default_provider/credentials.rs#L235

Hyper: Similar to what's currently doing Rusoto in https://github.com/rusoto/rusoto/blob/master/rusoto/signature/src/signature.rs#L59 to stream the body, see also https://github.com/awslabs/aws-sdk-rust/discussions/361

Need to confirm all tests work in the pipeline and check compilation times outside my dev environment from there i want to check performance stats.

Had tested it on a VM and local mac, and saw no difference in compilation times:
time env RUSTC_WRAPPER="" cargo build --all --timings [--release]
-------------

Mac

old:
    Finished dev [optimized + debuginfo] target(s) in 2m 50s
env RUSTC_WRAPPER="" cargo build --all --timings  1438.32s user 58.24s system 876% cpu 2:50.81 total

old, release:
    Finished release [optimized + debuginfo] target(s) in 2m 04s
env RUSTC_WRAPPER="" cargo build --all --release --timings  1021.31s user 42.76s system 856% cpu 2:04.28 total

new:
    Finished dev [optimized + debuginfo] target(s) in 2m 48s
env RUSTC_WRAPPER="" cargo build --all --timings  1462.21s user 59.64s system 902% cpu 2:48.57 total

new, release:
    Finished release [optimized + debuginfo] target(s) in 2m 16s
env RUSTC_WRAPPER="" cargo build --all --release --timings  1180.12s user 47.42s system 897% cpu 2:16.79 total

-------------

Linux

old:
    Finished dev [optimized + debuginfo] target(s) in 6m 39s
env RUSTC_WRAPPER="" cargo build --all --timings  2978.42s user 111.40s system 773% cpu 6:39.22 total

old, release:
    Finished release [optimized + debuginfo] target(s) in 4m 40s
env RUSTC_WRAPPER="" cargo build --all --release --timings  2085.85s user 79.98s system 771% cpu 4:40.78 total

new:
    Finished dev [optimized + debuginfo] target(s) in 6m 41s
env RUSTC_WRAPPER="" cargo build --all --timings  3012.22s user 112.60s system 777% cpu 6:41.83 total

new, release:
    Finished release [optimized + debuginfo] target(s) in 4m 41s
env RUSTC_WRAPPER="" cargo build --all --release --timings  2100.62s user 80.31s system 775% cpu 4:41.35 total

I've attached the timing profiles of the release builds:
Interesting, that despite the build time not changing, new S3-related crate takes longer to compile generally.

cargo_build_timings.zip

I see an increased failure rate in the tests, check out the Allure reports, there are logs (pytest, pageserver, safekeeper, pg, etc.) in the attachments per test.

Debug: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-2812/debug/3463396532/index.html#categories/8fb3a91ba5aaf9de24cc8a92edc82b5d
Release: https://neon-github-public-dev.s3.amazonaws.com/reports/pr-2812/release/3463396532/index.html#suites/3de20ced56df482626cff043a3f2c817
There's also a docker-compose set-up and test we have in our repo, and while that does not fail explicitly (since PS could work without the remote storage), it shows some interesting errors:
docker-compose-pageserver-1        | 2022-11-14T16:50:09.593840Z ERROR storage_sync_loop:storage_sync_loop_step:process_sync_task_batch{sync_id=f75d15f012765a22bdda57cdeea17eda/9d2ae9dcaea4e1aff81d7ed6be860ec8}:upload_timeline_data: Failed to upload a layer for timeline f75d15f012765a22bdda57cdeea17eda/9d2ae9dcaea4e1aff81d7ed6be860ec8: Failed to upload layer file for f75d15f012765a22bdda57cdeea17eda/9d2ae9dcaea4e1aff81d7ed6be860ec8
[685](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:686)
docker-compose-pageserver-1        |
[686](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:687)
docker-compose-pageserver-1        | Caused by:
[687](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:688)
docker-compose-pageserver-1        |     0: Failed to upload from '/data/.neon/tenants/f75d15f012765a22bdda57cdeea17eda/timelines/9d2ae9dcaea4e1aff81d7ed6be860ec8/000000000000000000000000000000000000-FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF__0000000001696070-00000000016960E9' to storage path '"pageserver/tenants/f75d15f012765a22bdda57cdeea17eda/timelines/9d2ae9dcaea4e1aff81d7ed6be860ec8/000000000000000000000000000000000000-FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF__0000000001696070-00000000016960E9"'
[688](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:689)
docker-compose-pageserver-1        |     1: failed to construct request: error during request construction: Only request bodies with a known size can be checksum validated.
[689](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:690)
docker-compose-pageserver-1        |     2: error during request construction: Only request bodies with a known size can be checksum validated.
[690](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:691)
docker-compose-pageserver-1        |     3: Only request bodies with a known size can be checksum validated.
[691](https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:692)

https://github.com/neondatabase/neon/actions/runs/3463396532/jobs/5783718923#step:4:685

Thanks for the review @SomeoneToIgnore!
Yep i trimmed the default-features from aws-config because initially the results were much worse...
I will remove all the checksum thing and check the errors, thanks!!!!

refer: https://github.com/awslabs/aws-sdk-rust/issues/668


haskellPackages.mkDerivation: show test outputs as they happen

Currently, the test output is only printed if the test suite fails. If a
test suite gets stuck, however, and is hit with a timeout by Hydra, it
can help to have the log available when diagnosing the issue.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Sounds like a good idea. Have you tried this on some packages? Won‘t it be too spamy?

Sure, depending on the test suite. Spammy is, however, a trend with the decisions taken in generic-builder.nix (e.g. high Cabal configure verbosity).

@ofborg eval

spammy?

The experimental CLI hides logs by default, if that's any consolation.
Having no logs hurts more than having too much of it, so :+1: .

Okay! I suggest merging this in after next haskell-updates merge.

(Could be bundled with the other set rebuild PR.)

Thank you!


Fix transitionend event bug

In some cases if the current and next styles are the same no transitionend event will be fired and
the callback not called, this adds a simple comparison of styles to make sure this doesn't happen.
In my case this happens when then transitions are triggered in quick succession for mouseenter, mouseleave.

Coverage decreased (-0.7%) to 93.061% when pulling 58a1e8b77301018611a37b3009bad542f051ef23 on michaelmitchell:master into ee2ef2c6ed690fa1df53d17cf18419d4212affea on felipethome:master.

Hi @michaelmitchell , thanks for taking the time to send the pull request.
When I was writing the code I knew the callback would not be called for that case, but I imagined I should not worry about that because the user should not apply styles that will be equal between phases (since, if they are equal there will be no transition).
That case is also tricky to check. Your check for example would not be guaranteed to work because if the user types:
baseStyle: {
  color: '#fff', // lowercase letters
}

appearStyle: {
  color: '#FFF', // uppercase letters
  transition: 'all 1s',
}

This would be pointed as different in your check, but in fact this is not different and will not trigger a transition. The order of the properties or the amount of spaces also can trigger false positives.
You could manually check if the properties are equal (this would be faster too), but still, the amount of spaces inside a string is a problem (e.g.'all 1s     ', 'all 1s'). I believe, the only way to check this properly would be parsing the style objects, but that would be slow.
So, can you tell me a little more about your use case? Then, we can try to tackle this together.

Well, maybe something like propertyValue.toLowerCase().trim().replace(/\s+/, ' ').replace(/\s+,\s+/, ',') solves the space problem.
Now you have the fact that width: 100px and width: 100 is both the same in React. So, we need to insert the px unit in the properties that need that. React does that using a map they have internally to check if the property is has an unit.
Can you see? We are slowing down the things and repeating processes that will be performed again by React or even the browser. That is why I want to be sure is a valid use case.

I think your first assumption was correct that a user should not apply the same styles but if they do or for some reason the styles are invalid it causes React to behave unexpectedly when no callback is called (this confused me for a while when I tried to use transition-duration instead of transition which causes the same problem) so maybe some validation on the childrenStyles would be helpful in these cases. However this is unrelated to the case I am fixing with the pull request.
The situation I have is for whatever reason when triggering transitions in quick succession the current style can end up matching the next style during the course of regular adding/removing of the child component which locks up the animation preventing React from removing the component because callback is not called for whatever reason.
I am not 100% sure of the events that lead up to it but the end result is _executeTransition gets called in a state where they match but shouldn't, you might know better than I where the real problem comes from but for now a simple JSON compare is enough to make sure that the next style is not exactly the same as the previous style.
This example is running patched code and works as expected when you run your mouse back and forward over top the the tiles in the slider - http://<IP_ADDRESS>:8081/browse
This example runs the original module and you will see the transition quickly locks up when you run your mouse back and forward in the same way (I left 0.1 opacity so you can see that the component is not removed) -  http://<IP_ADDRESS>:8083/browse
This is the transition in question
const hoverTransition = {
  base: {
    transitionTimingFunction: 'cubic-bezier(0.5, 0, 0.1, 1)',
    opacity: 0.2
  },
  appear: {
    transition: 'all 200ms',
    opacity: 1
  },
  enter: {
    transition: 'all 200ms',
    opacity: 1
  },
  leave: {
    transition: 'all 200ms',
    opacity: 0.1
  }
};

//
const ContentOverlayWithTransition = (props) => {
  const { show, ...moreProps } = props;

  return (
    <TransitionGroup childrenStyles={hoverTransition}>
      { show ? <ContentOverlay {...moreProps} /> : null }
    </TransitionGroup>
  );
};

Hi @michaelmitchell, I agree with you this is a problem.
I just fixed a bug with ReactTransitionHooks that is the underlying component of ReactInlineTransitionHooks that maybe solve this problem.
I noticed with your demo that if you move the cursor fast enough the entering phase does not start again. It turns out this issue seems to be related to the problem you found.
I pushed into master (but not yet in npm) a new version with the updated ReactTransitionHooks in package.json, but you can just update the version of ReactTransitionHooks in your own package.json, just be sure you have this new version (1.0.8).
Can you please check if this solves your issue?

Great, I will give it a try asap at let you know.

@michaelmitchell I will be closing this if that is ok for you.


Fixed problem in bounding box computation

Was not checking for null radius and infinite corners

Will merge after lunch

Wouldn't it be nice to squash the commits? Here is some info: https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/

Tested with Model viewer 2.
Works fine.


file_meta unavailable for instance from DICOMweb

For one of my examples, I am encountering the following error:
  File "/opt/wsidicom/wsidicom/wsidicom.py", line 153, in open_web
    source = WsiDicomWebSource(
  File "/opt/wsidicom/wsidicom/web/wsidicom_web_source.py", line 97, in __init__
    annotation_instance = AnnotationInstance.open_dataset(instance)
  File "/opt/wsidicom/wsidicom/graphical_annotations.py", line 1688, in open_dataset
    if dataset.file_meta.MediaStorageSOPClassUID != ANN_SOP_CLASS_UID:
  File "/opt/venv/lib/python3.9/site-packages/pydicom/dataset.py", line 907, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'Dataset' object has no attribute 'file_meta'

Is the file_meta attribute unavailable for instances obtained via DICOMweb?
Here is a reproducer of the issue:
from dicomweb_client import DICOMwebClient
from pydicom.datadict import tag_for_keyword
from pydicom.tag import Tag
from wsidicom import WsiDicom, WsiDicomWebClient

url = 'https://idc-external-006.uc.r.appspot.com/dcm4chee-arc/aets/DCM4CHEE/rs'
study_uid = '2.25.18199272949575141157802058345697568861'
series_uid_tag = Tag(tag_for_keyword('SeriesInstanceUID')).json_key

client = DICOMwebClient(url)
series = client.search_for_series(study_uid)
series_uids = [x[series_uid_tag]['Value'][0] for x in series]

wsi_client = WsiDicomWebClient(client)
slide = WsiDicom.open_web(
    wsi_client,
    study_uid,
    series_uids,
)

I have also observed this bug. An dataset fetch from dicom web is not expected to have the file_meta property. So the check should be removed from the annotation class.

I removed this check in the Decoder-development branch


Package Should be Registered

@JuliaRegistrator register()

@JuliaRegistrator register()
Release Notes:
Fleck provides samplers that choose the next event and next time for continuous-time discrete event simulation (DES). It supports simulation by providing exact stochastic simulation algorithms (SSA) for non-Exponential distributions. Whereas SimJulia is process-oriented, Fleck is event-oriented. The goal of Fleck is to enable correct and efficient simulation of chemical processes, disease processes, queueing models, generalized stochastic Petri nets, and other frameworks for continuous-time discrete event simulation.

Registration pull request created: JuliaRegistries/General/107868
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 8fdd30b834321458a40e73ba2cc0ac9465a320d2
git push origin v0.1.0

@JuliaRegistrator register()
Release Notes:
The CompetingClocks package provides samplers that choose the next event and next time for continuous-time discrete event simulation (DES). It supports simulation by providing exact stochastic simulation algorithms (SSA) for non-Exponential distributions. Whereas SimJulia is process-oriented, CompetingClocks is event-oriented. The goal of CompetingClocks is to enable correct and efficient simulation of chemical processes, disease processes, queueing models, generalized stochastic Petri nets, and other frameworks for continuous-time discrete event simulation.

Registration pull request created: JuliaRegistries/General/107888
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" b96a96a2acff4f1f21c09bf92996f9116c36d3fd
git push origin v0.1.0


Fix copyObject operations with "COPY" MetadataDirective

I've actually encountered this and worked around it thinking it was just some annoying behavior for S3, but it's actually just been implemented wrong here. Ideally this would have been caught a long time ago since it's basically the result of a syntax error, but var is just the best at hiding those -_-.
I'm still working on rebasing the fs store refactor I've had for a while now that has a much better implementation of this with proper error handling, but I'll add this now just since there's some value in giving new test cases their own PR.

@specialkk Is this good to go?

Yes it is!


e2e: add tests to deploy and test plugins with the operator

currently, our e2e tests do not test anything with the operator based flow. Add tests that install the operator, deploy plugins and tests them using the BMAAS e2e-* workflows.

Slow progress, pr estimated to be submitted in WW39. Still no PR?


[AutoPR billing/resource-manager] chore: jsonfmt billing

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6309

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/5000


Date Input improvements

Added maxLength prop and Modus Date Input component will now accept only digits and / character as input.
Preview: https://icy-ground-0374a1310-1043.centralus.1.azurestaticapps.net/
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (including CHANGELOG updates)
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

Nice improvement! There is a a11y issue on the canvas demo (Ensures every form element has a label). Can you fix？

Nice improvement! There is an a11y issue on the canvas demo (Ensures every form element has a label). Can you fix？

Thanks for spotting that @coliff I got to find the same bug present for text input and number input components, will create a separate PR for that.

@coliff Fixed the accessibility issue.


Binding to custom method

Dear @volkanceylan,
I'm "reopening" the #1045 issue because I think that can be useful to someone else.
Basically I have dialog1 that opens dialog2 and I would like to bind a dialog1 field with a custom method on dialog2 (and onestly I don't know if it's possibile or not).
I'm fighting with something like that:
var dlg = new myProject.Test.xyzDialog();
dlg.dialogOpen();
dlg.element.bind('dialogclose', () => alert('test dialog close'));
dlg.element.bind('mymethod', () => alert('test my method'));

where mymethod is a method defined on dialog2.
For some reason the first bind is working fine (I can see the alert when I close dialog2), but the second bind is not working at all (nothing happens when I invoke "mymethod").
What I'm trying to achieve is to bind a custom method on dialog2 to a field on dialog1 so when I call this method, I can "push" a value to the field on dialog1.
Once again, don't know if it's the right approach...
Thank you very much for your support
Bye

Hi, @marcobisio . I'm now in need for this feature or similar one. I'm starting to implement this... So, do you mind if I join here? :-)
It seems that you are trying to bind an event handler to the dialog... That's why the first one works and the second doesn't... I guess... unless you are triggering some custom event to that method...
You can test your mymethod event calling something like
$('.ui-widget.s-xyzDialog').children().trigger("mymethod");
Or maybe $('.ui-widget').trigger("mymethod"); in your console...
I'm researching to use your row selectable grid (described in 1241) in dialog2 to trigger multiple input filling in dialog1 from multiple columns of dialog2 grid... But I'm on the very start and.. kind of lost.. :-)
Is it possible to return all columns in that selected grid row just like the checkboxes example? That issue combined to this one would be the best of two worlds...
Regards

Hi @edson, of course you're welcome!
To get row values I think that there are two distinct approach: the lookup one for dataset smaller that 10k records, while for largest dataset I prefer to use a service request and disable the lookup for such entity, because otherwise all the data are sent to the client (at least one time).
I think you're right: I'm trying to bind an event handler (dialogclose) and also a method...perhaps the last one isn't possible, but once again I don't fully understand the @volkanceylan suggestion in the last part of the #1045 issue

I wouldnt create a dependency from your dialog to the form it is used on. That way you cant use that dialog with another form. Your dialog should have an event that sends selected item ids. Your form should attach to that event after creating dialog.

I've a fully functional picker dialog (@edson if you need my sample code, just ask) that I can use only with a specific form, so I have to "copy" such dialog for every entity where I want to use such picker.
I tried to add a method to my picker dialog that retrieve the selected keys, but now I don't know how to attach the parent form to that event.
If you have any idea, let me know!
Thanks
T
Bye

@marcobisio, i think you are fix mixing dialog methods and jquery based events.
dlg.element.bind('dialogclose', () => alert('test dialog close'));

Here you bind to "dialogclose" event of dlg.element, the element which dialog is created on.
Somewhere in jQuery UI dialog / widget code, this event is triggered when dialog is closed, e.g.
this.element.trigger('dialogclose')

So unless this event is triggered somewhere, you won't get it.
Here you bind to "mymethod" event of your dialog element again:
dlg.element.bind('mymethod', () => alert('test my method'));

Unless "mymethod" is triggered somewhere, you won't get that event. Having a method named "mymethod" in your dialog class doesn't change this fact. They have no relation at all.
So somewhere, you need to trigger it, e.g.
this.element.trigger('mymethod');

Attaching to jQuery element events and triggering them provides some kind of seperation of concerns and reduces dependency of classes on each other.
For example, our entity dialog has a "datachange" event that it triggers on its element. This way grid can attach to data change, without knowing about "type" of dialog, thus grid may also attach to a panel for example, while dialog may notify interested parties without knowing which kind of object attached to its "datachange" event.
In your sample at #1045, you created a direct dependency from your dialog to grid if i remember right. So both can't work without the other.
You might use this jQuery event system, to reduce dependency. It is usually fine, and it is also pass some data alongside the data, but you'll have no intellisense for this data. So sometimes that event system can be a burden.
So for simple cases, i use Actions as callbacks, e.g.
class MyDialog {
   public done: (selectedItem: MyRow) => void;

   void okClick() {
        // do some optional validation
        var selectedItem = // do something to get selected item
        this.done && this.done(selectedItem); // trigger event
        // this.dialogClose(); might close dialog here, or let callback do it after everything goes ok
   }
}

class SomeGrid {
   void someMethod() {
       var dlg = new MyDialog();
       dlg.done = (selectedItem) => {
       // do something with selected item
       dlg.dialogClose(); // optional, dialog might also close itself after calling done
   }
}

Same thing, using jQuery trigger
class MyDialog {
   void okClick() {
        // do some optional validation
        var selectedItem = // do something to get selected item
        this.element.trigger({
           type: 'done',
           selectedItem: selectedItem
        });
        // this.dialogClose(); might close dialog here, or let callback do it after everything goes ok
   }
}

class SomeGrid {
   void someMethod() {
       var dlg = new MyDialog();
       dlg.element.bind('done', e => {
           var selectedItem = (e as any).selectedItem;
           // do something with selected item
           dlg.dialogClose(); // optional, dialog might also close itself after calling done
       });
   }
}

Btw, prefer "on" instead of "bind", as bind is obsolete. There are code in Serenity that i should also fix.

Hi, @marcobisio . Thanks a lot. Based on your code in #1045 I was able to do this.
What I did, following your code and master @volkanceylan  guidance:
In MyXYZDialog1.ts:
.click(() => {
                        var nDialog: MyXYZDialog2 = new MyXYZDialog2 ();
                        nDialog.dialogOpen();

                        nDialog.element.on('selectedRow', e => {
                            var selectedItem = (e as any).selectedItem;
                            console.log(selectedItem);
                            //some assignment with this.form.fieldName = selectedItem.columnName values
                            nDialog.dialogClose();
                        });

                    });

And in MyXYZGrid2.ts, when a row is clicked I'm returning that row (so dialog2 is closed in MyXYZDialog1.ts when the event is triggered):
protected createSlickGrid(): Slick.Grid {
            var selfGrid = this;
            var grid = super.createSlickGrid();
            grid.setSelectionModel(new Slick.RowSelectionModel());
            grid.onClick.subscribe(function (e, args) {

                var item = grid.getDataItem(args.row);

                selfGrid.element.trigger({
                    type: 'selectedRow',
                    selectedItem: item
                });

            });
            return grid;
        }

But, intellisense and building keeps telling that:
Object literal may only specify known properties, and 'selectedItem' does not exist in type 'JQueryEventObject'.
It's just a warning, but code is working. I've also tried to put the item content to
{
                    type: 'selectedRow',
                    data: item
                }

But data always comes undefined at event handler in MyXYZDialog1.ts. Also tried sending item as argument but it seems that the event handler is actually wrapped in JQueryEventObject for this typescript port of jquery, so the arguments are at e.handler function... I suppose.
It's just a warning, but annoying one... It doesn't affect code from working, though. :-)
Any ideas to get rid of it?
Thanks
Regards

trigger(<any>{.....})

wow. thanks @volkanceylan . I'm still new with the Typescript thing. But I'll catch up and hopefully help you and the serenity community more.
Have a nice weekend and thanks for your time.
Best Regards

So. In order to have some intellisense to my selectedItem, I´ve added the myXYZRow to:
.click(() => {
                        var nDialog: MyXYZDialog2 = new MyXYZDialog2 ();
                        nDialog.dialogOpen();

                        nDialog.element.on('selectedRow', e => {
                            var selectedItem: myXYZRow  = (e as any).selectedItem;
                            console.log(selectedItem);
                            //some assignment with this.form.fieldName = selectedItem.columnName values
                            nDialog.dialogClose();
                        });

                    });

Just a note, in case anyone needs... As I'm returning the clicked row in myxyzdialog2 for my problem...
Regards

Thank you very much @volkanceylan for the detailed explanation...as I already know, there is always something to learn!! Thanks again to point me in the right direction!
Thanks also to you @edson for sharing your code...you scratch my back and I'll scratch yours :-D
Have a nice weekend!
Bye

Sure, @marcobisio . :-) . Master @volkanceylan always writes insightful texts.
Just to add... As we are playing with events. I added some resizing events to the xyzDialog2.ts, so that if the dialog is resized, maximized or restored, the attached slickgrid resizes accordinly:
private _MyXYZGrid2: MyXYZGrid2;

      constructor() {

          super();

          this._MyXYZGrid2= new MyXYZGrid2(this.byId('MyXYZGrid2'));
      }

      dialogOpen() {
          var selfDialog = this;
          super.dialogOpen();
          this.element.on("dialogextendmaximize", function (event, ui) {
              selfDialog._MyXYZGrid2.slickGrid.resizeCanvas();
          });
          this.element.on("dialogextendrestore", function (event, ui) {
              selfDialog._MyXYZGrid2.slickGrid.resizeCanvas();
          });
          this.element.on("dialogresize", function (event, ui) {
              selfDialog._MyXYZGrid2.slickGrid.resizeCanvas();
          });

      }

In case anyone needs.
Best Regards

Once again, thank you very much for sharing your code @edson !!
Bye


seems something wrong in shader

Hey iantv!
Your project is great. I have yet succefully compiled your project since my OpenCV is broken. I've read part of your code and found something weird.

It sees your git had done something do your background.vert .
https://github.com/iantv/AR-Hair/blob/538afa29cbf3ed9a8925ee2f829c4e38ae579e47/Resources/shaders/background.vert#L8

I'm a lillte confused about the magic number in lines from there.  Could you help me with more information about it?
https://github.com/iantv/AR-Hair/blob/538afa29cbf3ed9a8925ee2f829c4e38ae579e47/PoseEstimation.cpp#L21

Oh, thanks. I fixed this shader. Now, you can pull data from repository
This points are (x, y, z) coordinates from 3d model matched to 2D points on image/frame from camera.
You can use points of your 3D model of head and to watch coordinates using Blender3D in Edit mode with selected object (3d head model).

Hey! Thanks for your quick reply!
I have mannually fixed the error and managed to get my OpenCV work. However, It looks like you've forgot to upload the "hair_v1.obj" . It should be in the path './Resources/3D models/hair/hair_v1.obj'.
Now my good friend QtCreator keep throwing error like this
:-1: error: No rule to make target '../../Resources/3D models/hair/hair_v1.obj', needed by 'qrc_application.cpp'.  Stop.

Could you share the original obj file?

Sorry, I couldn't find a 3d model of a head. But I used from this link
https://www.turbosquid.com/FullPreview/Index.cfm/ID/256001
This head was free when I used it

You can use another 3d model of a head, you just should exchange coordinates of keypoints in this. https://github.com/iantv/AR-Hair/blob/538afa29cbf3ed9a8925ee2f829c4e38ae579e47/PoseEstimation.cpp#L21


Disabling the fulltext option for the repository model for now

This works around a regression in the search feature. Basically, MariaDB seems
to fail at some searches when the fulltext option has been enabled. We are
still investigating about this.

LGTM, merge as soon as all the tests are green

Note that the test on the  spec/controllers/search_controller_spec.rb file has been reduced. This is because the contents of the @repositories is already being tested by the spec/features/search_feature_spec.rb. The tests there were ok because we are passing js: true which truncates the DB and fixes the indexes issues.


Always run a "common denominator" cmd/cue command on all Unity projects

Some projects integrated with Unity declare their own cue.mod/tests/, and for some others we write the tests directory in our overlay. In either case, we should always run a basic command to give us some minimum confidence that all the CUE files in the project evaluate in the same way. This might be cue eval ./..., or it might be some other command that would do a better job at "the semantics are unchanged".
cc @myitcv

cc @mpvl.
For now we use cue eval for this purpose. This covers the fact that we cannot know whether the configurations ./... should be concrete or not.
@mvdan and I noted this in conversations about adding projects to unity where the project owner does not specify any tests/assertions. In this case, not only is this "common denominator" mode required, but it needs to work with cue diff.


fix #1238 accordion supports children property in react 18

This commit message will not close/move the ticket.
We also no longer need the fix(DDI-999) any more, seeing as that was a way to link to the Jira ticket.
So the commit message should be multi-line like:
fix: blah blah blah

Closes #999

:tada: This PR is included in version 4.0.0-alpha.166 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.204 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-alpha.18 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.23 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.4.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.13.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.5.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.13.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TODO is not deleted when note is deleted

If you delete a note with TODO items the TODO items remain.

@levlaz  I was a bit unsure about this. The cascade="all, delete-orphan" should do it right?

Yes that should work!
This should only happen when the note is "deleted forever" otherwise you may accidentally remove TODOs if the note is deleted by mistake. :)
Best,
Lev

On Jan 10, 2016, at 10:45 PM, Aneesh Makala<EMAIL_ADDRESS>wrote:
@levlaz https://github.com/levlaz I was a bit unsure about this. The cascade="all, delete-orphan" should do it right?
—
Reply to this email directly or view it on GitHub https://github.com/levlaz/braindump/issues/167#issuecomment-170445248.


Updated changelog to reflect changes and added more metrics to the me…

Pull Request Checklist
Is this in reference to an existing issue?
General

[ ] Update Changelog following the conventions laid out on Keep A Changelog

[ ] Update README with any necessary configuration snippets

[ ] Binstubs are created if needed

[ ] RuboCop passes

[ ] Existing tests pass

New Plugins

[ ] Tests

[ ] Add the plugin to the README

[ ] Does it have a complete header as outlined here

Purpose
Known Compatablity Issues
…trics-mongodb.rb script

Added more metrics to the metrics-mongodb.rb

The rubocop error is due to the excessive assignments in the function.  Either split those into separate functions or tell rubocop to ignore that specific rubocop check
bin/metrics-mongodb.rb:158:3: C: Assignment Branch Condition size for gather_replication_metrics is too high. [397.2/100]
  def gather_replication_metrics(server_status)
  ^^^

I think all issues are now resolved.
Please confirm if this pull request can be merged or if I need to create a new pull request

Thanks again for all your time helping me through this. I am officially a stage 2 newbie now :)

On 14 Jul 2016, at 13:10, Shane Starcher<EMAIL_ADDRESS>wrote:
Merged #28 https://github.com/sensu-plugins/sensu-plugins-mongodb/pull/28.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/sensu-plugins/sensu-plugins-mongodb/pull/28#event-722898018, or mute the thread https://github.com/notifications/unsubscribe/AQPCQfCRZi2faMoHACbtyGMshktDCv7zks5qVidNgaJpZM4JLkLD.

@RycroftSolutions no problem everyone is at one point.  Thanks for the contribution.

Hi Shane,
Is there an additional process I have not completed?
The reason I ask is because I just tried to pull down the metrics-mongodb.rb script using the “sensu-install -p mongodb” and it seems I can only get release 1.0.0 which doesn’t carry my changes.
Any advice is appreciated.
Thanks,
Neil

On 14 Jul 2016, at 14:07, Shane Starcher<EMAIL_ADDRESS>wrote:
@RycroftSolutions https://github.com/RycroftSolutions no problem everyone is at one point. Thanks for the contribution.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sensu-plugins/sensu-plugins-mongodb/pull/28#issuecomment-232659968, or mute the thread https://github.com/notifications/unsubscribe/AQPCQbtDsF3FT_8HkWsDg5MZtLHn_aoUks5qVjR6gaJpZM4JLkLD.

@RycroftSolutions a new release has not be cut yet.  Someone will have to cut a release for you @sensu-plugins/commit-bit

Do you know how I can get the ball rolling to get this done?

On 28 Jul 2016, at 14:00, Shane Starcher<EMAIL_ADDRESS>wrote:
@RycroftSolutions https://github.com/RycroftSolutions a new release has not be cut yet. Someone will have to cut a release for you @sensu-plugins/commit-bit https://github.com/orgs/sensu-plugins/teams/commit-bit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sensu-plugins/sensu-plugins-mongodb/pull/28#issuecomment-235887372, or mute the thread https://github.com/notifications/unsubscribe-auth/AQPCQSIZp7hF-fM_wKuh-R63rLJHlbEsks5qaKgFgaJpZM4JLkLD.

I pinged the maintainers in the last message.    The proper way may be to open a ticket asking for a release.

New release coming soon.

Hey @RycroftSolutions I dig the additional metrics. Can you address my comment about backwards compatibility on the lock queue metrics. Once that's resolved we'll cut a new release.

Hi Eric,
Thanks for the feedback I have updated the lock.queue statements and created a pull request if you can do the honours.
Best regards,
Neil

On 1 Aug 2016, at 07:32, Eric Heydrick<EMAIL_ADDRESS>wrote:
Hey @RycroftSolutions https://github.com/RycroftSolutions I dig the additional metrics. Can you address my comment about backwards compatibility on the lock queue metrics. Once that's resolved we'll cut a new release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sensu-plugins/sensu-plugins-mongodb/pull/28#issuecomment-236499911, or mute the thread https://github.com/notifications/unsubscribe-auth/AQPCQUl7ZnmHlJjs3PHlAF29dJvARkTvks5qbZMZgaJpZM4JLkLD.

Hi Eric, I have tried everything and seem to have ended up with a pull request so please let me know if I should just create a new branch and start from scratch again

On 1 Aug 2016, at 07:32, Eric Heydrick<EMAIL_ADDRESS>wrote:
Hey @RycroftSolutions https://github.com/RycroftSolutions I dig the additional metrics. Can you address my comment about backwards compatibility on the lock queue metrics. Once that's resolved we'll cut a new release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sensu-plugins/sensu-plugins-mongodb/pull/28#issuecomment-236499911, or mute the thread https://github.com/notifications/unsubscribe-auth/AQPCQUl7ZnmHlJjs3PHlAF29dJvARkTvks5qbZMZgaJpZM4JLkLD.


Coefficient Projection for IGA Spaces

Hello,
I am recently dealing with Isogeometric Analysis (IGA) for the issue  https://github.com/mfem/mfem/issues/4238, but I am by far not an expert on IGA.
For one of my plausibilty checks, I wanted to project a coefficient to a gridfunction defined on an IGA mesh.
When trying, I get the "MFEM abort: method is not overloaded' error for
virtual void mfem::FiniteElement::Project(mfem::Coefficient&, mfem::ElementTransformation&, mfem::Vector&) const.
Should we extend the routine to NURBS spaces or is this kind of interpolation not useful in IGA?
As always I am happy to help coding, but I would need some advice. Below is a minimal example of the problem run at the current master version of mfem.
Greetings,
Michael
#include <iostream>
#include "mfem.hpp"

int main(int argc, char *argv[]) {

    const char *mesh_file = "../data/square-nurbs.mesh"; //fix the nurbs-mesh to a simple one
    mfem::Mesh mesh(mesh_file, 1);
    //Refine once or twice to get a more useful mesh
    mesh.UniformRefinement();

    //Define the finite element space on the mesh. Here we use the iga space
    mfem::FiniteElementCollection *fec = mesh.GetNodes()->OwnFEC();
    mfem::FiniteElementSpace fes(&mesh, fec);

    //setup a function coefficient to project
    auto u_fun = [](const mfem::Vector &x) { return std::sin(M_PI*x[0])*std::sin(2.*M_PI*x[1]); };
    mfem::FunctionCoefficient u_coeff(u_fun);

    //project to gridfunction (this is where the error happens)
    mfem::GridFunction u_gf(&fes);
    u_gf.ProjectCoefficient(u_coeff);
    return 0;
}

@michi002 In #4326 I started a discussion about this. I am working on a solution.
I have two:

In GridFunction::ProjectCoefficient instead of an element level routine do a global (L2) projection.
This is implemented in the branch hdiv-nurbs on line 2349. See routine below, in particular the braced part below the first else.

I am now working on an element level routine that is more akin to a nodel interpolant, as mentioned in #4326.

I think the solution might be something in between solution 1 and 2. Namely a global implementation of somethin akin a nodal interpolant.
void GridFunction::ProjectCoefficient(Coefficient &coeff)
{
   DeltaCoefficient *delta_c = dynamic_cast<DeltaCoefficient *>(&coeff);
   DofTransformation * doftrans = NULL;

   if (delta_c == NULL)
   {
      if (fes->GetNURBSext() == NULL)
      {
         Array<int> vdofs;
         Vector vals;

         for (int i = 0; i < fes->GetNE(); i++)
         {
            doftrans = fes->GetElementVDofs(i, vdofs);
            vals.SetSize(vdofs.Size());
            fes->GetFE(i)->Project(coeff, *fes->GetElementTransformation(i), vals);
            if (doftrans)
            {
               doftrans->TransformPrimal(vals);
            }
            SetSubVector(vdofs, vals);
         }
      }
      else
      {
         // Define and assemble linear form
         LinearForm b(fes);
         b.AddDomainIntegrator(new DomainLFIntegrator(coeff));
         b.Assemble();

         // Define and assemble bilinear form
         BilinearForm a(fes);
         a.AddDomainIntegrator(new MassIntegrator());
         a.Assemble();

         // Set solver and preconditioner
         SparseMatrix A(a.SpMat());
         GSSmoother  prec(A);
         CGSolver cg;
         cg.SetOperator(A);
         cg.SetPreconditioner(prec);
         cg.SetRelTol(1e-12);
         cg.SetMaxIter(1000);
         cg.SetPrintLevel(0);

         // Solve and get solution
         *this = 0.0;
         cg.Mult(b,*this);
      }
   }
   else
   {
      real_t integral;

      ProjectDeltaCoefficient(*delta_c, integral);

      (*this) *= (delta_c->Scale() / integral);
   }
}

@IdoAkkerman
I now see, that it is not so easy to define an interpolation like in finite elements. However I found some lecture notes talking about interpolation IGA spaces Lecture Notes. In chapter 2 they introduce interpolants and quasi-interpolants. We could work on that.
P.S.: Sry for the double post, I overlooked your previous issue. So we can close this one, if no one has anything to add

@michi002 I pushed a solution to nurbs_nodal_interp.
It still needs some work, but it works(as far as I have checked)


[WIP] Cherry-pick(s):

Codecov Report

Merging #79 into airbnb-master will decrease coverage by 0.14%.
The diff coverage is 8.45%.

@@                Coverage Diff                @@
##           airbnb-master      #79      +/-   ##
=================================================
- Coverage          63.38%   63.23%   -0.15%
=================================================
  Files                350      351       +1
  Lines              21978    22037      +59
  Branches            2450     2463      +13
=================================================
+ Hits               13930    13935       +5
- Misses              8036     8090      +54
  Partials              12       12

Impacted Files
Coverage Δ

...perset/assets/src/visualizations/SparklineCell.jsx
0% <0%> (ø)

superset/assets/src/visualizations/time_table.jsx
0% <0%> (ø)
:arrow_up:

superset/assets/src/modules/visUtils.js
58.33% <100%> (ø)
:arrow_up:

...re/components/controls/TimeSeriesColumnControl.jsx
88.46% <71.42%> (-2.65%)
:arrow_down:

Continue to review full report at Codecov.

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


added OAuth token renewal

An authorized access token expires after 180 days.  When this occurs, responses to calls to QuickBooks Data Services and the QuickBooks Online API indicate that the access token is invalid.

Coverage decreased (-0.1%) to 96.559% when pulling 05d98c464bc7c2ef1b595b77beb660c959678528 on mbierma:master into c2648d1252523876a46d6c3bb69a59bbbaf4e345 on sidecars:master.


pkg/ciliumidentity: Operator Managing CID Controller

Add the controller for handling the Operator managing CIDs. The Cilium Identity (CID) controller running in cilium-operator and is responsible only for managing CID API objects.

Pod events are added to Pod work queue
Namespace events are processed immediately and added to Pod work queue
CID events are added to CID work queue
Processing Pod work queue items are adding items to CID work queue
Processed CID work queue items result in mutations to CID API objects

Related CFP #27752
Reconciler PR: #33383
Adds the operator logic for managing CIDs.

/test

/ci-aks

/ci-ginkgo

/test

/test

/ci-ginkgo

/test

/ci-e2e

/test

/ci-ginkgo

Thanks for the follow up. Left some comments inline, but nothing major. 👍
One thing to consider is the current design of the reconciler, separate from the controller. Despite doing this makes the reconciler easier to unit test, I don't like the manual management of its lifecycle. We are currently forced to manage its context despite its lifecycle is strictly tied with the one of the controller, managed by the hive. Additionally, having this separation between the controller and the reconciler forces us to add the queueOperations interface. This probably suggests that separating them may not be the best choice. Anyway, let's leave this for now, we can still reevaluate later.
Another question: I appreciate that the code is nicely unit tested, but being a pretty complex change is there any plan to add some e2e testing (maybe in cilium-cli) in a follow up PR?

Hey @pippolo84,
Thanks for the review. Yes, we plan to add some E2E tests and other relevant tests to make sure it works as expected. Currently, this feature will be disabled by default until we have enough tests and confidence.

/test

/test

/ci-ginkgo

/ci-ipsec-e2e

/ci-e2e-upgrade

LGTM, thanks! 💯
You should also add the relevant release-note label and text. See point 11 and 12 of https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#submit-pr

I was planning to add release notes when adding the feature flag to enable. Added though PR rel notes.  Thanks 🚀

/ci-ginkgo

/ci-ipsec-e2e

/ci-e2e-upgrade

/test

rebased on main


Action that files or comments on existing issue

Summary

Resolves #459
Resolves https://github.com/paketo-buildpacks/jammy-tiny-stack/issues/5
Use Cases

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[x] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@fg-j looks good! Is there a plan to add the workflows to leverage this feature or will that need to happen in a different PR?


Remove lock mechanism with something better

Think about a different mechanism than locking file in order to define the broker id for Kafka server on startup

No need to do that anymore, the Stateful Sets solution in available now.


Copy paste terminal commands

When I copy and paste a command from the atom terminal to a GNOME terminal, spaces are turned into non-breaking space, which are not recognised as separators.

I'm experiencing this on macOS as well... very strange.

The only short-term solution I can suggest is replacing all of the non-breaking spaces with regular spaces by pressing "Ctrl-f" then copying and pasting the non-breaking space into the find bar, finding all, and replacing with a regular space.
This has worked for me.

I just came to check about this problem that I came across quite some time ago .
I've had some headaches debugging scripts with this freaking non-breaking space.
I've installed highlight-bad-chars package to prevent forgetting about it.

https://github.com/platformio/platformio-atom-ide-terminal/issues/512
maybe can help you

Selection has been fixed, also please retest with platformio-ide-terminal 2.9.0


add ruff formatting and pre-commit hooks into CI

ruff replaces black, isort and all kinds of PEP checks that were performed via flake8
move pyright options from separate file into pyproject.toml
update pre-commit hooks to new version and standard settings
include pre-commit hooks including ruff checks into CI GitHub actions

Lots of files changed:

create lots of changes in all files because ruff formatting is applied, and ruff lint applied automatic fixes
turns off ruff lint for now, because there are too many errors to be fixed, see #959

Code coverage: decrease because lots of files changed and then checked by cov.
fixes #934

closed in favor of #978


Calendar Page modified well

In Calendar Page, I put progress bar so that we can know the rate of completeness of our task.

Great job!! Finally, our calendar page is completed and students can make their own planner and calendar to improve their score!!


fix the cmake 2.8.x detection of OpenSSL version broken in openssl 1.0.1m.

this is a follow up to security update for openssl: 1.0.1l -> 1.0.1m,
references:

http://public.kitware.com/Bug/bug_relationship_graph.php?bug_id=15386
http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5d9a8283cfac15b4a5a07f18d5eb10c1f388505#patch1

this is follow to to #6921


Corresponding author can be filled with "nan" when no response recorded for Q6 in Qualtrics survey

When creating the readme for the following deposit, in which "N/A" appears as the value for each field of Q6 in the Deposit Agreement Qualtrics survey, the ReDATA Readme Tool generated a file with "nan" as the value for Corresponding Author.

I think this issue belongs in LD-Cool-P and not ReM. I think the best way to solve this is to require the Corresponding Author information on the Qualtrics form.


Generate and add equipment availability data

This PR generates availability data on equipment using HHFA 2018-19 and maps it to TLO model equipment codes.

Hi @tbhallett. I'll add the equipment availability resource file to this PR. There are a couple of steps of cleaning the data left. It should be ready by Friday. But the format will be as follows:

Equipment_code
Facility_Level
District
Proportion of facilities which reported   equipment as available
Proportion of facilities which reported   equipment as available & functional
Proportion of facilities which reported   equipment as available, functional, and calibrated/prepared

1
1a
Lilongwe
0.9
0.85
0.8

1
1b
Lilongwe
0.8
0.8
0.8

2
1a
Blantyre
0.9
0.9
0.8

2
1b
Blantyre
0.7
0.6
0.5

...
...
...
...
...
...

Hi @tbhallett. I'll add the equipment availability resource file to this PR. There are a couple of steps of cleaning the data left. It should be ready by Friday. But the format will be as follows:

Equipment_code	Facility_Level	District	Proportion of facilities which reported equipment as available	Proportion of facilities which reported equipment as available & functional	Proportion of facilities which reported equipment as available, functional, and calibrated/prepared
1	1a	Lilongwe	0.9	0.85	0.8
1	1b	Lilongwe	0.8	0.8	0.8
2	1a	Blantyre	0.9	0.9	0.8
2	1b	Blantyre	0.7	0.6	0.5
...	...	...	...	...	...

Hi @sakshimohan  and @nchagoma503  -- this is going to be brilliant. Thank you so much.
Just one comment.... for the column District, it would be really handy if this could match as well as possible with the District names defined in resources/demography/ResourceFile_PopulationSize_2018Census.csv. These are:
{'Chitipa', 'Karonga', 'Nkhata Bay', 'Rumphi', 'Mzimba', 'Likoma',
'Mzuzu City', 'Kasungu', 'Nkhotakota', 'Ntchisi', 'Dowa', 'Salima',
'Lilongwe', 'Mchinji', 'Dedza', 'Ntcheu', 'Lilongwe City',
'Mangochi', 'Machinga', 'Zomba', 'Chiradzulu', 'Blantyre',
'Mwanza', 'Thyolo', 'Mulanje', 'Phalombe', 'Chikwawa', 'Nsanje',
'Balaka', 'Neno', 'Zomba City', 'Blantyre City'}

Also, please could I suggest that the destination for the ResourceFiles that will be created to be resources/healthsystem/infrastructure_and_equipment

Thanks so much for this @sakshimohan
I've just done a quick change to update (ever so slightly) the name of the resulting file.
I've tried running the script, equipment_availability_estimation.py but get an error on line 99: TypeError: '>=' not supported between instances of 'float' and 'str'.
I think this comes from the aggregation using max on the groupby object. It could be the columns that are strings need to be coerced into floats.
I assume it runs cleanly from top-to-bottom on your machine?

Hi @tbhallett. Thanks for looking at this. The script did run cleanly for me but you're right that there were two string value columns (calibrated and prepared) which were not really passing through the aggregate max command. I have removed these from the script altogether because there is very limited data on these for these to be of value (I was already not extracting them into the resource file). Hopefully the script should run on your system as well now?

Hi @tbhallett. Thanks for looking at this. The script did run cleanly for me but you're right that there were two string value columns (calibrated and prepared) which were not really passing through the aggregate max command. I have removed these from the script altogether because there is very limited data on these for these to be of value (I was already not extracting them into the resource file). Hopefully the script should run on your system as well now?
I should note that I'm still using python 3.10 not 3.11. Will update this soon!

Thanks @sakshimohan. Now runs perfectly on my machine too.

Thanks again for this @sakshimohan.
I've added some stuff onto the end of your script that

formats exported dataset into what is required for reading into the Equipment class
does the extrapolation to all item_codes and facilities (Rather than having this hidden in the Equipment class).

I'll add some comments onto the edits about both these points.

@tbhallett This should be ready to merge now.


getValidatedData returns unknown keys

Hi
I have this rule set:
        'id'                      => 'required|integer|unique:accounts,id|min:1',
        'company'                 => 'required|max:255',

        'domains'                 => 'required|array',
        'domains.*.domain'        => 'required|regex:/\A[\w:.-]+\z/|unique:domains,domain',
        'domains.*.sslify'        => 'bool|default:1',
        'domains.*.redirect'      => 'bool|default:0',
        'domains.*.redirect_code' => 'in:301,302|default:301',
        'domains.*.origin'        => 'required|url',

And this query:
{
  "id": 1,
  "company": "asd",
  "domains": [
    {
      "domain": "www.example.com",
      "ssl": "true",
      "origin": "https://www.google.com"
    }
  ]
}

Mind the "ssl" key. It was not described in rules.
Still, I get it from getValidatedData() call:
Array
(
    [id] => 1
    [company] => asd
    [domains] => Array
        (
            [0] => Array
                (
                    [domain] => www.example.com
                    [ssl] => true
                    [origin] => https://www.google.com
                    [sslify] => 1
                    [redirect] => 0
                    [redirect_code] => 301
                )

        )

)

Version is 1.1.1, PHP 7.3.3.
P. S. Same happens with getValidData().

The reason for this is 'domains' => 'required|array'.
The reason why your ssl key is present, is because the domains array which holds it has been validated, all of its nested arrays have technically passed this rule.
This is a difficult one, because in this situation you would not expect to see ssl in the validated data, but consider if you were only running the 'domains' => 'required|array' rule; what would you expect back then?
I imagine it would be the populated domains array, and not an empty version - 'domains' => [].
This probably needs more discussion, but I consider it a quirk, and not a bug.


refactor:  add ui-kit Heading component to HashHeading

In order to use our most recent ui-kit version (0.8.5) updates need to be made to instances of StyledCopyToClipboard in BE.
In 0.8.5 the component requires props isCopied and setIsCopied.
Once these updates have been made, we can update the HashHeading prop to use our ui-kit's Heading component.

This issue has been resolved by https://github.com/casper-network/casper-blockexplorer-frontend/issues/441


Fix typos

Thanks once again @BrotherSharper! I'm preparing a v10 compatibility update in the coming days. If there are any more updates to FQL translation files it is a great time to get them in soon.


Type alias for generics

TL;DR, I want this:

type<T> SomeType = T: Copy + Clone + Debug + OtherTrait

// you can do this
impl<T> SomeTrait for SomeStruct<T>
where T: SomeType {
    ...
}

// also
impl<T: SomeType> SomeTrait for SomeStruct<T> {
    ...
}

I believe this will greatly enhance the readability of ultra-long generic constraints. This is just a little inspiration that I had while reading the source code of some crate. Any other solutions are welcome to comment here :)

Trait/bound aliases are more general than this and already account for your use case:
#![feature(trait_alias)]

trait SomeBound = Copy + Clone + Debug + OtherTrait;
// trait SomeBound = where Self: Copy + Clone + Debug + OtherTrait;

// you can do this
impl<T> SomeTrait for SomeStruct<T>
where
    T: SomeBound,
{
    // ...
}

// also
impl<T: SomeBound> SomeTrait for SomeStruct<T> {
    // ...
}

Closing in favor of RFC 1733 (tracking issue).


Support for Focus Mode in Microsoft Edge

Description
In newer releases, Microsoft introduced the Focus Mode in Edge.
When this Mode is enabled, it is impossible to enable and access the UI5 tab used by the UI5 inspector extension.
OpenUI5/SAPUI5 version:
any
Browser/version:
Microsoft Edge Version 103.0.1264.49 (Official build) (64-bit)
URL (minimal example if possible):
App independent
User/password (if required and possible - do not post any confidential information here):
N/A
Steps to reproduce the problem:

enable Focus Mode, as detailed here
try to access the UI5 tab

What is the expected result?
UI5 Tab is available automatically or can be added via the + Button to the Edge DevTools, if the Focus Mode is active
What happens instead?
UI5 Tab is not available and can't be added to the Edge DevTools, if the Focus Mode is active
Any other information? (attach screenshots if possible)
Without Focus Mode:

With Focus Mode:

Thanks for the notification, it is working for me now as well.
I assume it is related to https://github.com/MicrosoftEdge/DevTools/issues/31.


DBZ-2603 Document missing Oracle connector options

https://issues.redhat.com/browse/DBZ-2603

Thx!


:seedling: Unit tests for branch protection raw

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] PR title follows the guidelines defined in  https://github.com/ossf/scorecard/blob/main/CONTRIBUTING.md#pr-process

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

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?
Unit tests for branch protection raw.
https://github.com/ossf/scorecard/issues/986.

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

Other information:

Codecov Report

Merging #1513 (46d044f) into main (062e33b) will increase coverage by 0.54%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1513      +/-   ##
==========================================
+ Coverage   50.43%   50.98%   +0.54%
==========================================
  Files          68       68
  Lines        6069     6069
==========================================
+ Hits         3061     3094      +33
+ Misses       2807     2771      -36
- Partials      201      204       +3


'pugixml.cpp' file not found with PUGIXML_HEADER_ONLY on Ubuntu

I'm including pugixml in a Ubuntu build - so the package is from the repositories - and doing the following:
#include <pugixml.hpp>

// qmake.pro
DEFINES += PUGIXML_HEADER_ONLY

The build errors out with the following however:
In file included from ../src/XMLexport.h:33:
/usr/include/pugixml.hpp:1408:11: fatal error: 'pugixml.cpp' file not found
#       include PUGIXML_SOURCE
                ^
/usr/include/pugixml.hpp:1407:25: note: expanded from macro 'PUGIXML_SOURCE'
#       define PUGIXML_SOURCE "pugixml.cpp"
                              ^~~~~~~~~~~~~

What's going wrong?

I suspect Ubuntu package doesn't include pugixml.cpp - it's commonplace in package distributions to separate header files from source files and only include header files and precompiled libraries into the package. I suspect this is what's happening, I'll need to look into how the package is built for Ubuntu to confirm.

I looked into this and it does seem like Ubuntu package (understandably) doesn't package pugixml.cpp at all. In general using custom defines might not work well with pre-packaged versions; I'd suggest either using default defines, or using a local copy of pugixml instead of a package.

Since I don't maintain pugixml packages and the packaging for Ubuntu seems appropriate (even though it doesn't support header-only builds, if you need them you should bundle pugixml with your app), I'm closing this.