Cql testing overhaul cleanup

This PR is to get the cql_testing_overhaul branch ready to incorporate into version 2.1 by cleaning up unused fixtures and removing some checks for cql that are no longer applicable.
Pull requests into Bonnie require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[x] This pull request describes why these changes were made.
[x] This PR is into the correct branch.
[x] JIRA ticket for this PR: https://jira.mitre.org/browse/BONNIE-1287
[x] JIRA ticket links to this PR
[x] Code diff has been done and been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[x] If UI changes have been made, google WAVE plug-in has been executed to ensure no 508 issues were introduced. N/A
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)
[x] Code coverage has not gone down and all code touched or added is covered.

Branch
Back End Tests
Front End Tests

cql_testing_overhaul
1462 / 1673 LOC (87.39%) covered.
Statements   : 47.25% ( 4456/9431 )  Branches     : 28.02% ( 1078/3847 )  Functions    : 37.22% ( 692/1859 )  Lines        : 44.57% ( 3938/8835 )

cql_testing_overhaul_cleanup
1462 / 1673 LOC (87.39%) covered.
Statements   : 47.3% ( 4451/9410 )  Branches     : 27.99% ( 1073/3833 )  Functions    : 37.26% ( 692/1857 )  Lines        : 44.62% ( 3933/8814 )

[x] Automated regression test(s) pass

If JIRA tests were used to supplement or replace automated tests:

[x] JIRA test links: N/A
[x] Justification for using JIRA tests: N/A
[x] JIRA tests have been added to sprint N/A

Reviewer 1:
Name: @mayerm94

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[x] JIRA tests have been run and pass
[x] You agree with the justification for use of JIRA tests or have provided input on why you disagree

Reviewer 2:
Name: @c-monkey

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[x] JIRA tests have been run and pass
[x] You agree with the justification for use of JIRA tests or have provided input on why you disagree

CI failing for bundle-audit; issues resolved in master branch, but not merged into v2.1 yet.


the textarea is so small on cellphone

the textarea is so small on cellphone
how to make the area fill the whole page?

Same issue here. How we can fix it?
Thanks!

In desktop mode too: there is a lot of unused white space ad the left, right and bottom of the book pages.


error idk what this means

exiting due to 0

Usually your config file is incorrect lines above this might state the actual problem

Resolved this one, please update


Drachtio generates an ACK in response to 200 OK on an OPTIONS message

200.pcap.zip
How the message is getting proxied
     return await srf.proxyRequest(req, [destUri], { provisionalTimeout: '2s', finalTimeout: '3s'});
The messaging between the node and the drachtio-server
(the sip traffic in attachment)
interface: lo (<IP_ADDRESS>/<IP_ADDRESS>)
filter: (ip or ip6) and ( port 9022 )
###
T <IP_ADDRESS>:9022 -> <IP_ADDRESS>:56140 [AP]
555#e1b83f90-04f3-4c9f-8f44-3bf70fa0f9fd|sip|network|400|udp|<IP_ADDRESS>|5060|09:08:53.370244|28b2a066-698f-4a75-bb36-447cd010b6ff||<IP_ADDRESS>|5060|.
OPTIONS sip:service@<IP_ADDRESS>:5060;ruri=sip:<IP_ADDRESS>:5060 SIP/2.0.
Via: SIP/2.0/UDP <IP_ADDRESS>:5060;branch=z9hG4bK-14469-1-0;rport=5060.
From:  <sip:55555@<IP_ADDRESS>:5060>;tag=1.
To: sut <sip:service@<IP_ADDRESS>:5060>.
Call-ID<EMAIL_ADDRESS>CSeq: 1 OPTIONS.
Contact: sip:sipp@<IP_ADDRESS>:5060.
Max-Forwards: 70.
Subject: Performance Test.
Content-Type: text/plain.
Content-Length:    18.
.
  DIE! DIE! DIE!.

##
T <IP_ADDRESS>:56140 -> <IP_ADDRESS>:9022 [AP]
185#37438bd1-fc94-4883-8ea1-4b323a4e30c2|proxy|28b2a066-698f-4a75-bb36-447cd010b6ff||fullResponse||serial|2s|3s|sip:<IP_ADDRESS>:5060.
OPTIONS sip:<IP_ADDRESS>:5060 SIP/2.0.
Content-Length: 0.
.

#
T <IP_ADDRESS>:9022 -> <IP_ADDRESS>:56140 [AP]
527#5d609e18-97a1-45a1-bbd2-d79bddece454|response|37438bd1-fc94-4883-8ea1-4b323a4e30c2|OK|network|382|udp|<IP_ADDRESS>|5060|09:08:53.378802|||continue.
SIP/2.0 200 OK.
Via: SIP/2.0/UDP <IP_ADDRESS>;rport;branch=z9hG4bK20100373-f1ae-417b-9b6a-638923fada1b, SIP/2.0/UDP <IP_ADDRESS>:5060;branch=z9hG4bK-14469-1-0;rport=5060.
Call-ID<EMAIL_ADDRESS>From: <sip:55555@<IP_ADDRESS>:5060>;tag=1.
To: sut <sip:service@<IP_ADDRESS>:5060>;tag=2.
CSeq: 1 OPTIONS.
Contact: <sip:736596371553211257@<IP_ADDRESS>:5060;user=phone>.
Content-Length:     0.
.

##
T <IP_ADDRESS>:9022 -> <IP_ADDRESS>:56140 [AP]
90#621d92cc-4fba-4cb2-9bf5-8f28fcc715e2|response|37438bd1-fc94-4883-8ea1-4b323a4e30c2|OK|done

if a 503 is sent, drachtio does not send an ack

#168 should resolve this issue

can you modify that PR to be for the main branch?  develop was deprecated some time ago, please use main

done
On Thu, Aug 5, 2021 at 1:48 PM Dave Horton @.***> wrote:

can you modify that PR to be for the main branch? develop was deprecated
some time ago, please use main
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/drachtio/drachtio-server/issues/167#issuecomment-893394546,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABCUPI2QFUX7WIXTW3SLBNLT3J3ADANCNFSM5BQVDEEA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


acos() returns a value outside of [0,pi] for negative values and panics on zero

I passed in a slightly negative value, -0.09557510558, and got a very unexpected value near -1.5. The correct output should be near +1.6 (i.e. close to +90 degrees).
I had intended to pass in 0.0, with an expected output of +1.57 (+90 degrees), but when I tried that, I got a panic. (The approximation is dividing by zero.)
There are hints in the associated StackExchange article (referenced in acos.rs) that suggest a fix for this.

If you think it would be useful, I could add some table-driven tests for some of the functions, like acos(), that don't have them.

@timboldt absolutely, that'd be great!
FYI, I'm about to land a pretty major refactor (#75), so maybe give me an hour or so.

https://github.com/tarcieri/micromath/pull/79


VS30063: You are not authorized to access on computer "B"

Have you tried trouble shooting?
Yes
Agent Version and Platform
Version: 2.117.2
OS of the machine running the agent? OSX/Windows/Linux/...
Windows Server 2012 R2(where TFS is installed) and Windows 10(Where I try to add agent build)
VSTS Type and Version
TFS 2017 update 2
What's not working?
I´m working with TFS 2017 update 2(Installed on computer "A") and I need to add an agent build(on computer "B"), I downloaded the agent in computer B and when when I'm setting it up I enter the tfs url and authentication integrated this message is showed:
Enter server URL > http://servertfs:8080/tfs
Enter authentication type (press enter for Integrated) >
Connecting to server ...
VS30063: You are not authorized to access http://servertfs:8080.
Failed to connect.  Try again or ctrl-c to quit

if I do the same on computer "A" this work without problems, but I need the agent on computer "B", I tried with PAT and alt authentication types but I can´t add the agent build this is an example:
Enter server URL > http://servertfs:8080/tfs
Enter authentication type (press enter for Integrated) > PAT
Enter personal access token > *************************************************************
Connecting to server ...
Basic authentication requires a secure connection to the server.
Failed to connect.  Try again or ctrl-c to quit

Any suggestion on how to solve this?... thanks in advance.
Agent and Worker's Diagnostic Logs
[2018-12-11 17:45:19Z INFO AgentProcess] Agent is built for Windows - win7-x64.
[2018-12-11 17:45:19Z INFO AgentProcess] RuntimeInformation: Microsoft Windows 10.0.17134 .
[2018-12-11 17:45:19Z INFO AgentProcess] Version: 2.117.2
[2018-12-11 17:45:19Z INFO AgentProcess] Commit: 38c028a22fde25ec5deff999b2518392ba750446
[2018-12-11 17:45:19Z INFO AgentProcess] Culture: en-US
[2018-12-11 17:45:19Z INFO AgentProcess] UI Culture: en-US
[2018-12-11 17:45:19Z INFO HostContext] Well known directory 'Bin': 'C:\agent\bin'
[2018-12-11 17:45:19Z INFO HostContext] Well known directory 'Root': 'C:\agent'
[2018-12-11 17:45:19Z INFO AgentProcess] Validating directory permissions for: 'C:\agent'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Generation: '1'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine', value name 'PowerShellVersion': '2.0'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Unsupported version. Skipping.
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Generation: '3'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', value name 'PowerShellVersion': '5.1.17134.1'
[2018-12-11 17:45:19Z INFO PowerShellExeUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\3\PowerShellEngine', value name 'ApplicationBase': 'C:\Windows\System32\WindowsPowerShell\v1.0'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework', value name 'InstallRoot': 'C:\Windows\Microsoft.NET\Framework64'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'SOFTWARE\Microsoft\NET Framework Setup\NDP' contains sub keys:
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'CDF'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'v2.0.50727'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'v3.0'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'v3.5'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'v4'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'v4.0'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727', value name 'Version': '2.0.50727.4927'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Testing directory: 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Found version: 2.0.50727
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0', value name 'Version': '3.0.30729.4926'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Testing directory: 'C:\Windows\Microsoft.NET\Framework64\v3.0'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Found version: 3.0
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5', value name 'Version': '3.5.30729.4926'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Testing directory: 'C:\Windows\Microsoft.NET\Framework64\v3.5'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Found version: 3.5
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4', value name 'Version' is null.
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4', value name '' is null.
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v4' contains sub keys:
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'Client'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  'Full'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Version': '4.7.03056'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'InstallPath': 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client', value name 'Release': '461808'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Type is System.Int32
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Interpreted version: 4.6.2
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Version': '4.7.03056'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Install': '1'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'InstallPath': 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full', value name 'Release': '461808'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Type is System.Int32
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Interpreted version: 4.6.2
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.0', value name 'Version' is null.
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Key name 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4.0', value name '': 'deprecated'
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Found 5 versions:
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  2.0.50727
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  3.0
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  3.5
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  4.6.2
[2018-12-11 17:45:19Z INFO NetFrameworkUtil]  4.6.2
[2018-12-11 17:45:19Z INFO NetFrameworkUtil] Testing for min NET Framework version: '4.5'
[2018-12-11 17:45:19Z INFO CommandLineParser] Parse
[2018-12-11 17:45:19Z INFO CommandLineParser] Parsing 1 args
[2018-12-11 17:45:19Z INFO CommandLineParser] parsing argument
[2018-12-11 17:45:19Z INFO CommandLineParser] HasArgs: False
[2018-12-11 17:45:19Z INFO CommandLineParser] Adding Command: configure
[2018-12-11 17:45:20Z INFO AgentProcess] Arguments parsed
[2018-12-11 17:45:20Z INFO VstsAgentWebProxy] No proxy setting found.
[2018-12-11 17:45:20Z INFO Agent] ExecuteCommand
[2018-12-11 17:45:20Z INFO ConfigurationStore] currentAssemblyLocation: C:\agent\bin\Agent.Listener.dll
[2018-12-11 17:45:20Z INFO ConfigurationStore] binPath: C:\agent\bin
[2018-12-11 17:45:20Z INFO ConfigurationStore] RootFolder: C:\agent
[2018-12-11 17:45:20Z INFO ConfigurationStore] ConfigFilePath: C:\agent.agent
[2018-12-11 17:45:20Z INFO ConfigurationStore] CredFilePath: C:\agent.credentials
[2018-12-11 17:45:20Z INFO ConfigurationStore] ServiceConfigFilePath: C:\agent.service
[2018-12-11 17:45:20Z INFO CommandSettings] Flag 'help': 'False'
[2018-12-11 17:45:20Z INFO CommandSettings] Flag 'version': 'False'
[2018-12-11 17:45:20Z INFO CommandSettings] Flag 'commit': 'False'
[2018-12-11 17:45:20Z INFO CommandSettings] Command 'configure': 'True'
[2018-12-11 17:45:20Z INFO ConfigurationManager] ConfigureAsync
[2018-12-11 17:45:20Z INFO ConfigurationStore] IsConfigured()
[2018-12-11 17:45:20Z INFO ConfigurationStore] IsConfigured: False
[2018-12-11 17:45:20Z INFO ConfigurationManager] Is configured: False
[2018-12-11 17:45:20Z INFO NetFrameworkUtil] Testing for min NET Framework version: '4.6'
[2018-12-11 17:45:20Z INFO CommandSettings] Flag 'machinegroup': 'False'
[2018-12-11 17:45:20Z INFO CommandSettings] Flag 'deploymentgroup': 'False'
[2018-12-11 17:45:20Z INFO ExtensionManager] Getting extensions for interface: 'Microsoft.VisualStudio.Services.Agent.Listener.Configuration.IConfigurationProvider'
[2018-12-11 17:45:20Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider, Agent.Listener
[2018-12-11 17:45:20Z INFO ExtensionManager] Creating instance: Microsoft.VisualStudio.Services.Agent.Listener.Configuration.DeploymentGroupAgentConfigProvider, Agent.Listener
[2018-12-11 17:45:20Z INFO Terminal] WRITE LINE:
[2018-12-11 17:45:20Z INFO Terminal] WRITE LINE: >> Connect:
[2018-12-11 17:45:20Z INFO Terminal] WRITE LINE:
[2018-12-11 17:45:20Z INFO CommandSettings] Arg 'url': ''
[2018-12-11 17:45:20Z INFO CommandSettings] Flag 'unattended': 'False'
[2018-12-11 17:45:20Z INFO PromptManager] ReadValue
[2018-12-11 17:45:20Z INFO Terminal] WRITE: Enter server URL >
[2018-12-11 17:45:20Z INFO Terminal] READ LINE
[2018-12-11 17:45:33Z INFO Terminal] Read value: 'http://servertfs:8080/tfs'
[2018-12-11 17:45:33Z INFO ConfigurationManager] GetCredentialProvider
[2018-12-11 17:45:33Z INFO CommandSettings] Arg 'auth': ''
[2018-12-11 17:45:33Z INFO CommandSettings] Flag 'unattended': 'False'
[2018-12-11 17:45:33Z INFO PromptManager] ReadValue
[2018-12-11 17:45:33Z INFO Terminal] WRITE: Enter authentication type (press enter for Integrated) >
[2018-12-11 17:45:33Z INFO Terminal] READ LINE
[2018-12-11 17:45:50Z INFO Terminal] Read value: ''
[2018-12-11 17:45:50Z INFO PromptManager] Falling back to the default: 'Integrated'
[2018-12-11 17:45:50Z INFO ConfigurationManager] Creating credential for auth: Integrated
[2018-12-11 17:45:50Z INFO CredentialManager] GetCredentialProvider
[2018-12-11 17:45:50Z INFO CredentialManager] Creating type Integrated
[2018-12-11 17:45:50Z INFO CredentialManager] Creating credential type: Integrated
[2018-12-11 17:45:50Z INFO IntegratedCredential] GetVssCredentials
[2018-12-11 17:45:50Z INFO ConfigurationManager] cred retrieved
[2018-12-11 17:45:50Z INFO Terminal] WRITE LINE: Connecting to server ...
[2018-12-11 17:45:50Z INFO AgentServer] Catch exception during connect. 4 attemp left.
[2018-12-11 17:45:50Z ERR  AgentServer] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://servertfs:8080.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__451.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
[2018-12-11 17:45:51Z INFO AgentServer] Catch exception during connect. 3 attemp left.
[2018-12-11 17:45:51Z ERR  AgentServer] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://servertfs:8080.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__451.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
[2018-12-11 17:45:51Z INFO AgentServer] Catch exception during connect. 2 attemp left.
[2018-12-11 17:45:51Z ERR  AgentServer] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://servertfs:8080.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__451.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
[2018-12-11 17:45:51Z INFO AgentServer] Catch exception during connect. 1 attemp left.
[2018-12-11 17:45:51Z ERR  AgentServer] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://servertfs:8080.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__451.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
[2018-12-11 17:45:51Z INFO CommandSettings] Flag 'unattended': 'False'
[2018-12-11 17:45:51Z ERR  Terminal] WRITE ERROR (exception):
[2018-12-11 17:45:51Z ERR  Terminal] Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: VS30063: You are not authorized to access http://servertfs:8080.
at Microsoft.VisualStudio.Services.Common.VssHttpMessageHandler.d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Common.VssHttpRetryMessageHandler.<SendAsync>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Net.Http.HttpClient.<FinishSendAsync>d__58.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.d__48.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.WebApi.VssHttpClientBase.<SendAsync>d__451.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Microsoft.VisualStudio.Services.Location.Client.LocationHttpClient.<GetConnectionDataAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.VisualStudio.Services.WebApi.Location.VssServerDataProvider.d__41.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.AgentServer.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.BuildReleasesAgentConfigProvider.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.VisualStudio.Services.Agent.Listener.Configuration.ConfigurationManager.d__7.MoveNext()
[2018-12-11 17:45:51Z ERR  Terminal] WRITE ERROR: Failed to connect.  Try again or ctrl-c to quit
[2018-12-11 17:45:51Z INFO CommandSettings] Arg 'url': ''
[2018-12-11 17:45:51Z INFO CommandSettings] Flag 'unattended': 'False'
[2018-12-11 17:45:51Z INFO PromptManager] ReadValue
[2018-12-11 17:45:51Z INFO Terminal] WRITE: Enter server URL >
[2018-12-11 17:45:51Z INFO Terminal] READ LINE

@FerAguilarR93 what's the network between A and B? are they in same domain? Integrate auth only work for machine within trusted domain.

Thank you for your quick reply, the computers are in the same domain I can make a ping and I can access by web tfs site from computer B (where I try to add the agent build)

I don´t have a proxy and I tried to use PAT but still doesn't  work, this is the output:
PS C:\agent> set VSS_ALLOW_UNSAFE_BASICAUTH=true
PS C:\agent> ./config.cmd

>> Connect:

Enter server URL > http://servertfs:8080/tfs
Enter authentication type (press enter for Integrated) > PAT
Enter personal access token > *************************************************************
Connecting to server ...
Basic authentication requires a secure connection to the server.
Failed to connect.  Try again or ctrl-c to quit
Enter server URL >

@FerAguilarR93 sorry, your agent version is really old, do you might try grab the latest version here: https://github.com/Microsoft/azure-pipelines-agent/releases/tag/v2.142.1

Thank you for your help, I will try when I download de agent there are some stepts to install an configure but I need more documentation about this, can you give me some documentation for configure an agent build please?... and thank you very much.

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=vsts

I tried with the compiler v2.142.1 but still doesn´t work this is the ouput:
PS C:\> cd C:\agent
cd : Cannot find path 'C:\agent' because it does not exist.
At line:1 char:1
+ cd C:\agent
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\agent:String) [Set-Location], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

PS C:\> mkdir agent

    Directory: C:\

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
d-----        11-Dec-18  12:59 PM                agent

PS C:\> cd C:\agent
PS C:\agent> Add-Type -AssemblyName System.IO.Compression.FileSystem ; [System.IO.Compression.ZipFile]::ExtractToDirecto
ry("$HOME\Downloads\vsts-agent-win-x64-2.142.1.zip", "$PWD")
PS C:\agent> set VSS_ALLOW_UNSAFE_BASICAUTH=true
PS C:\agent> ./config.cmd

>> Connect:

Enter server URL > http://servertfs:8080/tfs
Enter authentication type (press enter for Integrated) >
VS30063: You are not authorized to access http://servertfs:8080.
Failed to connect.  Try again or ctrl-c to quit
Enter server URL > http://servertfs:8080/tfs
Enter authentication type (press enter for Integrated) > PAT
Enter personal access token > *************************************************************
Basic authentication requires a secure connection to the server.
Failed to connect.  Try again or ctrl-c to quit
Enter server URL >

@FerAguilarR93 since you are in powershell, you need to $env:VSS_ALLOW_UNSAFE_BASICAUTH = "true"

I applied the change but now I receive this message:
PS C:\agent> $env:VSS_ALLOW_UNSAFE_BASICAUTH = "true"
PS C:\agent> ./config.cmd

>> Connect:

Enter server URL > http://servertfs:8080/tfs
Enter authentication type (press enter for Integrated) > PAT
Enter personal access token > *************************************************************
TF400813: Recurso no disponible para el acceso anónimo. Se requiere autenticación del cliente.
Failed to connect.  Try again or ctrl-c to quit

But is so strange because I'm really really sure that in mi IIS Anonymous authentication is enabled https://lh3.googleusercontent.com/-rce5UleK_Mc/XBAMnYT_hUI/AAAAAAAABHI/chSAZlLmjO4xOGOmC62Ke_8P6gOP7XGdQCL0BGAYYCw/h168/2018-12-11.png, the same for TeamFoundationServer https://lh3.googleusercontent.com/-xa4-5RzWvV4/XBAM-A974vI/AAAAAAAABHQ/Wf2vr0WOdm4lx01MviHZNmsxBcdw0kJfACL0BGAYYCw/h241/2018-12-11.png

@FerAguilarR93 when you generate the PAT token, what permission/scope did you give to the token? make sure you give Pool management permission to it.

@FerAguilarR93 cool, glad you unblock, you can revoke the PAT token after configuration, the agent won't use it during normal execution.


fix(website): restore padding to Bootstrap default

TL;DR the tool chooser CSS is predicated on 1rem padding, not 2rem
We need to overwrite this: https://github.com/quarto-dev/quarto-cli/blob/v1.5.52/src/resources/formats/html/bootstrap/themes/flatly.scss#L68
See the problem:

It's correct on the Quarto website:

Now it looks good:

Also in dark mode:

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

Project coverage is 84.57%. Comparing base (3c2cc32) to head (614344d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #125   +/-   ##
=======================================
  Coverage   84.57%   84.57%
=======================================
  Files          24       24
  Lines        1867     1867
=======================================
  Hits         1579     1579
  Misses        288      288

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

LGTM, do you think it is OK to move the model selection from the top to  the Fit a model with a recipe, IMO, It make more sense to let the user select the model there, but feel free to make your decision.

LGTM, do you think it is OK to move the model selection from the top to the Fit a model with a recipe, IMO, It make more sense to let the user select the model there, but feel free to make your decision.

There's some model-specific preprocessing code (e.g. casts for PyTorch) in the earlier sections, hence have the picker at the top. Otherwise, I think lower down would be good.


Figure out a stratergy for non-master CD

For a tree structure such as git commits, it is impossible to use distance from last marker (git tags) as a unique identifier alone.
Consider tagging a v1.0 release, cutting a v1.0.x maintenance branch, and adding different commits to both the v1.0.x and master branches. Versioneer will choose v1.0+1 in both cases (with the appropriate git SHA). Only when the v1.0.x branch is merged back into master will master correctly reflect the appropriate version.
Figure out a strategy which can be used to uniquely identify the two.

One possible workaround - for all non-master branches put versions in the form v1.0+1 (current behaviour), but for master, add one to the minor version, and call it "pre" such that the version in this case is v1.1pre1. This correctly reflects that master has moved beyond v1.0 - looking at the branch name to figure this out is slightly unpalatable though...
@warner - do you have any thoughts on this?

Similar, but not quite: https://github.com/warner/python-versioneer/issues/49

>>> import distlib.version as v
>>> cases = ['0.2', '0.2.1', '0.2rc1', '0.2rc1.dev0', '0.2a1', '0.2b0', '0.2.post0', '0.2.post0.dev0', '0.2a0.post0', '0.2.dev0', '0.3.dev0']
>>> for vn in sorted([v.NormalizedVersion(case) for case in cases]):
...    print str(vn)
...
0.2.dev0
0.2a0.post0
0.2a1
0.2b0
0.2rc1.dev0
0.2rc1
0.2
0.2.post0.dev0
0.2.post0
0.2.1
0.3.dev0

Hm, that's tricky. I've only really considered a linear history (my personal preference is to make sure your tags are always reachable from 'master').. I've seen other projects put tags on side-branches, and the result is that you usually don't discover them (because git defaults to only pulling tags when they're pointing into the history you fetched anyways). Somehow I usually manage to avoid needing minimal-change maintenance branches.. not sure how :).
I guess the only revisions in question are the ones on the maintenance branch that are before anything gets tagged. What if you use a rule that the very first commit on the branch gets tagged, with either ".post0" or "NEXTVER.a1"?  There's always a question of whether a revision is "somewhere beyond X" or if it's "somewhat before Y", but I think maintenance branches are more in the latter category (you have a pretty good idea of what the next version string is going to be).
So if you've just tagged 1.0, and development has proceeded on trunk (looking towards 2.0, perhaps), and then you discover a need to make a 1.1 from the 1.0 tag, you do:

git checkout -b branch-1.1 v1.0
git commit -m "first change to branch"
git tag v1.1a1

Now everything else you do on branch-1.1 will be like "v1.1a1+DIST-gHASH", until you finally tag something with v1.1 for real. The only constraint is that you must have something ready to commit when you create the branch, and that the patch is good enough to justify getting a named revision (it's at least worthy of an alpha 1 tag). Hopefully maintenance branches are driven by very specific needs, so this might not be such a big constraint. It does sort of discourage "speculative maintenance branches", but maybe that's a good thing :).

Somehow I usually manage to avoid needing minimal-change maintenance branches.. not sure how

Maybe that is a sign you are releasing regularly enough. I work a lot on tools like matplotlib where our release cycles are particularly long, at which point patch versions are needed.

What if you use a rule that the very first commit on the branch gets tagged, with either ".post0" or "NEXTVER.a1"?  There's always a question of whether a revision is "somewhere beyond X" or if it's "somewhat before Y", but I think maintenance branches are more in the latter category (you have a pretty good idea of what the next version string is going to be

Completely agree with this. I've actually implemented something very close this in an automated fashion based on the versioneer style: I have a style called pep440_plus_one_dev which implements [TAG+1 of minor number][.devDISTANCE]. I had to script up the versioneer config switch based on a regexp for what a maintenance branch should look like, but could imagine setting something like this up in the config proper.
Will you be at SciPy'15 in a fortnight? Might be something worth talking about there if so.

alas I won't, but feel free to ping me to work out a style that we can upstream into versioneer, if that'd be helpful to you


Problem: trying to get non-existent header attribute

Before acc3973d34b012d7ba988fa355344a69a70f1707, there was an append attribute in headers, but it is gone now. However, it was still being retrieved. Valgrind pointed that out.
Solution: make it always set headers
I am not sure why append was removed. Unfortunately, I didn't record this decision in the aforementioned change.

Well, most likely, append was removed so that http_header can be extracted to omni_http to be used both by the client and the server. Question is: do we need to find a way to restore this functionality in the server?


'data-placeholder' does not work after adding ng-options

Chosen version : 1.6.1
angular-chosen : 1.4.0
<select class="" chosen="{width:'100%'}" multiple data-placeholder="Recepients" ng-model="recepients">
The 'data-placeholder' attribute works fine as long as ng-options is not added
<select class="" chosen="{width:'100%'}" multiple data-placeholder="Recepients" ng-model="recepients" ng-options="contact as contact.name for contact in contactBook">

data-placeholder no longer works

Hi @pranjal-goswami, thank you for using the directive and for openning an issue.
You must use the attributes: placeholder-text-multiple and placeholder-text-single instead.
Please check the example
<select class="" chosen="{width:'100%'}" multiple placeholder-text-multiple="Recepients"
ng-model="recepients" ng-options="contact as contact.name for contact in contactBook">
</select>

Hi @leocaseiro, thank you for your response.
I tried using the suggested attributed but it did not work. I have made this jsFiddle for your perusal

Hi @pranjal-goswami, I'm sorry, I actually forgot to mention that both placeholder-text-multiple and placeholder-text-single are expecting a bindable value, so you must use a string value or a variable:
<select class="" chosen="{width:'100%'}" multiple placeholder-text-multiple="'Recepients'"
ng-model="recepients" ng-options="contact as contact.name for contact in contactBook">
</select>

Or dynamic:
$scope.label = 'Recepients';

<select class="" chosen="{width:'100%'}" multiple placeholder-text-multiple="label"
ng-model="recepients" ng-options="contact as contact.name for contact in contactBook">
</select>

jsfiddle updated with both examples: https://jsfiddle.net/9d8n4zsf/

Thanks a lot!


Implement Fourier Ring Correlation calculation and trending display

What new features would you like to see implemented?
Implement Fourier Ring Correlation (FRC) calculation and trend plotting.
Can you provide some motivation for why this feature should be added?
The progression of the FRC resolution has been previously used in the literature as abort criterion to determine the endpoint of MINFLUX measurements.
Describe the solution you'd like
Having an additional option in the Time Inspector drop-down menu to plot the FRC resolution over the course of the acquisition.

Implemented in version 0.2.0.


Install firmware V0.5.0 on ESP32-S3-BOX3 (revision v0.2) not work (AEGHB-391)

Hi,
today I received my brand new ESP32-S£-BOX-3, and works very well.
after reading the real guides, I read that it is better to update the firmware so I ended up in this guide:
https://github.com/espressif/esp-box/blob/v0.3.0/docs/firmware_update.md#firmware-update-for-macos
I downloaded the ESP-BOX_Demo_EN_V0.5.0.bin file on my Mac and launched the various commands.

It does everything as directed but then the device no longer works! Black screen! I tried resetting, unplugging and reconnecting, but nothing.
Then I tried from Launchpad, I did ERASE FLASH but it gets stuck like this:

so i tried to install this:

but when I do RESET DEVICE from Console appen this

in loop.
Please help!! I am a newbie!!

Got it, I'll check this firmware today.

I just noticed this warning at the top of this page:
https://github.com/espressif/esp-box/blob/master/docs/firmware_update.md
Warning:
The firmware released in the latest Tag branch (Version v0.5.0) is only applicable to ESP32-S3-BOX and ESP32-S3-BOX-Lite. For users who have purchased ESP32-S3-BOX-3, we will release firmware updates during the project's progression. We suggest that users update the firmware via Espressif's online firmware flashing tool ESP Launchpad.
so what can I do now? Isn't there a way to restore the original image?

@SepuWeb please check the firmware is already updated onto the LaunchPad. Meanwhile you can also try to build the factory demo app by yourself by following the guidelines.

Temporarily closed due to the extended period of time with no response. Should you have additional questions or concerns, don't hesitate to reopen the issue.


Depend on core 2.18.2, tiledb-py 0.24.0, tiledb-r 0.22.0

Issue and/or context:
Changes:
Notes for Reviewer:

Codecov Report

Merging #1936 (dc1322c) into main (f9744fd) will increase coverage by 26.53%.
The diff coverage is 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1936       +/-   ##
===========================================
+ Coverage   63.07%   89.61%   +26.53%
===========================================
  Files         106       35       -71
  Lines       10048     3602     -6446
===========================================
- Hits         6338     3228     -3110
+ Misses       3710      374     -3336

Flag
Coverage Δ

python
89.61% <0.00%> (-0.13%)
:arrow_down:

r
?

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

Components
Coverage Δ

python_api
89.61% <0.00%> (-0.13%)
:arrow_down:

libtiledbsoma
∅ <ø> (∅)


[Azure Stack] Update the Azure PowerShell link

The previous link would download the version 1.2.2, which doesn't support api version Azure stack use. Replace use the download link for version 1.2.1 instead.

Hi @ostrich75, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (larryzh). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

#sign-off

Hi @ostrich75, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (larryzh). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@ostrich75 - See mail about working in the private repo, please


Limit Access to Service Configuration Fields for Tenants

Currently all service configuration fields are accessible in a service configuration but we will want to remove access to certain fields or limit responses for tenant customers.
Remove Access Examples:
DSCP
Geo DB Provider
Limit Response Examples:
Maximum IP addresses in DNS answer (0 means all) - want to limit to some max integer value and not allow "0".

The way we envision roles/capabilities working is like this (some of this work has already been done. i.e. the tables and apis to support part of this)
user has a role, role has N capabilities. capabilities map to API endpoints. for example:
john (a tenant customer) has

tenant admin role has
-- ds-read capabilitiy has access to
--- GET /api/deliveryservices (get all delivery services in tenant)
--- GET /api/deliveryservices/:id (get a specific ds)
-- ds-write capability has access to
--- POST /api/deliveryservices (create a delivery service)
--- PUT /api/deliveryservices/:id (update a specific delivery service)
--- DELETE /api/deliveryservices/:id (update a specific delivery service)
-- other capabilities...

so according to this john can create/update delivery services but there's nothing that says to what level. i.e. nothing says "let him create/update delivery services but not update the dscp or geoprovider properties".
that would be taking roles/capabilities to another level which could cause user permission management nightmares imo.
rather, we could create more APIs which serve as a subset of PUT /api/deliveryservices/:id and then assign those apis to john.

This seems like a generalization of #1565


grey noise?

Looking in the code, it seems like grey noise is not yet implemented. This results in plugs not yielding an output signal for grey. Is it planned? Thanks for the module! It is also an excellent module to study for those doing module development.

Hi, I'm indeed planning on implementing the grey noise. It should come in pretty soon, stay tuned :)

Added in commit cc09c4046f631e77ed00f3485083de750732d403.


Document minimum TLS requirements.

Users might decide to add minimum version requirements on their frontend load balancers, which can break federation to instances that don't said minimums.
Once we have that we should add a check to the federation tester to warn if the TLS requirements are too strict.

For some context major browsers are dropping support for TLS 1.0 and 1.1 this year[0][1][2][3].
[0] https://webkit.org/blog/8462/deprecation-of-legacy-tls-1-0-and-1-1-versions/
[1] https://security.googleblog.com/2018/10/modernizing-transport-security.html
[2] https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/
[3] https://blogs.windows.com/msedgedev/2018/10/15/modernizing-tls-edge-ie11/#OkGpBsuyj6XwhUEQ.97

Some more context; Conduit prefers compilation with rustle, which heavily prefers v1.3 over v1.2, though it still supports the latter.
A further comment; with the new global spec version release process, I think a sliding window of required TLS versions is possible per those versions, this way, matrix will stay "up to date" with newer TLS developments as they'd happen.


question: How to tag?

In spec, only keys are tagged, but in your lib values are too. What is correct?
p.s: 'm writing a Python Version

The latest spec is correct: the lib is out of date.
I'm in the process of rewriting the code for this version.

@tarcieri Ok, thanks!

See #5 (WIP)


#10878: add some test verbosity on failure

Description
This change just records to an in-heap log (PrintStream) what the test actually did, and then prints that full log on test failure (well, when the test knowingly throws a failing exception).
I also cleaned up the wildcard imports.

A little more context: this test seems not to reproduce on failure, so hopefully with this verbosity, when it does fail, we can reconstruct what happened.  But, it is also possible that merely adding this verbosity prevents failures (a Heisenbug).  If that happens we should revert this change and try something else ;)

There was a somewhat similar-behaving hard-to-reproduce fail here: #11755
Not all places in IndexWriter throw AlreadyClosedException on tragedy. sometimes other exceptions get thrown such as IllegalStateException. We didn't fix the root cause in that issue but we did fix the test.

and... just as a warning, for that issue, if you turned on verbose, it would no longer fail anymore. So it had the heisenbug quality to it as well.


Auto sell worms

Add auto sell uncommon worms

Okay

Okay

Looking forward for the update. Thank you for the bot, appreciate your effort :)

done

works like a charms, but it would be better to auto sell some worms instead of selling them all

added

Instead of setting the max auto sell amount, it's better to set the amount worms you want to keep.
example : i want to keep 3 uncommon, 4 common, 4 rare and and above that is not for sale.
if i have
uncommon: 5
common: 3
Rare: 6
it will auto sell 2 uncommon and 2 rare

Instead of setting the max auto sell amount, it's better to set the amount worms you want to keep.
example : i want to keep 3 uncommon, 4 common, 4 rare and and above that is not for sale.
if i have uncommon: 5 common: 3 Rare: 6 it will auto sell 2 uncommon and 2 rare

added

i set like this and all my worms got sell


Join hdf5 files

After training, I have got series of hdf5 file. How do I combine files hdf5 files after training?

There is no need to combine these weight files. Simply use the best model (according to validation loss) for prediction instead of the pre-trained model weights.18-4.06.hdf5.

okay... The one that I have trained with imdb is just 62 mb but the pretrained model that you have given is more than 300 mb and it has good accuracy too. may I know why is that ?

The model size depends on the image size --img_size in create_db.py and --depth / --width in train.py.
In the pre-trained model, these parameters were set to 64, 16, and 8 respectively.


Unify deploy GitHub action

As we switched from repository to organisational Github secrets PYPI_TOKEN is no longer available, instead pypi_password is used. In addition, I copied the workflow from pyiron_base in preparation for using the central pyiron GitHub actions https://github.com/pyiron/actions/


Fix[Te-14994]: Added lang3 dependency in pom.xmnl

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Enhancement] Shield Mechanic

Is your feature request related to a problem? Please describe.
I need to create a skill that gives the ally target a shield that absorbs a certain amount of damage, and also ends the effect after a certain amount of time. At the moment, creating such shields using ProSkillApi is not possible.
Describe the solution you'd like

Adding a mechanic that gives the target a shield or shield effect.
We need settings for the amount of damage absorbed, the type of damage, the duration of the shield.
It would also be a good option to see mechanics that remove/destroy this shield effect. To be able to create penetrating skills that will destroy shields.

Describe alternatives you've considered
I thought there was a way to implement this through Vanilla Minecraft's Consume effect, however it's too impractical and unstable.
Additional context
A good example of implementing any shield would be skills from League of legends or World of Warcraft. I will be glad to any additions from other users of ProSkillApi. From myself, without this mechanic, I can not imagine any support class on my server.
Examples from other games:

Type of damage needs to have a list of minecraft default damage causes as well as skillapi damage classifiers
Shields should have a visual representation of how much shield you actually have. Absorption is highly unreliable for this since its increments are too high and fills up your screen quite a lot. There are not a lot of good options other than giving us placeholders for them but that might be a bit more complex and might just be a whole another feature like giving us ability to turn values into usable placeholders (it parses last known value)
Should have the ability to stack with other shields but each one should dissapear on its own timer and the one that expires sooner is the first one to tank damage

Also, along with the mechanics of absorbing shields, it would be great to see the corresponding conditions, for the presence of a shield, such as damage, etc.

awesome idea

Great idea. It looks like it's going to be busy coming.

Could be done by using the vanilla Aabsorption anyways, but adding mechanics and conditions to handle it more precisely instead of just the Potion Mechanic and Potion Condition. Does that fix your concerns, @lordsrubka5?
Old issue I know, but it was brought up again now 👀

The message wasn't to me, but I'll reply because for several years now I've been just waiting for the shield functionality to be added to ProSkillAPI
How do you even imagine a shield realization with already available plugin features? If you try to build a skill that will protect the player for a certain amount of damage, it will be cheap and overloaded. Honestly, I don't even want to remember how some people tried to do it, simply because, there are a lot of things to specify and prescribe for it to work adequately. Everyone would be better off if we just added one mechanic, within which by running through 5 lines we got the mind-blowing result we wanted.


Request for Updated Model Link

I've encountered a problem while trying to access and use the model Stable Diffusion Inpainting. The link seems to be broken and I'm unable to access it properly. Is there an updated link or alternative available?
Here's what I've tried:

Directly accessing the link, but received a 404 error.
Checked my internet connection, which is fine.

If possible, I would appreciate an updated link or guidance on how to obtain this model. Thank you very much!
Looking forward to your reply!

Hi,
RunwayML removed their weights from Hugging Face, but no worries—the same ones are available at botp/stable-diffusion-v1-5-inpainting (just the access key changed). I've updated the inference_config.yaml, but I forgot to update the README—thanks for catching that! Let me know if the replacement proposed below fixes the issue, and thanks for your interest in our work!
# OLD MODEL KEY
model_id = "runwayml/stable-diffusion-inpainting"

# NEW MODEL KEY
model_id = "botp/stable-diffusion-v1-5-inpainting"

sd_pipeline = StableDiffusionInpaintPipeline.from_pretrained(
   model_id,  safety_checker=None, torch_dtype=torch.float32
)


Allow T() to support ":" and alternate scopes.

T() is used in lucid to access TensorFlow layers and nodes.
Previously, T("name") would be inferred to refer to import/name:0,
which didn't allow us to support scopes other than import or
tensors that weren't the first output of an op.

Pull Request Test Coverage Report for Build 403

4 of 5 (80.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 53.379%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lucid/optvis/render.py
4
5
80.0%

Totals

Change from base Build 397:
-0.002%

Covered Lines:
1469

Relevant Lines:
2752

💛  - Coveralls

Fixed email address! I've now signed.

Looks good! Only thought: I personally no longer use T, usually opting for a direct call to get_tensor_by_name. 🤷♂


Aesthetics_Human 是你们通过人体检测器从laion-Aesthetics中筛选出来的子集吗？

如题

Hi, @SummerTrains ! Thank you for your focus and sorry for the late reply.
The answer is yes. We use HigherHRNet trained on HumanArt (a multi-scenario human dataset) to filter the images.


Use canonical name for _.uniq in documentation

Sure, though I'd prefer to change the canonical form to _.unique.


Updated Replication Log

Setup:
java version "11.0.7" 2020-04-14 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
Python 3.8.2
Ubuntu 20.04
Issues that I encountered:
None

Please merge in master and resolve conflicts.


[WIP] RPC error handling refactor

Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?
In several RPC methods (referring to Starknet), they directly use .unwrap(), which would cause the application to crash if something goes wrong. Therefore, the goal is to eliminate the .unwrap() calls and also allow identifying the error that occurred in the JSON-RPC response (with its code and message).
Issue Number: #397
What is the new behavior?
The following modifications were made:

A modification was made to the /lib.rs file of the RPC, removing the .unwrap() calls.
BeerusApiError was completely refactored to be able to take error codes and custom messages from a JsonRpcError.
The Starknet Light Client was modified as follows:
The Eyre dependency was removed (debatable, but during the implementation, it caused more problems because the error code couldn't be retrieved with the existing code).
The client methods now return the JsonRpcError type of error, which provides flexibility to understand the error code and message. This allows transforming the error case into a BeerusApiError type error (without losing the original error message for transparency).
The Rust docs of all modified methods were updated.
Here are a few concerns that I have, and I would like to hear a second opinion:

Mainly in the lightclient/beerus.rs file:

Since we now return errors of type JsonRpcError, in several places where errors occur, I decided to use an error with code 520 because there wasn't a perfect match for the problem. On the positive side, if it fails, the error message will be transparent and declarative when it reaches the JSON-RPC response.
What do you think about the error conversion across layers: JsonRpcClientError (jsonrpc module) -> JsonRpcError (lightclient) -> BeerusApiError (beerus-rpc/api) -> Error (beerus-rpc/lib)?
I decided to remove Eyre from the client because, from that point on, we couldn't access the error code. This was because errors were constructed from a string, making error handling difficult from that point onwards.

To make these changes, I relied on starknet-rs for the messages, codes, and overall implementation structure.

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information
The errors will now be displayed in the following way:

One could say that the proposal is ready; I would like you guys to take a good look at it and give me your opinion. There some things that need to be adjusted (read PR description please).
The tests are broken due to the changes, but I wanted to show you the progress and start fixing the tests tomorrow.

Taking some time to look at it. I am also worried about this:
What do you think about the error conversion across layers: JsonRpcClientError (jsonrpc module) -> JsonRpcError (lightclient) -> BeerusApiError (beerus-rpc/api) -> Error (beerus-rpc/lib)?

Did you think of any potential solutions?


About the input occupancy

Hi, thanks for sharing the code
A quick question:
What is the exactly used method to transform the input point clouds to occupancy voxels as the network input?
From the implementation, if a voxel has at least one point inside of it, then the voxel is marked as 1. So no ray-casting is used here. However,  the comment here https://github.com/tarashakhurana/4d-occ-forecasting/blob/ff986082cd6ea10e67ab7839bf0e654736b3f4e2/model.py#L240 says the ray-casting is used and the space status is triple instead of binary.

Hi, thanks for the question! Unfortunately, the comment in the code is misleading and the input occupancy is binary. This is also explained in the paper in Section 3.

Hi, thanks for the question! Unfortunately, the comment in the code is misleading and the input occupancy is binary. This is also explained in the paper in Section 3.

Got it! Thanks for the quick reply


Updated platform support for 4.6.2

Updated platform support for 4.6.2
Internal Review URL 1
Internal Review URL 2
Internal Review URL 3
Internal Review URL 4
Suggested Reviewers
@vivmishra @mairaw

@rpetrusha FYI, resolved merge conflicts on this one


docs(general): Adding Security.md

As part of our Rules of Play the Security.md is mandatory, so I just wanted to add it :)

Coverage remained the same at 8.986% when pulling dd84a97d1f68bc9aa40ec25ef0a8764864bf6d67 on fokusferit:patch-1 into f44c8e1206d753bde743baf8f4ca3062713ee5b4 on zalando-incubator:master.

:+1:

thx!

👍


Travis build is failing

Looks like packages aren't being installed or imported correctly.

Fixed by adding installation of the 'nose' package to the working conda environment on travis.


ARROW-5323: [CI] Compress clcache files [skip travis]

It seems this makes the cache 8x smaller for a similar set of files.

+1, will self-merge.

+1


No render output with armature

After parenting an object to an armature, the object no longer renders. un-parenting allows the object to be rendered again. the same seems to be true for any object that is parented to a non-rendering object.  It seems like the "Restrict rendering" setting is propagated to the children when they should be independent settings.  Sorry if this is already a known issue, but i couldn't find anything about it.
There is also an issue with hair not using the bxdf that is assigned to it.  after watching user "Blender Nitidus" hair video, i see that my settings are the same, but unlike in the video, hair is always gray. emitter is using the shader, hair is not.
Also, I would like to say this project is amazing, and once issues like this are hammered out I will be buying a PRman license (and more processors!!) for sure.
Thanks for your amazing work!

Sorry was redoing the parent/child rib gen so that we only do motion blur on the parent if it's moving.  Should work now.


Support transaction writes to FlinkPravegaOutputFormat

Problem description
The current implementation of OutputFormat does not support transactional writes as mentioned in this PR https://github.com/pravega/flink-connectors/pull/183#discussion_r218579254. Provide an option to enable transactional writes to OutputFormat
Problem location
FlinkPravegaOutputFormat implementation
Suggestions for an improvement

revisit after FLINK-4256 is implemented in Flink .


claude: Internal Server Error

When using http://<IP_ADDRESS>:8000/claude
Output in server console:
Traceback (most recent call last):
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 408, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 84, in __call__
    return await self.app(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\fastapi\applications.py", line 289, in __call__
    await super().__call__(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in __call__
    raise exc
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\middleware\cors.py", line 83, in __call__
    await self.app(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
    raise exc
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 20, in __call__
    raise e
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 17, in __call__
    await self.app(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\starlette\routing.py", line 66, in app
    response = await func(request)
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\fastapi\routing.py", line 273, in app
    raw_response = await run_endpoint_function(
  File "D:\AI\WebAI-to-API\venv\lib\site-packages\fastapi\routing.py", line 190, in run_endpoint_function
    return await dependant.call(**values)
  File "D:\AI\WebAI-to-API\src\main.py", line 546, in ask_claude
    claude = Client(cookie)
  File "D:\AI\WebAI-to-API\src\claude.py", line 14, in __init__
    self.organization_id = self.get_organization_id()
  File "D:\AI\WebAI-to-API\src\claude.py", line 34, in get_organization_id
    uuid = res[0]['uuid']
KeyError: 0

P.S.
I was testing with curl.
But example_claude.py is ok

Fixed by changing "session_id": "session-ID" to "session_id": ""
But still, this exception is bug.

Instructions and example codes are now clearly fixed and available right now.

Indeed, you fixed instructions. But not the code - in case of wrong (or outdated) token value we still get exception.
It would be better to handle it, and return clear error message.
But again - it is not clear why we may need to specify the value already present in Config.conf?
It would be more useful to have ability to continue some previous conversation, specifying it's id.

I still don't understand how to get this session key.
The format is still not correct. When I copy all the values it appears like this:
   File "/usr/local/lib/python3.10/dist-packages/browser_cookie3/__init__.py", line 195, in __enter__
     self.__connection = open_dbus_connection()
   File "/usr/lib/python3/dist-packages/jeepney/io/blocking.py", line 332, in open_dbus_connection
     bus_addr = get_bus(bus)
   File "/usr/lib/python3/dist-packages/jeepney/bus.py", line 53, in get_bus
     return find_session_bus()
   File "/usr/lib/python3/dist-packages/jeepney/bus.py", line 42, in find_session_bus
     addr = os.environ['DBUS_SESSION_BUS_ADDRESS']
   File "/usr/lib/python3.10/os.py", line 680, in __getitem__
     raise KeyError(key) from None
KeyError: 'DBUS_SESSION_BUS_ADDRESS'

You only need sessionKey.


When will cdk eill be made available for production use cases

Anyone here knows if aws has a roadmap for when it will reach a stable version and will be suitable for production use cases?

We generally don’t share specific dates for unreleased products, but are aiming for Q3 this year to launch CDK GA. We are in the process of running usability studies to identify rough edges and scoping end-to-end use cases so that we have confidence in a product that will meet our customer’s expectations for high quality and a delightful developer experience.


How to update?

Hello,
I am a proud user of this theme and I wanted to tell you it is one of the best I have seen. It is minimal and cool at the same time. So congratulation and keep up the good work. 😄
I wante to ask you how can I update my blog to use the current version of you theme. I usually make a backup of the entire blog, delete the old repo, refork your repo and reupload the settings file and blog files. I know there is a simpler way and I would appreciate if you could help me.
Thanks in advance and Cheers!! 🍻 😄

Hi, thanks :)
I think you can just clone your existing blog repo to your local machine
git clone https://github.com/diskmanti/diskmanti.github.io.git
Delete all the files except for _posts folder.
Then just copy all the new files to the existing folder.
then commit and push
You'll have to update about section since It was moved to _data/about.yml if you need it.
Check all the data files inside _data/ after update.

Hello,
Thanks for the feedback. 😄


Add metric and stat entity

Signed-off-by: Vijayan Balasubramanian<EMAIL_ADDRESS>Description
Add metric and stat entity
Issues Resolved
#53
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #54 (5c1da12) into main (910108d) will decrease coverage by 0.48%.
The diff coverage is 91.25%.

@@             Coverage Diff              @@
##               main      #54      +/-   ##
============================================
- Coverage     88.82%   88.33%   -0.49%
- Complexity      102      119      +17
============================================
  Files            15       18       +3
  Lines           331      403      +72
  Branches         27       29       +2
============================================
+ Hits            294      356      +62
- Misses           33       43      +10
  Partials          4        4

Impacted Files
Coverage Δ

...n/upload/geojson/UploadGeoJSONTransportAction.java
0.00% <ø> (ø)

...rch/geospatial/action/upload/geojson/Uploader.java
90.74% <80.00%> (-9.26%)
:arrow_down:

...l/action/upload/geojson/UploadGeoJSONResponse.java
86.48% <86.48%> (ø)

...nsearch/geospatial/action/upload/UploadMetric.java
100.00% <100.00%> (ø)

...ensearch/geospatial/action/upload/UploadStats.java
100.00% <100.00%> (ø)

...ial/action/upload/geojson/UploadGeoJSONAction.java
100.00% <100.00%> (ø)

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 93df8c1...5c1da12. Read the comment docs.


Avoid closing tab without confirmation when terminal is open

Is your feature request related to a problem? Please describe.
When using a terminal emulator window in Rancher, pressing Ctrl+W immediately closes the browser window/tab without confirmation.
On regular terminal emulators, that keyboard shortcut usually removes the last word which is why I regularly type it out of habit -- and lose my terminal sessions on Rancher regularly.
Describe the solution you'd like
I understand that, due to security limitations, the Ctrl+W keypress can not be captured to handle via Rancher's terminal emulator.
However, we can ask the user to confirm closing the browser window, and ideally avoid closing windows unintentionally. Example:
window.addEventListener('beforeunload', () => { return 'Really close window?' });

That event handler could obviously be a bit smarter, and maybe skip confirmation if no terminal windows are open.
Describe alternatives you've considered
Removing the W key from my keyboard.
Additional context
https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event

I'm still quite surprised nobody has bumped up this issue one more time. Are there only two of us who are interested in this feature?


ice_cube from_ical parsing

First of all thanks for this very useful add-on to the icalendar gem. Perhaps the parsing icalendar code here should be replaced by just a call to the upcoming from_ical in ice_cube? See https://github.com/seejohnrun/ice_cube/pull/258/

Wow, good call. :+1:


Items "edit" without new auction

Is your feature request related to a problem? Please describe.
Add the ability to edit item without starting action once again.
a.    Example 1: raider got item, and second guy went afk and was like oh last peace of set and raider 1 is or with it. Now – we need to delete event, start new auction.
b.    Example 2: raider got item, but after that “oh oh wrong item” and we need to reset it again.
c.    Example 3: raider simply want to pass it to someone who wants it badly after discussion in discord.
Current to do: remove from events, start new auction, ask someone to bid quick again = more spam and more ML work.
Describe the solution you'd like
Open loot history -> right click item -> Edit -> change price / player -> save

I will get later with more discussion but your current solution is invalid.
Current to do: remove from events, start new auction, ask someone to bid quick again = more spam and more ML work.
You can actually re-award by clicking on player (while in raid) and typing /clm award [item link]/value

@SamMousa this somewhat corresponds to our Alt-Right Click discussion.  I'm starting to think that a lot of this could be solved by adding a award prompt (with dropdown limited only to players in raid). I think I will classify this under the UI rework.


Added c program to implement code for AUTOMORPHIC NUMBERS and added the Readme1.md file under the Automorphic Number folder of C - C++

Description
A comprehensive description about the Pull Request
Reference Issue number #(issue_no)
issue_no must refer to the issue related to this PR, visit here
Type of change
Choosing one or more options from the following as per the nature of your Pull request.
NOTE: Check boxes using [x]

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Documentation Update

Checklist:

[x] I have named my files and folder, according to this project's guidelines.
[x] My code follows the style guidelines of this project.
[x] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[x] I have commented on my code, particularly in hard-to-understand areas.
[x] I have created a helpful and easy to understand README.md, with problem description and my name.
[ ] I have included a requirements.txt file (if external libraries are required.)
[x] My changes do not produce any warnings.
[x] I have starred this repository.
[ ] I have added a working sample/screenshot of the script.
[x] I have checked for trailing spaces in file names and none have them.

I have added the c program to check for automorphic numbers under the folder automorphic number in the folder C - C++

@Isha2208 I had mentioned in issue that you can't contribute to this because it has already been assigned!


[Release] 2.5.0

This is for the 2.5.0 release. This is the biggest number of changes since 2.0, so I'm going to leave this pull request here to collect any feedback from users.
To build this into your project via CocoaPods:
pod 'Operations', :git => 'https://github.com/danthorpe/Operations.git', :branch => 'release/2.5.0'

and via Carthage:
github "danthorpe/Operations" "release/2.5.0"

Any feedback on a programming guide I've written would be most appreciated too. I'm trying out Readme.io for this as bit of an experiment. The biggest downside being that it's not in GitHub, although it does support suggested edits. We will see how it goes - might move the whole thing to this repository's wiki instead. At the moment, I'm most concerned about the content making sense and being complete.
If anyone has any issue with using this version, please comment here. Will hope to merge this in the next couple of days.

Current coverage is 64.76%

Merging #149 into master will increase coverage by +0.88% as of ffa57ff

@@            master    #149   diff @@
======================================
  Files           48      48
  Stmts         3353    2526   -827
  Branches         0       0
  Methods          0
======================================
- Hit           2142    1636   -506
  Partial          0       0
+ Missed        1211     890   -321

Review entire Coverage Diff as of ffa57ff

Powered by Codecov. Updated on successful CI builds.

I made some small inline comments, but I did have one larger issue. Is it just me, or does the custom logger not bring the operation name along with the message? I get this output when logging just the message when using my own logger:
2015-12-21 05:32:08.481: Executing -> Finishing
2015-12-21 05:32:08.482: Did finish with no errors.
2015-12-21 05:32:08.482: Finishing -> Finished

@jshier yes - I think you are right. Two options:

Format the operation into the message before passing it to the logger block
Pass the operation name into the logger block as a separate argument

I guess 2 is best right?

@jshier good catch, r.e. operation name - not sure how I missed this, but it shouldn't have been showing up using the built in logger either. Whoops! Should be fixed now for built-in and custom block. Although went with option 1 not 2.


Harp Core "DUMP" implementation is incorrect

Writing a 1 to the DUMP bit field in the R_OPERATION_CTRL register is supposed to send out one harp reply message per register, not one harp reply with a payload containing all register contents. This nuance isn't really captured in the current docs, so it's worth clearing that up too.

A first-pass at that is here:
https://github.com/AllenNeuralDynamics/harp.core.rp2040/blob/bugfix/dump_behavior/firmware/src/harp_core.cpp#L293

This is fixed now.


Question: asyncio mode

Hi,
Looking at the examples, I see that every callback method in asyncio mode ends with await asyncio.sleep(0).
Is this a must? doesn't the event loop "see" that the task ended?
Regards,
Chai

Hi,
This is only to show that the async methods can indeed "call" async functions. Obviously, in real world cases, you would actually await something (subprocess command termination, read/write from/to non-blocking socket, etc.).
If you don't need to await anything in the callbacks, it is better to use regular (non async) functions then.
Note that you can also use asyncio_register=True with regular functions. The only difference is that libsysrepo.so does not create a thread and that the asyncio event loop is responsible of monitoring the subscription event pipe file descriptor and calling your registered callback.
https://github.com/sysrepo/sysrepo-python/blob/v0.1.3/sysrepo/subscription.py#L85-L87
https://github.com/sysrepo/sysrepo-python/blob/v0.1.3/sysrepo/subscription.py#L118-L122
When asyncio_register=True and the callback is an async function, it is scheduled for execution in asyncio event loop and SR_ERR_CALLBACK_SHELVE is returned to libsysrepo.so:
https://github.com/sysrepo/sysrepo-python/blob/v0.1.3/sysrepo/subscription.py#L235-L236

Thanks for the detailed answer!


Create default parameter for word at point

In emacs, if I put the cursor on a symbol and invoke (via the menu) any command that needs a one word symbol (such as ghc-mod find command), the word that point is on should be provided.
But perhaps this should always be sent through, in the same way we always send through the file name, start or region and end of region, if they are set.
It could be a standard variable "word-under-cursor" or some such.
Thoughts?

This makes sense to me.  Ideally, we'd have a precise spec for the expected behavior of a given editor's word-under-cursor.  In particular:

Include name qualification (handling bizarre cases like A.b.C.d, which is really A.b . C.d)

Also provide operator-at-point

The alternative to having a precise spec for expected behavior is to base it off syntax highlighting tokens.  This could make it easier to implement for some editors, but it also makes it less likely to behave consistently between them.  I also prefer something that's based on local text, as it's potentially quite handy to do queries on identifiers within comments.
Declaration-At-Point
It'd also be handy to have a "declaration-at-point" function, which makes a guess of the text span corresponding to the current declaration.  This would be useful for adding structured-haskell-mode / hindent support, as that's how they work (allowing them to work even when the file doesn't compile).  It'd also be useful for things like giving
I realize this could be controversial, but I suggest that "declaration-at-point" be specified to be a simple guess that works for normal haskell styles.  It would find the start of the declaration by looking for a place where column 0 has a character in it, ignoring lines that start with --, {-, #, or |].  Finding the end of the declaration works similarly, but doesn't include the line that starts at column 0.
It might be worthwhile to try to do something special about {- -} and [qqs|  |], but I don't think the added complexity is worth it.

I think having it work on a symbol in a commented out stretch of code could be useful. So keeping it simple may be beneficial. At the end of the day, the user places the cursor, and asks a question. They must have some idea that it is something worth looking up.

What I would like is a prompt that asks for that parameter and uses the one under point if none is specified. This way we only need one command which also means we only need one keybinding (you run out of those at some point :)) and the overhead is literally pressing the return key a single time if you don’t want to change it.

So that also means that I don’t think we should always send it.

I like that idea a lot @cocreature

What I would like is a prompt that asks for that parameter and uses the one under point if none is specified.

It seems to me like the main utility of identifier-at-point is that it works even when the current file doesn't compile (and potentially works with things that don't get compiled, like strings and comments).  Since you can just type into the buffer and query from that, I think I prefer not prompting by default.
Of course, this is a matter of discretion for the editor integrator.  While HIE can have some documentation with suggestions for how editors behave, this sort of thing should be left up to the editor plugin author / the user's configuration.

@mgsloan Do you think the overhead of pressing Return is too big for the case where you don’t want to change it? For the case where I want to change it typing something into a file just to be able to run a command on it feels really weird.

So if we go for not prompting by default I want a function that does prompt by default.

Yeah, having a prompt could indeed work well for some commands. Only one way to find out - try it and see how it feels.
This stuff should definitely be customizable, at least in the emacs implementation.

We could go for not prompting by default unless a prefix argument (C-u) is specified. That seems like a good compromise.

One of the drivers for this function would be to place the cursor on a variable and press a hot-key to get its type, without having to enter additional information. So a direct option is important.
Perhaps we could extend the parameter tylpes in the spec to include "symbol at point", either in the context definitions or in the additional params. And declaration at point etc.

To be honest I think the type example is not that good since type info can better be done by providing a point than a name, but I’m already sold to make the default not prompting and use the prefix argument to activate the prompt.
I would prefer symbol at point to be a normal parameter in additional params, but I don’t have very strong feelings there. When it comes to declaration at point, I am not completely sure how easy it is to parse the declaration for the IDE so I could imagine that we do the parsing once on the HIE side so the editor just provides the point and a flag and then HIE figures out which declaration this point belongs to. But this is getting off the original discussion here, so let’s discuss that separately.

Emacs has thing-at-point:
http://www.gnu.org/software/emacs/manual/html_node/elisp/Buffer-Contents.html#index-thing_002dat_002dpoint
Note that thing-at-point needs to be thought how to span Haskell things.
There is haskell-lexeme.el file in haskell-mode that has the needed
functionality.

Also note that forward-sexp (C-M-f) works correctly, backward-sexp is missing though.

To be honest I think the type example is not that good since type info can better be done by providing a point than a name

When the current module doesn't compile, we should still be able to give a form of type info for imported identifiers.  Ideally, we'd be able to have info about imports regardless of whether a module compiles or not.  We have such information in ide-backend, though IIRC it might be info from the last successful compile of the module.
Usecases like this are what make me thing that it shouldn't prompt by default.  The only time when the prompt is useful is when the current module doesn't compile (so might as well type the identifier you're interested in into the buffer).

Superseded by move to LSP


Allow any order for command line options

Currently they must be specified in order.
Enable global options for config / debug.

one specific bug is that now duqtools -c new.yaml init does not work as the -c command is not passed to init


[FEA] Improve coalesce performance

Is your feature request related to a problem? Please describe.
The current coalesce operation chains isNull and ifElse operations to make it work.
https://github.com/rapidsai/cudf/issues/3754 was filed for a cudf implementation that makes this much simpler/more efficient.

Closing as won't fix for now


Feat: Let costumize createOptionForm modal width

Description

I've seen this question in SO. I saw that this is not possible now. So lets make it possible!
User can now modify createOptionForm modal width.

Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[ ] Documentation is up-to-date.

If you mind accepting the PR, I have also another branch for letting the user do the same in the editOptionForm. So I'll make a PR aswell

And one question, what the check "Documentation is up-to-date." means exactly? If I have added the corresponding documentation to the filament docs page or if I have documented the code itself?

->createOptionAction(fn ($action) => $action->modalWidth('sm'))


reference model

changed reference_model as same as before.

I'm a bit confused bit the architecture now. We have a reference model folder in motion already, and now we have a separate reference model file in motion/dp_controller. Is there a reason for this?

I'm a bit confused bit the architecture now. We have a reference model folder in motion already, and now we have a separate reference model file in motion/dp_controller. Is there a reason for this?

I'm a bit confused bit the architecture now. We have a reference model folder in motion already, and now we have a separate reference model file in motion/dp_controller. Is there a reason for this?

The dp controller had a reference model in it that was separate from the one under the reference model package. They seem to have two different values for the poles and zeros, so I do not know what to do about it. Moving the reference model out of the dp controller code was a first step to figuring out the architecture. Any suggestions on what to do?

I'm a bit confused bit the architecture now. We have a reference model folder in motion already, and now we have a separate reference model file in motion/dp_controller. Is there a reason for this?

The dp controller had a reference model in it that was separate from the one under the reference model package. They seem to have two different values for the poles and zeros, so I do not know what to do about it. Moving the reference model out of the dp controller code was a first step to figuring out the architecture. Any suggestions on what to do?

I see. The options I can think of are a) have both reference models close to their respective controller, b) have both reference models in the motion/reference_model folder or c) check if we can use the same for both controllers and then use the one in motion/reference_model
I think a) and c) are the ones that make the most sense, as be could become a bit unintuitive

I see. The options I can think of are a) have both reference models close to their respective controller, b) have both reference models in the motion/reference_model folder or c) check if we can use the same for both controllers and then use the one in motion/reference_model
I think a) and c) are the ones that make the most sense, as be could become a bit unintuitive

Due to how close the coming pooltest is, the reasonable approach seems to be to:

Prioritize the more important tasks first
Leave the reference models in their respective packages, and import locally
Once the new drone is up and running, look into if one reference model can be used for both controllers.

If yes: Make a reference model package (like the one we have now) and use for both
If no: Keep reference models separate for each package.

No matter what happens in 3., EXPLAIN WHY one or the other is chosen in the READMEs for each package that uses a reference model

Due to how close the coming pooltest is, the reasonable approach seems to be to:

Prioritize the more important tasks first
Leave the reference models in their respective packages, and import locally
Once the new drone is up and running, look into if one reference model can be used for both controllers.

If yes: Make a reference model package (like the one we have now) and use for both
If no: Keep reference models separate for each package.

No matter what happens in 3., EXPLAIN WHY one or the other is chosen in the READMEs for each package that uses a reference model


Run as standalone server

@Jonahss @imurchie

well that was quick. nice.
I'm assuming that travis tests are broken in general for the whole repo? If so, lgtm.