SSL authentication errors when using with On-Prem TFS

This tool has the same issue as the cross platform build agent when it comes to authenticating correctly to an on-prem TFS server using SSL.
As we know you can only authenticate to on-prem TFS using basic authentication but as a result you MUST enable SSL so that all traffic is encrypted. Obviously to enable SSL you need to get a certificate for the TFS App-Tier in IIS and these can be either from a vendor such as Symantec or you could create one using something like Microsoft Active directory certificate services (which is what we did).
We set everything up and can access the TFS via all common web browsers without any issues, as long as the root and intermediate certificates have been installed correctly, for example in the trusted roots folder in windows cert manager.
However when you try to authenticate using "--autht-type basic", the application will not accept the certificate handshake because it cant read from the certificate store so there is no reason as to why the certificate should be accepted as it could theoretically be from anywhere. However, we don't have any way to tell the application that the root or intermediates certificates should be trusted.
This has been raised multiple time on the xplat agent github page and on this issue  Bryan Macfarlane suggested making use of a NPM package called "ssl-root-cas"
As a result of these SSL issues, we cant use either the xplat agent or the TFS CLI.

We should fix this.

Encoutering this too.
We have an on-premise TFS server, and have set it up to use HTTPS so we can safely use basic auth. We have an organization Root CA which is trusted by all the workstations on our domain (the Root CA is pushed out by group policy)
We set it up explicitly this way because those are the Microsoft guidelines as recommended for using Basic auth with TFS, and also what the tfs-cli and xplat agents recommend. It was quite disheartening to see that the recommended solution doesn't actually work due to this error.
The TFS CLI (and xplat agent) don't trust our cert because of Node's ridiculous hardcoded CA list ( https://github.com/nodejs/node/issues/4175 )
The specific error that comes up when you run TFX is "Message: Unable to verify the first certificate"
To work around it, I used the 'ssl-root-cas' node module. Unfortunately this was not easy. I needed to do the following:

Export the organization CA as a base64 encoded x509 cert - I put it in the tfs-cli module itself at %APPDATA%\npm\node_modules\tfx-cli_build\app\organization_ca.cer

npm install --global the 'ssl-root-cas' module

Edit the app.js under %APPDATA%\npm\node_modules\tfx-cli_build\app and insert the following:

// hack to enable custom certs
require('ssl-root-cas')
.inject();
.addFile(__dirname + '/organization_ca.cer');
This works, but having to manually hack up the tfs cli packages (and xplat agent) on every machine that needs it is a terrible idea.
If tfx and the xplat agent could have some kind of config option - either environment variable or command line based - to add additional trusted certificates (either a CA or the direct cert itself) that would solve the issue.

@bryanmacfarlane any update on this issue?  I think its existed since December
https://github.com/Microsoft/tfs-cli/issues/63

Not sure if this will solve your problem, but node >=6.6 should use the system CAs rather than bundled ones. https://github.com/nodejs/node/pull/8334

Hello,
We have switch our onprem devops server to only allow https, with a certificate installed in our system CAs.
We used pat, but now that we only allow HTTPS, the tfx client fail with a certificate error.
@mkopinsky If I read your link well, it seems node still use bundled CAs until you compile node with a special argument, or use the parameter --use-openssl-ca at runtime. Did tfx ever added this parameter?

Hello,
We have switch our onprem devops server to only allow https, with a certificate installed in our system CAs.
We used pat, but now that we only allow HTTPS, the tfx client fail with a certificate error.
@mkopinsky If I read your link well, it seems node still use bundled CAs until you compile node with a special argument, or use the parameter --use-openssl-ca at runtime. Did tfx ever added this parameter?

There’s a NODE_EXTRA_CA_CERTS environment variable that you can set to the path of a cert file for your custom on-prem azure devops server cert, it should let TFX talk to your server without having to touch anything else. It also works for configuring Azure DevOps build agents

There’s a NODE_EXTRA_CA_CERTS environment variable that you can set to the path of a cert file for your custom on-prem azure devops server cert, it should let TFX talk to your server without having to touch anything else. It also works for configuring Azure DevOps build agents


Add ability to disable implicit layers via the application

If a malicious or undesired implicit layer were to exist and be enabled by default, we should have some mechanism to disable that layer via the loader.

Can you expand on when you expect this to be possible? It's difficult to set a priority without more info but I'm going to park it P3 for now.

I don't have a time on this just yet, so I think P3 is fine for now.  I want to take care of a few more important items first, then I'll likely get to this.

This is not what is wanted.  So killing this issue.  An external tools is what's desired.


When using ParseHandlers what are the rules for escaping HTML characters inside of StripBetween transformer?

Hi there,
In the example you have given here, the  < and > signs are escaped:

                    <transformer class="com.norconex.importer.transformer.impl.StripBetweenTransformer"
                          inclusive="true" caseSensitive="false" >
                        <stripBetween>
                            <start><!-- whatever start text, like a comment --></start>
                            <end><!-- whatever end text, like a comment --></end>
                        </stripBetween>

                    </transformer>

Is there a comprehensive list of tags or characters that need to be escaped between the <start></start> and <end></end> tags?
Are there any other considerations for adding the matching text from the document within these tags?

For example, would this work?
<start><div id="helloWorldStart"></start>

or should it be:
<start><div id="helloWorldStart"></start>

I see here, in the example, that there is a new way of specifying the html tags to match with regex. I will try this.
https://www.norconex.com/collectors/importer/latest/apidocs/com/norconex/importer/handler/transformer/impl/StripBetweenTransformer.html

Are you referring to <![CDATA[ ]]> ?   If so, know that this is part of XML standard so not something introduced by the HTTP Collector.  It is a way to specify any content without worrying about escaping.  You can find more information here: https://en.wikipedia.org/wiki/CDATA
Was your last attempt at specifying HTML tags successful?

I have been trying to get this working for the past couple of days and I think I am doing something fundamentally wrong. I have the following config snippet in crawler's config.xml:
        <preParseHandlers>
            <transformer class="$transformerStripBetween" inclusive="true" >
	      <restrictTo field="document.contentType">text/html</restrictTo>
	      <stripBetween>
                <start><![CDATA[
]]></start>
                <end><![CDATA[
]]></end>
              </stripBetween>
  	    </transformer>
	</preParseHandlers>

But, the search results are showing up for texts that are only present between
 and
 in the page. Is there something that I am missing?

Do you want to skip the content-area?  It looks like you are doing the opposite.  StringBetween is for removing content between tags.    So I suggest you have one stripBetween matching your header and another one for your footer.  Alternatively, you can look at ReplaceTransformer.

Hi @essiembre,
I am trying to not index the texts between the two tags
 and
.

It looks like you are doing the opposite.

I don't understand how I am doing the opposite?

StringBetween is for removing content between tags. So I suggest you have one stripBetween matching your header and another one for your footer.

Could you please give me an example for this specific case? Shouldn't one stripBetween tag be enough?

In which case it should work.  Can you share a problematic URL as well as your config?

Hi @essiembre,
I have sent you and email with the sample HTML of the URL I am indexing along with the config.xml for the crawler.

I was able to reproduce.  Your config is good.  The issue is one of file size.  Most transformers dealing with text have a limit of characters it reads at once to avoid memory issues on very large files.  You can easily fix this by adding a "maxReadSize" attribute with a large value.   For example, this was tested to work:
<transformer maxReadSize="10000000" class="$transformerStripBetween" inclusive="true" >
...
</transformer>

The next release will likely increase the default max read size.
Please confirm.

FYI, the latest snapshot release drastically increased the default maximum read size (default is now 10 million characters).   Please re-open if you still have issues.

Sorry for late reply. Yes, this change actually worked for me. Thank you very much. Will also test the new snapshot without the explicit specification for maxReadSize. Thank you for taking care of this so quickly.


PY3 fixed deprecation warning

Codecov Report

Merging #220 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #220      +/-   ##
==========================================
+ Coverage   97.36%   97.37%   +<.01%
==========================================
  Files          41       41
  Lines        2547     2550       +3
  Branches      488      488
==========================================
+ Hits         2480     2483       +3
  Misses         35       35
  Partials       32       32

Impacted Files
Coverage Δ

eli5/formatters/html.py
100% <100%> (ø)
:arrow_up:


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Sun Mar 13 2016 22:47:04 GMT-0600 (Mountain Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Crowbahr\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\Crowbahr\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler
Not quite sure what happened. I was trying to rebind hotkeys (not working, I don't know if it should) on a fresh install.

Closing this automatically reported issue as a duplicate of #470


[MRG] refactor annotations

When working in #4870 I had the feeling the code inside mne.io.Raw.set_annotations did not belong there, but rather in mne/annotations.py.
So here is an attempt to refactor it, (+ an exercise to be more familiar in the manner we write code in mne-python)
The tests would be refactor separately in #5419 the stability of the code.
This PR should be entered before #5416. Hopefully, I'll find a way to assign empty annotations in a single place and then replace it by None. (see the following snippet)
~/code/mne-python annotation_tests* ⇡
(mne) ❯ git grep -ne "Annotations(\[\]" --or \( -e "Annotations(list()" \)
mne/annotations.py:186:        one = Annotations([], [], [], None)
mne/io/base.py:2053:            annotations = Annotations([], [], [])
mne/viz/utils.py:821:        params['raw'].annotations = Annotations(list(), list(), list())
mne/viz/utils.py:1876:        raw.annotations = Annotations([], [], [])

@massich please merge when CIs are happy.

Ill take a look soon too

@larsoner cool.
WDYT about the logger?


[BUG]: Can't load Power Platform Center of Excellence Starter Kit Dashboard

There is a dashboard that comes with the Power Platform Center of Excellence Starter Kit and getting the following error message trying to open it in the Power BI desktop. Colleague is also getting the same error when following the same steps:
Something went wrong
Failed to save modifications to the server.  Error returned: 'Expression in partition 'n/a' in table 'n/a' references an unknown entity.'.
Dashboard-PowerPlatformAdminDashboard_2020-09-19
Double click on the Dashboard-PowerPlatformAdminDashboard_2020-09-19.pbit file that comes with the Power Platform Center of Excellence Starter Kit
Expected behavior
Dashboard would prompt to enter the URL of the COE site and then fully load the dashboard
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Feedback Type:
Frown (Error)
Error Message:
Failed to save modifications to the server. Error returned: 'Expression in partition 'n/a' in table 'n/a' references an unknown entity.
'.
Stack Trace:
at Microsoft.PowerBI.Client.Windows.Storage.FileOpenError.HandleError(IWindowService windowService, LocalizedString title)
at Microsoft.PowerBI.Client.Windows.Services.TemplateManager.TryImportTemplate(IPowerBIWindowService windowService, IQueryServices queryServices, IExceptionHandler exceptionHandler, TelemetryUserActionId entryPoint, Boolean& editQueries, String filePath)
at Microsoft.PowerBI.Client.Windows.Commands.ApplicationCommands.DataImportCommands.ImportTemplate(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, ImportTemplateParameters parameters)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Stack Trace Message:
Failed to save modifications to the server. Error returned: 'Expression in partition 'n/a' in table 'n/a' references an unknown entity.
'.
Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.Windows.Utilities.UIBlockingAwareExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.<>c__DisplayClass4_0.<.ctor>b__0(Object arg)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.d__10.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object parameter)
at Microsoft.Practices.Prism.Commands.DelegateCommand1.<Execute>d__5.MoveNext()    at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)    at Microsoft.Practices.Prism.Commands.DelegateCommand1.Execute(T parameter)
at Microsoft.PowerBI.Client.Windows.Commands.CompositeCommand1.Execute(ICommand command, Object parameter)    at Microsoft.Practices.Prism.Commands.CompositeCommand.Execute(Object parameter)    at Microsoft.PowerBI.Client.Windows.Commands.CompositeCommand1.Execute(T parameter)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass2_6.<b__5>d.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass2_6.b__5(MainWindow mainWindow)
at Microsoft.PowerBI.Client.Windows.MainWindow.<b__202_2>d.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.PowerBI.Client.Windows.MainWindow.b__202_2()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.d__1.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.HandleAwaitableAsyncExceptions(IExceptionHandler exceptionHandler, Func1 asyncFunc)    at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<HandleAsyncExceptions>d__0.MoveNext()    at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)    at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.HandleAsyncExceptions(IExceptionHandler exceptionHandler, Func1 asyncFunc)
at Microsoft.PowerBI.Client.Windows.MainWindow.b__202_1()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)
at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass2_0.b__1()
at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.b__0()
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.PowerBI.Client.Program.Main(String[] args)
Snapshot Trace Logs:
C:\Users\kcarr00\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot1579504671.zip
Model Default Mode:
Empty
Model Version:
PowerBI_V1
Is Report V3 Models Enabled:
False
Performance Trace Logs:
C:\Users\kcarr00\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip
Enabled Preview Features:
PBI_showMinervaRibbon
PBI_showMinervaViewNavigator
Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_NewWebTableInference
PBI_qnaLiveConnect
PQ_AIInsightsFunctionBrowser
PBI_realTimeRefresh
PBI_v3Models
PBI_decompositionTree
PBI_themeDialog
PBI_hierarchicalSlicerCreation
Disabled DirectQuery Options:
TreatHanaAsRelationalSource
Cloud:
GlobalCloud
PowerBINonFatalError_MethodDefDescription:
PFE_M_ENGINE_UNKNOWN_ENTITY_REFERENCED
Formulas:
section Section1;

Please let me know if you need additional info.

Hello,
I'm unable to repro this with the latest .pbit file. Can you make sure you're on the latest version of Power BI Desktop

As you open the .pbit file, you will be prompted to enter your Org Url - this should be the Environment URL (you can find this in PPAC) of the environment where the CoE Starter Kit is installed. Make sure it's https (not http) when you enter it. You will also need to be logged in to Power BI Desktop with the account that has access to the CoE entities.
If you are using the latest version of the dashboard, you will also need to be on the very latest version of the Core Components solution - the dashboard has a dependency on entities in that solution that might be newer. So if you're on a previous version of Core Components (current is 1.70.3) you will need to upgrade or use a previous version of the dashboard.
Hope that helps,
Manuela

Hi, this is the version I have installed

The issue is that the error message is occurring right away as soon as the dashboard is launched.
I am using the latest version of the dashbaord.
What does that error mean? I provided the logs from the error message, can you find out what that means?

Hello,
you're on an old version of Power BI Desktop and will have to upgrade Power BI Desktop to the latest version to use the dashboard. Can you try upgrading Power BI Desktop - you can find the latest version here https://powerbi.microsoft.com/en-us/desktop/

Hello, the october version does not seems to be available to download.
https://powerbi.microsoft.com/en-us/blog/tag/power-bi-desktop/
I have downloaded the latest version https://aka.ms/pbiSingleInstaller and i can see it is still the 2.85.985.0. Where can i find the 2.86 version?
I have also an error when i open the pbit with the latest version of PowerBI :

Hello,
the 2.86 version is now available
https://www.microsoft.com/en-us/download/details.aspx?id=58494
We will be more mindful of backward compatibility in the future. Please let me know if you're still experiencing issues with the new version!
Thank you

Closing issues with no further action! Please let us know if you continue to experience issues.


Problem with connection with MongoDB

After 45-60 seconds after connecting with DB, it throws an error:
[1] Connected to MongoDB
[1] /home/jxnin/Pulpit/sage-giraffe-todo/backend/node_modules/mongoose/lib/connection.js:755
[1]     err = new ServerSelectionError();
[1]           ^
[1]
[1] MongooseServerSelectionError: connect ECONNREFUSED ::1:27017
[1]     at _handleConnectionErrors (/home/jxnin/Pulpit/sage-giraffe-todo/backend/node_modules/mongoose/lib/connection.js:755:11)
[1]     at NativeConnection.openUri (/home/jxnin/Pulpit/sage-giraffe-todo/backend/node_modules/mongoose/lib/connection.js:730:11) {
[1]   reason: TopologyDescription {
[1]     type: 'Unknown',
[1]     servers: Map(1) {
[1]       'localhost:27017' => ServerDescription {
[1]         address: 'localhost:27017',
[1]         type: 'Unknown',
[1]         hosts: [],
[1]         passives: [],
[1]         arbiters: [],
[1]         tags: {},
[1]         minWireVersion: 0,
[1]         maxWireVersion: 0,
[1]         roundTripTime: -1,
[1]         lastUpdateTime: 201833,
[1]         lastWriteDate: 0,
[1]         error: MongoNetworkError: connect ECONNREFUSED ::1:27017
[1]             at connectionFailureError (/home/jxnin/Pulpit/sage-giraffe-todo/backend/node_modules/mongodb/lib/cmap/connect.js:383:20)
[1]             at Socket.<anonymous> (/home/jxnin/Pulpit/sage-giraffe-todo/backend/node_modules/mongodb/lib/cmap/connect.js:307:22)
[1]             at Object.onceWrapper (node:events:628:26)
[1]             at Socket.emit (node:events:513:28)
[1]             at emitErrorNT (node:internal/streams/destroy:151:8)
[1]             at emitErrorCloseNT (node:internal/streams/destroy:116:3)
[1]             at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
[1]           cause: Error: connect ECONNREFUSED ::1:27017
[1]               at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
[1]             errno: -111,
[1]             code: 'ECONNREFUSED',
[1]             syscall: 'connect',
[1]             address: '::1',
[1]             port: 27017
[1]           },
[1]           [Symbol(errorLabels)]: Set(1) { 'ResetPool' }
[1]         },
[1]         topologyVersion: null,
[1]         setName: null,
[1]         setVersion: null,
[1]         electionId: null,
[1]         logicalSessionTimeoutMinutes: null,
[1]         primary: null,
[1]         me: null,
[1]         '$clusterTime': null
[1]       }
[1]     },
[1]     stale: false,
[1]     compatible: true,
[1]     heartbeatFrequencyMS: 10000,
[1]     localThresholdMS: 15,
[1]     setName: null,
[1]     maxElectionId: null,
[1]     maxSetVersion: null,
[1]     commonWireVersion: 0,
[1]     logicalSessionTimeoutMinutes: null
[1]   },
[1]   code: undefined
[1] }
[1]
[1] Node.js v18.12.1

i fixed the issue was that env wasn't loading you have to make call.config before using any env vars in any file, also i added .env.example, run this command, then open the copied file “.env” and fill the Var name with the right ones.
cp .env.example .env


enable fab in edit mode

sorry for my poor English.
I'm developing an app that using this fab library, and I made an activity layout xml file contains fab view. when i want to preview the result in edit mode, the android studio notice that fab view dont support. so I fix this bug and create a pull request

I'm using Android Studio 1.3 Beta and the preview of main activity in sample app works without your changes. Maybe there was some issues with earlier version of AS?


Allow to switch languages in Collect Mobile

It is possible to have a survey in different languages in Collect.  However, only one language can be exported to Collect Mobile.
I would like to suggest that all languages are exported to the Collect Mobile, and the user has the option to chose the survey language he/she wants to use.

preferred language can be selected from the Settings.
Thanks!


Adding/Removing/Updating an uplinkset to a LIG will also modify the whole LIG

When I add a new uplinkset (testuplinkset)to an existing LIG with terragrunt/terraform, the following actions are done :

If I'm doing it with the GUI

Same behaviour when Removing or Updating an uplinkset

Any updates regarding this issue ?

We are able reproduce the issue. Regardiing the fix we will check and get back on this.

Hi @Lanata07 ,
We tested and verified the fix and it is working in our environment. Please share the configuration that you are going to run , so that we can check it.
Thanks,

I've tested with latest provider 7.2.0-0.13 and there are still issues :

My terragrunt/terraform code will not work with OneView 6.10 for Synergy (apiVersion=2800) when creating the LIGs :

oneview_logical_interconnect_group.LIG["lig3pbga04b07"]: Creating...

Error: Error in response: Unrecognized JSON field.
 Response Status: 400 Bad Request
 Response Details: The field named dcbxOverride near line 1, column 1,230 is not a valid field in this JSON object.

dcbxOverride has been added in OneView 6.30

Testing with OneView 6.30 for Synergy (apiVersion = 3200)

Adding a new uplinkset on a LIG :

Removing an uplinkset on a LIG :

**Modifying an uplinkset on a LIG: **

The NTP configuration is modified when adding/removing/modifying an uplinkset
Beware : the newly uplinkset must be added at the end of the uplinkset list in our terragrunt.hcl
Versions :
terraform --version
Terraform v0.13.7

terragrunt --version
terragrunt version v0.36.11

Hi @odesaphy ,
We are not getting NTP configuration getting changed during update. Can you share the LIG configuration file you are using to create the LIG and what new uplink set you are adding ,so that we can reproduce the issue locally?

Can you please share the steps for LIG creation along with NTP configuration?

Closing this ,since we did not hear from you. Please open another defect if there is any issue.


Fix issue with restoring empty session cookies

Fixes #110

Codecov Report

Merging #111 (88e8351) into main (dc051ef) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   96.95%   96.95%
=======================================
  Files          10       10
  Lines         919      919
  Branches      146      146
=======================================
  Hits          891      891
  Misses         18       18
  Partials       10       10

Impacted Files
Coverage Δ

aiohttp_client_cache/response.py
94.90% <100.00%> (ø)

aiohttp_client_cache/session.py
89.74% <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 dc051ef...88e8351. Read the comment docs.


Unable to connect to the server: certificate is not  valid for host.docker.internal

VSCode Version:

Version: 1.47.3
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:08:29.692Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0

Local OS Version:
macOS Catalina
Name of Dev Container Definition with Issue: Kubernetes & Helm

Steps to Reproduce:

mount the /.kube and /.minikube folder into the container and run the command with kubectl

root@0ab3a3828ae9:/workspaces/meshery-linkerd# kubectl cluster-info

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Unable to connect to the server: x509: certificate is valid for minikubeCA, control-plane.minikube.internal, kubernetes.default.svc.cluster.local, kubernetes.default.svc, kubernetes.default, kubernetes, localhost, not host.docker.internal

root@0ab3a3828ae9:/workspaces/meshery-linkerd# kubectl cluster-info --insecure-skip-tls-verify
Kubernetes master is running at https://host.docker.internal:32772
KubeDNS is running at https://host.docker.internal:32772/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
root@0ab3a3828ae9:/workspaces/meshery-linkerd# kubectl config view
apiVersion: v1
clusters:
- cluster:
    certificate-authority: /root/.minikube/ca.crt
    server: https://host.docker.internal:32772
  name: minikube
contexts:
- context:
    cluster: minikube
    user: minikube
  name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
  user:
    client-certificate: /root/.minikube/client.crt
    client-key: /root/.minikube/client.key

The same issue I hit on kubernetes/Kind(macOS local executing kind create cluster and try to communicate the cluster in the (1kubernetes&helm1 which same host different container) and kind get kubeconfig --name kind --internal useless for me)

I use minikube on Linux, but I use Docker's built in Kubernetes on Mac and both appear to work as expected.  What is your cert/key tied to?  If it's <IP_ADDRESS> or localhost, that won't work unfortunatley.

I use minikube start and kind create cluster  command on macOS and Ubuntu20.04
The server filed in the kubeconfig

Result
<EMAIL_ADDRESS>minikube@v1.12.1(mac)/v1.11.1(ubuntu20.04)

Ubuntu20.04
server: https://<IP_ADDRESS>:35309
server: https://<IP_ADDRESS>:8443

macOS Catalina
server: https://<IP_ADDRESS>:61531
server: https://<IP_ADDRESS>:32772

I do not use Docker-for-mac's Kubernetes feature. I see,

On macOS use Docker's built-in Kubernetes feature
Or change the docker context to the Linux which running minikube.

Yeah the problem is that <IP_ADDRESS> will resolve to the container itself.  Using host networking and removing the translation to host.docker.internal. You could also ensure your cert allows host.docker.internal.

Added a note on this to the README since I can see how this would be confusing: https://github.com/microsoft/vscode-dev-containers/tree/master/containers/kubernetes-helm#a-note-on-minkube-or-otherwise-using-a-local-cluster

Yeah the problem is that <IP_ADDRESS> will resolve to the container itself. Using host networking and removing the translation to host.docker.internal might work (have not tried). You could also ensure your cert allows host.docker.internal.

Yep, that would be one of the solutions, I believe we can close this issue.


Added support for new method queryRaw in omrlite-core.

Implemented new getter for ResultSet in JdbcDatabaseResults becouse of changes in omrlite-core DatabaseResults interface.
More about changes in ormlite-core:
https://github.com/j256/ormlite-core/pull/18

I don't think we need this now that I've added the DatabaseResultsMapper to code, right?


Unify Chrome and Firefox extensions

This unifies the Chome and Firefox extensions into one, based on the Chrome extension.
The general idea is to inject a method into the page which uses window.postMessage to communicate with the content script. This forwards the request to the background script.
This approach works in Chrome and Firefox while communicating with content script directly from the page doesn't work in Firefox.
This is based on https://github.com/facebook/react/blob/08c1f79e1e13719ae2b79240bbd8f97178ddd791/packages/react-devtools-extensions/src/injectGlobalHook.js#L26-L62 from the React DevTools.
This PR also fixes an issue with error objects not being transferred correctly to Postwoman.
Especially with Axios error messages the response property wasn't transferred at all, breaking the UX of Postwoman.
Please let me know what to do with that version request. What was the reason behind it? Should it stay?
ref liyasthomas/postwoman#573

Okay, I am back from my break and I will review your PR today.
@levrik about your question about the version request, it was implemented just in case we wanted to allow future extension modifications or postwoman modifications (basically a version discrepancy).

@AndrewBastin I see. That totally makes sense to me. I was just unsure because the Firefox extension didn't have something like this implemented. I'll add a method to receive the extension's version.

Okay, I reviewed the code, it checks out!
Great stuff!

The update will be pushed to both the extension stores as v0.4.
The Firefox repo will be marked as archived and all further updates to the browser extension will be made into this repo.
Also, this repo will be renamed to postwoman-extension.

I saw that v0.4 is already pushed to Firefox. Was this intended? Without a release of Postwoman itself, the extension functionality is probably broken now.

@levrik Postwoman builds all the time off the master branch so the extension code on the web app side is already available as of the merge.

@AndrewBastin Ah, I see. Was confused by the fact that version numbers and a changelog exist.

Yeah, it's kinda weird. We haven't just bothered to fix it 😅.
Continuous Integration is much easier as we can quickly iterate over new features.
But we do bump version numbers to indicate milestones.


⚠ Bofrost.fr has degraded performance

In ceb876b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1239 ms

Resolved: Bofrost.fr performance has improved in 50bc900 after 6 minutes.


Neoxa on macbook

Neoxa wallet on mac m1 doesn't show some text on a page. You can see in the pictures the missing send button and other functionality.

Just change to Dark mode in settings and screen.

Thanks @shinary2 , it helped ;)

Would it not be better to allow the application to pull the OS system mode and auto apply it?


Installation error - Numpy and its headers are required to run setup()

Both installation methods failed on my computer with a fresh conda env. After explicitly installing numpy, then the installation went smoothly. Does numpy need to be strictly declared dependency for titiler? I found this relevant issue.
OS: Manjaro KDE Linux
Python version: 3.8
$ pip install -U pip
$ pip install titiler["server"]

# Or from sources
$ git clone https://github.com/developmentseed/titiler.git
$ cd titiler && pip install -e .["server"]

I think the problem comes from rio-color, which isn't really supported in conda.
To fix this issue you need to first install numpy (with --no-binary) option
@kylebarron has been pushing for this to be fixed but we are still waiting for the owner to move forward.
I'll update the docs 🙏

The issue here is that rio-color doesn't provide wheels (yet), which means that to install rio-color all installations must build from source. Since it links to Numpy, it needs Numpy's headers while compiling.
This is a bit of a chicken-and-egg issue because if we define numpy as an installation requirement, it won't get installed before rio-color is attempted to be installed.
So I believe the correct solution here is to define numpy as a build dependency (or really rio-color should do that, I might make a PR) so that it's installed before rio-color is attempted to be installed.

@vincentsarago @kylebarron Thank you both for clarifying this. Once this installation issue is fixed, I will add titlier as a dependency for geemap. Thank you for developing this awesome package!

@giswqs Note that it might be simplest for you to use rio-tiler directly.
from rio_tiler import COGReader

with COGReader("my-tif.tif") as cog:
    # Read data for a mercator tile
    img: ImageData = cog.tile(tile_x, tile_y, tile_zoom, tilesize=256)
    assert img.data
    assert img.mask

Using a full server might be overkill for your needs.
Also note that looking at geemap's dependencies, it looks like it doesn't currently require GDAL. Depending on rio-tiler -> rasterio -> GDAL will make installations larger and more complex.

closed by https://github.com/developmentseed/titiler/commit/c7f8bfe978eae6e86eae10a29d879cd581274275
This is a temporary fix, and should be fixed fully when rio-color 1.0.0 comes out!

When rio-color 1.0.1 comes out


add target data timeseries files

We want to use a recent "full open" metadata file from this page to create snapshots/versions of clade counts for each week, starting in late 2022 and running through a few months before the metadata file was downloaded (let's call this time period the "training phase").
A file should be created for each Monday in the "training phase". A file is created using the following approach:

Filter the metadata file to include sequences per standard variant hub filterings (e.g. only Homo Sapiens, identifiable locations, ...). This could be done once before looping through each week.
For a given as-of Monday, call it YYYY-MM-DD, filter the metadata file so that date_submitted < "YYYY-MM-DD".
Use hub algorithm to determine which clades will be predicted on this date. We will call these the "modeled clades".
Group sequence data by Nextstrain_clade, location, and date columns in the metadata file, and aggregate into clade-location-date counts with a column name of observation.

So I took a swing at this, and I ended up with two versions of a script to create these data files. The first version target_data_maker.R just uses write_parquet to write a dataset for each Monday between 2022-08-01 and 2024-08-05 that contains all the sequences that were submitted by that Monday. The second version target_data_maker_v2.R instead creates a partition of the dataset where each file contains all the sequences that were submitted between two of the target dates; i.e the 2022-08-08 file would contain all the sequences submitted between 2022-08-01 and 2022-08-08, with the first file containing all sequences submitted before 2022-08-01.
The first approach stores more data and stores duplicates, but it makes it easy to load in the exact dataset we want for a given time point. The second approach doesn't store any duplicate data points, but it makes it harder to get the dataset for a given date, because you may need to sum many files to get the full dataset for that date. Is there an approach you prefer from these two methods? Let me know and I can create a PR with the one you prefer, or both if you want to see both.

Closed by #9


added feedback api

What
Updated improve-this-page banner to use pure JS when available.
How to review
https://github.com/ONSdigital/dp-frontend-homepage-controller/pull/171
Who can review
!me

@mr-nick17 Thanks for the feedback.  Changes made as requested.


~/.chia_keys is Undocumented

The Readme only talks about mounting ~/.chia/ or ~/.chia/mainnet/ when keeping a persistent config.
However, the keys from chia keys generate are actually stored in ~/.chia_keys/ not ~/.chia/`. This means that restarting the container will lose your keys.

I think it's likely that this is not documented because there are other methods available to persist your keys. For example, you can specify the keys environment variable as a path to a file containing your mnemonic, which will initiate the chia keys add command any time your container is restarted (see: https://github.com/Chia-Network/chia-docker/blob/main/docker-entrypoint.sh#L34)
I'm possibly open to this being documented too, though. I asked a bit internally to gather more opinions about this.

Asked around, it seems like this wasn't documented before because ~/.chia_keys wasn't always a directory that was created. It seems appropriate to document it, despite there being other options to persist your keys. I raised a PR to do so.


[BUG] Incorrect exception thrown when trying to delete a non-existent Azure role assignment

Library name and version
Azure.ResourceManager.Authorization v1.0.1
Describe the bug
When trying to delete a non-existent Azure role assignment, NullReferenceException is thrown by the SDK instead of RequestFailedException.
Expected behavior
SDK should throw RequestFailedException.
Actual behavior
SDK is throwing NullReferenceException.
Here's a portion of stack trace:
System.NullReferenceException: Object reference not set to an instance of an object.
at Azure.ResourceManager.Authorization.RoleAssignmentResource..ctor(ArmClient client, RoleAssignmentData data)
at Azure.ResourceManager.Authorization.RoleAssignmentResource.DeleteAsync(WaitUntil waitUntil, String tenantId, CancellationToken cancellationToken)

Reproduction Steps
Here's the code that I am using:
var armClient = new ArmClient(new DefaultAzureCredential());
var subscriptionId = "<valid subscription id>";
var roleAssignmentName = Guid.NewGuid().ToString();
var roleAssignmentResourceId = $"/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}";
var resource = armClient.GetRoleAssignmentResource(new ResourceIdentifier(roleAssignmentResourceId));
await resource.DeleteAsync(WaitUntil.Started);//this line throws the error

Environment
No response

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Thank you @gmantri for your great feedback.
This service returns 204 if the role assignment doesn't exist for deletion, so this is not a RequestFailedException, so here throws the NullReferenceException.
Close this issue as this is by design, please let me know if you have further questions.

After discussion, we agreed that throw NullReferenceException is still not a right way here, since service return 204, client sdk should not throw, so created another feature to improve this.


Remove upload-artifacts phase from buildspec

This is handled by the release target now and doesn't need to be a separate phase.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.7


x/mobile: gomobile init failed

aks-iMac:src ReactNative$ gomobile init
gomobile: go install -p=4 golang.org/x/mobile/gl failed: exit status 2
golang.org/x/mobile/gl
In file included from ../../TestGoMobile/src/golang.org/x/mobile/gl/work.go:24:
./work.h:20:10: fatal error: 'OpenGL/gl3.h' file not found
include <OpenGL/gl3.h>
     ^

1 error generated.
aks-iMac:src ReactNative$ go version
go version go1.6.2 darwin/amd64
aks-iMac:src ReactNative$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/ReactNative/Desktop/TestGoMobile"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

/cc @crawshaw @hyangah

what's the status of this?

Is this still a problem? I can't reproduce the problem and I don't have OpenGL/gl3.h on my system either.

Since gomobile init seems to work properly, I would close the issue as an outdated status. Feel free to comment out if this is not the case.


[CSSolver] Increment score when performing certain function conversions

Increase solution score when performing function conversions where only
one side has @autoclosure or throws. That is going to help pick the
best overload when only difference lays in presence of such attributes.
e.g.
func foo(_: @autoclosure () -> Int) {}
func foo(_: () -> Int) {}

If the argument is itself @autoclosure it's preferable to use overload
with @autoclosure attribute, otherwise () -> Int should be used.
Resolves: rdar://problem/36560486

/cc @rudkx Please take a look. This restores behavior present in Swift 3/4.

@swift-ci please smoke test

@swift-ci please test source compatibility

Looks like mangling changed right under my feet :)

Ugh, @autoclosure shouldn't be a thing on the argument type. Can you gate this behind Swift <= 4 so we can fix it?
Also, your PR message mentions the wrong Radar number.

@DougGregor Thanks, I'll fix the radar number! And regarding @autoclosure unfortunately the behavior was not ambiguous before, which got fixed, but now has to be un-fixed :(

@swift-ci please smoke test

@swift-ci please test source compatibility

@swift-ci please smoke test

@swift-ci please test source compatibility

I suspect this is related.

@rudkx @CodaFi @DougGregor The failure in the suite is actually related to increase in score related to throws, but I'm trying to figure out what should we actually do here in regards to @autoclosure - I can make it work right now the same way as it was before with forwarding, but is the plan to ban it? So if there is situation like:
func foo(_: @autoclosure () -> Int) {}
func foo(_: () -> Int) {}

func bar(_ f: @autoclosure () -> Int) {
   foo(f)
}

Should it pick foo(_: () -> Int) in this case?

@swift-ci please smoke test

@swift-ci please smoke test

Yes, as I mentioned on the forums, I think we should ban this forwarding behavior for Swift 5 and later: https://forums.swift.org/t/how-should-we-fix-sr-5719-for-swift-5/8777/4

@rudkx are you ok if I merge this one and do swift 5 related disabling of the behavior separately since it’s not really applicable to 4.1?

@swift-ci please test source compatibility

@swift-ci please test source compatibility

Yes, that's the right thing to do.

@swift-ci please test source compatibility


Is there a way to support PHP?

I'm a PHPer, and I read the theory about fescar and find it is nice. So is there a way to use it in PHP or other program language? Thanks!

https://github.com/alibaba/fescar/issues/348
The discussion is here

怎么支持的？

How to solve this question？（怎么支持的？）


y-scale range includes non-visible data

Steps to reproduce:
Move the navigator so that a maximum or minimum of visible data is furthest to the left or right. (first picture, left point)
For any series type, It's possible to move the navigator so that this point is not visible, but the y-axis range calculation still includes it. (second picture).

I'm not so sure this isn't expected behavour - the alternative is that, when panning, an 'incoming' bar would not be included in the range calculation, and might be only partially visible. Some other charts mitigate this by snapping to points while panning.


project: add url shortener

Related Issue
#114
Email id used to regsiter for VSoc'24
<EMAIL_ADDRESS>Description
Project Added (#114 )
Adds an URL shortener that convers long urls into redirects from the service.
Type of PR

[ ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Security enhancement
[X] Other (specify): Project Submission

check in issue by entering [X] in boxes
Screenshots / Videos (if applicable)
https://github.com/dhairyagothi/50_days_50_web_project/assets/70657005/63b97f6a-d387-41b1-8077-bc348a69afa9
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[X] I have performed a self-review of my code.
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have commented my code, particularly in hard-to-understand areas.
[X] I have followed the code style guidelines of this project.
[X] I have checked for any existing open issues that my pull request may address.
[X] I have ensured that my changes do not break any existing functionality.
[X] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[X] I have read the resources for guidance listed below.
[X] I have followed security best practices in my code changes.

okaay good project on backend


HAB5

Authors

Keshav Adhyay
Philip Linden @runphilrun

Abstract
A High Altitude Balloon will fly Where U At Plants Follow-On (WUAP2) payload module to 100,000ft. The HAB and WUAP2 are to be developed in parallel over one year. The vehicle and payload are both designed to be modular so that the HAB is able to support diverse mission payloads on the same platform. WUAP2 will use multispectral imaging to measure vegetation density, and will demonstrate on-board image processing and computer vision techniques with low cost, consumer level components.
Related PDDs (optional)

On-Board Image Processing and Computer Vision Techniques on Low-Cost Consumer Electronics for Vegetation Density Mapping and Other Experiments

Comments for Reviewers (optional)

Link for the lazy: https://github.com/RIT-Space-Exploration/SPEX-Project-Definition-Documents/blob/hab5/HAB5/hab5.pdf

Please review the changes @venku122 @msglazer @alecherbert @ddm9599 @Beaudidly


feat(primitives): add AddressLocation type and methods

Description
Progress toward

#4054

Changes made

Introduces AddressLocation which is a wrapper on TxNumber. For an appearance that occurs in a block field (like "miner", it represents this as a TxNumber with bitflags.
Adds round trip conversion test cases for AddressLocation.

TODO

[ ] Design table, likely:

Use IntegerList, containing AddressLocation as elements
Maps address -> AddressLocationList
Potentially use a Shardedkeyas one address may have manyAddressLocation`

Closing this as stale, we'll re-incorporate these ideas as we venture into custom stages with Reth CLI Extensions and the Declarative Node Builder API that @mattsse is spearheading.


feat: Rust

API in Rust

Globally, a lot of documentation has not been provided. Do we implement a policy for which rust doc should be present ?

I have not written any doc on the messages that do not have any doc in the protos.

remember to setup cargo fmt

Will do


Contracts with initializer for proxy compatibility.

Contracts in their current state are costly to deploy (around 3 millions gas to deploy ERC725.sol).
This might limit adoption of the standard. If the deployer is an address that creates an identity for itself, it would have to absorb the deployment cost.
We can reduce this cost by:

deploying a master contract (=logic contract) offering the possibility to deploy the contracts via proxy.
future identity contracts can be deployed as proxy (like ERC1167 proxy pattern).

Creating an identity will then only require to deploy a proxy that will delegate all calls to the master contract.
Current contracts cannot currently use these features, as they use constructors + Ownable pattern.
What this PR changes in the contracts?

[x] Create an Init version of each contracts.
[x] Change constructors to initializer functions (with initializable modifier)

NB: by having one master contract, it is then also possible to deploy the contract at a predictable address using Nick's method

Lets add core contarcts for all:
E.g.
ERC725XCore >  ERC725X
ERC725XCore >  ERC725XInit

@frozeman : I would suggest both ERC725XCore and ERC725YCore to be marked as abstract. The word core implies that implement the core functionalities, so to be used as base contracts.

@frozeman juste added extra Core contracts in the inheritance hierarchy. Only change was to change the function visibility of setData and execute from external to public. Otherwise, we could not reference them via super in ERC725X/Y or in the Init version.


v060-rc1 UX Stuff

Contracts have a duration, but it appears that files also have a duration. Does the renter automatically delete a file after the duration has ended? Does it make sense to set the duration to zero? But, on top of 'duration' there's also a 'renew' field. I find this confusing. The api doc does explain it pretty well, but it doesn't seem that intuitive.

I got the error 'insufficient balance for upload', but that's confusing because the problem related to the allowance. The wallet had enough money, but the renter did not have enough allowance. Just need to improve the error message I think.

Renter complains about not having enough hosts when you set the allowance. I found this confusing, though I can see why if you are trying to set the parameters really high (say 50 or 250 hosts) and the contractor knows that it can't make that many contracts reliably, you would want an error to be returned. My initial expectation was that errors should not be returned until you try to upload files, and that the renter should be in observation of how many contracts the contractor has successfully made before trying to erasure code things. If there aren't enough hosts, the contractor should accept the allowance call and then just make more contracts as more hosts appear. I'm definitely open for further discussion on this one. The api doc does not do a good job of explaining this error case.

negotiation time for formContract is not long enough

I will PR some of these

The idea was that when the file's duration ends, its sectors can be deleted, making room for new files to be uploaded. I think we can drop this idea in favor of simply deleting files manually when you need to free up space. So the duration and renew fields can be removed.
The renter should drop that balance check, yeah. That check is handled by the contractor now.
3 is the trickiest of the bunch. There are lots of conflicting concerns. I'm not sure what the best approach is, but I can tell you that both your suggestions would be difficult to implement (not in theory, just wrt the current code). I think the current approach is good enough for the RC, but the contractor's behavior absolutely warrants thorough discussion.

I'm imagining this sort of UX:

Open renter view for the first time
Popup window: Before uploading files, you need to set an allowance. How many GB to you plan to upload per month? Your current wallet balance can support 1 TB per month. ______
User enters value, UI converts it to siacoins (via host average) and multiplies it by 24 hosts.
Loading spinner while contracts are formed...
Popup window: You are now ready to upload! You can change your allowance via the [UI element]. Changes to the allowance may not take effect immediately.

User enters value, UI converts it to siacoins (via host average) and multiplies it by 24 hosts.

24 refers to redundancy? If so, should it not be 6 hosts?

I believe that it should be 6 hosts, yeah


UTF-8 de/encoding for some characters in gtk-pipe-viewer.conf

For the "downloads_dir" setting:
I would like to use a user directory localized in French: "$ENV{HOME}/Vidéos/", when I apply the parameter in the application, it works at first.
But, after reloading the application, or another setting, or if I edit the conf manually before launch:

the string is updated by itself and the character "é" is decoded to "\xC3\xA9" or sometimes a truncated version.
pipe-viewer create a folder named "VidÃ©os" from the raw string: "$ENV{HOME}/Vid\xC3\xA9os/", which is more wrong again.

I took another directory for the moment.

I am up-to-date with the main branch.
I installed all dependencies, even optional ones.
Perl 5.34
Debian SID/Testing

I tried to escape with the UTF-16 version of "é" (0x00E9), and it worked :

I modified it to: "$ENV{HOME}/Vid\x{00E9}os/"
The app corrected by itself to: "$ENV{HOME}/Vid\xE9os/"


validators - errors are not shown

I have a field with
  validators: {                                 looksOk: function(field, model, next){                                     next(model[ field.key ].indexOf('@') >= 0);                                 }                             }
I see that on error the field wrapper is getting the error class but no error is shown below the field,
I have checked the configuration but found nothing on that
update:
I saw now that I can define the error message in the validate function for example:
 validators: {       minLength: {         expression: 'model[field.key].length > 5',      message: 'Your password must be at least 6 characters'   }   }
but I could not get the same functionality for a generic 'required' field

There is a section in the docs around validation messages: https://matt-sanders.gitbooks.io/vue-formly/content/v/2.0/how_to_use/validation.html
Messages are required for an error message to display. You can either add messages on a per-validation basis, or you can add global messages

How would the form template look to automatically include the validation error messages when they occur.  I am trying to create a template to cover all html 5 inputs e.g. number, date, color, email etc..  Here is my template.  I would think that because we mixing in the base field, it would be added automatically.
`
`

How would one set up a custom template to show the error messages if they occur as per your input template.  I am trying to set custom template for all html5 input types e.g. number, date, email etc
Your text input definition looks like below.
{
          key: 'name',
          type: 'input',
          wrapper: '

',
          required: true,
          templateOptions: {
            label: 'Text Field',
            type: 'text'
          },
          validators: {
            length: {
              expression: 'model[ field.key ].length > 3',
              message: 'You must enter more than 3 characters'
            }
          }
        }

If I however change it to my own type as per the below template, the error messages disappear.
<template>

        {{to.label}}
        <input class="form-control" :type="to.type" v-model="model[field.key]">

</template>

@andyfensham the error messages display are added in the template, therefore simply extending baseField isn't going to add them in for you. Take a look at this field and this error component
You'll see on the inputField it adds the error-display component right near the end and passes it some params. The error-display component is responsible for rendering those errors.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-27-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3186

Questions ?
Please refer to the Backport tool documentation


Assigning document to ReferenceField

Let's consider these sample models, serializers and view:
class Author(Document):
    name = StringField()

class Book(Document):
    name = StringField()
    author = ReferenceField(Author, dbref=True)

class AuthorSerializer(DocumentSerializer):
    class Meta:
        model = Author
        fields = '__all__'

class BookSerializer(DocumentSerializer):
    class Meta:
        model = Book
        fields = '__all__'

class BookView(ModelViewSet):
    model = Book
    serializer_class = BookSerializer
    queryset = Book.objects

    def create(self, request, *args, **kwargs):
        if 'author' in request.data:
            author = Author.objects.get(name=request.data['author'])
            request.data['author'] = author
        return super(BookView, self).create(request)

The validated data in BookSerializer doesn't have author and the Book document is created without author.
How should I be sending reference doc to the serializer?

@ShipraShalini
Hi, Shipra, nice question!
I believe, you just pass the primary key of your Author model ('id' field in you case) to the author field of your Book json. I'm about to reproduce your example right now to make sure, it works that way.

@BurkovBA
I tried passing primary key to Book, still the same result.

Hm, it works for me.
Look at this example: https://github.com/BurkovBA/django-rest-framework-mongoengine-example/blob/master/project/app/models.py

@BurkovBA I revisted my code and found that the Serializers were like this:
class AuthorSerializer(DocumentSerializer):
    class Meta:
        model = Author
        depth = 2
        fields = '__all__'

class BookSerializer(DocumentSerializer):
    class Meta:
        model = Book
        depth = 2
        fields = '__all__'

If I remove the depth from the Serializer, it works properly.

@ShipraShalini
Hi! depth argument tells the serializer to represent the reference as a nested json upon GET requests. So, instead of a reference to Author, your book will display Author as a sub-json.

When depth is there, the serializer doesn't convert the  id to DBRef Author and validated_data doesn't contain the Author field, there's no reference in the Book doc.
As a workaround, I do something like this:
class BookSerializer(DocumentSerializer):
    author_id = serializer.CharField(required=False)

    class Meta:
        model = Book
        depth = 2
        fields = '__all__'

    def create(self, validated_data):
        author_id = validated_data.pop('author_id')
        author  = Author.objects.get(id=author_id)
        instance = super(BookSerializer, self).create(validated_data)
        instance.author = author
        instance.save()

And if query the book now, it will show the author as a sub-json (pretty handy for my use case)
It would have been easier if I could simply pass the id as the Author since my documents have both Embedded documents and ReferenceField.

@ShipraShalini with your workaround i think sub-json will not be updated if there is a change on author accordantly, correct?

Hi @hontrang!
Sorry, I don't understand your question. Do you want to do such a thing?

Seem like your link is the answer, let me try, thank


Add Multimodal LLM Finetuning

What does this PR do?
Add finetuning Multimodal-LLM especially for LLaVA by leveraging AutoModelForVision2Seq and AutoProcessortransformers
This PR is working in progress, needs improvement in the future, e.g. other MLLM.
Support Models

[x] LLaVA-1.5

Make your own Instruct Dataset
Just organize the content like the data/llava_instruct_example.json.
Train and Test
Training
# train
bash examples/mllm/sft_llava.sh

Test SFT model
python scripts/test_mllm.py \
--base_model_path llava-hf/llava-1.5-7b-hf \
--lora_model_path saves/llava-1.5-7b/lora/sft \
--model_path saves/llava-1.5-7b/lora/merged \
--dataset_name data/llava_instruct_example.json \
--do_merge

Test original model
python scripts/test_mllm.py \
--model_path llava-hf/llava-1.5-7b-hf  \
--dataset_name data/llava_instruct_example.json

Before submitting

[x] Did you read the contributor guideline?

LGTM! Thanks for your contribs!

Hi @BUAADreamer, thanks for your work. Can you explain how this HF version differs from the original(i mean https://github.com/haotian-liu/LLaVA) during training, and  does the HF version trains the mm_projector layers?
thanks a lot.

This HFversion is nearly the same as the origin, it is transferred by the official researchers of Huggingface and Haotian Liu.
Our sft of MLLM is the same as the ft stage in LLaVA paper, only fine-tune the mm_proj and the LM.
You could offer to this Zhihu blog to learn more about fine-tuning MLLM
And you could refer to this fine-tuned paligemma by hiyouga

Besides, if you want to pretrain, you can refer to #3835 to only fine-tune the mm_proj

Thx, those really help me a lot.


Not lazy loading as expected

My code
var $ = require('bundle?lazy&name=chunk.jquery!jquery');
It puts the jquery in theapp.bundle. But I want jquery to be a separate chunk which is lazy loaded only in the component that requires it. Why is it going into app.bundle and loading for all pages?
Just trying to get async jquery load.

@IAMtheIAM Please provide more info about your current setup (webpack.config.js etc)


Added Php Inspections (EA Extended) to list of PHP SCATs

One more tool for an awesome list

Thanks Vladimir!


Chrome autofill values are removed

Can be seen happening here: http://g.recordit.co/YQDzqaGKiu.gif

You can get autofilled value before mask setup and use it with value or defaultValue property. Sometimes autofill may not fire change event, so it's better to set mask property to null, wait for first focus on input, get value directly from DOM node and then set mask property to your mask along with value.


Crashing on fast scroll

java.lang.IllegalArgumentException: Tmp detached view should be removed from RecyclerView before it can be recycled: ViewHolder{df91eba position=1 id=-1, oldPos=-1, pLpos:-1 tmpDetached no parent}

do you find any solution ?

fixed in 1.3.2 version

fixed in 1.3.2 version


Upgrade Byte Buddy 1.14.8 -> 1.14.9

This PR contains the following updates:

Package
Type
Update
Change

Byte Buddy
compile
patch
1.14.8 -> 1.14.9

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade Byte Buddy 1.14.8 -> 1.14.9

See https://github.com/raphw/byte-buddy/compare/byte-buddy-1.14.8...byte-buddy-1.14.9

Misclicked 😬.


Child failed to make LIVEAPI connection to cPanel

Since Cpanel 76.0.6 update the plugin returns this error.
"Implemented case CPANEL-22332: Update cPanel internal PHP to upstream version 7.2.7"
https://forums.cpanel.net/threads/after-76-x-update-child-failed-to-make-liveapi-connection-to-cpanel.641153/#post-2612525

You should be able to run the installation script again:
bash <(curl -s https://raw.githubusercontent.com/cloudflare/CloudFlare-CPanel/master/cloudflare.install.sh) -k [YOUR_HOST_API_KEY] -n '[YOUR_COMPANY_NAME]'

The main issue is that cPanel 76.0.6 uses a different version of the ionCube Encoder, so the plugin basically has to be recompiled due to this change.

Hello,
We usually fix this issue by re-installing every time there is a cPanel update. Yet, this does not do the trick this time. We have attempted to reinstall multiple times, even completely uninstall/install again, but this error keeps coming up. The cPanel error log indicates:
PHP Warning:  require_once(cloudflare/vendor/autoload.php): failed to open stream: No such file or directory in /usr/local/cpanel/base/frontend/paper_lantern/cloudflare/index.live.php on line 2
PHP Fatal error:  require_once(): Failed opening required 'cloudflare/vendor/autoload.php' (include_path='/usr/local/cpanel/3rdparty/php/56/lib/php:.') in /usr/local/cpanel/base/frontend/paper_lantern/cloudflare/index.live.php on line 2
[2018-12-03 15:33:02 +0000] die [Internal Death while parsing [live php] 307] Child failed to make LIVEAPI connection to cPanel from: ./frontend/paper_lantern/cloudflare/index.live.php. at cpanel.pl line 4271.
at cpanel.pl line 4271.
cpanel::cpanel::setup_external_engine() called at cpanel.pl line 801
cpanel::cpanel::script("cpanel::cpanel", "./frontend/paper_lantern/cloudflare/index.live.php") called at cpanel.pl line 267
We are using the latest General Availability cPanel version 76.0.10 on this server, even forced an upcp just in case. We would appreciate some help.
Best Regards,

Works here!


Wrong word used?

Seems like a typo with "organization":
If external teams are consuming your package, ensure that your @release view and @prerelease view are visible across the organization and/or organization

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

ID: d577f56d-c16e-dde5-68c3-81ee879c7c4d
Version Independent ID: 0592e0da-1667-9ec7-60a8-d813477cba30
Content: Using packages in Azure DevOps best practices - Azure Artifacts
Content Source: docs/artifacts/concepts/best-practices.md
Product: devops
Technology: devops-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@GaTechThomas Thank you for your feedback. We'll get it fixed ✔


React twitter

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
no

What's in this Pull Request?
Sample web part to display Twitter timeline.
This sample illustrates how to use react-twitter-embed module to display Twitter timeline of specific profile, likes, list, collection or url.
It also uses PnP React Controls and PnP Property Controls for rich web part and property pane components.
The sample is related to the discussion in PnP React Controls repo

Nice work on this @AJIXuMuK - any change you'd be interested on doing a live demo on this in the upcoming community call? We would have next free spot on 12th of March SPFx call if you have availability or later works as well.

Thanks @VesaJuvonen!
Will be happy to demo. It will be a pretty short demo as there are literally few lines of code :)

Sounds good - 5 min demos are always also welcome. It's indeed quite simple, but also demonstrates the simplicity of using existing packages on the SPFx solutions, so let's focus on that and also on the web part options vs oob experience.

Then March 12th it is!


Not work homebridge 1.0.1

Hi this plugin not work new homebridge 1.0.2 or 1.0.1 can you fix this?

What? Does it work now? You closed the issue.

Yes now it work


Origin 3.11

Update scylla-tools-java to origin 3.11

Note that the respective patch sets for dtest and ccm are required to run dtest (due to string matching diffs).

I applied those too. Thanks, @elcallio!


Documentation Suggestion

I have a suggestion for the Linux/Mac installation. The documentation states:

Linux
Click here and follow the instructions to install Docker.

When you click on the link, it redirected me to Docker’s homepage. Is it supposed to redirect the user to Docker’s homepage or are there supposed to be step-by-step instructions?
Thanks!

@tgd15 Are you running Ubuntu? We also have instructions for Ubuntu below that doc bullet. We can also add CentOS (https://docs.docker.com/engine/install/centos/), Debian (https://docs.docker.com/engine/install/debian/), and Fedora (https://docs.docker.com/engine/install/fedora/) through packages, and general Linux through binaries (https://docs.docker.com/engine/install/binaries/).

I'm running macOS. Adding the link to the instructions for general Linux through binaries would be helpful. Thanks!


KAFKA-2431: Easier Testing of SSL

Allow cipher suites to be specified relevant properties
Avoid System.exit in ProducerPerformance so this can be externally invoked
Add command line option so that a default properties can be specified in ConsumerPerformance (needed for ssl properties)

A few mostly minor comments, the rest looks good. The command-line switch option name is something I think is important to address before merging.

LGTM

@harshach, are you interested in reviewing and merging this PR since you are now a committer? /cc @gwenshap @junrao too

tests run locally

Addressed comments from above. Also added a few other bits:

The ability to pass freeform properties of the format key=val,key=val etc. Generally useful but avoids the need for a properties file for SSL
Added a header that prints the properties being used (so it's clear what is being overridden as various defaults are hard coded in both ProducerPerformance and ConsumerPerformance and differ from documented defaults)
Made linger.ms a command line option for ProducerPerf. This is an important setting.

Note that this doesn't merge cleanly anymore.

Addressed comments from @ijuma addressed. Rebased.


Bot not responding on Teams & can't click & enlarge image

MS Teams Chatbot (Images can't click and enlarge).
MS teams Chatbot (if you chat the chatbot has no response) also in MS Teams Web

[x] Here's the image

@s209395 - Could you please let me know the steps you are trying it here.
Also which image you are trying to upload or clicking.

There's no error pop-up after sending the message.

Are you using ngrok or any tunnel for it?

after we published it works fine then several days bot suddenly not responding until now.

Could you please check your Bot channel registration and your app service plan?

Ok, I will get back to you, I will ask our System administrator to check the AppInsights.

Hi v-chetsh
we already solved our first issue that was Bot not responding on Teams, our bot is now working.
The only problem we have is that the image still can't be clicked and enlarged.
can you provide solutions here?
Thank you,

Thanks for updating, we have received the similar issue when doing this with Bot. We are looking into this.

Could you please share the steps how you are sending the image? It will help us to provide repro steps to Internal Engineering team.

Hi HunaidHanfee-MSFT
Thank you so much.
I will wait for your next update.
Have a great day ahead!

Teams is working on it and it in progress. Sorry don't have an ETA to share, but I will update you once it is fixed.
Thanks

Hi Wajeed-msft, v-chetsh
Good day!
We would like to know if there’s any update regarding the MS Teams fixed update.
Thank you and have a great day ahead!

@s209395 - Could you please try updating your Teams desktop client on windows and check it once.
We will check the status of bug again and let you know.

Hi @v-chetsh
I have already tried to update my Teams Desktop Client,  but I didn't get an update, and still can't click and enlarge the image.
It says "You've got the latest updates. Enjoy!"
Here's the Teams desktop client version:
Microsoft Teams Version <IP_ADDRESS>376 (64-bit)
Thank you and have a great day ahead!

Hi @v-chetsh
Good day,
Is there any update?
Thank you and have a great day ahead!

Hello @s209395,
Bug is being tested. Right now I don't have an exact ETA to share for when it is pushed for public.
Thanks

Hi @HunaidHanfee-MSFT
Thank you for your response.
I tried to update my Teams Desktop Client installed on my workstation and I already get the update but still can't click and enlarge the image from our Chatbot.
Here's the Teams desktop client version:
Microsoft Teams Version <IP_ADDRESS>469 (64-bit).
Thank you and have a great day ahead!

Thanks for the update. Teams is testing the fix internally. I can't share ETA as there are multiple builds there to be tested in. I will update you once it is fixed for all.
Thanks

Hi @HunaidHanfee-MSFT
Thanks for the update. Noted on the information you provided.
I will wait for your next update.
Have a great day ahead!

Hi @HunaidHanfee-MSFT
Good day,
We would like to share our experience in Web-based MS teams we can't click the image and enlarge it from our Chatbot. but the last few days it has been working fine.
hope to hear from you soon!
Thank you

Thanks for telling us I will check again about the status and let you know if it's out in public.

Hi @HunaidHanfee-MSFT
Hope you could get back to us as soon as there's an update from your end.
Thank you!

Hi @HunaidHanfee-MSFT
Good day,
Is there any update?
Thank you!

Hello @s209395,
It's still in the pipeline and I can't give a specific date when it will be rolled out. I will update you once it is fixed
Thanks

Hi @HunaidHanfee-MSFT
Good day,
Is there any update?
Thank you!

We are expecting fix to be out in January. I will update you once it is out.
Thanks

Hi @HunaidHanfee-MSFT
Thanks for the update. Noted on the information you provided.
hope to hear from you soon!
Thank you

Hi @HunaidHanfee-MSFT
Good day!
We would like to know if the fix update has already been roll-out.
hope to hear from you soon!
Thank you

We are checking the update with engineering team and we will let you know.
Thanks

@s209395 - Hello,
Confirmed with internal team, it still in pipeline. I will let you know once it is rollout publicly.
Thanks

Hi @HunaidHanfee-MSFT
Good day,
Is there any update?
Thank you!

@s209395 - Just wanted to inform you that the engineering team has worked on it but we do not have exact ETA to share for public release.
We will inform you once it is rollout publicly.

Hi @HunaidHanfee-MSFT
Good day,
Is there any update?
Thank you!

@s209395 - We are checking  the status of bug internally and let you know the updates.

Hi @Prasad-MSFT @v-chetsh @HunaidHanfee-MSFT
Good day,
Thank you so much.
Appreciate your assistance in attending to our concerns/inquiries.


Don't use EventListener in integration tests.

There's still 1 test failure (TransactionTest.TestCanHaveGetsWithoutMutations) only on one configuration(test-android-macos-latest-android_latest).

I will roll back the original PR for now


diff btw PE v1 and v2

what are the differences between Presentation Exchange v1 and PE v2?
Would it be possible to add a section with bulletpoints enumerating major differences?

precedent/paragon here:
https://didcomm.org/book/v2/whatsnew

? that's what's new in DIDComm v2, right?

PR #369 Is ready for review.
I still want to have a quick look at whether the optional, prefered, required changes of Features need to be mentioned


Added Partitioned HTTP Cache Bypass

@terjanq I made the changes.

Is there anything I should change this looks finished.

@terjanq is there a reason this never got added?

Hey, as mentioned in the other PR I am busy recently so that was the main reason it wasn't added yet. It's not clear to me why it's working from the bypass description. I'd need to dive deeper into how partitioned cache currently works and whether it's an intended bypass or something the browser should fix (I'd guess the latter). Also, I didn't quite understand the example.
My bet is that it is what happens:

A key for the partitioned cache is in the form of the triple (top_frame, parent_frame, resource)
If //example.org loads a resource //example.org/img.png then the key would be (example.org, example.org, example.org/img.png), but when we directly visit the resource then the key is also (example.org, example.org, example.org/img.png) because top_frame === parent_frame.

If you have to confirm that, it would be great, otherwise, when I get more time I will reach out to folks that implemented this to ask a few questions. It's a nice finding and I think that's something browser would want to fix!

@terjanq (I dont think I need to put this here as your a "participant" for this issue but I did it anyway)
I think your right but you might want to check anyway.
This is an example of how the network_isolation_key changes using chrome://net-export
Normal request by page to image.
{"params":{"initiator":"https://http.cat","load_flags":<Removed>,"method":"GET","network_isolation_key":"https://http.cat https://http.cat","privacy_mode":"disabled","request_type":"other","site_for_cookies":"SiteForCookies: {site=https://http.cat; schemefully_same=true}","url":"https://http.cat/images/200.jpg"},"phase":1,"source":{"id":<Removed>,"start_time":"<Removed>","type":1},"time":"<Removed>","type":100}
Direct .location change to image from different initiator, has same network_isolation_key as above.
{"params":{"initiator":"https://example.com","load_flags":<Removed>,"method":"GET","network_isolation_key":"https://http.cat https://http.cat","privacy_mode":"disabled","request_type":"main frame","site_for_cookies":"SiteForCookies: {site=https://http.cat; schemefully_same=true}","url":"https://http.cat/images/200.jpg"},"phase":1,"source":{"id":<Removed>,"start_time":"<Removed>","type":1},"time":"<Removed>","type":100}
www.example.org is the same key as example.org (eTLD+1)
{"params":{"initiator":"https://www.example.com","load_flags":<Removed>,"method":"GET","network_isolation_key":"https://example.org https://example.org","privacy_mode":"disabled","request_type":"main frame","site_for_cookies":"SiteForCookies: {site=https://example.org; schemefully_same=true}","url":"https://www.example.org/"},"phase":1,"source":{"id":<Removed>,"start_time":"<Removed>","type":1},"time":"<Removed>","type":100}

Hopefully its better explained now.

Thanks for diving into the issue. It seems that this is not an intentional bypass and we'd want to fix that, awesome work once again :)
I will merge since fixing this will probably take some time.


403 :(

Hi there,
I'm really despaired and looking for solution
I created latest (dev-master) apigility/zf project also tried with this blog example but I always end up with 403 when trying to access user resource
my steps (except correctly configuring database and configs):
POST: http://test2.lc/auth/registration
{
  "username"<EMAIL_ADDRESS>  "password": "testpass",
  "firstname": "Pav",
  "lastname": "Zwierzynski"
}

response:
{
    "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
    "title": "Success",
    "status": 200,
    "detail": "The entity has been created"
}

POST: http://test2.lc/auth/login
{
  "username"<EMAIL_ADDRESS>  "password": "testpass",
  "grant_type": "password",
  "client_id": "webapp"
}

response:
{
    "access_token": "30f03a9d46cd3698bb0ffd091fbb37fe3557fae8",
    "expires_in": 3600,
    "token_type": "Bearer",
    "scope": null,
    "refresh_token": "6dc6166d948072962c0a8142b1f5162bafadcf36"
}

POST: http://test2.lc/post
(header Authorization: Bearer 53f382dfbb9fa27f12e268de7a02c8b7613a67bc)
{
  "postTitle": "Sample post",
  "postBody": "This is just a sample post to see if the API works"
}

response:
{
    "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
    "title": "Forbidden",
    "status": 403,
    "detail": "Forbidden"
}

if anyone can help I'm inviting for 10 beers!

"access_token": "30f03a9d46cd3698bb0ffd091fbb37fe3557fae8",
(header Authorization: Bearer 53f382dfbb9fa27f12e268de7a02c8b7613a67bc)

POST /post request should have access token in Authorization header. In this example:
Authorization: Bearer 30f03a9d46cd3698bb0ffd091fbb37fe3557fae8

Thank for your time, somehow I deleted vendor folder, updated all packages and it worked.


Feature request: @platformatic/client - allow for URL context paths

Currently @platformatic/client takes a URL, drops its path then appends the paths defined in the openapi spec. The only problem is our test environment has mulitple services on the same domain differentiated by context paths. Unfortunately these are not included in the services openapi JSON, just standard /v1/etc/.
This results is all my clients are hitting /v1/etc at the root of the domain, so I just get 404s.
Ideally this would work:
app.register(pltClient, {
  type: 'openapi',
  name: 'dogs',
  path: join(__dirname, 'dogs.openapi.json'),
  url: 'https://test-server/dogs'
})

app.register(pltClient, {
  type: 'openapi',
  name: 'cats',
  path: join(__dirname, 'cats.openapi.json'),
  url: 'https://test-server/cats'
})

// GET https://test-server/dogs/api/v1/dogs/1
await app.dogs.findOne(1)

// GET https://test-server/cats/api/v1/cats/1
await app.cats.findOne(1)

Or would it be better to specificy the context path in the options?
app.register(pltClient, {
  type: 'openapi',
  name: 'cats',
  path: join(__dirname, 'cats.openapi.json'),
  url: 'https://test-server',
  contextPath: '/cats'
})

// GET https://test-server/cats/api/v1/cats/1
await app.cats.findOne(1)

I think supporting:
app.register(pltClient, {
  type: 'openapi',
  name: 'dogs',
  path: join(__dirname, 'dogs.openapi.json'),
  url: 'https://test-server/dogs'
})

Would be the best API. Would you like to send a PR?

Of course! I'm just a bit busy this week but I hope I can fit it in along with something for getting whole response. Thanks!

@mcollina Looking for a simple issues to fix and help projects :) Would we just remove the call to computeURLWithoutPath here to solve this one the way you proposed?

I think so, tests would need to be added/adjusted.


puller(cdc): more tests and logs for frontier and kv-client

What problem does this PR solve?

Issue Number: ref #10157
What is changed and how it works?
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/test all

/retest-required


feat: use elegant spinner on environments that support unicode

Currently, Listr only uses the elegant spinners on Windows on the Windows Terminal.
This commits adds another environments that are known to have support for unicode characters and thus, the elegant spinners.
The initial idea was to simply use is-unicode-supported. However, that package doesn't really fits this package's build because v1.0.0 is shipped only as ESM and v0.1.0 would require allowSyntheticDefaultImports or esModuleInterop, which has been removed in this package's config.
Given this situation, I pretty much added a function exactly like sindresorhus' until there's a solution to use the proper package. I will look into open a PR for adding support for no module interop in is-unicode-supported, but I think it's worth adding the elegant spinners at least for VSCode for now.

Thank you for your work on this pull request. Yes esmoduleinterop is recently removed by a pull request but i will later introduce it when ESM packages are more common in npm since node 10 is already dropping out of support.

:tada: This PR is included in version 3.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Feature Request] Allow getting Label's pointer

In my JIT, I compile several blocks of code that link and jump to each-other. For that I keep Labels in an array and do a L() call at the beginning of each block. However I also need to call into these blocks from external compiled code (as a function pointer). This forces me to also keep a separate array of function pointers and call getCurr() at each block together with the L(), even though the Labels already keep track of that.
So I think it would be useful to be able to get a pointer to the location represented by a Label, after compilation is done and all label locations have already been resolved.

Thank you for your proposal.
I add a function Label::getAddress(). https://github.com/herumi/xbyak/commit/86759a3bc82a5f0b6ccbea348b1076596440fe70
Is it what you want?

Yes, that's perfect! Thank you so much!


Let f8 show current marker first

While verifying #11400
Currently it shows next first. I looked through the keybindings but didn't find anything that shows current marker (the section enclosed by the green line)

It's always relative to the current cursor pos

Ah, I see. When you are already on a marker we should be more relaxed - ala position contains range.

Yea, if the green hint is not present, I hope f8 will open it for the current word/line, and further f8 will go to the next hint.


myth --truffle not catching all the errors.

Describe the bug
myth --truffle not catching all the errors. Running checks via commandline solc catches the errors, but not when doing mythril --trufle
To Reproduce
Steps to reproduce the behavior:
Fork: https://github.com/UjoTeam/contracts-badges/tree/fix/audit.
Run: truffle compile
Run: myth --truffle
Expected behavior
There's overflows to be caught in PatronageBadges.sol, but it's showing that there's no issues found.
Screenshots
Desktop (please complete the following information):

OS: OS X
Version: Sierra.

Additional context
Running the myth -xo markdown contracts/UjoPatronageBadges.sol > patronage_mythril.md produces an incorrect report (duplicating incorrectly) as can be seen in the markdown in that branch above. This might be related.

using --truffle uses max depth of 10 compared to default '-x' where max depth of  22 is used

Also as of now --max-depth is not considered when --truffle is used as argument, that should be fixed


mosaic unified tooltip

This will address https://github.com/VEuPathDB/web-components/issues/428. I already discussed with Danica and she confirmed my mockup was good. https://github.com/VEuPathDB/web-components/issues/428#issuecomment-1379798117. Screenshots can be found at the ticket.

Thank you for your review and tests, @chowington 👍 I will merge it later.


Memory leak

Version
2.6.11
Reproduction link
https://github.com/mwasigala/memory-leak-sample
Steps to reproduce
Clone the repository,
npm run serve,
Refresh the browser while viewing the javascript heap memory
What is expected?
The memory to not increase rapidly and with a big difference (meaning large value)
What is actually happening?
memory exceeds 60MB, its not good

from 6.5 MB to more than 60MB... is a very big difference, my app is in production and this memory link is involved in making it crash.
and the version is 2.6.12

You linked to a fresh default Vue CLI project.
This is not a reproduction. We can't possibly understand what kind of memory leak you might be experiencing without any actual code that demonstrates the problem.

This is not a memory leak either. Also note the memory usage is very different in production and development mode to improve DX


Try fetching without origin/ prefix

This ensures that all remote branches are automatically tracked, so that we can put branch in our version file, instead of remotes/origin/branch

It's working!  Turns out if we just change the fetch refspec (and allow it to update the current branch with -u) we get all the remote branches locally, without any need for remotes/origin/ before the branch name.


Repo sync for protected CLA branch

The pull request is created from master637527214720954493 to master to fix git push error for protected CLA branch

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


[Gardening] Ignored Package.resolved for swift-inspect.

When running build-script with --swift-inspect, the Package.resolved file is created in tools/swift-inspect.  Ignore it.

@swift-ci please smoke test


accountSwitchEnabled is not working in OneDrive FilePicker v7.2

Account Switch UI is not showing up in FilePicker v7.2 anymore
Here is simple JavaScript
<!DOCTYPE html>
<html>
<head>
    <script type="text/javascript" src="https://js.live.net/v7.2/OneDrive.debug.js"></script>
    <meta charset="utf-8" />
    <title>JSFilePicker</title>
</head>
<body>
    <div>
        <button onClick="launchOneDrivePicker()">Open OneDrive File Picker</button>
    </div>
    <script>
       function launchOneDrivePicker() {
          var odOptions = {
          clientId: "<ID>",
          action: "query",
          multiSelect: true,
          advanced: {
          },
          success: function(files) { /* success handler */ },
          cancel: function() { /* cancel handler */ },
          error: function(error) { /* error handler */ }
       }
       OneDrive.open(odOptions);
    }
    </script>
</body>
</html>

Anyone know if there was a change to stop supporting this feature?

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

ID: 55a64e9d-ae15-46a4-4a4d-3674972d9806
Version Independent ID: 744d6f1a-4cde-b9aa-4003-209d1d4a527b
Content: Open from OneDrive in JavaScript - OneDrive dev center
Content Source: docs/controls/file-pickers/js-v72/open-file.md
Service: one-drive
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKe

Hello, the v7.2 Picker is no longer receiving updates, when possible please migrate to the v8 picker, you can ask questions for v8 picker in this issues list.


Missing file in MIP NeRF dataset -- counter

Hi all,
Thanks for the great work! I am trying to get one of the examples (counter) to work, and it seems like there is a missing file.
Do you know where DSCF6096.JPG is?

Found it in the original dataset! I would add it to your G-Drive.

Here is the image for easy access.

Thank you！ I will check it and fix it！

Cool, I will close the issue now, thanks!


Problem with ColReorder and column without filter

Hello! First of all, I'm not sure if it is a bug, I've tried to find an answer, sorry if I'm mistaken.
Versions used: 0.92 and 0.93.beta.18.
I have a table with 7 columns, the last one (index 6) is an action  column without filtering. So, I didn't set an object with "column_number: 6" for that column and worked as expected, the filter wrapper "yadcf-filter-wrapper" wasn't generate on it. Then, I've added ColReorder extension and everything was working until I moved a column to action column index (6) position. After that, I couldn't search anything and this error shows up:
Cannot read property 'case_insensitive' of undefined
at yadcfMatchFilter (jquery.dataTables.yadcf.js:816)

YADCF seems to use index 6 to get filter information, but it doesn't exist. It wasn't suppose to change accordingly on moving?
This is my array of objects for YADCF initialization.
[
  {
    "column_number": 0,
    "filter_type": "text",
    "style_class": "form-control"
  },
  ...
  {
    "column_number": 5,
    "filter_type": "select",
    "style_class": "form-control"
  }
]

I've found a fix, setting index 6 in the array and passing a "display: none" class to "style_class". Like this:
{
  "column_number": 6,
  "style_class": "d-none",
  "filter_reset_button_text": false
}

Is there a proper way to hide/disable a column for filtering?
Thanks 😄

Hi
Please make sure you got the latest ColReorder js/css and if it still does not work, please provide a test page jsfiddle/etc

Hello, @vedmack!
I'm using the latest version of ColReorder (1.4.1) with latest version of DataTables (1.10.16).
I've made the JSFiddle to exemplify: https://jsfiddle.net/m72dcmbg/9/

Move Values column into Tags column position, then try to type anything to filter, nothing is filtered and the error appears on console.

If I hide the column filter with "style_class" instead, it works.
Working: https://jsfiddle.net/qjnm2xq7/1/
=)


More Clients / Drivers?

Should these two projects:

https://github.com/topofocus/arcadedb
https://github.com/tetious/ArcadeDb.Client

added to the new drivers section?
Best

Good point, just added it. Thanks.


doesn't work with AWS lambdas

my configuration

import i18n
from i18n import t
FILE_PATH = './translations/'
i18n.set('locale', 'ru')
i18n.set('fallback', 'en')
i18n.set('skip_locale_root_data', True)
i18n.load_path.append(FILE_PATH)
print('i18 configuration loaded')
print(i18n.load_path)

the output of the following stuff running in process
from os import listdir
from os.path import isfile, join
files = [f for f in listdir(FILE_PATH) if isfile(join(FILE_PATH, f))]
print(files))

['bot.en.yml', 'bot.ru.yml']

bot:
hi: Well, hello
When running within a test with pytest - it works just fine. In an AWS lambda it does't

Ok. so so far I found out that
import("yaml") in config.py failed to load yaml. I use serverless framework with serverless-python-requirements plugin. And it didn't load yaml in aws lambda environment. eventually resolved the issue with adding pyyaml into requirements.txt file. Suppose the issue can be closed now. However, having more logs could be beneficial.


Error "com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Quorum 5 not reached for request " when create property on class has more million record

OrientDB Version: 3.0.29
Java Version: 8
OS: Ubuntu 18.10
Expected behavior
Created success, not raise any error
Steps to reproduce
My OrientDB system has over 100 classes with over 50GB data, setup in cluster mode with 6 node, on 6 different IP.

Open console (run ./console) and login to server....
Run command to create property on class : "create property news.authorid STRING;", it has been error .
(Noted: This class has more 1 million record)
Detail error

orientdb {db=web}> create property news.authorid STRING;

Error: com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Quorum 5 not reached for request (id=0.476014 task=command_sql(create property `news`.`authorid` String)). Elapsed=25135ms. Servers in timeout/conflict are:
 - ograph03-73: 132
Received:
 - ograph06-76: waiting-for-response
 - ograph04-74: waiting-for-response
 - ograph05-75: 133
 - ograph02-72: 133
 - ograph03-73: 132
        DB name="web"
        DB name="web"

When i see log in service, i see this WARN:
WARNI [ograph01-71] Timeout (25004ms) on waiting for synchronous responses from nodes=[ograph06-76, ograph04-74, ograph05-75, ograph02-72, ograph03-73] responsesSoFar=[ograph05-75, ograph02-72, ograph03-73] request=(id=0.92998 task=command_sql(create property `news`.`authorid` String) user=#69:0) [ODistributedDatabaseImpl] 2
In previous version (3.0.28) this error didn't appear, but seem to be problem in version 3.0.29
Any idea to resolve this problem?
Please help me

some error please help


support 0.19

Is it possible to update this extension to support thephpleague/commonmark
0.19? Thanks! :)

Pull request has been created https://github.com/webuni/commonmark-table-extension/pull/23


Ask mypy to check whole tmt.steps.report package

All its modules are now annotated, gettign rid of per-file entries in the list of protected files in favor of the whole directory.

Resolved conflict and rebased, preparing for merge