Remove installation instructions for old releases

Ubuntu 18.04 & 18.10
elementaryOS Loki and Juno
Debian Jessie

Done


Load a default emoji data, if file emoji.json is missing

Load a default build-in emoji data (from "emojidata.go"), if file emoji.json is missing.

Please accept this PR.

@biter777 @ALTELMA Merged ✅


Rubocop Fixes

#1124
Folows the #1125
Fixes:

@dks17: Thanks for this!
Unfortunately, I had to rebase my branch against the latest HEAD of master, and I did a --force push!  (Probably should not have done that, since others have access to this branch repo). I think in doing so, I've introduced some of these conflicts?
I've got a backup branch locally from before I did my rebase, so I'll try doing a force push of that back to the add_rubocop branch, to restore the previous state.

@Evan-M, I encountered only one conflict. It is OK now. I hope I did all properly.

I was actually thinking that instead of re-running the auto-gen, you would just manually remove the specific cops from the .rubocop_todo.yml.  However, it is curious to me that when you ran rubocop --auto-gen-config --exclude-limit 35 the resulting .rubocop_todo.yml file re-enabled some of the cops that I'd fixed already...
If everyone's run of rubocop is non-deterministic, then this doesn't all quite work right?
What version of ruby are you running rubocop on?  I'm using 2.4.2p198 on MacOS 10.13.3 (High Sierra).

I hope I did all properly.
Hey, no worries! We're figuring this out as we go, right? ¯_(ツ)_/¯

@dks17 I'm going to go ahead and merge this into PR #1125.
We'll figure out the specific cop settings afterwards.

What version of ruby are you running rubocop on? I'm using 2.4.2p198 on MacOS 10.13.3 (High Sierra).

@Evan-M, I am using ruby 2.5.0p0 (2017-12-25 revision 61468). I think that is not matter in this case.


Install-WslIpHandler:  error in creating scheduled task

Thanks for fixing the last issue I noticed!
When trying to run the latest version 0.11.4 2a63d12 I now get an error when the script tries to create the scheduled task..
Install-WslIpHandler -WslInstanceName Ubuntu-20.04 -GatewayIpAddress <IP_ADDRESS> -WslInstanceIpAddress <IP_ADDRESS> -UseScheduledTaskOnUserLogOn -DontModifyPsProfile -Verbose
PowerShell installing WSL-IpHandler to Ubuntu-20.04...
VERBOSE: Hyper-V VM Adapter 'WSL' already exists.
VERBOSE: vEthernet (WSL) Network Connection Setup succeeded after [0] seconds.
VERBOSE: Setting Static IP Address: <IP_ADDRESS> for Ubuntu-20.04.
VERBOSE: Registering WSL-IpHandler scheduled task...
Set-WslScheduledTask: The variable '$commonParams' cannot be retrieved because it has not been set.

I got the same error when running:
Install-WslIpHandler -WslInstanceName Ubuntu -GatewayIpAddress <IP_ADDRESS> -WslInstanceIpAddress <IP_ADDRESS> -UseScheduledTaskOnUserLogOn

Thanks for reporting this. It has been fixed in Version 0.11.5.


Revert to 'to_remove' style solution tagging; update workflow

See conversation in Slack; abusing the Forms machinery (@title) squashes the input cell with no apparent way to adjust.

This should be self-testing in that it's going to generate student versions of the tutorial notebooks.
Is it going to be annoying to have these in the repo? Now that we have a standardized naming format for the tutorials, I think I can filter so this only runs when the file path matches tutorial/W?D?*/*.ipynb.


Prepare release 21.11

Description
Prepare develop for the new release 21.11.  A few things left to do before merging:

[ ] Update vcpkg-configuration.json baseline (@priyanshuone6 can you point me to the right commit ID please?)
[ ] Update CHANGELOG: are there any of the open PRs we want to bring in before releasing @tinosulzer?
[ ] Jax: there is still the version issue (#1625), is it OK to keep the versions as they are?

All the jax tests are passing with the current pinned versions I guess we can keep the jax versions as they are

Updated the sdist action as Publish sdist on pypi step was getting skipped
https://github.com/pybamm-team/PyBaMM/runs/4094768383?check_suite_focus=true

We need to reopen this one as I need to update the CHANGELOG


Game: Hero

Hero has just name (for the beginning).
It is composed from an Entity, thus it's simple to change Heroes' attributes just by changing an Entity.

/cib

Obsolete, will be probably done in a different way.


Restfixes

Type of Change

[x] Bug fix (non-breaking change, fixes #5400)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Stop one bad restore stop the restore of the whole bacth
Approach
switch return for break. Kill the current foreach loop around the backups, moves back into the foreach database loop and carries on
Commands to test

Screenshots

Learning

hey stuart - any chance you will you have time this weekend to wrap up this PR? 🙇

If this merge passes it's good to go.
Sorry. work and life manic atm

tried to fix the tests as they hadn't been running since someone pushed them to 2016 (db was 2008r2 and standby won't work if there's a version upgrade). Looks like someone made a change that broke the continue functionaltiy that wasn't caught
will see if I can carve some time out this afternoon to have a look

Thank you for your time and so sorry for the time sensitivity. It breaks my heart to close your PRs 💔

PASSSSSSSSSSSSSSSSSSSSSSSSSS!!! 🏁

thank you going to merge 🙇 🙇 🙇


PalindromeNumbers

Hi, the code is ready. I've created Palindrome Numbers file, and I'm sending a pull request.

@Edwinliby Please merge the pull request for Palindrome Numbers


Joindin 735

This adds type-hinting to satisfy JOINDIN-735
Type-hinting was added for array, PDO, Request, and more. One benefit to this type-hinting is that a bug was uncovered where the Request and PDO params were being passed in the wrong order!
When the parameter types were known, I updated or added docblocks to those methods to show params that are ints, strings, bools, etc.
Other Changes
The abstract ApiController and EmailBaseService were renamed to emphasize that they are abstract classes, following the pattern of other abstract controller and service classes.
A bug was fixed in an exception message that was attempting to use a non-existent variable.
The $string param for one method was renamed since string is a PHP7 keyword. Even though we're currently using PHP 5.6, 7 isn't too far away from this project.

Can one of the admins verify this patch?

Hey Eric! Thanks for the great work!
But: (you knew there would be one…) Would it be possible to create different merge-requests from this one? One with the renaming of the Classes, one for the type hints and one for the bugfix? That would make the PR much more digestible for review 😉
And a variable of name $string should not conflict with the string-keyword in PHP7. But that's only a minor thing ;)

@heiglandreas The bugfix was so that the tests would pass after adding the typehints, so I don't think that it can be separated. I can certainly separate the renaming of the classes.

@heiglandreas The abstract class rename has been split out into https://github.com/joindin/joindin-api/pull/425

@heiglandreas the Exception fix is in https://github.com/joindin/joindin-api/pull/427
I rebased to pull out the code changes that are not related to the typehints and miscounted on an interactive rebase. I don't know how to make 1c225d4 not show me as a contributor. Argh!

Should I kill this branch & PR, create a new branch, cherry pick my changes (minus 1c225d4), and create a new PR?

I'm currently reviewing it :wink: So please not at the moment 😄
And I'd leave it but replace it with a forced push…

ok to test

Wow... my head hurts! ;-)
@heiglandreas as you've mainly been the one reviewing this, are you mostly happy? It seems fine to me, and it doesn't break (which is always the main thing!), but I've not been 'hands on' with this PR :).

@heiglandreas - did you get a chance to re-vist this? :)

I just went through and it looks good for me. There might be some minor details that could be improved but it's a great improvement overall already and so I'd merge it.

Thanks will do this eve :)

Thanks for your patience and help with this PR. I'll try to keep my next PRs a little more concise and smaller in scope. :)

Well, the scope was pretty small, wasn't it? It was just typehinting 😛

Just think about how much more awesome this PR would be if we added PHP 7.1 typehints & return types!
For another day. ;)


Govee lights not connecting

What issue do you have? Please be as thorough and explicit as possible.
So when I was adding Govee to my HOOBS setup I used the bluetooth guide and followed the steps to adding my lights to HOOBS but it didn’t work
Details of your setup.

Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS?
I am using HOOBS

Which version of Homebridge/HOOBS do you have?
I am running version 4.2.5 of HOOBS

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.
My node version is 16.15.0 and I am using a raspberry pi

Which Govee devices do you have that are causing issues? Please include product models if applicable.
H6147 and H6126

Please paste any relevant logs below.

/17/2022, 6:38:37 AMGovee BridgeLoaded plugin 'homebridge-govee'
5/17/2022, 6:38:37 AMGovee BridgeLoading 1 platforms...
5/17/2022, 6:38:37 AMGovee BridgeGoveeInitialising plugin v4.30.3 | Node v16.15.0 | HB v1.4.1 | HAPNodeJS v0.10.2 | HOOBS v4...
5/17/2022, 6:38:37 AMGovee BridgeGoveePlugin initialised. Setting up accessories....
5/17/2022, 6:38:37 AMGovee BridgeBridge is running on port 51836.
5/17/2022, 6:38:38 AMGovee BridgeGoveeBluetooth hardware and packages found successfully.
5/17/2022, 6:38:38 AMGovee BridgeGovee[Roof Outline] [17:4A:D4:AD:FC:32:99:6D] will not be added to Homebridge unless configured and bluetooth enabled in config.
5/17/2022, 6:38:38 AMGovee BridgeGovee[Bed] [E1:42:A4:C1:38:59:7A:BB] will not be added to Homebridge unless configured and bluetooth enabled in config.

{
    "platform": "Govee",
    "name": "Govee",
    "username": "hidden-for-privacy",
    "password": "hidden-for-privacy",
    "apiKey": "hidden-for-privacy",
    "lightDevices": [
        {
            "label": "Roof Outline",
            "brightnessStep": 100,
            "enableBT": true,
            "adaptiveLightingShift": -1,
            "deviceId": "GBK_H6147_996D",
            "customAddress": "17:4A:D4:AD:FC:32:99:6D"
        },
        {
            "label": "Bed",
            "brightnessStep": 100,
            "enableBT": true,
            "adaptiveLightingShift": -1,
            "deviceId": "ihoment_H6126_7ABB",
            "customAddress": "e1:42:A4:C1:38:59:7A:BB"
        }
    ],
    "refreshTime": 15,
    "controlInterval": 500
}

Hi @justinkopf
In your config, please change the deviceIds to 17:4A:D4:AD:FC:32:99:6D and E1:42:A4:C1:38:59:7A:BB.
Also try removing the custom address as the plugin can often obtain the bluetooth address automatically.
See how this goes :)

Logs
5/19/2022, 6:05:52 PM Govee BridgeGoveeBluetooth hardware and packages found successfully.
5/19/2022, 6:05:52 PM Govee BridgeGovee[Roof Outline] [17:4A:D4:AD:FC:32:99:6D] will not be added to Homebridge unless configured and bluetooth enabled in config.
5/19/2022, 6:05:52 PM Govee BridgeGovee[Bed] [E1:42:A4:C1:38:59:7A:BB] will not be added to Homebridge unless configured and bluetooth enabled in config.

New Code
{
    "platform": "Govee",
    "name": "Govee",
    "username"<EMAIL_ADDRESS>    "password": "Teslas21",
    "apiKey": "232f9a38-85dd-4399-9247-9ac1fdfc869f",
    "lightDevices": [
        {
            "label": "Roof Outline",
            "brightnessStep": 100,
            "enableBT": true,
            "adaptiveLightingShift": -1,
            "deviceId": "GBK_H6147_996D"
        },
        {
            "label": "Bed",
            "brightnessStep": 100,
            "enableBT": true,
            "adaptiveLightingShift": -1,
            "deviceId": "ihoment_H6126_7ABB"
        }
    ],
    "refreshTime": 15,
    "controlInterval": 500
}

Still not working

@justinkopf
your last post included your govee credentials, I would urge you to change your password and also request a new api key

Logs
5/19/2022, 6:05:52 PMGovee BridgeGoveeBluetooth hardware and packages found successfully.
5/19/2022, 6:05:52 PMGovee BridgeGovee[Roof Outline] [17:4A:D4:AD:FC:32:99:6D] will not be added to Homebridge unless configured and bluetooth enabled in config.
5/19/2022, 6:05:52 PMGovee BridgeGovee[Bed] [E1:42:A4:C1:38:59:7A:BB] will not be added to Homebridge unless configured and bluetooth enabled in config.

New Code
{
    "platform": "Govee",
    "name": "Govee",
    "username": "",
    "password": "",
    "apiKey": "",
    "lightDevices": [
        {
            "label": "Roof Outline",
            "brightnessStep": 100,
            "enableBT": true,
            "adaptiveLightingShift": -1,
            "deviceId": "GBK_H6147_996D"
        },
        {
            "label": "Bed",
            "brightnessStep": 100,
            "enableBT": true,
            "adaptiveLightingShift": -1,
            "deviceId": "ihoment_H6126_7ABB"
        }
    ],
    "refreshTime": 15,
    "controlInterval": 500
}

Thx for telling me too


chore(runtime-core/apiWatch): simplify code

I think a dedicated object here is technically safer, since EMPTY_OBJ is indeed used elsewhere and has a slight chance to be returned in a watcher getter.  I know it is highly unlikely, but if it does happen it can be very hard to figure out why.


On installed packages, on uncheck Local PC still showing Local PC packages

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.0
Windows version, edition, and architecture
Windows 10 Home v22H2 build-19045.4651
Describe your issue

Steps to reproduce the issue
No response
UniGetUI Log
[7/25/2024 8:23:35 AM]
                          __  __      _ ______     __  __  ______
                         / / / /___  (_) ____/__  / /_/ / / /  _/
                        / / / / __ \/ / / __/ _ \/ __/ / / // /
                       / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                       \____/_/ /_/_/\____/\___/\__/\____/___/
                           Welcome to UniGetUI Version 3.1.0
[7/25/2024 8:23:35 AM]
[7/25/2024 8:23:35 AM] Version Code:  3.1
[7/25/2024 8:23:35 AM] Using bundled GSudo at C:\Users\htmyn\AppData\Local\Programs\WingetUI\Assets\Utilities\gsudo.exe
[7/25/2024 8:23:35 AM] Loaded language locale: en
[7/25/2024 8:23:36 AM] Lang files were updated successfully from GitHub
[7/25/2024 8:23:36 AM] Downloaded new icons and screenshots successfully!
[7/25/2024 8:23:36 AM] UniGetUI is up to date
[7/25/2024 8:23:37 AM] Command dotnet.exe was not found on the system
[7/25/2024 8:23:37 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: .NET Tool
                       █ Enabled: False
                       █ THE MANAGER IS DISABLED
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:38 AM] Command scoop was not found on the system
[7/25/2024 8:23:38 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Scoop
                       █ Enabled: True
                       █ Found: False
                       █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                       █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:38 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Npm
                       █ Enabled: False
                       █ THE MANAGER IS DISABLED
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:38 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Winget
                       █ Enabled: True
                       █ Found: True
                       █ Fancye exe name: winget.exe
                       █ Executable path: C:\Users\htmyn\AppData\Local\Microsoft\WindowsApps\winget.exe
                       █ Call arguments:
                       █ Version:
                       █   Naive WinGet CLI Version: v1.8.1911
                       █   Microsoft.WinGet.Client PSModule version:
                       █   Using Native WinGet helper (COM Api)
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:38 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Pip
                       █ Enabled: False
                       █ THE MANAGER IS DISABLED
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:41 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: PowerShell
                       █ Enabled: True
                       █ Found: True
                       █ Fancye exe name: powershell.exe
                       █ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
                       █ Call arguments:  -NoProfile -Command
                       █ Version:
                       █   Name                           Value
                       █   ----                           -----
                       █   PSVersion                      5.1.19041.4648
                       █   PSEdition                      Desktop
                       █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                       █   BuildVersion                   10.0.19041.4648
                       █   CLRVersion                     4.0.30319.42000
                       █   WSManStackVersion              3.0
                       █   PSRemotingProtocolVersion      2.3
                       █   SerializationVersion           <IP_ADDRESS>
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:42 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                       █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                       █ Name: Chocolatey
                       █ Enabled: True
                       █ Found: True
                       █ Fancye exe name: choco.exe
                       █ Executable path: C:\Users\htmyn\AppData\Local\UniGetUI\Chocolatey\choco.exe
                       █ Call arguments:
                       █ Version:
                       █   2.2.2
                       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[7/25/2024 8:23:43 AM] Resetting administrator rights cache for process id 4740
[7/25/2024 8:23:45 AM] Dependency WinGet PowerShell Module for manager Winget is present
[7/25/2024 8:23:45 AM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[7/25/2024 8:23:47 AM] Found 1 installed packages from Chocolatey
[7/25/2024 8:23:48 AM] Found 0 available updates from Chocolatey
[7/25/2024 8:23:48 AM] Found 1 installed packages from PowerShell
[7/25/2024 8:23:51 AM] Found 0 available updates from PowerShell
[7/25/2024 8:23:52 AM] Found 113 installed packages from Winget
[7/25/2024 8:23:52 AM] Found 1 available updates from Winget

Package Managers Logs
Manager Winget with version:
Naive WinGet CLI Version: v1.8.1911
Microsoft.WinGet.Client PSModule version:
Using Native WinGet helper (COM Api)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 7/25/2024 8:23:38 AM
Process end time:   7/25/2024 8:23:38 AM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\htmyn\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 7/25/2024 8:23:42 AM
Process end time:   7/25/2024 8:23:43 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListPackages
Subprocess executable: "C:\Windows\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 7/25/2024 8:23:42 AM
Process end time:   7/25/2024 8:23:52 AM

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 7/25/2024 8:23:43 AM
Process end time:   7/25/2024 8:23:43 AM

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is ListUpdates
Subprocess executable: "C:\Windows\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: "-ExecutionPolicy Bypass -NoLogo -NoProfile"
Process start time: 7/25/2024 8:23:43 AM
Process end time:   7/25/2024 8:23:52 AM

-- Process STDIN
 ...

-- Process STDOUT
 ...

-- Process STDERR
  Write-Output : The term 'Write-Output' is not recognized as the name of a cmdlet, function, script file, or
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
  again.
  At line:1 char:1
  + Write-Output (Get-Module -Name Microsoft.WinGet.Client).Version
  + ~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (Write-Output:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information
No response
Screenshots and videos
No response

Please try UniGetUI 3.1.1-beta3: https://github.com/marticliment/UniGetUI/releases/download/3.1.0/UniGetUI.Installer.exe


KeyError Iterating on empty HDFStore

list(pd.HDFStore("non_existing_store.hdf"))

should, I think, return [], instead it yields:
KeyError: 'No object named 0 in the file'

has nothing to do with an empty store, HDFStore is an iterable (e.g. has __getitem__ and __len__ defined), but not __iter__, so this essentially calls .get. I suppose it should just raise a better error message.
you are probably looking for .keys() (though I suppose __iter__ could just call that)

Sorry, I was mislead by HDFStore().root being iterable. I will implement the __iter__ you suggest.


HowTo: Hostmetrics with pure docker

Hi!
I am currenty struggeling with the setup of the metrics dashboards. Therefore, I would be glad, if you provide an example on how to setup things with a docker compose file.
What I have done so far:
  hostmetrics:
    root_path: /hostfs
    scrapers:
      # CPU utilization metrics
      cpu:
      # Disk I/O metrics
      disk:
      # File System utilization metrics
      filesystem:
      # CPU load metrics
      load:
      # Memory utilization metrics
      memory:
      # Paging/Swap space utilization and I/O metrics
      paging:

processors:
  batch:
    send_batch_size: 10000
    send_batch_max_size: 11000
    timeout: 10s
  resourcedetection:
    detectors: [ docker ]
    timeout: 2s

exporters:
  clickhousemetricswrite:
    endpoint: tcp://ENV_CLICKHOUSE_HOSTNAME:ENV_CLICKHOUSE_TCP_PORT/?database=signoz_metrics
    resource_to_telemetry_conversion:
      enabled: true

service:
  pipelines:
    metrics/hostsystem:
      receivers: [ hostmetrics ]
      processors: [ batch, resourcedetection ]
      exporters: [ clickhousemetricswrite ]

I have mounted the host file system to /hostfs.
I have started SigNoz and created a dashboard off the available ones in this repository, but every pane shows "No Data". Can you tell me, what I am missing? I would be willing to setup a Demo, in this repo, if you tell me. :)
Cheers!

I have configured them manually as the Dashboards provided in this repo seem to be out of date. Will close this for now.


Your script doesn't work on Ubuntu 18.04

Hello @daedalus  I faced such problem. I have been using Ubuntu 18.04 for calculations for a long time. It turned out that SageMath on Ubuntu 18.04 does not support Python 3.
Higher Ubuntu version crashes on my PC. From here I have to use Ubuntu 18.04 for calculations.
Your script is very great and I would like to rewrite it for Python 2.7, but unfortunately I poorly understand this language and do not know how to do it.
I saw here previously opened similar questions. I think I'm not the only one who faced this problem. Please help me fix your script to work in Python 2.7

I only use Debian, no support sorry.


Be able to take categorical input

I know I can convert string categories to 0,1,2,... and then pass to beeswarm, but it would be convenient to be able to pass the categories directly in.
xs::Vector{String} = ["a", "b"]
ys::Vector{Float64} = [1.0, 2.0]

beeswarm(xs, ys)

That should work already if you wrap in Makie.Categorical, but we probably need some dimension expansion defs here.

Thanks! Works perfectly. I hadn't seen that before.


Add build workflow

Just to add separate multi-os build workflow for the master branch only on every commit. I assume that the master branch is the main release branch.
Actually, this workflow needs run tests make dev.tools test but they are broken now.

oooooh this looks so cool<EMAIL_ADDRESS>I will merge first and try with the build flow. I think I need to write some test so that can see the effect clearer : p


Check client version from Remote

The system might stop working in case user client version of Fulcro inspect is outdated. We should verify and alert the user in case he is using some outdated version.

done


"Called when a keyword starts." is written in the documentation for the end_keyword method in listener's V3

"Called when a keyword starts." is written in the documentation for the end_keyword method in the listener's V3
In (latest - 7.0 version)
https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#listener-interface-versions
for listener version 3. Is this tiny 'copy-paste' bug:

Seems like a copy-paste bug. Good catch and thanks for reporting!


Update itemscontrol_itemspanel.md

Fixed ItemsControl's name in the sample code.

Did I do I right?

I don't see any changes. 😅


Replace mobile-unfriendly tooltips

Okay to use plain title="" for keyboard shortcuts, but let's not use it for stuff the user may actually want to interact with. Esp. the sync data tooltip. https://github.com/stevenbenner/jquery-powertip looks like it may be a straightforward drop-in w/ graceful fallback.

Done with https://github.com/eloquence/lib.reviews/commit/9691385476c96603000180f144b545c966bb4743


[$500] Web - Disable button's text is overflowing in Spanish

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login to ND
Click on Settings > Security > 2FA
Complete the setup

Expected Result:
Different copy like "Disable 2FA" in Spanish is used or it's two lines
Actual Result:
Text overflow is visible and part of the text is missing
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @aman-atg
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684441372492789
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ab79eed49b9345ae
Upwork Job ID:<PHONE_NUMBER>643518976
Last Price Increase: 2023-09-16

Proposal
Please re-state the problem that we are trying to solve in this issue.
Disable button's text is overflowing in Spanish
What is the root cause of that problem?
The text too long
What changes do you think we should make in order to solve the problem?
Update the text to :
English: Disable 2FA
Spanish: Deshabilitar 2FA
What alternative solutions did you explore? (Optional)

Hmm, I think we probably still wouldn't be fixing this - I read the other GH issue and I think @jliexpensify explanation still makes sense. Closing!


[Feature] Add Suggest for you card

What happened 👀
Following the design on Figma, the Home tab shows Suggested For you card
Insight 📝

Add the card to display the collection on the Home page.
Please notice that the T-shirt image and the badge on Profile will be corrected later on to match the design on Figma.

Proof Of Work 📹

@hoangnguyen92dn Add Suggest for your card 😸

@doannimble 🕵  Thank you 😄


Fix scalatags link

Old scalatags link returns 404.

Here is PR for branch series/0.21:  #4597

merged https://github.com/http4s/http4s/pull/4597 will come to 22 in the next forward merge


Unexpected result when using REPLACE

CrateDB version
CrateDB 5.7.0-SNAPSHOT built 571d6c6
CrateDB setup information
Manual build following the instructions here: https://github.com/crate/crate/blob/master/devs/docs/basics.rst
Problem description
Consider the test case below. It is unexpected that the second query returns a, because the result of the first query is a, and the predicate cannot be evaluated to TRUE or NULL at the same time. Thus, at least one of the two queries should return empty result.
Steps to Reproduce
DROP TABLE IF EXISTS t0;

CREATE TABLE t0(c0 VARCHAR(500));
INSERT INTO t0 (c0) VALUES ('a');
REFRESH TABLE t0;

SELECT * FROM t0; -- 'a'
SELECT * FROM t0 WHERE (REPLACE(NULL, t0.c0, 'b')) != 'a'; -- 'a' (unexpected)
SELECT * FROM t0 WHERE (((REPLACE(NULL, t0.c0, 'b')) != 'a') IS NULL); -- 'a'

-- Original test case:
SELECT * FROM t0 WHERE (NOT REPLACE(NULL, ((t0.c0) IS NULL), true)); -- 'a' (Unexpected)
SELECT * FROM t0 WHERE (((NOT REPLACE(NULL, ((t0.c0) IS NULL), true))) IS NULL); -- 'a'

Actual Result
as mentioned above
Expected Result
as mentioned above

Thanks for reporting, this is also fixed by https://github.com/crate/crate/pull/15514.


Transfer Function opacity slider is a no-op

Open a dataset
Add and enable a renderer
Move opacity slider to the right of transfer function and nothing happens

Fix: Disable

This is working for the TwoD renderer, but does not seem to work for Barbs or Contours on the current OSX (Nov 25) installer.

@sgpearse The opacity slider works as intended but transparency is not implemented for these renderers. I will close this and open a new issue.


Backtester error

I'm trying to use the backtester.js script and I'm getting this error
[ 175/176 ] zenbot.sh sim  --trend_ema=20 --oversold_rsi=34 --oversold_rsi_periods=25 --neutral_rate=0.1 --period=2m  --min_periods=52
zenbot.sh sim  --trend_ema=20 --oversold_rsi=33 --oversold_rsi_periods=25 --neutral_rate=0.1 --period=2m  --min_periods=52
/bin/sh: 1: zenbot.sh: not found

[ 176/176 ] zenbot.sh sim  --trend_ema=20 --oversold_rsi=35 --oversold_rsi_periods=25 --neutral_rate=0.1 --period=2m  --min_periods=52
zenbot.sh sim  --trend_ema=20 --oversold_rsi=34 --oversold_rsi_periods=25 --neutral_rate=0.1 --period=2m  --min_periods=52
/bin/sh: 1: zenbot.sh: not found

zenbot.sh sim  --trend_ema=20 --oversold_rsi=35 --oversold_rsi_periods=25 --neutral_rate=0.1 --period=2m  --min_periods=52
/bin/sh: 1: zenbot.sh: not found

Backtesting complete, saving results...

Results successfully saved to backtesting_1506370721.csv!

It says it was successful, however it didn't actually run any simulations and the .csv file it outputted is empty.
It says it can't find zenbot.sh. I tried running the command in the zenbot folder like this
./scripts/auto_backtester/backtester.js but it didn't solve anything.
Can somebody help me fix this? I tried npm install also and it didn't help. Thanks.

Can you pull the latest master and retry?

Yes I got the same error

This will be due to the changes I add to fix docker script execution. The call to zenbot.sh needs to be prefixed to ./zenbot.sh since we are no longer wrapping node.
I’ll send a push request to fix it tonight, but this is already done in the genetic backtester if you want to compare and fix yourself.
Sorry for the trouble, forgot about this scripting testing.

Fixed in #579


SDK 3 Working project

Hi guys!
I'm trying to make this work on SDK 3 but it is not working.

pebble convert-project
Pebble generated a new wscript that I merged with the old one

When I build the project I get lots of errors in simply. It seems that those errors are related to bitmap and colors.

I am having the same issue and I think this is a serious problem! Or did we do anything wrong?

@idoodler, I think this has something to do with the new SDK version and not with the Pebble.JS itself.
Simply has to adapt to the new SDK version.

Yes, that is correct, SDK 3 was such a surprise, it was a surprise to me as well! I will update pebble.js as soon as I get the chance. In addition to C changes, there may also be some JavaScript incompatibilities that I will have to work around.

If you need any help please ask me!
I'm an amateur using pebble but I can try :stuck_out_tongue:

There are presently no changes to PebbleKit JS in SDK 3.

@Katharine ah, well the surprise for me is gone! It should be simple then.

For tinkerers, feature-sdk-3 has the bare minimum source changes to make it work with SDK 3. I'll continue by adding better color support.
@Katharine @sarfata Let me know if it is safe or desirable for CloudPebble to have this branch merged into master, and I will do so!

Thanks @Meiguro! I'll give it a try

Build and install working. The demo app is also working @Meiguro

@Meiguro The wscript and the appinfo have been adapted automatically for me. But to make sure, that there is no error I replaced my wscript with the one you provided, I also checked the appinfo.json and there is no significant change, so I did not touched it. I then builded the project and I got a huge load of errors. I think there is another error.
Here is my terminal output:
"Last login: Sun Mar  1 19:26:49 on ttys000
You have mail.
Davids-MBP:~ David$ cd /Users/David/Downloads/pebblejs-master
Davids-MBP:pebblejs-master David$ pebble build
Setting top to                           : /Users/David/Downloads/pebblejs-master
Setting out to                           : /Users/David/Downloads/pebblejs-master/build
Found Pebble SDK for aplite in:          : /Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-ar
Found Pebble SDK for basalt in:          : /Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/basalt
Checking for program gcc,cc              : arm-none-eabi-gcc
Checking for program ar                  : arm-none-eabi-ar
'configure' finished successfully (0.056s)
Waf: Entering directory /Users/David/Downloads/pebblejs-master/build' [17/73] app_resources.pbpack.manifest: build/resources/aplite/fonts/UbuntuMono-Regular.ttf.MONO_FONT_14.pfo build/resources/aplite/images/logo_splash.pbi build/resources/aplite/images/LoxoneForPebble.pbi build/resources/aplite/images/minus.pbi build/resources/aplite/images/plus.pbi build/resources/aplite/images/push.pbi build/resources/aplite/images/up.pbi build/resources/aplite/images/info.pbi build/resources/aplite/images/close.pbi build/resources/aplite/images/error.pbi build/resources/aplite/images/success.pbi build/resources/aplite/images/warning.pbi ../../pebble-dev/PebbleSDK-3.0-dp1/Pebble/common/tools/pbpack_meta_data.py -> build/aplite/app_resources.pbpack.manifest [36/73] app_resources.pbpack.manifest: build/resources/basalt/fonts/UbuntuMono-Regular.ttf.MONO_FONT_14.pfo build/resources/basalt/images/logo_splash.png build/resources/basalt/images/LoxoneForPebble.png build/resources/basalt/images/minus.png build/resources/basalt/images/plus.png build/resources/basalt/images/push.png build/resources/basalt/images/up.png build/resources/basalt/images/info.png build/resources/basalt/images/close.png build/resources/basalt/images/error.png build/resources/basalt/images/success.png build/resources/basalt/images/warning.png ../../pebble-dev/PebbleSDK-3.0-dp1/Pebble/common/tools/pbpack_meta_data.py -> build/basalt/app_resources.pbpack.manifest [39/73] c: src/simply/simply_accel.c -> build/src/simply/simply_accel.c.39.o [40/73] c: src/simply/simply_menu.c -> build/src/simply/simply_menu.c.39.o [43/73] c: src/simply/simply_splash.c -> build/src/simply/simply_splash.c.39.o [44/73] c: src/simply/simply_stage.c -> build/src/simply/simply_stage.c.39.o [48/73] c: src/simply/simply_wakeup.c -> build/src/simply/simply_wakeup.c.39.o [48/73] c: src/simply/simply_window.c -> build/src/simply/simply_window.c.39.o ../src/simply/simply_accel.c: In function 'send_accel_tap': ../src/simply/simply_accel.c:42:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_accel.c:42:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers] cc1: all warnings being treated as errors ../src/simply/simply_splash.c: In function 'window_load': ../src/simply/simply_splash.c:28:46: error: 'RESOURCE_ID_IMAGE_TILE_SPLASH' undeclared (first use in this function) ../src/simply/simply_splash.c:28:46: note: each undeclared identifier is reported only once for each function it appears in ../src/simply/simply_menu.c: In function 'send_menu_item': ../src/simply/simply_menu.c:93:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_menu.c:93:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers] ../src/simply/simply_menu.c: In function 'request_menu_section': ../src/simply/simply_menu.c:198:3: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_menu.c:198:3: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers] ../src/simply/simply_menu.c: In function 'request_menu_item': ../src/simply/simply_menu.c:211:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_menu.c:211:5: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers] ../src/simply/simply_menu.c: In function 'handle_menu_section_packet': ../src/simply/simply_menu.c:417:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_menu.c:417:5: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers] ../src/simply/simply_menu.c: In function 'handle_menu_item_packet': ../src/simply/simply_menu.c:428:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_menu.c:428:5: error: (near initialization for '(anonymous).<anonymous>.<anonymous>.title') [-Werror=missing-field-initializers] ../src/simply/simply_menu.c: In function 'simply_menu_create': ../src/simply/simply_menu.c:480:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_menu.c:480:5: error: (near initialization for '(anonymous).window.window') [-Werror=missing-field-initializers] cc1: all warnings being treated as errors ../src/simply/simply_wakeup.c: In function 'send_launch_reason': ../src/simply/simply_wakeup.c:52:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_wakeup.c:52:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers] ../src/simply/simply_wakeup.c: In function 'send_wakeup_signal': ../src/simply/simply_wakeup.c:63:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_wakeup.c:63:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers] cc1: all warnings being treated as errors ../src/simply/simply_stage.c: In function 'send_animate_element_done': ../src/simply/simply_stage.c:117:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_stage.c:117:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers] ../src/simply/simply_stage.c: In function 'simply_stage_create': ../src/simply/simply_stage.c:625:3: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_stage.c:625:3: error: (near initialization for '(anonymous).window.window') [-Werror=missing-field-initializers] cc1: all warnings being treated as errors ../src/simply/simply_window.c: In function 'send_click': ../src/simply/simply_window.c:56:5: error: missing initializer [-Werror=missing-field-initializers] ../src/simply/simply_window.c:56:5: error: (near initialization for 'packet.packet.length') [-Werror=missing-field-initializers] cc1: all warnings being treated as errors Waf: Leaving directory /Users/David/Downloads/pebblejs-master/build'
Build failed
-> task in 'aplite/pebble-app.elf' failed (exit status 1):
{task<PHONE_NUMBER>: c simply_accel.c -> simply_accel.c.39.o}
['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__="simply_accel.c"', '../src/simply/simply_accel.c', '-c', '-o', 'src/simply/simply_accel.c.39.o']
-> task in 'aplite/pebble-app.elf' failed (exit status 1):
{task<PHONE_NUMBER>: c simply_splash.c -> simply_splash.c.39.o}
['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__="simply_splash.c"', '../src/simply/simply_splash.c', '-c', '-o', 'src/simply/simply_splash.c.39.o']
-> task in 'aplite/pebble-app.elf' failed (exit status 1):
{task<PHONE_NUMBER>: c simply_menu.c -> simply_menu.c.39.o}
['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__="simply_menu.c"', '../src/simply/simply_menu.c', '-c', '-o', 'src/simply/simply_menu.c.39.o']
-> task in 'aplite/pebble-app.elf' failed (exit status 1):
{task<PHONE_NUMBER>: c simply_wakeup.c -> simply_wakeup.c.39.o}
['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__="simply_wakeup.c"', '../src/simply/simply_wakeup.c', '-c', '-o', 'src/simply/simply_wakeup.c.39.o']
-> task in 'aplite/pebble-app.elf' failed (exit status 1):
{task<PHONE_NUMBER>: c simply_stage.c -> simply_stage.c.39.o}
['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__="simply_stage.c"', '../src/simply/simply_stage.c', '-c', '-o', 'src/simply/simply_stage.c.39.o']
-> task in 'aplite/pebble-app.elf' failed (exit status 1):
{task<PHONE_NUMBER>: c simply_window.c -> simply_window.c.39.o}
['arm-none-eabi-gcc', '-std=c99', '-mcpu=cortex-m3', '-mthumb', '-ffunction-sections', '-fdata-sections', '-g', '-Os', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=unused-function', '-Wno-error=unused-variable', '-fPIE', '-I/Users/David/Downloads/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/pebble-dev/PebbleSDK-3.0-dp1/Pebble/aplite/include', '-I/Users/David/Downloads/pebblejs-master/build', '-I/Users/David/Downloads/pebblejs-master', '-I/Users/David/Downloads/pebblejs-master/build/src', '-I/Users/David/Downloads/pebblejs-master/src', '-I/Users/David/Downloads/pebblejs-master/build/aplite', '-I/Users/David/Downloads/pebblejs-master/aplite', '-DRELEASE', '-DPBL_PLATFORM_APLITE', '-DPBL_BW', '-D__FILE_NAME__="simply_window.c"', '../src/simply/simply_window.c', '-c', '-o', 'src/simply/simply_window.c.39.o']
[ERROR   ] A compilation error occurred
Davids-MBP:pebblejs-master David$
"

@idoodler, it looks like you might be accidentally using the default wscript. For example, the -Wno-error=missing-field-initializers cflag in pebble.js' wscript is missing your compilation. I was able to reproduce your problem by creating a new pebble project and overwriting pebble.js' wscript with the newly generated one. pebble.js uses a custom wscript, so it's very important to use a wscript that is a derivative of pebble.js' rather than the SDK template. I've not yet merged the new wscript to master, did you checkout from the branch feature-sdk-3? I recommend directly copying the wscript and overwriting instead of resolving merge conflicts in this case unless you made some modifications.

@Meiguro Thanks for helping me, everything is working now:)

You're welcome @idoodler!
I've further updated feature-sdk-3 to be compatible with the new SDK 3.0-dp2 and the old SDK 2.9. SDK 3.0-dp2 introduces helpful macros which conflict with static inline functions in the branch that serve the same purpose, so a bit of resolution was necessary.

Is pebblejs working with dp3? Tried build just now on most recent version of this repo, got same errors as  @idoodler
Should i revert to dp2?

Here no problems with dp4.

On 24 Mar 2015, at 02:13, Mihir<EMAIL_ADDRESS>wrote:
Is pebblejs working with dp3? Tried build just now on most recent version of this repo, got same errors as @idoodler https://github.com/idoodler
Should i revert to dp2?
—
Reply to this email directly or view it on GitHub https://github.com/pebble/pebblejs/issues/31#issuecomment-85275591.

@mihirt If you are using WebStorm or any other IDE with a build in console you may need to execute the PebbleTools via the Terminal.app on your Mac. (Same on Linux??)
You can try it out, it may help you...

Hey I still get this issue! I'm using the most recent pull from here and am trying to load up an image. When I copy-pasted the app.js file into Cloudpebble, it worked fine. However, here on my linux machine its not.  The snippet of error that is returned I pasted below
[29/78] c: src/simply/simply_splash.c -> build/src/simply/simply_splash.c.17.o
[56/78] c: src/simply/simply_splash.c -> build/src/simply/simply_splash.c.18.o
[64/78] c: src/simply/simply_splash.c -> build/src/simply/simply_splash.c.19.o
[64/78] c: build/aplite/appinfo.auto.c -> build/aplite/appinfo.auto.c.19.o
[65/78] Start bundling:
../src/simply/simply_splash.c: In function 'window_load':
../src/simply/simply_splash.c:28:46: error: 'RESOURCE_ID_IMAGE_TILE_SPLASH' undeclared (first use i
n this function)
../src/simply/simply_splash.c:28:46: note: each undeclared identifier is reported only once for eac
h function it appears in
../src/simply/simply_splash.c: In function 'window_load':
../src/simply/simply_splash.c:28:46: error: 'RESOURCE_ID_IMAGE_TILE_SPLASH' undeclared (first use i
n this function)
../src/simply/simply_splash.c:28:46: note: each undeclared identifier is reported only once for eac
h function it appears in
../src/simply/simply_splash.c: In function 'window_load':
../src/simply/simply_splash.c:28:46: error: 'RESOURCE_ID_IMAGE_TILE_SPLASH' undeclared (first use i
n this function)
../src/simply/simply_splash.c:28:46: note: each undeclared identifier is reported only once for eac
h function it appears in

might this stem from having to having a menu icon?

apparently if I make everything in appinfo.json refer to the same image, I can cut out the default png images. However, I still need to keep the default entries. Weird.

I still have issues though. It seems that prior data is referring to some other entry or older version of the view. app.js never gets read, so no matter how I change it I get an ugly repeating tile view of the splash logo.


cannot PUT with boolean body

I am unable to use request with the Nest rest API as some variables have to be in boolean form.
for instance if I do
  var opts = "devices/thermostats/"+deviceID+
    "/"+variable+ //variable is fan_timer_active
    "?auth="+token;
  request.put({
    url:"https://developer-api.nest.com/"+opts,
    body: value, // value is true (boolean not string)
    followAllRedirects: true
  }, cb);

I get
TypeError: First argument needs to be a number, array or string.
    at new Buffer (buffer.js:188:15)
    at Request.self._buildRequest (/vagrant/node_modules/request/request.js:442:23)
    at Request.init (/vagrant/node_modules/request/request.js:638:10)
    at new Request (/vagrant/node_modules/request/request.js:131:8)
    at request (/vagrant/node_modules/request/index.js:47:10)
    at Function.request.put (/vagrant/node_modules/request/index.js:81:27)
...

if i use json instead of body it is interpreted as me setting the json flag to true, so nothing is sent in the content body. If I set json to true and body to true i get the same error & if I try to call toString() Nest gives me an error saying it is invalid type.
I was able to get it working with node https by doing:
function httpFollowRedPut(hostname, path, port, value, cb){
  var opts = {
    hostname: hostname,
    headers:{'content-type':'application/json'},
    port: port,
    path: path,
    method: 'PUT'
  }
  var req = http.request(opts, function(res){
    if (res.statusCode > 300 && res.statusCode < 400 && res.headers.location) {
      var location = url.parse(res.headers.location);
      httpFollowRedPut(location.hostname, location.path, location.port, value, cb)
    } else {
      if(res.statusCode !== 200)
        cb(new Error(res.statusCode));
      else
        cb()
    }
  });
  req.on('error', function(e) {
    cb(e);
  });
  if(!(value instanceof String))
    value = value.toString(); // not sure why i can toString() here but breaks in request

  req.write(value);
  req.end();
}

Try upgrading to the latest version, 2.51.0.  We recently fixed handling of non-object JSON values, the following works as expected for me:
var request = require('request');

require('request-debug')(request);

request.put({
    url  : 'http://nylen.tv/test.php',
    body : true,
    json : true
}, function(err, res, body) {
    console.log(err, res && res.statusCode, body);
});


Expand documentation about compile command inference for header files

Which part of the patch are you referring to?
I think adding mention of the CompDB workaround is important. It has come up over and over again in support channels (recall, I made a list :-), and there have been additional instances since then), and the CompDB workaround solves the problem for many users.


Font Request: Noto Fonts

Font Name
Noto fonts, e.g. Noto Sans Arabic UI
Link to font source
https://github.com/googlefonts/noto-fonts
Link to font license
SIL Open Font License (OFL) v1.1
Additional context
You already have Noto Sans and Noto Serif in a bunch of languages already but I'd be keen for broader support across other languages

This is a somewhat difficult request to process due to the sheer number of possible fonts and inconsistencies that might be associated with it.
It’s not something I want to blindly add when the Google Fonts team manages all the Noto fonts too, and I’m not sure when our implementations and their’s (when they finally add it) will conflict. There's a reason they themselves don't consider it production friendly yet.
The Google Fonts Early Access fonts are an option that I would be more willing to consider, but I'm still wary due to the aforementioned reasons. It's also very laborious requiring tons of manual checking on our end.

Ah I didn't realise they weren't released yet. Thanks for looking into it :)

I'll be closing this issue then since I don't think I'm willing to even include the Early Access fonts after reviewing their files. Thanks!

Hi, just wanted to double check on this; I see many Noto fonts on Google Fonts, and the Early Access page linked above shows that many have "graduated." Is it still expected that we cannot get Noto Naskh Arabic or Noto Kufi Arabic from Fontsource?

@schwigri, you're in huge luck. Just a few hours ago, the Fontsource libraries pulled in an update from Google Fonts. Seems like Google added pretty much ALL the Noto Sans fonts which include the ones you're looking for.
https://github.com/fontsource/fontsource/commit/cbdc12361b65d53948cef77e29bd729d287d65b4
Unfortunately, I am away from my desktop to actually publish those packages on NPM (still haven't fixed our auto-publishing bug oops). I can update it in around 4-5 days, however.

All Noto fonts have been published onto NPM.


PingPong_ScoreKeeper

Score Keeper
Project Description
This project aims to keep a score of two players playing ping pong (Can be used for any other game as well). Reset button nullifies the score to zero. Number of rounds can be alloted in the start of the game.
Stack:

[x] Html
[x] CSS
[x] JavaScript

It will look something like this :

hi @khushi-purwar ,Please asssigned me with this project. I will be making the pull request within 3 days of alloted time. #GSSOC22

I think someone else has already created and assigned himself this issue(Issue #250)  just before you  , so they aren't assigning you .Nonetheless if you think your issue is difft from #250 , you can surely self-assign it to yourself by typing /assign in the comment box here.

Yes @sm-sourabh , @BabyElias is right. The same issue is already assigned. You can create another issue.


Error uploading pdf files

Related to https://github.com/signnow/SignNowNodeSDK/issues/1
When trying to upload a pdf (right now it seems like any pdf with more than one page will fail), I receive this error message in the response body: { errors: [ { code: 65536, message: 'Must upload one file' } ] }
I have uploaded an example providing 2 pdf files, one that fails, and one that succeeds.
See reproducible error here: https://github.com/diego-pacheco/signnow-issue
cc: @tmcpro

The change I made for #1 broke the upload for large files. The way I originally had it was correct. The issue appears to be with Node.js. I have read through all of the documentation on streams and http request and tried different solutions posted on Stackoverflow by people with similar problems.
I posted a question (http://stackoverflow.com/questions/29222475/node-js-pipe-file-to-multipart-form-data-https-request-causes-next-request-to-ti) on Stackoverflow to see if anyone else might have any ideas. I will give it a couple days then submit a bug to Node.

@mfitchett we are going to roll back to the old version and keep the token in redis for now until we find a fix. Thanks
cc @diego-pacheco

Related to #1
When trying to upload a pdf (right now it seems like any pdf with more than one page will fail), I receive this error message in the response body: { errors: [ { code: 65536, message: 'Must upload one file' } ] }
I have uploaded an example providing 2 pdf files, one that fails, and one that succeeds.
See reproducible error here: https://github.com/diego-pacheco/signnow-issue
cc: @tmcpro

Old post but I'm using SignNow API to upload a .pdf and receive the same error message. How did you resolve this please @diego-pacheco? I've tried using a single-page test pdf file in a simple format (export from MS word) with no input fields. I've tried referring to the file using both relative and absolute paths. My Post request is sent to:
https://api-eval.signnow.com/document endpoint and I have a method that retrieves my Bearer token prior to my Post request being submitted.

Same here - using PHP SDK - same error. Tried guzzle client and multipart client - same errors. First error is Using self-signed certificate in chain, then once disabled peer verification response code 400 - Client error: POST https://api-eval.signnow.com/document resulted in a 400 Bad Request response: {"errors":[{"code":65579,"message":"Must upload one file"}]} ]. Whatever I try, still same. But when I inject some simple short string abcxyz - it will be shown in API logs dashboard. Checked also some other clients - cURL, PHP's file_get_contents via stream_context .. Looks like uploading standard PDF file not possible :-( API documentation also lacks return codes 400 for /document.


DRY-up generators by extracting common code and heroku-related code into separate modules.

I was trying to get the generator working on a heroku cedar app and ended up doing some cleanup which DRYs the generator codebase.
Ultimately I wasn't able to get the console command to play nice (a proper solution would probably require IO.popen or the like) so I fail explicitly.
Definitely room for review because this isn't a simple bugfix, so take a look.

Thank you again for this effort. We've now moved the repo to: https://github.com/airbrake/airbrake but would love to incorporated your changes. Please contact us directly via our support. We've something in mind.


New feature: Log summary of enforce results

This PR adds code to generate a summary of how many repos failed the check for each policy. The summary looks something like this when logged:
 {"severity":"INFO","area":"bot","count":20,
"results":{"Branch Protection":{"totalFailed":3},"Outside Collaborators":{"totalFailed":2}},
"time":"2022-06-09T16:16:23Z","message":"EnforceAll complete."}

This feature is useful for me as I configure and test Allstar because it gives me a preview of how many Github issues would be created if I set action: issue. It may also be just be a generally useful summary to have.
I also refactored the code slightly to allow unit testing EnforceAll.

Thanks for this! Looks good. Let me do a careful review early next week and we can get this in.

@jeffmendoza Yeah let me do that now

@jeffmendoza Sorry - there was a bad merge in there. I accidentally included the addition of the PrivateKey variable in operator.go:
https://github.com/ossf/allstar/pull/204/files#diff-ba47ad507bcb60c3742cd43fa19b772819c7f6737b1e2f3e7f08da2a5c739f94R108
If the next PR is going in shortly, it doesn't matter that much. But my bad.

Ah, no worries. Yes, I'll get that in shortly.
Thanks for all the changes! They will help folks for sure.
Also, FYI I want to namespace the env vars, so this will affect you. Watch out for that whenever you pull in a future rebase. I just created: #208


[GLUTEN-2785][CH] Optimize the setting of lib path

What changes were proposed in this pull request?
Currently, we configure the library(libch.so) path using spark.gluten.sql.columnar.libpath.
When running in yarn mode, the library will be uploaded to the YARN container's working directory using --files, which leads to a situation where we must set the libpath as ./libch.so in order to load the lib on the executor side. This also means that we need to set it in the same way on the driver side, which restricts the storage path of the library.
The patch fixes the loading path of the library on the executor side in yarn mode to be the filename of the library.
(Fixes: #2785)
How was this patch tested?
manual tests

@zzcclp Could you help review this? thx


Unexpected Behavior on Page Refresh with Input Field

Duplicate Check

[X] I have searched the opened issues and there are no duplicates

Describe the bug
When running the following code using flet run --web with Flet version 0.23.2, an issue occurs during a page refresh.
Observed Behavior:
After refreshing the page, the input field appears empty, but when clicking the button, it prints the previously entered value.
Browsers Tested:
Opera GX
Chrome
Safari
Code sample
Code
import flet as ft
import logging

logging.basicConfig(level=logging.DEBUG)

def main(page: ft.Page):
    txt = ft.TextField(label="Endereço de IP")
    btn = ft.ElevatedButton("Enviar", on_click=lambda e: print(txt.value))
    page.add(txt)
    page.add(btn)

ft.app(target=main)

To reproduce
Run the code above using flet run --web.
Access the web app for the first time and type something in the input field.
Click the button to print the value entered in the input field (works as expected).
Refresh the page using F5.
Expected behavior
After refreshing the page, the input field should retain the value that was previously entered, as the properties are expected to be saved in the session.
Screenshots / Videos

Captures
[Upload media here]

Operating System
macOS
Operating system details
Sonoma 14.5
Flet version
0.23.2
Regression
No, it isn't
Suggestions
This issue seems to affect the persistence of input values across page refreshes when using the web mode of Flet.
Logs
Logs
[Paste your logs here]

Additional details
No response

I believe this fixes an older closed issue #1205


Disallow user image upload by default

Is this suited for github?

[X] Yes, this is suited for github

Is your feature request related to a problem? Please describe.
Not all services want/need to include the ability to have user profile pictures. Allowing users to upload images can lend itself to abuse. Imagine a scenario where a malicious user uploads inappropriate/illegal content. This could expose a company to risk from storing these images. Because storing this data is very risky, the default behavior of better-auth should be to disallow user image upload.
Even if image upload is not possible via the client, the server's public HTTP API will allow it. A technically savvy user could upload a user image using a tool like Postman. Although we can prevent other users from seeing these images by simply not implementing user profile images within the client, it is still a risk to be storing user-provided image data in a company database.
Describe the solution you'd like
better-auth should provide safe defaults, so better-auth should disable user image upload by default.
I think either solution would work fine:

Create an enableImageUpload option in the betterAuth config object that defaults to false. If false, this would cause an error to be thrown any time an image (url or actual image data) is included in a signup/update user request. This would make sure that services have to explicitly opt-in to allowing users to upload images for their account.

Remove the 'image' column from the default user table schema. Create a plugin to work with images. This would be a larger refactor, but I think that this behavior feels more appropriate since images are not always a core feature of AuthN libraries. Moving this functionality to a plugin forces developers to opt-in before use by installing the plugin.

Describe alternatives you've considered
It is currently possible to write a plugin that blocks image upload by checking for the presence of "image" in request bodies. This can prevent users from uploading images.
However, not all services/companies may be aware that it is even possible to upload images. Making image upload opt-in only ensures that services are not accidentally exposing themselves to risk. It also gives developers a chance to pause and reflect on the risk they are about to take on before enabling the feature.
Additional context
Great project! Loving this so far...keep up the great work! This is the best AuthN library I have seen in JS ecosystem by a long margin. The fact that this is still an early iteration of the project makes me very excited for the future.

Hey, thanks for the kind words! we're planning to make non-essential user fields like image, name, and so on configurable. But that said, image upload isn't managed by us. it's just a database field. So, people can't really upload images other than filling the value with random data. This can still be prevented by using database hooks, the upcoming hooks feature, or by creating a plugin.


possible implementation of datasource extension/property

Describe what this PR does / why we need it
A simple implementation for datasource extension, which
attempt to get rid of 'Property Converter' for lacking generic in golang.
Just simply opening the subject for discussion.
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

👍 We could discuss here: #7


Unhandled Exception: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4334 pos 12: '': is not true. while switching between screens

Code

dashboard.dart

import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'constants/constants.dart';
import 'orders.dart';
import 'package:http/http.dart' as http;

class Dashboard extends StatefulWidget {
  Dashboard({Key key, this.username, this.password}) : super(key: key);

  final String username;
  final String password;

  @override
  DashboardMain createState() => DashboardMain();
}

class DashboardMain extends State<Dashboard> {
  Future<String> getOrders(String password, String username) async {
    if (password == "" || username == "") {
      print("None!");
      return "None";
    } else {
      var response = await http.get(SERVER_URL_ORDERS +
          "?username=" +
          username +
          "&password=" +
          password);
      return response.body.toString();
    }
  }

  Widget build(BuildContext context) {
    double width = MediaQuery.of(context).size.width;
    double height = MediaQuery.of(context).size.height;

    String username = widget.username;

    return MaterialApp(
      routes: {
        'orders': (context) => Orders(
              username: widget.username,
              password: widget.password,
            ),
      },
      home: Scaffold(
        body: Column(children: <Widget>[
          Container(
            height: 25,
          ),
          Text(
            "Hello, " + username,
            style: TextStyle(fontWeight: FontWeight.bold, fontSize: 30),
          ),
          Text(
            "Welcome to the Dashboard",
            style: TextStyle(fontWeight: FontWeight.bold, fontSize: 15),
          )
        ]),
        appBar: AppBar(title: Text("Dashboard")),
        drawer: Drawer(
          child: ListView(
            padding: EdgeInsets.zero,
            children: <Widget>[
              DrawerHeader(
                child: Text("Dashboard"),
                decoration: BoxDecoration(
                  color: Colors.blue,
                ),
              ),
              ListTile(
                title: Text("Dashboard"),
              ),
              ListTile(
                title: Text('Orders'),
                onTap: () async {
                  var json = await getOrders(widget.password, widget.username);
                  Navigator.push(
                    context,
                    MaterialPageRoute(
                        builder: (context) => Orders(
                            username: widget.username,
                            password: widget.password,
                            json: json)),
                  );
                },
              ),
            ],
          ),
        ),
      ),
    );
  }
}

orders.dart

import 'package:flutter/material.dart';
import 'package:onlineprinterapp/dashboard.dart';

class Orders extends StatefulWidget {
  Orders({Key key, this.title, this.username, this.password, this.json})
      : super(key: key);

  final String title;
  final String username;
  final String password;
  final String json;

  @override
  OrdersMain createState() => OrdersMain();
}

class OrdersMain extends State<Orders> {
  Widget build(BuildContext context) {
    double width = MediaQuery.of(context).size.width;
    double height = MediaQuery.of(context).size.height;

    print(widget.json);

    return MaterialApp(
        home: Scaffold(
      body: Column(
        children: <Widget>[Text("OK")],
      ),
      appBar: AppBar(title: Text("App")),
      drawer: Drawer(
        child: ListView(
          padding: EdgeInsets.zero,
          children: <Widget>[
            DrawerHeader(
              child: Text("App"),
              decoration: BoxDecoration(
                color: Colors.blue,
              ),
            ),
            ListTile(
              title: Text("Dashboard"),
              onTap: () {
                Navigator.push(
                  context,
                  MaterialPageRoute(
                      builder: (context) => Dashboard(
                            username: widget.username,
                            password: widget.password,
                          )),
                );
              },
            ),
            ListTile(
              title: Text('Orders'),
            ),
          ],
        ),
      ),
    ));
  }
}

Expected results:
Go to screen called Orders without problem
Actual results:
[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4334 pos 12: '<optimized out>': is not true.

Logs

[        ] D/ViewRootImpl@ae397bc[MainActivity](20836): MSG_RESIZED: frame=(0,0,720,1600) ci=(0,68,0,84) vi=(0,68,0,84) or=1
[  +26 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): Relayout returned: old=(0,0,720,1600) new=(0,0,720,1600) req=(720,1600)0 dur=11 res=0x1 s={true<PHONE_NUMBER>84} ch=false
[ +321 ms] I/flutter (20836): {body: OK, info: Authorized, loginType: 1, responseCode: 200, userId: 2}
[   +8 ms] I/flutter (20836): Another exception was thrown: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4334 pos 12: '<optimized out>': is not true.
[ +408 ms] I/flutter (20836): {body: OK, info: Authorized, loginType: 1, responseCode: 200, userId: 2}
[  +11 ms] I/flutter (20836): Another exception was thrown: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4334 pos 12: '<optimized out>': is not true.
[+1508 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 0
[ +138 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 1
[+4491 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 0
[ +104 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 1
[+4291 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 0
[  +96 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 1
[+3517 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 0
[  +60 ms] D/ViewRootImpl@ae397bc[MainActivity](20836): ViewPostIme pointer 1
[ +314 ms] E/flutter (20836): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/widgets/navigator.dart': Failed assertion: line 4334 pos 12: '<optimized out>': is not true.
[        ] E/flutter (20836): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
[        ] E/flutter (20836): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
[        ] E/flutter (20836): #2      NavigatorState._pushEntry (package:flutter/src/widgets/navigator.dart:4334:12)
[        ] E/flutter (20836): #3      NavigatorState.push (package:flutter/src/widgets/navigator.dart:4270:5)
[        ] E/flutter (20836): #4      Navigator.push (package:flutter/src/widgets/navigator.dart:2091:35)
[        ] E/flutter (20836): #5      DashboardMain.build.<anonymous closure> (package:onlineprinterapp/dashboard.dart:83:29)
[        ] E/flutter (20836): <asynchronous suspension>
[        ] E/flutter (20836): #6      DashboardMain.build.<anonymous closure> (package:onlineprinterapp/dashboard.dart)
[        ] E/flutter (20836): #7      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:985:20)
[        ] E/flutter (20836): #8      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:1101:38)
[        ] E/flutter (20836): #9      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:183:24)
[        ] E/flutter (20836): #10     TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:598:11)
[        ] E/flutter (20836): #11     BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:287:5)
[        ] E/flutter (20836): #12     BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:259:7)
[        ] E/flutter (20836): #13     GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:157:27)
[        ] E/flutter (20836): #14     GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:372:20)
[        ] E/flutter (20836): #15     GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:348:22)
[        ] E/flutter (20836): #16     RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:268:11)
[        ] E/flutter (20836): #17     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:303:7)
[        ] E/flutter (20836): #18     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:267:5)
[        ] E/flutter (20836): #19     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:225:7)
[        ] E/flutter (20836): #20     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:208:7)
[        ] E/flutter (20836): #21     _rootRunUnary (dart:async/zone.dart:1206:13)
[        ] E/flutter (20836): #22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[        ] E/flutter (20836): #23     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005:7)
[        ] E/flutter (20836): #24     _invoke1 (dart:ui/hooks.dart:265:10)
[        ] E/flutter (20836): #25     _dispatchPointerDataPacket (dart:ui/hooks.dart:174:5)

   info - Unused import: 'package:fluttertoast/fluttertoast.dart' - lib\dashboard.dart:3:8 - unused_import
   info - This function has a return type of 'FutureOr<String>', but doesn't end with a return statement - lib\dashboard.dart:19:18 - missing_return
   info - The value of the local variable 'prefs' isn't used - lib\dashboard.dart:20:23 - unused_local_variable
   info - The value of the local variable 'width' isn't used - lib\dashboard.dart:38:12 - unused_local_variable
   info - The value of the local variable 'height' isn't used - lib\dashboard.dart:39:12 - unused_local_variable
   info - The value of the local variable 'usertext' isn't used - lib\dashboard.dart:42:12 - unused_local_variable
   info - The value of the local variable 'width' isn't used - lib\login.dart:38:12 - unused_local_variable
   info - The value of the local variable 'height' isn't used - lib\login.dart:39:12 - unused_local_variable
   info - Unused import: 'dart:convert' - lib\old\error_login.dart:1:8 - unused_import
   info - Name non-constant identifiers using lowerCamelCase - lib\old\error_login.dart:7:24 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\old\error_login.dart:7:41 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\old\error_login.dart:7:58 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\old\error_login.dart:10:16 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\old\error_login.dart:11:16 - non_constant_identifier_names
   info - Name non-constant identifiers using lowerCamelCase - lib\old\error_login.dart:12:16 - non_constant_identifier_names
   info - The value of the local variable 'width' isn't used - lib\old\error_login.dart:20:12 - unused_local_variable
   info - The value of the local variable 'height' isn't used - lib\old\error_login.dart:21:12 - unused_local_variable
   info - The value of the local variable 'width' isn't used - lib\orders.dart:19:12 - unused_local_variable
   info - The value of the local variable 'height' isn't used - lib\orders.dart:20:12 - unused_local_variable
   info - The value of the local variable 'pref' isn't used - lib\wrappers\preferences.dart:36:11 - unused_local_variable
   info - The value of the local variable 'pref' isn't used - lib\wrappers\preferences.dart:38:11 - unused_local_variable
   info - The value of the local variable 'pref' isn't used - lib\wrappers\preferences.dart:40:11 - unused_local_variable

[√] Flutter (Channel dev, 1.23.0-18.0.pre, on Microsoft Windows 7 [Version 6.1.7601])
    • Flutter version 1.23.0-18.0.pre at D:\flutter2\flutter
    • Framework revision 37ebe3d82a (4 months ago), 2020-10-13 10:52:23 -0700
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.11.0 (build 2.11.0-213.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\User\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.52.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.19.0

[√] Connected device (4 available)
    • SM A217F (mobile) • R58N70B39YW • android-arm64  • Android 10 (API 29)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 6.1.7601]
    • Web Server (web)  • web-server  • web-javascript • Flutter Tools
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 88.0.4324.150

! Doctor found issues in 1 category.

I'm really desperate, since I 1 week ago had a same issue on other screen, and I had to rewrote it, but, even though I rewrote this one, it still doesn't work.
I tried everything, I could find on web, but I just couldn't solve this problem... :cry:

Figured it out, I had a setState() during build...


feat(source): change row format syntax

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
BREAKING CHANGES will breaks the syntax of create table with connector and create source. But there no changes for meta data as for now.
a part of https://www.notion.so/733c586e98574c0db2e11a1a4ca7dda3

introduce ROW FORMAT parameters sytax
deprecate the old key word "MESSAGE", "ROW SCHEMA LOCATION", "CONFLUENT SCHEMA REGISTRY" and "WITHOUT HEADER", "DELIMITED BY"(used for csv).
add ROW FORMAT options "schema.location", "schema.registry", "message", "delimiter", "without_header"
this PR only change the syntax but do not change the behavior, in other words, after processing known ROW FORMAT options, the fe will add all ROW FORMAT options into properties. We still need to separate them in future PR.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

Documentation

[ ] My PR contains user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

thanks for your effort!


/commit only for files in staged status

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that requests the same enhancement

Problem
The current command \commit git diff collects data about all files and changes. It would be better if it (or another new command) collected information only about the files I have staged for commit, rather than just ALL files.
Solution
use git diff --staged (or git diff --cached) to see the diff that will be used when committing.

          const staged = await repo.diff(true);
          const unstaged = await repo.diff(false);
          diffs.push(`${staged}
${unstaged}`);
        }

maybe it would be good to have a setting here for those who need it

We actually have a PR open for this right now! https://github.com/continuedev/continue/pull/1948
Should be merged shortly.

@Patrick-Erichsen Do you know how do I customize the commit message template?

You can write a prompt file to achieve this @MahbodHastam: https://github.com/continuedev/continue/blob/f19cec4e0944773142b3d6414e2b76f38bcf3f66/docs/docs/customize/deep-dives/prompt-files.md


Including a custom icon set as part of the build

[x] Review the documentation: https://github.com/oblador/react-native-vector-icons
[x] Search for existing issues (including closed ones): https://github.com/oblador/react-native-vector-icons/issues

Environment
Android

Description
I have included a custom icon set I've created like so:
Icons.ts:
import {createIconSetFromIcoMoon} from 'react-native-vector-icons';

import icoMoonConfig from '../../assets/fonts/selection.json';
export default createIconSetFromIcoMoon(icoMoonConfig);

The .ttf and .json files are both in PROJECT_ROOT/assets/fonts. I've copied the .ttf file to android/app/src/main/assets/fonts (and that worked fine until I updated the .ttf file).
Everything worked fine until I overwrote my .ttf file with a new one, adding some new icons. These new icons show up fine in the Android simulator but the Android release build on a real Android device doesn't pick them up. The symptom is that all icons from my old .ttf are visible but none of the new ones are. I've unziped the bundle to double-check that the new .ttf is there and it is.
I'm at a loss here. What's the right way to include and update a custom .ttf font file using this package? Is there some caching on-device (of the font?) that could cause the new font to not get used?
Demo
N/A. Internal app/font set.

We’ve just released a major new version with significant changes and improvements. If you’re still experiencing this issue after upgrading, please open a new issue with updated details. We're closing all the very old issues to get on top of things. Thanks for your patience!


Add unittests for setting parameters

This also restructures the original code to aid testing it, mainly
making it more functional.

@sulami should we close this?

Probably for the best, porting this forward won't be worth the effort.


fix redistribution endpoint for light / ultralight modes

available only on full nodes

fixed in

https://github.com/rampall/doctor-bee/commit/4f48270b96dcdd39b4a57e1fbc0f5df26f91c979


Publication on gMaven requires JDK21+

Presumably, this requirement isn't intentional. I did some testing and found two distinct errors depending on AGP version used and whether or not ext.lintVersion is specified as documented:
Error ❌1:

Could not load custom lint check jar file [..]/com.android.security.lint/lint/1.0.0/a0d1f9c8ecd5f10d136e1be580ff6e0bc3f6ae2a/lint-1.0.0.jar
java.lang.UnsupportedClassVersionError: com/example/lint/checks/IssueRegistry has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

Error ❌2:

Error verifying bytecode in [...]/com.android.security.lint/lint/1.0.0/a0d1f9c8ecd5f10d136e1be580ff6e0bc3f6ae2a/lint-1.0.0.jar
java.lang.IllegalArgumentException: Unsupported class file major version 65

AGP
JDK
ext.lintVersion
Result

8.5.2
17
unspecified
❌1

$${\color{green}"31.5.1"}$$
❌1

21
unspecified
✅

$${\color{green}"31.5.1"}$$
✅

8.5.0
17
unspecified
❌1

$${\color{green}"31.5.1"}$$
❌1

21
unspecified
✅

$${\color{green}"31.5.1"}$$
✅

8.4.0
17
unspecified
❌1

$${\color{green}"31.5.1"}$$
❌1

21
unspecified
✅

$${\color{green}"31.5.1"}$$
✅

8.2.1
17
unspecified
❌1

$${\color{green}"31.5.1"}$$
❌1

21
unspecified
❌2

$${\color{green}"31.5.1"}$$
✅

Hey jozuasijsling-ing@, thanks for opening the issue. You're absolutely right, I must've compiled the library with a newer JDK version. I've now reuploaded it after compiling it with JDK 17, and you can access this with version 1.0.1.
Let me know if you're still having issues after trying the new version (I'll leave this issue open for you to close, once you confirm the issue is actually fixed).
Thanks for trying out the android-security-lints library :D

Works for me! Thanks @bjiang7.


can not paste

Version: 1.0.77
Platform: mac 10.14.5
Plugins: none

sorry i do not know need setting


Remove acquireFileService hack

Fixes: https://github.com/Microsoft/vscode/issues/69230
Removed the hack in ConfigurationService to acquireFileService. There is a new service ConfigurationFileService that takes care of

reading files when file service is not available
adopting to file service when gets access to it

This happens outside ConfigurationService which makes it cleaner and removes the hack we have.
@bpasero
It needed a change in FileService2 to expose when it is ready so that ConfigurationFileService also changes its behaviour accordingly.

Cannot create IConfigurationFileService in ConfigurationService because ConfigurationFileService impl is in node namespace as it is using node libraries to read files from disk until file service is ready. When FileService is capable of handling files on disk requests from start up, then I can remove it and ConfigurationService can create a small util (which is exactly same as below) inside itself.
https://github.com/Microsoft/vscode/blob/c8bbe643dc513fac0efbf44438d6a0e43ff5e93d/src/vs/workbench/services/configuration/common/configuration.ts#L50


Confusing NOTICE file in liquibase-core JAR

Environment
Liquibase Version: 3.9.0
Description
The liquibase-core JAR file (eg. at https://repo1.maven.org/maven2/org/liquibase/liquibase-core/3.9.0/liquibase-core-3.9.0.jar) contains META-INF/NOTICE which appears to include the Jackson NOTICE file contents. We could not find any artifacts in the JAR that would have been derived from Jackson.
Does the package contain something from Jackson, is it a case of the same NOTICe file being reused in the wider Liquibase project, or something else?
Steps To Reproduce
curl -O https://repo1.maven.org/maven2/org/liquibase/liquibase-core/3.9.0/liquibase-core-3.9.0.jar
unzip -c liquibase-core-3.9.0.jar META-INF/NOTICE
``

## Actual Behavior

Includes Jackson NOTICE.

## Expected/Desired Behavior

Did no expect to see Jackson NOTICE contents.

┆Issue is synchronized with this [Jira Bug](https://datical.atlassian.net/browse/LB-302) by [Unito](https://www.unito.io/learn-more)

Hi @tazle.  If you look under the META-INF/services directory there are 3 classes from jackson that are included in the jar file.

Issue #1051 describes the issues that some are having from including these files.

Hi @tazle Does this answer your question about expected results?

Hi, yes, thank you.


Fixes tree view resizing for Qt5

Following the discussion for #5, here is a PR that implements the discussed changes.

Is this already addressed by #11?

Looks like it. I didn't see it when reading #5. Such a simple fix combined with such an annoying and functionality breaking bug that I was dumbfounded that this hadn't been fixed earlier. I'll close mine. Please incorporate #11 into the next release.


Definition Location

How is Definition Location different than assignment. Cant I create a policy and choose to apply it at different subscriptions (not necessarily through management group). If this is the case, can't i have a policy defined once and use it anywhere based on the assignment?

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

ID: d956852a-d98e-c022-d6f2-c2910afe6e93
Version Independent ID: 8107b348-d2b4-214e-2b18-bf813f1fe1e8
Content: Azure Policy definition structure
Content Source: articles/azure-policy/policy-definition.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@badalk - Thanks for the question!  Let's see if I can help clear things up.
Definition location - This is where you 'store' the policy (or initiative) definition. It can be in a subscription or at a management group. In order to be assigned to a resource (management group / subscription / resource group), that resource must be within the scope of the definition location. Here are two examples:

If you have no management groups and save a policy definition in Sub A. Only Sub A and resources in Sub A can be targeted by an assignment of that definition. Resources in Sub B would be out of scope.
If you have a management group comprised of Sub A and Sub B and save a policy definition in the management group, resources in both Sub A and Sub B would be in scope and could have the definition assigned to them.

Assignment - This is the connection of a rule (policy or initiative), a target resource, and a set of parameters. Any time you have a different element within that set of 3, you would want a new assignment.  So long as all three are the same, it can be a single assignment. Compliance and Non-compliance are based on the assignment object and it evaluates the resources in scope of the assignment. The assignment could target any resource in scope of the definition location of the policy/initiative it is assigning, but they don't have to be the same.  The assignment could be a subset of what would be allowed by the definition location.
Let me know if that clears things up!
@MicrosoftDocs/azure-cxp-triage Please label as 'product-question', assign to me, and #in-progress.

@badalk - Just checking in.  Did my comment answer your questions?

Thanks @DCtheGeek. This clarifies

@badalk Great, glad to hear it!  Let us know if you have more questions or doc issues.
@MicrosoftDocs/azure-cxp-triage #please-close


Describe how to use proposed api

I wanted to use proposed api for folding, but I struggled understand how to use it.
The link says that I have to copy the file and add "enableProposedApi": true.
I did it, but I couldn't use api because it couldn't be found.
After 4 hours struggling I asked people on Gitter and they said that I should have been copied declaration of proposed api I'm interested in to vscode.d.ts
I think it should be mentioned somewhere.
I'd suggest giving it a separate section: here (in the end for an example) and here (in the end for an example). It also should mention that I have to use dev.
What do you think?

Please write the directions directly in the vscode.proposed.d.ts file. People that are looking at the new API will then easily know how to give it a spin in their own extension.

/findDuplicate

https://github.com/Microsoft/vscode/issues/33358

It's not a duplicate since what I'm suggesting is to document how to use it, not to add autocomplete to package.sjon.


Dynamic endpoint configuration (i.e. via Consul)

Feature request: Dynamic discovery of endpoints via Consul; similar to the discovery mechanisms used by Prometheus.
I have a deployment of ~160 docker engines I'd like to manage via Portainer, secured using TLS and the same CA. Each engine automatically registers with Consul both as a node and a service.
Because teams bring up new engines quite often, it'd be great if these just appeared in the Portainer endpoint list automatically, via a query to Consul's catalog.
For now, I'll write a bridge to query Consul and write to the Portainer API, but I wanted to raise this request here as a consideration for a native Portainer feature.
Thanks!

Agree, that'd be a great integration !

+1

In the end, I used consul-template with the following template to generate endpoints.json from a docker-engine consul service:
{{- $services := service "docker-engine|any" -}}
{{- $total_services := len $services | subtract 1 -}}
[
{{ range $i, $e := $services }}
  {
    "Name": "{{ $e.Node }}",
    "URL": "tcp://{{ $e.Address }}:{{ $e.Port }}",
    "TLS": true,
    "TLSSkipVerify": true,
    "TLSCACert": "/certs/ca.pem",
    "TLSCert": "/certs/cert.pem",
    "TLSKey": "/certs/key.pem"
  }{{ if lt $i $total_services }},{{ end }}
{{ end }}
]

I have a docker client certificate in /certs. This file gets rendered to /endpoints/endpoints.json and passed to Portainer with --external-endpoints=/endpoints/endpoints.json.
I'm afraid my JS-foo isn't strong enough to actually implement it as a Portainer feature, but maybe someone can :)

I think it would be preferable to add this as a consul integration rather than an automated scripted way using --external-endpoints. E.g. in app settings to configure Consul integration.
But thanks for sharing that @mcoms ! :+1: