Rebuild gdk-pixbuf 2.42.8 b1

Actions:

Pin libffi
Enable gobject-introspection in bld.bat

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_04itljwm_2/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_04itljwm_2/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_04itljwm_2/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_b55bolbh9b/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_b55bolbh9b/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_b55bolbh9b/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_c7c0hxezhs/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_c7c0hxezhs/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_c7c0hxezhs/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_9ar61bg3rm/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.csclub.uwaterloo.ca
WARNING: /tmp/abs_9ar61bg3rm/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_9ar61bg3rm/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_9dbrrfvs8t/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.csclub.uwaterloo.ca
WARNING: /tmp/abs_9dbrrfvs8t/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_9dbrrfvs8t/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_46fkwngscg/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_46fkwngscg/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_46fkwngscg/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_9d72_2poi7/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_9d72_2poi7/clone/recipe/meta.yaml:86: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_9d72_2poi7/clone/recipe/meta.yaml:86: missing_license_url: The recipe is missing a license_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_0bzg0ntx5g/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_0bzg0ntx5g/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_0bzg0ntx5g/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_c8o5zcq5b_/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_c8o5zcq5b_/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_c8o5zcq5b_/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_d6vsl8pfxu/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_d6vsl8pfxu/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_d6vsl8pfxu/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_bamgodoi4m/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_bamgodoi4m/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_bamgodoi4m/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_ac155u73x0/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_ac155u73x0/clone/recipe/meta.yaml:84: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_ac155u73x0/clone/recipe/meta.yaml:84: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e30ir569g8/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_e30ir569g8/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_e30ir569g8/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_aak0hiielv/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_aak0hiielv/clone/recipe/meta.yaml:85: missing_doc_source_url: The recipe is missing a doc_source_url
WARNING: /tmp/abs_aak0hiielv/clone/recipe/meta.yaml:85: missing_license_url: The recipe is missing a license_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_dc03gztlwv/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.csclub.uwaterloo.ca
WARNING: /tmp/abs_dc03gztlwv/clone/recipe/meta.yaml:88: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_dc03gztlwv/clone/recipe/meta.yaml:88: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_1fs0el6hwd/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror2.sandyriver.net
WARNING: /tmp/abs_1fs0el6hwd/clone/recipe/meta.yaml:88: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_1fs0el6hwd/clone/recipe/meta.yaml:88: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_4dv9k8y5qb/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_4dv9k8y5qb/clone/recipe/meta.yaml:88: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_4dv9k8y5qb/clone/recipe/meta.yaml:88: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_c5f2m3jvz7/clone/recipe/meta.yaml:13: invalid_url: https://download.gnome.org/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.8.tar.xz : URL domain redirect download.gnome.org ->  mirror.umd.edu
WARNING: /tmp/abs_c5f2m3jvz7/clone/recipe/meta.yaml:88: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_c5f2m3jvz7/clone/recipe/meta.yaml:88: missing_doc_source_url: The recipe is missing a doc_source_url
Errors were found


Migration component, both international and internal

[x] International migration as the first step. The effects of this parameter should be similar to mortality in the model.
[x] Input dynamic rates (currently, they are constant).
[x] It seems that, at some time steps, we remove some people twice (due to mortality rate and migration rate). This needs to be fixed (which should depend on the order of actions at one time step?)
[x] In the case of internal migration: how can we use the results in a spatial interaction model (allocating the internal migrants)? is it possible to calibrate the results using data (e.g., immigration rates from the census data)?

A simplified version of the migration component is implemented here. One example output (considering both migration and mortality):

Inputs:
time:
    start:
        year: 2011
        month: 1
        day: 1
    end:
        year: 2012
        month: 1
        day: 1
    step_size: 1  # Days
population:
    population_size: 0 # 1 Base
    age_start: 0
    age_end: 100
mortality:
    mortality_rate: 0.1
migration:
    migration_rate: 0.3

The sum of population/mortality/migration counts at the very last time step is 1024 which is higher than the initial population (1000 rows). My guess is that at some time steps, we remove some people twice (due to mortality rate and migration rate). This needs to be fixed (added to the TODO list).
The results can be reproduced in this notebook

@crangelsmith Could you please confirm that this issue is resolved (see the first comment)? If yes, please go ahead and close it.

Moved to: https://github.com/alan-turing-institute/daedalus/issues/14


build multiple opam binaries and remove opam-installer

This should have no effect on any builds, but paves the way to
start testing opam 2.1beta by adding upgrade tests.  The removal
of opam-installer should also be a noop as opam itself doesn't
use it (it's for external packaging).

Tested and deployed on live, so merging


Manually tear down the read loop on error.

Instead of waiting for keepRunning to be closed, manually halt the read loop on a non-nil, non-io.ErrUnexpectedEOF response from ReadJSON. As detailed in the documentation for NextReader, non-nil return values are permanent and we shouldn't try another read from the same connection.
This fixes a race between the  handleEvents goroutine causing close(keepRunning) after a recv on killChannel, and the handleIncomingEvents goroutine failing another read from ReadJSON and blocking on a send to killChannel.
While the previous condition does not technically cause any state corruption, since killChannel is re-used after a new RTM connection is established, the previous connection's handleIncomingEvents goroutine sends a false on killChannel once we successfully reconnect, resulting in this odd sequence of events in which the newly successful connection is immediately killed before reconnecting once again:
2018/05/23 18:23:47 websocket_managed_conn.go:410: RTM Error, received unmapped event "goodbye": {"type": "goodbye"}
2018/05/23 18:23:54 websocket_managed_conn.go:185: killing connection
2018/05/23 18:23:54 websocket_managed_conn.go:155: Connecting to RTM
2018/05/23 18:23:54 misc.go:77: parseResponseBody: {"ok":true,"url":"wss:\/\/cerberus-xxxx.lb.slack-msgs.com\/websocket\/..."}
2018/05/23 18:23:54 rtm.go:63: Using URL: wss://cerberus-xxxx.lb.slack-msgs.com/websocket/...
2018/05/23 18:23:54 websocket_managed_conn.go:163: Dialing to websocket on url wss://cerberus-xxxx.lb.slack-msgs.com/websocket/...
2018/05/23 18:23:55 websocket_managed_conn.go:59: RTM connection succeeded on try 6
2018/05/23 18:23:55 websocket_managed_conn.go:185: killing connection
2018/05/23 18:23:55 websocket_managed_conn.go:155: Connecting to RTM
2018/05/23 18:23:56 misc.go:77: parseResponseBody: {"ok":true,"url":"wss:\/\/cerberus-xxxx.lb.slack-msgs.com\/websocket\/..."}
2018/05/23 18:23:56 rtm.go:63: Using URL: wss://cerberus-xxxx.lb.slack-msgs.com/websocket/...
2018/05/23 18:23:56 websocket_managed_conn.go:163: Dialing to websocket on url wss://cerberus-xxxx.lb.slack-msgs.com/websocket/...
2018/05/23 18:23:56 websocket_managed_conn.go:59: RTM connection succeeded on try 7
2018/05/23 18:23:56 websocket_managed_conn.go:330: Incoming Event: {"type": "hello"}

LGTM.


Slow Google auth

I am signing in to my app using Google like this:
signInWithGoogle() {     return this.afAuth.auth.signInWithRedirect(new auth.GoogleAuthProvider());   }
Then I am subscribing to the user observable and redirect if the user is signed in:
this.sub = this.auth.user$.subscribe((user) => {       if (user) {         this.router.navigate(['/']);       }     });
Actual behavior
It work perfectly fine. However, it is extremely slow. It takes at least 5 seconds before the user is redirected to the index page.
Expected behavior
Less time between sign in and redirecting user.

Hi @sondresorbye0111! This repo is a wrapper around auth please raise your issue with the official SDK if it still persists. Auth is a time consuming process so it can take 5 seconds on slow connections.

@davideast, this problem does not occur in vanilla js. The problem is that the user observable emits the user object very late even after the user has been redirected back from Google login page.

What version are you on for Angular, AngularFire, RxJS, and Firebase JS? This may be a zones issue.

"@angular/core": "^6.0.5",
"angularfire2": "^5.0.0-rc.10",
"rxjs": "^6.2.1",
"firebase": "^5.0.4"

Can someone create a stackblitz the shows the problem? I haven't ran into it myself

Why don't you read the official angularfire2 documentation about authentication: https://github.com/angular/angularfire2/blob/master/docs/auth/getting-started.md

@patrickmichalina Can you provide a code sample or some context to help troubleshoot? I've been testing and haven't hit this problem.

Just an idea, guys. You might want to upgrade your RXJS, rxjs-compat(if using), and also angularfire2 for better compatibility.

I'm still getting this problem myself and have had a few users comment on its slowness.

It has slow Google authentication because it needs to contact FIrebase's server to retrieve your secret access key, then use that key to authenticate to Google's authentication server. Then, on your browser, it puts out a success or a error response,

Outdated. Not a AF issue.


Upgrade to slop 4.0.0

Nice!

I just wanted to express my thanks for this, @deivid-rodriguez, as I'm in the situation right now where I can't use the stable because it depends on slop < 4 (and this conflicts with my app's dependency on 4.0.0). Saved me a bunch of painful debugging using something else!

:+1: Glad to help, I hope to release soon so you guys don't need to use master.


One to one relation with image in details

I have 2 tables with a 1-to-1 relation.  The foreign key table has an image.  I have changed the form so that it retrieves fields from both tables as explained in the "LeftJoin attribute" chapter of the guide (page 359), but when I save the form I get the exception "For security reasons, only temporary files can be used in uploads!".
[LeftJoin("pf", "Person_photo", "pf.[person_id] = T0.[person_id]")]
public sealed class PersonRow : Row, IIdRow, INameRow
{
    [DisplayName("Person Id"), Column("person_id"), Identity]
    public Int32? PersonId
    {
        get { return Fields.PersonId[this]; }
        set { Fields.PersonId[this] = value; }
    }

`
    [DisplayName("Photo"), Size(255), ImageUploadEditor(FilenameFormat = "Person/Photo/~")]
    [Expression("pf.[photo_filename]"), ReadOnly(true)]
    public string PhotoFilename
    {
        get { return Fields.PhotoFilename[this]; }
        set { Fields.PhotoFilename[this] = value; }
    }

`
Even marking the picture field as ReadOnly does not prevent the error.
Any ideas on what I may be doing wrong?
Is it possible to save the details table with the picture from the same form, or do I have to open a dialog to edit the picture?
Thanks,
Antonio.

After debugging through Serenity I found that the problem was that the field from the details table in SaveRequestHandler.Old property had not been initialized, and it seemed like the picture was new and it was coming from a folder other than the temporary folder, therefore validating it.
I solved it by adding the following to the PersonRepository:
       private class MySaveHandler : SaveRequestHandler<MyRow> {
            protected override SqlQuery PrepareQuery()
            {
                SqlQuery q = base.PrepareQuery();
                q.SelectNonTableFields();
                return q;
            }

I do not know if there is a declarative-more-proper way to do this.
I am trying to change the repository to save these fields now.  If someone knows how to go about this, I would appreciate any samples.
Antonio.

But you have already uploaded the photo in Person_Photo, then the ImageUploaderEditor in PhotoFilename is not necessary

@Estrusco, how do you show/upload the image without an ImageUploadEditor?
That would be the Person edit form/dialog.  I want to be able to edit the Person Photo, and also the Person's main entity fields from the same form (if possible).  I have removed the ReadOnly(true) attribute in order to achieve this:
Person_Photo(person_id) references Person(person_id).  Both person_id fields are pk fields of both tables, thus it is a 1-1 relation.
The fields shown below the photo in the image are fields in Person table.

Thanks @Estrusco .  I will try to create a custom ImageUploadEditor as you suggest.


Newtonsoft doesn't work for VS 2017

We need to reference Newtonsoft from the Model Builder project. To safely do this for 2017, we need to remove indirect references to newtonsoft. Currently that is

Prose library
WindowsAzure.Storage

Both of these need to move to Service Hub.

Also look at adding a gold bar to warn 2017 support will be discontinud soon

Related: #592


Multiple issues with get_search_term_examples

The search is working, but still gets an ValueError, which isn't logged... It usually selects random elements to always populate the list with interesting things.
from random.sample docs:
If the sample size is larger than the population size, a ValueError is raised.
It should always return some examples regardless of the number of photos scanned
Also some people reported, that get_search_term_examples throws exceptions:
Librephotos-backend | File "/miniconda/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
Librephotos-backend | response = handler(request, *args, **kwargs)
Librephotos-backend | File "/code/api/views.py", line 1424, in get
Librephotos-backend | search_term_examples = get_search_term_examples(request.user)
Librephotos-backend | File "/code/api/api_util.py", line 163, in get_search_term_examples
Librephotos-backend | term_thing = random.choice(datum['things'])
Librephotos-backend | File "/miniconda/lib/python3.8/random.py", line 290, in choice
Librephotos-backend | raise IndexError('Cannot choose from an empty sequence') from None

This one is keeping my scan from completing.

@guystreeter This has nothing to do with the scan process :) You probably have a different issue.
I resolved the problem.

The error is back, yay:
Internal Server Error: /api/searchtermexamples/
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "/code/api/views/views.py", line 956, in get
    search_term_examples = get_search_term_examples(request.user)
  File "/code/api/api_util.py", line 143, in get_search_term_examples
    terms_things = p.captions_json['places365'][
TypeError: 'NoneType' object is not subscriptable

Fixed a performance issue and an exception. But this should still be refactored to something more useful


support page mentions discontinued openFATE

The support page mentions openFATE, which has been shut down: https://github.com/openSUSE/obs-landing/blob/796e52eca4e7302c000a7399bbc9553c8c0cc792/support/index.html#L35
Should this point to github instead?

Whoops, I see there's https://github.com/openSUSE/obs-landing/issues/237 already.


is there a capability to open app in maximized mode?

Hello there,
just wanted to know is there a capability to open windows  app in maximized window? I know there is window.maximize but just wanted to know if there one so that we could handle it during initialization

you can handle like this:
var size = driver.Manage().Window.Size;
int windowHeight = Screen.PrimaryScreen.Bounds.Height;
int windowWidth = Screen.PrimaryScreen.Bounds.Width;
if (size.Width != windowWidth && size.Height != windowHeight)
{   try
{
                driver.Manage().Window.Maximize();
            }

            catch(Exception ex) { ex.Message); }
        }

thanks I know this and have uses this just wanted to know if there was any that we could use in capabilities so that we could avoid using this


[AI Create Page] How to Cards and Gallery

Added new gallery feature and how-to-cards block.
Resolves: https://jira.corp.adobe.com/browse/MWPW-154905
Kitchen sink: https://how-to-cards--express--adobecom.hlx.page/docs/library/kitchen-sink/how-to-cards?martech=off
Test URLs:

Before: https://stage--express--adobecom.hlx.page/drafts/jinglhua/steps-carousel?martech=off
After: https://how-to-cards--express--adobecom.hlx.page/drafts/jinglhua/steps-carousel?martech=off

merging as it's a pure new block


Env flag to register app commands to guild

Since the introduction of slash commands on #89, new commands have been harder to test because new global application commands are only available in guilds after 1 hour. It doesn't seem right that we have to wait this much time while developing or reviewing PRs.
I also dislike using create_guild_application_commands momentarily and having to remember to replace it in the end. Also I'm too lazy to edit someone's PR locally to use guild commands.
Perhaps we could have some sort of debug flag that, when used, registered commands to the provided guild. Otherwise, it'd register to the global Discord command framework.

You can change it once, stash the changes with git and pop it when you are working locally. Does not seem to be a huge hassle

This is only relative to new commands right? I think that this is just something that we have to keep in mind when reviewing and when developing. 🤔

Thank you for your inputs guys, I'll close it for now.


This and the linked "User Accounts" page are missing information about what to put on the Reporting dialog...

... for the user accounts on both the Analysis Services and Reports tabs.
Does it want SQL users? or windows accounts?

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

ID: bbab5d1b-3e12-5550-5d15-7087676b4165
Version Independent ID: f9d4e569-17c8-aa5d-170f-7dc855c28fd6
Content: Rebuild the data warehouse and cube
Content Source: docs/report/admin/rebuild-data-warehouse-and-cube.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: kaelli

I mean this dialog

@StingyJack - Thank you for your inquiry and apologies for the delay in responding. The account you use is the Report Reader account which is described in here: Requirements, Accounts.


goflow2: 2.1.3 -> 2.1.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/netsampler/goflow2/releases.
meta.description for goflow2 is: High performance sFlow/IPFIX/NetFlow Collector
meta.homepage for goflow2 is: https://github.com/netsampler/goflow2
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.1.5 with grep in /nix/store/x7g2x7x3b5f2p4s45z58a6xzg7a4ycdx-goflow2-2.1.5
found 2.1.5 in filename of file in /nix/store/x7g2x7x3b5f2p4s45z58a6xzg7a4ycdx-goflow2-2.1.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

goflow2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x7g2x7x3b5f2p4s45z58a6xzg7a4ycdx-goflow2-2.1.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A goflow2 https://github.com/r-ryantm/nixpkgs/archive/9ae9eb99b385d8a3e22d64ec21cdc982544fea4a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/9ae9eb99b385d8a3e22d64ec21cdc982544fea4a#goflow2

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x7g2x7x3b5f2p4s45z58a6xzg7a4ycdx-goflow2-2.1.5
ls -la /nix/store/x7g2x7x3b5f2p4s45z58a6xzg7a4ycdx-goflow2-2.1.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

goflow2

Maintainer pings
cc @isabelroses for testing.

Result of nixpkgs-review pr 328184 run on x86_64-linux 1

1 package built:

goflow2


Scores from lstm_val

Describe the bug
in issue #9 we have lstm_val scores saved without recall score
To Reproduce

Open lstm_val scores

Expected behavior
All 4 scores should be informed
Screenshots
N/A
Desktop (please complete the following information):

OS: Ubuntu 19.04
1.13
3.7

Additional context
N/A

Issue solved and merged!


Improve cycle filtering by checking cycle number before centroiding data

Filtering on cycles can be improved with even less calculation, lets do this !

The code for cycle filtering has been optimized, I've tested it by running the old and new mzDB converter 60 times on the same DDA Thermo raw file with 8000 cycles. I've filtered for cycles 5000 to 6000, skipping over 20000 spectra.
The average amount of time required decreased from 49 seconds to 32 seconds. (Time difference depends on the number of spectra skipped)


@W-15946941: New task added to display files in the salesforce org

Files uploaded via the app launcher in the orgs are currently not included in the metadata listings.
To address this, the "display_files" task has been introduced to list these files efficiently.

This task gives the list of files in a tabular format querying the ContentDocument, fetching the fields Id, Filetype, and Filename, as filenames alone are not unique identifiers.
Upon uploading a new file, a fresh entry is generated in the ContentDocument entity, establishing it as the latest version in the ContentVersion entity. Subsequent uploads of new versions of already tracked documents are noted in the ContentVersion entity, without creating additional ContentDocument records.
Retrieving the latest version involves filtering the ContentVersion entity by setting IsLatest to true and employing the file's ContentDocumentId as the filter criterion.

Changed the task name to list_files and classname to ListFiles


In a store, how do you access $auth?

I can get to $auth by way of useNuxtApp() in components and composables, but how would you access it in a Pinia store?
In components, I usually just do:
const nuxtApp = useNuxtApp();
const authUser = nuxtApp.$auth.user;

but in a stores/store.ts, useNuxtApp is not available, so I'm not quite sure how to get to the context?
[nuxt] [request error] nuxt instance unavailable
  at Module.useNuxtApp (./.nuxt/dist/server/server.mjs:520:13)
  at $id_C1ltjrBOrk (./.nuxt/dist/server/server.mjs:10547:39)
  at async __instantiateModule__ (./.nuxt/dist/server/server.mjs:32909:3)

I notice too that this version of the auth module is auto-creating a Pinia store called auth with all of the data objects, but I don't know how to access the store itself - usually it would be with some sort of const authStore = useAuthStore;.
Reference: https://github.com/vuejs/pinia/pull/1433#issuecomment-1192495203

Migrated this to a discussion: https://github.com/Teranode/nuxt-module-alternatives/discussions/54


Sam

Bitcrusher code ready for review

I changed my email address to<EMAIL_ADDRESS>

Fore the record:  https://rawgit.com/GoogleChrome/web-audio-samples/e489d8b49b958799ac07953922f43817e8ba36ed/audio-worklet/bitcrusher.html gives the demo.
@samhincks You should try to provide similar links so we can see and hear the results.

See https://rawgit.com/GoogleChrome/web-audio-samples/84c47cb9fdc3d7bbb21ce5be0cb674d6a497639b/audio-worklet/bitcrusher.html
for demo.

See demo at https://rawgit.com/GoogleChrome/web-audio-samples/ac15b4e27eb3f9122198a3dc55ba631959129e73/audio-worklet/bitcrusher.html

Say it was experimentally determined, and use scientific notation so I
don't have to count zeroes. Also, use more significant digits if possible;
our layout tests use about 5 significant digits.
On Jun 8, 2017 4:35 PM, "samhincks"<EMAIL_ADDRESS>wrote:

@samhincks commented on this pull request.
In audio-worklet/test/bitcrusher-test.js
https://github.com/GoogleChrome/web-audio-samples/pull/79#discussion_r121022428
:

outputChannels: 1, bitDepth, reduction
+});

+osc.connect(bitcrusher.input);
+bitcrusher.output.connect(merger, 0, 0);
+oscb.connect(merger, 0, 1);
+merger.connect(offlineContext.destination);
+
+// When audio buffer is ready, verify bitcrushed samples are unaltered.
+offlineContext.startRendering()

.then(function(buffer) {

 let bcOutput = buffer.getChannelData(0);

 let oscOutput = buffer.getChannelData(1);

 // Allow for fractional error beyond audible perception.

 const permittedSampleError = 0.0000001;

This is the lowest magnitude where the test works.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/web-audio-samples/pull/79#discussion_r121022428,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAofPJFUm3XgvLLOAaHj0loX8GK-PcMOks5sCIUpgaJpZM4Nqpbk
.

Also, you have 3 mp3 files, but only use one.  Consider removing the other two if you're not going to use them.

See the latest version here https://rawgit.com/GoogleChrome/web-audio-samples/09903e41420e5750eddf0ca35612a7695f827b60/audio-worklet/bitcrusher.html

Demo is now at https://rawgit.com/GoogleChrome/web-audio-samples/d1a92341fc24f769a9780280ed9e1da6520da955/audio-worklet/bitcrusher.html

The test file doesn't seem to have very much high frequency content above a few kHz or so.  For sample rate reduction, I think the demo would be more noticeable if the demo had more high frequency content that would get aliased back for moderate sample rate reduction.  That would be kind of interesting to have, if you have such a source.

Listen to the new audio source which has more high frequency sound in it.
https://rawgit.com/GoogleChrome/web-audio-samples/e128b6387720ace24d6ff6dcd050142b09e9c69d/audio-worklet/bitcrusher.html

On Fri, Jun 16, 2017 at 1:09 PM, samhincks<EMAIL_ADDRESS>wrote:

@samhincks commented on this pull request.
In audio-worklet/bitcrusher-test.html
https://github.com/GoogleChrome/web-audio-samples/pull/79#discussion_r122523967
:

              diff < permittedSampleError,

              'Bitcrushed sample at ' + i + ' is ' + crushedSample +

              ' but ' + originalSample + ' for oscillator');

        }

      });

}

/**

 * Verify that bitcrusher handles illegal input correctly.

 */

function testIllegalInput() {

  try {

    let bitcrusher = new Bitcrusher(0);

    console.error('Bitcrusher did not throw illegal context error.');

  }

  catch (error) {}

I have followed the practice of not saying anything when tests pass. If I
should change this one, then I should modify the other functions to
indicate success as well.

Fair enough. It's ok as is.

—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/web-audio-samples/pull/79#discussion_r122523967,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAofPCGWF_7TMYvWIbS5Ly2oZa1Fm5tJks5sEuD2gaJpZM4Nqpbk
.

--
Ray

Looking at audit.js code, it seems the convention for private methods and variables is to put the underscore before the variable and not after. Are both styles acceptable?


Swift 2.0

Wasn't building, I will add flash and switch camera later. Comparing this to my objective-c version to see how fast the camera loads on modal popup.

Updating with a more recent pull request. Thank you so much though. Apologies for the delay.


Media Library: Fix nested button elements

Bug Description
There's a React warning in dev mode due to nested <button> elements in the media library.
edit-story.js:154794 Warning: validateDOMNesting(...): <button> cannot appear as a descendant of <button>.
    in button (created by button__StyledButton)
    in button__StyledButton (at button/index.js:210)
    in ForwardRef(More) (created by dropDownMenu__MoreButton)
    in dropDownMenu__MoreButton (at dropDownMenu.js:110)
    in div (at dropDownMenu.js:107)
    in DropDownMenu (at mediaElement.js:273)
    in div (created by mediaElement__InnerContainer)
    in mediaElement__InnerContainer (at mediaElement.js:249)
    in button (created by mediaElement__Container)
    in mediaElement__Container (at mediaElement.js:235)
    in MediaElement
    in MediaElement (at mediaGallery.js:49)

Expected Behaviour
No accessibility issues due to nested button elements
Steps to Reproduce

Screenshots

Additional Context

Plugin Version: 1.0.0
Operating System: macOS
Browser: Chrome 86

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

IIRC this was fixed recently


'ReadVariableOp:value:0 is not found' when converting savedModel to TFLite

System information

OS Platform and Distribution: OS X 10.14.6
TensorFlow installed from: Binary (pip3)
TensorFlow version: 2.2.0

My initial issue was very similar to this:
https://stackoverflow.com/questions/58499146/how-do-i-convert-tensorflow-2-0-estimator-model-to-tensorflow-lite
so having followed the advice there and at issue #34350 I am running the following code.
    saved_model_obj = tf.saved_model.load(export_dir=args.model_dir)
    concrete_func = saved_model_obj.signatures['serving_default']

    converter = tf.lite.TFLiteConverter.from_concrete_functions([concrete_func])

    converter.optimizations = [tf.lite.Optimize.DEFAULT]
    converter.experimental_new_converter = True
    converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS,
                                           tf.lite.OpsSet.SELECT_TF_OPS]

    tflite_model = converter.convert()

The output from the converter invocation
Traceback (most recent call last):
  File "converter.py", line 32, in <module>
    main()
  File "converter.py", line 26, in main
    tflite_model = converter.convert()
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 472, in convert
    graph=frozen_func.graph)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/lite/python/util.py", line 218, in run_graph_optimizations
    return tf_optimizer.OptimizeGraph(config, meta_graph)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/python/grappler/tf_optimizer.py", line 58, in OptimizeGraph
    graph_id, strip_default_attributes)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Return readvariableop -> ReadVariableOp:value:0 is not found.
        In function output readvariableop:float

The full output -including the function_optimizer lines- and the saved model are attached.  The saved model was exported from an estimator using estimator.export_saved_model().
full_output.txt
saved_model.pb.zip
Many thanks in advance.

Could you try conversion with tf-nightly and how about using from_saved_model path directly instead of from_concrete_functions method?

@abattery Thanks for your reply.  Converting with tf-nightly gives the same error using the code above.  Converting without tf-nightly using from_saved_model directly gives
ValueError: This converter can only convert a single ConcreteFunction. Converting multiple functions is under development.

Hence why I am using concrete functions as per the stackoverflow link in my original post.
Converting with tf-nightly and saved_model_path gives the following error:
2020-07-17 08:44:00.859832: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-07-17 08:44:00.876263: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7faa7d76dec0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-07-17 08:44:00.876286: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-07-17 08:44:01.871291: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:118] None of the MLIR optimization passes are enabled (registered 1)
Traceback (most recent call last):
  File "converter.py", line 32, in <module>
    main()
  File "converter.py", line 25, in main
    converter = tf.lite.TFLiteConverter.from_saved_model(args.model_dir)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 1039, in from_saved_model
    raise ValueError("Only support a single signature key.")
ValueError: Only support a single signature key.

I have not seen this error before and can't find much about it.
Thanks again

@ow4g18 Sorry for the late reply. Could you share your code for from_saved_model path in the tf-nightly version? You need to specify the one concrete function in the conversion.

@abattery No problem.  My code is below.
    converter = tf.lite.TFLiteConverter.from_saved_model(os.path.join(args.model_dir))
    tflite_model = converter.convert()

    with open(os.path.join(args.model_dir, 'model.tflite'), 'wb') as f:
        f.write(tflite_model)

This gives error:
Traceback (most recent call last):
  File "converter.py", line 33, in <module>
    main()
  File "converter.py", line 26, in main
    converter = tf.lite.TFLiteConverter.from_saved_model(os.path.join(args.model_dir))
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/tensorflow/lite/python/lite.py", line 1075, in from_saved_model
    raise ValueError("Only support a single signature key.")
ValueError: Only support a single signature key.

This seems to be the standard way of converting a model, but I can't find much about this error online.
Thanks!

@ow4g18 Thank you for sharing! Could you try conversion with explicitly setting signature_keys and tags arguments?

@abattery Thanks, it works!  For others looking: I replaced
converter = tf.lite.TFLiteConverter.from_saved_model(os.path.join(args.model_dir))

with
converter = tf.lite.TFLiteConverter.from_saved_model(os.path.join(args.model_dir),
                                      signature_keys=['serving_default'],
                                      tags=['serve'])

The tags flag may not be necessary as 'serve' seems to be the default anyway, but this solved it.
Thanks again!


aur-chroot: add --create

Yet another rewrite of aur-chroot...

Set the default pacman.conf for aur-build --chroot to /etc/aurutils/pacman-<db>.conf. To accommodate this, the Makefile creates $(PREFIX)/etc/aurutils. Users will no longer have to write their config in /usr/share and can use a pacman.conf per local repository with no additional effort (apart from specifying the repository with -d or AUR_REPO).

Create containers with aur chroot --create, and allow to specify the target packages on the command-line. This way all required packages can be specified in one step, e.g. to include ccache in the container. This additional step is only required when using aur chroot directly, or if other packages than base-devel or multilib-devel are required; aur build runs aur chroot --create on each --chroot build. (This is possible because aur-chroot only runs mkarchroot if there is no existing container in the target path, which still defaults to /var/lib/aurbuild/<arch>.)

Thanks!


Med-Sci encryption key only gives science radio access

Description

Read title. It's supposed to give both med and sci but it doesn't.

Hmm, I'm not able to reproduce this with either the medical research headset or manually inserting a med-sci key. Which scenario did you experience this?

Hmm, I'm not able to reproduce this with either the medical research headset or manually inserting a med-sci key. Which scenario did you experience this?

In-game while trying to insert a med-sci key into a science headset

I could not reproduce this! The key appears to work correctly now. (Tested in an empty passenger headset and a science headset, both could send and receive medical channel messages)


NoMethodError: undefined method `mailbox' for nil:NilClass

View details in Rollbar: https://rollbar.com/trystant/BOW/items/243/

NoMethodError: undefined method `mailbox' for nil:NilClass
  File "/Users/mnyon/code/ebwiki/app/controllers/application_controller.rb", line 27, in mailbox
  File "/Users/mnyon/code/ebwiki/app/controllers/mailbox_controller.rb", line 3, in inbox
  File<EMAIL_ADDRESS>line 4, in send_action
  File<EMAIL_ADDRESS>line 198, in process_action
  File<EMAIL_ADDRESS>line 10, in process_action
  File<EMAIL_ADDRESS>line 20, in block in process_action
  File<EMAIL_ADDRESS>line 115, in call
  File<EMAIL_ADDRESS>line 115, in call
  File<EMAIL_ADDRESS>line 553, in block (2 levels) in compile
  File<EMAIL_ADDRESS>line 503, in call
  File<EMAIL_ADDRESS>line 503, in call
  File<EMAIL_ADDRESS>line 88, in run_callbacks
  File<EMAIL_ADDRESS>line 19, in process_action
  File<EMAIL_ADDRESS>line 29, in process_action
  File<EMAIL_ADDRESS>line 32, in block in process_action
  File<EMAIL_ADDRESS>line 164, in block in instrument
  File<EMAIL_ADDRESS>line 20, in instrument
  File<EMAIL_ADDRESS>line 164, in instrument
  File<EMAIL_ADDRESS>line 30, in process_action
  File<EMAIL_ADDRESS>line 250, in process_action
  File<EMAIL_ADDRESS>line 107, in process_action
  File<EMAIL_ADDRESS>line 18, in process_action
  File<EMAIL_ADDRESS>line 137, in process
  File<EMAIL_ADDRESS>line 30, in process
  File<EMAIL_ADDRESS>line 196, in dispatch
  File<EMAIL_ADDRESS>line 13, in dispatch
  File<EMAIL_ADDRESS>line 237, in block in action
  File<EMAIL_ADDRESS>line 76, in call
  File<EMAIL_ADDRESS>line 76, in dispatch
  File<EMAIL_ADDRESS>line 45, in serve
  File<EMAIL_ADDRESS>line 43, in block in serve
  File<EMAIL_ADDRESS>line 30, in each
  File<EMAIL_ADDRESS>line 30, in serve
  File<EMAIL_ADDRESS>line 821, in call
  File<EMAIL_ADDRESS>line 12, in call
  File<EMAIL_ADDRESS>line 12, in call
  File<EMAIL_ADDRESS>line 35, in block in call
  File<EMAIL_ADDRESS>line 34, in catch
  File<EMAIL_ADDRESS>line 34, in call
  File<EMAIL_ADDRESS>line 24, in call
  File<EMAIL_ADDRESS>line 25, in call
  File<EMAIL_ADDRESS>line 13, in call
  File<EMAIL_ADDRESS>line 27, in call
  File<EMAIL_ADDRESS>line 27, in call
  File<EMAIL_ADDRESS>line 260, in call
  File<EMAIL_ADDRESS>line 225, in context
  File<EMAIL_ADDRESS>line 220, in call
  File<EMAIL_ADDRESS>line 560, in call
  File<EMAIL_ADDRESS>line 36, in call
  File<EMAIL_ADDRESS>line 653, in call
  File<EMAIL_ADDRESS>line 377, in call
  File<EMAIL_ADDRESS>line 29, in block in call
  File "/

The fix for issue #115 will also resolve this error

This has been resolved with the fix for #115


python310Packages.dj-database-url: 1.3.0 -> 2.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.dj-database-url is: Use Database URLs in your Django Application
meta.homepage for python310Packages.dj-database-url is: https://github.com/kennethreitz/dj-database-url
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.0 with grep in /nix/store/c4ydlczh0999hvww7g9p1vjngrcaxhzx-python3.10-dj-database-url-2.0.0
found 2.0.0 in filename of file in /nix/store/c4ydlczh0999hvww7g9p1vjngrcaxhzx-python3.10-dj-database-url-2.0.0

Rebuild report (if merged into master) (click to expand)

19 total rebuild path(s)

19 package rebuild(s)

First fifty rebuilds by attrpath
ansible-doctor
baserow
peering-manager
python310Packages.ansible-doctor
python310Packages.deezer-python
python310Packages.dj-database-url
python310Packages.django-polymorphic
python310Packages.django-rest-polymorphic
python310Packages.drf-spectacular
python310Packages.environs
python310Packages.wagtail-localize
python311Packages.ansible-doctor
python311Packages.deezer-python
python311Packages.dj-database-url
python311Packages.django-polymorphic
python311Packages.django-rest-polymorphic
python311Packages.drf-spectacular
python311Packages.environs
python311Packages.wagtail-localize

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c4ydlczh0999hvww7g9p1vjngrcaxhzx-python3.10-dj-database-url-2.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.dj-database-url https://github.com/r-ryantm/nixpkgs/archive/6e94929e1c45e07d37a90eeeed9aa714d3ff04a8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c4ydlczh0999hvww7g9p1vjngrcaxhzx-python3.10-dj-database-url-2.0.0
ls -la /nix/store/c4ydlczh0999hvww7g9p1vjngrcaxhzx-python3.10-dj-database-url-2.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.


Crash Log FYI

MeerK40t crash log. Version: 0.6.2
Please report to: https://github.com/meerk40t/meerk40t/issues
Traceback (most recent call last):
File "PyInstaller\loader\pyiboot01_bootstrap.py", line 167, in init
File "ctypes_init_.py", line 364, in init
OSError: [WinError 126] The specified module could not be found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "Controller.py", line 347, in on_button_connect
File "Kernel.py", line 1773, in execute
File "LhystudiosDevice.py", line 1057, in open
File "LhystudiosDevice.py", line 1209, in detect_driver_and_open
File "CH341WindllDriver.py", line 20, in init
File "ctypes_init_.py", line 442, in LoadLibrary
File "PyInstaller\loader\pyiboot01_bootstrap.py", line 169, in init
PyInstallerImportError: Failed to load dynlib/dll 'CH341DLL.dll'. Most probably this dynlib/dll was not found when the application was frozen.

Hm. It usually always finds the dll since it installs when the K40 is plugged into the PC. That or people have Whisperer and it'll use the libusb driver there. I guess either install the CH341DLL manually, or grab a copy of Whisperer and it install the libusb driver. I note it's a pyinstaller error so it's part of the compiled version. Maybe I need to include the CH341DLL.dll into the compiled exe to be safe.
Any background? Did run MeerK40t with never having plugged in the laser? -- I guess the easiest method here would be catch the OS error. And run some tests with absolutely no driver at all. It tries the Ch341DLL after it fails finding the LibUSB backend so it really would have to have absolutely no driver at all to fail like that.
It is certainly something I did not test against though.

HI,
Whisperer had the driver "locked", releasing the driver from whisperer allowed Merk40t to work, alternatively a simple reboot and not starting whisperer also resolves.

Ah, that would explain why it went to the windows driver fallback and couldn't find the windows driver. I'll try to make sure it fails more gracefully in the future though.

This will send out a connection error rather than a crash if you do this in the future. Fixed 0.6.3


Change of text in the donout from Process to Storage

We need to change the text from Process to Storage (the page already has the right information)

@nsunami I tried to find the donout, but I don't know where it is, so I'm assigning this issue to you, I hope that's ok? :)


Create the project in Unity

Create the project in Unity Game Engine and add all the files and push it into the repository.

I have started working on the project!


Build fails when using Visual Studio 2017

Describe the bug
When running a Pipelines Build against the current master branch using the NetCore SDK v2.2.100, we are facing some errors related to the SDK C# version.

Additional context
As you can see in the picture above, the errors remark that some changes in LuisRecognizers.cs are not available for the C# 7.0 version and, instead of this one, the C# 7.1 should be used. But in our pipelines, we are using the NetCore SDK 2.2.100, which supports C# 7.3 (more information here):

However, after doing more in-depth research, we found that there are some known issues with the NetCore v2.2 and Visual Studio 2017 (link).
To fix this, we updated our pipelines for using Visual Studio 2019, and the Build successfully passed:

Despite this fix, we think that it would be a great idea to temporarily specify the Language Version through the usage of the LangVersion tag (link) in the Directory.Build.Props file, in order to avoid similar errors for those who are still using Visual Studio 2017
[bug]

I think Gabo (or John) did this the other day, as you're not the first person to hit this.

Addressed in https://github.com/microsoft/botbuilder-dotnet/pull/2158


add tests for keywords maxContains, minContains

new in draft2019-09

force-pushed to fix a duplicate test description

force-pushed to add additional checks for max/minContains without contains


k8s hook runner fails occasionally

Hello,
We're having an issue on our self hosted runner, we're using k8s hook to execute our jobs, but some of jobs fails occasionally  with this error, can't seems to understand what the issue is.
##[debug]/runner/externals/node16/bin/node /runner/k8s/index.js
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<ErrorEvent>".] {
  code: 'ERR_UNHANDLED_REJECTION'
}
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.

Image: summerwind/actions-runner:v2.296.1-ubuntu-20.04
GHES version: 3.6.1
Any idea what the issue is ?
Thank you

Hello @nikola-jokic
Thank you for your response and sorry the late replay. I can't provide that since we're running our GitHub on premise.
But i can provide other informations if you need.
The error happens on some Jobs in the same repository, it seems to be more probable in huge jobs, less probable (nearly never happened) in short jobs)

Hey @atahardjebbar-ledger,
This information is really useful! If you find more information, it would be amazing. But I will start trying to reproduce this issue myself. I think I might have an idea where this might occur. I'll let you know if I get stuck and need more information. In the meantime, if you find anything else that might help us, please let us know :relaxed:

Hey @nikola-jokic
We're you able to reproduce the issue ?

Hey @atahardjebbar-ledger, thanks! Happy new year to you as well!
No, I did not work on it for a while. I pushed this draft https://github.com/actions/runner-container-hooks/pull/49
It needs to be formatted but if you don't mind, can you build your hook with this so we can at least inspect the issue?
Not sure how to reproduce huge stdin read or is that the issue at all

Hello @nikola-jokic
Thank you for the changes, we build it internally and tested we still have the same issue. We found a pattern, the issue happens only on heavy workflows. Do you have any other ideas we can explore ?

I would love to dig deeper. Can you please provide an example workflow that I can use to reproduce it? Can you see the error? The fix was meant to pull the input read from the stdin into the try catch so the exception does not obfuscate the error for further inspection.
Now, I would need that error or anything else that can help me understand why is this occuring.
By heavy workflows, do you mean they run for the long time, or they send a lot of data to the hook in a call? Also, is it possible that the runner runs out of memory on that machine causing this exception?
Can you please provide diagnostics log of the runner? That might be helpful

Hi @nikola-jokic,
I can give more information about this issue (I'm working with @atahardjebbar-ledger), so we are still experiencing this issue for almost all workflow runs (with 0 to 5 jobs failing), and we build+run the version with the fix (#49).
Regarding the workflow file, I can't share it publicly, but It's composed of multiple jobs/actions to do the compilation. This workflow is composed of around 20 jobs, each job having a runtime from 5 min to 1h30 (with a total time for the workflow of approximately 4h).
So, we have more information about the error based on the debug log (sent to Github); in this case, it happened for the "Post-Clone" operation:
##[debug]Evaluating condition for step: 'Post Clone'
##[debug]Evaluating: always()
##[debug]Evaluating always:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Post Clone
##[debug]Loading inputs
##[debug]Evaluating: github.ref
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'ref'
##[debug]=> 'refs/heads/next'
##[debug]Result: 'refs/heads/next'
##[debug]Evaluating: github.repository
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'repository'
##[debug]=> '<REDACTED>'
##[debug]Result: '<REDACTED>'
##[debug]Evaluating: github.token
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'token'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Post job cleanup.
##[debug]Running JavaScript Action with default external tool: node1[2](https://<REDACTED>/runs/62041?check_suite_focus=true#step:24:2)
Run '/runner/k8s/index.js'
  shell: /runner/externals/node16/bin/node {0}
##[debug]/runner/externals/node16/bin/node /runner/k8s/index.js
node:internal/process/promises:2[4](https://<REDACTED>/runs/62041?check_suite_focus=true#step:24:4)[6](https://<REDACTED>/runs/62041?check_suite_focus=true#step:24:6)
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<ErrorEvent>".] {
  code: 'ERR_UNHANDLED_REJECTION'
}
Error: Process completed with exit code 1.
Error: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
##[debug]System.Exception: Executing the custom container implementation failed. Please contact your self hosted runner administrator.
##[debug] ---> System.Exception: The hook script at '/runner/k[8](https://<REDACTED>/runs/62041?check_suite_focus=true#step:24:8)s/index.js' running command 'RunScriptStep' did not execute successfully
##[debug]   at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath)
##[debug]   --- End of inner exception stack trace ---
##[debug]   at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.ExecuteHookScript[T](IExecutionContext context, HookInput input, ActionRunStage stage, String prependPath)
##[debug]   at GitHub.Runner.Worker.Container.ContainerHooks.ContainerHookManager.RunScriptStepAsync(IExecutionContext context, ContainerInfo container, String workingDirectory, String entryPoint, String entryPointArgs, IDictionary`2 environmentVariables, String prependPath)
##[debug]   at GitHub.Runner.Worker.Handlers.ContainerStepHost.ExecuteAsync(IExecutionContext context, String workingDirectory, String fileName, String arguments, IDictionary`2 environment, Boolean requireExitCodeZero, Encoding outputEncoding, Boolean killProcessOnCancel, Boolean inheritConsoleHandler, String standardInInput, CancellationToken cancellationToken)
##[debug]   at GitHub.Runner.Worker.Handlers.NodeScriptActionHandler.RunAsync(ActionRunStage stage)
##[debug]   at GitHub.Runner.Worker.ActionRunner.RunAsync()
##[debug]   at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
##[debug]Finishing: Post Clone

Thanks for your help; also, do you have a recommended way to extract logs from the _diag folder? (because we are using ephemeral runner, so each time a job finishes, logs are gone)

Hey @AEnguerrand,
Thank you for providing this! I'll try my best to reproduce it, but this might require another change to see what is exactly happening. The only place that is outside the try/catch block is setting the exit code. That might be what is causing this issue. I'll push a fix, and maybe we will need another iteration (if you don't mind :relaxed:, I can't reproduce this behaviour, so I am simply guessing what might be an issue)

Hey @AEnguerrand, @atahardjebbar-ledger,
Can you try the fix from the PR #65

Hi @nikola-jokic, Yes, I'm doing the setup for the Github Action runners to use this version; thanks. I will post the result after a few runs :+1:


docker:dind service failure

Minimal .gitlab-ci.yml illustrating the issue
---
stages:
  - build

build-dev:
  image: docker:latest
  stage: build
  services:
    - docker:dind
  script:
    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD registry.gitlab.com

Expected behavior
https://gitlab.com/niki9796dk/gitlab-ci-local-debugging/-/jobs/1731462426
Host information
Ubuntu 20.04.2 LTS
gitlab-ci-local 4.25.1
Additional context
gitlab ci local console dump
parsing and downloads finished in 55 ms
build               starting docker:latest (build)
build               pulled docker:latest in 61 ms
build               pulled docker:dind in 66 ms
build               started service image: docker:dind with aliases: docker, docker in 567 ms
build               copied to container in 1.36 s
build               copied artifacts to container in 1.91 s
build               $ docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD registry.gitlab.com
build               > WARNING! Using --password via the CLI is insecure. Use --password-stdin.
build               > still running...
build               > error during connect: Post "http://docker:2375/v1.24/auth": dial tcp: lookup docker: Try again
build               finished in 26 s  FAIL 1

 FAIL  build

This is most likely todo with missing healthchecking

I'm seeing the same, I think:
build_image $ docker build . -t ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}
build_image > time="2021-11-07T15:30:19Z" level=error msg="failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial tcp: lookup docker on <IP_ADDRESS>:53: no such host"
build_image > error during connect: Post http://docker:2375/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&session=redacted&shmsize=0&t=registry.gitlab.com%2Fredacted%3Adev&target=&ulimits=null&version=1: dial tcp: lookup docker on <IP_ADDRESS>:53: no such host
build_image > time="2021-11-07T15:30:19Z" level=error msg="Can't add file /builds/build_image/package.json to tar: io: read/write on closed pipe"
build_image > time="2021-11-07T15:30:19Z" level=error msg="Can't close tar writer: io: read/write on closed pipe"
build_image finished in 5.77 s  FAIL 1

We need a way to print docker logs, from the service container, when/if it exits

Using docker image sha256:5261796049dd8a51b9e1c9ab5fa3e06960de7a813e7414dcc218022a6eb48680 for docker:dind with digest docker@sha256:79d0c6e997920e71e96571ef434defcca1364d693d5b937232decf1ee7524a9b ...
Waiting for services to be up and running...
*** WARNING: Service runner-cpur9s9m-project-1112-concurrent-0-837688e84707049f-docker-0 probably didn't start properly.
Health check error:
service "runner-cpur9s9m-project-1112-concurrent-0-837688e84707049f-docker-0-wait-for-service" timeout
Health check container logs:
Service container logs:
2021-11-20T15:06:49.994056878Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-11-20T15:06:50.569899551Z ..................................................................................................................++++
2021-11-20T15:06:50.851103256Z ........................................................++++
2021-11-20T15:06:50.851578048Z e is 65537 (0x010001)
2021-11-20T15:06:50.869248748Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-11-20T15:06:51.310935919Z .........................................................................................++++
2021-11-20T15:06:51.689547985Z ............................................................................++++
2021-11-20T15:06:51.690035812Z e is 65537 (0x010001)
2021-11-20T15:06:51.725196492Z Signature ok
2021-11-20T15:06:51.725223903Z subject=CN = docker:dind server
2021-11-20T15:06:51.725416966Z Getting CA Private Key
2021-11-20T15:06:51.739732462Z /certs/server/cert.pem: OK
2021-11-20T15:06:51.743761151Z Generating RSA private key, 4096 bit long modulus (2 primes)
2021-11-20T15:06:51.800659171Z .........++++
2021-11-20T15:06:52.292892539Z ...................................................................................................++++
2021-11-20T15:06:52.293391216Z e is 65537 (0x010001)
2021-11-20T15:06:52.323573101Z Signature ok
2021-11-20T15:06:52.323587769Z subject=CN = docker:dind client
2021-11-20T15:06:52.323836386Z Getting CA Private Key
2021-11-20T15:06:52.338583503Z /certs/client/cert.pem: OK
2021-11-20T15:06:52.385231155Z mount: permission denied (are you root?)
2021-11-20T15:06:52.385319060Z Could not mount /sys/kernel/security.
2021-11-20T15:06:52.385349718Z AppArmor detection and --privileged mode might break.
2021-11-20T15:06:52.386727817Z mount: permission denied (are you root?)
*********

@niki9796dk This is what I'm seeing on our private gitlab.
Where have you seen the pasted example work?

I've investigated a little further...
docker-privileged is definitely needed in .gitlab-ci-local-env or via --privileged

And DOCKER_TLS="" probably also need to be there somewhere. Unless you want TLS enabled..
https://docs.gitlab.com/ee/ci/docker/using_docker_build.html
Whats going on here is probably just @niki9796dk running on gitlab.com, where all this is taken care off in advance.

I would test it but I have already solved the issue by switching from DinD to Kaniko as explained in the Gitlab docs.

I had a similar issue, and found sleeping for 10 seconds before running my script ensured that docker would be available. A better solution would be to use something like wait-for-it.sh to do the same, or implement healthchecks within gitlab-local-ci.

I've settled on:

Putting wait-for-it.sh into the repository
Using something like the following:

ct-install:
  stage: test

  services:
    - docker:dind

  variables:
    DOCKER_HOST: tcp://docker:2375

  before_script:
    - WAIT_PORT=$(echo "${DOCKER_HOST}" | sed 's/tcp:\/\/docker://g' )
    - .gitlab-ci/wait-for-it.sh -h docker -p "${WAIT_PORT}"
  script:
    - ...

@HeWhoWas Yeah, we just need to figure out how gitlab's builtin "wait-for" is working, and replicate that in gitlab-ci-local

stages:
  - build

build-dev:
  image: docker:latest
  stage: build
  services:
    - docker:dind
  script:
    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD registry.gitlab.com

Works now.

I'm trying to do the same, privileged, but with a docker build, and it fails... I get Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
I'm on Ubuntu 18.
stages:
  - build

build-dev:
  image: docker:latest
  stage: build
  services:
    - docker:dind
  script:
    - docker build -t image:tag backend/casting

parsing and downloads finished in 48 ms
build-dev starting docker:latest (build)
build-dev pulled docker:latest in 241 ms
build-dev pulled docker:dind in 199 ms
build-dev started service image: docker:dind with aliases: docker in 538 ms
build-dev service image: docker:dind healthcheck passed: docker:2375 in 398 ms
build-dev service image: docker:dind healthcheck passed: docker:2376 in 423 ms
build-dev > still running...
build-dev copied to container in 12 s
build-dev $ docker build -t image:tag backend/casting
build-dev > Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
build-dev finished in 16 s  FAIL 1

 FAIL  build-dev
  > Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
pipeline finished in 22 s

It's just a racing condition. I added 2 seconds lag, and now it works.
Using this in before script :
if [ "$GITLAB_CI" = "false" ]; then sleep 2; fi
Feel free to close if it's OK.

But why isn't our healthchecks preventing the racecondition?

It's just that gcl is a bit faster that a real runner. Gitlab works the same way, only waiting for the port to be available, even if the server is not yet ready.
I've seen official issues about this in the past 🤷

It still get the error:
error during connect: Post "http://docker:2375/v1.24/auth": dial tcp: lookup docker: Try again

I tried added a sleep at the end of my before_script but without success.
I am just try to push an image to a repository.

if [ "$GITLAB_CI" = "false" ]; then sleep 2; fi

@bcouetil I also tried your fix but it doesn't work for me. Is it the only you changed to make it work?

I found how to fix the error:
gitlab-ci-local --shell-isolation --privileged --volume /var/run/docker.sock:/var/run/docker.sock

Yes... but no :sweat_smile: you should not mount docker.sock, or you would probably use your underlying docker instance without knowing.
As advised in the documentation, you should use both docker variables :
docker-build:
  stage: build
  image: docker:19.03.12
  services:
    - docker:19.03.12-dind
  variables:
    DOCKER_HOST: tcp://docker:2375
    DOCKER_TLS_CERTDIR: ""
  before_script:
    - if [ "$GITLAB_CI" = "false" ]; then sleep 2; fi
    - docker info
  script:
    - docker build -f $MODULE/Dockerfile -t $IMAGE_NAME:$CI_PIPELINE_ID $DOCKER_WORKING_FOLDER

Then the only command line option needed is gitlab-ci-local --privileged

When I try this .gitlab-ci.yml:
stages:
  - build

docker-build:
  stage: build
  image: docker:19.03.12
  services:
    - docker:19.03.12-dind
  variables:
    DOCKER_HOST: tcp://docker:2375
    DOCKER_TLS_CERTDIR: ""
  before_script:
    - if [ "$GITLAB_CI" = "false" ]; then sleep 2; fi
    - docker info
  script:
    - echo 'hi'

I get this error:
parsing and downloads finished in 54 ms
docker-build starting docker:19.03.12 (build)
docker-build pulled docker:19.03.12 in 2.77 s
docker-build pulled docker:19.03.12-dind in 33 ms
Error: Command failed with exit code 1: docker create -u 0:0 -i --network gitlab-ci-local-474466 --privileged --network-alias=docker -e DOCKER_HOST -e DOCKER_TLS_CERTDIR -e GITLAB_USER_LOGIN -e GITLAB_USER_EMAIL -e GITLAB_USER_NAME -e GITLAB_USER_ID -e CI_COMMIT_SHORT_SHA -e CI_COMMIT_SHA -e CI_PROJECT_DIR -e CI_PROJECT_NAME -e CI_PROJECT_TITLE -e CI_PROJECT_PATH -e CI_PROJECT_PATH_SLUG -e CI_PROJECT_NAMESPACE -e CI_PROJECT_VISIBILITY -e CI_PROJECT_ID -e CI_COMMIT_REF_PROTECTED -e CI_COMMIT_BRANCH -e CI_COMMIT_REF_NAME -e CI_COMMIT_REF_SLUG -e CI_COMMIT_TITLE -e CI_COMMIT_MESSAGE -e CI_COMMIT_DESCRIPTION -e CI_PIPELINE_SOURCE -e CI_JOB_ID -e CI_PIPELINE_ID -e CI_PIPELINE_IID -e CI_SERVER_HOST -e CI_SERVER_PORT -e CI_SERVER_URL -e CI_SERVER_PROTOCOL -e CI_API_V4_URL -e CI_PROJECT_URL -e CI_JOB_URL -e CI_PIPELINE_URL -e CI_JOB_NAME -e CI_JOB_STAGE -e CI_REGISTRY -e CI_REGISTRY_IMAGE -e GITLAB_CI -e CI_ENVIRONMENT_NAME -e CI_ENVIRONMENT_SLUG -e CI_ENVIRONMENT_URL -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_DEFAULT_REGION -e CLOUDFLARE_API_TOKEN -e ENV_FILE -e TF_VAR_BACKEND_DOMAIN_NAME -e TF_VAR_FRONTEND_DOMAIN_NAME docker:19.03.12-dind
error during connect: Post "http://docker:2375/v1.24/containers/create": dial tcp: lookup docker: Temporary failure in name resolution
    at makeError (/home/lcswillems/.nvm/versions/node/v16.15.0/lib/node_modules/gitlab-ci-local/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/home/lcswillems/.nvm/versions/node/v16.15.0/lib/node_modules/gitlab-ci-local/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Job.startService (/home/lcswillems/.nvm/versions/node/v16.15.0/lib/node_modules/gitlab-ci-local/src/job.ts:939:39)
    at Job.execScripts (/home/lcswillems/.nvm/versions/node/v16.15.0/lib/node_modules/gitlab-ci-local/src/job.ts:532:41)
    at Job.start (/home/lcswillems/.nvm/versions/node/v16.15.0/lib/node_modules/gitlab-ci-local/src/job.ts:363:36)

I'm facing a similar error here:
gitlab-ci-local --privileged
parsing and downloads finished in 68 ms
lint  starting hadolint/hadolint:v2.12.0-alpine (lint)
lint  copied to docker volumes in 972 ms
lint  $ hadolint Dockerfile
lint  finished in 1.95 s
build starting docker:stable (build)
build copied to docker volumes in 997 ms
build started service image: docker:23-dind with aliases: docker in 658 ms
build > still running...
build service image: docker:23-dind healthcheck passed in 10 s
build $ docker build -f Dockerfile -t $CONTAINER_TEST_IMAGE --no-cache .
build > Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
build finished in 13 s  FAIL 1

 PASS  lint
 FAIL  build
  > Cannot connect to the Docker daemon at tcp://docker:2375. Is the docker daemon running?
pipeline finished in 15 s

Checking the dind service logs, seems like the dind service starts using in a different port:
|   time="2023-04-28T00:01:49.563544322Z" level=info msg="Docker daemon" commit=cbce331 graphdriver=overlay2 version=23.0.4
│   time="2023-04-28T00:01:49.563728214Z" level=info msg="Daemon has completed initialization"
│   time="2023-04-28T00:01:49.637008634Z" level=info msg="[core] [Server #10] Server created" module=grpc
│   time="2023-04-28T00:01:49.642883188Z" level=info msg="API listen on [::]:2376"
│   time="2023-04-28T00:01:49.652717886Z" level=info msg="API listen on /var/run/docker.sock"

Here my build step:
build:
  stage: build
  image: docker:stable
  services:
    - docker:23-dind
  script:
    - docker build -f Dockerfile -t $CONTAINER_TEST_IMAGE --no-cache .
    - docker push $CONTAINER_TEST_IMAGE

https://github.com/firecow/gitlab-ci-local/tree/master/examples/docker-in-docker-build


add integrations section

A couple of items for integrations, thanks to @fdncred.

yay! i love building this thing up.


[Bug] Dynamic Data + Time Axis

Version
5.2.2
Link to Minimal Reproduction
https://codepen.io/maicworkgithub/pen/LYzmJZQ
Steps to Reproduce
Wait data start unshift data item
Current Behavior
Some line twisted

Expected Behavior
No  line twisted
Environment
- OS: Windows 10
- Browser: Chrome
- Framework: None

Any additional comments?
No response

I think this bug has been fixed by #16069. Please wait for the next version 5.3.0. In the meanwhile, please feel free to help check if it persists with the nightly version:
<EMAIL_ADDRESS>Thanks!

Just tried with the latest nightly version. It seems #16069 can't solve this issue. Please @pissang take a look.

Looks like it's because you are using speed as name. It's duplicated and not related to the order of points. Use time as name or id can fix this problem.

I get it.
Thanks

@pissang 再打扰一下。
怎么修改node_modules里的 echarts/types/dist/shared.d.ts:10277文件？我在源码里没找到，是自动生成的吗？本来想提个PR的，太菜了，没找到 😂 。
想修改如下：
interface LinesDataItemOption extends LinesStateOption<CallbackDataParams>, StatesOptionMixin<LinesStateOption<CallbackDataParams>, LinesStatesMixin> {
-   name?: string;
+   name?: string|number;
    fromName?: string;
    toName?: string;
    symbol?: string[] | string;
    symbolSize?: number[] | number;
    coords?: LinesCoords;
    value?: LinesValue;
    effect?: LineDrawModelOption['effect'];
}

另外，如果我想在外面定义这个数据的时候，使用你们写好的类型很费劲：
type ExactItem<T> = T extends Array<infer U> ? U : never
type LinesDataItemOptionArr = ExactItem<LinesSeriesOption['data']>
const arr:LinesDataItemOptionArr = [
  {name: Date.now(), value: [Date.now(), someText]}
]

你们有把这个类型暴露出来的打算吗？我看官网示例里是用户自己定义的类型，类似const arr:{name: string|number, value:xxx }[] = []。


Improve BoundedVec API

This adds some useful APIs for making the conversion from Vec to BoundedVec more seamless.

bot merge


Added create folder command to avoid situation when apiserver doesn't…

… start fast enough.
kube-apiserver.service has 'ExecStartPre=/usr/bin/mkdir -p /var/lib/kube-apiserver', but if server is not fast enough 'mv /home/core/known_tokens.csv /var/lib/kube-apiserver/known_tokens.csv' will fail.

@doublerr

LGTM, this looks pretty safe.


Enhanced Select options are clipped inside dialog

What RMWC Version are you using [major.minor.patch]:
6.0.14

Name your build system [Webpack, Rollup...]:
Parcel

Describe the bug with as much detail as possible:
With <Select enhanced />, the options are clipped if the parent container is not large enough. This is especially apparent when inside the <Dialog> component, which may be a somewhat common use case.

What happened, and what was supposed to happen:
The selection options are clipped. We want to see the entire list.

Sandbox: https://codesandbox.io/s/rmwc-typescript-sandbox-mlcnm?fontsize=14&hidenavigation=1&theme=dark

I think the usage of very long list is against the Dialog design principle, according to Material design documentation. The Dialog body, IMHO, acts like a container, and in this case, both Dialog and Select works as expected, not a bug. You just use it in wrong way.

Yeah @peterkle you should follow the documentation's instructions to render your Select's MenuSurface through a portal:
  // Somewhere at the top level of your app
  // Render the RMWC Portal
  // You only have to do this once
  import React from 'react';
  import { Portal } from '@rmwc/base';

  export default function App() {
    return (
      <div>
        ...
        <Portal />
      </div>
    )
  }

And then render your MenuSurface through the portal:
function Example() {
  const [renderToPortal, setRenderToPortal] = React.useState(true);
  const options = ['Cookies', 'Pizza', 'Icecream'];
  return (
    <>
      <div
        style={{
          marginBottom: '10rem',
          height: '3.5rem',
          overflow: 'hidden'
        }}
      >
        <MenuSurfaceAnchor>
          <Button raised>Open Menu</Button>
          <Menu open renderToPortal={renderToPortal}>
            {options.map(o => (
              <MenuItem key={o}>{o}</MenuItem>
            ))}
          </Menu>
        </MenuSurfaceAnchor>
      </div>
      <Checkbox
        checked={renderToPortal}
        onChange={evt => setRenderToPortal(evt.currentTarget.checked)}
        label="renderToPortal"
      />
    </>
  );
}

Does that help @peterkle?
Though @jamesmfriedman I'm still not sure how to do this with the Select component (without creating it yourself using a composition of a controlled readOnly TextField and a Menu rendered through that top-level Portal).

Not sure about your question at the end there @nicholaschiang. The props signature of an enhanced select (the kind that would need "renderToPortal" is either a boolean OR menu props.
<Select enhanced={{renderToPortal: true}} />

But @peterkle @nicholaschiang  is correct with his answer. See the example above ^

I was also having my menus clipping and tried the to render the opened menu to a portal using
<Select enhanced={{renderToPortal: true}} />

That doesn't seem to work though. The menu is still rendered as a sibling of the enhanced select menu itself.
Putting the renderToPortal to the props of the <Select/> element itself seems to partially work.
<Select enhanced renderToPortal />

The menu is rendered correctly to a Portal added to the application. But now the select menu functionality breaks completely. The current value is not rendered, items can't be selected from the menu and in some cases setting a value prop crashes the application.
I forked the original sandbox to demonstrate this https://codesandbox.io/s/rmwc-typescript-sandbox-4v5to

Have you been able to find a fix/workaround for this issue?
I've tried substituting the <Select> component for a <Menu> component with renderToPortal={true}. This solved the clipping issue and the menu rendered nicely in the Portal but the onSelect and onClose events get killed :(
My current workaround is to add an onClick event handler to the <MenuItem>'s, not the cleanest solution but it works!

Hey @jamesmfriedman it doesn't look like you're spreading the enhanced prop at all:
        // Line 417 of `src/select/select/index.tsx`
        {enhanced && (
          <EnhancedMenu
            {...rest}
            anchorCorner="bottomStart"
            defaultValue={defaultValue}
            placeholder={placeholder}
            open={menuOpen}
            onClose={handleMenuClosed}
            onOpen={handleMenuOpened}
            onSelect={(evt: MenuOnSelectEventT) => {
              handleMenuSelected(evt.detail.index);
            }}
            selectOptions={selectOptions}
            value={value}
            selectedIndex={selectedIndex}
            menuApiRef={setMenu}
            children={children}
          />
        )}

I just opened this PR to do just that (spread the enhanced prop instead of rest to the EnhancedMenu).
So @MiK546 that's why adding the renderToPortal prop on the Select itself worked (because right now, @jamesmfriedman is spreading rest (the rest of the props) to the Menu instead of spreading the enhanced prop like he should).


Clear Selection Button

Hi,
this is a really great swift module!
Is it possible to have a button e.g. on the left navbar for clearing the selection?
Thanks
Phil

Hello @neXus1987
to clear the selection you should use the following with option (Empty or None)
selectionMenu.addFirstRowAs(rowType: .Empty, showSelected: self.firstRowSelected) { (text, isSelected) in

    // update your flag here to maintain consistency. -  This is required to be updated when presenting for the second time.
    self.firstRowSelected = isSelected
}


Feature request: add max bitrate in addition to --max-encoded-percent

Would it be possible to add an option like --max-bitrate to be used instead of --max-encoded-percent ? I've found a limit on what's remotely streamable without buffering so my constraint is actually max bitrate (probably not only mine) and I have to convert that manually to --max-encoded-percent.

+1 from me.
For now the workaround would be to do the maths (e.g. a script that reads the input video bitrate and divides it by the desired bitrate to get the percentage).
For reference, if anyone needs the command, this is how to reliably (read: not using metadata) get video bitrate:
ffmpeg -loglevel error -stats -i INPUT -map 0:v:0 -c copy -f matroska NUL
This will demux the video stream and print the stats including bitrate. Linux users should replace NUL with /dev/null.

ab-av1 is focused on crf style single pass encoding. The encoder may support setting a max bitrate but exactly how it works may vary.
The default svt-av1 encoder does seem to support this so you can try using, e.g. --enc maxrate=10000k.

I guess I didn't describe it so well. Yes it would be single pass crf encoding but instead of giving --max-encoded-percent one could give average target bitrate for the converted file and the program internally calculates --max-encoded percent as average-target-bitrate / average-source-bitrate .

ab-av1 is focused on crf style single pass encoding. The encoder may support setting a max bitrate but exactly how it works may vary.
The default svt-av1 encoder does seem to support this so you can try using, e.g. --enc maxrate=10000k.

Well ab-av1 already supports bitrate estimation, so all it needs is an option to target that bitrate instead of VMAF.

Ok if it's just about entering a bitrate version of --max-encoded-percent, ie --max-encoded-bitrate for the crf-search then the problem is simply measuring the bitrate of the encoded samples in a reliable way. This will have the same problem as max-encoded-percent, in that it is a prediction of the size/bitrate based on the samples and this can be a bit worse than the prediction of quality based on samples.
We already do an ffprobe of the encoded samples, which returns a bitrate. So we can use that and fail if it is missing.
This could also be confused with an encoder max bitrate, as I did. But that can probably be solved with good docs on the new argument.

Ok if it's just about entering a bitrate version of --max-encoded-percent, ie --max-encoded-bitrate for the crf-search then the problem is simply measuring the bitrate of the encoded samples in a reliable way. This will have the same problem as max-encoded-percent, in that it is a prediction of the size/bitrate based on the samples and this can be a bit worse than the prediction of quality based on samples.
We already do an ffprobe of the encoded samples, which returns a bitrate. So we can use that and fail if it is missing.
This could also be confused with an encoder max bitrate, as I did. But that can probably be solved with good docs on the new argument.

Yes, this is what I meant - bitrate version of --max-encoded-percent for crg-search.


Update link to snakemake

Link to snakemake's readthedocs.io instead of bitbucket

Thanks @andrewsanchez!


Added the functions for horizontal stress/ellipse fitting/breakoutpick

Where're we at here? Looks like you fixed the merge conflicts and naming problems @ArnaudCrl? Did you want another review?

I think all is good, tests are passing. We can merge the PR.


Kibana readinessProbe fails when server.ssl.enabled=true

The readinessProbe only appears to target HTTP, not HTTPS.

I'm working on a patch for this, hopefully will have it ready this week.


[sysrst_ctrl] Add sysrst_ctrl agent

Signed-off-by: Madhuri.Patel<EMAIL_ADDRESS>

Sysrst_controller only has bunch of wires as input and output. They don't follow any specific protocol. Can we simply make do with an interface instead?
interface sysrst_ctrl_if;
  logic pwrb_in_i;
  ...

endinterface

Sysrst_controller only has bunch of wires as input and output. They don't follow any specific protocol. Can we simply make do with an interface instead?
interface sysrst_ctrl_if;
  logic pwrb_in_i;
  ...

endinterface

IMO an agent is not needed - you can use this interface to directly drive inputs and sample outputs.

As sysrst_ctrl_agent is not needed, we are closing this PR.


INFORMATION_SCHEMA views aren't recognized in SQL Server

Description
When trying to use INFORMATION_SCHEMA in SQL Server, the views are marked as not found.  Such as:
SELECT * FROM INFORMATION_SCHEMA.ROUTINES
I get a message Table INFORMATION_SCHEMA.ROUTINES not found, like:
SELECT *
Table INFORMATION_SCHEMA.ROUTINES not found
FROM INFORMATION_SCHEMA.ROUTINES
If I just have
SELECT *
FROM INFORMATION_SCHEMA
and don't type fast enough, I get
Table INFORMATION_SCHEMA not found
The new analysis is nice, and it's getting better!, but still has some issues.
dbeaver-diagnostic-info-1725285105290.zip
DBeaver Version
Community edition 24.2.0
Operating System
Windows 10
Database and driver
Microsoft JDBC Driver for SQL Server
12.8.0.jre11
Steps to reproduce

Connect to SQL Server
Type in

SELECT *
FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE
and wait for the error.
Additional context
No response

Hi, @Tix2garr
Thank you for bug report. For now I can't reproduce the issue. However, I see a lot of errors saying that connection is broken. Could you check if this bug is stable reproducible for you to check if it's related to the connection state?

Thanks for the report.
The issue is reproducible for me after reconnecting and the script reopen
https://github.com/user-attachments/assets/13e43a85-fb15-437a-8d37-9ad2e1e671c0


Trouble running manual.py

Enter path to file:
#: "G:\My Drive\TV\American Dad!\Season 16\American Dad S16E21 Downtown (1080p AMZN Webrip x265 10bit EAC3 5.1 - Goki)[TAoE].mkv"
isValidSource unexpectedly threw an exception, returning None
Traceback (most recent call last):
  File "C:\MP4 Automator\resources\mediaprocessor.py", line 266, in isValidSource
    info = self.converter.probe(inputfile)
  File "C:\MP4 Automator\converter\__init__.py", line 316, in probe
    return self.ffmpeg.probe(fname, posters_as_video)
  File "C:\MP4 Automator\converter\ffmpeg.py", line 551, in probe
    stdout_data = self._get_stdout([
  File "C:\MP4 Automator\converter\ffmpeg.py", line 515, in _get_stdout
    p = self._spawn(cmds)
  File "C:\MP4 Automator\converter\ffmpeg.py", line 508, in _spawn
    return Popen(cmds, shell=False, stdin=PIPE, stdout=PIPE, stderr=PIPE,
  File "C:\Python38\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Python38\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
PermissionError: [WinError 5] Access is denied
File G:\My Drive\TV\American Dad!\Season 16\American Dad S16E21 Downtown (1080p AMZN Webrip x265 10bit EAC3 5.1 - Goki)[TAoE].mkv is not in a valid format

PermissionError: [WinError 5] Access is denied
You've got a permission problem either with ffprobe/ffmpeg or with the file you're trying to read

Any Idea what can cause this? Unsure why I'd be getting a permission error

... a permission error causes this
Make sure ffmpeg/ffprobe have execute permissions, make sure the user you're running the command from have permissions to access those two executable files and had read/write access to the directory you're working in (in this case american dad)

I have execute permission on ffmpeg/ffprobe and full read/write access to the working directory

What flags should be in the .ini file regarding permissions?

I'd say based on the error is seems like ffprobe probably isn't able to execute
Do you have ffprobe stored somewhere that needs admin access and you're trying to run it through a non-admin command prompt?
I don't' think the ini permissions are the problem (those are for the output files) and it hasn't gotten that far
Start posting some specifics like what user you're executing from, where you ffmpeg/ffprobe binaries are stored, and some screenshots of your permission settings

I found an error in my \setup\autoprocess.ini - regarding full path to ffmpeg and ffprobe executables, Fixed that, now running into another error
Enter path to file:
#: C:\Users\Jarrad\Desktop\Smallville.S05E15.720p.WEB-DL.AAC2.0.H.264-BTN.mkv
Traceback (most recent call last):
  File "C:\MP4 Automator\manual.py", line 410, in <module>
    main()
  File "C:\MP4 Automator\manual.py", line 398, in main
    tagdata = getInfo(path, silent=silent, tmdbid=args.get('tmdbid'), tvdbid=args.get('tvdbid'), imdbid=args.get('imdbid'), season=args.get('season'), episode=args.get('episode'))
  File "C:\MP4 Automator\manual.py", line 113, in getInfo
    tagdata = guessInfo(fileName, tvdbid=tvdbid, tmdbid=tmdbid, imdbid=imdbid, season=season, episode=episode)
  File "C:\MP4 Automator\manual.py", line 158, in guessInfo
    guess = guessit.guessit(fileName)
AttributeError: module 'guessit' has no attribute 'guessit'

I have guessit installed

Updated guessit - can disregard this thread - all working.


EID-1487 Send Istio headers with ProxyNodeJsonClient requests

Create an IstioHeaderStorage class that uses ThreadLocal to store Istio headers.  Use a request filter to capture the Istio headers on the way in.  Update ProxyNodeJsonClient so that it has access to an instance of IstioHeaderStorage for retrieving the current request’s Istio headers to pass on.  Append Istio headers to response on the way out and clear the headers out of the thread local.
With added whitespace because failed merges.

Already merged in another PR


e2e test for cronjob source

Expected Behavior
have a e2e test for the cronjob source
Actual Behavior
no test for this

cronjob source has been moved to eventing repo, and there is an e2e test for it - https://github.com/knative/eventing/blob/master/test/e2e/source_cron_job_test.go
/close