Select doesn't update when ng-disabled is used withing option tag

My original question regarding this issue was posted
here
I have used ng-disabled withing an option tag to enable or disable that option. But the option doesn't seem to update inside angular chosen. Here is the full example. Whenever I select "PDF" as option in the first select box the "Yes" option in the second select box should be enabled
This works IF I pass an array to ng-options and update the objects property as shown here, but doesn't work without ng-options

Hi @Kharkare. Thanks for opening the issue here.
I've been trying to fix the use with ng-repeat, however, angular-chosen has never worked good without ng-options.
Are you able to map your list into an array, perhaps using some kind of iterator?
If you post me more details about your real data, I could help you.

Hi @leocaseiro. Thanks for your reply
I am neither using ng-repeat nor ng-options
This is my select tag
<select chosen name="maskAccountNumber" id="maskAccountNumber" ng-model="maskAccountNumber" ng-change="checkDisable()" style="width:145px;">
		<option value=""></option>
		<option value="N">No</option>
		<option value="Y" ng-disabled="disableoption">Yes</option>
</select>

The `disableoption` inside `ng-disabled` in last `option tag` is a boolean.
The option doesn't updates(enable/disable) on changing the value of `disableoption`

Please see [here](https://plnkr.co/edit/8ivqmeWGFOOIV2eqkqAa?p=preview)

Hi @Kharkare,
I'm sorry. I meant that angular-chosen doesn't work very well if you don't implement with ng-options.
Any chance for you to implement with ng-options? Any array would do the job...
With ng-options works just as expected:

$scope.maskAccountNumber = "N";
$scope.maskOptions = [
   {value: "N", name: "No", disabled: false},
   {value: "Y", name: "Yes", disabled: true}
];

<select chosen name="maskAccountNumber" id="maskAccountNumber"
        ng-model="maskAccountNumber"
        ng-options="mask.value as mask.name disable when mask.disabled for mask in maskOptions">
    <option value=""></option>
</select>

Thanks @leocaseiro I'm 3 hours on this issue and found your answer!


Update ValidatingAdmissionPolicy examples to v1

since v1.30 ValidatingAdmissionPolicy graduate to GA https://github.com/kubernetes/kubernetes/pull/123405

@drewhagen should we merge this to dev-1.30?

@tao12345666333 Yeah, let's merge this in dev-1.30 branch.
In the future, we want to try to get this in before Doc Freeze, like it should have been with this PR:
https://github.com/kubernetes/website/pull/45249
Thanks!

Ok, thank you for the quick reply @drewhagen  I have changed the base branch to dev-v1.30.


Added the option to remove Spotify logo when nothing is playing

Great module!
Only added the option to remove the Spotify logo when nothing is playing!

Works great thanks! Maybe you should update also the readme :smile:


Support for older .NET Frameworks

Dear testfx team,
Are there plans to support older .NET Frameworks, such as 4.0 (and perhaps even 3.5)?
This seems to be a gap. On the MS docs topic Developing Libraries with Cross Platform Tools, net40 is even suggested as a good baseline:

If you want to reach the maximum number of developers and projects, use the .NET Framework 4.0 as your baseline target.

However, test projects created with "dotnet new mstest" and targeted to net40 don't run with "dotnet test". The reason for this seems to be that the packages MSTest.TestAdapter and MSTest.TestFramework don't support .NET Framework 4.0.
We have a class library multitargeted to .NET Frameworks 4.0 and 4.5, currently working on adding support for .NET Standard 2.0. We currently have separate test projects for each supported platform, with a trick to reuse the actual test code. It would be wonderful to have a single test project.

@leopignataro : Thanks for bringing this up. There aren't any plans to support .Net 4.0 or lower in the near future given the delta in terms of support matrix from net40 to net45 isn't large. We haven't also heard back from a lot of users about wanting this.
On a side note, the core of MSTest V2 is built for netstandard 1.0 (equivalent to net45) so it works cross-platform. Moving it to net40 would require a code split and a bunch of #if statements since not all the APIs we require are similar in lower .net frameworks.
/cc: @pvlakshm.

What prevents you from targeting the latest and greatest framework from your tests? You always can continue to target whatever you'd like from the app itself.

@abatishchev One often wants to test features specifically designed around older targets. I have a lot of #if _NET35_ conditional compiler statements in my code where I have to introduce workarounds because of lacking features in .NET3.5. I definitely want to have unit tests for those workarounds.

@igitur fair point, thanks for the explanation

Precisely as @igitur explained. Moreover, it is not uncommon for packages to have different dependencies for each target platform. Therefore, it is important to test each implementation, which might rely on an entirely different set of dependencies.

Please see comment. This is not in plan.


How to run?Test Failure

Hi，i'm a newbie.
when i run  according to your wiki, i encounterred the failure following.  How should i solved the errors?
Thx！

United Test
...\myApp\NTumbleBit\NTumbleBit.Tests>dotnet test

Starting test execution, please wait...
[xUnit.net 00:04:54.8093444]     NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress [FAIL]
NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress Failure
Failure information:
Assert.Equal() Failure
Expected: 0'/0'/2'
Actual:   0'/0'/1'
Stack trace:
at NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress() in ...\NTumbleBit.Tests\TumblerServerTests.cs:line 142
NTumbleBit.Tests  Total test: 17. Has passed: 16. Failure: 1. Skipped: 0. Time: 4.9320m
The test failed to run.

Server Test
...\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI>dotnet run -testnet

info: Configuration:  Using cycle shorty2x
info: Configuration:  Testing RPC connection to http://localhost:18332/
fail: Configuration:  Error connecting to RPC server The remote server returned an error: (401) Unauthorized.
fail: Configuration:  Please, fix rpc settings in...

-bitcoin.conf
# Run on the test network instead of the real bitcoin network.
testnet=1

# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
server=1

# RPC user and password may be used if you aren't using the newer 'cookie' authentication
rpcuser=bitcoinuser
rpcpassword=bitcoinuser

# Optional: pruning can reduce the disk usage from currently around 120GB (or 8GB testnet) to around 2 GB.
prune=2000

-server.config
####Common Commands####
#Connection to the input wallet. TumbleBit.CLI will try to autoconfig based on default settings of Bitcoin Core.
#rpc.url=http://localhost:18332/  # assumes Bitcoin Core is on localhost
#rpc.user=bitcoinuser         # use the credentials from your bitcoin.conf
#rpc.password=bitcoinuser     # use the credentials from your bitcoin.conf
#rpc.cookiefile=yourbitcoinfolder/.cookie

####Tumbler settings####
## The fees in BTC
#tumbler.fee=0.01
## The cycle used among Kotori,Shorty,Shorty2x
#cycle=kotori

####Server Commands####
#port=37123
#listen=<IP_ADDRESS>

####Tor configuration (default is enabled, using cookie auth or no auth on Tor control port 9051)####
#tor.enabled=true
#tor.server=<IP_ADDRESS>:9051
#tor.password=mypassword
#tor.cookiefile=/path/to/my/cookie/file
#tor.virtualport=80

####Debug Commands####
#Whether or not the tumbler deliver puzzle's solution off chain to the client (default: true)
#cooperative=false

I confirm the same Error occurring in Testing, Also I'm having 2 other errors:
Failed   NTumbleBit.Tests.TumblerServerTests.CanCompleteCycleWithMachineState
Error Message:
 System.OperationCanceledException : The operation was canceled.
Stack Trace:
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at NTumbleBit.Tests.TumblerServerTests.WaitStatus(PaymentStateMachine machine, PaymentStateMachineStatus state) in /home/demon/coins/NTumbleBit/NTumbleBit.Tests/TumblerServerTests.cs:line 347
   at NTumbleBit.Tests.TumblerServerTests.CanCompleteCycleWithMachineStateCore(Boolean cooperativeClient, Boolean cooperativeTumbler) in /home/demon/coins/NTumbleBit/NTumbleBit.Tests/TumblerServerTests.cs:line 209
   at NTumbleBit.Tests.TumblerServerTests.CanCompleteCycleWithMachineState() in /home/demon/coins/NTumbleBit/NTumbleBit.Tests/TumblerServerTests.cs:line 102
2018-09-06 23:44:58

and
Failed   NTumbleBit.Tests.TumblerServerTests.EscrowGetRedeemedIfTimeout
Error Message:
 The collection contained 0 matching element(s) instead of 1.
Stack Trace:
   at NTumbleBit.Tests.TumblerServerTests.EscrowGetRedeemedIfTimeoutCore(Boolean fulfill) in /home/demon/coins/NTumbleBit/NTumbleBit.Tests/TumblerServerTests.cs:line 412
   at NTumbleBit.Tests.TumblerServerTests.EscrowGetRedeemedIfTimeout() in /home/demon/coins/NTumbleBit/NTumbleBit.Tests/TumblerServerTests.cs:line 366
2018-09-06 23:48:29

@feitianlong you need to uncomment the rpc.user/password lines in the server.conf so change:
#rpc.user=bitcoinuser
#rpc.password=bitcoinuser
to
rpc.user=bitcoinuser
rpc.password=bitcoinuser
The bang symbol '#' is equivalent to saying = ignore this line when a program reads it.

Run the test again, I think those tests are quite flaky :/ I though having fixed it last time I worked on TB

I ran the tests 3 times, same 3 keep failing. Is there something else I should do before executing dotnet test in that folder ?

I will need to take a look :/ pretty sure it was working last time I ran the project.

Thx two guys。
Run test again after uncomment #.   The fail still exists！
fail: Configuration:  Error connecting to RPC server The remote server returned an error: (404) Not Found.
fail: Configuration:  Please, fix rpc settings in ...

@feitianlong you don't have the same error as @D3m0nKingx for the tests. Can you run tests again?

@NicolasDorier  test again.
United test
C:\Users\...\myApp\NTumbleBit\NTumbleBit.Tests>dotnet test
Started generation, please wait...
Completed build.

Test run of C:\Users\...\myApp\NTumbleBit\NTumbleBit.Tests\bin\Debug\netcoreapp2.1\NTumbleBit.Tests.dll (.NETCoreApp, Version=v2.1)
Microsoft (R) Test Execution Command Line Tool version 15.8.0
Copyright (C) Microsoft Corporation. all rights reserved.

Starting test execution, please wait...
[xUnit.net 00:04:58.6385730] NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress [FAIL]
NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress failed
wrong information:
  Assert.Equal() Failure
Expected: 0'/0'/2'
Actual: 0'/0'/1'
Stack trace:
    At NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress() in C:\Users\...\myApp\NTumbleBit\NTumbleBit.Tests\TumblerServerTests.cs:line 142

Total test: 17. Has passed: 16. Failure: 1. Skipped: 0.
The test failed to run.
Test execution time: 5.0039 minutes

@D3m0nKingx  Has the error occurring in Testing been resolved?  I have not solved this problem so far.
THX！！！！

@feitianlong not yet afaik

@D3m0nKingx @NicolasDorier  I ran the project in the Windows10 now,.
Excecuting dotnet test
[xUnit.net 00:05:16.7323251] NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress [FAIL]
NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress failed
wrong information:
  Assert.Equal() Failure
Expected: 0'/0'/2'
Actual: 0'/0'/1'
Stack trace:
    At NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress() in C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.Tests\TumblerServerTests.cs:line 142

TumblerServerTests.cs:line 142 : Assert.Equal(new KeyPath("0'/0'/2'"), wrpc.GetKeyPath(k1));
According to wrong information, i modified the codes form Assert.Equal(new KeyPath("0'/0'/2'"), wrpc.GetKeyPath(k1));  to Assert.Equal(new KeyPath("0'/0'/1'"), wrpc.GetKeyPath(k1));
The shell shows:
[xUnit.net 00:06:09.0399047] NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress [FAIL]
NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress failed
wrong information:
  Assert.Equal() Failure
Expected: 0'/0'/3'
Actual: 0'/0'/2'
Stack trace:
    At NTumbleBit.Tests.TumblerServerTests.CanGenerateAddress() in C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.Tests\TumblerServerTests.cs:line 143

Total test: 17. Has passed: 16. Failure: 1. Skipped: 0.
The test failed to run.

TumblerServerTests.cs:line 143: Assert.Equal(new KeyPath("0'/0'/2'"), wrpc.GetKeyPath(k2));
According to wrong information, i modified the codes again
form Assert.Equal(new KeyPath("0'/0'/3'"), wrpc.GetKeyPath(k2));
to Assert.Equal(new KeyPath("0'/0'/2'"), wrpc.GetKeyPath(k2));
The shell shows:
Total test: 17. Has passed: 17. Failure: 0. Skipped: 0.
The test runs successfully.

Is it possible that the code is wrong? But someone, such as @D3m0nKingx , had succeeded in running the project in the past.
So i want to ask some issues.

What happens to the project after modifying the code?
Whether it effect on functions of Tumbler？
Why the test runs successfully after modifying these code?

THX!!!!

@NicolasDorier @D3m0nKingx
Although the first problem is solved, the second problem still exists.
C:\Users\...\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI>dotnet run -testnet
Use boot settings from C:\Users\...\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI\Properties\launchSettings.json
Info: Configuration: Using APPDATA environment variable for initializing application data
Info: Configuration: Configuration file set to C:\Users\...\AppData\Roaming\NTumbleBitServer\TestNet\server.config
Info: Configuration: Network: TestNet
Info: Configuration: Data directory set to C:\Users\...\AppData\Roaming\NTumbleBitServer\TestNet
Info: Configuration: Configuration file set to C:\Users\...\AppData\Roaming\NTumbleBitServer\TestNet\server.config
Info: Configuration: Using cycle kotori
Info: Configuration: Testing RPC connection to http://localhost:18332/
Fail: Configuration: Error connecting to RPC server The remote server returned an error: (401) Unauthorized.
Fail: Configuration: Please, fix rpc settings in C:\Users\...\AppData\Roaming\NTumbleBitServer\TestNet\server.config

The bitcoin.config:
# Run on the test network instead of the real bitcoin network.
testnet=1

# server=1 tells Bitcoin-Qt and bitcoind to accept JSON-RPC commands
server=1

# RPC user and password may be used if you aren't using the newer 'cookie' authentication
rpcuser=bitcoinuser
rpcpassword=bitcoinpassword

# Optional: pruning can reduce the disk usage from currently around 120GB (or 8GB testnet) to around 2 GB.
prune=2000

And server.config:
####Common Commands####
#Connection to the input wallet. TumbleBit.CLI will try to autoconfig based on default settings of Bitcoin Core.
rpc.url=http://localhost:18332

rpc.user=bitcoinuser         # use the credentials from your bitcoin.conf
rpc.password=bitcoinpassword     # use the credentials from your bitcoin.conf
###rpc.cookiefile=yourbitcoinfolder/.cookie###

####Tumbler settings####
## The fees in BTC
tumbler.fee=0.01
## The cycle used among Kotori,Shorty,Shorty2x
cycle=kotori

####Server Commands####
port=37123
listen=<IP_ADDRESS>

####Tor configuration (default is enabled, using cookie auth or no auth on Tor control port 9051)####
tor.enabled=true
tor.server=<IP_ADDRESS>:9051
tor.password=mypassword
tor.cookiefile=/path/to/my/cookie/file
tor.virtualport=80

####Debug Commands####
#Whether or not the tumbler deliver puzzle's solution off chain to the client (default: true)
cooperative=false

Why is it still  Error connecting to RPC server The remote server returned an error: (401) Unauthorized.?
How to fix server.conf ?
By the way ,I find that the comment is confusing like this:

And how should i do something to run the project fine?  THX!!!

@NicolasDorier
I success to run the server:

But i can't run the client,the error is this:

And the near code in TextFileConfiguration.cs is
else if(typeof(T) == typeof(TumblerUrlBuilder))
            {

                try
                {
                    System.Console.WriteLine("**************  enter the try " + "***********"); //add by zyx
                    return (T)(object)new TumblerUrlBuilder(str);
                }
                catch { throw new ConfigException("Invalid tumbler uri"); }
            }

I can local the wrong is return (T)(object)new TumblerUrlBuilder(str); , but i don't know how to fix it.

@feitianlong what is your tumbleruri ? Should start by onion:

@NicolasDorier ok !   Do i need to  strat by the onion router?  So  should i install Tor broswer? And config Tor?
tumbler.server=http://localhost:37123/
client.config :
####Common Commands####
#Connection to the input wallet. TumbleBit.CLI will try to autoconfig based on default settings of Bitcoin Core.
rpc.url=http://localhost:18332/
rpc.user=bitcoinuser
rpc.password=bitcoinpassword
#rpc.cookiefile=yourbitcoinfolder/.cookie

#Tumbler server to connect to
tumbler.server=http://localhost:37123/
# Wallet
outputwallet.extpubkey=2MvnY1EMvGH29KJT45hbyeuVKtJgpSixo6v
outputwallet.keypath=

####Connection Commands####
#Making Alice or Bob pass through TOR (Recommended, the circuit will change for each cycle/persona)
#The default settings you run `tor -controlport 9051 -cookieauthentication 1`
alice.proxy.type=tor
alice.proxy.server=<IP_ADDRESS>:9051
alice.proxy.password=padeiwmnfw
alice.proxy.cookiefile=/var/run/tor/control.authcookie
#or
bob.proxy.type=tor
bob.proxy.server=<IP_ADDRESS>:9051
bob.proxy.password=padeiwmnfw
bob.proxy.cookiefile=/var/run/tor/control.authcookie

####Debug Commands####
#Whether or not signature for the escape transaction is transmitted to the Tumbler (default: true)
cooperative=false
#Whether or not IP sharing between Bob and Alice is authorized (default: true for testnets, false for mainnet)
allowinsecure=true

# Bitcoin Core
rpc.url=http://localhost:18332/
rpc.user=bitcoinuser
rpc.password=bitcoinpassword

corresponding server.conf  following:
rpc.url=http://localhost:18332/
rpc.user=bitcoinuser
rpc.password=bitcoinpassword

tumbler.fee=0.01
cycle=Kotori
port=37123
listen=<IP_ADDRESS>

tor.enabled=true
tor.server=<IP_ADDRESS>:9051
tor.password=mypassword
tor.cookiefile=/path/to/my/cookie/file
tor.virtualport=80

cooperative=false

tumbler.server=http://localhost:37123/ this is not what you should set, the server give you onion links normally.

@NicolasDorier I see bitcoin core is on 0.17.0 any plans to update?

I will soon, that and another update on something I noticed here.

I will update things end of this week as well as fix the vulnerability I found out.

@D3m0nKingx @NicolasDorier
i did run the project, but something wrong!
These two questions confused me!
Bitcoin Core Version:0.16.0
The shell shows following

1. Why the  Should stay connected shows  False instand of True?(I dont know the standred result,i guess it is ture.)
I located the codes (PaymentStateMachine.cs:line:527) in:
 if (
	// You get the solution of the puzzle
	Status == PaymentStateMachineStatus.PuzzleSolutionObtained &&
	// But have not yet cashed out
	!IsConfirmed(cycle, TransactionType.TumblerCashout))
       {
	return true;
	}
 if (
	// You do not have the solution
	Status == PaymentStateMachineStatus.UncooperativeTumbler &&
	// But have not yet redeemed or cashed out
	!(IsConfirmed(cycle, TransactionType.ClientRedeem) || IsConfirmed(cycle, TransactionType.ClientOfferRedeem) || IsConfirmed(cycle, TransactionType.TumblerCashout)))
	{
		return true;
	}

and the Status == PaymentStateMachineStatus.PuzzleSolutionObtained is false,so is Status == PaymentStateMachineStatus.UncooperativeTumbler,which is why I got False in  Should stay connected: False ,how to reslove it?
2. Why Records is just two phases? According to  your wiki result,there shouldn't  be only two phases.
The two phases indicates that the client dont seem to connect to tumbler so that it dont realize the payment of spending the coins in her escrow to an output.In other words, there's not  seem to mix coins.

Should stay connected is true when you risk loosing money by disconnecting at this precise moment.
ClientChannelBroadcasted just mean that you did your channel, so no risk of loosing money here.

So what about the second question? It seems that there are no Tumbler Escow and Tumbler Redeem transactions generated, only ClientEscorw transaction and ClientRedeem transaction.
And my output wallet didn't get Alice's money, and the money was returned to Alice's wallet.

Probably because your tumbler does not have enough liquidity to tumble. Does it?

Pardon me! What does enough liquidity mean?   enough tumble node or money(using shorty cycle.And there are 1B), or other?

Your tumbler need as money in the wallet so it can tumble.

All right!
I only have one test coin now. How much does it need to satisfy?
Can you give me some test coin?
address: 2N5pRBYdBtmL4MJmbmSq2Dcsrhm79VdFf3u

I don't have any

My understanding of tumbler is middleman (i.e server?), running tumble server, how do I know how much money tumbler has and how to charge tumbler?

I don't remember the denomination of Kotori, but if 1 round is 0.1 BTC, then the tumbler need 0.1 BTC per participants in its wallet.

All right!
The client(Alice) is connected to the bitcoin core wallet(by rpc), and the server(tumbler) is also connected to the bitcoin core wallet (by rpc)? Then the bitcoin core wallet acts both as Alice's wallet and as a tumbler wallet, right?
FriendlyName = "Shorty",	Consensus = consensus,		Denomination = Money.Coins(0.01m)
If I use the shorty cycle(the denomination of shorty is 0.01m), then my wallet balance (1BTC) is completely sufficient for tumble. Is my understanding correct? If so, then my problem should not be that tumbler is not sufficiently liquidility to generate escow transactions.
So I never understood where something went wrong and I never finished tumble because Bob didn't receive the money.
Thank you for your attention to this matter!!

You need Alice, Tumbler and Bob, each with their own wallet, each with enough money to tumble.

Make a tumbler: Create 3 Alices which connect to it. Put to each of those alice and the tumbler some money to it, and wait. It will happen.

I don't know why the tumble cycle does not go through, but you can try to get some info by doing status <cycleId> and see what it tells you on the tumbler

Create 3 Alice means 3 pcs to run the client?
Because my pc can only start a Client (I don't know how a PC runs multiple clients).

can be same PC. But I can't tell you why it is not tumbling only with the data you give me here.

Is the same wallet used by Client and Tumbler? If not, how do you give Tumbler money?
How to create 3 Alice in same PC? Because every time I donet run -testnet Client.Cli again, there will be info following

fail: Broadcasters:   Exception on TrustedBroadcaster
fail: Broadcasters:   DBreeze.Exceptions.DBreezeException: Creation of the database folder failed! ---> DBreeze.Exceptions.DBreezeException: Database is not operable, please find out the problem and restart the engine! FSR INIT FAILED: C:\Users\oneftl\AppData\Roaming\NTumbleBit\TestNet\db2\TrustedBroadcasts\_DBreezeSchema ---> System.IO.IOException: The process cannot access the file 'C:\Users\oneftl\AppData\Roaming\NTumbleBit\TestNet\db2\TrustedBroadcasts\_DBreezeSchema' because it is being used by another process.

look the command line with --help and choose another folder.

@NicolasDorier just an fyi that bitcoin's ppa repository now officially installs bitcoin v0.17.0 for linux:
demon@UbuntuHP:~$ apt list -a bitcoind
Listing... Done
bitcoind/xenial,now 0.17.0-xenial1 amd64 [installed]

@NicolasDorier

The following error occurs when I run the client.Does this affect tumbler?

fail: Client:         Unhandled StateMachine Error
System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at TCPServer.Extensions.ReadByteAsync(Stream stream, CancellationToken cts)
   at TCPServer.ServerImplemetation.TCPStream.ReadVarIntAsync()
   at TCPServer.Client.TCPHttpMessageHandler.GetResponseAsync(TCPStream tcpStream)
   at TCPServer.Client.TCPHttpMessageHandler.SendAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at TCPServer.Client.TCPHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
   at NTumbleBit.ClassicTumbler.Client.TumblerClient.SendAsync[T](HttpMethod method, IBitcoinSerializable body, String relativePath, Object[] parameters) in C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit\ClassicTumbler\Client\TumblerClient.cs:line 151
   at NTumbleBit.ClassicTumbler.Client.TumblerClient.AskUnsignedVoucher() in C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit\ClassicTumbler\Client\TumblerClient.cs:line 61
   at NTumbleBit.ClassicTumbler.Client.PaymentStateMachine.Update() in C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit\ClassicTumbler\Client\PaymentStateMachine.cs:line 225
   at NTumbleBit.ClassicTumbler.Client.StateMachinesExecutor.<>c__DisplayClass12_0.<StartCore>b__0() in C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit\ClassicTumbler\Client\StateMachinesExecutor.cs:line 93

And I did a status cycleID (same ID) on the command line of the server and the command line of the client, and got different infos. Why is it?
Client>>status 1437893

Server>>status 1437893

Since server and Bob also need to establish a payment channel, can it be implemented only by configuring Bob's expubkey in client.conf? Because I don't think there is Tumbler's Escrow Transaction, it may be because Server does not establish a connection with Bob.

It is normal that server and the server does not show the same info.  No concern for the exception.
Though it should show in the logs of the server what is happening when a Client escrow has been done for example. Copy paste all your server logs.

@NicolasDorier Thank you very much for your patience.
Server:
PS C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI> dotnet run -testnet
从 C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI\Properties\launchSettings.json 使用启动设置...
info: Configuration:  Using APPDATA environment variable for initializing application data
info: Configuration:  Configuration file set to C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\server.config
info: Configuration:  Network: TestNet
info: Configuration:  Data directory set to C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet
info: Configuration:  Configuration file set to C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\server.config
info: Configuration:  Using cycle Shorty
info: Configuration:  Testing RPC connection to http://localhost:18332/
info: Configuration:  RPC connection successfull
info: Configuration:  Bitcoin Core version detected: 160000
info: Configuration:  Successfully authenticated to Tor
info: Configuration:  Tor configured on http://knf4dfwqeem7eglo.onion/
info: Configuration:  RSA private key found (C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\Tumbler.pem)
info: Configuration:  Poupard Stern Proof found (C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\ProofPoupard-Tumbler.pem)
info: Configuration:  Permutation Test Proof found (C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\ProofPermutation-Tumbler.pem)
info: Configuration:  RSA private key found (C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\Voucher.pem)
info: Configuration:  Poupard Stern Proof found (C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\ProofPoupard-Voucher.pem)
info: Configuration:  Permutation Test Proof found (C:\Users\oneftl\AppData\Roaming\NTumbleBitServer\TestNet\ProofPermutation-Voucher.pem)
info: Configuration:  --------------------------------
info: Configuration:  Shareable URIs of the running tumbler are:
info: Configuration:  ctb://knf4dfwqeem7eglo.onion?h=90c8c1e5186dedd822d0a1a18a02b984478eb4aa
info: Configuration:  --------------------------------
info: Broadcasters:   BroadcasterJob started
info: Tumbler:        Tor Register job started
NTumbleBit.TumblerServer <IP_ADDRESS> -- TumbleBit Implementation in .NET Core
Type "help" or "help <command>" for more information.
>>> info: Wallet:         Updated 113 cached transactions in 0 seconds
info: Broadcasters:   Broadcasted 0 transaction(s), monitoring 0 entries in 0 seconds
info: Broadcasters:   Trusted Broadcaster is monitoring 0 entries in 0 seconds
Hosting environment: Development
Content root path: C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Server.CLI
Now listening on: http://<IP_ADDRESS>:37123/

Client:
PS C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Client.CLI> dotnet run -testnet
从 C:\Users\oneftl\myApp\NTumbleBit\NTumbleBit.ClassicTumbler.Client.CLI\Properties\launchSettings.json 使用启动设置...
info: Configuration:  Using APPDATA environment variable for initializing application data
info: Configuration:  Configuration file set to C:\Users\oneftl\AppData\Roaming\NTumbleBit\TestNet\client.config
info: Configuration:  Network: TestNet
info: Configuration:  Data directory set to C:\Users\oneftl\AppData\Roaming\NTumbleBit\TestNet
info: Configuration:  Configuration file set to C:\Users\oneftl\AppData\Roaming\NTumbleBit\TestNet\client.config
info: Configuration:  Testing RPC connection to http://localhost:18332/
info: Configuration:  RPC connection successfull
info: Configuration:  Bitcoin Core version detected: 160000
info: Configuration:  Using tumbler ctb://knf4dfwqeem7eglo.onion?h=90c8c1e5186dedd822d0a1a18a02b984478eb4aa
info: Broadcasters:   BroadcasterJob started
NTumbleBit.CLI <IP_ADDRESS> -- TumbleBit Implementation in .NET Core
Type "help" or "help <command>" for more information.
>>> info: Client:         State machines started
info: Client:         New Block: 1439493
info: Client:         New Cycle: 1439493
info: Wallet:         Updated 113 cached transactions in 0 seconds
info: Broadcasters:   Broadcasted 0 transaction(s), monitoring 113 entries in 0 seconds
info: Broadcasters:   Broadcasted 3586a69c74807fc69cdbd27d862f5a27a43e30c6f20f9c0ff9b69100f6eb1f7c
info: Broadcasters:   Broadcasted 4fb8a95ea60d8456e1175d7192c356f9436c6b5a68e20655c6c12979ac507038
info: Broadcasters:   Broadcasted ClientRedeem of cycle 1439335 planned on block 1439350
info: Broadcasters:   Broadcasted ClientRedeem of cycle 1439341 planned on block 1439356
info: Broadcasters:   Trusted Broadcaster is monitoring 45 entries in 0 seconds
info: Wallet:         Updated 115 cached transactions in 0 seconds
info: Broadcasters:   Broadcasted 3586a69c74807fc69cdbd27d862f5a27a43e30c6f20f9c0ff9b69100f6eb1f7c
info: Broadcasters:   Broadcasted 4fb8a95ea60d8456e1175d7192c356f9436c6b5a68e20655c6c12979ac507038
info: Broadcasters:   Broadcasted 2 transaction(s), monitoring 115 entries in 0 seconds
info: Broadcasters:   Trusted Broadcaster is monitoring 37 entries in 0 seconds
info: Client:         Cycle 1439493 (New)
info: Client:         {[.o.].[..].[..].[[..]..][..].} in phase Registration (2 more blocks)
info: Client:         Status changed New => Registered
info: Client:         New Block: 1439494
info: Client:

info: Client:         Cycle 1439493 (Registered)
info: Client:         {[.o.].[..].[..].[[..]..][..].} in phase Registration (2 more blocks)
info: Wallet:         Updated 115 cached transactions in 0 seconds
info: Broadcasters:   Broadcasted 0 transaction(s), monitoring 115 entries in 0 seconds
info: Broadcasters:   Trusted Broadcaster is monitoring 37 entries in 0 seconds
info: Client:         New Block: 1439495
info: Client:         New Cycle: 1439495
info: Client:

Wait long enough until the client go into some other cycle, I need to see why the tumbler does not create channel, normally it gives message about it.

Is it enough?
Although the log file shows how TumblerChannelEstablishment is, I still don't understand why I can't tumble
log.txt

and logs of tumbler? this is logs of client.

@NicolasDorier
logs.txt

Ok so from the logs, nothing particular seems to go wrong. So I think it might have to do with the fact that Testnet is quite unreliable with lot's of reorg, or like fast block coming on.
I would advise you to try with RegTest so you can mine by yourself. Else wait a bit.
The state is of your client was  TumblerVoucherSigning for 1439503, and judging the logs of tumbler, the tumbler signed the voucher.
After this, your client should have moved to the TumblerVoucherObtained status. But it did not. I don't think there is a bug, or tests would have caught it. Though this issue might happen if blocks are generated too fast, this happen a lot on testnet.
No cycle worked since beginning?

Yes.    Never

I will try myself, though I am quite confident this is caused by bad testnet generating blocks too fast. Please send me more logs of both tumbler and server if you have.

@NicolasDorier
Log generated when syncing blocks.
Testnet
ServerLogs_testnet.txt
ClientLogs_testnet.txt
RegTest
ServerLogs_regTest.txt
ClientLogs_regTest.txt


ES6 Update, Permit me to add my quota.

Hi @McZenith, thanks for the PR.  Unfortunately we do not usually accept these kind of PR's.  In this case, there are two specific reasons we cannot:

It is made against the master branch, which is the 4.x branch, which still supports older node versions.
Even if it was submitted against the 5.0 branch where we are dropping old node support, it does not add anything to the project.  When merging PR's we always look for additions or meaningful changes, we don't really accept "style" changes like this on their own.

Don't let this discourage you, in the future we would love more contributions, and if you have any questions about the type of contributions which we will be able to merge you can always open up an issue to discuss.


Update noise comparison notebook

Fix #1891

Copy just the notebook from

#1898

Unwanted merge cruft was introduced in that PR, but the notebook looks good.

Started to make some copy edits, and then realized that's not where I should invest my time.

While this is Polars-centric, we now have: https://docs.opendp.org/en/stable/api/user-guide/polars/gaussian-noise.html from #2200


The way to create no shadow root element

is it possible to create no shadow root element?
component-register has  the function to override an element to bypass shadow root creation - https://github.com/ryansolid/component-register/blob/master/src/element.ts#L177
Is it possible to compose this withSolid?

Right now the options are

To call the noShadowDOM function at the top of your component. Don't worry component only executes once per instance.
Write another middleware/mixin/composable function etc that sets element.renderRoot = element and put that in the register withSolid chain in between them. Something like (just writing this in here, untested):

const withNoShadowDOM = (ComponentType) => {
    return (props, options) => {
      const { element } = options;
      element.renderRoot = element;
      return ComponentType(props, options);
    }
}

// And use it like
compose(
  register("my-comp"),
  withNoShadowDOM,
  withSolid
)(MyComp);

I probably should consider adding this withNoShadowDOM mixin to the component-register-extensions package.

Glad to help. Let me know if you have any other issues.

With opt 2, because renderRoot is a getter we get the following error TypeError: setting getter-only property "renderRoot"
Here is a working version
const withNoShadowDOM = (ComponentType) => {
    return (props, options) => {
      const { element } = options;
      Object.defineProperty(element, "renderRoot", {
        value: element
      });
      return ComponentType(props, options);
    }
}


Remove unnecessary type casting II

clean-up TypedPropertyDefinition and its subclasses

Hi @serious6, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
We will now validate the agreement and then real humans will evaluate your PR.
TTYL, AZPRBOT;

ref. #272

:+1:


Fixed API version

"error": {
"code": "NoRegisteredProviderFound",
"message": "No registered resource provider found for location 'eastus' and API version '2018-06-30' for type 'virtualMachines/extensions'. The supported api-versions are
'2015-05-01-preview, 2015-06-15, 2016-03-30, 2016-04-30-preview, 2016-08-30, 2017-03-30, 2017-12-01, 2018-04-01, 2018-06-01, 2018-10-01, 2019-03-01, 2019-07-01, 2019-12-01,
2020-06-01'. The supported locations are 'eastus, eastus2, westus, centralus, northcentralus, southcentralus, northeurope, westeurope, eastasia, southeastasia, japaneast,
japanwest, australiaeast, australiasoutheast, australiacentral, brazilsouth, southindia, centralindia, westindia, canadacentral, canadaeast, westus2, westcentralus, uksouth,
ukwest, koreacentral, koreasouth, francecentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast'."

@jamasten : Thanks for your contribution! The author(s) have been notified to review your proposed change.

The API Version "2018-06-30" for virtual machine extensions is also missing from the template reference website: https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/allversions

#sign-off

#sign-off

@cynthn: I'm sorry - only the author of this article, @bobbytreed, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@cynthn: I'm sorry - only the author of this article, @bobbytreed, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Prevent closure allocations in OnHeartbeat

Should prevent memory growing in https://github.com/aspnet/KestrelHttpServer/issues/1260
@halter73 @cesarbs

nit: call it _heartbeatWalkCallbackAdapter to be consistent with the other ones. I think it show go back to _heartbeatWalkCallback. Unlike the other Adapters, it's not calling a callback passed in as an argument.

:shipit:

@halter73 You're right, I overlooked that. @pakrym Sorry, revert the last commit :grin:

Squash and :rocket:


Separate lint into own job

Requirements for Adding, Changing, or Removing a Feature

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must contribute a change that has been endorsed by the maintainer team. See details in the template below.
The pull request must update the test suite to exercise the updated functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests.

Description of the Change
Separates the lint step into its own job.
Linting works on the source code, is not platform dependent, and does not require a lot of installations (i.e., not apm). This makes it ideal to run on a single job separately from the actual builds to get much faster lint feedback.
Alternate Designs
Have linting as part of the steps in a single build (e.g., the Linux one). This should not affect the lint result, but does not offer the quicker feedback a separate job might. Currently, the bootstrap task responsible for installing script dependencies (necessary for linter) also installs apm and all of Atom's dependencies, which aren't necessary to start linting.

It might be possible to add linting as part of the bootstrap task then. But that design would be weird.

Possible Drawbacks

An extra job might slow down the start of the other jobs.

I think the current design will only lint PRs now.

Verification Process
See how CI looks.
Release Notes
NA

I have been thinking of doing this. Thanks @Aerijo for this PR.

Looks like Lint can run alongside the GetReleaseVersion job, which is nice. I quite like the 2 minute turnaround time. Definitely beats 20.

Does anyone know if this can benefit from caching? Unfortunately it installs more than just the lint dependencies, including some unrelated native modules that need to be compiled.

Could the original linting be left as part of the build jobs, and just disabled if the Lint job will be run / has started? This prevents oversights in forgetting to lint.

Should we stop running the actual CI if the lint fails?

Should we stop running the actual CI if the lint fails?

I don't think it's necessary. Any tests failures may still be relevant, and if the author pushes changes before the tests finish then the old run will be cancelled anyway.

I've been trying to reproduce the find-and-replace flaky test failures locally and on the package repo CI, but so far nothing. https://github.com/atom/find-and-replace/issues/1133


UPDATE REQUEST - River Coop Garden

Name of Garden:  River
Discord User:  Patrick-River
New Garden Description:  A nonprofit, cooperative process for funding social & environmental impact initiatives.
New Token Logo (link):  https://drive.google.com/file/d/112_lMpKYBp7ON873AkEuuMC0K4C0oSLV/view?usp=sharing
New Logo with Name (link): https://drive.google.com/file/d/1NmRBSEGIWLkbd1buLL3ILc_dMAtnXw_S/view?usp=sharing
New Link to your Wiki:  https://wiki.river.coop/
New Additional Links:  website - https://river.coop/

Done!


A way to delay current route unmount until new one finishes the in transition.(will have 2 route mounted together, and the first I will keep at a lower index, so they will seem stacked) )

Describe the problem
I tried to fly in the new route all while the old one stays visible beneath it using a lower z-index. The problem is the the new route mounts only after the old one is destroyed.
Describe the proposed solution
A way to mount a new route after clicking a link without destroying the current one and a way from the new route to destroy the old one (maybe by providing a path to a function or simply providing a detroyPreviousRoute function)
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response

Put transition to __layout on  element, and execute it at path change.

@Mlocik97 ,
Could you provide a simple working example please?
In the docs I do not see a way to control transition execution time.
Thanks for the response

For anyone trying to achieve native-like page transitions,the way i did it,finaly, was to use the __layout.svelte as: itself + index.svelte (index.svelte will be left empty).
Imagine having a blog section on your website:
in the routes directory in your sveltekit project,you will have a directory called blog with 3 files inside (index.svelte,__layout.svelte,[id].svelte)

index.svelte will be left empty.
[id].svelte will contain whatever you want
- __layout.svelte will have the contents you would usualy put in index.svelte.At the bottom add the usual .

Keep in mind that in order for this to work as intended,the [id].svelte will have to display above what is in __layout.svelte ,maybe displaying it in a position fixed container. (otherwise it will simply be displayed just below the contents in __layout.svelte)
At this point use for example the fly x transition ,and observe how the content of layout is visible beneath the flying page,just like in a native app.
I think this is the best approach because you do not need to destroy and re-create al those DOM elements.
Please correct me if i am making a mistake by using this aproach.

@Mlocik97 thank you for your reply! could you check my solution to this and give me some feedback?I am just starting out with frontend dev.


Could remove block_id on wallet_transactions?

Description
select block_id from wallet_transactions where block_id != null;
The result is empty, if this field is useless, may I remove it via migration (and some of the code related)?
Version
v1.1.1
What operating system are you running (e.g. Ubuntu 22.04, macOS, Windows 11)?
Debian 12.6
Anything else?
No response

That column is not useless. It’s used to revert transactions during a reorg.
https://github.com/SiaFoundation/hostd/blob/d77583ed4e7a5f5f404cce22b8061ef8dd6396bf/persist/sqlite/wallet.go#L93


Support for moveintogroup

Currently the only way to "add" an existing window to a group is via mouse control.
I hope there could be a way to do it via keyboard instead.
Something akin to movewindow, but if there's a group beside it, move it into it instead

if I do moveintogroup,l on the right window, it will move the window into the left group, but if there is no group that's possible to move, just do nothing.

55b412e0f4337192f8555f20c06af944d7b185bf and 18ed73f091204e44304192bd90c21fe5463ab46d :)

When I was checking the feature the topbar seemed to be working though. Odd


added new features like view and delete for items and friend list

In this merge, we have fixed some of the bugs in login and registration after migrating to the database.
We also added some new features for items, like
items that can be viewed without using the ID or deleted. We now have row-by-row delete and view options.
Similarly, for the friend list, we don't need to look for id's to view friends' wishlists and delete friends

Adding new changes


Add more statuses to runs.js

I found out that this doesn't check for certain statuses like 'waiting' on currently running jobs, which breaks the concurrency lock. This update adds them in.  I've tested this out in a private repo.

thank you


feat(browsercontext): implement BrowserContext.overridePermissions

Introduce an API to manage permissions per browser context:

BrowserContext.overridePermissions(origin, permissions)
BrowserContext.resetPermissionOverrides()

Fixes #846.

Are any permissions on by default?

They might be if launched with pre-initialized userDataDir.


Fix ordering in README

@amarlearning Let me know if this is any better.

And thanks for your suggestion about left-aligning it! It looks waaayyy better! :raised_hands:

Btw added the org website as the link (not the github repo) because the website would have other useful links like mailing lists, etc.


Remove error of trying to parse config file

Codecov Report

Merging #61 into master will increase coverage by -0.08%.

@@            Coverage Diff             @@
##           master      #61      +/-   ##
==========================================
- Coverage   83.09%   83.01%   -0.08%
==========================================
  Files          13       13
  Lines         213      212       -1
==========================================
- Hits          177      176       -1
  Misses         36       36

Impacted Files
Coverage Δ

packages/generator/src/utils.js
94.79% <ø> (-0.06%)
:x:

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 f210114...27b31b5. Read the comment docs.


Root of the project in node js

Hi Philippe,
We've a need to download file from AWS S3 and trying to implement your nods js app. I'm new to Node.js. I've cloned sf-docs-from-s3 on my local machine. Also downloded all dependencies.
when I Run npm start I'm getting below error
**M4L577TC2Y:sf-docs-from-s3 patelgv$ npm start

<EMAIL_ADDRESS>start
node src/index.js

Missing SF_LOGIN_URL environment variable
M4L577TC2Y:sf-docs-from-s3 patelgv$**
How Can you assign values to environment variables in node.js app?
You've a comment "If you are testing locally, you can create a .env file at the root of the project with this template:"
what is the root of the project?

Thanks

Hi @gvpatel.
The configuration issue is due to the file name: it should be named .env (without anything before it), not abc.env.
I understand that you'd like to use the project is slightly different way than its original intent. This can work if you have the right URL format for the download link and the right metadata attached to the S3 file.
Here's an overview of how my app works:

user clicks on the download link in Salesforce, this opens the node app.
node app does OAuth web flow to identify the Salesforce user.
node app extract the S3 file info from the download link and read metadata from the S3 file.
node app validate the Salesforce user's access rights by checking if they are allowed to read the Salesforce record on which the document is attached.
node app reads the S3 doc and relays its content to the user so that they download it.

Here's what you need to make this work:
Download URL format
http://localhost:3000/download?url=https://${AWS_S3_BUCKET}.s3.${AWS_REGION}.amazonaws.com/${s3DocKey}

Replace the host and port with your own and fill the AWS_S3_BUCKET, AWS_REGION and s3DocKey variables.
S3 metadata
The S3 file needs the following metadata for the app to work:
sfdc-linked-entity-id - Salesforce record ID on which the file is attached
sfdc-linked-entity-api-name - Salesforce API object name for the record on which the file is attached

Sure, happy to help. I'll close this issue for now and you can comment here if you need to reopen it.

Double check the callbak URL for your connected app in Salesforce.
Looking at the URL in your screnshot, you're missing the port number.

Is M4L... your public host name for the node app or are your just running it locally?
By default, the node app runs locally on http://localhost:3000 so if you are testing locally, the callback URL is http://localhost:3000/auth/callback.

Glad to hear that you're making some progress.
The file name is supposed to come from the S3 key however there's a special format that is expected for this: recordId/fileName where recordId is the Salesforce record ID and fileName is the original file name.
We don't care so much about the record ID here so you could have something else but the code does expect the / character as a delimiter to extract the file name for the download.

Nice, well done!
Sorry I have no experience with AppFlow so I don't really know.  This being said, you can probably replicate what I did with the Salesforce Function in another language/platform. You'll just have to handle the Salesforce authentication (this is automatically provided by the Function.


wfs without a filter

https://openlayers.org/en/latest/examples/vector-wfs-getfeature.html
this is an ok example except that i delete the filter as below:
filter: andFilter(
likeFilter('name', 'Mississippi*'),
equalToFilter('waterway', 'riverbank')
),
at this time the polygons won't occur, why?

sorry, it is still ok with a longer time


services submit changes got error

When I clicked 'submit changes' button from services tab, I got an error "strategy: 'mysql', message: 'schema violation (created_at: expected an integer)'"

@MichelLiu , I cannot reproduce the issue. I will need more details.
Kong version?
Konga version?
You're obviously using the MYSQL adapter, right?
Can you reproduce the issue? Please write down the exact steps to do so.

Thanks for your reply, I had already resolved the problem. I am now trying to satisfy kong with Mysql.
The differences between mysql and postgress may cause a lot of sql syntax problems, such as RETURNING(mysql not supported and I have to query after update or insert).


Inconsistency of the behaviors of handling labelValues requests and external labels

We are using different ways to handle LabelValues requests for each store.
For PrometheusStore which is the sidecar, it checks whether the label we want exists in external labels, if so just return the value.
func (p *PrometheusStore) LabelValues(ctx context.Context, r *storepb.LabelValuesRequest) (*storepb.LabelValuesResponse, error) {
	externalLset := p.externalLabelsFn()

	// First check for matching external label which has priority.
	if l := externalLset.Get(r.Label); l != "" {
		return &storepb.LabelValuesResponse{Values: []string{l}}, nil
	}

	vals, err := p.client.LabelValuesInGRPC(ctx, p.base, r.Label, nil, r.Start, r.End)

For BucketStore, we get the label values from the block's index and attach the external label value if it matches.
			// Do it via index reader to have pending reader registered correctly.
			res, err := indexr.block.indexHeaderReader.LabelValues(req.Label)
			if err != nil {
				return errors.Wrap(err, "index header label values")
			}

			// Add the external label value as well.
			if extLabelValue, ok := extLabels[req.Label]; ok {
				res = strutil.MergeSlices(res, []string{extLabelValue})
			}

For TSDBStore, we just ignore the external labels. https://github.com/thanos-io/thanos/blob/master/pkg/store/tsdb.go#L221-L235.
I think we need to define the correct logic of the external labels handling for Labels API to make the whole thing more clear. As we plan to support matchers https://github.com/thanos-io/thanos/issues/3637 so it would be more complex.

Yup, agree. I think we should just inject them always.
WDYT @brancz @kakkoyun @pracucci @yeya24 ? 🤗

So for LabelNames, we need to always inject the external label names?

For example, if a LabelNames query is outside the store's time range or the matchers don't match any series, then the original response would be empty, but we still want to inject the external labels?

I think we should pick up external labels only for blocks within the query time range. In your example, if the LabelNames query is outside the store's time range then we shouldn't inject any external label.

Fixed in https://github.com/thanos-io/thanos/pull/6816


React tutorial

Adds a new tutorial for a React app with Fluid based on the one here:  https://github.com/microsoft/FluidFramework/issues/5478
Also, retitles the existing tutorial to spin it as a "no framework" tutorial.
To preview how it will look when published:
Clone this repo.
Switch to the react-tutorial branch.
Open a command prompt and go to the /docs folder.
Run these commands:
npm install
npm run build
npm start
Open a browser to localhost:1313
The article is in the Getting Started folder of the table of contents.

This PR is replaced with 6579


add drawer items tests

Codecov Report

Merging #14 (8da3964) into main (75a4a5e) will increase coverage by 1.98%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   64.86%   66.84%   +1.98%
==========================================
  Files          53       53
  Lines         757      757
  Branches      117      117
==========================================
+ Hits          491      506      +15
+ Misses        266      251      -15

Flag
Coverage Δ

unittests
66.84% <100.00%> (+1.98%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/components/nav/header/header.tsx
0.00% <ø> (ø)

src/components/nav/drawer/drawer.tsx
80.00% <100.00%> (+80.00%)
:arrow_up:

src/components/nav/drawer/drawer-item.tsx
100.00% <0.00%> (+100.00%)
:arrow_up:

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 75a4a5e...8da3964. Read the comment docs.


Medium - Promo Codes - One for testing and one for launch

Hey guys,
For Promo codes, we will need a test Promo - 1 for testing. That promo code will make the total charge be $1.00.
That code will be: T35TDOWFAB!*
For the Promo code for 50% off, the code will be: TRHALFOFF
Thanks

Per our conversation, the full price for the year is $120/$10 a month
Promo code is for half price, at $60/$5 a month

Hey @KC135Q & @gitKendra ,
The promo codes work great. One thing to comment on here. I know we mentioned the split methods of payment for annual and monthly, but we are wanting to completely remove the monthly option completely. Can you make that change and just leave the Annual payment price of $120 (It was showing as $100 on the site which needs to be changed). Can you let me know how long that it will take to get that updated? Also I added the image below to flag an issue with the comment about the monthly statement "$ for the first month" which will need to be removed.
Again, this looks awesome!


Documentation is out of date.

You can no longer "Customize" the RetailTransactionServiceEx class - you must create an extension. (As of App 8.0 PU15)
The return of the transactionService.InvokeExtensionMethod method is a ReadOnlyCollection<object> AND (most importantly) it does NOT contain the full container returned by the extension method. It only contains the "data" portion.
If the extension method is not successful then the call in CRT will result in an exception of type Microsoft.Dynamics.Commerce.Runtime.HeadquarterTransactionServiceException. The Message property of that exception will contain the error from the extension method.

It would be beneficial to have better documentation/samples regarding this extension pattern.

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

ID: 427fcfe5-f11b-0efc-bcb4-acfa285f37f1
Version Independent ID: 633ffbd9-7fd7-6e31-be58-e7272ebb9df3
Content: Extend Commerce Data Exchange - Real-time Service - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/retail/dev-itpro/extend-commerce-data-exchange.md
Service: dynamics-365-retail
GitHub Login: @mugunthanm
Microsoft Alias: mumani

Thanks for letting us know. We are investigating the issues you listed.

@brainman75 the topic will be updated by the end of day tomorrow. Thanks for raising this issue!

I think the message at the top should be more clear. Isn't it so that this article is only valid for versions lower than 8 ?


HugginFaceEndpoint encoder integration

Hi everyone, I would like to use semantic routing using a HuggingFace private endpoint (with URL and API key) as the encoder. Is it possible to do this, or does it require some kind of integration? If yes, what would be the best strategy to implement it?
Thanks to all :)
Alessio

Hi @alessioserra, this is currently not possible as our HuggingFaceEncoder is built to work with local HF models, not HF endpoints — it'd be great to get them integrated though! If you'd like to implement it would join the other encoders, something like a HFEndpointEncoder?

Hi @jamescalam, I have already develop a custom HFEndpointEncoder, I would be happy to add it to your project :)
I'll review the code and I'll do a PR this week if it is OK for you

hey @alessioserra — that'd be awesome, looking forward to it!

Hi @jamescalam , I have just created the PR: #241
Have a nice day! :)

Man I just love open-source! I hope you have a nice day as well, @alessioserra! :] Great job on the PR. Looks great!


Support for .mjs output

To address https://github.com/nokotan/VSExtForEmscripten/issues/12. I am not too experienced with building VS plugins, so I could not get a testing setup running quickly.

Thank you for your pull request.
This PR does cover all required changes that adding .mjs target.


Fix typo in README

@kmaehashi Failed to backport automatically.

Not cleanly cherry-picked

@kmaehashi Failed to backport automatically.

Not cleanly cherry-picked


Update repository after transfer

See https://github.com/senzing-garage/garage-roadmap/issues/3

Pull requests:

https://github.com/senzing-garage/go-sdk-abstract-factory/pull/142
https://github.com/senzing-garage/go-sdk-abstract-factory/pull/144


Thoughts on using stargate msg with proto generated types instead of binding

 @llllllluc cloned issue babylonchain/bindings#8 on 2024-02-12:

@maurolacy @SebastianElvis
Wonder if you guys have seen this discussion on deprecating osmosis binding. Recently when I'm building something that interact with contracts like cw20 or cw721, response of execution is pure CosmosMsg. I also use Neutron SDK to use token factory and response of execution is CosmosMsg<NeutronMsg>. It caused some headache to define a response that can handle both. This makes me think it's probably a good idea to not have binding (e.g. NeutronMsg or BablyonMsg) in the first place, and just use proto generated type as stargate msg which is pure CosmosMsg, similar to the osmosis-std.
So in conclusion I guess the benefit of not having binding are:

More streamlined devX, you can still implement helper functions if you want.

Less maintenance required, generating proto types can be automated.

 @llllllluc commented on 2024-02-12:

Hi, thanks for the reference. We'll take this into account.

Awesome, recently I'm thinking about creating a generalized version of osmosis-std, so it can be used for all cosmos sdk chains to generate rust proto and have out of box support in cw with stargate msg, maybe I can experiment that with babylon.

 @maurolacy commented on 2024-02-12:

Hi, thanks for the reference. We'll take this into account.


pull request for e2e test at 01/21/2017 10:56:14

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


Deselecting a node with CTRL+BUTTON_LEFT is not updating the selection in 2D Scene view

Deselecting a node with CTRL+BUTTON_LEFT is not updating the selection in 2D Scene view.
1.Create a scene with 2 nodes
2.Select Node1(In scene dock)
3.Hold CTRL and Left Click on Node2
4.Go to 2D Scene View and see 2 Selections
5.Hold CTRL and Left Click on Node2(Deselect in scene dock)
6.Look at 2D Scene View still 2 Selections
Moving the mouse into the 2D Scene View is updating the View and then shows the correct selection.

Likely also related, after closing a scene, some overlay elements of the previous scene like grouping icons will still be displayed.

Is this still valid after the refactoring of the 2D scene view?

Maybe related since the signal cell_selected is not fired on multi_select? https://github.com/godotengine/godot/issues/20073
https://github.com/godotengine/godot/blob/c69de2ba46463adeadf90f38660d6b6e034d7e0b/editor/editor_sectioned_inspector.cpp#L300


update binary execute path

Signed-off-by: xiang<EMAIL_ADDRESS>download chaosd-latest-linux-amd64, and add it to the PATH, then execute chaosd attack stress cpu, will return error:
Error: exec: "stress-ng": executable file not found in $PATH

fix this issue

@cwen0 PTAL


Add parameter to override exclusion of Log Shipping primary databases from transaction log backups

I have backup procedures set up using your fine SQL Server Maintenance Solution which work really well.
Recently, a need arose for setting up Log Shipping to synchronise several databases. Rather than splitting the backup solution between the LS jobs created when setting up Log Shipping and the existing jobs, I figured I would just use the backups created by the existing jobs (they're already in a folder accessible to the secondary databases).
Took me a while to figure out why I was no longer getting Tx log backups of my primaries - SQL Server Backup excludes them (which I fully understand as a default). But could there not be a parameter to this procedure, allowing those backups to be run anyway, allowing them to be used in LS?

Is there an advantage to use the wizard to configure Log Shipping, if you are not using the jobs that it creates?

I try, as far as possible, to use the “standard” way to set things up so others who take over from me will understand but, having an established backup routine for all databases, felt it made sense to retain it.
From: Ola Hallengren<EMAIL_ADDRESS>Sent: 15 November 2020 14:40
To: olahallengren/sql-server-maintenance-solution<EMAIL_ADDRESS>Cc: Harris, Nigel<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [olahallengren/sql-server-maintenance-solution] Add parameter to override exclusion of Log Shipping primary databases from transaction log backups (#435)
Is there an advantage to use the wizard to configure Log Shipping, if you are not using the jobs that it creates?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Folahallengren%2Fsql-server-maintenance-solution%2Fissues%2F435%23issuecomment-727580140&data=04|01|nigel.harris%40ricardo.com|b537b39fab384c1b534608d889745bbf|0b6675bca0cc4acf954f092a57ea13ea|0|0|637410480138323220|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=rNj82DQfQdaVT5ZlpZWoBcPjv5mkT7Q1FO4stGmkEZ0%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJ5FXEHY3UPUGZ6M3LRR2XDSP7R4XANCNFSM4TTRSHJQ&data=04|01|nigel.harris%40ricardo.com|b537b39fab384c1b534608d889745bbf|0b6675bca0cc4acf954f092a57ea13ea|0|0|637410480138323220|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=TL%2FP82rk6OT9B8ZxTjTauFONf8ogHs0EqZKX3oeQuCU%3D&reserved=0.

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system.
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those
of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors
are authorised to enter into legally binding obligations on behalf of Ricardo. Ricardo may monitor outgoing and incoming e-mails and
other telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check e-mail and
any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail.
"Ricardo" means Ricardo plc and its subsidiary companies.
Ricardo plc is a public limited company registered in England with registered number 00222915.
The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by Sea, West Sussex, BN43 5FG.

I have added a parameter to exclude databases configured for Log Shipping from log backups.
https://ola.hallengren.com/sql-server-backup.html#ExcludeLogShippedFromLogBackup
The default is 'Y', but you can set it to 'N', if you prefer that.

Many thanks!
From: Ola Hallengren<EMAIL_ADDRESS>Sent: 21 November 2020 17:14
To: olahallengren/sql-server-maintenance-solution<EMAIL_ADDRESS>Cc: Harris, Nigel<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [olahallengren/sql-server-maintenance-solution] Add parameter to override exclusion of Log Shipping primary databases from transaction log backups (#435)
I have added a parameter to exclude databases configured for Log Shipping from log backups.
https://ola.hallengren.com/sql-server-backup.html#ExcludeLogShippedFromLogBackuphttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fola.hallengren.com%2Fsql-server-backup.html%23ExcludeLogShippedFromLogBackup&data=04|01|nigel.harris%40ricardo.com|4612189688ec493e0d0408d88e40c61c|0b6675bca0cc4acf954f092a57ea13ea|0|0|637415756156874648|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=QFH%2BC729VTrPOGG3ScmNbRacGT6RyqSFz4jqu6T7bDY%3D&reserved=0
The default is 'Y', but you can set it to 'N', if you prefer that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Folahallengren%2Fsql-server-maintenance-solution%2Fissues%2F435%23issuecomment-731607097&data=04|01|nigel.harris%40ricardo.com|4612189688ec493e0d0408d88e40c61c|0b6675bca0cc4acf954f092a57ea13ea|0|0|637415756156874648|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=m4Z3DxCfxWj0oywuFPQFnNeZZvv4taTJa2mzHbQPQiI%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJ5FXEBSWQNRZOBS2LNPB53SQ7YLXANCNFSM4TTRSHJQ&data=04|01|nigel.harris%40ricardo.com|4612189688ec493e0d0408d88e40c61c|0b6675bca0cc4acf954f092a57ea13ea|0|0|637415756156874648|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=mJJxXyAVl8nHIqvgDSnJdiEedQi70MUdzIkFn098kZw%3D&reserved=0.

This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system.
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those
of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors
are authorised to enter into legally binding obligations on behalf of Ricardo. Ricardo may monitor outgoing and incoming e-mails and
other telecommunications systems. By replying to this e-mail you give consent to such monitoring. The recipient should check e-mail and
any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail.
"Ricardo" means Ricardo plc and its subsidiary companies.
Ricardo plc is a public limited company registered in England with registered number 00222915.
The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by Sea, West Sussex, BN43 5FG.


Meetings in private channels

It appears that private channels are filtered out of the Teams/channel listing when scheduling a meeting. While "Meet now" can be used to initiate a meeting in a private channel, "Schedule a meeting" is not an option. It would be helpful to add documentation around this restriction.

@ljr55555
thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


chore: export artifacts from each package

What does this PR introduce?
📦 Build
Export artefacts in each package

PR Checklist

[ ] Wrote Tests
[ ] Wrote & Generated Documentation (readme/natspec/dodoc)
[ ] Ran npm run lint && npm run lint:solidity (solhint)
[ ] Ran npm run format (prettier)
[ ] Ran npm run build
[ ] Ran npm run test

Task linked: DEV-10235 Setup artifacts per package


Aurora Color Cycle effect

I'm sorry for I posted a question just half an hour ago, but I would like to know how (if possible) can I set up the effects to simply cycle through colors. I saw there is a color breathing effect that should do the trick, but it will cycle only between 2 colors.
Thank you in advance for answers.

There is a gradient feature, once selected, click the 3 dots, click on the
color canvas and add and adjust colors there
On Dec 7, 2016 2:56 PM, "Nedo93"<EMAIL_ADDRESS>wrote:

I'm sorry for I posted a question just half an hour ago, but I would like
to know how (if possible) can I set up the effects to simply cycle through
colors. I saw there is a color breathing effect that should do the trick,
but it will cycle only between 2 colors.
Thank you in advance for answers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/antonpup/Aurora/issues/240, or mute the thread
https://github.com/notifications/unsubscribe-auth/AT8oJ_Xn8UB6Z5qdPUJxShk6lDDJMYQ9ks5rFytwgaJpZM4LHKYA
.

But it will just let me create a gradient to shift throgh the keyboard, it won't make me create a cycle effect that will cycle through all colors on all keys like this:
https://www.youtube.com/watch?v=g_PdFBMQ4rw&ab_channel=FemaleFightersId

Will add.

Thank you bro, you are the man.

Hi, i'ts me again. I would like to know when you will release this effect color cycle (not to hurry you, just to know if there is a date).

Your request will be bundled along with gradient layers. I am currently aiming to release an update (or at least a test version) before Christmas.

Thank you for your work man, if there is a site where you are taking some donation, let me offer you a beer.

Thank you for your work man, if there is a site where you are taking some donation, let me offer you a beer.

See README.md for donation link: https://github.com/antonpup/Aurora#donations

Update:

Love you! <3

Will this be implemented in a software update or do I have to recompile the code with new additions?

Next update.


converts a dataset id to urn using urntoid endpoint. refactors a chec…

…k for notfound into an api utility function

Codecov Report

Merging #1002 into master will increase coverage by 0.02%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master    #1002      +/-   ##
==========================================
+ Coverage   27.82%   27.84%   +0.02%
==========================================
  Files         173      173
  Lines        4662     4644      -18
  Branches     1232     1223       -9
==========================================
- Hits         1297     1293       -4
+ Misses       3365     3351      -14

Impacted Files
Coverage Δ

...mponents/datasets/containers/dataset-compliance.ts
76.08% <ø> (+1.61%)
:arrow_up:

wherehows-web/app/utils/api/datasets/dataset.ts
70.58% <ø> (+20.58%)
:arrow_up:

wherehows-web/app/controllers/datasets/dataset.js
3.03% <ø> (ø)
:arrow_up:

wherehows-web/app/routes/datasets/dataset.js
6.25% <ø> (ø)
:arrow_up:

wherehows-web/app/utils/api/datasets/owners.ts
85.33% <0%> (+1.12%)
:arrow_up:

wherehows-web/app/utils/api/shared.ts
100% <100%> (ø)
:arrow_up:

wherehows-web/app/utils/api/fetcher.ts
92.59% <100%> (-3.57%)
:arrow_down:

wherehows-web/app/utils/api/datasets/compliance.ts
65.62% <100%> (+1.98%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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

Coverage remained the same at 27.608% when pulling 92a3f7f19e859eecc9945cbad1d8fe533abed16a on theseyi:urn-to-id into<PHONE_NUMBER>022ae41bcf5677a41d2c719bee9947 on linkedin:master.


lightgbm: 4.3.0 -> 4.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/microsoft/lightgbm/releases.
meta.description for lightgbm is: LightGBM is a gradient boosting framework that uses tree based learning algorithms.
meta.homepage for lightgbm is: https://github.com/microsoft/LightGBM
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.4.0 with grep in /nix/store/d8ra2arx5vxdlggdhx3ndnlpavns5429-lightgbm-4.4.0
found 4.4.0 in filename of file in /nix/store/d8ra2arx5vxdlggdhx3ndnlpavns5429-lightgbm-4.4.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

lightgbm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/d8ra2arx5vxdlggdhx3ndnlpavns5429-lightgbm-4.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A lightgbm https://github.com/r-ryantm/nixpkgs/archive/03288b944b70ff8a146bcaadd3dfef61aa1dbedc.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/03288b944b70ff8a146bcaadd3dfef61aa1dbedc#lightgbm

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/d8ra2arx5vxdlggdhx3ndnlpavns5429-lightgbm-4.4.0
ls -la /nix/store/d8ra2arx5vxdlggdhx3ndnlpavns5429-lightgbm-4.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

lightgbm

Maintainer pings
cc @nviets for testing.

lgtm, ready for merge.

4.4.0 removes HDFS support. I will submit a PR soon to remove the build option. See release notes.

4.4.0 removes HDFS support. I will submit a separate PR soon to remove the build option. See release notes.

Remember also correct description to "Gradient boosting framework that uses tree based learning algorithms"

Darwin build fails with
Running phase: installPhase
install: cannot stat '../lib_lightgbm.so': No such file or directory

You could use stdenv.hostPlatform.extensions.sharedLibrary there, or mark the package broken on darwin based on this comment   # Skip APPLE in favor of linux build for .so files


Async-validation removes sync-validation state?

Hi,
(react-redux-form 0.13.7)
I've implemented a login form for the username with some sync-validations and a async-validation which checks if the username is already in use like in your example of the docs:
<Field model="user.username"
  validators={{
    minLength: (val) => val && val.length > 6 // I changed this to show the issue
  }}
  asyncValidators={{
    available: (val, done) => asyncCheckUsername(val)
      .then(res => done(res.available))
  }}
  asyncValidateOn="blur">
  <input type="text" />
</Field>

Doing so, my sync-validation result will be cleared when the async-validation result will be added to the store. This causes a leak as when I write a username with just 4 letters it is invalid till the check to the server says simply: oh, this username isn't used yet.
As the sync-validation-result gets overwritten by the async one the field will be labeled as valid – but it shouldn't as the username-value has just 4 letters.
Is there a way around?

Hi, thx for your quick fix!
It seems there ist still an issue: It works when a sync-validation is followed by an async-validation. But when a sync-validation follows an async-validation the store will be overwritten as before.

Hm, just considering it: It isn't really an issue. I think it is needed by concept this way otherwise there are conflicts when the value gets changed and the async-error prompts the field is invalid till it gets new results even it may be corret – tricky.

@MiMaMuh:

Hm, just considering it: It isn't really an issue.

This is what I consider as well. Here's my thoughts, assume you have two validators:

(sync) required
(async) available

Now consider the following changes:

'' results in { required: false }
'taken' results in { required: true } and triggers async validation...
'taken' is not available, so { required: true, available: false }
'not-taken' executes setValidity which overwrites the validity to { required: true }

The fact that the { available: false } validity is overwritten (removed) in 4 makes sense, since { available: false } is a validity that only applies to the value 'taken', and not the value 'not-taken'.


Implement configuration

Implement a configurator module whose task is to spin up all the system components, given a TOML configuration.
Proposing the following changes:

Implement and expose a configuration structure for each component that needs configuring
Add said structure to the Builder of the component so that build() results in a fully configured module
Implement the configurator to pick up a TOML tree structure, parse it into its components and initialise everything in the right order
Move system spin-up from main to the configurator, which returns the assembled service ready to be run

Example configuration file:

  # PARSEC Service Configuration File

  title = "Parsec Config"

  [listener]
  socket_path = "/tmp/security-daemon-socket"
  socket_timeout = 100

  [[key_id_manager]]
  type = "ondisk"
  name = "on-disk-manager"
  path = "~/.parsec/key_ids/"

  [[provider]]
  type = "mbed-userspace"
  persist_keys = true
  key_id_manager = "on-disk-manager"
  converter = "protobuf"

  [[key_id_manager]]
  type = "mongo"
  name = "mongo-manager"
  address = "<IP_ADDRESS>:27017"

  [[provider]]
  type = "pkcs11"
  key_id_manager = "mongo-manager"
  converter = "protobuf"

  [[authenticator]]
  type = "simple"
  default_app_name = "root"

  [[authenticator]]
  type = "jwt"

Outstanding questions:

What should be the final structure of the config file?
Should we move to generating provider ID dynamically?
Do we offer the option of setting the provider ID in the configuration?
What happens if we have duplicate authenticators? (e.g. two "simple" authenticators with different default app names?)
Do we allow defaulting of parameters? (e.g the converter for providers would always be "protobuf", at least for a while)

Aside note:
From man page daemon (7), it is said that systemd daemons can receive the SIGHUP signal to reload their configuration.
I am unsure of the security implications of that but for example, when this signal is received the threads could be joined, the current instances could be dropped and the configurator could be called again. That would be a nice feature 🍸

As per #50 it would be nice to add a logging option in the configuration that contains a binary option to have or not timestamps in the logs. I think by default it should be disabled.

Is there more work to do after #51 ?

I think the work done so far should cover this issue. If we need to do more things we can raise new issues specific to what other configurables will be added.


Dump annotation files doesn't are empty

I tried to generate "dump my annotation" to different formats, but only CVAT XML generated properly.
I correctly annotated the images, because the CVAT XML contains my points data, and I see the annotation even if I close and reopen the job. YOLO format text files are empty. At TF Record format, the the label_map.pbtxt is generated properly, but the binary .tfrecord file size is 0 byte.
What did I do wrong?

Hi @bessszilard For now only CVAT XML format supports points. https://github.com/opencv/cvat/blob/develop/cvat/apps/annotation/README.md#format-specifications

Thank you @azhavoro for your answer. Is there a python script, which can convert CVAT XML with polygon annotation to TFRecord file?

@bessszilard TFRecord dumper/loader code is here https://github.com/opencv/cvat/blob/develop/cvat/apps/annotation/tfrecord.py. Also there is py script that can also convert xml to TFRecord, but I don't recommend used it, it is deprecated and we plan remove it in the future.

@azhavoro  is there any reason we can't dump tfrecords with data? Or with the full url file path from cvat?

In general, TFrecords have no fixed format. Technically, we could come up with our own format, allowing exporting all CVAT data, but this format would be incompatible with any existing tools and scripts. If there is an established format for keypoints in TFrecords, we can implement it - please, give a link to its specification.


[Tooling] [Tracking] Quality of life improvements for Razor project system

This is just a tracking issue for me to gather my thoughts on what we should improve in Razor tooling to make future platforms easier to maintain

Make HostDocument an IComparable
Change ProjectSnapshotManager.RemoveDocument to take in a file path instead of a host document.
Move project engine factories to the CodeAnalysis.Workspaces dll so they can be used by VSCode Razor

Much work has been done since this issue was logged.


e2e: Add memcached as cache in store-gateway test

[ ] I added CHANGELOG entry for this change.
[x] Change is not relevant to the end user.

Changes

Extended newStoreGW services to accept caching bucket config.
Added Memcached in Store Gateway e2e test.
Added a separate test for Store Gateway with Memcached.

Verification
The tests passed after the changes.

💪 awesome! I guess we can remove // TODO(bwplotka): Extend this test to have multiple stores and memcached. now?

Done!

Thank you!


Typescript is not happy when using the error method

Describe the bug
When using the error method like this, typescript is yelling at me. It builds fine however without any errors. Am I missing something or are the types wrong?
error(500, 'Failed to create user');

No overload matches this call.
  Overload 1 of 2, '(status: number, body: Error): never', gave the following error.
    Argument of type 'string' is not assignable to parameter of type 'Error'.
  Overload 2 of 2, '(status: number, body?: undefined): never', gave the following error.
    Argument of type '"Failed to create user"' is not assignable to parameter of type 'undefined'.ts(2769)

Reproduction
import { error } from '@sveltejs/kit';
export const actions = {
    default: async ({ locals, request }) => {
        const formFields = await request.formData();
        error(500, 'Failed to create user');
    }
} satisfies Actions;

Logs
No response
System Info
> npx envinfo --system --binaries --browsers --npmPackages "{svelte,@sveltejs/*,vite}"

  System:
    OS: Linux 6.8 Fedora Linux 39 (Workstation Edition)
    CPU: (16) x64 13th Gen Intel(R) Core(TM) i7-1360P
    Memory: 5.17 GB / 15.21 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
    npm: 10.7.0 - ~/.nvm/versions/node/v20.14.0/bin/npm
    pnpm: 9.1.4 - ~/.local/share/pnpm/pnpm
    bun: 1.1.10 - ~/.bun/bin/bun
  Browsers:
    Chrome: 125.0.6422.141
  npmPackages:
    @sveltejs/adapter-auto: ^3.0.0 => 3.2.1
    @sveltejs/kit: ^2.0.0 => 2.5.10
    @sveltejs/vite-plugin-svelte: ^3.0.0 => 3.1.1
    svelte: ^4.2.7 => 4.2.17
    vite: ^5.0.3 => 5.2.12

### Severity

annoyance

### Additional Information

_No response_

Sounds like you enhanced your error object in app.d.ts to contain more fields, at which point you have to invoke error with and object containing those fields. How does your app.d.ts containing the App.Error type definition look like?

@dummdidumm Whoopsy daisy, I didn't think of that, sorry my mistake. Thanks for your quick reply ;-)


Provide clear SW/HW guidelines for managing the PTE cache

The PTE cache is a common hardware implementation to accelerate page table walks. However, when implementing a hypervisor extension, further specifications are desired to regulate the software and hardware's management of the PTE cache
Q1: Is it permissible for different stages to share the same PTE? For example, can a one-stage and G-stage use the same PTE?
Q2: If Q1 is permitted. When a PTE is modified, can the MMU expect software to both use sfence.vma V=0 and hfence.gvma to ensure that the latest PTE is observed?

On Mon, May 13, 2024 at 2:34 AM Wangrodman @.***> wrote:

The PTE cache is a common hardware implementation to accelerate page table
walks. However, when implementing a hypervisor extension, further
specifications are desired to regulate the software and hardware's
management of the PTE cache
Q1: Is it permissible for different stages to share the same PTE? For
example, can a one-stage and G-stage use the same PTE?

The spec does not disallow this, so yes.  But it is software's
responsibility to manage this sharing wrt caching of PTEs.
Q2: If Q1 is permitted. When a PTE is modified, can the MMU expect software

to both use sfence.vma V=0 and hfence.gvma to ensure that the latest PTE is
observed?

Yes.  As the spec tries to convey, changes to PTEs are not guaranteed to be
seen by hardware tablewalks (and caching of those) until appropriate
sfence/hfence operations are performed.
Greg
Message ID: @.***>

On Mon, May 13, 2024 at 2:34 AM Wangrodman @.> wrote: The PTE cache is a common hardware implementation to accelerate page table walks. However, when implementing a hypervisor extension, further specifications are desired to regulate the software and hardware's management of the PTE cache Q1: Is it permissible for different stages to share the same PTE? For example, can a one-stage and G-stage use the same PTE?
The spec does not disallow this, so yes. But it is software's responsibility to manage this sharing wrt caching of PTEs. Q2: If Q1 is permitted. When a PTE is modified, can the MMU expect software
to both use sfence.vma V=0 and hfence.gvma to ensure that the latest PTE is observed?
Yes. As the spec tries to convey, changes to PTEs are not guaranteed to be seen by hardware tablewalks (and caching of those) until appropriate sfence/hfence operations are performed. Greg Message ID: @.>
…

Got it, no further question.


set default for rootDirectory

Resolves #1 .
Adding this default value enables users to invoke the plugin easily from cli (as a standalone mojo execution), or invoker (where rootDirectory matches the pom.xml being processed).

Superseded by #5


Add ability to remove aiming dot when AimMode is on

I like what AimMode provides, but I wanted a way to not show the aiming dot.  I went to add to the CameraViewMapper of the CameraViewHandler, but RemoveAimingDot is marked as internal

Hello.
I think that would only confuse the user. But you could easily implement it yourself. When OnDetectionFinished returns barcodes just reject any barcode whose BoundingBox doesn't contain a Point with coordinates matching your views center.


add instruction around how to run it locally

Thanks. @fredwangwang
I hope that bookdocker will work reliably for you.

Thanks for merging! Haha it doesn't always work, thats why i put try it till giving up. But when it works, it works pretty nicely 😉


Don't select team convos when trying to starting a new chat with someone you are in a team with

@keybase/react-hackers

:no_entry: Error rendering the commits 7e9884533321...b831bccf6565 on linux. :mag_right: 20 errored, 1 removed

Error in 7e9884533321: Chat_Inbox-You_Rekey_Selected-ERROR

Error in b831bccf6565: Chat_Inbox-You_Rekey_Selected-ERROR

Error in 7e9884533321: Chat_Inbox-You_Rekey-ERROR

Error in b831bccf6565: Chat_Inbox-You_Rekey-ERROR

Error in 7e9884533321: Chat_Inbox-Selected_Normal-ERROR

Error in b831bccf6565: Chat_Inbox-Selected_Normal-ERROR

Error in 7e9884533321: Chat_Inbox-Selected_Muted-ERROR

Error in b831bccf6565: Chat_Inbox-Selected_Muted-ERROR (view)
Error in 7e9884533321: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in b831bccf6565: Chat_Inbox-Part_Rekey_Selected-ERROR (view)
Error in 7e9884533321: Chat_Inbox-Part_Rekey-ERROR (view)
Error in b831bccf6565: Chat_Inbox-Part_Rekey-ERROR (view)
Error in 7e9884533321: Chat_Inbox-Normal-ERROR (view)
Error in b831bccf6565: Chat_Inbox-Normal-ERROR (view)
Error in 7e9884533321: Chat_Inbox-Long_Top-ERROR (view)
Error in b831bccf6565: Chat_Inbox-Long_Top-ERROR (view)
Error in 7e9884533321: Chat_Inbox-Long_Bottom-ERROR (view)
Error in b831bccf6565: Chat_Inbox-Long_Bottom-ERROR (view)
Error in 7e9884533321: Chat_Inbox-Empty-ERROR (view)
Error in b831bccf6565: Chat_Inbox-Empty-ERROR (view)
Removed: Chat_Banner_Invite-Invite (view original)


Upgrade Angular 7

Task:
CODE CHANGES | Angular 7

split to as-split
type casting where SupportedTypes is used
type casting where filereader.result is used
app-bar component gradient no longer grades color due to necessary palette changes

black to white icon color change will be necessary unless we decide to fix the gradient.

Important
node-sass has become secondary to sass-loader. sass-loader is intimately integrated with dart-sass which is by far the superior scss interpreter.
This means you will now need to: npm rebuild sass-loader
after you: npm install
instead of: npm rebuild node-sass

Closed due to incorporation into Angular 8 Upgrade branch.


Disable quadruple precision support by default

Fixes #7
Relevant for https://github.com/fortran-lang/stdlib/issues/527

Codecov Report

Merging #8 (98f0304) into main (2e5b4bd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   69.10%   69.10%
=======================================
  Files           2        2
  Lines         479      479
  Branches      260      260
=======================================
  Hits          331      331
  Misses         23       23
  Partials      125      125

Impacted Files
Coverage Δ

src/testdrive.F90
70.57% <ø> (ø)

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 2e5b4bd...98f0304. Read the comment docs.


Deconvolution layer with armnnCaffeParser.

Output of 'strings libarm_compute.so | grep arm_compute_version':
Platform:
arm64-v8a
Operating System:
Android Oreo

Problem description:
I am trying to run deconvolution layer of caffe using armnn through Compute Library (CL Kernel).
I have added Parsing code for deconvolution in armnnCaffeParser. When I am running the deconvolution kernel through armnn, it is taking ~500ms and the answer is also not matching to the output of deconvolution layer in caffe. Now my questions are as follows.

Can I pass the weights obtained from caffe's deconv layer as it is without any modification to arm compute deconv's configure, or any transformation of weights is required?
I have tried weights transformations mentioned in previous issues like flipping around WxH plane & transposing the weights. But they didn't work.
I have also applied inner_border patch, still there is no change since inner_border_right & inner_border_top are same in our case.

Hoping to get pointers in the right direction for this.
Thanks in advance!

Hi @kuladeep2706
Could you please share the tensor shapes used in deconvolution layer and also the vale of the inner border?
Also, the weights used in Deconvolution should be in the following format: [W, H, IFM, OFM]

Hi @mpekatsoula
Inner border values are 4, 4 in my case. Tensor shapes for deconvolution layer are [4, 4, 16, 3].

Inner border set to 4 seems a bit too much so, lets make sure you use the correct value.
The formula for computing the output shape is:
o = s*(i - 1) + a + k - 2*p
k: kernel size
s: stride
i: input size
o: output size
p: padding
a: inner border
Since we know the output shape, it's easy to calculate the value of a. Please double check if that's the case or else we'll need also the input/output shapes (just the shapes), padding and stride values in order to reproduce the test in our side.

Hi @kuladeep2706
Could you please try to reduce the shape to something like [4,4,2] (smaller easier to debug) and share all the input arguments you are passing to deconvolution.configure() as well as the output of ACL, the reference values and the weights?
This might help to understand where the problem is.

Hi @mpekatsoula,
For weights tensor, is it sufficient to just reshape the weight blob that I get from caffe into [W, H, IFM, OFM] or should I apply any transformations on it? Some issues prior to this were mentioning flipping over WXH plane.
Also, I was setting output shape as o = s*(i - 1) + k - 2*p before, I will rectify this and mention the results.
Hi @morgolock,
I will write a validation test with a smaller output and mention the results.
Thanks.

Hi @mpekatsoula,
Can you confirm whether inner_border_right = dilation_data[0]*(this.kernel_shape.cpudata()[0]-1) + 1 as in caffe?
Using this I get the value as 4.

Hi @kuladeep2706
If I remember correctly caffe uses a different implementation, so the inner border should arrive from the formula I posted earlier.

HI @ssj4gogeta
Is it possible to share a simple example that reproduces your issue, alongside with the expected result?
Thanks

Closing, reopen if needed.


Array is empty, but the result of len() is 1.

Hi, could you provide some example code? Thanks.

json := { 		"code": 0, 		"data": null, 		"msg": "success" 	}
r := gjson.Get(json, "data")

a := r.Array()

fmt.Println(a[0].Value())

a[0] is nil


Issue67 exits full screen when hovering over page buttons

Codecov Report

Merging #70 (ec46f16) into main (91c8570) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main       #70   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           77        78    +1
  Lines         4579      4610   +31
=========================================
+ Hits          4579      4610   +31

Impacted Files
Coverage Δ

ScenarioGUI/gui_classes/gui_base_class.py
100.00% <100.00%> (ø)

ScenarioGUI/gui_classes/gui_combine_window.py
100.00% <100.00%> (ø)

...test_gui_structure_elements/test_results_figure.py
100.00% <100.00%> (ø)

tests/test_main_window_functions/test_resize.py
100.00% <100.00%> (ø)


What if Context objects became the interface between the engine and rendering?

Following on from an idea in #38 of putting references into Context so that @context_funcs can access them, what if the Context was also passed into renderers instead of the current mish-mash of engine, node, references and global names?
Other than possibly just being neater, another key advantage of doing this would be allowing renderers to update the warnings and errors sets. At the moment, there's no good way for renderers to log problems that wouldn't spam the console on each frame, so they tend to just eat errors and forget about them.

Ways that engine is currently used by renderers:

physics uses .target_fps and .state
controller.driver uses .state and .counter, plus calls .has_next_page(), .next_page(), .has_previous_page() and .previous_page()
controller.push2 uses .counter
window uses .state and calls .next_page() and .previous_page()

Engine's .state is in the Context already and .target_fps is in the names dictionary. Adding the counter into the context sounds reasonable. The page stuff probably needs abstracting into a better concept of actions (or events?) that would make it easier for controllers to trigger things.
There is probably also an argument for having BeatCounter become part of flitter.model.


changed listenerexecution. wrapped with try catch block

looks good, but I don't have rights to merge ;)