text:
sysapi build failure in window: NMAKE: expanded cmdline too long

1>NMAKE : fatal error U1095: expanded command line 'C:"Program Files (x86)""Microsoft Visual Studio 12.0"\VC\BIN\lib /NOLOGO /OUT:.\lib\debug\tpm.lib .\lib\debug\authorizations.obj  .\lib\debug\ContextManagement.obj  .\lib\debug\DecryptParam.obj  .\lib\debug\EncryptParam.obj  .\lib\debug\execute.obj  .\lib\debug\Finalize.obj  .\lib\debug\GetCommandCode.obj  .\lib\debug\GetCpBuffer.obj  .\lib\debug\GetRpBuffer.obj  .\lib\debug\GetTctiContext.obj  .\lib\debug\Tss2_Sys_ActivateCredential.obj  .\lib\debug\Tss2_Sys_Certify.obj  .\lib\debug\Tss2_Sys_CertifyCreation.obj  .\lib\debug\Tss2_Sys_ChangeEPS.obj  .\lib\debug\Tss2_Sys_ChangePPS.obj  .\lib\debug\Tss2_Sys_Clear.obj  .\lib\debug\Tss2_Sys_ClearControl.obj  .\lib\debug\Tss2_Sys_ClockRateAdjust.obj  .\lib\debug\Tss2_Sys_ClockSet.obj  .\lib\debug\Tss2_Sys_Commit.obj  .\lib\debug\Tss2_Sys_ContextLoad.obj  .\lib\debug\Tss2_Sys_ContextSave.obj  .\lib\debug\Tss2_Sys_Create.obj  .\lib\debug\Tss2_Sys_CreatePrimary.obj  .\lib\debug\Tss2_Sys_DictionaryAttackLockReset.obj  .\lib\debug\Tss2_Sys_DictionaryAttackParameters.obj  .\lib\debug\Tss2_Sys_Duplicate.obj  .\lib\debug\Tss2_Sys_ECC_Parameters.obj  .\lib\debug\Tss2_Sys_ECDH_KeyGen.obj  .\lib\debug\Tss2_Sys_ECDH_ZGen.obj  .\lib\debug\Tss2_Sys_EC_Ephemeral.obj  .\lib\debug\Tss2_Sys_EncryptDecrypt.obj  .\lib\debug\Tss2_Sys_EventSequenceComplete.obj  .\lib\debug\Tss2_Sys_EvictControl.obj  .\lib\debug\Tss2_Sys_FieldUpgradeData.obj  .\lib\debug\Tss2_Sys_FieldUpgradeStart.obj  .\lib\debug\Tss2_Sys_FirmwareRead.obj  .\lib\debug\Tss2_Sys_FlushContext.obj  .\lib\debug\Tss2_Sys_GetCapability.obj  .\lib\debug\Tss2_Sys_GetCommandAuditDigest.obj  .\lib\debug\Tss2_Sys_GetRandom.obj  .\lib\debug\Tss2_Sys_GetSessionAuditDigest.obj  .\lib\debug\Tss2_Sys_GetTestResult.obj  .\lib\debug\Tss2_Sys_GetTime.obj  .\lib\debug\Tss2_Sys_Hash.obj  .\lib\debug\Tss2_Sys_HashSequenceStart.obj  .\lib\debug\Tss2_Sys_HierarchyChangeAuth.obj  .\lib\debug\Tss2_Sys_HierarchyControl.obj  .\lib\debug\Tss2_Sys_HMAC.obj  .\lib\debug\Tss2_Sys_HMAC_Start.obj  .\lib\debug\Tss2_Sys_Import.obj  .\lib\debug\Tss2_Sys_IncrementalSelfTest.obj  .\lib\debug\Tss2_Sys_Load.obj  .\lib\debug\Tss2_Sys_LoadExternal.obj  .\lib\debug\Tss2_Sys_MakeCredential.obj  .\lib\debug\Tss2_Sys_NV_Certify.obj  .\lib\debug\Tss2_Sys_NV_ChangeAuth.obj  .\lib\debug\Tss2_Sys_NV_DefineSpace.obj  .\lib\debug\Tss2_Sys_NV_Extend.obj  .\lib\debug\Tss2_Sys_NV_GlobalWriteLock.obj  .\lib\debug\Tss2_Sys_NV_Increment.obj  .\lib\debug\Tss2_Sys_NV_Read.obj  .\lib\debug\Tss2_Sys_NV_ReadLock.obj  .\lib\debug\Tss2_Sys_NV_ReadPublic.obj  .\lib\debug\Tss2_Sys_NV_SetBits.obj  .\lib\debug\Tss2_Sys_NV_UndefineSpace.obj  .\lib\debug\Tss2_Sys_NV_UndefineSpaceSpecial.obj  .\lib\debug\Tss2_Sys_NV_Write.obj  .\lib\debug\Tss2_Sys_NV_WriteLock.obj  .\lib\debug\Tss2_Sys_ObjectChangeAuth.obj  .\lib\debug\Tss2_Sys_PCR_Allocate.obj  .\lib\debug\Tss2_Sys_PCR_Event.obj  .\lib\debug\Tss2_Sys_PCR_Extend.obj  .\lib\debug\Tss2_Sys_PCR_Read.obj  .\lib\debug\Tss2_Sys_PCR_Reset.obj  .\lib\debug\Tss2_Sys_PCR_SetAuthPolicy.obj  .\lib\debug\Tss2_Sys_PCR_SetAuthValue.obj  .\lib\debug\Tss2_Sys_PolicyAuthorize.obj  .\lib\debug\Tss2_Sys_PolicyAuthValue.obj  .\lib\debug\Tss2_Sys_PolicyCommandCode.obj  .\lib\debug\Tss2_Sys_PolicyCounterTimer.obj  .\lib\debug\Tss2_Sys_PolicyCpHash.obj  .\lib\debug\Tss2_Sys_PolicyDuplicationSelect.obj  .\lib\debug\Tss2_Sys_PolicyGetDigest.obj  .\lib\debug\Tss2_Sys_PolicyLocality.obj  .\lib\debug\Tss2_Sys_PolicyNameHash.obj  .\lib\debug\Tss2_Sys_PolicyNV.obj  .\lib\debug\Tss2_Sys_PolicyNVWritten.obj  .\lib\debug\Tss2_Sys_PolicyOR.obj  .\lib\debug\Tss2_Sys_PolicyPassword.obj  .\lib\debug\Tss2_Sys_PolicyPCR.obj  .\lib\debug\Tss2_Sys_PolicyPhysicalPresence.obj  .\lib\debug\Tss2_Sys_PolicyRestart.obj  .\lib\debug\Tss2_Sys_PolicySecret.obj  .\lib\debug\Tss2_Sys_PolicySigned.obj  .\lib\debug\Tss2_Sys_PolicyTicket.obj  .\lib\debug\Tss2_Sys_PP_Commands.obj  .\lib\debug\Tss2_Sys_Quote.obj  .\lib\debug\Tss2_Sys_ReadClock.obj  .\lib\debug\Tss2_Sys_ReadPublic.obj  .\lib\debug\Tss2_Sys_Rewrap.obj  .\lib\debug\Tss2_Sys_RSA_Decrypt.obj  .\lib\debug\Tss2_Sys_RSA_Encrypt.obj  .\lib\debug\Tss2_Sys_SelfTest.obj  .\lib\debug\Tss2_Sys_SequenceComplete.obj  .\lib\debug\Tss2_Sys_SequenceUpdate.obj  .\lib\debug\Tss2_Sys_SetAlgorithmSet.obj  .\lib\debug\Tss2_Sys_SetCommandCodeAuditStatus.obj  .\lib\debug\Tss2_Sys_SetPrimaryPolicy.obj  .\lib\debug\Tss2_Sys_Shutdown.obj  .\lib\debug\Tss2_Sys_Sign.obj  .\lib\debug\Tss2_Sys_StartAuthSession.obj  .\lib\debug\Tss2_Sys_Startup.obj  .\lib\debug\Tss2_Sys_StirRandom.obj  .\lib\debug\Tss2_Sys_TestParms.obj  .\lib\debug\Tss2_Sys_Unseal.obj  .\lib\debug\Tss2_Sys_Vendor_TCG_Test.obj  .\lib\debug\Tss2_Sys_VerifySignature.obj  .\lib\debug\Tss2_Sys_ZGen_2Phase.obj  .\lib\debug\changeEndian.obj  .\lib\debug\checkoverflow.obj  .\lib\debug\CommandUtil.obj  .\lib\debug\CompareSizedByteBuffer.obj  .\lib\debug\ConcatSizedByteBuffer.obj  .\lib\debug\copymem.obj  .\lib\debug\CopySessionData.obj  .\lib\debug\debug.obj  .\lib\debug\GetDigestSize.obj  .\lib\debug\GetNumHandles.obj  .\lib\debug\marshal_simple_tpm2b.obj  .\lib\debug\Marshal_TPM2B_ECC_POINT.obj  .\lib\debug\Marshal_TPM2B_NV_PUBLIC.obj  .\lib\debug\Marshal_TPM2B_PUBLIC.obj  .\lib\debug\Marshal_TPM2B_SENSITIVE.obj  .\lib\debug\Marshal_TPM2B_SENSITIVE_CREATE.obj  .\lib\debug\Marshal_TPMA_ALGORITHM.obj  .\lib\debug\Marshal_TPMA_LOCALITY.obj  .\lib\debug\Marshal_TPMA_NV.obj  .\lib\debug\Marshal_TPMA_OBJECT.obj  .\lib\debug\Marshal_TPMA_SESSION.obj  .\lib\debug\Marshal_TPML_ALG.obj  .\lib\debug\Marshal_TPML_CC.obj  .\lib\debug\Marshal_TPML_DIGEST.obj  .\lib\debug\Marshal_TPML_DIGEST_VALUES.obj  .\lib\debug\Marshal_TPML_PCR_SELECTION.obj  .\lib\debug\Marshal_TPMS_AUTH_COMMAND.obj  .\lib\debug\Marshal_TPMS_CLOCK_INFO.obj  .\lib\debug\Marshal_TPMS_CONTEXT.obj  .\lib\debug\Marshal_TPMS_CONTEXT_DATA.obj  .\lib\debug\Marshal_TPMS_ECC_PARMS.obj  .\lib\debug\Marshal_TPMS_ECC_POINT.obj  .\lib\debug\Marshal_TPMS_EMPTY.obj  .\lib\debug\Marshal_TPMS_KEYEDHASH_PARMS.obj  .\lib\debug\Marshal_TPMS_NV_PUBLIC.obj  .\lib\debug\Marshal_TPMS_PCR_SELECT.obj  .\lib\debug\Marshal_TPMS_PCR_SELECTION.obj  .\lib\debug\Marshal_TPMS_RSA_PARMS.obj  .\lib\debug\Marshal_TPMS_SCHEME_ECDAA.obj  .\lib\debug\Marshal_TPMS_SCHEME_HASH.obj  .\lib\debug\Marshal_TPMS_SCHEME_XOR.obj  .\lib\debug\Marshal_TPMS_SENSITIVE_CREATE.obj  .\lib\debug\Marshal_TPMS_SIGNATURE_ECC.obj  .\lib\debug\Marshal_TPMS_SIGNATURE_RSA.obj  .\lib\debug\Marshal_TPMS_SYMCIPHER_PARMS.obj  .\lib\debug\Marshal_TPMS_TIME_INFO.obj  .\lib\debug\Marshal_TPMT_ECC_SCHEME.obj  .\lib\debug\Marshal_TPMT_HA.obj  .\lib\debug\Marshal_TPMT_KDF_SCHEME.obj  .\lib\debug\Marshal_TPMT_KEYEDHASH_SCHEME.obj  .\lib\debug\Marshal_TPMT_PUBLIC.obj  .\lib\debug\Marshal_TPMT_PUBLIC_PARMS.obj  .\lib\debug\Marshal_TPMT_RSA_DECRYPT.obj  .\lib\debug\Marshal_TPMT_RSA_SCHEME.obj  .\lib\debug\Marshal_TPMT_SENSITIVE.obj  .\lib\debug\Marshal_TPMT_SIGNATURE.obj  .\lib\debug\Marshal_TPMT_SIG_SCHEME.obj  .\lib\debug\Marshal_TPMT_SYM_DEF.obj  .\lib\debug\Marshal_TPMT_SYM_DEF_OBJECT.obj  .\lib\debug\Marshal_TPMT_TK_AUTH.obj  .\lib\debug\Marshal_TPMT_TK_CREATION.obj  .\lib\debug\Marshal_TPMT_TK_HASHCHECK.obj  .\lib\debug\Marshal_TPMT_TK_VERIFIED.obj  .\lib\debug\Marshal_TPMU_ASYM_SCHEME.obj  .\lib\debug\Marshal_TPMU_HA.obj  .\lib\debug\Marshal_TPMU_KDF_SCHEME.obj  .\lib\debug\Marshal_TPMU_PUBLIC_ID.obj  .\lib\debug\Marshal_TPMU_PUBLIC_PARMS.obj  .\lib\debug\Marshal_TPMU_SCHEME_KEYEDHASH.obj  .\lib\debug\Marshal_TPMU_SENSITIVE_COMPOSITE.obj  .\lib\debug\Marshal_TPMU_SIGNATURE.obj  .\lib\debug\Marshal_TPMU_SIG_SCHEME.obj  .\lib\debug\Marshal_TPMU_SYM_KEY_BITS.obj  .\lib\debug\Marshal_TPMU_SYM_MODE.obj  .\lib\debug\marshal_uint16.obj  .\lib\debug\marshal_uint32.obj  .\lib\debug\marshal_uint64.obj  .\lib\debug\marshal_uint8.obj  .\lib\debug\unmarshal_simple_tpm2b.obj  .\lib\debug\Unmarshal_TPM2B_ECC_POINT.obj  .\lib\debug\Unmarshal_TPM2B_NV_PUBLIC.obj  .\lib\debug\Unmarshal_TPM2B_PUBLIC.obj  .\lib\debug\Unmarshal_TPM2B_SENSITIVE.obj  .\lib\debug\Unmarshal_TPMA_ALGORITHM.obj  .\lib\debug\Unmarshal_TPMA_CC.obj  .\lib\debug\Unmarshal_TPMA_LOCALITY.obj  .\lib\debug\Unmarshal_TPMA_NV.obj  .\lib\debug\Unmarshal_TPMA_OBJECT.obj  .\lib\debug\Unmarshal_TPMA_PERMANENT.obj  .\lib\debug\Unmarshal_TPMA_SESSION.obj  .\lib\debug\Unmarshal_TPMA_STARTUP_CLEAR.obj  .\lib\debug\Unmarshal_TPML_ALG.obj  .\lib\debug\Unmarshal_TPML_ALG_PROPERTY.obj  .\lib\debug\Unmarshal_TPML_CC.obj  .\lib\debug\Unmarshal_TPML_CCA.obj  .\lib\debug\Unmarshal_TPML_DIGEST.obj  .\lib\debug\Unmarshal_TPML_DIGEST_VALUES.obj  .\lib\debug\Unmarshal_TPML_ECC_CURVE.obj  .\lib\debug\Unmarshal_TPML_HANDLE.obj  .\lib\debug\Unmarshal_TPML_PCR_SELECTION.obj  .\lib\debug\Unmarshal_TPML_TAGGED_PCR_PROPERTY.obj  .\lib\debug\Unmarshal_TPML_TAGGED_TPM_PROPERTY.obj  .\lib\debug\Unmarshal_TPMS_ALGORITHM_DESCRIPTION.obj  .\lib\debug\Unmarshal_TPMS_ALGORITHM_DETAIL_ECC.obj  .\lib\debug\Unmarshal_TPMS_ALG_PROPERTY.obj  .\lib\debug\Unmarshal_TPMS_ATTEST.obj  .\lib\debug\Unmarshal_TPMS_AUTH_RESPONSE.obj  .\lib\debug\Unmarshal_TPMS_CAPABILITY_DATA.obj  .\lib\debug\Unmarshal_TPMS_CERTIFY_INFO.obj  .\lib\debug\Unmarshal_TPMS_CLOCK_INFO.obj  .\lib\debug\Unmarshal_TPMS_COMMAND_AUDIT_INFO.obj  .\lib\debug\Unmarshal_TPMS_CONTEXT.obj  .\lib\debug\Unmarshal_TPMS_CONTEXT_DATA.obj  .\lib\debug\Unmarshal_TPMS_CREATION_DATA.obj  .\lib\debug\Unmarshal_TPMS_CREATION_INFO.obj  .\lib\debug\Unmarshal_TPMS_ECC_PARMS.obj  .\lib\debug\Unmarshal_TPMS_ECC_POINT.obj  .\lib\debug\Unmarshal_TPMS_EMPTY.obj  .\lib\debug\Unmarshal_TPMS_KEYEDHASH_PARMS.obj  .\lib\debug\Unmarshal_TPMS_NV_CERTIFY_INFO.obj  .\lib\debug\Unmarshal_TPMS_NV_PUBLIC.obj  .\lib\debug\Unmarshal_TPMS_PCR_SELECT.obj  .\lib\debug\Unmarshal_TPMS_PCR_SELECTION.obj  .\lib\debug\Unmarshal_TPMS_QUOTE_INFO.obj  .\lib\debug\Unmarshal_TPMS_RSA_PARMS.obj  .\lib\debug\Unmarshal_TPMS_SCHEME_ECDAA.obj  .\lib\debug\Unmarshal_TPMS_SCHEME_HASH.obj  .\lib\debug\Unmarshal_TPMS_SCHEME_XOR.obj  .\lib\debug\Unmarshal_TPMS_SESSION_AUDIT_INFO.obj  .\lib\debug\Unmarshal_TPMS_SIGNATURE_ECC.obj  .\lib\debug\Unmarshal_TPMS_SIGNATURE_RSA.obj  .\lib\debug\Unmarshal_TPMS_SYMCIPHER_PARMS.obj  .\lib\debug\Unmarshal_TPMS_TAGGED_PCR_SELECT.obj  .\lib\debug\Unmarshal_TPMS_TAGGED_PROPERTY.obj  .\lib\debug\Unmarshal_TPMS_TIME_ATTEST_INFO.obj  .\lib\debug\Unmarshal_TPMS_TIME_INFO.obj  .\lib\debug\Unmarshal_TPMT_ECC_SCHEME.obj  .\lib\debug\Unmarshal_TPMT_HA.obj  .\lib\debug\Unmarshal_TPMT_KDF_SCHEME.obj  .\lib\debug\Unmarshal_TPMT_KEYEDHASH_SCHEME.obj  .\lib\debug\Unmarshal_TPMT_PUBLIC.obj  .\lib\debug\Unmarshal_TPMT_PUBLIC_PARMS.obj  .\lib\debug\Unmarshal_TPMT_RSA_DECRYPT.obj  .\lib\debug\Unmarshal_TPMT_RSA_SCHEME.obj  .\lib\debug\Unmarshal_TPMT_SENSITIVE.obj  .\lib\debug\Unmarshal_TPMT_SIGNATURE.obj  .\lib\debug\Unmarshal_TPMT_SIG_SCHEME.obj  .\lib\debug\Unmarshal_TPMT_SYM_DEF.obj  .\lib\debug\Unmarshal_TPMT_SYM_DEF_OBJECT.obj  .\lib\debug\Unmarshal_TPMT_TK_AUTH.obj  .\lib\debug\Unmarshal_TPMT_TK_CREATION.obj  .\lib\debug\Unmarshal_TPMT_TK_HASHCHECK.obj  .\lib\debug\Unmarshal_TPMT_TK_VERIFIED.obj  .\lib\debug\Unmarshal_TPMU_ASYM_SCHEME.obj  .\lib\debug\Unmarshal_TPMU_ATTEST.obj  .\lib\debug\Unmarshal_TPMU_CAPABILITIES.obj  .\lib\debug\Unmarshal_TPMU_HA.obj  .\lib\debug\Unmarshal_TPMU_KDF_SCHEME.obj  .\lib\debug\Unmarshal_TPMU_PUBLIC_ID.obj  .\lib\debug\Unmarshal_TPMU_PUBLIC_PARMS.obj  .\lib\debug\Unmarshal_TPMU_SCHEME_KEYEDHASH.obj  .\lib\debug\Unmarshal_TPMU_SENSITIVE_COMPOSITE.obj  .\lib\debug\Unmarshal_TPMU_SIGNATURE.obj  .\lib\debug\Unmarshal_TPMU_SIG_SCHEME.obj  .\lib\debug\Unmarshal_TPMU_SYM_KEY_BITS.obj  .\lib\debug\Unmarshal_TPMU_SYM_MODE.obj  .\lib\debug\unmarshal_uint16.obj  .\lib\debug\unmarshal_uint32.obj  .\lib\debug\unmarshal_uint64.obj  .\lib\debug\unmarshal_uint8.obj  ' too long
1>  Stop.
1>NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\nmake.exe"' : return code '0x2'
1>  Stop.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "nmake /F windows.mak Debug" exited with code 2.

Hi, Jimmy
maybe you could try like below:

open a command window,

subst K:  “C:\Program Files (x86)\Microsoft Visual Studio 11.0”,
run “k:\VC\bin\vcvars.bat “ ,
in computer -> properties -> advanced systerm setting -> environment varibles, add a new value:  TSSTOOLS_PATH=K:

FYI

Do we intend to support nmake? Has anyone successfully built this code using nmake before?

For command line builds, I use msbuild from the project’s root dir:

msbuild tss.sln

I think you have to be in a VS 2010 command prompt window OR a command window from which you’ve run the following:
call %TSSTOOLS_PATH%\vc\bin\vcvars32.bat
I don’t know if nmake works—haven’t tried it.  I’d suggest msbuild.
Will Arthur
Intel Corporation
Server Security Firmware
803-216-2101
From: Philip Tricca [mailto:notifications@github.com]
Sent: Thursday, November 12, 2015 9:54 PM
To: 01org/TPM2.0-TSS TPM2.0-TSS@noreply.github.com
Subject: Re: [TPM2.0-TSS] sysapi build failure in window: NMAKE: expanded cmdline too long (#64)
Do we intend to support nmake? Has anyone successfully built this code using nmake before?
—
Reply to this email directly or view it on GitHubhttps://github.com/01org/TPM2.0-TSS/issues/64#issuecomment-156307749.

msbuild tss.sln will report similar error.
the issue is how to build the tpm20lib-tpm project. that project is using nmake to build, isn't it?

I guess I got around this by doing the following:
subst k: c:"Program Files (x86)\Microsoft Visual Studio 11.0"
call k:\vc\bin\vcvars32.bat"
set TSSTOOLS_PATH=k:"\VC\bin"
Will Arthur
Intel Corporation
Server Security Firmware
803-216-2101
From: Gang(Jimmy) Wei [mailto:notifications@github.com]
Sent: Tuesday, November 24, 2015 3:10 PM
To: 01org/TPM2.0-TSS TPM2.0-TSS@noreply.github.com
Cc: Arthur, Will C will.c.arthur@intel.com
Subject: Re: [TPM2.0-TSS] sysapi build failure in window: NMAKE: expanded cmdline too long (#64)
msbuild tss.sln will report similar error.
the issue is how to build the tpm20lib-tpm project. that project is using nmake to build, isn't it?
—
Reply to this email directly or view it on GitHubhttps://github.com/01org/TPM2.0-TSS/issues/64#issuecomment-159391066.

I am using VS2012, and it seems like the TSSTOOLS_PATH variable doesn't impact it at all - I tried.
IMHO, the expanded NMAKE cmdline is now 11446 chars, just reduce tens of chars in the beginning should not make sense for fix it.
Have you ever build the tip in window? and have you ever tried VS2012?
Maybe I should try VS2011 later...

Maybe a can of worms, but CMake is very nice for support cross-platform builds. You can then generate your Makefile/SLNs/NMake files, etc. ;)

thanks Teddy, will give it a try when possible.

The build instructions state that VS2010 is the supported VS version and as @gwei3 says he's using VS2012. IMO this issue should be closed as "won't fix". If we'd like to upgrade to a newer version of VS that should probably go into a new ticket. If anyone disagrees with this please feel free to reopen the issue.

I agree!
(another plug!) If you get CI building for VS you can explicitly choose/test the versions. ;)
I can also add some anecdotal memories from trying VS 15 and having the build bark.

source: gharchive/issue

license_type: permissive

license_source: bigquery


text:
loadAjax() did not load content with class='panel' properly

original code Line 1181
if(!$res.hasClass(".panel")){
$res=$res.attr("data-title",(target));
$res.prop("id",crc);
$res.addClass("panel");
}
else {
$res=$res.find(".panel");
}
I fixed it with the following
//the first node not having class panel
if(!$(res).hasClass('panel')) {
$res=$res.attr("data-title",(target));
$res.prop("id",crc);
$res.addClass("panel");
} else {
$res=$res.find(".panel");
//check if panel do not hv id
if(!$res.prop('id')) {
$res.prop("id",crc);
}
}
Hope someone can fixed this to the repository!!

I also encountered。。can you help me ? use api "$.af.loadajax"   load page 。 I trying refresh  page..
Results page Jump to the home page。How to keep the current page？

@zhangkangbin  -please submit a pull request with the fix and a demo showing the fix, and we will merge it.

authors: cmwong imaffett zhangkangbin

license: mit


text:
travis: Allow go tip builds to fail

The go tip builds are currently failing due to a compiler error, i.e.,
a crash in the compiler.  This commit will allow ciao builds to continue
to pass even if go tip builds fail.  This is reasonable enough as there
are likely to be build breakages on go tip from time to time.
Signed-off-by: Mark Ryan mark.d.ryan@intel.com

Coverage increased (+0.009%) to 66.691% when pulling e2c1e4a81afc81d4f0cd11df641287aecbe202cf on markdryan:fix-travis-tip into ef8efc7579d3a7847636fd18bc33f09b0196073e on 01org:master.

source: gharchive/pull-request

authors: coveralls markdryan

license_source: github-api


text:
ciao-scheduler: add first unit test and benchmark

This series enables go test of scheduler and fixes a couple issues observed when running the test.

Coverage decreased (-1.6%) to 41.3% when pulling 93aa9341a42a30875028e9852efa4ea9c2ed420d on tpepper:unittests into 16e9a4cd8f3ef52c534106b449f16a4870066491 on 01org:master.

Coverage decreased (-1.6%) to 41.3% when pulling 46fdff9d742ea0a8c9462bfbdc363496d03b52e4 on tpepper:unittests into b9ccb0b6f3bdf4622567db8a494c81b5c3bffc15 on 01org:master.

Coverage decreased (-1.2%) to 41.662% when pulling 3981c9bb574af6a20d37234d646635f8470846ca on tpepper:unittests into b9ccb0b6f3bdf4622567db8a494c81b5c3bffc15 on 01org:master.

Coverage decreased (-0.4%) to 42.514% when pulling ec4fcbae3aa1098189eb1bffe1c3dad9cc471e77 on tpepper:unittests into 2af99f2980f466d7fb39028333913794f30a9029 on 01org:master.

Coverage decreased (-0.5%) to 42.44% when pulling 79398740cfa55fa34cf5ffda30497cd45f833de8 on tpepper:unittests into 2af99f2980f466d7fb39028333913794f30a9029 on 01org:master.

Coverage decreased (-0.5%) to 42.464% when pulling 3b11b0f6d1dbd11293791ae5a0463f2782652a5f on tpepper:unittests into 2af99f2980f466d7fb39028333913794f30a9029 on 01org:master.

Coverage increased (+1.04%) to 43.983% when pulling 7be861507e5f51491b01e61d2ebcb375fbd96752 on tpepper:unittests into 2af99f2980f466d7fb39028333913794f30a9029 on 01org:master.

authors: coveralls tpepper


text:
[Governance] Musical Chairs

Features

[x] Evaluate nodes that are compliant, and get ratio of non compliant
[x] Calculate the expansion, or reduction of the set based on heuristic
[x] EpochBoundary uses next validator set size, to finalize auction (proof of fee)

Testing

[x] init from genesis
[x] epoch boundary
[x] eval compliance
[x] return new size per thresholds

@hemulin The relevant files are in diem-move/diem-framework/DPN/sources/0L/
Note that many of those changes commits included in ProofOfFee
Perhaps start focus on:
https://github.com/0LNetworkCommunity/libra/pull/1235/files#diff-453224ca439c5b539a6049522f5bcae54cb0db903170654f0b777b2971fd5da0

Closing due to changes included #1261


text:
Fix: Branches chapter-2 & ffstyles

Need to find the conflicts between the two and merge ffstyles into chapter-2 branch.

Merged the branches and included style changes. However, the style change was a Kingdom Hearts theme instead.

license: MIT


text:
🛑 Journal is down

In c0067c1, Journal (https://journal.unej.ac.id) was down:

HTTP code: 500
Response time: 1060 ms

Resolved: Journal is back up in 431d3c0 after 53 minutes.


text:
🛑 Mobile-SIAKAD is down

In e8b6f0d, Mobile-SIAKAD (https://mobile-siakad.unej.ac.id) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mobile-SIAKAD is back up in adcf7a5 after 32 minutes.


text:
utf-8 error

hi,
some log contain valid UTF-8
log show
stream did not contain valid UTF-8
fix code
  let mut s = Vec::new();
        if let Err(err) = gz.read_to_end(&mut s) {
            return Err(anyhow::Error::new(err));
        } else {
            output_buf_file.appen_str(&String::from_utf8_lossy(&mut s))?;
        };

@suyulin 能否提供下如何构造出错的输入

@suyulin 更新了，你再看看呢

公司APP的日志，不方便提供


text:
Code break or crash during sync causes node to get stuck on resume

Crash or break during sync causes node to get stuck
Description
If, during syncing, the node crashes, the node is unable to restart on the target block.
Your environment

OS and version Ubuntu 20
version of the Polygon SDK 8f320b13ff4c911d5c7165d8c2259910ba05c495
branch that causes this issue bug/total-difficulty-is-one

Steps to reproduce

Tell us how to reproduce this issue
Set a breakpoint here

https://github.com/0xPolygon/polygon-sdk/blob/bug/total-difficulty-is-one/protocol/syncer.go#L497
which is called when the sync is done (caught up to the target). Wait 15-30 seconds, resume. Node will be stuck.
Stop the program, restart. Observe logs. Node might be stuck in forever enqueue block loop. Seems to happen about half the time.
Genesis:
{
    "name": "sx-main",
    "genesis": {
      "nonce": "0x0000000000000000",
      "timestamp": "0x0",
      "extraData": "0x0000000000000000000000000000000000000000000000000000000000000000f86df8699469963e7772aa82a1ce8b8d068cfd084c9e8cc49d94499a4f181c0d007993c8accd07ac0d9c12480dad9422a859c408da7b86de594a4316adaf47f38442329480415b5bcf19b0759298cb4597d2c8155b2a3baa941a76de6a4853b6d42b32786dc7a17c140a790aed80c0",
      "gasLimit": "0x500000",
      "difficulty": "0x1",
      "mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
      "coinbase": "0x0000000000000000000000000000000000000000",
      "alloc": {
        "0x92235A23306Cd342582c80897aD9Cd16edC9a69a": {
          "balance": "0x33b2e3c9fd0803ce8000000"
        }
      },
      "number": "0x0",
      "gasUsed": "0x70000",
      "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    "params": {
      "forks": {
        "homestead": 0,
        "byzantium": 0,
        "constantinople": 0,
        "petersburg": 0,
        "istanbul": 0,
        "EIP150": 0,
        "EIP158": 0,
        "EIP155": 0
      },
      "chainID": 416,
      "engine": {
        "ibft": {}
      }
    },
    "bootnodes": [
      "/ip4/3.97.59.226/tcp/10001/p2p/16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2",
      "/ip4/3.99.47.203/tcp/10001/p2p/16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y",
      "/ip4/3.99.60.226/tcp/10001/p2p/16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix",
      "/ip4/15.222.29.145/tcp/10001/p2p/16Uiu2HAm6zzPxfXiGPnWehfAmCx1fgUpvK337bg313coac6B2Lfh"
    ]
  }

Where the issue is, if you know
Which commands triggered the issue, if any

server
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Logs
2021-11-05T13:54:53.882-0400 [INFO]  polygon.blockchain: new block: number=66768 hash=0x7cc38ab8a8125c512642c61ec66ace7d9b87faec0a7413628b8cbc8084676ae8 txns=0 generation_time_in_sec=10
2021-11-05T13:54:53.882-0400 [INFO]  polygon.blockchain: new head: hash=0x7cc38ab8a8125c512642c61ec66ace7d9b87faec0a7413628b8cbc8084676ae8 number=66768
2021-11-05T13:54:53.882-0400 [INFO]  polygon.blockchain: write blocks: num=10 from=66769 to=66778 parent=0x7cc38ab8a8125c512642c61ec66ace7d9b87faec0a7413628b8cbc8084676ae8
2021-11-05T13:54:53.920-0400 [INFO]  polygon.blockchain: new block: number=66769 hash=0xbf3be7c218455291c1d2cab281f50b2e8aaf00ddf996eb401846a4918ed5ea44 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.921-0400 [INFO]  polygon.blockchain: new block: number=66770 hash=0xb58bfb4096e99fe129a7b12a549f17a4897001c4f33e7735200e0f783bf96f32 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.922-0400 [INFO]  polygon.blockchain: new block: number=66771 hash=0xfca6d2fc88d87f04c0805bd7c244a7444adf2fae69374c0afd358f4a2e4acf41 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.923-0400 [INFO]  polygon.blockchain: new block: number=66772 hash=0x4c7011b044c957043d9072da92f593cb98495b9c51747efbd4dc51b711d1dd4b txns=0 generation_time_in_sec=10
2021-11-05T13:54:53.924-0400 [INFO]  polygon.blockchain: new block: number=66773 hash=0x98ea7e7f7e9805a9a54874744c5be65461b16c4cd1c2b4f55a82543e1f80cf0d txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.925-0400 [INFO]  polygon.blockchain: new block: number=66774 hash=0x5e1277995393b7f1ab2763b7b18c750372bbe21825b39c0f58e23f5c40d8260b txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.925-0400 [INFO]  polygon.blockchain: new block: number=66775 hash=0xe1e0e4515db41cc3739e66a1cb060d1808d290e8973362fd2edec35cd8465ac8 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.926-0400 [INFO]  polygon.blockchain: new block: number=66776 hash=0x011f6e4c56627900dc7826b3935bd46505fea7505f897a3400f4cf1ee5118ed8 txns=0 generation_time_in_sec=10
2021-11-05T13:54:53.927-0400 [INFO]  polygon.blockchain: new block: number=66777 hash=0x79984bce6e2fc18885ed8e3bd08bf5620939b8e67531cf10fed1499b51e83d6f txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.928-0400 [INFO]  polygon.blockchain: new block: number=66778 hash=0x980d19285006eccea285bbbffd75cec996fd1146b0405c02dffa72f1fdd74d23 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.928-0400 [INFO]  polygon.blockchain: new head: hash=0x980d19285006eccea285bbbffd75cec996fd1146b0405c02dffa72f1fdd74d23 number=66778
2021-11-05T13:54:53.928-0400 [INFO]  polygon.blockchain: write blocks: num=5 from=66779 to=66783 parent=0x980d19285006eccea285bbbffd75cec996fd1146b0405c02dffa72f1fdd74d23
2021-11-05T13:54:53.946-0400 [INFO]  polygon.blockchain: new block: number=66779 hash=0x6d098e0959121b2fcfed89a6be23efb0347de18576870e2976e2276dd307533c txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.947-0400 [INFO]  polygon.blockchain: new block: number=66780 hash=0xade8b3052ab672973818629e8f81ff47a7d3bc095c909d4db161356786e87462 txns=0 generation_time_in_sec=10
2021-11-05T13:54:53.948-0400 [INFO]  polygon.blockchain: new block: number=66781 hash=0x38229435311825986e62ceef8e25d0d7d6b325f44e737402d51c4c043533a313 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.949-0400 [INFO]  polygon.blockchain: new block: number=66782 hash=0xcdba5e06e7eba7452dc88e022d499516e6e716da76cdf345799d4258875d1cef txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.950-0400 [INFO]  polygon.blockchain: new block: number=66783 hash=0x303f9ba9612c1df80bd78303d34162569eab5f8021988c89301415faf27bc116 txns=0 generation_time_in_sec=2
2021-11-05T13:54:53.950-0400 [INFO]  polygon.blockchain: new head: hash=0x303f9ba9612c1df80bd78303d34162569eab5f8021988c89301415faf27bc116 number=66783

---------------------------------------------- BREAKPOINT -------------------------------------------_

2021-11-05T14:33:54.478-0400 [INFO]  polygon.blockchain: write block: num=66783 parent=0xcdba5e06e7eba7452dc88e022d499516e6e716da76cdf345799d4258875d1cef
2021-11-05T14:33:54.478-0400 [ERROR] polygon.network: failed to dial bootnode: err="rpc error: code = Unavailable desc = transport is closing"
2021-11-05T14:33:54.479-0400 [INFO]  polygon.network: Peer disconnected: id=16Uiu2HAm6zzPxfXiGPnWehfAmCx1fgUpvK337bg313coac6B2Lfh
2021-11-05T14:33:54.479-0400 [INFO]  polygon.network: Peer disconnected: id=16Uiu2HAm3Nu7MKwAz8vvbAbehwtLxMUZo8jX9Fx5c6XyKSE5d1d9
2021-11-05T14:33:54.479-0400 [INFO]  polygon.network: Peer disconnected: id=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y
2021-11-05T14:33:54.480-0400 [INFO]  polygon.network: Peer disconnected: id=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix
2021-11-05T14:33:54.480-0400 [DEBUG] polygon.network: dial: local=16Uiu2HAm8E75tNkP7SdnNtEwRwB2QLTqQKJVnx6LUEvajqrymSuT addr="{16Uiu2HAmVdYc3ZiEgRxUhGj5qetq6R1pedQsDcTS3hgyHrzxPMRf: [/ip4/15.222.61.141/tcp/1478]}"
2021-11-05T14:33:54.480-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 number=66784 hash=0xd0aff00e778d31ec396153b442435fef9aad441a853b6aa60bd07624f18d94aa
2021-11-05T14:33:54.480-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 latest block number=66784 latest block hash=0xd0aff00e778d31ec396153b442435fef9aad441a853b6aa60bd07624f18d94aa difficulty=1
2021-11-05T14:33:54.484-0400 [INFO]  polygon.network: Peer disconnected: id=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2
2021-11-05T14:33:54.493-0400 [INFO]  polygon.blockchain: new block: number=66783 hash=0x303f9ba9612c1df80bd78303d34162569eab5f8021988c89301415faf27bc116 txns=0 generation_time_in_sec=2
2021-11-05T14:33:54.493-0400 [INFO]  polygon.blockchain: new head: hash=0x303f9ba9612c1df80bd78303d34162569eab5f8021988c89301415faf27bc116 number=66783
2021-11-05T14:33:54.493-0400 [INFO]  polygon.consensus.syncer: Connection to a peer has closed already: id=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix
2021-11-05T14:33:59.486-0400 [DEBUG] polygon.network: dial: local=16Uiu2HAm8E75tNkP7SdnNtEwRwB2QLTqQKJVnx6LUEvajqrymSuT addr="{16Uiu2HAkxhGp5EfENFp27GJH1zWDe6hkY7Pb6Loo9pjmPmTRvvaP: [/ip4/99.79.55.104/tcp/1478]}"

After restarting:
2021-11-05T15:10:34.140-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 latest block number=67786 latest block hash=0xba02f0baa6f0e74c78f6c912765a39806d15a6318341803a636f1aa1bd9ea774 difficulty=1
2021-11-05T15:10:34.140-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y number=67786 hash=0xba02f0baa6f0e74c78f6c912765a39806d15a6318341803a636f1aa1bd9ea774
2021-11-05T15:10:34.140-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y latest block number=67786 latest block hash=0xba02f0baa6f0e74c78f6c912765a39806d15a6318341803a636f1aa1bd9ea774 difficulty=1
2021-11-05T15:10:34.142-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix number=67786 hash=0xba02f0baa6f0e74c78f6c912765a39806d15a6318341803a636f1aa1bd9ea774
2021-11-05T15:10:34.142-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix latest block number=67786 latest block hash=0xba02f0baa6f0e74c78f6c912765a39806d15a6318341803a636f1aa1bd9ea774 difficulty=1
2021-11-05T15:10:35.232-0400 [DEBUG] polygon.network: dial: local=16Uiu2HAm8E75tNkP7SdnNtEwRwB2QLTqQKJVnx6LUEvajqrymSuT addr="{16Uiu2HAmPDY9qHtiLvg6Yxb5KvKfSD82LR8CsfNZsUbEBk5a5XSC: [/ip4/15.222.60.41/tcp/1478]}"
2021-11-05T15:10:36.063-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix number=67787 hash=0xba37dced6b66a9493da78159c069413ad60725412d7472e19b0bdb9852fea0c2
2021-11-05T15:10:36.063-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix latest block number=67787 latest block hash=0xba37dced6b66a9493da78159c069413ad60725412d7472e19b0bdb9852fea0c2 difficulty=1
2021-11-05T15:10:36.064-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y number=67787 hash=0xba37dced6b66a9493da78159c069413ad60725412d7472e19b0bdb9852fea0c2
2021-11-05T15:10:36.064-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y latest block number=67787 latest block hash=0xba37dced6b66a9493da78159c069413ad60725412d7472e19b0bdb9852fea0c2 difficulty=1
2021-11-05T15:10:36.070-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 number=67787 hash=0xba37dced6b66a9493da78159c069413ad60725412d7472e19b0bdb9852fea0c2
2021-11-05T15:10:36.070-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 latest block number=67787 latest block hash=0xba37dced6b66a9493da78159c069413ad60725412d7472e19b0bdb9852fea0c2 difficulty=1
2021-11-05T15:10:38.062-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y number=67788 hash=0x2195bb01738617e8eede1815009af7dc8022da21c7004ea0b6448f02c71c1f5f
2021-11-05T15:10:38.062-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y latest block number=67788 latest block hash=0x2195bb01738617e8eede1815009af7dc8022da21c7004ea0b6448f02c71c1f5f difficulty=1
2021-11-05T15:10:38.062-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix number=67788 hash=0x2195bb01738617e8eede1815009af7dc8022da21c7004ea0b6448f02c71c1f5f
2021-11-05T15:10:38.062-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix latest block number=67788 latest block hash=0x2195bb01738617e8eede1815009af7dc8022da21c7004ea0b6448f02c71c1f5f difficulty=1
2021-11-05T15:10:38.064-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 number=67788 hash=0x2195bb01738617e8eede1815009af7dc8022da21c7004ea0b6448f02c71c1f5f
2021-11-05T15:10:38.064-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 latest block number=67788 latest block hash=0x2195bb01738617e8eede1815009af7dc8022da21c7004ea0b6448f02c71c1f5f difficulty=1
2021-11-05T15:10:40.060-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y number=67789 hash=0x79d093186616d7a14604cfa81e15826d4e59c8da504e63dd65b5318d75db3eeb
2021-11-05T15:10:40.060-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmGyM4BqngjU12BofCa9n6bPtzaHXPTAwczVQ9vcsWkj8y latest block number=67789 latest block hash=0x79d093186616d7a14604cfa81e15826d4e59c8da504e63dd65b5318d75db3eeb difficulty=1
2021-11-05T15:10:40.085-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 number=67789 hash=0x79d093186616d7a14604cfa81e15826d4e59c8da504e63dd65b5318d75db3eeb
2021-11-05T15:10:40.085-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAmNvRtM271id6bkFsKgyjfPKCJqQirnP3DfCByeQqXEAG2 latest block number=67789 latest block hash=0x79d093186616d7a14604cfa81e15826d4e59c8da504e63dd65b5318d75db3eeb difficulty=1
2021-11-05T15:10:40.109-0400 [DEBUG] polygon.consensus.syncer: enqueue block: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix number=67789 hash=0x79d093186616d7a14604cfa81e15826d4e59c8da504e63dd65b5318d75db3eeb
2021-11-05T15:10:40.109-0400 [DEBUG] polygon.consensus.syncer: update peer status: peer=16Uiu2HAm56xeXLejiKei7bi3Z6tEShhFhUJnZFxEV35irdZwzVix latest block number=67789 latest block hash=0x79d093186616d7a14604cfa81e15826d4e59c8da504e63dd65b5318d75db3eeb difficulty=1
2021-11-05T15:10:40.233-0400 [DEBUG] polygon.network: dial: local=16Uiu2HAm8E75tNkP7SdnNtEwRwB2QLTqQKJVnx6LUEvajqrymSuT addr="{16Uiu2HAm9GWbNu8ZSsmiAwrwwbpEyrCbynD22zfU5akU1oYmWmkB: [/ip4/35.183.12.183/tcp/1478]}"
2021-11-05T15:10:45.234-0400 [DEBUG] polygon.network: dial: local=16Uiu2HAm8E75tNkP7SdnNtEwRwB2QLTqQKJVnx6LUEvajqrymSuT addr="{16Uiu2HAmS4hFYQgMZGDCzN9tMS5MtEVnkNZYi96siyvPhXVGJAXL: [/ip4/35.183.235.100/tcp/1478]}"
2021-11-05T15:10:45.435-0400 [DEBUG] polygon.network: dial: local=16Uiu2HAm8E75tNkP7SdnNtEwRwB2QLTqQKJVnx6LUEvajqrymSuT addr="{16Uiu2HAkxtHba8MVSv9LMfS8Jk98wbiy4MgMy5w1SHVrmeDAyFSV: [/ip4/3.96.215.159/tcp/1478]}"

Proposed solution
If you have an idea of how to fix this issue, please write it down here, so we can begin discussing it

Hey mrwillis,
Thank you for posting the issue. However, I have to ask of you not to merge with bug/total-difficulty-is-one, as that branch was just the starting point of what led to the real issues previously posted - namely, #167 and #179.
That branch will be revised soon after #208 is merged, to address the specific difficulty implementation of IBFT. In order to achieve this, the Syncer issues (relying on difficulty) needed to be solved first.
Apologies for not mentioning this earlier.

If you re-experience this issue on the latest develop, please reopen the issue. Closing it now.

authors: dbrajovic mrwillis


text:
Feature ibft

Description
Please provide a detailed description of what was done in this PR
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist

[ ] I have assigned this PR to myself
[ ] I have added at least 1 reviewer
[ ] I have tested this code
[ ] I have updated the README and other relevant documents (guides...)
[ ] I have added sufficient documentation both in code, as well as in the READMEs

Additional comments
Please post additional comments in this section if you have them, otherwise delete it

Closed in favor of #29


text:
Inquiry about Serialization and Deserialization of the "data" Variable in plonky2-ecdsa

Hi there,
I hope this message finds you well. I have a question regarding the serialization and deserialization process, specifically with respect to the "data" variable.
I'm focusing on the code snippet in the following link:
https://github.com/0xPolygonZero/plonky2-ecdsa/blob/bdb6504bca250db1548cdcce2407d4e334990c33/src/gadgets/ecdsa.rs#L95C20-L95C27
Could you please provide detailed information or examples on how the "data" variable in this code snippet is serialized and deserialized?
Your insights will be extremely helpful. Thank you in advance for your assistance.

I have defined a generator_serializer as shown below. However, I realized that in the ECDSA circuit, some NonNative operations are performed on Secp256K1Base, while others are on Secp256K1Scalar. How should I handle this situation? For instance, split_nonnative_to_4_bit_limbs depends on Secp256K1Scalar, whereas builder.constant_affine_point relies on Secp256K1Base. Here's how I've defined the serializer:
    let generator_serializer = CustomGeneratorSerializer {
        _phantom: PhantomData::<C>,
        _phantom2: PhantomData::<Secp256K1Base>,
        _phantom3: PhantomData::<Secp256K1Scalar>,
    };

pub struct CustomGeneratorSerializer<
    C: GenericConfig<D>,
    FF1: PrimeField,
    FF2: PrimeField,
    const D: usize,
> {
    pub _phantom: PhantomData<C>,
    pub _phantom2: PhantomData<FF1>,
    pub _phantom3: PhantomData<FF2>,
}

impl<F, FF1, FF2, C, const D: usize> WitnessGeneratorSerializer<F, D>
    for CustomGeneratorSerializer<C, FF1, FF2, D>
where
    F: RichField + Extendable<D>,
    C: GenericConfig<D, F = F> + 'static,
    C::Hasher: AlgebraicHasher<F>,
    FF1: PrimeField,
    FF2: PrimeField,
{
    impl_generator_serializer! {
        // CustomGeneratorSerializer,
        DummyProofGenerator<F, C, D>,
        ArithmeticBaseGenerator<F, D>,
        ConstantGenerator<F>,
        PoseidonGenerator<F, D>,
        PoseidonMdsGenerator<D>,
        Poseidon2Generator<F, D>,
        RandomValueGenerator,
        BaseSumGenerator<4>,
        NonNativeMultiplicationGenerator<F, D, FF2>,
        NonNativeAdditionGenerator<F, D, FF2>,
        NonNativeInverseGenerator<F, D, FF2>,
        NonNativeSubtractionGenerator<F, D, FF2>,
        GLVDecompositionGenerator<F, D>,
        U32RangeCheckGenerator<F, D>,
        EqualityGenerator,
        U32ArithmeticGenerator<F, D>,
        U32AddManyGenerator<F, D>,
        ComparisonGenerator<F,D>,
        BaseSplitGenerator<2>,
        RandomAccessGenerator<F, D>,
        U32SubtractionGenerator<F, D>
    }
}

@kiwi202202 Do you have a repository I can look at? What exactly is your problem here?

Here is the repo: https://github.com/ZeroKPunk/Plonky2-lib.git
I am encountering an issue where I cannot use the deserialized data (data_from_bytes) for proving in src/ecdsa/gadgets/ecdsa.rs. I suspect this might be related to how PrimeField is configured. Additionally, I identified and corrected a minor issue in this repository:
The order of serialization and deserialization in NonNativeInverseGenerator does not align. The issue can be resolved by adjusting the order in serialization as follows:
dst.write_biguint_target(self.x.value.clone())?;
dst.write_biguint_target(self.inv.clone())?;
dst.write_biguint_target(self.div.clone())?;

This change ensures that the serialization and deserialization sequences match correctly.

I can't compile the link you shared, it's containing references to poseidon2 within plonky2 which is not included in the crate. Can you provide additional inputs as to how you ran it / tested it?
As for your comment on order of deserialization, indeed you need to process elements in the same order as they were serialized, otherwise you'd be looking at the wrong byte section for a given object.

Sorry for not being clear earlier. You can use this plonky2 library from this repository: https://github.com/ZeroKPunk/plonky2. Then, you should comment out the Poseidon2 part. After doing this, it should compile and run successfully. Here is the command I used to run it:
RUSTFLAGS=-Ctarget-cpu=native cargo test --package Plonky2-lib --release --lib -- ecdsa::gadgets::ecdsa::tests::test_batch_ecdsa_circuit_narrow --exact --nocapture --ignored

You may change batch_num to 1 for easier testing.

I've identified a serialization issue in the ECDSA verify message circuit, specifically in the following invoked function:
let point1 = fixed_base_curve_mul_circuit(builder, Secp256K1::GENERATOR_AFFINE, &u1);

Within this function, there is a line of code:
let limbs = builder.split_nonnative_to_4_bit_limbs(scalar);

This line seems to be causing an error in the zkp verification:
thread 'ecdsa::gadgets::ecdsa::tests::test_batch_ecdsa_circuit_narrow' panicked at src/ecdsa/gadgets/ecdsa.rs:407:24:
called `Result::unwrap()` on an `Err` value: Condition failed: `vanishing_polys_zeta[i] == z_h_zeta * reduce_with_powers(chunk, zeta_pow_deg)`

Is there any way to address this problem?

authors: Hodgeson Nashtare kiwi202202


text:
How will i fetch .json files from build folder in truffle using truffle console?

Hi,
How will I call .json files from build folder  Truffle...?Truffle migration successfully completed..I worked in Privatenet...Then I tried

truffle console
truffle(development)> const { abi } = require('./build/contracts/MyNFT.json');
**Undefined**

Please help me to figured out this issue? Why it's showing undefined?

It's mentioned in the docs:
require('@0xcert/ethereum-erc721/build/contracts/MyNFT.json');


text:
ERC721 implementation shouldn't extend from Ownable

I have to say it IS convenient in my unit tests, that it does, but not all deployments will require it.

You are correct, we will move the Ownable to the mocks.

#98 @mg6maciej How does this look to you now? The implementation itself is without ownable but mocks have it.

@MoMannn LGTM. If possible I would go with a bit different inheritance to avoid duplicating mint and burn in 4 mock contracts. Something like NFTokenEnumerableMock is NFTokenEnumerable, NFTokenMock.

@mg6maciej Ok, then I will close this issue. We will consider your suggestion about inheritance but that is a separate thing so I will open another issue for discussion about it.


text:
Multiline math blocks don't work

Hi! I love this plugin and how easy it is to use without requiring any complicated settings!! ❤
I'm encountering an issue though: using multiline math like
$$
Q = rho A v + "time offset"
$$

causes

to be displayed. I usually format bigger math like described above, so it would be awesome if this plugin could support it :)

Hello @Ellpeck, thank you for opening this issue! I will start working on this on Friday.


text:
🛑 Summary Safety Decision API is down

In ccf2d01, Summary Safety Decision API ($SBD_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Summary Safety Decision API is back up in 57c8b1f after 15 minutes.


text:
pagecontrol 的点点算法错误

在 layoutIndicatorViews
{
case UIControlContentHorizontalAlignmentCenter：
orignX = (CGRectGetWidth(self.frame) - (_indicatorViews.count - 1) * (_pageIndicatorSize.width + _pageIndicatorSpaing) - _currentPageIndicatorSize.width )/2;
for ()
{
indicatorView.frame = CGRectMake(orignX , centerY - size.height/2, size.width, size.height);
    orignX += size.width + pageIndicatorSpaing;

}
}

在这里我只看了我所用到的地方存在的问题

哪个地方错了请说明下


text:
为啥不支持图标 只支持文本标题

为啥不支持图标 只支持文本标题

自定义吧


text:
Move to a new CI/CD system

This repository has been using Travis CI, however access to Travis CI is now turning off. When you need to use this repository again, convert it to a CI/CD system which is in the ITSP such as Circle CI.

Closed by a07fab5, which moved to CircleCI.  Thanks!

authors: catherinedevlin hollyallen


text:
minor changes to readme re:install instructions

-instructions for git clone
-in readme replace references to Sniffer.yml -> sniffer.yml to match actual .yml file

Thank you Evan for finding the yml capitalization error and for adding instructions for git clone !

duh, on my part with seg_gym... sorry!


text:
How to run inference

Hi there, I have a problem with the inference phase.
How to set the input_folder when I run the predict_simple.py?
Thanks

https://github.com/282857341/nnFormer/blob/78ab7e3f79235b828c74ff1eb058e42bdae16e0b/train_inference.sh#L24-L31
You can run the code above to run the inference. And the path of the input folder can be set as  -i imagesTs


text:
서버 발로 차서 꺼진듯

크흠

고침


text:
如何设置选中的背景样式？可否进行多选？

在项目中集成了你的taggroup，但是在源码中没找到进行设置背景样式的代码以及如何多选？选择后可否删除？

<me.gujun.android.taggroup.TagGroup
android:id="@+id/tag_group"
style="@style/TagGroup"
app:atg_pressedBackgroundColor="#ff0000"
android:layout_marginTop="10dp" />

这个项目并没有多选模式，我fork了这个项目并增加了Check模式，地址 : Tags。希望能帮到你。


text:
Update the README with the goals and guiding strategy of this website

Context
This website is one of the most prominent public-facing parts of 2i2c, and it's important that we clearly define our goals for the site, and our strategy for how to use it to accomplish our goals. This currently is not defined anywhere in an explicit way, and doing so will make it easier to make decisions about how to change the content and structure.
Proposal
We should define a few major goals for this site and display them prominently in its README (above the sections about how to do various things with it). Here are a few suggested goals:

Answer "what is 2i2c and why does it exist?" in a glanceable way. This includes our mission, major strategy, and major operational efforts.
Make it easy to understand without a lot of context for the key stakeholders we care about
Demonstrate the impact of 2i2c's operations
Build trust with communities that don't know us by demonstrating our work with others
Provide calls to action according to next steps we want others to take
Provide links to deeper material for people that want to learn more

Updates and actions
No response

Why put this info in the README and not on the website itself? Or is it already on the website and this is a recap with links to the appropriate sections on the website?

My thinking was because the README is meant for internal team members who work on the website, whereas the website itself is meant for external stakeholders.

Where would you suggest placing it within the website?

Front page 😄 In shorthand format, then links to deeper dives as you've suggested. This all feels like really important info that anyone wanting to work with us would want to know about, and I guess I'm not quite understanding the internal/external divide you've drawn.
As an internal team member, I want to know how to build the site locally and maybe also the structure of the repo so I can figure out where my contribution best lives. I can actually visit the site to learn about the content.
I'm not sure if I'm making sense though, or have just misunderstood.

Oh ok upon re-reading, it sounds like your bullet list is a copy-pastable example of exactly what we should put in the README, and are not questions to answer, write up, and then post on the website.
Ok that seems reasonable, I think I'm onboard now.


text:
[Decommission Hub] m2lines

Summary
Our contract with m2lines is over. Many of the users on m2lines already have access to the LEAP hub.
Info

Community Representative:
Link to New Hub issue:
Proposed end date:

Task List
Phase I

[ ] Confirm with Community Representative that the hub is no longer in use and it's safe to decommission
[ ] Confirm if there is any data to migrate from the hub before decommissioning

[ ] If yes, confirm where the data should be migrated to

[ ] Confirm a 2i2c Engineer has access to the destination in order to complete the data migration

[ ] If no, confirm it is ok to delete all the data stored in the user home directories

Phase II - Hub Removal
(These steps are described in more detail in the docs at https://infrastructure.2i2c.org/en/latest/hub-deployment-guide/hubs/other-hub-ops/delete-hub.html)

[ ] Manage existing data (migrate data from the hub or delete it)
[ ] Delete the hub's authentication application on GitHub or CILogon (note CILogon removal requires the hub config in place)
[ ] Remove the appropriate config/clusters/<cluster_name>/<hub_name>.values.yaml files. A complete list of relevant files can be found under the appropriate entry in the associated cluster.yaml file.
[ ] Remove the associated hub entry from the config/clusters/<cluster_name>/cluster.yaml file.
[ ] Remove the hub deployment

helm --namespace HUB_NAME delete HUB_NAME
kubectl delete namespace HUB_NAME

Phase III - Cluster Removal
This phase is only necessary for single hub clusters.

[ ] Run terraform plan -destroy and terraform apply from the appropriate workspace, to destroy the cluster
[ ] Delete the terraform workspace: terraform workspace delete <NAME>
[ ] Remove the associated config/clusters/<cluster_name> directory and all its contents
Remove the cluster from CI:

[ ] deploy-hubs.yaml
[ ] validate-clusters.yaml

[ ] Remove the cluster from the list of grafana datasources at https://grafana.pilot.2i2c.cloud/datasources
[ ] Remove A record from Namecheap account

Please let us know what to do with the home directory data!

Please let us know what to do with the home directory data!

@jmunroe, can you please make sure we have the requested information filled in above so we can process the decommission? Thanks!

@jmunroe, can you please make sure we have the requested information filled in above so we can process the decommission? Thanks!

Another ping to @jmunroe about this one!

Superseded by #3484.

authors: damianavila jmunroe yuvipanda


text:
[Decommission Hub] Quantified Carbon Hubs

Summary

The Quantifed Carbon hub needs to be decommissioned. This request was made by Anton Såmark-Roth (@ASamarkRoth) via email. This decommission request is made later than it should have been. Quantified Carbon would like the hub shut down at the end of May.
Info

Community Representative: @ASamarkRoth
Link to New Hub issue: https://github.com/2i2c-org/infrastructure/issues/2118
Proposed end date: 2024-05-31

Task List
Phase I

[ ] Confirm with Community Representative that the hub is no longer in use and it's safe to decommission
[ ] Confirm if there is any data to migrate from the hub before decommissioning

[ ] If yes, confirm where the data should be migrated to

[ ] Confirm a 2i2c Engineer has access to the destination in order to complete the data migration

[ ] If no, confirm it is ok to delete all the data stored in the user home directories

Phase II - Hub Removal
(These steps are described in more detail in the docs at https://infrastructure.2i2c.org/hub-deployment-guide/hubs/delete-hub/)

[ ] Manage existing home directory data (migrate data from the hub or delete it)
[ ] Manage existing cloud bucket data (migrate data, or delete it)
[ ] Delete the hub's authentication application on GitHub or CILogon (note CILogon removal requires the hub config in place)
[ ] Remove the appropriate config/clusters/<cluster_name>/<hub_name>.values.yaml files. A complete list of relevant files can be found under the appropriate entry in the associated cluster.yaml file.
[ ] Remove the associated hub entry from the config/clusters/<cluster_name>/cluster.yaml file.
[ ] Remove the hub deployment

helm --namespace HUB_NAME delete HUB_NAME
kubectl delete namespace HUB_NAME
TIP: Run deployer use-cluster-credentials <cluster_name> before running the above commands

Phase III - Cluster Removal
This phase is only necessary for single hub clusters.

[ ] Remove the cluster's datasource from the central Grafana with:

deployer grafana central-ds remove <cluster_name>

[ ] Run terraform plan -destroy and terraform apply from the appropriate workspace, to destroy the cluster
[ ] Delete the terraform workspace: terraform workspace delete <NAME>
[ ] Delete the terraform values file under the projects folder associated with the relevant cloud provider (e.g. terraform/gcp/projects/ for GCP)
[ ] Remove the associated config/clusters/<cluster_name> directory and all its contents
Remove the cluster from CI:

[ ] deploy-hubs.yaml
[ ] deploy-grafana-dashboards.yaml

[ ] Remove A record from Namecheap account

Hi @ASamarkRoth! Can you please confirm that we can proceed with the deletion of all data stored on this hub? Thanks in advance.,

Got confirmation via email.

Thanks @GeorgianaElena!

authors: colliand yuvipanda


text:
Refine https://github.com/2i2c-org/infrastructure/issues/5054

We should refine https://github.com/2i2c-org/infrastructure/issues/5054, to identify what work actually needs to be done.
Definition of Done

[ ] The person who is responsible for getting that P&S initiative completed is identified and has capacity
[ ] https://github.com/2i2c-org/infrastructure/issues/5054 has subtasks that can be completed
[ ] The timeline for the initiative is committed to

During the planning meeting, we decided to 'just do it' instead.


text:
UToronto hub homepage customization

The homepage of UofT's hub is built from a repository different than the one used by the pilot hubs. This means that the new hub's homepage will look a little different than it had.
Normally, just a slight change in aspects wouldn't be an issue, but there is information in the old homepage, like the link towards the UToronto support service that we need to provide for the new hub also.

@GeorgianaElena good catch - will this require changing the deployment infrastructure for our CI/CD, or is this more a matter of updating something in the Toronto hub's configuration?

@choldgraf, it just be just a matter of special casing this config bit: https://github.com/2i2c-org/infrastructure/blob/6201d79a6c566adc61e0636139e7ca00d5ad2245/deployer/hub.py#L336-L340

It should be possible to configure that argument through the hub config as we do with the auth class: https://github.com/2i2c-org/infrastructure/blob/6201d79a6c566adc61e0636139e7ca00d5ad2245/deployer/hub.py#L425-L426
Right?

Our current template customizations https://github.com/2i2c-org/pilot-homepage are actually just modifications from the utoronto repo - you can see that our pilot-homepage repo is actually forked from that!
We can port the functionality of https://github.com/utoronto-2i2c/homepage/pull/5 into https://github.com/2i2c-org/pilot-homepage, but make it a template variable we can specify? Like we do here: https://github.com/2i2c-org/pilot-homepage/blob/a700295784f54413e84072aa4575529251d9636d/templates/login.html#L26. Should help us specify 'announcements' everywhere.

authors: GeorgianaElena choldgraf damianavila yuvipanda


text:
Enable AWS Infrequent access to save money on EFS

Transition files to a slower, cheaper backing medium 90 days after they were last accessed. They will be transferred back to regular backing medium immediately on access. This saves a lot of money with barely perceptible user performance hit. 90 days is the longest config, and we can start here to be conservative. IA (Infrequent Access) is documented in https://aws.amazon.com/efs/features/infrequent-access/

I've applied this to everything except the NASA SMCE managed stuff, which I will do tomorrow.


text:
Update munit to 1.0.1

About this PR
📦 Updates org.scalameta:munit from 0.7.29 to 1.0.1 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "munit" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "munit" }
}]

labels: test-library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #168.


text:
Wanna see my hot pics?💋💋💋

Hi!😻😻😻 Wanna see my hot pics?💋💋💋 Go to this site and find me here. ❤❤❤ My nick is sexygirl662 👇👇👇
https://tinyurl.com/sbmadwq

This is a spam. Please close it.
Wrote a small script to automate the reporting, Just like the spammer did.
Script here: https://gist.github.com/VISWESWARAN1998/cf74dd0890534ad3e72f326e46460cd3
Regards,
Visweswaran N


text:
Mostrar Resultados en Pantalla

Presentar las métricas calculadas en una tabla de interfaz de Streamlit.
Tareas:

Crear una tabla dinámica para mostrar los resultados.
Asegurar que la tabla sea fácil de leer y navegar.

Todo esta bien


text:
🛑 Unitix is down

In ff606f3, Unitix (https://unitix.be) was down:

HTTP code: 523
Response time: 246 ms

Resolved: Unitix is back up in d345a6c.


text:
🛑 Frai.se is down

In c7b89f3, Frai.se (https://frai.se) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Frai.se is back up in db0192f.


text:
Feat/katy master

I realized that I had a significant amount of work locally which is why the current site looks different than local dev (sorry!). This:

fixes / refactors current action view
moves the login/registration views out of 'pop ups'
does some routing work so that back buttons work with the react router urls
fixes tags display
updates e2e tests to include past action view, test tags and survey response numbers

I think this is what we should deploy (or some of it), since it is how the site looks now.

closes #7
closes #8
closes #9
closes #3 (Netlify preview, maybe hosting)

we need to make sure to use HTTPS for Ajax requests, where is the IP address coming from? Can we switch to DNS record?

I have added more tests, including submitting a survey response
I think aside from API http vs https it is good to go

@bahmutov yeah, i need to update the backend in order to make https work. Am working on that this weekend. Do you know anything about gunicorn/nginx?

Unfortunately no, one good thing is that during testing we can stub the backend for now
Sent from my iPhone

On Feb 8, 2020, at 13:36, Caitlin Powers notifications@github.com wrote:

@bahmutov yeah, i need to update the backend in order to make https work. Am working on that this weekend. Do you know anything about gunicorn/nginx?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@ccpowers can you give me access to the Netlify project, please? I want to see if I can configure test run after the deploy

@bahmutov trying to figure out how to do that...it seems like it will cost $15 a month to have two people access the repo, might need to just use the ten minute heroes email and sign in on that. if you have any idea how to get two people access to a netlify project for free, let me know.

@ccpowers ok, here is what we will do. People at Netlify are our friends, can you (as the admin on this organization and repo owner) write them a note at https://www.netlify.com/enterprise/contact/

we are working on climate activism
our open source repo calling for actions every week is here
we would love to use Netlify for testing new features and host the main site
we have two team members currently (write your name and mine) and would love both to work on Netlify settings if needed
please, pretty please give us an OSS plan, and we will happily post Netlify name in the README and will always mention it during our talks and development presentations

I think this will work!

@bahmutov Oh cool! I just saw this after deploying using the ten minute heros email address - I emailed you an expiring link with details for that. I'll email the netlify folks and ask for an account, and in the meantime, you can use the tmh account.

I am reworking how Netlify deploy happens (no longer automatic, but triggered from GH workflow). This will allow us to deploy, then run Cypress tests against the deployed url

@ccpowers I have changed Netlify site name to be https://maclimateactions.netlify.com from the randomly-assigned name

@ccpowers I am done with my stuff for this PR, and can help with API?

@bahmutov yes! i will tag you in my work on the back end explaining where i am

authors: TenMinuteHero bahmutov ccpowers


text:
How to delete Data Validation?

Is there a way to remove all the Data Validation from the sheet?

Hi @daichirata, thanks for your issue. This library not support remove Data Validation currently and I have added this feature request to the Roadmap.

Thank you so much for your good work!

authors: daichirata xuri


text:
What resources to train from scratch

Hi,
Could you please provide some numbers around which GPUs, how many of them, and how many hours roughly were required to train these models?

Hi,
Plz refer to this issue https://github.com/3DTopia/OpenLRM/issues/2#issuecomment-1882590904. There isn't much differences for V1.1 models.
Plz also note that you can also use less resources, e.g. 8 A100 GPUs, by configuring the gradient accumulation steps in the config file.

authors: ZexinHe reynoldscem


text:
what to do now ?

**Describe the bug**
A clear and concise description of what the bug is.
Screenshots
If applicable, add screenshots to help explain your problem.
System Information (please complete the following information):

macOS: [e.g. 13.1 Ventura]
Device: [e.g. MacbookPro 16inch 2019 ]
CPU: [e.g. Apple M1, Intel i7 9750H ]
Dedicated GPU (if any): [e.g.  AMD Radeon Pro 5300M ]
RAM: [e.g. 16G ]

Additional context
Add any other context about the problem here.
Logs (if any)

If it's related to the launcher, upload neutralinojs.log in Yaagl Data Directory

If it's related to the game, upload `logs/game_{timestamp}.log in Yaagl Data Directory

Open the launcher settings and opt to turn off "AC Patch"

ThanX Bro
On Wed, 23 Aug 2023, 18:32 JsCoderCole, @.***> wrote:

Open the launcher settings and opt to turn off "AC Patch"
[image: image]
https://user-images.githubusercontent.com/142519673/262676468-1094370a-3620-4b2a-a99a-ee0eff137634.png
—
Reply to this email directly, view it on GitHub
https://github.com/3Shain/yet-another-anime-game-launcher/issues/174#issuecomment-1689924840,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCC4IEUOQPKPD7JFYUZRKATXWX5PHANCNFSM6AAAAAA33F27ZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Open the launcher settings and opt to turn off "AC Patch"

but while verification it shows a white box

You should only select "Turn off AC patch" if you're already logged into Genshin Impact via the launcher. You'll have to wait for a new launcher update if you're not. In @akitort's case, he was already logged in so he doesn't have to worry about a white captcha box after selecting it.

authors: Garima1000 JsCoderCole akitort


text:
i cant join 5b5t/2b2t clone server

I've installed 3arth4ck, but I can't join 5b5t or any other 2b2t clone server because it says not authencated with minecraft.net. Also, if you remove 3arthh4ck from the mods folder, you will be able to participate in 5b5t and 2b2t clones. (I'm Japan, so I used the translation

Do you have the AccountSpoof module enabled?

no

wait it tuned on

accountspoof is on

i toggled off

wow i can joined

thank you


text:
Docker image for 3DCityDB v5

This PR adds an edge image for the 3DCityDB v5. The image is built from the latest commit to v5-devel branch and published to Dockerhub and Github packages:

3dcitydb/3dcitydb-pg-v5:edge
ghcr.io/3dcitydb/3dcitydb-pg-v5:edge

docker run --name 3dciytdb -p 5432:5432 -d \
    -e POSTGRES_PASSWORD=<theSecretPassword> \
    -e SRID=<EPSG code> \
    [-e HEIGHT_EPSG=<EPSG code>] \
    [-e GMLSRSNAME=<mySrsName>] \
    [-e POSTGRES_DB=<database name>] \
    [-e POSTGRES_USER=<username>] \
    [-e POSTGIS_SFCGAL=<true|false|yes|no>] \
  3dcitydb/3dcitydb-pg-v5:edge

Please rename the ENV variable GMLSRSNAME to SRS_NAME. We try to be independent from GML as much as possible.

Will we have a separate release track for v5?

Well, no, this is not planned currently.

I renamed the variable, but only in the Docker init script 3dcitydb-initdb.sh. I left CREATE_DB.sql, CREATE_DB.shand CREATE_DB.bat untouched, where GMLSRSNAME still exists.

authors: BWibo clausnagel


text:
support for oas3 relative server url

Fixes https://github.com/3scale/3scale_toolbox/issues/379

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.57%. Comparing base (5457357) to head (5ccb04a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #380   +/-   ##
=======================================
  Coverage   98.57%   98.57%
=======================================
  Files         349      349
  Lines       17159    17170   +11
=======================================
+ Hits        16914    16925   +11
  Misses        245      245

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter eguzki


text:
Wrong directory in Mac OS X instructions in README.md

Minor thing. The instructions in the Mac OS X installation instructions says that files will installed in /opt/3scale-toolbox/. However they are installed in /opt/3scale_toolbox/ (i.e. _ instead of -).

Thanks for this @mostmark - would you care to open a pull request to have this taken care of?

authors: gsaslis mostmark


text:
hjgjfg

ghf

nhvgh

fghhgf

gggggggh


text:
Fixed code execution bug in NeuroM

📊 Metadata *
Insecure YAML desearilization
Bounty URL:  https://www.huntr.dev/bounties/1-pip-neurom
⚙ Description *
neurom is a Neuronal Morphology Analysis Tool, which is vulnerable to Arbitary Code Execution.
💻 Technical Description *
Vulnerable to YAML deserialization attack caused by unsafe loading.
🐛 Proof of Concept (PoC) *
pip3 install neurom

python3 exp.py
import os
from neurom import apps
payload = """cmd: !!python/object/new:type
  args: ["z", !!python/tuple [], {"extend": !!python/name:exec }]
  listitems: "__import__('os').system('xcalc')"
"""
open('config.yml','w+').write(payload)
apps.get_config('config.yml','config.yml')

🔥 Proof of Fix (PoF) *
Used a safer loader(SafeLoader) instead of FullLoader.
The issue is fixed, and hence no code is executed.
👍 User Acceptance Testing (UAT)
All Ok, No breaking changes introduced.  :)

👋 Hello, @juanchopanza - @Asjidkalam has opened a PR to us with a fix for a potential vulnerability in your repository. To view the vulnerability, please refer to the bounty URL in the first comment, above.
Ultimately, you get to decide if the fix is 👍 or 👎. If you are happy with the fix, please write a new comment (@huntr-helper - LGTM) and we will open a PR to your repository with the fix. All remaining PRs for this vulnerability will be automatically closed.
If you have any questions or need support, come and join us on our community Discord!
@juanchopanza & @Asjidkalam - thank you for your efforts in securing the world’s open source code! 🎉

authors: Asjidkalam huntr-helper


text:
Casting either string or constant requires space after rparenthesis

Describe the bug
Casting something that is not a variable requires a space, where casting a variable doesn't (but it is allowed to have a space)
Erroneous code
(int16_t *)"AA"
(int16_t *)25

Additional info

OS: macos 10.14
python --version: 3.9.1
norminette -v: 3.2.1

Additional context
Can get "around" it by either adding a space or brackets:
(int16_t *) "AA"
(int16_t *)("AA")

The first one, without space, generates this:
<TAB> <IF> <SPACE> <LPARENTHESIS> <LPARENTHESIS> <IDENTIFIER=int16_t> <SPACE> <MULT> <RPARENTHESIS> <STRING="AA"> <RPARENTHESIS> <NEWLINE>
                                                                                ^-----------^

If this is not a "string" or "constant" but "identifier" it works without a space (or brackets).

Hello,
I think I've incidentally fixed it while working on #86 and #87, as far as I can test it.
Please let me know if the issue persists when I do the next release. Thanks!

@N0ich
It sounds very related, but sadly...
I've just updated to 3.2.2 and get exactly the same
SPC_AFTER_PAR        (line:  64, col:  32):	Missing space after parenthesis (brace/bracket)
The actual line of code from the project (just for reference, snippets above do the same)
if (((int16_t *)line)[0] == ((int16_t *)"NO")[0] && is_space)

It btw seems to be inconsistent with wanting a space between type and *
Maybe this is a separate issue... but seems related to https://github.com/42School/norminette/issues/87
this is fine:
(int16_t*)varname

but this complains that it needs a space:
(short*)varname

SPACE_AFTER_KW       (line:  64, col:  23):	Missing space after keyword

Thank you, i will investigate this further.
This will probably stand for a few days waiting for the next release.


text:
Do not use nonduplication fuzzer when generating a decimal

Indeed, decimal generation relies on GenerateInteger between 1 and 16. This may throw very quickly exceptions such as:
Diverse.DuplicationException : Couldn't find a non-already provided value of System.Int32 after 100 attempts. Already provided values: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16. You can either:
- Generate a new specific fuzzer to ensure no duplication is provided for a sub-group of fuzzed values (anytime you want through the GenerateNoDuplicationFuzzer() method of your current Fuzzer instance. E.g.: var tempFuzzer = fuzzer.GenerateNoDuplicationFuzzer();)
- Increase the value of the MaxFailingAttemptsForNoDuplication property for your IFuzz instance.
   at Diverse.Fuzzer.GenerateWithoutDuplication[T](MethodBase currentMethod, Int32 argumentsHashCode, Int32 maxFailingAttemptsBeforeLastChanceFunctionIsCalled, Func`2 standardGenerationFunction, Func`3 lastChanceGenerationFunction)
   at Diverse.Fuzzer.GenerateInteger(Nullable`1 minValue, Nullable`1 maxValue)
   at Diverse.Numbers.NumberFuzzer.TakeAValueInBetweenOrARandomBound(Decimal minValue, Decimal maxValue)
   at Diverse.Numbers.NumberFuzzer.GenerateDecimal(Nullable`1 minValue, Nullable`1 maxValue)
   at Diverse.Fuzzer.GenerateDecimal(Nullable`1 minValue, Nullable`1 maxValue)

See: https://stackoverflow.com/questions/609501/generating-a-random-decimal-in-c-sharp
?


text:
Add ability to store message IDs persistent

So that between Slack instance, we can preserve threading (https://github.com/42wim/matterbridge/issues/529) and send emojis (https://github.com/42wim/matterbridge/issues/526) with more consistent behaviour :)
Thoughts? I could be pretty simple, and totally optional for people who choose to stay utterly stateless.
With matterbridge-heroku, adding persistence of relationships could be as simple as:
$ heroku addons:create heroku-redis:hobby-dev

Curious your thoughts on this very Slack-specific addition

Quick thoughts, redis seems like overkill. (and isn't really made for persistency afaik)
I'm more for using something like boltdb (https://github.com/etcd-io/bbolt) (simple embedded database).
As long as it's optional (and simple) it's ok for me.

Bolt seems cool but I'd really prefer something that continues to work easily on heroku, where I have a few instances running :)
I'll think on it. I think you're right about redis not being for persistence. Perhaps postgres. Free plan has 10,000 rows, which exactly matches how much history our slack instance has anyhow...!

Why do you think bolt wouldn't work?

Unless I'm misunderstanding, no heroku service addins offer bolt. Herokubis stateless without a file system, sonit needs an add-on provider for its ability to have arrives (databases, caches, etc) as push-button

Ok, so on further investigation, redis actually seems a step in the right direction. I don't think we need full persistency perhaps, but we need to be able to query based on more than primary key (original message timestamp), which is only what the lru cache allows.
We instead need something that would allow us to query for a mID value in BrMsgID from the lru cache (using a ThreadTimestamp from thread reply ), and get the key (which is the original Timestamp). We could then know all the other messages to update from there.

We should use https://github.com/abronan/valkeyrie if this gets implemented.

perrrrfect. I'll prob work on this next. Getting to crunch time on another project, so might not be as soon as I'd like

Potentially helpful link: https://medium.com/@nevio/proper-way-how-to-marshal-and-unmarshal-golang-structs-within-the-redis-cache-855423902787
Was curious about using msgpack (which redis-cache golang lib uses), but seems marshalling as json should work fine: https://www.reddit.com/r/golang/comments/476fdi/what_is_best_serialization_format_for_boltdb_for/

The valkeyrie library should handle all that there won't be any redis or bolt specific code in matterbridge.

No, valkeyrie doesn't do marshalling -- just accepts byte slices as far as I can tell. Anyhow, I have a code spike here:
https://github.com/42wim/matterbridge/compare/master...patcon:valkeyrie-persistence?expand=1
Busy week coming up, so that's likely all I'll get done, but anyone is welcome to pull it and fix it up :)

May be use gokv - Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)
?

@patcon hello! Can you share your code with valkeyrie implementation for persistent message store? I want to implement this thing and any help will be useful :)

@42wim ping? :)

A-ha! I realized that I transferred the repo to another org, and my personal fork was a more recent one without my old branches. The code is really old, but it's here 🎉
https://github.com/42wim/matterbridge/compare/master...patcon:valkeyrie-persistence?expand=1
Anyhow, good luck and godspeed @sas1024 ! I'm rooting for you!

Hey there! Any updates on this? I just implemented Matterbridge to synchronize messages between Slack and Mattermost but it tends to crash twice a week. This is not a problem in itself, except it breaks all threads (which is quite annoying) so I'd be very happy if persistent threads were in the roadmap.
By the way, thanks for all the hard work! :clap:

@sas1024 did you ever get anywhere on writing a solution for this feature?
I'd be willing to trying my hand at it as well.
The code link @patcon posted does not appear to exist anymore either, hoping you have it saved somewhere?

https://github.com/42wim/matterbridge/compare/master...patcon:valkeyrie-persistence?expand=1

@yousefmansy1 i'm sorry, but I haven't started working on this feature yet :(
It well be fantastic, if you will try to realize this feature.

No, I don't have this code, this link was broken several months.
May be @patcon can share this code again?

No worries, thanks for the response.
I'll probably try to take a look using the gokv thing you mentioned.

oy... i'm sorry, i'm seeing that I must have confused to clipboard, and shared the same link again. It can't be merged anymore without conflict resolution, but here's the branch with the work:
https://github.com/g0v-network/matterbridge/tree/valkeyrie-persistence


text:
Add Pull Request template

:pushpin: References
Issues:

Fixes #11

:tophat: What is the goal?

Add a Pull Request template for promoting detailed PR descriptions about the work done.

💻 How is it being implemented?

Added template on the .github dir so GitHub automatically fetches and displays it for every newly opened PR after this one.

Thanks @fedefernandez 👍


text:
fix: don't fail parse if called again with identical input

It should be possible to use nuqs to parse search params in multiple places in the same request (e.g. page + generateMetadata) - as long as the input is identical (which it should be).
This change stores the original searchparams object passed to parse alongside the parsed data. If parse is called again we check for referential equality and if identical we just return the already cached data.
note: that this will still fail if a different object with the same contents is passed. fortunately next.js uses the same object for search params in the same request so it solves the original use case. I didn't want to get more clever and do deeper comparison for simplicity/perf.
i stored the original object as a new field in the existing cache object (not exposed to users in the type), but if this isn't ideal one option would be to create a separate cached object just for metadata like this. happy to adjust.
see https://github.com/47ng/nuqs/discussions/556
Testing
I added some tests by lightly mocking React's cache. It's not a very clever mock but it works. If maintainer would rather not have me add these with this approach I can remove them.

Actually I just realised you have e2e tests setup, let me update them too.

Actually I just realised you have e2e tests setup, let me update them too.

added a simple one


text:
Throwing TypeError when validating an invalid schema

Usage info
GraphQL: apollo-server-lambda@1.3.2
Package version: graphql-validation-complexity@0.2.2
What is happening?
Currently running into GraphQL not returning a correct JSON response when sending a query that is invalid based on the schema.
This also logs a warning to the graphql server logs:
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'getCostFactor' of undefined

What did you expect to happen?
Expected graphql to return an error specifying that the query was invalid.
Reason of error:
In the code for the rule validationContext.getFieldDef is used without correctly checking on it's returned value.
Looking at the code for getFieldDef the return type uses a maybe type, which means it could possibly be undefined or null.
Proposed fix:
Add some checks on whether the fieldDef value is undefined/null and handle it accordingly.
Willing to open a PR?
Yes, will open a PR. 👍 However not sure on the handling which should be done when fieldDef is undefined and how much effect this would have on the validation of the cost. (although cost shouldn't matter much when the query is invalid anyways)

Closing since #20 has been merged 👍


text:
构建的System JRE EXE应该对JRE版本进行限制

例如8-17

0.9


text:
Android: Build issues with React Native v0.75

Hi! Thanks for all your work on this. 🙂 React Native v0.75.0 was just released, but we’re encountering a build issue with
Android gradle plugin: 8.6.0
Gradle: 8.10.2

Task :react-native-readium:compileDebugKotlin FAILED
e: file:///peoject-name/node_modules/react-native-readium/android/src/main/java/com/reactnativereadium/ReadiumViewManager.kt:85:27 Java type mismatch expected (Mutable)Map<(raw) Any?, (raw) Any?>! but found HashMap<String, Any>. Use explicit cast

Task :app:buildCMakeDebug[arm64-v8a]
FAILURE: Build failed with an exception.

fixed in #72


text:
[Vue warn]: onMounted is called when there is no active component

用这个方案吧： https://501351981.github.io/vue-office/examples/docs/guide/js-preview.html


text:
Replace the usage of non-UTC date functions

Similar to https://github.com/5afe/safe-client-gateway-nest/pull/296
Motivation
This PR changes the usage of non-UTC date functions which were causing date shifts on non-UTC timezones.

Coverage: 90.085% (+0.02%) from 90.064% when pulling 3c951c884d035ea732846c27f4e2b549b2dffb05 on fix-non-utc-dates into 9981f0e9b1ed863a8bd1e9b98da345d4454da6a7 on main.

authors: coveralls hectorgomezv


text:
add  deserialization for OpenAIConfig and AzureConfig

This should close #107. Arguably, the deserialization uses Default when a field is not given during deserialization and thus is too permissive. As far as I know,  Azure APIs needs all fields in AzureConfig to be valid ones, but the defaults are not.

This is released in v0.14.2


text:
Ability to set cookie domain

The plugin orestbida/cookieconsent supports configuring a cookie domain.
However it seems to be not possible to set this using Tag Manger.
Is it possible to add the cookie_domain configuration option of https://github.com/orestbida/cookieconsent to the Tag Manager Cookie Options settings?
Usecase: we are using sub-domains, but we'd like to share the consent given between www.example.com, sub-domain.example.com and example.com.
So we'd like to set example.com as cookie domain.

Hi!
We have already implemented this feature in a beta version with other features.
I'll go through it tomorrow, finish the readme and release.

Awesome 😎. Looking forward to the release.

Version 0.4.0 released.
More features were added. If there happens to be any problem with the update, please let me know here 🙂


text:
Bump 6to5 version to 2.9.3

Updates 6to5 dependency to ^2.9.3.

The ^ operator in npm means it will match >=2.9.3 <3.0.0 so this isn't necessary.

oops, good to know. Thanks

No problem!

authors: chnn thejameskyle


text:
Rewrite project in python

Summary:
Originally, I developed this project in shell script with the intention to have it just work everywhere, without any major dependencies.
However, this has a couple of problems:

The code because harder to maintain, with additional features.
We already have a hard dependency with pandoc, so the no-dependency argument doesn't really hold.
Writing this in python will save a lot of development time.
The code becomes more portable

After reading the code-review by KubaO, I decided it is a good idea.
Work on a proper python implementation has started, and will be published over the coming days.

Don't make it too "proper" though :) There's some beauty in the thing being short. Perhaps a self-imposed limitation in this project should be to keep it "short" - say "quite a bit shorter than 1000 lines in a single source, excluding the markdown module"? I like the "quite a bit shorter than" qualification, because if anyone would be fighting to squeeze lines in while keeping the total at exactly 1000, the purpose of the thing has been missed already.

Completed with https://github.com/766F6964/mublog/pull/7


text:
Monorepo and Packaging

Astro Integration
@pagesjs/meta

[ ] Metadata scripts to Astro Integration
[ ] Schema scripts to Astro Integration
[ ] Font scripts to Astro Integration

Svelte Package
@pagesjs/pagefind (Maybe @pagesjs/ui)

[ ] Pagefind (Didn't add component yet)

it might be better to split @pagesjs/ui into @pagesjs/dui (dynamic user interface) and @pagesjs/sui (static user interface).


text:
Adjust size final image

Is it possible to control the width of the generated image?
Also, can I control the height and width of each box and the position of their arrows?
Thanks

@juniorgasparotto thanks to open a issue. We will check if it's topics are available in C4Plant UML

authors: juniorgasparotto yanjustino


text:
Fixes: #28 - Added more test cases

Fixes issue #28
Changes: tested new component

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   22.32%   22.32%
=======================================
  Files           2        2
  Lines         112      112
=======================================
  Hits           25       25
  Misses         87       87

Continue to review full report at Codecov.

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

authors: codecov-io isuruAb


text:
🛑 instagram is down

In ce4a111, instagram (https://www.instagram.com/9renpoto/) was down:

HTTP code: 429
Response time: 448 ms

Resolved: instagram is back up in 0595800 after 8 minutes.


text:
🛑 instagram is down

In 5a5383c, instagram (https://www.instagram.com/9renpoto/) was down:

HTTP code: 429
Response time: 267 ms

Resolved: instagram is back up in 66c2c06 after 8 minutes.


text:
🛑 instagram is down

In 3ac14a4, instagram (https://www.instagram.com/9renpoto/) was down:

HTTP code: 429
Response time: 559 ms

Resolved: instagram is back up in dfbcaf9 after 11 minutes.


text:
🛑 instagram is down

In c4d6f71, instagram (https://www.instagram.com/9renpoto/) was down:

HTTP code: 429
Response time: 158 ms

Resolved: instagram is back up in 4f49bea.


text:
如何关闭打印的日志，开发过程中数据打印被遮住了

直接在 AAChartView 的 .m 文件中 注释掉这段代码即可:
#if DEBUG
    [AAJsonConverter printPrettyPrintedJsonStringWithJsonObject:dic];
#endif

repo: AAChartModel/AAChartKit


text:
Podfile add use_frameworks!, pod 'AAChartKit', :git => 'https://github.com/AAChartKit/AAChartKit.git'  Crash

作者，您好，swift 混编，Podfile 加入 use_frameworks!，路径问题会导致 crash ，能否改成下面的代码？适配下OC 和 Swift 混编的问题
+ (NSBundle *)aa_bundle {
    static NSBundle *aa_bundle = nil;
    if (aa_bundle == nil) {
        NSBundle *bundle = [NSBundle bundleForClass:self.class];
        NSString *bundlePath = [bundle.resourcePath stringByAppendingPathComponent:@"/AAChartKitLib.bundle"];

        NSFileManager *fileManager = [NSFileManager defaultManager];
        BOOL fileExists = [fileManager fileExistsAtPath:bundlePath];
        if (!fileExists) {
            bundlePath = [bundle.privateFrameworksPath stringByAppendingPathComponent:@"/AAChartKit.framework/AAChartKitLib.bundle"];
        }

        aa_bundle = [NSBundle bundleWithPath:bundlePath] ?: bundle;
    }
    return aa_bundle;
}

- (NSURLRequest *)getJavaScriptFileURLRequest {
    NSBundle *bundle = [self.class aa_bundle];
    NSString *webPath = [bundle pathForResource:@"AAChartView"
                                         ofType:@"html"
                                    inDirectory:@"AAJSFiles.bundle"];
    NSURL *webURL = [NSURL fileURLWithPath:webPath];
    NSURLRequest *URLRequest = [[NSURLRequest alloc] initWithURL:webURL];
    return URLRequest;
}

AAChartKit 的 swift 版本现已支持Objective-C 版本的完整功能.swift 项目中建议直接使用 AAChartKit-Swift

authors: AAChartModel huipengo


text:
Inline System.CommandLine into Tool project, closes #63

As stated in #63, the CoreFxLab System.CommandLine is no longer developed and will stay on MyGet forever, so I propose to just copy over the code from the CoreFxLab directly into CodeGeneration.Roslyn.Tool project.

Thanks for this!

license: MS-PL


text:
Excluding CodeGeneration dlls from nuget package referencing them.

This is my attempt to solve #160.
It is definitely excluding CodeGenerationAttributes.Net40.dll and CodeGenerationAttributes.dll from PInvoke.Kernel32.nupkg, I don't know if this is the right solution though.

If this is the way to go I can modify all project referencing the code generation dlls and the template projects LIBNAME and LIBNAME.Desktop with the same changes.

Thanks so much for catching this and authoring the fix.

If this is the way to go I can modify all project referencing the code generation dlls and the template projects

Yes, this looks appropriate. After you modify the rest of the projects and templates we'll merge.

I noticed the added dependency and wondered if it was really necessary. It's really cool that it can be removed.

:+1:

authors: AArnott jmelosegui vbfox

repo: AArnott/pinvoke


text:
Feature Request: Add an option to use "Legacy LN-Auth"

Hello there.
I've been using phoenix wallet to login to some websites using LN-Auth, but recently, it seems that the key generation method changed inside the wallet?
Because when I'm trying to login to my accounts on some websites, it's creating new accounts for me instead of logging me in to my existing accounts...
So currently I'm unable to enter any of my original accounts anymore... ☹
Wondering if it's possible to add an option setting in the wallet to make it use the old ln-auth protocol similar to how Alby added a "Legacy LN-Auth" option??
Or if there is another way to recover my old accounts, please let me know.
Thanks a lot.

Hey, are you on Android or iOS? The Android app already lets you use a legacy compatibility mode, in settings > payment options.
Can you also share what service you are trying to log into?

I'm on Android.
I can't find this option:

The service I'm trying to login to is:
https://makers.bolt.fun

We did not take https://makers.bolt.fun/ into account for the backward compatibility fix added in version 1.4.24. I'll fix that in the next release, sorry for the inconvenience.

Hey @dpad85
I see that a fix has been pushed yesterday.
Is the problem supposed to be fixed in the wallet now??
(Because today, a user reported again that he wasn't able to login to his original account using Phoenix)

The version containing the fix has not been published yet, I'll let you know when it's ready. Should be soon.

The fix has been published, you'll need version 1.4.25 on android or 1.5.5 on iOS. Please reopen this ticket if you still have issues.

Great!
Thanks a lot @dpad85 🙏

Hey @dpad85. I just updated my iOS verison to 1.5.6 and I am still having a problem logging into bolt.fun. When I login I am being assigned a new profile. In the past I used Phoenix to setup and manage my old profile. The recent update didn't appear to solve my issue. Is there anything I can do to help troubleshoot?

repo: ACINQ/phoenix


text:
[poojaVirgo]-Add send button

This is my solution to fix issue #10
Created Send Button. 😃

Hi Can you please review my PR. I would like to contribute more.

Hey @poojavirgo, could you please update me about your progress?

Hey @poojavirgo, there were no updates on requested changes.
Thank you for your contribution🙌!
Please note that any further contributions will not produce points towards hacktoberfest or the ACM prizes.

authors: Likkiii SwarupKharul poojavirgo

repo: ACM-VIT/maildart-frontend


text:
[Snyk] Security upgrade python from 3.7-slim to 3.13.0a2-slim

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

terraform/aws/resources/Dockerfile

We recommend upgrading to python:3.13.0a2-slim, as this image has only 36 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

514
Use After Free SNYK-DEBIAN12-GLIBC-5894114
No Known Exploit

721
Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
Proof of Concept

721
Out-of-bounds Write SNYK-DEBIAN12-GLIBC-5927132
Proof of Concept

614
CVE-2023-5363 SNYK-DEBIAN12-OPENSSL-6032384
No Known Exploit

614
CVE-2023-5363 SNYK-DEBIAN12-OPENSSL-6032384
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Use After Free

Checkmarx One – Scan Summary & Details – 4b9897d2-e5de-4eac-b659-0a82018000e0
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

Aurora With Disabled at Rest Encryption
/rds.tf: 49
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 97
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 17
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 113
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 1
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 81
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 130
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 65
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

Aurora With Disabled at Rest Encryption
/rds.tf: 33
Amazon Aurora does not have encryption for data at rest enabled. To prevent such a scenario, update the attribute 'StorageEncrypted' to 'true'.

CVE-2023-45133
Npm-@babel/traverse-7.8.6
Vulnerable Package

CVE-2023-45133
Npm-@babel/traverse-7.16.5
Vulnerable Package

Cx37f28a21-b2a7
Npm-angular-1.8-1.8.2
Vulnerable Package

Cx94a5c81d-63b1
Npm-angular-1.8-1.8.2
Vulnerable Package

Cx9eb96c9b-eb45
Npm-angular-mocks-1.8-1.8.2
Vulnerable Package

Cxcf770dcb-fd21
Npm-angular-1.8-1.8.2
Vulnerable Package

Missing User Instruction
/Dockerfile: 1
A user should be specified in the dockerfile, otherwise the image will run as root

Passwords And Secrets - Generic Access Key
/lambda.tf: 45
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Access Key
/providers.tf: 10
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/instance.tf: 45
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/instance.tf: 11
Query to find passwords and secrets in infrastructure code.

Passwords And Secrets - Generic Password
/sql.tf: 50
Query to find passwords and secrets in infrastructure code.

CVE-2023-44270
Npm-postcss-8.3.11
Vulnerable Package

CVE-2023-44270
Npm-postcss-7.0.39
Vulnerable Package

CVE-2023-5752
Python-pip-22.2
Vulnerable Package

Healthcheck Instruction Missing
/Dockerfile: 1
Ensure that HEALTHCHECK is being used. The HEALTHCHECK instruction tells Docker how to test a container to check that it is still working

Fixed Issues

Severity
Issue
Source File / Package

Cx6b921f00-d395
Npm-vm2-3.9.5

Missing User Instruction
/Dockerfile: 1

CVE-2023-2251
Npm-yaml-1.10.2

Healthcheck Instruction Missing
/Dockerfile: 1

authors: acn-tesch donsantos

repo: ACN-APPSAS/terragoat


text:
Make license and Readme consistent

The README states, that OpenSplice is licensed under Apache 2, while the License clearly isn't a Apache 2 license.
This is misleading and should be consistent.

agree ..
Still, sources DO specify the  proper Apache 2.0 license:
/*
 *                         Vortex OpenSplice
 *
 *   This software and documentation are Copyright 2006 to  ADLINK
 *   Technology Limited, its affiliated companies and licensors. All rights
 *   reserved.
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */

Corrected the license to match the Apache 2 license

authors: ThijsSassen hansvanthag joshwapohlmann

repo: ADLINK-IST/opensplice


text:
Document the setup and usage instructions for the monitoring tool.

User Story

#41

I need more explanation

sir i want to take this ticket

Sir i really don't get it.
How am i to document on the setup and usage instructions when i don't know the tools they used is the codes?.
Am i to get feedback from the other members?.

Yes @Tekum-Emmanuella, you should discuss with the others to write a better documentation.

authors: Tekum-Emmanuella stephane-segning

repo: ADORSYS-GIS/monitor-mind


text:
Ticket N°1::2: Test Code in Pull Requests

Description: provides guidelines on incorporating test code in pull requests to ensure code quality and facilitate effective testing and code review processes.

Repetition with ticket #27

authors: AssahBismarkabah Awambeng

repo: ADORSYS-GIS/release-script