Compiled .exe gives"URI formats are not supported"-error when importing pyVISA package

From @ironpythonbot on December 9, 2014 17:51
For an application I need te pyVISA Python package. I can run the application
fine via cmd "ipy.exe Program.py", but when running the compiled exe (with
pyc.py) I get following error and the app terminates:
Unhandled Exception: System.ArgumentException: URI formats are not supported.
at Microsoft.Scripting.Actions.Calls.MethodCandidate.Caller.Call(Object[args, Boolean& shouldOptimize)
at IronPython.Runtime.Types.BuiltinFunction.BuiltinFunctionCaller`6.Call5(CallSite site, CodeContext context, TFuncType func, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
at System.Dynamic.UpdateDelegates.UpdateAndExecute7[T0,T1,T2,T3,T4,T5,T6,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)
at IronPython.Runtime.Importer.Import(CodeContext context, String fullName, PythonTuple from, Int32 level)
at IronPython.Runtime.Operations.PythonOps.InitializeModule(Assembly precompiled, String main, String[ references)
at PythonMain.Main()

The Program.py looks like this:
import sys
sys.path.append(r'C:\Program Files\IronPython 2.6 for .NET 4.0\Lib')
sys.path.append(r'C:\Program Files\IronPython 2.6 for .NET 4.0\Lib\site-packages')
print sys.path

import visa

print ""
print "Hello, World!"

I've tested it on both IP 2.7 and 2.6
Work Item Details
Original CodePlex Issue: Issue 29967
Status: Active
Reason Closed:  Unassigned
Assigned to:    Unassigned
Reported on:    Jan 13, 2011 at 4:27 PM
Reported by:    debbes
Updated on: May 30, 2013 at 5:54 PM
Updated by: awaiK
Copied from original issue: IronLanguages/main#913

From @ironpythonbot on December 9, 2014 17:51
On 2011-07-28 16:17:27 UTC, debbes commented:
Yes, indeed. That did the trick for me to. Although it wasn't that obvious, I patched the ConfigParser.py file in my "C:\Program Files\IronPython 2.6 for .NET 4.0\Lib" folder like this:
Search for the only instance:
fp = open(filename)
and replace it with:
fp = open(str(filename).strip(r"file:///"))
Maybe it has to do with calling a file like that inside a .dll file, that's causing the problem?

From @ironpythonbot on December 9, 2014 17:51
On 2011-02-14 22:10:40 UTC, geniedelsh commented:
I get the same error when importing VISA via ironpython. What I get translates to the following in Pythons ConfigParser.py:
fp = open("file:///C:/Users/eugene/Project/Win32/Debug/IronPython.DLL/share/pyvisa/.pyvisarc")
If I remove the 'file:///' (i.e. URI) everything is fine.
Now what in IronPython is passing filesystem paths out like that? And how do I fix this without patching my Python installation?

I haven't been able to reproduce this failure. How is the failing program produced?

The following shows where this is happening:

// Adding source
ScriptSource Source = engine.CreateScriptSourceFromFile ( @"fully qualified path to module, tested and works" );
// Assigning execution of source to an object, I’ve assigned two sources to this scope. Wrong thing to do?
object mObject = Source.Execute ( ipyScope );
// Declaring a class object in scope, or something like that
dynamic Var = ipyScope.GetVariable ( "myModule" );  // <---- This produces the issue, will do try catch after lunch

I truly appreciate you guys helping me with this.  Will get back to you after memorial day stuff is over with daughter.
From: slozier<EMAIL_ADDRESS>Sent: Monday, May 28, 2018 6:51 AM
To: IronLanguages/ironpython2
Cc: Riley, Michael L; Manual
Subject: Re: [IronLanguages/ironpython2] Compiled .exe gives"URI formats are not supported"-error when importing pyVISA package (#136)
I haven't been able to reproduce this failure. How is the failing program produced?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/IronLanguages/ironpython2/issues/136#issuecomment-392532639, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKkYdGfJnxhTOKEdl2rumGoz_RkxS9rrks5t3ADSgaJpZM4N1ggM.

You are seeing this specifically with pyVISA?

No I am able to use pyVisa instruments without difficulty.
From: Alex Earl<EMAIL_ADDRESS>Sent: Monday, May 28, 2018 1:05 PM
To: IronLanguages/ironpython2
Cc: Riley, Michael L; Manual
Subject: Re: [IronLanguages/ironpython2] Compiled .exe gives"URI formats are not supported"-error when importing pyVISA package (#136)
You are seeing this specifically with pyVISA?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/IronLanguages/ironpython2/issues/136#issuecomment-392595663, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKkYdELljoilykL5gmLEil94yRQu3R4Aks5t3Fh4gaJpZM4N1ggM.

My apologies I responded to the wrong thread.  Yes this is happening when importing pyvisa via C# and IronPython.
From: Alex Earl<EMAIL_ADDRESS>Sent: Monday, May 28, 2018 1:05 PM
To: IronLanguages/ironpython2
Cc: Riley, Michael L; Manual
Subject: Re: [IronLanguages/ironpython2] Compiled .exe gives"URI formats are not supported"-error when importing pyVISA package (#136)
You are seeing this specifically with pyVISA?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/IronLanguages/ironpython2/issues/136#issuecomment-392595663, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKkYdELljoilykL5gmLEil94yRQu3R4Aks5t3Fh4gaJpZM4N1ggM.

Can you provide a simple reproduction case? We used pyVISA at work with IronPython with no issues, so I'd like to see what you are trying to do?

Slide,
In my reply above when performing a scope.GetVariable() the issue presented.  I merely verified that the ConfigParser.py was still an issue and that adding the .split to fopen is a work around.  Now I am not at all an expert on python so if there is something I'm leaving out please let me know and I can get more details.

Can you provide the exact code so we aren't guessing as to what exactly you are doing?

Slide,
Here is what is happening:
``

I'm unable to reproduce this at all. I compiled the Program.py


detection problem after converting darknet to tensorflow

Hi, I use darknet to train my custom dataset. Then I convert weight file to tensorflow. When I try to detect, I get different result comparing to use darknet.
Here is darknet:

Tensorflow:

The boxes get bigger!
When I convert, I only modify this line.
Why?

@bqdong : were you able to root cause the above issue?

@Micky-123 No way

I met the same problem like yours. Have you solved it?
I changed the 'width' and 'height' of 'cfg/yolov4-tiny-custom.cfg' from 416 to 320 in darknet, and then I correspondingly changed the size in 'save_modle.py' and 'detect.py' of Tensorflow. So I have made sure the size is the same. But the result shows the same problem presented above.
Hope someone can answer my question. Thanks!

https://github.com/hunglc007/tensorflow-yolov4-tflite/issues/174#issuecomment-666055130
I solved my problem according to this answer.

@WenOOI The way you find should work. I use opencv dnn module to read darknet directly and it works well. This is also a way to solve this problem.


Error using SPHttpClientConfigurations with the SPHttpClient

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Enhancement / Suggestion
[ ] Additional article idea

Expected or Desired Behavior
Using the SPHttpClient should work as described in the release notes.
Observed Behavior
When trying to use the SPHttpClient passing SPHttpClientConfigurations.v1 as the configuration, the browser throws an error Cannot read property 'v1' of undefined.
Steps to Reproduce

create new web part using React
add import { SPHttpClientConfigurations } from '@microsoft/sp-http';
in the render method add this.context.spHttpClient.get('/_api/web', SPHttpClientConfigurations.v1);
$ gulp serve --nobrowser
open hosted workbench and add the web part to canvas

error is displayed in the console

I got this in a couple of tenants as well. Is it that the RC0 bits have not fully landed in all the tenants yet?
Worked fine on other tenants.

It turns out it's due to a typo in the documentation (that has been fixed). The correct usage is:
import { SPHttpClient } from '@microsoft/sp-http';

this.context.spHttpClient.get('/_api/web', SPHttpClient.configurations.v1);

This one is interesting. @VesaJuvonen I see you have made the edit to the docs. Could we get more info on which method of specifying the config is recommened? As @pgonzal has recommened using SPHttpClientConfigurations.v1 here https://github.com/SharePoint/sp-dev-docs/issues/44

When writing new code, our intent is for you to always specify the most recent version (i.e. "v" followed by the largest integer that is defined).  This should give you all the recommended features, and disable any deprecated features.
When reusing code, e.g. copying snippets from the internet, you should not change the version number unless you are explicitly doing the work to migrate/retest the code.
That is the main reason why we introduced these configurations.  (You can also use overrideWith() to customize the configuration, but personally I believe that is a rare edge case.  In most cases you can achieve what you need by using the normal options.)

i am facing some issues with Alert notification,
TypeError: Cannot read property 'spHttpClient' of undefined
at alert-notitication-application-customizer_305d9f3b4db760783a37c56ab84b6326.js:15
at new Promise ()
at e._loadUpcomingAlerts (alert-notitication-application-customizer_305d9f3b4db760783a37c56ab84b6326.js:15)
at alert-notitication-application-customizer_305d9f3b4db760783a37c56ab84b6326.js:15
(anonymous) @ alert-notitication-application-customizer_305d9f3b4db760783a37c56ab84b6326.js:15
Promise.catch (async)
Invariant Violation: Minified React error #200; visit https://reactjs.org/docs/error-decoder.html?invariant=200 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-07-12.003/sp-pages-assembly_en-us_5c471fe29dde54003a64b536019ac3d3.js:83:420
at a (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-07-12.003/sp-pages-assembly_en-us_5c471fe29dde54003a64b536019ac3d3.js:83:523)
at render (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-07-12.003/sp-pages-assembly_en-us_5c471fe29dde54003a64b536019ac3d3.js:83:104206)
at https://alsaqergroup.sharepoint.com/sites/APPS/ClientSideAssets/3624777a-337d-4b34-8384-5ab774c069aa/alert-notitication-application-customizer_305d9f3b4db760783a37c56ab84b6326.js:15:258561
thanks in advance


Removing unused code

This changes will be done with this PR #61
To prevent conflicts I'll close it.


emit_trigger() should trigger when a file moved to a destination under watch

The issue appears when performing a file move operation from not watched to a watched destination.
Expected behaviour: if destination file path in move operation appears to be watched (while source file path is not), pytest-watcher should trigger pytest.
Here is an example of events appearing when using unison tool, which is syncing changes to remote destination by first creating a temporary file and then renaming it to a destination:
2022-10-17 15:32:18 - Created file: ./tests/sites/.unison.test_discover.py.7f0384dc585055b3fcfb405908d8de58.unison.tmp
2022-10-17 15:32:18 - Modified directory: ./tests/sites
2022-10-17 15:32:18 - Modified file: ./tests/sites/.unison.test_discover.py.7f0384dc585055b3fcfb405908d8de58.unison.tmp
2022-10-17 15:32:18 - Modified directory: ./tests/sites
2022-10-17 15:32:18 - Modified file: ./tests/sites/.unison.test_discover.py.7f0384dc585055b3fcfb405908d8de58.unison.tmp
2022-10-17 15:32:18 - Moved file: from ./tests/sites/.unison.test_discover.py.7f0384dc585055b3fcfb405908d8de58.unison.tmp to ./tests/sites/test_discover.py
2022-10-17 15:32:18 - Modified directory: ./tests/sites

These events gathered with watchdog example code here: https://pypi.org/project/watchdog/
The fix seems to be pretty straightforward - just extend the condition in process_event method to something like this:
    def process_event(self, event: events.FileSystemEvent) -> None:
        if _is_path_watched(event.src_path):
            emit_trigger()
        elif event.event_type == events.EVENT_TYPE_MOVED and _is_path_watched(event.dest_path):
            emit_trigger()

Hey @bob-rove
Thanks for pointing that out,
I'll take a look

@bob-rove
Corresponding changes have been merged and new version released! Thanks, once again

🚀  Awesome! Thanks a lot @olzhasar 🙇
Now it's playing well with Unison and similar sync strategies 👍


Guardian node "Radiant Faith" is not correctly adding ES or Armor

Understandably, it seems that the Radiant Faith node has been ignored or overlooked. Currently, allocating it does absolutely nothing.
Here's an import code for a build that easily showcases said issue: https://gist.github.com/efd512b1ea0215f52d425fd1830a0064
Simply import and allocate the Radiant Faith node. Nothing changes.
This is pretty low priority (in my opinion) but if it's a quick fix I would appreciate seeing it dealt with. Thanks for making such a great utility.

Radiant Faith is one of many ascendancy notables that require special-case code to get them working. I've added support for some such notables, but for many (including Radiant Faith) I simple haven't had the time. Naturally I'm prioritizing adding support for the ones people are asking for, so I will look into it, although this one is going to be particularly tricky to implement so no ETA or anything.

Ok, Radiant Faith is supported now. Have fun!


Integrity checks

Hi,
is there are some kind of integrity check to verify that the network is setup correctly without going through the whole exercise to test everything?
Kind regards,
Raphael

Hi!
Unfortunately, there is no integrity check.
I would recommend the following:

Initially, set up your mini-internet with every AS pre-configured.
Use the matrix to verify that you have 100% connectivity.

If that works, you can be pretty confident that everything was set up correctly, and you can re-do the setup with some ASes not pre-configured.
Side-note: Make sure to use the commnet-23 branch to get the latest updates (in particular the matrix service has been updated). We are currently in the process of merging it back, but at the moment it's still a separate branch.
Best regards,
Alex

Hi Alex,
that is a start! I'll make sure to use the up-to-date branch.
Cheers
Raphael


Add download from magicc.org to CI

Add MAGICC tests to CI via binary downloaded from magicc.org

[x] Description in CHANGELOG.rst added (single line such as: (`#XX <https://github.com/openscm/openscm-runner/pull/XX>`_) Added feature which does something)

@lewisjared if you know how to download from the command line on windows we can do that too here

Perfect.
I'm not aware but have created #73


Issue warning instead of error when we cannot resolve queuing user

Whenever there is a user we cannot resolve we get an error which causes some confusion about whether or not the publish succeeded or not. See https://dev.azure.com/azure-sdk/internal/_build/results?buildId=528578&view=logs&j=3e3661de-f7d0-5957-6723-798be5e1f473&t=42da0813-70a6-5e94-4c52-80d592e6d1d3 as an example.
:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj : warning NU1701: Package 'Microsoft.AspNet.WebApi.Core 5.2.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.
D:\a\1\s\tools_repo\tools\notification-configuration\common\common.csproj : warning NU1701: Package 'Microsoft.AspNet.WebApi.Core 5.2.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project. [D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj]
D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj : warning NU1701: Package 'Microsoft.AspNet.WebApi.Core 5.2.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v2.1'. This package may not be fully compatible with your project.
D:\a\1\s\tools_repo\tools\notification-configuration\common\common.csproj : warning NU1701: Package 'Microsoft.AspNet.WebApi.Core 5.2.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
Helpers\***NameResolver.cs(70,35): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\1\s\tools_repo\tools\notification-configuration\common\common.csproj]
Helpers\***NameResolver.cs(92,43): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\1\s\tools_repo\tools\notification-configuration\common\common.csproj]
Program.cs(13,30): warning CS1570: XML comment has badly formed XML -- 'An identifier was expected.' [D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj]
Program.cs(13,30): warning CS1570: XML comment has badly formed XML -- 'The character(s) '-' cannot be used at this location.' [D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj]
Program.cs(14,15): warning CS1570: XML comment has badly formed XML -- 'End tag 'summary' does not match the start tag ''.' [D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj]
Program.cs(24,1): warning CS1570: XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.' [D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\identity-resolver.csproj]
warn: NotificationConfiguration.Helpers.***NameResolver[0]
      Could Not Resolve Identity of Name = Michael Yanni
Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at identity_resolver.Program.Main(String aadAppIdVar, String aadAppSecretVar, String aadTenantVar, String kustoUrlVar, String kustoDatabaseVar, String kustoTableVar, String identity, String targetvar) in D:\a\1\s\tools_repo\tools\notification-configuration\identity-resolver\Program.cs:line 67
   at System.CommandLine.Invocation.CommandHandler.GetResultCodeAsync(Object value, InvocationContext context) in /_/src/System.CommandLine/Invocation/CommandHandler.cs:line 147
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context) in /_/src/System.CommandLine/Invocation/ModelBindingCommandHandler.cs:line 60
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass2_0.<<InvokeAsync>b__0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationPipeline.cs:line 37
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c__DisplayClass1_0.<<ConfigureConsole>b__0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 79
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c.<<UseParseErrorReporting>b__16_0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 331
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c__DisplayClass8_0.<<UseTypoCorrections>b__0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 225
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c.<<UseSuggestDirective>b__7_0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 206
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c.<<UseParseDirective>b__6_0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 177
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c.<<UseHelp>b__14_0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 299
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass3_0.<<UseVersionOption>b__0>d.MoveNext() in /_/src/System.CommandLine/Builder/CommandLineBuilderExtensions.cs:line 67
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c.<<RegisterWithDotnetSuggest>b__17_0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 370
--- End of stack trace from previous location where exception was thrown ---
   at System.CommandLine.Invocation.InvocationExtensions.<>c__DisplayClass5_0.<<UseExceptionHandler>b__0>d.MoveNext() in /_/src/System.CommandLine/Invocation/InvocationExtensions.cs:line 142
##[error]PowerShell exited with code '1'.

While the issue is embedded in this log, the log looks a little scary and it isn't clear if something broke or what happened. We should try to make this message a warning instead of an error, so we don't need to set continueOnError = true and we make it clearer what is happening. It might also worth adding an aka.ms link in the warning with more information about what folks should do to fix this issue.
cc @scbedd

https://github.com/Azure/azure-sdk-tools/issues/1169 is related to this.  @mitchdenny has been investigating that one.

The pipeline job has been refactored and that step removed.

Seems this is still used in other repos


Rewrite of the Parser to also get the ComplexChildDocument Tests passing

I have the parser rewritten the following way:

read in all Lines and put them into TamlKeyValuePairs with the level they are intended (number of \t at the start of the line)
in a second pass I first put all with 0 indentation into TamlDocument.KeyValuePairs
if the indentation is larger as the current one I read in a parent value and replaced the Value of the KeyValuePair with a TamlArray and added the Values to the array. All subsequent values are addend to that parent.

All Tests are passing now.
I think I have seen some more opportunities for further unit tests. Some important code paths in my opinion are not covered by them.
Also this PR is based on the branch feature_dotnet
This also makes #26 not allowed because this parser doesn't allow inconstant indentation. There is also no unit test and sensible error handling for this case.
I also annotated some Nullables

Fantastic!  Thank you for the help with this


rename reset assemble

part of #394

Codecov Report

Merging #397 (2177a6c) into main (df41781) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #397   +/-   ##
=======================================
  Coverage   86.58%   86.58%
=======================================
  Files          43       43
  Lines        1610     1610
=======================================
  Hits         1394     1394
  Misses        216      216

Impacted Files
Coverage Δ

src/StructuralAnalyses/StaticAnalyses.jl
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ImageDataGenerator handle images with different sizes.

At the moment the ImageDataGenerator can only handle images with the same size.

This would be very useful

Still can't handle images with the different sizes now?


Can't add a second line

When trying to enter something to print, the text is too big, so I tried to enter a new line, but that didn't work.
Windows 11 Pro 23H2
Chrome 130.0.6723.117
Using the demo website (https://odensc.github.io/phomemo-d30-web-bluetooth/)

Normal text

Long text

No newline support

When the input tag is switched with a textarea tag, it still does not work

Thanks for the feedback, I built this for a very simple use case that didn't need advanced text rendering. I've committed an update to support multiline text wrapping as well as changing the font size. Please give it a try :)


feat(tests): add PHPUnit and test helper to the application

To users who use this skeleton application,  they should be able to start writing tests immediately.
I add PHPUnit and the startup configuration for the spiral app.
Usage:

Every test class should extend Tests\TestCase, not PHPUnit\Framework\TestCase
There are some helpful methods to interact with Console and Web Server ( codes was copied from tests of Spiral Framework. like $this->get(), $this->post, $this->request, $this->runCommand, etc.

Hoping that the framework could support more ability for writing tests as Laravel does.

This is very good! I have no objections, most likely will add more test stubs or move some to an external package while writing the "Testing application" documentation. But this is a very good start. Thank you so much.

This is very good! I have no objections, most likely will add more test stubs or move some to an external package while writing the "Testing application" documentation. But this is a very good start. Thank you so much.

I think the framework should provide the testing component out of the box, including classes, traits, asserts and scaffold commands.
For example, like this:
php app.php create:test --unit UserEntityTest

<?php

declare(strict_types=1);

namespace Tests\Unit;

use Spiral\Testing\BaseTestCase;
use App\Entities\UserEntity as User;

class UserEntityTest extends BaseTestCase
{
    public function TestUserHasName()
    {
        $name = 'Foo';
        $user = new User($name);
        $this->assertEqual($name,  $user->getName());
    }
}

Yes, I agree. However, currently the priority on completing the documentation. We have a massive backlog. :)

Yes, I agree. However, currently the priority on completing the documentation. We have a massive backlog. :)

I can understand it, hoping more and more developers will join and contribute to Spiral.


Install headers to include/${PROJECT_NAME}

Part of ros2/ros2#1150 - this installs pybind11 headers to a unique directory to avoid include directory search order issues when overriding packages.

CI (Build: --packages-above-and-dependencies pybind11_vendor test: --packages-select pybind11_vendor)

Linux
Linux-aarch64
Windows


Add next/previous buttons ?

It would be nice to have close to the top and bottom of each page, a button to go to next/previous section. This would make navigation easier.

I come to this temporary solution:

    asd
    asd
    asd

I also tried with flex, grid and table but none produced this "spaced" layout.
Hope it helps


Fixed issue 1

Closes #1

uh, let's try this! I'm curious if this really fixed it ;)

Haha no it doesn't seem to have worked ;-)
Unfortunately it's not super easy to get access to the build logs of Docker after it was built: https://github.com/jupyterhub/binderhub/issues/155


What is a reason for dropping full node support?

Emerald wallet not decentralized anymore? 😂

It's just not going to launch a node, but will connect to user launched node if it exists. Later we'll provide a separate full node.


Question: is there a way for a group of bodies to collide with each other and for another group: the last group is acting like a sensor?

I would something like surviv.io : items on the ground (circles with weapon) collide with each other but for the players, items are only sensors. How can I do this?

I think you should be able to use collision filters to do this by using two bodies pinned together for each item,  one is the main body and one is an invisible sensor.

It worked! Thank you and congratulations for this amazing physics engine.


new function mode between

which takes scheme_before and schema_after, needed for stuff like ImportString.

In theory we might also want a series of validators like pydantic V1, but let's do this first and see if that is necessary.


Webscrap from nextspaceflight site and convert it to a .csv file

Web site- https://nextspaceflight.com/launches/past/?page=1

Interested in this issue.
Let me know if there is any preferred tech stack for this.

Nothing as such. You can use anything.


Fix random bux in the inlining pass

when we inline AST nodes, we keep the track of which nodes being replaced by using a map containing address of those nodes.
when inlining of a particular node is finished, we were not removing that node address from the map.
if we get a situation where AST node with same address is created (dynamic allocation) during inlining pass, it might end-up replacing wrong node just because it has the same address as previously inlined node.
to avoid this, make sure to clear map entry when inlining is done!

Fixes #809

beautiful! :) (referring to your debugging session)


Server sample?

Hello, how u doing guys?? I did take a look on the DNP3 Lib...it's sound good...i would like a help...how implement a server using a DNP3 lib send data from SCADA Software...can u help me??

Currently it's not possible to implement a server (slave according to the spec), but keep in touch to the next updates to the dnp3-lib project.

Hi...whats up? i would like a help....how implement read data from MODBUS e send to SCADA DNP3 protocol...is it possible?

Hi @stefanodias
Yes, it's possible. That's a process called protocol translation that allows data adquisition from devices speaking many protocols (DNP3, Modbus, IEC-60870-104, IEC-61850 GOOSE messages or MMS, and so on) and reporting to a SCADA DNP3 Master.
If you want to code it, there are some Modbus and DNP3 implementations on various languages, so you only need to select the language, the libraries, the right database and operative system.
So if you don't want to code it, there are some applications that adquires, stores and reports the data you configure it.
Greetings,
Ivan

Hello, i build a program in NodeJs using a node-modbus npm module, works fine to adquire a data from device...now i would like send it to a SCADA DNP3 protocol, maybe using your library, is ti possible? if it's possible, can u send a samples??

@stefanodias Hi,
currently it's not possible using this project, but keep in touch.
Greetings,
Ivan

Hello, i would like a help please, i want to implement a client using DNP3 protocol.. do you have some examples?

Hi @daniela0829 ,
currently there are no examples, but keep in touch to the releases.
Greetings,
Ivan


m3.medium, Failed to set up mount unit: Invalid argument

On our dev cluster, we use m3.medium for the nodes. It seems this log appears almost continuously even on healthy nodes.
2018-04-30T20:57:24.000Z {
  "instanceId": "i-0cc90d2b46c92759b",
  "pid": 1,
  "uid": 0,
  "gid": 0,
  "cmdName": "systemd",
  "exe": "/usr/lib64/systemd/systemd",
  "cmdLine": "/usr/lib/systemd/systemd --switched-root --system --deserialize 16",
  "systemdUnit": "init.scope",
  "bootId": "f234d4bc209c45d1a5bbc6e5f644a510",
  "hostname": "ip-10-0-31-213.eu-west-1.compute.internal",
  "transport": "journal",
  "priority": "WARNING",
  "message": "Failed to set up mount unit: Invalid argument",
  "syslog": {
    "facility": 3,
    "ident": "systemd"
  },
  "kernel": {}
}

Actually we've had this error for a long time even across kube-aws versions. See https://github.com/kubernetes-incubator/kube-aws/issues/527 for example which has the same log from one year ago.
I'm wondering if m3.medium is even supported any more or has some known issues. The same issue does not appear to show on other instance types with similar setup.

We get this same log on any type node. I found it was due to an upstream CoreOS issue.
I'll see if I can find the issue again.

we still see this. cant find the original issue I was thinking of but did find this:
https://github.com/coreos/etcd/issues/977
We use m5.2xlarge, m5.4xlarge, m5.12xlarge, m5.16xlarge, and r4.8xlarge. And see it across most if not all of them


get hostname as topic subscription

Hi there,
Hope to be in the right place for my question.
I'm trying to manage wildcards in a subscription.
I'm stuck with basic coding.
this works :
client.subscribe(WiFi.hostname().c_str());
But I want be able to select subtopics , unfortunat get compile errors with this
client.subscribe(WiFi.hostname().c_str()/#);
the callback should be something like:
if (strcmp(topic, WiFi.hostname().c_str()/my_topic1) == 0) { //do something ...;} else if (strcmp(topic, WiFi.hostname().c_str()/my_topic2) == 0) { //do something else...;} ...
How do I use wildcards in the code syntax to select the relevant payload?
Hope to be somewhat clear.

Hi - suggest you read this tutorial on joining strings together: https://www.arduino.cc/en/Tutorial/StringAdditionOperator

Okay thank you , it helps to concatenete the subtopic path for subscription.
However I'm not able to subscribe to the variable with the /# added.
String clientID = WiFi.hostname().c_str();
char * defName = (char*)clientID.c_str();
char * defNameSharp = (char*)clientID.c_str() + '/' + '#';

This do not compile
 client.subscribe(defNameSharp.c_str());
 client.subscribe(defNameSharp);

So what is the way to manage wildcard subscription et callback function?
Is there some examples?

Mosquitto broker / Ubuntu 18.04
PubSubClient / ESP01S

Okay thank you , it helps to concatenete the subtopic path for subscription.
I've done this:
'
String clientID = WiFi.hostname().c_str();
char * defName = (char*)clientID.c_str();
However this not seems good :
client.subscribe(defName + '/' +'#');
And then ...  how to get the payload on subtopic "pattern"?
'
void callback(char* topic, byte* payload, unsigned int length){
if (strcmp(topic, defName + '/' + "pattern" ) == 0) {
my_var = (byte)payload[i];//do something
}
}

I would expect the following to work:
String clientID = WiFi.hostname(); // Dont call c_str at this point
String topicName = clientID+"/#";
client.subscribe(topicName.c_str());

And then in your callback. You will need to ensure clientID is declared outside of your setup/loop functions so it will be visible in the callback function:
void callback(char* topic, byte* payload, unsigned int length){
   if (strcmp(topic,(clientID+"/pattern").c_str()) == 0) {

   }
}

Wow You're the one !
Indeed the right use of quotation marks does the working difference :)
Also for use of .c_str
Thanks for your help and tricks, saving 1 more day ...
Best to PubSubClient. Have a good day ;-)


nix-search-cli: unstable-2023-09-12 -> v0.2.0+commit.7d6b4c5

Upgrades nix-search to the latest version, with the following changes since 2023-09-12:

--help has more useful information, including version info and a link to the github docs
new -r / --reverse flag allows printing search results in reverse order, for making it easier to see relevant results

All changes are backwards compatible.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true (unset, defaults to true)

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage

nix run nixpkgs#nixpkgs-review -- pr --post-result 37242 ~hangs indefinitely~ took forever and succeeded!
From rg, there are no other packages in nixpkgs that depend on nix-search-cli.

[x] Tested basic functionality of all binary files (usually in ./result/bin/)

./result/bin/nix-search --help shoes the version/commit message and the appropriate options.
./result/bin/nix-search -p 'python3' returned search results as expected

24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking

unnecessary, all changes are backwards-compatible

[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I think so, this is my first time. I added myself to maintainers.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 347778

aarch64-darwin

:white_check_mark: 1 package built:

nix-search-cli

@donovanglover thanks again for getting nix-search into nixpkgs in the first place. Hopefully this does the trick, but if you object to any of the changes, I'm happy to close this PR and let you update it instead.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 347778

x86_64-linux

:white_check_mark: 1 package built:

nix-search-cli

@peterldowns Thank you for updating this! @azuwis has left a great review and would love to see those changes applied. Your PR should also have 2 commits in this order:

maintainers: add peterldowns
nix-search-cli: 0-unstable-2023-09-12 -> 0.2.0

@donovanglover I'm not going to bother — the update script stuff seems overly complicated and under documented. I couldn't get it to work; it's definitely over my head. I'm going to close this PR, it was "a learning experience" as the kids say.

I should add, thank you for making nix-search available for non-flakes users, and thanks for taking the time to review. I just don't have the wherewithal to get deeper into the Nix world — feels like pulling teeth every time I try. I sincerely appreciate your work and the work of all the other maintainers, being able to nix profile install nixpkgs#whatever is fantastic.

No worries. I actually missed an earlier PR which is now merged. Thank you!


[stdlib] Static stdlib requires explicit -licucore

4.0 cherry-pick of https://github.com/apple/swift/pull/9739.
CCC
Explanation: Standard library needs to link against ICU. This means that users of statically linked standard libraries also need to link against the system's ICU. This change passes on the necessary flags in the Driver.
Scope: Affects the compiler driver, by adding a new link argument.
Radar (and possibly SR Issue): rdar://problem/32273129
Risk: Low, affects driver build with static standard library. Without this, such a build would result in linker errors about missing ICU symbols.
Testing: CI integration testing, and the Swift Package bot

@swift-ci please test

@jrose-apple please review

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 9da3a044cb1fcc0b819b2679c91ead446012ce31
Test requested by - @milseman


Cannot set Visual Studio Code as default editor (in Windows)

I tried to set Visual Studio Code 1.28.1 (user setup) in Windows 10 as default editor for java filetype without success.
I opened a Java file with right-click > open with > visual studio code.
I also tried right-click > properties > change application.
Nothing works.
It happens because the VSC is installed in AppData/Local/Programs ?

/duplicate #61084


Feature Rueuest: Add helm binary into terminal ttyd image.

Currently terminal image is only have kubectl and sealos binaries built-in, most of our user also needs helm binary, so pls add helm command.
Refer: https://github.com/cuisongliu/go-docker-dev/blob/master/Dockerfile
Steps:

move self host repo files to labring-actions/cluster-image repo
add github actions to support auto build docker images.
modify Dockerfile to add binaries needed.

But it is not a cluster image, this is a container image, maybe other repo should be placed.

https://github.com/cuisongliu/go-docker-dev/blob/master/Dockerfile maybe this project need to move to terminal subdir.

How about: https://github.com/labring-actions/cluster-image/tree/main/dockerimages this dir?

How about: https://github.com/labring-actions/cluster-image/tree/main/dockerimages this dir?

ok

https://github.com/labring-actions/cluster-image/actions/runs/4644132502/jobs/8219283514


multiple date picker windows don't close

OS Win10
Sleek 1.3.0 (zip from Github)
Clicking on the clock icon of an item with due date multiple times will open multiple date picker windows/popups that cannot be closed by esc or date picking.

expected behaviour A: only one date picker window should be open at any given time
expected behaviour B: if A is unresolved the date pickers should close one after the other by escaping or date picking

Resolution at the moment: close and restart sleek

Same problem here on Ubuntu 22.04, Version 1.3.1.
Additionally, each click on the close button on one of the open pickers it create a new task.


I am not able to get the website data in response that  I have in my contact . Am I missing something because all other fileds are returning fine.

I haven't looked recently at the fields being pulled. Do a quick check of the code and see if the website/URL field is being pulled. If not, I'm open to a PR.


qustion not bug : could nni show the history log in web when i stop the task?

i have a need as below:
i run a "nnictl ..." and it finish , i kill the all pid about nni
then i want check the task agin on the web ui .
--> Is there some command that can show the nni log finished
i found pid command is "xxxx/nni_node/node --max-old-space-size=4096 xxxx/nni_node/main.js --port 8080 --mode local --experiment_id fQR5b76t --start_mode new"
Is there some docs to exlain it,then i cound use it right.

Hi @DavideHe, have a try with view https://nni.readthedocs.io/en/stable/Tutorial/Nnictl.html?highlight=view  mode#nnictl-view

closing the issue as the answer has been provided.
@DavideHe - feel free to reopen if the answer does not solve your issue.


pull request for e2e test at 01/15/2017 10:26:12

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


Installation issue

During installing pip/python2.7 on fedora I had following error:
➜   pip install spellbook
Collecting spellbook
  Using cached spellbook-1.1.4.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-w_5wVv/spellbook/setup.py", line 7, in <module>
        from spellbooker.application import VERSION
      File "/tmp/pip-build-w_5wVv/spellbook/spellbooker/application.py", line 9, in <module>
        from builtins import *
    ImportError: No module named builtins

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-w_5wVv/spellbook

Problem is because of python2 and 3 difference builtins were renamed in py3 from __builtin__. After that change everything worked.

So yeah it could be problem of future but as you mentioned it's one of requirements and it should be somehow installed.
Here is log from installation after my little change:
running bdist_egg
running egg_info
creating spellbook.egg-info
writing requirements to spellbook.egg-info/requires.txt
writing spellbook.egg-info/PKG-INFO
writing top-level names to spellbook.egg-info/top_level.txt
writing dependency_links to spellbook.egg-info/dependency_links.txt
writing entry points to spellbook.egg-info/entry_points.txt
writing manifest file 'spellbook.egg-info/SOURCES.txt'
reading manifest file 'spellbook.egg-info/SOURCES.txt'
writing manifest file 'spellbook.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/spellbooker
copying spellbooker/application.py -> build/lib/spellbooker
copying spellbooker/__init__.py -> build/lib/spellbooker
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/spellbooker
copying build/lib/spellbooker/application.py -> build/bdist.linux-x86_64/egg/spellbooker
copying build/lib/spellbooker/__init__.py -> build/bdist.linux-x86_64/egg/spellbooker
byte-compiling build/bdist.linux-x86_64/egg/spellbooker/application.py to application.pyc
byte-compiling build/bdist.linux-x86_64/egg/spellbooker/__init__.py to __init__.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying spellbook.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spellbook.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spellbook.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spellbook.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spellbook.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying spellbook.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/spellbook-1.1.4-py2.7.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing spellbook-1.1.4-py2.7.egg
Copying spellbook-1.1.4-py2.7.egg to /usr/lib/python2.7/site-packages
Adding spellbook 1.1.4 to easy-install.pth file
Installing spellbook script to /usr/bin

Installed /usr/lib/python2.7/site-packages/spellbook-1.1.4-py2.7.egg
Processing dependencies for spellbook==1.1.4
Searching for future
Reading https://pypi.python.org/simple/future/
Best match: future 0.15.2
Downloading https://pypi.python.org/packages/source/f/future/future-0.15.2.tar.gz#md5=a68eb3c90b3b76714c5ceb8c09ea3a06
Processing future-0.15.2.tar.gz
Writing /tmp/easy_install-RIUb7B/future-0.15.2/setup.cfg
Running future-0.15.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-RIUb7B/future-0.15.2/egg-dist-tmp-Fyw3Vq
warning: no files found matching '*.au' under directory 'tests'
warning: no files found matching '*.gif' under directory 'tests'
warning: no files found matching '*.txt' under directory 'tests'
zip_safe flag not set; analyzing archive contents...
future.standard_library.__init__: module references __file__
future.standard_library.__init__: module references __path__
future.backports.test.support: module references __file__
future.backports.test.ssl_servers: module references __file__
future.utils.__init__: module MAY be using inspect.stack
past.builtins.misc: module MAY be using inspect.stack
past.translation.__init__: module references __file__
past.translation.__init__: module references __path__
creating /usr/lib/python2.7/site-packages/future-0.15.2-py2.7.egg
Extracting future-0.15.2-py2.7.egg to /usr/lib/python2.7/site-packages
Adding future 0.15.2 to easy-install.pth file
Installing pasteurize script to /usr/bin
Installing futurize script to /usr/bin

Installed /usr/lib/python2.7/site-packages/future-0.15.2-py2.7.egg
Finished processing dependencies for spellbook==1.1.4

As you can see he load first spell book and after that he tried install requirements. I think it can cause  a lot of problems with beginner users. At least mention that at first you have to install future by yourself.

Ok, I see.
The problem here is related to get version of spellbook. I will move version somewhere else.

Version 1.1.5 should be fixed. Could you retest?

For me it works :)


Added Apps in System Tray on panel get removed after reboot

If I add a systemtray to my panel and add to it some apps it get reseted after reboot. Is there a fix?
     panels = [
      {
         location = "left";
         hiding = "windowscover";
         alignment = "right";
         widgets = [
           "org.kde.plasma.panelspacer"
           "org.kde.plasma.icontasks"
           "org.kde.plasma.panelspacer"
         ];
         height = 50;
         maxLength = 1410;
         minLength = 1050;
       }
       {
         location = "top";
         hiding = "windowscover";
         alignment = "center";
         widgets = [
           "org.kde.plasma.appmenu"
           "org.kde.plasma.panelspacer"
           "org.kde.plasma.betterinlineclock"
           "org.kde.plasma.pager"
           "org.kde.plasma.panelspacer"
           "org.kde.plasma.systemmonitor.memory"
           "org.kde.plasma.systemmonitor.cpucore"
           "org.kde.plasma.systemtray"
           "org.kde.shutdownOrSwitch"
         ];
         height = 30;
         maxLength = 3440;
         minLength = 1920;
       }
     ];

The way panels work at the moment is that it generates a kde layout script which will be executed once for each generation (this happens at reboot/login), and in this script it will delete all the panels and generate the panels as per the nix expressions. This way all the customizations you make to the panels will be reset on each new generation (it sort of has to be this way). With that said, there may well be a way to add the apps declaratively in the nix expressions. At the moment though, that is not implemented as an option of itself, but may well come in the future. Meanwhile though, you can try out the extraSettings option for adding lines to the layout.js file manually, where https://develop.kde.org/docs/plasma/scripting/ may be helpful (this includes an example of adding apps to systray as far as I can see :))

Ok, I understand. Sadly this example ist for the system tray and I need this for the "org.kde.plasma.icontasks". Is there maybe a possibility that you can add an var that it only creates the empty panel so that the user can add its own widgets to it, so that they can stay forever?

Yeah, I can add them to some sort of dictionary so that you can easily manipulate the widgets manually :). Hopefully the plasma-scripting options are advanced enough that most use-cases will be covered by this.

I have now added this dictionary, so you can use panelWidgets["org.kde.plasma.icontasks"] in the extraSettings now to tweak as you like. However, I also added a specific option for pinning apps to the task-manager, namely iconTasksLaunchers, which I recommend using. You can for example use it as follows:
iconTasksLaunchers = [
  "org.kde.dolphin.desktop"
  "brave-browser.desktop"
  "org.wezfurlong.wezterm.desktop"
];

I try it out and give feedback. Thanks for the fast implementation.  :smile:

Works great. Thanks for your help. :+1:

Super, always glad to help :)

@magnouvean It looks like the iconTasksLaunchers option was removed again. Is there a different way to pin apps to the task-manager now?

Yes @drzero42, you just have to specify it a little differently. In my widgets I have added this:
{
  name = "org.kde.plasma.icontasks";
  config = {
    General.launchers = [
      "applications:org.kde.dolphin.desktop"
      "applications:org.kde.konsole.desktop"
      "applications:brave-browser.desktop"
      "applications:codium.desktop"
    ];
  };
}

See my config for more details :)

@magnouvean Awesome. I will try that, thank you! :slightly_smiling_face:


Change instance count from 3 to 1

Why is this change necessary?

Many customers have a limit on the number of p2.x machines (usually 1 or 2) and hence it may fail for them.


Update fieldset guidance to clarify use of required

Received user questions about labelling fieldsets as required.
Update guidance to include points that summarize the following:
We do not recommend adding the ("required") marker in a fieldset legend when indicating that all form fields within the group are required. When the fieldset legend acts as a label for a form field however, like it would when used with a checkbox or a radio button group, then it is appropriate to add the required marker in that scenario. Otherwise, the recommendation is to place the required marker on each individual form field label.
To do:

[ ] draft point(s) to add to coding guidance
[ ] validate
[ ] translate
[ ] bilingual review


chore: rename Keptn default namespace to 'keptn-system'

Fixes #2079
Depends on https://github.com/keptn/lifecycle-toolkit/pull/2564

Yes, serious thanks for this!


Create XmlException snippets

Summary
Adding XmlException usage document snippets
See dotnet/dotnet-api-docs#591

Thanks for addressing my comments in dotnet/dotnet-api-docs#591 and opening this PR, @rmellmer. I'll merge your PR now, then open and close dotnet/dotnet-api-docs#591 to begin a new internal build.


Remove several more usage of six.moves.

Remainder:
zerver/tests/test_i18n.py
11:from six.moves.http_cookies import SimpleCookie

tools/lister.py
11:from six.moves import filter

The latter must remain at 2/3, the former is a bug.

This looks great, merged, thanks @rht!


Request - Player reacts

A "join game" command that makes a reply post with 10 react colors and players select their colors with react roles.
Alternatively allow the bot to Manage Emojis and to add all crew graphics

Same concept as:
#13 and #26
The only issue is I personally think the Host Only mode that the dev said he is working on needs to be finished first.  Because I currently don't run the bot on a public channel.  So nobody is able to see or react to any output from the bot other than me.  Once there is a Host Lock, then I can free the bot to a public channel, and then people could use reactions to set colors.
Though in my experience people will change colors mid-game, so a needed solution would be a way to fix/alter colors easily (preferably on the sync website as I mentioned in #34)


Internal Index Utilization: Fixes object structure to match backend expectation

Internal Index Utilization: Fixes object structure to match backend expectation
Description
Please include a summary of the change and which issue is fixed. Include samples if adding new API, and include relevant motivation and context. List any dependencies that are required for this change.
This PR adds the ability to parse CompositeIndexUtilization, as well as fixing the SingleIndexUtilization parsing to match the new format send from the backend.
This PR also adds the ability to write the CompositeIndexUtilization in QueryMetricWriters.
The new formatting on QueryMetrics is as follow:

In TextWriter:

 Index Utilization Information
      Utilized Single Indexes
        Filter Expression: (ROOT.name = "Julien")
        Index Spec: /name/?
        Index Impact Score: High
        ---
        Filter Expression: (ROOT.age > 12)
        Index Spec: /age/?
        Index Impact Score: High
        ---
      Potential Single Indexes
      Utilized Composite Indexes
      Potential Composite Indexes
        Index Spec: /name ASC, /age ASC
        Index Impact Score: High
        ---

In Delimited Text Writer:

retrievedDocumentCount=0;retrievedDocumentSize=0;outputDocumentCount=0;outputDocumentSize=49;indexUtilizationRatio=0;totalExecutionTimeInMs=1.53;queryCompileTimeInMs=0.22;queryLogicalPlanBuildTimeInMs=0.10;queryPhysicalPlanBuildTimeInMs=0.31;queryOptimizationTimeInMs=0.01;indexLookupTimeInMs=0.49;documentLoadTimeInMs=0.00;VMExecutionTimeInMs=0.52;queryEngineTimes=0.03;systemFunctionExecuteTimeInMs=0.00;userFunctionExecuteTimeInMs=0.00;writeOutputTimeInMs=0.00;Utilized Single Indexes=[Filter Expression=(ROOT.name = "Julien");Index Spec=/name/?;Index Impact Score=High;Filter Expression=(ROOT.age > 12);Index Spec=/age/?;Index Impact Score=High;];Potential Single Indexes=[];Utilized Composite Indexes=[];Potential Composite Indexes=[Index Spec=/name ASC, /age ASC;Index Impact Score=High;]
Type of change

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

Hi @j82w @ealsur, could you please take a look?

/azp run

/azp run

/azp run

/azp run


0184-WebUI-Fix-EM8LockedChannelBehaviour

Description
The input channel behaviour of HM-MOD-EM8 is always locked, even if there is no program or link.
This patch fixes the always locked channel behaviour for HM-MOD-EM8.

Related Issue

HM-MOD-EM-8 8kanal Sender als TFK konfigurieren
8Kanal Sensor HM-MOD-EM-8 lässt sich nicht einstellen...
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Alternate Designs

Possible Drawbacks
It could have an impact on other devices with configurable inputs.
But I can't test this because I don't have any such devices.

Verification Process
I applied the patch on a test system and didn't notice any problems at first.
Code-Support by: @jp112sdl

Release Notes
Patch that fixes the always locked channel behaviour for HM-MOD-EM8.

Contributing checklist

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING and LICENSE document.
[x] I fully agree to distribute my changes under Apache 2.0 license.

Actually channel behaviour is locked even if there are no programs or links.

With the patch channel behaviour is unlocked if there are no programs or links.


OCPI: allow to pass more tunables on OCPI tasks

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: jerome-benoit:x: gochaxYou have signed the CLA already but the status is still pending? Let us recheck it.


V6 Macros

Description
This pull request introduces a new feature: Macros.
This is a concept I have seen in V7 currently in development that I seemed interesting and useful.
Let's Ayaka explain what is this for.

Since this is an adapted version for aoi.js v6, it does not provide support for JavaScript code in macro code.
I also added TypeScript definitions for this feature.
Test
Tested code...
client.macro({
    name: 'logmessage',
    code: '$log[hallo world c:]'
},{
    name: 'onlyDevelopers',
    code: '$onlyIf[$authorID==918231238912839;You are not a developer.]'
});

client.readyCommand({
    code: `
        $log[message $log[test_$randomString[10]] #logmessage]
        $log[test_$randomString[10]]#data$log[test_$randomString[10]]
        $log[test_$randomString[10]]
        #data$log[test_$randomString[10]]
        $log[test_$randomString[10]]
        #logmessage#logmessage#logmessage
        #logmessage$log[test_$randomString[10]]
        #logmessage
        $log[test_$randomString[10]]#logmessage
    `
});

client.command({
    name: "eval",
    code: `
        $eval[$message]
        #onlyDevelopers
    `
});

Results

Type of change

[ ] Bug fix (non-breaking change)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

[x] My code follows the style guidelines of this project
[x] Any dependent changes have been merged and published in downstream modules

Touching the point of "why didn't you add JavaScript code support to macros?" is that those code won't be able to have any context than client stuff since macros are resolved before command registration.

Me when custom functions /j

Me when custom functions /j

lmfao fr

epic

did anyone test this yet


CSS color improvements for readability in Chat Notifications

It would be much better if we can get improved color choices or color options to customize to themes (for games that use Whetstone, or Color Highlights mods).

Exactly which thing do you want to change the colours of?  The typing notification?

Hi @cs96and Yes, this is regarding the chat notification. I want to be able to set the background and the font color, to something that fits my current themes (or less colorful basic theme).

I'm thinking of re-doing the typing notification anyway, so it's not quite so garish.  E.g...

This is now a pop up that resizes the chat box slightly, rather than displaying over the top of other elements.

The re-design of the typing notification is now in v0.2.2...


remove duplicate key after sorting

Signed-off-by: marsishandsome<EMAIL_ADDRESS>close https://github.com/tikv/migration/issues/30
client-java support deduplicate key in this PR https://github.com/tikv/client-java/pull/276

/run-all-tests

looks good to me


JavaScript capstone project - Your API-based webapp

Hi CR ✌:

In this PR Me and My partner We:

Add a home page showing a list of items that you can "like."
Add a popup window with more data about an item that you can use to comment on it or reserve it for a period of time.
When the user clicks on the Like button of an item, the interaction is recorded in the Involvement API and the screen is
updated.
When the user clicks on the "Comments" button, the Comments popup appears.
Comments popup

When the popup loads, the webapp retrieves data from:

The selected API and shows details about the selected item.
The Involvement API to show the item comments.

When the user clicks on the "Comment" button, the data is recorded in the Involvement API and the screen is updated.
We have counters in all the interfaces that show:

The number of items (home).
The number of comments (comments popup).

Technical set up

Set up the repository on GitHub and use Gitflow.
Set up webpack.
Set up a JavaScript testing library (Jest).

Project documentation
Record a video presenting the features of our project .

A description of the project.
A demo of the project features.

Hi 👋 @alexander16108,
Thanks a lot 💯 for your efforts in reviewing our code, we really appreciate it ☺.

@MostafaShahat2021  no problem i enjoyed reviewing it