Support optional sets in globbing patterns, e.g. {js,min.js}

From @DamianEdwards on Friday, February 20, 2015 3:24:44 PM
Add support to the Matcher for globbing patterns containing {} comma-separated lists of "OR" patterns. This would be really useful in the Tag Helper case for including files with similar, but different, extensions, or segments.
See http://gruntjs.com/configuring-tasks#globbing-patterns
Copied from original issue: aspnet/FileSystem#67

Thanks for your feedback. We appreciate your letting us know about the problem you've encountered or suggestion but we are not planning to take further action on this issue because our focus has been on issues with significantly higher customer interest and issues impacting a broad number of customers.


Dependent typed Position

resolve #158

Just let you know I'm doing this. and my cpp code seems ugly, can someone help me

Why not just use, SDL Coordinate System, don't let Project have 2 Coordinate System.


Remove deleted filename entries from index.txt on cleanup-export operation

Cleanup-export operation updates exportfile table status as well as deletes the files from GCS but it doesn't update the index.txt by removing deleted file entries.

/kind bug
/cc @gurayAlsac @squee1945


fix gateway node check for centralized ecmp subnets

Pull Request

[x] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Features
Bug fixes
Docs
Tests

Which issue(s) this PR fixes
kube-ovn-controller gateway nodes by "privileged" raw ICMP ping. NET_RAW is required to do these checks.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 22 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.002%) to 21.925%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controller/controller.go
0
1
0.0%

pkg/controller/node.go
0
21
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller/node.go
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>1:
-0.002%

Covered Lines:
10174

Relevant Lines:
46403

💛  - Coveralls


Error: theme is not iterable

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Make a component with a ThemeProvider that overrides a global theme, using a function, like this:
<ThemeProvider
  theme={(theme: Theme) => createTheme({ ...theme, ...themeOverrides })}
>

This will produce the error theme is not iterable.
When I console.log the theme parameter, I can see that the theme is there, and should be iterable, but for some reason, isn't.
This is taken from the documentation linking to this piece of example code.
Current behavior 😯
Error: theme is not iterable
  at mergeOuterLocalTheme (/node_modules/.cache/.vite-storybook/deps/chunk-MZIKI65O.js?v=dcac2be6:372:35)
  at ThemeProvider/theme< (/node_modules/.cache/.vite-storybook/deps/chunk-MZIKI65O.js?v=dcac2be6:394:55)
  at mountMemo (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:12817:27)
  at useMemo (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:13141:24)
  at useMemo (/node_modules/.cache/.vite-storybook/deps/chunk-RR2PLUOE.js?v=dcac2be6:1094:29)
  at ThemeProvider (/node_modules/.cache/.vite-storybook/deps/chunk-MZIKI65O.js?v=dcac2be6:393:24)
  at renderWithHooks (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:12171:35)
  at mountIndeterminateComponent (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:14921:21)
  at beginWork (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:15902:22)
  at beginWork$1 (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:19749:22)
  at performUnitOfWork (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:19194:20)
  at workLoopSync (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:19133:30)
  at renderRootSync (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:19112:15)
  at recoverFromConcurrentError (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:18732:42)
  at performSyncWorkOnRoot (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:18875:28)
  at flushSyncCallbacks (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:9135:30)
  at flushSync (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:18955:15)
  at scheduleRefresh (/node_modules/.cache/.vite-storybook/deps/chunk-ZCIEGFGI.js?v=dcac2be6:20000:22)
  at attach/renderer.scheduleRefresh (moz-extension://893d757c-892d-4747-a37b-ea01ab8e2376/build/react_devtools_backend.js:6578:16)
  at performReactRefresh (/@react-refresh:267:17)
  at performReactRefresh (/@react-refresh:256:26)
  at setTimeout handler*debounce (/@react-refresh:666:14)
  at validateRefreshBoundaryAndEnqueueUpdate (/@react-refresh:701:5)
  at /@fs/C:/Projects/Renewi/turborepo/packages/ui/Footer.tsx?t=1680860500875:105:48
  at createHotContext/accept (/@vite/client:581:96)
  at fetchUpdate (/@vite/client:523:15)
  at queueUpdate (/@vite/client:435:60)
  at queueUpdate (/@vite/client:435:38)
  at async*handleMessage (/@vite/client:312:28)
  at handleMessage (/@vite/client:310:47)
  at setupWebSocket (/@vite/client:252:22)

Expected behavior 🤔
No error, works as described in the documentation.
Context 🔦
Trying to override a global theme from within a reusable component. In this component, links are supposed to be in a different colour, among a couple of other alterations.
Your environment 🌎

npx @mui/envinfo

  System:
    OS: Windows 10 10.0.19045
  Binaries:
    Node: 18.15.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 9.6.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 112.0.5615.50
    Edge: Spartan (44.19041.1266.0), Chromium (111.0.1661.62)
  npmPackages:
    @emotion/react:  11.10.6
    @emotion/styled:  11.10.6
    @mui/base:  5.0.0-alpha.124
    @mui/core-downloads-tracker:  5.11.16
    @mui/material:  5.11.16
    @mui/private-theming:  5.11.13
    @mui/styled-engine:  5.11.16
    @mui/system:  5.11.16
    @mui/types:  7.2.3
    @mui/utils:  5.11.13
    @types/react:  18.0.33
    react:  18.2.0
    react-dom:  18.2.0
    typescript:  4.9.5

I'm using Firefox 111 on Windows 10, which is not listed by this command, for whatever reason (please fix that too).

Aaaaand suddenly it starts working. No code change.
All I did was add a console.log into the function, rebuild, Ctrl+Z it away, and rebuild. What the actual what?

I am not sure how can I help in this case. Glad it works!


Add promise rejection for process errors

Add handling and logging @ https://github.com/kiteco/kite-connect-js/compare/proc-err-logging?expand=1#diff-50e3aa130a4f97a42ee2cf111c7b1d9dR209
to help debug the Rollbar issues. Previously, we had no handling in the event that an error occurs when a child process is spawned.

Codecov Report

Merging #37 into master will decrease coverage by 0.06%.
The diff coverage is 87.5%.

@@            Coverage Diff             @@
##           master      #37      +/-   ##
==========================================
- Coverage    73.5%   73.44%   -0.07%
==========================================
  Files          17       17
  Lines         721      723       +2
==========================================
+ Hits          530      531       +1
- Misses        191      192       +1

Impacted Files
Coverage Δ

lib/utils.js
79.68% <87.5%> (-0.48%)
:arrow_down:

Continue to review full report at Codecov.

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


Scaffolding item not visible in Visual Studio 2015 after installing ASP.NET 5 RC

I was trying out the demo code for my course next wednesday on ASP.NET 4.6 and 5.
Turns out that the Scaffolding option is gone when you install the RC of ASP.NET 5.
Don't think I can do anything about that for next wednesday, but if you're still doing workshops based on this trainingkit, don't install ASP.NET 5 RC or show a different demo ;-)

Scaffolding works, but not in File / New / ASP.NET 5 Empty project. That's being added in future releases, but I'm closing this as it's not a Web Camps issue.


Log message severity isn't properly reported in stackdriver

Below are the TFJob operator logs fetched with the following query.
gcloud --project=${PROJECT} logging read --format="table(timestamp, severity, resource.labels.container_name, jsonPayload.level, jsonPayload.msg)" --freshness=1h      --order asc         "resource.type=\"container\" resource.labels.cluster_name=\"${CLUSTER}\"  resource.labels.pod_id=\"${POD}\"  jsonPayload.job=\"kubeflow.demo-trainer-11-05-dist-gpu\"" > ~/tmp/trainer-logs-1106.txt

The log prints out the severity as reported in stackdriver as well as the level in the json message. The level indicates they are info level log messages but they are logged as severity error in stackdriver.
trainer-logs-1106.txt

I had similar problem. By default stackdriver assigns severity based on target stream (so for example: logs captured from stdout get severity "info" and ones from stderr get "error"). Python logging module's default handler sends all logs to stderr (even those with INFO level), that's why all of them has "error" severity in stackdriver.
Here is an example how to split logging between stdout and stderr: https://stackoverflow.com/questions/16061641/python-logging-split-between-stdout-and-stderr

We are not using python logging package in tf-operator, I think.
We are using "github.com/sirupsen/logrus" and its default output is STDERR. It should be easy to fix.
// Creates a new logger. Configuration should be set by changing `Formatter`,
// `Out` and `Hooks` directly on the default logger instance. You can also just
// instantiate your own:
//
//    var log = &Logger{
//      Out: os.Stderr,
//      Formatter: new(JSONFormatter),
//      Hooks: make(LevelHooks),
//      Level: logrus.DebugLevel,
//    }
//
// It's recommended to make this a global instance called `log`.
func New() *Logger {
	return &Logger{
		Out:          os.Stderr,
		Formatter:    new(TextFormatter),
		Hooks:        make(LevelHooks),
		Level:        InfoLevel,
		ExitFunc:     os.Exit,
		ReportCaller: false,
	}
}

After https://github.com/kubeflow/tf-operator/pull/1088 is merged, I can have a look.

/kind bug


PrepareDebit and PrepareCredit should take a context

We've been seeing lock contention in the accounting package on these method calls from the protocols. While it is not clear why the elevated amount of calls is happening, it is clear that the goroutines that try to acquire the lock don't back off in case the context expires. We should respect the context when trying to do these operations, and potentially return an error and return in case the context expires while trying to acquire the lock.

leak.txt


splits secondary rank between internet only and internet plus others

Checks for entryNodeName were redundant since it has default value
If node has more than one incoming node, put in rank 2 instead of rank 1

released 4.6.1 with this change

submitted PR in vizceral-react to pull in this release https://github.com/Netflix/vizceral-react/pull/16


feat: Labeled Error-bound Input

SUMMARY
I have created a new dynamic error-bound input. When the user interacts with this form, if an error occurs - designated by a function passed into the validationMethods parameter - the error will replace any existing helper text until the error is resolved. <LabeledErrorBoundInput /> accepts the following parameters in order to customize the input:
  name: string;
  validationMethods:
    | { onBlur: (value: any) => void }
    | { onChange: (value: any) => void };
  errorMessage: string | null;
  helpText?: string;
  value: string | number | readonly string[] | undefined;
  required?: boolean;
  placeholder?: string;
  autocomplete?: string;
  type?: string;
  id?: string;

ANIMATED GIF

TEST PLAN

Run Storybook
Click LabeledErrorBoundInput > Interactive LabeledErrorBoundInput
Type success into the text box to observe error behavior

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

A bit late on this, but one useful pattern would be to have the validators return null (if no errors) or an error message (if any errors). Then the validators don't need to worry about updating state.


Quizzes will not accept mobile answers

Issue Description

When Issue Happens
Steps To Reproduce
This issue has Been happening for about a month now,  whenever I try to enter an answer on my phone at least one qualification will be incorrect and it won't give me credit. I've just been doing simple things like html and css. For whatever reason it won't work but it's fine on my desk top.

My phone is an optimus 90 lg, with the standard browser

I don't think I've ran into any problems on a mobile browser. I'll keep this open in case others run into any issues.


Remove deprecated support for hooks that do not accept a requests argument

Resolved fixed in https://github.com/falconry/falcon/pull/1442


Put Server URL to HomePage

Actual behaviour
Tomcat URL is in Test Documentation
Expected behaviour
Tomcat URL is in HomePage

Server URL is inserted to HomePage


Relocate Stream Analytics solution into corresponding src folder

connects to #231

Don't merge yet. I moved fabrikam_buildingdevice.json to the LongTermStorage folder which is confusing because it will be used from other scenarios too.


hot-client should also be available with target "electron-renderer"

Operating System: Arch Linux 4.15.10-1-ARCH x86_64
Node Version: 9.8.0
NPM Version: 5.7.1
webpack Version: 4.1.1
webpack-hot-client Version: 2.0.0

[ ] This is a bug
[ ] This is a feature request
[x] This is a modification request

I'm struggling on build a development envirement with Electron and HMR enabled, so the config.target was set to "electron-renderer".  The dev-server.js below aims to start server with hot reload, so I chose webpack-serve. However when I create Electron BorwserWindow points to that server address, not-reload not presented as expected.
https://github.com/webpack-contrib/webpack-hot-client/blob/0d409f4e963465f2af3e37f8de6ac12e5221eb98/lib/util.js#L9-L11
code above seems to provide hot-client to target "web" only. After deleted those lines in my local node_modules, hot-reload seems to work.
so why "electron-renderer" is not accepted by default? Is it by design, or just other reasons?
Code

webpack.config.renderer.js
'use strict';

const webpack = require('webpack');
const packageJson = require('../package.json');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

const { absPath, DefaultEnv } = require('./util');

let cfg = {
    mode: DefaultEnv,
    context: absPath('src/renderer'),
    target: 'electron-renderer',
    entry: {
        renderer: ['./index.tsx']
    },
    output: {
        path: absPath('dist/static'),
        filename: '[name].js'
    },
    resolve: {
        extensions: ['.js', '.ts', '.tsx', '.json'],
    },
    performance: {
        hints: false
    },
    module: {
        rules: [
            {
                test: /\.css$/,
                use: ExtractTextPlugin.extract({
                    fallback: 'style-loader',
                    use: 'css-loader'
                })
            },
            {
                test: /\.less$/,
                use: ExtractTextPlugin.extract({
                    fallback: 'style-loader',
                    use: ['css-loader', 'less-loader']
                })
            },
            {
                test: /\.ts$/,
                use: 'ts-loader',
                exclude: /node_modules/
            },
            {
                test: /\.tsx$/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: {
                            babelrc: false,
                            plugins: [
                                "babel-plugin-syntax-jsx",
                                ["babel-plugin-inferno", { imports: true }]
                            ]
                        }
                    },
                    'ts-loader'
                ],
                exclude: /node_modules/
            },
            {
                test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
                use: {
                    loader: 'file-loader',
                    query: {
                        name: 'imgs/[name].[ext]'
                    }
                }
            },
            {
                test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
                use: {
                    loader: 'file-loader',
                    query: {
                        name: 'fonts/[name].[ext]'
                    }
                }
            }
        ]
    },
    plugins: [
        new ExtractTextPlugin('styles.css')
    ]
};

util.js
'use strict';

const { join } = require('path');

const DefaultEnv = process.env.NODE_ENV || 'development';
const ProjectRoot = join(__dirname, '..');

function absPath(...paths) {
    return join(ProjectRoot, ...paths);
}

module.exports = {
    DefaultEnv,
    absPath
};

dev-server.js
const rendererCfg = require('./webpack.config.renderer');

const serve = { host: '<IP_ADDRESS>', port: 5146 };
const hot = { host: '<IP_ADDRESS>', port: 5147 };

WebpackServe({
    config: rendererCfg,
    clipboard: false,
    hot: hot,
    ...serve
});

Expected Behavior
hot-client should also work with target "electron-renderer"
Actual Behavior
there won't be hot-reload with target "electron-renderer"

Thanks for the issue 🍺
Electron isn't something we want to directly support since it has (or at least it used to have) some major quirks when using a local dev server. Let me consider how we can allow users to override that value. If you have suggestions please share them.

@shellscape What kind of quirks? Are you sure you aren't thinking of electron-main? electron-render barely differs from web as a target, it just doesn't apply NodeSourcePlugin (which looks like a tiny shim) and includes some extra externals, otherwise it's the same. At least from Webpack's perspective.
Just in case, I'm only starting out with Electron, so I still have some unknown unknowns.

Also hot-client should support 'node-webkit' target.
Is compiler.options.target !== 'web' check really necessary?

@lynxtaa yes, checking the target is necessary.

@Rocket1184 @jeremejevs @lynxtaa check out #38. I'll merge that tomorrow if no one has commented.

@shellscape Webpack's target list is limited and doesn't change that often. Couldn't there just be a whitelist (e.g. with only web for now) and a "graylist" (electron-renderer, node-webkit), which prints a suppressible warning, looking something like "This target may or may not work, use at your own risk"? And maybe later transfer those to the whitelist, once there's more certainty?

Christ on a cracker, man. 😄  @jeremejevs I'm not sure how many other ways to say that this module is not going to directly support other targets. No, nee, não, niet, nein, nahi, voch, non.

From your last comment in the PR:

you're going to be using this outside the intended environment

This is the core of the problem. The intended environment should be "every browser-like target of Webpack", and then there should be "use at your own risk" support of other targets. Why the axiom of "web only"?
And this is getting pretty rude :slightly_smiling_face: You keep responding with "not going to happen" instead of providing rationale, and now I'm getting an ELI5 version of it. I'm out.

The intended environment should be "every browser-like target of Webpack", and then there should be "use at your own risk" support of other targets.

And I've said repeatedly that it's not.

Why the axiom of "web only"?

Because that's what this was written for, and that's all the project wants to support. I'm baffled as to why that's hard to grok.

now I'm getting an ELI5 version of it. I'm out.

OK. You can always fork. This project is MIT and would be relatively simple to keep updated with upstream.


Can't get it to work on iOS with Flutter

How can I make RavePay work on iOS? It won't let me build the app because of issues with Swift. Thanks in advance!!
This is the Debug Console output:
Launching lib/main.dart on iPhone X in debug mode... Xcode build done. Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED ** Xcode's output: ↳ === BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug === /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/Headers/Public/flutter_ravepay/FlutterRavepayPlugin.h:1:9: note: while building module 'Flutter' imported from /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/Headers/Public/flutter_ravepay/FlutterRavepayPlugin.h:1: #import <Flutter/Flutter.h> ^ <module-includes>:1:9: note: in file included from <module-includes>:1: #import "Headers/Flutter.h" ^ /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/Flutter.h:44:10: note: in file included from /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/Flutter.h:44: #include "FlutterAppDelegate.h" ^ /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterAppDelegate.h:11:10: note: in file included from /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterAppDelegate.h:11: #include "FlutterPlugin.h" ^ /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterPlugin.h:100:42: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/Headers/Public/flutter_ravepay/FlutterRavepayPlugin.h:1:9: note: while building module 'Flutter' imported from /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/Headers/Public/flutter_ravepay/FlutterRavepayPlugin.h:1: #import <Flutter/Flutter.h> ^ <module-includes>:1:9: note: in file included from <module-includes>:1: #import "Headers/Flutter.h" ^ /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/Flutter.h:54:10: note: in file included from /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/Flutter.h:54: #include "FlutterPluginAppLifeCycleDelegate.h" ^ /Users/sebasbose/Desktop/Voligg/voligg_marketplace/ios/Pods/../.symlinks/flutter/ios/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.h:70:42: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings didRegisterUserNotificationSettings:(UIUserNotificationSettings*)notificationSettings; ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here @interface UIUserNotificationSettings : NSObject ^ === BUILD TARGET firebase_database OF PROJECT Pods WITH CONFIGURATION Debug === /Users/sebasbose/Developer Tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_ravepay-0.2.1/ios/Classes/FlutterRavepayPlugin.m:2:9: fatal error: 'flutter_ravepay/flutter_ravepay-Swift.h' file not found #import <flutter_ravepay/flutter_ravepay-Swift.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Could not build the application for the simulator. Error launching application on iPhone X. Exited (sigterm)

@sebasbose Did you follow the guide? I know iOS setup is a bit complex, but it will work eventually,
https://developer.flutterwave.com/docs/ios

I have followed the steps, the problem is that now the Debug Console and XCode are throwing a bunch of errors regarding RavePay's code.

@sebasbose Take a look at the example repo and see if you can reproduce. I currently use this in production and the example repo contains the exact code i use.

I re-installed everything, followed the steps just as it is in the docs. Every error I got is now gone; but, I am still getting an error...
The error output:
fatal error: lipo: -extract x86_64 specified but fat file: /Users/sebasbose/Desktop/Voligg/voligg_marketplace/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Rave.framework/Rave does not contain that architecture Failed to extract x86_64 for /Users/sebasbose/Desktop/Voligg/voligg_marketplace/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Rave.framework/Rave. Running lipo -info: Architectures in the fat file: /Users/sebasbose/Desktop/Voligg/voligg_marketplace/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Rave.framework/Rave are: armv7 arm64

Okay. This one is new to me. Maybe a quick search on google might prove useful. And like I said if you follow the example repo. It'll eventually work. Setting up on iOS is a bit tricky.

I have managed to get it working with the guid, I had to delete everything related to the pod and install it again following the guide. Everything worked so far but I am getting this error when trying to charge a card: 'MissingPluginException(No implementation found for method chargeCard on channel ng.i.handikraft/flutter_ravepay)'

@sebasbose I'd ask again, can you follow the example repo? It seems you haven't implemented in your AppDelegate. See https://github.com/jogboms/flutter_ravepay/blob/master/example/ios/Runner/AppDelegate.swift

@jogboms I did add an AppDelegate.swift, the problem is that my Flutter project is written in Objective-C; maybe that's the problem...?
`
import UIKit
import Rave
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    let config = RavePayConfig.sharedConfig()
    config.publicKey = "My Public Key"
    config.secretKey = "My Secret Key"

    config.isStaging = true // Default is true
    return true

}

}`

Oh @sebasbose. That could be it. I had issues then too.
I had to result to using Swift.
I even created an issue https://github.com/Flutterwave/Rave/issues/1

Well, I think I'll have to wait until it is compatible with Obj-C...

I hope it doesn't take too long though. You can follow up on that issue and let me know if any errors come up after that has been resolved.


Picture in Picture support for VideoView and SwiftUI VideoView

Is your feature request related to a problem? Please describe.
I read about how to add Picture in Picture in a video call application and there are two steps that you have to follow to add PiP support:

You have to create an AVPictureInPictureController that has an AVSampleBufferDisplayLayer attached to it where the buffer contains the video content that will be shown on the PiP window.
Make sure that the AVSampleBufferDisplayLayer from the previous step is added as a subview to the view hierarchy otherwise the PiP will not work

I've tried to add PiP support to my LiveKit application, the implementation makes use of avSampleBufferDisplayLayer VideoView property by using sampleBuffer rendering mode. It worked but it has some flaws. The problem is caused by the internal renderer invalidation that happens here, the renderer will be recreated and thus the avSampleBufferDisplayLayer will be changed, this way the AVPictureInPictureController won't point to the right buffer and PiP won't work.
Describe the solution you'd like
I think that the best way to enable Picture in Picture support in LiveKit would be to add to the VideoView an extra SampleBufferVideoRenderer that will have the purpose of exposing to the users its internal AVSampleBufferDisplayLayer (a new property on VideoView that is named pictureInPictureDisplayLayer). Another aspect of this implementation is that the pictureInPictureDisplayLayer must not be destroyed whenever the track state changes instead it should be flushed.
The new overhead added to VideoView should be on user demand. I suggest adding a new boolean property pictureInPictureEnabled on VideoView that will handle the creation of pictureInPictureDisplayLayer.
Describe alternatives you've considered
Other alternative solutions, would be:

Stop invalidating the renderer whenever the track state changes and flush the old content of SampleBufferVideoRenderer
Add a new PictureInPictureRenderer renderer class that exposes the implementation of SampleBufferVideoRenderer as public, this way the library users will be able to attach it to a VideoTrack and add Picture in Picture support by themselves without the usage of VideoView.

Additional context
I would like to help with this new feature if you agree and create a PR with one of the solutions that were proposed above.

Hi @VatamanuBogdan , were you able to create the pip view when the app goes in background?

Hi, @jestha166, sorry for the late response.
Yes, I was able to create the PiP view by using avSampleBufferDisplayLayer property that is not null when the rendering mode is set to sample buffer.
All you have to do is to create an AVPictureInPictureController:
let contentSource = AVPictureInPictureController.ContentSource(
            /* Where videoView it's your view that renders in sampleBuffer mode */
            sampleBufferDisplayLayer: videoView.avSampleBufferDisplayLayer,
            playbackDelegate: self
)

let pipController = AVPictureInPictureController(contentSource: contentSource)

Then you only have to start the pip controller when your app goes in background using:
pipController.startPictureInPicture()

and stop it when the app return in foreground:
pipController.stopPictureInPicture()


XGboost may need some work in the KFService container

/close


forceDelete is not working for embeded documents

Consider we have:
$book = $author->books()->first();
$book->delete() //is working good
// But
$book->forceDelete();// is not working
the query is: books.remove({"_id":{"$id":"542b0d0514ec3537788b4568"}}
and it should use mongodb $pull

@jenssegers @andrewryno have you looked at this? :+1:


bugfix: typo code comments

Ⅰ. Describe what this PR did
typo code comment, change updateDescription to
daemonUpdateDescription.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews
Signed-off-by: Rudy Zhang<EMAIL_ADDRESS>

Codecov Report

Merging #1591 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1591      +/-   ##
==========================================
+ Coverage   41.65%   41.66%   +<.01%
==========================================
  Files         268      268
  Lines       17408    17408
==========================================
+ Hits         7252     7253       +1
- Misses       9260     9261       +1
+ Partials      896      894       -2

Impacted Files
Coverage Δ

cli/update_daemon.go
0% <ø> (ø)
:arrow_up:

ctrd/image.go
76.57% <0%> (-2.86%)
:arrow_down:

daemon/logger/jsonfile/utils.go
73.17% <0%> (+1.62%)
:arrow_up:

apis/server/server.go
48.75% <0%> (+5%)
:arrow_up:

lgtm


What kind of loss is used with the stochastic duration predictor of matchatts?

What kind of loss is used with the stochastic duration predictor of matchatts ?

It is the same flow matching loss used to train Matcha-TTS, the results are evaluated in this paper.


Release 0.20.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Additionally, removes the patch provided in #116 as it is no longer necessary.
conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hmmm, linux error appears to be
ERROR: Command errored out with exit status 1:
     command: /home/conda/feedstock_root/build_artifacts/cartopy_1631890513773/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/bin/python /home/conda/feedstock_root/build_artifacts/cartopy_1631890513773/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp5ym0n2pi
         cwd: /tmp/pip-req-build-ussely81
    Complete output (8 lines):

    Beginning with Cartopy 0.19, Python 3.7 or above is required.
    You are using Python 3.6.13.

    This may be due to an out of date pip.

    Make sure you have pip >= 9.0.1.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Non noarch packages should have python requirement without any version constraints.
Non noarch packages should have python requirement without any version constraints.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Non noarch packages should have python requirement without any version constraints.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@akrherz, I recently built at test build of master: https://github.com/conda-forge/cartopy-feedstock/pull/117
Presumably that should contain any updates that are needed.  I believe one might be:
    - ucrt  # [win]

@conda-forge-admin, please rerender

@xylar I see a python3.6 build job is back again.  Please feel free to push to my tree if you want to iterate some things or continue your kind suggestions.  I'm chomping at the bit :)

@conda-forge-admin, please rerender

@akrherz, thanks very much for taking this on!  I think (hope) we're in good shape now.  Let's see what the tests do.

Let's see what the tests do.

Green!  Thanks @xylar !

Thanks so much @akrherz  and @xylar!
@akrherz  do you want to add yourself as a maintainer here?

@akrherz do you want to add yourself as a maintainer here?

Thanks for the vote of confidence.  Sure and done.


Use Go workspaces instead of referencing our own code in go.mod

Fixed in https://github.com/MShekow/azure-pipelines-k8s-agent-scaler/commit/1dd9ad9cda7e837f686a3b838a2b7d8d0059bf63 simply by not using sub-folders with main.go


acquire flask-session.readthedocs.io

@mcrowson you maintained a fork that is now archived, and published the docs at flask-session.readthedocs.io. Would you be willing to add me (davidism) as a maintainer there so that we can use that domain instead of flasksession?

The readthedocs is now available to claim

Thank you!


tests not compatible with Artemis 2.4.0+ (waiting fix in 2.5.0)

Due the addressing changes the test queue and the test address needs to be pre-created (#27 ). However when this is done the durable tests can't finish it's execution and the test suite is blocked.
Disabling Travis CI trigger until fix is provided.

The issue is already resolved:

https://issues.apache.org/jira/browse/ARTEMIS-1535

Related test has been disabled.


Word wrap for long text

Fixes #2 and #3 by implementing string wrapping for long string values.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

56 of 66 (84.85%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.9%) to 78.629%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

datatree/map.go
12
13
92.31%

datatree/array.go
2
11
18.18%

Totals

Change from base Build<PHONE_NUMBER>:
0.9%

Covered Lines:
195

Relevant Lines:
248

💛  - Coveralls


WIP: Unhook auth gubbins

Coverage increased (+0.0001%) to 99.75% when pulling d39efe4225cb7af282216fdec3b4c156ba87f717 on CyberiaResurrection:UnhookAuthGubbins into 7727b6e286c812ce0e58b494801a117950b7cb4e on Algo-Web:master.

Coverage increased (+0.0001%) to 99.75% when pulling d39efe4225cb7af282216fdec3b4c156ba87f717 on CyberiaResurrection:UnhookAuthGubbins into 7727b6e286c812ce0e58b494801a117950b7cb4e on Algo-Web:master.


Build minimum size ChakraCore for embedding?

default ChakraCore size uses over 41.7mb size, can i make it smaller?

41.7? Is that the .a file ? It gets smaller after linker. You may also do ‘strip -x’ to ditch debug symbols.
++
@curtisman had added a smaller binary option that should help further. IIRC that option needs to be enabled with build.sh/CMake for *nix. I will look at that.

reply @obastemur
41.7 is the size of chakracore for macOS (a binary name ch) that i download from the release page (https://github.com/Microsoft/ChakraCore/releases),
in embedding project,  .a file got even larger, nearly 250mb

@tommyZZM makes sense. That’s not stripped nor optimized for size.

BTW; we include ICU + stdlibc++ embedded into ch and .so in order to make things easy for end users.
++ strip -x reduces extra ~6Mb.. IIRC ChakraCore related part should be around ~20 .

If Unicode support is not required running the build script with the --no-icu option shrinks it a lot (around 16mb).

You can also build with interpreter-only if you want the bare minimum. Trade-off here is obviously performance.
@obastemur @curtisman what's the flag for that again?

I don't think the build flags are exposed nicely through build.sh but the flag needed is CHAKRACORE_LITE - you can define it in CommonDefines.h or also perhaps also in CFLAGS/CXXFLAGS. I haven't tested the latter though.
See https://github.com/Microsoft/ChakraCore/pull/3553 for details

build.sh supports turning of JIT and disabling ICU. --no-jit --no-icu yet  CHAKRACORE_LITE comes with additional perks those I've been planning to enable via build.sh.
We need to https://github.com/Microsoft/ChakraCore/pull/4285 first


🐛 FIX: lingo for the intro

Just fixing my intro, I preach writing the right names and my intro has Wordpress written in it instead of WordPress so I fixed the lingo and a couple other small changes in the same line.
Thanks for working on this. Gets more awesome every time I open :)
Peace! ✌

Thanks a lot. 🙌


NSwag.MSBuild packages Newtonsoft.Json 11 instead of 9

I use NSwag.MSBuild in T4 templates and I have to load the specific assemblies into the template:
<#@ assembly name="System.Core"
#><#@ assembly name="System.Runtime"
#><#@ assembly name="System.Threading.Tasks"
#><#@ assembly name="$(NSwagDir)\Newtonsoft.Json.dll"
#><#@ assembly name="$(NSwagDir)\NJsonSchema.CodeGeneration.dll"
#><#@ assembly name="$(NSwagDir)\NJsonSchema.dll"
#><#@ assembly name="$(NSwagDir)\NJsonSchema.CodeGeneration.dll"
#><#@ assembly name="$(NSwagDir)\NJsonSchema.CodeGeneration.CSharp.dll"
#><#@ assembly name="$(NSwagDir)\NSwag.Core.dll"
#><#@ assembly name="$(NSwagDir)\NSwag.CodeGeneration.dll"
#><#@ assembly name="$(NSwagDir)\NSwag.CodeGeneration.CSharp.dll"
#><#@ import namespace="System.Linq"
#><#@ import namespace="System.IO"
#><#@ import namespace="System.Text.RegularExpressions"
#><#@ import namespace="Microsoft.CSharp"
#><#@ import namespace="NSwag"
#><#@ import namespace="NSwag.CodeGeneration"
#><#@ import namespace="NSwag.CodeGeneration.CSharp"
#><#@ output extension=".generated.cs"

The version of Newtonsoft.Json on the package is <IP_ADDRESS> while all the NJsonSchema and NSwag tooling has a dependency on <IP_ADDRESS>.

Where is this Newtonsoft.Json v11 package coming from?

It's not the package. The Newtonsoft.Json.dll in nswag.msbuild\12.0.4\tools\Win is:

Version Kind
Version

Assembly Version
<IP_ADDRESS>

Assembly Informational Version
11.2

Assembly File Version
<IP_ADDRESS>24

The package also contains NJsonSchema.dll <IP_ADDRESS> which requires Newtosoft.Json.dll <IP_ADDRESS>.
As far as I know, there's no way to configure assembly bindings for T4 template processing.

Ah man...

What can we do about this? I dont want to downgrade the nswag newtonsoft version and dont want to break njs users :-)

Maybe a specific package for T4 could be created with all correct versions and only the libraries need for that.
It would be a smaller package, even!
I have the same problems with the tooling I have built on top of NSwag.MSBuild for T4 templating. I need to keep all dependency versions aligned with the versions of NSwag.MSBuild's dependencies because there is no assembly binding redirection.


Fine-tune with R API

Hi,
Many thanks for this library which provides almost only way to do deep learning in R. Current R documentation is not very comprehensive, but examples and discussions in issues help a lot.
Now I got stuck when looking for R equivalent of get_internals() method in Python (http://mxnet.io/how_to/finetune.html).
Unfortunately, model$symbol$get.internals() doesn't return any adoptable R object, so modifying symbol in pre-trained model seems to be impossible in R API without direct editing of symbol.json file.
Is it possible to add in the R package capabilities for writing code like this?
all_layers = sym.get_internals()

net = all_layers[layer_name+'_output']

net = mx.symbol.FullyConnected(data=net, num_hidden=num_classes, name='fc1')

net = mx.symbol.SoftmaxOutput(data=net, name='softmax')

new_args = dict({k:arg_params[k] for k in arg_params if 'fc1' not in k})

I think the last line may not be possible. Others should be OK.

Hello, I think you should actually be able to do it by using the get.output:
resnet101<- mx.model.load("Models/Resnet101/resnet-101", iteration=0)

symbol<- resnet101$symbol
internals<- symbol$get.internals()
outputs<- internals$outputs

flatten<- internal2$get.output(which(outputs=="flatten0_output"))

Tricky part is that get.output seems to only accept a numeric index and not a named one.
After, it should be relatively straightforward through the use of the initializers:
new_fc<- mx.symbol.FullyConnected(data=flatten, num_hidden=24, name="new_fc_24")
new_soft = mx.symbol.SoftmaxOutput(data=new_fc, name='new_softmax')

arg_params_ori<- resnet101$arg.params
fc1_weights_ori<- arg_params_ori[["fc1_weight"]]

devices<- mx.ctx.default()
arg_params_new<- mxnet:::mx.model.init.params(symbol = new_soft, input.shape = c(224,224,3,32), initializer = mxnet:::mx.init.uniform(0.1), ctx = devices)$arg.params
fc1_weights_new<- arg_params_new[["new_fc_24_weight"]]

### Alternative
arg_params_new2<- mx.init.create(initializer = mx.init.uniform(0.1), shape.array = mx.symbol.infer.shape(new_soft, data=c(224,224,3,32))$arg.shapes, ctx = devices)
fc1_weights_new2<- arg_params_new2[["new_fc_24_weight"]]

And finally reassigning the original weights to the new initialiser for all but the new FC layer:
arg_params_new_patch<- arg_params_new
arg_params_new_patch[setdiff(names(arg_params_new_patch), "new_fc_24_weight")]<- arg_params_ori[setdiff(names(arg_params_new_patch), "new_fc_24_weight")]

Thank you for the response.
The last line in R will be replaced with something like model$arg.params[c("fc1_weight", "fc1_bias")] <- NULL

I'm not an expert, but i am pretty sure if you set all the weights to zero then a network is not able to learn anything (If that what you meant to do by setting the params to NULL)

I hope that setting subset of parameters to NULL will force some kind of default initialization during training process for these parameters (similar to mxnet:::mx.init.uniform(0.1) in  jeremiedb`s answer). Possibly I'm wrong.

Well, I used jeremiedb's answer for finetuning a network and had to add some lines because after calling the FeedForward function I got an error that the bias for new_fc_24 was NULL, so in that case at least there was no such default initialization.

Thanks OwlECoyote for pointing out the bias argument.
Effectively, the R feedforward module is designed so as to either initialize all the arguments or take the full and complete list of arguments in the arg.params.
Lines 416-417 in /model.R should make the behavior of the model clearer:
params <- mx.model.init.params(symbol, input.shape, initializer, mx.cpu())
if (!is.null(arg.params)) params$arg.params <- arg.params

To make the picture clearer, the Feedforward wrapper calls the model.train function which initiates the arg.params to 0 before assigning the Pre-trained arg.params. Therefore, if there are missing arguments like statist-bhfz mentionned, their weights will be "initialised" to 0. In this case, the model will run, but won't learn, so it's not a good idea!
Bottom line: arg.params, if provided, should simply be list containing the ndarrays for each of the model arguments (symbol$arguments, excluding data and label). And such list must have its names match the model arguments names.


Feature Request: Support Multiple Shortcuts for convert to PDF, HTML

I routinely have to convert my markdown files into both PDF and HTML files.
Rather than having to go to settings to change the conversion type each time, it would be nice to be able to optionally support conversion to each type by a separate type by a different shortcut.

Hello, sorry, but I will no longer maintain the project.
This project is archived because the owner no longer uses the Atom Editor.
It would be very good to find a new owner for this project, who will take care of updating and expanding the Atom package. A new version based on Chrome Headless has already been prepared in a feature branch.


feat(ClientCog): remove to_register

Summary
This PR removes the deprecated to_register property from ClientCog.
Checklist

[ ] If code changes were made then they have been tested.

[ ] I have updated the documentation to reflect the changes.
[ ] I have run task pyright and fixed the relevant issues.

[ ] This PR fixes an issue.
[ ] This PR adds something new (e.g. new method or parameters).
[x] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation, README, ...)

This cant be done rn due to it being breaking

This cant be done rn due to it being breaking

In my eyes this wouldn't be breaking? It was deprecated in the slash refactor, and would be slated for 2.1. isn't that enough of a deprecation period?

This cant be done rn due to it being breaking

In my eyes this wouldn't be breaking? It was deprecated in the slash refactor, and would be slated for 2.1. isn't that enough of a deprecation period?

Major changes should be done when bumping the major version

This cant be done rn due to it being breaking

In my eyes this wouldn't be breaking? It was deprecated in the slash refactor, and would be slated for 2.1. isn't that enough of a deprecation period?

Major changes should be done when bumping the major version

A) so we can never remove anything before 3.0?
B) As seen here, undocumented features are not considered a part of the public api and subject to change. The attribute also did not appear when searched, which further indicates it is not part of the public api to me

A) Yeah no major changes before 3.0
B) Ah should be fine then I guess

This cant be done rn due to it being breaking

In my eyes this wouldn't be breaking? It was deprecated in the slash refactor, and would be slated for 2.1. isn't that enough of a deprecation period?

i personally think the version guarantees docs should be edited before the 2.1 release to state we use a python-like semver tweak where minor can have breaking changes


Don't mark server RPC canceled if finished with explicit non-OK status

A server call should not be marked canceled if it completes with any status (ok or not OK). It should only be marked canceled if it is terminated before it can successfully send a status to the client (e.g., due to deadline, connection age, network error, etc). This PR does the following:

Decide if a server call is canceled by whether or not it could successfully send status
Fixes core tests (wrapped language tests already had the proper expectations)
Mark a call failed according to channelz if it was canceled or if the server sent a non-OK status
Fix the core surface comment about this topic and bump the core major API version
Add a C++ test to validate that OnCancel is not called on non-OK explicit status

I have also confirmed that the C++ test commit fails without the source commits in this PR but passes with them, so it's a proper validation case.

This change is

Known failure at #23188

Thanks for the comment! I'll keep that in mind for the future.


[ENH] Adding optional atlases

During reconstruction, for the pre-defined pipelines, it would be helpful that the users can choose the atlas(es) of their interest.
In addition to existing Schaefer 17 RSN version, I would recommend to add:
(1) Schaefer 7 RSN version;
(2) AICHA (a functionally defined symmetric atlas);
(3) Human Brainnetome Atlas (a multimodally defined atlas);
(4) Maybe Lausanne for what it worths???
And in the future perhaps Glasser's, when it's feasible...

It's not documented, but at the moment these are the available atlases:

gordon333
power264
schaefer100
schaefer200
schaefer400
aal116

I don't think the power264 atlas makes a lot of sense for structural connectivity, but it's there nonetheless.

I agree that power264 seems to be odd since it's sphere based, right?
And also, have you noticed that other than the AAL, most of the atlases do not have subcortical components?
In HCP they added Harvard-Oxford subcortical atlas to the surface based atlases. Do you want to do this?
Essentially, it would be helpful to allow users to add their own atlases, right? I don't think this has to be achieved anytime soon but it could be useful.

It's actually possible to add your own atlases, but this is also not documented. Could you open another issue for this?


Added core_input_mouse.c example

Just a small change to make core_input_mouse.c working, but the mapping between raylib mouse constants and browser mouse constants are different.
For me, left button is showing correct color but right and middle button are swapped.
Someone can easily add a small key pair object to correct the mapping but i dont know if that amount of correctness is required or not for this project.
Tested other pages too and i can conclude that this patch wont create a regression in other pages.

This patch implements IsMouseButtonPressed
and i cant test out MOUSE_BUTTON_SIDE,MOUSE_BUTTON_EXTRA,MOUSE_BUTTON_FORWARD,MOUSE_BUTTON_BACK as i dont have those mouse buttons in any of my mouse

Update:-
Mouse mapping was added as it is not that important for coloring but correctness is important for mouse input in games

It doesn't seem like the MOUSE_BUTTON_FORWARD and MOUSE_BUTTON_BACK buttons work in the browser.
I found this Stack Overflow question that might fix this tho.


Show the Silver Line icon for South Station instead of the bus one

Summary of changes
Asana Ticket: 🐞 Stations/Stops | South Station should have SL icon
Show the silver line for South Station.
Before:

After:

I'm deploying this to dev green so I can see if any other pages are affected unexpectedly. :)


EFS API: Add support from payment template activation dates

Support activation dates for form payment templates:

allow multiple payment templates associated with the same form template,  each with a separate activation date (including future dates)
for the submission/{id}/payment endpoint, enhance lookup of the selected form's payment template by selecting the currently active one
expose test/diagnostic endpoints with feature flag $FEATURE_TESTING_FEES, defaults to false

GET /payment-templates?type=<FEE_ID>&activeAt=<CHARGE_DATE_TIME>: find the current fees for the form template FORM_TEMPLATE: select the associated payment template having the latest activation date that is not after CHARGE_DATE_TIME

e.g. GET /payment-templates?fee=SLPCS01&chargedAt=2023-10-01T12:34:56

/payment-templates?fee=<FEE_ID>: find all payment templates associated with a form template (including future dates)

e.g. GET /payment-templates?fee=SLPCS01

GET /payment-templates: find all payment templates
POST /payment-templates/test-fee: create and store a payment template for test purposes

e.g. POST /payment-templates/test-fee

{
  "fee": "SLPCS01",
  "active_from": "2023-10-10T00:00:00",
  "amount": "99"
}

Resolves:
FEE-190

@PhilipGlover Good spot. I've corrected the JSON in the description above for the POST:
Wrong property name, should be active_from not activeFrom
Please retry, you should get the response
{
	"id": {
		"fee": "SLPCS01",
		"active_from": "2023-10-01T00:00:00"
	},
	"items": [
		{
			"amount": "99"
		}
	]
}

and corresponding entry in mongodb


Update Cloud teams info

Update cloud teams info (where available)

@anna-mmikhova this was failing because the extensions team was renamed, but there were still features that were pointed at the now missing extensions team. I updated them to point to the growth & integrations team, is that right?

It was also failing because Murat's name was misspelled

One more question @anna-mmikhova - the delivery team was deleted, but there's still a page in the handbook at strategy_link: /company/strategy/enablement/delivery/index.md. Is that intentional?

I left the delivery link under DevOps for now while we restructure the Cloud org pages, it's quite a mess


about multi-class tracking

Hi,
thanks for your efforts.
It seemed that it just did support single class tracking.
I'm not famliar with cpp and let me know if I was wrong.
so is there a plan for multi class tracking?
thanks!

Hi, @goodtogood.
The tracking process is implemented as BYTETracker class, and the class deals with only a single class.
The test of this repo is an example. This implementation is single-class tracking because only one instance is declared.
https://github.com/Vertical-Beach/ByteTrack-cpp/blob/e6ee5a1485bedd24e2b8d6411be5d8fef63a6c3e/test/test_BYTETracker.cpp#L121
If you would like to do multi-class tracking, declare std::vector<byte_track::BYTETracker> object and track each class in each of its elements.


Issue with cpdbench_bocpdms.py on custom dataset

So when I run the benchmark suite with my own dataset, some of the methods don't succeed. I am still looking through to see what failed, but there is one thing that is causing issues with generating the summary file when I run "make summary".
This is the output from abed for default bocpdms on my dataset:
operands could not be broadcast together with shapes (1014,) (1013,)
log model posteriors: [-1.60943791e+000 -1.71559294e+000 -1.28561674e+000 ... -1.08929648e+308
  0.00000000e+000 -4.79582130e+304]
log model posteriors shape: (1013,)
{
	"command": "/TCPDBench/execs/python/cpdbench_bocpdms.py -i /TCPDBench/datasets/driver_scores.json --intensity 100 --prior-a 1.0 --prior-b 1.0 --threshold 0",
	"dataset": "driver_scores",
	"dataset_md5": "e342488cf23a6d82985d52ef729d526e",
	"error": "UnboundLocalError(\"local variable 'growth_log_probabilities' referenced before assignment\")",
	"hostname": "3e187210786d",
	"parameters": {
		"S1": 1,
		"S2": 1,
		"intensity": 100.0,
		"intercept_grouping": null,
		"lower_AR": 1,
		"prior_a": 1.0,
		"prior_b": 1.0,
		"prior_mean_scale": 0,
		"prior_var_scale": 1,
		"threshold": 0,
		"upper_AR": 5,
		"use_timeout": false
	},
	"result": {
		"cplocations": null,
		"runtime": null
	},
	"script": "/TCPDBench/execs/python/cpdbench_bocpdms.py",
	"script_md5": "c1be8d2c933f41a6d0396d86002c6f6f",
	"status": "FAIL"
}

The extra output at the top is preventing summarize.py from parsing the json result correctly. Also, some of those log model posterior values are really big, I am not sure if that is correct.

Here are some other issues:
These error messages apply to Best AMOC and some other methods:
"error" : "Invalid test statistic, must be Normal or CUSUM",
"command" : "/usr/lib/R/bin/exec/R --slave --no-restore --no-save --slave --file=/TCPDBench/execs/R/cpdbench_changepoint.R --args -i /TCPDBench/datasets/driver_scores.json -p Asymptotic -f mean -t Exponential -m AMOC"

"error" : "Invalid test statistic, must be Normal or CSS",
"command" : "/usr/lib/R/bin/exec/R --slave --no-restore --no-save --slave --file=/TCPDBench/execs/R/cpdbench_changepoint.R --args -i /TCPDBench/datasets/driver_scores.json -p SIC -f var -t CUSUM -m AMOC"

There are more errors (appears to be 589 out of 990 of the abed results), I don't think I will go through every one.

Hi @jayschauer, thanks for letting me know! The last message you mention is actually "on purpose". I'm doing a big grid search over all parameter configurations for the changepoint package, but not all are valid, so these generate an error. The summarization script skips output files that give an error, so that's not a problem (it means that in the end the grid search is only over valid parameter settings). Note that this is mentioned in the abed config file.
Regarding the other problem, there were indeed some experiments with bocpdms and rbocpdms that print an error to stdout, which messes up the json output. I remember manually removing this extra text as it wasn't that much of an issue at the time. It seems that the error occurs in this part of the code, where a ValueError is caught but then the except block doesn't actually handle the error. I'm not familiar enough with that codebase to tell you what the issue is, but what you could do is put a raise after line 309 so that the execution actually stops when it hits an error.
Hope this helps!

Ok thanks! This was helpful

Glad to hear!


Documentation is broken

I'm looking at this page and I can't find what to import in order to get the request object that is often used in the code examples.
I figured that I can do this: import { superagent as request } from "superagent"; but the agent() method is missing. In its current from one can't determine from the documentation how to use the agent() in order to enable cookies.

You figure it out I take it?

It would be great if the docs would include the imports, but I figured out that I was importing the wrong object.

PR welcome

I don't really have the time now, sadly.

okay.


open image when tap on it

is there some way to open image when tap on it, like LightBox's style？

Hello,
This requirement is out of the scope of this package. You can achieve something close to it by creating an image link in markdown:
[![Image of Yaktocat](https://octodex.github.com/images/yaktocat.png)](https://octodex.github.com/images/yaktocat.png)

Furthermore, you could use your own URL scheme for the links and open the images in a native way. You can find more info about handling deep links in SwiftUI in this post.


Fails to fix if the transformation are preceded by "…"

I noticed that nothing is transformed after … character:
>>> ftfy.fix_text('said… â\x80\x9cOverall an')
'said… â\x80\x9cOverall an'
>>> ftfy.fix_text('said â\x80\x9cOverall an')
'said "Overall an'

This is correct. Any transformation that could possibly happen would break the … character, which is already correct Unicode, and ftfy aims to never turn correct text into incorrect text.
If you know that the text up to "said…" is encoded differently from the text after it, pass those two substrings separately to ftfy.fix_text_segment.
I recognize that there are many cases where strings from different sources are joined together, and one of them is truncated and ends with an ellipsis. But I don't see a way to automatically use the ellipsis to detect that case -- it tells you where a differently-encoded string ends, but how would you know where it begins?

Yeah, I agree. I realised later on that I was stripping a line break after … character. Preserving that returns correct test. That is, the following works:
>>> ftfy.fix_text('said…\nâ\x80\x9cOverall an')
'said…\n"Overall an'

Thanks for the quick response! Big fan of ftfy. :)


Add <IP_ADDRESS> to ips if port forwarding is configured

Some hosts might point to forwarded ports on host rather than actual ports in the guest machine. However, if <IP_ADDRESS> is not in the list of IPs, such hosts are not added to the hosts file.

Created #173 instead.


Bug Report: Cant Rebuild A Windows64 extension-webm Linux

So, I've been trying to do this for a big time and can't get it working, when I try to do a lime test linux the game just crashes, and when I try running lime test windows it just shows this: Source path "/home/supermiiu/haxelib/extension-webm/git/ndll/Windows64/extension-webm.ndll" does not exist
So what I've tried is cloning the Windows .ndll and naming the folder Windows64, or copying a windows a windows 64 .ndll, both show the same error:
WebmPlayer.hx:3: characters 8-15 : You cannot access the cpp package while targeting neko (for cpp.Lib)
source/Main.hx:4: characters 8-23 : ... referenced here
export/release/neko/haxe/ApplicationMain.hx:299: characters 48-52 : ... referenced here
I hope someone can help me fix this.

have you done lime rebuild extension-webm linux?

have you done lime rebuild extension-webm linux?

yes but the game crashes with lime test linux


Remove PlaygroundQuickLook test.

Historically, this test was verifying some reflection support that was
used for Playgrounds support. Today, through API changes, this was just
testing that we could create an print a specific enum.
With the switch to Swift 5.0 (https://github.com/apple/swift/pull/20374),
this enum is now deprecated and the test fails.
As the coverage provided here seems pretty insignificant, let's just remove
the test.

@swift-ci test and merge


hooks exception formatting to allow multiline tracebacks in a single json log

currently tracebacks are split across multiple lines/log messages, this will keep them together

Looks good. One comment for the test case behavior.

Thanks!


changes week 1

sir let me know if you want me to make any changes. I added meta description and kept the title, meta description statement, and required packages text in three different markdown cells.

keep meta description .title and required packages in 3 different markdown cells

sir that's the change I did in the updated commit. I deleted all 5 files and uploaded all the 5 files in the updated commit


:book: docs: add pre-release actions to release guide

What this PR does / why we need it:
Add a post-release actions section to release guide.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist:

[x] squashed commits into logical changes
[x] includes documentation
[ ] adds unit tests
[ ] adds or updates e2e tests

My proposal is to have it documented for now and think about a potential automation in parallel. I updated the docs to reflect that E2E must be updated, as suggested by @furkatgofurov7

Thanks @furkatgofurov7 for suggesting we follow a similar release procedure to the one in upstream CAPI https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/release/release-tasks.md#prepare-main-branch-for-development-of-the-new-release. I'll update the docs and align the actions with this workflow.

@salasberryfin would you have time to update this PR soon?


Error with starting the debugger, weird nil value being sent to log

I know there isn't enough information, i can't seem to reproduce what could possible be the problem...
If you need any information, don't hesitate to ask!
E5108: Error executing lua: ...Data/Local/nvim-data/lazy/csharp.nvim/lua/csharp/log.lua:39: attempt to index a nil value
stack traceback:
...Data/Local/nvim-data/lazy/csharp.nvim/lua/csharp/log.lua:39: in function 'log'
...Data/Local/nvim-data/lazy/csharp.nvim/lua/csharp/log.lua:75: in function 'error'
...ta/Local/nvim-data/lazy/csharp.nvim/lua/csharp/utils.lua:46: in function 'run_async'
...a/lazy/csharp.nvim/lua/csharp/features/debugger/init.lua:75: in function <...a/lazy/csharp.nvim/lua/csharp/features/debugger/init.lua:74>

When i put my config on lazyvim as this:
{
'iabdelkareem/csharp.nvim',
dependencies = {
'williamboman/mason.nvim', -- Required, automatically installs omnisharp
'mfussenegger/nvim-dap',
'Tastyep/structlog.nvim', -- Optional, but highly recommended for debugging
},
event = 'BufEnter *.cs',
--opts = {
--lsp = { enable = false },
--},
},
The error occurs, but when i uncomment the opts it works

The current implementation of the debugger relies on Omnisharp LSP. When you set lsp = {enable = false} the plugin doesn't attempt to automatically install and run Omnisharp but if you have it running in any other way the plugin should be able to use it without problem but if you use another language server (e.g., csharp-ls or roslyn) the debugger won't work.

The weird thing is, that when the Omnisharp is already configured and i use the default values for this puglin, this error occurs
Though when i configure the plugin to set lsp = {enable = false} the error doesn't happen.


Fails to install using node v8.4.0 and npm 5.5.1 on mac

npm ERR! Failed at the<EMAIL_ADDRESS>install script.
ivan@probook ~/P/F/FlashConvert> npm install jeff 2>&1 | grep error
../../nan/nan.h:342:68: error: too many arguments to function call, expected at most 2, have 4
../../nan/nan.h:424:3: error: redefinition of 'NanNew'
../../nan/nan.h:442:36: error: redefinition of 'NanNew'
../../nan/nan.h:454:36: error: redefinition of 'NanNew'
../../nan/nan.h:623:19: error: no type named 'ExternalAsciiStringResource' in 'v8::String'; did you mean 'ExternalStringResource'?
../../nan/nan.h:622:36: error: redefinition of 'NanNew'
../../nan/nan.h:637:27: error: redefinition of '_NanEscapeScopeHelper'
../../nan/nan.h:653:12: error: no matching function for call to '_NanEscapeScopeHelper'
../../nan/nan.h:658:12: error: no matching function for call to '_NanEscapeScopeHelper'
../../nan/nan.h:663:12: error: no matching function for call to '_NanEscapeScopeHelper'
../../nan/nan.h:668:12: error: no matching function for call to '_NanEscapeScopeHelper'
../../nan/nan.h:701:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
../../nan/nan.h:707:20: error: no type named 'GCEpilogueCallback' in 'v8::Isolate'
../../nan/nan.h:712:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
../../nan/nan.h:718:20: error: no type named 'GCPrologueCallback' in 'v8::Isolate'
../../nan/nan.h:797:15: error: no type named 'WeakCallbackData' in namespace 'v8'
../../nan/nan.h:797:31: error: expected ')'
../../nan/nan.h:798:42: error: use of undeclared identifier 'data'
../../nan/nan.h:889:13: error: no member named 'smalloc' in namespace 'node'
fatal error: too many errors emitted, stopping now [-ferror-limit=]
13 warnings and 20 errors generated.
gyp ERR! build error

any suggestions how to workaround?
Would love to try this on some swf files.

Hi @ivanistheone,
I think the workaround would be to downgrade Node.js.
The solution would be to upgrade the dependency that's failing (which seems to be canvas) to a newer version that has a NAN version compatible with Node.js 8. Going by the canvas history file it seems like some updates wrt. NAN have happened. Hopefully enough to take it to Node 8.
I'm not a fan of blindly updating dependencies, especially given the fact that Jeff has no test suite. Does anyone know of a reason though that we could not upgrade canvas to the latest version? Perhaps @tbrebant or @bchevalier?

Update:
After installing pango (a documented requirement of canvas), I've been able to bump canvas to its latest stable version 1.6.0 on Node.js 8. The entire Jeff project compiles. Now whether it runs correctly or not, I can't tell (lack of tests).


Screen Goes Black After Clicking "Add Screen"

After installation, clicking the "ADD DISPLAY" button caused the screen to go black immediately, but the device did not shut down. My device is an ROG Ally X with an AMD Z1 Extreme CPU.

Sorry for late reply.
I think you have connected an external display before and set it as main display (also turn of your internal display). You can try deleting this registry key in your ROG handheld and restart it.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Connectivity


ns-render asks for config.xml

Hi
ns-render asks for config.xml

where it is generated when one asks for a render into nerfstudio ?

any idea where it is located by default ?

The usage of the video renderer has already intruduced in README: https://github.com/yzslab/nerfstudio/tree/gaussian_splatting#usage


Infinite loop when calling toJsDeclarationString in templates.

Hi guys.
I'm trying to integrate keycloakify into an existing project and I ran into that infinite loop problem.
The problem occurs when calling https://localhost:8080/auth/realms/myrealm/protocol/openid-connect/auth?client_id=myclient... the request continues to be in the pending state for a long time, and the CPU load on the docker container increases very much. I have to kill the docker to stop it.
After a little debugging, I found that this happens inside the toJsDeclarationString function. To make sure, I simply replaced the call to this function with an empty object and after that the problem went away.
I'm not very good at freemarker, but I decided to look at what the .data_model contains and this is what I got:
    msg
    relayStateClientId
    ztnaRedirectUri
    auth
    initRequestUri
    turnstileLanguage
    requiredActionUrl
    login
    relayStateClient
    ztnaTargetClientId
    authenticationSession
    fullRealmSocial
    customBackgroundExist
    hiddenAllowedIDPs
    client
    scripts
    customBackgroundEnable
    customLogoExist
    execution
    turnstileSiteKey
    passwordPolicy
    social
    allowedOpeners
    allowedIdentityProviders
    customLogoEnable
    customBackgroundNumber
    ztnaTargetClientName
    url
    advancedMsg
    messagesPerField
    turnstileRequired
    legalAgeCountriesSupported
    targetClient
    realm
    kcSanitize
    properties
    domainsToSkipLa

How do you think the .data_model could break the function?
keycloakify: v10.1.0
keycloak: v25.0.4

Hello @st3r30t1p,
Thanks for reporting.
If you can give me presice reproduction steps I can easily fix this.
If it needs some special configuration to be reproducable you can dump the realm configuration and give me the json
It's explained here:
https://www.youtube.com/watch?v=lMOLrdqilqE&t=991s

You probably need a custom exclusing for domainsToSkipLa:
vite.config.ts
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { keycloakify } from "keycloakify/vite-plugin";

// https://vitejs.dev/config/
export default defineConfig({
    plugins: [
        react(),
        keycloakify({
            // ...
            kcContextExclusionsFtl: `
                <#if (
                    key == "domainsToSkipLa" &&
                    areSamePath(path, [])
                )>
                    <#continue>
                </#if>
            `
        })
    ]
});

Maybe it's one of the other property you listed and not domainsToSkipLa I let you do your trial and error.
Documentation: https://docs.keycloakify.dev/configuration-options/kccontextexclusionsftl


🎑 Add thumbnail to project manifest

This adds a thumbnail to the project manifest (if it doesn't already exist) using the index page thumbnail.

@rowanc1 how are our docs doing in terms of all the recent frontmatter changes? we need to do a pass and update them?


Page is of no help for resource not found.

I have an IP resource, can not delete it because it is in use by the NIC.... but click on the NIC and is says not found, and directs me to this page......

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

ID: cd488a2e-7d1a-7a6a-93a5-54481de978bd
Version Independent ID: 8092c342-5737-10f9-13ff-2df291dc7ea3
Content: Resource not found errors - Azure Resource Manager
Content Source: articles/azure-resource-manager/templates/error-not-found.md
Service: azure-resource-manager
Sub-service: templates
GitHub Login: @mumian
Microsoft Alias: jgao

@DynConcepts - do you happen to know if the NIC was deleted? Or, do you not have read permissions on the NIC?

"do you happen to know if the NIC was deleted? Or, do you not have read permissions on the NIC?"
@tfitzmac - I strtaed with an empty subscription this morning (it is an MPN associated with my Visual Studio that I am the owner of). Had been creating and deleting items . Then I got a bunch of errors and was left in the above state. So, I don't see how it could be permissions, and it was the deletion of items that failed... Really looks like it is a phantom.

Some further information... Since I could not delete items, I figured I could perhaps move them to another RG so that there would not be a conflict, and I could get back to work. The only items in the RG were the problematic IP and NIC.... Over TWO HOURS later, I still can not do anything with the original RG as I get the "Cannot deploy to resource group ****: movingresources" error...

If there is any way to establish direct communication, I can forward details with actual subscriptions, et. al. and perhaps even do a Team meeting.  This is really frustrating as I need a resolution before I can break for the Holiday weekend...

For reference, I have asked the community (since the link in the error message had NO information about the actual situation - and hence the posting here on GitHub) ...but so far ZERO response...
https://stackoverflow.com/questions/65007618/unable-to-delete-azure-nic-ip-circular-logic

@DynConcepts Apologies for your experience and thank you for reaching out to us.
Given the scenario you are seeing, it might need further troubleshooting to isolate the issue. Can you please send an email to<EMAIL_ADDRESS>with your Subscription details and a link to this thread so we can verify and direct the request accordingly .  We'll continue to investigate this with you directly and will update the thread with any findings that may help others. Thank you

@DynConcepts Thanks again for reaching out to us. Looking forward to see that you can work through with our support team and get your issue resolved.
At this point it appears that there's no further edits or updates needed to the documentation. We will go ahead and close this issue, however will keep track of the support ticket and if there is any feedback to enhance the document which can help our customers will certainly adopt that. If you have any further queries/feedback regarding the documentation please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


[MINOR][SQL] Remove extra anonymous closure within functional transformations

What changes were proposed in this pull request?
This PR removes extra anonymous closure within functional transformations.
For example,
.map(item => {
  ...
})

which can be just simply as below:
.map { item =>
  ...
}

How was this patch tested?
Related unit tests and sbt scalastyle.

cc @rxin

Test build #55793 has started for PR 12382 at commit a62b333.

LGTM pending tests.

Test build #55793 has finished for PR 12382 at commit a62b333.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55793/
Test FAILed.

Merged build finished. Test FAILed.

retest this please

Test build #55802 has started for PR 12382 at commit a62b333.

Test build #55802 has finished for PR 12382 at commit a62b333.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55802/
Test PASSed.

Merged to master

Maybe we should add a scalastyle rule for this

@andrewor14 Hm.. I tried to add a rule but I realised (or I think) it cannot find perfectly by a static way. One of the problems I met was below:
For example, there is a class GraphOps and at line 74,
graph.aggregateMessages(ctx => { ctx.sendToSrc(1); ctx.sendToDst(1) }, _ + _,
    TripletFields.None)
}

In this case, this should not be the error case since ( and ) exists for other arguments  _ + _ and TripletFields.None.
In order to check this, it should be able to check , after ctx => { ctx.sendToSrc(1); ctx.sendToDst(1) }. In order to skip ctx => { ctx.sendToSrc(1); ctx.sendToDst(1) }, we need to skip the range between { and } which might have nested {, } and ,. AFAIK, it is impossible for regex in theory but it looks possible in practical by recursive regular expression but it looks scalastyle does not support this.
Maybe i am not smart enough but this was just my conclusion.

@andrewor14 @srowen Do you mind If I open another PR for some more corrections?
While trying to test regular expressions, I found some more things to correct about this and about @srowen comment, which are pretty many.

If there's a built-in scalastyle rule for this, let's enable it, but otherwise not sure it's worth building custom code to enforce it. If you've found ways to look for more instances of this and found more classes of this problem, OK open a new PR.


UI for configuration

The configuration in Envoy is a disaster. I often waste hours getting something working.
Please extend the Admin UI for a simpler configuration.

The configuration in Envoy is a disaster.

Hi @GregorBiswanger sorry you have had a bad experience getting things set up
we are working to simplify the configuration and add defaults where we can - and improve the documentation - but this takes time, and Envoy has to meet some very complex set ups - so at least to some extent it is necessarily complex
there are a number of third-party tools that help you configuring Envoy (too many to mention) both as an edge proxy and as part of a service mesh
for that reason Envoy is unlikely to add a UI to the core server
beyond uis and addons, i would suggest working through the quick-start section of the docs, and as many sandbox tutorials as you have time for, these demonstrate a lot of the core patterns

@phlax Thank you for your quick response!
Can you recommend a free third-party tool that I can only do the configuration with?

The configuration in Envoy is a disaster. I often waste hours getting something working.

For starters, when asking for help with an OSS project that is run by volunteers, I would recommend engaging in more constructive dialog.

Can you recommend a free third-party tool that I can only do the configuration with?

Your query does not have enough information on what you are trying to do. If the existing documentation does not work for you I would ask specific questions, submit improvements, or look for higher layer products that are better suited to your needs (Istio, Ambassador, Gloo, Consul connect, etc, etc.)

@mattklein123 Sorry if my message sounds offensive. I was just very frustrated.
What can definitely help would be a JSON schema. This can also be used with YAML. IDEs support it wonderfully and you then get a wonderful guide to the possibilities of envoy.

What can definitely help would be a JSON schema.

We use protobuf which is stronger than JSON schema. See https://github.com/envoyproxy/envoy/issues/13078 for efforts to build a vscode extension for Envoy configuration. Help appreciated!


Commercial use of models

Hi! First of all, congratulations for this project.
I have a simple question about the use of it. Considering that it is a open source project and in the short tutorial it was mentioned that all models are open source as well, I'm a little confused because all Justin Johnson’s pre-trained models are marked as free for personal or research use. If the models are not open source, would you suggest any other open source models in torch7 that are compatible?
Thank you in advance.

Hi! Thanks!
I think you'll need to train your own models to use in commercial application. You can do it with code from Just Johnson's work or any other related implementations. The results are repeatable, also you can create your own new styles.

I don't think I can train my own models using code from fast-neural-style of Just Johnson either, because that would also be restricted for non-commercial use. Also, I wasn't able to find any implementation in torch7 producing .t7 models which I could use with this project.


Wrong JSDoc Parse

VSCode Version: 1.16.1
OS Version: Windows 10 Pro (Build 15063.608)

Steps to Reproduce:

Install jquery from npm.
Require jquery, and use that as function.
Hover mouse on code that wrote on step 2.

Reproduces without extensions: Yes

Tracked upstream by https://github.com/Microsoft/TypeScript/issues/16498
Closing as duplicate of https://github.com/Microsoft/TypeScript/issues/16498


Communication: Send API announcements and changelogs to a mailing list

Discord is a short lived medium with a lot of noise that not everyone uses.
It would be cool if you could send what you post in #announcements (downtime, feature updates) to a mailing list or an RSS feed like GitHub releases.
Also, breaking changes should be documented in a changelog (when was the actor name format changed, gold fixed, elo fields added, …) because it is hard to keep track of changes in the data format.

47c71df4239818c2e85a76562103dfdfd668580f and #announcements


bug: Type description null

Is there an existing issue for this?

[X] I have searched the existing issues

Description of the bug
Thank you for this library!
The description field of a type is null. But it think it shouldn't.
Steps To Reproduce
Open: https://stackblitz.com/edit/node-albvvu?file=extractedTypes.json

Expected behavior
Should have description like the other types.
Screenshots
No response
Additional context
No response

Thank you for the issue, could you also provide the code along with the generated json? If you have this in a repository that would be even easier for me to reproduce.

I did not see the sidebar with other files, apologies. I'll take a look when I get a chance.

If a type-alias is a function type, the comments are moved to the appropriate signatures of the function. This is expected behavior for functions in TypeScript. This being the case I'll close this issue as resolved.


feat: try to get email from corp app

Fix: https://github.com/casdoor/casdoor/issues/1634

@anyidea fix:

@anyidea fix:

ok


[QUESTION] Deallocate/Free Memory from warp.sim

After a sim is completed in warp.sim, how can I free the memory it allocates? Deleting the python object doesn't do anything, nor does scoping it. I can't find anything related to freeing memory in the docs.

Hi @knauth, can you please provide a small example that illustrates the issue?

Hey Eric- sure. I have a "MeshSim" object which builds and simulates a model:
class MeshSim:
    def __init__(self, mesh_path: os.path):
        self.bd = wp.sim.ModelBuilder()
        self.mesh_points, self.mesh_indices = wp.sim.load_mesh(mesh_path)
        self.mesh_points = [[y, z, x] for x, y, z in self.mesh_points]
        mesh = wp.sim.Mesh(self.mesh_points, self.mesh_indices)

        mi = self.bd.add_body(origin=wp.transform([0, 20, 0], wp.quat_identity()))
        ms = self.bd.add_shape_mesh(mi, mesh=mesh, scale=[0.1, 0.1, 0.1])

        self.model = self.bd.finalize()

        [etc...]

I run that sim using the usual methods, here's how it's called in my main.py:
ms = MeshSim(meshPath)
transform = ms.run(500)

I want to then run another sim which is constructed the same way. The problem is that this sim uses ~4gb of VRAM (I have manually set the memory allocated as part of a workaround for the quadratic memory requirements of ModelBuilder.finalize()). I'd like to release that memory so it can be used by the second sim. I've tried placing the class instantiation in a function so that it moves out of scope, and manually deleting the object using del. Nothing I've tried gets Warp to release that GPU memory so it can be reallocated, short of killing the Python process itself, which is not something I want to do in production.
Is there a way to manually instruct warp to free/deallocate the memory the Model allocates?

For clarification- my workaround only involves manually setting the num_rigid_contact_per_env and then a small tweak to the broadphase kernel to avoid keeping the shape-shape cartesian products in memory. There's no changes to how the actual memory is allocated/deallocated.

@shi-eric, excellent! This resolves the issue and the memory is properly freed after the Python object is deleted. Thanks for the help.

Also! Glad to know it helped!


feat(validate/pubrules): add pubrules validator

[WIP]
Closes https://github.com/w3c/spec-prod/issues/3

Do you remember what else we needed to do here?

Link it properly with build output.
Figure out W3C_API_KEY handling.
Handle errors properly.
Cleanup dev/debug stuff.

I just saw we've TODO comments in code for exactly that 😄


Remove 1804

Remove remaining reference to Ubuntu 18.04

Jenkins build passes.
The changed block looks ok.


Compatibility with IntelliJ >= 2024.1 EAP

The plugin is not compatible with IntelliJ 2024.1 EAP. IDE show: "Incompatible: requires IDE build 233.* or earlier".

@garlikus ,
thanks for creating the issue.
Compatibility with IntelliJ 2024.1 will be available with release 0.9.0.
Release date for 0.9.0 is not defined yet, it should be somewhere in March.

Thanks for the update.


[nrf] Button example for nrf5x boards latches GPIO after 1 button press

The interrupt handler triggers the first button push, but doesn't seem to respond to anything after that point, event if the board is reset. Only a re-flash lets it register another button push for me.
A solution (kindly shared by carlesc on the IRC channel) is to change the following line:
#define PULL_UP 0
to
#define PULL_UP GPIO_PUD_PULL_UP
Is there a proper place in the code to configure this, short of putting it in board.h for each nrf? If not, documenting it would also help. I'd be happy to do a PR but I'm new to Zephyr so will need to be pointed in the right direction.

Oops looks like this is already covered in #4008


Add support for basic auth in helm

Fixes: https://github.com/stolostron/cluster-templates-operator/issues/65
Signed-off-by: Ondra Machacek<EMAIL_ADDRESS>

@machacekondra It would be great if GetRepoHTTPClient already returns an http client which, for every request, adds credentials. Do you think it would be a good approach to modify the Do function of http.Client so it adds the credentials ? That way we wont have to call CreateRequest separately before the Do.

@machacekondra It would be great if GetRepoHTTPClient already returns an http client which, for every request, adds credentials. Do you think it would be a good approach to modify the Do function of http.Client so it adds the credentials ? That way we wont have to call CreateRequest separately before the Do.

Done

/test sonar-pre-submit

/approve
/lgtm


[BUG] Publisher fails message":"ApiVersionSet not found on new api creation

Release version
v6.0.0-rc1
Describe the bug
Publisher failed with error HTTP request to URI https://management.azure.com/subscriptions/***/resourceGroups//providers/Microsoft.ApiManagement/service//apis/demo-api;rev=1?api-version=2022-08-01 failed with status code 404. Content is '{"error":{"code":"ResourceNotFound","message":"ApiVersionSet not found.","details":null}}'.
Expected behavior
publisher should be able deploy api
Actual behavior
dbug: RunPublisher[0]
15:46:41        Found file /home/jenkins/workspace/Deployments/dev-demoapi-stv2/apiops/version sets/demo-api/versionSetInformation.json.
15:46:41  dbug: RunPublisher[0]
15:46:41        Found file /home/jenkins/workspace/Deployments/dev-demoapi-stv2/apiops/policy.xml.
15:46:41  dbug: RunPublisher[0]
15:46:41        Found file /home/jenkins/workspace/Deployments/dev-demoapi-stv2/apiops/apis/demo-api/specification.json.
15:46:41  dbug: RunPublisher[0]
15:46:41        Found file /home/jenkins/workspace/Deployments/dev-demoapi-stv2/apiops/apis/demo-api/policy.xml.
15:46:41  dbug: RunPublisher[0]
15:46:41        Found file /home/jenkins/workspace/Deployments/dev-demoapi-stv2/apiops/apis/demo-api/apiInformation.json.
15:46:41  dbug: RunPublisher[0]
15:46:41        Found file /home/jenkins/workspace/Deployments/dev-demoapi-stv2/apiops/version sets/demo-api-dev/demo-api/versionSetInformation.json.
15:46:41  info: RunPublisher[0]
15:46:41        Found 6 files in scope for publisher.
15:46:41  info: ServicePolicyPublisher[0]
15:46:41        Putting service policy policy...
15:46:41  info: VersionSetPublisher[0]
15:46:41        Putting version set demo-api...
15:46:41  trce: HttpPipeline[0]
15:46:41        Starting request
15:46:41        Method: PUT
15:46:41        Uri: https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service//apiVersionSets/demo-api?api-version=2022-08-01
15:46:41        Content: {"properties":{"displayName":"dev | demo-api","description":"DEMO-(WebDBI)-API for external access","versioningScheme":"Header","versionHeaderName":"apimversion"}}
15:46:41  trce: HttpPipeline[0]
15:46:41        Starting request
15:46:41        Method: PUT
15:46:41        Uri: https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service//policies/policy?api-version=2022-08-01
15:46:41        Content: {"properties":{"format":"rawxml","value":"\uFEFF\u003Cpolicies\u003E\n  \u003Cinbound /\u003E\n  \u003Cbackend\u003E\n    \u003Cforward-request /\u003E\n  \u003C/backend\u003E\n  \u003Coutbound /\u003E\n  \u003Con-error /\u003E\n\u003C/policies\u003E"}}
15:46:42  info: ApiPublisher[0]
15:46:42        Putting API demo-api...
15:46:42  trce: HttpPipeline[0]
15:46:42        Starting request
15:46:42        Method: PUT
15:46:42        Uri: https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service//apis/demo-api;rev=1?api-version=2022-08-01
15:46:42        Content: {"properties":{"path":"dev-demo-api","apiRevision":"0.11.0-SNAPSHOT","apiRevisionDescription":"demo-api Revision 0.11.0-SNAPSHOT","apiVersion":"v1-apiops","apiVersionDescription":"demo-api Version 0.11.0-SNAPSHOT","apiVersionSetId":"/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service//apiVersionSets/demo-api-dev","authenticationSettings":{"oAuth2AuthenticationSettings":[],"openidAuthenticationSettings":[]},"displayName":"dev | demo-api","protocols":["https"],"subscriptionKeyParameterNames":{"header":"Ocp-Apim-Subscription-Key","query":"subscription-key"},"subscriptionRequired":false}}
15:46:42  trce: HttpPipeline[0]
15:46:42        Received response
15:46:42        Method: PUT
15:46:42        Uri: https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service//apis/demo-api;rev=1?api-version=2022-08-01
15:46:42        Status code: 404
15:46:42        Duration (hh:mm:ss): 00:00:00.2685912
15:46:42        Content: {"error":{"code":"ResourceNotFound","message":"ApiVersionSet not found.","details":null}}
15:46:42  crit: Program[0]
15:46:42        Publisher failed with error HTTP request to URI https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service//apis/demo-api;rev=1?api-version=2022-08-01 failed with status code 404. Content is '{"error":{"code":"ResourceNotFound","message":"ApiVersionSet not found.","details":null}}'.
15:46:42        System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions//resourceGroups//providers/Microsoft.ApiManagement/service/****/apis/demo-api;rev=1?api-version=2022-08-01 failed with status code 404. Content is '{"error":{"code":"ResourceNotFound","message":"ApiVersionSet not found.","details":null}}'.
15:46:42           at common.HttpPipelineExtensions.<>c__DisplayClass8_0.b__0(Response response) in /home/runner/work/apiops/apiops/tools/code/common/Http.cs:line 157
15:46:42           at LanguageExt.ClassInstances.MEither2.Match[C](Either2 choice, Func2 Left, Func2 Right, Func1 Bottom) 15:46:42           at LanguageExt.Choice.ifLeft[CHOICE,CH,A,B](CH ma, Func2 leftMap)
15:46:42           at LanguageExt.Either2.IfLeft(Func2 leftMap)
Reproduction Steps

Update the existing api using publisher - no issue
delete the api
Re-deploy the api.

Just out of curiosity. Does this happen with v5?

Are you redeploying to the same instance or a different one?
Also, your logs show that version set demo-api has been published, but your api is pointing to version set demo-api-dev. Do you have two different version sets?

it is the issue with version set name demo-api-dev. i changed the version set name to demo-app and deployed. closing the issue. thank you


Nested hasPart objects on /all instead of plain list

support tree output for json
GET /all -H"accept: application/json"

on test via webpages


Sending Media message

Hi,
How to send media like Images, Document, Videos, etc?

你好，请问如何发送图片、视频、文档？
Hi,
How to send media like Images, Document, Videos, etc?

I have come up with my own Implementation, that supports sending Images, Videos
Try it
https://github.com/karthikeyan-krishna/JavsApp


Easier getting-started guide + JWT script

The deployment documentation still needs some love, we'll fix that in another PR


Publish to Homebrew

I think we can publish to https://github.com/Homebrew/homebrew-cask

It would be nice, but I would wait a bit until we polish a few major issues.

Ah, sorry, I submitted a PR to Homebrew/homebrew-cask just before reading the above comment: https://github.com/Homebrew/homebrew-cask/pull/139778. 🙏🏻
I changed it to a draft PR now. Please let me know if you think you are ready to submit it. I can update the PR so that they can review and merge it.

@shuuji3 do we have to update it in the homebrew repo every time we release a new version?

@piotrski I think so. There are already 133k PR in the homebrew-cask repo. We have to make a PR when every release.
Maybe we can have a release bot for homebrew in the future.

we can definitely have a workflow for submitting PRs, we need a similar thing to submit latest release links to the elk docs too though that's a different issue.

Yes, I think so too. But unless the current structure such as the package name convention and the release URL won't is changed, I think the only you need to change would be the version number and package hash: https://github.com/shuuji3/homebrew-cask/blob/add-elk/Casks/elk.rb#L4-L6
Also, Homebrew is providing the built-in subcommand called brew bump-cask-pr to upgrade and create a new PR with minimal effort. Maybe you can also use it in the automation.

If i understand correctly, this can now be installed with brew install --cask elk, right?

@ShadowJonathan Yes, you're correct. I also confirmed that version v0.4.0 can be installed now with that command.
@JonasKruckenberg @sxzz Sorry, I was being waited for your approval but the original PR had been merged now. Do you think it's ok? Honestly, I think the current version of Elk native is enough stable and working well so we keep the published brew cask to provide users a way to test easily. You can also update the install documentation for Homebrew at any time you'd like maybe after additional iterations. What do you think?

After merging #96, marked the brew cask as deprecated by https://github.com/Homebrew/homebrew-cask/pull/171132


IGAPP-386: Add a way to normalize language codes

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

This PR is a preparation for fixing our language problems. This PR introduces the primitives to support languages better:

Native module to get locales
Fallbacks specified in config.js
Flow types in translations package
Fixes of babel versions accross the project
Fixing how I18NextProvider works in web


Blockquote glitch

Quote author "- Myself" is instead "? Myself" font-family problem?

Fixed changed foundation 6 version of — for uft-8 —


(Feature Request) Support for RegEx

I think RegEx is really important..
If Regex is there JSON and YAML decoding and encoding too could be possible
I myself tried to make a handwritten "port" of "re" module of python.. (regex module)
But it got complex, It needed more modules, which would need to be ported, and one of them required python's compiled files (pyc) and so i quit.
Wouldn't it be great if you (the dev team) do the thing? after all, you're more experienced than me...
I expect there must be another feature request regarding the same due to RegEx's importance...

I don't support the idea of regex in core wren, but there are json and toml encoders/decoders written in wren already.
See: https://github.com/wren-lang/wren/wiki/Modules#parsing

FYI, JSON support comes per-bundled with wren-console and we're open to adding a regex library as well. We just need to agree on an implementation and find someone to put in the time.
I do agree for those of us wanting to do more utility kind of scripting that the lack of regex is a loss.

the plan was an optional module (similar to random and meta) that adds regex as a starting point. i've got an implementation and an api i'm using that I was going to extract soon (I recently brought the json one out and working toward regex too).