Improve build system; add e2e tests, docker CD, FAKE, paket

What does this PR do?

This PR contains a rebase and some fixes of #101 . @solidsloth I hope you are fine with me rebasing your commit and integrating with FAKE. In #101 quite a few things did not want to work at the same time. You could either get debugging work, tests or production build. I have taken care of this now.
Added test which checks that built image returns contents of SPA site
It includes all of #103, which is:

Adds Idefile, which is a reference to docker IDE image, which contains all build dependencies (dotnet, node.js, yarn, bats for e2e tests). If you have local docker daemon then you can run any of the build tasks like this now ide <command>. E.g. ide ./build.sh will run msbuild publish and run tests with xunit.
Updates travis setup to run:

msbuild publish in release config
run tests of the published artifacts
build docker image from those artifacts
test that docker image is functional

Moves dependency management to paket.
Adds FAKE and targets to run most of above workflow.

It includes all of #105, which is:

It changes the way to build docker image. By always using the result of msbuild /t:Publish in the docker image. And we are not using docker BUILD container, but using the same artifacts that were tested in previous stage.
added a flag to skip running db migrations. By default it is ran. As mentioned in discussion in #101
added e2e tests, mostly ported from LiGet.

We create some packages, push, download with nuget cli and paket.
These can run on travis from now on

Dockerfile is changed a bit:

uses tini for init system to reap any processes.
does not run as root by default. There is a baget user.
because of above changes default listening port to 9090.
when container starts it changes uid and gid of baget user based on owner of volume mount.
environment variables are all specified in Dockefile for clarity. Now a basic server to try out can be run with docker run baget.

Closes Issue(s)
#57 #56 #101 #7
Motivation
In general - I need BaGet to be functional and tested before I can use it in production. I don't want to waste time on testing features and fixing bugs which get randomly broken because there are no tests, no reproducible builds and no release cycle.
Why Idefile and IDE project:

biggest advantage is to reduce the noise around works on my machine. Now anyone can download the same environment which all developers and travis agents are running for builds.
rather than spending time on setting up your host, (either laptop or the CI agent) just pull the image which someone has already created and tested to be sufficient to execute entire workflow of the project

Why paket:

paket gets consistent package versions across all projects and it can support modules for FAKE.
paket.dependencies gives you an quick overview of all packages used by application.
paket.lock gives you detailed info about each version of all direct and transitive dependencies.
I tried to install xunit.runner.console without using paket. But there is no such command on dotnet SDK. There is no nuget CLI for linux which works without mono, and I managed to keep away from mono so far.

Why FAKE:

we get consistent AssemblyVersion for all projects, from top of changelog file.
it provides single source of truth on what the release cycle and tasks involved.
fake is cross platform and can do much more than just msbuild. (See how hard it was to copy a few files in #101)
programming tasks in xml is not easy and error prone. In F# FAKE you get as much as type safety in build scripts.
for all other task, which cannot be covered by msbuild or dotnet cli, we need a cross platform language. Otherwise windows guys start to code in powershell and linux guys in bash. We need something friendly to both platforms.
F# is cool

Why I am running tests with dotnet ...xunit.console.dll <assemblies-from-publish-dir>?
The main point in CD is that artifacts which constitute the application should be produced just once and then ran through all QA stages. We really need to be testing exactly the same files at each point until final release to ensure quality. In dotnet world that means using dotnet publish to force outputting application and all all its dependencies.
One of the common issues I had with dotnet assemlies is that running with dotnet test adapter uses additional assemblies from nuget caches. So I've seen tests passing when ran with dotnet test or dotnet xunit, but when same test is executed with  dotnet ...xunit.console.dll <assemblies-from-publish-dir> it fails. Naturally same load errors happen in deployed application (after all tests have passed earlier...). So running tests with publish reproduces those errors and makes sure that we get load errors early.
PS: I actually ran into this already in BaGet and fixed it. The Microsoft.AspNetCore.App in BaGet.Tests was causing problems like this:
xUnit.net Console Runner v2.4.0 (64-bit .NET Core 4.6.26814.03)
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

Additional Notes
I will be away for weekend, so I can have a look at review notes on Monday.
I am closing #103 and #105 , and I hope @solidsloth can close #101 since this contains the work and original intentions.

Hey @tomzo, I apologize for the incredibly long response time. I feel conflicted with these changes as I want to keep BaGet as simple as possible.
IDE project:
While I see the value in a reproducible development environment, I don't feel comfortable taking a dependency on this project. I'm not particularly familiar with IDE, and I'd rather focus my time on the features that differentiate BaGet. I don't think that setting up a development environment to work on BaGet is too difficult, and I'd like to keep it that way.
Paket:
Paket is a great project and BaGet should work well with Paket's ecosystem. However, I work on NuGet and would like to stick to NuGet 😄

paket gets consistent package versions across all projects
paket.dependencies gives you an quick overview of all packages used by application.

This is possible using NuGet too (see the aspnet repository for an example). NuGet will be improving this experience in the future: Centrally managing NuGet package versions. The paket.dependencies file is indeed pretty neat!

paket.lock gives you detailed info about each version of all direct and transitive dependencies.

Yes, this a feature that NuGet is sorely lacking. We are actively working on this, see this announcement.

There is no nuget CLI for linux which works without mono, and I managed to keep away from mono so far.

Out of curiosity, why do you want to use the nuget CLI on linux? The dotnet CLI should have most everything you need.
FAKE:

fake ... can do much more than just msbuild. (See how hard it was to copy a few files in #101)
programming tasks in xml is not easy and error prone. In F# FAKE you get as much as type safety in build scripts.

I 110% agree. I'm very torn about this as I very much dislike MSBuild. However, I want to keep BaGet as approachable as possible to all .NET developers. I don't think FAKE fits well with this goal.

for all other task, which cannot be covered by msbuild or dotnet cli, we need a cross platform language. Otherwise windows guys start to code in powershell and linux guys in bash. We need something friendly to both platforms.

I agree that we should avoid this. If possible,  I'd like to keep all tasks in MSBuild (😢). Is there anything in particular that you think would be too crazy for MSBuild?
Okay, I'm gonna stop here as I'd love to hear your thoughts @tomzo.

Paket ... This is possible using NuGet too

Without paket.lock the build is not reproducible, because of transitive dependencies not being locked. Which is not acceptable for me, for any project which I intend to deploy. Maybe NuGet will be capable of this one day, that's great. But a solution now is paket.

Out of curiosity, why do you want to use the nuget CLI on linux? The dotnet CLI should have most everything you need.

nuget cli has install command which works as downloader of nupkg. Other than I don't need it.
I had to download xunit console runner, to run tests as I explained earlier. This helps to reproduce assembly load errors such as https://github.com/loic-sharma/BaGet/issues/112 during tests.

I agree that we should avoid this. If possible, I'd like to keep all tasks in MSBuild (cry). Is there anything in particular that you think would be too crazy for MSBuild?

I don't see a problem in running msbuild for restore, build and test. Because those tasks are trivial.
Have a look all tasks I implemented in https://github.com/ai-traders/BaGet/blob/master/build.fsx for managing release cycle, changelog, git tags, publishing to github. Do you really intend to have those in msbuild?

Okay, I'm gonna stop here as I'd love to hear your thoughts @tomzo. I realize that I haven't addressed your test and Docker changes. I'm much more onboard with these changes, so that should be smoother :)

But you are saying that we cannot use FAKE, paket and IDE. Each of those is critical to make those end tests work. Sorry, but I won't be rebasing those tests without any framework, because it would be a lot of wasted time on setups, which would only poorly mimic the tools needed to get the job done.
My initial intent was to replace LiGet by merging most of it into BaGet and then move to it. I have mostly done it already in my fork. But now it looks to me that we have different objectives about nuget server project.
You want to keep it as simple as possible and easy for (I guess) Visual Studio developers. I think that you are also OK with this being still an experimental, PoC project. I need a working, maintainable product, which BaGet is not, because it is not tested and released.
So in my opinion, the best to do here is split ways again. I already have 1/2 of LiGet in BaGet fork, so I will just port it back to LiGet and keep my build system, tests and releases, which I had from LiGet anyway.
I think we agree on adding more tests coverage, so please feel free to cherry-pick some of tests which I added from my fork - https://github.com/ai-traders/BaGet/tree/master/tests/BaGet.Tests

As someone external, I hope that we can find some middle ground on this.
Whilst I am a huge advocate of paket and fake (and a contributor to both) I can see why there would be apprehension to add to this project.
The 2 things I think this project is missing is the end to end tests to prove it works the same as nuget.
The ability for someone to pick up a docker image, or package to host themselves.
For me, I don't want to host I docker, but spent around an hour trying to get something which I could self host.
My suggestion is to work out how to add these tests and other changes which add value to the project, and then investigate other build tools for example appveyor or Azure pipelines.
Which both support the ability to create things like GitHub releases without the need for fake.

I need a working, maintainable product, which BaGet is not, because it is not tested and released.
So in my opinion, the best to do here is split ways again.

That's completely fair. I'd like to investigate @BlythMeister's suggestion of Azure pipelines for releases.

I think we agree on adding more tests coverage, so please feel free to cherry-pick some of tests which I added from my fork - https://github.com/ai-traders/BaGet/tree/master/tests/BaGet.Tests

Will do . Thank you for the great work.

The ability for someone to pick up a docker image, or package to host themselves.
For me, I don't want to host I docker, but spent around an hour trying to get something which I could self host.

This sounds interesting @BlythMeister . Do you know of other projects that support self hosting through packages? I'd love to mimic their setup.

I've added Continuous Delivery to BaGet. You can:

Download BaGet as a GitHub release: https://github.com/loic-sharma/BaGet/releases
Install BaGet's components using NuGet: BaGet.Core and BaGet.Azure

I'll add support for Docker images in the future. Please let me know what you think!


Include custom actions in accessibility snapshots

Resolves #10.

😑  Those are referring to the same build. It passed, but for some reason it's not informing GitHub of the updates correctly.


MULTIMEDIA - :octocat: 0:30 :warning: :exclamation:  fix images popup

It was already working ;)

I have tested heavily and everything works perfectly! :)


Broken fog effect on big structures

Hi, I noticed this strange behavior zooming in on big structures like 3UNE or 1AON.

Try setting orthographic camera

Still good for me

I have made a pen

I tried to set light intensity to 0, but the problem persists. An other thing I observed is that the effect could be related to the background color (don't know if it's something obvious in reality). Hear the pen.


Feature Request: set global menu font and size

This is not an 'issue' but a 'feature request' but since there is no "Feature Request" section in github...
I'd love a way to globally set the font and font size for all text within a menu.
Use case:
I have a fairly involved menu plug-in I'm developing we plan to use to show statistical information about the system, check on various states and report information to the user, among other things.
Some of the formatting in the menu, especially when using tabs to separate information, can be a little off from one OS to the other due to Apple changing the system font from 10.9 (Lucida Grande) to 10.10 (Helvetica Neue) and again in 10.11 (San Francisco) Who knows what other font they will throw into the next version of OS X as its default?
Because of this, I'm encoding this plug-in to use one font across all text items, so the resulting display in the menu is consistent for any machines we deploy it to.
Unfortunately, this requires me to set literally every line that I'm echoing back with something like:
| font=$fontname size=$fontsize

Where $fontname and $fontsize are variables contained elsewhere within the script. It would be downright handy if there were some kind of global menu font flag we could set in the script that would force all lines to use the font name.
Like it works today, if the font name specified doesn't exist or you fat finger it, BitBar just defaults back to using the system font, which is a perfect compromise actually.
Any chance something like that could be built in at some point?

Just wanted to bubble this one to the surface again to see if there was any chance something like this could be done? Now that I've been playing with the latest beta 6 release with the "check" feature, I've added something into one of my scripts that will allow the user to choose between a few different font sizes and widths and the menu redraws with their selection. Not that any of the new features in the beta are strictly necessary for this, but having the ability to show a selection as "checked" is nice, so I'm working that in now.
But once again, I need to specify the font and font size on every line that gets rendered since there's no way to assign a global font to any items that don't have a specific font assigned to override the global one. I would love it if I could simplify my code with a global font assignment and only override individual lines on a one by one basis in the script if needed.
Other than that, still loving BitBar, and I like some of the latest features being added. Nice work on all of it!

+1 - having a global font size would be great - At the moment I've to change it manually for every plugin, because I want my font size to be 10.

+1 - Inability to specify font when output is from a python script is problematic for tabular data, unless I'm not up to speed on how to make that happen when output is not shell generated.

@rrggrr https://github.com/matryer/bitbar-plugins/search?l=Python&q=font&type=Code&utf8=✓ ?

@iosdeveloper That helped. Formatted output from Pandas Dataframe was as easy as adding a column to the dataframe:
df['bitbar_suffix'] = "| size=18 font='Helvetica'"

@mm2270 Your plugin sounds like something I would really enjoy. Is it out yet? What is it called?


8.1.0 has undocumented breaking change(s)

The Gradle configuration cache fixes appears to have changed the RunYarn constructor.
https://github.com/siouan/frontend-gradle-plugin/commit/89c475db70a74be5a5c6af298bd500f6042a2907?diff=unified&w=0#diff-cd8d9534ecdea881b46c09dd8284805d46c51cbbb93332c15001e6566a5bff71L31-R31
There maybe other changes like this.
Note I'm not challenging the change, just stating this should be mentioned in the release changes ;)

Hi @bric3,
Glad to read you again, thank you for your remark.
Actually, I don't see why this change in the constructor of the RunYarn class should be considered as a breaking change. On the end-user point of view, I mean for someone who writes build scripts, there's nothing to change when upgrading from release 8.0.0 to release 8.1.0. I don't remember of a modification in the official documentation for the usage of this task type. End-users still write tasks.register<RunYarn>("myCustomTask") { ... } (Kotlin) and the constructor is internally called by Gradle whatever its signature is.
What do you do that upgrading to release 8.1.0 may have broken?
Of course, if you are modifying/extending the plugin code for your own purpose, that's a different story.
If I am missing something, please let me know!
BR

Indeed, I do have tasks like this register<RunYarn>("runYarnStart") { ... }, but I wanted to be able to execute any tasks from gradle on the command line, and the script property is protected, so I created a subtask from RunYarn (8.0.0 code) :
tasks.register<YarnProxy>("yarn") {
    group = "frontend"
    description = "Run yarn script, e.g. for 'yarn add -D eslint', you can use './gradlew yarn --command=\"add -D eslint\"'"
}

open class YarnProxy @Inject constructor(
    projectLayout: ProjectLayout,
    objectFactory: ObjectFactory,
    execOperations: ExecOperations
) : RunYarn(
    projectLayout,
    objectFactory,
    execOperations
) {
    @Suppress("UnstableApiUsage")
    @set:Option(option = "command", description = "The command to pass to yarn")
    @get:Input
    var script: String = ""
        set(value) {
            super.getScript().set(value)
        }

    init {
        super.getScript().set(script)
    }
}

And this of course requires to extends this class. In 8.1.0 the projectLayout: ProjectLayout is gone.

Great!
I think this feature (setting the script property for task types from the command line) could be added to the plugin and a new release delivered quickly. This will avoid the need to override the plugin classes.
Is it good for you?

Yes, maybe this could be added on all Run* tasks. For reference here's what my proxy looks like in 8.1.0. I believe that annotating the parent class with this @set:Option(option = "command", description = "The command to pass to yarn") would be enough.
open class YarnProxy @Inject constructor(
    objectFactory: ObjectFactory,
    execOperations: ExecOperations
) : RunYarn(
    objectFactory,
    execOperations
) {
    @set:Option(option = "command", description = "The command to pass to yarn")
    @get:Input
    var yarnArgs: String = ""
        set(value) {
            super.script = value
        }

    init {
        super.script = yarnArgs
    }
}

Hi,
I'm closing the issue because there's no breaking change in release 8.1.0, as explained above. But there's an implicit feature request, and this has been described in issue #238.
BR

Hi,
FYI, release 9.0.0 provides new tasks to execute instant commands from Gradle command line, and allows custom tasks based on task types to pass executable arguments as a command line option.
BR


bnc.lt recognized as URI and not as branch link on iOS

Hi,
I started testing this library not long ago.
After settings up everything, I noticed that branch is catching links coming from bnc.lt as URI and not as branch links.
Code:
branch.subscribe(({params, error, uri}) => {
  if (params) {
    console.log(params);
  } else {
      if (uri) {
        console.log(uri);
      }
  }
});

Log from chrome:
geektime://open?link_click_id=281080951678941038

I get the same behaviour on Android using this configuration for my React activity :
<intent-filter>
                <data android:scheme="xxxx" android:host="open" />
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="https" android:host="xxxx.app.link" />
                <data android:scheme="https" android:host="xxxx.test-app.link" /> <!-- including or not this line results in the same behaviour -->
</intent-filter>

RN Branch version : 0.3.0.
Tested with RN 0.27.2 and 0.29.0

@avishayil can you double check you set up your branch handlers correctly in AppDelegate.m
If you see the bnc.lt link coming into the app it means branch successfully directed to the app, but the fact that you did not get a converted branch link would suggest that the iOS setup may not be correct: https://github.com/BranchMetrics/react-native-branch-deep-linking/blob/master/docs/setup.md#ios-project

Double checked it, my AppDelegate.m seems configured by the instructions.
Here's my full AppDelegate.m:
/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */

#import "AppDelegate.h"

#import "RCTBundleURLProvider.h"

#import "RCTRootView.h"

#import "CodePush.h"

#import "RNBranch.h"

#import "RCTSplashScreen.h"

#import "RCTOneSignal.h"

#import "Orientation.h"

#import <Fabric/Fabric.h>

#import <Crashlytics/Crashlytics.h>

#import <DigitsKit/DigitsKit.h>

#import <BuddyBuildSDK/BuddyBuildSDK.h>

#import <ABBI.h>

@implementation AppDelegate
@synthesize oneSignal = _oneSignal;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [BuddyBuildSDK setup];

  [ABBI start:@"0659b5bd-638d-407f-94f3-8c247c8fd4de" withSecretKey:@"c3BiV1lTVUdPMVNCS3FvbWpsZlhkTkR3NWFiVTFDdGhRRkliMDJGSXpuVXpkRm9qYUdwR3dWN3ZyMmVlMHl4NmhX"];

  [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES];

  NSURL *jsCodeLocation;

  #ifdef DEBUG
    [[RCTBundleURLProvider sharedSettings] setDefaults];
    jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];
  #else
    jsCodeLocation = [CodePush bundleURL];
  #endif

  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                      moduleName:@"Geektime"
                                               initialProperties:nil
                                                   launchOptions:launchOptions];
  UILocalNotification *notification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
  if (!notification) {
    [RCTSplashScreen show:rootView];
  }
  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  self.oneSignal = [[RCTOneSignal alloc] initWithLaunchOptions:launchOptions
                                                         appId:@"e738f8ca-a2aa-4f61-bd30-fdc6980a3e92"];

  [Fabric with:@[[Answers class], [Crashlytics class], [Digits class]]];

  NSString *newAgent = @"Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19 Geektime/App";
  NSDictionary *dictionnary = [[NSDictionary alloc] initWithObjectsAndKeys:newAgent, @"UserAgent", nil];
  [[NSUserDefaults standardUserDefaults] registerDefaults:dictionnary];

  return YES;
}

// Required for the notification event.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification {
  [RCTOneSignal didReceiveRemoteNotification:notification];
}

- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
  return [Orientation getOrientation];
}

// Add the openURL and continueUserActivity functions
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
  if (![RNBranch handleDeepLink:url]) {
    // do other deep link routing for the Facebook SDK, Pinterest SDK, etc
  }
  return YES;
}

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler {
  return [RNBranch continueUserActivity:userActivity];
}

@end

Double checked it, my AppDelegate.m seems configured by the instructions.
Here's my full AppDelegate.m:
/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */

#import "AppDelegate.h"

#import "RCTBundleURLProvider.h"

#import "RCTRootView.h"

#import "CodePush.h"

#import "RNBranch.h"

#import "RCTSplashScreen.h"

#import "RCTOneSignal.h"

#import "Orientation.h"

#import <Fabric/Fabric.h>

#import <Crashlytics/Crashlytics.h>

#import <DigitsKit/DigitsKit.h>

#import <BuddyBuildSDK/BuddyBuildSDK.h>

#import <ABBI.h>

@implementation AppDelegate
@synthesize oneSignal = _oneSignal;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [BuddyBuildSDK setup];

  [ABBI start:@"0659b5bd-638d-407f-94f3-8c247c8fd4de" withSecretKey:@"c3BiV1lTVUdPMVNCS3FvbWpsZlhkTkR3NWFiVTFDdGhRRkliMDJGSXpuVXpkRm9qYUdwR3dWN3ZyMmVlMHl4NmhX"];

  [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES];

  NSURL *jsCodeLocation;

  #ifdef DEBUG
    [[RCTBundleURLProvider sharedSettings] setDefaults];
    jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];
  #else
    jsCodeLocation = [CodePush bundleURL];
  #endif

  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                      moduleName:@"Geektime"
                                               initialProperties:nil
                                                   launchOptions:launchOptions];
  UILocalNotification *notification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
  if (!notification) {
    [RCTSplashScreen show:rootView];
  }
  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  self.oneSignal = [[RCTOneSignal alloc] initWithLaunchOptions:launchOptions
                                                         appId:@"********-****-****-****-************"];

  [Fabric with:@[[Answers class], [Crashlytics class], [Digits class]]];

  NSString *newAgent = @"Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19 Geektime/App";
  NSDictionary *dictionnary = [[NSDictionary alloc] initWithObjectsAndKeys:newAgent, @"UserAgent", nil];
  [[NSUserDefaults standardUserDefaults] registerDefaults:dictionnary];

  return YES;
}

// Required for the notification event.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification {
  [RCTOneSignal didReceiveRemoteNotification:notification];
}

- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
  return [Orientation getOrientation];
}

// Add the openURL and continueUserActivity functions
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
  if (![RNBranch handleDeepLink:url]) {
    // do other deep link routing for the Facebook SDK, Pinterest SDK, etc
  }
  return YES;
}

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler {
  return [RNBranch continueUserActivity:userActivity];
}

@end

Double checked it, my AppDelegate.m seems configured by the instructions.
Here's my full AppDelegate.m:
/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 */

#import "AppDelegate.h"

#import "RCTBundleURLProvider.h"

#import "RCTRootView.h"

#import "CodePush.h"

#import "RNBranch.h"

#import "RCTSplashScreen.h"

#import "RCTOneSignal.h"

#import "Orientation.h"

#import <Fabric/Fabric.h>

#import <Crashlytics/Crashlytics.h>

#import <DigitsKit/DigitsKit.h>

#import <BuddyBuildSDK/BuddyBuildSDK.h>

#import <ABBI.h>

@implementation AppDelegate
@synthesize oneSignal = _oneSignal;

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  [BuddyBuildSDK setup];

  [ABBI start:@"********-****-****-****-************" withSecretKey:@"********************************************"];

  [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES];

  NSURL *jsCodeLocation;

  #ifdef DEBUG
    [[RCTBundleURLProvider sharedSettings] setDefaults];
    jsCodeLocation = [[RCTBundleURLProvider sharedSettings]<EMAIL_ADDRESS>fallbackResource:nil];
  #else
    jsCodeLocation = [CodePush bundleURL];
  #endif

  RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
                                                      moduleName:@"Geektime"
                                               initialProperties:nil
                                                   launchOptions:launchOptions];
  UILocalNotification *notification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
  if (!notification) {
    [RCTSplashScreen show:rootView];
  }
  rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

  self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
  UIViewController *rootViewController = [UIViewController new];
  rootViewController.view = rootView;
  self.window.rootViewController = rootViewController;
  [self.window makeKeyAndVisible];

  self.oneSignal = [[RCTOneSignal alloc] initWithLaunchOptions:launchOptions
                                                         appId:@"********-****-****-****-************"];

  [Fabric with:@[[Answers class], [Crashlytics class], [Digits class]]];

  NSString *newAgent = @"Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19 Geektime/App";
  NSDictionary *dictionnary = [[NSDictionary alloc] initWithObjectsAndKeys:newAgent, @"UserAgent", nil];
  [[NSUserDefaults standardUserDefaults] registerDefaults:dictionnary];

  return YES;
}

// Required for the notification event.
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)notification {
  [RCTOneSignal didReceiveRemoteNotification:notification];
}

- (UIInterfaceOrientationMask)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window {
  return [Orientation getOrientation];
}

// Add the openURL and continueUserActivity functions
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
  if (![RNBranch handleDeepLink:url]) {
    // do other deep link routing for the Facebook SDK, Pinterest SDK, etc
  }
  return YES;
}

- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray *restorableObjects))restorationHandler {
  return [RNBranch continueUserActivity:userActivity];
}

@end

@avishayil any luck? I just ran into a similar issue and it stemmed from using the test app key instead of the live key. The specifics may depend on your application but I would double check you are using the correct application key and have the correct "Associated Domains" set up in your application capabilities.

I’m using the test key, didn’t know I have to use the live key though.
I’ll try with the live key and report.
On July 28, 2016 at 1:47:13 AM, Zack Story<EMAIL_ADDRESS>wrote:
@avishayil https://github.com/avishayil any luck? I just ran into a
similar issue and it stemmed from using the test app key instead of the
live key. The specifics may depend on your application but I would double
check you are using the correct application key and have the correct
"Associated Domains" set up in your application capabilities.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BranchMetrics/react-native-branch-deep-linking/issues/28#issuecomment-235745034,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyekIxT9fxqhCCU2-au0cX3UqDfMm2Xks5qZ9_xgaJpZM4JJiWI
.

It is important that the key specified in info.plist matches the key used to generate the link. I would say when starting out it is best to start with the live key, and if you later decide you need additional sandboxing you can add in the test environment.

Closing this out as it seems resolved.


Request codeLens/resolve failed

RA extension spams the following error:
[Error - 19:58:42] Request codeLens/resolve failed.
Error: Connection got disposed.
	at Object.dispose (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/main.js:876:25)
	at Object.dispose (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-languageclient/lib/client.js:71:35)
	at LanguageClient.handleConnectionClosed (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-languageclient/lib/client.js:2167:42)
	at LanguageClient.handleConnectionClosed (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-languageclient/lib/main.js:154:15)
	at closeHandler (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-languageclient/lib/client.js:2154:18)
	at CallbackList.invoke (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at closeHandler (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/main.js:226:26)
	at CallbackList.invoke (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/events.js:62:39)
	at Emitter.fire (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/events.js:120:36)
	at StreamMessageWriter.fireClose (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/messageWriter.js:39:27)
	at Socket.constructor.writable.on (/home/suhr/.vscode/extensions/matklad.ra-lsp-0.0.1/node_modules/vscode-jsonrpc/lib/messageWriter.js:58:46)
	at Socket.emit (events.js:182:13)
	at Pipe.Socket._destroy._handle.close (net.js:606:12)

@suhr Are you still having this issue on master?

Yes. Specifically, I have this issue when I add a dir with a rust project into non-rust workspace and then navigate a rust file.
There are also extra messages:

rust-analyzer failed to load workspace: can't find Cargo.toml at /home/suhr/Projects/tox/tox-ksy
workspace loaded, 149 rust packages

In that case, this is a duplicate of #1798, would you mind closing this one and checking that one out? Thanks. :)


fix: validate_index for veci8 & rm deprecated feature.

I found that IndexOption check for vecint8 is lost when I merge branch.

thanks


Use the default branch instead of master when branch isn't set explicitly

As several repositories are already moving away from having the default branch named master, I suggest that vim-go should use the repository default branch when the user hasn't explicitly set a branch.
I'm using https://github.com/govim/govim (installed via vim-plug) that recently changed from master to main as the default branch. A workaround to get things working was to rename the local branch inside .vim/plugged/govim but I recently noticed that vim-plug changes branch back to master if I don't have a branch name set.
i.e.
" This will give me the default branch instead of 'master'
Plug 'govim/govim'

" .. while this still works
Plug 'govim/govim', { 'branch': 'development' }

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jun  7 2020 01:33:04)
macOS version
Included patches: 1-916
Compiled by<EMAIL_ADDRESS>Huge version without GUI.  Features included (+) or not (-):
+acl               +cryptv            +fork()            +modify_fname      +persistent_undo   +syntax            +visualextra
+arabic            -cscope            -gettext           +mouse             +popupwin          +tag_binary        +viminfo
+autocmd           +cursorbind        -hangul_input      -mouseshape        +postscript        -tag_old_static    +vreplace
+autochdir         +cursorshape       +iconv             +mouse_dec         +printer           -tag_any_white     +wildignore
-autoservername    +dialog_con        +insert_expand     -mouse_gpm         +profile           -tcl               +wildmenu
-balloon_eval      +diff              +ipv6              -mouse_jsbterm     -python            +termguicolors     +windows
+balloon_eval_term +digraphs          +job               +mouse_netterm     -python3           +terminal          +writebackup
-browse            -dnd               +jumplist          +mouse_sgr         +quickfix          +terminfo          -X11
++builtin_terms    -ebcdic            +keymap            -mouse_sysmouse    +reltime           +termresponse      -xfontset
+byte_offset       +emacs_tags        +lambda            +mouse_urxvt       +rightleft         +textobjects       -xim
+channel           +eval              +langmap           +mouse_xterm       -ruby              +textprop          -xpm
+cindent           +ex_extra          +libcall           +multi_byte        +scrollbind        +timers            -xsmp
-clientserver      +extra_search      +linebreak         +multi_lang        +signs             +title             -xterm_clipboard
+clipboard         -farsi             +lispindent        -mzscheme          +smartindent       -toolbar           -xterm_save
+cmdline_compl     +file_in_path      +listcmds          +netbeans_intg     -sound             +user_commands
+cmdline_hist      +find_in_path      +localmap          +num64             +spell             +vartabs
+cmdline_info      +float             -lua               +packages          +startuptime       +vertsplit
+comments          +folding           +menu              +path_extra        +statusline        +virtualedit
+conceal           -footer            +mksession         -perl              -sun_workshop      +visual
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X -DMACOS_X_DARWIN  -O2   -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc    -o vim        -lm -lncurses  -liconv -framework AppKit

Type:

[ ] Bug
[x] Enhancement
[ ] Feature Request
[x] Question

OS:

[x] All/Other
[ ] Linux
[ ] OS X
[ ] Windows

Vim:

[x] Terminal Vim
[x] GVim
[x] Neovim

Also see https://github.com/junegunn/vim-plug/issues/854.

Also see #854.

Oh, thanks. I did look through the issues but must have missed it, apologies for that!
With regards to the current work by GitHub related to this, it might be time to give it another round of thoughts?

from https://github.com/junegunn/vim-plug/issues/854#issuecomment-511287991:

This was discussed several times in the past. You should be able to find some related issues here. While I do not disagree with the suggestion, implementing it correctly without complicating the code too much is actually not trivial (e.g. branch validation in PlugStatus, how to find out if the default branch has been changed in the origin after we cloned it, etc.), so it's not exactly something I'd like to look into now. But patches are welcome.

FWIW - It seems like git remote set-head origin -a is a way to set the local default branch to whatever it is/has changed to remotely.

git remote set-head origin -a

This is an excellent tip in general, but seems like the perfect solution here?

Fixed in #1007

I suggest re-opening this as per https://github.com/junegunn/vim-plug/pull/1007#issuecomment-683393634

@leitzler Are you interested in sending a pull request?

@junegunn I don't think I know vimscript well enough to get it right unfortunately (and I seem to have missed the notification for this one, sorry about it).
Revisited this since a govim user recently ran into this issue again.

@junegunn I just ran into this issue dealing with the Black plugin. Are there plans to tag a new release of vim-plug soon to get this out, or are you waiting on the git remote set-head origin -a fix proposed above (and in the merged PR)?

I would say this is more of a bug than a feature, because I can't install a third of the required plugins.

@mangelozzi: What do you mean? Can you give an example of a plugion you cannot install due to this issue (incl. the corresponding section from your config)?

From https://github.com/junegunn/vim-plug/pull/1007#issuecomment-683393634

Since a lot of repositories also follow GitHubs rename instructions I suggest that vim-plug also run git remote set-head origin -a each update to ensure that the remote default branch isn't stale.

This is probably the only way to solve the changed default branch problem. It will make the update slower though.


Develop Marketing Materials for the App to recruit Pilot Partner Sites

Had a conversation with @cygov and @sparkle-usds about the requests we've been getting for demos and information about the app, and what we will need going forward. The output of that meeting is we should:

[ ] Create a video that demos the app to share with potential partners/pilot sites @cygov @hmyers-cms

[ ] Get the video cleared by CDC to share

[x] Develop a 1 pager about the app to share with potential partners/pilot sites @cygov @aliciabeckett-gov

[x] Get the 1 pager cleared by CDC to share

[x] Develop a plan for how we will onboard pilot sites to the community @sparkle-usds

Website

[x] Develop content for the website.
[x] Develop a way for testing site to "sign up" and register to use the App.
[x] Get the website content cleared by CDC

@cygov is the video still happening?

Editing this ticket to reflect the work that needs to be done for the website.

Now that we have a first draft of messages being reviewed, we'll move forward with recording a demo!

Video is blocked until we have a prod ready demo site to do it on.

Plan for onboarding sites is in progress (and iterating as we scale) the demo video is in the works. We've started posting our demo videos publicly and sharing them widely with partners (and will soon add them to the sites): https://www.youtube.com/playlist?list=PL3U3nqqPGhaZbRpj1r7dE1W2tIzcjthbh


vmm.lib cannot found

LINK : fatal error LNK1104: cannot open file 'vmm.lib'

I find it in UEDumper-MemProcFS\UEDumper\Includes


odbc num_rows() return is not empty value, but result() and result_array() is both return empty array

version: CodeIgniter 2.1.3 release
OS:winxp
DB:sql server 2008
php version : 5.3.21
in model
num_rows() return is 60+ ,
but $query->result() and $query->result_array() is both return empty array ....
now the project is not work, please help me ~~~
controllers/country.php:
load->model('country_model');
    $result = $this->country_model->getAll();
    $this->output->set_content_type('application/json');
            $this->output->set_output(json_encode($result));
}
```

}

models/country_model.php:
db->get("Country");
            echo $query->num_rows()."".$query->num_fields();     //185\15
            //return $query->result();     //not work
    return $query->result_array();       //not work
}
```

}

output :   18515[]

hi @narfbg i hve this issue, and noted others issue in CI# but unfortunatelly i cannot upgrade right now a production proyect, please can you provided related commits with this problem? so i can adapt for CI2 (i do not use active record), i have this exact problem

hi @narfbg i hve this issue, and noted others issue in CI# but unfortunatelly i cannot upgrade right now a production proyect, please can you provided related commits with this problem? so i can adapt for CI2 (i do not use active record), i have this exact problem
CI3 have some minor issues that can be improved but right now i not have time to do so.. i need some related info about thist problem

Dude, I merely told you that you didn't comment in the right place and now you go comment on every ancient issue that mentions ODBC. Stop!
I can't provide you with the stuff that you're asking for and there's countless reasons for that. My only answer is "upgade". This is a bug tracker, not a support ticketing system.

it's a hard response for a comunity proyect, well normal response when a proyect are so famous. . thanks in any case i past all the night searchivng and waste a lot of time, so i post here for those like me that are in troubles i'll contribute:
commits:

https://github.com/bcit-ci/CodeIgniter/issues/1125#issuecomment-4317954
cc5af53346397846f2035dc2bf6a2c2f9b0cd4ab
9c68c3173c84041b1ee77929e540a4a4382edeee
only for stupid windoze access https://github.com/bcit-ci/CodeIgniter/issues/1125#issuecomment-111336917

sorry for that @narfbg dont worry i'll post also the fised for those very professional but no so easy to access odbc drivers working with CI3, but later, right now i'm very busy.. thanks in any way for...

No, please don't post anymore. If you do, I'll delete your comments - you've been warned.
It's hard to even understand what you're saying, and I don't know how you think you're helping, but you're really not.


Change goog.string.html.HtmlSanitizer to implement an interface

Fixes #447

Looking at the commit history, the git date for 1ee4e8e88687d5167dedcbe2cfe19f1a2279583c is March 25, 2015 while the commit date is April 9, 2015. I'm guessing the original commit was on March 25 and the MOE sync happened on April 9?
Regardless, I'm not sure why the @interface change didn't cause errors in the first place.

Can this be merged? I have projects frozen on a specific commit as this code does not currently compile.


installing zipline with wheel breaks existing talib package

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: (Windows Version or $ uname --all) : macos ventura 13.2
Python Version: $ python --version python 3.9.16
Python Bitness: $ python -c 'import math, sys;print(int(math.log(sys.maxsize + 1, 2) + 1))'
How did you install Zipline: (pip, conda, or other (please explain)) use pip install /Volumes//Download/zipline_reloaded-2.4.0b1-cp39-cp39-macosx_11_0_arm64.whl
Python packages: $ pip freeze or $ conda list

Now that you know a little about me, let me tell you about the issue I am
having:
I had talib issue initially, I cannot import talib for some reasons. then create a new environment install talib again, the import succeeded and everything seems normal. then I install zipline....whl as above.. the install seems ok. but afterwards I can no longer import talib again. it gives following error. so I concluded that install the zipline wheel breaks the existing talib package which was working. see error message below
import talib
[autoreload of numpy.core.multiarray failed: Traceback (most recent call last):
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 245, in check
superreload(m, reload, self.old_objects)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 394, in superreload
module = reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/imp.py", line 314, in reload
return importlib.reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 613, in _exec
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/core/multiarray.py", line 16, in
from ._multiarray_umath import (
ImportError: cannot import name '_fastCopyAndTranspose' from 'numpy.core._multiarray_umath' (/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so)
]
[autoreload of numpy.core.numeric failed: Traceback (most recent call last):
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 245, in check
superreload(m, reload, self.old_objects)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 394, in superreload
module = reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/imp.py", line 314, in reload
return importlib.reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 613, in _exec
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/core/numeric.py", line 10, in
from .multiarray import (
ImportError: cannot import name '_fastCopyAndTranspose' from 'numpy.core.multiarray' (/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/core/multiarray.py)
]
[autoreload of numpy.linalg.linalg failed: Traceback (most recent call last):
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 245, in check
superreload(m, reload, self.old_objects)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 394, in superreload
module = reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/imp.py", line 314, in reload
return importlib.reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 613, in _exec
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 85, in
_linalg_error_extobj = _determine_error_states()
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/linalg/linalg.py", line 78, in _determine_error_states
with errstate(invalid='call', over='ignore',
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/core/_ufunc_config.py", line 433, in enter
ValueError: Only callable can be used as callback
]
[autoreload of numpy.matrixlib failed: Traceback (most recent call last):
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 245, in check
superreload(m, reload, self.old_objects)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 394, in superreload
module = reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/imp.py", line 314, in reload
return importlib.reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 613, in _exec
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/matrixlib/init.py", line 6, in
all = defmatrix.all
NameError: name 'defmatrix' is not defined
]
[autoreload of numpy.lib failed: Traceback (most recent call last):
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 245, in check
superreload(m, reload, self.old_objects)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 394, in superreload
module = reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/imp.py", line 314, in reload
return importlib.reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 613, in _exec
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/lib/init.py", line 44, in
all += type_check.all
NameError: name 'type_check' is not defined
]
[autoreload of numpy failed: Traceback (most recent call last):
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 245, in check
superreload(m, reload, self.old_objects)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/IPython/extensions/autoreload.py", line 394, in superreload
module = reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/imp.py", line 314, in reload
return importlib.reload(module)
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/importlib/init.py", line 169, in reload
_bootstrap._exec(spec, module)
File "", line 613, in _exec
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/init.py", line 191, in
core.numerictypes.typeDict,
File "/Users/wangshu/opt/anaconda3/envs/bt39_talib/lib/python3.9/site-packages/numpy/core/init.py", line 161, in getattr
raise AttributeError(f"Module {name!r} has no attribute {name!r}")
AttributeError: Module 'numpy.core' has no attribute 'numerictypes'
]
Description of Issue

What did you expect to happen?
What happened instead?

Here is how you can reproduce this issue on your machine:
Reproduction Steps

create new python environment with python version 3.9.16
install talib
install zipline as below
import talib, then error will appears
...

What steps have you taken to resolve this already?
...
Anything else?
...
Sincerely,
$ whoami

after reinstalling several times, it works somehow.. so I close it for now.

after reinstalling several times, it works somehow.. so I close it for now.


SAML invalid_response

Dear Khanh Ngo,
I tried to use the SAML login, but every time I get this error:
Login failed.
Error(s) when processing SAML Response:
invalid_response

on the server side:
powerdns_admin | [2020-03-24 11:01:10 +0000] [12] [DEBUG] GET /
powerdns_admin | [2020-03-24 11:01:10 +0000] [12] [DEBUG] GET /login
powerdns_admin | [2020-03-24 11:01:27 +0000] [12] [DEBUG] GET /saml/login
powerdns_admin | [2020-03-24 11:01:27 +0000] [12] [INFO] SAML: IDP Metadata successfully retrieved from: https://idp.domain.com/simplesaml/saml2/idp/metadata.php
powerdns_admin | [2020-03-24 11:01:27,093] [saml.py:67] INFO - SAML: IDP Metadata successfully retrieved from: https://idp.domain.com/simplesaml/saml2/idp/metadata.php
powerdns_admin | [2020-03-24 11:01:27 +0000] [12] [DEBUG] POST /saml/authorized

I checked the response of our simplesaml IdP on this validator: https://www.samltool.com/validate_response.php and it seem to fine.
How can I increase the verbosity? What do you think, what cause this error?
Thank you,
Attila

sorry for the noise.
I found the problem, I had to set the wantAssertionsEncrypted to False in the services/saml.py file:
...
settings['security']['wantAssertionsEncrypted'] = False
...


[Popup] - observeChanges Option Never Gets Used

Hello guys,
Found a weird bug when working with popups on our Angular company web app.
In the documentation, it mentions that one is able to create a Popup and include the option observeChanges in order to toggle the MutationObservers to destroy the module based on DOM changes.
When looking at the source code, this option doesn't seem to get used when setting up the Mutation Observers.
I noticed in the Sticky module, that there exists an if statement to gate this code path using the observeChanges option from the module's settings.
Shouldn't there be an if statement somewhere to gate this code path in the Popup module?

Yep observeChanges is not obeyed in current release, the setting was accidentally omitted. This has been fixed in next release https://github.com/Semantic-Org/Semantic-UI/commit/549e61f35e5b7bf5612ca1df7be7eb72014f82dd

Awesome! Thank you for the speedy response!


Ignore fake keyboardWillChangeFrame events

Super-minor fix for KeyboardAvoidingView to disable warning.
Test plan:

Run simulator with disabled software keyboard
Add LayoutAnimation.spring() on TextInput focus
Click on TextInput

It's been a while since the last commit was reviewed and the labels show this pull request needs review. Based on the blame information for the files in this pull request we identified @nicklockwood as a potential reviewer. Could you take a look please or cc someone with more context?

@ptmt can you add a bit more context? What type of warning do you see if this fix is not in place?

@hramos. Warning about another LayoutAnimation that's being started at that moment. Of course, it's only if there is presented such. It's super minor and only in iOS simulator (see steps to reproduce), it's just could be annoying sometimes, but totally not important. Let's closed since there are no people who experienced the same problems.


fix register config not take effect because of url simplified

fix #4341
when set dubbo.registry.simplified true. the dubbo.service.register won't take effect because of the register key was simplified and will use default value true;
boolean register = registeredProviderUrl.getParameter("register", true);
change providerUrl here

@imsunv  Can you remove unused import sentence ?

@cvictory  ok

Codecov Report

Merging #4397 into master will decrease coverage by 0.06%.
The diff coverage is 82.69%.

@@             Coverage Diff              @@
##             master    #4397      +/-   ##
============================================
- Coverage     63.97%   63.91%   -0.07%
- Complexity      451      452       +1
============================================
  Files           769      769
  Lines         33194    33194
  Branches       5236     5236
============================================
- Hits          21237    21216      -21
- Misses         9533     9553      +20
- Partials       2424     2425       +1

Impacted Files
Coverage Δ
Complexity Δ

...e/dubbo/registry/integration/RegistryProtocol.java
82.69% <82.69%> (ø)
0 <0> (ø)
:arrow_down:

.../apache/dubbo/qos/protocol/QosProtocolWrapper.java
70.73% <0%> (-12.2%)
0% <0%> (ø)

...che/dubbo/remoting/transport/mina/MinaChannel.java
43.42% <0%> (-10.53%)
16% <0%> (-1%)

.../remoting/transport/netty4/NettyClientHandler.java
61.4% <0%> (-7.02%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
63.04% <0%> (-4.35%)
0% <0%> (ø)

...pache/dubbo/registry/support/AbstractRegistry.java
78.54% <0%> (-3.07%)
0% <0%> (ø)

...he/dubbo/registry/multicast/MulticastRegistry.java
67.87% <0%> (-1.81%)
0% <0%> (ø)

.../exchange/support/header/HeaderExchangeServer.java
66.98% <0%> (-0.95%)
0% <0%> (ø)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
61.87% <0%> (-0.63%)
29% <0%> (ø)

...dubbo/metadata/support/AbstractMetadataReport.java
72.83% <0%> (+1.73%)
0% <0%> (ø)
:arrow_down:

... and 4 more

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 4619aab...9498ad4. Read the comment docs.

@cvictory  RegistryDirectory in master Line separator is CRLF, it will change to LF when committing

fixed it by keep Line separator with CRLF


[L5R] Serious alignment breaks of the Bugei Skills section of the sheet

The most recent update seems to have caused this issue. The Athletics skill in particular has serious alignment issues.

I guess this has something to do with all the translation changes people put through. Ill have a look what changed.

#2301

I assume you're referring to the repeating skill box I made as well for high skills. It seems the alignment is coded in CSS. Which I'm not familiar with. I'll have to see if I can fix that.

Made a rough fix to the alignment issues to repeating skill as well.

Everything should be coming back up as soon as roll20 gets the merge.

Thank you for your efforts, as always.


The site does not work

The download site won't let me in.

Sorry for the inconvenience, the site should be up.

Thanks
On Mon, Jan 15, 2024, 00:04 Piotr Krupa @.***> wrote:

Sorry for the inconvenience, the site should be up.
—
Reply to this email directly, view it on GitHub
https://github.com/Hary309/hry-sic/issues/16#issuecomment-1891520573,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BE6DFJXO6PXL54YZZMFCRN3YOTPI5AVCNFSM6AAAAABBDYUVTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGUZDANJXGM
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


[release-1.15] wasm: enhance fallback logic for the Wasm module download failure (#41416)

Fixes https://github.com/istio/istio/issues/41750

@ingwonsong: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio_release-1.15
832c2539fb6037b910b0ed1592d4eba02872b94d
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

Just a note that in the main branch PR there is a comment that the PR may be causing some post-submit tests to fail.

@ingwonsong: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.15
357826358d6e4e355191d0ee499d1b9abc8bb7a9
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ingwonsong: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.15
357826358d6e4e355191d0ee499d1b9abc8bb7a9
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@dhawton same as cherrypick for 1.16

@dhawton @aryan16 friendly ping.


Is it possible to search a model property via "contains" using REST blueprints?

Currently I can search as such:
/person/find?name=Bob
-- returns bob
/person/find?age=36
-- returns bob
/person/find?description="This is Bobs entire description property"
-- returns bob
But what if I wanted to search with a "like" or "contains" via the REST blueprints?
/person/find?description="property"
-- returns bob and any other person objects whose description contains the word "property".
Same goes for arrays, Bob has 3 relatives...
relatives: ["Jane","Eric","Kim"]
Is there a way to query via REST blueprints on a models array property?
/person/find?relatives=Kim
-- would return any people (in this case Bob) whose relatives property (an array) has an array element that matches Kim.

I didn't found a way to configure request on client side to search by object property.
LIke "about.rank": 500.
It works on server side
sails.models.hack.find({'about.rank': 600}).exec(function(err, found){
res.json(found)
})
But I can't figure out how to form url.


metadata cardinality changes

Added the ability to select multiple Rights Statements
Material/Specimen is no longer a required field
Managing organization is now a required field

Thanks! but failing Codeship; log excerpt:
When I navigate to the new dataset page# features/step_definitions/dataset_steps.rb:19
And I create the dataset with:# features/step_definitions/dataset_steps.rb:42
  | TITLE           | SUPERVISOR   | DATA_ORIGIN | CREATOR   | KEYWORD  |
  | My Test Dataset | Jones, Janet | experiments | Doe, Jane | big data |
Unable to find select box "dataset[rights_statement]" that is not disabled and Unable to find input box with datalist completion "dataset[rights_statement]" that is not disabled (Capybara::ElementNotFound)
./features/step_definitions/dataset_steps.rb:61:in `/^I create the dataset with:$/'
features/datasets/create.feature:16:in `And I create the dataset with:'

This PR is to close https://github.com/antleaf/nims-mdr-development/issues/405

Now passing, looks good.


Fixed #24727 -- Prevented ClearableFileInput from masking exceptions on Python 2

Please see the following Trac ticket:
https://code.djangoproject.com/ticket/24727#ticket

Could you please add a test to demonstrate the usefulness of the change?

Also, it would be nice to structure the code in such a way that we can easily revert to the current version when we drop Python 2 compatibility. Using six.PY2, for example.

The problem with six.PY2 is that hasattr wasn't changed until Python 3.2: sites using Python 3.0 and 3.1 would be affected again by this issue if the code were reverted to the current version. Would this be acceptable?
I'll add a test for the change.

Yes, it's okay because Django 1.9 supports Python 2.7 and 3.3+.

I've added a test case and changed the code so it uses six.PY2. Thanks for the suggestions :-).

buildbot, add to whitelist.

I've revised the patch to take into account your comments. Thanks for the cleanup :-).

merged in 5c412dd8a724b263489c1bd7a2fea381460665d7, thanks!


Add edges to existing graph

Add edges to existing graph.

Codecov Report

Merging #222 (081a9b8) into main (a542b47) will decrease coverage by 9.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #222      +/-   ##
==========================================
- Coverage   76.79%   67.57%   -9.22%
==========================================
  Files          55       55
  Lines        4292     4463     +171
==========================================
- Hits         3296     3016     -280
- Misses        996     1447     +451

Impacted Files
Coverage Δ

src/server/async/socket_server.cc
59.80% <0.00%> (-20.93%)
:arrow_down:

src/server/services/meta_service.cc
62.50% <0.00%> (-20.11%)
:arrow_down:

src/server/server/vineyard_server.cc
58.05% <0.00%> (-16.20%)
:arrow_down:

src/server/memory/stream_store.cc
49.56% <0.00%> (-15.66%)
:arrow_down:

src/common/util/protocols.cc
76.80% <0.00%> (-14.79%)
:arrow_down:

src/server/server/vineyard_server.h
85.71% <0.00%> (-14.29%)
:arrow_down:

src/server/services/etcd_meta_service.h
80.00% <0.00%> (-12.00%)
:arrow_down:

src/server/services/meta_service.h
66.58% <0.00%> (-11.59%)
:arrow_down:

src/server/util/etcd_launcher.cc
65.68% <0.00%> (-11.51%)
:arrow_down:

src/server/util/meta_tree.cc
65.04% <0.00%> (-10.68%)
:arrow_down:

... and 10 more

@sighingnow Why has the coverage dropped so much?

codecov.io is a liar :)


Is the adapter compatible with vite/ESM?

Description
Hi, when I try to run a page with the react example in a remix route it launches an error

I think it is related with CJS/ESM
Steps to reproduce
Create a new Remix Vite app: npx create-remix@latest --template remix-run/remix/templates/vite
In the index route for example copy the React example code
Expected Behavior
Actual Behavior
The application is broken
Metadata
Typesense Version:
Latest
OS:
MacOS
Remix v2.8 Vite

Not a solution, but a very ugly workaround I found that might help for now:
import TypesenseInstantSearchAdapterExport from "typesense-instantsearch-adapter";
const TypesenseInstantSearchAdapter =
  TypesenseInstantSearchAdapterExport.default ??
  TypesenseInstantSearchAdapterExport;

Thanks you so much, it seems to work.
Let's see if I can make something! 😄

Can we please get a proper fix for this

Would like a full fix for this, but I worked around it using https://github.com/cyco130/vite-plugin-cjs-interop


Unable to set initial value

Unable to set initial value. In set function, it tries to match the value with current value of widget. But since it was never opened, the value is not set yet. So it throws none exception.
It should have a check for undefined for current value or assume current value as now in case of undefined.

Ohh I can only set initial value after opening the widget. I was setting before opening the widget.


[Release] Bumped mysql version to 8.2.3

What does this PR do?
[Release] Bumped mysql version to 8.2.3 for 7.36.1

Closing in favor of #12095


[BUG] After "npm create refine-app@latest" refine stucked in the build step forever

Describe the bug
Infinite build time just after "npm create refine-app@latest" with example pages and building the project
Steps To Reproduce
After "npm create refine-app@latest" refine stucked in the build step forever
Then responding with the following in the installation prompts in npm create refine-app@latest
✔ Downloaded remote source successfully.
✔ Choose a project template · refine-nextjs
✔ What would you like to name your project?: · frontend
✔ Choose your backend service to connect: · data-provider-supabase
✔ Do you want to use a UI Framework?: · antd
✔ Do you want to add example pages?: · antd-example
✔ Choose a package manager: · npm
✔ Mind sharing your email? (We reach out to developers for free priority support, events, and SWAG kits. We never spam.) · no

Navigate to the project frontend
cd frontend

Then it stuck in build step forever
npm  run build

><EMAIL_ADDRESS>build
> refine build

   ▲ Next.js 14.1.0

   Creating an optimized production build ...
 ✓ Compiled successfully
   Linting and checking validity of types ...
   Collecting page data ...

Expected behavior
It should build normally
Packages
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"dev": "cross-env NODE_OPTIONS=--max_old_space_size=4096 refine dev",
"build": "refine build",
"start": "refine start",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'",
"refine": "refine"
},
"dependencies": {
"@refinedev/cli": "^2.16.21",
"@refinedev/core": "^4.47.1",
"@refinedev/devtools": "^1.1.32",
"@refinedev/nextjs-router": "^6.0.0",
"@refinedev/kbar": "^1.3.6",
"next": "14.1.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"@refinedev/supabase": "^5.7.4",
"js-cookie": "^3.0.5",
"@refinedev/antd": "^5.37.4",
"@ant-design/icons": "^5.0.1",
"antd": "^5.0.5",
"@ant-design/nextjs-registry": "^1.0.0"
},
"devDependencies": {
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/node": "^18.0.0",
"@typescript-eslint/parser": "5.48.0",
"typescript": "^4.7.4",
"cross-env": "^7.0.3",
"eslint": "^8",
"eslint-config-next": "14.1.0",
"@types/js-cookie": "^3.0.6"
},
"refine": {
"projectId": "bnwFHH-jafWj3-242t1r"
}
}
Additional Context
No response

I believe this is the issue https://github.com/ant-design/ant-design/issues/48758

Hey @youssefsiam38, sorry for the issue. Like you've referenced in the comment, antd's latest release break the build processes. We've downgraded and locked the version of antd in our @refinedev/antd with the latest release, check it out here https://github.com/refinedev/refine/releases/tag/%40refinedev%2Fantd%405.38.0
We're following the issue and will update the version as soon as the issue is resolved on antd side.


⚠ Chatwoot has degraded performance

In b166e30, Chatwoot (https://app.chatwoot.com) experienced degraded performance:

HTTP code: 200
Response time: 23883 ms

Resolved: Chatwoot performance has improved in 6bccd0a.


Fix aws profiles list function

Can you post what results the completion gives before and after this PR is applied?

Running  aws_profiles before the PR
~ » aws_profiles
~ »

Running  aws_profiles after the PR
~ » aws_profiles
ww1-London
ww1
ww1-Ireland
ww2
~ »

See, the aws_profiles function is meant to be called only when using completion (in this case, of the asp function), that's why it uses the weird reply=() construct. But if you run the command inside it should give the proper results:
grep profile "${AWS_CONFIG_FILE:-$HOME/.aws/config}"|sed -e 's/.*profile \([a-zA-Z0-9_\.-]*\).*/\1/')

If that's the case this PR is not needed.

Fixed in master.


Automated cherry pick of #3523: lockman: log bug with Errorf

Cherry pick of #3523 on release/2.13.
#3523: lockman: log bug with Errorf

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@cecf950). Click here to learn what that means.
The diff coverage is 19.53%.

@@              Coverage Diff               @@
##             release/2.13   #3616   +/-   ##
==============================================
  Coverage                ?   6.98%
==============================================
  Files                   ?     499
  Lines                   ?   83519
  Branches                ?       0
==============================================
  Hits                    ?    5834
  Misses                  ?   77188
  Partials                ?     497

Flag
Coverage Δ

#aFlag
6.98% <19.53%> (?)

Impacted Files
Coverage Δ

pkg/cloudcommon/db/lockman/inmemory.go
67.07% <0%> (ø)

pkg/cloudcommon/db/lockman/bug.go
0% <0%> (ø)

pkg/cloudcommon/db/lockman/etcd.go
20% <20%> (ø)

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 cecf950...9a60548. Read the comment docs.

/lgtm

/approve


What version of nodejs does SDK require?

What version of nodejs does SDK require?

https://github.com/ston-fi/sdk/issues/8#issue-2197067554

What version of nodejs does SDK require?


Investigate performance of kompile

The MKR-MCD semantics at https;//github.com/makerdao/mkr-mcd-spec takes a weirdly long time to kompile it seems. It is a rather large definition, with lots of configuration composition, but it still seems to take too long.
Maybe profiling it would reveal some interesting hot-spots, or maybe not. If nothing interesting stands out, feel free to close this.
git clone 'https://github.com/makerdao/mkr-mcd-spec'
cd mkr-mcd-spec
git submodule update --init --recursive
make deps K_BUILD_TYPE=Release
make build -j8              # step that takes a seemingly long time

There have been several significant improvements to parsing performance recently. Please reopen if this is still an issue.


deprecated methods on an instance of NumberEntity

When running the Bosch i got warning that method will be depreciated :
2022-07-12 11:17:01 WARNING (MainThread) [homeassistant.components.number] custom_components.bosch.number::BoschNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Duplicate https://github.com/bosch-thermostat/home-assistant-bosch-custom-component/issues/177


TP: adds the ability to delete a job (aka invalidation request)

[x] This PR is related to #2030

Adds the ability in TP to delete an invalidate content request job. User is restricted to only deleting jobs within their tenancy, otherwise, only jobs associated with delivery services within their tenancy.
Which Traffic Control components are affected by this PR?

Traffic Portal

What is the best way to verify this PR?

Navigate to https://traffic-portal.tld/#!/jobs. Delete a job. Note the delivery service of the job. Note the cdn of the delivery service.
Navigate to https://traffic-portal.tld/#!/cdns/{cdn-ID}/servers. Note that the "Reval Pending" flag for all servers (except for OFFLINE or PRE_PROD) have been set to true showing a clock icon.

The following criteria are ALL met by this PR

[ ] This PR includes tests OR I have explained why tests are unnecessary
[ ] This PR includes documentation OR I have explained why documentation is unnecessary
[ ] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

I'm pretty sure I wanted to do this when translating the endpoint from Perl to Go and the ML decided we shouldn't delete jobs.

Nevermind that comment; it's not true. The DELETE handler already exists in the API, which is sufficient proof that it wasn't shot down on the mailing list.


Fix typo in custom repo route path

Description
https://github.com/RedHatInsights/edge-frontend/pull/573 introduced a typo in the route for custom repositories. This resulted in /beta/edge displaying the custom repositories page instead of redirecting to the groups page at /beta/edge/fleet-management.
Fixes # (issue)
Type of change
What is it?

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

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I run npm run lint:js:fix to check that my code is properly formatted

/lgtm


Can't search '简单'

Discussed in https://github.com/meilisearch/meilisearch/discussions/2492

Originally posted by hello--world June  8, 2022
documents = [
      { 'id': 9, 'title': '安装简单，没有复杂的配置：省心', 'genres': ['Adventure', 'Drama'] }
]
# index.add_documents(documents)

r = index.search('简单')
print(r)
# ----
{'hits': [], 'nbHits': 0, 'exhaustiveNbHits': False, 'query': '简单', 'limit': 20, 'offset': 0, 'processingTimeMs': 1}

Hello @hello--world!
Currently, we are using jieba to segment Chinese texts in words, and your title will be segmented as  ["安装简单", "，", "没有", "复杂", "的", "配置", "：", "省心"].
Because your search query 简单 corresponds to the end of the first word and because Meilisearch only supports prefix search, therefore Meilisearch will not find your documents.
I hope my explanation was clear enough. Don't hesitate to ask more questions if you need them!
Thanks for your interest in the project!

yes it is.but how to resolve it?

Hello @chenbimo
Since we use Jieba, there is no way to solve this exact problem.
You can help us by reading this discussion, especially the "Contribute" section where you will know how to help us. Since we are not Chinese it's not easy for us to know the different alternatives and to make the best decision. You already found the discussion but I write this for traceability.
Thank you!


CasRestProfile ticketGrantingTicketId is null

JwtAuthenticator validate the token and
createJwtProfile return the CasRestProfile
but the ticketGrantingTicketId property in CasRestProfile is null!
why?

Please use the mailing list for questions: https://groups.google.com/forum/?fromgroups#!forum/pac4j-users


Bootstrax db interactions

Update bootstrax to:

Write to the updated adresses of the Mongo dbs
Only write to the 'eb_monitor' collection for monitoring bootstrax. This renders the 'bootstrax' collections in both the runs database and the daq database obsolete.
Remove functions that were doing the same kind of things as the system monitor does.
Change the philosophy of how the bootstrax/eb_monitor collection is used. In the past, we were writing one single entry per host to the 'bootstrax' collection. However, to have a log for the website to read from we are now inserting new entries into the 'eb_monitor' collection rather than updating.

The ‘eb_monitor’ collection will now log what parameters it is running with. For example:
'host': 'eb0.xenon.local',
'pid': 29272,
'time': datetime.datetime(2020, 5, 13, 12, 11, 47, 769000),
'state': 'idle',
'target': 'event_info',
'max_cores': 4,
'max_messages': 4,
'undying': False,
'production_mode': True

when it starts a run it updates fields like:
'run_id': 000000
'target': 'raw_records',
'max_cores': 40,
'max_messages': 10,

Thanks Darryl for your review. I've implemented most in 8ad0d0d. Additionally I have given each object in the eb_monitor collection an effective lifetime of approx. 60 seconds. After that a new document is inserted in the collection.


Test concurrency of ingress gateway

Asked at Istio-users https://groups.google.com/forum/#!topic/istio-users/zdR98MVvRVw.

with concurrency add .
tcp Three-way Handshake time increase obviously.
which lead to poor performance.
Does any one know have any idea?

Adam please use istio/fortio, jmeter, or wrk / wrk2 tools to perform this test. That is what we use for the project. We are not tracking connect time specifically though .

@mandarjog i use another service do the test. this two are no different.
on my mac
with command :  ./fortio  load -qps 0 -t 60s -c 1000 -r 0.0001 "http://zlkotest.mservice.svc.mfw"
target 50% 0.0626915
target 75% 0.180499
target 90% 0.496795
target 99% 2.58317
target 99.9% 8.42624
with command : curl -o /dev/null -s -w time_namelookup:"\t"%{time_namelookup}"\n"time_connect:"\t\t"%{time_connect}"\n"time_appconnect:"\t"%{time_appconnect}"\n"time_pretransfer:"\t"%{time_pretransfer}"\n"time_starttransfer:"\t"%{time_starttransfer}"\n"time_total:"\t\t"%{time_total}"\n"time_redirect:"\t\t"%{time_redirect}"\n" http://zlkotest.mservice.svc.mfw
time_namelookup:	0.005
time_connect:		0.006
time_appconnect:	0.000
time_pretransfer:	0.006
time_starttransfer:	0.013
time_total:		0.014
time_redirect:		0.000
we can see from this,  total time increase much.


ISSUE: #168

This fix multiple file selection on android.

Look good can you just explain why the change in cookie?
if not related please do a separate PR

Tried this change out and it's still not working for my purposes in an auth flow. Would it be possible to add my custom solution in the associated issue as a separate method? Perhaps as a "clearAllCookies" function, since I think mine clears all the cookies for the in app browser? Would be a great help since this is the only Capacitor in-app browser plugin that I've found that has all the other functionality I need for my project. Clearing the cookies/cache is the only functionality I'm missing right now.

Look good can you just explain why the change in cookie?
if not related please do a separate PR

I fixed also cookie and forgot to make a specific branch

@Anthony-Matheou this PR is supposed to add multi file select, not cookie.
@xam8re can you remove cookie fix from it?
We do a different PR for this and will test that separately

Ok i added both fix myself in separate PR


[2430] Course study mode question - sending to DTTP

Context
https://trello.com/c/abUO5hnT/2430-m-course-study-mode-question-sending-to-dttp
Changes proposed in this pull request

<EMAIL_ADDRESS>param added to Dttp::Params::PlacementAssignment

Guidance to review

 [M] Course study mode question - sending to DTTP


ADD Feedback

Added the feedback about the event. Minor grammar fixes.

Looks good to me :)

Thankyou sir :)


[ENHANCEMENT] use torch.onnx.export instead of convert_graph_to_onnx

Is your feature request related to a problem?
This is related to compiling ONNX models for upload to opensearch
two problems with the status quo:

transformers.convert_graph_to_onnx.convert will be deprecated in the next major version of huggingface transformers
transformers.convert_graph_to_onnx.convert only grabs the base model; so the head on top of the base logits is left off. For embedding models, we got around this by implementing the pooling layer in ml-commons for ONNX models, but for other pretrained classification heads (e.g. cross-encoders) this is simply impossible.

What solution would you like?
Instead use torch.onnx.export. An example (that implements this for cross encoders):
torch.onnx.export(
    model=model,
    args=(features['input_ids'], features['attention_mask'], features['token_type_ids']),
    f=f"/tmp/{mname}.onnx",
    input_names=['input_ids', 'attention_mask', 'token_type_ids'],
    output_names=['output'],
    dynamic_axes={
        'input_ids': {0: 'batch_size', 1: 'sequence_length'},
        'attention_mask': {0: 'batch_size', 1: 'sequence_length'},
        'token_type_ids': {0: 'batch_size', 1: 'sequence_length'},
        'output': {0: 'batch_size'}
    }
)

usage is similar to torch.jit.trace, which we use for torchscript compilation
This will simplify the code in ml-commons that drives ONNX models
What alternatives have you considered?
There are probably other ways to export a complete model to ONNX (and if we want to support TF we might need to look at options for that) but this seems pretty clean.
Do you have any additional context?
Original comment
We should probably invest in supporting all the new kinds of models that will be coming from [RFC] Support more local model types in opensearch-py-ml.

[Triage -- attendees 1, 2, 3, 4, 5, 6, 7]
Can this be closed with #1615?


Update macOS install instructions

This regards https://github.com/Microsoft/LightGBM/wiki/Installation-Guide
I cannot edit the file, so creating an issue.
Just want to note that the normal brew install gcc worked for me. This removes about two hours from the installation process for macOS as currently documented in this file.

@wxchan @henry0312
Does using brew install gcc have openmp support ?

Yes, it have OpenMP, but I don't know whether it works fine.
How can I check simply?
https://computing.llnl.gov/tutorials/openMP/samples/C/omp_hello.c works at least.

so why we need the --without-multilib ?

I don't know the details, but there was a bug in the previous gcc.
cf. https://github.com/Homebrew/homebrew-core/commit/bc4ce49717a77a0debdb2c3b8b2542c87ab58daa.

@wxchan  can you help to confirm this ?

Hi LightGBM team, I'm a new user. I've been working with XGBoost for imputations and tarting to try LightGBM.
I have better doc on how to upgrade GCC and CLANG with OpenMP support for macOS.
Both approach are homebrew and macport free. Additionally they take less than 5 min to do ... yep.
Can someone point me to the link where I could edit the latest doc on LightGBM ?
Best
Thierry

https://github.com/Microsoft/LightGBM/blob/master/docs/Installation-Guide.rst
and if there are extra requirements for R: https://github.com/Microsoft/LightGBM/blob/master/R-package/README.md


Wide char in windows console display with errors

Displaying unicode charactors in same location twice works wrong on windows console.
It seems like a bug.

And add

x += width - 1

to this position in console_win.go can solve this problem
but this seems cause another problem that when display unicode charactors in the place 1 cell beside th origin one doesn't work

add a loop to solve it

I'm not sure I understand the problem.  If you're using wide characters, you should recognize that the character consumes two display cells, but the 'dirty' tracking only records the first of the two cells.  If you're relying on on wide characters to change the "dirtyness" of the following cell, that might be a problem.
Can you create a simple test case?

Submitter?  Test case please?


Step Command Not Working

This issue is in regard to Delve running on Windows.
Consider this main.go example file:
// main.go
package main

import "fmt"

type User struct {
    FirstName string
    LastName  string
}

func (user User) String() string {
    return fmt.Sprintf("%s %s", user.FirstName, user.LastName)
}

func main() {
    user := User{
        FirstName: "John",
        LastName:  "Smith",
    }

    message := FormatMessage(user, "Golang Weekly Newsletter #756")

    for index := 0; index < 3; index++ {
        fmt.Printf("Sending #%d message with %s\n", index, message)
    }
}

func FormatMessage(user User, message string) string {
    return fmt.Sprintf("body: %s by %s", message, user.String())
}

Run the debugger using this file:
dlv debug main.go

Next set the break point at line 21 using this command:
break main.go:21

That results in this output:
(dlv) break main.go:21
Breakpoint 1 set at 0x4012be for main.main C:/Go/src/github.com/jussij/DelveTest/main.go:21

Next issue the continue command which should hit that break point:
continue

As you can see it does hits that break point and correctly stops as shown below:
> main.main() C:/Go/src/github.com/jussij/DelveTest/main.go:21 (hits goroutine(1):1 total:1)
    16:         user := User{
    17:                 FirstName: "John",
    18:                 LastName:  "Smith",
    19:         }
    20:
=>  21:         message := FormatMessage(user, "Golang Weekly Newsletter #756")
    22:
    23:         for index := 0; index < 3; index++ {
    24:                 fmt.Printf("Sending #%d message with %s\n", index, message)
    25:         }
    26: }

But look what happens if you then issue the next command which gives you this output:
(dlv) next
> main.FormatMessage() C:/Go/src/github.com/jussij/DelveTest/main.go:28
    23:         for index := 0; index < 3; index++ {
    24:                 fmt.Printf("Sending #%d message with %s\n", index, message)
    25:         }
    26: }
    27:
=>  28: func FormatMessage(user User, message string) string {
    29:         return fmt.Sprintf("body: %s by %s", message, user.String())
    30: }

From the commands reference web page: https://github.com/derekparker/delve/wiki/Commands
It says next does this:
Next - Step over to next source line.

In the example above example the next command has not stepped over the FormatMessage function but instead it stepped into that function

This should be fixed by b370e20cd5e8a8b1fc110b41f30a21315c8f78cc.

@jussij please verify this is fixed as of the commit @aarzilli referenced and if so please close out the issue. Thanks!

I can confirm this is now working. Excellent  :)
C:\Go\src\github.com\jussij\DelveTest>dlv debug main.go
Type 'help' for list of commands.
(dlv) break main.go:21
Breakpoint 1 set at 0x4012be for main.main C:/Go/src/github.com/jussij/DelveTest/main.go:21
(dlv) continue
> main.main() C:/Go/src/github.com/jussij/DelveTest/main.go:21 (hits goroutine(1):1 total:1) (PC: 0x4012be)
    16:         user := User{
    17:                 FirstName: "John",
    18:                 LastName:  "Smith",
    19:         }
    20:
=>  21:         message := FormatMessage(user, "Golang Weekly Newsletter #756")
    22:
    23:         for index := 0; index < 3; index++ {
    24:                 fmt.Printf("Sending #%d message with %s\n", index, message)
    25:         }
    26: }
(dlv)


Imports

This is a messy one, sorry. The first commit is just removing an extra folder that was just adding scaffolding for no reason.
The second commit has more relevant changes.
@incuna/frontend please review

@pandalion done :)

:+1:  cool !

yay thanks :D


Add a license to the repository

I recently came across your project Qiskit and I noticed that the repository github.com/dxid-dev/Qiskit currently does not have a license specified.
Why Adding a License is Important?
As GitHub documents

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.

Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!

Thank you, @cbjuan , for highlighting this issue. I've now added the Apache 2.0 license to the repository. The full license text is in the new LICENSE file in the root directory.
I appreciate your suggestion and commitment to open-source best practices. If you have any more recommendations, please don't hesitate to let me know.

thanks!


13021 - Special Resolution - Drafts

Issue #: /bcgov/entity#13021
Description of changes:
Special Resolution Drafts
Waiting on:
https://github.com/bcgov/bcrs-shared-components/pull/146
https://github.com/bcgov/business-filings-ui/pull/381
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

I don't see these in the schema (https://github.com/bcgov/business-schemas/blob/main/src/registry_schemas/schemas/name_request.json), but not sure if we want to add them? Any thoughts?

The other issue is this data can be stale (NR could have expired or changed since..)  - Maybe saving just the NR and fetching it with the draft is better?
Example data:

I don't see some of the fields were using in the schema (https://github.com/bcgov/business-schemas/blob/main/src/registry_schemas/schemas/name_request.json), but not sure if we want to add them? Any thoughts?

Don't muck with them if you don't have to. It would be good to have a Tech Debt ticket to go in and clean this up.

https://github.com/bcgov/entity/issues/13445


unexpected media type text/html

Description
Hey,
I get the following error on different images when I try to Pull and run them. I don't know how to fix this.
Steps to reproduce the issue

nerdctl run --rm -e SYNAPSE_SERVER_NAME=matrix.contentways.net -e SYNAPSE_REPORT_STATS=no synapse generate

Describe the results you received and expected
[root::admingw-01]
~/synapse: nerdctl run --rm -e SYNAPSE_SERVER_NAME=matrix.contentways.net -e SYNAPSE_REPORT_STATS=no synapse generate
docker.io/library/synapse:latest: resolving      |--------------------------------------|
elapsed: 0.5 s                    total:   0.0 B (0.0 B/s)
docker.io/library/synapse:latest: resolving      |--------------------------------------|
docker.io/library/synapse:latest: resolving      |--------------------------------------|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
docker.io/library/synapse:latest:                                                resolved       |++++++++++++++++++++++++++++++++++++++|
unknown-sha256:2d25cb9c68f7cf1c2fb8afa6f6b4ee063606a6fad3dd9eccb6fbab255b775883: downloading    |--------------------------------------|    0.0 B/203.7 KiB
elapsed: 2.9 s                                                                   total:   0.0 B (0.0 B/s)
WARN[0003] reference for unknown type: text/html
FATA[0003] failed to unpack image on snapshotter overlayfs: unexpected media type text/html for sha256:2d25cb9c68f7cf1c2fb8afa6f6b4ee063606a6fad3dd9eccb6fbab255b775883: not found
[root::admingw-01]
~/synapse:

What version of nerdctl are you using?
[root::admingw-01]
~/synapse: nerdctl version
Client:
 Version:	v1.7.1
 OS/Arch:	linux/arm64
 Git commit:	4692b3eaafc5dc3a3883d3b1cc0e70a35e3b5d32
 buildctl:
  Version:	v0.12.4
  GitCommit:	833949d0f7908608b00ab6b93b8f92bdb147fcca

Server:
 containerd:
  Version:	v1.7.10
  GitCommit:	4e1fe7492b9df85914c389d1f15a3ceedbb280ac
 runc:
  Version:	1.1.10
  GitCommit:	v1.1.10-0-g18a0cb0f
[root::admingw-01]
~/synapse:

Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None

@AkihiroSuda this looks to me like a transient Docker Hub error returning an html error page.
While we could do better than that in term of feedback (#3302), I believe this is a non-issue and we should close this.