cannot start the mirror

pi@raspberrypi:~/MagicMirror $ npm start

<EMAIL_ADDRESS>start /home/pi/MagicMirror
DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[2020-08-28 14:24:26.604] [LOG]    Starting MagicMirror: v2.12.0
[2020-08-28 14:24:26.619] [LOG]    Loading config ...
[2020-08-28 14:24:26.632] [LOG]    Loading module helpers ...
[2020-08-28 14:24:26.635] [LOG]    No helper found for module: alert.
[2020-08-28 14:24:26.736] [LOG]    Initializing new module helper ...
[2020-08-28 14:24:26.738] [LOG]    Module helper loaded: updatenotification
[2020-08-28 14:24:26.740] [LOG]    No helper found for module: clock.
[2020-08-28 14:24:27.532] [LOG]    Initializing new module helper ...
[2020-08-28 14:24:27.532] [LOG]    Module helper loaded: calendar
[2020-08-28 14:24:27.534] [LOG]    No helper found for module: compliments.
[2020-08-28 14:24:27.535] [LOG]    No helper found for module: currentweather.
[2020-08-28 14:24:27.536] [LOG]    No helper found for module: weatherforecast.
[2020-08-28 14:24:29.823] [LOG]    Initializing new module helper ...
[2020-08-28 14:24:29.825] [LOG]    Module helper loaded: MMM-GoogleAssistant
[2020-08-28 14:24:29.828] [LOG]    No helper found for module: MMM-SwissCommute.
[2020-08-28 14:24:29.834] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Module is not a constructor
[2020-08-28 14:24:29.836] [LOG]    Loading module helpers ...
[2020-08-28 14:24:29.838] [LOG]    No helper found for module: alert.
[2020-08-28 14:24:29.845] [LOG]    Initializing new module helper ...
[2020-08-28 14:24:29.846] [LOG]    Module helper loaded: updatenotification
[2020-08-28 14:24:29.848] [LOG]    No helper found for module: clock.
[2020-08-28 14:24:29.849] [LOG]    Initializing new module helper ...
[2020-08-28 14:24:29.850] [LOG]    Module helper loaded: calendar
[2020-08-28 14:24:29.851] [LOG]    No helper found for module: compliments.
[2020-08-28 14:24:29.852] [LOG]    No helper found for module: currentweather.
[2020-08-28 14:24:29.853] [LOG]    No helper found for module: weatherforecast.
[2020-08-28 14:24:29.854] [LOG]    Initializing new module helper ...
[2020-08-28 14:24:29.855] [LOG]    Module helper loaded: MMM-GoogleAssistant
[2020-08-28 14:24:29.856] [LOG]    No helper found for module: MMM-SwissCommute.
[2020-08-28 14:24:29.857] [ERROR]  App threw an error during load
[2020-08-28 14:24:29.858] [ERROR]  TypeError: Module is not a constructor
at loadModule (/home/pi/MagicMirror/js/app.js:125:12)
at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
at /home/pi/MagicMirror/js/app.js:160:6
at loadModule (/home/pi/MagicMirror/js/app.js:143:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
at /home/pi/MagicMirror/js/app.js:160:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:141:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
at /home/pi/MagicMirror/js/app.js:160:6
[2020-08-28 14:24:29.862] [ERROR]  Whoops! There was an uncaught exception...
[2020-08-28 14:24:29.863] [ERROR]  TypeError: Module is not a constructor
at loadModule (/home/pi/MagicMirror/js/app.js:125:12)
at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
at /home/pi/MagicMirror/js/app.js:160:6
at loadModule (/home/pi/MagicMirror/js/app.js:143:4)
at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
at /home/pi/MagicMirror/js/app.js:160:6
at Class.loaded (/home/pi/MagicMirror/js/node_helper.js:18:3)
at loadModule (/home/pi/MagicMirror/js/app.js:141:6)
at loadNextModule (/home/pi/MagicMirror/js/app.js:158:5)
at /home/pi/MagicMirror/js/app.js:160:6
[2020-08-28 14:24:29.871] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[2020-08-28 14:24:29.872] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[2020-08-28 14:24:30.028] [LOG]    Launching application.``

@wirdman03   what other modules are listed in config.js?  after MMM-SwissCommute
seems there  is a problem with the module structure

it is MMM-Assistant2Display

is that the only one after MMM-SwissCommute?

no got all of it

ok, can u show the node_helper.js from the MMM-Assistant2Display folder?

can you learn to read a log ?
[2020-08-28 14:24:29.856] [LOG] No helper found for module: MMM-SwissCommute.
[2020-08-28 14:24:29.857] [ERROR] App threw an error during load
so it's MMM-SwissCommute.
in all case, it's not an issur of MagicMirror core

its after that
[2020-08-28 14:24:29.856] [LOG] No helper found for module: MMM-SwissCommute.
(this is normal)
the NEXT module it tries to load, hasn't reported name yet.. but fails
still not MM problem..

@wirdman03  did u resolve this problem?


January 2024 Endgame Recovery 1

[x] Create a milestone <Month> <Year> Recovery <1|2|3> @aiday-mar
[x] Bump the version number @aiday-mar
[x] 🔖candidate issues
[x] Assign candidate issues to the recovery milestone team
[x] Review the candidate issues, and if they pass the review assign them to the recovery milestone team
[x] All candidate fixes are peer reviewed and pushed to main and then cherry-picked into the release branch team
[x] Initiate insiders build from main
[x] Issues are tested in the insiders team
[x] Build stable for all platforms from release branch @aiday-mar
[x] Issues are verified on stable build and the verified label is added @aiday-mar
[x] Check https://github.com/Microsoft/vscode/compare/release/<x.y> to ensure no other commits have been made in the release branch @aiday-mar
[x] The insiders build with all candidate fixes needs to be in the wild for 24 hours before recovery release, unless explicitly approved by @kieferrm
[ ] Update the release notes and include a link to a query for the fixed issues @ntrogh
[x] Sanity Testing

[x] Windows 64 bit @benibenj

[x] System Installer
[x] User Installer
[x] Archive
[x] Server
[x] CLI

[x] Windows ARM64 @lszomoru

[x] System Installer
[x] User Installer
[x] Archive
[x] CLI

[x] macOS Intel @isidorn

[x] Archive
[x] Universal Archive
[x] Server
[x] CLI

[x] macOS ARM64 @sandy081

[x] Archive
[x] Universal Archive
[x] Server
[x] CLI

[x] Linux x64 @aeschli

[x] Archive
[x] DEB
[x] RPM
[x] Snap

[x] Linux Server @chrmarti (can be tested from any OS with Docker)

[x] x64
[x] ARM32
[x] ARM64
[x] x64 Alpine
[x] ARM64 Alpine

[x] Linux CLI @ulugbekna (can be tested from any OS with Docker)

[x] x64
[x] ARM32
[x] ARM64
[x] x64 Alpine
[x] ARM64 Alpine

[ ] Publish website @ntrogh
[ ] Publish stable build @aiday-mar
[ ] Create an official release @aiday-mar

[ ] Create a tag (make sure you pull the release branch first): git tag <x.y.z> release/<x.y>
[ ] Push the tag: git push origin <x.y.z>
[ ] Create a GitHub release: Open the GitHub tags, and click far right ... > Create Release. Use the correct title and description from our release notes. Example

[ ] Close the milestone on GitHub @aiday-mar

Is this recovery release planned to land today? Asking as it resolves: https://github.com/microsoft/vscode/issues/203375 (last comment there mentioned recovery release date of 8th Feb - if this is delayed, then we'll roll back to a previous VSCode release in the interim)

Hi @corford yes this recovery release will be made very soon


[WIP] make ec2 volume size configurable

Testing here: https://github.com/bitovi/gpt-knowledgebase/actions
it doesn't seem to transition well with a pre-existing instance. tearing down my instance now and seeing if it works from a fresh start


Move to new build.sbt format and conventions; update Scala and other versions

I've migrated the Build.scala configuration to the new build.sbt format, and have adopted some of its conventions. The most obvious is that the directory names for subprojects now do not include the finch- prefix, since if no path is explicitly specified, SBT uses the project variable name, and while it's possible to use hyphens in a Scala variable name, it's not really standard.
The SBT project identifiers also no longer include the prefix, so from the SBT console you'd now write e.g. project core instead of project finch-core.
I've also made a few other small changes: I've updated the Scala, ScalaTest, and Jawn versions, and I've fixed the Travis configuration to run 2.10 tests (previously only 2.11 was being tested, even for the tests that were marked "2.10.4"). I'd be happy to break these changes out into a separate PR if you'd like.

Coverage remained the same when pulling adfc4cc48227379d9f176266d33d081610f0b6e7 on travisbrown:move-to-build-sbt into e4368aed5a3aea230932f2a0ba0a8c2e707eeef1 on finagle:master.

Coverage remained the same when pulling f86008d5a6413d1b384ab2410e93a865c6468ae0 on travisbrown:move-to-build-sbt into e4368aed5a3aea230932f2a0ba0a8c2e707eeef1 on finagle:master.

This is super cool @travisbrown! There is broken links from README file (from the list of the sub-projects) but I can fix it later.


Missing dependency in package.json

Hello I checked out the project and run the following commands
pnpm install
pnpm build

but webpack fails with missing types
ERROR in /home/sylvain/projects/ds/figma-plugin/src/app/CodePreviewView/index.tsx(13,14)
TS2580: Cannot find name 'require'. Do you need to install type definitions for node? Try npm i --save-dev @types/node.
After a pnpm add -D  @types/node command. It seemed to build.
Side question : why there are no more build.zip in releases ?

Thank you @r1m
Added @types/node and also added the build.zip to the latest release https://github.com/tokens-bruecke/figma-plugin/releases/tag/2.2.1


fixed a bug, which makes disabled options selectable (#126)

Related issue: #126

Current coverage is 98.86% (diff: 100%)

Merging #127 into master will increase coverage by <.01%

@@             master       #127   diff @@
==========================================
  Files             1          1
  Lines           351        353     +2
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            347        349     +2
  Misses            4          4
  Partials          0          0

Powered by Codecov. Last update a70230c...23f97f6


Create onResult function on Scan file

Create onResult function on Scan file and his dependencies

treated in #39


Requesting invalid stats crashes application with fatal error

OK, so I've been looking into the stats gathering API that has been implemented recently, namely PeerConnection.GetSimpleStatsAsync and GetStats<T>.
I have a single Peer Connection that only transmits audio and video, but does not receive anything. When requesting stats from PeerConnection.VideoReceiverStats and/or PeerConnection.AudioReceiverStats, the application immediately crashes, both on x86 and ARM. In Unity x64, the code runs fine, which has made debugging this kinda difficult.
Every other stats object seems to run fine for this particular PC.
I'm guessing the underlying C++ code does not check if there actually exists receiveing video/audio before trying to access the stats about it?

I tried to repro by adding some stats gathering to TestAppUWP, but everything works fine, GetStats<T> returns an empty enumerable as intended. Could you give us a native callstack (I would expect a crash in mrsStatsReportGetObjects from the description) and/or a minimal repro?
The code shouldn't fall apart in case of missing stats object, but chances are that some stats member that is usually there is missing under certain conditions, that might cause the crash.

I've got this callstack readily available
 	ucrtbase.dll!_abort()	Unknown
 	Microsoft.MixedReality.WebRTC.Native.dll!rtc::webrtc_checks_impl::FatalLog(char const *,int,char const *,enum rtc::webrtc_checks_impl::CheckArgType const *,...)	Unknown
>	Microsoft.MixedReality.WebRTC.Native.dll!mrsStatsReportGetObjects(const void * report_handle, const char * stats_type, void(__stdcall*)(void *, const void *) callback, void * user_data) Line 1191	C++
 	GameAssembly.dll!PeerConnectionInterop_StatsReport_GetObjects_mE5C55E57DD2B73403018D191371603DDB0D735C6(Handle_tCC6496ABB381032CD917362358971825A947788C * ___reportHandle0, String_t * ___stats_type1, PeerConnectionSimpleStatsObjectCallback_t7D6B1DAA63AC7542379B9AC769A278B2094838CA * ___callback2, int ___userData3, const MethodInfo * method) Line 14528	C++
 	GameAssembly.dll!PeerConnectionInterop_GetStatsObject_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_mBA6625274A5787AD433AFE3D9FA0D53B71C5950E_gshared(Handle_tCC6496ABB381032CD917362358971825A947788C * ___reportHandle0, const MethodInfo * method) Line 48099	C++
 	GameAssembly.dll!StatsReport_GetStats_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_m4296B2F3F1B15597D8B79538CE0A425BAFDBCE9E_gshared(StatsReport_tA94E0D62DDB355F37779A3EE9E98976862B7B8A1 * __this, const MethodInfo * method) Line 48246	C++
 	GameAssembly.dll!U3CGetStatsU3Ed__4_1_MoveNext_mB50ABC5AE5556CBBD369B2E7FB154A3658FEA8F8_gshared(U3CGetStatsU3Ed__4_1_t6136F8961EF6AB1E05115F21B7695D6173A575FF * __this, const MethodInfo * method) Line 25336	C++
 	GameAssembly.dll!U3CGetStatsU3Ed__4_1_MoveNext_mB50ABC5AE5556CBBD369B2E7FB154A3658FEA8F8(U3CGetStatsU3Ed__4_1_t6136F8961EF6AB1E05115F21B7695D6173A575FF * __this, const MethodInfo * method) Line 14762	C++
 	GameAssembly.dll!U3CGetStatsU3Ed__4_1_MoveNext_mB50ABC5AE5556CBBD369B2E7FB154A3658FEA8F8_AdjustorThunk(Il2CppObject * __this, const MethodInfo * method) Line 25464	C++
 	GameAssembly.dll!AsyncTaskMethodBuilder_1_Start_TisU3CGetStatsU3Ed__4_1_t6136F8961EF6AB1E05115F21B7695D6173A575FF_m409BFC340C5761C80ACC09D5B961D5BD4FEEB902_gshared(AsyncTaskMethodBuilder_1_tFF2575922ABE750971DA8DCFE8175AB64211A87E * __this, U3CGetStatsU3Ed__4_1_t6136F8961EF6AB1E05115F21B7695D6173A575FF * ___stateMachine0, const MethodInfo * method) Line 14505	C++
 	GameAssembly.dll!AsyncTaskMethodBuilder_1_Start_TisU3CGetStatsU3Ed__4_1_t6136F8961EF6AB1E05115F21B7695D6173A575FF_m409BFC340C5761C80ACC09D5B961D5BD4FEEB902(AsyncTaskMethodBuilder_1_tFF2575922ABE750971DA8DCFE8175AB64211A87E * __this, U3CGetStatsU3Ed__4_1_t6136F8961EF6AB1E05115F21B7695D6173A575FF * ___stateMachine0, const MethodInfo * method) Line 24287	C++
 	GameAssembly.dll!WebRtcStats_GetStats_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_m9955CE1B5CDD357B9732D86E7A68487E3372B6D7_gshared(String_t * ___peerId0, bool ___refresh1, const MethodInfo * method) Line 41035	C++
 	GameAssembly.dll!WebRtcStats_GetStats_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_m9955CE1B5CDD357B9732D86E7A68487E3372B6D7(String_t * ___peerId0, bool ___refresh1, const MethodInfo * method) Line 19194	C++
 	GameAssembly.dll!U3CU3CUpdateStatsU3Eb__0U3Ed_MoveNext_m4DB0F02F7099DE67F6B5CCF017C965CE79F69FED(U3CU3CUpdateStatsU3Eb__0U3Ed_t5F76732757D488B0D372C73A9467D7C667C3B76B * __this, const MethodInfo * method) Line 28895	C++
 	GameAssembly.dll!U3CU3CUpdateStatsU3Eb__0U3Ed_MoveNext_m4DB0F02F7099DE67F6B5CCF017C965CE79F69FED_AdjustorThunk(Il2CppObject * __this, const MethodInfo * method) Line 29187	C++
 	GameAssembly.dll!InterfaceActionInvoker0::Invoke(unsigned int slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 84	C++
 	GameAssembly.dll!MoveNextRunner_InvokeMoveNext_mDDBDFE3402137780DC55FEB4966D21E252679CED(Il2CppObject * ___stateMachine0, const MethodInfo * method) Line 22152	C++
 	GameAssembly.dll!ContextCallback_Invoke_m76E65E7A67AA99858554F451E0F78E22B6478998(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * __this, Il2CppObject * ___state0, const MethodInfo * method) Line 31840	C++
 	GameAssembly.dll!ExecutionContext_RunInternal_m5BF955CE8B04D9A7C959B9011579CC0FABD5FC56(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, Il2CppObject * ___state2, bool ___preserveSyncCtx3, const MethodInfo * method) Line 33193	C++
 	GameAssembly.dll!ExecutionContext_Run_mFF76DDA6501D993EB4A4B79EFDAF1F6476920945(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, Il2CppObject * ___state2, bool ___preserveSyncCtx3, const MethodInfo * method) Line 33058	C++
 	GameAssembly.dll!MoveNextRunner_Run_m58F5A88A10853D5B1999E8B3A1CA15A55385C59F(MoveNextRunner_t6A0B9DE31628DAC797ABC84945D4C62B07C3E65A * __this, const MethodInfo * method) Line 22105	C++
 	GameAssembly.dll!Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * __this, const MethodInfo * method) Line 13540	C++
 	GameAssembly.dll!AwaitTaskContinuation_RunOrScheduleAction_mE8B713E233CB78D3973E7E3501DEE4935E553101(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, bool ___allowInlining1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * * ___currentTask2, const MethodInfo * method) Line 17967	C++
 	GameAssembly.dll!Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const MethodInfo * method) Line 24017	C++
 	GameAssembly.dll!Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const MethodInfo * method) Line 21884	C++
 	GameAssembly.dll!Task_1_TrySetResult_mEAA1FD80349814310136B9661F15E7D69F454B1F_gshared(Task_1_t59EA3B95899EC53F1D82F42C2495639F09B4A431 * __this, VideoSenderStats_t5BDD0426B42AC979830A7322653F2D1AE99FEF04 ___result0, const MethodInfo * method) Line 23215	C++
 	GameAssembly.dll!AsyncTaskMethodBuilder_1_SetResult_m95B64BB8A0418645D87BAE0E22D0A81D156D2E8F_gshared(AsyncTaskMethodBuilder_1_t9359194CC628B8439341E9E1BBBC66FC25F741FA * __this, VideoSenderStats_t5BDD0426B42AC979830A7322653F2D1AE99FEF04 ___result0, const MethodInfo * method) Line 15924	C++
 	GameAssembly.dll!AsyncTaskMethodBuilder_1_SetResult_m95B64BB8A0418645D87BAE0E22D0A81D156D2E8F(AsyncTaskMethodBuilder_1_t9359194CC628B8439341E9E1BBBC66FC25F741FA * __this, VideoSenderStats_t5BDD0426B42AC979830A7322653F2D1AE99FEF04 ___result0, const MethodInfo * method) Line 14787	C++
 	GameAssembly.dll!U3CGetStatsU3Ed__4_1_MoveNext_m8ADF9C4C96D3A8233C5E39E85D80EAAB86C9C167_gshared(U3CGetStatsU3Ed__4_1_tE5105E880706B675C8F1C370383E719C2C75D2C1 * __this, const MethodInfo * method) Line 25797	C++
 	GameAssembly.dll!U3CGetStatsU3Ed__4_1_MoveNext_m8ADF9C4C96D3A8233C5E39E85D80EAAB86C9C167(U3CGetStatsU3Ed__4_1_tE5105E880706B675C8F1C370383E719C2C75D2C1 * __this, const MethodInfo * method) Line 14792	C++
 	GameAssembly.dll!U3CGetStatsU3Ed__4_1_MoveNext_m8ADF9C4C96D3A8233C5E39E85D80EAAB86C9C167_AdjustorThunk(Il2CppObject * __this, const MethodInfo * method) Line 25809	C++
 	GameAssembly.dll!InterfaceActionInvoker0::Invoke(unsigned int slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 84	C++
 	GameAssembly.dll!MoveNextRunner_InvokeMoveNext_mDDBDFE3402137780DC55FEB4966D21E252679CED(Il2CppObject * ___stateMachine0, const MethodInfo * method) Line 22152	C++
 	GameAssembly.dll!ContextCallback_Invoke_m76E65E7A67AA99858554F451E0F78E22B6478998(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * __this, Il2CppObject * ___state0, const MethodInfo * method) Line 31840	C++
 	GameAssembly.dll!ExecutionContext_RunInternal_m5BF955CE8B04D9A7C959B9011579CC0FABD5FC56(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, Il2CppObject * ___state2, bool ___preserveSyncCtx3, const MethodInfo * method) Line 33193	C++
 	GameAssembly.dll!ExecutionContext_Run_mFF76DDA6501D993EB4A4B79EFDAF1F6476920945(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, Il2CppObject * ___state2, bool ___preserveSyncCtx3, const MethodInfo * method) Line 33058	C++
 	GameAssembly.dll!MoveNextRunner_Run_m58F5A88A10853D5B1999E8B3A1CA15A55385C59F(MoveNextRunner_t6A0B9DE31628DAC797ABC84945D4C62B07C3E65A * __this, const MethodInfo * method) Line 22105	C++
 	GameAssembly.dll!Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * __this, const MethodInfo * method) Line 13540	C++
 	GameAssembly.dll!AwaitTaskContinuation_RunOrScheduleAction_mE8B713E233CB78D3973E7E3501DEE4935E553101(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, bool ___allowInlining1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * * ___currentTask2, const MethodInfo * method) Line 17967	C++
 	GameAssembly.dll!Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const MethodInfo * method) Line 24017	C++
 	GameAssembly.dll!Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const MethodInfo * method) Line 21884	C++
 	GameAssembly.dll!Task_1_TrySetResult_m4FE4E07EBB0BA224341A4946FE2C4A813BD8AF64_gshared(Task_1_tA56001ED5270173CA1432EDFCD84EABB1024BC09 * __this, Il2CppObject * ___result0, const MethodInfo * method) Line 9919	C++
 	GameAssembly.dll!TaskCompletionSource_1_TrySetResult_mAABD020F0563817EAD7A52AA55DB2026CC7D0B60_gshared(TaskCompletionSource_1_t6C02642279BC7BF03091A8CB685FC6B4E68BED12 * __this, Il2CppObject * ___result0, const MethodInfo * method) Line 31777	C++
 	GameAssembly.dll!TaskCompletionSource_1_SetResult_m3F4A2C446CCA6A5614C21B465724B592C0AB3428_gshared(TaskCompletionSource_1_t6C02642279BC7BF03091A8CB685FC6B4E68BED12 * __this, Il2CppObject * ___result0, const MethodInfo * method) Line 31820	C++
 	GameAssembly.dll!TaskCompletionSource_1_SetResult_mDD444D685AF6F2DAFECC3E8B35005E75E1B1C171(TaskCompletionSource_1_t11304067E49F58655A27DAA72741527103B1AE2F * __this, StatsReport_tA94E0D62DDB355F37779A3EE9E98976862B7B8A1 * ___result0, const MethodInfo * method) Line 8475	C++
 	GameAssembly.dll!PeerConnectionInterop_SimpleStatsReportCallback_m05BA15EFF9A91572F87FFAADED6CB86CE5CB9C30(int ___userData0, int ___report1, const MethodInfo * method) Line 12824	C++
 	GameAssembly.dll!ReversePInvokeWrapper_PeerConnectionInterop_SimpleStatsReportCallback_m05BA15EFF9A91572F87FFAADED6CB86CE5CB9C30(int ___userData0, int ___report1) Line 12358	C++
 	Microsoft.MixedReality.WebRTC.Native.dll!`mrsPeerConnectionGetSimpleStats'::`5'::Collector::OnStatsDelivered(const rtc::scoped_refptr<webrtc::RTCStatsReport const> & report) Line 1145	C++
 	[External Code]

Which commit are you on?

Latest on master branch

Weird, my code around line 1191 (mentioned in callstack) looks like this:

I can't imagine why it would crash on that line - why it would even enter that block if you are requesting a different kind of stats. Can you verify that the file you have locally is the same? Do you get any error message in the debug log?

Yes, it hit there in my code as well, which I also thought was weird.
So I commented out everything within that if statement, but then it crashed on the final line, 1339, instead.
Give me a couple minutes to do some extended testing to double-check my findings.

I'm calling the stats API every 3 seconds (but it crashes on first anyways) like this:
PeerConnection.StatsReport statsReport = await pc.PeerConnection.GetSimpleStatsAsync();

foreach (PeerConnection.VideoReceiverStats vrs in statsReport.GetStats<PeerConnection.VideoReceiverStats>())
{
     //empty
}

I rebuilt the DLLs in debug mode and tested on x86. Immediately crashed when executing the code above with no error code or exceptions hitting.
Rebuilt DLLs in release mode and tested again on x86. Crashed with call stack
 	Microsoft.MixedReality.WebRTC.Native.dll!rtc::webrtc_checks_impl::FatalLog(char const *,int,char const *,enum rtc::webrtc_checks_impl::CheckArgType const *,...)	Unknown
>	Microsoft.MixedReality.WebRTC.Native.dll!mrsStatsReportGetObjects(const void * report_handle, const char * stats_type, void(__stdcall*)(void *, const void *) callback, void * user_data) Line 1191	C++
 	GameAssembly.dll!PeerConnectionInterop_StatsReport_GetObjects_mE5C55E57DD2B73403018D191371603DDB0D735C6(Handle_tCC6496ABB381032CD917362358971825A947788C * ___reportHandle0, String_t * ___stats_type1, PeerConnectionSimpleStatsObjectCallback_t7D6B1DAA63AC7542379B9AC769A278B2094838CA * ___callback2, int ___userData3, const MethodInfo * method) Line 16401	C++
 	GameAssembly.dll!PeerConnectionInterop_GetStatsObject_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_mBA6625274A5787AD433AFE3D9FA0D53B71C5950E_gshared(Handle_tCC6496ABB381032CD917362358971825A947788C * ___reportHandle0, const MethodInfo * method) Line 26739	C++
 	GameAssembly.dll!StatsReport_GetStats_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_m5DA5672E4EC497A2C1CB5648ADBE1F372F1BCCF9_gshared(StatsReport_tA94E0D62DDB355F37779A3EE9E98976862B7B8A1 * __this, const MethodInfo * method) Line 26836	C++
 	GameAssembly.dll!StatsReport_GetStats_TisVideoReceiverStats_t68DE7306C07CDE4C1EE4F2B5FDFCDF91404711EE_m5DA5672E4EC497A2C1CB5648ADBE1F372F1BCCF9(StatsReport_tA94E0D62DDB355F37779A3EE9E98976862B7B8A1 * __this, const MethodInfo * method) Line 10340	C++
 	GameAssembly.dll!U3CGetStatsAsyncU3Ed__3_MoveNext_mDA86E0FA9CEB7BE672D0667D5BABE00A300176AB(U3CGetStatsAsyncU3Ed__3_t67A7E3F1387BC1ACC992002980601B11164B4365 * __this, const MethodInfo * method) Line 18008	C++
 	GameAssembly.dll!InterfaceActionInvoker0::Invoke(unsigned int slot, Il2CppClass * declaringInterface, Il2CppObject * obj) Line 161	C++
 	GameAssembly.dll!MoveNextRunner_InvokeMoveNext_mDDBDFE3402137780DC55FEB4966D21E252679CED(Il2CppObject * ___stateMachine0, const MethodInfo * method) Line 22627	C++
 	GameAssembly.dll!ContextCallback_Invoke_m76E65E7A67AA99858554F451E0F78E22B6478998(ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * __this, Il2CppObject * ___state0, const MethodInfo * method) Line 27750	C++
 	GameAssembly.dll!ExecutionContext_RunInternal_m5BF955CE8B04D9A7C959B9011579CC0FABD5FC56(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, Il2CppObject * ___state2, bool ___preserveSyncCtx3, const MethodInfo * method) Line 29303	C++
 	GameAssembly.dll!ExecutionContext_Run_mFF76DDA6501D993EB4A4B79EFDAF1F6476920945(ExecutionContext_t0E11C30308A4CC964D8A2EA9132F9BDCE5362C70 * ___executionContext0, ContextCallback_t8AE8A965AC6C7ECD396F527F15CDC8E683BE1676 * ___callback1, Il2CppObject * ___state2, bool ___preserveSyncCtx3, const MethodInfo * method) Line 29164	C++
 	GameAssembly.dll!MoveNextRunner_Run_m58F5A88A10853D5B1999E8B3A1CA15A55385C59F(MoveNextRunner_t6A0B9DE31628DAC797ABC84945D4C62B07C3E65A * __this, const MethodInfo * method) Line 22576	C++
 	GameAssembly.dll!Action_Invoke_mC8D676E5DDF967EC5D23DD0E96FB52AA499817FD(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * __this, const MethodInfo * method) Line 20638	C++
 	GameAssembly.dll!AwaitTaskContinuation_RunOrScheduleAction_mE8B713E233CB78D3973E7E3501DEE4935E553101(Action_t591D2A86165F896B4B800BB5C25CE18672A55579 * ___action0, bool ___allowInlining1, Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * * ___currentTask2, const MethodInfo * method) Line 15028	C++
 	GameAssembly.dll!Task_FinishContinuations_m6BBB58CFA80FB99D16972B13ECC41B734475EFCD(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const MethodInfo * method) Line 21946	C++
 	GameAssembly.dll!Task_FinishStageThree_m543744E8C5DFC94B2F2898998663C85617999E32(Task_t1F48C203E163126EBC69ACCA679D1A462DEE9EB2 * __this, const MethodInfo * method) Line 19593	C++
 	GameAssembly.dll!Task_1_TrySetResult_m4FE4E07EBB0BA224341A4946FE2C4A813BD8AF64_gshared(Task_1_tA56001ED5270173CA1432EDFCD84EABB1024BC09 * __this, Il2CppObject * ___result0, const MethodInfo * method) Line 14344	C++
 	GameAssembly.dll!TaskCompletionSource_1_TrySetResult_mAABD020F0563817EAD7A52AA55DB2026CC7D0B60_gshared(TaskCompletionSource_1_t6C02642279BC7BF03091A8CB685FC6B4E68BED12 * __this, Il2CppObject * ___result0, const MethodInfo * method) Line 18044	C++
 	GameAssembly.dll!TaskCompletionSource_1_SetResult_m3F4A2C446CCA6A5614C21B465724B592C0AB3428_gshared(TaskCompletionSource_1_t6C02642279BC7BF03091A8CB685FC6B4E68BED12 * __this, Il2CppObject * ___result0, const MethodInfo * method) Line 18090	C++
 	GameAssembly.dll!TaskCompletionSource_1_SetResult_mDD444D685AF6F2DAFECC3E8B35005E75E1B1C171(TaskCompletionSource_1_t11304067E49F58655A27DAA72741527103B1AE2F * __this, StatsReport_tA94E0D62DDB355F37779A3EE9E98976862B7B8A1 * ___result0, const MethodInfo * method) Line 8893	C++
 	GameAssembly.dll!PeerConnectionInterop_SimpleStatsReportCallback_m05BA15EFF9A91572F87FFAADED6CB86CE5CB9C30(int ___userData0, int ___report1, const MethodInfo * method) Line 14390	C++
 	GameAssembly.dll!ReversePInvokeWrapper_PeerConnectionInterop_SimpleStatsReportCallback_m05BA15EFF9A91572F87FFAADED6CB86CE5CB9C30(int ___userData0, int ___report1) Line 13677	C++
 	Microsoft.MixedReality.WebRTC.Native.dll!`mrsPeerConnectionGetSimpleStats'::`5'::Collector::OnStatsDelivered(const rtc::scoped_refptr<webrtc::RTCStatsReport const> & report) Line 1145	C++

However, and I regret not storing it somewhere, I got a crash that hit something related to VideoReceiverStats (as I would presume to do), but I thought I could reproduce it with more detail. Apparently not for some reason?

Relevant?

It might be invalid code generation... Which Visual Studio/compiler version are you using? Debug or Release?

Visual Studio 2019 version 16.4.4
I've tried

Debug DLL in VS Debug (Crashes without error)
Release DLL in VS Debug (Crashes with the above error)
Debug DLL in Unity x64 (Crashes Unity with fatal error)
Release DLL in Unity x64 (Works fine)

I am using an older version, I'll try updating and see if I can repro.
If the compiled code is incorrect, whether or not you get a crash will not depend (logically) on what stats you request 😄

I just rembered that I'm modifying the SDP by changing all instances of "sendrecv" to "sendonly". Could that have an effect?
I'll test without modifying it tomorrow just to check.

So I had this code below that changed all "sendrecv" in the SDP to either "sendonly" or "recvonly" depending on what kind of a connection it was.
/// <summary>
/// Changes send and receive to sendonly or receiveonly depending on connection.
/// </summary>
internal static void ModifySendRecvSdp(ref string sdp, bool send, bool receive)
{
   if (send && !receive)
   {
      sdp = sdp.Replace("sendrecv", "sendonly");
   }
   else if (receive && !send)
   {
      sdp = sdp.Replace("sendrecv", "recvonly");
   }
}

Apparently, removing this code fixed the problem I was experiencing with fatal crashes when requesting receiving audio/video stats on an connection I previously labeled as "sendonly".
I don't know why I have that code, or what it specifically does to the underlying WebRTC code. I think I implemented it sometime a year ago and haven't really experienced anything wrong with it until now.
Since it obviously has an effect on stats gathering, it would be interesting to find out what other parts it changes.
If a connecting party were to modify the SDP offer before sending it to my PC that gathers stats, I'm not entirely sure if I'm the one to search the SDP for a "sendonly" or "recvonly" attribute, and modify my stats gathering depending on the result. Or if it should be done further down the line, within the DLL.
What are your thoughts on that?

Probably to work around #75 no? Since you mentioned in #51 that you wanted those removed.

Probably to work around #75 no? Since you mentioned in #51 that you wanted those removed.

I'm not sure if I understand what you mean?

You probably have that code replacing sendrecv/sendonly/recvonly because of #75 where we force a sendrecv on all tracks, even if you don't want it. You asked me in #51 to remove this, and I logged it as a TODO on #75. But it's not done because it has broader implications, so will be fixes with multi-track support (#152).


drain and delete node on destroy

Drain and delete nodes when the worker is destroyed so that terraform apply can be used to remove a node from the cluster safely.

lgtm


Fix misbehaviour of long tag and salary

Long tags and salary causes the text-wrapping behaviour of the
other labels to malfunction. No test cases were checked for
salary and tag has a validity check of limited length.
Bug found: Tags and salary misalign when multiple tags at max length
when GUI is too small.
Let's

Add validation for tag and salary to limit to a reasonable length.
Add test cases for salary and tag.
Fix bug causing misalignment of salary and tags when it's all the max
length.

Should fix #168 , fix #176 , fix #177 , fix #179 and fix #183.

Codecov Report

Merging #238 (2a42530) into master (5b7461d) will decrease coverage by 0.02%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master     #238      +/-   ##
============================================
- Coverage     59.92%   59.89%   -0.03%
- Complexity      502      506       +4
============================================
  Files            96       96
  Lines          2006     2007       +1
  Branches        227      227
============================================
  Hits           1202     1202
- Misses          721      722       +1
  Partials         83       83

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...c/main/java/seedu/address/model/person/Salary.java
63.15% <100.00%> (ø)

src/main/java/seedu/address/model/tag/Tag.java
80.00% <100.00%> (ø)

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 5b7461d...2a42530. Read the comment docs.


BsonDocument copies its properties by reference  to KV array

Finally found some time to add code to copy a BsonDocument to an array.
This fixes #557
I've also added a test because I'm a TDD guy. Please feel free to throw it away if you think this is over the top... i'm used to it :-)

Thanks! Merged!


Xiaomi mop 2 pro

Hello can i ask another help?
Now works all good but i have a question:
The first time i have configured a room cleaning script on HA in the Xiaomi app I saw just before the cleaning started, the area that will be cleaned was highlighted. Now this doesn't happen anymore. Is it possible to highlight in the xiaomi app the area that is going to be cleaned when the vacuum cleaner starts?

This component cannot control the map display of MiHome.


Update canceling-irps.md

Added a qualifier to make it extra clear this clause doesn't apply to all IRPs.

Thanks Jeff!  This will be live momentarily.


Test commit for cloning in CI

cc @britt-allen

Closing, as zero-copy cloning seems to be working correctly in CI


NavigationAgent ignores NavigationObstacle

Godot version
4.0.2.stable.official
System information
Windows 10, NVIDIA GeForce GTX 1660 SUPER, Vulkan
Issue description
NavigationtArget doesn't find a workaround and tries to go through NavigationObstacle as if it doesn't exist. Avoidance enabled
= true. All settings by default. The problem is reproduced in both 2d and 3d
Steps to reproduce

Minimal reproduction project
Test.zip

Does this happen if you don't set the target position every frame? You're not supposed to set it constantly as it recomputes the path

You also set a very high velocity when the distance is high, I suggest normalizing it

Resetting the path every physics_frame with a new target_position is indeed a problem as it destroys any path consistence or direction.
I do not think that this is the main or only problem as the current avoidance resets every frame anyway so it lacks consistence in velocity as well.
If you can try testing with pr https://github.com/godotengine/godot/pull/69988 that fixes most of those issues.

So I had time to test the project now. While using a NavigationObstacle for something static is in general not recommended it is not the main issue. The issue is that ...
a) The agent has a radius of 80 pixel but the NavigationAgent2D only has a radius of 10 pixel so it thinks it can move around the obstacle radius at that smaller size but gets stuck on physics collision.
b) NavigationObstacle2D estimate_radius is a useless property that fails a lot calculating a proper radius so it should not exist. This property gets removed in the linked avoidance rework for exactly such reasons. Set it to a manual radius a little larger than the size of your object so you have some avoidance margin. E.g. in my test 100 worked fine.
c) Since the avoidance will push the agent away from the ideal path it is also required to increase path_desired_distance and path_max_distance to avoid the agent resetting its path all the time which can make it get stuck. E.g. in my test 120 for path_max_distance  and 250  for path_max_distance worked fine.

Properly due to https://github.com/godotengine/godot/pull/74893 which made it to 4.0.2 that affected obstacles which was fixed in 4.0.3 with https://github.com/godotengine/godot/pull/75756.

Closing per @smix8's comment, as this will be resolved in 4.0.3.


feat(tutorial): complete step 2

Creating a pull request to finish the Carbon Tutorial Step 2

FYI: I didn't use the template as it doesn't apply to this PR.

👍 Looks good - 🎉 You are one step closer to completion of the Carbon React tutorial and earning the digital credential.


Handling missing values in datatime field throws error.

I have the missing values in datetime column in koalas dataframe,
cleaned_Data['Valuation_Date'].head()
(1) Spark Jobs
Out[12]: 0     1/01/2013 0:00
1    16/08/2013 0:00
2    16/08/2013 0:00
3               None
4               None
Name: Valuation_Date, dtype: object

I convert to koalas datatime, but thats not working, thorwing error
cleaned_Data["Valuation_Date1"] = ks.to_datetime(cleaned_Data["Valuation_Date"], errors='coerce')
cleaned_Data['Valuation_Date1'].head()

org.apache.spark.SparkException: Exception thrown in awaitResult:
Py4JJavaError                             Traceback (most recent call last)
/databricks/python/lib/python3.7/site-packages/IPython/core/formatters.py in __call__(self, obj)
    700                 type_pprinters=self.type_printers,
    701                 deferred_pprinters=self.deferred_printers)
--> 702             printer.pretty(obj)
    703             printer.flush()
    704             return stream.getvalue()

/databricks/python/lib/python3.7/site-packages/IPython/lib/pretty.py in pretty(self, obj)
    400                         if cls is not object \
    401                                 and callable(cls.__dict__.get('__repr__')):
--> 402                             return _repr_pprint(obj, self, cycle)
    403
    404             return _default_pprint(obj, self, cycle)

/databricks/python/lib/python3.7/site-packages/IPython/lib/pretty.py in _repr_pprint(obj, p, cycle)
    695     """A pprint that just redirects to the normal repr function."""
    696     # Find newlines and replace them with p.break_()
--> 697     output = repr(obj)
    698     for idx,output_line in enumerate(output.splitlines()):

Any help on error please, if there is no missing values then same works charm.

What environment are you working on? Seems like it's working in my local.
>>> kdf
    Valuation_Date
0   1/01/2013 0:00
1  16/08/2013 0:00
2  16/08/2013 0:00
3             None
4             None
>>> kdf['Valuation_Date1'] = ks.to_datetime(kdf['Valuation_Date'], errors='coerce')
>>> kdf['Valuation_Date1'].head()
0   2013-01-01
1   2013-08-16
2   2013-08-16
3          NaT
4          NaT
Name: Valuation_Date1, dtype: datetime64[ns]

I am working in Databricks us-west-2c, Thanks

Thanks for letting me know.
I tried my example above on Databricks, but it still worked.
It would be really helpful if you could share a simple reproducible example.

So I need an example where I can reproduce the error to investigate.
Can I ask some questions?

Do you see any difference between my example and yours?
How did you create the cleaned_Data?
Is it possible to share the whole stack trace?

also,

What version of Databricks Runtime are you working on?
Did you install any other libraries?

Thanks!

I am closing this due to no feedback.


Npm install fails at typings install

I'm having a weird problem with npm install.
I have a project forked from this repo. A couple of weeks ago I did a regular merge with this repo.
Since then I have been unable to successfully run npm install. It fails at
npm run typings -- install
with the error:
Unknown dependency: github.com/DefinitelyTyped/DefinitelyTyped/commit/31e6e105227e2e23686c3183bddf7c91f7f5b311
The weird part is that if I clone my github copy of the fork it works. (My github copy of the fork is only a lightly modified fork of the original – I have another separate repo that has my working project) I spent most of yesterday trying to track down this issue. I have compared every file I think could possibly have a bearing on this – but all the config, typings and package files are identical between my working project and the repo that does work.
The last thing I did yesterday was to copy the package.json file to a new, empty directory and run npm install from this directory.
I get exactly the same error.
Has anyone got any ideas about what I might be doing wrong?
(Mac OS X, Node v6.0.0, npm 3.8.8)
TIA
Chris

Honestly, I worry about my own sanity sometimes.
The problem was staring me in the face all the time. It was a line I had added to my typings.json file some time back that I didn't need anymore. I really don't know why I didn't pick it up when I was comparing files.
I guess that's just something that happens to us all from time to time.
Thanks all.


api request

can this be firewall rule instead of security level under_attack? for example when cpu is above the normal level it will create firewall rule for get and post to have captcha/challenge mode? if yes can you help me to code it

Hi there,
At  the moment the script sets your status to “I’m under attack!”

In case that you need to have the firewall rule, you can change the curl request in the script to add a rule by using the Cloudflare API. The logic in the script can remain the same, you will just need to change the curl request.


provide a simple demo

Hello, this project is fantastic! Can you provide a simple demo and a list of supported frameworks

I am working on it !

Let me add the mysql, redis and nethttp plugins first this week, and then we will add a demo for performance test.

@dongzhiwei-git We've added a simple demo. You can try it now.


Use different initial layout when rnvimr is replacing netrw

It would be nice if when opening a directory in neovim through the command line
nvim dirname, rnvimr would use a different layout (such as full screen) as
initial layout. In other words, the initial layout for rnvimr would be
different in the cases where it is replacing netrw.
I wish it would display fullscreen when I open a directory through the command
line and in the other cases it would not display full screen, but the initial
layout and the presets apply to all situations.
Thanks for the plugin!

If you opens dirname by e dirname, which layout do you expect?

If you opens dirname by e dirname, which layout do you expect?

I'd expect the same layout I'd get by nvim dirname
Here is a suggestion: pass an option to :RnvimrToggle like :RnvimrToggle --preset=4,
so that different initial presets can be bound to different keystrokes. The
first preset should then be loaded by nvim dirname and e dirname

Please update the code and set let g:rnvimr_layout_ex_index = 3

That worked! Thanks!


PowerShell v5.1

Awesome script!!   Thank you!!    I'm not able to run it in PowerShell v5.1, but it works great in v7.
Here's the errors I receive in v5.1
PS C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune> .\Intune-offBoarding.ps1
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:323 char:139
+ ... indowsAutopilotDeviceIdentity -Filter "contains(serialNumber,'$($Intu ...
+                                                                 ~
Missing argument in parameter list.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:352 char:139
+ ... indowsAutopilotDeviceIdentity -Filter "contains(serialNumber,'$Search ...
+                                                                 ~
Missing argument in parameter list.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:406 char:58
+                 $deviceNamesString = $deviceNames -join ", "
+                                                          ~
Missing argument in parameter list.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:434 char:123
+ ... indowsAutopilotDeviceIdentity -Filter "contains(serialNumber,'$($Intu ...
+                                                                 ~
Missing argument in parameter list.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:496 char:44
+             Write-Host "Log file not found."
+                                            ~
The string is missing the terminator: ".
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:252 char:65
+                 if (!(Get-Module -ListAvailable -Name $module)) {
+                                                                 ~
Missing closing '}' in statement block or type definition.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:251 char:43
+             foreach ($module in $modules) {
+                                           ~
Missing closing '}' in statement block or type definition.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:242 char:13
+         try {
+             ~
Missing closing '}' in statement block or type definition.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:501 char:32
+ $Window.ShowDialog() | Out-Null
+                                ~
The Try statement is missing its Catch or Finally block.
At C:\git\azureDevOps\sysAdmins\SysAdmin_Scripts\Intune\Intune-offBoarding.ps1:241 char:33
+ $InstallModulesButton.Add_Click({
+                                 ~
Missing closing '}' in statement block or type definition.
Not all parse errors were reported.  Correct the reported errors and try again.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : MissingArgument```

Hi @1eyeITguy,
thanks for reporting this. I think I have managed to fix this bugs and PS Version 5.1 should be enough.
If you got time, please check the latest v2 script and see for yourself if it runs.
Best regards
Ugur

Looks like you got it.  It does open now in v5.1.   I've not had it delete anything yet, but I'll do that before the end of the day.
Thank you so much, this script is VERY helpful!!   Keep up the great work.


Options do not update on Firefox

Whenever I attempt to save anything in the plugin options on firefox it instantly disappears upon hitting save. I'm on the latest versions.

Did you build this firefox extension and attempt to save anything? it might be temporary addon ID issue.
(Error: The storage API will not work with a temporary addon ID. Please add an explicit addon ID to your manifest. For more information see https://mzl.la/3lPk1aE.)
(I saw this error after save in the plugin options on firefox)
Maybe this issue will be resolved when firefox version released to firefox add-ons.
Also, there is an error when "items" is undefind in firefox/public/options.js, so I will requet PR about this.


⚠ SolarOscp has degraded performance

In bab33de, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 369 ms

Resolved: SolarOscp performance has improved in 632c6a7 after 10 minutes.


Refactor of metadata printing and Exif read/write

"Maker notes" are extra camera manufacturer-specific metadata stored as
opaque blobs inside Exif records. The manufacturers don't seem to
publish the specs for these blobs, but they have been reverse engineered
and with some hunting you can find tinkerer-prouced documentation (at a
range of levels of completeness or correctness).
With this patch, we do a substantial refactor of exif.cpp to incorporate
full awareness of maker notes into our metadata processing. At this
stage, we only read Canon makernotes, and quite incompletely. But we get
a lot more of the metadata than we used to (previously we just ignored
any makernotes we found), and the structure is now sound for adding more
complete support for this and other cameras. It involved a substantial
refactor of exif.cpp, as well as some other assorted tweaks.
This will be an ongoing project to support more cameras, but the foundation
is now set for this work.

Closing, there's more work to be done here. Will re-submit later.

Re-opening with new try, I think it is much more complete now.


Bug or Inconsistency with protobuf while encoding "uint32" datatype

Hi,
I have a nested message which is set by nanopb, and I use python-protobuf on the other side to read the data. It has been works most of the times and python is able to read it properly. However, with some specific values, python-protobuf fails to read while nanopb is still able to decode the encoded data. I created a small example and attached to this email. I simply encode two instances of one struct and save them into two different files. It is able to decode one of them but not the other one. I realized that the problem appears when the value of that "varint" passes 128. In that case, it throws an exception message of "google.protobuf.message.DecodeError: Truncated message."
nanopb_example.tar.gz

Hmm, the issue seems to be that you write extra zeros to the end of the message, which the Python implementation doesn't handle.
      /// Set the remainder of message to zeros.
      memset(buffer+postream.bytes_written, 0, length - postream.bytes_written);

Instead, you should only write postream.bytes_written bytes to the output file.
Though I'm not sure why the "good" file works on the Python side either. It seems that adding one extra '\x00' at the end of the "bad" file makes it also work, so it's probably some subtle issue in Python's parsing.
But anyway, ignoring trailing 0x00 is not a general protobuf feature so you'll need to frame the message otherwise. Nanopb currently silently ignores trailing 0x00, but this functionality will be separated to make it more consistent with other protobuf implementations (issue #278).


HTML smuggling updates: add .file_type check and improve formatting

h/t @vector-sec for pointing out that some attackers don't set a file extension. we can flag these by using the improve .file_type property, which uses file headers to determine the file type.

@rw-access what's the correct id to use to prevent the file rename of detection-rules/attachment_html_smuggling_unescape.yml from showing up as a delete + new change in the Feed?
is it 0b0fed36-735a-50f1-bf10-6673237a4623?


when click on other places or blocks, the setting of the block can’t be closed automatically.

Repro step:

Navigate to https://makecode.adafruit.com/
Drag “if-then-else” in “forever”
Click “setting” on the left bottom of “if-then-else”
Then click on other places or blocks

Expected Result:
The setting of block should be closed automatically when click on other places or blocks.
Actual Result:
[Additional information: click on other places or blocks, it can't be closed, but it will close when click the "setting" in the upper-left corner of the block.]

Blockly functionality, we can consider fixing that in the future. won't fix for now.


Add a utility method to log messages exchanged in a conversation to a file and make use of it for agents involved in sequential memory coordination

Fixes https://github.com/wise-agents/wise-agents/issues/398

@maeste Found the issue, CI is passing now.


Deploy 45 - LUSD

LUSD deployment artifacts from this pr: https://github.com/OriginProtocol/origin-dollar/pull/1205
Contracts

Name
Address

ConvexLUSDMetaStrategyProxy
0x7a192dd9cc4ea9bdedec9992df74f1da55e60a19

ConvexGeneralizedMetaStrategy
0xB6764c2Cc8F1fDCd89Af1C3e246f886579746233

[ ] Deployed contract verified code (and dependancies) match the final PR commit's code
[ ] 🛑The transactions that interacted with the newly deployed contract match the deploy script.
[x] Governance proposal matches the deploy script: Proposal 41 TX
[ ] Smoke tests pass after fork test execution of the governance proposal
[ ] Update Docs

🛑Transactions Check
The transfer governance command transfers ownership of the proxy to deployer address rather than to the governor contract. https://etherscan.io/tx/0xf99cc2433a0d2984e67c44dfc1c3d8d6749f8b2bd17ec9b8f9d200ba143b8999
This also causes the governance proposal to fail, given that the governor cannot accept ownership.

Governance Proposal Check
from world import *
v = governor.getActions(41)
[print(v[0][i],v[1][i],v[2][i],) for i in range(0, len(v)+1)]

Great catch @DanielVF ! That could have been a serious security vulnerability.
@sparrowDom How abou

we clean up the playbook to be clear about what needs to be set?
also, is there any safety check we should add to the deploy script so that it issues a warning or does not run at all if it detects the network is mainnet and the deployer address is also being used as governor address?

Some additional context on the discord discussion: https://discord.com/channels/404673842007506945/965649970269143120/1057400565719638046
Also CC @shahthepro so that we don't make the same mistake when deploying the upcoming Morpho Aave strategy

Perhaps we could have the deployer address set by the deployer private key when it is set. This way there's no config file to change during deployments, and there's not really anything to mess up.

Proposed solution that adds a safeguard: https://github.com/OriginProtocol/origin-dollar/pull/1211

This transaction correct the wrong pending governor on the LUSD strategy contract


[T4A3][W10-B4] Filbert

Added parent class - contact
Extracted similarities from phone,email address
Similarities transferred to parent class contact

Some comments added. Please close the PR after reading comments.


Car Running Project using Html,Css,Javascript

I am a GSSOC'21 Participant. I want to make car running project.
@ridsuteri please have a look on this issue.
Please assign me this issue.

@Mrinal81 similar PR #554 is open ,is your project different from this one?
and if  you can share a gif/screenshot of your project ?

@ridsuteri

Please have a look.........
https://user-images.githubusercontent.com/76482022/113840924-d646cd00-97ae-11eb-9ec2-42a3550fb7d9.mp4

@Mrinal81 ok go ahead with it :)

@ridsuteri  Thanks  for assign..

@ridsuteri please have a look on issue#888..

@ridsuteri  i made a pull request #953 . Please review it....


Can not able to install version 6.2.0 using cocopod

Hello @samir76Git
AlamofireObjectMapper 6.2.0 requires iOS 10.0. Please check the minimum deployment target in your project.

@RomanPodymov
My project minimum deployment target is iOS 10.0.

Hi, I am getting this error...
[!] CocoaPods could not find compatible versions for pod "Alamofire":
In snapshot (Podfile.lock):
Alamofire (= 5.2.1, ~> 5.2)
In Podfile:
Alamofire (~> 5.2)
AlamofireObjectMapper (~> 5.2) was resolved to 5.2.1, which depends on
  Alamofire (~> 4.7)

Although i am using same version 5.2 of both Alamofire and AlamofireObjectMapper.

in my profile.pod file deployment target less than iOS 10.
now it's working.
Thanks @RomanPodymov


allow extracts to be renamed

closes #192

[x] allow the name to be editable
[x] database change for this

Added DB support; re-assigning this to you to resolve the merge conflict.

Also! The old wof_name field should still be there.


Dev cleanup

remove old files TODO and commands.txt
use .markdown extension for CHANGELOG
add .ruby-version to .gitignore to allow use of rbenv

Ping @garethr @ryanycoleman @hunner @mhaskel.

Closing.  Incorporated these changes into #35.


nixos/languagetool-http: added services.languageToolHttp option

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/179

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/331

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/465

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/574

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/641

Please rebase this PR on master.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/426

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/436

Any progress on this?

Any progress on this?

It works and I'm using it on my system

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/827

I have hardened the service

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1049

ok removed the confinement

#187147 got merged, so I don't know whether this needs to stay open.

#187147 got merged, so I don't know whether this needs to stay open.

You're right, that is a better pr


Right click does not work in the Explorer after selecting "Select for compare".

VSCode Version: Code 1.14.0 (b8cd5b9556d8b70ea560d35b903422363f6c5c40, 2017-07-10T18:36:31.751Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author (truncated)
Version

csharp
ms-
1.11.0

Right click does not work in the Explorer after selecting "Select for compare".
Steps to Reproduce:

Open 2 files
On the Explorer tab/pane whatever it is called. Right click and select "Select for compare"
Right click on the file to compare to. Right click no longer works.

Reproduces without extensions: Yes/No

https://github.com/Microsoft/vscode/issues/30269


Change how T.deprecated_enum is parsed

Always construct a union of the underlying types when parsing T.deprecated_enum, avoiding any literals in the resulting type. This moves the existing behavior for T.deprecated_enum earlier in the pipeline, and avoids relying on the LiteralType case in subtyping.cc.
Motivation

Avoiding literal types in T.deprecated_enum.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_KxAvC2u4lxqMSz
→ https://go/builds/bui_KxAvHpozmDf4NT

Quick test with T.reveal_type?

Good call.


Refactor logging of subgroup test start/pass messages

Note that this also corrects the start messages logged for the sub_group_ballot_bit_count/find_msb/find_lsb tests.
Signed-off-by: Stuart Brady<EMAIL_ADDRESS>

@gwawiork Could you re-review this, please?


"Cârcea" is listed in the drop-down menu

Description:
"Cârcea" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Cârcea" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Cârcea, DOLJ".


Doc needed: Who is the requester in a continuous deployment triggered release?

This should be documented in the Approval policies section.

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

ID: fc105eb0-4766-77a1-dfec-c0cc2b4b3f08
Version Independent ID: 8bd8c066-745b-5c89-39c3-bb0a959cb7a2
Content: Control deployments by using approvals - Azure Pipelines
Content Source: docs/pipelines/release/approvals/approvals.md
Product: devops
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

Thank you for your feedback. I havce added a link to this topic: https://docs.microsoft.com/azure/devops/pipelines/build/variables#how-are-the-identity-variables-set which explains how the identity is determined.


Setting for key naming style to improve the "Extract text into i18n messages" feature

Is your feature related to a specific framework or general for this extension
General
Is your feature request related to a problem? Please describe.
I would like to use the "Extract text into i18n messages" feature, but the name it suggests for the new key is in kebab-case and we are using snake_case for our keys.
Describe the solution you'd like
It would be great if there was a setting called "keynamingstyle" which used something like case to determine the key name (kebab, camel, snake, etc).
Thanks for the awesome extension, loving it!

Hi @blake-mealey, you can try
"i18n-ally.preferredDelimiter": "_"

And the case package looks cool. I will look into it later. Thanks

Aha! I looked through all the settings carefully before posting this but I still missed it. Thank you :)

Is there a solution for camelcase specifically?


Add vendor specific CDI client

Currently, the Operator only implements Sunfish client as CDI_PROVIDER_TYPE. We will also implement new vendor-specific clients.

@hase1128 Thank you for looking into this. Feel free to reach out in case you need changes in the how we select the provider type.

I think there is no problem with the current method (specifying environment variables in the ComposabilityRequest yaml file).


Edit form duplicates a new entry on submit.

When I submit the edit form it  duplicates a new entry on submit instead of updating.
I am having this error on the console
Uncaught Error: No form with ID updateServerForm is currently rendered.
If this call originated from within a template event or helper,
you should call without passing a formId to avoid seeing this error

closing this sorry. found out the error. the type is type="insert" instead of type="update"


Complete setup Travis and Surge

Motivation
To test and deploy react-boilerplate
Acceptance criteria

[x] Travis
[x] Surge

Done


test(balance): introduce windowing to ledger

Overview

Fixes issues related to windowed event processing. See testcase names and descriptions for details.
Changes:

entitlement tests refactored with testutils pattern
added mockgen
grant effectiveAt ceiled to next window (if not windowed)
reset effectiveAt floored to current window
balance calcs error on non-window-precision values
further balance calc fixes (see testcase names)

Notes for reviewer

In light of some deeper issues turned it to draft

Topics to discuss
Grants changed so they take effect at the end of current window
By pushing the effectiveAt dates of grants to the end of the current window (rounding up to a minute), right after we issue a grant it wont show up in balance.

This is expected & straightforward for balance calculation, enforcement based on balance, etc...
For cloud this can get really confusing with current implementation as we simply display the balance info. What we should do in addition is display grants that will take effect in the next window too, mark them, and also display the features associated with them. IMO this should not be part of this API

Lack of windowing is validated on Balance calc
GetBalance will error if the grants are not windowed. IMO I would keep this as without windowed grants it will return incorrect data. The issue is that we don't have a migration system. New data will be valid but it would break on old.
Suggestions?

here's the suggested migration:
UPDATE public.credit_entries
SET
    effective_at = CASE
                      WHEN entry_type IN ('GRANT', 'VOID_GRANT') THEN DATE_TRUNC('minute', effective_at + INTERVAL '1 minute' - INTERVAL '1 second')
                      ELSE DATE_TRUNC('minute', effective_at)
                   END,
    expiration_at = CASE
                      WHEN entry_type IN ('GRANT', 'VOID_GRANT') THEN DATE_TRUNC('minute', expiration_at + INTERVAL '1 minute' - INTERVAL '1 second')
                      ELSE DATE_TRUNC('minute', expiration_at)
                    END;

you can test it here:
https://www.db-fiddle.com/f/8SqudRGzJYTrpaqhQHAA6A/0


environment.yml

What can I do to help get conda working? Supporting environment.yml is super important for lots of scientific cases where requirements.txt is a non-starter and building from a Dockerfile can take hours. But for now, I don't know what repo I should look at or how to get testing.

I think @yuvipanda knows where to make these commits, but just FYI both Yuvi and I agree this is a super needed feature, and Yuvi doesn't have as much bandwidth to figure this out, so this would be super useful to add in :-)

I'm excited to find a way I can finally contribute! But I haven't kept up with the new pieces. Maybe this can be one of my tasks during PyCon sprints next week, since Yuvi will be here.

Yes! I started on conda support but then gave up because I was frustrated
after a few hours, and realized there are plenty of other people who can do
this who do know conda!
Let's do this during the sprint, and use it as a way to get you up to date
on the entire setup, document how to add additonal builders, and add conda
support!
On Wed, May 17, 2017 at 10:52 PM, Min RK<EMAIL_ADDRESS>wrote:

I'm excited to find a way I can finally contribute! But I haven't kept up
with the new pieces. Maybe this can be one of my tasks during PyCon sprints
next week, since Yuvi will be here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yuvipanda/builderhub/issues/17#issuecomment-302307734,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB23lU_UvG_nefTbtS_UqNbm1xPiby9ks5r69yogaJpZM4Netda
.

--
Yuvi Panda T
http://yuvi.in/blog

Sounds like a great plan.

I feel like this is a LOTR moment

I just showed @minrk how to develop and test s2i images.

Woot!

Part 1: https://github.com/jupyterhub/s2i-builders/pull/1/files

Part 2:  https://github.com/jupyterhub/s2i-builders/pull/2
Deployed to beta and works!

double woot! you guys are badasses! :D


Ditch NetEvents

Please, for the love of god, ditch netevents. It's a bad, broken plugin. It works 10% of the time and can rarely even establish a connection to the other servers. Please, just use Bukkit's builtin plugin message channel system and add builtin support for permission syncing in PEX. The current method is old, buggy, and broken.

Uh, bukkit's plugin channel system doesn't work across servers, and bungee's hack to forward plugin messages only works when players are connected to all servers (and is specific to bungee -- some of our users use lillypad)
In addition, you may want to try a potentially improved development build of NetEvents from https://drone.io/github.com/zml2008/netevents/files/target/netevents-1.1-SNAPSHOT.jar to check for improvements.
If you still don't like netevents, don't use it and just cron a /pex reload every 5 minutes (as of 1.23.1 dev builds).

Alright, I guess I'll go with cron and a newer build. By the way your build site is hard to locate and seems to be currently offline.

Yeah, we don't normally recommend using dev builds. However, for now the current PEX dev build is available at http://get.your.minions.at.aoeu.xyz/PermissionsEx-1.23.1-SNAPSHOT.jar


Skill Name
daisyui
Why?
Popular, free and open-source Tailwind CSS component library
Reference Image

Code of Conduct Acknowledgment

[X] I have read and agree to the Code of Conduct.

SVG version:


init landing page (before modal) html

the html for this has been completed (not tested or merged)


Add created_at/updated_at timestamp

What: Having a conventional / implicit timestamp plugin
How:

Implement a special attribute helper for collection declaration, eg:

collection :users do
  entity     User
  repository UserRepository

  attribute :id,   Integer
  attribute :name, String
  timestamps
end

Enable Sequel::Plugins::Timestamps If the DB table has column created_at and updated_at

Pending for discussion

@joneslee85 Doing this via coercer is a bad idea :( It can work when the value is nil (created_at on a non-persisted entity). But when it comes to update an already existing timestamp (updated_at), it won't replace it with a default value.

I think the default option should be in the migrations and not in the coercer.
And only care here about include this timestamps

@AlfonsoUceda Right, migration-less/schema-less databases (e.g. a JSON store) don't have default values or types. Although there are ways to coerce data to certain data types natively within some of these databases, not every database has that functionality. It would have to take place at the application level.
Is there a reason #create only updates the id versus the whole entity reference? My guess is because the database interface only returns that value upon creation?
# sql_adapter.rb
def create(collection, entity)
  entity.id = command(
                query(collection)
              ).create(entity)
  entity
end

@AlfonsoUceda @angeloashmore This isn't only a matter of schema(less) databases. If a column isn't mapped it's entirely ignored by the framework.
@angeloashmore RE entity: that is my fault. I'm sorry. I already discussed with @joneslee85 about this problem. You have opened a ticket for this, let's discuss over there.

It appears the Repository is the best place for this to happen. Maintaining timestamps should occur at #persist.
I wrote this quick module and it seems to work. I haven't written any tests for it yet, however.
https://gist.github.com/angeloashmore/05ef7f035f694cfa56d7
Required setup

The database must accept created_at and updated_at.
The entity must respond to #created_at= and #updated_at=.
The repository must set created_at and updated_at before persisting/creating/updating.
The mapper must include created_at and updated_at.
The repository must include Lotus::Repository::Timestamps.

# order_repository.rb
class OrderRepository
  include Lotus::Repository
  include Lotus::Repository::Timestamps
end

# mapping.rb
mapping do
  collection :orders do
    entity Order

    attribute :id, String
    attribute :billing_info, Hash
    attribute :created_at, Time
    attribute :updated_at, Time
  end
end

# order.rb
class Order
  include Lotus::Entity
  attributes :billing_info, :created_at, :updated_at
end

Issues with this approach
There is a lot of repetition of created_at and updated_at. Because of the way Repositories, Mappers, and Entities are separated, it seems it is necessary to declare the attributes in all places.
What do you think of having helper methods to automatically include this? You will still need to declare them everywhere, but as @joneslee85 suggested, it could turn this:
collection :orders do
  # ...
  attribute :created_at, Time
  attribute :updated_at, Time
end

…to this:
collection :orders do
  # ...
  timestamps
end

…and this:
class Order
  include Lotus::Entity
  attributes :billing_info, :created_at, :updated_at
end

…to this:
class Order
  include Lotus::Entity
  attributes :billing_info, timestamps
end

@angeloashmore Thanks for the detailed investigation. I apologize for the late reply.
I do agree that there is a lot of repetition. I suggest to make it work and then to make it DRY. Would you love to craft a PR based on that gist? Thank you very much!

Is anybody works on this feature?
I can do task based on a proposed solution and then continue implementing this feature, if not.

@dsnipe there isn't someone working on this, please feel free ;)

@AlfonsoUceda cool :)
so, I done with provided gist in PR
My plan is:

Implement timestamps helpers for mapper and entity
Equivalency for entities. We can use https://github.com/dkubb/equalizer or create our own solution to avoid dependency.

avoid new dependencies please, create a custom solution for lotus ;)
thanks!
El 01/04/2015 15:52, "Dmitry Tymchuk"<EMAIL_ADDRESS>escribió:

@AlfonsoUceda https://github.com/AlfonsoUceda cool :)
so, I done with provided gist in PR
My plan is:

Implement timestamps helpers for mapper and entity
Equivalency for entities. We can use
https://github.com/dkubb/equalizer or create our own solution to avoid
dependency.

--
Reply to this email directly or view it on GitHub
https://github.com/lotus/model/issues/134#issuecomment-88487995.

ok, I think I'll place it in lotus/utils, it's better place for it I suppose

After creating draft for timestamp implementation, I realised, that may be better place for defining timestamps will be in configuration.
Global defining for all entities
Lotus::Model.configure do
  timestamps :all
end

Global defining with exceptions
Lotus::Model.configure do
  timestamps :all, exclude: ['Admin', 'Moderator']
end

Defining timestamps only for specific entities
Lotus::Model.configure do
  timestamps ['User', 'Article', 'Blog']   # not sure about view of this one
end

It gives ability to manage timestamps from one place and generate migrations already with needed columns.
What are think about it?

IMHO I think your suggestion is over killing for I don't find much gains in doing so. I'd rather let users self-define in their entity for sake of consistency and simplicity. Just my 5cent

@joneslee85 actually I used timestamps almost on all entities usually. That why I suggest using it in global scope.
but maybe you're right and simplest way is a better way :) I'll finish #169
btw,  I see some duplication of functionality in #167 and this one – there are any reasons that both solutions are necessary?

@dsnipe much thanks, regarding #167, it is overlapping, however I'd like to ask you to wait for TeamLeo who is now working on it. :+1:

Implemented by #173 #176 #182


Remove console.log(route).

We should probably delete this, or at least hide it ony when in dev
Originally posted by @benalleng in https://github.com/saving-satoshi/saving-satoshi/pull/601#discussion_r1297423329

Resolved it in 8a16e2bc675bd959551613c3fbc78fa2ae451382


Require scikit-learn>=0.20

Any objections? I worry about confusion on things like from dask_ml.compose import ColumnTransformer, or some modules that have moved between 0.19 and 0.20.

Fine with me.  I think that this library should move fast for now.
On Mon, Oct 8, 2018 at 10:25 AM Tom Augspurger<EMAIL_ADDRESS>wrote:

Any objections? I worry about confusion on things like from
dask_ml.compose import ColumnTransformer, or some modules that have moved
between 0.19 and 0.20.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-ml/issues/391, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszK9FHuJrK_1gmtmRCVJFg63TI0srks5ui2BsgaJpZM4XNDOn
.

+1 from me


log entries disappeared

10 old tree: (11mb log)
http://logs.uaventure.com/view/NfbHqPWzcNNTaRE5KTechg
recent tree: (190kb log)
http://logs.uaventure.com/view/KFFN5vsKZ82pGXcncQnGd3
No more aux outputs at least

need to check revision
@tumbili what was the commit for the fix for this?

just rebase on master


Download epw file

Should we add the abilty to download the epw file for the selected location?
in the Summary tab, next to the Clima Dataframe
(first EPW, then Clima Dataframe)

Done a58bc7d23dd618014da63feb6c96799b41066647


Training Loaded Models is MUCH slower

System information
Windows 7
Python 3.8
Tensorflow 2.1
Describe the current behaviour
When I create a model "from scratch" and train it, with some configs, and data. Each epoch takes around 3 minutes to terminate.
If I stop the training after the first epoch, and load the model to continue training (same data, same configs) instead of taking the 3 minutes, every epoch takes around 12 minutes (4x) to conclude.
This is how I am creating the model:

model = Sequential()
model.add(LSTM(128, input_shape=(train_x.shape[1:]), return_sequences=True))
model.add(Dropout(0.3))
model.add(BatchNormalization())

model.add(LSTM(128, return_sequences=True))
model.add(Dropout(0.3))
model.add(BatchNormalization())

model.add(LSTM(128))
model.add(Dropout(0.2))
model.add(BatchNormalization())

model.add(Dense(32, activation='relu'))
model.add(Dropout(0.3))

model.add(Dense(2, activation='softmax'))

opt = tf.keras.optimizers.Adam(lr=0.001, decay=1e-6)

filepath = "tf/checkpoints/RNN_Final-{epoch:02d}-{val_accuracy:.3f}.hdf5"  # unique file name that will include the epoch and the validation acc for that epoch
checkpoint = tf.keras.callbacks.ModelCheckpoint(filepath, verbose=1, monitor='val_accuracy', save_best_only=True, mode='max') # saves only the best ones

history = model.fit(
    train_x, train_y,
    batch_size=BATCH_SIZE,
    epochs=EPOCHS,
    validation_data=(validation_x, validation_y),
    callbacks=[checkpoint,tensorboard],
)

After the first Epoch, I am running the code like this:

model = load_model("mymodel_1EPOCH. hdf5")

history = model.fit(
    train_x, train_y,
    batch_size=BATCH_SIZE,
    epochs=EPOCHS,
    initial_epoch = 1,
    validation_data=(validation_x, validation_y),
    callbacks=[checkpoint,tensorboard],
)

Describe the expected behaviour
I was expecting the loaded model, to run at the same speed as the new model. I am saving the models in .hdf5. Should I use any other file type?

@acegilz
Looks like code is incomplete. Request you to share colab link or simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!


Add documentation for SpliceRegion plugin -e99

Description
Using one or more sentences, describe in detail the proposed changes.
Add documentation for the new optional SpliceRegion plugin in the VEP REST endpoint. The corresponding configuration update is PR https://github.com/Ensembl/ensembl-rest_private/pull/62
Use case
Describe the problem. Please provide an example representing the motivation behind the need for having these changes in place.
Existing plugin functionality will now be available through REST.
live: http://rest.ensembl.org/documentation/info/vep_id_get
proposed: http://hx-noah-07-02:3000/documentation/info/vep_id_get
Benefits
If applicable, describe the advantages the changes will have.
Without this documentation, the endpoint will not display the availability of the functionality in the background.
Possible Drawbacks
If applicable, describe any possible undesirable consequence of the changes.
Testing
Have you added/modified unit tests to test the changes?
No tests added. Local test server page and results checked manually.
If so, do the tests pass/fail?
pass
Have you run the entire test suite and no regression was detected?
No change to code. Test ran.
Tested: http://hx-noah-07-02:3000/vep/human/id/rs368421386?content-type=application/json;SpliceRegion=1
Changelog
Are you changing the functionality of an endpoint? If so, please give a one line summary for the public facing changelog.
[/vep/:species/hgvs/] new plugin option added: SpliceRegion
[/vep/:species/id/] new plugin option added: SpliceRegion
[/vep/:species/region/] new plugin option added: SpliceRegion

Coverage decreased (-0.001%) to 44.289% when pulling 809ba39fe0fa65cf741c982b1352a62ab1a0e63a on ima23:add_plug99 into 2b58470f802a3725488246300f2512e550c026c3 on Ensembl:master.


SQLTRACE Limiting number of retained network files

When using chained netsh tracing the number of files collected can be quite large.
Need some kind of method to control the # of files retained.  e.g. say the last 10 files etc.

Done. See the DeleteOldFiles feature.


ZSH script assumes that the .zshrc file is already present, which causes the script to fail

ZSH script assumes that the .zshrc file is present, which causes the script to fail.
The fix is present in Draft PR #114

facing the same issue, i ran the zsh_setup.sh but it exited and .zshrc file is as it is.


recovery funds are missing

Wallet recovered using seeds in Sparrow Wallet, taproot , dérivation path m/86'/0'/0 , gap 150
but the wallet show 0 transactions, 0 UTXOS
the last message was
Offered HTLC 17SENT_ADD_ACK_REVOCATION cltv
833547 hit deadline
#support

Can you upload the logs too? In the emergency toolkit. That'll help us figure out what might have happened.

Wallet recovered using seeds in Sparrow Wallet, taproot , dérivation path m/86'/0'/0 , gap 150 but the wallet show 0 transactions, 0 UTXOS
the last message was
Offered HTLC 17SENT_ADD_ACK_REVOCATION cltv
833547 hit deadline
#support

Hey there @chainiso !
Thank you for reaching out! Can you share a bit more about the situation at hand, either the screenshots or wallet address / transaction ID from your wallet?
If you prefer, you can also contact live support via Sparrow DApps WalletNode Github Support directly with the ticket id SPR7464 if you don’t want to share those on this thread!
Note; Click on the live chat icon at the bottom corner of the page to initiate chat with a live support agent.

Can you upload the logs too? In the emergency toolkit. That'll help us figure out what might have happened.

mutiny-logs (1).txt
here you are

the last message was
Offered HTLC 17SENT_ADD_ACK_REVOCATION cltv
833547 hit deadline

I don't see this in your logs? Where did you get this from?

the last message was
Offered HTLC 17SENT_ADD_ACK_REVOCATION cltv
833547 hit deadline

I don't see this in your logs? Where did you get this from?

I'll submit another logs file
mutiny-logs (2).txt
maybe here

Here is the force close tx: https://mempool.space/tx/6b40193453cd54771d424796284953b4a8bb34f0ce0609c526a9f15d74daff5a
it looks like after fees you only had 921 sats, so that's why it hasn't swept it to your on-chain wallet yet.

Here is the force close tx: https://mempool.space/tx/6b40193453cd54771d424796284953b4a8bb34f0ce0609c526a9f15d74daff5a
it looks like after fees you only had 921 sats, so that's why it hasn't swept it to your on-chain wallet yet.

So..... the trx was confirmed .... Should I received it via segwit or taproot ?

It will be sweeped to your taproot wallet when fees are low enough


Fix ComputedFieldInfo.wrapped_property pointer when a property setter is assigned

from pydantic import BaseModel, computed_field

class Thing(BaseModel):
    x: int

    @computed_field
    def y(self) -> bool: ...

    @y.setter
    def y(self, value: bool) -> None: ...

# this statement is True on `main` *only* if a setter is not used, otherwise it returns False
# this PR fixes the pointer when a setter is used.
print(Thing.model_computed_fields["y"].wrapped_property is Thing.y)

Change Summary

Fixes the pointer in ComputedFieldInfo.wrapped_property when a property setter is used
Related issue number

Checklist

[x] The pull request title is a good summary of the changes - it will be used in the changelog
[x] Unit tests for the changes exist
[x] Tests pass on CI
[x] Documentation reflects the changes where applicable
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review

Waiting to merge until we get a second pair of eyes from @dmontagu, he's more familiar with the decorator logic than I am :).


Saving multiple models doesn't work properly

I'm reading data from an uploaded Excel file via PHPExcel, and when I try to save the data (1 model per row), Yii only saves the first one in the database.
This is what I'm doing:
In UploadController.php, I have something like this:
public function actionProducts()
{
    // PHPExcel file load and sheet selection stuff
    // ...

    //  Get worksheet dimensions
    $highestRow = $sheet->getHighestRow();
    $highestColumn = $sheet->getHighestColumn();

    //  Loop through each row of the worksheet in turn (except the header)
    for ($row = 2; $row <= $highestRow; $row++){
        // New model each iteration
        $model = new \common\models\Product;

        //  Set the data to each attribute
        $model->name = $objPHPExcel->getActiveSheet()->getCell('A'.$row)->getValue();
        $model->price = $objPHPExcel->getActiveSheet()->getCell('B'.$row)->getValue();
        // Etc...

        $model->save();
    }
}

When that code is executed, only the first iteration of the for-loop is being saved in the database.
Now, I've debugged showing what has been setted each iteration, and also verifying that each iteration is actually happening (and not breaking). Also, the logs don't show anything abnormal.
Anyone with similar behaviours in v2.0.3?

It can be caused by not valid model. Check your validation rules first or try save(false) to understand situation better.

I already tried this solution, because as soon as I use save(false), it works perfectly. In the model and in the database, everything except a timestamp (in unix format), are strings, and the model is ok. Also, the model was created using the Gii generator.
It's really wierd.

I already tried this solution, because as soon as I use save(false)

Great, than this is sign that you model is non valid for some cases. Now its obvious where is troubles, now make something like VarDumper::dump($model->errors) after $model->save() and you'll see concrette validation errors.

Also, the model was created using the Gii generator.

It does not matter, Gii generate only model template, you should tune rules manually.

$highestRow = $sheet->getHighestRow();

...

$model->name = $objPHPExcel->getActiveSheet()->getCell('A'.$row)->getValue();

Maybe the $sheet used on the first line isn't the same as the used on the second one, try debugging $higgestRow

@XzAeRo please use the forum for questions, github is an issue tracker.


nixosTests.gitlab: do not block nixos-unstable on aarch64

gitlab (or its test) commonly needs work to keep succeeding, and currently I fail to see energy to keep it in sufficient shape for aarch64 to remain a channel blocker.  (x86_64 still will be)
Things done

Most of the usual checklist doesn't apply here.

25.05 Release Notes (or backporting 24.11 and 25.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I don't recall anyone saying they run a gitlab instance on aarch64 NixOS.  Here is a good place to state so.

I'm getting a bit stressed due to nixos-unstable being a week old already.  I know it's holiday time, but still.

We will probably want to revert this once upstream fixes things, but I don't think we can move forward without upstream here, and hopefully we don't have many aarch64 Gitlab deployments out there.


[Feature Request]: Adding docker compose

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
docker compose allows you to define and manage multi-container Docker applications. It also make it easy to work with and deploy the entire application stack.
Use Case
It runs the container in one code and some of it valuable features
Multi-Container Deployment
Easy Management
Isolation
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Is there an existing issue for this?

[x]  I have searched the existing issues

Feature Description
docker compose allows you to define and manage multi-container Docker applications. It also make it easy to work with and deploy the entire application stack.
Use Case
It runs the container in one code and some of it valuable features Multi-Container Deployment Easy Management Isolation
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[x]  I have read the Contributing Guidelines
[x]  I'm a GSSOC'24 contributor
[x]  I have starred the repository

Hello @Ratangulati , Go for it
All the Best

@Trisha-tech if no one doing on this issue kindly assign to me

Hi @Trisha-tech
I would like to work on this feature to dockerize the application. If you are ok please assign to me.


Update lastTransitionTime only when changed for ephemeralStorageEnabled status object

Tested this to validate that the reconcile loop was no longer looping indefinitely, and that the status field was still getting updated.


bar char color

if i only have 1 datasets...
how can i modified color each data?

@classix16 we are aiming to support this in v2.0 with an array of colours. You can check the progress of v2.0 in the v2.0-dev branch. Unfortunately, we do not yet have a timeline for when v2.0 may be released.

Huzzah! The first alpha of Chart.js 2.0 has landed and should fix this issue. Check out the release and try it out! We've got a lot of momentum right now, so please help us test so we can launch 2.0 Gold by the end of the month.
https://github.com/nnnick/Chart.js/releases/tag/v2.0-alpha
I'm closing this issue for now, but if you have implementation questions or find bugs, please create a jsfiddle and post the link here and we'll reopen this issue and get it fixed.


Help with Vue 3 adaptation of Carousel

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Normally I don't need help with the Vue adapation. Usually things are straightforward. However, some sore spots are transitions. They can be difficult, especially because not all transitions are built the same.
One thing that's presenting an issue to me is the carousel. Previously I somehow made it work by reversing the direction of the start/end carousel items https://github.com/bootstrap-vue-next/bootstrap-vue-next/blob/main/packages/bootstrap-vue-next/src/components/BCarousel/BCarousel.vue#L160 and the carousel item being declared in the transition class -- rather than just being a static class.
I tried to fix it in this in this diff https://github.com/bootstrap-vue-next/bootstrap-vue-next/compare/main...VividLemon:bootstrap-vue-next:carousel-hack#diff-add493a7ac584c35f6cbfa84f4f62bec7152e3b9c0ff8cd1eed7398d4871b2a1
The previous worked "fine", but it suffered from the mentioned above issues.
I mention it in the code https://github.com/bootstrap-vue-next/bootstrap-vue-next/blob/77fe9cd85cc911bca5aaff41294afead30e52dc4/packages/bootstrap-vue-next/src/components/BCarousel/BCarousel.vue#L153
I can upload a video of what occurs, but the most straightforward way to play with it yourself is to
clone https://github.com/VividLemon/bootstrap-vue-next.git
git switch carousel-hack
pnpm i
pnpm dev --filter bootstrap-vue-next

Then open the dev link that appears
When clicking through the controls, it does two things, first, it stutters around, the second issue, it clips on the ends. It seems as if it's out of sync. I have a hard time believing it's strictly a Vue issue, and more it's an issue with both Vue and Bootstrap.
It would be a great help to get some official Bootstrap support on this issue, as I seemingly can't get this one done alone.
Reduced test cases
na
What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
5.3

This sounds like a question for the Vue Bootstrap project instead of here.

This sounds like a question for the Vue Bootstrap project instead of here.

I am the project 👀 lol

@VividLemon I'll try to look at it. Seems like your carousel-hack branch doesn't exist anymore. Is there another branch to use or maybe it's been merged already in the main branch?

@VividLemon I'll try to look at it. Seems like your carousel-hack branch doesn't exist anymore. Is there another branch to use or maybe it's been merged already in the main branch?

@julien-deramond Sorry about that.
https://github.com/VividLemon/bootstrap-vue-next/tree/carousel-hack it's strange. There doesn't seem to be any difference between the Bootstrap classes that are added during transition and the classes I add during transition.
https://github.com/VividLemon/bootstrap-vue-next/blob/carousel-hack/packages/bootstrap-vue-next/src/components/BCarousel/BCarousel.vue#L158

So I tried the carousel-hack branch and not yet the other version in bootstrap-vue-next/main.
I've added the following CSS override in styles.scss to see the animation more slowly and the classes added and removed more easily:
.carousel-item {
  transition: transform 2s ease-in-out !important;
}

Also added temporarily the following CSS to see more what's in action:
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
  transform: translateX(100%) translateY(50%) !important;
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
  transform: translateX(-100%) translateY(50%) !important;
}

I'm not that familiar with Vue.js but the combo of Transition + v-for + v-show would probably make only one item displayed at the same time. When we transition from one slide to another, there's an extra display: none inline CSS for slides that are not the current one. It seems to be added directly by Vue with the combo mentioned before since it's not done "manually" by your code in BCarouselSlide.vue and/or BCarousel.vue. This extra forced display: none could cause an issue because it's handled directly with the classes in Bootstrap:
.carousel-item {
  /* ... */
  display: none;
  /* ... */
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
  display: block;
}

And anyway, two slides must appear at the same time during the animation.
Based on this observation, I've started to modify the *.vue files and naturally, based on the documentation, tried out TransitionGroup. Now I can see that's what you've done in bootstrap-vue-next/main. I'll try to check what you've done here as well to compare.
But based on these first observations, it seems that the combination of Bootstrap classes used in your *.vue files are the right ones and rather at the right time in the chain of events. Maybe there's a timing issue coming from the Vue transitions or something, I'm not sure yet what happens here for now.


Add aarch64-unknown-linux-musl target

This adds support for Aarch64 builds with musl libc.

Thanks!

Would really appreciate to have a release cut with this change! :-)

Sure thing, done!


Error on buylimit?

Hello
My Node has been working fine for a few days and now im getting errors on buylimit?
console.log('Sending buy order  ' + mercado + " - " + ammount + " - " + marketbuy);
bittrex.buylimit({market: mercado, quantity: ammount, rate: marketbuy}, function (data2, err) {
var uuid = data2.result.uuid;
});
Sending buy order  BTC-SNGLS - 1314.16837782 - 0.000051135
ERROR: TypeError: Cannot read property 'result' of null
Any ideas? i logged in and there is sufficient BTC for the trade, is the second trade i get the error.

please check if there is an error being returned to you
bittrex.buylimit({market: mercado, quantity: ammount, rate: marketbuy}, function (data2, err) {
if (err) {
  return console.error(err);
}
var uuid = data2.result.uuid;
});

Well.. my mistake..it seems it is inssuficient balance
let me close this.


Create tests to cover full auth flow

Currently our tests cover only the first part of the flow when we call /api/login/authorize to create a state and redirect to KC. We need to cover the second part when after successful authentication KC redirects back to /api/login/authorize and passing the state from the first call.

Hi

We need to cover the second part when after successful authentication KC redirects back to /api/login/authorize and passing the state from the first call.

/api/authorize/login is called using state and code .
We can't really have a positive test for code because it is generated after a  successful user interaction.
We already have

test for incorrect state.
test for correct state & incorrect code.

So no matter what, config.Exchange(ctx, code) would always return an error.
I don't see what tests more we can add for this second step, do you have something different in mind, @alexeykazakov ?

This is a standard (statefull) oauth workflow. What we could do here is to simulate our Keycloak:

Call Perform() As a response we will get a redirect URL with the state.
Extract this state and call Perform() again passing all needed params simulating a callback/redirect from Keycloak/browser.

Moved to https://github.com/fabric8-services/fabric8-auth/issues/34
Closing.