Added support for formatting drives

Fixes #2235
Fixes #359?
This PR adds support for the "Format" context menu item and allows to change a drive name from Properties page

@gave92 Using the built in format tool is fine for now but unless it gets an updated UI in the future, we will eventually want to build our own version that's fluent.

@gave92 Can you solve the merge conflicts?

Is this feature coming in v.0.20?

@seohyun1108 Yes!


Exception in thread "main" xyz.gianlu.librespot.core.Session$SpotifyAuthenticationException: PremiumAccountRequired

Describe the bug
When starting the application error "PremiumAccountRequired" occurs
To Reproduce
Start the application
Expected behavior
To be able to login
Screenshots/Stracktraces/Logs
Screenshots if applicable, stacktrace and log is a crash occurred.
Version/Commit
1.4.1
Issue seem related to this in LibreSpot:
https://github.com/librespot-org/librespot-java/issues/614

I'm also seeing this error! Please keep me posted on what you find.

Same issue

I hope this doesn't mean that whitelisting has been removed and this will no longer work :(

@sthlmsrille @zachyf @longgtruong
I saw this post saying to just change the version number.
The fix is to provide a newer client version at https://github.com/librespot-org/librespot-java/blob/0a8e685/lib/src/main/java/xyz/gianlu/librespot/Version.java#L72. Specifying 117300517 from https://github.com/librespot-org/librespot/blob/ae8387a/core/src/version.rs#L20 makes the login work again.
Can someone try using this version number "117300517" instead and see if it works?  It will take me a few days to get access to my computer with this on it :(

Yep that worked for me.

I've never compiled a Java application, could you upload a jar or guide me how to do it? 😁

I re-compiled it with the new version number. Works fine now.
sp-playcount-librespot.zip

That's awesome! I also have no experience in java... How do you pass username and password to the re-complied one? Doesnt seem to work running the file together with "USER=username PASSWORD=password".

From the command line...

Run the JAR: java -jar librespot-core-jar-with-dependencies.jar username password

You only need to provide your Spotify username and password once. After creds.json has been generated, the username and password are not required in the launch arguments.

Run the JAR again: java -jar librespot-core-jar-with-dependencies.jar

Fixed in v1.4.2.


BUG-Using tgb.Page() inside a Python method gives an indentation error

Description
When using with tgp.Page() as page: inside a Python method, the indentation of the code to place it inside the method in the class, causes an indentation error in Taipy.
How to reproduce

Example code to reproduce the error:

import pandas as pd
import taipy.gui.builder as tgb
from taipy.gui import Gui

class FoodDatabase:
    def __init__(self):
        self.food_df = pd.DataFrame({
            "Meal": ["Lunch", "Dinner", "Lunch", "Lunch"],
            "Category": ["Food", "Food", "Drink", "Food"],
            "Name": ["Burger", "Pizza", "Soda", "Salad"],
            "Calories": [300, 400, 150, 200],
        })

    def create_page(self):
        with tgb.Page() as page:
            tgb.table('{self.food_df}', filter=True)
            return page

if __name__ == '__main__':
    food_database = FoodDatabase()
    page = food_database.create_page()
    Gui(page).run(debug=True, use_reloader=True)

This is the Error Message:

Traceback (most recent call last):
  File "c:\PROJECTS\datagui\main.py", line 22, in <module>
    Gui(page).run(debug=True, use_reloader=True)
    ^^^^^^^^^
  File "C:\PROJECTS\datagui\.venv\Lib\site-packages\taipy\gui\gui.py", line 360, in __init__
    self.add_page(name=Gui.__root_page_name, page=page)
  File "C:\PROJECTS\datagui\.venv\Lib\site-packages\taipy\gui\gui.py", line 1666, in add_page
    self.__var_dir.add_frame(page._frame)
  File "C:\PROJECTS\datagui\.venv\Lib\site-packages\taipy\gui\utils\_variable_directory.py", line 38, in add_frame
    imported_var_list = _get_imported_var(frame)
                        ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\PROJECTS\datagui\.venv\Lib\site-packages\taipy\gui\utils\get_imported_var.py", line 19, in _get_imported_var
    st = ast.parse(inspect.getsource(frame))
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Username\AppData\Local\Programs\Python\Python311\Lib\ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<unknown>", line 1
    def create_page(self):
IndentationError: unexpected indent

Runtime environment
Please specify relevant indications.

Taipy version (or branch name): 3.1.0
OS: Windows 11
Python Version: 3.11
Browser: Firefox
Code Editor: Visual Studio Code

Acceptance Criteria

[ ] Ensure new code is unit tested, and check code coverage is at least 90%
[ ] Create related issue in taipy-doc for documentation and Release Notes if relevant

Thank you for creating the issue! This issue seems to be connected to this other issue: https://github.com/Avaiga/taipy/issues/614

@FlorianJacta The page should be created at the top level of a module to make sure that the locals is properly captured. This syntax will not work as the creation of the page is within the function. The content of a page can be created through a function.

@herrschmidt Please try it out and let me know if that works for you.

This is really nice! How does it interact with callbacks? and how to assign values to it?

From what I have heard, if I am not mistaken, the one and only @FabienLelaquais is providing a doc section for this feature

Great, this works! Thanks so much for posting this here. I usually split my GUI code into model, view, controller (and main) module files. Would this be possible here, too? Couldn't figure out, how to place the create_page method in the View class inside the view module file and use it in the main module class.

If you really want to have this syntax (class based page), we already have a feature called Class Modules. This might not have been properly documented but here is how to implement it.
import pandas as pd
import taipy.gui.builder as tgb
from taipy.gui import Gui, Page

class FoodDatabase(Page):
    def __init__(self):
        self.food_df = pd.DataFrame({
            "Meal": ["Lunch", "Dinner", "Lunch", "Lunch"],
            "Category": ["Food", "Food", "Drink", "Food"],
            "Name": ["Burger", "Pizza", "Soda", "Salad"],
            "Calories": [300, 400, 150, 200],
        })
        super().__init__()

    def create_page(self):
        with tgb.Page() as page:
            tgb.table('{food_df}', filter=True)
        return page

if __name__ == '__main__':
    Gui(page=FoodDatabase()).run()

Great, this works! Thanks so much for posting this here. I usually split my GUI code into model, view, controller (and main) module files. Would this be possible here, too? Couldn't figure out, how to place the create_page method in the View class inside the view module file and use it in the main module class.

If you really want to have this syntax (class based page), we already have a feature called Class Modules. This might not have been properly documented but here is how to implement it.
import pandas as pd
import taipy.gui.builder as tgb
from taipy.gui import Gui, Page

class FoodDatabase(Page):
    def __init__(self):
        self.food_df = pd.DataFrame({
            "Meal": ["Lunch", "Dinner", "Lunch", "Lunch"],
            "Category": ["Food", "Food", "Drink", "Food"],
            "Name": ["Burger", "Pizza", "Soda", "Salad"],
            "Calories": [300, 400, 150, 200],
        })
        super().__init__()

    def create_page(self):
        with tgb.Page() as page:
            tgb.table('{food_df}', filter=True)
        return page

if __name__ == '__main__':
    Gui(page=FoodDatabase()).run()

Hi @herrschmidt. For taipy-gui we don't follow the usual MVC structure but we do provide ways for you the scale your app if you have a large projects with different pages. Have fun trying things out and if you have any questions, you can contact me directly through<EMAIL_ADDRESS>or through @FlorianJacta. If you have any issue along the way, please create an issue like you just did.

Okay, thank you, I will have a deeper look at the docs on how to work with different pages.


Chromium docs 5186795

Docs Build status updates of commit 231036b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/experimental-features.md
:warning:Warning

Details

microsoft-edge/devtools-guide-chromium/media/grid-adorner.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/media/grid-config.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/media/grid-inspect.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/media/grid-layout-zoom.msft.png
:white_check_mark:Succeeded

microsoft-edge/devtools-guide-chromium/experimental-features.md

Line 120, Column 1: [Warning-file-not-found] Invalid file link: './media/grid-insepct.msft.png'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

#sign-off and merged.


E2520 raised for mutually exclusive properties when using Conditions

CloudFormation Lint Version
cfn-lint 0.80.2
What operating system are you using?
Windows
Describe the bug
E2520 is raised for mutually exclusive properties when using Conditions
cfn-lint -t ./template.yaml
E2520 Property SourceSecurityGroupId should NOT exist with CidrIp for Resources/Ingress/Properties
.\template.yaml:13:7

The same was working prior 0.79.11. PR  2875 seems to be the cause.
> cfn-lint --version
cfn-lint 0.79.10
> cfn-lint -t ./template.yaml
> echo $lastexitcode
0

Expected behavior
E2520 is ignored for mutually exclusive properties that use the same Condition and Fn::If intrinsic function which makes sure only one of the properties has value.
Reproduction template
AWSTemplateFormatVersion: 2010-09-09
Parameters:
  pCidr:
    Type: String
    Default: ''
Conditions:
  cIsCidr: !Not [!Equals [!Ref pCidr, '']]
Resources:
  Ingress:
    Type: AWS::EC2::SecurityGroupIngress
    Properties:
      SourceSecurityGroupId: !If [ cIsCidr, !Ref AWS::NoValue, sg-abc12345 ]
      CidrIp: !If [ cIsCidr, !Ref pCidr, !Ref AWS::NoValue ]
      IpProtocol: "-1"
      GroupId: sg-abc1234567

I can confirm 0.80.3 fixes the issue for me. Thank you @kddejong for quick fix and release!


validateField should return an error on fallthrough

If not fields are matched (i.e., an invalid field is passed to the function) it should return an error

Ping


SQL VM: Cannot enable auto backup

Trying to create a SQL VM with auto backup enabled, but getting a 400 error with code BackupScheduleTypeNotSet, despite backupScheduleType being specified in the request.
Request
PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctestRG-mssql-210108235644463787/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/acctest-VM-210108235644463787?api-version=2017-03-01-preview
{
	"location": "westeurope",
	"properties": {
		"autoBackupSettings": {
			"enable": true,
			"enableEncryption": false,
			"retentionPeriod": 21,
			"storageAccountUrl": "https://unlikely23exst2acctpiakc.blob.core.windows.net/",
			"storageAccessKey": "mDCN2IFsCkM250yvHFRJv4UZEPJ+CPAM8q/mWDNiENdXarhuSBRD8QoDhkBVZIhUDIDEv61LQtD8oi75D4Uwng==",
			"password": "",
			"backupSystemDbs": false,
			"backupScheduleType": "Automated",
			"fullBackupFrequency": "Weekly",
			"fullBackupStartTime": 0,
			"fullBackupWindowHours": 0,
			"logBackupFrequency": 0
		},
		"serverConfigurationsManagementSettings": {
			"sqlConnectivityUpdateSettings": {
				"connectivityType": "PRIVATE",
				"port": 1433,
				"sqlAuthUpdateUserName": "",
				"sqlAuthUpdatePassword": ""
			},
			"additionalFeaturesServerConfigurations": {
				"isRServicesEnabled": false
			}
		},
		"sqlManagement": "Full",
		"sqlServerLicenseType": "PAYG",
		"virtualMachineResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctestRG-mssql-210108235644463787/providers/Microsoft.Compute/virtualMachines/acctest-VM-210108235644463787"
	},
	"tags": {}
}

Response
400 Bad Request
{
	"error": {
		"code": "BackupScheduleTypeNotSet",
		"message": "Backup schedule type needs to be set."
	}
}

@manicminer Backupscheduletype needs to be manual. Here you are configuring the automated back up with the storage account, back up frequency, schedule, backup start time and with other possible parameters, it needs to be manual, its not automated.
I noticed that you have used Weekly as the backup frequency, you need to pass the daysOfWeek parameter.  The public docs are not updated on this, we would do that shortly.
Sample Json
"autoBackupSettings": {           "enable": true,           "retentionPeriod": 17,           "enableEncryption": true,           "password": "<Password>",           "backupScheduleType": "Manual",           "backupSystemDbs": true,           "storageAccountUrl": "https://teststorage.blob.core.windows.net/",           "storageAccessKey": "<primary storage access key>",           "fullBackupFrequency": "Weekly",           "daysOfWeek": ["Monday","Friday"],           "fullBackupStartTime": 6,           "fullBackupWindowHours": 11,           "logBackupFrequency": 10         }
Sample Screenshot from the portal for automate back up configuration

@manicminer Backupscheduletype needs to be manual. Here you are configuring the automated back up with the storage account, back up frequency, schedule, backup start time and with other possible parameters, it needs to be manual, its not automated.
I noticed that you have used Weekly as the backup frequency, you need to pass the daysOfWeek parameter.  The public docs are not updated on this, we would do that shortly.
Sample Json
"autoBackupSettings": {           "enable": true,           "retentionPeriod": 17,           "enableEncryption": true,           "password": "<Password>",           "backupScheduleType": "Manual",           "backupSystemDbs": true,           "storageAccountUrl": "https://teststorage.blob.core.windows.net/",           "storageAccessKey": "<primary storage access key>",           "fullBackupFrequency": "Weekly",           "daysOfWeek": ["Monday","Friday"],           "fullBackupStartTime": 6,           "fullBackupWindowHours": 11,           "logBackupFrequency": 10         }
Sample Screenshot from the portal for automate back up configuration

@NivedhaChellam Thanks, from what I remember, if I specified backupScheduleType: "Automated" and omitted the other scheduling parameters, I got a 400 error. Is it not possible to use the Automated schedule type? I'll test this out again shortly just to make sure.

@NivedhaChellam Thanks, from what I remember, if I specified backupScheduleType: "Automated" and omitted the other scheduling parameters, I got a 400 error. Is it not possible to use the Automated schedule type? I'll test this out again shortly just to make sure.

@manicminer you can use automated as well, in that case you should not set the configuration parameters. with automated configuration (Automated Backup) all databases are backed  up to the specified storage account
Sample json
"AutoBackupSettings": {                 "Enable": true,                 "RetentionPeriod": "30",                 "EnableEncryption": false,                 "BackupSystemDbs": "false",                 "BackupScheduleType": "Automated"             }

@manicminer you can use automated as well, in that case you should not set the configuration parameters. with automated configuration (Automated Backup) all databases are backed  up to the specified storage account
Sample json
"AutoBackupSettings": {                 "Enable": true,                 "RetentionPeriod": "30",                 "EnableEncryption": false,                 "BackupSystemDbs": "false",                 "BackupScheduleType": "Automated"             }

@NivedhaChellam Thanks for the guidance! With trial and error I've been able to enable auto backups, although occasionally it fails to be configured. I'll close this issue as I've opened up a new issue #12818 for that.


Protect page view

It would be great if it were possible to protect the view of the pages.
For example, when we used links, the application would redirect directly to the login page

Not quite sure I follow, would you be able to expand on your example? And the desired behaviour/functionality?

Sure. If we access any endpoint of our app, we need to check the authentication before show up the page content.
At the moment we can verify the token only after show the page content, by callbacks.
The expected behavior follows:

User isnt logged
User type host by an endpoint. i.e: http://localhost:8050/myprofile
User is redirected to auth endpoint to auth page

Okay I think I understand your point.
This library wasn't originally designed to provide actual user authentication for an app, but rather allow an app to access resources on a user's behalf.
In my original use case, I was using another authentication provider, which locked down the entire domain.
I will have a think if/how to implement this, but if you need a solution asap, I suggest trying to configure the flask server before instantiating Dash.
You may need to fork the repo, to ensure the routes that this library adds doesn't mess up your solution.
Hope that helps.

I'd be curious if you do implement a solution, and would be happy to incorporate into the library.


Get WIFI Passwords

Aim
A Python Script which when Executed on the target machine will send all the WIFI names and their respective passwords stored in it, through Given Email.

Go Ahead @pritamp17


fix(core): Ensure required artifacts always included in output selection

Purpose
Fixes an issue where its possible for required compiler artifacts to not be output during remote executor compilation due to the outputSelection not including them.
We might want to consider if there are other implications wrt how we handle the build info files. Maybe we should consider adding the use of --force back into the deployment process?
At a higher level, this sort of bug just adds more to the argument that we should:

Ensure that the simulation process uses exactly the same logic as the production deployment process
Consider removing the need to recompile in the DevOps platform at all by including all necessary info in the compiler config

This seems like a short-term solution that'd work, but it doesn't seem to address the root cause. See this ticket for an explanation of what I think the root cause is.
Also, this PR seems to only be a temporary fix because it only resolves the issue in getConfigArtifactsRemote and not the user's local compilation process. When we remove the remote compilation process in favor of always using the user's local compilation process, the fix in this PR will be removed, which will probably re-introduce the bug.
I'm happy to merge this as a short-term solution, but I just wanted to flag this in case you think it'd be better to implement the solution proposed in that ticket instead

Totally agree, lets discuss this on our sync.


Chosen currency is not selected for purchase orders, default currency is selected

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*
When importing a csv file for a purchase order, the chosen currency for the supplier isn't used, default currency is being used though.

Steps to Reproduce
have a dealer, select a currency for this dealer
choose a different default currency
make a purchase order
import a csv file for that purchase order, and go through the steps for importing.
Expected behaviour
Chosen currency for dealer should be used/selected
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
0.13.5
Please verify if you can reproduce this bug on the demo site.

[ ] I can reproduce this bug on the demo site.

Relevant log output
No response

this is not a bug; we do not support currencies on import - that was already made clear in the related post. Please use the correct template in the future, we request different information on them

sorry, I thought you wanted me to make a separate bug report for this.
should I create a feature request?

@tomse no need to create a separate issue, but please ensure that any future issues use the appropriate template :)

@tomse no need to create a separate issue, but please ensure that any future issues use the appropriate template :)

I will. I just didn't understand your reply properly, thus it became a bug report rather than a feature request.

@tomse this will be addressed in https://github.com/inventree/InvenTree/pull/7671 - note that all importing improvements require the new user interface


Add audio using uac2 gadget

Adds USB audio gadget using UAC2 - doesn't seem worth supporting legacy UAC1 too.

All the configurations have sane defaults so made them options. The Uac2::new takes the channel audio properties tuple as a helper though as I feel these are the most likely to be customised.
Some parameters are not supported on all kernel versions. I added a note in the docs regarding this. I found the https://docs.kernel.org/6.12/usb/gadget-testing.html#uac2-function helpful regarding this (replacing 6.12 with target version in url).

Hopefully these drip fed extra gadgets are okay! Enjoying learning about these whilst testing the device profiling on the host.

I also have the printer, which I'd like to add an example read/writing the sysfs fd created like prn_example.
I'd like to do the UVC but it's a little more meaty in terms of the API to allow configuration of different formats and frames - not sure if you've had any thoughts on this.

Hopefully these drip fed extra gadgets are okay! Enjoying learning about these whilst testing the device profiling on the host.

Yes, sure!

I also have the printer, which I'd like to add an example read/writing the sysfs fd created like prn_example.

Looks good to me so far.

I'd like to do the UVC but it's a little more meaty in terms of the API to allow configuration of different formats and frames - not sure if you've had any thoughts on this.

Indeed, UVC seems to be more complicated in terms of configuration. I have never done any work on UVC myself. I think the best way forward is to define a configuration API and then verify that it is usable and ergonomic by writing example programs.

Great, thanks. I think this should be good to go now.

Looks good. Thanks!


Alternate file in vimscript occassionally breaks syntax highlighting

Steps to reproduce

Open $VIMRUNTIME/**/defaults.vim and navigate to where the DiffOrig command is defined.
In r ++edit #, the alternate file # and the trailing text is highlighted as a comment, see attached screenshot below.

Expected behaviour
I expect the use of # not to break syntax highlighting in this case.
I'm assuming that highlighting breaks because comments=sO:# -,mO:#  ,eO:##,:#,sO:" -,mO:"  ,eO:"",:" is set by the vim.vim ftplugin, most likely due to Vim9Script, but that does not necessarily break things as syntax highlighting still works correctly in, for example, nnoremap <silent> ,b :buffer! #<CR>. So I guess this is more of a syntax parsing issue than an issue with the way 'comments' is set. I have not been able to make any progress beyond that and would appreciate it, if someone familiar with the code base could look into this.
Version of Vim
9.0.1632
Environment
Operating system: openSUSE Leap
Logs and stack traces
No response

I think this is a deeper issue than that. Vim's syntax highlighting for .vim files does not know how to distinguish normal Vimscript vs vim9script. This has caused misc issues already regarding how it tries to highlight comments because one language uses " and the other one uses # (e.g. see #11307 and #11560). I think we should try to think more carefully about how to move forward instead of hacking in solutions  for this (e.g. in vim9script you have to use %% for alt file, which tbh I find it weird, but that's the syntax, and so you would not have this problem).
Some additional links for discussions around legacy Python2  vs Python3 syntax files (#12066 and #8033). The situation is a little different because Python 2 is pretty much deprecated at this point, but there are still lots of Vimscript going around.
There are different options we could go for (e.g. using a separate .vim9 file extension, using more complicated parsing to detect vim9script, using… tree-sitter :P, etc), but I just think we shouldn't just hack in a solution because it may break in other places.

Well, vim9script was specifically designed to allow it to live in the same file as legacy vimscript. I guess the issue here is therefore somehow expected and can only worked around with just a mentioned hack as we will have to live with a certain ambiguity.
Perhaps another solution would be to have a configuration variable (off by default), that allows to disable vim9 specific syntax elements in legacy vimscript. But that would have to be configured by the user himself beforehand. That would of course be only useful, if one does not intend to use vim9script together with legacy vimscript. So this may also qualify as a crude hack.

Yeah having a manually toggled option does seem kind of annoying esp with mixed scripts versions (which I have seen a fair amount). I guess I'm not really opposed to getting this in first to fix the issue but I just feel like it will be whack-a-mole in terms of chasing down weird syntax highlighting oddities.
I wonder if the syntax rules detect if it's within a "def" block, or detect "vim9script" and only do Vim 9 stuff there? Those are the only two conditions for entering vim9script mode right?

I did some work, more generally, in handling Vim9 vs legacy script in the Vim filetype support files.
Most of it was aborted because Bram was planning to do some work before the next release on generating a proper in memory parse tree which would render much it moot.  I'll look at resurrecting it some time in the near future.
However, this particular problem would appear to be trivial.  vim9Comment shouldn't be defined at TOP level in a legacy script only in compiled functions and autoload/command blocks.
I've fixed this before, somewhere, but it needs a bit of buy-in from the maintainer.  I'd prefer not to be randomly patching that file without approval.
I'll try and output something by next week.  Ping me if I don't.
@chrisbra you can assign me if we're doing that sort of thing now, in the brave new world. :)

Thanks, but I don't think I need to assign anybody to anything :) But I agree, would be good to hear back from Charles @cecamp (hopefully)


automatically accept client b8:27:eb:00:82:2d

Hi,
is happening strange thing.
I have two raspberry, in the first I have a complete project developed with bleno, for other things, and a Bluetooth address b8:27:eb:00:82:2d, in the second I'm developing a new project. I have the first raspberry on and a service bleno that running, when I run the bleno service test in the second raspberry, this automatically accepts the connection from the first raspberry client,
pi@raspberrypi:~/New_Project/iBeacon $ sudo node test
blend
on -> stateChange: poweredOn, address = b8:27:eb:af:61:7f
on -> advertisingStart: success
on -> servicesSet: success
on -> accept, client: b8:27:eb:00:82:2d
on -> rssiUpdate: -63

preventing me to connect from iPad. I don't no why, How can I avoid this?

Hi @AlessandroFerri,
There's nothing in bleno to auto connect to another device. Maybe you've configured something else in the other Raspberry Pi to do so?
You can call bleno.disconnect() to manually disconnect it.

Hi and thank for reply,
the only thing present in the other raspberry is always bleno peripherals. In this raspberry I installed bleno to configure a a2dp service from my iPad to listen music while in my new raspberry, I'm installing bleno to configure an ADC (Analog to Digital Converter). Once, I simply paired the two bluetooth services of the raspberry, to send the music from the new to the old raspberry, but since then, every time, even if the two raspberry are not paired, the bleno peripherals in the new raspberry automatically connects to the old raspberry bleno peripherals, while I I want to connect both with my central App on my iPad.
I have tried removing the device with bluetoothctl, but nothing changes.

Hi,
Excuse me if I insist but I do not understand why my new raspberry auto accepts client. I did a test by putting the same copy of SSD image of the old raspberry on another raspberry, changing the BT ID and the issue does not occur. I send the DEBUG, hoping that you have some help.
pi@raspberrypi:~/node_modules/bleno $ sudo DEBUG=* node test
  gatt handles = [
  {},
  {
    "type": "service",
    "uuid": "1800",
    "startHandle": 1,
    "endHandle": 5
  },
  {
    "type": "characteristic",
    "uuid": "2a00",
    "properties": 2,
    "secure": 0,
    "startHandle": 2,
    "valueHandle": 3
  },
  {
    "type": "characteristicValue",
    "handle": 3,
    "value": "Buffer('7261737062657272797069', 'hex')"
  },
  {
    "type": "characteristic",
    "uuid": "2a01",
    "properties": 2,
    "secure": 0,
    "startHandle": 4,
    "valueHandle": 5
  },
  {
    "type": "characteristicValue",
    "handle": 5,
    "value": "Buffer('8000', 'hex')"
  },
  {
    "type": "service",
    "uuid": "1801",
    "startHandle": 6,
    "endHandle": 9
  },
  {
    "type": "characteristic",
    "uuid": "2a05",
    "properties": 32,
    "secure": 0,
    "startHandle": 7,
    "valueHandle": 8
  },
  {
    "type": "characteristicValue",
    "handle": 8,
    "value": "Buffer('00000000', 'hex')"
  },
  {
    "type": "descriptor",
    "handle": 9,
    "uuid": "2902",
    "properties": 14,
    "secure": 0,
    "value": "Buffer('0000', 'hex')"
  }
] +0ms
  bleno platform linux +23ms
  hci setting filter to:<PHONE_NUMBER>c10000000000400000 +14ms
  hci set event mask - writing: 01010c08fffffbff07f8bf3d +1ms
  hci set le event mask - writing: 010120081f00000000000000 +2ms
  hci read local version - writing: 01011000 +1ms
  hci write LE host supported - writing: 016d0c020100 +1ms
  hci read LE host supported - writing: 016c0c00 +1ms
  hci read bd addr - writing: 01091000 +1ms
bleno
  hci onSocketData: 040e0401010c00 +27ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 14 +1ms
  hci 		cmd = 3073 +0ms
  hci 		status = 0 +1ms
  hci 		result =  +0ms
  hci onSocketData: 040e0401012000 +1ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8193 +1ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 040e0c0101100007b600070f000922 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 4097 +0ms
  hci 		status = 0 +0ms
  hci 		result = 07b600070f000922 +0ms
  hci set advertise enable - writing: 010a200100 +2ms
  hci set advertisement parameters - writing: 0106200fa000a0000000000000000000000700 +2ms
  hci onSocketData: 040e04016d0c00 +1ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +1ms
  hci 		cmd = 3181 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 040e06016c0c000100 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 3180 +0ms
  hci 		status = 0 +1ms
  hci 		result = 0100 +0ms
  hci 			le = 1 +0ms
  hci 			simul = 0 +0ms
  hci onSocketData: 040e0a010910007f61afeb27b8 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +1ms
  hci 		cmd = 4105 +0ms
  hci 		status = 0 +0ms
  hci 		result = 7f61afeb27b8 +0ms
  hci address = b8:27:eb:af:61:7f +2ms
  bleno addressChange b8:27:eb:af:61:7f +1ms
  hci onSocketData: 040e04010a200c +0ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8202 +0ms
  hci 		status = 12 +0ms
  hci 		result =  +0ms
  hci onSocketData: 040e0401062000 +0ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8198 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  bleno stateChange poweredOn +1ms
on -> stateChange: poweredOn, address = b8:27:eb:af:61:7f
  gap startAdvertising: name = test, serviceUuids = [
  "fffffffffffffffffffffffffffffff0"
] +7ms
  gap startAdvertisingWithEIRData: advertisement data =<PHONE_NUMBER>f0ffffffffffffffffffffffffffffff, scan data =<PHONE_NUMBER>74 +2ms
  hci set scan response data - writing:<PHONE_NUMBER>05087465737400000000000000000000000000000000000000000000000000 +2ms
  hci set advertisement data - writing:<PHONE_NUMBER>0201061106f0ffffffffffffffffffffffffffffff00000000000000000000 +1ms
  hci set advertise enable - writing: 010a200101 +1ms
  hci set scan response data - writing:<PHONE_NUMBER>05087465737400000000000000000000000000000000000000000000000000 +1ms
  hci set advertisement data - writing:<PHONE_NUMBER>0201061106f0ffffffffffffffffffffffffffffff00000000000000000000 +0ms
  hci onSocketData: 040e0401092000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8201 +1ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 040e0401082000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8200 +1ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 040e04010a2000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8202 +0ms
  hci 		status = 0 +1ms
  hci 		result =  +0ms
  bleno advertisingStart: null +3ms
on -> advertisingStart: success
  gatt handles = [
  {},
  {
    "type": "service",
    "uuid": "1800",
    "startHandle": 1,
    "endHandle": 5
  },
  {
    "type": "characteristic",
    "uuid": "2a00",
    "properties": 2,
    "secure": 0,
    "startHandle": 2,
    "valueHandle": 3
  },
  {
    "type": "characteristicValue",
    "handle": 3,
    "value": "Buffer('7261737062657272797069', 'hex')"
  },
  {
    "type": "characteristic",
    "uuid": "2a01",
    "properties": 2,
    "secure": 0,
    "startHandle": 4,
    "valueHandle": 5
  },
  {
    "type": "characteristicValue",
    "handle": 5,
    "value": "Buffer('8000', 'hex')"
  },
  {
    "type": "service",
    "uuid": "1801",
    "startHandle": 6,
    "endHandle": 9
  },
  {
    "type": "characteristic",
    "uuid": "2a05",
    "properties": 32,
    "secure": 0,
    "startHandle": 7,
    "valueHandle": 8
  },
  {
    "type": "characteristicValue",
    "handle": 8,
    "value": "Buffer('00000000', 'hex')"
  },
  {
    "type": "descriptor",
    "handle": 9,
    "uuid": "2902",
    "properties": 14,
    "secure": 0,
    "value": "Buffer('0000', 'hex')"
  },
  {
    "type": "service",
    "uuid": "fffffffffffffffffffffffffffffff0",
    "startHandle": 10,
    "endHandle": 25
  },
  {
    "type": "characteristic",
    "uuid": "fffffffffffffffffffffffffffffff1",
    "properties": 2,
    "secure": 0,
    "startHandle": 11,
    "valueHandle": 12
  },
  {
    "type": "characteristicValue",
    "handle": 12,
    "value": "Buffer('76616c7565', 'hex')"
  },
  {
    "type": "descriptor",
    "handle": 13,
    "uuid": "2901",
    "properties": 2,
    "secure": 0,
    "value": "user description"
  },
  {
    "type": "characteristic",
    "uuid": "fffffffffffffffffffffffffffffff2",
    "properties": 2,
    "secure": 0,
    "startHandle": 14,
    "valueHandle": 15
  },
  {
    "type": "characteristicValue",
    "handle": 15,
    "value": null
  },
  {
    "type": "characteristic",
    "uuid": "fffffffffffffffffffffffffffffff3",
    "properties": 2,
    "secure": 0,
    "startHandle": 16,
    "valueHandle": 17
  },
  {
    "type": "characteristicValue",
    "handle": 17,
    "value": null
  },
  {
    "type": "characteristic",
    "uuid": "fffffffffffffffffffffffffffffff4",
    "properties": 12,
    "secure": 0,
    "startHandle": 18,
    "valueHandle": 19
  },
  {
    "type": "characteristicValue",
    "handle": 19,
    "value": null
  },
  {
    "type": "characteristic",
    "uuid": "fffffffffffffffffffffffffffffff5",
    "properties": 16,
    "secure": 0,
    "startHandle": 20,
    "valueHandle": 21
  },
  {
    "type": "characteristicValue",
    "handle": 21,
    "value": null
  },
  {
    "type": "descriptor",
    "handle": 22,
    "uuid": "2902",
    "properties": 14,
    "secure": 0,
    "value": "Buffer('0000', 'hex')"
  },
  {
    "type": "characteristic",
    "uuid": "fffffffffffffffffffffffffffffff6",
    "properties": 32,
    "secure": 0,
    "startHandle": 23,
    "valueHandle": 24
  },
  {
    "type": "characteristicValue",
    "handle": 24,
    "value": null
  },
  {
    "type": "descriptor",
    "handle": 25,
    "uuid": "2902",
    "properties": 14,
    "secure": 0,
    "value": "Buffer('0000', 'hex')"
  }
] +14ms
  bleno servicesSet +4ms
on -> servicesSet: success
  hci onSocketData: 040e0401092000 +3ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8201 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 040e0401082000 +1ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8200 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +1ms
  hci onSocketData: 043e130100400001002d8200eb27b8380000002a0001 +704ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 1 +1ms
  hci 		LE meta event status = 0 +0ms
  hci 		LE meta event data = 400001002d8200eb27b8380000002a0001 +0ms
  hci 			handle = 64 +1ms
  hci 			role = 1 +0ms
  hci 			address type = public +1ms
  hci 			address = b8:27:eb:00:82:2d +0ms
  hci 			interval = 70 +0ms
  hci 			latency = 0 +0ms
  hci 			supervision timeout = 420 +0ms
  hci 			master clock accuracy = 1 +0ms
  bleno accept b8:27:eb:00:82:2d +4ms
on -> accept, client: b8:27:eb:00:82:2d
  hci read rssi - writing:<PHONE_NUMBER>00 +1ms
  mgmt on data ->0b0000000d002d8200eb27b801000000000000 +1ms
  hci onSocketData: 040f0400011620 +1ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 15 +0ms
  hci onSocketData: 043e0c041a40001f00000000000000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 4 +5ms
  hci 		LE meta event status = 26 +0ms
  hci 		LE meta event data = 40001f00000000000000 +0ms
  hci onSocketData: 040e07010514004000c0 +3ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +5ms
  hci 		cmd = 5125 +0ms
  hci 		status = 0 +0ms
  hci 		result = 4000c0 +0ms
  hci 			handle = 64 +0ms
  hci 			rssi = -64 +0ms
on -> rssiUpdate: -64


support full github issue urls

I think we should support comments with a full github url:
// TODO: https://github.com/staabm/phpstan-todo-by/issues/91 we need todo something when this issue is resolved

I think these are helpful, because the urls represent a ticket uniquely.

in contrast, comments like
// TODO: some-organization/some-repo#123 change me if this GitHub pull request is closed

have the problem, that you need to know how phpstan-todo-by is configured, to reason what the correct url for this relative identifier is.

I think we should even detect/verify these full url todos when the issue tracker is not configured to be github.
my guess is that github.com urls would be the lions share of urls used in comments.
the only other public issue tracker which might be similar widely used is gitlab.com.
turned differently: IMO when a todo comment is followed by a full url, we should work against a whitelist of default providers (no matter what is configured to be "the default issue tracker" in the config file.)

@EmilMassey do you have an opinion on this feature request?

I think it's a very good idea. I like the suggestion to always detect issues when referenced with full URL, regardless of the configuration. When it's implemented, developers in some cases wouldn't even have to configure trackers for this rule to work, am I right?
If fetching ticket status by URL is always enabled, then I think the PR implementing this should deprecate the config parameter tracker and replace it with default_tracker or something like to better reflect its purpose.
At the moment you can only use one provider, but if I understand your idea correctly, it will no longer be the case, because some (or all?) providers will always be enabled. Should we allow for configuring multiple trackers? I wonder what are implications of this.
I can't imagine codebase that uses both: youtrack and jira, but if there was one, we might not be able to tell where the key (e.g. APP-1234) should be looked up. Maybe we'd need to call both providers then which is problematic due to performance. But I think it's not a rare scenario and I know projects where the project primarily uses private Jira board and references todos in a relative way, but also has some comments regarding dependencies and for this uses the full GitHub / gitlab / whatever URLs. To access private Jira board, credentials must be configured. And if you have more than 50 GitHub todos, then you will also need to configure credentials for GitHub, because unauthenticated calls are limited to 50 per hour if I remember correctly.
In conclusion, I think it will be very useful, but it needs to be well thought out and some decisions need to be made at this stage so as not to increase the complexity excessively.

I think it's a very good idea. I like the suggestion to always detect issues when referenced with full URL, regardless of the configuration. When it's implemented, developers in some cases wouldn't even have to configure trackers for this rule to work, am I right?

exactly, it should work out of the box

If fetching ticket status by URL is always enabled, then I think the PR implementing this should deprecate the config parameter tracker and replace it with default_tracker or something like to better reflect its purpose.

agree

At the moment you can only use one provider, but if I understand your idea correctly, it will no longer be the case, because some (or all?) providers will always be enabled. Should we allow for configuring multiple trackers? I wonder what are implications of this.

I am not sure we need it - and I would leave it like it is for now.


Winhide/show trick for moving the active window to another desktop causes flickering

using send on the context menu doesn't work because there are different context menus between my desktop and laptop

not using that strategy anymore


Update quick-event extension

Description
Added keyboard shortcuts to add an event to multiple calendars as requested https://github.com/raycast/extensions/issues/15024
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi 👋
Looks good to me, approved 🔥


Update tsconfig target to node20

https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping

Codecov Report

Merging #449 (ee0b10e) into main (19fa306) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #449   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           11        11
=========================================
  Hits            11        11

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


The content renderer should be able to provide the TOC

Which scope/s are relevant/related to the feature request?
content
Information
It can be usefull to have a table of content for long and structured content.
The content renderer should be able to provide it.
Describe any alternatives/workarounds you're currently using
No response
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

Someone else requested this on Discord 👍


Feature/neighbour list

Codecov Report

Merging #50 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #50   +/-   ##
========================================
  Coverage    98.50%   98.50%
========================================
  Files            3        3
  Lines          134      134
========================================
  Hits           132      132
  Misses           2        2

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6c4d9aa...6c4d9aa. Read the comment docs.


Apache always failed when restarting the first time

Hi,
After a simple include_recipe 'apache2' on an Ubuntu 14.04 (apache 2.4.7) with this box (using chef-provisioning)
vagrant_box 'ubuntu14' do
  url 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box'
end

I catched this error:
root@foreman:~# apache2 -t
[Thu May 28 06:41:53.017929 2015] [core:warn] [pid 17814:tid<PHONE_NUMBER>87008] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
(2)No such file or directory: AH02297: Cannot access directory '/etc/apache2/${APACHE_LOG_DIR}/' for log file '${APACHE_LOG_DIR}/other_vhosts_access.log' defined at /etc/apache2/conf-enabled/other-vhosts-access-log.conf:2
AH00014: Configuration check failed

Did I do something wrong?
Regards,

This is related to needing to load the etc/defaults first. I would
recommend you use apachectl configtest instead.
On May 27, 2015 11:56 PM, "GoT"<EMAIL_ADDRESS>wrote:

Hi,
After a simple include_recipe 'apache2' on an Ubuntu 14.04 (apache 2.4.7)
with this box (using chef-provisioning)
vagrant_box 'ubuntu14' do
url 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box'
end
I catched this error:
root@foreman:~# apache2 -t
[Thu May 28 06:41:53.017929 2015] [core:warn] [pid 17814:tid<PHONE_NUMBER>87008] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
(2)No such file or directory: AH02297: Cannot access directory '/etc/apache2/${APACHE_LOG_DIR}/' for log file '${APACHE_LOG_DIR}/other_vhosts_access.log' defined at /etc/apache2/conf-enabled/other-vhosts-access-log.conf:2
AH00014: Configuration check failed
Did I do something wrong?
Regards,
—
Reply to this email directly or view it on GitHub
https://github.com/svanzoest-cookbooks/apache2/issues/356.

In fact, I just executed this command because service[apache2] are running it in only_if resource parameter.

If that guard kicks in the config has syntax errors. What does apache2ctl configtest return as the reason for the syntax error?

HI and sorry for the delay,
This is what both commands are returning:
root@front1:~# apache2ctl configtest
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
Syntax OK

root@front1:~# apache2 -t
[Mon Jun 15 10:24:08.978366 2015] [core:warn] [pid 9321] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using <IP_ADDRESS>. Set the 'ServerName' directive globally to suppress this message
(2)No such file or directory: AH02297: Cannot access directory '/etc/apache2/${APACHE_LOG_DIR}/' for log file '${APACHE_LOG_DIR}/other_vhosts_access.log' defined at /etc/apache2/conf-enabled/other-vhosts-access-log.conf:2
AH00014: Configuration check failed

I think you must change the only_if block at this line: https://github.com/svanzoest-cookbooks/apache2/blob/5f10550ff89c20306f4160025425315141bdefed/recipes/default.rb#L219
Regards

It looks like the error that caused the only_if to fail has been resolved, so the block will succeed. Until we figure out what caused it to fail, there is not much I can do.

Seems to be fixed with latest commits


germifuge, executrixes

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.2
logical conflict every: 1000
sleep for: 2100s
close stale after: 24 hours
[pullrequest]
requests per hour: 120
deps=[e,g]

/trunk merge


Feature request: post-abbreviations in command mode

The way abbreviations work at the moment is, that after you type out the abbreviation mapping and press space, it gets expanded immediately.
My suggestion would be to add a new 'type' of abbreviation in command mode, such that when typed out, it wouldn't get expanded right away, but only after you pressed enter.
The application for this would be for example to define a 'regular expression pattern'.
The ones built in, are ok, such as <, \x, \u, ... etc, but it would be really useful to define your own, such as (<\S+>\s*), which would match a WORD, followed by any number of spaces.
The problem is, that it's tedious to type it out, and even if you make an abbreviation or mapping, it gets expanded immediately, so the regex in the line becomes too long and unreadable...

I can see, how this could be useful to some, but doubt the general usefulness.
Also once such a thing is implemented, there will probably be users, complaining Vim is executing something different than expected.
You can use the cmdline window to better edit command lines.
Also you can create your own kind of abbreviations that are evaluated later using e.g. c_CTRL-_e
so closing. Sorry.


fix(tests): Address a port conflict issue in the non-blocking logger test

Motivation
The non_blocking_logger() test was missed when disabling tests that could cause port conflicts in https://github.com/ZcashFoundation/zebra/pull/8551 and when addressing port conflict issues in https://github.com/ZcashFoundation/zebra/pull/8624 to close https://github.com/ZcashFoundation/zebra/issues/8553.
We want to avoid port conflicts in this test too.
Solution
Uses an OS-assigned port in the non_blocking_logger() test's Zebrad child process's RPC listen address, and read the listen address from Zebra's logs
Follow-up Work
Try addressing port conflicts in tests related to Zebra's tracing filter and prometheus metrics endpoints as well. Search for uses of random_known_port() and limit its usage to the local_listener_fixed_port_localhost_addr_v4() and local_listener_fixed_port_localhost_addr_v6() tests.
PR Author's Checklist

[x] The PR name will make sense to users.
[x] The PR provides a CHANGELOG summary.
[x] The solution is tested.
[x] The documentation is up to date.
[x] The PR has a priority label.

PR Reviewer's Checklist

[ ] The PR Author's checklist is complete.
[ ] The PR resolves the issue.

@mergifyio refresh


Replit

Does anyone know how I can install this in a replit repository?

This would only be supported for the API backend, and unless you'd be using it for the shell access, it would probably be better to use OpenAI's API directly.


Post comments overflow screen when too long

We probably need to change this whole comment thing to be fullscreen like the create post window.

I'd prefer it if it wasn't fullscreen, if possible. It's very useful to be able to scroll through and read comments one is replying to, while composing the reply.

I agree with Komposten. Also wish there want a comment character limit (or that it was much higher.) Some philosophical or political discussion require longer replies.


Windows shortcut (Lock screen) doesnt remap after remapping WIN-key

Environment
Windows build number: Microsoft Windows [Version 10.0.18362.836]
PowerToys version: v0.18.1
PowerToy module for which you are reporting the bug (if applicable): Keyboard Manager

Steps to reproduce
Because I use an Apple Keyboard I remapped the Left Alt to the Left Win key (and vice-versa).
See screenshot.

Expected behavior
All the shortcuts work correctly. Win + E to open Explorer, etc.
But, I expected to Lock Windows with the Win + L key

Actual behavior
After swapping left alt with left win the shortcut for locking Windows is still the alt key + L
I need the alt + l for another application so a fix would be great.
Screenshots

Hi @frederiksnijder, the lock screen shortcut is one of the shortcuts that cannot be overridden by Keyboard Manager. Ctrl+Alt+Del is another one with the same problem. We have mentioned this in the Readme here https://github.com/microsoft/PowerToys/tree/master/src/modules/keyboardmanager#14-keys-that-cannot-be-remapped
In order to be able to remap keys while also affecting the lock screen shortcut you would have to use a registry based remapper like SharpKeys. We may include this in the future, but currently we do not have it planned in our v1 release.

Closing this issue as it's intended.


HTML base tag - reverse proxy

I would maybe even link  to official documetation that describes the purpose of base tag.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

I would maybe even link to official documetation that describes the purpose of base tag. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base

Added with commit https://github.com/industrial-edge/hello-world/pull/12/commits/a20053c5f26f4b9561e740aef7c73f8650f966ca


1.19.2-1.6.3 Crash with Ears

Crash report

Seems like ears is trying to render... well, ears on the fake players this mod uses to display its previews. I'm not sure why thats going wrong though, it should just work usually.

This is the skin I was using when it crashed, if that is useful for figuring out why?


Add 'cargo-audit' to the CI

I think a first step in this direction would be to add an automatic audit using https://crates.io/crates/cargo-audit
Extending the CI file wouldn't be that hard either:
iox2_cargo_fmt_and_clippy_template: &IOX2_CARGO_FMT_AND_CLIPPY
  cargo_fmt_and_clippy_script:
    - cargo fmt --all -- --check
    - cargo clippy -- -D warnings
    - cargo audit

Originally posted by @hydroid7 in https://github.com/eclipse-iceoryx/iceoryx2/issues/6#issuecomment-1857554174

Ok, so I opened a PR, but I'm really no expert with Cirrus CI.


Include image of a generated game

For the random game endpoint and future game generation endpoints, a thumbnail of the game should be included.  Which right now is available from the API and we are including in the BoardGame data class.

Addressed from https://github.com/JDGiardino/BGG-Companion/pull/26


RPP Test suite upgrade 3

@kiritigowda @paveltc This PR is to be merged after #179, #180, #181, #213 - after merge conflict resolution from all of them.
This PR adds golden outputs for 11 tensor augmentations which account for majority of the files changed.
This PR introduces 3rd round of test suite changes:

Makes necessary fixes to some functionalities to ensure QA test pass
Removes testAllScripts.sh in both HOST and HIP backend - only one python script to run all variants
Adds build flags in CMakeLists.txt to set AVX/SSE flags based on the system configuration
Adds CPP calls in the runTests.py in both HOST and HIP backend
Adds a new option ROI to the test suite to get the ROI coordinates as a list from the user

@LakshmiKumar23 can you verify this PR?

@r-abishek can you look at the file conflicts?

@r-abishek this pr still has merge conflicts, can you try to resolve this?

#181 and #213 need to be merged into develop too, followed by a final test and merge conflict resolution for this PR.

@kiritigowda Abishek mentioned to wait for PR181 and PR213 to merge before testing this

@r-abishek - sync to fix merge conflicts and changelog required.

@r-abishek sync to TOT

@r-abishek sync to TOT

@kiritigowda Will initiate the TOT sync process on this PR once RICAP is merged into develop, else it may involve resolving more merge conflicts.

@r-abishek sync to TOT

@kiritigowda Will initiate the TOT sync process on this PR once RICAP (#213 ) is merged into develop, else it may involve resolving more merge conflicts.

@r-abishek the RICAP PR is merged since the CI pass.

@r-abishek is this ready to be merged?

@r-abishek is this ready to be merged?

@kiritigowda Could you trigger the CI again? I want to ensure my fixes took effect

@r-abishek - I can merge this once this passes - http://math-ci.amd.com/blue/organizations/jenkins/main%2FShort-GPUOpen%2Frpp/detail/PR-205/15/pipeline

Hi @kiritigowda and @r-abishek: What is the status of this? Can we merge it


Fix anchor links to demo

I have just fixed the anchor links to the demo page :) :memo:

Thanks @yannickoo! :scissors:


Current implementation does not support selected SP assertion consumer service different from the default one

The issue is at the following line: provided assertion consumer service index is ignored.
https://github.com/pac4j/pac4j/blob/master/pac4j-saml/src/main/java/org/pac4j/saml/profile/impl/AbstractSAML2MessageReceiver.java#L59
Looking forward for a feedback.
Regards

Some errors in my repository.
Let me close this and open again

Sure.


feat!: add version field to block header and proposal

What this PR does / why we need it:
This PR add version field to block header and proposal.
Which issue(s) this PR fixes:

Fixes #
Which docs this PR relation:
Ref #
Which toolchain this PR adaption:
Special notes for your reviewer:
⚠This is a breaking change.
CI Description

CI Name
Description

Chaos CI
Test the liveness and robustness of Axon under terrible network condition

Cargo Clippy
Run cargo clippy --all --all-targets --all-features

Coverage Test
Get the unit test coverage report

E2E Test
Run end-to-end test to check interfaces

Code Format
Run cargo +nightly fmt --all -- --check and cargo sort -gwc

Web3 Compatible Test
Test the Web3 compatibility of Axon

v3 Core Test
Run the compatibility tests provided by Uniswap V3

OCT 1-5 | 6-10 | 11 | 12-15 | 16-19
Run the compatibility tests provided by OpenZeppelin

CI Usage

Check the CI you want to run below, and then comment /run-ci.

CI Switch

[ ] Chaos CI
[x] Cargo Clippy
[ ] Coverage Test
[x] E2E Tests
[x] Code Format
[x] Unit Tests
[x] Web3 Compatible Tests
[ ] OCT 1-5 And 12-15
[ ] OCT 6-10
[ ] OCT 11
[ ] OCT 16-19
[ ] v3 Core Tests

/run-ci

/run-ci


Cannot execute queries while other unbuffered queries are active.

The migrations bundle currently is not usable:
Migration<PHONE_NUMBER>0647 failed during Execution. Error An exception occurred while executing 'INSERT INTO ezmigration_versions (version) VALUES (?)' with params ["20150803090647"]:

SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.

[Doctrine\DBAL\Exception\DriverException]
An exception occurred while executing 'INSERT INTO ezmigration_versions (version) VALUES (?)' with params ["20150803090647"]:
SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active.  Consider using PDOStatement::fetchAll().  Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.

The errors were cause by the dummy SQL statements that were recommended to avoid Migration was executed but did not result in any SQL statements. "errors", as described here: https://github.com/kreait/ezpublish-migrations-bundle/tree/1.3#no-real-sql-statements
Unfortunately it's these statements that cause the error in the original post.
Therefore you have to modify your existing migrations as described in the 2.0 release notes: https://github.com/kreait/ezpublish-migrations-bundle/releases/tag/2.0
Sorry for the inconveniences :disappointed:


1160 add shareConnectionManagerEnabled option with 'true' by default.

This PR fix bug #1160. Generally, it's copied from https://github.com/dropwizard/dropwizard/issues/1179 with minor addition regarding dependency on org.apache.httpcomponents:httpclient.
Please fill free to reject it and grab the original one provided by @carlo-rtr. We really need this to be released in 0.8.3. Thank you!

Thanks for the PR and the investigation in #1160. Since there are no tests, do you have confirmation that this does, indeed, fix #1160 (ie. running 0.8.2 and 0.8.3-SNAPSHOT side by side, the bug shows in 0.8.2 and not 0.8.3-SNAPSHOT)?
Also, under what circumstances one would want shareConnectionManagerEnabled to be false in Dropwizard? Becaues if it should always be true, we wouldn't want users to accidentally run into this hard-to-track behavior by changing this configuration option

@nickbabcock yes, we have running a service with the fix, and the bug not show up.
In our case with 0.8.2, we create a Jersey Client (JC) for each upstream dependency and we never close() these clients. On each request JC creates the ClientRuntime and at some point ClientRuntime get finalized and shutdown the connection manager of the entire client and the next request lead to "Connection pool shut down". So in my understanding, the notion of shareConnectionManagerEnabled mean "Connection Manager is shared between multiple ClientRuntimes".
I can imagine the case when shareConnectionManagerEnabled is false, then JerseyClient should be created/closed explictly on each request.
Anyway, I will try to prepare the test for my PR.

@nickbabcock I have added few tests, please take a look. Thanks!

Awesome, thanks for the tests. They look a little non-deterministic, but that is alright in my book :smile:
@arteam / team, did you want to take a look at this as well? I know that you had some concerns regarding the original solution, so you should take a look before this is merged.

The actual problem is that Jersey expects that we create a new instance of the Apache client in
ConnectorProvider, but in the fact we reuse the same one. See this.
We can't create a new instance every time, because we can't create several instances of InstrumentedHttpClientConnectionManager with the same MetricRegistry.
Instead of enabling sharing of the connection manager, I propose not closing the client in DropwizardApacheConnector and managing it through Dropwizard lifecycle as was done in e4256d1.
Doing so, we don't leak the connection manager. And in the same time users can close an instance of the client/connection manager manually, if they want to.

I've created #1232 with this approach. If it's merged, I will backport it to 0.8.3

This approach seems good to me, thanks for looking. A couple of things

What you said about it expecting new instances of the client makes
sense. Looking at ApacheConnectorProvider, that's what it's doing
The test case you wrote, did that actually fail without nuking the
close() call?
Here https://github.com/dropwizard/dropwizard/issues/1160 you talked
about leaking the connection manager, and that connections would only be
closed during major GCs. How exactly does that happen? I ask, because I was
thinking if there is a reference that is leaked then it won't get GCed
until the reference is gone, unless it's a weak reference.

On Thu, Aug 20, 2015 at 11:26 AM, Artem Prigoda<EMAIL_ADDRESS>wrote:

I've created #1232 https://github.com/dropwizard/dropwizard/pull/1232
with this approach. If it's merged, I will backport it to 0.8.3
—
Reply to this email directly or view it on GitHub
https://github.com/dropwizard/dropwizard/pull/1216#issuecomment-133049407
.

The test case you wrote, did that actually fail without nuking the close() call?

Yes, it did, right after second System.gc call. Unfortunately, I can't write a test case that reproduces it.

Here https://github.com/dropwizard/dropwizard/issues/1160 you talked about leaking the connection manager, and that connections would only be closed during major GCs. How exactly does that happen? I ask, because I was thinking if there is a reference that is leaked then it won't get GCed until the reference is gone, unless it's a weak reference.

When we set a new property to JerseyWebTarget, Jersey creates a new ClientConfig with a copy of ClientConfig.State instance with new parameters. The old instance becomes unreachable as well as its ClientRuntime field, which then triggers closing the Connector instance.
See this, this, this, and this.
So, as a consequence, if we remove
.property(ClientProperties.READ_TIMEOUT, SLEEP_TIME_IN_MILLIS * 2)

call in the test, everything will be alright, because the state doesn't change.

just my 0.02€, I like the idea of fixing this by https://github.com/dropwizard/dropwizard/pull/1232 and looking forward to have this backported into 0.8.3.

this was merged https://github.com/dropwizard/dropwizard/pull/1232 and back ported to v0.8.3

also, @arteam thanks for the detailed explanation. That makes sense.

Backported to 0.8.3 in faf1f94

I just realized I missed everything else that was on https://github.com/dropwizard/dropwizard/tree/release/0.8.x
I'm going to get faf1f94 into this branch and release 0.8.4


[nrf noup] cmake: move s1 patches to nrf repo

This to minimize patches and simplify development
Signed-off-by: Håkon Øye Amundsen<EMAIL_ADDRESS>

This repository's history has been rewritten for the v1.2 release. Please rebase this PR if still relevant, or close it if no longer needed. Thanks!

@SebastianBoe ready for review


[WIP] clang/tidy: Fixes (the rest)

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @wbpcode this gets the codebase (except mobile and a broken tool) passing clang-tidy
im not sure about some of the fixes so it will need to be checked carefully
anything i was particularly unsure about, i used a NOLINT

separating out PRs for source/contrib/test

/retest (testing)

/retest testing

/retest testing

@wbpcode this contains the remaining fixes/etc - a lot of NOLINT as its mostly issues i was less clear how to resolve
with the help of @ravenblackx ive managed to improve some of the fixes, but it would be good to remove more nolints - happy to iterate this before we land to get fixes right

re to the coverage failure, seems the new nolint comments changed the coverage calculating result.
If you think it's OK, I change try to create a patch to your branch to update the code and avoid the nolint comments.
cc @phlax

If you think it's OK, I could try to create a patch to your branch to update the code and avoid the nolint

that would be amazing


Make initiative internally a skill.

Originally in GitLab by @cmiller.coder
I am writing this as a proposed change to the 5e game system for foundry. With the advent of the active effects system, many traps and gaps exist in how the initiative is currently handled. The initiative is inherently a dexterity ability check. By treating it internally as a skill, there are many optimization and simplifications which can happen.
Pros:

Bonuses that apply to all ability checks (for example, the Stone of Good Luck) wouldn't need separate active effects for initiative and skills.
Jack of all Trades wouldn't need to handle initiative in its own special way.
Better handling of homebrews which might allow for alternative ability scores to be used.
Allow for better support of the 7th level feature Quickdraw from Matt Mercer's Gunslinger Fighter subclass. This allows you to add your proficiency bonus to the initiative roll.
If there is ever an automated way of granting advantage to ability checks (Something like Enhance Ability: Cat's Grace), it would automatically apply to initiative correctly.

Cons:
Initiative is not a skill, so care might have to be taken in some places to not include it. For example, being careful to not include it a list of skills for skill gaining feats/features such as Expertise, Skilled, or Prodigy.
Overall, I think it would result in better handling with less code.

We are taking a different route with initiative that does not treating it as a skill.


Awesomizing the list to comply with Awesome guidelines.

I am trying to make this list comply with Awesome guidelines
I have already done some things like changing repository name, using "-" instead of "*", adding awesome badge and some other things, but there are still many warnings...
Any help would be greatly appreciated.

  README.md:3:2
  ✖    1:1   Missing main list heading                           remark-lint:awesome-heading
  ✖    1:1   Git repository must be at least 30 days old         remark-lint:awesome-git-repo-age
  ✖    3:2   Add 1 space between block quote and content         remark-lint:blockquote-indentation
  ✖    7:1   First heading should be name of awesome list        remark-lint:awesome-toc
  ✖   30:45  List item description must start with valid casing  remark-lint:awesome-list-item
  ✖  107:3   Invalid list item link URL                          remark-lint:awesome-list-item

  6 errors

This is the current error log. Doing above things did fix a lot of warnings. It was around 45 something at start.
The second one is false positive.

Done! I fixed all the issues. Now only the false positive one is remaining.


Add modular hear protection to suitable helmets

Some of the GSRI helmets are showing noise cancellation devices, mounted on modular rails on sides. There should be an ACE-compatible noise reduction property for such helmets.

@PhileasLX can you check which new helmets have hear protection ?

@ArwynFr Our "GSRI_helmet_spec", "GSRI_helmet_light" and "GSRI_helmet_modular_advanced" have peltor on the model.
However, only the first two already have an hearing protection value set by ACE (we need to check the config of the third one), but there is no noise reduction (the sound volume could be reduced like with earplugs).
I would like to know if we want to also apply a noise reduction or not?

What I had in mind is to simulate Active Noise Cancellation on helmets visually showing a peltor. This is modern tech available on a lot of military headsets. The idea is to have a self-interaction with "ANC on/off", that will silently switch the headgear type to the silenced version and back. So, basically, 6 helmet classes, but only 3 visibles in arsenal.

As there are 2 stats "ace_hearing_protection" and "ace_hearing_lowerVolume", what do you call a silenced version? Will we just adjust the lower volume part to act as we put earplugs when activating ANC?
Could a peltor with no ANC activated, offer a protection from firing weapon and explosion sounds?

This should be tested and confirmed, but my understanding is this:

hearing_protection is what prevents loud noise from causing loss of hearing and tinnitus => should be the same value whether ANC is on or off, and should not be zero as long as the model has Peltor (versus zero = your ears are unprotected);
hearing_lowerVolume is what has an affect on how loud you hear sound around you => should be a different value with ANC on or off, but both models should have non-zero values since Peltor, even without ANC has an effect of how good you can hear around.

Consider https://community.bistudio.com/wiki/enableAudioFeature


linux-i386 doesn't work with ubuntu 24.04

Install deps workflow fails with:
Run nimble install_pinned
  nimble install_pinned
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    PLATFORM: x86
    ncpu: 1
    MAKE_CMD: make
    GOROOT: /opt/hostedtoolcache/go/1.15.15/x64
The futex facility returned an unexpected error code.
SIGABRT: Abnormal termination.
/home/runner/work/_temp/761dfd4c-7dd4-40dd-9496-909550f[2](https://github.com/vacp2p/nim-libp2p/actions/runs/10141458395/job/28038743233?pr=1151#step:7:2)1b65.sh: line 1:  5228 Aborted                 (core dumped) nimble install_pinned
Error: Process completed with exit code 1[3](https://github.com/vacp2p/nim-libp2p/actions/runs/10141458395/job/28038743233?pr=1151#step:7:3)4.

This prevents us from using Ubuntu 24.04 on CI.


Ember Memoization issue

reproduction https://github.com/lifeart/ember-broccoli-memo-debug
how?
yarn; ember s
change application.hbs -> no app refresh, only silent rebuild. After f5 - no changes.

ref to: https://github.com/broccolijs/broccoli/pull/396

I'm not sure that we expect the new memoization functionality to work with currently released ember-cli versions? Specifically, the changes landed in #396 require changes in ember-cli for it to function properly (see https://github.com/ember-cli/ember-cli/pull/8614).

Upsa, was thinking it should go out if the box.
with

@lifeart this isn't fully implemented in Ember-CLI yet, please hold off on testing anything until we release a specific build with this support

We will land part 2 in the next few days.

Should be fixed now


port process collector

So we can monitor current running process CPU, Memory, etc.

We can use https://github.com/danburkert/procinfo-rs, but it only works in unix, I think it is ok.

It would be nice to have support for other platforms too, eventually.

@brunoqc
We can only focus on *nix (Linux + Mac OS X), we don't use Windows in our team.
This is optional metric, maybe you can help us support Windows or other platforms. :-)

procinfo is in fact Linux only. Still a good starting point though.

Thanks @kamalmarhubi
We have not found any lib that supports all platforms, so now we only support Linux. If you find some or want to write one, please tell us :-)

Unfortunately, procinfo does not compile with stable and beta rust (danburkert/procinfo-rs#10 and danburkert/procinfo-rs#12).
I would remove procinfo temporary, and will add it back once the problem is solved.

I just opened https://github.com/danburkert/procinfo-rs/pull/14 which works around the overflow issue.

That's cool! I will use procinfo once that is merged.

https://github.com/danburkert/procinfo-rs/pull/15 just got merged, should now work on stable.


[SPIKE] Extensibility - mechanism for more complex date

Description
Create a mechanism that will allow us to show more complex data.
For example, to show external IPs, our current code looks like this
  const getExternalIPs = service => {
    if (service.status.loadBalancer?.ingress) {
      return service.status.loadBalancer?.ingress
        .map(endpoint => endpoint.ip || endpoint.hostname)
        .join(', ');
    } else if (service.spec.externalIPs?.length) {
      return service.spec.externalIPs.join(', ');
    } else {
      return '-';
    }
  };

Reasons
Users might want to show something more than just one path.

Attachments

HAve a look at https://dhall-lang.org for inspiration maybe

Use Jsonata to display more complex values.
Configuration in CF would look like this:
{ "path": "spec.toppings", formula: "$join(value.name, ', ')" },
{"name": "quantityIsMore", "path": "spec.toppings", formula: " $filter(value, function ($v, $i, $a) { $v.quantity > $average($a.quantity)})" },

So the only new thing is a field with a formula. We still can use widgets... The formula only defines how to prepare raw data for display.
The path is still an object. If we need to have more fields passed we should just pass the parent object for example the whole spec
On the code side the use of jsonata is pretty minimal:
export const getAdvancedValue = (resource, path, formula) => {
  const value = getValue(resource, path)
  var expression = jsonata(formula);
  var result = expression.evaluate({ value });

  return result;
};

Will be done in https://github.com/kyma-project/busola/issues/1493


Warning: Creating an ndarray from ragged nested sequences is deprecated

This warning occurs numerous times during testing.
tests/test_fixedextensionarray.py: 191 warnings
tests/test_geodataframe.py: 1 warning
tests/geometry/test_to_geopandas.py: 2 warnings
/home/travis/miniconda/envs/test-environment/lib/python3.7/site-packages/numpy/core/_asarray.py:83: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray
return array(a, dtype, copy=False, order=order)
This occurs with the latest version of spatialpandas, and numpy 1.19.1.

Hmm. Creating arrays with dtype=object isn't normally advisable, so I can see why it would be warning. It's fine for code used only in testing, but if the actual issue is in the main codebase, it does sound like something that needs fixing.

I'm tagging this as a bug as having lots of warnings appear is very annoying (even if everything else is working).

Most these warnings have been fixed as part of #92. One remains:
https://github.com/holoviz/spatialpandas/blob/518b4f1a98dc3dc2577dac31ebceb111ab017318/spatialpandas/geometry/basefixed.py#L111
We cannot force a dtype=object here, so it needs further consideration.

Closed by #107.


Spec out an effect system

The goal here is to come up with a proof of concept or a spec of a system that would allow users to define effects, whether they would apply on items, spells equipment or something else, and have that effect be evaluated at runtime.
For example, we could define an armour with an effect of add +3 to your AC, and how the AC is calculated, its score, etc, will all be dynamically evaluated.
Let's figure out the syntax of that system, and its limits

Re transcribing some messages we exchanged on the subject:

For effects, I figured we could find some kind of DSL that works for all relationships.
We could write strength_save_mod = Math.floor(strength / 2 + proficiency) and it automatically adds the right effect, saving the dependencies. And for objects we could create an effect armor_class = base_armor_class + dex.
What I had in mind looks a lot like foundry's active effects: https://foundryvtt.com/article/active-effects/
There are 5 modes, for which we would have 5 operators:

  Add: +=
  Multiply: *=
  Override:=
  Downgrade: >=
  Upgrade: <=

And then you can use a special sign (e.g. _, @, $) to access the properties of the character sheet, and compose them.

About modes
Here's a copy/paste of the Foundry documentation about effect modes, for reference
Add LAdds the provided value to a number. This can be used to both add and subtract from a particular value by specifying +1 or -1 as the value to add.
Multiply: Multiplies the defined attribute by the numeric value in the Effect Value field.
Override: Replaces the defined attribute with the value provided in the Effect Value field.
Downgrade: Reduces the defined attribute only in cases where the current value of that attribute would be greater than value specified in the Effect Value field.
Upgrade: Increases the defined attribute only in cases where the current value of that attribute would be less than value specified in the Effect Value field.

Fixed by #82


Create a description annotation

Create a @description annotation that will make the value of @description the header of the swagger endpoint.

This is not needed. A period at the end of a line works just fine.


Gauge Component bug

Currently using the following framework versions:

Framework7 version: [e.g. 3.0.0]
React.js version: [e.g. 16.0.0]
Platform and Target: [e.g. iOS 11 Cordova app, or Android 8 Chrome browser]

Description:

Gauge (React) component throws a console error in the browser when rendering a SemiCircle gauge.

I used the same code provided in the documentation:
https://framework7.io/react/gauge.html
HTML Code:
<Row> 	<Col> 		<Gauge 			type="semicircle" 			value={0.5} 			valueText="50%" 			valueTextColor="#ffeb3b" 			valueFontSize={41} 			valueFontWeight={700} 			borderWidth={10} 			borderColor="#ffeb3b" 			borderBgColor="transparent" 		/> 	</Col> </Row>
When I run the app, I see the following error in the browser console, but the semicircle gauge is rendered correctly.

Changing semicircle to circle in the above code works without any issue.

What exactly versions of F7 and F7-React?


Consider replacing request package

Node Version: *
Platform: *
Compiler: *
Module: *

You might want to consider replacing request as it's entering maintenance mode.
https://github.com/request/request/issues/3142
https://github.com/request/request/issues/3143
After a first look it should be relatively easy to replace request with the built-in https library.

Replacing request has been suggested before in a different context but as long as npm still depends on request, we're likely to keep doing so as well.
node-gyp is normally distributed along with npm and they share a copy of request. That's good because it keeps the download size down.
Thanks for the suggestion though!


feat: implement airgap restore

This adds a --airgap-bundle <path> flag to the restore command, allowing it to be used in airgap environments. (only with backups taken from airgap installs, which is validated!)
The current test for this installs in airgapped mode, but the instance has internet access to allow usage of s3. This should be changed in a followup PR.

this PR was included in https://github.com/replicatedhq/embedded-cluster/pull/614 and is now outdated


cs-fixer

@rultor hello

@rultor hello

@maxonfjvipon Hi there! I understand a few simple commands: "merge", "deploy", etc. This page explains them briefly. Any questions or bug reports are welcome. Have fun :)

@rultor merge

@rultor merge

@maxonfjvipon OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@maxonfjvipon Done! FYI, the full log is here (took me 51min)


read() and write() on typed_scalar_variable be marked as const?

Should read() and write() on typed_scalar_variable be marked as const? Unless they are it seems problematic to make the example code work because as_integer() as_real() and friends return a const type. This makes templating with this type require the use of std::remove_const and an intermediate copy of the underlying description object.
https://github.com/NTNU-IHB/FMI4cpp/blob/70b3b33c79fef23bb41f7f965dfee0cd8d57ce13/include/fmi4cpp/fmi2/xml/typed_scalar_variable.hpp#L102

Yes.. You are right. Perhaps these functions should be removed altogether?
When I initially wrote fmi4cpp I thought these functions would be nice to have (and they worked before other parts of the API changed), but in practice they are not so valuable as you want to read as many variables at once for performance reasons using slave->read_XXX(vr, ref).


release page empty

the installation readme says "download from the release page" sadly there are no releases (yet?).

Would it be possible to include some instructions to build it ourselves?

For building:
go build .

(On Windows, on Mac and Linux I need to figure out how to isolate a windows-only dependency).

Looks like I ran into that issue:

go build github.com/konradit/gowpd: build constraints exclude all Go files in<EMAIL_ADDRESS>

Hi, I've removed the offending dependency. Try again.

would still be great to autobuild it with github actions and publish it on the release page.

Just pushed a first release on the releases page, will do it manually for now.


Data Location?

The article does not specify where the data that is collected is stored? Useful information to know when carrying out storage considerations for large hyper-v clusters.

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

ID: 5dfda2ca-12a2-8637-7ebc-ffae730704fe
Version Independent ID: 14c02929-1091-9671-4c44-79b47c66d445
Content: Enable-VMResourceMetering (Hyper-V)
Content Source: docset/winserver2022-ps/hyper-v/Enable-VMResourceMetering.md
Product: w10
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Return health status for V1 CRDs

What this PR does / why we need it:
The v1 CRD API is available since Kubernetes 1.16 and should be supported in addition to the v1beta1 API that's deprecated beginning with Kubernetes 1.19.

I like apiextv1, apiextv1beta1. Think I saw this alias used in other projects as well.


Bug: Does Laravel 5.6.34 have changed error page styling?

Laravel Version: 5.6.34
PHP Version: 7.1.16
Database Driver & Version: MySQL 5.7.21

Description:
I updated my Laravel Framework version 5.6.16 -> 5.6.34 and now It shows different error pages than before:
Before Laravel update (v 5.6.16):
Screenshot: Sorry, the page you are looking for could not be found.
This is correct and beautiful.
After Laravel update (v 5.6.34):
Screenshot: Whoops, looks like something went wrong.
Screenshot: Sorry, the page you are looking for could not be found.
Why there are 2 different error views?
Why do error page styling is buggy after updating, do somebody have uploaded an old Laravel version views?
Suggestion: Styling should be the same all over the Laravel Framework.

The "something went wrong" is coming from Symfony.
How did you get this message?
Can you provide sample code.
Are you trying to upload a  file that is larger than the max upload size defined in php.ini ?

As @dwightwatson said, Taylor did a small change to the font: https://github.com/laravel/framework/commit/b62ca077f6ae1d94955313b484eb3e82a007636e

@laurencei
You are doing a great job.


Remove chained comparisons from the undocumented page.

Small edit, this feature was documented #41, I forgot to remove it from undocumented.md.

Doesn't touch code blocks, so merging ahead of TravisCI.
💟 Thanks @ekse for this and the prior work.


TLS_RX Support

Currently TLS_RX does not work. I always get a weird EIO and there is nothing in the documentation.
https://github.com/torvalds/linux/blob/master/net/tls/tls_sw.c#L888
https://github.com/torvalds/linux/blob/master/Documentation/networking/tls.txt#L85

This seems to be because KTLS cannot handle ServerHelloDone.


Display Webcam Feed as Animation

Currently, our project displays the webcam feed in the terminal using ASCII art, but it does so in a static manner, updating the frame line by line. To make the output more visually engaging, introduce animation.

Create an animated display for the webcam feed.
Update the ASCII art in real-time, providing a smoother and more dynamic representation of the webcam input. Sort of like an actual video instead of images being printed

Hey can i be assigned to this pls

You are maintainer so no

hey can i be assigned this issue

Sure thing all the best :)

hey gimme lil more time im still working on it

can i try this?

hey gimme lil more time im still working on it

can you show me progress? @swayamchhaba

hiii i would like to work on this please assign it to me

@swayamchhaba can you show me some progress by 10:15 or I'll be forced to assign someone else.

Can I assigned this please?

can i get assigned if this is still open?

@swayamchhaba I'm reassigning this issue

can i try this?

@Manvith-M-Nayak go ahead with this issue

@Manvith-M-Nayak I shall reassign this issue

@Hiyanachnani go on

@Hiyanachnani Can you show me some progress? Otherwise I'll be forced to re-assign this issue.

@KaashviR go ahead

can i have this assigned plz

@ssether04 go ahead last sprint :)


V2-Mainnet updates

Product Updates

[x] Search - broken "develop" @RetricSu
[ ] @linnnsss check if payments
[x] OffCKB installation error

UI

[x] Dev tools: move out + add tag (dapp tools, contract tools)
[x] Update menu (getting started)
[x] Wallet --> link to joy.id docs, then list all the other integrations
[x] Tutorial --> remove what you will learn, set version number and information.
[ ] Ecosystem updates

Future:

[ ] Add landing page (separation)

https://github.com/nervosnetwork/docs.nervos.org/pull/281


Column header views change background color after going offscreen

Expectation: if table view has setIgnoreSelectionColors(true), all its views should retain their background colors no matter what.
Problem: column header views change their background color permanently after going offscreen
Steps to reproduce:

have a table view with setIgnoreSelectionColors(true);
have enough columns that some are offsreen;
scroll table view left-right
column header views that had been moved offscreen have now changed their background color to default "unselected color" of table view.

Why it happens: onViewDetachedFromWindow handler in ColumnHeaderRecyclerViewAdapter does not check IsIgnoreSelectionColors() setting of its table view when changing view's background color. Result: if a column header ever goes offscreen, its background color is changed permanently  to "unselected color".
Suggestion:  must view's background color even change on detach? It's getting changed in onViewAttachedToWindow handler already anyway - and with proper IsIgnoreSelectionColors() check, too. Same for its selected status.

Hi Kreiri,
It seems I missed to add the control to the below line.
viewHolder.setBackgroundColor(m_iTableAdapter.getTableView().getUnSelectedColor());
Thank you for the bug report. I 'll fix this on todays version.
Also

Suggestion: must view's background color even change on detach? It's getting changed in onViewAttachedToWindow handler already anyway - and with proper IsIgnoreSelectionColors() check, too. Same for its selected status.

As far as I can remember, there was necessary to do it for reused viewholders. However, I don't remember the exact case. Maybe, as you say, it's a trivial process. I need to test to find out the result without it.
Thank you for the sugesstion. I'll take into account it.
Have a nice day.

Hi Kreiri,
I have checked the lines. And you are right on your suggestion.
I have removed trivial lines on CellRowRecyclerViewAdapter, ColumnHeaderRecyclerViewAdapter and RowHeaderRecyclerViewAdapter
However, same code is necessary for CellRecyclerViewAdapter. Otherwise, It causes a bug that I mention above.
Anyway, thank you for your suggestion.
See ya


ERROR: unrecognized parameter RNApeg.sh

Hello everyone!
I'm trying to run RNApeg.sh after building it locally on my ArchLinux server.
When I use:
docker run --mount  type=bind,source=/home/rnapeg/resultados/trueseq,target=/results 2022cd54d364 -b /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99*.bam -f /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa -r /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt -O /home/Análises/Teste1/RNAPEG/trueseq/sample_5
OR
docker run -v /home/Análises/Teste1/RNAPEG/trueseq:/results ghcr.io/stjude/rnapeg:latest RNApeg.sh -b /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99*.bam -f /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa -r /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt
OR
singularity run --containall --bind /home/Análises/Teste1/RNAPEG/trueseq:/results docker://ghcr.io/stjude/rnapeg:latest RNApeg.sh -b /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99*.bam -f /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa -r /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt
I get:
`ERROR: unrecognized parameter RNApeg.sh
`
When I run the same, but without RNApeg.sh, I get:
docker run --mount  type=bind,source=/home/rnapeg/resultados/trueseq,target=/results 2022cd54d364 -b /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99*.bam -f /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa -r /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt -O /
OR
singularity run --containall --bind /home/Análises/Teste1/RNAPEG/trueseq:/results docker://ghcr.io/stjude/rnapeg:latest -b /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99*.bam -f /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa -r /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt
OR
docker run -v /home/Análises/Teste1/RNAPEG/trueseq:/results ghcr.io/stjude/rnapeg:latest  -b /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99*.bam -f /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa -r /home/references/cicero/reference/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt
I get:
 ERROR: Bamfile '/home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam/99_FRAS202421989-1a_1.fqAligned.sortedByCoord.out.bam' DNE
What should I do?

I tried on another linux machine with ubuntu 20 and singularity, which gives me the output:
There is no runscript defined for this container\n

Hi @GACGAMA...you're close.  You're confusing the path from your computers file system with that of inside the docker container.
1st) The initial runs that gave you ERROR: unrecognized parameter RNApeg.sh is expected as the entrypoint of that container IS the RNApeg.sh script.  So you can just start with the flag options, as you found out.
2nd) Docker has no ability to access your local file system (unless it is mounted).  The /home/references/cicero/reference/** does not exist inside the container, there this is being executed.  So, not being familiar with you're system, i would suspect that the command youre looking for should be something like
cp -r /home/Análises/Teste1/star/all_samples_ensembl_chimericwithinbam /home/references/cicero/reference

docker run \
-v /home/Análises/Teste1/RNAPEG/trueseq:/results \
-v /home/references/cicero/reference:/data \
ghcr.io/stjude/rnapeg:latest \
-b /data/all_samples_ensembl_chimericwithinbam/99*.bam \
-f /data/Homo_sapiens/GRCh38_no_alt/FASTA/GRCh38_no_alt.fa \
-r /data/Homo_sapiens/GRCh38_no_alt/mRNA/RefSeq/refFlat.txt

With that, your results should be found in /home/Análises/Teste1/RNAPEG/trueseq

And just as a follow on, this is how I run the container, and it allows me to reference everything relative to where I am on my host system
docker run -v $(pwd):/data -it ghcr.io/stjude/rnapeg:latest -b /data/file.bam -r /data/refFlat.txt -f /data/GRCh38_no_alt.fa

Referencing :/data with my system did work! I'm getting other errors from different reference files, but this is another issue!