ciceroUIWndFrame PowerLauncher.exe Application Error

Microsoft PowerToys version
0.51.1
Running as admin

[X] Yes

Area(s) with issue?
General
Steps to reproduce
Getting this pop up error as soon as I reboot.
ciceroUIWndFrame PowerLauncher.exe Application Error
Goes away after I uninstall powertoys but returns after I install it and reboot.
screenshot:  https://paste.pics/FI607
✔ Expected Behavior
No response
❌ Actual Behavior
Pop up error
Other Software
No response

Apparently Cicero is the Speech and Handwriting Recognition feature from Microsoft Office.
https://www.troublefixers.com/avoid-cicerouiwndframe-error-while-windows-shut-down/
@crutkas is this related to #15022?

Apparently Cicero is the Speech and Handwriting Recognition feature from Microsoft Office. https://www.troublefixers.com/avoid-cicerouiwndframe-error-while-windows-shut-down/ @crutkas is this related to #15022?

Could be but I can't find the fix they're referring to. Might be for older Windows. And I don't even have the full Office version installed.

Okay. What about the Windows OS version of the "Touch Keyboard and Handwriting Panel Service"? Any changes to that?

Touch Keyboard and Handwriting Panel Service

Its status is running but startup type is set to Manual.

@crutkas
Do we have a tracking issue for this ciceroUIWndFrame error message? I saw this issue multiple times the last time.
And this issue is annoying me too every time I reboot/shutdown my system.

we've seen reports of it but no one provided a bug report.

If there's a fix for this, please advise :)

@crutkas
I tried to find logs for this on my pc. But there aren't any. 😕 And it seems that the bug is gone for now on my pc.

I formatted and reinstalled powertoys. Had the same error upon restart. The error is still there.

What do you mean "formatted"

@bellesbae can you provide a bug report?  /reportbug

PowerToysReport_2022-01-25-12-32-43.zip
By formatted, I meant I formatted my PC thinking it was a problem with my PC. But I managed to record a video and slowed it down and realized it was a problem with PowerToys.
See attached for the bug report.

event ID 1026:
Application: PowerToys.PowerLauncher.exe
CoreCLR Version: 5.0.1321.56516
.NET Version: 5.0.13
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Data.BindingExpression.Deactivate()
at System.Windows.Data.BindingExpression.DetachOverride()
at System.Windows.Data.BindingExpressionBase.Detach()
at System.Windows.Data.BindingExpressionBase.OnDetach(DependencyObject d, DependencyProperty dp)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Baml2006.WpfMemberInvoker.SetValue(Object instance, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
at MS.Internal.Xaml.Runtime.PartialTrustTolerantRuntime.SetValue(Object obj, XamlMember property, Object value)
at System.Xaml.XamlObjectWriter.SetValue(Object inst, XamlMember property, Object value)
at System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
at System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
at System.Xaml.XamlObjectWriter.WriteEndMember()
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack1 stack, IStyleConnector styleConnector)    at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)    at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)    at System.Windows.ResourceDictionary.OnGettingValue(Object key, Object& value, Boolean& canCache)    at System.Windows.ResourceDictionary.OnGettingValuePrivate(Object key, Object& value, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)    at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)    at System.Windows.DeferredResourceReference.GetValue(BaseValueSourceInternal valueSource)    at System.Windows.DeferredAppResourceReference.GetValue(BaseValueSourceInternal valueSource)    at System.Windows.DependencyPropertyChangedEventArgs.get_NewValue()    at System.Windows.Shell.WindowChrome._OnChromeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)    at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)    at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)    at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)    at System.Windows.StyleHelper.ApplyStyleOrTemplateValue(FrameworkObject fo, DependencyProperty dp)    at System.Windows.StyleHelper.InvalidateContainerDependents(DependencyObject container, FrugalStructList1& exclusionContainerDependents, FrugalStructList1& oldContainerDependents, FrugalStructList1& newContainerDependents)
at System.Windows.StyleHelper.DoStyleInvalidations(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle)
at System.Windows.StyleHelper.UpdateStyleCache(FrameworkElement fe, FrameworkContentElement fce, Style oldStyle, Style newStyle, Style& styleCache)
at System.Windows.FrameworkElement.OnStyleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.FrameworkElement.SetResourceReference(DependencyProperty dp, Object name)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.Baml2006.WpfMemberInvoker.SetValue(Object instance, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
at System.Xaml.XamlObjectWriter.SetValue(Object inst, XamlMember property, Object value)
at System.Xaml.XamlObjectWriter.Logic_ApplyPropertyValue(ObjectWriterContext ctx, XamlMember prop, Object value, Boolean onParent)
at System.Xaml.XamlObjectWriter.Logic_DoAssignmentToParentProperty(ObjectWriterContext ctx)
at System.Xaml.XamlObjectWriter.Logic_AssignProvidedValue(ObjectWriterContext ctx)
at System.Xaml.XamlObjectWriter.WriteEndMember()
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Windows.Markup.WpfXamlLoader.TransformNodes(XamlReader xamlReader, XamlObjectWriter xamlWriter, Boolean onlyLoadOneNode, Boolean skipJournaledProperties, Boolean shouldPassLineNumberInfo, IXamlLineInfo xamlLineInfo, IXamlLineInfoConsumer xamlLineInfoConsumer, XamlContextStack`1 stack, IStyleConnector styleConnector)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at PowerLauncher.ReportWindow.InitializeComponent()
at PowerLauncher.ReportWindow..ctor(Exception exception)
at PowerLauncher.Helper.ErrorReporting.Report(Exception e, Boolean waitForClose)
at PowerLauncher.Helper.ErrorReporting.DispatcherUnhandledException(Object sender, DispatcherUnhandledExceptionEventArgs e)
at System.Windows.Threading.Dispatcher.CatchException(Exception e)
at System.Windows.Threading.Dispatcher.CatchExceptionStatic(Object source, Exception e)
at System.Windows.Threading.ExceptionWrapper.CatchException(Object source, Exception e, Delegate catchHandler)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

Interesting, The above comment seems like https://github.com/microsoft/PowerToys/issues/15846#issuecomment-1032544541

Is this issue still relevant in v0.73? /needinfo


HTML-CSS renderer produces invalid markup

The HTML-CSS output processor produces invalid markup. Validation of the generated HTML yields:
Element nobr not allowed as child of element span in this context.
Here's a suggestion how the markup could be made valid. In maction.js#L177 replace:
<nobr></nobr>
... with:

And adjust the CSS accordingly here and here, replace:
.MathJax nobr
... with:
.MathJax .nobr
Not sure if that'd break some legacy browsers that do not support white-space: nowrap. There may be other caveats with this change as well that I'm not aware of as I'm new to this project. Anyway, that worked for me.

Here's the script I use to make the markup valid in a post-processing step after grabbing the generated output (i.e. a monkeypatch that applies the above changes):
https://github.com/w3c/mediacapture-depth/blob/gh-pages/releases/make-valid.sh
Would like to see these fixes integrated into MathJax proper.

@dpvc will correct me but I think this is the expected behavior.
Note that the HTML-CSS is not portable across browsers (and OSs), so the validity of its output is not very important.
If you want to generate HTML server-side, the CommonHTML output is the only choice you have. You might want to use mathjax-node for that.

@dpvc Thanks a bunch! The use of CommonHTML output fixed my issue, making the generated output valid HTML.
Feel free to close this issue.

Thanks a bunch! The use of CommonHTML output fixed my issue, making the generated output valid HTML.

Glad to hear that solved the problem. Note that the CommonHTML output only supports IE8+ (and Safari <6 can have problems) but it should degrade reasonably well. You might also want to check out github.com/mathjax/mathjax-node or github.com/zorkow/speech-rule-engine if you want to make the output accessible.


Index sheet with link - Enhancement

Hi,
It would be nice if export-excel function can create a Index page in sheet 1(Ascending order) with links to other excel sheets of the same workbook.
Thanks.

Could you provide an example of what you mean?

In Excel we have Insert -> HyperLink -> Place In this document
I have attached a sample FYR. Here each department as seperate sheet is in ascending order and a the first page placed as Index page.
Thank you

Check out https://github.com/dfinke/ImportExcel/blob/master/Examples/SpreadsheetCells/HyperLink.ps1
You can import data into a sheet using the =HyperLink formula.
The text is clickable.
Unfortunately, additional code is needed to underline the text and turn it blue. This is under investigation.
If you can figure out how to do that part, let me know and I'll add it in.

Hi
For getting all sheet names I used the below code.
function Get-ExcelsheetNames {
param(
[Alias("FullName")]
[Parameter(ValueFromPipelineByPropertyName=$true, ValueFromPipeline=$true, Mandatory=$true)]
$Path,
[Alias("Sheet")]
$WorkSheetname=1
)
Process {
    $Path = (Resolve-Path $Path).Path
    write-debug "target excel file $Path"

    $stream = New-Object -TypeName System.IO.FileStream -ArgumentList $Path,"Open","Read","ReadWrite"
    $xl = New-Object -TypeName OfficeOpenXml.ExcelPackage -ArgumentList $stream

    $workbook  = $xl.Workbook

    $worksheet=$workbook.Worksheets.Name
    return $worksheet
    }
}
$AllSheetNames = Get-ExcelsheetNames -Path D:\Test\test.XLSX
#Till here it works fine.
$AllSheetNames | Export-Excel -WorkSheetname Index -Path D:\Test\test.XLSX

But I am not able to add the content to existing excel sheet.
I am getting the following error:
Export-Excel : Exception calling "Save" with "0" argument(s): "Error saving file D:\Test\test.XLSX"
Thanks..

It looks like you need to close the file and stream before piping to Export-Excel

Hi
If possible, can you provide the code to make a cell to link a worksheet instead of an URL( as given in your link). Color and Underline is not needed for me.
I tried, but i can only add the Index sheet but not able to do it as clickable
Thanks

Found this but have not tried:
=HYPERLINK("[C:\Users\osknows\Desktop\Book2.xlsm]Sheet3!B4","CLICK HERE")
http://stackoverflow.com/questions/5807556/excel-hyperlink-to-different-workbook-and-specific-worksheet
This may work:
=HYPERLINK("Sheet3!B4","CLICK HERE")

Hi Doug,
I am able to modify each cell with the following script. But I am struggling to iterate through each row to apply this format
$FullName = "C:\temp\temp.xlsx"
$xl = New-Object OfficeOpenXml.ExcelPackage $FullName
$workbook = $xl.Workbook
$worksheet=$workbook.Worksheets[1]
$worksheet.Cells["A2"].Style.Font.Color.SetColor("Blue")
$worksheet.Cells["A2"].Style.Font.UnderLine = $true
$worksheet.Cells["A2"].Formula = '=HYPERLINK("[.]Admin!A1","Admin")'
$worksheet.Cells["A3"].Style.Font.Color.SetColor("Blue")
$worksheet.Cells["A3"].Style.Font.UnderLine = $true
$worksheet.Cells["A3"].Formula = '=HYPERLINK("[.]Audit!A1","Audit")'
$xl.Save()

Try using a # instead of [.]
$f="C:\Temp\testlink.xlsx"

rm $f -ErrorAction Ignore

$(
    New-PSItem '=HYPERLINK("#ps!A1","GetProcess")' (echo Index ' ')
    New-PSItem '=HYPERLINK("#gsv!A1","GetService")'
) | Export-Excel $f -WorkSheetname index

ps|select Company, Handle | Export-Excel $f -WorkSheetname ps
gsv| Export-Excel $f -WorkSheetname gsv -Show

`Clear-Host
#Import required module(s)
Try
{
Import-Module -Name "PSExcel"
}
Catch
{
If (!(Get-PackageProvider -ListAvailable | Where-Object {$_.Name -eq "NuGet"})) {Install-PackageProvider -Name "NuGet" -Scope AllUsers -Force -ErrorAction Stop -Verbose}
Install-Module -Name "PSExcel" -Scope AllUsers -Force -Verbose
Import-Module -Name "PSExcel" -Force
}
$Workbook = $Null
$WorkbookExportPath = "$([Environment]::GetFolderPath("Desktop"))\Reports\ExportXLSX_$((Get-Date -Format "yyyyMMdd_HHmmss")).xlsx"
$WorkbookExportPathParent = Split-Path -Path $WorkbookExportPath -Parent
If (!(Test-Path -Path $WorkbookExportPathParent)) {New-Item -Path $WorkbookExportPathParent -ItemType Directory -Force -Verbose | Out-Null}
$Workbook = New-Excel -Path "$($WorkbookExportPath)"
                    ### Begin Create any powershell object variables here, and prefix the variable name with "XLSX_" and the rest will be handled ###

$XLSX_Disks = Get-Disk | Select-Object -Property FriendlyName, DiskNumber, PartitionStyle, FirmwareVersion, OperationalStatus
$XLSX_Partitions = Get-Partition | Select-Object -Property DiskNumber, PartitionNumber, DriveLetter, GUID, IsBoot, Size
$XLSX_Volumes = Get-Volume | Select-Object -Property DriveLetter, FileSystem, FileSystemLabel, HealthStatus, DriveType, FileSystemType, Path
################################################################################################################################################################################################
$ObjectsToExport = Get-Variable -Name "XLSX_*"
ForEach ($Object In $ObjectsToExport)
{
$Workbook = New-Excel -Path "$($WorkbookExportPath)"
Export-XLSX -Excel $Workbook -InputObject ($Object.Value) -WorksheetName "$($Object.Name.Split('_')[1])" -Table -TableStyle Light19 -Force -AutoFit
}
$Workbook = New-Excel -Path "$($WorkbookExportPath)"
ForEach ($Item In $Workbook)
{
ForEach ($Worksheet In $Item.Workbook.Worksheets)
{
$FormatSheets_001 = $Item | Get-Worksheet -Name "$($Worksheet.Name)" | Format-Cell -Header -Bold $True -Underline $True -HorizontalAlignment Center -Size 14 -Autofit -AutofitMinWidth 60 -Passthru
$FormatSheets_002 = $Item | Get-Worksheet -Name "$($Worksheet.Name)" | Format-Cell -StartRow 2 -HorizontalAlignment Center -Size 12 -Autofit -AutofitMinWidth 60 -Passthru
            $Cells = $Worksheet.Cells["$($Worksheet.Cells.Address)"]

            $CellsWithHyperlinks = $Cells | Where-Object {($_.Value -match "(http[s]?|[s]?ftp[s]?)(:\/\/)([^\s,]+)")}

            ForEach ($Cell In $CellsWithHyperlinks)
                {
                    $SetTextColor = $Cell.Style.Font.Color.SetColor("Blue")
                    $UnderlineText = $Cell.Style.Font.UnderLine = $True
                    $SetCellFormula = $Cell.Formula = "=HYPERLINK(`"$($Cell.Value)`",`"$($Cell.Value)`")"
                }
        }
}

Save-Excel -Excel $Workbook -Close -Verbose
Try {Start-Process -FilePath "Excel.exe" -ArgumentList ""$($WorkbookExportPath)"" -WindowStyle Maximized} Catch {}`
Hope this helps! I spent a decent amount of time on this because I needed to use this for another project. I made it generic enough for it to work without modification.

a PR?

Yeah, pull request.

Saw this and added a couple of lines to the recently added hyperlink handling, excel seems to set the links up as XL://internal/
So you can now have
XL://internal/WorksheetName!A1 - which displays the link as WorksheetName (A1 is handled differently from other addresses)
XL://internal/WorksheetName!E419 - which displays the link as WorksheetName!E419
XL://internal/RangeName - which displays the link as RangeName
So "XL://internal/Sheet!A1", XL://internal/Sheet2!A1"     | export-excel -title "Index" ….

Yes my mistake!

@freedbygrace no problem, improves this module. BTW, @RamblingCookieMonster initially forked/used my approach, then chatted and ImportExcel moved forward.


cross-seed-data category gets duplicated with DuplicateCategories

duplicateCategories: true  is essential to avoid chaos with sonarr/radarr. When set to true, and using data based matching and search, this logically creates a duplicate for cross-seed-data as well, called cross-seed-data.cross-seed.
I would argue that duplicateCategories can be disabled for data-based search injections. It creates an additional long category for no good reason. It does not affect the ARRs to disable this.
I might have missed some secondary impact I have not considered
This is obviously not important, just QOL

Basically, what I think is going on is that this is not technically a bug unless my impression is mistaken.
Your initial search is done, after which when a search is subsequently done a torrent search is done on the previously matched torrent which resides in the data category (cross-seed prefers the torrent as a "source" over the data), and duplicateCategories is applied since it is no longer a data match at that point.

Yes not a bug, as stated just a quality of life improvement. I cannot turn of duplicate categories just for cross seed data as far as I know

No you cannot, however I guess my question is why would you want a non-data matching torrent to end up in the data category at all?

If it is a cross seed of a data matching torrent, it is also a data matching torrent.

I don't understand what you mean....
After there is a torrent that exists, it is not a data matched torrent anymore. There is now a torrent to search instead, which is why duplicateCategory is used rather than datacategory.

Data matching creates a hard link to a torrent, then creates the torrent and assigns the cross-seed-data category.
search uses that data based torrent to find copies on other trackers and add them.
Because duplicates are on it creates a new category called cross-seed-data.cross-seed. This new torrent in this new category still uses the same hard link and is data matched, not matched to actual files stored by the torrent client.
the duplication of categories is useful for categories used by Radar or Sonarr to avoid multiple or stuck imports.
since cross-seed data is not used by the Arrs it does not need a duplicate category to protect the Arrs. All that duplicate category does it create another category with a long name.
therefor for that specific data matching category cross-seed-data.cross-seed could/should be disabled and any matches put directly in cross-seed-data, the original category.

I'm not entirely sure changing this behavior would have no negative effects on anyone who depends on the suffixes to determine things about the nature of their matches or set share limits, etc.
qBitmanage can easily take any torrents in cross-seed-data.cross-seed and categorize them as you wish, though - into cross-seed-data. That seems like an appropriate interim while we discuss and investigate implications.


TSDoc @param should be followed by a hyphen

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.77.1
OS Version: macOS 13.3

Steps to Reproduce:
Start writing a TypeScript module, using the default TypeScript mode in VSCode:
function foo(bar: string): number {
  return bar.length;
}

Then type /** on the preceding line, as such:
/**
function foo...

A JSDoc comment suggestion should pop up. Hit TAB to use it, and you get:
/**
 *
 * @param bar
 * @returns
 */
function foo(bar: string): number {
  return bar.length;
}

Note that the @param bar is not succeeded by a hyphen/dash/-, which it should according to TSDoc:

The @param tag is followed by a parameter name, followed by a hyphen, followed by a description.

Thoughts?

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Upgraded to 1.77.2 and the issue remains.

TypeScript provides JSDoc completion which doesn't require this strict format, not TSDoc.
Can be easily added by hand along with proper text description.


Refactor functions to download fonts from github

If a user is downloading fonts from google/fonts or a fork of it, the family's project files will also be included.
Solves #157

Going to merge this since it's quite important. Once merged, our google/fonts ci and gftools qa -pr will work correctly on prs sent to google/fonts.
I'll improve the tests in #131 and make sure travis is working correctly.


Reconstructing build for an IDE is really difficult

I'm building for the EFR32MG12 and I'm trying to reverse engineer the build so I can integrate into an IDE. Running make with the -V option was really helpful for verbose output but there are a few linking issues I am unable to get around. They all appear to be related to mbedtls so I'll just describe one issue and extrapolate from there.
For example, these 2 files are giving me an issue:
"third_party/silabs/gecko_sdk_suite/v2.7/util/third_party/mbedtls/library/ecp.c"
"third_party/mbedtls/repo/library/ecp.c"
They appear to be pretty much identical files. They are built into these static libraries respectively:
libsilabs-efr32mg12-sdk.a
libmbedcrypto.a
However, then magically they are both included in this linker command.  How could these libraries possibly be linked against one another? Is there something I'm missing here?

I was able to figure this out by just removing third_party/mbedtls/repo/library/ecp.c from the build but it still doesn't explain why the build was actually linking before

I found running make with V=1 is helpful to gleam out how things are getting called… did that a lot in the early days of getting my build system working for some of the in-house stuff I'm working on (my "IDE" is fvwm+gvim+make+gcc+konsole… very basic).
Recently, a lot of ./configure switches got moved to Makefile definitions; there's a lot you can learn by perusing examples/common-switches.mk and observing what it sets in CPPFLAGS.  Once you have worked out what CPPFLAGS, CFLAGS/CXXFLAGS and LDFLAGS you need for your target, it should be possible to get your development environment to call ./configure with the appropriate arguments and environment, then make to build the libraries you need.

That's exactly what I did. Build with V=1. Thanks!

@theHurc, the ecp.c file provided by Silicon Labs is intended to replace the one provided by mbedtls. I believe the build with OpenThread's autotools-based system works because the linker inspects the first library when resolving symbols and does not look further after finding a match. Given that libsilabs-efr32mg12-sdk.a is listed before libmbedcrypto.a, the build completes as expected.
Is there anything you need from this issue?

Closing stale issue.


Bug: Fail to run Laravel app on Jammy

Expected Behavior

I can run the resulting Laravel app image generating with the buildpacks on  the Jammy stack.
Current Behavior

When running docker run --rm -p 8080:8080 --env PORT=8080 jammy-laravel on my app image, it fails when I curl the application:
The stream or file "/workspace/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied
The exception occurred while attempting to log: The stream or file "/workspace/storage/logs/laravel.log" could not be opened in append mode: Failed to open stream: Permission denied
...

Possible Solution

This may be resolved by https://github.com/paketo-buildpacks/composer-install/issues/46, but the issue is that we are trying to write to /workspace at run-time which is not allowed due to https://github.com/paketo-buildpacks/rfcs/issues/188. This may not be fixable at all without a workaround, since PHP wants to  stream logs
Steps to Reproduce

Generate a Laravel app (composer create-project laravel/laravel ./example-laravel-app), add extensions (fileinfo, curl, openssl) to .php.ini.d/custom.ini
Build:

pack build jammy-laravel -b paketo-buildpacks/php -e BP_PHP_SERVER=httpd -e BP_PHP_WEB_DIR=public --builder paketobuildpacks/builder-jammy-buildpackless-full

Run app: docker run --rm -p 8080:8080 --env PORT=8080 jammy-laravel
curl localhost:8080

Motivations

Building and reaching a Laravel app with the same steps works on Bionic, but fails on Jammy. Now that we support Jammy Jellyfish with the PHP buildpack, this experience should work.

Hi team,
Unfortunately, I also had this problem when build and deployment Laravel 10. Has anyone solved it?


Added gpg key id for agent version 3.0 in Debian Stretch

Small addition, v3.0 still can be used in some cases.

Thanks!


Tons of build issues with missing field initializers

Describe the bug
When building with -Werror, I'm getting literally hundreds of errors related to missing designated field initializers:
.../test/drivers/test_suites/syscall_exit_suite/sendto_x.cpp:18:81: error: missing initializer for member ‘send_data::greater_snaplen’ [-Werror=missing-field-initializers]
   18 |         evt_test->client_to_server_ipv4_tcp(send_data{.syscall_num = __NR_sendto});

AFAIK partial initialization with designated initializers isn't valid C++ (which doesn't make any sense but here we are).
How to reproduce it
Hmm, just build with -DCMAKE_BUILD_WARNINGS_AS_ERRORS=On, I suppose.
Expected behaviour
I expected a successful build.
Screenshots
I'm not pasting all the errors here, it's literally hundreds and hundreds.
Environment
$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Additional context
I'm hoping we can find some compiler-flag based solution (a gcc extension maybe), because otherwise we're looking at an insane number of patches like this one:
 	/*=============================== TRIGGER SYSCALL  ===========================*/

-	evt_test->client_to_server_ipv4_tcp(send_data{.syscall_num = __NR_sendto, .greater_snaplen = true},
-					    recv_data{.syscall_num = __NR_read});
+	evt_test->client_to_server_ipv4_tcp(
+	        send_data{.syscall_num = __NR_sendto, .greater_snaplen = true, .null_sockaddr = false},
+	        recv_data{.syscall_num = __NR_read,
+	                  .null_sockaddr = false,
+	                  .null_receiver_buffer = false,
+	                  .skip_recv_phase = false});

Switching to C++20 just causes more errors. Don't ask me why or how (this file is C, not C++) but then it also complains about https://github.com/falcosecurity/libs/blob/master/userspace/libscap/linux/scap_cgroup.c#L796 mixing designated and non-designated initializers (that one could just be {} I guess).
Also, am I the only one in the world building with -Werror or is my compiler sufficiently different from whatever is used in CI?
cc @Andreagit97 @federico-sysdig

Ei great catch! thank you! Reading the doc this is not super clear https://en.cppreference.com/w/cpp/language/aggregate_initialization#Designated_initializers

For a non-union aggregate, elements for which a designated initializer is not provided are initialized the same as described above for when the number of initializer clauses is less than the number of members (default member initializers where provided, empty list-initialization otherwise)

I agree to enable -DCMAKE_BUILD_WARNINGS_AS_ERRORS=On by default in CI!


add happyx V.S. jester section in readme

Hey, I hope you doing OK
I think it would be informative to have this in your readme, since jester is well-known among Nim programmers.

Solved in https://github.com/HapticX/happyx/commit/cceaec2b43c8748d6e14b9c62c76095f14ae6df8


util: export ThreadCollector to use it later.

Signed-off-by: qupeng<EMAIL_ADDRESS>What have you changed? (mandatory)
Export ThreadCollector so that we can use it later in other places (ont only for metrics).
Close #3673 .
What are the type of the changes? (mandatory)
Improvement.
How has this PR been tested? (mandatory)
unit tests.
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No.
Does this PR affect tidb-ansible update? (mandatory)
No.

PTAL @overvenus @Connor1996 .


Remove uint

Replaced uint with uint64_t globally

Coverage increased (+0.006%) to 83.317% when pulling b24e25aacd3257a06f599fe00e7a4473839a9906 on shsr04:remove-uint into fec7bc094ba5580ab5a36f4e4a9c7f8649d9e9a6 on thm-mni-ii:master.


Phonebook

@Vermasushant144 please add particular extension and than raise a pr again , please let me know if u get stuck somewhere :)


Added Travis CI Integration

@schickling Would you be able to add this repo to Travis? I would do so, but since this repository belongs to you, I don't have access to Travis for this repo.

@RyanRamchandar thanks for approving this! @schickling your thoughts?


CanaryRelease pipeline can be run only once

When choosing CanaryPipeline.groovy from the pipeline lists in fabric8, it can be run only once.
Main reason: the "git checkout -b " command fails as the branch already exists.
Why: because the version number in the branch name is null. This version number comes from the canaryVersion variable used in the workflow, which is not initialized.
How to reproduce:

under fabric8, create a new project
select CanaryRelease.groovy pipeline
execute the pipeline -> should be fine
execute the pipeline again -> should fail for the following reason: fatal: A branch named 'project_name-null' already exists.

Workaround:

edit the file Jenkinsfile at the root of your project.
insert the following code before node ('kubernetes'){ :

def canaryVersion = "${versionPrefix}.${env.BUILD_NUMBER}"

Ah good catch!  I wonder if we can use the versionPrefix above instead?  I think that's what's supposed to be used but lost during a copy / paste. https://github.com/fabric8io/jenkins-workflow-library/blob/master/workflows/maven/CanaryRelease/Jenkinsfile#L3

scrap my last comment yeah def canaryVersion = "${versionPrefix}.${env.BUILD_NUMBER}" should do it.
Fancy submitting a PR @Tomtom76?


Is BurnWallet Necessary?

https://github.com/oceanprotocol/tokenspice2/blob/aeca439b4beb1462e1f988f5d8eac60c2c5e8cbf/agents/AgentWallet.py#L188
Is this class necessary given that there is an OCEANBurnerAgent?
My static type checker raises on AgentWallet.transferUSD() since BurnWallet does not have the depositUSD(amt) method. Should it be implemented?
Maybe some clarification is required on this note:

class BurnWallet:
    """This is a wallet-level interface to send funds-to-burn to.
    This is *not* a burner wallet, that's a completely different concept.
    """

Is this class necessary given that there is an OCEANBurnerAgent?
Yes. We need a wallet-level interface to send funds-to-burn to.

My static type checker raises on AgentWallet.transferUSD() since BurnWallet does not have the depositUSD(amt) method. Should it be implemented?
Yes.

Maybe some clarification is required on this note ...
Sure, go for it with a PR.

Is this class necessary given that there is an OCEANBurnerAgent?
Yes. We need a wallet-level interface to send funds-to-burn to.

My static type checker raises on AgentWallet.transferUSD() since BurnWallet does not have the depositUSD(amt) method. Should it be implemented?
Yes.

Maybe some clarification is required on this note ...
Sure, go for it with a PR.

My static type checker raises on AgentWallet.transferUSD() since BurnWallet does not have the depositUSD(amt) method. Should it be implemented?

Yes

I just created #8 for this.

My static type checker raises on AgentWallet.transferUSD() since BurnWallet does not have the depositUSD(amt) method. Should it be implemented?

Yes

I just created #8 for this.


ROX-20970: Tests for Approved False Positives Table

Description
This includes some tests for the Approved False Positives table in Exception Management. You can check the subtasks for this Jira to see all the tests we will be adding https://issues.redhat.com/browse/ROX-20970.

/retest-required


Kuboo not working

Hi
I cant seem to get Kuboo to work.
Ubooquity is working fine
Opds feed is activate
But when I put my server IP adresse in ubooquity, the 3 dots appears but noyhing else happen.
What am I doing wtrong ?
My server is on a freenas. I have installed version 2.1.2 of ubooquity

@tomtom602
Please show your server format, the app is very picky, you need to include the trailing "/" character if it is missing.
To verify the opds feed is working just try it in a browser and see if the xml data shows up.
Correct format:
"http://<IP_ADDRESS>:2202/opds-comics/"

I have already have read about that in another thread.
My server is set as :
http://<IP_ADDRESS>:2202/opds-comics/

Another thing
My library is pretty big: more than a thousand comics. Could it be that?

No, this does not matter.
Just to cover everything, please post app version and if you checked via the web browser if you can pull the xml feed.

I have already checked throug browser and the xml appear correctly
The app version is 1.1.5
I have tried with another app : challenger.
It connects to the server, I can go to the list of folders but it seem to be a problem to open /download comics.. It could be related.

Please verify you are checking on the client device's web browser and not the server's web browser.

Yes, my server doesn't have a web browser anyway.
I have checked with my desktop and with my mobile and I see the xml with both devices.

Well..
I have just tried Kuboo this morning again, and now it's working...
I really don't understand.. Was there a new release of the app?

Nothing has changed but I'm glad it is working for you. Let me know of anymore issues.

I can't comment because I might give poor advice considering this is outside the app. Although I would appreciate it if you posted a solution if you found one. I am currently building my own server and would appreciate any pitfalls I could avoid. Thanks and good luck.

Thank you, will do.
I have asked the question on ubooquity forum. Still waiting for an answer.


Support type converters in .moor files

This is a great feature! I like being able to have table columns automatically mapped to enums. Any thoughts about adding support for this in .moor files? (#85)
Originally posted by @Mike278 in https://github.com/simolus3/moor/issues/64#issuecomment-520631511

Felt like this deserves its own issue because it requires some substantial changes.
I think the best way to use type mappers on columns is to extend the grammar, which is also what sqldelight is doing: https://github.com/square/sqldelight/blob/7db97c86ae0c83fe128bb9298fbf0ca3d15fbd2d/sqldelight-compiler/src/main/grammars/sqldelight.bnf#L51
Maybe we could have something like
CREATE TABLE users (
  preferences TEXT MAPPED BY `const CustomConverter()` NOT NULL
)

With that approach, we'd then have to parse the const CustomConverter() expression and use the Dart analyzer to figure out what type it is. Specifically, the CustomConverter extends TypeConverter<A,B>, and we need to know what A is. That A is the type of the field we need to generate. However, as .moor files are independent from .dart files, we would need to have some sort of import mechanism so that the analyzer knows about the CustomConverter, maybe it could look like:
import 'converters.dart';

CREATE TABLE users (
  preferences TEXT MAPPED BY `const CustomConverter()` NOT NULL
)

I've also never used the analyzer to parse and analyze segments of Dart code, it will be interesting to see how that works. I think angular is doing something similar with expressions in html files, I'll take a look at how they're doing it.

That would be pretty slick!

AFAIK the build package doesn't support this at the moment, but https://github.com/dart-lang/build/pull/2480 would help. The problem is that we don't get to resolve arbitrary Dart files yet. As soon as we're able to do that, we can generate a temporary, fake Dart file that contains the constructor invocation of the converter, so something like
// temp$0.dart
import 'converters.dart';

var converter = const CustomConverter();

for the example above. We should then be able to read the type by looking at the type of the declared "converter" field.

Darn that's too bad, although it looks like your PR is on track to be merged!
I tried messing around with Uri.dataFromString's ability to run dart code from a string in an isolate, but it doesn't look like you can send a Type across isolates:
import 'dart:isolate';

class TypeConverter<A, B> {}
class Preferences {}
class PreferenceConverter extends TypeConverter<Preferences, String> {}

void main() async {
  final typeConverterClass = 'PreferenceConverter';
  final uri = Uri.dataFromString(
    '''
    import "dart:isolate";
    import 'package:converter_test/main.dart';
    import "dart:mirrors";

    void main(_, SendPort port) {
      final Type type = reflectClass($typeConverterClass).superclass.typeArguments.first.reflectedType;
      print(type);
      port.send(type);
    }

    ''',
    mimeType: 'application/dart',
  );

  final port = ReceivePort();
  await Isolate.spawnUri(uri, [], port.sendPort);
  final Type type = await port.first;
  print(type);
}

// prints:
// Preferences
// Unhandled exception:
// Invalid argument(s): Illegal argument in isolate message : (object is a regular Dart Instance)

Looks like we're unblocked, but getting the next release ready is more important to me at the moment.
The parser can handle this already, so hopefully it should be straightforward to implement after that.


Deploy IdentityServer4 on ubuntu Nginx

Any guidance on this ?

https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-3.1

My API works on Nginx and kestrel too, however, the get token url works on kestrel only. If i switch to Nginx the request doesn't even reach my identity server.
If i use Kestrel i works, if i use nginx it brings (BAD REQUEST).
Below is my Nginx settings.
NGINX ASP.NET CORE CONFIG
server {
listen 80;
server_name saleslife.cloud;
large_client_header_buffers 8 16k;
client_header_buffer_size 64k;
http2_max_field_size 16k;
http2_max_header_size 128k;

location / {
    proxy_pass http://localhost:5000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;

    proxy_buffer_size 128k;
    proxy_buffers 4 256k;
    proxy_busy_buffers_size 256k;
 }

}


Manual java home cannot be used in sbt 1.x

steps
Clone https://github.com/jvican/sbt1-bug-forked-test and follow instructions in README. Sneak peek:

Change the javaHome setting in build.sbt to the correct JDK directory in your system.
Run sbt test.

problem
I get the Forked test harness failed: java.net.SocketException error:
sbt @ fork-test-error > test
[info] Updating {file:/data/rw/code/scala/repros/fork-test-error/}fork-test-error...
[info] Done updating.
[info] Compiling 1 Scala source to /data/rw/code/scala/repros/fork-test-error/target/scala-2.12/test-classes ...
[info] Done compiling.
[error] Error: Total 0, Failed 0, Errors 0, Passed 0
[error] Error during tests:
[error] 	Forked test harness failed: java.net.SocketException: Connection reset
[error] 	at java.net.SocketInputStream.read(SocketInputStream.java:210)
[error] 	at java.net.SocketInputStream.read(SocketInputStream.java:141)
[error] 	at java.net.SocketInputStream.read(SocketInputStream.java:224)
[error] 	at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2598)
[error] 	at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2792)
[error] 	at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2862)
[error] 	at java.io.ObjectInputStream$BlockDataInputStream.skipBlockData(ObjectInputStream.java:2764)
[error] 	at java.io.ObjectInputStream.skipCustomData(ObjectInputStream.java:2196)
[error] 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1838)
[error] 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1713)
[error] 	at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1888)
[error] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1529)
[error] 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
[error] 	at sbt.React.react(ForkTests.scala:156)
[error] 	at sbt.ForkTests$Acceptor$2$.run(ForkTests.scala:96)
[error] 	at java.lang.Thread.run(Thread.java:748)
[error] (test:test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 4 s, completed Oct 19, 2017 6:18:27 PM
sbt @ fork-test-error > %

expectation
The test suite to run nothing with a 0 exit code.
notes
If I change the sbt version to 0.13.16, it works.
sbt version: 1.0.2

I consider this to be a pretty urgent issue given the fact that it's not possible to run sbt with JDKs previous to version 8. This is the only mechanism for library authors to test their projects with JDK7, and it's currently blocked by this issue.
Without a fix for this, support of sbt 1.x for the Scala Platform modules better-files and scalajson will probably need to wait.

My guess is that downgrading to lower Java version never worked.
It would be good to fix this though.

There's communication going on in https://github.com/sbt/sbt/blob/v1.0.2/main-actions/src/main/scala/sbt/ForkTests.scala#L71-L106 using ObjectOutputStream /ObjectInputStream. That should turn into JSON serialization to avoid Java stickiness.
To contribute, some knowledge of sjson-new would be required, but I think it's somewhat contained issue.

I looked into this and I managed to identify the culprit of this error: the scala version. Specifying the scala version to 2.11.11 fixes it (obviously, because JDK7 cannot run Scala 2.12 code).
What I think we could improve here is the reported error. Instead of a cryptic protocol error, it would be great to catch the exception in the code spawning the JVM and report it back to sbt.

I ran it with sbt 1.1.1, and got the following output.
sbt:bug forked test> test
[info] Updating ...
[info] Done updating.
[info] Compiling 1 Scala source to ..
[info] Done compiling.
java.lang.UnsupportedClassVersionError: sbt/ForkMain : Unsupported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Exception in thread "main" [error] Could not accept connection from test agent: class java.net.SocketException: socket closed
[error] java.net.SocketException: socket closed
[error]         at java.net.DualStackPlainSocketImpl.accept0(Native Method)
[error]         at java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source)
[error]         at java.net.AbstractPlainSocketImpl.accept(Unknown Source)
[error]         at java.net.PlainSocketImpl.accept(Unknown Source)
[error]         at java.net.ServerSocket.implAccept(Unknown Source)
[error]         at java.net.ServerSocket.accept(Unknown Source)
[error]         at sbt.ForkTests$Acceptor$2$.run(ForkTests.scala:66)
[error]         at java.lang.Thread.run(Unknown Source)
[error] Error: Total 0, Failed 0, Errors 0, Passed 0
[error] Error during tests:
[error]         Running java with options -classpath ... sbt.ForkMain 55513 failed with exit code 1
[error] (Test / test) sbt.TestsFailedException: Tests unsuccessful
[error] Total time: 5 s, completed 2018/03/16 16:48:19
sbt:bug forked test>

Since java.lang.UnsupportedClassVersionError can be seen, I think that it can be tracked.

That looks good enough for me as the error message.


Request to use log.Print instead of fmt.Print

Hi,
we are using gorm and mess with its callbacks in our test code and now we're suffering from lots of lines like these that get printed to our console:
[info] removing callback `mighti:record-01677dc5-c64d-4912-80ba-ca8140cad21e` from /tmp/go/src/github.com/fabric8-services/fabric8-wit/gormsupport/cleaner/db_clean.go:83
[info] removing callback `mighti:record-d8d25eb1-110a-436c-9f48-d29575a3af01` from /tmp/go/src/github.com/fabric8-services/fabric8-wit/gormsupport/cleaner/db_clean.go:83
[info] removing callback `mighti:record-419caacf-4802-4040-b251-308f5829f2d6` from /tmp/go/src/github.com/fabric8-services/fabric8-wit/gormsupport/cleaner/db_clean.go:83
[info] removing callback `mighti:record-c09ff6b1-6a20-4c78-9b99-66b74c215134` from /tmp/go/src/github.com/fabric8-services/fabric8-wit/gormsupport/cleaner/db_clean.go:83
[info] removing callback `mighti:record-252b35b8-0c69-49ef-a04d-a3509505f471` from /tmp/go/src/github.com/fabric8-services/fabric8-wit/gormsupport/cleaner/db_clean.go:83
[info] removing callback `mighti:record-9d1dee95-d7d3-400e-9417-80a2f7f2bd81` from /tmp/go/src/github.com/fabric8-services/fabric8-wit/gormsupport/cleaner/db_clean.go:83

They result from this code in which messages are simply dumped to stdout rather than being processed by log.Print or something else:
// Remove a registered callback
//     db.Callback().Create().Remove("gorm:update_time_stamp_when_create")
func (cp *CallbackProcessor) Remove(callbackName string) {
	fmt.Printf("[info] removing callback `%v` from %v\n", callbackName, fileWithLineNum())
	cp.name = callbackName
	cp.remove = true
	cp.parent.processors = append(cp.parent.processors, cp)
	cp.parent.reorder()
}

Is there anything hindering the library from using log.Print?

@jinzhu I've made a super easy fix to replace fmt.Print with log.Print in #1634. Can you have a look please? It's a no-brainer.


Flutter version 2.10.1

bumps engine and flutter commit ids
adapts tool API changes
adds my name to the AUTHORS file as requested by the contribution guide

@devmil Thank you so much!


Redesign application to run in single thread

There is currently no need for this program to be threaded. It increases complexity unnecessarily, and will introduce bugs.

Addressed in 82c0502, fd0e3b5


bool operator for add (sub) doesn't look right!

>>> import dnnc as dc
>>> tmp = dc.arange(5,10).asTypeBool()
>>> tmp
[1 1 1 1 1]
>>> tmp1 = tmp - dc.array([5]).asTypeBool()
>>> tmp1
[1 1 1 1 1]

Expected Behavior
tmp1 should be [0 0 0 0 0]

fixed python operators sub and isub.


Delete blockchain/v2 until it gets simplified and stabilizes

Context
https://github.com/tendermint/tendermint/issues/5496
https://github.com/tendermint/tendermint/issues/5844

Codecov Report

Merging #309 (7ebe99b) into master (c48bd16) will increase coverage by 0.28%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
+ Coverage   61.79%   62.07%   +0.28%
==========================================
  Files         270      262       -8
  Lines       23895    23009     -886
==========================================
- Hits        14765    14282     -483
+ Misses       7591     7220     -371
+ Partials     1539     1507      -32

Impacted Files
Coverage Δ

config/toml.go
60.86% <ø> (ø)

node/node.go
55.02% <ø> (+0.30%)
:arrow_up:

config/config.go
78.24% <100.00%> (+0.50%)
:arrow_up:

privval/signer_listener_endpoint.go
82.35% <0.00%> (-4.71%)
:arrow_down:

privval/socket_listeners.go
78.72% <0.00%> (-4.26%)
:arrow_down:

privval/secret_connection.go
72.68% <0.00%> (-3.61%)
:arrow_down:

types/share_merging.go
73.85% <0.00%> (-1.31%)
:arrow_down:

blockchain/v0/reactor.go
63.06% <0.00%> (-0.91%)
:arrow_down:

consensus/replay.go
70.53% <0.00%> (-0.83%)
:arrow_down:

statesync/syncer.go
78.96% <0.00%> (-0.80%)
:arrow_down:

... and 5 more


Question About Crossover

Hi, I have a question about crossover. What do genes represent? Is it the order of the bins or the bins themselves?
One more question :)
Is it really random when initializing the population or is there a rule for bin sorting?
Have a nice day from Turkey :D

Hi @cenkakay08
genes represent the bins themselves (every gene have height, width), while the chromosome represent the order of the genes.
I have tested many ways of initialization, like if I initialize the first population when the big genes goes first, another experiment for when the small genes goes first, and ofcourse the obvious one which is the random population. for some problems this ordering plays significant rules, especially when you have many genes with same sizes.
sorry for the late response, this is very old project for me and I am not watching or maintaining it


Allow usage of the defaultProvider() CredentialProvider for S3

https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Credentials.CredentialProvider.html
Currently the plugin requires the usage of an IAM Access Key and Secret Access Key to be provided in order to authenticate to S3 to upload. This is not industry best practice. The default CredentialProvider attempts to load credentials in the following order:

Check for environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN
Check for a default profile in ~/.aws/credentials
Check for default profile in ~/.aws/config
Make GET request to ECS environment variables (only if using Elastic Container Service)
Checks for credentials using an External Process: https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#sourcing-credentials-from-external-processes
Check for EC2 instance profile credentials using the local metadata endpoint of <IP_ADDRESS>
It finally uses the 'credentials' => ['key' => 'my-access-key-id', 'secret' => 'my-secret-access-key'] configuration of the client constructor given that no other credentials are found.

We configure the majority of our sensitive site configuration using either Environment Variables or IAM Roles assigned to EC2 instances, utilizing the EC2 instance metadata (option 6 above).
Here is an implementation that would use the key and secret, if provided, and otherwise revert to the default order of operations:
use Aws\Credentials\CredentialProvider;
use Aws\Credentials;

$credentialProvider = CredentialProvider::memoize(
    CredentialProvider::chain(
        CredentialProvider::fromCredentials(new Credentials($key ?? '', $secret ?? '')),
        CredentialProvider::defaultProvider()
    )
);
$s3Client = new S3Client([
    'region' => $region,
    'version' => 'latest',
    'credentials' => $credentialProvider
]);

Hi @BAGELreflex - I did get back to the official AWS SDK in V7, which is now available for testing and should allow for either inputting key/secret or using default provider or instance profiles: https://github.com/WP2Static/wp2static/releases/tag/7.0-alpha-003


Smudge in the display of the window

First installation on this computer.
I've got some "smudge" randomly dispersed in the window of any running program: Like the lines are fading at some place, the gray buttons show white smudge:
Here an example:

My configuration:
On Ubuntu 15.04:
[INFO   ] [Logger      ] Record log in /home/gus/.kivy/logs/kivy_15-07-01_18.txt
[INFO   ] [Kivy        ] v1.9.0
[INFO   ] [Python      ] v3.4.3 (default, Mar 26 2015, 22:03:40)
[GCC 4.9.2]
[INFO   ] [Factory     ] 173 symbols loaded
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_gif, img_pygame (img_pil, img_ffpyplayer ignored)
[INFO   ] [Text        ] Provider: pygame
[INFO   ] [Window      ] Provider: pygame(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] OpenGL version <b'3.0 Mesa 10.6.0-devel'>
[INFO   ] [GL          ] OpenGL vendor <b'X.Org'>
[INFO   ] [GL          ] OpenGL renderer <b'Gallium 0.4 on AMD KABINI'>
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <b'1.30'>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <16>
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
[INFO   ] [VideoGstplayer] Using Gstreamer <IP_ADDRESS>
[INFO   ] [Video       ] Provider: gstplayer
[INFO   ] [GL          ] NPOT texture support is available
[INFO   ] [OSC         ] using <multiprocessing> for socket
[INFO   ] [ProbeSysfs  ] device match: /dev/input/event6
[INFO   ] [MTD         ] Read event from </dev/input/event6>
[INFO   ] [Base        ] Start application main loop

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/23475336-smudge-in-the-display-of-the-window?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

Doesn't look like a kivy issue, but more an issue with your graphic driver

My graphic card seems to work though.
It's a AMD Radeon HD8330 (Kabini). Driver is the "AMD/ATI display driver wrapper from xserver-xorg-video-ati (open source, tested)".
Everything seems to work (even hibernate...) but I don't play games or anything. Is there some other way than in kivy than I test the graphic renderer on my graphic card???

Just out of curiosity, what is your display resolution? I used to get the
same issue on high res displays, but don't get this anymore with the latest
updates to my os.
Tshirtman has a similar issue(on normal res display) if I remember
correctly with his AMD graphics cards, which was fixed with a graphics
driver
On Thu, Jul 9, 2015 at 12:16 AM, gustavklopp<EMAIL_ADDRESS>wrote:

My graphic card seems to work though.
It's a AMD Radeon HD8330 (Kabini). Driver is the "AMD/ATI display driver
wrapper from xserver-xorg-video-ati (open source, tested)".
Everything seems to work (even hibernate...) but I don't play games or
anything. Is there some other way than in kivy than I test the graphic
renderer on my graphic card???
—
Reply to this email directly or view it on GitHub
https://github.com/kivy/kivy/issues/3479#issuecomment-119694135.

@akshayaurora I am in 1600*900. It was indeed an AMD driver problem (I am on another computer on Nvidia without problem...)
Okay, I've solved the problem. Open source AMD driver? Does NOT work.
I had to switch to ATI proprietary driver (fglrx-updates)


Editable datasets with ocfl repository

This supersedes the old ocfl PR #633
Todo:

[x] update thumbnail generation to use the ocfl repo
[x] test thumbnail generation (at least that the thumbnail files are created)
[x] clean up and standardise object design (getters and setters etc)
[x] get ocfl-versioned server working locally
[x] fix indexing
[x] fix redeposit_dataset
[x] fix remove_entity_local_record
[x] script to migrate an existing repository to ocfl
[x] zipfile generation by extracting and zipping repo/upload_id.vN
[x] better handling of zipfiles for datasets with versions - are they created for releases only? Or do we only save the latest zipfile and generate older releases on request? (This would need a celery task / polling)
[x] versioning tests: get logical paths, resolve to content paths, create a dataset, add an update, confirm that the HEAD has latest changes, extract earlier version of a dataset
[ ] test rollback after an error, make sure that the resulting ocfl is valid

already in main dev branch


Add args parameter to the browser.configure method from robocorp-browser

Target components
browser
Why & who
Custom args worked with RPA.Browser.Playwright and some users are surprised and frustrated that this is not supported in configure. The specific arg trying to be set is --start-maximized. The viewport_size parameter doesn't work for them or at least that is my understanding from discussing with the user.
Feature or enhancement
In RPA.Browser.Playwright you could set custom args like so:
from RPA.Browser.Playwright import playwright

playwright.new_browser(args=['--start-maximized'])

But this parameter is not available in configure or configure_context within robocorp-browser.
Solution & alternative
No response

As a note, when supporting the maximized we may also have to support disabling the viewport.
i.e.: even when maximized the viewport will be set to the version that is specified unless it's disabled: https://github.com/microsoft/playwright/issues/4046 (so, I guess we need to support both, the maximized arg and disabling the viewport).
It's a bit strange that playwright doesn't let the user maximize afterwards. Still, I'm curious on the actual use-case here: do we know why do they need it maximized (i.e.: why isn't it enough for the user to set the size of the viewport to what'd be the maximized size)?

i.e.: I tested it here and even after setting that arg to start maximized, it'll revert to a smaller window when the viewport is applied.

In playwright directly it'd be something as:
from playwright.sync_api import sync_playwright
import time

p = sync_playwright().start()
browser = p.chromium.launch(args=['--start-maximized'], headless=False)
page = browser.new_page(no_viewport=True)
page.goto('https://www.google.com')
time.sleep(3600)

I did ask the user why they needed maximized and they indicated that a specific element in a frame couldn't be clicked on even with a bigger viewport. I am not 100% that's completely true but maximizing it was the simplest solution to them and was supported on the RPA library. I think it makes sense to have a flag in configure that maximizes it and disables viewport. I know that the arg for Firefox is --kiosk from my research but I don't know if the other engines would support this so might need to be sure documentation explains all that.

Hey 👋
I have a question though… Can they test the VSCode Web Inspector and change the viewport size from there? 🤔
If it works in the Inspector, the inspector BE might have the fix for the robocorp-browser lib.
The VSCode Inspector uses the lib as a vendored package and we’ve done some improvements to the code.

Hey, I added a PR to this and it seems to work nicely, just pass configure(..., maximize=True) before getting a page.


Merge BR-electron into bench-routes

git lets you add submodules referring to other repositories within a parent repository
Feat: Merged bench-routes-electron as dashboard inside bench-routes as a submodule, reconfigured prettier.
Motivation
Fixes the need to clone different repositories, also keeping track of two separate repositories. The older repository is still there preserving all the commit history.
Signed-off-by: Aquib Baig<EMAIL_ADDRESS>

@aquibbaig I think this might make a reference copy of the bench-routes-electron project. What we aimed for was a complete integration of UI here and discontinuing the bench-routes-electron repo. Seeing the merge-br-ui branch seems like a reference to the electron repo.

@aquibbaig please have a look at PR. Does that meet the requirement?

If this might help! https://stackoverflow.com/questions/1425892/how-do-you-merge-two-git-repositories

Yeah. I have used that only in my PR.


UV unwrapping trouble.

Hi Vaughan I'm using blender 3.0 and I noticed that I've never been able to project or unwrap a UV map whilst using the heavypoly config, even on previous builds. Even when using nodes I can't seem to preview the UV's or manipulate them at all. I can do it fine in blender vanilla so I'm not sure if it's intentional or not.
Hope this helps.

you can change the image viewport to UV edit viewport to see the UVs

Doh! I knew it was something on my end. Thanks!!


Vague errors when running script

Running the script on my config produces error messages and no resulting files.
Attempt 1
> ./QMK_KeymapToAsciiTable.py
./QMK_KeymapToAsciiTable.py: 2: ./QMK_KeymapToAsciiTable.py: QMKCodeDic: not found
./QMK_KeymapToAsciiTable.py: 4: ./QMK_KeymapToAsciiTable.py: KC_NO:Null,: not found
./QMK_KeymapToAsciiTable.py: 5: ./QMK_KeymapToAsciiTable.py: XXXXXXX:Null,: not found
./QMK_KeymapToAsciiTable.py: 6: ./QMK_KeymapToAsciiTable.py: _______:,: not found
./QMK_KeymapToAsciiTable.py: 7: ./QMK_KeymapToAsciiTable.py: KC_TRNS:,: not found
./QMK_KeymapToAsciiTable.py: 8: ./QMK_KeymapToAsciiTable.py: KC_A:A,: not found

Then I realized that the script wasn't set up to be executed in that manner.
Attempt 2
> python QMK_KeymapToAsciiTable.py
  File "QMK_KeymapToAsciiTable.py", line 196
SyntaxError: Non-ASCII character '\xc2' in file QMK_KeymapToAsciiTable.py on line 196, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

Which I fixed by adding encoding information to the file:
# -*- coding: utf-8 -*-

Attempt 3
> python3 QMK_KeymapToAsciiTable.py
You should execute this script the same directory where you keymap.c file is.

Which I see is what is printed out in the except block.
Here is my config: https://gist.github.com/zakrywilson/59fcbb7a214abce3d37a54f3c574ab26
Happy to help improve this, by the way, and thanks for creating it!

Have you ever got it to work?
I've tried it both with python (2.7.16)  and python3 (3.9.2) and getting the same errors as you.
By adding # -*- coding: utf-8 -*- to the top of the file and running python QMK_KeymapToAsciiTable.py
  File "QMK_KeymapToAsciiTable.py", line 562
    print("Layer '{0}' have been added".format(keymapStarts),file=file)
                                                                 ^
SyntaxError: invalid syntax

It does generate a comment.txt file, but it has two empty lines in it. I've tried two of my own keymap.c files and some random board in the qmk_firmware, but all give the same error

I got it working with the following patch on MacOS.
diff --git a/QMK_KeymapToAsciiTable.py b/QMK_KeymapToAsciiTable.py
old mode 100644
new mode 100755
index 982ac22..fcd0faa
--- a/QMK_KeymapToAsciiTable.py
+++ b/QMK_KeymapToAsciiTable.py
@@ -1,3 +1,5 @@
+#!/usr/bin/python3
+# coding=utf8

 QMKCodeDic = {
     #BASICKEYCODES

I'm not planning on PR'ing this because the project doesn't appear active.

I've added
+#!/usr/bin/python3
+# coding=utf8

to the first two lines. The script runs now but it can't open keymap.c, even though the file is in the same directory.
You should execute this script the same directory where you keymap.c file is.
Any ideas what could cause this?


Throw compile errors when unexpected proc_macros attributes are provided

Related to #391

Create a whitelist for all supported #[sea_orm(xxx)] proc_macros attributes. Thrown compile errors when it parse unknown attributes.

I was researching this issue and I believe there should be something like
#[proc_macro_attribute]
pub fn sea_orm(attr: TokenStream, item: TokenStream) -> TokenStream {

where all the attributes would pass from like column_name and table_name but I was unable to find this code in repo.
Is it because we are using proc-macro2 and serde libraries?
Please guide me.
Thanks.

Hey @Diwakar-Gupta, thanks for the investigation!!
First, every procedural macros is self contained in a .rs file under the sea-orm-macros/src/derives folder.
For example, DeriveActiveEnum is defined in a file below:
https://github.com/SeaQL/sea-orm/blob/9f6b5664eba59c5eafeb6ce91e8946af47983fdd/sea-orm-macros/src/derives/active_enum.rs#L12-L186
Each procedural macros starts by parsing the inputting TokenStream manually. Yes, it's done manually and it's prone to mistake. And some old procedural macros don't even has a explicite parsing stage.
Ideally we want each procedural macro should be testable. With that in mind we better implement it in two stages:

Parsing: take the input TokenStream into a struct that contains all necessary data for the next code generating stage.
Code Generating: take a data struct from the parsing stage and from that we can use quote! macro to generate necessary implementations.

Then, we can test the parsing and code generating parts separately and thoroughly.
We already has the code generating inplace, we just need to rewrite all of them. I think https://github.com/TedDriggs/darling could helps us do the parsing.
Does that make sense to you?

Thanks for the explanation @billy1624
What I understood is each derive/* receives DeriveInput from which it extracts necessary attributes and values in enum/struct  called Parsing then it is passed for code addon using quote! called code generation.
We wanted to test both parsing and code generation step's separately for each derive/*.

Create a whitelist for all supported #[sea_orm(xxx)] proc_macros attributes. Thrown compile errors when it parse unknown attributes.

and this too right.

Sounds like we have a plan now :)

I think I have understood the problem statement properly and I can solve this problem.
I have also studied derives/model.rs and would like to start with this.
If it's ok by you @billy1624 can you please assign this issue to me.
And I would need your help for creating test samples with desired output for parsing.


Implement Send for BoxedCallback

Related to #14
See https://github.com/chris-zen/coremidi/issues/14#issuecomment-526807730
ping @Boddlnagg

Yep, I think that's how it should be done. I can't guarantee that it's absolutely correct/sound, but I think that it is, because there's a F: Send bound on the boxed function. So the contained function can be moved between threads, therefore I think the BoxedCallback can also be moved between threads.


help

why does it make a new group chat when i just messaged in one and do i delete a conversation

why does it make a new group chat when i just messaged in one

Yes, this is a known issue and would be fixed pretty soon (most likely this coming weekend 🙂 )

do i delete a conversation

Unfortunately the feature to delete a conversion has not been implemented yet, but I do agree it is a very useful feature, and is worth looking into.

@ifedapoolarewaju there should be an option to delete both an entire conversation and a single message. This is an important feature, especially for people that are not using the official mobile app.

@ifedapoolarewaju why did you close all the issues? It looks like the problem is not fixed.

It’s a duplicate, please search other open issues to see another similar existing issue

On 13 Sep 2019, at 10:01 AM, baptx<EMAIL_ADDRESS>wrote:
@ifedapoolarewaju why did you close all the issues? It looks like the problem is not fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ifedapoolarewaju ok, I found the same issue here: https://github.com/ifedapoolarewaju/igdm/issues/506 but it was created in August 2018 which is then a duplicate of this one created in November 2017. It would have been better to keep the original one and close the duplicates. Or there was another issue created before that I did not see?

@baptx perhaps, but what really mattered to me at the time was keeping only 1 version of the issue.


Added check for dry run component generation

This fixes #753.
There is probably a better way to do this, but in my limited knowledge of the codebase, this is how I would fix it.
If there is a better way, let me know and I will change it!

@delasteve there are additional files modified within the afterInstall method in the route blueprint, please update that function to not modify the parent route. You can find that function here
Also, please rebase this branch on top of master before re-pushing.

@Brocco, I believe everything you asked for is complete. Let me know if there is another thing you find that relates to this. I would be glad to fix it.

@delasteve that does look good, especially adding tests. One last thing, can you please revise your PR to be a single commit? Once done & CI runs it can be merged in.
THANKS!

@Brocco, looks like the main project is failing due to a Broccoli issue. I will rebase this (again) when the project is back to green.

Merged


All exceptions are caught

Why are all the exceptions caught? This makes debugging really difficult, because there will be no logs or for example in my Symfony application nothing shows up in the profiler. Am I missing something here?

@rovansteen Will let it slip in Symfony bundle. Ideally – exceptions will be delivered with the descriptive information so you can easily see what's the problem is. That was a big topic of discussion and idea was to return response in any case... but again, we have to keep the original exception message if it's generic.

@viniychuk yes I understand that. Perhaps having some sort of middleware where you can do something with the exception, like log it or send it to a service like Sentry will help with debugging a lot while still being able to send a useful response back to the client.

Just a workaround: I've written my own ExecutionContext class and invoke it via the given parameter "graphql.execution_context.class". This way I can override the "addError" method and log accordingly.

This issue makes testing and debugging really difficult. It seems like there are lots of places where \Exception is caught. Perhaps a pluggable exception handler would be a good way of dealing with the problem?


⚠ Bofrost.be has degraded performance

In 5eae592, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1103 ms

Resolved: Bofrost.be performance has improved in 4b745a5 after 13 minutes.


Cannot open existing encrypted database

I have an encrypted SQLite database file written by another software that I want to read using this library. I know that my key is correct and that the file is valid because I can open it using DB Browser for SQLite. It is encrypted using SQLCipher 4 defaults and the key is 402fd482c38817c35ffa8ffb8c7d93143b749e7d315df7a81732a1ff43608497 (use passphrase mode in sqlite browser).
I tried opening it with this library using the following code:
String key = "402fd482c38817c35ffa8ffb8c7d93143b749e7d315df7a81732a1ff43608497";
String filePath = "/path/to/master.db";

String jdbcUrl = String.format("jdbc:sqlite:file:%s", filePath);

SQLiteMCConfig config = SQLiteMCSqlCipherConfig.getV4Defaults().withKey(key);

try (Connection connection = config.createConnection(jdbcUrl)) {
    System.out.println("Success!!");
}

But I keep getting:
org.sqlite.SQLiteException: [SQLITE_NOTADB]  File opened that is not a database file (file is not a database)
        at org.sqlite.core.DB.newSQLException(DB.java:1012) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.core.DB.newSQLException(DB.java:1024) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.core.DB.throwex(DB.java:989) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.core.NativeDB.prepare_utf8(Native Method) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.core.NativeDB.prepare(NativeDB.java:130) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.core.DB.prepare(DB.java:257) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.jdbc3.JDBC3Statement.execute(JDBC3Statement.java:45) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.SQLiteConfig.apply(SQLiteConfig.java:237) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:65) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:21) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.JDBC.createConnection(JDBC.java:115) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]
        at org.sqlite.SQLiteConfig.createConnection(SQLiteConfig.java:102) ~[sqlite-jdbc-<IP_ADDRESS>.jar:na]

I have uploaded the database file in question so you can test and recreate the scenario for yourself:
https://drive.google.com/file/d/1i-4lhdDDyUdDQ_pVvXpM2tfpaxH3SPhL/view?usp=sharing
Any help would be highly appreciated! :-)

I'll do some tests this week and I'll come back to you.

Hello, i've hot the same issue, but i read that I need to config with the salt for sqlitemcsqlcipher. I don't know yet how to do this.

After some tests, It seems to be something related with the native library itself, not with the code written in java. SQLiteMultiCipher cannot read SQLCipher databases and vice versa.

For your information: The bug has been reported and fixed in the native library. I'll integrate the new version very soon.

Thanks for the great work! I'm looking forward to the new Release, do you have an idea when to expect it, @Willena ?

Thanks for the great work! I'm looking forward to the new Release, do you have an idea when to expect it, @Willena ?

I am very busy for now, and don't have a lot of time to give to this project. I have some issues with the native library that I need to solve first before creating a new release (see https://travis-ci.com/github/Willena/sqlite-jdbc-crypt).
For your information: these issues are related with AES Hardware acceleration in the native library. The built binary library ends up with a dependency on libcmusl that is of course not available on all machines (separate installation). I'd like to get rid of this dependency and stays with standard libc. I have to talk with the maintainer of the native library to see what is possible or not.

I am very busy for now, and don't have a lot of time to give to this project. I have some issues with the native library that I need to solve first before creating a new release (see https://travis-ci.com/github/Willena/sqlite-jdbc-crypt).
For your information: these issues are related with AES Hardware acceleration in the native library. The built binary library ends up with a dependency on libcmusl that is of course not available on all machines (separate installation). I'd like to get rid of this dependency and stays with standard libc. I have to talk with the maintainer of the native library to see what is possible or not.

Haven the same issue as @netmikey. Seem like we try to decrypt the same database. ;)
@Willena Is there any workaround available till the next release lands?

@Willena If there is little time, a small developer documentation for setting up build process/travis could help so that other developers can jump in easily?

Hi ! Sorry for the late reply. I still do not have the time to solve what i explained in https://github.com/Willena/sqlite-jdbc-crypt/issues/25#issuecomment-770193786
Here are basically the build steps needed to build from scratch:

Prepare your environment with essential build tools (docker, java, make, gcc, ...). Most of the building process of the native library is done under docker containers. Almost 10 GB of docker images will be downloaded during the process.
Download the repository
run make. The process will start by building natives library for many platforms. Then the java part is built and packaged. Java tests are started. If everything goes as expected, tests are successfull and the targetted jar file is present in target folder

Managed to build locally on/for Mac64 (w/t cross compile).
Can confirm that the fix works and I'm able to opening the database provided by @netmikey now.

Hi ! Sorry for the late reply. I still do not have the time to solve what i explained in #25 (comment)
Here are basically the build steps needed to build from scratch:
...

Thank you. I will try to setup a local test environment.

Hi ! Sorry for the late reply. I still do not have the time to solve what i explained in #25 (comment)
Here are basically the build steps needed to build from scratch:
...

Thank you. I will try to setup a local test environment.

Did you compile successfully?

@WJME Haven't had time to do it yet. Will respond if there are any news

@WJME Haven't had time to do it yet. Will respond if there are any news

Thank you very much and look forward to any reply from you

For your information: The bug has been reported and fixed in the native library. I'll integrate the new version very soon.

This has been used in our company's project. This is very important and urgent for us. SQLite3MultipleCiphers has a new version, so we are all looking forward to receiving your notification to solve this problem. thanks again

For your information: these issues are related with AES Hardware acceleration in the native library. The built binary library ends up with a dependency on libcmusl that is of course not available on all machines (separate installation). I'd like to get rid of this dependency and stays with standard libc. I have to talk with the maintainer of the native library to see what is possible or not.

I've got good news ! The issues aren't totally related with the recently added AES acceleration in the native library. It's rather a problem with the Alpine Linux build. Due to a typo in the Makefile it was overwriting the standard Linux build 😞  ... The dependency with libc-muscl is totally normal because Alpine Linux switched to libc-musc... (https://alpinelinux.org/posts/Alpine-Linux-has-switched-to-musl-libc.html).

@Willena @WJME @miamiweiss
Thank you for all your collaboration. Our internal tests also show that opening via MC and opening via URL parameter works.
Keep up the good work.

@INPUTsys-Chris can you confirm you tried with the version 3.34.0-snapshot ?

@Willena yes, we have numerous unittests including tests for opening via statements, URI and MC. They all seem to work now with the snapshot. Only thing we noticed was lack of support via hexkey. It worked only for "key". Its's much better than the latest official version so thumbs up from us :)

Only thing we noticed was lack of support via hexkey.

Hex key should be supported.
Make sure you set the key with the following format  x'HEXKEY'. Do not include  0x in the beginning of the hex key.
Here is an example that works for me using SQLiteBrowser:
connection = SQLiteMCSqlCipherConfig.getV3Defaults()
                    .withKey("x'AB56FC026AFCDBE61391'")


Update NodeClockNotSynchronising.md

Small update on the runbook, without chroot /host to check the chronyd status it will end in:
Running in chroot, ignoring request: start

/approve

/remove-lifecycle stale
/lgtm


Initial login prompt to use Amazon account

Please add amazon account login for some international users.

I'll be glad to, but I don't use Amazon login method myself so I need some help from someone who does. If you're familiar with logging HTTP requests to understand the Amazon login process, then we can definitely work on it.

Closing in favor of #17 (adding Amazon login support)


K8s deploy with certificates from keyvault

Is this a request for help?:
Yes
Is this an ISSUE or FEATURE REQUEST? (choose one):
ISSUE
What version of acs-engine?:
0.10.0
{
  "apiVersion": "vlabs",
  "properties": {
    "orchestratorProfile": {
      "orchestratorType": "Kubernetes",
      "orchestratorRelease": "1.8",
      "kubernetesConfig": {
        "networkPolicy": "calico",
        "enableRbac": true
      }
    },
    "masterProfile": {
      "count": 3,
      "dnsPrefix": "some",
      "vmSize": "Standard_D2_v2",
      "vnetCidr": "<IP_ADDRESS>/16",
      "firstConsecutiveStaticIP": "<IP_ADDRESS>",
      "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
      "storageProfile": "ManagedDisks",
      "OSDiskSizeGB": 200
    },
    "agentPoolProfiles": [
      {
        "name": "main",
        "count": 5,
        "vmSize": "Standard_F8",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile": "ManagedDisks",
        "OSDiskSizeGB": 200,
        "customNodeLabels": {
          "pool": "main"
        }
      },
      {
        "name": "jobserver",
        "count": 1,
        "vmSize": "Standard_D3_v2",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile": "ManagedDisks",
        "OSDiskSizeGB": 200,
        "customNodeLabels": {
          "pool": "jobserver"
        }
      },
      {
        "name": "informatica",
        "count": 1,
        "vmSize": "Standard_D3_v2",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile": "ManagedDisks",
        "OSDiskSizeGB": 200,
        "customNodeLabels": {
          "pool": "informatica"
        }
      },
      {
        "name": "mongo",
        "count": 3,
        "vmSize": "Standard_D2_v2",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile": "ManagedDisks",
        "OSDiskSizeGB": 200,
        "diskSizesGB": [1023],
        "customNodeLabels": {
          "pool": "mongo"
        }
      },
      {
        "name": "rabbit",
        "count": 3,
        "vmSize": "Standard_D2_v2",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile" : "ManagedDisks",
        "OSDiskSizeGB": 200,
        "diskSizesGB": [1023],
        "customNodeLabels": {
          "pool": "rabbit"
        }
      },
      {
        "name": "mysql",
        "count": 3,
        "vmSize": "Standard_D2_v2",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile": "ManagedDisks",
        "OSDiskSizeGB": 200,
        "diskSizesGB": [1023],
        "customNodeLabels": {
          "pool": "mysql"
        }
      },
      {
        "name": "metrics",
        "count": 3,
        "vmSize": "Standard_D2_v2",
        "vnetSubnetId": "/subscriptions/some/resourceGroups/some/providers/Microsoft.Network/virtualNetworks/some/subnets/k8s",
        "availabilityProfile": "AvailabilitySet",
        "storageProfile": "ManagedDisks",
        "OSDiskSizeGB": 200,
        "diskSizesGB": [1023],
        "customNodeLabels": {
          "pool": "metrics"
        }
      }
    ],
    "linuxProfile": {
      "adminUsername": "some",
      "ssh": {
        "publicKeys": [
          {
            "keyData": "some"
          }
        ]
      }
    },
    "servicePrincipalProfile": {
          "clientId": "some",
          "secret": "",
          "keyvaultSecretRef": {
            "vaultID": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some",
            "secretName": "clientsecret"
          }
        },
        "certificateProfile": {
          "caCertificate": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/ca-crt",
          "apiServerCertificate": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/kubernetes-api-crt",
          "apiServerPrivateKey": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/kubernetes-api-key",
          "clientCertificate": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/kubernetes-client-crt",
          "clientPrivateKey": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/kubernetes-client-key",
          "kubeConfigCertificate": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/kubeconfig-crt",
          "kubeConfigPrivateKey": "/subscriptions/some/resourceGroups/some/providers/Microsoft.KeyVault/vaults/some/secrets/kubeconfig-key"
    }
  }
}

Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
I'm trying to deploy k8s with self-sign certificates, provided through keyvault.
First problem was that certificate for apiserver should include ip addresses of master nodes,  otherwise kubelets are not able to connect to apiserver with error:
E1213 11:10:21.040765    7591 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:413: Failed to list *v1.Service: Get https://<IP_ADDRESS>:443/api/v1/services?resourceVersion=0: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

As far as I understand, ip addresses for master nodes are allocated consequentially, starting from 'firstConsecutiveStaticIP'. So I created another certificate with 3 ip addresses for 3 master nodes: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>. This time I see in kubelet logs:

I1213 14:33:53.319501    7636 kubelet_node_status.go:83] Attempting to register node k8s-master-0
E1213 14:33:53.321508    7636 kubelet_node_status.go:107] Unable to register node "k8s-master-0" with API server: nodes is forbidden: User "kubernetes-client" cannot create nodes at the cluster scope
E1213 14:33:54.203184    7636 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/config/apiserver.go:47: Failed to list *v1.Pod: pods is forbidden: User "kubernetes-client" cannot list pods at the cluster scope
E1213 14:33:54.214793    7636 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:413: Failed to list *v1.Service: services is forbidden: User "kubernetes-client" cannot list services at the cluster scope
E1213 14:33:54.218032    7636 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:422: Failed to list *v1.Node: nodes is forbidden: User "kubernetes-client" cannot list nodes at the cluster scope
E1213 14:33:55.204571    7636 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/config/apiserver.go:47: Failed to list *v1.Pod: pods is forbidden: User "kubernetes-client" cannot list pods at the cluster scope
E1213 14:33:55.215785    7636 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:413: Failed to list *v1.Service: services is forbidden: User "kubernetes-client" cannot list services at the cluster scope
E1213 14:33:55.218871    7636 reflector.go:205] k8s.io/kubernetes/pkg/kubelet/kubelet.go:422: Failed to list *v1.Node: nodes is forbidden: User "kubernetes-client" cannot list nodes at the cluster scope
W1213 14:33:56.043426    7636 cni.go:196] Unable to update cni config: No networks found in /etc/cni/net.d
E1213 14:33:56.043539    7636 kubelet.go:2095] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

This looks like issues with RBAC and Calico. Any guidance on this?
What you expected to happen:
K8s cluster should work.
How to reproduce it (as minimally and precisely as possible):
create keyvault, fill corresponding secrets,
generate arm templates from following template and deploy it
Anything else we need to know:

Solved. Appeared, that certificates should have CN=client, O=system:masters and load balancer ip address.


Chapter 12: Gaussian Noise Custom Layer Example

Description:
Adding Gaussian noise custom layer example in chapter 12.
Note: Cellblock numbers are not in the order as I have executed only the code added for the PR So that I can minimize the changes

Thanks for the PR! 👍


2.3.0 breaks our reverse proxy setup

Bug Report
What did you do?
We upgraded our Prometheus instances from 2.2.1 to 2.3.0.
What did you expect to see?
The Webinterface should still be working as before.
What did you see instead? Under which circumstances?
All static assets failed to load due to a wrong path prefix.
Environment
We run several Prometheus instances behind an nginx reverse proxy that handles authentication (among other duties).
Our Prometheus instances are available on URLs like these (where "foo" and "bar" are the names of different instances):

https://www.example.org/p8s/foo
https://www.example.org/p8s/bar

We are running Prometheus with these (relevant) commandline arguments:

--web.external-url=https://www.example.org/p8s/foo
--web.route-prefix=/

Our nginx.conf contains a location stanza for each Instance like this:
# ensure trailing slash
location = /p8s/foo {
  return 302 /p8s/foo/;
}
location /p8s/foo/ {
  proxy_pass http://prometheus-foo/;
  # more proxy header options
}

Note: The trailing slash will remove the leading part of the request URL matching the location name (i.e. https://www.example.org/p8s/foo/graph will hit the backend as http://<backend>/graph). See proxy_pass. This is not strictly necessary for Prometheus but makes much sense with the other services also serviced by this nginx and makes our lives a lot easier.
This setup worked perfectly fine with 2.2.x but broke with 2.3.0.
Example static asset URL with 2.2.1:
https://www.example.org/p8s/foo/static/vendor/js/jquery.min.js
Example static asset URL with 2.3.0:
https://www.example.org/static/vendor/js/jquery.min.js
I was suspecting some relation to https://github.com/prometheus/prometheus/pull/4025 but couldn't spot an issue with that, yet.

Hmm, #4025 is incorrect and should be reverted. The route prefix is internal to the proxy<->Prometheus, and shouldn't affect how html is rendered.

That PR is not the final code in 2.3 – there was another change (https://github.com/prometheus/prometheus/commit/cd2820e165483609fbe0af99455bf909e6a8cd30) that supposedly fixed a bug #4025 introduced. Did that fix just a single case? Should both be reverted?

The commit you mentioned doesn't fix #4025 for our setup.
For ours to work we'd really need pathPrefix to return opts.ExternalURL.Path and not opts.RoutePrefix (or /).

#4031 needs to be evaluated separately.

#4256 fixes this.


properly unset variables in scripts

Use unset command to delete arrays

@mergify-io rebase

@mergify rebase


New .nunj and .scss files are not automatically watched by gulp

Newly created .nunj files are not automatically watched and compiled by gulp. Therefore BrowserSync does not refresh the page.

Use gulp-watch instead of builtin gulp.watch.


Feat/create and change custom group

Description
Use create_and_change_custom_group when setting a group for external agents if necessary
JIRA Link

Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 15.0.0-alpha.10 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 15.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat(core): Deprecate the dedupExchange and absorb hasNext checks into Client

Summary
This deprecates the dedupExchange and turns it into a noop exchange.
The logic that dedupExchange applied was already effectively taken care of by the Client and we only needed small modifications to prevent dispatching when hasNext: true is present on any given subscription or query result, i.e. when we're still waiting for updates.
Set of changes

Add hasNext dispatch stop to Client
Replace dedupExchange with noop logic

This may vibe well with #3033. I have no idea if we'll get major resistance if we were to drop a major with that, but if we are to get rid of the dedupExchange, then there's really not much left for most apps.
We'd start avoiding [...defaultExchanges, x] mistakes automatically and by default, there's only two exchanges to add really. So, I think we may want to drop both at the same time.


settings: Fix default streams scrolling issue.

The progressively rendered table extends too far down, causing the page
to scroll needlessly, which then causes there to be two scrollbars — a
scrollbar for the table and a view scrollbar outside that.
Fixes: #6391.

@brockwhittaker a few thoughts:

For users and bots, it looks like the size of the scrollable area isn't quite right (there ends up being an empty space at the bottom for no reason).
We should do "delete streams" as well.

Otherwise, looks good!
BTW @vaidap FYI.

I think that this extra space is actually due to an unrelated bug where the
warning of only being editable by admins sometimes shows and sometimes
doesn't depending on your click path. Aside from that, unless we start
measuring the content above's height to determine the height of the tables,
we will never be able to fill the space 100% efficiently.
On Tue, Sep 26, 2017 at 1:54 PM, Tim Abbott<EMAIL_ADDRESS>wrote:

@brockwhittaker https://github.com/brockwhittaker a few thoughts:

For users and bots, it looks like the size of the scrollable area
isn't quite right (there ends up being an empty space at the bottom for no
reason).
We should do "delete streams" as well.

Otherwise, looks good!
BTW @vaidap https://github.com/vaidap FYI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/6688#issuecomment-332332623, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJ199_w8ZJbarBFoY3vFcVO5NYd3z_PTks5smWSEgaJpZM4Pk0vX
.

OK, can you do delete streams at least?  I think the right solution to the table height issue with the scrollable area is to move the alerts to hover rather than going at the top of the settings area, which is its own larger project.

That solves some of the symptoms however the problem will re-emerge when say a three-line paragraph turns into a four-line paragraph responsively. I'll add in the delete streams section now.

Updated to convert the delete streams section.

Merged, thanks @brockwhittaker!