Testcafe freezes while filling in the form

What is your Test Scenario?
Filling in input fields in the form.
What is the Current behavior?
The form is filled in extremely slowly. At some point the test freezes and fills in e.g. one letter every minute, to the point that filling in 3 input fields takes over 4 minutes. I recorded this behavior, please check this video: https://youtu.be/wOGOjKgMbYY.
It might have something to do with looped garbage collector, please check the Performance tab in the browser tools and attached screenshot.
IMPORTANT
We are giving you access to our test server with test user especially created for you to check this issue. Please be aware that we can only make our server available for you for a week, after that we will take the server again for our internal purposes and we will remove the possibility to access it using credentials in the test.
What is the Expected behavior?
The form is filled in with normal speed and can be saved with the input data.
What is your web application and your TestCafe test code?
import {Selector} from "testcafe";

fixture(`Example fixture`)
    .httpAuth({ username: 'testcafetmp', password: 'rickets-squeak-manila' })
    .page('https://bronx.dev.packhelp.com/');

test(`example test`, async t => {
    await t.wait(5000);
    await t.click(Selector('span').withText('Sign in'));
    await t.typeText(Selector('input#email'), 'testcafe-user@tmp.com');
    await t.click(Selector('button').withText('Sign in'));
    await t.typeText(Selector('input#password'), 'asdasd123');
    await t.click(Selector('button').withText('Continue'));
    await t.wait(5000);
    await t.click(Selector('span').withText('Account'));
    await t.click(Selector('span').withText('Personal details'));
    await t.click(Selector('div.cookie-notice').find('button').withText('I accept'));
    await t
        .typeText(Selector('input#firstName'), 'Firstname')
        .typeText(Selector('input#lastName'), 'Lastnamington');
    await t.click(Selector('.select__controller-button').nth(0));
    await t.click(Selector('.zphoneinput__prefix-item').withText('+48'));
    await t.typeText(Selector('input#phoneNumber'), '123456789');
    await t.typeText(Selector('input#companyName'), 'Company Name');
    await t.typeText(Selector('input#companyStreet'), 'Street 1');
    await t.typeText(Selector('input#companyStreet2'), 'Street 2');
    await t.click(Selector('.select__controller-button').nth(1));
    await t.click(Selector('.select__menu').nth(1).find('.select__item').withText('United Kingdom'));
    await t.click(Selector('.select__controller-button').nth(2));
    await t.click(Selector('.select__menu').nth(2).find('.select__item').nth(0));
    await t.typeText(Selector('input#companyPostcode'), '12345');
    await t.typeText(Selector('input#companyCity'), 'London');
    await t.click(Selector('.checkbox__input').nth(0));
    await t.click(Selector('.checkbox__input').nth(1));
});

###Screenshots

Steps to Reproduce:

Run the attached test
See the console and Performance tab

Your Environment details:

testcafe version:                   1.2.1
node.js version:                    10.15
command-line arguments:

    "specs": "./specs",
    "browsers": [
        "firefox --incognito --no-sandbox --disk-cache-size=1 -profile=\"./firefox-profile\" --enable-features=NetworkService,NetworkServiceInProcess --disable-features=VizDisplayCompositor"
    ],
    "concurrency": 1,
    "screenshots": {
        "directory": "log/screenshots",
        "takeOnlyOnFailed": true,
        "namingPattern": "test-${TEST_INDEX}/${USERAGENT}/${QUARANTINE_ATTEMPT}-attempt/${FILE_INDEX}.png"
    },
    "reporters": [
        "spec",
        {
            "name": "allure",
            "output": "./log/allure/"
        }
    ],
    "runnerSettings": {
        "skipJsErrors": true,
        "selectorTimeout": 25000,
        "pageLoadTimeout": 100000,
        "debugOnFail": false,
        "quarantineMode": false,
        "assertionTimeout": 20000
    }
}

browser name and version: Firefox 69.0.0
platform and version:          Mac OS X 10.14.0

Hello @zuzannadziewulska ,
We would love to assist you and diagnose this issue. However, our policy prevents us from accessing internal resources without prior written approval from a site owner. If you want us to further research the problem directly on your side, please ask the website owner to send us<EMAIL_ADDRESS>a written confirmation. It must permit DevExpress personnel to remotely access the website and its internal resources for research/testing/and debugging purposes.

Hi @aleks-pro, we have sent you an email with permission to access our site. Please check your inbox.

I checked the example and confirm that the issue exists

Hi @AlexKamaev,
Just to inform you that we need to take back for development the server that was shared with you, so you will not be able to access it anymore. Please let us know in case you need to access it again.

Hi @zuzannadziewulska,
We haven't researched this case yet but I hope we will be able to start with this ticket soon. We will inform you when we are ready.

@zuzannadziewulska
Hi,
I am ready to start researching the issue. Could you please grant me access again?

@AlexKamaev our DevOps is on holidays, I'm waiting for someone with access to add basic auth credentials for TestCafe debugging - as soon as I'll get basic auth I'll respond here and send an email to Your team.

bump

Do we have any resolution to this issue as are also facing the similar issue while filling up form and testcafe version is 1.6.1.

Hello @manjyots, We haven't determined the cause of this issue yet. If you experienced a similar issue, please share your example to demonstrate it. It will help us find a solution.

Hello @manjyots, We haven't determined the cause of this issue yet. If you experienced a similar issue, please share your example to demonstrate it. It will help us find a solution.

Hi @Ogurecher ,  Thanks for replying.  I cant share the code base because of client security norms but majorly I have seen it is having issues while interacting with field type like Radio button, Select drop downs etc. working fine for plain text fields.

@manjyots, Thank you for the additional information. We'll post any updates on the issue in this thread.

We see that this issue is gaining a lot of feedback and decided to prioritize it.
@zuzannadziewulska, sorry for a huge delay in processing your ticket. If the problem is still relevant, can you please grant access one more time?
If anyone here experienced the same (or similar) problem with freezing while interacting with input elements, please share an example of such a site. We will look into the problem.

Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.


updated readme for rust-gnome/gtk

added the hello world for rust-gnome/gtk link here https://github.com/rust-gnome/examples/blob/master/src/basic.rs

Thanks!

Actually, looking back at this, I wanted to use the # sloc stat from the source file and not the raw linecount, because that includes whitespace. I'll fix it.


Add an end point to calculate DTI

Debt-to-income ratio (DTI) is all your monthly debt payments divided by your gross monthly income
Different  company has different DTIs as their minimum limit
A person has to have a greater DTI than that limit in order to get a new loan

Add this endpoint and make a PR @abinashrasonowal

working on it


Support for .Net Maui

Hi there,
Thanks for building this collection, which seems quite useful for what I'd like to achieve.  I did test it in Maui apps based on the "XAML based UI platforms" instructions on the read-me, but Maui iOS does not behave so good (cells become blank on updates). Android is working just fine.
Tried with ToNotifyCollectionChanged, and ToNotifyCollectionChangedSlim. Also tried binding the collection directly. Same thing.
Using Application.Current.Dispatcher.DispatchAsync to invoke notification events.
I can't see what's wrong.
I saw no mention of Maui in the read me. Is anyone using it in Maui apps and if so, should it be used according to the XAML based plateform instructions?
Thanks.

Thanks for trying it out.
I'm not very familiar with MAUI, and even if I did try it out, I'd probably only be able to run it on Windows, so thanks for checking it on iOS.
Could you please provide some more specific code for testing, such as how you applied DispatchAsync?

Hi @neuecc, thanks for the answer.
You can develop for Maui both in Windows and Mac, but I'm referring to the end result platform. When the app is compiled for Android, it seems to be running fine, but when the application is compiled to run as an iOS app, it is not.
In both cases, I use this to dispatch events...
public class MauiDispatcherCollection() : ICollectionEventDispatcher { 	public void Post(CollectionEventDispatcherEventArgs ev) 	{ 		Application.Current.Dispatcher.DispatchAsync(() => 		{ 			// notify in dispatcher 			ev.Invoke(); 		}); 	} }
As said, tried with both regular and Slim. Same results. If you hear about anyone else who made it working for Maui, that would be great.
Thanks in advance for your help.

I think this discussion is similar.
I think Application.Current.Dispatcher is not the appropriate approach.
https://github.com/dotnet/maui/issues/21452

What would you suggest as the appropriate approach?

I don't know.

ObservableCollection was doing just fine.
FYI, here is what did the trick for us so far, still not perfect. Does that gives any indication on what we may be doing wrong?
public class MauiDispatcherCollection() : ICollectionEventDispatcher
{
public void Post(CollectionEventDispatcherEventArgs ev)
{
if (Application.Current.Dispatcher.IsDispatchRequired)
{
Application.Current.Dispatcher.DispatchAsync(() =>
{
// notify in dispatcher
ev.Invoke();
});
}
else	//already on main thread, run immediately
{
// notify in dispatcher
ev.Invoke();
}
}
}


fix linting errors

Many thanks to contributing to nf-core/bcellmagic!
Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs).
PR checklist

[x] This comment contains a description of changes (with reason)
[x] Ensure the test suite passes (nextflow run . -profile test,docker).

This fixes #34. Now the linting process must work.

awesome this is solved now, all tests passed!

all fine by me!


How to build sub-command switches

Hello there,
I've requirements here that I hope I explain it well.
here is the case I'm trying to do
ruby cooltool.rb -m COMMAND --cmd-sw
# eg
ruby cooltool.rb -m module1 --list user.txt

since the --list switch belongs to module1 not to cooltool
here's my initial dirty implementation
cooltool.rb

require 'trollop'
require 'pp'

module CoolTool
  class OptionParser
    attr_reader :main_opts

    def initialize
      @main_opts = Trollop::options do
        banner "Cool tool."
        banner "Options:"
        opt :parse, "Parse a string", :short => :p, :type => :string
        opt :module, "Use module", :short => :m, :default => ''
      end
    end

    def modules_list
      @modules_list = %w(module1 module2 module3)
    end
  end
end

opts = CoolTool::OptionParser.new
case
  when opts.main_opts[:parse]
    puts "Parsing!!"
  when opts.main_opts[:module]
    mod = opts.main_opts[:module]
    require "./#{mod}.rb"
    pp CoolTool::CoolToolModule.const_get(mod.capitalize).new
  else
    puts opts.main_opts
end

module1.rb
module CoolTool
  module CoolToolModule
    class Module1
      attr_accessor :opts
      def initialize
        @opts = Trollop::Parser.new do
          banner "Module1."
          banner "Options:"
          opt :list, "The user list.", :short => :l, :type => :string
        end
        @opts.parse ARGV
      end

      # make module read the file if -l user.txt
      def run
        if @opts[:list]
          File.readlines(@opts[:list])
        else
          puts 'Some Error'
        end
      end
    end
  end
end

I need each module to have its own commands and/or switches. Those modules called by --module/-m switch. The problem is, when I use  --list switch trollop sees it as an argument for cooltool since its cooltool's stdin
 ruby cooltool.rb -m module1 --list user.txt

Error: unknown argument '-l'.
Try --help for help.

Thanks

This is already handled using Commands.  However, commands don't use a literal switch.  You might be able to use a switch in a manner similar to the example, but I'm not sure.  If you don't really need the switch, see if you can get it to work like the example.

Closing this for now as the feature exists, but you can reopen if you feel strongly about supporting it via a switch as well.

You may also be interested in trollop-subcommands as discussed in #88


Fix the docs for containsword on functions.md

Add " of the end to containsword example since it doesn't work,

Good catch.


Expose randfn to global scope

I think it's not that bad to make it globally accessed as I did for randi_range previously simply for the user's comfortability.

It makes sense to me to provide most RandomPCG functionality to global scope for completeness sake, especially if we don't plan to provide a global instance of RandomNumberGenerator: https://github.com/godotengine/godot-proposals/issues/1741#issuecomment-717944646.

Mono is failing:
/home/runner/work/godot/godot/modules/mono/glue/GodotSharp/GodotSharp/Core/GD.cs(332,20): error CS0103: The name 'godot_icall_GD_randfn' does not exist in the current context [/home/runner/work/godot/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]

Thanks!


Add new script manager

What's new

Add a new script manager window to make script management easier

Looks good to me, I'll change some leftover code later

^^ Seconded


operator: skip CES list if CES disabled with cilium-operator managed identities

When cilium-operator manages identities, it retrieve CiliumEndpointSlice
only when CES is enabled. Otherwise the LIST request fails since the CES CRD
isn't installed:
failed to list *v2alpha1.CiliumEndpointSlice:
the server could not find the requested resource (get ciliumendpointslices.cilium.io)

When cilium-operator managing identities is enabled, cilium-operator LISTs CiliumEndpointSlice only if CES is enabled.

discussed in Slack, cilium-operator managed identities doesn't currently work without CES. Better to reject this combination in startup validation

Operator managing identities doesn’t require CES.
Currently, it actually doesn’t need CEP or CES, because it is part of the CID GC rework.
With new CID GC, it only needs one or the other to determine if CID is still being used, even after all pods are deleted for that label set.
We have some code there that is not really being used until we move CID GC to CID controller, from legacy GC cell.
It’s good to keep the functions, but just detach them for now (not watch CES or use CEP since they are not needed), until we go to the next phase of moving the GC - https://github.com/cilium/cilium/issues/34740

It’s good to keep the functions, but just detach them for now (not watch CES or use CEP since they are not needed), until we go to the next phase of moving the GC

ack, I'll update this today to stop watching both CES and CEP with a comment linking to that issue. Thanks!

@dlapcevic just to confirm, I'm seeing a few uses of CES and CEP stores in the code now:

Checking usage of CID based on CEP: https://github.com/cilium/cilium/blob/273d83ff55a26defc6cf8ee49febcaa8203e2388/operator/pkg/ciliumidentity/reconciler.go#L262

Controller processing CES events, which I think won't get received unless someone calls ciliumEndpointSlice.Store() to start the CES informer: https://github.com/cilium/cilium/blob/273d83ff55a26defc6cf8ee49febcaa8203e2388/operator/pkg/ciliumidentity/ciliumendpointslice.go#L24

So I think removing the watcher entirely would cause operator to delete the CID once the pod is deleted, even if the CID is still referenced by CEP or CES: https://github.com/cilium/cilium/blob/273d83ff55a26defc6cf8ee49febcaa8203e2388/operator/pkg/ciliumidentity/reconciler.go#L140
Is it safe to disable the watch on CEP and CES entirely?

Is it safe to disable the watch on CEP and CES entirely?

okay, I think I understand now.
https://github.com/cilium/cilium/blob/95ee091cd9678b97cbca1a97e0772c63633d01ef/operator/pkg/ciliumidentity/reconciler.go#L161
If the CID isn't used, it will be removed from CIDState, but won't actually be deleted since GC is handled elsewhere.

Force-pushed to shorten commit title, which was failing lint checks (no other changes)

/test

/ci-clustermesh

/ci-e2e-upgrade


Input type "textarea"

Issue type
I'm submitting a ...  (check one with "x")

[ ] bug report
[x] feature request

Issue description
Current behavior:

Looking at https://akveo.github.io/react-native-ui-kitten/docs/components/input/overview#input, the screenshots show different component types, including textarea and select but I'm unclear on how to use them. Are those types implemented? If so, how to use them? If not, by when do you plan to implement them?
Expected behavior:

Support textarea and select input types.

Hi @kevinweber
Unfortunately, these types of inputs are not currently implemented but will be available in future releases. We're working on documentation to get it more clear now
Thanks for your interest

I also recommend you looking through API block. This would contain actual information about styling components.

Yes! A bit added to the documentation stating that a text input cannot be styled to look like a text area right now would be really helpful. I thought I had found a bug and was poking around the source code.

Actually I'm starting to think that I just haven't found the right attribute to override to set the height of the input. I've tried height, and maxHeight. Anyone know which CSS attribute I could override to make a tall input?

@mrmurphy, unfortunately, we don't have TextArea yet. Can be size property helpful for you?
If not, you set the height of the Input based on your needs with Eva mappings. See an example

It worked for me

Issue type
I'm submitting a ... (check one with "x")

[ ]  bug report
[x]  feature request

Issue description
Current behavior:
Looking at https://akveo.github.io/react-native-ui-kitten/docs/components/input/overview#input, the screenshots show different component types, including textarea and select but I'm unclear on how to use them. Are those types implemented? If so, how to use them? If not, by when do you plan to implement them?
Expected behavior:
Support textarea and select input types.


CVE-2023-33201

Added filter encode to LDAP search
Fixed stylecheck errors post cherry-pick.

original commit id: e8c409a8389c815ea3fda5e8b94c92fdfe583bcc

Closing this PR as a new PR will be raised from the contributor directly here


ZEVA: Update Tooltips for Credit Applications (IDIR User)

Describe the task
Implement a tooltip on the Credit Applications page for IDIR users. The tooltip will explain the change in terminology from "Sales" to "Supplied," ensuring consistent terminology across the system.
Purpose
This task will provide IDIR users with clear, up-to-date information regarding the change in terminology for eligible ZEVs. It ensures users are informed about the terminology update and how it applies to both the Credit Applications Tab and Application Page.
Acceptance Criteria

[ ] Add a tooltip next to the "Total Eligible ZEVs Supplied" column in the Credit Applications Tab with the text: “As of October 1st, 2024, total eligible ZEV sales converted to total eligible ZEVs supplied.”
[ ] Add a tooltip to the "Eligible ZEVs Supplied" column in the Application Page with the same message.
[ ] Ensure the tooltips display correctly and function as expected in both locations.

Additional context

Mock-ups for both tooltips are provided
o	Credit Applications Tab Tooltip Prototype
o	Application Page Tooltip Prototype

This might help: https://www.npmjs.com/package/react-table-6#custom-cell-header-and-footer-rendering

@tim738745 Is it possible to make the tooltips completely black? It's currently a bit transparent and I can see the text behind it. Everything else is great.


Add check for csrf to revoke_certificate

Addresses https://github.com/fastlane/fastlane/issues/5813#issuecomment-241476146

Yeah 👍

Please don't forget create_certificate! and create_app!
Thanks!

@CareerFairPlus We already have it there

Awesome, thanks!

@CareerFairPlus Also we have this change, which might help https://github.com/fastlane/fastlane/pull/5836

@KrauseFx Ok, thank you for following up.  I will try the new version when it is released.


ASP.NET MVC Core - returnurl is always null

In my ASP.NET MVC Core web app with Individual User Account authentication, the returnurl in the default login() get and post action methods (shown below) is always null. I verified it by placing a breakpoint after the line ViewData["ReturnUrl"] = returnUrl;. When I login to the app I see at the breakpoint that returnUrl is always null. Why is that even though I can see that the corresponding form tag has asp-route-returnurl="@ViewData["ReturnUrl"]" attribute value defined? I see the same null behavior in other action methods where I'm using returnUrl and making sure that the corresponding form tags of these action methods have asp-route-returnurl="@ViewData["ReturnUrl"]" attribute defined.
AccountController:
[Authorize]
public class AccountController : Controller
{
    // GET: /Account/Login
    [HttpGet]
    [AllowAnonymous]
    public IActionResult Login(string returnUrl = null)
    {
        ViewData["ReturnUrl"] = returnUrl;
        return View();
    }
    // POST: /Account/Login
    [HttpPost]
    [AllowAnonymous]
    [ValidateAntiForgeryToken]
    public async Task<IActionResult> Login(LoginViewModel model, string returnUrl = null)
    {
        ViewData["ReturnUrl"] = returnUrl;
        if (ModelState.IsValid)
        {
            // This doesn't count login failures towards account lockout
            // To enable password failures to trigger account lockout, set lockoutOnFailure: true
            var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
            if (result.Succeeded)
            {
                _logger.LogInformation(1, "User logged in.");
                return RedirectToLocal(returnUrl);
            }
            if (result.RequiresTwoFactor)
            {
                return RedirectToAction(nameof(SendCode), new { ReturnUrl = returnUrl, RememberMe = model.RememberMe });
            }
            if (result.IsLockedOut)
            {
                _logger.LogWarning(2, "User account locked out.");
                return View("Lockout");
            }
            else
            {
                ModelState.AddModelError(string.Empty, "Invalid login attempt.");
                return View(model);
            }
        }

        // If we got this far, something failed, redisplay form
        return View(model);
    }
}

login.cshtml view:
`<form asp-controller="Account" asp-action="Login" asp-route-returnurl="@ViewData["ReturnUrl"]" method="post" class="form-horizontal">
.....//rest of the html removed for brevity
.....
`

What's the output of the form tag look like in the generated HTML? - is the returnurl part of the query string for the form?

@rynowak The generated HTML for form tag is shown below. The app logs me in correctly and shows Hello MyLoginName and logoff links at the top right corner of the page after I successfully log in.
<form method="post" id="logoutForm" class="navbar-right" action="/Account/LogOff">

                Hello myLoginName@myDomain.com!

                <button type="submit" class="btn btn-link navbar-btn navbar-link">Log off</button>

    <input name="__RequestVerificationToken" type="hidden" value="CfDJ8Mi8s83lkBNHlpnJILYJXeOWmopD7NdTI4hAqL49NZIbrM-Ouj7T6ciNW4As8kh34GIIeGXqHvVq4YmPYpan_cD28fXXDTRmGqxTGqYAreAh3U_5rZtyd3ZSv_YXG-zgA3vp_QdtLY1K47G6wCSaX9piRMQrnoDOMGxQu6-7bAbX5D0LGvuEESH8eufrk3h0kw" />
</form>

@dougbu @NTaylorMullen - something funky is going on here with the taghelper generating the URL.

@saf-itpro by default, RequiresTwoFactor is false for the Individual User Account scheme. Have you changed that in your project? If not, returnUrl is only ever set if it's model bound and I don't see the <form> submitting such a value.
If I haven't hit on the problem, please provide a full repro project. Ideally upload something small to a public GitHub repo.

@dougbu Let me check what you are suggesting. But to note: I just created a project in VS2015-Update3 using a default template ASP.NET Core Web Application (.NET Core) and choosing the authentication to be Individial User Accounts. And, noticed this behavior on Get and Post action methods named Login(..) and Register(). I did not change anything in the test project that I created. One can test this behavior by creating a test project as I described above.

@dougbu  I did not see an option to change RequiresTwoFactor value. I do not know how to upload the project in public GitHub repo. But following are the steps I used to create the project and still the same returnurl issue: This seems to be a bug or please let me know reason why returnurl returns null value. Part of AccountController.cs and login.cshtml view are given in the original post above.

In VS2015-Update3, created a new project using  ASP.NET Core Web Application (.NET Core) project template and choosing Individual User Accounts authentication.
Ran the command in Package Manage console: PM> update-database -context ApplicationDbContext.  Note: This command creates necessary ASP.NET Identity tables ASPNETUsers, etc in LocalDb
Successfully compiled the app and ran the app in debug mode and performed the test as follows:

Placed a breakpoint in Login(...) and Register(...) Get/Post action methods.

Clicked on Register link on the upper right corner of the home page and noticed that in the Register(...) get method the returnurl was null. After entering the new username password info clicked on Register button  and noticed that the returnurl variable was still null in the post Register(...) method.

After successfully registering the username/password, clicked on the login link in the upper right corner of the home page and repeated the same test [as for Register(....) action methods above] for Login(...) Get/Post action methods. The reutrnrul variable was null there as well.

The return url is null because you are trying to log in / register directly. Try to access a protected resource (an action with [Authorize] on it and you'll see that the return url points to the original resource you were trying to access to.

@saf-itpro did @javiercn's comment help you solve the problem? I won't actively investigate 'til I hear back.

@javiercn I tried your suggestion as shown below. But still returnUrl is null. Steps are as follows:

Created this exact web app from official ASP.NET Website EXCEPT that I chose Individual User Accounts authentication

Created a link on the Home page as: Test

Added [Authorize] on top of the MoviesController shown below. Added string returnUrl = null as input parameters in Create(...) Get/Post methods. Added ViewData["ReturnUrl"] = returnUrl; in those methods. Placed a breakpoint inside Create(..) Get/Post methods. Observed in debug mode that the returnUrl was still null. However the app ran successfully and I even created some test movies.

[Authorize]
    public class MoviesController : Controller
    {
        private readonly ApplicationDbContext _context;

        public MoviesController(ApplicationDbContext context)
        {
            _context = context;
        }

        // GET: Movies
        public async Task<IActionResult> Index(string movieGenre, string searchString)
        {
            IQueryable<string> genreQuery = from m in _context.Movie
                                            orderby m.Genre
                                            select m.Genre;

            var movies = from m in _context.Movie
                         select m;

            if (!String.IsNullOrEmpty(searchString))
            {
                movies = movies.Where(s => s.Title.Contains(searchString));
            }

            if (!String.IsNullOrEmpty(movieGenre))
            {
                movies = movies.Where(x => x.Genre == movieGenre);
            }

            var movieGenreVM = new MovieGenreViewModel();
            movieGenreVM.genres = new SelectList(await genreQuery.Distinct().ToListAsync());
            movieGenreVM.movies = await movies.ToListAsync();

            return View(movieGenreVM);
        }

        // GET: Movies/Details/5
        public async Task<IActionResult> Details(int? id)
        {
            if (id == null)
            {
                return NotFound();
            }

            var movie = await _context.Movie.SingleOrDefaultAsync(m => m.ID == id);
            if (movie == null)
            {
                return NotFound();
            }

            return View(movie);
        }

        // GET: Movies/Create
        public IActionResult Create(string returnUrl = null)
        {
            ViewData["ReturnUrl"] = returnUrl;
            return View();
        }

        // POST: Movies/Create
        // To protect from overposting attacks, please enable the specific properties you want to bind to, for
        // more details see http://go.microsoft.com/fwlink/?LinkId=317598.
        [HttpPost]
        [ValidateAntiForgeryToken]
        public async Task<IActionResult> Create([Bind("ID,Genre,Price,ReleaseDate,Title")] Movie movie, string returnUrl = null)
        {
            ViewData["ReturnUrl"] = returnUrl;
            if (ModelState.IsValid)
            {
                _context.Add(movie);
                await _context.SaveChangesAsync();
                return RedirectToAction("Index");
            }
            return View(movie);
        }
}

Hmm, thought I commented on this issue a while ago.
I cannot reproduce the behaviour you describe. If I'm currently logged out and navigate to a page requiring a logged-in user, returnUrl is never null. That is returnUrl works when it's supposed to work.
Note there's no reason to change the created individual accounts project e.g.

Start the new site
Register
Log out
Enter http://localhost:5000/Manage in your browser

Note you're redirected to http://localhost:5000/Account/Login?ReturnUrl=%2FManage

@dougbu So, once you logged in returnUrl will always be null. In an ASP.NET MVC project, when you decorate a class or method with [Authorize] and authorization fails, the site automatically redirects to the login page (using the loginUrl specified in web.config). In addition, something in the ASP.NET MVC framework passes along the original request's URL as a ReturnUrl parameter.

FWIW: I had the exact same symptom when moving from a Windows development machine to Linux test machine, with a copied database that did not have ASP identity tables.  At first, I thought it was case sensitivity, however, once the tables were restored, everything worked exactly as it did on the development machine.


Ranks for specific Beta & Issues

How do we obtain ranks for a specific beta? Thank you very much indeed!!!!
Issues are below:
Error in crossValidation (line 58)
idx = shuffle(1:M);
Error in demo (line 108)
[sig_a,sig_L] = crossValidation(A,5,1);
Error in eigenvectorCentrality (line 5)
[V,~] = eigs(A+regularization,1);
Error in demo (line 89)
s_eig = eigenvectorCentrality(A);

Running with MATLAB

I just pushed shuffle.m to the repo, so grabbing that file should solve the first problem.
I can't tell what's going on with the second error. Is there more information that you can provide?  It appears that there is an error calling the function eigs, but this should be a built-in function. Hmmm. https://www.mathworks.com/help/matlab/ref/eigs.html
About obtaining ranks for a specific beta: the SpringRank ranks are independent of beta, so the question can't be answered, actually. If you prefer, you can think of the ranks as the minimum energy solution, and the beta as being related to the uncertainty around those ranks. When beta is high, certainty is high. When beta is low, certainty is low.

Thanks for putting shuffle.m into repo!
About the remaining issue:
This is how function eigenvectorCentrality is defined:
function [V] = eigenvectorCentrality(A,regularization)
I think parameter "regularization" should also be included where function is used in demo.m:
s_eig = eigenvectorCentrality(A);
Am I misunderstand something? By no means I'm a MATLAB programmer...
And thanks for your explanation about beta!

That's exactly right!  I've changed
s_eig = eigenvectorCentrality(A);
to
s_eig = eigenvectorCentrality(A,1e-6);
in the latest version. Let me know if there are any issues remaining!


Update Django example to use ingress-nginx lb and health checks

Codecov Report

Merging #1 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master       #1   +/-   ##
=======================================
  Coverage   69.32%   69.32%
=======================================
  Files           8        8
  Lines         251      251
=======================================
  Hits          174      174
  Misses         77       77

Impacted Files
Coverage Δ

bgkube/api.py
88.88% <100%> (ø)
:arrow_up:

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 b2548e2...ae18096. Read the comment docs.


Masking arbitrary values with the Embedding layer

I'm using Word2Vec to train an initial embedding for my dataset. This is done for a labeling task, which necessitates that I pad the input values. In my Word2Vec model, the 0 (standard masking value) maps to the word "the", which I would rather not mask out. Due to the optimization methods Word2Vec uses to store its indices, it is nontrivial to change this value.
In accordance with the CONTRIBUTING.md document, I would like to propose using arbitrary values as the masking value. This is already possible with the standard Masking layer, but the Embedding layer can only be used as the first layer (per the documentation), making this route non-viable.
I have prepared a commit that would illustrate this functionality, whilst retaining the mask_zero parameter to maintain backwards compatibility.
https://github.com/StephanHeijl/keras/commit/1ebb646cd0fdd0eba34018b18d80c1f3841f31ac
Any thoughts on this?

Due to the optimization methods Word2Vec uses to store its indices, it is nontrivial to change this value.

Changing a mapping is basic CS and I don't really think Keras should have to accomodate for that.

Keras already accommodates this using the core Masking layer (http://keras.io/layers/core/#masking). This would merely extend already existing functionality to this particular use case.


CKEditor - Migrations not supported

Hello, I'm adding this gem to a Spree 3-4-stable installation.
$ ruby -v
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-darwin15]
$ rails -v
Rails 5.1.4

And in my Gemfile:
gem 'spree_editor', github: 'spree-contrib/spree_editor'

All good during installation until I arrive to the following step from the README.
$ rails g ckeditor:install --orm=active_record --backend=paperclip && rake db:migrate

This command fails returning the following content:
$ rails g ckeditor:install --orm=active_record --backend=paperclip && rake db:migrate
Running via Spring preloader in process 55518
      create  config/initializers/ckeditor.rb
       route  mount Ckeditor::Engine => '/ckeditor'
      create  app/models/ckeditor/asset.rb
      create  app/models/ckeditor/picture.rb
      create  app/models/ckeditor/attachment_file.rb
      create  db/migrate/20171024133830_create_ckeditor_assets.rb
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

  class CreateCkeditorAssets < ActiveRecord::Migration[4.2]
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:525:in `inherited'
/Users/kinduff/www/biutiko-store-new/db/migrate/20171024133830_create_ckeditor_assets.rb:1:in `<top (required)>'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:962:in `load_migration'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:958:in `migration'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:953:in `disable_ddl_transaction'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1305:in `use_transaction?'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1297:in `ddl_transaction'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1229:in `execute_migration_in_transaction'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1201:in `block in migrate_without_lock'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1200:in `each'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1200:in `migrate_without_lock'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1148:in `block in migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1317:in `with_advisory_lock'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1148:in `migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1007:in `up'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:985:in `migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:171:in `migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/Users/kinduff/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
/Users/kinduff/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:

  class CreateCkeditorAssets < ActiveRecord::Migration[4.2]
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:525:in `inherited'
/Users/kinduff/www/biutiko-store-new/db/migrate/20171024133830_create_ckeditor_assets.rb:1:in `<top (required)>'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `block in require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:258:in `load_dependency'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb:292:in `require'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:962:in `load_migration'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:958:in `migration'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:953:in `disable_ddl_transaction'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1305:in `use_transaction?'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1297:in `ddl_transaction'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1229:in `execute_migration_in_transaction'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1201:in `block in migrate_without_lock'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1200:in `each'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1200:in `migrate_without_lock'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1148:in `block in migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1317:in `with_advisory_lock'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1148:in `migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:1007:in `up'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/migration.rb:985:in `migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/tasks/database_tasks.rb:171:in `migrate'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/activerecord-5.1.4/lib/active_record/railties/databases.rake:58:in `block (2 levels) in <top (required)>'
/Users/kinduff/.rvm/gems/ruby-2.4.0/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/Users/kinduff/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval'
/Users/kinduff/.rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

I find this error kind of weird because I've been installing other gems with migrations with the same pattern and I've not encounter any issue during install.
Any workarounds or guidance about how to install successfully?

Update
I was able to work around it by adding manually [4.2] to the CKEditor migration that was added to my project at db/migrate/20171024133830_create_ckeditor_assets.rb.


[Automation] Generate Fluent Lite from Swagger desktopvirtualization#package-2024-04

[Automation] Generate Fluent Lite from Swagger desktopvirtualization#package-2024-04

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure.resourcemanager:azure-resourcemanager-desktopvirtualization


Fog Ramp Path

Major features

Minor features

add support for custom fogColorRampTexture

Improvements

Bug fixes

classic tested this and it "didnt work" but i put that in quotes because i dont trust classic

closing for now. classic appears to not need this feature, nor does anyone else

I say let's just merge it


fix(util): fix moveElementPosition move logic

Codecov Report
Attention: Patch coverage is 50.00000% with 15 lines in your changes missing coverage. Please review.

Project coverage is 6.60%. Comparing base (9ea6699) to head (3049a23).
Report is 126 commits behind head on main.

Files
Patch %
Lines

packages/util/src/lib/handle-element.ts
50.00%
2 Missing and 13 partials :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #328      +/-   ##
========================================
+ Coverage   6.47%   6.60%   +0.13%
========================================
  Files        106     106
  Lines       6816    6839      +23
  Branches    1346    1358      +12
========================================
+ Hits         441     452      +11
- Misses      5084    5086       +2
- Partials    1291    1301      +10

Flag
Coverage Δ

unittests
6.60% <50.00%> (+0.13%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Block Primitives in Branching code

Can I use the block wide primitives (sort / scan / etc) in a branching kernel, where only some of the threads take part in the sort / scan or will it break?

This is not supported. All threads in a block are expected to participate in CUB's collective block operations.


[SPARK-15489][SQL] Dataset kryo encoder won't load custom user settings

What changes were proposed in this pull request?
Serializer instantiation will consider existing SparkConf
How was this patch tested?
manual test with ImmutableList (Guava) and kryo-serializers's Immutable*Serializer implementations.
This is marked as WIP because I'm wondering about a unit test, but I haven't found any example of a test that instantiates serializers with codegen.
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@marmbrus does this make sense to you ? I went for SparkEnv because I couldn't find any entry/access point in the code to get the user-defined configuration otherwise.
Any pointers on how it would be best to test this ? I could write a test pipeline, but I thought you could maybe point me to an existing suite that has some boiler plate for this.
Thanks!

Can one of the admins verify this patch?

I will check if the mentioned line above can be removed. If you're switching serializer to boolean as mentioned, I don't see any other way, correct ?
Regarding tests, is there any existing test suite that I could use that provides access to a serializer instance "in the executor" ?

As for my second comment about switching serializer, yes, please leave it as it is.

I've added a test suite since I couldn't find an existing one that would fit (I needed to override beforeAll()) so I will remove WIP from the PR.

I'm guessing here that the PR didn't start a Jenkins build because of the [WIP] so if a committer could "kick" Jenkins here... Thanks!

ok to test

Test build #60208 has started for PR 13424 at commit 0a53f8e.

Test build #60208 has finished for PR 13424 at commit 0a53f8e.

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

Merged build finished. Test PASSed.

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

LGTM, can you update the description (it still says WIP).

Done.

Thanks!  Merged into master and 2.0


iOS Best Practices

Just thought it would be helpful to amalgamate the instructions here so that anyone else in the future can find this via google.
So am I correct that because MI_INTERPOSE and MI_OVERRIDE are on by default, that all I need to do is compile and link the object file to my application, and then the interposition will automatically occur upon boot?
And for C++, also include the mimalloc-new-delete.h header in a single file (say main.c).

I close this issue to consolidate porting to iOS in #263


Is there anyway to run in 1.7x version Ascend ADK?

Hello,
I've been trying to use this project, but I use the 20.1 CANN with 1.7x. It changed from the 1.3x version and we haven't a hiai library anymore, everything is made using ACL. I can't see a hiai--acl documentation with more information about this transition. I'd like to know if there's anything being made to upgrade this application.
Thanks and Congratulations for the job.

please check this repo
https://github.com/Ascend/samples/tree/master/python/level2_simple_inference/6_other/imageinpainting_hifill


Adding the first THREE.js tutorial to the Altspace examples

New tutorial which highlights a few small differences in the code when working with THREE.js in Altspace.
https://threejs.org/docs/index.html#Manual/Introduction/Creating_a_scene

Good idea. Can you rename the example to "basic-cube.html" instead please?

Actually, don't worry about it. I'll handle that. Thanks again for the PR!

Ok perfect


templates: Update issue templates

Updated templates with auto-labels.
Added enhancement/RFC templates.
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

Codecov Report

Merging #11893 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11893   +/-   ##
=======================================
  Coverage   51.24%   51.24%
=======================================
  Files         231      231
  Lines       28646    28646
  Branches     7132     7132
=======================================
  Hits        14679    14679
  Misses      11155    11155
  Partials     2812     2812

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 691e117...a4640d5. Read the comment docs.


fix: fixing pyscan init to install more robustly.

This is a split issue that was originally on the plotting PR.


Part of the repo-setup process resolves localhost <IP_ADDRESS> to the external IP

If localhost or <IP_ADDRESS> is used for the SSH/Gitolite server host setting (i.e. Git and Redmine are hosted on the same server), then during creation of a new repo, the repo gets created normally, and shows up in Git. However, the second half of this process (that is, initializing the repo with a readme.md) seems to be trying to ssh git@<external_ip> . If SSH access from the Redmine user via the external IP happens to be blocked for one reason or another, then Redmine Git Hosting can't initialize the repo.
For example, when Git and Redmine are on the same server, if the <external_ip> for <hostname> is in error in /etc/hosts, you will see this problem.
Or if different sshd_config rules are in place for external IP vs localhost SSH connections (such as different port numbers, or stricter non-compatible key exchange algorithms ), then gitolite-rugged will also be unable to complete the second SSH connection to initialize the repo.
This is related to jbox-web/gitolite-rugged#3. If I didn't have to stand up a separate sshd daemon just for gitolite-rugged's inability to use diffie-hellman-group-exchange-sha256, I would not see this differing behavior internal to the script.
However, I also saw this behavior earlier when the external ip was incorrect in our /etc/hosts, but correcting this solved the issue temporarily, because at that time, it was acceptable to have the internal service momentarily use the external IP.
Output of git_hosting.log
...
2016-07-21 12:18:04 -0700 [INFO] User 'admin' created a new repository 'llama-face'
2016-07-21 12:18:04 -0700 [INFO] Accessing gitolite-admin.git at '/tmp/redmine_git_hosting/git/gitolite-admin.git'
2016-07-21 12:18:05 -0700 [INFO] add_repository : repository 'llama-face' does not exist in Gitolite, create it ...
2016-07-21 12:18:05 -0700 [INFO] add_repository : commiting to Gitolite...
2016-07-21 12:18:05 -0700 [INFO] add_repository : let Gitolite create empty repository 'repos/llama-face.git'
2016-07-21 12:18:06 -0700 [INFO] Execute Gitolite Plugins
2016-07-21 12:18:06 -0700 [INFO] Create README file for repository 'llama-face'
2016-07-21 12:18:06 -0700 [ERROR] Error while creating README file for repository 'llama-face'
2016-07-21 12:18:06 -0700 [ERROR] Failed to start SSH session: Unable to exchange encryption keys

As you can see, this one failed because using the external IP for the connection forced gitolite-rugged to try to use diffie-hellman-group-exchange-sha256, which apparently doesn't work.
/etc/hosts:
<IP_ADDRESS>          localhost
<externalip>       <hostname>    #can't change this

Just a guess, but perhaps the script for the setup is using the SSH/Gitolite server host variable (set to <IP_ADDRESS>), while the script for initializing/syncing is using SSH server domain (which is set to the <hostname> and so resolves to the <external_IP>).

As discussed in https://github.com/jbox-web/redmine_git_hosting/issues/732#issuecomment-532362560, issues related to Redmine < 4.0 or severely outdated issues are being closed to help clean up the issue tracker.
If this issue is still relevant to you and you are running Redmine >= 4.0, please open a new issue including all new relevant information.


Build problems on Windows due to Typescript error

I had a lot of problems getting the build running on my Windows 10 machine. First I was getting an error from the ng build saying;

"ERROR in Error encountered resolving symbol values statically. Could not resolve ng2-select"

I investigate this and found that the ng-select build was failing when the "ngm build -p src --clean" script ran (Building ng2-select (src) [failed] was the error). The ngm-cli would not show me the error even when I used the --verbose tag so I tracked through its source code to find that the ngm build task just runs a typescript compile internally. So I ran tsc -p src and got the following:

node_modules/@types/node/index.d.ts(49,13): error TS2451: Cannot redeclare block-scoped variable 'global'.
scripts/typings.d.ts(11,15): error TS2451: Cannot redeclare block-scoped variable 'global'.

So I went into the scripts/typings.d.ts file and removed line 11:
declare const global:any;
After that everything built and ran perfectly. I am no expert but it seems that the @types package has replaced the need for that line in the typings file. Should it be removed?

+1

Closing this old issue that has a resolution.


Handle shutdown messages.

Fixes #220.
Disclaimer: This is my first time working w/ cats/fs2. There are likely some subtleties involved in sleeping before shutdown that I've missed.

@jameskoch2 I added a few comments, but this is already great as is! I'm happy merging as is, and / or address the comments later myself.

I updated my branch in response to your first two bits of feedback. Happy to merge this as-if if it's alright with you.
This will help out w/ nteract + Almond-called-from-a-BAT-script-on-Windows, as nteract shutdowns/restarts SIGKILL the cmd.exe process, leaving java.exe happily running forever.

Travis failed the 2.12 build w/ a timeout:
almond.ScalaKernelTests.handle interrupt messages 30111ms
java.lang.Exception:Timeout

I'm new to Travis, but doesn't look like I can search to see if this is a known flaky test, and I can't force a re-run (w/o pushing nonsense changes). +test passes everything locally for me. Let me know how you'd like to proceed.

These errors sometimes happen on the CI… I haven't investigated why…

Merging, thanks!


More doc please

What this could really use is a rails app with nothing but the bare bones to perform a transaction. Something I could checkout, plug-in a merchant / seller ID and make test purchases with against either sandbox or production.

Thank you for your suggestion! We will definitely look to create additional developer resources in the future.

+1 for sample Rails 5 app.
@samir-khoja is this repo still supported? https://github.com/amzn/amazonpay-express-demo/tree/master/ruby
Thanks.

@b3ccio, thanks for the extra push.  We still support it, but it's long due for an update.


Debug option

This adds a --debug option and removes the line of debugging info from the default output.  This has two advantages:

We're able to log much richer/more detailed output when --debug is passed.  This includes the entire configuration as a JSON object, rather than just a few key version numbers.
We produce cleaner output for normal runs, without spamming people with the jest version.

This is great! Do you mind sending a follow up that gets rid of stripJestVersion in all the test files?

should we create some global debug function that will print only if --debug flag is passed?
e.g.
const debug = require('jest-debug');
debug(`using babel-jest version: ${babelJest.version}`);


SUP-2971 Requested review of README

Please check off the steps below as you complete each step

[x ] Put the Jira ticket or Github issue number in parentheses in the Title e.g. (SUP-XXXX) Add Super Duper State Check
[ x] Update the Jira ticket status to Ready for Review if there is one
[ ] Review any CI failures and fix issues

I might have broken the AS001 table.

For next time around:

Starting around line 42: Are these classified to infrastructure nodes or to the infrastructure node group?
Needs links to how to turn on plug-in sync.
Does S0030 provide enough of a next step?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


cart in nav added successfully

Pull Request Format
PR Title
Issue #147  : Add cart in nav solved
Type of PR

Add X in the box to specify the improvement type.
[] Bug fix
[ X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): ___________

Description
This pull request aims to add the cart in the nav bar to update the products when user hits the add to cart button
Screenshots / Videos (if applicable)

After:

after clicking the add to cart button in the nav automatically updates the products

Checklist

Add X in the box to specify.
[X] I have performed a self-review of my code.
[X ] I have tested the changes thoroughly before submitting this pull request.
[X ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X ] I have commented my code, particularly in hard-to-understand areas.

Merge conflicts. Please resolve


Remove ember-template-compiler from dependencies.

It turns out, it's unnecessary.

Thanks!

Deployed to npm as<EMAIL_ADDRESS>


Fix hope number for results found

In query by list of cities the result shows number of hopes that found segments for it, but currently the number does not match the number of segments found.

+18005511300
Matched 3 hops
New York City (2014-05-26)
Seattle (2014-06-02)

Seattle (2014-04-28)
Los Angeles (2014-05-05)

Seattle (2014-05-26)
Los Angeles (2014-06-02)

Seattle (2014-06-02)
Los Angeles (2014-10-25)

Los Angeles (2014-04-28)
Chicago (2014-05-05)

Los Angeles (2014-04-28)
Chicago (2014-05-05)

Los Angeles (2014-04-28)
Chicago (2014-05-05)

Los Angeles (2014-04-28)
Chicago (2014-05-05)
@wmburke this is result we get currently and I think the number of hope is actually correct. There are 3 unique hopes (NewYork-Seattle,  Seattle-LA,  LA-Chicago). The number of hope is not considering repetition. Does that make sense?

This is hard to tell as it currently stands - I think it will be more clear once you reformat it to show the full routes in gray with the hops in black. As max hops is currently defined, it is used to organize the order in which the routes are shown, eg each route has a certain number of hops, the routes with the most hops should be listed first.
Does that make sense?
Wayne Moses Burke, MS
Cognizant Engineer
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Mailstop: 168-527
E-mail: Wayne.M.Burke<EMAIL_ADDRESS>On 06/20/2017 02:34 PM, Mazi Boustani wrote:
+18005511300
Matched 3 hops
New York City (2014-05-26)
Seattle (2014-06-02)

Seattle (2014-04-28)
Los Angeles (2014-05-05)

Seattle (2014-05-26)
Los Angeles (2014-06-02)

Seattle (2014-06-02)
Los Angeles (2014-10-25)

Los Angeles (2014-04-28)
Chicago (2014-05-05)

Los Angeles (2014-04-28)
Chicago (2014-05-05)

Los Angeles (2014-04-28)
Chicago (2014-05-05)

Los Angeles (2014-04-28)
Chicago (2014-05-05)
@wmburkehttps://github.com/wmburke this is result we get currently and I think the number of hope is actually correct. There are 3 unique hopes (NewYork-Seattle, Seattle-LA, LA-Chicago). The number of hope is not considering repetition. Does that make sense?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/memex-explorer/GeoPath-Clusetring/issues/2#issuecomment-309848445, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAHbFExHd5Fr7-87EQLP6Tw_pjgnSDV1ks5sGBB8gaJpZM4N_59c.


GH-39384: [C++] Disable -Werror=attributes for Azure SDK's identity.hpp

Rationale for this change
Warnings in included headers are causing -Werror builds to fail.
What changes are included in this PR?
Push and pop of ignore warning pragmas.
Are these changes tested?
I'm asking @anjakefala to test the build on this branch.

Closes: #39384

+1
Could you report this to the upstream?

I read the code and I don't understand what is triggering the warning.

We can just report how to reproduce this. We don't want to maintain workarounds.
@anjakefala Could you report how to reproduce this problem to the upstream? (It's better that we can reproduce this without Apache Arrow.)

@kou

@anjakefala Could you report how to reproduce this problem to the upstream? (It's better that we can reproduce this without Apache Arrow.)

Unfortunately, I don't know how to reproduce without Apache Arrow. =/ And I don't have capacity to put together a better reproduction. But, I can open a ticket in upstream with the reproduction I do have.

@felipecrv I just tested, and this did fix the problem! Thank you so, so much. <(^__^)>

@kou Here's the issue I opened: https://github.com/Azure/azure-sdk-for-cpp/issues/5235

Thank you so much for testing and reporting the issue upstream @anjakefala!

Thank you for curing my woes!


Isolated functions with .NET 8 - The gRPC channel uri could not be parsed

Steps to reproduce:

using Visual Studio 17.8.1
create a new Function app targeting .NET 8 Isolated (i chose an HttpTrigger, but it doesnt really matter)
delete the contents of the obj folder, wait a few seconds, and delete the contents again (VS appears to recreate the nested Debug folder so you have to do it twice)
F5 debug the app
Notice the exception

this might seem like "dont do that" behavior, but this mimics our CI build server that builds in a completely clean environment without VS. when we build and try to run there, we encounter the same error.
investigation shows that configuration["HOST"] and configuration["Functions:Worker:HostEndpoint"] are both null (but configuration["PORT"] is properly set), which causes GetFunctionsHostGrpcUri() in GrpcServiceCollectionExtensions to fail.
note that subsequent runs (when the files in the obj folder exist) all work like normal and the configuration values are present.
@fabiocav @kshyju

How are you running it in your CI environment? Are you doing dotnet run or func host start ?

func start -p XXXX

You are running func host start after publishing your function app. correct? The dotnet publish should create the right artifacts for you in the publish output directory and running func host start there should work. Can you confirm you are doing this sequence?
>dotnet publish -c release -o .\out
>cd .\out
>func host start

We're having this same issue running from VS2023. It works for some, not for others. This is a brand new project with a single HTTP function.

@tbasallo Could you please share a minimal repro of this issue so that we can take a closer look? A link to a GitHub repo would be great.

Getting the same error on a fresh function when deployed from visual studio (17.8.3) to azure

@mikkovor See https://github.com/Azure/azure-functions-dotnet-worker/issues/2121#issuecomment-1847281008

I am having the same issue as others have mentioned, namely creating a brand new Functions via Core tools, creating a simple HttpTrigger (though using the ...Http.AspNetCore extension), but other then that I have the same set up.
See attached files for output from console (P.S. I tried both func host start and what you mentioned in (this) comment
Repo
output.log

@nibblesnbits, for the WebApplicationFactory this problem is solved with #2121 (as @kshyju mentioned).

the issue is still valid, also with
Core Tools Version:       4.0.5455 Commit hash: N/A  (64-bit)
Function Runtime Version: <IP_ADDRESS>54

the issue is still valid, also with
Core Tools Version: 4.0.5455 Commit hash: N/A (64-bit) Function Runtime Version: <IP_ADDRESS>54
Used the original template from VS 2023, all latest Version.

Yeah, this is definitely not "completed."

Please bring a working solution fast, it is a pitty when you crashed it and there is no solution. (Or name at least the correct downgrades)

#2121 is tracking the fix for the issue.

is it fixed?

is it fixed?

I am wondering the same thing. I am not able to create a simple azure function from scratch using azure functions core tools and run it locally without any changes. I am really confused. This is my setup:
OS: Ubuntu 22.04.4 LTS
Azure Functions Core Tools
Core Tools Version:       4.0.5530 Commit hash: N/A +c8883e7f3c06e2b424fbac033806c19d8d91418c (64-bit)
Function Runtime Version: <IP_ADDRESS>62
dotnet --list-sdks
6.0.419 [/usr/share/dotnet/sdk]
8.0.200 [/usr/share/dotnet/sdk]
dotnet --list-runtimes
Microsoft.AspNetCore.App 6.0.27 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.2 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.27 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.2 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Create Azure Function:

Run Azure Function:

ps. func host start generates same error

Nevermind. Found the issue. I had the proxy-service cntlm installed and it did not support http/2. After uninstalling it everything worked.

I'm getting the same error

Bumped into this today on an existing project. Turned out to be a compatibility issue with Microsoft.Azure.Functions.Worker.Sdk v1.17.2 and Azure Functions Core Tools v4.0.5907. Updating that package to v1.17.4 (latest) solved it. #sharpenTheSaw

I am experiencing a very similar issue when attempting to run integration tests. I created a repo that demonstrates the issue, with the integration tests working as expected in .Net6 in-proc, while failing in .Net8 isolated.
The exact error I see is
System.InvalidOperationException : The gRPC channel URI 'http://:50084' could not be parsed.

...where the port number changes for each execution. This error occurs when attempting to start the host
In this simplified example, running the host is not necessary, but my use case is for running integration tests on durable functions, which requires that the host be running.
Has anybody else seen this issue and managed to figure out a solution?

I am also facing the same issue whole creating Test Host inside my Unit Test. Any solutions ?

Similar if not same.

An unhandled exception of type 'System.InvalidOperationException' occurred in System.Private.CoreLib.dll: 'The gRPC channel URI 'http://:' could not be parsed.'

I am launching from VSCode.
launch.json
        {
            "name": "Launch Azure Function",
            "type": "coreclr",
            "request": "launch",
            "program": "${workspaceFolder}/src/Api/bin/Debug/net8.0/Api.dll",
            "cwd": "${workspaceFolder}/src/Api",
            "preLaunchTask": "run-azure-function",
            "stopAtEntry": false,
            "args": ["--urls", "http://localhost:1000"],
            "serverReadyAction": {
                "action": "openExternally",
                "pattern": "\\bNow listening on:\\s+(https?://\\S+)",
                "uriFormat": "http://localhost:1000/api/Now"
            },
        }

tasks.json
        {
            "label": "run-azure-function",
            "command": "func",
            "type": "shell",
            "args": [
                "start",
                "--script-root",
                "${workspaceFolder}/src/Api"
            ],
            "problemMatcher": {
                "pattern": [
                    {
                        "regexp": ".*", // Matches any output
                        "file": 1,
                        "location": 2,
                        "message": 3
                    }
                ],
                "background": {
                    "activeOnStart": true,
                    "beginsPattern": ".*Azure Functions Core Tools.*",
                    "endsPattern": ".*Worker process started and initialized.*"
                }
            },
            "isBackground": true
        },

Just started getting this after updating VisualStudio to 17.12.1.
I used to click 'play' in VisualStudio and it worked. Now it says System.InvalidOperationException: 'The gRPC channel URI 'http://:' could not be parsed.'. What do I need to do?

Also getting this after updating VisualStudio to 17.12.3.

When you encounter this error, please open Task Manager and check the Command Line value for the .NET Host entry associated with your application. The process that triggered this error should still be running. That information should help us investigate this further.

re-install the visual studio works for me


Row inside a container doesn't respect container padding

Operating system: Windows 10 Pro
Browser and version

Edge Version 93.0.961.47 (Official build) (64-bit)
Firefox 92.0 (64-bit)

A row inside a container will not respect the containers padding. This can be visible by placing a container containing a row under a container with nothing fancy added to it. Inspecting the elements will show that .container applies it's padding, but .row negates it. .col has the padding applied to it but setting a background color breaks the perceived layout of the page as the background color includes the padded area.

foo

bar

In testing for this issue, I noticed that you can get the site to display the way you would expect it to by doing the following:

a

a

a

a

I dont know if this is intended behavior and I'm just not doing things correctly, but the example code doesn't demonstrate the need for the additional nested element.

This is how the flexbox grid has worked since v4: https://getbootstrap.com/docs/5.1/layout/grid/#how-it-works.
Our opt-in CSS Grid layout would avoid this and give you what you want, though.


Add id for each page canvas

Add an id for each page canvas.
This makes it easier to detect the page on which an electronic signature has been dragged and dropped, for example, before actually digitally signing the document.

Hi @hrynko, thanks just added the description and a use case

I find it not quite flexible. Can you consider adding an id prop for the component, which, if defined, would naturally be assigned to the wrapper div element, and beyond that to all child svg elements, but postfixed with page numbers?
So that <vue-pdf-embed id="my-pdf" ... /> will result in:
<div id="my-pdf">
  <svg id="my-pdf-1" ... />
  <svg id="my-pdf-2" ... />
  <svg id="my-pdf-3" ... />
</div>

Hi, you're absolutely right I will do that and let you know as soon as it's done.

Just pushed the changes you suggested

Done ;)

Thank you for your contribution @hgoncalves!
These changes will be included in the next release.

Thank you for your contribution @hgoncalves!
These changes will be included in the next release.

Thanks to you, for this package and your disposal.

UPD: These changes were included in 1.0.8

Nice thanks


.NET Core 3.1 will be end of life soon

Before you begin, you must have the following requirements in place:
In-process
.NET Core 3.1 SDK.

As https://devblogs.microsoft.com/dotnet/net-core-3-1-will-reach-end-of-support-on-december-13-2022/ describes, .NET Core 3.1 will be end-of-life on December 13th, 2022. What is the plan to move away from .NET Core 3.1 ?

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

ID: 5d505ab9-d351-6650-6d0c-bb65d2daa229
Version Independent ID: 2a1d3487-a93d-2206-7ef9-a91aa275ec4e
Content: Create Azure Functions on Linux using a custom image
Content Source: articles/azure-functions/functions-create-function-linux-custom-image.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@michaelelleby
Thanks for your feedback! We will investigate and update as appropriate.

@michaelelleby
As the blog says, you can plan to upgrade your application to .net 6
https://devblogs.microsoft.com/dotnet/net-core-3-1-will-reach-end-of-support-on-december-13-2022/#update-your-application

@michaelelleby , Did you get a chance to look at my previous comment?

Closing the issue for now. Feel free to reopen if required


tradingview only default?

hello i'm trying this module and i wanted to configure it with tradingview like your example but customized. i don't understand why this happens: it shows me the widget but it shows me default settings, my configuration is never saved. what am i doing wrong?
		{
			module: "MMM-Widget2",
			position: "top_left",
			pages: {"xxx":"top_left"},
			disabled: false,
			config: {
				code:`

					`,
				iframeStyle: {
					width: "1500px",
					height:"600px"
				},
				fullHTMLfile: true
			}
		},

thank you if you asnwer me

@eouia

I’ll look inside in a few hours or days.

What does it mean your configuration? It seems working normal.

Sorry for being late to the discussion. Somehow I didn't get any notification from github until @eouia pinged me.
@mirrormonark How is your configuration not saved? You have to save it first and then restart MM. Could you give us a sceenshot or some error messages?

hi. i saved everytime my config.. but i dont restart the raspberry. i refresh the mirror.. but not working.. i try with:

Technical Analysis Widget

Ticker Tape Widget

Forex Cross Rates Widget

-Forex Heatmap Widget
i want all this.. but one to one not working. i use page selector. one to work is Advanced Real-Time Chart Widget without restart raspberry.

punctuation and spaces must be precise?
space is not so important.
for punctuation, each symbol has it's meaning. So you need carefulness.

You don't need to restart raspberry pi; you just need restart MagicMirror.

always clone magicmirror and when i start im writing.. "npm run start" everytime. i dont have mirror on 24h because i dont have finish my config. so if i start everytime.. is also like restart, or not?

code: `

Track all markets on TradingView

What does it mean your configuration? It seems working normal.  What you expect and what you get? Tell us TO-BE and AS-IS more detailly.

i see this but not my personal widget.
my config:
		{ 			module: "MMM-Widget2", 			position: "top_left", 			pages: {"finance":"top_left"}, 			disabled: false, 			config: { 				code:

					`,
				iframeStyle: {
					width: "1500px",
					height:"600px"
				},
				fullHTMLfile: true
			}
		},
		{`

I tried TradingView with my values;
with this codes;

ok with this code it works. i think each  , ,  must have its own line... i used to copy and paste as it was...you have to not only copy and paste the code but pay attention to the header of the code. i think i will close this post as solved. i have one question, is this module good for both 32bit and 64bit? @ulrichwisser @eouia I ask because the animated widget (Ticker Tape Widget) I see it very slow and almost jerky.

thank you so much for resolution.

i have one question, is this module good for both 32bit and 64bit? @ulrichwisser @eouia I ask because the animated widget (Ticker Tape Widget) I see it very slow and almost jerky.

This module does nothing but only display simple html(with widget's JavaScript), so if your view is slow, your device itself is slow.

so are you telling me that I need to upgrade to 64bit, increase the ram on the raspberry from 8gb to 16/32gb (Either by replacing the ram itself or by taking some from the ssd) , and use an ssd to upgrade the device?

thank you


The window version is not recognized

ver. N/A

You have been antivirused (your antivirus software is too smart and deleted critical system files), contact Telegram support.
Not RDP Wrapper problem. Duplicate of https://github.com/stascorp/rdpwrap/issues/277.


TextFiled set 'obscureText' is true  in iPhone 11pro max collapse

     TextField(
          obscureText: true,
        )

Textfield sets obscureText to true to crash in iOS
_[✓] Flutter (Channel master, 1.21.0-6.0.pre.126, on Mac OS X 10.15.5 19F101, locale zh-Hans-CN)
• Flutter version 1.21.0-6.0.pre.126 at /Users/mac/Documents/sdk/flutter
• Framework revision fbd29b8880 (5 hours ago), 2020-07-30 13:41:02 -0700
• Engine revision a9910e409c
• Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/mac/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/mac/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4, Build version 11E146
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 46.0.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[!] IntelliJ IDEA Ultimate Edition (version 2020.1.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[✓] Connected device (1 available)
• iPhone 11 Pro Max (mobile) • A34A0CDA-4785-4D6A-A0CF-8B75F23DBBF9 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-4 (simulator)
! Doctor found issues in 1 category.
Process finished with exit code 0_

likely a duplicate of #62501. Closing.


Improving the navbar

Following changes can be done:

A search bar can be added as it will be easy for user to search the desired template.
Improving the styling of navbar.
I am 2022 Gssoc contributor.
Kindly assign this issue to me.

I WANT TO WORK ON THIS ISSUE UNDER GSSOC'22.

i also want to work in thus issue


Making a subclass of the ChatBot

I tried creating a subclass of the chatbot (and two other sub_subclasses after that) but for some reason the response chosen by the LowConfidenceAdapter is 'S' instead of 'Sorry, I didn't understand' and I can't find why this is happening. Any clue of what could be causing this?
class Chatbot_base(ChatBot):
    def __init__(self, name, database_uri, database_name, **kwargs): #kwargs: preprocessors, threshold, default_resp, logic_adapters

        self.database_uri = database_uri
        self.database_name = database_name
        if kwargs.get('preprocessors')!=None:
            pp = kwargs.get('preprocessors')
        else:
            pp = []
        self.preprocessors = ['chatterbot.preprocessors.convert_to_ascii'] + pp
        if kwargs.get('logic_adapters')!=None:
            l_a = kwargs.get('logic_adapters')
        else:
            l_a = []
        self.logic_adapters = [
                {
                        'import_path': 'chatterbot.logic.BestMatch'
                }
                ] + l_a + [
                {
                        'import_path': 'chatterbot.logic.LowConfidenceAdapter',
                        'threshold': kwargs.get('threshold', 0.74),
                        'default_response': kwargs.get('default_resp', 'Sorry, I didn't understand')
                }
                ]
        ChatBot.__init__(self, name,
                         trainer = 'chatterbot.trainers.ChatterBotCorpusTrainer',
                         storage_adapter = 'chatterbot.storage.MongoDatabaseAdapter',
                         database_uri = self.database_uri,
                         database = self.database_name,
                         preprocessors = self.preprocessors,
                         logic_adapters = self.logic_adapters,
                         read_only = True)

Also the logging info prints this:
INFO:chatterbot.adapters:LowConfidenceAdapter selected "S" as a response with a confidence of 1

Nevermind,
I put ['Sorry, I didn't understand'] instead of 'Sorry, I didn't understand' and it worked.
I guess since there can be many possible default responses and the adapter only takes the first it was using the str as a list and only taking the first letter as the first option.


Relevant names added

Table of Contents
Link to GitHub issues it solves
closes #15
Description
Relevant names added for the components from the memo-annotation
Contributing has more information and tips for a great pull request.

@zeobot set lc to pass


Use python requires to require Python 3.4

Toga was recently updated to include python_requires. This PR updates VOC as well to enforce python 3.4 using the new python_requires syntax. Also updated the documentation to make it more clear that only Python 3.4 is currently supported.
Signed-off-by: Dan Yeaw<EMAIL_ADDRESS>

@eliasdorneles Thanks for taking the time to review and provide me feedback. I thought the requirements for using Python 3.4 were more strict. I have updated the python_requires to be >= 3.4 and removed the documentation changes.

Thanks Dan ! :1st_place_medal:


Migrate from Travis CI to GitHub Actions

Resolves #41

Blocking this due to #46, #47, #48, #49, and #50 to minimize hiccups in the Travis CI -> GitHub Actions transition

bors try

bors r+


Standardise output when too many arguments are passed

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
Some commands use cobra built-in functionality to validate the number of arguments passed, and others do that validation as part of the command execution.
Describe your solution
Pick one of these two and standardise it across the board for DDEV commands.
Note that this issue is about commands that are written in go - it doesn't cover custom commands, though a new Arguments annotation could be added to custom commands to also handle those the same way.
Describe alternatives
No response
Additional context
The output of commands that handle it in the command execution is more succint.
For example:
Handled in command execution:

$ ddev describe onearg twoarg
Too many arguments provided. Please use 'ddev describe' or 'ddev describe [projectname]'

Just letting cobra handle it:

$ ddev import-db onearg twoarg
Error: accepts between 0 and 1 arg(s), received 2
Usage:
ddev import-db [project] [flags]
Examples:
$ ddev import-db
$ ddev import-db --file=.tarballs/junk.sql
$ ddev import-db --file=.tarballs/junk.sql.gz
$ ddev import-db --database=other_db --file=.tarballs/db.sql.gz
$ ddev import-db --file=.tarballs/db.sql.bz2
$ ddev import-db --file=.tarballs/db.sql.xz
$ ddev import-db < db.sql
$ ddev import-db my-project < db.sql
$ gzip -dc db.sql.gz | ddev import-db
Flags:
-d, --database string       Target database to import into (default "db")
--extract-path string   Path to extract within the archive
-f, --file .sql             Path to a SQL dump in .sql, .tar, .tar.gz, .tar.bz2, .tar.xz, .tgz, or .zip format
-h, --help                  help for import-db
--no-drop               Do not drop the database before importing
--no-progress           Do not output progress
Global Flags:
-j, --json-output   If true, user-oriented output will be in JSON format.

Probably this should be a separate issue (and I'll happily create it if people agree), but there's a lot of flag validation happening in cobra commands that cobra should probably be natively handling too. For example this check in the delete command:
if noConfirm && deleteAll {
	util.Failed("Sorry, it's not possible to use flags --all and --yes together")
}

That could be handled by adding this in the init function:
DeleteCmd.MarkFlagsMutuallyExclusive("yes", "all")

Good point. I think a seperate issue/PR might be better. It's more searchable and makes it easier to follow/research in the future.

Raised https://github.com/ddev/ddev/issues/5731 to talk about flags, this issue can be about args.


[SPARK-41438][CONNECT][PYTHON] Implement DataFrame.colRegex

What changes were proposed in this pull request?
Implement DataFrame.colRegex with a proto message
Implement DataFrame.colRegex for scala API
Implement DataFrame.colRegex for python API
Why are the changes needed?
for Connect API coverage
Does this PR introduce any user-facing change?
'No'. New API
How was this patch tested?
New test cases.

ping @amaliujia @zhengruifeng @cloud-fan @HyukjinKwon

merged into master

@zhengruifeng @amaliujia Thank you for all !


Use ReactPackager.getDependencies() to get react native externals

Thanks to https://gist.github.com/pilwon/7a57624ddde9e6a3bd06
Resolves #23

Example project using changes from this PR: https://github.com/elliottsj/react-native-webpack-server-example

Hey @mjohnston, do you have time to take a look at this PR? If not, can you give commit access to another person who can help review issues & pull requests? I'd be happy to help out if you like.

@elliottsj Thanks for this. Just made a couple style comments. Once those are addressed I'll pull this in.

@elliottsj please take a look at my PR on your work before you merge this in https://github.com/elliottsj/react-native-webpack-server/pull/1

@mjohnston Fixed style issues. Also changed from
var externals = {}
dependencies.forEach(function(dependency) {
  externals[dependency.id] = 'commonjs ' + dependency.id
})
return externals;

to
return dependencies.reduce(function(externals, dependency) {
  externals[dependency.id] = 'commonjs ' + dependency.id;
  return externals;
}, {});

to match style from @amccloud's changes in https://github.com/elliottsj/react-native-webpack-server/pull/1.

@mjohnston How do you want to handle backwards compatibility since react-native is moving so fast? This PR is already broken in 0.11.0. Would it make sense to have react-native-webpack-server versions align with react-native?

@amccloud What exactly is broken in 0.11.0? I suppose it would make sense to align versions with react-native, just curious what is breaking now.

@mjohnston the module object is no longer a plain object. https://github.com/facebook/react-native/commit/bc28a35bda0e358a8296a7b53eb7315b736c6e4b

isPolyfill is now a function
id is now retrieved asynchronously with getName

This is the code i'm using now with 0.11.0 https://github.com/amccloud/react-native-webpack-server/commit/3e499dcecd7f57e6b5cf284d24138d065041448f

Got it. Now that I think about it, I'm not sure if the best path forward is keeping the version numbers aligned 1-to-1. I imagine that most new versions of react-native will require no changes in react-native-webpack-server, especially now that we are pulling the RN dependency tree through the Packager API.
I'm fine with the latest version of react-native-webpack-server only being compatible with the latest version of react-native though.
That being said, I don't really have the bandwidth these days to stay on top of new react-native releases.
@amccloud @elliottsj I'd be happy to give you push access if you're up for it. Let me know and I'll add you as collaborators.

@mjohnston sounds good to me.
@elliottsj Do you want to add my changes to your branch before this merges? We could also just merge this for a 0.3.0 release for those on<EMAIL_ADDRESS>

@mjohnston Sounds good to me too.
@amccloud Let's do a 0.3.0 release, then merge in your changes.

Awesome - both of you should have write access now. Thanks!

Also added you both as owners for the npm package - you should be able to make releases now.

Awesome! Any other concerns about this PR? If not, I'll merge and make a 0.3.0 release.

Nope, looks good.

Sweet, 0.3.0 is now published

:zap:

@elliottsj @mjohnston I'm still getting this error per https://github.com/t4t5/react-native-router/issues/67#issuecomment-152348190
```log
ERROR in ./~/react-native-router/~/react-native/Libraries/react-native/react-native.js
Module build failed: SyntaxError: /Users/nexus/Public/myproject/react-native/node_modules/react-native-router/node_modules/react-native/Libraries/react-native/react-native.js: Line 20: Did you mean "react"?
  18 | //   var ReactNative = {...require('React'), /* additions */}
  19 | //
> 20 | var ReactNative = Object.assign(Object.create(require('React')), {
     |                                                       ^
  21 |   // Components
  22 |   ActivityIndicatorIOS: require('ActivityIndicatorIOS'),
  23 |   DatePickerIOS: require('DatePickerIOS'),
    at File.errorWithNode (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/transformation/file/index.js:489:13)
    at check (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/transformation/transformers/validation/react.js:23:18)
    at NodePath.CallExpression (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/transformation/transformers/validation/react.js:40:7)
    at NodePath.call (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/path/context.js:56:28)
    at NodePath.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/path/context.js:90:8)
    at TraversalContext.visitMultiple (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/context.js:108:16)
    at TraversalContext.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/context.js:146:19)
    at Function.traverse.node (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/index.js:76:17)
    at NodePath.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/path/context.js:107:26)
    at TraversalContext.visitMultiple (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/context.js:108:16)
    at TraversalContext.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/context.js:146:19)
    at Function.traverse.node (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/index.js:76:17)
    at NodePath.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/path/context.js:107:26)
    at TraversalContext.visitSingle (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/context.js:132:12)
    at TraversalContext.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/context.js:148:19)
    at Function.traverse.node (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/index.js:76:17)
    at NodePath.visit (/Users/nexus/Public/myproject/react-native/node_modules/babel-core/lib/traversal/path/context.js:107:26)


ARROW-4820: [Python] hadoop class path derived not correct

hdfs.py method _derive_hadoop_classpath add hadoop config dir to hadoop classpath

Fix for  https://issues.apache.org/jira/browse/ARROW-4820

This looks OK to me. The HDFS integration tests need to be run

Working on it. I'll probably turn off libhdfs3, because it's still problematic.

test: kszucs/crossbow/build-449


Vim movement keys do not auto-repeat

I enabled Vim mode in 0.5 (OSX10.8.4) by following instructions I found here:
https://groups.google.com/d/msg/light-table-discussion/TuJmH5Bpo2c/_BPvc5H4lT8J
And it seems to work except that the Vim movement keys hjkl do not auto-repeat and have to be pressed repeatedly. The cursor keys auto-repeat as normal.

The solution listed didn't work for me, even with
defaults write com.kodowa.LightTable ApplePressAndHoldEnabled -bool false

Keys do not repeat for me.


remove authors

nobody cares for the authors, as long as the commiter gave consent to the current cproject's license agreement.
so remove all the @author remarks

dropped. authors might come in handy in the future


Debug info

Can we get some debug parameter? I'm getting "all workflows completed successfully" after the first one finishes, so I guess I'm doing something wrong, but I can't figure out what's the list of workflows it parses, what it's getting from the API, etc.

sure, good idea

added plenty of debgging and also an early exit if no runs are found of the workflow's dependenciesb (which I think is your issue)

thanks; looks like the log gets truncated at ~1000 lines, though, I'll see if I can fork this so I can poke around without bothering you