text:
I can't get windows to uninstall RDP Wrapper so i can try to install fresh, nor can I get what is installed working

I had this working for a long time, but when I ran an antivirus for another issue, it killed RDP.  Now, I cannot get it working again, nor can i uninstall it.  I've downloaded the files and tried installing, but it says RDP is already installed.  I can see it listed in Programs and Features, but I get an error message when i try to uninstall.  Change and Repair seem to have no effect either.  If I try to run the uninstall.bat file that fails also.  I'm at a loss on how to simply remove RDP Wrapper altogether, so i can start fresh.

Seems like your antivirus program has gone rogue, and deleted the
RDPWrapper files. You can't then uninstall it, because uninstalling
requires calling RDPInstall.exe, which has probably bee deleted.
Disable your antivirus program's real-time protection, reinstall
RDWWrapper, update your .ini file, mark your Program Files/RDPWrapper
directory as an exception so it won't do it again, and then you should be
right.
Or, change antivirus providers, and if they give you the option, tell them
that you are dropping them because it deleted an essential program,
RDPWrapper. I'm getting annoyed at all these antivirus programs deleting
essential IT tools.
On Wed, 6 May 2020 at 09:55, chrisbaber notifications@github.com wrote:

I had this working for a long time, but when I ran an antivirus for
another issue, it killed RDP. Now, I cannot get it working again, nor can i
uninstall it. I've downloaded the files and tried installing, but it says
RDP is already installed. I can see it listed in Programs and Features, but
I get an error message when i try to uninstall. Change and Repair seem to
have no effect either. If I try to run the uninstall.bat file that fails
also. I'm at a loss on how to simply remove RDP Wrapper altogether, so i
can start fresh.
[image: install failed]
https://user-images.githubusercontent.com/36215526/81126752-52cf8c80-8f0a-11ea-9e67-2cd883b9a77c.jpg
[image: config]
https://user-images.githubusercontent.com/36215526/81126754-53682300-8f0a-11ea-8b37-598cfd71349d.jpg
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1078, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGITYSVB3CJMZQQ6N42DRQCRPZANCNFSM4MZ73VZQ
.

It was a stand alone virus program that deleted files (eset online), even though I said to not quarantine them.  I don't have any stand alone anti-virus programs installed normally, I only use that one for a one-off check due to some weirdness I was experiencing.  I just use the built-in defender in Windows 10.  I've never previously specifically allowed RDP in that program, but came across an autoupdate batch file for RDP which suggested it, so I actually already did allow the exception, but I'm still having the issues.  Below is the exception as I have it setup, and also the files in program files/RDP Wrapper file, which is where I believe it's suggested to be installed.
I did download the installer.msi from github, which I don't think I've ever used before, but that didn't seem to actually install/do anything.  It is also in the wrapper folder.
not sure what else to try next.

The .msi just copies the files to Program Files and runs the install
program, so you can just do that. In an administrator command prompt, run
RDPWInst.exe . It should fix everything up for you, or at least tell you
why it isn't working.
On Wed, 6 May 2020 at 10:44, chrisbaber notifications@github.com wrote:

It was a stand alone virus program that deleted files (eset online), even
though I said to not quarantine them. I don't have any stand alone
anti-virus programs installed normally, I only use that one for a one-off
check due to some weirdness I was experiencing. I just use the built-in
defender in Windows 10. I've never previously specifically allowed RDP in
that program, but came across an autoupdate batch file for RDP which
suggested it, so I actually already did allow the exception, but I'm still
having the issues. Below is the exception as I have it setup, and also the
files in program files/RDP Wrapper file, which is where I believe it's
suggested to be installed.
I did download the installer.msi from github, which I don't think I've
ever used before, but that didn't seem to actually install/do anything. It
is also in the wrapper folder.
not sure what else to try next.
[image: exclusions]
https://user-images.githubusercontent.com/36215526/81129092-397e0e80-8f11-11ea-87c4-f557a1bff515.jpg
[image: wrapper files]
https://user-images.githubusercontent.com/36215526/81129094-397e0e80-8f11-11ea-8192-ba7ceed7849c.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1078#issuecomment-624381997,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGIUR7EQHY35RU7E6YYDRQCXIVANCNFSM4MZ73VZQ
.

same as before, failed to set up TermService. Unknown error.

I checked services and tried starting Remote Desktop Services and got this error...

So it seems to be a windows issue, not necessarily a RDP issue.  Not sure where to turn for help resolving this.

Next thing to try is to use that to do an uninstall. RDPWInst -u . My best
guess as to why TermService isn't starting is that it is trying to call a
now non-existant RDP Wrapper dll from somewhere .
I also don't see an rdpwrap.ini file there - the ones that rdpinst -r can
find are rather out of date. There's a newer one in this github repo's pull
request queue that should work.
(that link on this site that says, "Pull Requests".)
On Wed, 6 May 2020 at 11:28, chrisbaber notifications@github.com wrote:

same as before, failed to set up TermService. Unknown error.
[image: error]
https://user-images.githubusercontent.com/36215526/81130895-4f8ecd80-8f17-11ea-995a-c312d663555c.jpg
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stascorp/rdpwrap/issues/1078#issuecomment-624397195,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMCGIXH3SGNOED7QWH5VFLRQC4MBANCNFSM4MZ73VZQ
.

So, the weirdness continues.  running RDPWInst -u from an admin cmd prompt give the same error, Failed to setup TermService.  Unknown error.
I thought, before posting here, that I would just rename the RDP Wrapper folder, and start over.  So I created a new RDP Wrapper folder and tried to install, and uninstall before posting here.  I currently have a RDP Wrapper folder, and an OLD RDP Wrapper folder.  The .ini file(s) are (were) in the OLD RDP Wrapper folder.  I copied them to the new folder.  Not sure why they didn't get created when I tried to start over, but I suppose it's all related.
I've tried to RDPWInst -u from both locations, and have had the same error in each.
I moved on to working on cleaning up other stuff, and saw a Default.rdp file as I was moving around, and figured I'd just d-click and see what happened.
It connected to my remote host, and is working just fine!  In fact, for the first time in years, it actually shadowed correctly, and didn't interrupt the session on the server, which continued to play a video without any issues at all, while I was able to work away in the remote session for an hour with no problems at all.
Both the RDP Wrapper and OLD RDP Wrapper folders were checked, and both continue to give the same Stopped and Not Listening red 'errors' when I checked RDPConf.exe, but it's actually working fine, great even.
I'd still like to resolve this issue, and know that I only have the one working instance, which can be installed and uninstalled correctly, but I honestly don't know what else to check, nor am I certain it's best to continue messing with what seems to be actually working better than it has in a long time, even if it says it's not working.
I'm so confused.

I just tried to uninstall again, and thought this might point to something useful

Not sure if c:\windows\Installer\bc009.msi is the right place to be trying to uninstall from, nor how that came to be the path, but it does correctly refer to RDP Wrapper, so maybe it's right?

You are probably using the feature that is the reason why all the rdp stuff is still in windows for us to mess with - Remote assistance. Even on an unmodified Windows Home, you can still create an invitation file that allows someone to Shadow your session, for remote troubleshooting purposes. It doesn't allow someone to create a second session, or to log in remotely if you aren't logging in.
Oh, that dialog is completely normal, when using the .msi file to install or uninstall. But I haven't used the .msi file - copying files out of the .zip is much easier.
I'm going to bow out here. I don't have any other suggestions to give you. Perhaps if you tried starting/restarting the remote access service from the services.msc, or from the command line (net stop termservices and net start termservices) you might get more information.

First, I really appreciate your help with this; thank you!!
To be clear, I'm trying to use my laptop (which is giving the errors) to connect to the server, which is actually working.  My understanding of remote assistance is that it would allow my laptop to allow someone else to connect to the laptop, which may or may not work; I haven't tested it.
The server is basically unchanged for a long time, apart from perhaps some windows updates.
I tried running net stop termservices and got this

I checked services and see that Remote Desktop Services is set to Automatic, but not started.  Trying to start it gives this...

I'm researching that now, but it seems like a Windows issue.  Solutions seem convoluted so far

I don't quite understand what you are doing. Ordinary unmodified Windows Home will happily act as a RDP client, connecting to a server. We use RDPWrapper to allow Windows Home and Professional to act as RDP servers, the computer you connect to, bypassing the limitations Microsoft puts on these.
You would only need RDPWrapper on your laptop computer if you wanted to connect to your laptop from another computer.
AS to why terminal services isn't working on your notebook computer, check whether you have a valid copy of termsrv.dll in Windows/System32. Many older how-tos recommend messing around with this file, copying in older versions of it, so this file may have been deleted. You also could use sfc to sort out any problems with missing or corrupted system files.

Okay.  I didn't realize I could connect from the laptop without RDP Wrapper.  i thought I needed it on all machines.
I do have termserv.dll in Windows/System32
File version 10.0.18362.657
Size 1.01 MB
I don't recall ever messing with that file, so I assume it's the correct version.
I'm happy to remove RDP Wrapper from the laptop, as it's one less thing to manage moving forward. But, I'm unable to do so.  I cannot find any way to simply remove it now.
Every attempt at uninstalling fails with "Failed to set up TermService. Unknown error."
I really do appreciate all your help, and I'm sorry my system is being intolerable.

I see exactly the same problem with TermService on the latest version of W10Pro.

I had this working for about three days and Windows Anti-Virus decided to delete some important files.
But I believe I have found a solution!
Why can I don't just re-install the bloody thing?  Termservice can't start and gives me the same error message as listed above.
But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
if not Reg.OpenKeyReadOnly('\SYSTEM\CurrentControlSet\Services\TermService\Parameters') then
  begin
    Reg.Free;
    Code := GetLastError;
    Writeln('[-] OpenKeyReadOnly error (code ', Code, ').');
    Halt(Code);
  end;
  TermServicePath := Reg.ReadString('ServiceDll');
  Reg.CloseKey;
  if (Pos('termsrv.dll', LowerCase(TermServicePath)) = 0)
  and (Pos('rdpwrap.dll', LowerCase(TermServicePath)) = 0) then
  begin
    Reg.Free;
    Writeln('[-] Another third-party TermService library is installed.');
    Writeln('[*] ServiceDll: "', TermServicePath, '".');
    Halt(ERROR_NOT_SUPPORTED);
  end;
 Reg.Free;

  Installed := Pos('rdpwrap.dll', LowerCase(TermServicePath)) > 0;`

So what we want to do is make the variable Installed evaluate to False.  This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
ServiceDll
%ProgramFiles%\RDP Wrapper\rdpwrap.dll

Turns out this file rdpwrap.dll is deleted! Ouch!  Using a Search program like Everything, I cannot find it anywhere on my system.
So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to:
C:\Windows\System32\termsrv.dll
(It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use:
Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me.  Just need to backup rdpwrap.dll, and find out why Windows deleted it.
(I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!

I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
if not Reg.OpenKeyReadOnly('\SYSTEM\CurrentControlSet\Services\TermService\Parameters') then
  begin
    Reg.Free;
    Code := GetLastError;
    Writeln('[-] OpenKeyReadOnly error (code ', Code, ').');
    Halt(Code);
  end;
  TermServicePath := Reg.ReadString('ServiceDll');
  Reg.CloseKey;
  if (Pos('termsrv.dll', LowerCase(TermServicePath)) = 0)
  and (Pos('rdpwrap.dll', LowerCase(TermServicePath)) = 0) then
  begin
    Reg.Free;
    Writeln('[-] Another third-party TermService library is installed.');
    Writeln('[*] ServiceDll: "', TermServicePath, '".');
    Halt(ERROR_NOT_SUPPORTED);
  end;
 Reg.Free;

  Installed := Pos('rdpwrap.dll', LowerCase(TermServicePath)) > 0;`

So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
ServiceDll
%ProgramFiles%\RDP Wrapper\rdpwrap.dll

Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!

My rdpwrap.dll was also deleted by Anti-Virus.   It worked. Thank you much!
Something I want to added:   the type of  Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters   ServiceDll  is REG_EXPAND_SZ.
If someone deleted it by mistake like me,  you can receate it with this type.

I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
if not Reg.OpenKeyReadOnly('\SYSTEM\CurrentControlSet\Services\TermService\Parameters') then
  begin
    Reg.Free;
    Code := GetLastError;
    Writeln('[-] OpenKeyReadOnly error (code ', Code, ').');
    Halt(Code);
  end;
  TermServicePath := Reg.ReadString('ServiceDll');
  Reg.CloseKey;
  if (Pos('termsrv.dll', LowerCase(TermServicePath)) = 0)
  and (Pos('rdpwrap.dll', LowerCase(TermServicePath)) = 0) then
  begin
    Reg.Free;
    Writeln('[-] Another third-party TermService library is installed.');
    Writeln('[*] ServiceDll: "', TermServicePath, '".');
    Halt(ERROR_NOT_SUPPORTED);
  end;
 Reg.Free;

  Installed := Pos('rdpwrap.dll', LowerCase(TermServicePath)) > 0;`

So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
ServiceDll
%ProgramFiles%\RDP Wrapper\rdpwrap.dll

Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!

You are my hero

I started having this problem, but I am no techy guy so I don't know how to even follow what yall did to solve this problem. Can anyone help me step by step? That would be much appreciated!

I

I started having this problem, but I am no techy guy so I don't know how to even follow what yall did to solve this problem. Can anyone help me step by step? That would be much appreciated!

I can get us on a discord call or something in order for anyone to help. Thanks

but service state and listener state still red, how can i deal them

but service state and listener state still red, how can i deal them

how can i deal them

Look for solution here

I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
if not Reg.OpenKeyReadOnly('\SYSTEM\CurrentControlSet\Services\TermService\Parameters') then
  begin
    Reg.Free;
    Code := GetLastError;
    Writeln('[-] OpenKeyReadOnly error (code ', Code, ').');
    Halt(Code);
  end;
  TermServicePath := Reg.ReadString('ServiceDll');
  Reg.CloseKey;
  if (Pos('termsrv.dll', LowerCase(TermServicePath)) = 0)
  and (Pos('rdpwrap.dll', LowerCase(TermServicePath)) = 0) then
  begin
    Reg.Free;
    Writeln('[-] Another third-party TermService library is installed.');
    Writeln('[*] ServiceDll: "', TermServicePath, '".');
    Halt(ERROR_NOT_SUPPORTED);
  end;
 Reg.Free;

  Installed := Pos('rdpwrap.dll', LowerCase(TermServicePath)) > 0;`

So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
ServiceDll
%ProgramFiles%\RDP Wrapper\rdpwrap.dll

Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!

You saved my day, you are my hero!

I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
if not Reg.OpenKeyReadOnly('\SYSTEM\CurrentControlSet\Services\TermService\Parameters') then
  begin
    Reg.Free;
    Code := GetLastError;
    Writeln('[-] OpenKeyReadOnly error (code ', Code, ').');
    Halt(Code);
  end;
  TermServicePath := Reg.ReadString('ServiceDll');
  Reg.CloseKey;
  if (Pos('termsrv.dll', LowerCase(TermServicePath)) = 0)
  and (Pos('rdpwrap.dll', LowerCase(TermServicePath)) = 0) then
  begin
    Reg.Free;
    Writeln('[-] Another third-party TermService library is installed.');
    Writeln('[*] ServiceDll: "', TermServicePath, '".');
    Halt(ERROR_NOT_SUPPORTED);
  end;
 Reg.Free;

  Installed := Pos('rdpwrap.dll', LowerCase(TermServicePath)) > 0;`

So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
ServiceDll
%ProgramFiles%\RDP Wrapper\rdpwrap.dll

Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!

lov u bro

I had this working for about three days and Windows Anti-Virus decided to delete some important files. But I believe I have found a solution!
Why can i not just re-install the bloody thing? TermService can't start and gives me the same error message as listed above. But why? So lets investigate:
So I decided to review the code and found this:
RDPWinst.dpr
if not Reg.OpenKeyReadOnly('\SYSTEM\CurrentControlSet\Services\TermService\Parameters') then
  begin
    Reg.Free;
    Code := GetLastError;
    Writeln('[-] OpenKeyReadOnly error (code ', Code, ').');
    Halt(Code);
  end;
  TermServicePath := Reg.ReadString('ServiceDll');
  Reg.CloseKey;
  if (Pos('termsrv.dll', LowerCase(TermServicePath)) = 0)
  and (Pos('rdpwrap.dll', LowerCase(TermServicePath)) = 0) then
  begin
    Reg.Free;
    Writeln('[-] Another third-party TermService library is installed.');
    Writeln('[*] ServiceDll: "', TermServicePath, '".');
    Halt(ERROR_NOT_SUPPORTED);
  end;
 Reg.Free;

  Installed := Pos('rdpwrap.dll', LowerCase(TermServicePath)) > 0;`

So what we want to do is make the variable Installed evaluate to False. This is done by the software reading what's in the ServiceDll reg value.
If you open up the registry and navigate to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TermService\Parameters
ServiceDll
%ProgramFiles%\RDP Wrapper\rdpwrap.dll

Turns out this file rdpwrap.dll is deleted! Ouch! Using a Search program like Everything, I cannot find it anywhere on my system. So what the installation code does is looks for either rdpwrap.dll in the ServiceDll, or termsrv.dll. If it's empty, it will assume you installed some other 3rd party service.
So what I did was edit the value for 'ServiceDll' and set it to: C:\Windows\System32\termsrv.dll (It probably doesn't matter if it's a real file, since it's just checking what it's set to)
Then after that I was able to do a clean installation:
And yes, A new rdpwrap.dll is generated and the registry is updated to this path.
Then use: Using an autoupdate.bat file for getting the latest ini file updates.
Everything is working again for me. Just need to backup rdpwrap.dll, and find out why Windows deleted it. (I did try to add it to my exclusions, but still managed to disappear)
I hope this helps someone!

I am not finding this file to edit. Please show me how to do it?

authors: Fransferdy Gowlfit Yumiizera chrisbaber danny1023cloud duduzai2019 hdatma heychief3000 iwiiiwi madkoding robbak sebaxakerhtc

repo: stascorp/rdpwrap


text:
Win 10 19041.985 not supported

Can anyone help us with ini files for win 10 version 19041.985?
Thank you.

Can anyone help us with ini files for win 10 version 19041.985?
Thank you.

Having troubles with 19043 aswell

Please, attach your termsrv.dll and RDPconf screenshot.

The system was updated to version 19041.964 in the next topic downloaded ini. Thanks everyone

source: gharchive/issue

authors: JosXa erlake sashaqwert

license_type: permissive

license_source: bigquery


text:
Uuid model database migration does not place unique constraint on id column

As the title says. Ironically enough, the migration does not make the first id column unique, which means multiple entries could exist with the same Uuid. In most cases, that wouldn't be an issue as the same Uuid wouldn't be generated twice, but I stumbled upon it while browsing the database in phpMyAdmin. The following warning is shown there:

I cannot edit any entries directly in the database browser, because there is no single column uniquely identifying the entry.
Simple fix would be to add ->primary(); at the end of the id column definition in the UuidEntryModel migration, although that will not fix existing installations.

This should be fixed in v1+

authors: Ririshi ryanmitchell

repo: statamic/eloquent-driver

license: MIT

license_source: github-api


text:
Discussion: how can the wallet make it easier for the app to keep participants in sync?

Right now we expose a syncChannel endpoint which relies on the caller to use it. This makes sense for running channels where turn taking is enforced. It makes sense because of this property:

You can filter ChannelResult[] with status = "running" and turnNum not my turn to identify "stalled" channels

In other situations, such as pre and postfund setup, channel closure, and ledger proposals / state updates where turn taking is not enforced, it is harder for the app identify that you need to sync a channel. The reason why is that latestSignedByMe.turnNum is not equal to supported.turnNum necessarily. So, you cannot rely on ChannelResult.status or ChannelResult.turnNum as you could before.
The wallet could proactively identify cases where syncing may be useful like so:
Sync pre and post fund state

Scenario: you may sign a postfund state but never receive the other postfund state (e.g., https://github.com/statechannels/the-graph/pull/480)
Fix: When receiving a new pre or postfund state, return back the result of calling syncChannel on that channel.

The wallet could also make it easier for the app to identify cases where calling syncChannel would be beneficial. For example, an exposed property like ChannelResult.maybeSyncingIsUseful could be true for:

Channels where latestSignedByMe.isFinal is true but supported.isFinal is false
Channels where latestSignedByMe.turnNum is not equal to supported.turnNum
Channels where myLedgerCommit is defined by theirProposedLedgerCommit is undefined (after #2761 is merged)

Other suggestions instead of that property:

Wallet.syncChannel could simply return [] if I don't need to send anything (i.e., it is my turn)
Wallet.checkIfSyncingIsUseful(channelResult) API
Wallet.syncEverything(participantId) could determine what might benefit from syncing and sync everything with that counterparty (as opposed to syncing being a per-channel API call)

Moving to the icebox as we're not likely to tackle this soon.

authors: lalexgap snario

repo: statechannels/statechannels


text:
WIP [server-wallet] Use native utils

Curious results so far
➜  server-wallet git:(natives) ✗ ts-node benchmarks/fast-signature.benchmark.ts
signState: 3152.816ms
fastSignState: 203.003ms
nativeSignState: 279.176ms

I note that this is not exactly a fair test, since fastSignState has the has passed in.

I'm going to take over #2591 instead.

source: gharchive/pull-request


text:
Implement predictableActionArguments feature flag

Although this PR's main goal wasn't that - it can be used to supersede https://github.com/statelyai/xstate/pull/3210 and thus it fixes the problem described here
The main goal of this work is to:

always call/resolve actions with a source event - the even directly responsible for a given transition (currently builtin actions are called with that but custom actions are called with events responsible for triggering the current macro transition)
do not call/resolve actions with an explicit NULL event ({ type: '' }). Instead, we are calling them with the source event as the always transitions are also called eventless transitions (this matches SCXML spec etc)
allow us to implement an improved & correct algorithm for generating typegen information (I think that once we land this PR and the stop event PR then the algorithm in the typegen should be adjusted to account for those changes and that typegen should enforce using this feature flag).

Bikeshed: predictableActionArguments is a pretty vague description of what this does, since it's mainly for preserving events in transient states. Maybe preserveEvents? Would be similar to preserveActionOrder

I've chosen that because it also enables the preserveActionOrder automatically - so it's both about context and event arguments. I'm OK with doing changes to that though.

@davidkpiano any thoughts about the core of this PR? I'd like to know how you feel about it before polishing it further

@davidkpiano any thoughts about the core of this PR? I'd like to know how you feel about it before polishing it further

My primary concern is the spreading of isTransient throughout many methods; perhaps we can have a .microTransition(...) separate method instead or something like that?

My primary concern is the spreading of isTransient throughout many methods; perhaps we can have a .microTransition(...) separate method instead or something like that?

"The first" method that receives this argument is already resolveRaisedTransition:
https://github.com/statelyai/xstate/blob/430362d1f6ef2482772a9bea28ea54a88f2b3798/packages/core/src/StateNode.ts#L1216
it just calls to some other functions (as the internal machinery is reused, in the same way, it was reused before), and those need to pass it around as the event.type alone is not sufficient for candidate transitions selection. IIRC we "only" need to get that information to the getCandidates call here:
https://github.com/statelyai/xstate/blob/430362d1f6ef2482772a9bea28ea54a88f2b3798/packages/core/src/StateNode.ts#L908
This is mostly internal and we might figure out a better algorithm in the future so I wouldn't be bothered about this that much.

What remains left for this to be merged in?

I've reverted the change related to making a NULL event a pseudo-event with this flag. Because of that, all the entry actions following always transitions would have to be callable with TEvent and that takes away a lot of the typegen appeal (for those cases, but they are not that rare). Since we already have this logic in v5 - we should revisit it and make a decision if it's good or if we should revert it. To postpone this decision I got rid off it from here.

authors: Andarist davidkpiano

repo: statelyai/xstate


text:
Move ssz code from nimbus-eth2 repo and adjust

Needs more work.
Mostly on the merkleization code, which is rather entangled with other nimbus-eth2 code. While it will work for nimbus-eth2 in the currently adjusted form, moving the merkleization test code is still a pain to fix.
And then there is the need for blst (due to the two sha256 options), which seems to also cause issues in building, sigh.

well, blst and that should not be in this repo - ssz doesn't talk about it - if we have a separate repo for ssz code it should implement the ssz spec and nothing else

https://github.com/ethereum/eth2.0-specs/blob/v1.0.0/ssz/simple-serialize.md is the whole spec and that's exactly what should be in here

Yeah, well, it is not that I actually want it there, I don't like it either. Just that Merkleization is very much mixed with some of that eth2 work, so turns out to be a nice rabbit hole.
I was going to a) not add Merkleization (for now..?), or b) try to separate it. @zah however mentioned that it is part of the specification (which I realized anyhow) so should stay with the general ssz code, and that blst could be added as dep. I'd rather see it go than stay, just not sure how convenient that is now.

Well, if we're moving things to a separate non-eth repo, it could at least be done properly, else this will continue to be a mess and a burden on all projects that use it.
This is by and large what one could expect, the ssz code is a hotspot for compiler bugs, and it has its fair share of hacks and special cases just for eth2 because it's tightly interwoven with caching and other aspects that are kind of not really SSZ (like the root trick, the way distinct types are shaved off etc).
Also, the way custom type support is is .. problematic -  to make it a generic general-purpose library, one would really need to rethink several parts - the current code is not sustainably written for other uses.
The spec is comparatively simple and small - the cost of reimplementing might be lower than trying to work around all the nim issues you'll hit when trying to extract it.
eth2 doesn't even need to use the rewritten version - notably, eth2 is not using nim-serialization / faststreams any more for reading, in many cases

The other issue is that once npln starts using SSZ, it will need to add it's own share of hacks and workarounds - these necessarily must not end up in eth2 because then npln needs to be a lot more careful about not touching the wrong levers, or we'll end up in a situation where the two projects mutually are slowing each other down.

This was actually the approach I started with. I just dropped in (duplicated) the bare minimum SSZ code that I needed for now in nim-eth in order to get a working npln wire protocol version to test with. I started like that also because I didn't know the SSZ code at all, and wanted to understand what was needed for now. Got this working in no time.
I understood however that the idea was to get all (generic) code to either nim-eth or nim-ssz-serialization (I don't really care which one, issues remain the same however). So I've been attempting that, in several ways, but yes, I'm hitting several issues and I've spend quite some time on this here with little progress.
I'm fine with going back to the original test I did, just wish this direction was clear form the start, as I was apparently missing some background/context.

the way I'd approach it would probably be just that: write a separate library, maybe copypasting some stuff, then when everything is working, see what common, low-level ground remains - this is a much less disruptive way than trying to solve all problems at once, and potentially ending up breaking eth2 in the process.

As I understand approach in this pr copy ssz serialization from nimbus-eth (stripping some of the domain types) which brings some baggage and hack. And in perfect world, we would write smaller szz serialization library which would get rid of that baggage and be a little better designed.
Just asking here as, for fluffy will need working ssz with merkelization support to support https://ethresear.ch/t/double-batched-merkle-log-accumulator/571, and I want to establish what is best way forward here.

authors: KonradStaniec arnetheduck kdeme

repo: status-im/nim-ssz-serialization


text:
problem with intervals

I'm using meteor, i try to chek a port, but when i run
"tcpPortUsed.check(8545, 'localhost').then(function(inUse){
Meteor.setInterval(function(){
console.log("testing")
},1000)
})"
the interval never works. Is this an expected behaivor?

if i put the interval outside the tcpPortUsed.check it's the same, it never execute.

repo: stdarg/tcp-port-used

license: mit


text:
Add C implementation for @stdlib/math/base/special/fibonacci

Resolves #780.
Checklist

[x] update readme.md
[x] include.gypi
[x] binding.gyp
[x] include/stdlib/math/base/special/
[x] src
[x] manifest.json
[x] lib
[x] examples
[x] benchmark
[x] test

@kgryte

I am not sure regarding fibonacci.h, @kgryte if you can have a look

Some tests are failing, I will have a look at those asap.

All tests and benchmarks cleared, this PR can have a final review.

All tests and benchmarks cleared, this PR can have a review, @kgryte.

You can keep the license year, as is. Thanks for checking!

authors: Pranavchiku kgryte

repo: stdlib-js/stdlib


text:
fix: non wikipedia links don't work

All Wikipedia sister projects are linked using hyperlinks with the class 'extiw,' so a special case has been created to handle them accordingly.
@steezeburger

@steezeburger Does this resolve this issue

@vr-varad which formatter did you use? I will probably add biome to the project soon and use its default linting and formatting rules.

@steezeburger I am using just prettier.

authors: steezeburger vr-varad

repo: steezeburger/wikipedia-browser


text:
Not working at all on Mac OS Catalina

I saw the extension being recommended and I gave it a try. It says to use ALT + Click to activate, but I am using Mac OS Catalina and typing ALT gives me multiple cursor and not link for the controller. I also tried the other keys, COMMAND, CONTROL and SHIFT to no avail.
I tried to find the shortcut in the shortcuts option and there is no mention of Goto Controller or anything related in the options in VSCode.
I don't know if it is because my routes files or something. I am defining routes like:
Route::get('order/{id}', 'OrderController@order')->name('order');

It should be working with Cmd + click.
Does the extension underline the controllers? In your example the OrderController@order] should be underlined.

It should be working with Cmd + click.
Does the extension underline the controllers? In your example the OrderController@order should be underlined.

No it doesn't underline. The Routeunderlines and post too but not the Controller. The screenshots shows it:

as reported from @sasasa
version: 1.50.1 (system setup)
commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.18362

I cannot reproduce the problem on my system:
Plugin version 0.0.12
Version: 1.50.1 (user setup)
Commit: d2e414d9e4239a252d1ab117bd7067f125afd80a
Date: 2020-10-13T15:06:15.712Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19041

@stef-k I have the same version, v.0.0.12. I tried to do a clean install of VSCode and just install this etension but it does not work either in this mac os.
I will install the extension in my Windows machine I have at home. I do use this mac in the company only.
If I can provide more debug info, I will be glad to do so.
Maybe it has to do with keybindings? I do remember some extensions have problems with keybinding on Windows and Linux because some specific function like with nVidia screens and what not. Maybe providing a way to rebind the key would make it work, as I can't find any mention of the extension in the shortcuts panel.

@weidmaster If you could try it on Windows that would be awesome, thanks.

@weidmaster If you could try it on Windows that would be awesome, thanks.

I found the issue! It has to do with my project not using the default folder architecture of Laravel!
I just tested it on my Windows machine and it didn't work as well. Then I remembered that the project does not follow the defaults. That is the issue! I tested in another project, with Voyager, and it works with CMD + Click, even the views!
My folder structure:

I have the Laravel app inside /projects without a /public and /assets is separated

Default Laravel structure with Voyager:

The issue is not the OS it is the folder structure. Maybe having some option to change the project folder for the extension would work then. I am glad I could figure it out.
Thanks for your patience.

@weidmaster there is an existing setting for letting the extension know the root path of the controllers directory.

@stef-k I didn't find this setting. I reinstalled the extension and it shows up. Yes, changing the setting to use /project does solve the problem!
We just need to remember to change it per project.
The setting should be mentioned in the README 👍
As I can see now, what if we have Controllers in other folders as well? I think it only works for this folder only. But that is an improvement now.
Thank you!

@weidmaster using multiple paths for controllers would be a good new feature.
Unfortunately I don't have enough time to work on this.
Closing this as resolved.

sorry I have the same issue about non default project structure...

@sasasa the plugin has a setting to set the root path to the controllers directory.
Search in settings: laravel goto controller

authors: sasasa stef-k weidmaster

repo: stef-k/laravel-goto-controller


text:
UI enhancement

When click "show hexdump" command, the current document should be "switched" to hex view, instead of opening a new, separated hexdump document. Click the command again, the hex view should switch back to the original text window.
The first row that displays column offset should be fixed and not scroll with other rows
The hex inspector when hover over the data is distracting and useless. Please remove it.
The auto highlight of all character that are identical to the one under the current cursor is distracting as well. This is especially true when it is a common char e.g. 0x20 blank space. Please disable it
Edit value under cursor should happen in place inside the document under the cursor, instead of in a separate input box. Also I should be able to edit multiple consequent bytes by just typing along.
After editing value, the hex dump file should be marked as "modified" visually
Ctrl-S should save to the original file name without prompt

You have some valid points here. Unfortunately, most of them are currently not feasible in a vscode extension.
Although, here's what in my control:

Optional Hex Inspector

I can add a setting to enable or not the Inspector when hovering content

Marked as "modified" visually

I cannot display the 'modified' dot in the document tab, but I can add (modified} in the Hex status bar

Save without prompt

I can remap Ctrl-S to save without prompt, and Ctrl-Shift+S to Save As...

Please update to version 1.1.4

v1.1.4 - Marked when (modified) in the status bar (#13)
If it is impossible to display the 'modified' dot on the tab list / open editor, then just do not do it. Adding (modified) to the status bar is inconsistent with the overall VSCode UI, and I'm afraid few people will be able to recognize it easily.
Beside, the status is not working as expected:

Open file. View hex. Modify it. Close the file --> Expect some warning "File is modified, save it first?", but that is not happening
Close both original file and the hex one. Open a different file. View hex. --> The status bar still displays (modified), which is not expected

Also can you change the popup menu "export to binary file" to simply "save as"?

repo: stef-levesque/vscode-hexdump


text:
Explicitly added kwargs[to]

Good evening,
My change is very straightforward. Without it, I am unable to work with images (like logos and so forth).
The more technical part, if you want, feel free to ask me. I would gladly try to help you in any way; if you want tests for it or something.
Kind regards.

Hi @HomemBravo
Thanks for the pull-request. Could you elaborate a bit more why this change is needed?

Fix included in #559
Thanks @HomemBravo for your contribution

authors: HomemBravo stefanfoulis yakky

repo: stefanfoulis/django-filer


text:
Fix return type mismatch in mt:__index(i)

This pull request removed the Lua Diagnostics.(return-type-mismatch) issue in function mt:__index(i)

Annotations specify that return value #1 has a type of string, returning value of type nil here instead.

nil cannot match string
Type nil cannot match string

It results from line 48:
return #rs > 0 and rs or nil

and is addressed by adding |nil to the LuaDoc in line 41:
--- @return string|nil ch Single character at specified index. Nil if the index is larger than length of the string.

Thanks for the change!


text:
Strict-send pathfinder returns non-existent paths.

Describe the bug
Horizon returns non-existent paths on /paths/strict-send.
Have a look at https://horizon.stellar.org/paths/strict-send?destination_account=GASKYWPPQ2VSO6KNIPIRVXMSSDGZLYZQ67CDTLVXOXYDG26SPZ66EDCQ&source_asset_type=credit_alphanum4&source_asset_code=EUR&source_asset_issuer=GA4ARTT4HG4MYFFA3JJIVWLGE53PAHMKDBCBCNRHCSIR3KZP5BVNNTD6&source_amount=6.14
Amongst other non-existent paths it returns:
      {
        "source_asset_type": "credit_alphanum4",
        "source_asset_code": "EUR",
        "source_asset_issuer": "GA4ARTT4HG4MYFFA3JJIVWLGE53PAHMKDBCBCNRHCSIR3KZP5BVNNTD6",
        "source_amount": "6.1400000",
        "destination_asset_type": "native",
        "destination_amount": "1174.3516812",
        "path": [
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "USD",
            "asset_issuer": "GDSRCV5VTM3U7Y3L6DFRP3PEGBNQMGOWSRTGSBWX6Z3H6C7JHRI4XFJP"
          },
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "ETH",
            "asset_issuer": "GBVOL67TMUQBGL4TZYNMY3ZQ5WGQYFPFD5VJRWXR72VA33VFNL225PL5"
          },
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "NGNT",
            "asset_issuer": "GAWODAROMJ33V5YDFY3NPYTHVYQG7MJXVJ2ND3AOGIHYRWINES6ACCPD"
          }
        ]
      }

When trying to execute a strict-send payment with this path and the destinationMin set to 1174.3516812 * 0.99 it returns op_too_few_offers.
What version are you on?
v0.22.1
To Reproduce
Fetch best paths per asset as given by /paths/strict-send and try to execute strict-send payments with the given destinationAmount (minus padding).
Expected behavior
Horizon should return existent paths only.
Additional context
Tried several paths given by /paths/strict-send, which seemed abnormally high and ran into op_too_few_offers every time.
When a path depth/length of 5 is used on Horizon (instead of the default 4, as on e.g. horizon.stellar.org) even more non-existent paths with astronomical "profits" are returned.
@bartekn @tamirms @tomquisel

When a --max-path-length=5 is used, then Horizon returns "even better" non-existent paths with up to 19378 XLM for 6.14 EUR.
      {
        "source_asset_type": "credit_alphanum4",
        "source_asset_code": "EUR",
        "source_asset_issuer": "GA4ARTT4HG4MYFFA3JJIVWLGE53PAHMKDBCBCNRHCSIR3KZP5BVNNTD6",
        "source_amount": "6.1400000",
        "destination_asset_type": "native",
        "destination_amount": "19378.6001251",
        "path": [
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "USD",
            "asset_issuer": "GDSRCV5VTM3U7Y3L6DFRP3PEGBNQMGOWSRTGSBWX6Z3H6C7JHRI4XFJP"
          },
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "XLMG",
            "asset_issuer": "GCVNN7O5JISPEYUTLK3JYGBDWCPDIHB4MTG4PMSJVIKJCR64NOXWI3YH"
          },
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "BTC",
            "asset_issuer": "GAUTUYY2THLF7SGITDFMXJVYH3LHDSMGEAKSBU267M2K7A3W543CKUEF"
          },
          {
            "asset_type": "credit_alphanum4",
            "asset_code": "BTC",
            "asset_issuer": "GATEMHCCKCY67ZUCKTROYN24ZYT5GK4EQZ65JJLDHKHRUZI3EUEKMTCH"
          }
        ]
      }

fixed by https://github.com/stellar/go/pull/1863

authors: marcinx tamirms

repo: stellar/go


text:
Add single offer example that uses xfer_from

The current single offer contract follows a model where tokens need to be transferred to the contract before 'trade' is called. Both actions need to be done atomically for safety. We should demonstrate an alternative approach as well using 'approve' and 'xfer_from', which would allow the contract to send tokens between participants.

I was thinking about this in the context of liquidity pool as well. This is handled in Uniswap, for example, with a router contract that is built on top of the liquidity pool. We should probably follow a similar model here because it separates core logic from "let me help you use this". Thoughts?

Are you advocating for us adding an example router contract for the existing contracts? I think that's a good idea, but the goal of this issue is a little different. I want to add a new contract that showcases a different authorization model for single offer so potential contract writers see the options available to them.

Ah, I see. Both things make sense then.

Resolved by #51.

authors: jonjove sisuresh

repo: stellar/soroban-examples


text:
Updates to guiding principles

I've just added a bit more to the design/overview.qmd file. Specifically I added items 8 and 9 about choosing software from specific institutions/organizations as well as to consider more limited computing environments to be more inclusive. Do any of you have other things to add? Otherwise I will merge in.
Ignore design/index.md for now, it is incomplete.

Zenodo is an archival service run by the Large Hadron Collider. It creates Digital Object Identifiers (DOI) for uploaded files.

repo: steno-aarhus/seedcase-project


text:
PDO::prepare(): Argument #1 ($query) must be of type string, Illuminate\Database\Query\Expression given

I'm using Laravel 10; with your latest version.
Trying to load the VersionCard

@j-shelfwood, hid
What database do you use?

mysql  Ver 8.0.32 for macos13.0 on x86_64 (Homebrew)

@j-shelfwood
Check the new version, please
If the error persists, share the full trace
Or you can make a pull request, I will be very grateful

in  Laravel 10
src/Http/Controllers/VersionsController.php Line 34
$results =  DB::select("select version()");   // edit this

authors: imnpc j-shelfwood stepanenko3


text:
Xcode8 support

Right now I am getting
You need to have Xcode 7 installed and selected via xcode-select.

Still needs some polishing but the heavy lifting should be done.
https://github.com/stepanhruda/ios-simulator-app-installer/pull/30

right now  throws the following error
Check dependencies
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

** ARCHIVE FAILED **

The following build commands failed:
	Check dependencies
(1 failure)
make: *** [ios-simulator-app-installer.xcarchive] Error 65

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/stepanhruda/homebrew-tap/issues

authors: rauluranga tcurdt

repo: stepanhruda/ios-simulator-app-installer


text:
Remove timeline wrapper margin top and margin bottom

Remove wired margin top and bottom around timeline container which causes some UI bugs with other DOM elements.
IMO, it should be customized by the developer 😄

Codecov Report

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

@@           Coverage Diff           @@
##           master      #35   +/-   ##
=======================================
  Coverage   94.73%   94.73%
=======================================
  Files           2        2
  Lines          19       19
  Branches        3        3
=======================================
  Hits           18       18
  Misses          1        1

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 95a69cc...6b1dff3. Read the comment docs.

Thank you !

authors: codecov-io stephane-monnot xJkit

repo: stephane-monnot/react-vertical-timeline


text:
Implement tkDNN?

Do you believe it would be viable to implement tkDNN into DarkHelp as an option?

I'd never heard of tkDNN until I googled it just now, so it is highly unlikely I will be implementing support for it unless someone was willing to sponsor the project.

It is quite a big task, but I figured it was worth asking. We have 4 sponsors now, so if anyone else sees this and is interested in a tkDNN wrapper in the style of DarkHelp, hop on board :)

authors: grandprixgp stephanecharette

repo: stephanecharette/DarkHelp


text:
1.1.0 Generated annotation not available on Android

In the Version 1.1.0  the Class "javax.annotation.Generated" can not be resolved on Android.
Relates to: #256

Thx @RocketRider , you need to add
provided 'javax.annotation:jsr250-api:1.0'

(or compileOnly if you use GAP3). We will add the dependency to the generated core lib.

@RocketRider , do you wanna give a try to our latest snapshot. It contains the PR above. Versions 1.1.1-SNAPSHOT

We are releasing 1.1.1 which fixes the issue.

authors: RocketRider stephanenicolas

repo: stephanenicolas/toothpick


text:
Bugfix for set aggregation operations

When using set aggregation operations, if some key does not exists. curiodb return ErrorReply.
but in redis, it ignores the empty.
here is the test:
127.0.0.1:6379> keys *

"website2"
"website1"
127.0.0.1:6379> smembers website1
"google.com"
"baidu.com"
127.0.0.1:6379> sunion website1 website3
"ErrorReply"

The reason is in commands.conf, default value of set is seq, when convert to mutable.set is nil.
after change:
127.0.0.1:6379> sunion website1 website3

"google.com"
"baidu.com"

Can you update your branch? I can't see the diff.

sorry, I do something wrong. I should request to your master branch. can you close this? and diff is at the last.

authors: meteorgan stephenmcd

repo: stephenmcd/curiodb


text:
Probe demo

Homework for Digital Manufacturing

Dude there should be like 3 lines changed in 2 files, what even?!?
On Apr 13, 2017 11:16 PM, "Nicholas Fay" notifications@github.com wrote:

Homework for Digital Manufacturing
You can view, comment on, or merge this pull request online at:
https://github.com/steptools/NC.js/pull/511
Commit Summary

Update package.json
Finished work
Finished
FinishedFinal

File Changes

M config.js
https://github.com/steptools/NC.js/pull/511/files#diff-0 (2)
M package.json
https://github.com/steptools/NC.js/pull/511/files#diff-1 (1)
M src/client/views/header/index.jsx
https://github.com/steptools/NC.js/pull/511/files#diff-2 (11)
M src/client/views/responsive/index.jsx
https://github.com/steptools/NC.js/pull/511/files#diff-3 (3)
M src/server/api/v3/step.js
https://github.com/steptools/NC.js/pull/511/files#diff-4 (4)

Patch Links:

https://github.com/steptools/NC.js/pull/511.patch
https://github.com/steptools/NC.js/pull/511.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/steptools/NC.js/pull/511, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGUE9xYxhkz8OlSrOB6fadFiHzcchJu_ks5rvuUjgaJpZM4M9a6Y
.

authors: Sam-son nicholasfay


text:
feat: allow for toggling of gitignored files

Hi! i'm a big fan of this plugin and thought this feature would be a nice addition, so i figured it'd be a good opportunity to try and contribute!
I saw there was a recipe provided for hiding gitignored files in an oil buffer and found that it was almost what i wanted.  I personally prefer seeing them by default, but then toggling them off when they get in the way, so i thought it'd be nice if there was a toggle option similar to how toggle_hidden() works.
this change adds the ability to toggle on and off gitignored files with the default keymap gI (this command does nothing if not in a git repo btw).  I'm not partial to gI or anything tho, so if you have a better idea for a default keymap i can always change it!
I also updated the docs accordingly and removed the aforementioned recipe since it's now a config option.  I totally understand if this change seems too invasive, so no hard feelings if you wanna close it out!

I think I'd prefer to keep this as a recipe that lives in the user config. I'd like the built-in logic to be pretty simple so it's easy to reason about adding customizations on top of it

makes sense!

authors: fmgornick stevearc


text:
Sending events to Slanger with the Pusher PHP Library not work

Hello,
Hi, I change server and I can not run slanger, I development with JS and PHP.

gem install slanger
redis-server &> /dev/null &
slanger --app_key 999999999 --secret 88888888 –v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
all is ok. Server is up and running.
then I have two basic pages :
HTML / JS

<script type="text/javascript" src="http://js.pusher.com/2.2/pusher.min.js"></script>
    <script type="text/javascript">
var pusher = new Pusher(‘9999999999’, {
        wsHost: "94.xxx.xxx.xxx",
        wsPort: "8080",
        wssPort: "8080",
        enabledTransports: ['ws'],
        log: function(data) {
          console.log('\t\t', data);
       }
      });
      pusher.bind('pusher:error', function(data) { alert(data['message']) })
      var myChannel = pusher.subscribe('my-channel');
       myChannel.bind('my-event', function(data) {
            console.log(data);
    });
    </script>

PHP
         include('Pusher2.2.php');
        $key="99999999999";
        $secret="888888888888";
        $app_id="123456";
        $pusher = new Pusher($key, $secret, $app_id,array('debug' => 'true'),'94.xxx.xxx.xxx,'4567');
        $sal= $pusher->trigger('my-channel', 'my-event', 'hello luis' );
        print_r($sal);

When execute page1 html
Running Slanger v.0.4.0 Slanger API server listening on port 4567 Slanger WebSocket server listening on port 8080 FiberError - double resume: /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:65:in `resume' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:65:in `block (2 levels) in publish'
/usr/local/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.4/lib/em/deferrable.rb:74:in `call' /usr/local/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.4/lib/em/deferrable.rb:74:in `errback' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:65:in `block in publish' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:63:in `tap' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:63:in `publish' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:29:in `block (2 levels) in ' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:29:in `each' /usr/local/lib/ruby/gems/2.1.0/gems/slanger-0.4.0/lib/slanger/api_server.rb:29:in `block in ' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `call'
/usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `block in compile!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `[]' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (3 levels) in route!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in `route_eval' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block (2 levels) in route!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1006:in `block in process_route' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `catch' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1004:in `process_route' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:964:in `block in route!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `each' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:963:in `route!'
/usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1076:in `block in dispatch!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1073:in `dispatch!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `block in call!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `block in invoke' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `catch'
/usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1058:in `invoke' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:898:in `call!' /usr/local/lib/ruby/gems/2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:886:in `call'
/usr/local/lib/ruby/gems/2.1.0/gems/rack-fiber_pool-0.9.3/lib/rack/fiber_pool.rb:22:in `block in call' /usr/local/lib/ruby/gems/2.1.0/gems/rack-fiber_pool-0.9.3/lib/fiber_pool.rb:48:in `call' /usr/local/lib/ruby/gems/2.1.0/gems/rack-fiber_pool-0.9.3/lib/fiber_pool.rb:48:in `block (3 levels) in initialize' /usr/local/lib/ruby/gems/2.1.0/gems/rack-fiber_pool-0.9.3/lib/fiber_pool.rb:47:in `loop' /usr/local/lib/ruby/gems/2.1.0/gems/rack-fiber_pool-0.9.3/lib/fiber_pool.rb:47:in `block (2 levels) in initialize'

Then I clone the repository and execute: bundle update slanger.
I execute:
slanger --app_key 999999999 --secret 88888888 –v
WARN: Unresolved specs during Gem::Specification.reset:
      eventmachine (>= 0.12.9, ~> 1.0, ~> 1.0.0)
      tilt (>= 1.3.4, ~> 1.3)
      addressable (>= 2.0.0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.

    .d8888b.  888
   d88P  Y88b 888
   Y88b.      888
    "Y888b.   888  8888b.  88888b.   .d88b.   .d88b.  888d888
       "Y88b. 888     "88b 888 "88b d88P"88b d8P  Y8b 888P"
         "888 888 .d888888 888  888 888  888 88888888 888
   Y88b  d88P 888 888  888 888  888 Y88b 888 Y8b.     888
    "Y8888P"  888 "Y888888 888  888  "Y88888  "Y8888  888
                                         888
                                    Y8b d88P
                                    "Y88P"

Running Slanger v.0.4.0

Slanger API server listening on port 4567
Slanger WebSocket server listening on port 8080

When execute page1 html
[[:initialize]]

[[:receive_data,
  "GET /app/3347dfd01bb616347b83?protocol=6&client=js&version=2.0.5&flash=false
HTTP/1.1\r\nHost: 94.xxx.xxx.xxx:8080\r\nConnection: Upgrade\r\nPragma: no-cache\r
\nCache-Control: no-cache\r\nUpgrade: websocket\r\nOrigin: http://localhost\r\nS
ec-WebSocket-Version: 13\r\nUser-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) Appl
eWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36\r\nAccept-
Encoding: gzip, deflate, sdch\r\nAccept-Language: es-ES,es;q=0.8,ca;q=0.6\r\nCoo
kie: cookieWarningDisplayed1=1; _zsit3=s3qm8rtl7n7h97ijb1of0bf3dq32s3ip; __utma=
218063006.807969204.1422291455.1423166206.1423304088.22; __utmz=218063006.142229
1455.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)\r\nSec-WebSocket-Key: efu
jj4PKI3v9Mrqt9HYhlA==\r\nSec-WebSocket-Extensions: permessage-deflate; client_ma
x_window_bits\r\n\r\n"]]

[[:accepting_ws_version, 13]]

[[:upgrade_response,
  "HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade
\r\nSec-WebSocket-Accept: zfkxb9eyIcM/YhlpUXn0plUumxc=\r\n\r\n"]]

[[:sending_frame,
  :text,
  "{\"event\":\"pusher:connection_established\",\"data\":\"{\\\"socket_id\\\":\\
\"cd92e366-c831-405a-879a-05eaf1e74320\\\",\\\"activity_timeout\\\":120}\"}"]]

[[:receive_data,
  "\x81\xBC\xAA\xFC\xAD\x11\xD1\xDE\xC8g\xCF\x92\xD93\x90\xDE\xDDd\xD9\x94\xC8c\
x90\x8F\xD8s\xD9\x9F\xDFx\xC8\x99\x8F=\x88\x98\xCCe\xCB\xDE\x97j\x88\x9F\xC5p\xC
4\x92\xC8}\x88\xC6\x8F|\xD3\xD1\xCEy\xCB\x92\xC3t\xC6\xDE\xD0l"]]

[[:message_received,
  :text,
  "{\"event\":\"pusher:subscribe\",\"data\":{\"channel\":\"my-channel\"}}"]]

[[:sending_frame,
  :text,
  "{\"event\":\"pusher_internal:subscription_succeeded\",\"data\":\"{}\",\"chann
el\":\"my-channel\"}"]]

When execute page2 PHP
I only see:
        $sal= $pusher->trigger('my-channel', 'my-event', 'hello luis' );
        print_r($sal) **Array ( [body] => {} [status] => 202 )**

And nothing in the console slanger

0.4.0 isn't the latest code on master. I've now released 0.4.1. Please try that.

Hi Steve,
I installed the 0.4.1 version and this is the result:
slanger --app_key 999999999--secret 88888888888 -v
    .d8888b.  888
   d88P  Y88b 888
   Y88b.      888
    "Y888b.   888  8888b.  88888b.   .d88b.   .d88b.  888d888
       "Y88b. 888     "88b 888 "88b d88P"88b d8P  Y8b 888P"
         "888 888 .d888888 888  888 888  888 88888888 888
   Y88b  d88P 888 888  888 888  888 Y88b 888 Y8b.     888
    "Y8888P"  888 "Y888888 888  888  "Y88888  "Y8888  888
                                         888
                                    Y8b d88P
                                    "Y88P"

Running Slanger v.0.4.1

Slanger API server listening on port 4567
Slanger WebSocket server listening on port 8080
[[:initialize]]

[[:receive_data,
  "GET /app/999999999?protocol=6&client=js&version=2.0.5&flash=false
HTTP/1.1\r\nHost: 94.xxx.xxx.xxx:8080\r\nConnection: Upgrade\r\nPragma: no-cache\r
\nCache-Control: no-cache\r\nUpgrade: websocket\r\nOrigin: http://www.languagefo
rexchange.com\r\nSec-WebSocket-Version: 13\r\nUser-Agent: Mozilla/5.0 (Windows N
T 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari
/537.36\r\nAccept-Encoding: gzip, deflate, sdch\r\nAccept-Language: es-ES,es;q=0
.8,ca;q=0.6\r\nCookie: cookieWarningDisplayed1=1; _zsit3=s3qm8rtl7n7h97ijb1of0bf
3dq32s3ip; __utma=218063006.807969204.1422291455.1423166206.1423304088.22; __utm
z=218063006.1422291455.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)\r\nSec-
WebSocket-Key: W+1Q6aU+vP5fEA1eLWrCiA==\r\nSec-WebSocket-Extensions: permessage-
deflate; client_max_window_bits\r\n\r\n"]]

[[:accepting_ws_version, 13]]

[[:upgrade_response,
  "HTTP/1.1 101 Switching Protocols\r\nUpgrade: websocket\r\nConnection: Upgrade
\r\nSec-WebSocket-Accept: PHOUV+C1CSPiTzf2A3syOVLf9LM=\r\n\r\n"]]

[[:sending_frame,
  :text,
  "{\"event\":\"pusher:connection_established\",\"data\":\"{\\\"socket_id\\\":\\
\"0df30196-3971-41e1-b589-3af7161b49f1\\\",\\\"activity_timeout\\\":120}\"}"]]

[[:receive_data,
  "\x81\xBC\x1A\xC92'a\xEBWQ\x7F\xA7F\x05 \xEBBRi\xA1WU \xBAGEi\xAA@Nx\xAC\x10\v
8\xADSS{\xEB\b\\8\xAAZFt\xA7WK8\xF3\x10Jc\xE4QO{\xA7\\Bv\xEBOZ"]]

[[:message_received,
  :text,
  "{\"event\":\"pusher:subscribe\",\"data\":{\"channel\":\"my-channel\"}}"]]

[[:sending_frame,
  :text,
  "{\"event\":\"pusher_internal:subscription_succeeded\",\"data\":\"{}\",\"chann
el\":\"my-channel\"}"]]

PHP Version 5.5.21
The CURL in Pusher.php (current version 2.2 from https://github.com/pusher/pusher-php-server )
when I execute
  include('Pusher2.2.php');
        $key="99999999999";
        $secret="888888888888";
        $app_id="123456";
        $pusher = new Pusher($key, $secret, $app_id,array('debug' => 'true'),'94.xxx.xxx.xxx,'4567');
        $sal= $pusher->trigger('my-channel', 'my-event', 'hello luis' );

I see:
$sal=Array ( [body] => {} [status] => 202 )
and any message in the console slanger.
Where is the error?
Thank You.

Same problem here since 0.4.1, version 0.4.0 was good. Status 202.

i commented out these lines from api_server.rb and it works: "status 202"

authors: luilope1 sirthom stevegraham

repo: stevegraham/slanger


text:
Problems with scrolling

When I called adapter.addToStart(), incoming messages were never shown in messages list, but when I scroll this list to bottom, messages appear. Outcoming messages appear correctly, but not always, it's absolutely random, but when keyboard dissapears, they appear always. So, we tried to call addToStart like this:
                    @Override
                    public void onTextMessage(WebSocket websocket, final String message) {
                        Log.d("ChatFragment", message);
                        //По идее postDelayed быть не должно, но оно без него очень странно скроллит, а так все ок.
                        messagesList.postDelayed(new Runnable() {
                            @Override
                            public void run() {
                                MsgGson msg = gson.fromJson(message, MsgGson.class);
                                msg.setChatId(Integer.valueOf(chatId));
                                msg.save();
                                if(msg.getSender() == userId){
                                    Log.d("ChatFragment", "msg outcoming");
                                    messagesListAdapter.addToStart(new MsgChatKit(msg, self), true);
                                } else {
                                    Log.d("ChatFragment", "msg incoming");
                                    messagesListAdapter.addToStart(new MsgChatKit(msg, mate), true);
                                }
                            }
                        }, 300);
                    }

And it works!
На англ. мб не очень грамотно пишу, продублирую, чтобы была ясна суть вопроса. Мы использовали MessagesList, сообщения приходят на вебсокет,  в OnTextMessage мы делаем код, который внутри run выше. Если сообщение входящее, то список с сообщениями не прокручивается и сообщения не видно, пока пальцем не проскроллишь их вниз. Исходящие иногда отображаются, иногда нет. Если потыкать по разным частя экрана, в тексте повыделять че нибудь, потыкать на одну, на другую вьюху, показать убрать клаву, то скроллинг может поломаться и работать также как с входящими, причем, иногда, если клавиатуру убрать показать, то оно снова работает. Долго не могли понять почему так, и тупо установка задержки в 300мс решила проблему.

We figured out that this happens because websocket's thread conflicts with app thread. Post Delayed helped, making something in ui thread with Handler works fine too. Perhaps you can try to use architecture which proposed by stfalcon in article about websockets.

repo: stfalcon-studio/ChatKit


text:
Deploy to Maven Central

All artifacts of each release must be deployed to maven central for maximum availability.

Now available. See release notes and readme


text:
undefined: prometheus.RegisterOrGet

Installation fails:
go get github.com/stigsb/varnishncsa_exporter
# github.com/stigsb/varnishncsa_exporter
go/src/github.com/stigsb/varnishncsa_exporter/varnish_request_exporter.go:117:22: undefined:
prometheus.RegisterOrGet

Should be fixed now (v0.13)

authors: huiser stigsb


text:
Unable to interact with elements beyond initialize or connect

I don't know if this is an anti-pattern for stimulus (by which I mean I'm doing this conceptually incorrect) or if this unintended behavior, or something in between.
When I want to wire up my page (its a questionnaire in which business mandates we have strict control over enabled and disabled elements, and which elements have to be required when. Its turtles all the way down folks)
so here is my controller code:
'use strict';
import {Controller} from 'stimulus';

export default class extends Controller {
    static targets = ['input', 'select', 'text'];
    myFormElements = [];
    connect() {
        this.myFormElements.concat(this.inputTargets);
        if (this.hasSelectTargets) {
            this.myFormElements.concat(this.selectTargets);
        }
        if (this.hasTextTargets) {
            this.myFormElements.concat(this.textTargets);
        }
    }
    yesState() {
        if (this.element.checked === true) {
            this.myFormElements.forEach(function(element) {
                if (element.id.includes('no_')) {
                    element.required = false;
                    element.disabled = true;
                    element.classList.add('bg-muted')
                } else {
                   element.disabled = false;
                }
            });
        }
        console.log(this.myFormElements);
    }

}

Now i've tested this with connect() and intitialize(). At that point they both can see each other.
However, when I want to call the yesState() action I need to be able to interact with those other elements, so I figure the smart thing to do is just concat the arrays together in the initialize stage, and then hand it off to the method in question, this theoretically would minimize my work greatly.
However, interestingly enough the yesState() action does trigger, but, it doesn't interact with any other elements except itself, and my array (which I verbosely named on purpose to know I wasn't overriding anything.) is empty 😢
So I'm not sure what I'm doing wrong here. I followed the documentation, I don't think I'm doing anyting out of the ordinary.

This is what the controller.js looks like:
'use strict';
import "@stimulus/polyfills";
import { Application } from "stimulus"
import { definitionsFromContext } from "stimulus/webpack-helpers"

const application = Application.start();
const context = require.context("./controllers/questionnaire", true, /\.js$/);
application.load(definitionsFromContext(context));

for what its worth I tried without the polyfills and that is no go either.
My babelrc:
{
    "presets": [
        [
            "@babel/preset-env",
            {
                "useBuiltIns": "entry"
            }
        ]
    ],
    "plugins": [
        "@babel/plugin-syntax-class-properties",
        "@babel/plugin-proposal-class-properties",
        "@babel/plugin-proposal-object-rest-spread",
        "@babel/plugin-transform-destructuring",
        "@babel/plugin-transform-spread",
        "@babel/plugin-transform-runtime"
    ]
}

I'm using Twig (latest 2.x) to render. here's the HTML, and symfony/encore (a webpack wrapper). Which I forked, actually, so its on the latest @babel version & latest webpack and friends.
I'll happily share my package.json if needed.
{% extends '@Questionnaire/Main/dashboard.html.twig' %}
{% import '@Questionnaire/Macros/form_date.html.twig' as date %}
{% import '@Questionnaire/Macros/checkboxes.html.twig' as box %}
{% import '@Questionnaire/Macros/textarea.html.twig' as text %}
{% block subtitle %}redacted{% endblock %}
{% block heading %}redacted{% endblock %}
{% block content %}

        Note:

When answering a question, in order to change your answer, you must first uncheck (un-select) your current
            answer to the question.

If an answer has additional requirements, they will only unlock when needed.

        If you need to provide more details on any of the items below than space allows, please
        Contact Us

    {% if mainQuestion == 'redacted?' %}

redacted

    {% endif %}
    <form action="" method="post" name="questionnaire_form" id="questionnaire">
        <fieldset>
            <legend>{{ mainQuestion }}</legend>
            {% for key in keys %}

{{ key }}

                        {{ box.checkbox(loop.index0) }}
                        {% if questions[key]['textbox'] == true %}
                            {{ text.text(loop.index0) }}
                        {% endif %}

                    {% if questions[key]['date'] == true %}

                            {{ date.formdate(loop.index0) }}

                    {% endif %}

            {% endfor %}
        </fieldset>
        <button class="btn btn-info" type="submit" form="questionnaire">Submit</button>
    </form>

    Note: If you need to provide more details on any of the items above than space allows, please
        Contact Us

{% endblock %}
{% block javascripts %}

    {{ parent() }}
{% endblock %}

formdate.twig
{% macro formdate(index) %}

            Approximate Month of
                Diagnose
            <select name="month_{{ index }}" class="form-control"
                    id="month_{{ index }}" form="questionnaire"
                    style="margin: 0 415px 0 0; width: 492px; height: 40px;" data-target="questionnaire.select" required="required" disabled="disabled">
                <option>Select Month</option>
                <option value="January">January</option>
                <option value="February">February</option>
                <option value="March">March</option>
                <option value="April">April</option>
                <option value="May">May</option>
                <option value="June">June</option>
                <option value="July">July</option>
                <option value="August">August</option>
                <option value="September">September</option>
                <option value="October">October</option>
                <option value="November">November</option>
                <option value="December">December</option>
            </select>

            Approximate Year of
                Diagnose
            <select name="year_{{ index }}" data-target="questionnaire.select" id="year_{{ index }}"
                    class="form-control" form="questionnaire"
                    style="margin: 0 415px 0 0; width: 492px; height: 40px;" required="required" disabled="disabled">
                <option>Select Year</option>
                <option value="2018">2018</option>
                <option value="2017">2017</option>
                <option value="2016">2016</option>
                <option value="2015">2015</option>
                <option value="2014">2014</option>
                <option value="2013">2013</option>
                <option value="2012">2012</option>
                <option value="2011">2011</option>
                <option value="2010">2010</option>
                <option value="2009">2009</option>
                <option value="2008">2008</option>
                <option value="2007">2007</option>
                <option value="2006">2006</option>
                <option value="2005">2005</option>
                <option value="2004">2004</option>
                <option value="2003">2003</option>
                <option value="2002">2002</option>
                <option value="2001">2001</option>
                <option value="2000">2000</option>
                <option value="1999">1999</option>
                <option value="1998">1998</option>
                <option value="1997">1997</option>
                <option value="1996">1996</option>
                <option value="1995">1995</option>
                <option value="1994">1994</option>
                <option value="1993">1993</option>
                <option value="1992">1992</option>
                <option value="1991">1991</option>
                <option value="1990">1990</option>
                <option value="1989">1989</option>
                <option value="1988">1988</option>
                <option value="1987">1987</option>
                <option value="1986">1986</option>
                <option value="1985">1985</option>
                <option value="1984">1984</option>
                <option value="1983">1983</option>
                <option value="1982">1982</option>
                <option value="1981">1981</option>
                <option value="1980">1980</option>
                <option value="1979">1979</option>
                <option value="1978">1978</option>
                <option value="1977">1977</option>
                <option value="1976">1976</option>
                <option value="1975">1975</option>
                <option value="1974">1974</option>
                <option value="1973">1973</option>
                <option value="1972">1972</option>
                <option value="1971">1971</option>
                <option value="1970">1970</option>
                <option value="1969">1969</option>
                <option value="1968">1968</option>
                <option value="1967">1967</option>
                <option value="1966">1966</option>
                <option value="1965">1965</option>
                <option value="1964">1964</option>
                <option value="1963">1963</option>
                <option value="1962">1962</option>
                <option value="1961">1961</option>
                <option value="1960">1960</option>
                <option value="1959">1959</option>
                <option value="1958">1958</option>
                <option value="1957">1957</option>
                <option value="1956">1956</option>
                <option value="1955">1955</option>
                <option value="1954">1954</option>
                <option value="1953">1953</option>
                <option value="1952">1952</option>
                <option value="1951">1951</option>
                <option value="1950">1950</option>
                <option value="1949">1949</option>
                <option value="1948">1948</option>
                <option value="1947">1947</option>
                <option value="1946">1946</option>
                <option value="1945">1945</option>
                <option value="1944">1944</option>
                <option value="1943">1943</option>
                <option value="1942">1942</option>
                <option value="1941">1941</option>
                <option value="1940">1940</option>
                <option value="1939">1939</option>
                <option value="1938">1938</option>
                <option value="1937">1937</option>
                <option value="1936">1936</option>
                <option value="1935">1935</option>
                <option value="1934">1934</option>
                <option value="1933">1933</option>
                <option value="1932">1932</option>
                <option value="1931">1931</option>
                <option value="1930">1930</option>
                <option value="1929">1929</option>
                <option value="1928">1928</option>
                <option value="1927">1927</option>
                <option value="1926">1926</option>
                <option value="1925">1925</option>
                <option value="1924">1924</option>
                <option value="1923">1923</option>
                <option value="1922">1922</option>
                <option value="1921">1921</option>
                <option value="1920">1920</option>
                <option value="1919">1919</option>
                <option value="1918">1918</option>
            </select>

{% endmacro %}

textarea
{% macro text(index) %}

        Please include any
            procedure,
            test, medication taken, cause of issue, & any other additional
            details
        <textarea name="text_{{ index }}" id="text_{{ index }}" cols="20"
                  rows="5"
                  form="questionnaire" maxLength="120"
                  style="margin: 0 615px 0 0; width: 492px; height: 61px;" data-target="questionnaire.text" required="required" disabled="disabled"></textarea>

{% endmacro %}

checkboxes
{% macro checkbox(index)%}

            <input type="checkbox" form="questionnaire" id="yes_{{ index }}" value="true"
                   name="yes_{{ index }}" data-target="questionnaire.input" required="required" data-action="change->questionnaire#yesState">
            Yes

            <input type="checkbox" form="questionnaire" id="no_{{ index }}" value="true"
                   name="no_{{ index }}" data-target="questionnaire.input" required="required">
            No

{% endmacro %}

just a note: we're ***forced*** to use bootstrap 3 & jQuery, so they're also on the page. I don't image there is any particular issue with this but in case it matters.
EDIT:
I however, did remove all the javascript from the page except for my runtime.js(emitted by webpack) & questionnaire.js (thats my controller.js equivalent)
still same issue. the method fires, but it only accesses the one input, and not the others.

I spot a couple issues:

Array.prototype.concat() doesn't update the existing array, it returns a new one. So, this.myFormElements.concat(this.inputTargets) doesn't actually add this.inputTargets to this.myFormElements.
There is no existential and plural target property. So, this.hasSelectTargets isn't provided by Stimulus and will always be undefined, which evaluates to false in an if condition.

I recommend adding your own custom property that returns a concatenated collection of targets instead of combining them in connect():
yesState() {
  this.myFormElements.forEach(element => {
    // …
  })
}

get myFormElements() {
  return this.inputTargets.concat(this.selectTargets).concat(this.textTargets)
}

Or, just add a second common target name to your elements so you can access them collectively and individually:
<input data-target="questionnaire.input questionnaire.checkbox" type="checkbox" …>
<input data-target="questionnaire.input questionnaire.text" type="text" …>
<select data-target="questionnaire.input questionnaire.select">…</select>

This seems sensible. Thank you! I thought it was odd, and I figured this couldn't possibly be a use case you guys didn't think of. As usual, its user error :) I'll let you know if I have any further issues.
Thanks a bunch for creating and maintaining stimulus!

authors: ProtonScott javan

repo: stimulusjs/stimulus


text:
adds husky and precommit hook :dog:

Runs test and docs task before commiting.
After we cleaned up curry and uncurry and all functions are documented we could fail in npm run docs if a function is missing documentation.
closes #56

Feels like a military school :+1:

authors: hemanth stoeffel


text:
Disable dark theme detection in standalone production

https://github.com/stolostron/backlog/issues/23808

/cc @jamestalton

repo: stolostron/console


text:
ACM-6271 Don't create placementrule when selecting an existing one

https://issues.redhat.com/browse/ACM-6271

Fix subscription app create wizard to not create a new placementrule when selecting an existing placementrule

/cherry-pick release-2.8


text:
Check the managed cluster for the multiline tests

When run in the canaries, this policy is getting deployed to the Managed cluster, but all the checks were against the hub cluster.
Also does some refactoring to loop over the hub and managed clusters.
ref: https://github.com/stolostron/backlog/issues/27232

CI here is passing. This PR is ready for review.

/cherry-pick release-2.7

/retest

repo: stolostron/governance-policy-framework


text:
Handle OAuth provider button

Signed-off-by: Kevin Cormier kcormier@redhat.com
https://github.com/stolostron/backlog/issues/20527

/cc @chenz4027

repo: stolostron/grc-ui


text:
Update readme to clarify "delete" meaning.

Signed-off-by: xuezhaojun zxue@redhat.com

/assign @zhiweiyin318

/lgtm
/approve

repo: stolostron/klusterlet-addon-operator


text:
Fixed the golangci-lint error

Signed-off-by: myan myan@redhat.com
Error message:
$ make build-manager-image
...
golangci-lint run ./cmd/... ./pkg/...
pkg/nonk8sapi/non_k8s_api_test.go:33:32: func `(*TestResponseRecorder).closeClient` is unused (unused)
func (r *TestResponseRecorder) closeClient() {
                               ^
pkg/nonk8sapi/non_k8s_api_test.go:863:45: S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple)
                Expect(w1.Body.String()).Should(MatchJSON(fmt.Sprintf("%s", expectedPolicyStatus1)))

/cc @morvencao

repo: stolostron/multicluster-global-hub


text:
Add Pprof endpoint

Signed-off-by: myan myan@redhat.com

/retest


text:
fixes

https://github.com/stolostron/backlog/issues/21513
https://github.com/stolostron/backlog/issues/21514
Signed-off-by: marcolan018 llan@redhat.com

/retest

/approve
/lgtm
/hold


text:
Do you consider providing SDKs in other programming languages?

I'm using C#, but I can't find the corresponding SDK.

Unfortunately, we do not plan to release SDKs for other programming languages right now or in the short term.
The main reason for this is the fact that although libraries for working with the TON blockchain are in other languages (https://docs.ton.org/develop/dapps/apis/sdk), the main activity that we observe takes place in the JS/TS space

authors: ZhangYiQiu pavel-rakhmanov

repo: ston-fi/sdk


text:
Update to 1.19 and improve some stuff

Update to 1.19
Improve main thread performance by removing string hash & lookups for config values
Fix readme.txt console spam

No problem, I updated it for my personal server and thought I might as well share the changes with you, if it'd make your life any easier.
As far as the deepslate issue goes, perhaps a more agnostic way of patching that issue would be to inherit the type of the block around the ore. If it is stone, replace with stone, if it is deepslate replace with deepslate, if it's netherack... and so on.
Cheers and thanks for the Roadmap, looking forward to it.

As far as the deepslate issue goes, perhaps a more agnostic way of patching that issue would be to inherit the type of the block around the ore. If it is stone, replace with stone, if it is deepslate replace with deepslate, if it's netherack... and so on.

Unfortunately, this isn't as easy as it sounds because of how Anti-Xray works internally. The blocks that are being used as replacement must be added into the block palettes per chunk section way before the obfuscation algorithm hides the blocks. Even if we add both blocks to all palettes (which is most of the time unnecessary and even therefore inefficient), it would still require checks within hot code to figure out which type must be used as replacement as you said (that's even more inefficient).
A simple check whether or not the chunk section is below 0 is easy to implement and doesn't noticeable affect the performance. That's why it was implemented that way, not because we didn't have other ideas. Infact, your (and other similar) ideas have been discussed several times before.

Update: My cleanup PR PaperMC/Paper/pull/8104 has been merged (see roadmap above). Note that this Paper PR includes changes that will probably break your current updated build of RayTraceAntiXray.

For anyone following this PR. My dev branch has preliminary support for 8014
Still need to do some more testing.

I've rebased and I'm currently working on it. In the meantime, please don't push to main.

I've updated to 1.19.1 and I did some minor refactoring (e.g. renaming, revert import changes, rearrange code). I've also reverted the following things for the following reasons:

.gitignore changes: This is something you should add to your own global .gitignore file or to your own local .git/info/exclude file. I'm using the language specific templates provided by github/gitignore and I only add project related stuff to it. I won't start collecting ignore files of various different IDEs here.
EventPriority: WorldInitEvent isn't Cancellable, thus EventPriority doesn't matter here at all.
Config changes: The default (and example) config isn't meant to be a final config for production. Every user has different requirements and should deal with it. I've also written this gist with recommended settings. Note that ancient_debris sould be added (if at all) to a nether specific config. Also note that ancient_debris never generates naturally exposed to air, thus it probably doesn't make sense to trace it at all (normal engine-mode: 1 is sufficient).


text:
Refactor addClass and removeClass

The existing behavior:

Relied on newer DOM and JS APIs.
Branched for FastBoot, resulting in different behavior in different environments. This is a debugging nightmare.
Did not remove multiple instances of a class name from an element.
Did not ensure that the class name it was removing matched at token boundaries.
Did not have tests.

This also moves the utility's location to the default Ember location. I've included a stub for external API compatibility which can electively be removed.

@nathanhammond did you happen to test your PR with a environment=production build? I am seeing an issue on the latest release, 1.0.1, where classes are not being applied to the body in FastBoot, but only on production builds (this on ember 3.1.2). I tried your PR's branch, but it seemed to exhibit the same issue in my app.

@billdami Can you create a simplified reproduction as a repo I can just npm i && ember serve? If so I'll get a test in place and address the issue.

@nathanhammond sure, I'll give that a try

@nathanhammond so it appears it might be an app/environment related issue..as I'm not able to reproduce it in the test repo I just created. But just for reference, here's the repo:
https://github.com/billdami/ember-body-class-prod-test

@billdami I've gone ahead and forked this project. Try ember-body-class2.

authors: billdami nathanhammond

repo: stonecircle/ember-body-class


text:
🌐 Language request: Czech

🌐 Language name (native)
Čeština
🌐 Language code
cs-CZ

I've added it to Crowdin. Thanks for your contribution :)


text:
Feature Discovery (Problem Difficulty) should appear only once.

Materialize Feature Discovery for Problem Difficulty appear on every page load (even on non relevant pages) which is annoying to users.
this should appear only once. i.e., at the starting of each session.

can be implemented by storing a variable in sessionStorage, and checking for it before firing Materialize feature discovery.

Hey @RohitKaushal7 , we were anyways planning to remove that as most of the people are onboarded on the feature. Thank you for reporting

repo: stopstalk/stopstalk-deployment


text:
Is hasClass that One Weird Trick I never learned?

I'm pretty confused about the use of the hasClass function in sb-editable.jsx.

It hasn't actually caused an error for me because I use web browsers that support classList, but it's making my linter angry.

You are right. Has been fixed in version 0.0.6. Thanks for the report!

authors: onefriendaday programbo

repo: storyblok/storyblok-react


text:
[Bug] Copy Button Moves on Scroll

Describe the bug
When the content of the JSX preview is tall enough to be scrollable, when you scroll down, the "Copy" button will scroll with the content. I would expect the copy button to stay fixed at the top or bottom.
Steps to reproduce the behavior

Create a story with a large amount of JSX
Open the JSX panel
Scroll down
See "Copy" button move up as you scroll down

Expected behavior
I would expect the Copy button to stay fixed at the bottom as I scroll.
Screenshots and/or logs

Environment

OS: macOS 11 Big Sur
Node.js version: 10.16.3
NPM version: 6.9.0
Browser (if applicable): Chrome 88
Browser version (if applicable): 88
Device (if applicable): M1 MacBook Pro 2020

Additional context
I believe there are a couple ways to fix this. This button is positioned absolute in an absolute positioned parent (the JSX content preview), which I believe is the issue. This could be fixed by making it position fixed and adding some pixels to the position, or if possible, move it a little further up the DOM tree such as into #panel-tab-content.

:rocket: Issue was released in v7.3.6 :rocket:

Fixed, thanks!

authors: hipstersmoothie mosherc

repo: storybookjs/addon-jsx


text:
Fix type errors due to imports from @storybook/types

Closes #194

@JReinhold like this?

:rocket: PR was released in v4.1.5 :rocket:

authors: rChaoz shilman

repo: storybookjs/addon-svelte-csf


text:
chore(docs): update readme to use mergeConfig vite helper function

Summary
Recommend users to use the mergeConfig vite helper function to easily recursively merge config options without troublesome nesting and object spreading shallow copy pitfalls.

I love it, thanks for the suggestion!  Would you mind running yarn lint:prettier and pushing up the result?

authors: IanVS benatshippabo

repo: storybookjs/builder-vite


text:
Guildbook "out of date" on Burning Crusade Classic 2.5.2

Thanks for the latest update but you forgot to update the BCC .toc file.

Guildbook uses just a single .toc file as curse doesnt support the multi toc stuff yet, afaik anyways.
I have however updated the interface version in the toc which i did miss.

I am the author/maintainer of Skillet (for retail) and Skillet-Classic (for BCC and Classic Era). Curse has "sort of" support for multiple .toc files. You can use the Blizzard feature of multiple .toc files (addon.toc, addon-BCC.toc, addon-Classic.toc, addon-Mainline.toc), see this post and when you upload the file to Curse, you can edit the file and indicate which version(s) it supports.
I believe the BigWigs Package Manager can also be configured to generate multiple source files and upload different files for different flavors of World of Warcraft to a single Curse project, but in my Skillet / Skillet-Classic case, I have two different projects. The Skillet-Classic file can be installed on both Classic Era and Burning Crusade Classic.
Let me know if you have questions about how this all works and I'll do my best to help.

authors: b-morgan stpain

repo: stpain/guildbook

license: Zlib


text:
iPad pro 2018-(iPad8.4)-(ios16.6)crash

iPad pro 2018-(iPad8.4)-(ios16.6)crash

iPad pro 2018-(iPad8.4)-(ios16.6) i need thinks

the same issue here

authors: Zzl369 andyzpl cimisi

repo: straight-tamago/misaka