Add support for 10.0.17763.165

New CU KB4470788 for win10 1809 was released that updated termsrv.dll.
It seems that offsets are the same as for 17763.1 version
[10.0.17763.165]
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=77941
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=132F9
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=17F45
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1ABFC
SLInitFunc.x64=New_CSLQuery_Initialize

[10.0.17763.165-SLInit]
bInitialized.x64 =ECAB0
bServerSku.x64 =ECAB4
lMaxUserSessions.x64 =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64 =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64 =ECAD0

termsrv_x64.zip

Thanks RobertSpir, adding your lines from above to C:\Program Files\RDP Wrapper\rdpwrap.ini
then restarted the service with
net stop TermService
net start TermService

And it is working again. (Showing supported below and I can do multi-login)

I also recompiled the project from source at master, but that was likely not needed.

I tried adding these lines to the end of the file but the service didn't come up at all.
Any ideas what shall be changed?

Just for all users a short remark:   Thanks to @RobertSpir
Something has changed from 17763.1 (incl .55, .107 and .134) to 17763.165 in the x64-data
[10.0.17763.165] // LocalOnlyOffset.x64=xxxxx //
xxxxx.(17763.1) =77941 --> xxxxx.(17763.165) =77AF1 ( tested and validated)
all other x64-ini-data for 1809rs517763.1 to .134 are the same as .165-data
hint: SingleUserOffset.x64=132F9 may be also ==1322C as in the original-ini from 2018-10-10
x86 data not yet fully tested if identical with the base data 17763.1 ( suppose NO!)

Ok, i found my mistake, i didn't change the date of the file :)
Now it works flawlessly .. Many thanks guys.

Hallo - here my findings for 1809_1773.165
;-----------------------------------------------
; CU KB4470788 for win10 1809 was released that updated termsrv.dll.
; Do not modify without special knowledge
; here is a validated version for 17763.165  ( with ida and in VM)
; Base is #601 - @RobertSpir -mod add 17763( in .1/.134 and in .165 )
; compared to upd-rdpwarp.ini_2018-10-10 for x86 and x64
; Date 18-11-22
; for manually adding the snip-text to your rdpwrap.ini in/to hinted location
; at the end you find a small directive as a how-to manually implement your new ini
;[Main]
;[SLPolicy]
;[PatchCodes]
;--------snip-------------
[10.0.17763.165]
LocalOnlyPatch.x86=1
LocalOnlyOffset.x86=AFC74
LocalOnlyCode.x86=jmpshort
LocalOnlyPatch.x64=1
LocalOnlyOffset.x64=77AF1
LocalOnlyCode.x64=jmpshort
;
SingleUserPatch.x86=1
SingleUserOffset.x86=4D665
SingleUserCode.x86=nop
SingleUserPatch.x64=1
; SingleUserOffset.x64=132F9  --  Github StasCorp/rdpWrap #601 @RoberSpir
; SingleUserOffset.x64=1322C  --  StasCorp original 2018-10-10
SingleUserOffset.x64=1322C
SingleUserCode.x64=Zero
;
DefPolicyPatch.x86=1
DefPolicyOffset.x86=4BE69
DefPolicyCode.x86=CDefPolicy_Query_eax_ecx
DefPolicyPatch.x64=1
DefPolicyOffset.x64=17F45
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
;
SLInitHook.x86=1
SLInitOffset.x86=5B18A
SLInitFunc.x86=New_CSLQuery_Initialize
SLInitHook.x64=1
SLInitOffset.x64=1ABFC
SLInitFunc.x64=New_CSLQuery_Initialize
;--------snip-------------
;
;[SLInit]
;
;--------snip-------------
[10.0.17763.165-SLInit]
bInitialized.x86      =CD798
bServerSku.x86        =CD79C
lMaxUserSessions.x86  =CD7A0
bAppServerAllowed.x86 =CD7A8
bRemoteConnAllowed.x86=CD7AC
bMultimonAllowed.x86  =CD7B0
ulMaxDebugSessions.x86=CD7B4
bFUSEnabled.x86       =CD7B8
;
bInitialized.x64      =ECAB0
bServerSku.x64        =ECAB4
lMaxUserSessions.x64  =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64  =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64       =ECAD0
;--------snip-------------
;------------------------use as batch / cmd --------------------------------------------
cls
@echo off
echo.
echo. "TERMSERVICE" will be stopped in phase ONE when you continue and  .....
echo.
echo. 1) You may make (!elevated) changes to "Windows\System32\termsrv.dll"
echo. 2) You may make more        changes to "Program Files\RDP Wrapper\rdpwrap.ini"
echo.                                      or in "Windows\System32\rdpwrap.ini"
echo.
echo.    If You use update/Install/uninstall
echo.    You should use modified version of mod.install.bat ( !No -o option)
echo.    and mod.uninstall.bat with option -k
echo.    You may overwrite or delete your "manually" implemeted rdpwrap.ini
echo.    especially if you use update.bat unmodified !.
echo     RDP Wrapper Library v1.6 // Installer v2.3 //Copyright (C) Stas'M Corp. 2016
echo     USAGE : RDPWInst.exe [-l ^|-i [-s] [-o] ^|-w ^|-u [-k] ^|-r]
echo	 -l     display the license agreement
echo	 -i     install wrapper to Program Files folder (default)
echo	 -i -s  install wrapper to System32 folder
echo	 -i -o  online install mode (loads latest INI file)       :: critical!
echo	 -w     get latest update for INI file                    :: critical!
echo	 -u     uninstall wrapper                                 :: critical!
echo	 -u -k  uninstall wrapper and keep settings
echo	 -r     force restart Terminal Services
echo.
echo. 3) You may add/update (rfxvmt.dll)  in "Windows\SYSWOW64"
echo.     if you have a missing one or older one in x64-Home
echo.
echo. "YOUR ACTION SHOULD BE FINISHED"  after Phase-ONE
echo. When you go-on to Phase-TWO then  "TERMSERVICE"
echo.       will be started again in Phase-TWO
echo.
ECHO. "PHASE-ONE"  of two phases
echo.
echo.  CTRL-C aborts
pause
net stop termservice
echo. Waiting for "Your Action(s)"
echo. Or You may go-on to PHASE-TWO of two  ?
echo.
echo.  CTRL-C aborts
pause
net start termservice
pause
;---------------------------------------------------------------------------

termsrv.dll was updated to 167, offsets seems to be the same

termsrv.dll was updated to 168, offsets seems to be the same.
Just change or add a section for [10.0.17763.165] and [10.0.17763.165-SLInit]  with the data  (in #601 -hajubu) with the snipping data [10.0.17763.165] and [10.0.17763.165-SLInit]

Good Luck -

These offsets don't seem to work for me on 168 x64.

@DHaak93 : the offsets I contributed above are test against x64/x86 in VM. !! IS WORKING !!
To assist your problem - if you like - give more details for your workflow / environment.

@JeffPeters on my current .ini file i see those lines
[10.0.17763.1-SLInit]
bInitialized.x86      =CD798
bServerSku.x86        =CD79C
lMaxUserSessions.x86  =CD7A0
bAppServerAllowed.x86 =CD7A8
bRemoteConnAllowed.x86=CD7AC
bMultimonAllowed.x86  =CD7B0
ulMaxDebugSessions.x86=CD7B4
bFUSEnabled.x86       =CD7B8

bInitialized.x64      =ECAB0
bServerSku.x64        =ECAB4
lMaxUserSessions.x64  =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64  =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64       =ECAD0

Do i have to replace them with the lines of @RobertSpir  and also Replace termsrv.dll he posted ?

@Julien-nl  ; Hello , for each build  ,  a need for the two ini-Section [10.0.17763.nnn] and [10.0.17763.nnn-SLInit]  / nnn= (1 , 165, 167, 168 ) is given, which contains both (.x64 and .x86)  offset-values.
This ensures that all these builds will be recognized. I did a replication of my findings (snip-listing Sections [10.0.17763.165] and [10.0.17763.165-SLInit]  above) for all three 177763.nnn-builds (165,167,168), adding these section  by taking the original build from 2018-10-10 from the repository, whereby the number were set according to the wanted build. (The difference is from builds 17763.1 to 17763.165). I put each section in a row behind 17763.1 and 17763.1-Slinit.
Please be aware not stumbling  over a) os-bit version b) not using "net stop TermService" and changing the "newly" edited ini-file. See my comment risk of overwriting this file using unmodified "install.bat/uninstall.bat" or the "update.bat" c) after you have replaced the ini-file do restart the "PC" or at least use "start net TermService".
Remark: each build 17763.1 , .165 , 167 , 168 comes with an own "build" version of Termsrv.dll ( x64,x86).
(The rfxvmt.dll (x64 , x86 ) has always 17763.1, whereby the the added (older) rfxvmt.dll in syswow64 from the rdp-wrapper install also still works fine.
Therefore in x64 you several choices to circumvent the stumbling stones.
Please let me know if this helped,
Getting the Termsrv.dll and rfxvmt.dll from the dedicated install.wim (x64 / x86) or do a simple VM insall of the OS-build of your choice ( my recommendation) and follow up the workflow,
. Good Luck

Despite the description of @hajubu I don't seem to get it working in 17763.168
So I got the 2018-10-10 rdpwrap.ini, added two sections for .168 and .168-SLinit, copying the data from the 165 and .165-SLInit respectively.
net stop termservice
net start termservice
and … termservice crashes..
I did not fiddle with the dlls.
(BTW still fighting with virusscanner too -- maybe this disturbes things as well?)

@ANDREpki wrote ::  Despite the description I don't seem to get it working in 17763.168
…... „I did not fiddle with the dlls.“
……  BTW still fighting with virusscanner too … maybe this disturbes Things
>>    (!yes may be!)
>>    ?? ( Which one do you use ?
>>     !! Some do strictly forbid
making changes in surveyed/observed (System) areas.
! – use $MS Defender only ,  I  had never a Problem with it – but with others
!  Try to Keep it Simple (K.I.S.S.) at least for the implementation phase
…..   and … termservice crashes..
>>    ??  ‚When‘ and ‚What‘ is the message  or Event id ?
There is no „fiddling“ necessary  , except If you really want to test manually several builds of  “termsrv.dll“, which is not the normal workflow.

So I did it  just straight „Forward“
Use at the first time install or update Win10 and
use the „Install.bat“  ( only once, with Option -o) to get the updated Version of rdpwrap.ini of the repository {2018-10-10), otherwise you receive with rpd-wrap 1.62 the ini-file 2017-12-27
net stop termservice (elevated) and  watch Messages in  the admin-console (see my batch cmd proposal)
edit rdpwrap.ini with the updated [section-version] according to your termsrv.dll in system32.
net start termservice (elevated) and  watch Messages in  the admin-console
just see my result at  last post (hajubu- 18-12-09) in #606

Yep, @hajubu, I did exactly that. my termserv.dll is .168, the appcrash event in the eventviewer shows P2: 10.0.17763.1 (.1, not .168?)
The virusscanner (McAfee) only puts rdpconf in quarantine. On another machine I am at .134 and there I succeed with the vanilla rdpwrap.ini (10-10-18).
So, with 10-10-18 file (no modifications) I can RDP into the machine, but only 1 session at a time. Then, when adding the entries for .168 (just above the [SLInit] section) and .168.SLInit (the bottom of the file) I have several possibilities: either the service doesn't start at all, or it starts then crashes when attempting to open an RDP session.
So I decided to start over again.

changed the date in the file to 18-10-09 (otherwise the next step fails with [*] Everything is up to date.)
Get the 'clean 10-10 INI file' by running RDPWInst -w

RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Checking for updates...
[*] Current update date: 2018.10.09
[*] Latest update date:  2018.10.10
[+] New update is available, updating...
[*] Configuring TermService...
[*] Starting TermService...
[+] TermService found (pid 22940).
[*] No shared services found.
[*] Terminating service...
[*] Starting TermService...
[+] Update completed.

Added the new sections [10.17763.168] and [10.17763.168-SLInit] with the code from @RobertSpir and your modifications

[10.0.17763.168]
LocalOnlyPatch.x64=1
;LocalOnlyOffset.x64=77941	- #601 @RobertSpir
;LocalOnlyOffset.x64=77AF1	- #601 @hajubu
LocalOnlyOffset.x64=77AF1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=132F9
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=17F45
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1ABFC
SLInitFunc.x64=New_CSLQuery_Initialize

[8< --- 8 <---  8< ---]

[10.0.17763.168-SLInit]
bInitialized.x64      =ECAB0
bServerSku.x64        =ECAB4
lMaxUserSessions.x64  =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64  =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64       =ECAD0

Save, Net stop termservice, Net start termservice
No errors in eventlog, service is running (from services.msc)
test by starting mstsc from another computer
TADAA!! It is working

#Happy. Now, the only thing I have to do is to convince McAfee that they show a false positive on rdpconf.exe, so I can use that tool as well.

andrePKI wrote ….in the eventviewer shows P2: 10.0.17763.1 (.1, not .168?)

HIGH-FIVE! For your success an Explanation

my Observation was in the past form time to time net stop / net start Needs a while for finilazing the Task. Therefore I’m used to take an elevated Batch.cmd with „pause/wait“cmds to have a Chance to see the stopping/starting Messages of the net termservice. ( A clean „Restart“ is Always the best solution !)

„McAfee“ -> RDPCfg.exe  ( As far I know McAffee observes registry Entries !?!)

Just a short remark : to  [Main] updated=yyy.mm.dd i.r. to rdpwrap.ini
Updated=yyyy.mm.dd  .GE „last.ini in repo“ prevents regular update with update.bat i.r. to DATE
Update=yyy.mm.dd  .LT pulls the „last.ini“ from repo

taking only x64 offset values works for your x64-Environment fine.
Other may Need both x64 and x86

The two Section [OS.build.no] and [OS.build.no-SLInit]
should positioned acc. to the given  logic in the origial rdpwrap.ini

Yep, @hajubu, I did exactly that. my termserv.dll is .168, the appcrash event in the eventviewer shows P2: 10.0.17763.1 (.1, not .168?) (2 events were logged on each crash, 1000 from Application Error and 1001 from Windows Error Reporting - but this is not relevant anymore - please read on)
The virusscanner (McAfee) only puts rdpconf in quarantine. On another machine I am at .134 and there I succeed with the vanilla rdpwrap.ini (10-10-18).
So, with 10-10-18 file (no modifications) I can RDP into the machine, but only 1 session at a time. Then, when adding the entries for .168 (just above the [SLInit] section) and .168.SLInit (the bottom of the file) I have several possibilities: either the service doesn't start at all, or it starts then crashes when attempting to open an RDP session.
So I decided to start over again.
1. changed the date in the file to 18-10-09 (otherwise the next step fails with `[*] Everything is up to date.`)

2. Get the 'clean 10-10 INI file' by running RDPWInst -w

RDP Wrapper Library v1.6.2
Installer v2.5
Copyright (C) Stas'M Corp. 2017

[*] Checking for updates...
[*] Current update date: 2018.10.09
[*] Latest update date:  2018.10.10
[+] New update is available, updating...
[*] Configuring TermService...
[*] Starting TermService...
[+] TermService found (pid 22940).
[*] No shared services found.
[*] Terminating service...
[*] Starting TermService...
[+] Update completed.

1. Added the new sections [10.17763.168] and [10.17763.168-SLInit] with the code from @RobertSpir and your modifications

[10.0.17763.168]
LocalOnlyPatch.x64=1
;LocalOnlyOffset.x64=77941	- #601 @RobertSpir
;LocalOnlyOffset.x64=77AF1	- #601 @hajubu
LocalOnlyOffset.x64=77AF1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=132F9
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=17F45
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1ABFC
SLInitFunc.x64=New_CSLQuery_Initialize

[8< --- 8 <---  8< ---]

[10.0.17763.168-SLInit]
bInitialized.x64      =ECAB0
bServerSku.x64        =ECAB4
lMaxUserSessions.x64  =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64  =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64       =ECAD0

1. Save, Net stop termservice, Net start termservice

2. No errors in eventlog, service is running (from services.msc)

3. test by starting mstsc from another computer

4. TADAA!! It _is_ **working**

#Happy. Now, the only thing I have to do is to convince McAfee that they show a false positive on rdpconf.exe, so I can use that tool as well.

Unfortunately doesnt work for me. heres what i get in even logger :
Faulting application name: svchost.exe_TermService, version: 10.0.17763.1, time stamp: 0xb900eeff
Faulting module name: rdpwrap.dll, version: <IP_ADDRESS>, time stamp: 0x5488aa5a
Exception code: 0xc0000005
Fault offset: 0x00000000000029fc
Faulting process id: 0x4abc
Faulting application start time: 0x01d4908f667b83cc
Faulting application path: C:\WINDOWS\System32\svchost.exe
Faulting module path: c:\program files\rdp wrapper\rdpwrap.dll
Report Id: e4b5a0fe-4354-4b60-85d4-31502627058b
Faulting package full name:
Faulting package-relative application ID:

@scr34mik::18-12-10
I'm a little bit confused, as you added in "head" the protocol / Post from @andrePIK 18-12-09.
In the tail of your post the "Exception Code: 0xc0000005" is an "well known" error code, whereas
the causes may be for the
(1) Error ‘0xC0000005: Access Violation’ error are: corrupt registry, ....
(2) Error '0xC0000005: Virus ( - oops! It could be a false/positive of your Virusscanner ( like McAfee, etc)
as andrePIK already reported , RDPconf.exe was caught as such.
I personally keeps it simple (K.I.S.S) with Win10 Defender - no problem at all.
(3) Error '0xC0000005: also a forbidden "overwriting" of "old" remained data may causes such effects
Another Msg part hold " Fault offset: 0x00000000000029fc" and the "TermService, version: 10.0.17763.1"
points to an effect that at the time the error occurred, the "older" version of 17763.1 is still registered.
Therefore make sure that you did a "sober"  OS-Update to "new" 17763.168 ( I suppose you wanted that)
with // last CU KB4469342 (v168.1.10 ) and SSU KB4470788 both from 2018-12-04 // msu::SSU must be installed before CU , only the 'older' KB4469342 (cab) should/(must) be overwritten.
--- I also installed KB4471331(adobe flash) and KB 4469041 -preview CU upd NetFramew.3.5/4.72) which I believe not so important --- //
If you want to do it manually , please have a good knowledge how to handle the System privileges rules.
-- see my post form 18-12-09 in #606 for more details
. Good Luck

@hajubu, @
Hajubu wrote
'''
Another Msg part hold " Fault offset: 0x00000000000029fc" and the "TermService, version: 10.0.17763.1"
points to an effect that at the time the error occurred, the "older" version of 17763.1 is still registered.
''''
But the version in the eventlog refers to svchost.exe, which is .1, not .168, so nothing strange there. This process runs as local system, hence the error 5 (0xc00000005) is odd.
I am not sure about the order of the section in the ini file (normally it should  not matter), but to be safe I would put [10.0.17763.168] around the middle, just above [SLInit] section and [...168-SLInit] at the bottom of the ini file.

@andrePKI
….. [Hajubu wrote '''
Another Msg part hold " Fault offset: 0x00000000000029fc" and the "TermService, version: 10.0.17763.1"
points to an effect that at the time the error occurred, the "older" version of 17763.1 is still registered.
''''

Thanks andrePKI ,
but I believe there is a little misunderstanding:

If the OS-Update from.1 to .168 was done right and „sober“ before,
I’d never observed a message with „the old Version I had before“ the update of the rdpwrap.ini.
Exchanging „termsrv.dll“ on-the-fly needs a knowledge of handling privileges ( or a tool )
….. Running the …process as  local System, hence the error 5 (0xc00000005) is odd …“

quite clear,    but nevertheless we have to accept that the „update“/„replacing“ -Errors are based on on a handling with wrong privileges ( „access-rights“) anything  in the registry or file System, in most cases.

……I am not sure about the order of the section in the ini file (normally it should not matter)

You may be right, but for a simple comparison ( simplier reading), I do prefer the way with the „Two“ part as described ( „part1.xxx“ in the middle bevor the [SLInit]-section and „part2xxx-Slinit“ at bottom of the ini file.

@creatoro  wrote  in the update to your post you said:  [10.0.1773.165]…[10.0.17763.165]data  works with now with termsrv.dll.165 which is the way it should.
For any other Version of win10.1809_17763.xxx-termsrv.dll.xxx you need an seperate section-pair.
17763.1    ,  as set in the rdpwrap.ini  in the repository)
17763.165 ,  as  you used it.
17763.167 and / or 17763.168    as I explained :
Add the data from the [10.0.1773.165]…[10.0.17763.165] Section pair in a new pair of sections with each
Header(s)  [10.0.17763.167] and [10.0.17763.167]  and / or )  [10.0.17763.168] and [10.0.17763.168]
just below the above discussed and referenced positions in the ini file.
JUST To Ease The Job: I do recommend to test the workflow always in a VM/Vbox Environment.
I also explained, for those who are not familiar with handling „System Privileges“ exceptions
To do a „sober“ – Standard - „ OS-Update to "new" 17763.168 (…. If wanted …)
with // last CU KB4469342 (v168.1.10 i ) and SSU KB4470788 both from 2018-12-04 --
-- see my post from 18-12-09 in #606 for more details

just a short note:
10.0.17763.194 - CU KB4471332 - keeps/lifts the termsrv.dll to its file version 10.0.17763.168.
Therefore since .165, .167, .168 use the data-offset, which are the same, we have to add to the rdpwrap.ini dated 2018-10-10 ( last.ini in the repository - code: res\rdpwrap,ini).
Ensure you have the correct ini file with two ini-sections [10.0.17763.1] , [10.0.17763.1-SLInit]
and add then the two sections [10.0.17763.168], [17763.168-SLInit]
---------------read more in #611 --------------------------------

Hi, you people are awesome, but there may be some n00bs like me (relatively speaking) out there getting a bit lost. Here are some streamlined instructions based on hajubu, RobertSpir, Scr34mik, et. al., which worked for me.
This is for those who have already installed 1.6.2 using the install.bat file and RDPWInst.exe.

Open C:\Program Files\RDP Wrapper
Copy rdpwrap.ini file to somewhere like the desktop
Open that file and add the following text to the end:

[10.0.17763.168]
LocalOnlyPatch.x64=1
;LocalOnlyOffset.x64=77941	- #601 @RobertSpir
;LocalOnlyOffset.x64=77AF1	- #601 @hajubu
LocalOnlyOffset.x64=77AF1
LocalOnlyCode.x64=jmpshort
SingleUserPatch.x64=1
SingleUserOffset.x64=132F9
SingleUserCode.x64=Zero
DefPolicyPatch.x64=1
DefPolicyOffset.x64=17F45
DefPolicyCode.x64=CDefPolicy_Query_eax_rcx
SLInitHook.x64=1
SLInitOffset.x64=1ABFC
SLInitFunc.x64=New_CSLQuery_Initialize

[8< --- 8 <---  8< ---]

[10.0.17763.168-SLInit]
bInitialized.x64      =ECAB0
bServerSku.x64        =ECAB4
lMaxUserSessions.x64  =ECAB8
bAppServerAllowed.x64 =ECAC0
bRemoteConnAllowed.x64=ECAC4
bMultimonAllowed.x64  =ECAC8
ulMaxDebugSessions.x64=ECACC
bFUSEnabled.x64       =ECAD0

Open cmd as admin and enter "net stop TermService"
Go back to C:\Program Files\RDP Wrapper and rename or delete rdpwrap.ini file.
Move the newly edited rdpwrap.ini file to C:\Program Files\RDP Wrapper
Open cmd as admin and enter "net start TermService"

That should work.
Thanks for keeping this going!

Hello,
I followed the instructions from gitgotgone exactly but when I try to restart the service with  "net start TermService" I get
A system error has occured
System error 1067 has occured
The process terminated unexpectedly
I rebooted the computer and still same issue. Anyone have any thoughts?

I tried everything they said there, it did not work here
what I'm going to do, unfortunately, is to leave the 1803 version with the updates blocked until a version that already works with the 1809 termserv .168
thanks

Instruction from andrePKI worked for me for version 17763.168. Make sure to follow them to the letter, including uninstalling and reinstalling:
https://github.com/stascorp/rdpwrap/issues/601#issuecomment-445560995

I noticed that it is very important that you have a newline at the end of the file.
Without it the service starts and stops immediately with the same error as @Scr34mik

I'm really sorry but I can't get this to work and I think I've ended up in a muddle with my dlls.
I am trying to get RdpWrap running on Win 10 Home x64, release 10.0.17763.168. I had it running fine before the 1809 update.
I thought I had a recollection of having to copy termsrv.dll and rfxvmt.dll into my system32 folder from my system running Win 10 Pro (also .168) so I did this before running uninstall.bat then install.bat. Looking at the instructions and problems it seems that is not required, just to change the .ini file.
Anyway, I get various errors - mostly just "Not listening", but I'm concerned as to whether I have the correct dlls now. And what happens in syswow64? That seems to be mentioned occasionally by some people  - should rfxvmt.dll be copied there? Which version?
So now I'm not sure I have the correct dlls. Could someone send the correct versions I need to work for Win 10 Home x64 10.0.17763.168 with instructions on where they need to be copied to?
Then I can follow the instructions above to reinstall and modify the rdpwrap.ini file.

Thanks.


Trim tokens?

Feature Request
Wherever tokens/client ids are taken trim them before usage? 🤔
Today I had to update my tokens in 7 files, i just used VS Code to replace all.
But after deploying the new code it wasnt working. Later I found out I had an extra space for some reason...
something like const accessToken = "yar63fvr ";
I'd like to suggest that the token or clientId would be trimmed before actual usage by StaticAuthProvider or other code... I know it was my fault but.......... thoughts?

It is not Twurple's job to sanitize your strings.


knife Bootstrap permissions error is misleading

Description
On bootstrapping a windows node , the message
ERROR: You authenticated successfully to https://'''chef-server-url''' as '''user''' but you are not authorized for this action.
Response:  missing create permission
is displayed. This is not because  authenticated correctly or because the  is missing the create permission. It is because using user-credentials on a bootstrap, recreates the client and node -- stripping permissions of the existing client and node. When the "clients" group is not part of the READ+CREATE ACL of the nodes container, the recreated client cannot create the new node required for the bootstrap. Thus the missing create permission message.
The error message is very misleading and cost me over two days of developer time -- it should be rewritten to provide more detail to what exactly is missing permission. Instead of indicating that the user authenticated correctly and display a missing permissions error interpreted as relevant to the user specified. This is very confusing as the user can be part of the admins group and seemingly have their permissions stripped from them.
Chef Version
13.6.4 ( chefdk - 2.4.17-1_amd64.deb)
Platform Version
Ubuntu 14.04
Replication Case
Reference stackoverflow - https://stackoverflow.com/questions/47780723/cant-bootstrap-node-when-user-is-in-admin-group/47819382#47819382
Remove the clients group from the READ+CREATE ACL of containers nodes.
Attempt to bootstrap a remote node with user credentials.
Client Output
ERROR: You authenticated successfully to https://'''chef-server-url''' as '''user''' but you are not authorized for this action.
Response:  missing create permission
Stacktrace
https://gist.github.com/marseille/9eb5ba3a79b353fbeb75855ebab38ae7#file-gistfile1-txt-L3

@marseille In Chef Infra Client 15 we entirely rewrote how bootstrap works for Windows. I'm going to close this out at this point. If you're still seeing this sort of behavior in Chef Infra Client 15 please open it back up so we can dig in further.


Has One Of Many not always working correctly

Original issue: #38571
Laravel Version: 8.56.0
PHP Version: 8.0.9
Database Driver & Version: MariaDB 10.6.4-1

Why I recreated this issue:
I still believe this is a problem in Laravel. I asked around in various channels, but nobody was able to solve the problem (without changing Laravel itself).
Since the previous issue was closed, I added a new test and a workaround/hack to my test repo that does give me the results I expect.
Description:
I am using a Has One Of Many relationship and I'm passing a closure to further narrow down the results. In this closure, I'm querying a relationship. This goes well until there's a record with the same min (or max) value. Then the query on the relationship is ignored. Here's an example:
class Product extends Model
{
    public function category(): BelongsTo
    {
        return $this->belongsTo(Category::class);
    }
}

class Category extends Model
{
    public function products(): HasMany
    {
        return $this->hasMany(Product::class);
    }
}

class Brand extends Model
{
    public function cheapestProduct(): HasOne
    {
        return $this->hasOne(Product::class)->ofMany(['price' => 'min'], function ($query) {
            $query->whereHas('category', function ($query) {
				  // this is ignored if there are 2 products with the same lowest price
                $query->where('published', true);
            });
        });
    }
}

I then make 2 categories, one published and one not. I put some products in both categories that all have the same brand. Assume there are 2 products in both categories that both have the same, lowest price of all products.
If I then run Brand::first()->cheapestProduct, I get the last inserted product of the 2 cheapest products, which can have a category that is not published.
Steps To Reproduce:

Clone my bug report project for this issue
Run the test, or seed the database and go to /

Hey @rubenvanerk, could you share the generated mariadb query, maybe in a fiddle.
Please do not use the workaround as it is wrong. It may fix this specific case but it will break other behaviour.

Thanks for looking into this @cbl, here's the fiddle: https://dbfiddle.uk/?rdbms=mariadb_10.6&fiddle=a3b47792122e8903323866b6cd262ba5
I wasn't planning on using the workaround, but I thought it could point someone into the right direction.

This query shows a MAX(id) where else there should be a MIN(id):

When I replace MAX -> MIN it returns the correct result. I wonder why this happens for the MariaDB driver. Is this the query that was generated from the example code in your bug-report repository?

It's just a coincidence that it gives you the correct result when you change MIN(id) to MAX(id). If you use MIN(id) and swap which categories are published, then it gives a wrong result again: https://dbfiddle.uk/?rdbms=mariadb_10.6&fiddle=dde4e68b8855b097521c438cf57fbc76. This outputs a product that is in an unpublished category.
I don't think this is specific to MariaDB, if you switch to MySQL it also gives the wrong result: https://dbfiddle.uk/?rdbms=mysql_8.0&fiddle=dde4e68b8855b097521c438cf57fbc76
The query is generated with the bug report repository by running the project and visiting /. I copied the query from debugbar

@cbl did you have any more insights for the above?

Hey, sorry for the late response, I have been very busy lately.
@rubenvanerk I think I found the issue. When we only run the inner join query (fiddle), the results show, that only a price and a brand_id is returned which is then used to  load the result with the min id. However the category_id is needed as well to restrict the group.
When I add the category_id to the join constraints, the correct result is loaded: fiddle
This in fact seems like an edge case that I haven't thought of before.  We need to find a way to access the join clause builder within the relationship method of your model.

I'll try to come up with a pr to solve this.

Since only one person has reported this so far I'm going to close this one. Feel free to send in a PR so we can accommodate for this edge case. Thanks


model.save Can't save anything

I use "midel.save" without saving anything. How can I save and load the trained model?
The following is my code, who can help me, thank you very much
public void Run()
{
//1、创建模型
Tensorflow.Keras.Engine.Model model = BuildModel();
model.compile(loss: keras.losses.MeanSquaredError(),
optimizer: keras.optimizers.SGD(0.02f),
metrics: new[] { "mae" });
model.summary();
        //2、训练模型
        (NDArray train_x, NDArray train_y) = PrepareData(1000);
        model.fit(train_x, train_y, batch_size: 64, epochs: 100);

        model.save("D:/desktop/model/my_model.h5");

        //3、应用模型（消费）
        test(model);
    }

只能保存权重

model.save_weights("your_model_path_file.h5")

The model saving and loading in keras has been supported in v0.100.4. Here are the examples.


JSON output from cat command

This is a hack change so that the pretty print can be parsed as JSON. I thought JSON was a good mix of human-readable (intended goal of these commands I assume) and machine-readability.
Here is a picture of the output

⚠We should have everything properly serializeable and then have this generated automatically⚠
⚠this seemed like it may be a non-trivial task so this is my (temporary?) fix⚠

This would be super helpful to have, will this be merged @NicolasDP @vincenthz ?

This PR is not likely to be merged in as it is a bit too hacky.
Ideally it would be better to have an intermediate type representation for pretty printing so we could print things differently depending on user's requests (json, yaml, csv, custom/pretty...)


edge 浏览器报错

Vue devtools version
6.4.5
Link to minimal reproduction
本地调试没有链接
Steps to reproduce & screenshots
edge打开vue devtools后 [Hook] Error in event handler for vuex:mutation with args，
不打开不会报错

What is expected?

What is actually happening?
打开调试工具后vuex报错了
System Info
system:Windows 10 专业版;"vuex": "^3.6.2";node:v14.20.0;"vue": "^2.7.13",

Any additional comments?
No response

PLEASE, USE ENGLISH
NOT EVERYONE UNDERDTANDS CHINESE


feature request: auto enable preview

Did you check existing requests?

[X] I have searched the existing issues

Describe the feature
I would love to have a config option that makes the preview  automatically open when oil starts
Provide background
I find i pretty much always want the preview open since I mostly open oil when trying to explore the filetree
Additional details
No response

I've added a User autocmd that will fire when an oil buffer finishes rendering. You can use that to open the preview automatically
    vim.api.nvim_create_autocmd("User", {
      pattern = "OilEnter",
      callback = vim.schedule_wrap(function(args)
        local oil = require("oil")
        if vim.api.nvim_get_current_buf() == args.data.buf and oil.get_cursor_entry() then
          oil.select({ preview = true })
        end
      end),
    })

Note the schedule_wrap is required. There are some bugs with calling oil.select inside an autocmd; the nested option for BufReadCmd appears to not be respected :/

Quick update to the autocmd to use open_preview:
vim.api.nvim_create_autocmd("User", {
  pattern = "OilEnter",
  callback = vim.schedule_wrap(function(args)
    local oil = require("oil")
    if vim.api.nvim_get_current_buf() == args.data.buf and oil.get_cursor_entry() then
      oil.open_preview()
    end
  end),
})


Send static pages to rummager

"How government works" and "Get involved" are currently not indexed in rummager, because they are static pages without entries in the database.
We need to index these now because they've been tagged to a mainstream browse page in content-api. The collections app is switching from using content-api to rummager to fetch the content (https://github.com/alphagov/collections/pull/151), so rummager now needs to now about these pages too.
The rake task should be run after each deploy.
Trello: https://trello.com/c/7qw4TRiC

Good intent.  Will be even better when it has some tests ;)

Test added - Tijmen is now away, so I'll merge this (in a deviation from the standard Whitehall repo merge procedure).


fix(ffe-account-selector-react): Fixes reset and expand button spacing

There is no spacing between the reset and expand button on iPad (Safari)

Coverage remained the same at 79.447% when pulling 6213defb5432e966d13c1839cb38991e0d4e80e0 on TorgeirCook:develop into 541710b57f1c255c4622fd795ff9aa7c2fe8a994 on SpareBank1:develop.


Sending double / float metrics to graphite without truncating

Previous implementation truncates floating point number to 2 decimal places. This limits the applicability of metrics
with a floating point in some situations. Bacause graphite-carbon uses float() method (see [1]) to parse value in
plaintext protocol, we can safely do Double.toString to convert Java Double to a propper string for plaintext protocol
value.
[1] https://github.com/graphite-project/carbon/blob/a52cfe026fc283546e40e4aecded8ac3c194def9/lib/carbon/protocols.py#L119

Thank you for the pull request! Unfortunately, it can be accepted because it changes the format of data sent to Graphite. As a user, I would be surprised if after an update to a new version of the metrics library, my charts would start showing numbers like 0.234223345898 instead 0.23 without my intention to change the format.
Having said that, I can the value in sending floating point numbers in a more precise format. I think, a better approach would be to mark the format method as protected, so users who want to have a custom format, can override it.


Implement update-hst-visit

Implement the standalone tool to perform update-hst-visit based on the following:
Note: there is another issue open for the implementation of task queue & queue manager.
Task: update-hst-visit

Initiated by: update-hst-program
Input: program ID, visit.
Log: <HST_PIPELINE>/hst_<nnnnn>/logs/update-hst-visit<ymdhms>.log
Priority: 3 (Medium)
Actions:

Queue retrieve-hst-visit for this visit and wait for it to complete.
Queue label-hst-products for this visit and wait for it to complete.
Queue task prepare-browse-products for this visit and wait for it to complete.

Implemented and merged into master.


Vertical Number Bubble and Step Title

May I know is there any way to make the number bubble align above the step title? And an option to show all the steps in 1 page without scrolling (max 3 steps for this option)? Thanks.

Hi @ahyaosy,
There is no support for the Alternative tabs layout currently. This would be a nice enhancement though!
As for the second, this is not supported explicitly, but you could make it work by adjusting the width of the tab separator, e.g. by changing the value of ms_tabStepDividerWidth attribute.

As mentioned in the other ticket after a quick analysis I see the following issue:
I'm sure how to this in the library so that it provides the best user experience in all use cases. While it is clear to me what to do if at least one of the steps has a subtitle, I'm not sure what would be best when dealing with tab errors.
Namely the following use case is bothering me:
User has 3 steps with titles only (no subtitles).
Then on one of the steps the verification fails and we show an error in the tab with a message - this actually adds a subtitle.
Now, I see 2 options here:

We change the height of the entire container so that the bottom padding is maintained.
Ignore the bottom padding here with a risk that something might get cut off or padding will be significantly smaller which might not be really eye-pleasing...

I'll try with a changed step layout and post a screenshot.

@zawadz88 Sorry no screenshot - but I forked and made the changes here: https://github.com/Rainer-Lang/android-material-stepper/commit/29b4c4a4e49cba18a65beac275ca0d47dabb4e4a
It seems ok for me. Finetuning is always possible - but it's a first step.

Could you make a pull request of your fork it could be a great feature

+1

Please my friend, could you please add the vertical feature. I really need it.

Please add the vertical title feature.

Hello,
Yes I read this issue. But I don't know how to use this. I want to show number and just below number like to show text.
Can you please help me to get this?
Please add such comments to use this feature.
Looking forward to hear from you soon.
Thanks


wethIsEth in v3 boosted and nested pools

The SDK does not support wethIsEth for this types of pools yet.
Implement it when they eventually add support.

Blocked by SDK

@agualis apparently this is in the SDK now.


Unbound container continually restarting

Built using the latest images of stubby and unbound, then run with "docker-compose up -d". Stubby container starts daemon correctly, but unbound continually restarts with error:
standard_init_linux.go:211: exec user process caused "no such file or directory"
None of the files have been modified.  Running on latest Docker Desktop for Windows 10.

Thanks for reporting this issue. How frequently is it restarting? Within
seconds, minutes, hours, etc. I've seen something similar on my standalone
Unbound container running on Raspberry Pi. It's a random restart after
several hours, no pattern. I haven't tracked it down yet but need to. I'm
guessing this is the same one. I hadn't heard any reports of others having
issues until now. Knowing it's not an isolated case concerns me more.
I have not noticed or heard of similar issues on my standalone Unbound
version that's not optimized for ARM processors. Out of curiosity, does
that version work for you without any restart issues? I need to double
check to make sure it is staying up for long periods on my Linux box to be
sure though as the Unbound container bundled with Stubby is fairly similar.
https://github.com/MatthewVance/unbound-docker
When you say running on Windows, is this in a VM or directly in Windows?
I'm not too familiar with Docker on Windows and certainly haven't tested
this in that environment.
On Wed, Feb 26, 2020, 11:17 PM jonatj<EMAIL_ADDRESS>wrote:

Built using the latest images of stubby and unbound, then run with
"docker-compose up -d". Stubby container starts daemon correctly, but
unbound continually restarts with error:
standard_init_linux.go:211: exec user process caused "no such file or
directory"
None of the files have been modified. Running on latest Docker Desktop for
Windows 10.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MatthewVance/stubby-docker/issues/8?email_source=notifications&email_token=AAUMHOUSTIVZ3Y34W5ATG23RE5EH3A5CNFSM4K4T4EX2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IQVNGWQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUMHOXHSDQ4HVIOSVZUB7TRE5EH3ANCNFSM4K4T4EXQ
.

I just updated Unbound to 1.10.0 and also re-factored the Dockerfile to better match my main Unbound Docker image that does not have any re-start issues as far as I know. Please pull the updated version and re-try.

Thanks Matthew for your responsiveness.  For me the Unbound image was restarting continuously. It never started up, but just had that error.  I’m comfortable with Docker, but I’m new to Stubby and Unbound so I wasn’t sure I was understanding how they were supposed to work.  So I manually installed each on to my server and I got it to work (really well actually).
But a Docker container would be much easier to manage and support long term. So I’m really looking forward to trying your latest 1.10.0 image.  I’ll give it a try in a couple days and let you know.
From one “computer guy” to another, it means a lot to me that you’re willing to help me out with this.
Thank you!
Jonathan

On Mar 4, 2020, at 3:18 PM, Matthew Vance<EMAIL_ADDRESS>wrote:

I just updated Unbound to 1.10.0 and also re-factored the Dockerfile to better match my main Unbound Docker image that does not have any re-start issues as far as I know. Please pull the updated version and re-try.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Tried it with the 1.10.0 and it works great!

Good. Thanks for confirming.
On Sun, Mar 8, 2020, 10:56 PM jonatj<EMAIL_ADDRESS>wrote:

Closed #8 https://github.com/MatthewVance/stubby-docker/issues/8.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MatthewVance/stubby-docker/issues/8?email_source=notifications&email_token=AAUMHOSD2NLCVEDI22PF4ZLRGRSHBA5CNFSM4K4T4EX2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOXFIPFTI#event-3109089997,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUMHORTLDOGE3F2COWGCFDRGRSHBANCNFSM4K4T4EXQ
.


implemented and validated prescription of zero net acceleration

Closes #63.
As mentioned in the linked issue, explicitly prescribing zero net acceleration, as an indirect means to sustain a constant mass flux has several advantages, one of them being that calculations in single precision may be more accurate, as we integrate the shear stresses over a (typically) homogeneous plane, rather than over the whole volume.

TODO: (see https://github.com/CaNS-World/CaNS/issues/63#issuecomment-1477691338)

[ ] add optional parameter is_updt_halo to the BC subroutines, to skip halo update when prescribing zero net acceleration
[ ] add a pre-processor macro _ZERO_NET_ACCEL to switch to this forcing mode.

It seems this clean forcing may be troublesome for z-implicit diffusion, and one cannot do it neatly. Hence, we'll revise this PR to default to our standard mean flow forcing.


Add ObjectMapper.cloneWithConfiguration

This new method allows creating modified ObjectMappers with different configuration. This is required so that we can create an ObjectMapper using the BeanContext in micronaut-oraclecloud, which requires non-default serde configuration.
The changes here are a bit painful. The existing use sites of the config classes all assume the configuration is global and static. They all had to be adjusted.
The API is also painful to use because the configuration classes are interfaces. ConfigCloneSpec shows an example how to use this API without having to implement SerdeConfiguration and friends manually, but it's a bit awkward.

It looks like this will require changing all the serializer / deserializer to always use the configuration from the context and never precompute it.

it always has to come from the context but it can be precomputed in createSpecific.


Cannot able to import css modules.

I was importing css file in my components. there I am getting this error shown below.

Error
Cannot find module 'renderer/App.module.css' or its corresponding type declarations.ts(2307)

Hmm that's strange, I haven't seen that problem before. If I have some time I will look into it. Did you make any changes to the webpack configs by any chance?

anyways I had done some changes in webpack.renderer.config.js , which resolved my issue finally. Here is the snippet of code, which will allow to create module css.
webpack.base.config.js
resolve: {
        modules: [path.resolve(__dirname, 'src'), 'node_modules'],
        extensions: ['.tsx', '.ts', '.js', '.json', '*.module.css', '.jsx', '.d.ts']
    },

webpack.renderer.config.js
{
                test: /\.css$/,
                use: [
                    require.resolve('style-loader'),
                    {
                        loader: require.resolve('css-loader'),
                        options: {
                            importLoaders: 1,
                            modules: true,
                            localIdentName: '[name]__[local]__[hash:base64:5]'
                        },
                    },
                ]
            },

Good that you've resolved it, will close this since this is not supported out of the box without making changes.


[Style check failure] Too many blank lines

please verify it in the latest private bit: https://github.com/Azure/autorest.az/releases/tag/1.4.1-b.20200622.1

Merged and closed


docs(vue.md): provide the french translation of vue.js guide + fix in title hierarchy in the english doc

[x] provide the french doc of vue.js step by step guide
[x] fix minor typos in the Title Hierarchy of the English Step by Step Vue Guide.

resolve #254

🎉 Merged in English Yesterday, pushed in French Today.  La Poste

Thanks @ChristianMurphy


Munsell color system

The Munsell color system may be an interesting addition from a more artistic point of view. RIT provides some data files that may be used to convert from Munsell to xyY, but I haven't found any clear terms of use for those, but the colors themselves are not copyrighted and it looks like it's under a section of free-to-use stuff. That will need more investigation, since we must consider possible commercial use of this library.
Embedding a Munsell database into the library may be quite a bit of bloat, so this should probably be included as an opt-in feature.

This is probably not going to happen unless there's a significant push for it with a clear use case, other than "interesting".


let g:racer_cmd = "/path/to/racer/bin" don`t working

Hi All
I have installed pugin by Vundle, I added Plugin 'racer-rust/vim-racer' into my Vim config.
When I have added let g:racer_cmd = "/path/to/racer/bin" into config, navigation dont worked, I have message "Racer dont find in $PATH".
When I have removed let g:racer_cmd = "/path/to/racer/bin", navigation started working fine.
Sorry for my bad English
Best regards, Aleksey Kislitsa

It is dummy path.  You must replace the path to real path.  Closing.

Maybe i have bad English, but i dont stupid, i have used REAL path to racer in my config and racer was found in console. If I set REAL path, plugin dont worked, and all work if I don`t set.
Why do we need this variable?

@fr0ster vim-racer uses racer command from $PATH.
But it may be not installed in the path.  So it is needed.

but i dont stupid, i have used REAL path to racer in my config and racer was found in console.

You should check your path.  I think :echo executable(g:racer_cmd) is false.

If the description is not easy to understand, you can fix it.  PR is welcome.

@Shougo I have created PR, thanks


Comment widget focus needs a lot of improvment

Refs: https://github.com/Microsoft/vscode/issues/67294
PR extension in a lot of cases wrongly treats focus. Not sure if there is more we could do here but the focus eaisly gets lost.
Some examples:

Pressing escape while comment box is empty
Clicking on the + in the glyph margin - the focus should pass to the comment box
Clicking on a comment I am unable to up / down to go thourhg all comments

Tried this out and all three focus issues appear to be fixed.


Sorry, not the issue just want to say it great.

I am looking to learn GLSL and found this a good place and really thanks for this.

Thanks dear,
Really appreciated.
Although, as you see it's not finished, you can contribute with code, wiki, whatever you thing it may be useful
If you want to jump in and contribute, don't hesitate!

Sure, now I just start to learn and I will do what I can.


Failed prop type: Invalid props.style key style supplied to Text

🐛 Bug Report
This warning occurred when install RN 0.63.2
Component effected:

ListItem (https://github.com/akveo/react-native-ui-kitten/blob/master/src/components/ui/list/listItem.component.tsx#L128)

To Reproduce
Use a Text for accessoryLeft in ListItem.
Example:

<ListItem
   title="test a bug"
   accessoryRight={(props) => (
      <Text {...props}>Bug</Text>
   )} />

UI Kitten and Eva version

Package
Version

@eva-design/eva
5.0.0

@ui-kitten/components
5.0.0

Please see the API.
It is expected from this property to return an image. Which means it is called with props accessible by the Image component and not by text. If you want to render a Text please use the passed props argument accurately


Call to api/sign-in?

I followed the documenation and created the attached sample app.
It appears the app is making a call to /api/sign-in, which is failing.  Is there a a way to prevent this?

Bitzart.Blazor.Auth.Example.zip

@sam-wheat Thank you for reaching out!
I have checked the solution you attached. Indeed, the implementation guide was missing an important part about mapping auth endpoints that would allow your client project to access your server-side authentication logic. It is now added to the documentation.
Here is what was added:

Add the authentication endpoints in your Blazor Server Program.cs. This is required in order to allow the Client project to call the Server's API and use the server-side IAuthenticationService implementation.

// Program.cs
app.MapAuthEndpoints();

After adding this line to your server-side Blazor Program.cs, the solution seems to be working. Do let me know if this resolves the issue 😊

Fixed!  Thank you!


[boringyuri-dagger]: Dagger component can't be a Kotlin interface

Dagger component that includes a generated BoringYuriModule can not be a Kotlin interface because kapt generates Java stubs for dagger annotation processor and the generated module that is added to @Component annotation has not created yet.
So the workaround is to get rid of the Java stubs generation step and make the Component a java interface. In this case Boring Yuri's dagger processor will be able to produce the module file before the Component is compiled.
If anybody knows how to fix the issue properly, you're welcome to pull request.

After the upgrade of either dagger or kotlin plugin the dagger component
interface can contain a BoringYuri module that is going to be generated on one of
the next processing steps. Now the dagger component can be either
kotlin or java interface.


Bug UI on the Authorize staking screen

Version test: v0.5.4

Version test: https://file.cdmteck.com/s/4oimk9zDJ8R5Aai/download?path=%2F&files=./551-merge-build-0.5.5-1660281022775.zip
Validation passed!


Empty strings makes db crash

Hi everybody,
I was testing the DB with a large dataset and few complex queries.
While doing so I encountered the following error message:
I0312 10:35:41.545658 71650 Catalog.cpp:3074] Time to load Dictionary 1_2 was 56ms
I0312 10:35:41.550999 71664 Calcite.cpp:395] Time in Thrift 1 (ms), Time in Java Calcite server 53 (ms)
I0312 10:35:41.551895 71664 RelAlgOptimizer.cpp:755] (RelProject<140184021675344> (RexInput 8<PHONE_NUMBER>11392) (RexLiteral 1) (RexInput 0<PHONE_NUMBER>11392) (RexInput 2<PHONE_NUMBER>11392)) eliminated 1 columns.
F0312 10:35:42.319502 45530 Execute.cpp:2210] Error launching the GPU kernel: an illegal memory access was encountered
I0312 10:35:42.320631 45530 Calcite.cpp:432] Shutting down Calcite server
I0312 10:35:42.328037 45530 Calcite.cpp:441] shut down Calcite
I0312 10:35:42.328122 45530 MapDServer.cpp:102] Interrupt signal (11) received.

My setup is:
Tesla K80 with NVIDIA-SMI 410.79       Driver Version: 410.79       CUDA Version: 10.0;
Ubuntu 16.04.5 LTS xenial;
OmniSci Server Version: 4.5.0-20190221-e41be43ff0 OS from  the repositories.
The disk space usage looks like this:
124K /var/lib/omnisci/data/mapd_catalogs

2.4M /var/lib/omnisci/data/mapd_log

147G /var/lib/omnisci/data/mapd_data/table_1_1

8.1M /var/lib/omnisci/data/mapd_data/DB_1_DICT_2

8.1M /var/lib/omnisci/data/mapd_data/DB_1_DICT_4

2.0G /var/lib/omnisci/data/mapd_data/DB_1_DICT_1

8.1M /var/lib/omnisci/data/mapd_data/DB_1_DICT_3

12K /var/lib/omnisci/data/mapd_data/table_0_0

149G /var/lib/omnisci/data/mapd_data

4.0K /var/lib/omnisci/data/mapd_export

149G /var/lib/omnisci/data

149G /var/lib/omnisci/

After a little bit of digging we found that this was caused by an empty string present in one of the columns.
One possible way to replicate it that was suggested to me is to use the geospatial data present in the database:
omnisql> copy (select a.id,case when mod(a.rowid,100)=0 then '' else a.county end, case when mod(a.rowid-b.rowid,50)=0 then 'N' when mod(a.rowid,100)=0 then '' else 'Y' end from omnisci_counties a cross join omnisci_counties b) to '/home/mapd/cj.csv';
omnisql> \d test
CREATE TABLE test (
id TEXT ENCODING DICT(32),
description TEXT NOT NULL ENCODING DICT(32),
yes_or_no TEXT NOT NULL ENCODING DICT(8))
omnisql> copy test from '/home/mapd/cj.csv';
Result
Loaded: 10562500 recs, Rejected: 0 recs in 1.224000 secs
1 rows returned.
Execution time: 1415 ms, Total time: 1416 ms

omnisql> select distinct yes_or_no from test;
Thrift error: No more data to read.
Thrift connection error: No more data to read.

However I don't know if this issue has the same root cause because in my dataset I am able to replicate it only sometimes depending on how much data I feed to mapd.
Thanks for your help.

Hi @dgikiller
Thanks for this report. First, I would suggest upgrading to 4.6.1 -- we have over 100 closed tickets between 4.5 and 4.6.1, and it is possible we've already encountered this problem and resolved it. You can get the latest build directly from https://releases.omnisci.com/os/tar/omnisci-os-latest-Linux-x86_64.tar.gz . Note that OmniSci Core upgrades are not backwards compatible due to catalog changes and other schema migrations applied between versions.
In the meantime, I will take a look and see if I can reproduce your issue. I believe we treat empty strings the same as NULL strings for dictionary encoding -- it is possible that the NOT NULL qualifier is causing problems. Will keep you updated.
If you are able to build the OS repo locally and want to investigate in parallel, I am also happy to provide some debugging tips.

Hi alex,
thank you for looking into this.
I was thinking about something like this but why would this happen only in certain scenarios?
However I'll try to make the test with 4.6.1 soon.

It likely only happens when we're using the dictionary ID for the string as an index into some data structure. For normal projection queries you shouldn't see any issues, because we just place the string index directly into the output buffer (or sometimes we don't even send the string to GPU, if you are not doing any other operations on the value -- we can just drop the fragment offset into the output buffer saving GPU memory). For group by and aggregate queries, we use the string index in various ways for both the aggregate computation (e.g. distinct) and for grouping by a dictionary encoded string. In those instances, if the system gets a null sentinel for a column it thinks it not nullable, you would very likely see an illegal memory access or something similar. We intercept those errors from the GPU kernel and abort the server process so the user knows something has gone wrong.


Restoring index data on non-standard ES install

Context
In order to help us troubleshoot issues with this project, you must provide the following details:

ElasticDump version : from Docker image
Elasticsearch version : 7.7.1
Node.js version *(note that nodejs v8+ is required for this tool) - from Docker image
Full command you are having issue with (with inputs and outputs) - see below
A data-set you can share publicly which reproduces the problem - see below

Describe the bug
Hi,
i am trying to restore data elastic-dump via docker and I am not able to restore data. I have a non standard install, i.e. my elastic indexes are located in something like
http://myprettydns:443/qa/myindex    (served via Apache)
--- how I create a backup:
I am using the following script (adapted from the docker examples):
	docker run --rm -ti -e  NODE_TLS_REJECT_UNAUTHORIZED=0 -v $(pwd)/data:/data:Z elasticdump/elasticsearch-dump elasticdump \
	  --input=https://${ELASTICSEARCH_USER}:${ELASTICSEARCH_PASSWORD}@${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/${ELASTICSEARCH_ENV} \
	  --input-index=${ELASTICSEARCH_INDEX} --limit 100000 \
 	 --output=/data/${ENV}_${ELASTICSEARCH_INDEX}_data.json.gz \
	  --type=data --fsCompress

this creates a file with many lines like:
{"_index":"myindex","_type":"_doc","_id":"ID000001","_score":1,"_source":{...............}" }

--- how I try to restore
Now I would like to restore to the same server: I am trying the following:
	zcat $FILE |\
	 docker run --rm  -i -e  NODE_TLS_REJECT_UNAUTHORIZED=0 -v $(pwd)/data:/data:Z elasticdump/elasticsearch-dump elasticdump \
	  --output=https://${ELASTICSEARCH_USER}:${ELASTICSEARCH_PASSWORD}@${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/${ELASTICSEARCH_ENV}/${ELASTICSEARCH_INDEX} \
 	 --input=$  --limit 1000 --type=data

getting the error:
Thu, 18 Jun 2020 08:44:03 GMT | starting dump
Thu, 18 Jun 2020 08:44:03 GMT | got 1000 objects from source file (offset: 0)
(node:1) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(node:1) UnhandledPromiseRejectionWarning: Error: failed to parse json (message: "Unexpected token < in JSON at position 0") - source: "
It works!
\n"
    at Object.parse (/usr/local/lib/node_modules/elasticdump/lib/jsonparser.js:45:11)
    at Request.<anonymous> (/usr/local/lib/node_modules/elasticdump/lib/transports/elasticsearch.js:120:29)
    at Request._callback (/usr/local/lib/node_modules/elasticdump/node_modules/lodash/lodash.js:10050:25)
    at Request.requestRetryReply [as reply] (/usr/local/lib/node_modules/elasticdump/node_modules/requestretry/index.js:105:19)
    at Request.<anonymous> (/usr/local/lib/node_modules/elasticdump/node_modules/requestretry/index.js:146:10)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
read unix @->/var/run/docker.sock: read: connection reset by peer

same error removing the /${ELASTICSEARCH_INDEX} from --output
changing the command to:
  zcat $FILE |\
    docker run --rm  -i -e  NODE_TLS_REJECT_UNAUTHORIZED=0 -v $(pwd)/data:/data:Z elasticdump/elasticsearch-dump elasticdump \
    --output=https://${ELASTICSEARCH_USER}:${ELASTICSEARCH_PASSWORD}@${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/${ELASTICSEARCH_ENV} \
    --input=$  --limit 1000 \
    --output-index=${ELASTICSEARCH_INDEX} \
    --type=data

I get the error:
Thu, 18 Jun 2020 08:46:42 GMT | starting dump
Thu, 18 Jun 2020 08:46:43 GMT | got 1000 objects from source file (offset: 0)
(node:1) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
Thu, 18 Jun 2020 08:46:43 GMT | Error Emitted => {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"explicit index in bulk is not allowed"}],"type":"illegal_argument_exception","reason":"explicit index in bulk is not allowed"},"status":400}
Thu, 18 Jun 2020 08:46:43 GMT | Error Emitted => {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"explicit index in bulk is not allowed"}],"type":"illegal_argument_exception","reason":"explicit index in bulk is not allowed"},"status":400}
Thu, 18 Jun 2020 08:46:43 GMT | Total Writes: 0
Thu, 18 Jun 2020 08:46:43 GMT | dump ended with error (get phase) => BAD_REQUEST: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"explicit index in bulk is not allowed"}],"type":"illegal_argument_exception","reason":"explicit index in bulk is not allowed"},"status":400}
read unix @->/var/run/docker.sock: read: connection reset by peer

How can I restore this dump?
Any help would be appreciated, many thanks!

To help there is a few questions that's needed.

How do you normally perform a search against the API (via curl). What's the endpoint?
What's the scroll endpoint.

Sounds like your installation doesn't allow bulk indexing (This is an action control issue)
{
	"error": {
		"root_cause": [{
			"type": "illegal_argument_exception",
			"reason": "explicit index in bulk is not allowed"
		}],
		"type": "illegal_argument_exception",
		"reason": "explicit index in bulk is not allowed"
	},
	"status": 400
}

The first issue was because the url supplied was incorrect. It's returning html instead of json

It works!

My guess you need to speak with whomever configured the server
Access control info : https://www.elastic.co/guide/en/elasticsearch/reference/7.x/url-access-control.html


LPM Lookup for the destination PIF

Done in external (currently private) repo, I'm closing this issue.


Auto-update Python documentation

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Shadows combined with postproduction custom effects show the shaded plane

Describe the bug 📝
This effect is shown on screen 1.
The reason is the shadow plane, I solved it this way(screen2), but maybe it should be solved better - automatically when turning on shadows in connection with postproduction.

Reproduction ▶
No response
Steps to reproduce 🔢

Activate postproduction
components.renderer.postproduction.enabled = true;
components.renderer.postproduction.customEffects.outlineEnabled = true;
components.renderer.postproduction.customEffects.glossEnabled = true;
const postproduction = components.renderer.postproduction;
Render shadow

System Info 💻
"openbim-components": "1.2.0"

Used Package Manager 📦
npm
Error Trace/Logs 📃
No response
Validations ✅

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
[X] Check that this is a concrete bug. For Q&A join our Community.
[X] The provided reproduction is a minimal reproducible example of the bug.

You can solve this by excluding the shaded plane of the shadows from the postproduction, like we do here with the grid. Cheers!


c_templates dependency

Hey,
Trying to import rex, i get a dependency issue:
In [1]: import rex
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-e841dd4a92c3> in <module>()
----> 1 import rex

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/__init__.py in <module>()
      1 from rex.vulnerability import Vulnerability
----> 2 from rex.crash import Crash, QuickCrash, NonCrashingInput
      3 from rex.exploit import Exploit, CannotExploit, CannotExplore

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/crash.py in <module>()
     11 import operator
     12 from .trace_additions import ChallRespInfo, ZenPlugin
---> 13 from rex.exploit import CannotExploit, CannotExplore, ExploitFactory, CGCExploitFactory
     14 from rex.vulnerability import Vulnerability
     15 from simuvex import SimMemoryError, s_options as so

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/exploit/__init__.py in <module>()
      3 from .shellcode_factory import ShellcodeFactory
      4 from .exploit import Exploit, ExploitException
----> 5 from .exploit_factory import ExploitFactory
      6 from .cgc_exploit_factory import CGCExploitFactory
      7 from .techniques import Techniques

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/exploit/exploit_factory.py in <module>()
     58                 l.debug("technique failed: %s", e.message)
     59
---> 60 from .techniques import Techniques

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/exploit/techniques/__init__.py in <module>()
      8 from ..technique import Technique
      9
---> 10 from .rop_set_register import RopSetRegister
     11 from .shellcode_set_register import ShellcodeSetRegister
     12 from .circumstantial_set_register import CircumstantialSetRegister

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/exploit/techniques/rop_set_register.py in <module>()
      4 from rex import Vulnerability
      5 from rex.exploit import CannotExploit
----> 6 from ..cgc import CGCType1RopExploit
      7 from ..technique import Technique
      8

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/exploit/cgc/__init__.py in <module>()
----> 1 from .cgc_type1_exploit import CGCType1Exploit
      2 from .cgc_type2_exploit import CGCType2Exploit
      3 from .cgc_exploit import CGCExploit
      4 from .type1 import CGCType1RopExploit, CGCType1ShellcodeExploit, CGCType1CircumstantialExploit
      5 from .type2 import CGCType2RopExploit, CGCType2ShellcodeExploit

/home/user/.virtualenvs/angr/local/lib/python2.7/site-packages/rex/exploit/cgc/cgc_type1_exploit.py in <module>()
      8 import tempfile
      9 from .cgc_exploit import CGCExploit
---> 10 from .c_templates import c_template_type1
     11
     12 import logging

ImportError: No module named c_templates

I have no idea where c_templates is.

Ok. So looks like if i run it from the rex directory it works. The c_templates module apparently isn't being installed w/ the rest of the package. Guessing this is an update to the setup.py file, but I'm not well versed in pypy setup stuff.

type1 and type2 directories will need to be installed as well.

Should be fixed in e7ae2322b299face9a1209a4ce3f097a5f9522e1!


Migrate hackclub/website features to unified codebase

From https://www.notion.so/2017-06-20-Classifying-Hack-Club-s-Repos-080c12f5662445cbad742b1dbb6986c1

frontend will include all the pages on the website

Home page
Team page
Donation page
Application page
Start page
Example application page

api logic:

Logic which manages donations

Currently we store records of all of our donors
And we have logic which allows regular monthly donations
Sends email thanking donors for their contributions

Logic which submits the application

(send emails to leader and us, create Streak box, etc.)

We'll also need to port our behavior from Streak-box creation & movement logic from Zapier into Ruby

Update to this plan:
With the impending deadline of... well... yesterday having passed us we're re-scoping our goals for migrating this repository:
Basically, instead of migrating over the entire thing, we're going to start off with just the application page (and the application creation logic). To make that clear, the application page will get rewritten in frontend and then be proxied through to the current website. It will be built off of an API provided by the api repository, like our other react pages.


Add test coverage to travis run

This will generate a coverage report when running tests.

+1

+1

+1. Thanks @melaniedc - this is a good metric to give us an idea of how we're doing with test coverage.


conditional expression returning strings even for cases where hex values or number might be needed

Issue

The inline conditional expression typically works when we wrap it in double or single quotes.
like

- Row:
    id: rowId
    styles:
      borderColor: 0xFFDEDED4
      crossAxis: center
      mainAxis: center
      borderRadius: "${borderRadius === null ? 8 : borderRadius}"
      height: 50
    children:
      - Text:
          id: providerText
          styles:
            textStyle:
              fontSize: 12

here this inline expression returns an error

This error might be related to issue #657 but i am not sure of it.
Way around is to use if condition in js code block using an id ( providing id to widget ) to assign a value conditionally.

In simple words Inline expression works fine for cases where property accepts strings otherwise if it accept integers like in above cases then expression evaluates to false.
cc: @vusters @amin-nas

it was passed as input to a custom widget ( SocialLoginButton ) for now since i had to get work done i have changed the code but if you say i can re produce the issue and link the example here

yes please reproduce and provide a short example with just the issue

hey @kmahmood74 here is an example screen https://studio.ensembleui.com/app/99NjTh75fWrVwXEhFdf4/screen/uJsZXq4VxvzwYtY5X8y5?propertyPanelEnabled=true&instantPreviewDisabled=false&editorV2Enabled=true
inside the onClick event handler function i am logging current chart element clicked and ensemble. You can check browser console for relevant errors.
I have invited you to this app as well kindly accept request.

here is the link to custom widget socialLoginButton
https://studio.ensembleui.com/app/8PghcmhtGkWiWffmhDDl/widget/XxZPBUmhSGK6NgwejgnT?propertyPanelEnabled=true&instantPreviewDisabled=false&editorV2Enabled=true
You can check for error in this screen and above custom widget as well
https://studio.ensembleui.com/app/8PghcmhtGkWiWffmhDDl/screen/j4FW0Jw61gkaFPQ6uZRo?propertyPanelEnabled=true&instantPreviewDisabled=false&editorV2Enabled=true
have invited you to this app as well

Ahh now I am getting it, it's not a conditional expression issue, it's actually that borderRadius requires 1 to 4 parameters as in that borderRadius can be something like borderRadius: 5, borderRadius: 5 10, borderRadius: 5 10 15, borderRadius: 5 10 15 20 and it cannot be borderRadius: 5 10 15 20 25.
I also checked the conditional expressions, they are perfectly working there isn't any issue with that.


Skip some LOBPCG tests failing with SciPy 1.11

Reverts https://github.com/cupy/cupy/pull/7908.

/test mini,head

@kmaehashi Failed to backport automatically.

Not cleanly cherry-picked


Support pass environment to build pod container

We need to pass some enviroment into build pod initcontainer
For example, it will VerifyWriteAccess  in build-init initcontainer or validating registry read access in analyzer initcontainer, similar validate operations exist in export/compeletion containers
we use azure container registry, and use managed identity to pull/push image, if there are multiple managed identity exist in azure kubenetes, we need to pass environment like "AZURE_CLIENT_ID" to specify one of them, other wise, it will fail to get token and validate failed.
But I can only configure cnbimage, kpack-controller will trigger buildpod, I can't pass environments to build-init initcontainer
Can you support this kind of features?

Are you mainly interested in using these env vars in the build pod (i.e. only with the Image and Build CR), or do you see a need for this to work with the images pushed by the controller (i.e. Buildpack, Builder, ClusterStack)? The latter is a lot more complicated to implement because the controller parallelizes reconciliation of Builders and env vars are shared all goroutines.

How granular do you need it to be? Should it be one client ID per Image/Build CR, or one client ID per registry host (i.e. my-corp.azurecr.io)?

Hi @chenbh

I'm interested in using the env var in build pod, and the client_id will be used in multiple container, like prepare/build/expoert/completion containers and so on, when operate with container registry, it need a client_id
per image/build CR need a client_id, not per registry host


Add compatibility with iOS 10

It appears Apple changed the SMS protocol yet again in iOS so this will no longer work for Safari 10 devices.
I don't yet have an iOS 10 device to test for new working sms protocol but testing on another person's device I noticed this no longer works for the upcoming iOS 10.

Good catch, thanks! I'll have an iOS 10 device on Friday. It's kind of weird to test these because the simulator doesn't have a Messages app and won't handle the links even if they're valid. I'll see if I can dig up anything and send it along to friends on the beta.

FWIW, Apple has said the following for a while:

The URL string must not include any message text or other information.

But of course it worked anyway 😉

https://github.com/bendrucker/ios-version/pull/1 should resolve this by adding double digit ios major version support to the regex.

Resolved by bendrucker/ios-version#1


Consider adopting a new Less grammar

Now that https://github.com/atom/language-less has been archived we need to find a new Less grammar.
https://github.com/radium-v/Better-Less has some promise, but it hasn't been updated since 2018. I'm reaching out via an issue to see if the owner has interest in reviving the project.

Let's see if there's interest: https://github.com/radium-v/Better-Less/issues/15

I'm reverting the new Less grammar so that it doesn't get released in 1.5 weeks. I'll add it back in after the release!

Marking as verified because the integration tests pass.


chore: Update WDS default seed to be distinct from Appsmith branding

Closes #29758

Summary by CodeRabbit

Style

Updated the app's accent color to improve visual consistency and enhance user interface aesthetics.

/build-deploy-preview skip-tests=true

@ichik changes done for the main app.

@jsartisan what about all the tests that we have for old color? Is this safe to just merge?

/ok-to-test

/ok-to-test<EMAIL_ADDRESS>

@ichik All those tests should work fine because i mainly changed the value of new theme settings and we don't have any tests for those and these wds theme settings are separate from old theme settings. so we should be good. I have run the ok-to-test. Let's see if something fails.


Can I use session access openai?

Can I use session access openai?
I want use session access openai,And we will do this job?

@hcws What exactly does 'session access' mean? Use the Issue template to provide information.

I mean is or not ，we access chatgpt‘s’ Official website ,to login in my account and use chatgpt


Documentation update

First pass documentation update for sections and elements used in AGs

@palemieux All changes requested updated in https://github.com/SMPTE/html-pub/pull/65/commits/0e8873d9a31cbefd0bdee3c6c591d2d447219dab


Version: 2.0.0-beta.2 does not work in testing

An exception occurs in NetworkTimeSyncManagerV2.cs line 85 and the UdonBehaviour halts. This happens both in ClienSim and in local test.
Version: 2.0.0-beta.2

Thanks for report, but beta is not stable yet, as it is a complete rewrite and in heavily testing.

Please try beta.4 if you want to help out for testing.
I have identified this might happened because of local name conflicts.
I will close this for now and please comment/reopen if problem still persists.

The issue persists in 2.0.0-beta.4, do these references look right?

My timezone is FLE, Windows 11 23H2

Ahh I find the cause now
This is why:
https://www.reddit.com/r/ukraine/comments/x8c897/europekiev_timezone_has_officially_been_renamed/

It seems to be fixed now!


Implement Scheduler.getFileSystem()

Crappy version implemented, still need to

register filesystem of scheduler in filesystem service
determine username of filesystem


Implement CPU shapley values

A rough draft implementing shapley values computed on the CPU. Uses the linear tree shap algorithm (https://arxiv.org/abs/2209.08192).
Is limited to depth 32 due to the need for lookup tables.

Have retested after addressing review comments and everything is passing.


Display cache hit and miss

What changes are proposed in this pull request?
Display cache hit and miss.
Why are the changes needed?
Want to display cache hit and miss.
Does this PR introduce any user facing changes?
Originally don't display the cache hit and miss in master web ui.
Now display in master web ui as follows.

Codecov Report

Merging #14525 (9dc3e4e) into master (c642abc) will decrease coverage by 24.87%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #14525       +/-   ##
=============================================
- Coverage     41.83%   16.96%   -24.88%
+ Complexity     9329     2705     -6624
=============================================
  Files          1494     1494
  Lines         87668    87668
  Branches      10449    10449
=============================================
- Hits          36678    14869    -21809
- Misses        48006    71559    +23553
+ Partials       2984     1240     -1744

Impacted Files
Coverage Δ

...mon/src/main/java/alluxio/shell/CommandReturn.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...mon/src/main/java/alluxio/util/ExceptionUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/wire/AlluxioProxyInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../src/main/java/alluxio/wire/AlluxioMasterInfo.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/job/meta/JobIdGenerator.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/src/main/java/alluxio/stress/BaseParameters.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...src/main/java/alluxio/client/UnderStorageType.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/underfs/options/ListOptions.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockReader.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/alluxio/worker/block/io/BlockWriter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 679 more

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 c642abc...9dc3e4e. Read the comment docs.

@ljl1988com Would you please give some snapshot about the new webui ?

@maobaolong I add a screenshot in the pr description. PTAL.

@yuzhu I add  "%" to the number, PTAL.

@ljl1988com Would you please update the screenshot in the description?

@maobaolong I've updated the screenshot in the description.

@yuzhu @maobaolong can you merge this pr?

@ljl1988com Sorry you have to wait for @yuzhu approved this PR. @yuzhu Would you like to take another look?

@maobaolong Thanks for your review. @yuzhu PTAL.

alluxio-bot, merge this please


Add lint check

LGTM

LGTM, but you also need to sign the drone config with the drone cli.

drone sign <repo name>, what's the repo name for gitea? @tboerger

drone sign go-gitea/gitea :)

Why the new sign is so long?


deep linking - error

Version
Tell us which versions you are using:
"react": "16.0.0",
"react-native": "0.51.0",
"react-native-router-flux": "4.0.0-beta.27"
Expected behaviour
Open scene
Actual behaviour

@aksonov I've encountered this issue. Since @mounlion doesn't provide any useful information or its scenario, I tell mine.
My iOS app was registered with two URL schema, one called myApp:// and another called stripeOrAnythingElsePayment://, in App component, I registered myApp prefix and it handles all the routing logic, that's fine. But then coming to payment, my app jump out into third-party to finish its payment process. After success, third-party will call stripeOrAnythingElsePayment:// to return to my own App, and at that time, app crashed due to this issue.
Simple to reproduce, just create a project with two different URL schema and register App with one, then open another using xcrun simctl openurl booted "ANOTHER_URL://.
Hope it helps.

@Blapi Please have a glimpse at what I've explained.

@EvianZhow I'm developing on Android and I'm using react-native-deep-linking on my end, I'm sorry

@EvianZhow what's the status there?

@Blapi Fixed in latest version


There problem with Potion Cauldron mod

So, I use Iris shader and BSL shader and I saw the texture of potion inside of cauldron was glitchy  (pictures below for comparison)
Is there any way to fix this?

i will try it out and see what i can do

ah thank you so much. so far other shader i use, Complementary Reimagined have no issue.

which shader are you using? could you post a link to it?
i just tried it with BSL and it works fine in my game.

I am using BSL shader from Modrinth
https://modrinth.com/shader/bsl-shaders

Hey, so I already found the problem. So, the texture did not support the advanced material setting in BSL shader. I disable that and the texture fixed.

alright. i guess it's safe to close this issue.


HttpProxyMiddleware [ERR_STREAM_WRITE_AFTER_END] when using agent

Checks

[X] I understand project setup issues should be asked on StackOverflow or in GitHub Discussions.
[X] I updated to latest http-proxy-middleware.

Describe the bug (be clear and concise)
I'm using HttpProxyMiddleware, with those options:
export const httpProxy = createProxyMiddleware({
  agent: new HttpsProxyAgent('http://127.0.01:10701'),
  pathRewrite: {
    '/tob_gateway': '',
  },
  router: () => {
    return 'http://URL_ADDRESSxxxxx';
  },
  secure: false,
  changeOrigin: true,
  on: {
    proxyReq: (proxyReq, req) => {
      const requestBody = (req as unknown as BodyParserLikeRequest)?.body;

      if (!requestBody) {
        return;
      }

      const writeBody = (bodyData: string) => {
        proxyReq.write(bodyData);
      };

      const contentType = proxyReq.getHeader('Content-Type') as string;
      if (
        contentType &&
        (contentType.includes('application/json') ||
          contentType.includes('+json'))
      ) {
        writeBody(JSON.stringify(requestBody));
      }

      if (
        contentType &&
        contentType.includes('application/x-www-form-urlencoded')
      ) {
        writeBody(querystring.stringify(requestBody));
      }
    },
  },
});

I know that the body is empty since I read the stream with express.raw which using bodyParser behind the scenes, but how can I write it back again before its sent? I cant make any request changes on 'onProxyReq', since I get errors like the above, and if I try to change any headers I get [ERR_HTTP_HEADERS_SENT]
I want to write the request body back before I send it to the server
Step-by-step reproduction instructions
1. ...
2. ...

Expected behavior (be clear and concise)
i can to write body when proxyReq event is triggered( use agent option)
How is http-proxy-middleware used in your project?
as a http proxy

What http-proxy-middleware configuration are you using?
export const httpProxy = createProxyMiddleware({
  agent: new HttpsProxyAgent('http://127.0.01:10701'),
  pathRewrite: {
    '/tob_gateway': '',
  },
  router: () => {
    return 'http://URL_ADDRESSxxxxx';
  },
  secure: false,
  changeOrigin: true,
  on: {
    proxyReq: (proxyReq, req) => {
      const requestBody = (req as unknown as BodyParserLikeRequest)?.body;

      if (!requestBody) {
        return;
      }

      const writeBody = (bodyData: string) => {
        proxyReq.write(bodyData);
      };

      const contentType = proxyReq.getHeader('Content-Type') as string;
      if (
        contentType &&
        (contentType.includes('application/json') ||
          contentType.includes('+json'))
      ) {
        writeBody(JSON.stringify(requestBody));
      }

      if (
        contentType &&
        contentType.includes('application/x-www-form-urlencoded')
      ) {
        writeBody(querystring.stringify(requestBody));
      }
    },
  },
});

What OS/version and node/version are you seeing the problem?
mac: 14.4.1
node: v20.15.0

Additional context (optional)
No response

https://stackoverflow.com/questions/78429842/httpproxymiddleware-err-stream-write-after-end-when-using-agent
I found the same problem onstackoverflow

This code fails in the following circumstances:

<EMAIL_ADDRESS>

const express = require(`express`)
const { createProxyMiddleware, fixRequestBody } = require(`http-proxy-middleware`)

const app = express()

const defaultConfig = {
  ws: true,
  secure: false,
  changeOrigin: true,
  onProxyReq: (proxyReq, req, res) => {
    // https://github.com/chimurai/http-proxy-middleware/pull/492
    fixRequestBody(proxyReq, req)
  },
  logLevel: `silent`,
  pathRewrite: { '^/amap/': `https://restapi.amap.com/` },
  // proxyTimeout: 60 * 1000,
  // timeout: 60 * 1000,
}

app.use(`/amap/`, createProxyMiddleware({ ...defaultConfig, target: `https://restapi.amap.com/`}))
app.listen(8840)

Visit the following link:
:8840/amap/v3/geocode/regeo?key=******&location=37.09024%2C-95.712891&extensions=all&appname=*****

An error occurs under Linux:
events.js:292
      throw er; // Unhandled 'error' event
      ^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end
    at writeAfterEnd (_http_outgoing.js:668:15)
    at write_ (_http_outgoing.js:680:5)
    at ServerResponse.write (_http_outgoing.js:661:15)
    at IncomingMessage.ondata (internal/streams/readable.js:719:22)
    at IncomingMessage.emit (events.js:315:20)
    at IncomingMessage.Readable.read (internal/streams/readable.js:519:10)
    at flow (internal/streams/readable.js:992:34)
    at resume_ (internal/streams/readable.js:973:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
Emitted 'error' event on ServerResponse instance at:
    at writeAfterEndNT (_http_outgoing.js:727:7)
    at processTicksAndRejections (internal/process/task_queues.js:81:21) {
  code: 'ERR_STREAM_WRITE_AFTER_END'
}

Same code and same version number, no problem under Windows:


Start with a position and real time updates

When use with startAtEnd:true This fires events near realtime. But when if the application crashed or turned off we can not get the events happen between downtime.
If I make startAtEnd:false events doesn't get fired real time it takes very noticeable delay to events fire and get some very old event. can we use position and startAtEnd to have both these cases satisfied?

Check zongji's options: https://github.com/nevill/zongji#zongji-class
You could store your current position: event.binlogName and event.nextPosition. I suggest a redis server to store this information, since it should be super fast.
And then you can pass them as filename and position options in the future.
Code would be like:
  const MySQLEvents = require('@rodrigogs/mysql-events');
  const myCache = require('./my-cache');

  // Inside and async function
  const filename = await myCache.get('currentFileName');
  const position = await myCache.get('currentBinlogPosition');

  const instance = new MySQLEvents(connection, {
    startAtEnd: true,
    filename,
    position,
  });

  ...

  instance.addTrigger({
    name: 'my-trigger',
    expression: '*',
    statement: MySQLEvents.STATEMENTS.ALL,
    onEvent: async (event) => {
      myCache.set('currentFileName', event.binlogName);
      myCache.set('currentBinlogPosition', event.nextPosition);
    },
  });

  ...

I've used this approach before, and I assure it works. Of course, this is a super simple example that I wrote without testing, you should implement your own version of it.

Thanks @rodrigogs I tested this approach only issue currently i'm facing it even though i used
excludedSchemas: {
      mysql: true,
    },

When i set trigger as yours with expression *
I keep getting events
{
  type: 'UPDATE',
  schema: 'mysql',
  table: 'heartbeat',
  affectedRows: [ { after: [Object], before: [Object] } ],
  affectedColumns: [ 'master_time' ],
  timestamp:<PHONE_NUMBER>000,
  nextPosition: 24000938,
  binlogName: 'mysql-bin.23232'
}

Well, that's strange. I'm out of time to test It right now, but you could open an issue for It.

Also when I restart the listener it doesn't get old records. BTW I'm using GCP Cloud SQL MySQL instance.

@rodrigogs
I have tested this with local MySQL instance and
With this configuration with redis
const instance = new MySQLEvents(connection, {
    startAtEnd: true,
    filename, // if both filename and position exists, startAtEnd is overcomed by it
    position,
  });

I started the sever and waited for few events.
Then I stopped event listing app and add more items to database.
Start the listening app again but I didn't get any old data.

I'll try to check it later

@rodrigogs After reading the documentation of https://github.com/rodrigogs/zongji I found out the code should be corrected as
const instance = new MySQLEvents(connection, {
    startAtEnd: true,
    binlogName:filename, // if both filename and position exists, startAtEnd is overcomed by it
    binlogNextPos: position,
  });

Now it works.


Adding a web interface (UI)

UI displays the main functionality

Text area with question field to generate function and "Generate code for me" button
Real time display log of progress generation
Display list of generated files with abilty to view each file

How to launch web ui
rustsn —serve —host==<IP_ADDRESS> —port=8080

If the last two parameters are not specified, the port and host are set by default
Library for use:

https://crates.io/crates/axum for web server and rest api
https://angular.dev/ for fronted - if you do not like it, just propose yours

I want to fix this issue.


Add new user: auto detect if server is configured as TCP or UDP

I've changed my server config to TCP, but the new user profiles still were created with "proto udp". I've found the template file and modified it, but it would be nice if that could be detected automatically.

I've changed my server config to TCP, but the new user profiles still were created with "proto udp". I've found the template file and modified it, but it would be nice if that could be detected automatically.

Please explain how you did change server and client to tcp I really need this.

Yeah, I guess the best solution for now is to modify /etc/openvpn/client-template.txt.