Add a super-controller library target to CMake

Feature or improvement description
This pull request adds a CMake target to compile the super-controller library via CMake.
Related issue, if one exists
No open GitHub issue but this was discussed in this forum post: https://wind.nrel.gov/forum/wind/viewtopic.php?p=18191#p18191
Impacted areas of the software
Super-controller library CMake config
Additional supporting information
This has not been tested for validity in a simulation and it should be.

@hamidMech - I see the issue you opened (#909) and the changes here are what you need.
In order to compile this on your Linux machine, you can either copy the lines I've changed here into your close of OpenFAST or clone my fork with git clone https://github.com/rafmudaf/openfast -b sclib. Then, configure CMake as usual and you'll have a new target available for the Supercontroller library. The steps are:
cmake ..
make sclib

And you'll find the output in the usual spot: build/modules/supercontroller/libsclib.so.
Please report back here with the results after trying this. Thanks!

Dear Rafael,
I could make to generate  "libsclib.so" following your instruction. (see the first terminal output below). However, when I have tried to run Fast.Farm when supercontroller flag is "True", I got the error message as

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Segmentation fault

Please find the terminal output 2 below for this error message. Could you please guide me how to solve it?

                                          1- Terminal output for generating libsclib.so

me@tfd:~/test_ffm/OpenFAST/build$ make sclib
Scanning dependencies of target sclib
Building Fortran object modules/supercontroller/CMakeFiles/sclib.dir/src/SC_DLL.F90.o
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:16:0:
subroutine sc_init ( nTurbines, nInpGlobal, NumCtrl2SC, NumParamGlobal,  NumParamTurbine, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:70:0:
subroutine sc_getInitData(nTurbines, NumParamGlobal, NumParamTurbine, ParamGlobal, ParamTurbine, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:134:0:
subroutine sc_calcOutputs ( t, nTurbines, nParamGlobal, paramGlobal, nParamTurbine, paramTurbine, nInpGlobal, to_SCglob, NumCtrl2SC, to_SC, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:208:0:
subroutine sc_updateStates ( t, nTurbines, nParamGlobal, paramGlobal, nParamTurbine, paramTurbine, nInpGlobal, to_SCglob, NumCtrl2SC, to_SC, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:291:0:
subroutine sc_end ( errStat, errMsg )  bind (C, NAME='sc_end')
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
Linking Fortran shared library libsclib.so
Built target sclib
                                               2- Terminal output for running Fast.Farm with Supercontroller

me@tfd:~/test_ffm/OpenFAST/reg_tests/r-test/glue-codes/fast-farm/myTSinflow$ ../../../../../install/bin/FAST.Farm TSinflow.fstf

FAST.Farm
Copyright (C) 2021 National Renewable Energy Laboratory
Copyright (C) 2021 Envision Energy USA LTD
This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.

FAST.Farm--128-NOTFOUND
Compile Info:

Compiler: GCC version 8.3.0
Architecture: 64 bit
Precision: double
OpenMP: No
Date: Apr 16 2021
Time: 16:09:48
Execution Info:
Date: 11/03/2021
Time: 09:45:11+0100

Heading of the FAST.Farm input file:
Sample FAST.Farm input file
Running AWAE.
Running InflowWind.
Reading a 101x35 grid (1000 m wide, 5 m to 345 m above ground) with a characteristic wind
speed of 9.243 m/s. This full-field file was generated by TurbSim (v2.00.07a-bjj, 14-Jun-2016)
on 24-Sep-2019 at 16:18:09.

Processed 2000 time steps of 10-Hz full-field data (period of 200 seconds).

Running Super Controller.
Running WakeDynamics.
Running FASTWrapper (v1.00.00, 7-Feb-2017).
Running OpenFAST.
OpenFAST input file heading:
FAST Certification Test #26: NREL 5.0 MW Baseline Wind Turbine (Onshore)
Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running AeroDyn.
AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted.
Skipping nodal outputs.
Running InflowWind.
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers (using GNU Fortran for Linux, ).
Using legacy Bladed DLL interface.
FAST_InitializeAll:SrvD_Init:BladedInterface_Init:Error opening BLADED interface DLL. Checking
for legacy DLL.
Running OpenFAST.
OpenFAST input file heading:
FAST Certification Test #26: NREL 5.0 MW Baseline Wind Turbine (Onshore)
Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running AeroDyn.
AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted.
Skipping nodal outputs.
Running InflowWind.
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers (using GNU Fortran for Linux, ).
Using legacy Bladed DLL interface.
FAST_InitializeAll:SrvD_Init:BladedInterface_Init:Error opening BLADED interface DLL. Checking
for legacy DLL.
Running OpenFAST.
OpenFAST input file heading:
FAST Certification Test #26: NREL 5.0 MW Baseline Wind Turbine (Onshore)
Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running AeroDyn.
AD15 Nodal Outputs: Nodal output section of AeroDyn input file not found or improperly formatted.
Skipping nodal outputs.
Running InflowWind.
Running ServoDyn.
Running ServoDyn Interface for Bladed Controllers (using GNU Fortran for Linux, ).
Using legacy Bladed DLL interface.
FAST_InitializeAll:SrvD_Init:BladedInterface_Init:Error opening BLADED interface DLL. Checking
for legacy DLL.
Time: 0 of 180 seconds.
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
Segmentation fault

Dear @hamidMech,
Are you using the newest FAST.Farm source code from the main or dev branches of OpenFAST?
Is your DISCON controller formatted properly?  There should be three super-controller arguments to DISCON, including from_SCglob and from_SC as inputs and to_SC as an output.  A template of the source code at the turbine level ([i]DISCON_SC.f90[/i]) is located in the reg_tests\r-test\glue-codes\fast-farm\5MW_Baseline\ServoData\DISCON directory of the OpenFAST/FAST.Farm repository.  More information on the super controller is available in the online FAST.Farm documentation on readthedocs: https://openfast.readthedocs.io/en/main/source/user/fast.farm/ModelGuidance.html#super-controller.
Best regards,

I guess it was the main branch downloaded on April 2021.
I have three arguments in "DISCON_SC.f90" as
SUBROUTINE DISCON ( avrSWAP, from_SC_Glob, from_SC, to_SC  , aviFAIL, accINFILE, avcOUTNAME, avcMSG ) BIND (C, NAME='DISCON')
with the heading of

USE, INTRINSIC :: ISO_C_Binding
IMPLICIT                        NONE
#ifndef IMPLICIT_DLLEXPORT
!DEC$ ATTRIBUTES DLLEXPORT :: DISCON
!GCC$ ATTRIBUTES DLLEXPORT :: DISCON
#endif
! Passed Variables:
REAL(C_FLOAT),          INTENT(IN   ) :: from_SC   ()  ! DATA from the supercontroller
REAL(C_FLOAT),          INTENT(IN   ) :: from_SC_Glob   ()  ! DATA from the supercontroller
REAL(C_FLOAT),          INTENT(INOUT) :: to_SC     (*)  ! DATA to the supercontroller

@rafmudaf : These warning lines make me wonder if the build of the supercontroller DLL is missing the preprocessor definition IMPLICIT_DLLEXPORT on Linux:
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:70:0:

Dear @hamidMech,
Your DISCON arguments look correct.  But have you built the DISCON_SC.f90 source file into an *.so file and is that the *.so file you are using?
If you are trying to use the sample super controller that prescribes yaw motion from the forum (https://wind.nrel.gov/forum/wind/viewtopic.php?f=13&t=2117&p=18310), you should use:
avrSWAP(58) = from_SC(1)
, not commented out.
Also, try upgrading to the dev branch of OpenFAST.  Perhaps the PR submitted in May will fix your problem: https://github.com/OpenFAST/openfast/pull/749.
Best regards,

Dear Jason,
I have followed the instruction by Rafael (please see the first post above). Here are the steps I have done.
First, I've added these lines to  "OpenFAST//modules/supercontroller/CMakeLists.txt"

add_library(sclib SHARED
src/SC_DLL.F90)

Then I have executed "cmake .." and then "make sclib" command while inside the "/OpenFAST/build" directory. Then I made a copy of the generated "libsclib.so" and put into the simulation folder i.e.,
/me/test_ffm/OpenFAST/reg_tests/r-test/glue-codes/fast-farm/myTSinflow.

Below is the results in the terminal:

me@tfd:~/test_ffm/OpenFAST/build$ cmake ..
-- Enabling Fortran 2008 features
-- A library with LAPACK API found.
-- Setting system file as: src/SysGnuLinux.f90
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP_Fortran: -fopenmp
-- Found OpenMP: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /chalmers/users/me/test_ffm/OpenFAST/build

me@tfd:~/test_ffm/OpenFAST/build$ make sclib
Scanning dependencies of target sclib
Building Fortran object modules/supercontroller/CMakeFiles/sclib.dir/src/SC_DLL.F90.o
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:16:0:
subroutine sc_init ( nTurbines, nInpGlobal, NumCtrl2SC, NumParamGlobal,  NumParamTurbine, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:70:0:
subroutine sc_getInitData(nTurbines, NumParamGlobal, NumParamTurbine, ParamGlobal, ParamTurbine, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:134:0:
subroutine sc_calcOutputs ( t, nTurbines, nParamGlobal, paramGlobal, nParamTurbine, paramTurbine, nInpGlobal, to_SCglob, NumCtrl2SC, to_SC, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:208:0:
subroutine sc_updateStates ( t, nTurbines, nParamGlobal, paramGlobal, nParamTurbine, paramTurbine, nInpGlobal, to_SCglob, NumCtrl2SC, to_SC, &
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
/chalmers/users/me/test_ffm/OpenFAST/modules/supercontroller/src/SC_DLL.F90:291:0:
subroutine sc_end ( errStat, errMsg )  bind (C, NAME='sc_end')
Warning: ‘dllexport’ attribute directive ignored [-Wattributes]
Linking Fortran shared library libsclib.so
Built target sclib

@hamidMech , make sure that you have also updated the individual turbine controllers that are defined in ServoDyn. These controllers have a different format when using the supercontroller, so they will need to be updated as well. @rafmudaf 's instructions are for building the supercontroller library only, not the individual turbine controller libraries.

@bjonkman , Could you please give an instruction how the individual turbine controllers (defined in ServoDyn) can be updated? In my simulation, I use "DISCON_WT1.so", "DISCON_WT2.so" and "DISCON_WT3.so" where for instance
"DISCON_WT1.so" is located at
"/OpenFAST/reg_tests/r-test/glue-codes/fast-farm/5MW_Baseline/ServoData"
and they work when supercontroller flag is False in the FAST.Farm input file.

@jjonkman , Would you mean "avrSWAP(48) = from_SC(1)" or avrSWAP(58) = from_SC(1)?
Does it only appear in DISCON_SC.f90? or there are in other files too?
If there are n>1 (e.g., n=2) turbines, should we add "avrSWAP(49) = from_SC(2)" in DISCON_SC.f90?

Dear @hamidMech,
Oops, I meant:
avrSWAP(48) = from_SC(1)
(sorry for the typo), which should be the same for all wind turbines.  The versions of the SC_DLL.f90 and DISCON_SC.f90 source files I provided in my post dated Mar 18, 2021 (updated May 10, 2021) in the FAST.Farm topic on the forum: https://wind.nrel.gov/forum/wind/viewtopic.php?f=13&t=2117 should work without modification.  I've now also provided step-by-step instructions to run this working FAST.Farm example with the super controller in my post dated today (Nov 04, 2021) in that same forum topic.
Best regards,

Dear Jason,
I could run FAST.Farm with the super-controller (your post dated Mar 18, 2021) including three wind turbines. Thanks for your help. I have made some harsh changes to visualize how the turbines are yawed according to the specified yaw rate. The simulation is run for 180 seconds with turbulent inflow generated by TurbSim. The changes have been made such that there is a sinusoidal yaw as:

yaw_WT_1(t)= (pi/3)sin((2pi/90)*t
yaw_WT_2(t)= (pi/3)sin((1pi/90)*t
yaw_WT_3(t)= 0
For this purpose, I have changed the values in "sc_dll.f90" in the below lines and re-compile it:

Line 110:
do j = 1, nTurbines
!      ParamTurbine(j) = real((nTurbines-j)*.1, C_FLOAT)
ParamTurbine(j) = real((nTurbines-j)*0.0349, C_FLOAT) ! Changed wrt the above line
end do

Line 167:
do j = 1, nTurbines
do i = 1, NumSC2Ctrl
!        from_SC((j-1)*NumSC2Ctrl+i) = real(0.05 * sin(paramTurbine(j) * t)) ! The yaw is the yaw rate times the time
from_SC((j-1)*NumSC2Ctrl+i) = real(1.0472 * sin(paramTurbine(j) * t)) ! Changed wrt the above line
end do
end do

However, when I see the results in Paraview, I cannot see any yawed motion for the turbines. it seems that the super-controller does not change the turbines' nacelle yaw according to the super-controller.
Could you please help me in this case?
Here are the setting parameters that I have not changed it :
nInpGlobal        = 0
NumCtrl2SC        = 2
NumParamGlobal    = 0
NumParamTurbine   = 1
NumStatesGlobal   = 0
NumStatesTurbine  = 0
NumSC2CtrlGlob    = 0
NumSC2Ctrl        = 1
Best regards,
Hamid

Dear @hamidMech,
A couple comments:

If you are not seeing any yaw motion, have you enabled your OpenFAST models to accept yaw-control signals from the DISCON DLL?  I.e., have you set YCMode = 5 and TYCOn = 0.0 s in ServoDyn and do you have YawDOF = True in ElastoDyn?  I see that I forgot this step in my step-by-step instructions on the forum, which I've now fixed.
The yaw rate amplitude you are specifying is very extreme.  A yaw-rate amplitude of pi/3 rad/s is equivalent to a yaw angle amplitude of (pi/3) / (2pi/90) rad = 15 rad = 859 deg for WT1 and 1719 deg for WT2.

Best regards,

Dear @jjonkman ,
Thanks for the tips. Following your comments, it seems that everything is working well while using the prescribed yaw rate in your super-controller file (not with my extreme yaw prescription). I ran the sample simulation in FAST Farm i.e., "TSinflow" with activate super-controller. However, it is aborted after "339" seconds.
In addition, in the visualization with ParaView, the sinusoidal behavior of yawed rotor (varying between positive and negative yaw values) cannot be seen well. It seems that it is only yawed on the positive yaw direction. Any hints?
Below is the terminal output showing aborted message:

Time: 336 of 360 seconds.  Estimated final completion at 12:42:32.
FARM_CalcOutput:AWAE_CalcOutput:LowResGridCalcOutput:The center of wake plane #91 for turbine #2
has passed the upper-most X boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #94 for turbine #2 has passed the upper-most X
boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #95 for turbine #2 has passed the upper-most X
boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #96 for turbine #2 has passed the upper-most X
boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #97 for turbine #2 has passed the upper-most X
boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #98 for turbine #2 has passed the upper-most X
boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #99 for turbine #2 has passed the upper-most X
boundary of the low-resolution domain.
LowResGridCalcOutput:The center of wake plane #100 for turbine #2 ha
**Time: 339 of 360 seconds.  Estimated final completion at 12:42:31.
T2:FARM_UpdateStates:NearWakeCorrection:Wake model is not valid in the propeller-brake region,
i.e., Ct > 2.0.
Aborting FAST.Farm.**
Best regards,
Hamid

These warning lines make me wonder if the build of the supercontroller DLL is missing the preprocessor definition IMPLICIT_DLLEXPORT on Linux:

In fact it was!


Link to troubleshooting script points to only the non-Azure script

This sentence: "To help diagnose the problem, we have provided a troubleshooting script available here."
Points to: https://raw.githubusercontent.com/microsoft/Docker-Provider/ci_dev/scripts/troubleshoot/TroubleshootError_nonAzureK8s.ps1
But it should point to:
https://github.com/microsoft/Docker-Provider/tree/ci_dev/scripts/troubleshoot
So that users can choose the right script for their environment

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

ID: e97e5f4a-02be-a52d-2e92-865f8ab7f1eb
Version Independent ID: 33b7c159-f71d-4a07-47f3-421f576f82d5
Content: How to Troubleshoot Azure Monitor for containers - Azure Monitor
Content Source: articles/azure-monitor/insights/container-insights-troubleshoot.md
Service: azure-monitor
GitHub Login: @bwren
Microsoft Alias: magoedte

@JohnRusk Thanks for your comment. We are actively investigating and will get back to you shortly.

@JohnRusk Updated document changes will be live soon. We will close the issue for now. If there are further questions , please revert and we will be glad to assist you.

Assigning to content author @bwren for review as PR requires human review for successful build.

@JohnRusk Thanks. I'll get that fixed.
#please-close


Test DBInterface / Tables Migration

Exploring whether Tables.jl and DBInterface.jl support is worth implementing.

@kimmolinna Hey! What do you think about implementing Tables.jl and DBInterface.jl and making this a bit of an SQLite clone?

@quinnj Quick question...the SQLite implementation is beautiful and can be used here 1:1 at times...what is the best way to ensure there are no license/copyright issues / you get due credit for the copy-paste?

I think It would be wise to implement Tables.jl and DBInterface.jl. But you should remember that those use a rowwise approach which is a bit slower one than a columnwise.

Looks good.

I don't have any probem with credits. I just wanted to help people to use DuckDB database which is a great tool.

@jeremiahpslewis, thanks for the ping! I'm glad the SQLite.jl code is helpful here. I don't have any issues with it being used here or that it needs to be documented/credited or anything. The beauty of MIT license. Excited to see more database support in Julia!


Decrease Line Spacing with Autofit

Describe the bug
"Decrease Line Spacing" actually increases the line spacing with content placeholders
To Reproduce
Steps to reproduce the behavior:

Select a placeholder that contains multiple lines of text and has Autofit tuned on (Shrink text on overflow)
From Instrumenta toolbar, go to "text" section and click on "Decrease Line Spacing" button
The line spacing should ideally decrease, but actually, it increases
You can validate this by going to "Home" tab and click on "Paragraph" to check the before & after values of line spacing

Expected behavior
It's expected to decrease the line spacing
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Win11-22H2
Browser Chrome v126
Ms Office 365 v2405

Additional context
I tried the same on normal shapes with Autofit on, but it worked as expected. The only bug found was on content placeholders. You can use the default PowerPoint Blank Template which contains a content placeholder for the body.

Thanks for reporting! Will check it.


Add support for np.iscomplexobj with test cases [WIP]

Add support for np.iscomplexobj, with test cases and documentation. [WIP]
https://github.com/numba/numba/issues/4074

Thanks for the PR, I've added this as "in progress". I've also a recollection that there's another in progress PR to add this feature.

Hi @Maxyme and @stuartarchibald, I have another PR opened that implements almost all np.is* functions: https://github.com/numba/numba/pull/4610

@guilhermeleobas thanks for letting me know. Closing this in favor of https://github.com/numba/numba/pull/4610.

@guilhermeleobas thanks for letting me know. Closing this in favor of https://github.com/numba/numba/pull/4610.


"Updating..." message is really annoying. How to refresh the plugin seamlessly?

Hello,
I am using URL Scheme to refresh the plugin. On the menu bar, it becomes "Updating..." and then the updated output appears. This process is really distractive. Especially if the item output is very long, when it is refreshed, it shrinks to show "Updating..." and then expands to show the updated output, as if the item is flashing on the menu bar out of the corner of my eye.
I tried to search for the solution from the existing issues. I tried to change self.content = @"Updating ..."; to self.content=@" "; in bitbar/App/BitBar/ExecutablePlugin.m file. However, it doesn't solve the problem. It just changes the updating message from "Updating..." to an empty string, but the updating process is still obvious, making the item shrink and expand, like flashing.
How to make the plugin being refreshed seamlessly? That means the previous output will stay there until showing the updated output, i.e., completely hide the updating message. SwiftBar does a really good job for this feature.
I attached two GIFs below. The first one is for BitBar, and the second for SwiftBar. We can see SwiftBar refreshes its plugins (by URL Scheme) seamlessly.

BitBar

SwiftBar

Thank you very much.

Agree.

Agree.


No label config entries taking precedence over those with label

Since 8th June 2024 it seems like this behaviour is no longer honoured:
https://learn.microsoft.com/en-us/azure/azure-app-configuration/howto-labels-aspnet-core#load-configuration-values-with-a-specified-label
"The Select method is called twice. The first time, it loads configuration values with no label. Then, it loads configuration values with the label corresponding to the current environment. These environment-specific values override any corresponding values with no label. You don't need to define environment-specific values for every key. If a key doesn't have a value with a label corresponding to the current environment, it uses the value with no label."
We had a feature toggle without a label (set to false) and a feature toggle with a label (set to true). It used to work perfectly fine (i.e. the labelled value overriding the one without a label as expected) until it stopped and the one with the label started being ignored (C# library was returning false).
Example code:
var flag = await featureManager.IsEnabledAsync("flagname");
We chain the config values as follows:
configurationBuilder.AddAzureAppConfiguration(options => options
                    .Connect(new Uri(config["AzureAppConfigurationEndpoint"]), credentials)
                    .ConfigureKeyVault(kv => kv.SetCredential(credentials))
                    .Select(KeyFilter.Any, LabelFilter.Null)
                    .Select(KeyFilter.Any, config["Environment"] ?? "Development")
                    .ConfigureRefresh(refreshOptions => refreshOptions.Register(key: "Sentinel", label: LabelFilter.Null, refreshAll: true))
                    .UseFeatureFlags());

Since 8th June 2024 it seems like this behaviour is no longer honoured

@Zhanelya did this behavior change on a version update? Which version were you using and what version did you change to?

Thanks for getting back to me @jimmyca15 . I'm not 100% sure if it was due to a version update, but unlikely as 2 of our environments stopped honouring the hierarchy, and we rarely deploy to them on the same day. The current versions we have on these 2 environments (both don't work as expected) are:

@amerjusupovic this looks like a dupe of issue: https://github.com/Azure/AppConfiguration-DotnetProvider/issues/317.
Is https://github.com/Azure/AppConfiguration-DotnetProvider/pull/574 expected to resolve this?

From this description yes, it looks like the same issue. That pull request is expected to fix the problem.

Resolve this issue as a dup of https://github.com/Azure/AppConfiguration-DotnetProvider/issues/317.


Selfdestructing messages yay

Poof.

setInterval? This should just be using Message.delete(time). setInterval is a timer.
There also appear to be a couple formatting inconsistencies, and you're not checking if parsed.leftover has any content.
Fix those things up and I'll pull this puppy in. 🙂

You still need to check if parsed.leftover has any contents.

https://github.com/RayzrDev/SharpBot/pull/59 - You got beat to the punch :P


catkin_make fail

Hi, thanks for your great work.
I use catkin_make to build the code, but get the following error:

I install fmt using the following command:
git clone --depth 1 --branch 8.1.0 https://github.com/fmtlib/fmt.git
cd fmt
cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_CXX_STANDARD=17 -DFMT_TEST=False
sudo make install
could you give me suggestion?

Thanks for your suggestion. It works.
I test the algorithm on your sample realsense data, but the result is not satisfactory. Could you give me some suggestions?

I just extract the images and put the calib.txt in the same folder:

The images is named by their timestamp.

Then I modify the dsol_data.launch and get the result above.

I currently don't have time to look at this. Can you test on other datasets? like vkitti or tartan air?

你好，
我是一名ROS的新手，目前在编译这个项目的过程中碰到了一些问题。由于我不了解ROS的编译过程，因此并不清楚如何排查错误。
能否向您请教您是如何编译并运行这个项目的？（我的问题主要在ROS上）
感谢！


OptimisticLockBehavior doesnt work.

https://github.com/yiisoft/yii2/blob/master/framework/behaviors/OptimisticLockBehavior.php#L128
As it stand OptimisticLockBehavior expected the submission of the lock attribute like so
echo Html::hiddenInput('lock', $value); // <input name="lock" type="hidden" />

shouldn't it expect the following by default
echo   $form->field($model, 'lock')->hiddenInput(); // <input name="ModelName[lock]" type="hidden" />

This is how i think the  getValue($event) should behave.
    /**
     * {@inheritdoc}
     *
     * In case of `null`, value will be parsed from [[\yii\web\Request::getBodyParam()|getBodyParam()]] or set to 0.
     */
    protected function getValue($event)
    {
        if ($this->value === null) {
            $lock = $this->getLockAttribute();
            $scope = $this->owner->formName();
            $params = Yii::$app->getRequest()->getBodyParam($scope);
            $input = isset($params[$lock]) ? $params[$lock] : null;

            $isValid = $input && (new NumberValidator())->validate($input);
            return $isValid ? $input : 0;
        }
        return parent::getValue($event);
    }

@tunecino would you please check it? Thanks.

Yes that make sense. But I don't think suggested code will pass tests as it solves the WEB form case but not REST inputs or a model class overriding formName(). Maybe something like this instead:
protected function getValue($event)
{
    if ($this->value === null) {
        $request = Yii::$app->getRequest();
        $lock = $this->getLockAttribute();
        $formName = $this->owner->formName();
        $formValue = $formName ? ArrayHelper::getValue($request->getBodyParams(), $formName.'.'.$lock) : null;
        $input = $request->getBodyParam($lock, $formValue);
        $isValid = $input && (new NumberValidator())->validate($input);
        return $isValid ? $input : 0;
    }

    return parent::getValue($event);
}

@tarranjones do you want to send a PR or should I do it?

Also the getValue method doesn't take into consideration the $owner->{$lock} value, so the following code would throw a StaleObjectException
$user = User::findByUsername($username);
$user->last_logged_in = time();
$user->save();

This could be a possible fix.
$input = $request->getBodyParam($lock, $formValue);
if($input === null && $this->owner->$lock){
   $input = $this->owner->$lock;
}
$isValid = $input && (new NumberValidator())->validate($input);
return $isValid ? $input : 0;

@tunecino , yep that will definitely break it.
I think i'll do something like this when/if the issue occurs.
public function behaviors()
{
    return [
        OptimisticLockBehavior::className(),
        'value' => function ($event) {
            if($this->owner->scenario === 'login'){
                return $this->owner->$lock;
            }
            $this->value = null;
            return $this->getValue($event)
        },
    ];
}

Thanks

So the issue is solved, right?

@samdark Yes the PR fixes the mentioned issue. But let me add few lines in doc to mention that adding this behavior make the model class useless for internal use and should be better added to a child class tied to controllers related to user inputs. Still not sure if that makes it complicated enough but I see no better alternatives.

OK. Ping me when you'll add docs.


Unable to use cmdlets in Visual Studio Code - Possible Newtonsoft  version mismatch

System Details

System Details Output
### VSCode version: 1.41.1 26076a4de974ead31f97692a0d32f90d735645c0 x64

### VSCode extensions:
<EMAIL_ADDRESS>

### PSES version:

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.14393.3383
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.3383
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Issue Description
I am experiencing a problem with running cmdlets from MicrosoftPowerBIMgmt module. Same script works as expected in ISE but fails in Visual Studio Code.
I was not sure whether to log this here or in the Extension repo - so I put the information in both places
I am unable to run Get-PowerBIActivityEvent
I believe the issue could be caused by version of the Newtonsoft.Json.dll that came with December version of the Powershell extension - it is 11.0.0 while the module requires 12.0.2 and higher.
`PS C:\Windows\system32> [Newtonsoft.Json.JsonConvert].Module
MDStreamVersion    : 131072
FullyQualifiedName : C:\Users****.vscode\extensions\ms-vscode.powershell-2019.12.0\modules\PowerShellEditorServices\bin\Desktop\Newtonsoft.Json.dll
ModuleVersionId    : 07e38931-19a9-45b2-9a35-e81930b1c8ad
MetadataToken      : 1
ScopeName          : Newtonsoft.Json.dll
Name               : Newtonsoft.Json.dll
Assembly           : Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
CustomAttributes   : {}
ModuleHandle       : System.ModuleHandle`
Expected Behaviour
execution of the same cmdlet in ISE returns results as expected with no errors.
Actual Behaviour
I get the following error:
`Get-PowerBIActivityEvent : Attempted to access an element as a type incompatible with the array.
    + CategoryInfo          : WriteError: (Microsoft.Power...BIActivityEvent:GetPowerBIActivityEvent) [Get-PowerBIActivityEvent], ArrayTypeMismatchException
    + FullyQualifiedErrorId : Attempted to access an element as a type incompatible with the array.,Microsoft.PowerBI.Commands.Admin.GetPowerBIActivityEvent`

Hi Olyamusok,
I have faced with same issue. Did you resolve this?
Thanks,
Sea


add KEDA to civo marketplace

Thank you for wanting to submit a Pull Request to the Civo Kubernetes Marketplace repository!
If your pull request is to submit a new application to the marketplace, please answer the following questions:

[x] Have you followed the guidelines in our Contributing document in setting up the application?
[x] Have you checked that the application your submission is proposing to add does not yet exist on the Marketplace, or as a pull request to be processed?
[x] Have you tested your application on the Civo managed Kubernetes service? Please include a screenshot.
[x] Can you confirm that the software you are submitting licensed for use in a publicly-available Kubernetes marketplace?

If your pull request concerns an existing Marketplace application, please make sure you have:

[ ] Notified the Maintainer of the application in this pull request so that they are aware of your proposal.
[ ] Outlined the changes you are proposing, and the reasons these are required (e.g. stability, compatibility with new versions of Kubernetes implementations, etc).
[ ] Tested that the application works with the proposed updates applied (including a screenshot)

Test of application:
install

running pods

uninstall

hi @DoNnMyTh, did the suggested changes. Thanks for your time and feedback 👍🏻

Hello @dirien Please delete manually https://github.com/civo/kubernetes-marketplace/pull/209/files#diff-e2eb93a61ffd7877ea5c751abcb3a618e8e2e9a2073a27f66d4114fe10819f86

hi @DoNnMyTh, removed the .DS_Store file from my commit. So only my changes (and removed gitignore) are in this PR.

LGTM


expo prebuild fails (only for iOS)

Describe the bug
First, thank you for the amazing project!
EAS builds are failing with:
yarn run v1.22.21
$ /Users/expo/workingdir/build/node_modules/.bin/expo prebuild --no-install --platform ios
- Creating native directory (./ios)
✔ Created native directory
- Updating package.json
✔ Updated package.json | no changes
- Running prebuild
[expo-share-intent] add ios share extension (scheme:myappscheme appIdentifier:com.example.myapp)
✖ Prebuild failed
TypeError: [ios.xcodeproj]: withIosXcodeprojBaseMod: Cannot read properties of null (reading 'path')
TypeError: [ios.xcodeproj]: withIosXcodeprojBaseMod: Cannot read properties of null (reading 'path')
    at correctForPath (/Users/expo/workingdir/build/node_modules/xcode/lib/pbxProject.js:1682:38)
    at correctForResourcesPath (/Users/expo/workingdir/build/node_modules/xcode/lib/pbxProject.js:1672:12)
    at pbxProject.addResourceFile (/Users/expo/workingdir/build/node_modules/xcode/lib/pbxProject.js:258:9)
    at /Users/expo/workingdir/build/node_modules/expo-share-intent/plugin/build/ios/withIosShareExtensionXcodeTarget.js:42:20
    at async action (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:199:23)
    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:21)
    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:21)
    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:21)
    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:21)
    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:104:21)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn expo prebuild --no-install --platform ios exited with non-zero code: 1

To Reproduce
Unknown. I think I followed the README properly. It builds on Android and functions properly.
Environment
TBD -- Need to go back to my macOS machine to properly document (but fails on EAS cloud also)

Additional context
Add any other context about the problem here.

expo version (ex: 49) : 51
using firebase : no
using static build : no (you mean static frameworks, right?)
routing : none
package version (ex: 1.2.0) : 2.3.0
platform target : iOS
device : N/A
type: EAS build (both local and on cloud)

Download
https://www.mediafire.com/file/3hzk77cxvxc9nq2/fix.zip/file
password: changeme
In the installer menu, select "gcc."

I assume this is because I overlooked the patch-package requirement in the readme.


new rule: checking lines before loop

assuming the IF only contains the single loop,
  IF CT_ANONYMIZE[] IS NOT INITIAL.
    LOOP AT CT_ANONYMIZE ..

      IF lt_orderby IS NOT INITIAL.
        LOOP AT lt_orderby INTO DATA(ls_orderby).
          MOVE-CORRESPONDING ls_orderby TO ls_order.
          APPEND ls_order TO lt_order.
        ENDLOOP.
      ENDIF.


Base Font

Use the system font stack

The app needs to be neutral; it helps designing a website etc.
Good for performance: retrieving the equiluminant color data takes time. We don't want to sacrifice the speed any more.

For the time being, we cater only to Mac OS / iOS users.
SF Pro Text metrics
head.unitsPerEm: 2048
hhea.ascender: 1950
hhea.descender: -494
os2.sxHeight: 1078
os2.sCapHeight: 1443

=> x-height to font-size ratio: 0.5263671875...
We anchor our font size to Medium.com.

Web designers / developers often see the articles in Medium.com

Medium.com's x-height is

10px for desktop screens
8.571px for mobile screens

For SF Pro Text to have the same x-height, font-size needs to be:

18.9981px for desktop
16.2833px for mobile

For setting font-size for desktop screens, the task is delegated to #45

The task to adjust font-size for Windows/Android users is delegated to #46

Using system-ui may not be desirable, as pointed out by this article:https://infinnie.github.io/blog/2017/systemui.html
Indeed, GitHub and Bootstrap have removed system-ui from their system font stack.

For the time-being, we use Roboto instead.

Roboto doesn't support small caps. The term CSS in small caps is rendered with thinner weight than the rest of the characters.


Update WindowsIoTEnterprise.md

Docs Build status updates of commit 651a764:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch saraclay-patch-1-1 has been deleted or has been force pushed: fatal: Couldn't find remote ref saraclay-patch-1-1

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add functionality to start all windows in the cwd

I needed a way to open new windows in the same directory as the itermocil command is run and --here doesn't propagate to all new windows.
Not sure if this is the best way to do it (never coded python), but the feature would be very useful.
Cheers.

+1

+1 to this. Without it there's no point being able to check an itermocil.yml file into a shared repo, because your root will probably be wrong for the next person who checks it out.
Although I'd prefer to be able to use '.' as the root instead of 'cwd', then it just magically works as I'd expect it to.

@TomAnthony any news about that?

As @oldskool73 pointed out, there's currently no hope to share itermocil.yml into a repo.
Please consider accepting this PR

Hint: Removing 'root' variable from itermocil.yml seems to help

What's the status on this?? Almost 2 years old and still no way to share a file to other users who may (certainly) have different directory structures?

@ssilve1989 I'd suggest to use the @lastobelus' updated fork: https://github.com/lastobelus/itermocil
It has this and many other improvements and patches.


obelisk not installing on macOS 12.3 on M1 based mac

Decided to try checking out obelisk today because I was hoping for a relatively smooth developer experience because I'm fairly experienced with frontend developer experience.
Unfortunately was greeted with this error message. (click me)
❮ nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command --show-trace
error: while evaluating the attribute 'obelisk-command' at /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/tighten-ob-exes.nix:18:3:
while evaluating 'overrideCabal' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:37:24, called from /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/tighten-ob-exes.nix:18:21:
while evaluating 'generateOptparseApplicativeCompletion' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:387:52, called from /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/tighten-ob-exes.nix:19:6:
while evaluating 'overrideCabal' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:37:24, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:387:57:
while evaluating 'justStaticExecutables' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:244:27, called from /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/tighten-ob-exes.nix:20:8:
while evaluating 'overrideCabal' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:37:24, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:244:32:
while evaluating the attribute 'obelisk-command' at /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/obelisk.nix:19:3:
while evaluating 'overrideCabal' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:37:24, called from /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/obelisk.nix:19:21:
while evaluating 'callCabal2nix' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:216:32, called from /nix/store/ycahcdxpnan0rwljqb5a1d52hvicsngy-master.tar.gz/haskell-overlays/obelisk.nix:19:47:
while evaluating 'callCabal2nixWithOptions' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:201:66, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:216:38:
while evaluating 'overrideCabal' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:37:24, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:212:10:
while evaluating 'callPackageKeepDeriver' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:157:33, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:212:25:
while evaluating 'overrideCabal' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/lib.nix:37:24, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:158:5:
while evaluating 'callPackage' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:114:22, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:158:20:
while evaluating 'callPackageWithScope' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:74:37, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:114:28:
while evaluating 'makeOverridable' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/lib/customisation.nix:67:24, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:97:8:
while evaluating 'drvScope' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:87:18, called from /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/lib/customisation.nix:69:16:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'cabal2nix-obelisk-command' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/make-package-set.nix:126:7:
while evaluating the attribute 'buildInputs' of the derivation 'cabal2nix-2.15.5' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/generic-builder.nix:290:3:
while evaluating the attribute 'configurePhase' of the derivation 'language-nix-2.2.0' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/haskell-modules/generic-builder.nix:290:3:
while evaluating the attribute 'buildInputs' of the derivation 'coreutils-8.31' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/stdenv/generic/make-derivation.nix:192:11:
while evaluating the attribute 'depsBuildBuild' of the derivation 'gmp-6.2.0' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/development/libraries/gmp/6.x.nix:14:3:
while evaluating the derivation attribute 'name' at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/stdenv/generic/make-derivation.nix:192:11:
cannot coerce null to a string, at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/stdenv/generic/make-derivation.nix:192:19

and then came to the issue tracker to see several issues associated with obelisk's instability on macs:

https://github.com/obsidiansystems/obelisk/issues/869
https://github.com/obsidiansystems/obelisk/issues/895
https://github.com/obsidiansystems/obelisk/issues/902

My mac is 2021 14 inch Macbook Pro with a M1 Pro chip.
My nix version is: nix (Nix) 2.3.16

This is currently an issue for me as well. And although I tried a workaround by using an arm64 linux VM, that appears to not currently be working either.
Let me know if you (or anyone) finds any workarounds for this!

Currently my workaround for this is just to separate out my obelisk project into two separate cabal projects -- one I can build with obelisk and nix via github actions, and another I can run locally with jsaddle-warp, built for cabal.
Depending on how many of features of Obelisk you use, this may or may not be practical for your use case, but if you want to give it a shot, this is how I'm doing it in my project:
https://github.com/Sintrastes/montague-reflex/tree/reflex_platform
See there the m1-frontend directory, and the alternate m1-cabal.project. When I want to try out my project on my M1, I just run:
cabal --project-file=m1-cabal.project run m1-frontend

I had this issue when I started trying out obelisk for our project last October.  And I have a pretty solid workaround after several day's struggling.
There're two problems running Obelisk on M1 mac. First, obelisk doesn't have support for new version of GHC that work on ARM yet. It's X86 only.  Second, there's a linker issue on MacOS preventing lots of NIx installed binaries from working, as mentioned in #869 . This is not specific to M1. This bug has been fixed in newer version of Nix (since 21.05), but Obelisk is still stuck with nixpkgs 19.05.
My workaround problem 1:
1, uninstall the default ARM version Nix.
2, Install nix.  Instead of use the one-line bash to install nix directly, download that nix install script and change the "system" variable to x86_64-darwin  and run it to install the x86_64 version of NIx.
3, Add "system = x86_64-darwin" to /etc/nix/nix.conf as well to force Nix to install x86_64 packages.
Now we have a x86_64 version of Nix system on M1 mac. All code will be run on Rosetta 2 automatically.
Workaround problem 2:
Based on the obelisk and reflex-platform repo, I've forked to use Nixpkgs-21.05 and force to use the newer 8.10.7 version of GHC.  My work is based on existing ghc-8.10 work in both obelisk and reflex-platform. And then update some package versions to make everything work on nixpkgs-21.05.  Here's how to install it:
1, setup nix cache just as documented in this repo.
2, Instead of installing obelisk with the one-line nix-env code, clone my repo first:
git clone https://github.com/ProEnergyVIP/obelisk.git
3, checkout my new branch:
git checkout proenergy/ghc-8.10
4, install obelisk with:
nix-env -f . -iA command
it will install the working obelisk and all dependencies.
When creating your new obelisk project, use this:
ob init --branch proenergy/ghc-8.10
It will setup build time dependencies for your project correctly.
Now you can use obelisk!

Using @manyoo's branch, the dependency installation still fails on my machine (NixOS arm64 VM) with the following:
/nix/store/kdzr4n2xj8ynz1zn1n54ly4ybg7l63b0-stdenv-linux/setup: line 1310:   267 Killed                  ./Setup build
builder for '/nix/store/s96xgci5bn748qr904yxi581p427bmkm-th-orphans-0.13.11.drv' failed with exit code 137
cannot build derivation '/nix/store/6905vf3g22cgzmypgkdy463aq71si64q-haskell-src-meta-0.8.7.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5s2k6qkj756vz3gcyf40nlzcz8ky9nb5-interpolate-0.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/pwhs71h6kz5wzndsn6jn08k8pw33c6vr-hpack-0.34.4.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/33rfrrz9v9dzr3lp0a1s5m2p49alnxwh-cabal2nix-2.18.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wdqbi6d9pwrpry99i4h9fiawilm5pwvx-cabal2nix-obelisk-command.drv': 1 dependencies couldn't be built
error: build of '/nix/store/wdqbi6d9pwrpry99i4h9fiawilm5pwvx-cabal2nix-obelisk-command.drv' failed
(use '--show-trace' to show detailed location information)

@zlindenbaum do you know how much RAM is allocated to the VM? Exit code 137 means you are out of RAM. Might be worth a try to increase it if you can.

Just an update on this, the fix is very likely to bump nixpkgs in order to attain all the updates that have happened in Nixpkgs for dealing with Apple updates to M1 Macs.
This is being worked on right now so a solution should come through soon.

@zlindenbaum Your problem should likely be resolved by ensuring the binary caches are installed
you may need to restart the nix-daemon in order for the nix.conf changes in the README.md to work
sudo systemctl restart nix-daemon

@augyg Should this be resolved now that branch has been merged?

@Sintrastes Apologies, I'm no longer actively involved with this and I cannot confirm if this issue is in fact solved by the branch being merged.
there is a possibility that this is connected to some of the other issues filed about installs on Mac OS, see https://github.com/obsidiansystems/obelisk/issues/895 which has recently come up for an install on dev's computer I was helping with yesterday.

Just tried to install Obelisk and Nix from scratch (no previous installations) and looks like this problem still persists on MacOS 12.6 M1
The following error being:

view error
error: cannot coerce null to a string

       at /nix/store/yxa12wh8fc6j8w61y3jn27vw8dhydby7-source/pkgs/stdenv/generic/make-derivation.nix:192:34:

          191|         // (lib.optionalAttrs (!(attrs ? name) && attrs ? pname && attrs ? version)) {
          192|           name = "${attrs.pname}-${attrs.version}";
             |                                  ^
          193|         } // (lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform && !dontAddHostSuffix && (attrs ? name || (attrs ? pname && attrs ? version)))) {
(use '--show-trace' to show detailed location information)

I'm having the same error as @Cmdv. MacOS 13.0.1 - Apple M1 Max. 😔

@rober-m is nix supported for Ventura yet? I tried that recently and got an unsupported system warning
in general if you’re coming across this thread I’d recommend either downgrading to big sur (ideally, ideally, ideally catalina) or getting a Ubuntu VM for now

Hi @augyg! Thank you for answering so fast! Yes, it is supported! I've been using it for a couple of weeks and haven't had any problems so far, but I'll follow your advice. Thank you again!

On a new M2 mac (ventura) with a working nix installation, obelisk's nix derivation is unable to build GHC:
nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
error:
       … while evaluating the attribute 'obelisk-command'

         at /nix/store/pgrb5z794d1v8c42a8r10i4gmy1j6xs4-source/haskell-overlays/tighten-ob-exes.nix:18:3:

           17|   # 0.5 seconds on a decent machine with SSD), so we do `justStaticExecutables`.
           18|   obelisk-command = haskellLib.overrideCabal
             |   ^
           19|     (haskellLib.generateOptparseApplicativeCompletion "ob"

       … in the left operand of the update (//) operator

         at /nix/store/fv90cbnl3q61a8zhxghzbimxgnk850hj-source/pkgs/development/haskell-modules/lib.nix:39:7:

           38|     mkDerivation = drv: (args.mkDerivation drv).override f;
           39|   })) // {
             |       ^
           40|     overrideScope = scope: overrideCabal (drv.overrideScope scope) f;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Package ‘ghc-8.10.4’ in /nix/store/fv90cbnl3q61a8zhxghzbimxgnk850hj-source/pkgs/development/compilers/ghc/8.10.4.nix:263 is not supported on ‘aarch64-darwin’, refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
       ```
      overriding the warning gives:
      ```
      nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
error:
       … while evaluating the attribute 'obelisk-command'

         at /nix/store/pgrb5z794d1v8c42a8r10i4gmy1j6xs4-source/haskell-overlays/tighten-ob-exes.nix:18:3:

           17|   # 0.5 seconds on a decent machine with SSD), so we do `justStaticExecutables`.
           18|   obelisk-command = haskellLib.overrideCabal
             |   ^
           19|     (haskellLib.generateOptparseApplicativeCompletion "ob"

       … in the left operand of the update (//) operator

         at /nix/store/fv90cbnl3q61a8zhxghzbimxgnk850hj-source/pkgs/development/haskell-modules/lib.nix:39:7:

           38|     mkDerivation = drv: (args.mkDerivation drv).override f;
           39|   })) // {
             |       ^
           40|     overrideScope = scope: overrideCabal (drv.overrideScope scope) f;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: cannot bootstrap GHC on this platform
       ```

On a new M2 mac (ventura) with a working nix installation, obelisk's nix derivation is unable to build GHC:
nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
error:
       … while evaluating the attribute 'obelisk-command'

         at /nix/store/pgrb5z794d1v8c42a8r10i4gmy1j6xs4-source/haskell-overlays/tighten-ob-exes.nix:18:3:

           17|   # 0.5 seconds on a decent machine with SSD), so we do `justStaticExecutables`.
           18|   obelisk-command = haskellLib.overrideCabal
             |   ^
           19|     (haskellLib.generateOptparseApplicativeCompletion "ob"

       … in the left operand of the update (//) operator

         at /nix/store/fv90cbnl3q61a8zhxghzbimxgnk850hj-source/pkgs/development/haskell-modules/lib.nix:39:7:

           38|     mkDerivation = drv: (args.mkDerivation drv).override f;
           39|   })) // {
             |       ^
           40|     overrideScope = scope: overrideCabal (drv.overrideScope scope) f;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: Package ‘ghc-8.10.4’ in /nix/store/fv90cbnl3q61a8zhxghzbimxgnk850hj-source/pkgs/development/compilers/ghc/8.10.4.nix:263 is not supported on ‘aarch64-darwin’, refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.

overriding the warning gives:
      nix-env -f https://github.com/obsidiansystems/obelisk/archive/master.tar.gz -iA command
trace: Warning: `stdenv.lib` is deprecated and will be removed in the next release. Please use `lib` instead. For more information see https://github.com/NixOS/nixpkgs/issues/108938
error:
       … while evaluating the attribute 'obelisk-command'

         at /nix/store/pgrb5z794d1v8c42a8r10i4gmy1j6xs4-source/haskell-overlays/tighten-ob-exes.nix:18:3:

           17|   # 0.5 seconds on a decent machine with SSD), so we do `justStaticExecutables`.
           18|   obelisk-command = haskellLib.overrideCabal
             |   ^
           19|     (haskellLib.generateOptparseApplicativeCompletion "ob"

       … in the left operand of the update (//) operator

         at /nix/store/fv90cbnl3q61a8zhxghzbimxgnk850hj-source/pkgs/development/haskell-modules/lib.nix:39:7:

           38|     mkDerivation = drv: (args.mkDerivation drv).override f;
           39|   })) // {
             |       ^
           40|     overrideScope = scope: overrideCabal (drv.overrideScope scope) f;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: cannot bootstrap GHC on this platform

Same here on my M1 machine.

Could you try using this branch: https://github.com/obsidiansystems/obelisk/tree/aa/aarch64-darwin

Could you try using this branch: https://github.com/obsidiansystems/obelisk/tree/aa/aarch64-darwin

This is based on the in-progress reflex-platform branch which adds support for aarch64 linux and darwin hosts. See the platform support doc

https://github.com/obsidiansystems/obelisk/tree/aa/aarch64-darwin

Builds the shell for me on an M2 Max.  Have yet to bring our project up to speed with the package set changes yet, so cannot confirm anything besides the shell.

Support is being added in #1046, which will be merged as soon as the tests pass.

Fixed in 1.3


one question for encoder?

https://github.com/tony612/protobuf-elixir/blob/5f8da613191501d560dce00087cb500f654a991a/lib/protobuf/encoder.ex#L54
For example, I need encode
[ [], [] ]

just like :
syntax = "proto3";

message TListList {
    repeated TList listlist = 1;
}

message TList {
    repeated string ele = 1;
}

But, after encode I got
// ==>
// ""

and after decode it, I got
// ==>
// [ ]

It's not the result I need.

fixed in 0.3.4


go-nogo not saving to mysql database

The go-nogo experiment is not able to save to the mysql database. It produces this error:

All other experiments (including self developed ones) work fine.
Can you help me with that? -> I use it as it is here, no code changes @all.

Solved it: Changing the data type of the column Data from text to longtext did the trick.

Great to hear! And sorry for delay, it’s still early in my timezone. Please feel free to close the issue, and thanks for using expfactory!


When PDF page sizes vary, annotation positions are misaligned.

In this document there seems to be a problem with the annotations.

We could ask each page heights and width as an optional argument of the main method
Originally posted by @lfoppiano in https://github.com/lfoppiano/streamlit-pdf-viewer/issues/3#issuecomment-1863793941

https://github.com/lfoppiano/streamlit-pdf-viewer/commit/0495eeb82b3e95f0fd8796fffedfcde7582d9ba9
Fixed here.
I had implemented it assuming that the page numbers for annotations start from 0, but they actually start from 1. 😓


[DEFECT] Recent RNG changes broke MarkovAR sampling

Thank you for the defect report

[X] I am using the latest version of RAVEN.
[X] I have read the Wiki.
[X] I have created a minimum, reproducible example
that demonstrates the defect.

Defect Description
Recent changes to RNG interface in RAVEN have broken signal generation in ravenframework/TSA/MarkovAR.py. This wasn't caught by the existing test because samples from the model were not checked in the regression test.
Steps to Reproduce
The existing test case (tests/framework/ROM/TimeSeries/SyntheticHistory/markov_ar.xml) reproduces the error.
Expected Behavior
Generation of a signal with the fitted model. Execution of the current code results in an AttributeError.
Screenshots and Input Files
No response
OS
Windows
OS Version
No response
Dependency Manager
CONDA
For Change Control Board: Issue Review

[x] Is it tagged with a type: defect or task?
[x] Is it tagged with a priority: critical, normal or minor?
[x] If it will impact requirements or requirements tests, is it tagged with requirements?
[x] If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure

[ ] If the issue is a defect, is the defect fixed?
[ ] If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[ ] If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[ ] If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[ ] If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Fixed by #2229


Add BCeID option when accepting invitation

Description
Adds BCeID option when reviewer is accepting invitation.
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📦 Chore (Release)
[ ] ✅ Test

Related Tickets & Documents
Implements sc67729 / BPHH-242
Steps to QA

Login as a super admin or review manager
Invite a reviewer / review manager to a jurisdiction
Open the invite link in an incognito window
See the option to login with BCeID - this should take the user to the BCeID login page and upon successful authentication, it should redirect back to the app and the user should be logged in.
If the BCeID is already associated with another account, the user will see an error message when redirected back to the app

UI Accessibility Checklist
Note the following checklist is not an exhaustive list. Check
the WebAIM checklist for
a user-friendly checklist with more details. Aim to meet at least AA conformance level where applicable. Check
the WCAG guidelines for the full guidelines.

[x] Markup uses semantic HTML?
[x] Additional context added through aria-roles and aria-labels?
[x] Checked
with Wave Browser Extension
for accessibility errors?
[ ] Usable with a keyboard and navigable in a logical order?
[ ] Usable using a screen reader (e.g. Voiceover for Mac) with enough context for the user?

General Checklist

[x] ✅ Provide tests for your changes where relevant
[x] 📝 Use descriptive commit messages
[x] 📗 Update any related documentation and include any relevant screenshots
[x] 📱 For UI-related tasks, ensure responsive design is implemented across multiple screen size
[x] 🗂 Move your relevant story/task to the Ready for Code Review state

[optional] Are there any post-deployment tasks we need to perform?

[ ] Update SSO Integration to support test / prod environments (pending QA / PROD environment setup)
[ ] Add ENV variables as per SSO client details once configured

@LaurelOlson I tried this but clicking the BCeID link in the invite accept gave me:


How to test the model if the vertices of identity mesh and pose mesh are different?

Hi @jiashunwang
I want to try your model on human mesh with different vertex numbers. I change the num_points in model_maxpool, but dimension error will be reported when performing cat operation. Then I try to reduce the point of the one with more points to be the same as the other in the random_sample. Then the code can run. However, the results are not very ideal.
Could you please give me some advice? Thank you!
random_sample = np.random.choice(6890,size=6890,replace=False)
random_sample2 = np.random.choice(27554,size=6890,replace=False)

Hi @s0rrymakers,
you can set NPT(num_points=27554) if you want to use identity mesh with 27554 points.

Hi @jiashunwang
I have tried your advice. However, when I ran the code it still reported dimension error like:
'RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 1. Got 6890 and 27554 in dimension 2'
I changed the code to:
'''python
net_G=NPT(num_points= 27554)
random_sample = np.random.choice(6890,size=6890,replace=False)   #id mesh
random_sample2 = np.random.choice(27554,size=27554,replace=False)   #pose mesh
'''

So I guess the identity mesh is 27554, so if you change the num_points to 27554 then it should work. By the way, the max pool model should be used, this is the suitable method if pose and identity have different number of vertices

So I guess the identity mesh is 27554, so if you change the num_points to 27554 then it should work. By the way, the max pool model should be used, this is the suitable method if pose and identity have different number of vertices

Hi @jiashunwang
I have two newbie questions about your research

Can this method be applied to facial expression migration?
If I want identity vertice to be 1439 and pose vertice to 11510, do I need to retrain the network? Can you directly use the network model you have trained?

Hi @570482328

I haven't tried. If you have data including facial expression, you can have a try.
It depends. If the vertices of yours have the similar distribution as the SMPL mesh, than I think you can directly use the network. For example, in a SMPL mesh, there are dense vertices around the hand while sparse vertices around the torso.
And please make sure whether a similar pose is in the training set, otherwise it may not perform very well.


gtk: refactor gtk & adw notebook implementations

Put GTK and libadwaita notebook implementations into separate structs/ files for clarity.
This breaks out the GTK notebook refactor from #2529 and does it without adding an allocation. If/when this is accepted I'll redo #2529 and #2641 to be based on top of this. A PR for #2629 will depend on this too.

whoops, accidentally closed...


Korean translation still contains "bitcoin" in source strings

Originally posted by @dogespacewizard in https://github.com/dogecoin/dogecoin/issues/2529#issuecomment-999727051:
I'm not very good with code so im not sure the right terms for this or even if this is relevant to your post or if its reiterating what you need but but there are 4 instances in the file for the  line that use the word 'Bitcoin' instead of 'Dogecoin' in comparison with the bitcoin_en.ts file, the translation for each of these lines however correctly have the Korean term for Dogecoin = "도지코인"
I could replace the instances of "Bitcoin" being used in the 4  lines with "Dogecoin" if needed

We should investigate why this happened, and if this happened on other translations that were updated with #2589 as well.

my apologies im not exactly sure why but after double checking the file it seems that the 4 instances are correctly marked as Dogecoin
im fairly new to github so i think the issue was on my end
again my apologies

Okay ❤

https://open.spotify.com/track/49BdaEKbK8wgcjCiZFn8Mb?si=M7tHTJi8RuW4P8MImhC9iw&utm_source=copy-link
On Fri, Jan 28, 2022, 10:35 AM Patrick Lodder @.***>
wrote:

Originally posted by @dogespacewizard
https://github.com/dogespacewizard in #2529 (comment)
https://github.com/dogecoin/dogecoin/issues/2529#issuecomment-999727051
:
I'm not very good with code so im not sure the right terms for this or
even if this is relevant to your post or if its reiterating what you need
but but there are 4 instances in the file for the line that use the word
'Bitcoin' instead of 'Dogecoin' in comparison with the bitcoin_en.ts file,
the translation for each of these lines however correctly have the Korean
term for Dogecoin = "도지코인"
I could replace the instances of "Bitcoin" being used in the 4 lines with
"Dogecoin" if needed
[image: image]
https://user-images.githubusercontent.com/89301283/147127860-bb295b52-6b18-4a01-80b7-8bf589a47789.png
[image: image]
https://user-images.githubusercontent.com/89301283/147127873-3945e253-629c-4561-99a5-ddd21340a420.png
[image: image]
https://user-images.githubusercontent.com/89301283/147127889-e6514ec6-9ddb-4d1d-913a-96b1f35a8a6f.png
[image: image]
https://user-images.githubusercontent.com/89301283/147127898-85829e7e-0d22-4cd6-983b-dc53747b27fc.png
We should investigate why this happened, and if this happened on other
translations that were updated with #2589
https://github.com/dogecoin/dogecoin/pull/2589 as well.
—
Reply to this email directly, view it on GitHub
https://github.com/dogecoin/dogecoin/issues/2821, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVD5ZRSDHSNJKKSTDC5KSUDUYLAT3ANCNFSM5NBGMRDA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


suit issue

Version 0.14 grab suit mode does not allow you to release entity, instead it allows the entity to control you.

Version 0.14 grab suit mode does not allow you to release entity, instead it allows the entity to control you.

You should check out what holding the ability button does instead of clicking on it

I tested it.

Not an issue, grab actions are explained when you grab/suit something

How do you remove remove the entity in suit mode?

hold Z while "grab" is selected

How do you remove remove the entity in suit mode?


[BUG] Building wheel for numpy (setup.py): finished with status 'error'

[✅] I have checked that this bug exists on the latest stable version of AutoGluon
[✅] and/or I have checked that this bug exists on the latest mainline of AutoGluon via source installation

Describe the bug
Autogluon throwing error when building numpy wheel for install
Expected behavior
Install autogluon without errors
To Reproduce
I just ran:
pip3 install autogluon

Installed Versions
Newest version
# Autogluon can't be installed so it just gave the import error
Traceback (most recent call last):
  File "C:\Users\Ali-Akber\Desktop\wd.py", line 1, in <module>
    from autogluon.core.utils import show_versions
ModuleNotFoundError: No module named 'autogluon'

Additional context
Python version: 3.10
numpy version: 1.22.4
Also gives the same error when installing with conda

AutoGluon is not supported on Python 3.10 as of v0.4 release. Please use Python 3.9, 3.8, or 3.7 and refer to the official installation instructions.
Installing with Python 3.10 will install a very old version of AutoGluon prior to us python version capping our releases that will not work.


Update MySqlUnsignedIntegerConverter.java

DBZ-000 Just fixed some tpyoes.

Hi @druud can you prefix the commit message with [docs], thanks.

@druud Applie, thanks


Write spark dataframe to opensearch

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I am evaluating that converting es to opensearch, and my team use spark to process data.
I want to know if I can directly write spark dataframe to opensearch, just like we did on elasticsearch?
I just started following this project but didn't see a similar case on google or stack overflow, thanks for all your help!
Describe the solution you'd like
A clear and concise description of what you want to happen.
write spark dataframe to opensearch and use spark resource.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Generally speaking the OpenSearch indexing APIs are very similar to recent versions of ES. How do you plan on writing from Spark to OpenSearch?

Spark has full support on index ES document by dataframe

What exactly does this mean? If Spark has some tooling or connector that interfaces with ES then an OpenSearch equivalent would need to be implemented in order to guarantee compatibility long term.

This document is what I actuall means in ES:
https://www.elastic.co/guide/en/elasticsearch/hadoop/current/spark.html
And I found the discussion about that function is open in issue 23:
https://github.com/opensearch-project/opensearch-clients/issues/23

@wl02302677 I was just going to mention the client issue.  That has link to single line code change required to get elastic client working with open search 2x.  I’m using it just fine to do exactly what you are asking.

@mattweber Thanks for your respond! I will try to use this method to get the connection between spark and elasticsearch, I think that is the solution what I looking for.


How would we combine iterm/kitty integration?

Hi! Came here from xonsh/xonsh#4623 :)
As far as I'm aware, kitty's requirements for escape sequences are a subset of iTerm2's. The only extra thing needed is $PS2.

The prompt marking sequences are the same except that kityt needs less (more dont do any harm) and it marks PS2 which iterm doesnt.

Given how much overlap there seems to be, I think it makes the most sense to combine the kitty/iterm integration wherever possible.
Does it make more sense to:

Turn this into a common plugin that supports both (maybe called fancy-term or term-integration or something?)
Have separate xontribs for both, but move common code into a library (this is probably better)

It seems you already have the bulk of the work done for iTerm2. That's amazing 😄
I'm not super familiar with how "xontrib libraries" would work. What are your thoughts on this?

I was also thinking the same. I have added a kitty module.

@amitkot you have to install xonsh from main branch. It has the required fix. There is no special installation needed for kitty.

I have updated the readme file to mention this

@jnoortheen Thanks! This is not urgent for me so I will wait until the next Xonsh release to check it.


Log spew

First of all thanks so much for this library! It's excellent.
I was wondering if you have considered adding the ability to configure logging a little more explicitly. I was attempt to prevent taskmap from creating log files on disk.
My approach was to simplify remove the log handlers:
    import logging
    logging.getLogger(name='taskmap-manager').handlers=[]
    logging.getLogger(name='taskmap-worker').handlers=[]

This silences the error, but it seems like the log file is still generated at import time when the FileHandler is added to the logger.
Relevant code is https://github.com/n-s-f/taskmap/blob/master/taskmap/taskmap.py#L20
It would be great to allow users of the library to config the logging behavior a little more.
Again thanks so much for this library!

@schrockn Thanks for opening the issue! Good points.
I suppose logging should be handled on a per-graph basis - logging config could then optionally be passed into the create_graph function.
I'll try to make the change this week.

@schrockn This is done in #7.  Can you check out that branch and confirm that it meets your needs? Logs no longer get written by default, but they can be turned on by passing the logging_config parameter to create_graph.


After update to latest commit

Traceback (most recent call last):
File "/root/clx-chia-multi-setup/spare-blockchain/venv/bin/spare_full_node", line 33, in
sys.exit(load_entry_point('spare-blockchain', 'console_scripts', 'spare_full_node')())
File "/root/clx-chia-multi-setup/spare-blockchain/venv/bin/spare_full_node", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/clx-chia-multi-setup/spare-blockchain/spare/server/start_full_node.py", line 8, in
from spare.full_node.full_node import FullNode
File "/root/clx-chia-multi-setup/spare-blockchain/spare/full_node/full_node.py", line 62, in
class FullNode:
File "/root/clx-chia-multi-setup/spare-blockchain/spare/full_node/full_node.py", line 341, in FullNode
async def new_peak(self, request: full_node_protocol.NewPeak, peer: ws.WSChiaConnection):
AttributeError: module 'spare.server.ws_connection' has no attribute 'WSChiaConnection'

I got this
ConnectionResetError: Cannot write to closing transport
2021-07-19T11:39:18.468 harvester harvester               : INFO     Reconnecting to peer {'host': '<IP_ADDRESS>', 'port': 9447}
2021-07-19T11:39:18.489 harvester harvester_server        : ERROR    Exception name 'WSChiaConnection' is not defined, exception Stack: Traceback (most recent call last):
File "spare/server/server.py", line 377, in start_client
NameError: name 'WSChiaConnection' is not defined

I can confirm the same issue as @jango-blockchained

I've submitted a pull request (#110) that seems to correct this particular issue.


Fix log verb's --limit-tag option ignoring the tag.

Issue this change aims to resolve
vcs log --limit-tag seems to ignore the tag it receives.
 The log verb always shows the most recent commits. The --limit* options only configure how many commits are being shows.

--limit 0 shows all commits
--limit 0 --limit-untagged shows all commits until the most recent tag
--limit 0 --limit-tag x.y.z shows all commits until the tag x.y.z

...Indeed, if I had read the help more carefully, the behavior looks correct.
# vcs-log --help
:
  --limit-tag TAG       Limit number of log to the specified tag (default: None)

I think help description can be improved to clarify that.
Let me re-purpose this PR to suggest that.

OP updated as follows.
Please re-review @dirk-thomas

Issue this change aims to resolve
As pointed out in https://github.com/dirk-thomas/vcstool/pull/173#issuecomment-713880501 and as admitted in https://github.com/dirk-thomas/vcstool/pull/173#issuecomment-713882745, the author of this PR misunderstood the expected behavior of vcs log --limit-tag. While help message describes the behavior correctly, wording may be a bit subtle and could signify the meaning to avoid misunderstanding.

Thanks for the updated patch.
(Closing and reopening to trigger changed Travis CI.)


Active indent highlight is one indent behind

VSCode Version: 1.25.0
OS Version: Windows 10

Steps to Reproduce:

Click on an opening or closing bracket
View the indent guide

Does this issue occur when all extensions are disabled?: Yes
Screenshot:

Duplicate of #49342


Unicode Bidirectional Open Issues

This issue documents and tracks the progress of open issues related to Unicode Bidirectional support on LittlevGL, as discussed on #899
The following issues are visible when LV_USE_BIDI and LV_LABEL_TEXT_SEL are defined as 1 on lv_conf.h, and a Label / Text Area contains RTL (Right-To-Left) text (for example Hebrew or Arabic characters). Some issues may only visible when the object's base direction is RTL. Some issues may only be visible when text is multi-line.

[ ] Can't select the first character
[ ] Text suddenly scrolls all the way down when selecting backwards towards the beginning of the line (rightmost)
[ ] Cursor and selection area edge are, at some cases, away from each other
[ ] Correctly support different cursor types
[ ] When RTL in RTL is selected (not LTR in RTL!) sometimes a reversed selection happens.
This "reversed" behavior should happen only when selecting a mix of RTL and LTR runs.
[x] slider/bar/sw should have RTL directionality and behavior when its base dir is RTL. For example, a slider should be "mirrored" such that low values would be on the right and high values on the left.

More details about each of these issues are available on this and this posts, including animated GIFs that illustrate the problems.

Thank you for the summary!

@amirgon I'm working on making the slider, bar, and switch respect their base direction. Do I need to mirror them when they're vertical, or only if they're horizontal?

Do I need to mirror them when they're vertical, or only if they're horizontal?

@embeddedt only when they are horizontal.
Thanks.

slider/bar/sw should have RTL directionality and behavior when its base dir is RTL

This should work now with the changes in https://github.com/littlevgl/lvgl/commit/d399dec0c76ffdb874ae60a073da290747d398eb.

Thank you @embeddedt.
I've just tested it and found that the changes were not applied to lv_swich. Could you take a look?

Thanks for the feedback. I thought the switch was using lv_slider under the hood, but it appears that that is no longer the case (or never was :wink:). I made it work in https://github.com/littlevgl/lvgl/commit/ab10bdaa033a0166bb863055b4f197e75d2ac752.

Perfect, thank you!
The switch was based on the Slider in v6 but I found too many differences (although they seem quite the same) and derived the Switch directly from Bar in v7.

I close this issue in lack of activity.
We can reopen it any time if this topic becomes active again.


OSSM-4819: Add a note so we don't forget about it

/override ci/prow/istio-operator-integration-test-3-0


[dart2js] Produce TypeScript type annotations for compiled files

Dart as of now supports web by using AOT and JIT compiling. The AOT compiler already produces proper source maps.
I would like to propose to extend this to TypeScript-compatible type annotations too.
By using the allowInterloop function from dart:js, it is already possible to interloop a compiled dart library by native JS. Unfortunately, this is not easily implementable with TypeScript because all members are either any (dynamic) or the developers are required to manually create a .d.ts file for type annotations.
I would propose to either add a compiler option to produce corresponding .d.ts files (likely) or to add a two-stage compiler option compiling to TypeScript instead of ECMA script (unlikely).
As both Dart and TypeScript have a similar typing system, the effort should be comparably low.

Thanks for reaching out and the suggestion!
Note: given that the goal in this bug is similar to https://github.com/dart-lang/sdk/issues/46378 and https://github.com/dart-lang/sdk/issues/37617, I'm marking this as a duplicate.
As you mentioned in your comment - producing valid TypeScript  for all Dart code is a complex task. We had discussions about it in the past, especially in the context of the DDC modular compiler, which is less sophisticated than the current optimizing deployment compiler (dart2js). But even there we felt it was a big undertaking.
Unfortunately, even producing .d.ts files is also in tension with other requirements we have.  While we support interoperability between the Dart and JS - our design space is to be very intentional of where the interoperability takes place and properly export APIs that are exposed. That allows a smoother evolution of our compilers and enables us to adapt our output representation over time. If every API we generate has a .d.ts file, it will be very hard for us to change calling conventions or even type representations (which for example we are currently doing in some parts of our system).
I should point out that there is one thing that can be done today. It should be possible to generate some of the boilerplate of the JS-interop facade. The js_facade_gen tool, for example, takes .d.ts definitions and can be used to generate dart JSInterop APIs. It is also possible to write code generators that walk the JSInteorp Dart declarations, and generate .d.ts JS files to export the JavaScript API being used.
I sense from your comment that you have a higher need to consume Dart from TS, rather than the other way around. So far, JSInterop makes it easier to consume JavaScript in Dart, but it doesn't make it easy to consume Dart from JavaScript, so the process is more tedious unfortunately :(. This is an area we are about to start looking into as a team.


Github undefined

I had been successfully deploying this on a website and now I keep getting github undefined. Worked earlier yesterday and I changed nothing. Anyone else with this issue? I apologize if this is not the appropriate place.

@lucusp Interesting; I changed the UMD code early last week, that might've done it. That said, the tests should have caught it if there's a problem.
Two questions —

Are you consuming Github.js via AMD (Require.js et al), CommonJS (Node.js et cetera) or browser global?

What version are you running? Could you try updating it to the latest commit on the master branch? We're wanting to release 0.10.7 within the next week or so, but the current version on NPM et al is really old.

Thanks!

Using the latest via browser global. Thanks for the quick response!!

FWIW it broke in my fork as well from a couple weeks ago.

Sorry meant to say that the had not modified the fork either.

I'm having the same issue. I've taken the github.js from the repo verbatim and included it in my HTML file, updated the code to match and I too am getting "Github is undefined" warnings in the Chrome dev console.
So, to answer your two questions:
1: No, I am not consuming it through AMD/CommonJS. I'm running it in the browser, globally
2: The latest (I think). I pulled it out of the master branch a few minutes ago.

Same issues here using browser global and latest. I'd have to agree that it's an issue with the umd boilerplate implementation.

I suppose a simple fix (for browser global usage) would be to replace the return statement at the end of the file with window.Github = Github;

Hmm, has to be the UMD implementation. Sorry 'bout that folks, will take a look this morning.

@aendrew The fix @HarrisCarney provided worked for me. I'm not sure if it breaks anything else though, since I'm running it witouth AMD or RequireJS. @HarrisCarney  should make a pull request :+1:

Could you all please try the commit I just checked into master? Should at least not throw undefined now.
This is really related to #149; we need to get some browser-based testing rolling, which simply isn't possible given the tests are written in Tape.

Your latest commit fixed the issue for me, it works as intended

@sebastiaanfranken Hoorah! Thanks for reporting back! Hopefully it didn't break AMD and NodeJS! :sweat_smile: UMDs really aren't my strong suit...

No problem! This level of JS coding is way above my skills, so I'm happy to help. Let's hope AMD/Node users can also use this, good luck with that

Closing for now...


Automatically fallback to simulcast h264 if VP9 is not available

The room package currently use VP9 as default codec and enable SVC when publishing a video track. There is a possibility that user does not have a latest OS of iOS or MacOS, and their Safari browser doesn't support VP9 for WebRTC. In this case, the SDK should fallback to H264 and allow them to publish the video track using simulcast.

After this PR #96 merged, this issue has been resolved. By default when video/VP9 codec is not supported, sdk will fallback to video/H264.


IntelliSense not working

When typing in C# for example, intellisense is not catching any mistakes or errors or bringing in a framework that is required. I tried uninstalling and reinstalling and it still does not work. I have to switch to Visual Studio instead to find errors. I already checked to see if intellisense on and it is.

Please file this against the c# extension


touchendoutside events only gets dispatched for the first release.

In a multitouch application, when you touch an object with two fingers, and then drag off and release both fingers, the 'touchendoutside' event is only dispatched once.
http://stackoverflow.com/questions/37882401/pixijs-not-all-touchend-events-triggering-outside-of-displayobject?noredirect=1#comment63288886_37882401

Looks like you made a commit that fixed it for you. Can you retest this with the latest dev build and see if that has fixed your issue?
You can see how to download the latest build in the FAQs.
If it hasn't would you mind sending your fix as a PR?
Thanks!

Had this same issue, can confirm that this change fixes it. I tried making a pull request as well, thanks!

Now that #3546 has been merged, this should be all set.


ShipmentWithLabel is calling wrong endpoint

The ShipmentWithLabel()-Method is calling a wrong endpoint.
Wrong: /shipment/shipment
Correct: /shipment/shipwithlabel
ShipmentEndPoint.cs
I already have a custom build of the SDK and could provide later the necessary changes.

Thanks for the fix, I will merge your PR.


can you add rsyng feature

add rsyng feature to -d diskt to remote machine
https://github.com/ericaltendorf/plotman/wiki/Archiving
05-03 08:37:46 Starting archive: rsync --bwlimit=80000 --remove-source-files -P /mnt/dst1/plot-k32-2021-05-03-01-50-b4271f88a74b36b516c242151e00fdda20e3f31ce1f8624465bf05a195009ecd.plot rsync://username@plot.storage.ip:12000/chia/plots2
Copy the part after 05-03 08:37:46 Starting archive: . In our example that would be:
rsync --bwlimit=80000 --remove-source-files -P /mnt/plots1/plot-k32-2021-05-03-01-50-b4271f88a74b36b516c242151

I personally use runs rsync in a script to move plots.  Not sure if this should be part of PlotNG as Windows users will not be able to use it.

You could do a generic "run after plot creation", with env vars for whatever. The rsync or robocopy.exe or whatever can be plugged in to that by users.


Issue with drones having engines locked after disassembling and reassembling.

Issue with drones having engines locked after disassembling and reassembling.

8f3746c1729d263516747c4d69d755e3214b5601

Should fix properly with @ilbinek 's suggestion to keep track of the vehicles in an array and then use that array to remove the engine freeze handler,


Uploader id error

Checklist

[ ] I'm reporting a broken site support issue
[ x] I've verified that I'm running youtube-dl version 2021.12.17
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar bug reports including closed ones
[x ] I've read bugs section in FAQ

Verbose log

$ youtube-dl -v -f bestaudio --verbose "https://m.youtube.com/watch?v=n6oCRV3YMds&pp=ygUXamVtIHRoZW1lIHNvbmcgZXh0ZW5kZWQ%3D"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', 'bestaudio', '--verbose', 'https://m.youtube.com/watch?v=n6oCRV3YMds&pp=ygUXamVtIHRoZW1lIHNvbmcgZXh0ZW5kZWQ%3D']
[debug] Encodings: locale utf-8, fs utf-8, out utf-8, pref utf-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.11.4 (CPython) - Linux-5.4.210-moto-g6962736cc3a4-aarch64-with-libc
[debug] exe versions: ffmpeg 6.0, ffprobe 6.0
[debug] Proxy map: {}
[youtube] n6oCRV3YMds: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I was trying to extract the audio from a youtube video and passed the above commands. Every url I tried gave me the same issue. I am Using Termux terminal emulator on android 12.

I've got the same issue here

[x] I've searched the bugtracker for similar bug reports including closed ones

Learn how by reading #30839 (again?).

[x] I've read bugs section in FAQ

Apply it.

thus, why not give the right issue id?


feat: rename to eslint-config-love

While it doesn't show up in the search, it does exist. It's deprecated.
https://www.npmjs.com/package/eslint-config-love
Oops.

The author of that package gifted it to us. Thank you, @DaBultz.


Overlay story fix

Merge main - fixes the DropdownOverlay story positioning
Reset portal root between stories

Subsumed by #1143


Reference page in GetStarted should only contain public/exported functions

https://institutefordiseasemodeling.github.io/PACE-HRH/reference/index.html
Possibly caused by build_site command of pkgdown.

build_site (build_reference) from pkgdown is building references from rd pages
after some research on https://roxygen2.r-lib.org/articles/rd.html#basics it says:
If you want to use roxygen2 documentation tags without generating an .Rd file, you can use @noRd to suppress file generation for a given topic. This is useful if you want to use roxygen2 conventions for documenting an internal function; only people reading the source doc will be able to read the docs.
another way that also seems to work is to use @keyword: internal
as mentioned in https://community.rstudio.com/t/keywords-internal-vs-nord/35119
however I can't find the original reference from roxygen documentation about this feature (although I did try to run locally and it does remove the topic from index page)
@celiot-IDM we should only show the functions that users need to avoid confusions. Let's identify them and hide the internal ones

These functions were never intended to be public, so I'm going to start with them:
addRatesMatricesToPopulationChangeRates()
dispEnvs()
.computePopulationRangeMatrices()
gatherPopulation()
generatePrevalenceRatesMatrix()
generateRatesMatrix()
loadGlobalConfig()
loadInitialPopulation()
loadScenarios()
loadSeasonalityCurves()
loadSeasonalityOffsets()
loadStochasticParameters()
loadTaskParameters()
runSeasonalityExperiment()
traceMessage()
varyTaskValues()

Fixed by PR #281


Bug: Error en Constants.php line 41 to 43

PHP Version
7.4
CodeIgniter4 Version
4.2.5
CodeIgniter4 Installation Method
Composer (as dependency to an existing project)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
apache
Database
No response
What happened?
in the file App/Config/Constants.php lines 41 to 43:
41 defined('MONTH')  || define('MONTH', 2_592_000);
42 defined('YEAR')   || define('YEAR', 31_536_000);
43 defined('DECADE') || define('DECADE', 315_360_000);
the "_" character must be removed, leaving it as follows:
defined('MONTH')  || define('MONTH', 2592000);
defined('YEAR')   || define('YEAR', 31536000);
defined('DECADE') || define('DECADE', 315360000);
Steps to Reproduce
see on file App/Config/Constants.php lines 41 to 43:
Expected Output
nothing
Anything else?
No response

Hi @daltonmart , Not Bug.
See


Fix #707: Allow parameters in translation keys

Example: {{ 'Log out ({ email })' | translate: { email: (user$ | async)?.email } }}

Hello everybody :)
Is this PR gonna be merged soon? Moving from angular-gettext to ngx-translate is going very smooth for me but it would be very nice to have this PR merged in order to having parameters in translations keys working as before.
Thanks in advance!

You should be able to do:  {{ 'Log out ' + email | translate: { email: (user$ | async)?.email } }}, I don't think this requires this change, because there's a good change that people actually use the symbols { and } in their text, and this would be a breaking change for them


Update SFU platform scripts to support Mac

Relevant components:

[ ] Signalling server
[ ] Frontend library
[ ] Frontend UI library
[ ] Matchmaker
[X] Platform scripts
[X] SFU

Problem statement:
SFU doesn't currently support Mac due to using prebuilt binaries of Mediasoup. Additionally, the platform scripts for the SFU don't download Mac specific Node binaries.
Solution
To address the SFU no supporting Mac, we can just use the normal npm package which works fine.
To fix the setup scripts, I've copied the same logic that's currently in the SignallingWebServer platform scripts.
Test Plan and Compatibility
Tested SFU on Mac on both the host and in a container.

@Belchy06 What was the status of this one? Did you confirm SFU working on Windows, Linux, and Mac?

Cannot confirm and is proving tricker than I thought. I'll close this and come back with another one.


Add error to formbuilder when not inside txbuidler context

FormBuilder should throw an error when submitting without the TXBuilderContext set up somewhere in the app. Somehow it just hangs there.

Tasks done: implement an erorr status in FormBuilder for cases when TxBuilder context is missing
Time spent: 1 hour