AL Designer 10.0.687650 - Windows Authentication error

AL Designer 10.0.687650 is giving a error on download symbols on windows authentication endpoint. Downgrading to v9.5.674382 solves the error. Windows authentication in webclient works as intended so problem must be with ALD release.
Processing of message 'al/downloadSymbols' failed with error: 'The target principal name is incorrect.'
Details:
System.ComponentModel.Win32Exception (0x80090322): The target principal name is incorrect.
at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError, SecurityStatusPal& statusCode)
at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
at System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean isProxyAuth, HttpConnection connection, HttpConnectionPool connectionPool, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Dynamics.Nav.Deployment.Telemetry.TelemetryHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\Telemetry\TelemetryHttpClientHandler.cs:line 62
at Microsoft.Dynamics.Nav.Deployment.Http.NavHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\Http\NavHttpClientHandler.cs:line 35
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Microsoft.Dynamics.Nav.Deployment.ApiClients.ServerInfoApiClient.GetServerInfo() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\ServerInfoApiClient.cs:line 46
at Microsoft.Dynamics.Nav.Deployment.ApiClients.ServerRegistry.QueryMetadata(ConnectionOptions options, IEmitLogger logger) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\ServerRegistry.cs:line 153
at Microsoft.Dynamics.Nav.Deployment.ApiClients.ServerRegistry.GetServerInfo(ConnectionOptions options, IEmitLogger logger) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\ServerRegistry.cs:line 79
at Microsoft.Dynamics.Nav.Deployment.ApiClients.PackagesApiClient.SendRequest(IHttpClient client, SymbolReferenceSpecification reference) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\PackagesApiClient.cs:line 135
at Microsoft.Dynamics.Nav.Deployment.ApiClients.PackagesApiClient.DownloadPackage(IHttpClient client, SymbolReferenceSpecification specification, String directory, Boolean isSecondLevelDependency) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\PackagesApiClient.cs:line 172
at Microsoft.Dynamics.Nav.Deployment.ApiClients.PackagesApiClient.DownloadPackages(ImmutableArray1 references, String targetDir) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\PackagesApiClient.cs:line 61    at Microsoft.Dynamics.Nav.Deployment.ReferenceDownloader.NavDevServerPackageDownloader.DownloadPackages(ImmutableArray1 packages, String targetDirectory) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ReferenceDownloader\NavDevServerPackageDownloader.cs:line 32
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.DownloadSymbolsRequestHandler.DownloadFiles(DownloadSymbolsRequest request, String cacheDirectory, ImmutableArray1 referencesToDownload) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\DownloadSymbolsRequestHandler.cs:line 130    at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.DownloadSymbolsRequestHandler.ProcessRequestAsync(DownloadSymbolsRequest request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\DownloadSymbolsRequestHandler.cs:line 98    at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.NavServerRequestHandler2.HandleAsync(T request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\NavServerRequestHandler.cs:line 40
at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase1.HandleAsync(JToken requestContents, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 84    at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.Process(Message message) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 86 ' Details: System.ComponentModel.Win32Exception (0x80090322): The target principal name is incorrect.    at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError, SecurityStatusPal& statusCode)    at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)    at System.Net.Http.AuthenticationHelper.SendWithNtAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean isProxyAuth, HttpConnection connection, HttpConnectionPool connectionPool, CancellationToken cancellationToken)    at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)    at System.Net.Http.AuthenticationHelper.SendWithAuthAsync(HttpRequestMessage request, Uri authUri, Boolean async, ICredentials credentials, Boolean preAuthenticate, Boolean isProxyAuth, Boolean doRequestAuth, HttpConnectionPool pool, CancellationToken cancellationToken)    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at Microsoft.Dynamics.Nav.Deployment.Telemetry.TelemetryHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\Telemetry\TelemetryHttpClientHandler.cs:line 62    at Microsoft.Dynamics.Nav.Deployment.Http.NavHttpClientHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\Http\NavHttpClientHandler.cs:line 35    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)    at Microsoft.Dynamics.Nav.Deployment.ApiClients.ServerInfoApiClient.GetServerInfo() in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\ServerInfoApiClient.cs:line 46    at Microsoft.Dynamics.Nav.Deployment.ApiClients.ServerRegistry.QueryMetadata(ConnectionOptions options, IEmitLogger logger) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\ServerRegistry.cs:line 153    at Microsoft.Dynamics.Nav.Deployment.ApiClients.ServerRegistry.GetServerInfo(ConnectionOptions options, IEmitLogger logger) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\ServerRegistry.cs:line 79    at Microsoft.Dynamics.Nav.Deployment.ApiClients.PackagesApiClient.SendRequest(IHttpClient client, SymbolReferenceSpecification reference) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\PackagesApiClient.cs:line 135    at Microsoft.Dynamics.Nav.Deployment.ApiClients.PackagesApiClient.DownloadPackage(IHttpClient client, SymbolReferenceSpecification specification, String directory, Boolean isSecondLevelDependency) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\PackagesApiClient.cs:line 172    at Microsoft.Dynamics.Nav.Deployment.ApiClients.PackagesApiClient.DownloadPackages(ImmutableArray1 references, String targetDir) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ApiClients\PackagesApiClient.cs:line 61
at Microsoft.Dynamics.Nav.Deployment.ReferenceDownloader.NavDevServerPackageDownloader.DownloadPackages(ImmutableArray1 packages, String targetDirectory) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.Deployment\ReferenceDownloader\NavDevServerPackageDownloader.cs:line 32    at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.DownloadSymbolsRequestHandler.DownloadFiles(DownloadSymbolsRequest request, String cacheDirectory, ImmutableArray1 referencesToDownload) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\DownloadSymbolsRequestHandler.cs:line 130
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.DownloadSymbolsRequestHandler.ProcessRequestAsync(DownloadSymbolsRequest request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\DownloadSymbolsRequestHandler.cs:line 98
at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.NavServerRequestHandler2.HandleAsync(T request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\NavServerRequestHandler.cs:line 40    at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase1.HandleAsync(JToken requestContents, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 84
at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.Process(Message message) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 86

Following. No notes of auth changes in Change Log. SPNs set up and valid, so something's changed!

It appears there currently are two workarounds.

workaround:  Downgrade "AL Language" vsCode Extension to Previous Version
Originally posted by @chp-Fiftytwo in https://github.com/microsoft/AL/issues/7187#issuecomment-1273229581

What worked for us (we hadn't tried downgrading yet): Enable "Use NTLM Authentication" in the BC instance.

Yep, we use downgrade for now as we don't permit NTLM due to security issues.
Hoping to get some traction @JesperSchulz ?

Yep, we use downgrade for now as we don't permit NTLM due to security issues. Hoping to get some traction @JesperSchulz ?

Will ask the right team for feedback on this issue.

@JesperSchulz , @thloke  any update here please?

It doesn't look like any progress has been made yet. @thloke, any idea when there will be bandwidth to pick this one up.

No, it's still in our queue. I can bump the priority since it's a regression from the previous major release.

To clarify, is this a problem with downloading symbols with just the AL Language extension, or is this to do with https://github.com/martonsagi/al-object-designer?

This problem occurs with just the AL Language extension  installed. Any other extension does not seem to have any effect positive og negative.

We're looking into this now, but can't reproduce the issue internally. Can someone share the setup that they're using that reproduces the issue? Does this occur when using the docker insiders build? Or an installation from the DVD?

DVD installation with three-tier kerberos-based setup. Forced Kerberos auth over NTLM.

Sorry for the delay on getting back on this. We're still unable to reproduce this. If someone can do the following, it would be helpful:

Enable verbose logging ("al.editorServicesLogLevel": "verbose" in settings.json).
Repeat the scenario with the auth failure
Get the editorServices.log file from C:\Users\thloke\[username]\extensions\ms-dynamics-smb.al-[version number]\bin\win32
Also get the information from Get-NavServerConfiguration

You can email it to me directly at<EMAIL_ADDRESS>Also I'd be happy to review exact setups to see what might be different internally.

Just send all info you requested. Process executed against a BC20 CU07. If I do this against the newest BC21.2 docker, I have the same result.
Regards,
Benny

Hi,
Any update? Since this is not affecting only "download symbols" but also "active debugging" (F5) I can't start to roll out BC21 OnPremise, this is becoming a problem for one of my clients. We are converting NAV2018 solutions, now I need to build BC20 hosts in stead of BC21. One of their solutions needs to run under a separate license (Dual Usage Rights), so I can only obtain a BC21 license from the CSP. Do we need to raise this issue thru the support contract to speed up things?

Unfortunately not, all I can say right now is that we're still looking into it. Things have been slow because of the holiday season. One thing that does come to mind though is setting useLegacyRuntime in your settings.json file might be one workaround. That one uses a different auth library.

Hi,
useLegacyRuntime is not working. This is becoming a hugh problem. My customer wants to deploy BC21 onpremise with WindowsAuth & Kerberos. Not able to download symbols & debugging is not acceptable.

Good news, the fix is ready and will be available with the next version of vscode extension.


Merge develop

Codecov Report

Merging #1958 (283c82b) into feature/sr-web-view-support (04186b5) will decrease coverage by 0.19%.
The diff coverage is 83.83%.

Additional details and impacted files
@@                       Coverage Diff                       @@
##           feature/sr-web-view-support    #1958      +/-   ##
===============================================================
- Coverage                        83.62%   83.43%   -0.19%
===============================================================
  Files                              487      489       +2
  Lines                            17657    17827     +170
  Branches                          2643     2657      +14
===============================================================
+ Hits                             14765    14873     +108
- Misses                            2160     2228      +68
+ Partials                           732      726       -6

Files
Coverage Δ

.../main/kotlin/com/datadog/android/_InternalProxy.kt
63.64% <ø> (ø)

...droid/core/configuration/BackPressureMitigation.kt
100.00% <100.00%> (ø)

...android/core/configuration/BackPressureStrategy.kt
100.00% <100.00%> (ø)

...atadog/android/core/configuration/Configuration.kt
97.00% <100.00%> (+0.30%)
:arrow_up:

...tadog/android/core/internal/NoOpContextProvider.kt
3.45% <ø> (ø)

...in/com/datadog/android/core/internal/SdkFeature.kt
89.03% <ø> (ø)

...l/net/info/BroadcastReceiverNetworkInfoProvider.kt
93.94% <100.00%> (+0.06%)
:arrow_up:

...e/internal/net/info/CallbackNetworkInfoProvider.kt
95.24% <ø> (ø)

...droid/core/internal/persistence/AbstractStorage.kt
100.00% <ø> (ø)

...al/persistence/file/batch/BatchFileOrchestrator.kt
94.94% <ø> (+1.27%)
:arrow_up:

... and 59 more

... and 23 files with indirect coverage changes


Printer with driver specified is redirected but not set as default in RDP session

Describe the bug
Printer with driver specified is redirected but not set as default in RDP session
For example:
/u:test /app:program:"||iexplorer",cmd:'"https://example.com"' /title:"Test" /d:test.test /smartcard /p:"test" /v:localhost:3389 /size:100% /cert:ignore /printer:"queuePrinter","driverPrinter"

In version 2.10.0 works, is set as default and if last release xfreerdp is launched with /printer parameter but without specifications works also.

Application details
This is FreeRDP version 3.9.1-dev0 (ae5f655f1)
/u:test /app:program:"||iexplore",cmd:'"https://example.com"' /title:"Test" /d:test.test /smartcard /p:"test" /v:localhost:3389 /size:100% /cert:ignore   /printer:"queuePrinter","driverPrinter"
OS version connecting to (server side)
Windows Server 2016
OS: Fedora
Version/Distribution: Debian with xfce
Architecture: amd64

@FutureKidBuu ok, looks like the help was not updated in all places:
xfreerdp /? |grep printer
    /printer[: <name>[,<driver>]]     Redirect printer device
Printer Redirection: /printer:<device>,<driver>,[default]

you need to manually set the default printer now.

thanks! that was all


Extract Entities for incident Creation for AATP/ASC/AADIP.. alerts

Hi All,
i created the scheduled query below for high severity AATP alerts, this is in order to make use of the alert grouping feature which is not currently available for Microsoft Incident Creation rules. What is the best way to extract the entites? Below is the approach I used, is there a better way of doing this?
SecurityAlert
| where ProviderName == "Azure Advanced Threat Protection"
| where AlertSeverity == "High"
| extend Ent = parse_json(Entities)
| mvexpand Ent
| extend AccountCustomEntity = tostring(Ent.Name)
| extend HostCustomEntity = tostring(Ent.HostName)
| extend IPCustomEntity = tostring(Ent.Address)
thank you in advance.

i want to do the same for other microsoft alerts such as aadip, asc, mdatp, etc.

@kay07949 - this is the best way I can find.  Let me check with some others.

Closing as this appears to be answered.


File transfer not working

Version: <IP_ADDRESS>
Sending an 82 byte file (no overwrite) created an empty file on the server. Data appeared to be transferred according to the client output:
Sending file 1/1: "file"
 =>    82.000B of   82.000B (100.00%) done!

82 byte file on the server is just all zeroes. Documenting this for future investigation

I did notice you mentioned v0.5.3, this does not seem to be an issue on the latest v0.5.5, but I am curious too what could be going on here

Checked out v0.5.3 but can't seem to reproduce the issue. (Maybe I derped something up when compiling that one specifically?) Does it work for larger files, or is everything zeroes?

I can't reproduce it either. I'll have to see what was up tomorrow :frowning_face:
Unfortunately, I didn't test it on any other file. Encountered the issue and immediately logged it. It could just be operator error.

Issue was unrelated to teleporter. Dev machine was just in a bad state.


Minor UI cusotmization options?

Hi,
First off, LOVE the mod!
Just a few minor things that bother me, mainly aesthetically. One problem is that unlike in your SS, citizen buttons are transparent for me. I find I need to actually focus on them now to make sure which are used and which aren't (bad eyesight on my part, so it may not bother others). Can I fix this on my end with an option I'm not seeing?
Also, is it possible to make an option in the city screen that allows me to minimize the details window on the lef tof the screen? I find it a little cluttering when I don't want to see it. Similar request with the tile buying options. I'd love to see an option in the QUI settings window to allow us to customize this. Like, for example, keep the buttons above the yield focus bar that would toggle on those parts of the city screen to allows us to turn them off, and have them on by default when we enter the city screen, but remember which ones we turn off for every time we open the screen again. For me, and perhaps others, it just becomes very cluttered. I'd love to see that option.
my Ideal would be as follows: by default the when you click a city it behaves jsut like base CIV6, and keeping the buttons about the yield bar unchanged. No extra visual clutter until you click on the citizen/tile purchase/city details/production buttons, and have the game rmember when you had toggled on since the last time you closed the city screen. I jus t like keeping my screen as empty as possible until I actually want to allocate citizens or buy a tile.
Also, I notice that whenever I click ona  citizen bubble on a tile that the production menu refreshes. is that possible to fix, or just a consequence of having the production menu open while changing citizen placement that can't be fixed?
One more minor gripe: is possible to have an option for the housing/border expansion numbers that you baked into the city tile name?
Oh, and this is my first post on Github. I hope it's in the right section >.<

Hi, to answer your questions:

Features like citizen button transparency are going to become optional soon, now that persistent settings are possible and we've built a fully capable mod menu

The cityview will not be receiving any optional changes in the near future for the reasons described in issue #60 . This may change once we've tackled the mountain of feature requests and moved more into the polish phase. I am, however, considering a "small mode" for the cityview UI, which keeps all of the existing panels but minimizes the utilized screen space

This is because managing citizens changes the amount of production the city is generating, which causes things like the "turns remaining" info on the production panel to become outdated. The refresh animation is a bit distracting and may be something that is adjusted in the future, but rest assured that the refresh is intentional and happening for a good reason.

Yes, I plan to be including this in the near future, as well as breaking the "Smartbanner" feature into two seperate options, one for the citizen management icon, and one for the district icons

Also, this isn't really a post best suited to the issue tracker. Issues are best when they are narrow and describe just one enhancement/bug in detail so that it's easy to handle. That's not to say that your feedback is unwelcome, just that it would be better discussed on the CivFanatics forum or the Gitter IRC. For these reasons, I'm now closing this issue and marking it as invalid. Feel free to create more specific tickets describing your individual requests, I don't bite!


Fix ValueError when merging an index-only 1-partition dataframe

[x] Tests ~added~ / passed

Is a new test needed?

[x] Passes black dask / flake8 dask

Fixes #6305

Thanks!


Wiki Instructions

Hi! I configured your older version for couch potato with ease (if I remember correctly) but I am not having any luck this time around. I believe it may be because Amazon changed their web layout and your instructions don't match the new layout. An update to the wiki for newbies like myself would be appreciated. Thanks!

same

same issue here :(


Think about cache names

@Profpatsch writes:

When I have a shell.nix in a directory /path/to/something/examples, the evaluation result and gc root looks like this:
    EvaluationResults {
       drvs: {
           0: "/home/philip/.cache/lorri/examples/gc_root/evaluation-0"
       },
       named_drvs: {
           "shell_gc_root": "/home/philip/.cache/lorri/examples/gc_root/attr-shell_gc_root",
           "shell": "/home/philip/.cache/lorri/examples/gc_root/attr-shell"
       }

~/.cache/lorri/ is the XDG cache dir set up by lorri, but the project is only reflected by the last path segment of its path, in this case examples.
This assumes parent/project folders names never have the same name, which I think is not an  assumption we can make (like in this example, multiple projects could have a folder named examples, leading to a broken cache if both are referenced at the same time).
Since we don’t need to share the cache, we could mangle the full path, something like
~/.cache/lorri/RpathStoSsomethingSexamples/
Unlike vim we should actually escape the special character and make the thing injective …
.replace("/", "%").replace("%", "%%")

@zimbatm writes:

in direnv I use hexencode(sha256(full_path)) as the cache key, it works pretty well

@Profpatsch writes:

Hashes are nice, but modern tools have a tendency to overuse hash functions in my opinion. :P

@zimbatm writes:

The nice thing is that it removes whole classes of potential problems:

weird file names, no need to worry about escaping (btw, your replace functions should probably be inverted)
paths being too long for weak OS or filesystems

We have a scheme like ~/.cache/lorri/gc_roots/0e3e8e97fc3162e576984b0606c9da19/ in place now, so let’s consider this closed.


Release notes for 4.0.11

General

Support Databend writter (#717)

Reader plugins
cassandra reader
clickhouse reader
dbf reader
elasticsearch reader

Add support for specified column  (#673）

excelreader
ftp reader
hbase11x reader
hbase11xsql reader
hbase20x reader
hbase20xsql reader
hdfs reader
hive reader
http reader
influxdb reader
influxdb2 reader
jsonfile reader
kafkareader
kudu reader
mongodb reader
mysql reader
oracle reader
postgresql reader
rdbms reader
redis reader
sqlite reader
sqlserver reader
stream reader
tdengine reader
txtfile reader
Writer plugins
cassandra writer
clickhouse writer
dbf writer
doris writer
elasticsearch writer
excel writer
ftp writer
greenplum writer
hbase11xsql writer
hbase11x writer
hbase20xsql writer
hdfs writer
influxdb writer
influxdb2 writer
kafkawriter
kudu writer
mongodb writer
mysql writer
oracle writer
postgresql writer
rdbms writer
redis writer
sqlite writer
sqlserver writer
starrockswriter
stream writer
tdengine writer
txtfile writer

你好，请问，我该怎么做，才能在文档中显示 databend 相关内容呢？


Last child class not applied in Expandable renderer

In Expandable renderer, user can pass a iconsClassNameMap property. In this even if i pass the lastChild class in the map the icon never appears.
The reason being icon only appears if the node has children. Logic @ https://github.com/diogofcunha/react-virtualized-tree/blob/master/src/renderers/Expandable.js#L32
This leads to the bug of no icon beside the leaf node.

Hi @karangarg45.
Expandable renderer works like that by design, it is not intended to render an icon when there are no children.
If this doesn't fit your use case you can always create a custom render that fits it.


Calvin config only handles '/' as path separator

In calvinconfig.py, '/' used as path separator, rather than os.path.setp. Overall it seems to assume (and enforce) a unix-like environment, which is problematic for windows users.

Covered by a more general windows ticket. Closing.
Cheers.


Can't comment a script tag in blade

Laravel Version: 5.5
PHP Version: 7.1
Database Driver & Version: MariaDB

Description:
I added a partial in my  tag in app.blade.php
That partial has a simple  end tag and code in it
add an include in the  tag
blade {{-- comment the entire script code with tags in your partial and see what happens , the code is still read

EDIT
Try to add that script in your partial
{{-- <script>
window.trans = <?php

// copy all translations from /resources/lang/CURRENT_LOCALE/* to global JS variable

$lang_files = File::files(resource_path() . '/lang/' . LaravelLocalization::getCurrentLocale());
$trans = [];
foreach ($lang_files as $f) {
    $filename = pathinfo($f)['filename'];
    $trans[$filename] = trans($filename);
}
echo json_encode($trans);
?>;
</script> --}}

Thanks for your help, I am perhaps making a huge mistake, I'm a Laravel amateur and kind of beginner

Could you share the partial?

Thanks for your quick answer , here's my partial :
I think it is related with the <?php element.
{{-- <script>
window.trans = <?php

// copy all translations from /resources/lang/CURRENT_LOCALE/* to global JS variable

$lang_files = File::files(resource_path() . '/lang/' . LaravelLocalization::getCurrentLocale());
$trans = [];
foreach ($lang_files as $f) {
    $filename = pathinfo($f)['filename'];
    $trans[$filename] = trans($filename);
}
echo json_encode($trans);
?>;
</script> --}}

Just tried and it worked, change the raw php tags <?php ... ?> to their blade equivalent directive: @php @endphp.
{{-- <script>
window.trans = @php

// copy all translations from /resources/lang/CURRENT_LOCALE/* to global JS variable

$lang_files = File::files(resource_path() . '/lang/' . LaravelLocalization::getCurrentLocale());
$trans = [];
foreach ($lang_files as $f) {
    $filename = pathinfo($f)['filename'];
    $trans[$filename] = trans($filename);
}
echo json_encode($trans);
@endphp;
</script> --}}

I didn't dig in the code to know why, but I am guessing raw php tags have a higher priority when compiling the views.

I'm not understanding something here. why are you putting actual code inside of a comment? If you don't want the code to execute, just don't write it.
Am I missing something?

Maybe @Itemshopp  just wants to debug something...
But the point was that Laravel was running the commented out code when it was expected not to.

Blade comments are for actually adding comments. Search the repo for similar issues. This is simply one of the limitations of blade.

Exactly, I wanted to debug a thing without that script and I found that particularity.
I haven't thought profoundly enough about that blade thing.
 == @endphp
Of course, thanks a lot @rodrigopedra !


GUI slows very much on opening containers with malformed logs

Some of my containers have corrupted (or malformed) logs — see picture below.

And DockStation slows very much when I click on such container — see picture  below. GUI just hangs for 5-15 seconds. And the CPU is running hot.
Containers which have normal logs open instantly.

What do you have in Terminal if you run docker-compose logs -f ?

Sorry but I've already deleted that container with malformed logs.


ionization states

Is it possible to include the ionization states in the output file of the 3D small molecules?

Hey, thanks for the question!
SDF file records the charges on each atom by design. In the Atom Block, the first 3 numbers are the XYZ coordinate, then comes the atomic symbol, and the following number represents the charge state on the atom. For more details, see here
If you want partial atomic charges, they can be calculated using the AIMNET-NSE model. It accepts the SDF as input.
Please let me know if you have additional questions.

Thanks for the prompt reply!
The ionization states I was talking about are protonation and deprotonation states.
When the input is "CNCCC1=CC=CC=C1 smi1", the output is as the following figure.  A neutral molecule is given.
However, a positively charged molecule with a protonated Nitrogen atom is expected to be a favorable conformation in an aqueous solution.

I see, you were trying to find the proper protonation states of a molecule under the aqueous environment.
That's a different function from Auto3D's design. Auto3D was designed to generate the low-energy 3D conformers for the given SMILES. It tries to enumerate and optimize all possible conformers than output the most stable conformers. All these conformers are consistent with the input SMILES. Auto3D does not change the molecules, but just build conformers.
BTW, our models only work in vacuum so far.

@zhengmin317 our future models very soon will include the solvent effect in the continuum approximation (e.g. PCM or SMD), so you would be able to explore different protonation states. However, as of today, all calculations are gas phase only.


Implement GPS accuracy check

Problem statement:
GPS position accuracy is hard coded as NACp = 11 (0xb) in gen_gdl90.makeOwnshipReport() . ForeFlight thererfore reports accuracy as 3m any time a valid ownship GPS position is received, regardless of actual accuracy.
Solution

Update ry835ai.go to extract DGPS status from the GGA message, then calculate and output an NACp value based on HDOP, type of nav solution, and possibly number of satellites.
Update ownship msg[13] to use variable NIC = 0, and the variable NACp value from updated ry835ai.go
Correlation between NACp, HDOP, type of navigation solution, and number of satellites received is TBD

Additional comments
ForeFlight appears to be using accuracy estimates based on the ownship NACp value. Any value less than 8 will show as "Poor". Values of 8 or greater will show a position estimate of (IIRC) 100m, 30m, 10m, or 3m per the table below.

Getting a decent Estimated Position Uncertainty (EPU) may be a challenge. EPU is "defined as the radius of a circle centered at the true horizontal position within which the measured horizontal position lies with 95% probability". In other words, the 2σ horizontal position variation. This can be calculated readily for a GPS receiver in a fixed location.
The NMEA messages include HDOP (horizontal dilution of position), which indicates the uncertainty of the measurement due to the geometry of the satellites used for the position solution. However, this does not account of other error sources (multipath, clock error, atmospheric effect, etc.)
I think that combining the presence / absence of DGPS (i.e. WAAS) along with HDOP may get us close. I'm running a series of long (i.e. 8+ hour) evaluations with the GPS module located in one position to calculate total position variation for multiple conditions (5, 8, 12 satellites with / without WAAS, and with / without GLONASS) to get a baseline. I'll update this issue with my test results as they complete.
I also think we should report NIC = 0. This is an intergrity / containment measurement of "trust" in the GPS system. It's relevant for traffic separation, but not for evaluating the performance of the raw position data. ForeFlight doesn't seem to use it, so it would make sense to drop it.

I think I don't understand your concern with reported GPS accuracy in the context or Stratux,
but I would like to.
The accuracy parameters NIC, NAC, and HDOP are really only relevant to the GPS data if it
were to be fed back into the National Airspace System, i.e., ADS-B Out.  Are you planning
on building an open source extended squitter or UAT?

@224XS One reason to try to improve reported accuracy to is to increase confidence in the user when seeing the position plotted on a map in ForeFlight while on an instrument approach, for example.  Another reason is feature parity with how the data is displayed in ForeFlight when using a Stratus 1 or Stratus 2 unit.  The Stratus units will regularly change the displayed accuracy varying between 1M and 30M or greater than 30M.  It helps me have a better understanding for the quality of the data.

As an end user, I regularly look for the "GPS accuracy" as a means of knowing if my navigation device is receiving enough satellites. It's "front and center" in ForeFlight and is easy to reference.

I guess I would just urge a wee bit of caution.  The GPS card we are talking about is clearly more than a toy, but it isn't exactly an approach certificated WAAS GPS.

Prototype is here (https://github.com/AvSquirrel/stratux/commit/e0ba1a35a6da46d76cff2cb3d8a7379274589813) and on three prior commits to my fork. (Bear with me as I learn to use git.)
Changes include:

Determine if WAAS is being used in nav solution
Multiply HDOP by 4.0m (WAAS) or 8.0 m (non-WAAS) to estimate 95% confidence of position (likely to be refined after additional testing)
Determine appropriate NACp category based on the position estimate
Pass NIC = 8 (was NIC = 11 in 0.3b4) and calculated NACp in the Ownship message
Add above data to stratux.log

@224XS - appreciate the concern for caution, but there's nothing here that isn't being done by any other internal or external GPS. As @JohnOCFII and @bradanlane note, an estimate of GPS accuracy is one of the default "gauges" shown on the bottom of the ForeFlight screen. Having an indication of what the external GPS is seeing a useful tool, and the current betas sort of lie to us by telling us that we always have 3m accuracy. This change would put Stratux in line with the expected behavior.
One thing worth noting is that dropping NIC to 0 will prevent ForeFlight from detecting Stratux data as ownship, but this will also disable the pressure altitude that is sent with the ownship message. Keeping a valid value for NIC will allow ForeFlight to intepret pressure altitude data, and give a better vertical reference point than internal GPS for detecting relative altitude of other aircraft.

@AvSquirrel - great idea tagging "Stratux" on the ownship in the case that it gets displayed by the app.
Your changes integrated into master: https://github.com/cyoung/stratux/commit/aafcd4892c3bf9fb303582369180e94392cc1531

Good enough for now, re-open if issues with the new code.


Potential problems with f1 keywords for error messages

The list of f1 keywords seem to be incomplete. As an example, CS8511 doesn't exist in this document, and it's also not documented.
If there is currently no internal tool for that, I can try writing a tool to auto generate the list of required f1_keywords for this article.
cc: @gewarren

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

ID: bbb051ee-f020-66ba-c601-4a08ad32ef61
Version Independent ID: 58a19505-ac46-c5c8-12cc-fe87b6aa18a7
Content: Sorry, we don't have specifics on this C# error
Content Source: docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks for pointing this out @Youssef1313
Do you want to create a PR that adds the latest warnings to the list? If so, I'll assign this to you.

@BillWagner, Sure.
It's a hard manual work, so I'll write a tool to do the job, and put the code in the PR for review.


Correctly install service as a LaunchDaemon/LaunchAgent depending on user

This change cleans up the usage and documentation for node_exporter_user. Prior to this change, the documentation for this variable (and the related node_exporter_group variable) claim that it is only used on Mac hosts when node_exporter_install_from_binary is defined. In fact, these variables are used in the service definitions, which means they are effectively used by all Unix hosts and for both package and binary installations.
In a related manner, our usage of LaunchDaemon/LaunchAgent was incorrect, and this PR now installs the launchd service under the correct directory depending on whether the service is to be run as root or not.

@nre-ableton I'm interested in reviewing this PR, thanks!

It seems some tests need to be adapted.

So the tests fail because the node_exporter_user isn't defined for the molecule tests. I've fixed this in c040a64, but molecule tests are still failing locally for me, so I expect they will fail on CI. I think that this is because the user task would modify the user because we don't specify all user properties that exactly match the molecule user, as some of the default values differ from the actual user properties.
But aside from that, eb6df86 (Assert that node_exporter user already exists) is quite messy, and I think that we should drop it. As it currently stands, we assert that node_exporter_user already exists, but we only require this variable for binary installations. But for binary installations, we actually create the user in tasks/unix/install-binary.yml. However, we still configure the service (which is where the user comes in) regardless, so we need to re-think the role of node_exporter_user. I'm going to put this PR back into draft mode while I iron this out.

Ok, I have reworked this PR in order to improve the user/group handling.

I guess we should also bump the role's minor version, similar to what we did with ableton.jenkins_swarm_client.

I guess we should also bump the role's minor version, similar to what we did with ableton.jenkins_swarm_client.

Yep, as announced in 2968a601e2d88dfd57a05b190a003b4237f7c538's commit message.


Feature to pick and store files from a specific path without File Picker

Is it possible to add a feature to directly pick and store file to a specific path in the allowed Media Directories of the platform
without the need of any File Picker/Folder Selector UI?

Hi @Vaibhav2002! Sorry for the late response!
To be sure to understand exactly, do you want to be able to save a file from a specific path? Without the need to open any windows or anything?
Something like this:
val file = File("/my/path/file.png")
file.save(bytes)

Hey @vinceglb ,
Yes something like that for Android and iOS, so I can directly save to device's downloads, photos etc folder
and retrieve file.
My use case is sharing screenshots, so I need to save and retrieve that exact file in a format which is shareable


fix(clipboard): Blacklist pasted HTML elements

Background: rich text get pasted with their CSS

Thanks! (Yep, sometimes looking at the right place helps a lot! 😉 )

Can you please describe the issue?
We have an existing past logic that parses HTML. So the title of this PR does not sound to be compatible with the existing logic as is. But I would like to hear the details.

I don't have more details than what I got from @gabrielhase , let's ask him instead. 👍

@peyerluk Up for review! :)

@vhf Do you have an idea why hound is acting weird? Is the .eslintrc format we use outdated?

.eslintrc looks fine to me, it also works well locally. I added a commit with a .hound.yml, it might get better. Not sure how to reproduce though, all I can do is hope it won't happen again on future PRs, I guess.

Coverage increased (+0.06%) to 79.028% when pulling cb456216b4aec0bdfa7dd3c7f4d210bf5db6a609 on fix-rich-paste-1577 into 43bb55d85c6b1bd7c51e3728265603e18e2b863f on master.


How to disable the zoom and Cluster

Hello would like to know how to disable the zoom and cluster when you click a cluster group, I would like to open a popup instead of zoom and decluster and only do decluster if I increase the map zoom through the zoom buttons or zoom gesture.

Hi,
I would go for the BuildLeafletCluster method we discussed before, and play with Leaflet's API directly.

Hello yellowiscool  thanks for the reply, I managed to make it work by adding the
// Remove all the default event listeners
marker.off ('click');
and then use the marker.on ('click', function () {to open my popup by clicking on the cluster, but as I am using marker.bindPopup (popup), to open a popup in the cluster group sometimes does not work and I have to click several times to get open so was wondering if there was no other way to disable decluster and ensure that the cluster has been clicked the popup to tie it.

Solved the problem of multiple clicks but still have to click once to activate the focus of prunecluster and then click again to open the popup, would focus on how to start the layer of prunecluster?

Hello apparently managed to solve was a problem with the marker.bindPopup function (popup); so I moved to openOn (map) and it worked thank you for your attention:
old code: (bug)
              var popup = L.popup()
             .setContent ('my content');
             marker.bindPopup(popup);

new code (work)
              popup2 L.popup = var ()
             .setLatLng (marker.getLatLng ())
             .setContent ('my content')
             .openOn (map);

Great to see that you found a solution :)

Tanks :+1:

Staff just to reinforce was still having problems with popup opening, the error occurred because he was using ionic and when altered the page to return to the map would not open more popup after much searching found the solution here http: // www. travisneufeld.com/fixing-click-events-with-ionic-and-leafletgoogle-maps/, which is very simple is a tip for those who want to work with Prune Leaflet + + + Ionic Popup ...
just add data-tap-disabled = "true" to the ion-view everything starts to work perfectly ...


"Preview via API" examples from docs don't work

Describe the bug
When looking at both examples linked on https://visualize.admin.ch/docs/charts/preview-via-api there is the same error:
Application error: a client-side exception has occurred (see the browser console for more information).

The browser console shows the following message:
Error: You need an <ConfiguratorStateProvider> to useConfiguratorState
    at ew (configurator-state.tsx:1856:11)
    at R (chart-published.tsx:62:19)
    at ak (react-dom.production.min.js:167:135)
    at i (react-dom.production.min.js:290:335)
    at oD (react-dom.production.min.js:280:383)
    at react-dom.production.min.js:280:319
    at oO (react-dom.production.min.js:280:319)
    at oE (react-dom.production.min.js:271:86)
    at ox (react-dom.production.min.js:268:399)
    at x (scheduler.production.min.js:13:197)
    at MessagePort.T (scheduler.production.min.js:14:126)

To Reproduce
Steps to reproduce the behavior:

Open https://visualize.admin.ch/_preview or https://visualize.admin.ch/_preview_post
There is an error message but no chart

Expected behavior
I expect the demos to show a working chart.
Environment (please complete the following information):
I tested it both on Pop!_OS 22.04 using Chromium Version 124 and Windows 11 using Edge 124.

Thanks @sam-e-ch for the feedback, and sorry for the inconvenience. It has been solved via https://github.com/visualize-admin/visualization-tool/pull/1524.
For my curiosity, could you explain to me how do you use the preview and how it is useful to you ? It might be something we'd want to include in a future "usecases" section on the visualize documentation site.

It should be deployed to test.visualize.admin.ch shortly.

@ptbrowne The idea is to facilitate the navigation of NFI charts - to in the future better integrate with lfi.ch/resultate/ page without going through the whole chart selection and configuration but to provide a limited set of parameters to adapt ;-)


If group already exist return 409 when adding a LDAP user group

Not to create the LDAP user group again or update the user group name.

Coverage decreased (-0.04%) to 64.496% when pulling 6939d32edd542b7782264192f7c143c6a042d2ec on stonezdj:fix_5096 into a72e7cb611a058d4590c39c8326789f77107f333 on vmware:master.

How about adding a test case?


Error while compiling application

Bug description
Hi community
We are having troubles while compiling an application based on Quarkus 3.3.0 with dependencies on camel-quarkus for REST invoking and REST endpoint exposing
We are compiling our application for Java 17 using Jenkins on Openshift and it fails with the following error:

Is that a known error? Can anybody help us?
Thank you!!

Does it work outside of your Jenkins / OpenShift environment?

Did you use the parallel building, such like -T2 was passed to maven? As far as I know, the camel-quarkus-3.2.0 is just released and it is based on Quarkus 3.2.5.Final, can you try this one?

Hi everyone
@jamesnetherton  yes it does, if I compile in my computer it works properly but in Jenkins-Openshift it crash.
@zhfeng we Use -T4C because the maven module is part of a corporate framework with more than 400 modules... if we dont parallelize the build, it lasts too much


Fix GitHubPAT error in Azure Pipelines

Apparently the GithubPat comes empty now, even when it is defined in the pipeline. This is a minor issue, as releases do not happen very often, and it is just a matter of updating the info branch manually afterwards.

This was a misconception of the order in which variables get processed. It should be solved by df55bb0, now using variable groups and not having empty variables in the yaml file anymore. In addition, the PostBuildStep occurs before the GitHub release, which should mean that no release goes through with a failed build.


Crash when loading prb file

Hi,
I'm trying to load the geometry of my probe using probeinterface.
However, it crashes because of this line, where the channel id is taken, but that doesn't work in out case:
https://github.com/SpikeInterface/probeinterface/blob/4c34a06293cd7a5602293829155a884d0f50a9fe/probeinterface/io.py#L451
Here is my prb file:
channel_groups = {
    0: {
        'channels': [10, 8, 25, 19, 23, 17, 11, 6, 22, 21, 7, 18, 20, 9, 16, 5],
        'geometry': [[0, 0], [-25, -12.5], [0, -25.0], [-25, -37.5], [0, -50.0], [-25, -62.5], [0, -75.0], [-25, -87.5], [0, -100.0], [-25, -112.5], [0, -125.0], [-25, -137.5], [0, -150.0], [-25, -162.5], [0, -175.0], [-25, -187.5]],
	'label': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
    },
    1: {
        'channels': [13, 4, 1, 27, 15, 12, 49, 2, 31, 29, 0, 14, 28, 3, 24, 26],
        'geometry': [[250, 0], [225, -12.5], [250, -25.0], [225, -37.5], [250, -50.0], [225, -62.5], [250, -75.0], [225, -87.5], [250, -100.0], [225, -112.5], [250, -125.0], [225, -137.5], [250, -150.0], [225, -162.5], [250, -175.0], [225, -187.5]],
	'label': [16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31],
    },
    2: {
        'channels': [51, 58, 63, 37, 30, 50, 32, 60, 33, 35, 62, 48, 34, 61, 38, 36],
        'geometry': [[500, 0], [475, -12.5], [500, -25.0], [475, -37.5], [500, -50.0], [475, -62.5], [500, -75.0], [475, -87.5], [500, -100.0], [475, -112.5], [500, -125.0], [475, -137.5], [500, -150.0], [475, -162.5], [500, -175.0], [475, -187.5]],
	'label': [32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47],
    },
    3: {
        'channels': [52, 54, 39, 45, 41, 47, 53, 56, 40, 43, 57, 44, 42, 55, 46, 59],
        'geometry': [[750, 0], [725, -12.5], [750, -25.0], [725, -37.5], [750, -50.0], [725, -62.5], [750, -75.0], [725, -87.5], [750, -100.0], [725, -112.5], [750, -125.0], [725, -137.5], [750, -150.0], [725, -162.5], [750, -175.0], [725, -187.5]],
	'label': [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63],
    }
}

Here is the crash report:
read_prb("arch.prb")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/users/nsr/wyngaard/.conda/envs/rapids/lib/python3.8/site-packages/probeinterface-0.2.5-py3.8.egg/probeinterface/io.py", line 443, in read_prb
    positions = np.array([group['geometry'][c] for c in chans],
  File "/users/nsr/wyngaard/.conda/envs/rapids/lib/python3.8/site-packages/probeinterface-0.2.5-py3.8.egg/probeinterface/io.py", line 443, in <listcomp>
    positions = np.array([group['geometry'][c] for c in chans],
IndexError: list index out of range

Is my prb file wrong, or is it a bug?
Thank you,
Drade

Oh no. SOrry. there is a bug in the uimplementation of probeinterface.
I will fix this soon. Sorry.

I understand now your problem.
'geometry' is supposed to be a dict in our implementation instead of a list of list.
So something like this:
channel_groups = {
    0: {
        'channels': [10, 8, 25, 19, 23, 17, 11, 6, 22, 21, 7, 18, 20, 9, 16, 5],
        'geometry': {
            10: [0, 0],
            8 : [-25, -12.5],
            25 : [0, -25.0],
         ...

in that case the acutal implementation is working.
Were did you get this PRB ? it sounds like a variant of PRB.
The main problem with PRB format is that nobody never specify it really but many tools use it (klusta, spyking-circus, tridesclous, the old spikeinterface, ....)
It is the main reason why we introduce the probeinterface format with clear spec.
What I would do is to parse manually you pseudo-prb file and build by your own a good probegroup.
It will be more reliable:
channel_groups = ....

probegroup = ProbeGroup()
for group_id, group in channel_groups.items():
    probe = Probe()

    probe.set_contacts(positions=np.array(group['channels']),
                           shapes='circle', shape_params={'radius': 5})
    # probe.create_auto_shape(probe_type='tip')

    contact_ids = np.array(group['label'], dtype='S')
    probe.set_contact_ids(contact_ids)
    probe.set_device_channel_indices(group['channels'])
    probegroup.add_probe(probe)

I believe it came from Cambridge Neurotech with the probe.
Thank you for the answer, we'll try it!

Hi,
We've tested the code, and we're having some issues.
Here is the code with the same arch.prb:
import probeinterface as pi
import numpy as np
import spikeinterface as si

recording = si.BinaryRecordingExtractor("/path/to/recording.dat", 30000, 64, np.int16)
execfile("/path/to/arch.prb") # Acquiring the channel_groups dict

probegroup = pi.ProbeGroup()
for group_id, group in channel_groups.items():
    probe = pi.Probe()

    probe.set_contacts(positions=np.array(group['geometry']),
                           shapes='circle', shape_params={'radius': 5})
    # probe.create_auto_shape(probe_type='tip')

    contact_ids = np.array(group['label'], dtype='S')
    probe.set_contact_ids(contact_ids)
    probe.set_device_channel_indices(group['channels'])
    probegroup.add_probe(probe)

recording.set_probegroup(probegroup)
recording.get_probegroup()

We get the following error:
File "~/miniconda3/envs/projet/lib/python3.8/site-packages/spikeinterface-0.94.0.dev0-py3.8.egg/spikeinterface/core/baserecording.py", line 400, in get_probegroup
    raise ValueError('There is not Probe attached to recording. use set_probe(...)')

ValueError: There is not Probe attached to recording. use set_probe(...)

We are using the latest versions of spikeinterface and probeinterface.

You need to do
recording_with_probe = recording.set_probegroup(probegroup) and then use recording_with_probe
or
recording = recording.set_probegroup(probegroup)

Ah yes, I feel kinda dumb ^^'
I keep forgetting spikeinterface uses this king of setters.
Thank you!


doc: Move explanation at the top

How to extend the PATH variable may be explained at first occurance (line 51). In documentation it is explanined at lines 164 and 165. However it is used before lines (51, 148, 155)

@mehmety888 will you be able to move this one forward any time soon? It's totally fine if you can't, but please let us know.

Hi Michel,
I thought I committed before. Thank you for reminding me.
Please check again.
Best Regards,
Mehmet
Michel Hidalgo<EMAIL_ADDRESS>4 Nis 2019 Per, 15:50 tarihinde
şunu yazdı:

@mehmety888 https://github.com/mehmety888 will you be able to move this
one forward any time soon? It's totally fine if you can't, but please let
us know.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ros2/ros2_documentation/pull/145#issuecomment-479883586,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AqrSDisH7XTn9Naw2xj4WB2MMMfSqgktks5vdfUYgaJpZM4cE-CW
.

Looks much better now, thanks for your contribution @mehmety888 !

@mehmety888 sorry to bother for the Nth time, but there seems to be a trailing whitespace and I can't merge until CI passes.

There we go! Thank you for your contribution and patience @mehmety888 :)


Memory fragment

This PR adds a memory fragment in the forest zone.
This memory fragment shows a dialog with some made-up back story, which tells the user how to use a new skill. It also unlocks altar teleportation.
After this is approved, I'll move the player back to the starting point in forest zone and re-enable the tutorial 😄.
The fragment itself has a fade-out animation, which shows the fragment disappearing after collision, however this is not visible, since the dialog takes up all of the space 🤦.

 [FEATURE] Memory Fragment Tells You About Fire Sword


Namespaced PermissionProvider implementors are not detected

If you namespace an implementor of PermissionProvider, like so:
<?php namespace SomeCompany\Permissions;

use PermissionProvider;

class CustomProvider implementsPermissionProvider {
    public function providePermissions() {
        return array(
            'DESTROY_WORLD' => 'Destroy the world',
        );
    }
}

Changes won't be picked up, so the permission codes will not be shown when creating roles.

I’ve encountered the same issue with Flushable. Implementing \Flushable instead of using the use syntax as @micmania1 suggests does work, not sure if the issue lies in ClassManifest or in one of the parsers themselves.

@willmorgan not sure if it's a typo in you example or the issue, but PermissionProvider is an interface; your example is declaring a class.

@dhensby good spot, it was a typo though!

Ok, I'm pretty sure I have a fix for this. So is it a bug fix or is it a new feature?

Bug fix, imho.

Changing milestone to 3.1 since the fix is there.


Questions in 'DDPG.py' and 'environment.py'

Dear Mr. Baturay Saglam,
I have some questions regarding to 'DDPG.py' and 'environment.py' .
In 'DDPG.py', I think the codes of lines 47-52 and 65-67 aiming to normalize the phase shift matrix are wrong. Because the norm of the phase after normalization is not equal to 1 ( Actually much less than 1).
In 'environment.py', in line 114 , is the power '**2' necessary? Because 'self.G.conjugate().T @ self.G' is already the power.  Meanwhile, in line 90, why do you multiply the noise power 'self.awgn_var' with '(self.K - 1)'?
Could you please double-check these three places?

please take a look at here.


Moved files using datasets to datautil to fix circular imports

I took a quick look at #130 and I moved two files which uses things from datautil (xy.py and mne.py) to the datautil module. Now I can do from braindecode.datautil import *. @robintibor @agramfort let me know what you think, is it a good place for those files? They are just functions creating datasets.
@Simon-Free can you check if it works now?
One more thing is that I hardcoded skorch version as our tests does not work with the newest one. #129

How may I download your code ? I tried git pull sliwy circular_import_fix, but it does not work, any idea ?

did you add sliwy as a remote,e.g.,
git remote add sliwy git@github.com:sliwy/braindecode.git
(or https, depending on what you are using)
then you could do for example:
git fetch sliwy
git checkout sliwy/circular_imports_fix

Hmhm I wonder if it is better the way you did now or to say we move datasets/base.py together with what was before in datautil. then what is left in datasets would be "specific" sets like moabb, tuh, xy,mne,.... and everything generic in datautil. but then ofc naming may be confusing (basedataset in datautil not dataset...)
I don't know what you think? We can also discuss with @gemeinl  he returns from vacation next week...

If you look at those functions create_from_mne_raw, create_from_mne_epochs, create_from_X_y they all just create a dataset based on some form of data, in this case mne raw or mne epochs or just X and y. For me it is a kind of helper to create dataset but I am not sure if it should be in datasets module. For me it sounds like datautil to create a dataset.
I agree that we can wait for @gemeinl to have better overview in datasets concept!

@agramfort do you mean the import stuff in general so that in general there should be no imports deeper than two levels anywhere within the library? then maybe in separate PR?

great @sliwy @gemeinl  also agrees alles gut


Could someone explain me why after following the steps to install SAM in CVAT the AI tools does not appear in the toolbar? Is it a bug or I have deployed something worng?

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce

Follow the process described in the webpage on install SAM in CVAT with GPU.

Check that I have the nuclio function depolyed "ready" for its use by doing "nuctl get functions"

Check by doing docker ps, that it is also in the docker desktop properly installed.

Therefore, I supposed that all the steps have been properly followed and AI tools must apprear in the CVAT tool.

Expected Behavior
However, when I open the cvat application in localhost:8080 the AI tools option does not appear.

Possible Solution
No response
Context
If someone can explain me how to solve the issue please let me know. I need the tool for doing segment annotation quicly. Thank you so much for your time .
Environment
-Docker version docker version (e.g. Docker 17.0.05):
The current version is Docker Desktop (Docker version 24.0.2, build cb74dfc).

-Are you using Docker Swarm or Kubernetes?
No.

-Operating System and version (e.g. Linux, Windows, MacOS):
system:windows 10 pro
Ubuntu 18.04.6 LTS
GIT :git version 2.17.1.windows.1
WSL2

Thank you so much for your time.

 Your solution allows AI tools on my CVAT application as you can see in the following image.

However, when I start annotating an error appear and no mask is available as you can see in the image.

The error is "Interaction error occurred" and it says that "Request failed with status code 503. "HTTPConnectionPool(host='host.docker.internal', port=62395): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa93e017f40>: Failed to establish a new connection: [Errno 111] Connection refused'))"

Try to re-deploy the serverless function.

Once again, thank you @bsekachev. The error has disappear but still I am not able to annotate properly.
As you are going to see in the followin images, SAM is able to detect tha appel but it does not label as appel even I put three points on it.

Select apple from AI tools

Put first green bullet in an appel.

Put the second green bullet in the same apple

However the object annotation does not appear in the right part of the CVAT application.

Do I need to do something else? I have been examining SAM videos and the object annotation appears alone...

You need to finish drawing process and object will appear.
Press "Done" button in header or key N on your keyboardd

Once again thank you for yout help. It works perfect!!!!


Build release branches on AppVeyor

We should build r/* branches on AppVeyor (part of the release process).

Closed via #704.


rd-disable-chrome-autosave

disable the message about chrome being controlled by automated test software and the automatic password save bubble
@DramaFever/qa

good call, LGTM


non-java server register to eureka

Can a non-java server register to eureka?
My server is  a go server, I want to register to eureka? Can I do this?

Yes, it is possible.

Yes, it is possible.

Ok, I will hava a try. thank you.

You can implement a lightweight client / sidecar, only these APIs are necessary for registration:
Register, update (including state): POST $ADDR/discovery/v2/apps/$APP
Heartbeat: PUT "$ADDR/discovery/v2/apps/$APP/$INSTANCE_ID?status=${current_status}&lastDirtyTimestamp=$last_reg"
Gracefully de-register (optional): DELETE $ADDR/discovery/v2/apps/$APP/$INSTANCE_ID
Status transitions are:
STARTING -> UP (should not do STARTING -> DOWN, keep in STARTING until becomes healthy)
UP <-> DOWN
Hope this helps.

ok, I completed the work through your hint, Thx


CLI should retry when it encounters a 502 error

When the CLI encounters a 502 error

The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.

It should retry.

I see there's some retry logic in https://github.com/codecov/codecov-cli/blob/711b01f82d93359fe459bab7b4e8405e9cf5729d/codecov_cli/helpers/request.py#L19 but it's not catching specific status code, just critical exceptions requests.exceptions.ConnectionError and requests.exceptions.Timeout.
I've had success using urllib3's native retry capabilities and mounting a custom HTTPAdapter:
session = requests.Session()
adapter = HTTPAdapter(
    max_retries=Retry(
        total=3,
        backoff_factor=0,
        status_forcelist=[
            HTTPStatus.TOO_MANY_REQUESTS,
            HTTPStatus.INTERNAL_SERVER_ERROR,
            HTTPStatus.BAD_GATEWAY,
            HTTPStatus.SERVICE_UNAVAILABLE,
            HTTPStatus.GATEWAY_TIMEOUT,
        ],
        raise_on_status=False,
    ),
)

session.mount("http://", adapter)
session.mount("https://", adapter)

but it might not be easy to fit a Session flow in this codebase.


Removal of resources from an Environment

Hello.
There is no mention of the ability to remove resources from an Environment.
For example, once a VM is added to the environment, if you remove the VM, DevOps will try to deploy to it, but always failing with
##[error]Unable to deploy to the virtual machine 'testdeploy' as the machine is offline.

That's less than ideal.

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

ID: 77d95db6-9983-7346-d0eb-4b7443e4e252
Version Independent ID: 0a22cccc-318d-592f-d1ab-09ec01d88087
Content: Environment - Azure Pipelines
Content Source: docs/pipelines/process/environments.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

It looks like you've encountered an issue with the product itself, rather than an issue with the documentation. To make sure it gets in front of the right people, please submit your bug here.

Whoops. You're right. Sorry.


reportData.coverage.project.file is not iterable

When using this github action I get the error:
Error: reportData.coverage.project.file is not iterable
My setup
"jest": "^27.0.0",
To generate the clover coverage report I'm running: jest --ci --coverage which generates the folder in the root of my project

The workflow file:
permissions:
  checks: write
  contents: read
  packages: read
  pull-requests: write

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version-file: '.nvmrc'
      - uses: actions/cache@v3
        with:
          path: |
            node_modules
            ~/.cache/Cypress
          key: node-${{ hashFiles('yarn.lock') }}
      - run: yarn --frozen-lockfile --check-files
      - run: yarn test:ci
      - name: Clover Code Coverage Summary
        uses<EMAIL_ADDRESS>        with:
          filename: ./coverage/clover.xml
      - name: 'Add Code Coverage to Job Summary'
        run: |
          cat code-coverage-summary.md >> $GITHUB_STEP_SUMMARY
          cat code-coverage-details.md >> $GITHUB_STEP_SUMMARY

https://github.com/saschanowak/CloverCodeCoverageSummary/blob/1ffa93ce4b6f9d0c24e7381b2da1501b03963a2e/src/main.ts#L149 assumes the XML structure is coverage.project.file whereas it's coverage.project.package.file (clover="3.2.0")


Add Text Component

Also text in buttons, inputs, chat and forms, we have

All covered!.


Better code reuse in opendaylight_spec.rb

The main rspec testing code is good, but duplicates fairly large chunks of code. It would be great to refactor it to eliminate that duplication.

The last few commits, linked above via commit messages, did this refactoring.


Not possible to write multi-line errors to console

It seems that carton feeds each onStderrLine result to its own console.error, so if a Swift app writes multiple lines at once to stderr to format things, rather than emitting a single browser error with the formatted message, the browser emits a unique error per line:

This is one of the limitations in the WASI syscall interface. The fd_write syscall used as the underlying mechanism of print does not guarantee to flush per-line. It might give us a string in the middle of a line, so we need to buffer them by JS side, and we need to call console.error every time we get a CR/LF. For example, if we get the following two calls
fd_write("Hello,\nSwi")
fd_write("ft\n")

Our current way results:
Hello,
Swift

However, if we call console.error for each fd_write call, it results in:
Hello,
Swi
ft

Unless we have a way to write message in the last line without newline, we can't avoid such chopped up messages.
Therefore, if you really want to control when the message should be flushed, you need to use console API directly instead of relying on WASI-backed printing methods like Swift.print

Understood! Do you think it would be an option to buffer the console a single render tick and then combine any entries with the same stack trace before flushing to the web console? Or would that be problematic in its own right?
Feel free to close if it's completely unreasonable to fix :smile: We've customized our error reporter to report directly to the console, but wanted to flag this if it was possible to address in carton itself.

Do you think it would be an option to buffer logs a single render tick and then combine any entries with the same stack trace before flushing to the web console?

Interesting idea. It still potentially chops up messages when printing across frames (see below example), but I think it should solve the problem in 99% cases.
print("Hello, ", terminator: "")
await JSPromise.resolve(.undefined).value
print("Swift")

I'll make time to explore how other communities address this problem later.


UI: Switcher

Create custom switcher behavior for UI purposes

Created custom switcher node with "to_hide" and "to_show" properties to be referenced in future UI, other scripts


Generator not detected after installing generator-keystone package

? 'Allo Joe! What would you like to do? Install a generator
? Search npm for generators: keystone
? Here's what I found. Official generator → ෴
  Install one? keystone A KeystoneJS Project Generator for Yeoman
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as 'css-select'
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as 'css-what'
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/Users/joe/.nvm/versions/node/v6.4.0/lib
└──<EMAIL_ADDRESS>

I just installed a generator by running:

    npm install -g generator-keystone

? 'Allo Joe! What would you like to do?
  Run a generator
  Webapp
  ──────────────
  Update your generators
❯ Install a generator
  Find some help
  Get me out of here!
  ──────────────

I also tried running npm install -g generator-keystone manually. It completes - without errors - but the generator still doesn't appear on the list.
I'm on Sierra (10.12.4), Node v6.4.0, NPM 3.10.3. Let me know if you need anything further.
Thanks in advance :)

Scratch that, Yeoman had installed to my global node_modules but NVM was intercepting the generator installation and putting it in a versioned directory. Once I reinstalled Yeoman into the same directory it found the generator no problem.


fix: Failed to run on Android

Description
A clear and concise description of what the bug is.
Not a bug, but I'm struggling to run it on Android.
The package uses NDK 25.1.8937393
Android Studio automatically installs NDK 28.0.12433566
If there's something that can help me fix this please let me know!
Thanks in advance
Screenshots

I don't know why this happens. You could try to comment out this line or put there the NDK version you are using.
Let me know! Thank you.

libflutter_recorder.so is the lib to be compiled, but you got that NDK compilation error therefore it cannot find it.
Does this happen after you followed my previous suggestion?

Yes
Does it auto-compile or how to do it if manually?

You should see if there are some compilation errors running: flutter build linux -t lib/main.dart
You could add a -v for the verbose output.
If some errors occur, the libflutter_recorder.so lib is not available.

Some errors occurred after running that command, how to add that lib then?

If it compiles then it will be added automatically. What is the relevant output where some compilation error occurs?

Oh yes, you need to install gstreamer Linux package. I thought it was a pretty much mandatory package in Linux.
Let me know!

Still the same error!

Still the same error!
is there any chance I'm missing something? Just add the package to pubspec.yaml and run?

The gstreamer is a Linux package as I wrote before. You should install it with your Linux distro package manager. I found this doc to install it.

I did install gstreamer

I did install gstreamer

So now it compile and this error message doesn't come up again:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)]
Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libflutter_recorder.so': dlopen failed: library "libflutter_recorder.so" not found

So now, I didn't understand if you can run the app or if there is something more. Please tell me if some error messages come up and the log if any, or some more details on what is going wrong.

So I've just created a new project
added the package to pubspec.yaml
changed minSdk to 21 in app/build.gradle
added the permission to AndroidManifest.xml
The app runs, when I call the recorder to init() it throws the same error
This is the counter app example:

The error with stacktrace:

It still cannot find the compiled library libflutter_recorder.so.
I do not understand if you still see compilation errors doing what is described in the previous comment.

Some good news, running this command
flutter build linux -t lib/main.dart
in the new project now, build is successful and it runs too, I start the recorder without any issue on Linux
on Android it still says
Failed to load dynamic library libflutter_recorder.so.

I still need to see the android compilation log, but I think that if you run flutter clean, flutter pub get you could then build it successfully

I did flutter clean and flutter pub get
The app compiles, this is the log when I call the init() method
E/flutter ( 8914): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libflutter_recorder.so': dlopen failed: library "libflutter_recorder.so" not found E/flutter ( 8914): #0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43) E/flutter ( 8914): #1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12) E/flutter ( 8914): #2      RecorderFfi._dylib.<anonymous closure> (package:flutter_recorder/src/bindings/recorder_io.dart:41:33) E/flutter ( 8914): #3      RecorderFfi._dylib (package:flutter_recorder/src/bindings/recorder_io.dart:47:4) E/flutter ( 8914): #4      RecorderFfi._dylib (package:flutter_recorder/src/bindings/recorder_io.dart) E/flutter ( 8914): #5      new RecorderFfi (package:flutter_recorder/src/bindings/recorder_io.dart:50:69) E/flutter ( 8914): #6      new RecorderController._ (package:flutter_recorder/src/bindings/recorder_io.dart:23:12) E/flutter ( 8914): #7      new RecorderController (package:flutter_recorder/src/bindings/recorder_io.dart:20:68) E/flutter ( 8914): #8      new Recorder._ (package:flutter_recorder/src/flutter_recorder.dart:66:22) E/flutter ( 8914): #9      Recorder.instance (package:flutter_recorder/src/flutter_recorder.dart:64:45) E/flutter ( 8914): #10     Recorder.instance (package:flutter_recorder/src/flutter_recorder.dart) E/flutter ( 8914): #11     _MyHomePageState._incrementCounter (package:recorder/main.dart:39:31) E/flutter ( 8914): #12     _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1170:21) E/flutter ( 8914): #13     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:351:24) E/flutter ( 8914): #14     TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:656:11) E/flutter ( 8914): #15     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:313:5) E/flutter ( 8914): #16     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:283:7) E/flutter ( 8914): #17     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:169:27) E/flutter ( 8914): #18     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:505:20) E/flutter ( 8914): #19     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:481:22) E/flutter ( 8914): #20     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:450:11) E/flutter ( 8914): #21     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:426:7) E/flutter ( 8914): #22     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:389:5) E/flutter ( 8914): #23     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:336:7) E/flutter ( 8914): #24     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:305:9) E/flutter ( 8914): #25     _invoke1 (dart:ui/hooks.dart:328:13) E/flutter ( 8914): #26     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:442:7) E/flutter ( 8914): #27     _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)E/flutter ( 8914): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s): Failed to load dynamic library 'libflutter_recorder.so': dlopen failed: library "libflutter_recorder.so" not found E/flutter ( 8914): #0      _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11:43) E/flutter ( 8914): #1      new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22:12) E/flutter ( 8914): #2      RecorderFfi._dylib.<anonymous closure> (package:flutter_recorder/src/bindings/recorder_io.dart:41:33) E/flutter ( 8914): #3      RecorderFfi._dylib (package:flutter_recorder/src/bindings/recorder_io.dart:47:4) E/flutter ( 8914): #4      RecorderFfi._dylib (package:flutter_recorder/src/bindings/recorder_io.dart) E/flutter ( 8914): #5      new RecorderFfi (package:flutter_recorder/src/bindings/recorder_io.dart:50:69) E/flutter ( 8914): #6      new RecorderController._ (package:flutter_recorder/src/bindings/recorder_io.dart:23:12) E/flutter ( 8914): #7      new RecorderController (package:flutter_recorder/src/bindings/recorder_io.dart:20:68) E/flutter ( 8914): #8      new Recorder._ (package:flutter_recorder/src/flutter_recorder.dart:66:22) E/flutter ( 8914): #9      Recorder.instance (package:flutter_recorder/src/flutter_recorder.dart:64:45) E/flutter ( 8914): #10     Recorder.instance (package:flutter_recorder/src/flutter_recorder.dart) E/flutter ( 8914): #11     _MyHomePageState._incrementCounter (package:recorder/main.dart:39:31) E/flutter ( 8914): #12     _InkResponseState.handleTap (package:flutter/src/material/ink_well.dart:1170:21) E/flutter ( 8914): #13     GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:351:24) E/flutter ( 8914): #14     TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:656:11) E/flutter ( 8914): #15     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:313:5) E/flutter ( 8914): #16     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:283:7) E/flutter ( 8914): #17     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:169:27) E/flutter ( 8914): #18     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:505:20) E/flutter ( 8914): #19     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:481:22) E/flutter ( 8914): #20     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:450:11) E/flutter ( 8914): #21     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:426:7) E/flutter ( 8914): #22     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:389:5) E/flutter ( 8914): #23     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:336:7) E/flutter ( 8914): #24     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:305:9) E/flutter ( 8914): #25     _invoke1 (dart:ui/hooks.dart:328:13) E/flutter ( 8914): #26     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:442:7) E/flutter ( 8914): #27     _dispatchPointerDataPacket (dart:ui/hooks.dart:262:31)

It runs, but for sure it compiles with errors because after running, it cannot find libflutter_recorder.so.
So you should see the compile output and paste here the relevant log where you see the error.
Try with flutter build appbundle -t lib/main.dart

The mentioned log above is the only thing that I get, also the appbundle has no issues.

I'm out of ideas! On my end I have no problems with Android.
Have you also tried to run the provided example?

Hello!
I've tried to run the example from the flutter_recorder repo, using Android Studio gradle sync was successful
It downloaded ndk 23
After that I've tried to run the app and got this:
`
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':flutter_recorder:buildCMakeDebug[arm64-v8a]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `/home/harith/Downloads/temp/flutter_recorder/android/.cxx/Debug/5q173l70/arm64-v8a'
[1/3] Building CXX object CMakeFiles/flutter_recorder.dir/capture.cpp.o
FAILED: CMakeFiles/flutter_recorder.dir/capture.cpp.o
/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DDART_SHARED_LIB -Dflutter_recorder_EXPORTS -I/home/harith/Downloads/temp/flutter_recorder/src -I/home/harith/Downloads/temp/flutter_recorder/src/fft -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security   -fno-limit-debug-info  -fPIC -MD -MT CMakeFiles/flutter_recorder.dir/capture.cpp.o -MF CMakeFiles/flutter_recorder.dir/capture.cpp.o.d -o CMakeFiles/flutter_recorder.dir/capture.cpp.o -c /home/harith/Downloads/temp/flutter_recorder/src/capture.cpp
In file included from /home/harith/Downloads/temp/flutter_recorder/src/capture.cpp:6:
/snap/flutter/current/usr/include/c++/9/memory:121:25: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information
const auto __intptr = reinterpret_cast<uintptr_t>(__ptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/3] Building CXX object CMakeFiles/flutter_recorder.dir/flutter_recorder.cpp.o
FAILED: CMakeFiles/flutter_recorder.dir/flutter_recorder.cpp.o
/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21 --gcc-toolchain=/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DDART_SHARED_LIB -Dflutter_recorder_EXPORTS -I/home/harith/Downloads/temp/flutter_recorder/src -I/home/harith/Downloads/temp/flutter_recorder/src/fft -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security   -fno-limit-debug-info  -fPIC -MD -MT CMakeFiles/flutter_recorder.dir/flutter_recorder.cpp.o -MF CMakeFiles/flutter_recorder.dir/flutter_recorder.cpp.o.d -o CMakeFiles/flutter_recorder.dir/flutter_recorder.cpp.o -c /home/harith/Downloads/temp/flutter_recorder/src/flutter_recorder.cpp
In file included from /home/harith/Downloads/temp/flutter_recorder/src/flutter_recorder.cpp:3:
In file included from /home/harith/Downloads/temp/flutter_recorder/src/miniaudio.h:12036:
/home/harith/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/sys/system_properties.h:76:3: error: expected function body after function declarator
__INTRODUCED_IN(19);
^
In file included from /home/harith/Downloads/temp/flutter_recorder/src/flutter_recorder.cpp:9:
/snap/flutter/current/usr/include/c++/9/memory:121:25: error: cast from pointer to smaller type 'uintptr_t' (aka 'unsigned int') loses information
const auto __intptr = reinterpret_cast<uintptr_t>(__ptr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
ninja: build stopped: subcommand failed.

C++ build system [build] failed while executing:
/home/harith/Android/Sdk/cmake/3.18.1/bin/ninja
-C
/home/harith/Downloads/temp/flutter_recorder/android/.cxx/Debug/5q173l70/arm64-v8a
flutter_recorder
from /home/harith/Downloads/temp/flutter_recorder/android

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 12s
Error: Gradle task assembleDebug failed with exit code 1
`

If I remember well, I read that Flutter installed using snap can cause problems like this with native plugins. Have you installed it with snap?
The only solution I found is to uninstall it with sudo snap remove flutter and install it the official way.
Please, let me know.

Wow! that's new
I hear lots of people not liking snaps, they give me troubles sometimes too.
OK, I will try that and let you know.

I've reinstalled flutter, and removed it from snap
The example app runs and the recording works.
At some point I changed gradle file including  ndkVersion = "23.1.7779620"  that downloaded the version which the plugin uses
Now I create new app samples and add the permissions and normal steps, the  init() and start() methods both work
stop() and deinit() work as well, startRecording() throws an exception that says:
RecorderFailedToInitializeRecordingException: The recording failed to start (on the C++ side)
I'm calling these methods in a row:
`final recorder = Recorder.instance;
void init() async {
if (defaultTargetPlatform == TargetPlatform.android ||
defaultTargetPlatform == TargetPlatform.iOS ||
defaultTargetPlatform == TargetPlatform.macOS) {
await Permission.microphone.request().isGranted.then((value) async {
if (!value) {
await [Permission.microphone].request();
}
});
  recorder.init();
}`

then start then startRecording each on a separate button.

On all platforms except the web, you must provide the completeFilePath to the startRecording.  On web, the browser will ask for the filename.
I forgot to assert this!
On Android, you have to get a folder using path_provider plugin and append the file name you wish to use as you can see in the example.
Thanks for your findings on this issue, I think we can close it. Feel free to reopen (or open another one).


Implemented script files in order to get phonenumber formatting info from other libraries

Checklist

[ ] At least one test case is included for this feature or bug fix.
[ ] ReleaseNotes has added or is not needed.
[ ] This PR has passed all of the test cases on Nodejs and Chrome Browser.
[ ] This PR has passed all of the test cases on QT/QML.
[ ] This is an API breaking change.
[ ] Requires a major version change.

Issue Resolved / Feature Added
iLib has a phonenumber formatting feature. It supports only 12 locales and CLDR doesn't provide information for phonenumber parsing/formatting.  There're open source libraries from Google and many opensource libraries are relying on. So I've written script files to get information from them. and Hopefully, I can save time to gather real information whenever I support new locale in iLib.
I wish I could create JSON file for replacing at once from these tool code. But it couldn't. So  At least I'm preparing data to expand locale support easily (Form of tool code output, location of files can be updated or expand.  It's just first cut)
There's are three script files running on nodejs. and one shell script. In order to run easily, Just execute  'updateData.sh`

gennumplan.json
--> From metadata.json from libphonenumber-js library.
--> It creates exampleNum.json and numplan.json per region.
genphonefmt.js
--> It creates format template per digit by using exampleNum.json and AsyouType feature in libphonumber-js. (fixedline, mobile, service number type)
gengeoinfo.js
--> Converting to JSON file from geocoding text files from libphonumber and cut the
updateData.sh
--> Written tasks to execute all related tasks including git clone work.
I realize two opensource library libphonnumber-js and libphonenumber library released very often. Sometimes once in two weeks or least once a month. so I think I need to implement to get the latest data automatically through code. So I've written a new script file updateData.sh. If libphonenumber-js library installed through npm module. it installed under node_modules/ directory. and it this cases autoupdate.sh doesn't work which convert PhoneNumberMetadata.xml to metadata.json. metadata.json file is used in iLib's script code. so I had to run git checkout then run that script. In order to do that, I've written a new script code. and in this tool code, it includes other tasks which related phonenumber formatting work.

Resolution
Links

libphonenumber : a phone number formatting and parsing library released by Google, originally developed for (and currently used in) Google's Android mobile phone operating system.
libphoennumber-js : is a "lighter" pure javascript rewrite of the original libphonenumber library (written in C++ and Java because those are the programming languages used in Android OS). While libphonenumber has an official autogenerated javascript port which is being maintained by Google, it is tightly coupled to Google's closure javascript utility framework. It can still be compiled into one gigantic bundle which weighs 530 kilobytes (330 kB code + 200 kB metadata) — quite a size for a simple phone number input field on a casual website.

So these are just the tools? We are not ready to put in the generated files yet?

oh, it's ready. I just wasn't sure the name and file of location are appropriate or not. I'll commit all the generated files.


⚠ Bofrost.at has degraded performance

In 27b3471, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1176 ms

Resolved: Bofrost.at performance has improved in 131ad10 after 40 minutes.


fix F841 errors in mbe and ube

Fixed these issues:
src/quemb/molbe/mbe.py:558:23: F841 Local variable rdm1_lo is assigned to but never used
src/quemb/molbe/mbe.py:558:32: F841 Local variable rdm2_lo is assigned to but never used
src/quemb/molbe/mbe.py:894:13: F841 Local variable dm_init is assigned to but never used
src/quemb/molbe/mbe.py:915:17: F841 Local variable eh1 is assigned to but never used
src/quemb/molbe/mbe.py:915:22: F841 Local variable ecoul is assigned to but never used
src/quemb/molbe/mbe.py:915:29: F841 Local variable ef is assigned to but never used
src/quemb/molbe/ube.py:185:9: F841 Local variable EF is assigned to but never used
src/quemb/molbe/ube.py:311:13: F841 Local variable sab is assigned to but never used
src/quemb/molbe/ube.py:335:13: F841 Local variable dm_init is assigned to but never used

part of #44


fix(dark mode): clean up dark mode toggle styles

change md tailwind breakpoint to 950px

GitHub Actions and Vercel are having issues. Merge without pipeline passing


Redundant Upvotes

Bug report
Describe the bug
Preface: I'm not sure if this is a bug or "a feature" ;). My team is in ADAS within Ford
My team was doing a retro and I was able to upvote the same comment multiple times. Maybe what's needed is something like a toggle that can be set by the owner of the board. Like "allow multiple votes" or "distinct votes only". I guess I can see both use cases, but seems like my team needs to be able to see how many DISTINCT teammates have upvoted.
To Reproduce
Steps to reproduce the behavior:

Insert a comment
Upvote
Upvote again

Expected behavior
I assume at least one intended behavior is that I can click the upvote icon, and I can click it again and it will remove my upvote, etc.
Screenshots
NA
Desktop (please complete the following information):

OS: Windows 10
Browser: Chrome
Version: d8d3c99

Smartphone (please complete the following information):
NA
Additional context
Please and thanks!

Thanks robinuser1 for the feedback.  We will discuss your recommendation among the team and research applicability across our user base for additional feedback on your suggestion.  If you would like to experiment with what this might look like please feel free to submit a pull request for the team to review.


Catch and handle "canceling statement due to user request" events?

Hi,
I've wrote a multicorn FDW that spawns multiple processes using Python's multiprocessing module.
Everything works fine, except that when I cancel a query manually (server says: "canceling statement due to user request"), the parent process stops execution but the children workers continue until they have finished their work.
This is a problem if a user cancels too many long running queries, since the workers don't get killed and choke the system.
 Is there some hook or signal that I can use to detect 'canceling statement due to user request' events? end_scan() apparently is not called when a query is cancelled...?
best regards,
Ernst-Georg

I can confirm that end_scan() is called when execute() finishes naturally, but not when the query is cancelled by the user. How to I catch forcibly cancelled queries?


Allow additional cache configuration in turbo.json

Allow the following options to be set in turbo.json cache options

remoteOnly: boolean

Requires: https://github.com/vercel/turborepo/issues/833

cacheDirectory: string

Def: https://github.com/vercel/turborepo/blob/42d7447f2f745f74160781291cb6557e73515f6a/cli/internal/cache/cache_fs.go#L17-L25
https://github.com/vercel/turborepo/blob/466b09a7fe99316213ce06ebd30a54a1cf5e8c0f/cli/internal/config/config.go#L205

We determined that these aren't really necessary.


Fix memory leak from WebGLState light/shadow data from texture generation

With the background-image demo often open on my machine, after long periods of time, my machine would hang, and had a hunch it had to do with the demo's infinite loading of new textures. In terms of severity, this would only occur when constantly changing textures (not a realistic scenario IMO) over a long period of time as small amounts of resources were being generated and not collected.
The leak wasn't terribly severe tracked leak down to cubemap generator, figured might as well update
three.js creates a WebGLState for every camera/scene combo rendered to store light and shadow data, and the three.equirectangular-to-cubemap component we use currently creates a new camera for every texture -- resulting in a new WebGLState created and retained, and does not get disposed unless calling dispose on the renderer, which will have other unintended side-effects in our case since we're not yet done with our renderer.
As a part of this change, I figured it'd be a good time to update to three's EquirectangularToCubeGenerator so we can ensure this works with the version of three we're using as a dependency (Fixes #220). Unfortunately, this generator similarly creates a new scene and camera for every texture, and not designed to handle multiple texture conversions, and the workarounds to cache these values are documented in the code.
Will file a follow up with three with changes to EquirectangularToCubeGenerator so that it can handle this scenario without creating extraneous light/shadow data, which would simplify a lot of this code when we next upgrade three.
--
Also included is a fuzzer page that, at random intervals, flips some values on the model. The element handles this surprisingly well, but a great test bed to ensure unexpected attribute combinations work well, and shake out any race conditions we have. Using memory tools, we can leave this run for quite some time and see that the memory doesn't grow.

In terms of severity, this would only occur when constantly changing textures (not a realistic scenario IMO)

This scenario seems like it would be more common in a WYSIWYG tool that enabled GUI-based configuration of the <model-viewer>. So, probably really good to fix regardless.


Some algorithms don't have time or space complexity analysis

Some algorithms need their time and/or space complexity analysis to be included.

This will be an ongoing project at a later time.