Validation fixes

Category

[ x] Content fix

Docs Build status updates of commit 5a7d968:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/schema/lobsystems-element-in-model-bdcmetadataresource-schema.md
:warning:Warning
View
Details

docs/schema/lobsystems-element-in-model-bdcmetadataresource-schema.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

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

Global effort to fix build validation errors
@VesaJuvonen
The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you'd like to see. Thank you!


is it possible to add cloud-init support in the stemcell?

It's been discussed but would be a large undertaking. I'm going to close this as it's unlikely we'll be thinking about this anytime soon


[e2e] Induce pool failure when the backup is in progress.

Test implementation to induce cstor pool failure when velero backup is in progress.

https://github.com/openebs/e2e-tests/pull/175


Add support to enable trace recording

Playwright supports recording and displaying traces. It could be handy to add support for recording traces and perhaps adding command to launch the trace viewer.

I think this is what cypress is famous about.

Not yet fully done. needs wrapper to view traces.


org.apache.dubbo.registry.multicast.MulticastRegistry#checkMulticastAddress

[x] I have searched the issues of this repository and believe that this is not a duplicate.
[x] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.4-SNAPSHOT
Operating System version: win10
Java version: 1.8

Steps to reproduce this issue

这个地方的判断是不是写反了，ipv4的地址要提示ipv6的报错。

Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

Has been fixed


GCC-High support

Just wanted to inquire if this works with a GCC-High tenant? Could not find any information on if it supports it or not.
Thanks. :)

Yes it does support GCC


Fixes #2181 - Adds configuration manager

Fixes #2181
Adds a Configuration Manager.
Configuration Management
Terminal.Gui provides settings and configuration management for Terminal.Gui applications.
Configuration Files
The ConfigurationManager  class provides a simple way to load and save configuration files. The configuration files are simple JSON files. The ConfigurationManager class provides a simple way to load and save configuration files. The configuration files are simple JSON files.
Users can set Terminal.Gui settings on a global or per-application basis by providing JSON formatted configuration files.
The The ConfigurationManager will look for configuration files in the .tui folder in the user's home directory (e.g. C:/Users/username/.tui or /usr/username/.tui), the folder where the Terminal.Gui application was launched from (e.g. ./.tui), or as a resource within the Terminal.Gui application's main assembly.
Settings that will apply to all applications (global settings) reside in files named config.json. Settings that will apply to a specific Terminal.Gui application reside in files named appname.config.json, where appname is the assembly name of the application (e.g. UICatalog.config.json).
Settings are applied using the following precedence (higher precedence settings overwrite lower precedence settings):

App specific settings found in the users's home directory (~/.tui/appname.config.json). -- Highest precedence.

App specific settings found in the directory the app was launched from (./.tui/appname.config.json).

App settings in app resources (Resources/config.json).

Global settings found in the the user's home directory (~/.tui/config.json).

Global settings found in the directory the app was launched from (./.tui/config.json).

Default settings defined in the Terminal.Gui assembly -- Lowest precedence.

What Can Be Configured
Currently these settings can be configured:

Settings for the Application class.

QuitKey
AlternateForwardKey
AlternateBackwardKey
UseSystemConsole
IsMouseDisabled
HeightAsBuffer

ColorSchemes - Both the default color schemes and user defined color schemes can be configured. See ColorSchemes for more information.

Example Configuration File
{
  "@schema": "https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json",
  "Settings": {
    "QuitKey": {
      "Key": "Esc"
    }
  },
  "ColorSchemes": {
    "UICatalog": {
      "Normal": {
        "Foreground": "White",
        "Background": "Black"
      },
      "Focus": {
        "Foreground": "Black",
        "Background": "BrightYellow"
      },
      "HotNormal": {
        "Foreground": "BrightYellow",
        "Background": "Black"
      },
      "HotFocus": {
        "Foreground": "White",
        "Background": "BrightYellow"
      },
      "Disabled": {
        "Foreground": "White",
        "Background": "Gray"
      }
    }
  }
}

Configuration File Schema
Settings are defined in JSON format, according to the schema found here:
https://gui-cs.github.io/Terminal.Gui/schemas/tui-config-schema.json
Current PR Status
What's Missing:

[ ] No View specific settings supported yet (but I have a plan)

Question (@BDisp & @tznind esp):
Should VisualStyleManager be a sub-set of a broader config/settings manager? Or should I keep the whole thing scoped to just visual settings?

Question (@BDisp & @tznind esp):
Should VisualStyleManager be a sub-set of a broader config/settings manager? Or should I keep the whole thing scoped to just visual settings?

I think its best to develop one thing (e.g. color management) but architect it so its easy to add new features (e.g. use shadow buttons) and 'feature adjacent' stuff (e.g. custom keybindings). later on.
It would be nice if there was one file that had all the settings in them and for the schema to be able to grow over time (e.g. into keybindings etc).
A single file (with the override mechanic you have discussed) will be easier for a developer to maintain etc.

Haven't looked in detail at this new PR but it sounds awesome!
There are various UIs and code in TerminalGuiDesigner around creating/setting ColorScheme that might be of interest if you are wanting to have a UICatalog Scenario where you can change colors on demand.  Or it may be easier just to write again as it's not that complicated.
TerminalGuiDesigner color scheme UIs can be seen in this discussion:
https://github.com/gui-cs/Terminal.Gui/discussions/1887
This is the PR where ColorScheme editing was added:
https://github.com/gui-cs/TerminalGuiDesigner/pull/33

Check out the latest. It's pretty slick.

Question (@BDisp & @tznind esp):
Should VisualStyleManager be a sub-set of a broader config/settings manager? Or should I keep the whole thing scoped to just visual settings?

I think that only one file that include all the config/settings with different sections is the better option.

Here's the current config file in this PR.
config.json
Note that it has two primary sections:

ApplicationSettings (which I think I'll rename to Settings)
VisualStyles

Here's the schema (does not yet have Settings defined yet.
[tui-config-schema.json]](https://github.com/gui-cs/Terminal.Gui/blob/5b4c9bae70c58d6af4eb5da0309b542aa5c0e61a/docfx/schemas/visualstyle-schema.json)

ApplicationSettings (which I think I'll rename to Settings)

Everything on a config file is related to settings and I think that only rename to Application is enough.

Got a crash on startup of UICatalog from .tui folder not existing.  Sent a fix https://github.com/tig/Terminal.Gui/pull/7

Ok y'all. This beast is ready for your review.
Check out

The UI Catalog scenario "Configuration Editor"

Edit one of the files and add a ColorScheme named "FarOut" that is distinctive. Then go back to UI Config and use the ColorS Schemes menu to select it.

I already test it and I like very much the way you organize all the precedence settings. Congrats for your great work and thanks for you provide all this.

Now includes themes!!!
Czech it out!

Check out the new Dark & Light themes. Let me know what you think of them and tweaks you might suggest.
I am going to add one more setting (likey default Border style) to prove my schema is flexible enough and then call this thing done. We can add more later...

#2258 has given me a thought...
Apps want to have their own settings persisted. I have not considered this yet for ConfigurationManager.
Let's use UICatalog as an example, now that it has a SplitPanel for the Categories and Scenario panes.
If UICatalog wanted to persist the SplitterDistance...
class UICatalogConfig: Config<UICatalogConfig> {

  public int? SplitterDistance { get; set} = 25;

  public override void GetHardCodedDefaults () {};
  public override void Apply () {};
  public override void CopyUpdatedProperitesFrom (UICatalogConfig changedConfig)
  {
    if (changedConfig.SplitterDistance.HasValue) {
       SplitterDistance = changedConfig.SplitterDistance
    }
  }
}

void LoadedHandler ()
{
  if (!ConfigurationManager.Config.AppConfig.ContainsKey("UICatalog")) {
  {
      ConfigurationManager.Config.AppConfig("UICatalog") = new UICatalogConfig ();
  }
  ContentPane.SplitterDistance = ConfigurationManager.Config.AppConfig("UICatalog");
}

void ClosingHandler()
{
  var uiCatalogConfig = ConfigurationManager.Config.GetAppConfig("UICatalog");
  uiCatalogConfig.SplitterDistance = ContentPane.SplitterDistance;
  ConfigurationManager.Config.Save();
}

Missing from the current impl is the Save method.
Questions raised by this:

What config file location is used when ConfigurationManager.Config.Save() is called?

Perhaps Save should let app indicate locations. e.g. (Save (ConfigLocation.AppLocal) or Save (ConfigLocation.AppHome) or Save (ConfigLocation.GlobalHome))?  ConfigLocation could be flag-based enum so that ConfigLocation.AppLocal | ConfigLocation.AppHome saves to both ./.tui/UICatalog.config.json and ~/.tui/UICatalog.config.json)?
If UICatalog wanted to save the SelectedTheme the least surprising default location would be { "Themes:" } in ConfigLocation.AppHome (so that any instance of UIConfig would use that setting).
Thus, I think the answer to this question is ConfigurationManager.Config.Save() should default to ConfigLocation.AppHome.

Does "SplitterDistance": 42 go within { "Settings: " , { "Themes:" , { "UICatalog:" , { "Settings: { "UICatalog" : , or  "Themes" : "ThemeDefinitions": [ "Default" : { "App":"?

The app's Config class (UICatalogConfig would be persisted to the top of the JSON schema (a sibling of Settings and Themes). Thus  SplitterDistance would be persisted to { "UICatalog" : { "SplitterDistance" : 42 }  } .

UICatalogConfig class may provide a property pointed to where should be the localization to be used by the save method, depend on the OS.
I think{ "Settings: { "UICatalog" : is more appropriate.

Love how much this is going to empower the end users of Terminal.Gui applications.  Being able to switch between UseSystemConsole  true and false alone is huge and the color stuff is icing on the cake (and thats before we get to the rest!).
I've not dived too deeply into the code so this may be off base.  But it would be great if the persistence API was based on Stream class so that an API user could use whatever files they wanted or even load/save the config as part of a larger configuration file/system.
For example:
// Assume these are opened somewhere
Stream file1;
Stream s3Bucket;
Stream myMainConfigTuiSection;

var manager = new ConfigurationManager();

IState state = manager.CreateStateFromStream(file1)
			.OverrideWith(s3Bucket)
			.OverrideWith(myMainConfigTuiSection);

// Assume this is created by users main code
View rootView;

// This would recursively propogate to children
rootView.SetState(state);

Application.Run(rootView);

var newState = rootView.GetState();
manager.SaveState(newState, s3Bucket);

We could still have a default implementation which generates streams for the various files e.g.
IConfigStreamCollection files = new DefaultConfigFiles();
IState state = manager.CreateStateFromCollection(files)

@migueldeicaza suggested that the FIleSystemWatcher be builtin to the library, vs. in the app as I did with UICatalog
I resisted this idea initially because any errors in the JSON will throw an exception. Thus, if a global config.json fle is written with an error in it ALL running TUI apps will crash when the file is saved. If FSW is by the app, then on the app that's implemented the watcher will crash.
I suppose I could catch all exceptions and just abort the load. But we have no logging mechanism so with this detecting a config file error would be much harder to notice.
Thoughts?

Related to the above: The current implementation sets properties on the underlying classes (e.g. Application or FrameView)  vs having those classes call into the configurationmanager API to retrieve settings (and potentially get notified that config has changed).
I keep going back and forth on this. Would appreciate any ideas or thoughts y'all have.

@migueldeicaza suggested that the FIleSystemWatcher be builtin to the library, vs. in the app as I did with UICatalog
I resisted this idea initially because any errors in the JSON will throw an exception. Thus, if a global config.json fle is written with an error in it ALL running TUI apps will crash when the file is saved. If FSW is by the app, then on the app that's implemented the watcher will crash.
I suppose I could catch all exceptions and just abort the load. But we have no logging mechanism so with this detecting a config file error would be much harder to notice.
Thoughts?

I just realized another reason against having the library automatically load/apply config changes:

Only an app knows where it's caching config info at runtime. E.g. UICatalog stores a copy of IsMouseDisabled in a global var (miIsMouseDisabled.Checked). For UICatalog to know this setting was changed, it would have to subscribe to some event to know that Application.IsMouseDisabled changed. This is a lot of logic that is currently handled fairly simply.

I suppose I could catch all exceptions and just abort the load. But we have no logging mechanism so with this detecting a config file error would be much harder to notice.

I think this is the correct approach.  If a settings file is broken it should be ignored.  If visibility is an issue then you could always add a Console.WriteLine("x file is corrupt") after Application.Shutdown() completes.
Also we should ensure that (as far as possible) there's no way to save a broken configuration with the API (i.e. validate before writing to disk).  That way if its broken its because a user edited a file badly.

@migueldeicaza suggested that the FIleSystemWatcher be builtin to the library, vs. in the app as I did with UICatalog

I think this is nice to have so it works out of the box.
If there is an interface for the watching/data source class then that would be even better as that would allow for using a different config source backend (e.g. load configs from DB or a GET query etc).

Related to the above: The current implementation sets properties on the underlying classes (e.g. Application or FrameView) vs having those classes call into the configurationmanager API to retrieve settings (and potentially get notified that config has changed).

I keep going back and forth on this. Would appreciate any ideas or thoughts y'all have.

Lots of different possible implementations for this! Each is going to have advantages and disadvantages.
If ConfigurationManager needs to know the implementation details of all views (i.e. what to save/load) that could grow arms and legs.
Especially if it has to find children and apply changes to them too.  There are some controls (e.g. TabView) where not all possible child views are in the hierarchy at once  (TabView hot swaps its content as the user switches views).
If I were implementing it I would probably pass the Settings to the root View and let it take responsibility for passing it on.
But this has its own disadvantages e.g. for new Views created during runtime.  A parent would need to hold onto the settings and then give them to newly created instances (e.g. in Add).  Some of this complexity can be seen in ViewTracker which was an attempt to do this for keybindings only in UICatalog

I suppose I could catch all exceptions and just abort the load. But we have no logging mechanism so with this detecting a config file error would be much harder to notice.

I think this is the correct approach. If a settings file is broken it should be ignored. If visibility is an issue then you could always add a Console.WriteLine("x file is corrupt") after Application.Shutdown() completes.

I now agree. I will refactor such that broken settings files don't throw exceptions and at the minimum Debug.WriteLine is used effectively. I'll consider a way to have Application.Shutdown() do a ConsoleWriteLine if needed.

Also we should ensure that (as far as possible) there's no way to save a broken configuration with the API (i.e. validate before writing to disk). That way if its broken its because a user edited a file badly.

Because I only use System.Text.Json to serialize, I don't think this is a problem. I invested in a defining a schema so that this will only get more robust over time.

@migueldeicaza suggested that the FIleSystemWatcher be builtin to the library, vs. in the app as I did with UICatalog

I think this is nice to have so it works out of the box.
If there is an interface for the watching/data source class then that would be even better as that would allow for using a different config source backend (e.g. load configs from DB or a GET query etc).

Good idea.

Related to the above: The current implementation sets properties on the underlying classes (e.g. Application or FrameView) vs having those classes call into the configurationmanager API to retrieve settings (and potentially get notified that config has changed).

I keep going back and forth on this. Would appreciate any ideas or thoughts y'all have.

Lots of different possible implementations for this! Each is going to have advantages and disadvantages.
If ConfigurationManager needs to know the implementation details of all views (i.e. what to save/load) that could grow arms and legs.
Especially if it has to find children and apply changes to them too. There are some controls (e.g. TabView) where not all possible child views are in the hierarchy at once (TabView hot swaps its content as the user switches views).
If I were implementing it I would probably pass the Settings to the root View and let it take responsibility for passing it on.
But this has its own disadvantages e.g. for new Views created during runtime. A parent would need to hold onto the settings and then give them to newly created instances (e.g. in Add). Some of this complexity can be seen in ViewTracker which was an attempt to do this for keybindings only in UICatalog

I am shooting for a hybrid approach based on the Config<T> class. The idea is any class (e.g. TabView) can implement Config<TabView> within TabView.cs. Right now I have no way of discovering these things, but I was planning on using
a class [ConfigProperty(name)] attribute (where name) is the name of a static property on the class that exposes the Config<T> instance for the class T.

Another issue is verbosity of the .json. I don't want to make it overly complicated for editing.
Theme's currently look like this:
 "Themes": {
    "ThemeDefinitions": [
      {
        "Default": {
          "ColorSchemes": [
            {
...
            }
          ],
          "DefaultWindowBorderStyle": "Single",
          "DefaultFrameViewBorderStyle": "Single"
        }
      }
    ],
    "SelectedTheme": "Default"
  }

What I don't want to have happen is this:
"Themes": {
    "ThemeDefinitions": [
      {
        "Default": {
          "ColorSchemes": [
            {
...
            }
          ],
          "Window" : {
             "DefaultBorderStyle": "Single"
          },
          "FrameView" : {
              "DefaultBorderStyle": "Single"
          }
        }
      }
    ],
    "SelectedTheme": "Default"
  }

Or... maybe I do. ???

Or... maybe I do. ???

In the cases you want add more definitions, is better, like DrawFrameWindow, BorderBrush, etc.

@tig I can't run NetDriver either on Windows or WSL with this PR. It fallback into WindowsDriver on Windows and into CursesDriver on WSL.

I've still got work to do on this, but y'all should check out the latest...

New, simpler, schema
To add properties, just annotate any static property on any class with [SerializableConfigurationProperty]
There are two scopes: SettingsScope and ThemeScope. Theme scope properties make up themes.
I've added even more settings

Todo:

[ ] More settings
[ ] Add a AppScope so app devs can add their own settings
[ ] @tzind's ideas about Stream based API
[ ] Finish fixing the schema
[ ] Move file system watcher into libarary
[ ] even more unit tests

Major update here, folks,. See the first post for details.
I'm going to merge this soon. Ideally I'll figure out how to make it stream based (per @tznind) and move the file system watcher out of UI catalog first.

Closing; targetting v2 with #2362 instead.


Password page

We're missing the password page that will be up during the private sale window https://www.figma.com/design/yC7zuL9bFx9yvPd2aBalX6/Paloma-Light-Sale-Node?node-id=260-2322&t=tjy8ebyW62T5MtvF-1
There is only one password for everyone

This is a duplicate of https://github.com/VolumeFi/paloma/issues/1954


Xcode 11 with Swift Package ARCHIVE failed at Gym where Scan works well

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

After adding swift package into our project, our fastlane deploy always failed at gym command. But scan works well.
Command executed

gym(
      scheme: scheme,
      output_directory: '.build/beta',
      configuration: 'Enterprise',
      export_options: "./ExportOptions_AppDeploy.plist",
      xcconfig: "our config"
    )

Complete output when running fastlane, including the stack trace and command used

There is a achive failed first
** ARCHIVE FAILED **
The following build commands failed:
SwiftCodeGeneration normal arm64
CompileSwift normal armv7
CompileSwift normal arm64
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
CompileSwift normal armv7
CompileSwift normal arm64
(6 failures)
Then for our swift packages. we got some error like ⬇
"method does not override any method from its superclass"
"CompileSwift normal arm64 (in target 'our swift package' from project 'our swift package')"

I've checked the error log, all of the error are related to our local swift package. For the local one, should we add more settings at gym part? Since scan works well 🤔
Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.4

Ruby
2.7.0

Bundler?
false

Git
git version 2.23.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14.4 (18E226)

Ruby Lib Dir
~/.rbenv/versions/2.7.0/lib

OpenSSL Version
OpenSSL 1.1.1d  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
  desc "Runs all the tests"
  lane :test do
    install
    scan(workspace: workspace, scheme: scheme, sdk: sdk, devices: devices)
  end

  desc "Deploy a new beta build to the App Deploy"
  lane :beta do
    ensure_git_status_clean
    install
    ipa = gym(
      scheme: scheme,
      output_directory: '.build/beta',
      configuration: 'Enterprise',
      export_options: "AppDeploy.plist",
      xcconfig: "Beta.xcconfig"
    )
  end

fastlane gems

Gem
Version
Update-Status

fastlane
2.142.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

terminal-table
1.8.0

plist
3.5.0

CFPropertyList
3.0.2

public_suffix
2.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

faraday
0.17.3

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.7

gh_inspector
1.1.3

json
2.3.0

mini_magick
4.10.1

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.5

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.14.1

signet
0.12.0

memoist
0.16.2

os
1.0.1

googleauth
0.10.0

httpclient
2.8.3

google-api-client
0.36.4

google-cloud-env
1.3.0

google-cloud-errors
1.0.0

google-cloud-core
1.5.0

digest-crc
0.4.1

google-cloud-storage
1.25.1

emoji_regex
1.0.1

uri
0.10.0

nanaimo
0.2.6

colored2
3.1.2

claide
1.0.3

atomos
0.1.3

xcodeproj
1.15.0

unicode-display_width
1.6.1

tty-screen
0.7.1

tty-cursor
0.7.1

tty-spinner
0.9.3

excon
0.72.0

bundler
2.1.2

naturally
2.2.0

simctl
1.6.8

forwardable
1.3.1

logger
1.4.2

cgi
0.1.0

timeout
0.1.0

stringio
0.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.2.0

strscan
1.0.3

date
3.0.0

delegate
0.1.0

fileutils
1.4.1

io-console
0.5.3

zlib
1.1.0

singleton
0.1.0

rexml
3.2.3

open3
0.1.0

yaml
0.1.0

psych
3.1.0

mutex_m
0.1.0

generated on: 2020-02-19

I updated the Fastlane env part, please help checking it again ~

After reading the log carefully, we found maybe this is because one of our swift package settings are wrong. This might not the fastlane issue. So I will close this ticket.
It's very interested that scan passed but gym failed.
Sorry for bothering. mm

@HevaWu hello Heva, can you share your workaround? I'm facing the same issue. Which part of your swift package settings are wrong?

Hi @maxhis ,
The precondition for this issue is:

use the Swift Package in your project
scan works well, but gym fails

So in my case, we are using scan under Test/Debug env, and using gym for Beta/Alpha/RC deploy. I fix my problem by ⬇
// as-is
SWIFT_ACTIVE_COMPILATION_CONDITIONS = BETA

// to-be
SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) BETA

Details about our problem
After reading our crash log, our crash log shows some info like: ⬇ where APIKit is the Swift Package we are using.
❌  /SourcePackages/checkouts/APIKit/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:170:22: property does not override any property from its superclass

        override var hasBytesAvailable: Bool {
                                      ^~~~~~~~~~~~~~

By go inside to check this package source code. We find they are using the SWIFT_PACKAGE build flags ⬇
#if SWIFT_PACKAGE
    class AbstractInputStream: InputStream {
        init() {
            super.init(data: Data())
        }
    }
#endif

This flag which have conflicts with our client settings at the SWIFT_ACTIVE_COMPILATION_CONDITIONS part. It seems it cannot recognize the SWIFT_PACKAGE definition, so it cannot find the correct superclass.
By fixing this problem, do ⬇
// as-is
SWIFT_ACTIVE_COMPILATION_CONDITIONS = BETA

// to-be
SWIFT_ACTIVE_COMPILATION_CONDITIONS = $(inherited) BETA

You could find the details crash log in this issue ->
https://github.com/ishkawa/APIKit/issues/280
Here is some related issue about inherited settings ->
https://github.com/CocoaPods/CocoaPods/issues/6625
Hope this could help you ~ 😆

Thanks for your detail description of the issue, @HevaWu ! Although I'm using CocoaPods, it seems you point out the right direction for me.🙏


Editor project

Testing

Go to templates/blank_project
in Cargol.toml change bevy_editor dependency for:
bevy_editor = { git = "https://github.com/hcabel/bevy_editor_prototypes.git", branch = "editor_project" }
(This is because the EditorPlugin doesn't exist on the main branch yet)
cargo run

Crate editor project
This is 1 of 2 idea I had to work on a per-project basis with the editor.
The idea here is for every project to be they're own crate that depend on the bevy editor plugin (which will be deactivated on packed build)
to run a project you'll only have to do cargo run
Benefits

Normal Bevy project
Can easy add plugin and custom sources per project
The default source point to the project assets folder
Doesn't need recompiling when switching project

Cons

Haven't figure out how to set the name yet. would love to access to the crate name, otherwise will probably have a config somewhere
Might be scary for non-developer users

Project file
This idea can be seen in the project branch of my fork
This isn't a crate but rather a project file at the root of the project folder, which the editor can load to get relevant information about the project (path, name, ...)
(I'm mentioning it because I've explored this, but I don't think what we want)

More ideas? happy to hear them

Oupsy I wanted to make this a Draft :D
Todos:

We probably need a editor_launcher crate, which will be the default workspace crate.
This new crate will show a launcher UI with all the project you've already runner on your computer and an option to create new ones.
(For this feature we can have a config file in the appdata with all the project path already ran)
We also need a better way for us to run a default project that doesn't depend on the git repo main branch. but from the local files.
At the moment you'll have to update that manually in the blank project.
(An easy fix for that would be to create a new template (could even make this one the default workspace project))

I've converted the alien_cake_addict project that we had to allow to be ran from the editor.
I had to create a new callback that is called when running the project without the editor (cargo run -- -game)
The good thing about this is that we don't have to worry about reverting the state of the game ^^

Overview
The launcher
The launcher is now the default app of the workspace.

It uses a cache file (%localappdata%/Bevy Editor/projects.ron/~/.cache/Bevy Editor/project.rons/~/Library/Caches/projects.ron)
This allow projects to be independent and to keep track of them even when not launched through the launcher.
Currently only the path and last_opened data are store

Create new projects
Copies one of the templates (currently blank_project) to the user's selected destination folder.
The name of last folder will be use as the name of the project (currently useless)

Run projects
Project can be runed by clicking on them, this ultimately just call cargo run at the root of the project.
If the project doesn't exist/isn't valid anymore it will be deleted from the project cache file (until it's runed successfully once)

We have templates
Template have a lot of purposes, the main one being creating new project, but also it will be pretty handy for development to test how to integrate game specific code.
It also allow us to have a starting point for any future documentation: walk through, tutorial, ...
As of right now 2 templates are available:
blank_project: Empty project, only run the editor when runed
getting_started: This is the old alien_cake_addict project, though as we don't support game code yet, it does nothing. But the goal is to have a very small project that people can use to explore the editor's feature.
Concerns/Thoughts

In the future will need to add the version of the project, in the ProjectInfo
Creating a project copy a local folder. If this one is altered/missing it can lead to undefined behaviour
We should modify templates once copied to reflect project infos (e.g. change crate name in Cargo.toml to match project name)
New App. This is just to get me started, I needed something that every project could call to compile and run the editor.
My idea was that this App would work the same way more traditional engine would.
Where you call it, and it handle everything for you based on the config values you've set in the Editor UI. (stored in file, once this feature is ready)
I've made a quick config example as it would still be configurable through code, adding plugins, linking game code, ...
Running your project using cargo run will run your project in editor mode, and if you do cargo run -- -game it will run in a standalone mode.
The -game flag tell the App what to do, and what Plugin should/shouldn't be used

We've discussed this architecture pretty extensively, and I think a launcher is the right choice, at least for now. Let's merge this now and refine.


Betrayal-Info tool is misscoloring rewards

Betrayal-Info tool doesn't respect chosen reward-colors tier in the top bar.
Here is some examples of this:

Guff is white but should be red
Vorici is red but should be yellow
Riker is green but should be yellow

also the screen seams to be buggy, when pressing the omni key while hovering over a unit the screen just flickers, only when i press right mousebutton and omni key multiple times i can make a screenshot of the character

The color in the overview represents how good the current position/reward is:

green: the current reward is optimal, i.e. this syndicate member doesn't have better rewards elsewhere

red: the current reward is bad in comparison, i.e. there are better rewards elsewhere

white: the current position is as good as any

So basically it's stay, move, doesn't matter.

also the screen seams to be buggy, when pressing the omni key while hovering over a unit the screen just flickers, only when i press right mousebutton and omni key multiple times i can make a screenshot of the character

@Xalatesh I think that's an incompatibility that's cropped up recently. I've received a few reports of Win11 users who had this flashing issue. Switching the game's renderer to DX12 seems to fix it.

The color in the overview represents how good the current position/reward is:

green: the current reward is optimal, i.e. this syndicate member doesn't have better rewards elsewhere
red: the current reward is bad in comparison, i.e. there are better rewards elsewhere
white: the current position is as good as any

So basically it's stay, move, doesn't matter.
EDIT: In the case of Riker, it's easier to see that he's in the optimal position. Highlighting it yellow it the overview wouldn't be clear-cut and you'd have to manually check his global rewards.

Thanks for the clarification!


How to partly populate a FirebaseRecyclerAdapter ?

I do need to populate a recyclerAdapter partly. I mean that some item will be removed or even not displayed ever:
Use cases:

give the ability to no display ever an item (e.g from item child value)
If a user get the possibility to discard an item.

I assume the FirebaseRecyclerAdapter is strongly link with the FB Database. I there any trick or way to do that, by getting access to the Snapshop ?
Is there any plan for clean Api on that way ?

With FirebaseUI you don't manipulate the items in the view directly. Instead, you update the item in the Firebase database and ensure that your view shows the correct set of items.
To handle deleting an item, you'll need to capture the event from the user on the RecyclerView. Once you have that, you'll also have the position of the item the user interacted with. With that position, you can do the following:
I'll leave it to you to figure out what item the user clicked on (but this might be a good start).
Once you know the position of the item the user clicked on, you can remove it from Firebase easily with:
Firebase itemRef = adapter.getRef(position);
itemRef.removeValue();

This will remove the item from the database, from the adapter and from the view.
Also see http://stackoverflow.com/questions/34028599/firebase-android-studio-remove-item-from-firebaselistadapter

@puf  What about user specific filtering ? I need to not display an item for a specific user, not removing the item itself from the base.
Any idea how we can do that with FBUI ? Or should I use the "standard SDK" ?
In any case, I think this is a common need.

Downloading a value that you're not displaying to the user is wasting bandwidth, which is especially bad on mobile. The built-in filtering of the SDK happens server-side, prevents the need to download the data. We intend to eventually add filtering to FirebaseUI (see https://github.com/firebase/FirebaseUI-Android/issues/15), but that will likely mean client-side filtering.

Yes, ofcourse this is not the most efficient, but we both know that built-in filtering is still (very) limited at the moment. (lack of multi-filtering dimension & lack of reverse (opposite order) operator & Collection Normalization or equivalent).
This would be required for at least for the 2 following use cases:

user specific search/filtering (if not using the gateway to elasticsearch)
if user want to discard the viewholder after it has been displayed (for what ever "user" reason (understood, no need, already saw, already known))

On the FirebaseRecyclerAdapter constructor use a Query object that has your sorted/filtered criteria instead of the DatabaseReference (4th parameter).


x/: improve validation by parsing addresses

In many address validations, we only check for non-empty addresses instead of validating that they are well formed.
example:
	if msg.Owner.Empty() {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "MsgCreate: Invalid Provider Address")
	}

This should be
	if _, err := sdk.AccAddressFromBech32(msg.Owner); err != nil {
		return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "MsgCreate: Invalid Provider Address")
	}

@boz I would like to help you with this issue, however I've just checked into the current master code and it appears to me that the only places where the .Empty() form is used is when dealing with messages.
As far as I know, an sdk.AccAddress object can represent either:

an empty address;
a valid address.

If a user tries to send a Msg instance with an invalid address inside, this will not be properly parsed into an sdk.AccAddress object, thus failing before reaching the point in which it can be checked for emptiness.
Also, the second code snippet should be:
if _, err := sdk.AccAddressFromBech32(msg.Owner.String()); err != nil {
	return sdkerrors.Wrap(sdkerrors.ErrInvalidAddress, "MsgCreate: Invalid Provider Address")
}

Since the AccAddressFromBech32 method accepts a string and not an sdk.AccAddress object.
This would be pointless as the String method only works if the address was valid in the first place.
In the end, I think you can close this issue safely and keep using the Empty() method if you are dealing with sdk.AccAddress objects. Otherwise, if you are dealing with addresses in the string format, you need to use the AccAddressFromBech32 method.

I see, thanks @RiccardoM.  I didn't look into this enough - sdk.VerifyAddressFormat() is more appropriate.
It does indeed look like sdk.VerifyAddressFormat() is used in AccAddress.UnmarshalJSON(), but given that cosmos-sdk is moving towards protobuf, I think it'd be nice to use sdk.VerifyAddressFormat(addr) instead of addr.Empty().

@boz, To use sdk.VerifyAddressFormat(addr), we need to configure sdk like this wherever we need to change. Instead, we can keep using Empty() as there is no issue with it, as we are using mostly in msgs.

Do we really need to do that tho?
If you use testutil.AccAddress(t) it will return a key with whatever prefix is configured in cosmos-sdk (default: cosmos).
The checks should also use whatever is configured in cosmos-sdk.
I feel like it should work fine if you use testutil.AccAddress to generate the addresses.
Am I missing something @akhilkumarpilli ?

No, actually we are using Empty() mostly in messages. If we need to replace it with sdk.VerifyAddressFormat(addr), it should handle address entered from user. We can use testutil.AccAddress(t) for testing but not for this case.
sdk.VerifyAddressFormat(addr) is failing due to address prefix differences i.e., akash compared with default cosmos.

I still don't understand.
Shouldn't we only accept addresses with the prefix that the sdk is configured with?
On a live system, when would we want to accept an address with a cosmos prefix?

Sorry @boz , it's my fault. I didn't test it correctly. We don't need to configure sdk config everywhere we need to change. It will accept only addresses with prefix that the sdk is configured with. I will replace Empty() with sdk.VerifyAddressFormat(addr). Thank you.


TOS hash mismatch, cannot create any new certs

This issue in simp_le seems to cause all new cert generation to fail.
https://github.com/kuba/simp_le/issues/114
When it has been fixed, I suppose a new docker image needs to be built?
2016-08-01 22:23:40,877:INFO:requests.packages.urllib3.connectionpool:756: Starting new HTTPS connection (1): letsencrypt.org
TOS hash mismatch. Found: 6373439b9f29d67a5cd4d18cbc7f264809342dbf21cb2ba2fc7588df987a6221.

Thanks for all the great work!!!

As a workaround: https://hub.docker.com/r/thomastweets/docker-letsencrypt-nginx-proxy-companion/ (see also https://github.com/kuba/simp_le/issues/114)

@thomastweets works perfectly thanks a million!!

Update done.
Closed by 7b00e3f

Thanks a lot for reacting to this so quickly @JrCs!
Here's the ToS diff (if any one is interested in what they sign):
https://letsencrypt.org/documents/LE-SA-v1.0.1-v1.1.1-diff.docx
More links to letsencrypt documents:
https://letsencrypt.org/repository/

Am I the only one who's still getting this?

I was seeing the same message yesterday when I was adding a new host, though the cert generated properly. I guess it's non fatal since it's "INFO".

It must work now with the new version

After countless of seemingly hopeless attempts to get this working, it somehow fixed itself after a (second) reboot of the host and all the containers.

Hello!
Is the problem back again? Will the issue come always after an TOS change?
I get the error:
TOS hash mismatch. Found: 6373439b9f29d67a5cd4d18cbc7f264809342dbf21cb2ba2fc7588df987a6221.
This is with a fresh image.

Same problem here.

Same problem here. Will report back after update/reboot.

I'm using image: 'jrcs/letsencrypt-nginx-proxy-companion:latest' and I still get this.

Same here. @fradeve I got this working by setting an environment variable ACME_TOS_HASH to value cc88d8d9517f490191401e7b54e9ffd12a2b9082ec7a1d4cec6101f9f1647e7b. Don't know if this is a kosher solution.

That fixed it! Amazing, thanks :)

Same here.

Once this is patched into the image, what's the easy way of updating the container without data loss?

@mlaitinen Where am i supposed to set this envvar?

@bfayers on the letsencrypt-nginx-proxy-companion container
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion#optional-container-environment-variables

I got it :)

Where can we be getting the latest hash? It seems to have changed again ...
TOS hash mismatch. Found: cc88d8d9517f490191401e7b54e9ffd12a2b9082ec7a1d4cec6101f9f1647e7b.

@krystalcode #277 #282

I can confirm that using the latest version (as of 2 DEC 2017) solves the TOS issue. I stopped/deleted my Letsencrypt container and image. I ran 'docker-compose up -d' pulling the latest image and the problem went away.

As of e47e065463db I just ran docker rm my-container-name and docker pull jrcs/letsencrypt-nginx-proxy-companion and everything went fine

I am unsure how long this has been a problem in my containers but I ran into it today adding a new container.
Getting latest image as of today fixes it for me.

dokku plugin:update letsencrypt is probably the better first thing to try, no? With 0.8.8 I got past that error but hit https://github.com/dokku/dokku-letsencrypt/issues/149.


Age-dependent mortality rate and year trend - Kenya

Find age-dependent mortality rate and trend.  Used World Bank data for trend https://data.worldbank.org/indicator/SP.DYN.CDRT.IN?locations=SN

[ ] Add code used to process data into "data processing" folder in "locations"

Using life table from 2010-2015 for Kenya, norm around 2010 for mortality rate trend

Used UN World Pop 2022, which no longer bins data into 5 year groups but reports rates annually.   Also probability of dying year over year by age is reported directly, no need for external script.
Exported data into csv file for probability of dying by gender ("mortality_prob_kenya.csv") and crude death rate trend ("mortality_trend_kenya.csv).  Removed hard coding to add data year variable in parameters file that is adjustable.  Updated docs for mortality function.
Start mortality probabilities at age 1 to avoid double counting death probability from 0 - 1 years old, since we don't access this mortality spline until agents are 1 anyways.


Add a License

Hello!
Would you be able to add a license to the project?
Without adding a license, we would need to assume the project is All Rights Reserved. Without your permission, we would not be able to modify the documentation or use it.
https://opensource.stackexchange.com/questions/1720/what-can-i-assume-if-a-publicly-published-project-has-no-license
Other projects similar to this use the Creative Commons licenses:
Linode Documentation is provided under the CC BY-ND 4.0 license.
Digital Ocean Tutorials are provided under the CC BY-NC-SA 4.0 license.

Do you have a recommended license for this kind of project?

Do you have a recommended license for this kind of project?

Creative Commons Zero license chosen and applied.

Creative Commons Zero license chosen and applied.


System events mail notification

related https://github.com/okulbilisim/ojs/issues/1226
this event have priority

All events suppported with mail notification. Only i can revise code for increase code quality


Broken style

I tried installing this template, I haven't change any of the code. Followed the instructions. How to fix this?

update ?

Tested with both npm & pnpm and couldn't reproduce the issue.


Correction for raw affiliation IRSTEA, UMR TETIS, 500 rue Franc ¸ois Breton, 34093 Montpellier cedex 5, France 4951 HESSD 10, 4951-5011, 2013

Correction needed for raw affiliation IRSTEA, UMR TETIS, 500 rue Franc ¸ois Breton, 34093 Montpellier cedex 5, France 4951 HESSD 10, 4951-5011, 2013
raw_affiliation_name: IRSTEA, UMR TETIS, 500 rue Franc ¸ois Breton, 34093 Montpellier cedex 5, France 4951 HESSD 10, 4951-5011, 2013
new_rors: 026tc4g97;0458hw939
previous_rors: 026tc4g97
works_examples: W4231696910
contact: 0136f6962a8beffa63ce473de22d552b:885cb82415f0587df660aaf1ec227b65e040 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


crab now uses different icons

Added crab separate icons

@1022ranji please help me checking the last build. I customized CRAB to be using it's own icons


Add simple definitions for TCP client

I am writing a simple Lua TCP client application.
I filled definitions of this part of the library during it.
Feedback is welcome.

Thank you very much!


Using HostNameResolver for https requests

Hey,
I'm trying to make this remap:
https://init.mycompany.com --> https://platform-sandbox.mycompany.com
I've configured the proxy and the host resolver this way:
    net.lightbody.bmp.BrowserMobProxyServer mProxyServer;
    AdvancedHostResolver advancedHostResolver;

    mProxyServer = new BrowserMobProxyServer();

    mProxyServer.setHarCaptureTypes(REQUEST_HEADERS,
            REQUEST_COOKIES,
            REQUEST_CONTENT,
            REQUEST_BINARY_CONTENT,
            RESPONSE_HEADERS,
            RESPONSE_COOKIES,
            RESPONSE_CONTENT,
            RESPONSE_BINARY_CONTENT);

    mProxyServer.setTrustAllServers(true);
    advancedHostResolver = mProxyServer.getHostNameResolver();
    advancedHostResolver.remapHost("init.mycompany.com", "platform-sandbox.mycompany.com");
    mProxyServer.setHostNameResolver(advancedHostResolver);
    mProxyServer.start(8888);

Yet when I'm making a request to init.mycompany.com I see that the request is not remapped to the host platform-sandbox.mycompany.com.
Did I missed anything?
Thanks!

When you say that the request is not remapped, do you mean in the HAR? The HAR looks at the HTTP request from the HTTP client; it isn't aware of host name remappings.
In your example, the client still thinks it's connecting to init.mycompany.com, and the Host header as well as the SNI field in the TLS connection will show init.mycompany.com. But when BMP resolves the address internally, it will actually look up the IP address for platform-sandbox.mycompany.com. It's basically the same as changing your /etc/hosts file. One interesting consequence of this is that, if the remapped host is on the same server as the original host, it will actually be routed to the original host's virtual server, rather than the remapped host. Do both of these hosts resolve to the same IP address?
Host name remapping is also not supported when using an upstream chained proxy, since BMP doesn't actually resolve the host.
I added a test that shows host remapping in action.

Actually I wan't counting on the HAR file. I looked at the response I received and the one I got matches the response of init.mycompany.com request and not platform-sandbox.mycompany.com.
And also those domains are not resolve to the same IP address...

If your remapping code looks like the code in the test I referenced (the test is written in groovy, but it's essentially the same in Java), then it should work (the test passes). You might need to debug to see what's going on. I'm not able to reproduce the issue running locally, but if you find something out, paste the info here and we can revisit.

Hi Jekh,
I am facing the issue with the HTTPS domains being remapped. Its not loading the required certificate from the server and is throwing "The request could not be satisfied."


Poll loop fixes

What does this PR try to resolve?
A couple of minor issues. See individual commits.
How should we test and review this PR?
The existing test suite should have sufficient coverage.
Additional information
(I have 5 apparently unrelated failures locally when running cargo test)

What does this do/accomplish? How would we know if we break this functionality in the future?

If your fcntl() call fails (and I have seen this happen) then you would be doing blocking IO in the poll loop, likely ending in a deadlock.

Also, getting the current flags and ORing in the non-block flag avoids destructively turning off any other flags the fd may already have set.

Can you say what system you are running on and how you have been seeing it fail in cargo?

To be clear. I've seen fcntl fail in other Rust programs (due to programming errors), not in Cargo.
But regardless, it's good practice to check for errors defensively so that if there is a problem, it happens as close to the cause as possible.

We good to go?

Thanks! I'll go ahead and merge.  I'm a little uncomfortable with this change, but other than the uncertainty about F_GETFL's behavior, I don't know of any specific issues. I also generally avoid changing things if they aren't causing any issues.
@bors r+

:hourglass: Testing commit 5c3825ffc56b7678157200088e70bec0fca2ed07 with merge 16d0495d297e1dc9b6a7d7827c0ea561d2485a02...

:sunny: Test successful - checks-actions
Approved by: ehuss
Pushing 16d0495d297e1dc9b6a7d7827c0ea561d2485a02 to master...


[Hypotheses]Fine-tuning to add new PTMs using the PEFT algorithm

Dear Development Team
Greetings! I have noticed a statement in the documentation that reads, "It is unfortunately not possible to finetune a pre-trained Casanovo model to add new types of PTMs. Instead, such a model must be trained from scratch" , I would like to inquire if there are corresponding experiments to support this statement, or is it a theoretical deduction? Currently, there are many efficient fine-tuning methods available, such as the PEFT algorithm. If we were to employ an algorithm like this and freeze pre-trained weights for fine-tuning, would it be possible to add new types of PTMs?

Hi @PYxuejiang, you are indeed correct that Casanovo can potentially be finetuned for new PTMs. This statement primarily reflects technical limitations, in that this functionality is currently not implemented yet, rather than that this is not possible at all.
Expanding Casanovo to a wider diversity of PTMs is on our (long-term) roadmap.

嗨，您确实是对的，Casanovo 可能会针对新的 PTM 进行微调。此声明主要反映了技术限制，因为此功能当前尚未实现，而不是根本不可能。
将 Casanovo 扩展到更广泛的 PTM 在我们的（长期）路线图上。

Thank you very much for your response and for your efforts in creating such an outstanding model like Casanovo. I would like to inquire if your team has plans to build an easy-to-use fine-tuning platform for users in the future. If there are similar ideas, that would be fantastic. I hope to have the opportunity to discuss the approach!

We are currently busy at work to incorporate various improvements for the next Casanovo release. Finetuning for novel PTMs is not an active endeavor, but will be tackled in the future. We are always open to discussing ideas already, or even accepting contributions through a PR.


Split Chapter 1

Chapter 1 is quite long, and could be split into two:

Dirty checking
$eval/$apply/$evalAsync/$$postDigest/Phases

Additional to splitting up the chapter, I suggest to split op the very large describe as well. Now there is a very large describe('$digest', ...) and later there is one added for $watchGroup. I expected multiple (sub)describes when reading the first chapter, concerning the scope methods.
For a better overview of the tests, you could make a nested describe per method: describe('$eval', ...), describe('$apply'), etc.

Fully agree all of you :)

Tests. $digest block is really too long and unlogical
Chapter 1 needs division. And, may be, some more explanation or examples in its second part, especially evalAsync. Sometimes it's hard to understand something if you don't know how to use it.
Speed optimization may be given as a whole refactoring of cycle later.

Book is really wonderful!

Upcoming release splits chapter 1 and also splits some of the test code to separate describe blocks.


Inprove convergence of convert_pinhole_model with RPC distortion

When converting a pinhole model with radial and tangential distortion with a pinhole model with RPC distortion with a command:
convert_pinhole_model input.tif input.tsai --rpc-degree 4 --output-type RPC -o output_rpc.tsai
the obtained model sometimes (not always) has zero RPC coefficients, which shows that it did not converge. Need to figure out why.
A solution can be to first create a low-degree RPC approximation, and then refine it by gradually increasing the degree, instead of trying to right away find a solution for the high degree.
Here's an example of where this fails, with James having provided the distortion. It worked for me when I cooked up the rest of the model. Waiting to see an example of the original model focal length and optical center for which it failed.
VERSION_3
fu = 28.968757624607505
fv = 28.968757624607505
cu = 18.11581494334796
cv = 12.0750534040106
u_direction = 1 0 0
v_direction = 0 1 0
w_direction = 0 0 1
C = 1290593.429554183 -1851555.8545594842 -5945967.2946972586
R = -0.086749194841617583 -0.9739712401063535 -0.20941490071153715 0.94285715281561078 -0.14814812966612889 0.29845019862762323 -0.32170633593196607 -0.17155802261077657 0.93116748133679439
pitch = 0.0063
TSAI
k1 = 0.0051253338123196648
k2 = -0.0057740079387240866
p1 = -6.0040372294531705e-05
p2 = 2.7279402066284865e-05

Hi Oleg,
Here's one of the tsai camera models that is problematic with higher order RPC conversions with convert_pinhole_model:
VERSION_4
PINHOLE
fu = 4884.2132789899997
fv = 4884.2132789899997
cu = 3695.5039999999999
cv = 3698.4960000000001
u_direction = 1 0 0
v_direction = 0 1 0
w_direction = 0 0 1
C = 4679083.9700235557 1277067.5378684597 4136945.1428247904
R = 0.27197299678208597 -0.62460796930246398 -0.73204888751040653 -0.96218794535798691 -0.18836848465950706 -0.19675281902645492 -0.01500156089036403 0.75788006879118652 -0.65222139990950889
pitch = 1
TSAI
k1 = 0.0051253338123196648
k2 = -0.0057740079387240866
p1 = -6.0040372294531705e-05
p2 = 2.7279402066284865e-05
So you'll need to make a fake tif for convert_pinhole_model to work... 7391 by 7397 pixels.
For me, RPC2 conversion works, but RPC3,4,5 fail.
convert_pinhole_model 9838.tif 9838.tsai --output-type RPC --rpc-degree 2 -o 9838_RPC2.tsai
...
Sample the image by picking one in every 50 pixels.
Loading camera model file: ba3-9838.tsai
Read a Pinhole camera model.
Approximated an TSAI distortion model using a distortion model of type RPC with mean pixel error of 0.869287 and max pixel error of 8.95502.
RPC undistortion approximation mean pixel error is 0.00037743 and max pixel error is 0.00293655.
Writing output model: test_RPC2.tsai
And for RPC3,4,5:
...
Sample the image by picking one in every 50 pixels.
Loading camera model file: ba3-9838.tsai
Read a Pinhole camera model.
Approximated an TSAI distortion model using a distortion model of type RPC with mean pixel error of 2.46587 and max pixel error of 9.95579.
RPC undistortion approximation mean pixel error is 0 and max pixel error is 0.
Writing output model: test_RPC3.tsai
e.g.
VERSION_4
PINHOLE
fu = 4884.2132789899997
fv = 4884.2132789899997
cu = 3695.5039999999999
cv = 3698.4960000000001
u_direction = 1 0 0
v_direction = 0 1 0
w_direction = 0 0 1
C = 4679083.9700235557 1277067.5378684597 4136945.1428247904
R = 0.27197299678208597 -0.62460796930246398 -0.73204888751040653 -0.96218794535798691 -0.18836848465950706 -0.19675281902645492 -0.01500156089036403 0.75788006879118652 -0.65222139990950889
pitch = 1
RPC
rpc_degree = 3
image_size = 7391 7397
distortion_num_x   = 0 1 0 0 0 0 0 0 0 0
distortion_den_x   = 1 0 0 0 0 0 0 0 0 0
distortion_num_y   = 0 0 1 0 0 0 0 0 0 0
distortion_den_y   = 1 0 0 0 0 0 0 0 0 0
undistortion_num_x = 0 1 0 0 0 0 0 0 0 0
undistortion_den_x = 1 0 0 0 0 0 0 0 0 0
undistortion_num_y = 0 0 1 0 0 0 0 0 0 0
undistortion_den_y = 1 0 0 0 0 0 0 0 0 0

I could reproduce this.  I also added to convert_pinhole_model the option --image-size so it can run with given dimensions without an actual image.
This issue was due to a bug in our Levenberg-Marquardt algorithm implementation, it was giving up too easily when could not converge in several tries.
I also improved the generation of the RPC model and of its inverse by first fitting a model of degree 1, then refining it into a degree 2, etc, up to desired degree. That works better than aiming right away to the highest polynomial degree.
The daily build has the fix.
Here's the kind of output it now produces when trying to fit an RPC model and its inverse:
Compute the RPC distortion model starting at degree 1 and then refine it until reaching degree 5.
Approximated an TSAI distortion model using a distortion model of type RPC of degree 1 with mean, max, and norm of pixel error of 0.924945, 13.0868, and 219.415.
Approximated an TSAI distortion model using a distortion model of type RPC of degree 2 with mean, max, and norm of pixel error of 0.870284, 8.9979, and 163.512.
Approximated an TSAI distortion model using a distortion model of type RPC of degree 3 with mean, max, and norm of pixel error of 0.870284, 8.99677, and 163.341.
Approximated an TSAI distortion model using a distortion model of type RPC of degree 4 with mean, max, and norm of pixel error of 0.87263, 9.09802, and 162.958.
Approximated an TSAI distortion model using a distortion model of type RPC of degree 5 with mean, max, and norm of pixel error of 0.87263, 9.09802, and 162.957.
Will compute undistortion for degree 1 and then refine it.
RPC undistortion approximation of degree 1 has mean, max, and norm of pixel error of 0.780414, 4.18721, and 134.963.
RPC undistortion approximation of degree 2 has mean, max, and norm of pixel error of 0.020725, 0.148453, and 3.97439.
RPC undistortion approximation of degree 3 has mean, max, and norm of pixel error of 0.0207259, 0.148622, and 3.9742.
RPC undistortion approximation of degree 4 has mean, max, and norm of pixel error of 0.0207259, 0.148622, and 3.9742.
RPC undistortion approximation of degree 5 has mean, max, and norm of pixel error of 0.0207259, 0.148622, and 3.9742.

Wow, that's incredible. I'll test and report back if I find anything weird.
Many thanks!


crash on start

Getting an error when running the command
python scour.py -i input.svg -o output.svg
Even if i only run "python scour.py" there is the same error.
Running on Win XP, python 2.4.1, scour 0.26. It's the first time i use a python script, may be the problem is in front of the pc..
Error:
File "scour.py", line 2712
return ''.join([xml_ents[c] if c in xml_ents else c for c in str])
^
SyntaxError: invalid syntax

Imported from Launchpad using lp2gh.

date created: 2011-07-13T10:15:20Z
owner: kartografie
the launchpad url was https://bugs.launchpad.net/bugs/809783

This was probably an incompatibility with Python 2.4.1 or is fixed in the meantime.


feat(#100): add utility classes for bytecode tests

Add utility classes for bytecode generation in tests.
Closes: #100

PR-Codex overview
This PR focuses on simplifying bytecode generation for tests in the org.eolang.jeo.representation.asm package.
Detailed summary

Removed unnecessary imports of org.objectweb.asm.ClassWriter and org.objectweb.asm.Opcodes in ClassNameTest.java and ClassDirectivesTest.java.
Replaced the usage of ClassWriter and Opcodes with a custom BytecodeClass class that simplifies bytecode generation for tests.
Updated the code in ClassNameTest.java and ClassDirectivesTest.java to use the BytecodeClass class for generating bytecode.
Added a new BytecodeClass class in the org.eolang.jeo.representation.asm package that provides a simplified API for generating bytecode for testing purposes.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

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

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 3min)


[META] Resume refactor

Continue rewriting old models and controllers, adding FKs...

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


IDP Access Token is not a valid JWT

I configured this flow and my claim "idp_access_token" starts with "AQABAAAAAAD....". This is not a valid base64 encoded JWT. Is it encrypted? If so, how do you decrypt it or exchange it for a JWT? I want to parse it as a JWT and inspect the claims.

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

ID: bfa17891-d5ec-fff3-4f9b-fbb04b2f8f03
Version Independent ID: 0f3231f1-c01f-1439-9b6d-076af0d03e81
Content: Pass an access token through a user flow to your application - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/idp-pass-through-user-flow.md
Service: active-directory
Sub-service: b2c
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@xenalite Thank you for your feedback . We will investigate and update this thread further.

@davidmu1 Could you please have this verified with engineering and make required changed within the docs as needed ?

Unfortunately, the tokens coming from the identity providers can't be examined. They are usually just a random set of characters that only the idp knows how to map.
#please-close

I am having the same issue using azure active directory as identity provider, could you help me? the tokens coming from azure identity provider should be controlled environment right?

This is my claim provider configuration
<ClaimsProvider>
      <Domain>Azure Active Directory SignIn</Domain>
      <DisplayName>Azure Active Directory</DisplayName>
      <TechnicalProfiles>
        <TechnicalProfile Id="AAD-OAUTH">
          <DisplayName>Azure Active Directory</DisplayName>
          <Description>Login with your Azure Active Directory account</Description>
          <Protocol Name="OpenIdConnect" />
          <OutputTokenFormat>JWT</OutputTokenFormat>
          <Metadata>
            <Item Key="client_id">CLIENT_ID</Item>
            <Item Key="UsePolicyInRedirectUri">false</Item>
            <Item Key="METADATA">https://login.microsoftonline.com/common/.well-known/openid-configuration</Item>
            <Item Key="response_types">code</Item>
            <Item Key="scope">openid profile</Item>
            <Item Key="response_mode">form_post</Item>
            <Item Key="HttpBinding">POST</Item>
            <Item Key="DiscoverMetadataByTokenIssuer">true</Item>
            <Item Key="ValidTokenIssuerPrefixes">PREFIX_1,PREFIX_2</Item>
          </Metadata>
          <CryptographicKeys>
            <Key Id="client_secret" StorageReferenceId="B2C_1A_AppSecret" />
          </CryptographicKeys>
          <OutputClaims>
            <OutputClaim ClaimTypeReferenceId="issuerUserId" PartnerClaimType="oid" />
            <OutputClaim ClaimTypeReferenceId="displayName" PartnerClaimType="name" />
            <OutputClaim ClaimTypeReferenceId="givenName" PartnerClaimType="given_name" />
            <OutputClaim ClaimTypeReferenceId="surname" PartnerClaimType="family_name" />
            <OutputClaim ClaimTypeReferenceId="email" PartnerClaimType="unique_name" />
            <OutputClaim ClaimTypeReferenceId="tenantId" PartnerClaimType="tid" />
            <OutputClaim ClaimTypeReferenceId="authenticationSource" DefaultValue="socialIdpAuthentication" AlwaysUseDefaultValue="true" />
            <OutputClaim ClaimTypeReferenceId="identityProvider" DefaultValue="AAD-App" AlwaysUseDefaultValue="true" />
            <OutputClaim ClaimTypeReferenceId="identityProviderAccessToken" PartnerClaimType="{oauth2:access_token}" />
          </OutputClaims>
          <OutputClaimsTransformations>
            <OutputClaimsTransformation ReferenceId="CreateRandomUPNUserName" />
            <OutputClaimsTransformation ReferenceId="CreateUserPrincipalName" />
            <OutputClaimsTransformation ReferenceId="CreateAlternativeSecurityId" />
            <OutputClaimsTransformation ReferenceId="CreateSubjectClaimFromAlternativeSecurityId" />
          </OutputClaimsTransformations>
          <UseTechnicalProfileForSessionManagement ReferenceId="SM-SocialLogin" />
        </TechnicalProfile>
      </TechnicalProfiles>
    </ClaimsProvider>

I've seen this as well. When using custom policy configuration similar to @adriexnet I get an access token that isn't a valid JWT.
When I use a userflow configured to return the idp access token it is correctly formatted. The user flow uses an OpenID Connect identity provider configured with my dev Azure AD tenant.
This configuration sends a JWT:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-user-flow
This configuration doesn't send a valid JWT:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-custom

I've seen this as well. When using custom policy configuration similar to @adriexnet I get an access token that isn't a valid JWT.
When I use a userflow configured to return the idp access token it is correctly formatted. The user flow uses an OpenID Connect identity provider configured with my dev Azure AD tenant.
This configuration sends a JWT:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-user-flow
This configuration doesn't send a valid JWT:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-custom

Same here, I want to be able to pass through the JWT bearer token from my Azure AD login so that i can use it to call the Graph API. Following the user flows it returns a proper JWT token, however via custom policy (can't get away from using this) it returns some unknown compact token format which isn't of any use ... I've gone to the extent of looking at the base xml policy that is produced for the user flows and can't see what's different. My only thought is that some of the custom stuff is interfering but no idea where to start looking.
Any ideas?

Unfortunately, the tokens coming from the identity providers can't be examined. They are usually just a random set of characters that only the idp knows how to map.
#please-close

Then what's the point of passing that access_token anyway?
Even the build-in flow (SignUpSignInv2) is now returning some random string for claim "idp_access_token". In my use-case Azure AD ist the IDP behind B2C and I need to get the user's initial (Azure AD) objectId. Any suggestions how to achieve this?

I've seen this as well. When using custom policy configuration similar to @adriexnet I get an access token that isn't a valid JWT.
When I use a userflow configured to return the idp access token it is correctly formatted. The user flow uses an OpenID Connect identity provider configured with my dev Azure AD tenant.
This configuration sends a JWT:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-user-flow
This configuration doesn't send a valid JWT:
https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-custom

Same here, I want to be able to pass through the JWT bearer token from my Azure AD login so that i can use it to call the Graph API. Following the user flows it returns a proper JWT token, however via custom policy (can't get away from using this) it returns some unknown compact token format which isn't of any use ... I've gone to the extent of looking at the base xml policy that is produced for the user flows and can't see what's different. My only thought is that some of the custom stuff is interfering but no idea where to start looking.
Any ideas?

Oddly, I'm getting the opposite. If I use the pre-defined user flows I'm getting the compact? token, but with custom policies implemented using Microsoft's documentation and custom policy templates, combined with this documentation here to pass access token: https://docs.microsoft.com/en-us/azure/active-directory-b2c/idp-pass-through-custom I get a valid JWT which can be used for subsequent calls. Would love to not need custom policies to achieve this, as its the only reason we're using them, having previously used the standard flows.

Unfortunately, the tokens coming from the identity providers can't be examined. They are usually just a random set of characters that only the idp knows how to map.
#please-close

Then what's the point of passing that access_token anyway?
Even the build-in flow (SignUpSignInv2) is now returning some random string for claim "idp_access_token". In my use-case Azure AD ist the IDP behind B2C and I need to get the user's initial (Azure AD) objectId. Any suggestions how to achieve this?

@MaWa19 , please check your identity provider configuration (OpenId Provider), If your metaurl in configuration doesn't contain "v2.0" it will not return proper jwt.
Your metaurl should be
https://login.microsoftonline.com/**tenant-name**.onmicrosoft.com/v2.0/.well-known/openid-configuration
Please replace "tenant-name" with your tenant.

Thank you Akash-JS for the hint! I tried to add an AAD as an identity provider to my AADB2C using the docs:
https://docs.microsoft.com/de-de/azure/active-directory-b2c/tutorial-add-identity-providers
This worked, however the idp_access_token-claim was not usable (as described above).
As you suggested, i added the v2.0 to the metadata-url (in b2c's ip configuration). However this led to the following error message "A claim with id 'UserId' was not found, which is required by ClaimsTransformation 'CreateAlternativeSecurityId'".
After adding "profile" to the scope-Property (setting scope = "openid profile" in b2c's ip configuration) the login worked - and idp_access_token was a readable jwt.

Thank you Akash-JS for the hint! I tried to add an AAD as an identity provider to my AADB2C using the docs:
https://docs.microsoft.com/de-de/azure/active-directory-b2c/tutorial-add-identity-providers
This worked, however the idp_access_token-claim was not usable (as described above).
As you suggested, i added the v2.0 to the metadata-url (in b2c's ip configuration). However this led to the following error message "A claim with id 'UserId' was not found, which is required by ClaimsTransformation 'CreateAlternativeSecurityId'".
After adding "profile" to the scope-Property (setting scope = "openid profile" in b2c's ip configuration) the login worked - and idp_access_token was a readable jwt.

Yeah, I should had mention "profile" related change as well in that comment.

Thanks a lot, @Akash-JS. I had been banging my head against this problem for a couple of hours before I stumbled up on your comment.


Not all checks passed error needs more details

This error needs to have more guidance for user - why/which checks didn't pass, where can the errors be seen, etc.
cc @xeviknal

cc @serenamarie125 are there any guidelines around this or this is purely a docs question?

can you show how these errors look in the YAML editor?

for example like here:
https://user-images.githubusercontent.com/604313/54446751-f890cc80-4747-11e9-9ce8-5e7ac1e94d87.png
or like here:
https://medium.com/kialiproject/kiali-validations-spot-the-misconfigurations-of-your-istio-service-mesh-bad1f5d00a79


Forecast get fail handling

As the title says, when bad stuff happens bad stuff can happen.
This PR fixes two potential bad happenings.

It is deffo not worthy of a release, so save it up. As long as Solcast behave themselves.

🤣🤣🤣

An opportunity missed...


0.4.3 no longer flips widgets properly because of the transform change ...

Upgraded from 0.4.0 to 0.4.3 - now when we flip the cards, the animation and overall affect is nothing like what it used to be and what is shown in the animated gif. It is like left and right sides shrink to the middle which doesnt give the impression that the cards are FLIPPED
Version 0.4.0, 0.4.1, 0.4.2 all work perfectly and animation is great. 0.4.3 where transform is changed is where the issue lies. Can we have this parameterized where we can change this ourselves if need be.

@ssbaval  Thanks for your feedback.
Could you please add more information on this issue? Like the OS system.
As I just tested on my simulation.

Me too. Flip effect not work perfectly. Please check gif image below.
I used code from your example.

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.5 18F132, locale en-JP)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] Android Studio (version 3.4)
[✓] Connected device (2 available)

Same here . Have gone back to old version 0.4.2 which works as intended.

Thanks for the feedback and sorry for the inconvenience.
I'm going to revert the change. Just FYI, @alongruss Thanks anyway.

0.4.4 was released.


[worldedge] bug

Need to check the code of this mod because of a random teleportaiton of UltimateNoob on the server...
UltimateNoob : and the teleportation bug: main error setting the x cord to infinite so i get teleported in that case

Apparently what happened is a combination of both a rare server bug I've already heard about, and wolrdedge responding to it. It happens very rarely that one or more coordinates gets increased to an insane level, like x=+2.500e23. It often crashes servers. But when it doesn't, and because minetest can (as far as I remember) accept coordinates out of bouds with a limit of +1000, it may cause worldedge to react and teleport the player.
That should be good enough : https://github.com/MinetestForFun/minetest-minetestforfun-server/commit/65e736b5b1c02636d564f0edaf4b5423fe13d7ae

We've not heard any other problem about corrupted coordinates. I will close this. If somebody gets teleported again, please refer to this issue.


[FEATURE REQUEST] Auto-stop when song is over.

Right now, we have only made it so that if they tap the song it will automatically start from there, in the main directory. Idk about that for the lyrics directory as seen in #8 . But anyways, it would be good if it can be made so that, it starts the song from there. And it knows when the next song is set. So then, it automatically stops after the song and the user will have to tap the next song if they want to listen to it.
Becuase, sometimes people only want to listen to one song not all of them.

Hmm there should be an "end" arg in the URL. I'll have to look into it.

Hmm there should be an "end" arg in the URL. I'll have to look into it.

ok

Hmm there should be an "end" arg in the URL. I'll have to look into it.

You can create a draft PR on this if you figure out how to get this done and I'll check it out!


Fix samd21 hard fault

Fixes #27
Problem of misaligned memory should now also be fixed for other platforms, since c++ keywords alignas/alignof are used.

Coverage remained the same at 96.104% when pulling 359dab2616b3ff18b8484d1a493d3f52902bcd8c on fix_samd21_hard_fault into 970dc2835236b307f02d6511d250b46ef4a05bbf on master.


Filter from key_ name

Hi,
We use Zabbix to monitor our equipments and among them, some multi tenant network ones and base our templates on Discovery rules in order to simply the items creations.
The problem about that is that many items are created with the same name which implies that filtering is impossible under Grafana.
Would it be possible to add a filter based on key_ names?

I think I can add option for showing key in item name.

Filter on keys_ also prevents empty graphs if the item description is changed


chore: change Philippe Scorsolini's organization

Signed-off-by: Gabriele Bartolini<EMAIL_ADDRESS>

/ok-to-merge


azcopy sync doesn't create log file when nothing to sync.

Which version of the AzCopy was used?
10.1.0
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy sync "z:" "https://blahblah"
What problem was encountered?
When there is nothing to sync no log file is created even though the output of the command indicates that it was created. See the attached image.
Any job should create a log file for auditing purposes.
How can we reproduce the problem in the simplest way?
do the same command twice. first one will sync, 2nd will have nothing to sync you will see the issue.
Have you found a mitigation/solution?
no

Thanks @gatornation11. This issue is on our backlog, to be fixed.

Hi there, this should be fixed this upcoming release. Thanks for opening an issue.

Fixed in version 10.3, which has just been released.


Add more information in themeta object of the API reponse

Detailed Description

The meta field in the response can be used to hold additional useful information related to the API's back-end status. It could also hold more information about the query itself like response time, etc.
Context

#3 added the pagination information as a meta object in the response. @YaroShkvorets in #1 also suggested to add other information to it:

In addition, meta can contain current head block and/or timestamp to know how far behind is syncing.

Possible Implementation

ClickHouse returns additional information that is currently only used for the /metrics endpoint. Those could also be returned in the meta field.
For details on the syncing status, we would need to craft a new ClickHouse query for the latest block height and/or other relevant information. Ideally, the syncing details should be sink agnostic and ClickHouse should hold all the necessary data.

Other alternatives

This information could also be returned from a new endpoint depending on the use case.

@YaroShkvorets I'm actually more in line with adding another endpoint for that type of information. Do you think it should be available also in the meta field ? Or would having a separate endpoint be enough ?

For details on the syncing status, we would need to craft a new ClickHouse query for the latest block height and/or other relevant information. Ideally, the syncing details should be sink agnostic and ClickHouse should hold all the necessary data.

On a second thought, we probably shouldn't execute a separate "get head block number" query with every request. It probably just needs its own endpoint like /health

ClickHouse returns additional information that is currently only used for the /metrics endpoint. Those could also be returned in the meta field.

These metrics returned by ClickHouse could be pretty useful for troubleshooting:
                "elapsed": 0.000272376,
                "rows_read": 3,
                "bytes_read": 24

Also we could return the entire executed SQL query.
Although that's probably not something we should return these with every request. Maybe to our team members only based on x-api-key?

On a second thought, we probably shouldn't execute a separate "get head block number" query with every request. It probably just needs its own endpoint like /health

Agreed, something like /head that would provide that information.

These metrics returned by ClickHouse could be pretty useful for troubleshooting:
                "elapsed": 0.000272376,
                "rows_read": 3,
                "bytes_read": 24

Definitely, will work on adding that to the meta field as well.

Also we could return the entire executed SQL query. Although that's probably not something we should return these with every request. Maybe to our team members only based on x-api-key?

The logger actually already outputs the executed query (code). I assume you would want that information for monitoring purposes ? In that case I think having the logs is probably just fine.


Turn on settings sync make app close itself

VSCode Version: 1.48.0
OS Version: ManjaroLinux 20.0.3

Steps to Reproduce:

Open VSCode
From Side menu and above settings icon click on the profile icon and after that click on 'Turn on settings sync'
You will see that the program closes after 3-4 seconds and nothing else appears

NOTE:
I already tried this on Windows 10 and it worked fine without any problems but here in Manjaro I have this problem.
I also should mention that I installed VSCode on Manjaro using Snap store.

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

Can you please start vscode with --verbose and provide us the trace that is printed in the console?
Is it possible to record a video and share it?

Here the output using --verbose
Gtk-Message: 15:28:26.602: Failed to load module "canberra-gtk-module"
(code:5274): GdkPixbuf-WARNING **: 15:28:26.622: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Gtk-Message: 15:28:26.663: Failed to load module "colorreload-gtk-module"
[main 2020-08-17T13:28:26.868Z] Starting VS Code
[main 2020-08-17T13:28:26.869Z] from: /var/lib/snapd/snap/code/40/usr/share/code/resources/app
[main 2020-08-17T13:28:26.869Z] args: {
  _: [],
  diff: false,
  add: false,
  goto: false,
  'new-window': false,
  'reuse-window': false,
  wait: false,
  help: false,
  'list-extensions': false,
  'show-versions': false,
  version: false,
  verbose: true,
  status: false,
  'prof-startup': false,
  'disable-extensions': false,
  'disable-gpu': false,
  telemetry: false,
  logExtensionHostCommunication: false,
  'skip-release-notes': false,
  'disable-restore-windows': false,
  'disable-telemetry': false,
  'disable-updates': false,
  'disable-crash-reporter': false,
  'disable-user-env-probe': false,
  'skip-add-to-recently-opened': false,
  'unity-launch': false,
  'open-url': false,
  'file-write': false,
  'file-chmod': false,
  'driver-verbose': false,
  force: false,
  'do-not-sync': false,
  trace: false,
  'force-user-env': false,
  'open-devtools': false,
  'no-proxy-server': false,
  nolazy: false,
  'force-renderer-accessibility': false,
  'ignore-certificate-errors': false,
  'allow-insecure-localhost': false
}
[main 2020-08-17T13:28:26.871Z] Resolving machine identifier...
[main 2020-08-17T13:28:26.871Z] Resolved machine identifier: e24cf26cb10133d303e4c0a75863bfbe443115abc248fac5b632cd782826bf8f
[main 2020-08-17T13:28:26.884Z] update#setState idle
[main 2020-08-17T13:28:26.890Z] [storage state.vscdb] open(/home/mohammadreza/.config/Code/User/globalStorage/state.vscdb, retryOnBusy: true)
[main 2020-08-17T13:28:26.891Z] lifecycle (main): phase changed (value: 2)
[main 2020-08-17T13:28:26.892Z] windowsManager#open
[main 2020-08-17T13:28:26.893Z] window#validateWindowState: validating window state on 1 display(s) { mode: 1, x: 478, y: 248, width: 1024, height: 768 }
[main 2020-08-17T13:28:26.893Z] window#validateWindowState: 1 monitor working area { x: 0, y: 0, width: 1920, height: 1044 }
[main 2020-08-17T13:28:26.894Z] window#ctor: using window state { mode: 1, x: 478, y: 248, width: 1024, height: 768 }
[5302:0817/152826.903312:ERROR:gl_surface_glx.cc(88)] glXGetFBConfigs failed.
[5302:0817/152826.903363:ERROR:gl_surface_glx.cc(128)] Failed to get GLXConfig
[5302:0817/152826.903370:ERROR:gl_surface_glx.cc(477)] CreateDummyWindow(gfx::GetXDisplay()) failed
[5302:0817/152826.903381:ERROR:gl_initializer_x11.cc(148)] GLSurfaceGLX::InitializeOneOff failed.
[5302:0817/152826.905805:WARNING:x11_util.cc(1399)] X error received: serial 233, error_code 8 (BadMatch (invalid parameter attributes)), request_code 78, minor_code 0 (X_CreateColormap)
[5302:0817/152826.905900:ERROR:viz_main_impl.cc(176)] Exiting GPU process due to errors during initialization
[5274:0817/152826.908991:WARNING:gpu_process_host.cc(1225)] The GPU process has crashed 1 time(s)
[5274:0817/152826.951088:WARNING:gpu_process_host.cc(995)] Reinitialized the GPU process after a crash.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
(code:5274): Gtk-WARNING **: 15:28:32.133: Could not load a pixbuf from /org/gtk/libgtk/icons/22x22/actions/gtk-cancel.png.
This may indicate that pixbuf loaders or the mime database could not be found.

(code:5274): Gtk-WARNING **: 15:28:32.134: Error loading theme icon 'gtk-cancel' for stock: Unrecognized image file format
(code:5274): GdkPixbuf-WARNING **: 15:28:32.134: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

(code:5274): Gtk-WARNING **: 15:28:32.134: Error loading theme icon 'image-missing' for stock: Unrecognized image file format
[5274:0817/152832.134751:ERROR:browser_main_loop.cc(273)] Gdk: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
[5274:0817/152832.134796:ERROR:browser_main_loop.cc(273)] GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(code:5274): GdkPixbuf-WARNING **: 15:28:32.149: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
(code:5274): GdkPixbuf-WARNING **: 15:28:32.150: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
  gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
**
Gtk:ERROR:/build/gtk+3.0-24RAPQ/gtk+3.0-3.22.24/./gtk/gtkiconhelper.c:493:ensure_surface_for_gicon: assertion failed: (destination)
Server response: {"status":"Success","validDiagnostic

Actually after doing some googling, I was able to fix this problem with commands found here
But I would like to see a future fix to this in the next update.

/duplicate
https://github.com/microsoft/vscode/issues/100940


add Swaggerdocs

closes #15

kudos to @MichaelRShelton for building the docs from the swagger docker image!


Support a pluggable reconnect mechanism

If a client gets disconnected, disque servers are retried in a round-robin fashion. It would be helpful to choose from various connect/reconnect mechanisms (even for connecting to the first node, similar to Redis Sentinel). The HELLO command provides a list of nodes and priorities for instance.

Implemented.


Fivulnerability scan for scheduled triggers

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Remove generic fallbacks

We should remove the generic fallbacks:
"""
    allocate_cache(alg, prototypes...)

Allocate a cache that the algorithm will use during `run!`, given some values
that are `similar` to values that need to be cached.
"""
function allocate_cache(alg, prototypes...) end

"""
    run!(alg, cache, args...)

Run the algorithm for the given arguments, using the `cache` to store
intermediate values. Depending on the algorithm, the input arguments may also
get modified.
"""
function run!(alg, cache, args...) end

since calling these methods accidentally can be tricky to catch, and we're currently relying on them in the test suite.

This was not closed by #119

Closed by #120 and #121


Entity not available (Power Sensor) but displayed in Entities

Hello,
Yesterday i setup a new HA system and install your great FusionSolar plugin.
Everything works fine but in grid settings i get following message
statistics_not_defined
sensor.meter_1_active_energy_forward_active_energy
sensor.meter_1_reverse_active_energy
Entity not available
The status of these configured entities is currently unavailable:
sensor.meter_1_active_energy_forward_active_energy (unknown)
sensor.meter_1_reverse_active_energy (unknown)
If i check my entities - both will be displayed - also during editing intellisense suggest it.
thank markus

I don't understand your issue. Could you clarify with some screenshots?


Completed Task 925 : Design System > Elements > Enhancements in Top Nav

Description

Changes for the enhancement of the top nav
Added stories ->
1)ABP
2)Raaghu Portal
3)Ecommerce1
4)Ecommerce2
5)Ecommerce3
6)Ecommerce4
7)Product 1
8)Product 2
9)Product 3
10)Product 4
11)Raaghu Design System
12)Entertainment 1
13)Entertainment 2
14)Entertainment 3
15)Entertainment 4
16)Professional 1
17)Professional 2
18)Professional 3
19)Professional 4
20)Professional 5
21)App Shell 3

Screenshot:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

top nav layout works well for tablets as we have figma wireframe as desktopn to tablet view only


unreferenced variable fix

Fixes #434

Coverage increased (+0.1%) to 96.154% when pulling d83d3d9172cb1b61347c1923b048c0beabf328cb on edgale:master into 020cc26b5cb147ae3569a3f7d314d3900b4bbc0b on akheron:master.


Orion Damage when adding weapon mods

noticed a -80 dmg debuff on all Orion weapon mods except from standard/pre attached mods if the community patch is on the load order

Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
install the community patch

This is almost certainly a menu display issue. Not an actual debuff. I’ve seen the menu claim some very wrong numbers, with no rhyme or reason.
It’s a bug with the vanilla game, not the SFCP. Are you able to provide any additional information, or screenshots?

Unable to replicate on my end. Since the SFCP does not touch the Orion, or any of its modifications, so I do not see how it would be causing this issue. Marking this one down as either a UI display bug, or something on the user's end.


Release OpenSeadragon 2.0

This is going to be a big one, with the new multi-image support. I think we're probably ready, though.
Anything else to take care of first? We should do a multi-image example page on the site, at least.

Should that be a 2.0.0?
For my use case, I will be missing the layer transparency so I will hold on 1.2 for a while.

Sure...maybe 2.0.0 makes sense. I'm open to either way.
We really haven't been following http://semver.org/ ... I've generally been bumping the middle number for breaking changes and the last number for compatible changes, and just letting the first number roll over after the middle number hits 9.
On the other hand, this is a major upgrade, with a lot of breaking changes, so maybe it's worth going to 2.0.0.
Regarding layer transparency, good to know you need that...maybe I'll bump up the priority on that feature. Is that the only thing keeping you from upgrading?

Yeah, I kind of had semver in mind when suggesting 2.0.0. The current scheme looks good to me as well.

Regarding layer transparency, good to know you need that...maybe I'll bump up the priority on that feature. Is that the only thing keeping you from upgrading?
Yes, I think so. However, I do not need the new features for now so staying on 1.2 is fine.

Cool. I won't let it hold up the release, but I'll keep it on the radar.

I think I'll go with 2.0.0 after all; it does feel like a significant upgrade. Also I think I'm ready to do it... :)

:+1:

Done! https://github.com/openseadragon/openseadragon/releases/tag/v2.0.0


drivers/filesystem/src/parseDirectory.ts is too big, split it in smaller files and functions

Currently it has been splitted in small functions, but it's still on the same file.
Anyway, The driver might be completely pre-engineered: https://github.com/hacknlove/orgasmoproject/issues/29


#3206 Service screen refinement

resolves #3206
resolves #2940
The service screen shows the stages in a timeline and the evaluation result and comparison or the approval item for the selected stage if available.
Service screen with approval item:

Service screen with evaluation result and comparison:

I added the link to the sequence as well.


Add a implementation to add different virtual backgrounds across faces like in google meets, zoom etc.

add you work in awesome face operations folder by creating your implementation folder inside it

I can work on this. Please assign this issue to me.

I have created a Real-Time Background Replacement using OpenCV and CVzone. Please assign this to me.  Working on this for hacktoberfest and SLoP 2.0

Was this one already implemented? Or should I work on it?

can i work on this issue?

I would like to take a spin at this one, I will be Image segmentation and OpenCV to implement the said features, I can also further quantize the Image Segmentation Model to ensure better performance on low power devices!

Hi, I would like to solve this issue, using OpenCv and segmentation.
I can create an optimized model to ensure high frame rates on lower end devices
Please assign me this issue under SSOC'23