Spec for .nvmrc files?

Coming over from https://github.com/prettier/prettier/issues/15898 -> https://github.com/un-ts/prettier/issues/340: I'd like to auto-format .nvmrc files (i.e. just remove trailing whitespace). It'd be helpful for any Prettier plugin that does this to be able to refer to a spec for .nvmrc files. Is there anything like a specification that can be stated?
For now, I'm just going with "it's the same output as node -v" which ... is a little informal.

No, there’s no spec (just current behavior) and writing one without extreme care would preclude future enhancements, so I’m hesitant.
The next version of nvm will ignore trailing lines (ie, only regard the first line) but I’d like to extend it in the future so it can contain additional information.
The first line can contain any “version-ish”, iow, anything nvm use or nvm install or nvm exec etc will accept, which is much wider than “node -v”.

I suppose it's worth writing something up just do nobody does it wrong :-) for example anything that claims to support nvmrc but only supports version numbers, doesn't support nvmrc.
I have no idea what that kind of spec would look like, though. Any thoughts?

My hunch as someone who's never contributed to this repository or thought deeply about the space (😄) is that something short and to the point would work, provided it explicitly calls out what areas aren't yet solidified.
Using RFC 2199's nomenclature:

.nvmrc files MUST contain an npm-style semver version string, such as 1, 1.2, or 1.3. This version string MUST be the first set of characters in the file, excluding an optional v.
.nvmrc files MAY prefix their version string with a v.
.nvmrc files MAY include a blank line after the version string.
.nvmrc files SHOULD NOT include trailing whitespace around the version string. Doing so is undefined behavior not covered by this specification.
.nvmrc files SHOULD NOT include additional lines after the version string. Doing so is undefined behavior not covered by this specification.

...I've never written a technical spec for a file format or syntax before. 🙂

Makes sense. I'll give it a shot over the next week or two, and will probably also ship an npm package to validate the file.

My hunch as someone who's never contributed to this repository or thought deeply about the space (😄) is that something short and to the point would work, provided it explicitly calls out what areas aren't yet solidified.
Using RFC 2199's nomenclature:
* `.nvmrc` files _MUST_ contain an npm-style semver version string, such as `1`, `1.2`, or `1.2.3`. This version string _MUST_ be the first set of characters in the file, excluding an optional `v`.

* `.nvmrc` files _MAY_ prefix their version string with a `v`.

* `.nvmrc` files _MAY_ include a blank line after the version string.

* `.nvmrc` files _SHOULD NOT_ include trailing whitespace around the version string. Doing so is undefined behavior not covered by this specification.

* `.nvmrc` files _SHOULD NOT_ include additional lines after the version string. Doing so is undefined behavior not covered by this specification.

...I've never written a technical spec for a file format or syntax before. 🙂

Why would i be disallowed to use
lts/iron

in .nvmrc?
It is a valid version what nvm ls-remote gives me, and it works without pain.

Yes, i would make sure anything nvm supports is allowed, which includes custom aliases.

Alrighty, npx nvmrc will validate the file in the current directory.
Officially, if this tool says it's valid, then your nvmrc file won't break in the future. If it says it's invalid, you're bad and you should feel bad, and you should fix it.
Notably, this does not validate the content - iow, if you put foo in there, this tool just assumes that foo is a valid alias. nvm itself will error at runtime here.

Swell, thanks!


Fix year in release notes

@alexszasz : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@alexszasz Thanks for your pull request.
The heading was updated in https://github.com/MicrosoftDocs/sql-docs/pull/6043, but not the ms.date value. So, we'll merge this PR, too. Thanks.


Only listen on local interface in the WebSocketAPI

Currently, the created WebSocket server listens on all interfaces, which is a security concern. Listen only on the local interface by default.

Regarding your PR

Currently, the created WebSocket server listens on all interfaces

This is by design, we want to be able to use the PlaybackAPI on the local network

which is a security concern

The WebSocketAPI is off by default, if you turn it on you should be aware that you are enabled remote access to your player.  The message in the settings window informs you of this.

Listen only on the local interface by default.

This would render the API uselss
Regarding Security
The WebSocketAPI provides read only access by default, if an applications wants to control the player it has to go through an authentication sequence which involves the user manually inputting a random 4 digit number which is generated inside the player.
More information on this authentication process can be found in the WebSocketAPI Docs

Ok, your reasoning is sound. However, how about incorporating the patch, but putting <IP_ADDRESS> as the default? This way everything continues to work as before, but someone that does not wish GPMDP to listen on all interfaces can control it using the GPMDP_API_HOST environment variable.
Even though there is the 4-digit PIN security measure, it might be undesirable to provide even read-only access to the local network, while still wanting control from the local machine (or only from a specific interface). This could also be achieved by configuring a firewall, but it is simpler to just not listen on any extra interfaces.
Of course, I can always only patch it locally, but maybe someone else wishes for this feature also.

@thsnr That sounds like a fair enough request.
If you change the default to be '<IP_ADDRESS>' then I would accept the PR.  Please ensure that you use single quotes for the string (It's a linting thing)

You've got to be careful when changing code in a project where you don't understand the build tooling. We inline replace process.env.XXXXX with the build machines environment variables. If we want to use the client's environment variables we have to use this syntax.

Ah, okay. The linter was whining at me, but this explains why that line was disabled. My bad, fixed now.

global.API_HOST
Is not required, we only use global.API_PORT for testing purposes.

Removed.


SQLITE support

I'd like to convert my sqlite db to a typescript model.
When 'll this be possible?
Thanks in advance!

Probably 4-8 weeks. It's hard to tell how much free time I will be able to spend on developing this project and if some more important issues shows up in the meantime.
I didn't use SQLite before, but it looks pragma statements should be enough to generate model from existing database.

Implemented in<EMAIL_ADDRESS>


[Bug]: IFormFile & FromForm swagger UI generates bad request

Describe the bug
in version 6.5 of Swashbuckle.AspNetCore the swashbuckle UI generates a request like the following
------WebKitFormBoundarytyM4fpDlZaqBRSR9
Content-Disposition: form-data; name="file"; filename="PMS-Project Core-250624-120110.pdf"
Content-Type: application/pdf

------WebKitFormBoundarytyM4fpDlZaqBRSR9
Content-Disposition: form-data; name="payload"

{
  "references": [
    {
      "key": "tes",
      "value": "aw"
    }
  ]
}
------WebKitFormBoundarytyM4fpDlZaqBRSR9--

however upgrading to 6.6.1 or higher (have upgraded to 6.7.0) the UI generates a request like the following:
------WebKitFormBoundary5vvdQ6zjNU7A7ABN
Content-Disposition: form-data; name="file"; filename="PMS-Project Core-250624-120110.pdf"
Content-Type: application/pdf

------WebKitFormBoundary5vvdQ6zjNU7A7ABN
Content-Disposition: form-data; name="payload"; filename="blob"
Content-Type: application/json

{"references":[{"key":"tes","value":"aa"}]}
------WebKitFormBoundary5vvdQ6zjNU7A7ABN--

as you can see the payload formdata has been tagged as a file. the only difference between the swagger definition between the 2 versions (6.5 and 6.7) is that the response codes changes from "Ok" to "Success" but the requests are very different.
the swagger definition looks like the following.
{
  "openapi": "3.0.1",
  "info": {
    "title": "Documents",
    "version": "1.0"
  },
  "paths": {
    "/File/{container}/{folder}": {
      "post": {
        "tags": [
          "Upload"
        ],
        "operationId": "/Upload",
        "parameters": [
          {
            "name": "container",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "file",
                  "payload"
                ],
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "format": "binary"
                  },
                  "payload": {
                    "$ref": "#/components/schemas/NewDocument"
                  }
                }
              },
              "encoding": {
                "payload": {
                  "contentType": "application/json"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "code": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewDocument": {
        "type": "object",
        "properties": {
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Reference"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Reference": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}

Expected behavior
request to be the same from the swashbuckle UI for the same swagger definition and generate a form where not specified as binary.
Actual behavior
is sending form data as a file.
Steps to reproduce
pass the swagger definition defined in "Describe the bug" to swashbuckle UI in version 6.5. look at the generated request from developer tools and compare to the request in version 6.7 or swashbuckle.
Exception(s) (if any)
No response
Swashbuckle.AspNetCore version
6.7.0
.NET Version
net8.0
Anything else?
No response

If the generated OpenAPI document is essentially the same between the two versions, then this must be an upstream issue with swagger-ui.
You should report the issue in the swagger-api/swagger-ui repo, and we will pick up any fix in a future version.


Fix input showing "invalid date" when startDate/endDate is null

+1

+!

+1

After @shanesmith update everything works fine.
Can someone consider to merge this updates ? I tested on single date picker. Will try to test also on date range.
Thanks @shanesmith !

Any idea when this will be getting merged in? @krtek

Merged, thank you!

Thanks for merging!

Thanks

Input doesn't update after date picked (singleDatePicker: true). I'm not sure, I think it's because of removing this https://github.com/fragaria/angular-daterangepicker/commit/0a31db8e3953b9666eed839cc2754ce829f46fd3#diff-efa1315bffa7dd725a0f8646ffd35803L70

@asabirov thanks for letting me know, my fault, fixed in #133


fix(routes): add Accept request header handling

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 21 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 99.148%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
430

Relevant Lines:
433

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 21 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 99.148%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
430

Relevant Lines:
433

💛  - Coveralls


How to avoid circular dependency using `connectionDefini

I have a circular dependency in my Connection definitions
export default connectionDefinitions({
  name: 'Product',
  nodeType: ProductType,
  connectionFields: {
    count: {
      type: GraphQLInt,
    }
  }
});

ProductType is undefined in this case
how can I use a thunk to solve this?

Check out swapi-graphql, they're using a function to resolve types by name:
https://github.com/graphql/swapi-graphql/blob/master/src/schema/relayNode.js#L24

Yep! Use functions that return the set of fields to correct resolve circular dependencies

tks


For barebones Java recipe to work on Ubuntu, it is necessary to add an apt repo

Cookbook version
I've run into this issue on 2.4.1 as well as 2.6
Chef-client version
12.12.15
Platform Details
OSX 10.11.6
Test Kitchen + kitchen-vagrant
Scenario:
Use the barebones Java recipe to install JDK 7 on an Ubuntu VM
Steps to Reproduce:

$ kitchen init inside of a project that wraps this cookbook
Make sure that test kitchen's run list includes a recipe that includes jenkins::java
$ kitchen converge default-ubuntu-1404 (have also tried with the default-ubuntu-1604 that comes with the kitchen setup included in chef generate cookbook)

Expected Result:
Install JDK 7 before installing Jenkins
Actual Result:
 Error executing action 'install' on resource 'apt_package[openjdk-7-jdk]' followed by a bunch of 404s in the stack trace
Basically in order for apt to install recent versions of Jenkins, you have to add an apt repository. In my own projects I've just used the repo mentioned in these installation instructions taken from the Jenkins wiki):
wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

It looks like this repo is capable of double-duty since it provides what is necessary for JDK 7 and is also necessary for recent versions of Jenkins itself.
If this issue is considered valid by the maintainers, I'd be happy to submit a pull request to include this step to get the barebones Java recipe working with Ubuntu.

closed this to better understand the issue (specifically the relationship of the Jenkins source repo to the Java problem) before reopening

I'm in the process of removing all Java installation from this cookbook. Java really needs to be handled by the user with the Java cookbook. That allows for the user to specify openJDK vs. Oracle JDK and provide specific versions that match their setup.


Add E2E tests

Details
This task involves adding end-to-end (E2E) tests to the Nauticus project using the ginkgo framework and testenv package. The tests will be created using kubebuilder and will be integrated into the project's Github Actions workflow to run automatically with each pull request and commit to the repository. The goal of these E2E tests is to ensure the overall functionality and integration of the Nauticus project in a real-world Kubernetes environment. The test cases will cover various scenarios and use cases of the project's features, such as creating, updating, and deleting spaces, and will verify the expected behavior and output. This task will also include setting up the necessary configuration and dependencies for the tests to run successfully.

will take that in charge.
cheers


add snippet-style variables to new query template

Describe the solution you'd like
Allow a user to add snippet style variables such as date, directory, or SQL-specific variables to the new query template

Thank you for raising an issue for query-editor-boost
This isn't my full time job, but I hope to get back to you soon. I really appreciate feedback on issues and new feature requests!


Please add support for cursor: pointer

Thank you for this incredible tool, it's very good. However, it doesn't display the hand cursor when a button or div in CSS has the property cursor: pointer. I hope this gets fixed soon, and if there isn't 100% compatibility with CSS or JS yet, I hope you add it so that it's fully functional, thanks

Thanks for reaching out. This is a known limitation of our browser preview. What you see in VS Code is only a stream of what the browser renders. So it's expected that some things would not be supported, and cursor:pointer is one of them.
Please see https://github.com/MicrosoftDocs/edge-developer/issues/3075 for this particular problem, and other limitations.
Closing this one as a duplicate. Thanks again.


Detailed steps of Android studio debugging application process

Hi ：
Please tell me how to use it  Detailed steps of Android studio debugging application process

You already opened an issue for that: #976.


[TEVA-2433] Application review bugs

Jira ticket URL
https://dfedigital.atlassian.net/browse/TEVA-2433
Changes in this PR

Retain checkbox selection on job application review page after invalid form submission
(Freebie) Jobseekers can only review draft job applications

Product sign off

[ ] Looks good!

Review app deployed to https://teaching-vacancies-review-pr-3325.london.cloudapps.digital

Boxes remain checked, ticket good to go.


Controlled DropdownMenuSub is not working

Current Behavior
I'm trying to control the DropdownMenuSub component, so that the secondary dropdown is opened on click, not on hover. Setting the controlled props open and onOpenChange does not seem to have any effect.
Expected Behavior
I'd expect either <DropdownMenuSub onOpenChange={() => false}> and/or <DropdownMenuSub open={false}> to prevent the secondary menu from opening.
(As a next step, I'd like to make the secondary menu open on click events, not on hover events. Guidance on the best way to do that would also be appreciated.)
Steps To Reproduce
The following does not prevent the secondary dropdown menu from opening:
<DropdownMenu>
    <DropdownMenuTrigger>Open menu</DropdownMenuTrigger>
    <DropdownMenuContent>
      <DropdownMenuSub open={false} onOpenChange={() => false}>
        <DropdownMenuSubTrigger>Option 1</DropdownMenuSubTrigger>
        <DropdownMenuSubContent>
          <DropdownMenuItem>Submenu option 1</DropdownMenuItem>
          <DropdownMenuItem>Submenu option 2</DropdownMenuItem>
        </DropdownMenuSubContent>
      </DropdownMenuSub>
      <DropdownMenuItem>Option 2</DropdownMenuItem>
    </DropdownMenuContent>
  </DropdownMenu>

Link to Reproduction / Stackblitz (reproduction template)
No response
More Information
No response

Moving this to bits-ui.


Add the ability to "time" events to show how time is being spent

The ability to start/stop a timer and have the details recorded to a stream would be great for time/task tracking

Could you expand on that idea a bit please? Can you give me an example of how this would work?

Sure, so I'm thinking about an integrated time tracker where I type what I'm doing and click "start" do the task and click "stop", and it logs something like
1300hrs - started watching cat videos on YouTube
1315hrs - stopped watching cat videos on YouTube
1400hrs - meeting at work
1600hrs - meeting finished
This would allow for tracking of tasks and give the ability to plot heart rate against task undertaken or time spent in meetings vs productive work done
Not sure if that makes it clearer or not?

Something like https://toggl.com/best-free-time-tracking-app-for-android with connectordb sync

I was planning on adding an ML-based calendar for the 0.4 release of ConnectorDB, but I'll see if this type of event tracker can be implemented directly as a stream in 0.3.
Given the stuff that still needs to be done for 0.3.0, I'll put this onto the list for 0.3.1

As a side note, the new app UI is functional in git right now. If you have experience with react native, or are interested in trying it out, it would be really helpful if you could create a mockup of the UI for this tracking as another tab in the new UI. UI code is in the src directory
If you're not a fan of android dev (or just busy), a drawing of what the ideal ui for this would look like would also be useful!

No worries, and there's no rush, I'm just logging these ideas as Ihave them otherwise I'll forget! :)
Sent from my Samsung device
-------- Original message --------
From: Daniel Kumor<EMAIL_ADDRESS>Date: 20/02/2017  20:47  (GMT+00:00)
To: connectordb/connectordb-android<EMAIL_ADDRESS>Cc: Matthew Macdonald-Wallace<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [connectordb/connectordb-android] Add the ability to "time"
events to show how time is being spent (#4)
As a side note, the new app UI is functional in git right now. If you have experience with react native, or are interested in trying it out, it would be really helpful if you could create a mockup of the UI for this tracking as another tab in the new UI. UI code is in the src directory
If you're not a fan of android dev (or just busy), a drawing of what the ideal ui for this would look like would also be useful!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/connectordb/connectordb-android","title":"connectordb/connectordb-android","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/connectordb/connectordb-android"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dkumor in #4: As a side note, the new app UI is functional in git right now. If you have experience with react native, or are interested in trying it out, it would be really helpful if you could create a mockup of the UI for this tracking as another tab in the new UI. UI code is in the src directory\r\n\r\nIf you're not a fan of android dev (or just busy), a drawing of what the ideal ui for this would look like would also be useful!"}],"action":{"name":"View Issue","url":"https://github.com/connectordb/connectordb-android/issues/4#issuecomment-281177849"}}}

OK, so I'm not a UI/UX guy, but this is broadly the kind of thing I was thinking.
The "Name" Field becomes the name of the stream and can be selected from a dropdown or typed directly in, timings with the same name are added to the same stream.
Much like the manual input, the name must be lowercase, but there is a description for something more "human readable".
I'd suggest that the JSON schema for timers is something like the following:
{
    'event_name': '<STRING>',
    'event_start_datetime': '<DATETIME>',
    'event_stop_datetime': '<DATETIME>',
    'event_start_location': {
        'latitude': '<FLOAT>',
        'longitude': '<FLOAT>'
    },
    'event_stop_location': {
        'latitude': '<FLOAT>',
        'longitude': '<FLOAT>'
    }
}

Obviously if you already have a native lat/long format then use that instead of the FLOAT! :)

Thanks! The data probably wouldn't contain GPS coordinates, since those are already gathered by your phone, and so are redundant (you can even see a map of where you were in the connectordb interface). Other than that, it looks like a very reasonable proposal. I'll look into the details of what it would take to implement something like this for 0.3.1.

Makes sense, I'm all for de-duplication of data! :D
Thanks :)


Windows application icon isn't theme friendly

VS Code 1.17.0
Icon background doesn't update based on theme. See attached photo

For reference: #33362

Yeah, as designed. We did not want to use the default colors here to prevent this from happening:

Hmmm, but you could set the background behind the icon and let the remainder of the tile match the theme.  That way it fits with the way Windows works (and most other icons comply with).  On my system, it's only those two VS icons plus Office that don't work with the theme I've selected.


Greencat library usage crashes the compiler

Hi, it seems I can no longer use https://github.com/alexeieleusis/greencat/ with dart, the compiler crashes when I use it. Right now I am not sure if it is the compiler at fault or if it trips on some problematic code.
Here is my code which produces the error: https://github.com/sturmf/regatta-angular2/tree/REG-51-switch-to-redux-arc
My dart SDK version is Dart VM version: 1.21.1 on Ubuntu Linux 16.04.
The compiler crashed when compiling this element.
Store.createStore(Reducer<S, A> reducer, {S initialState, Function enhancer})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The compiler is broken.
When compiling the above element, the compiler crashed. It is not
possible to tell if this is caused by a problem in your program or
not. Regardless, the compiler should not crash.
The Dart team would greatly appreciate if you would take a moment to
report this problem at http://dartbug.com/new.
Please include the following information:

the name and version of your operating system,

the Dart SDK build number (build number could not be determined), and

the entire message you see here (including the full stack trace
below as well as the source location above).

Build completed with 2 errors.

You seem to be using https://github.com/dart-lang/compiler_unsupported have you tried with stable dart2js?

@alexeieleusis thanks for that info, I never saw that it printed compiler_unsupported! I wonder how that gets pulled in, I am using  dart_to_js_script_rewriter: ^1.0.1 which I thought would be fine. Researching that now.

Hmm everything is now ported to the latest version. For completeness. This is my pubspec.yaml. Anything wrong with it that would pull in the unsupported compiler?
name: frontend
version: 0.0.1
description: Regatta frontend
author:
homepage: https://regatta.atlassian.net
documentation:

environment:
  sdk: '>=1.19.0 <2.0.0'

dependencies:
  angular2: 3.0.0-alpha
  angular2_components: 0.3.1-alpha
  reflectable: 1.0.1
  sass_transformer: 0.1.2+1
  greencat: 0.0.2
  browser: 0.10.0+2
  http: 0.11.3+9
  stream_transformers: 0.3.0+3

dev_dependencies:
  test: 0.12.19
  dart_to_js_script_rewriter: 1.0.2
  dart_style: 0.2.16
  pageloader: 2.2.5
  mockito: 1.0.1
  angular_test: 1.0.0-alpha+5

transformers:
  - angular2/transform/codegen:
      platform_directives:
        - 'package:angular2/common.dart#COMMON_DIRECTIVES'
      platform_pipes:
        - 'package:angular2/common.dart#COMMON_PIPES'
      entry_points: web/main.dart
      resolved_identifiers:
        BrowserClient: 'package:http/browser_client.dart'
        Client: 'package:http/http.dart'
  - angular2/transform/reflection_remover:
      $include:
        - test/**_test.dart
        - web/main.dart
  #- reflectable:
  #    entry_points:
  #      - web/main.dart
  #    formatted: true
  - test/pub_serve:
      $include: test/**_test.dart
  - dart_to_js_script_rewriter
  - sass_transformer

@sturmf - you can ignore the compiler_unsupported bit - that's just because pub invokes dart2js by importing it using this package. It is however the same dart2js that got shipped with your SDK, as far as I know.
If you are really curious, you can confirm this by excluding dart2js from pub-build and running dart2js manually (e.g. by adding a transformer that skips dart2js:
- $dart2js:
    $include: []  # nothing goes through dart2js

), running pub build --mode debug to generate dart files in the build folder, and finally calling dart2js on the generated test/event_list_test.dart.browser_test.dart file by hand.
@rakudrama - looks like an issue related to our RTI encoding
https://github.com/dart-lang/sdk/blob/1.21.1/pkg/compiler/lib/src/ssa/codegen.dart#L2995

Can you attach test/event_list_test.dart.browser_test.dart ?

Hmm I didn't figure out how to attach a file so here it is inline:
// Because Angular is using dart:html, we need these tests to run on an actual
// browser. This means that it should be run with `-p dartium` or `-p chrome`.
@Tags(const ['aot'])
@TestOn('browser')
import 'package:angular2/angular2.dart';
import 'package:angular_test/angular_test.dart';
import 'package:test/test.dart';

import 'package:angular2/router.dart';
import 'package:mockito/mockito_no_mirrors.dart';

import 'package:frontend/store/regatta_store.dart';
import 'package:frontend/components/event_list_component/event_list_component.dart';
import 'package:frontend/components/event_list_component/event_list_component_po.dart';
import 'package:frontend/models/event.dart';

// We have to wrap our component in a slim wrapper to resolve it with getInstance later
@Component(selector: 'test', directives: const [EventListComponent], template: '<my-event-list></my-event-list>')
class EventListTestComponent {}

@AngularEntrypoint()
void main() {
  tearDown(disposeAnyRunningTest);

  test('EventListComponent list contains dummy event', () async {
    final router = new MockRouter();
    final regattaStore = new MockRegattaStore();

    when(regattaStore.state.events).thenReturn({1: new Event(1, 'dummy url', 'Dummy Event')});

    final testBed = new NgTestBed<EventListTestComponent>().addProviders([
      provide(Router, useValue: router),
      provide(RegattaStore, useValue: regattaStore),
    ]);

    final fixture = await testBed.create();

    // Get a handle to the list.
    final pageObject = await fixture.resolvePageObject/*<EventListPO>*/(
      EventListPO,
    );

    final items = await pageObject.items;
    await expect(items, hasLength(1));
    await expect(await items[0].visibleText, equals('Dummy Event'));

    regattaStore.close();
  });
}

And this is the way I run it. Call pub serve in one terminal and pub run test -p dartium --pub-serve=8081

The source is also available here: https://github.com/sturmf/regatta-angular2/blob/REG-51-switch-to-redux-arc/frontend/test/event_list_test.dart

shouldn't the sass_transformer come before angular2?
Angular2 depends on the CSS files to exist.

@sigmundch Hmm I tried to create the transpiled file. But since it only gets created during the test run I didn't manage to get hold of it. Any ideas how I could get at it? What would the pubspec look like and do I do pub serve --mode debug or more?

Mmm - good question, not sure, is the error above something you see in your pub-serve terminal or in your pub-run-test terminal?
If it is in the pub-serve terminal, then here is what you can do:

update pubspec to skip dart2js like this:

name: frontend
version: 0.0.1
description: Regatta frontend
author:
homepage: https://regatta.atlassian.net
documentation:

environment:
  sdk: '>=1.19.0 <2.0.0'

dependencies:
  angular2: 3.0.0-alpha
  angular2_components: 0.3.1-alpha
  reflectable: 1.0.1
  sass_transformer: 0.1.2+1
  greencat: 0.0.2
  browser: 0.10.0+2
  http: 0.11.3+9
  stream_transformers: 0.3.0+3

dev_dependencies:
  test: 0.12.19
  dart_to_js_script_rewriter: 1.0.2
  dart_style: 0.2.16
  pageloader: 2.2.5
  mockito: 1.0.1
  angular_test: 1.0.0-alpha+5

transformers:
  - angular2/transform/codegen:
      platform_directives:
        - 'package:angular2/common.dart#COMMON_DIRECTIVES'
      platform_pipes:
        - 'package:angular2/common.dart#COMMON_PIPES'
      entry_points: web/main.dart
      resolved_identifiers:
        BrowserClient: 'package:http/browser_client.dart'
        Client: 'package:http/http.dart'
  - angular2/transform/reflection_remover:
      $include:
        - test/**_test.dart
        - web/main.dart
  #- reflectable:
  #    entry_points:
  #      - web/main.dart
  #    formatted: true
  - test/pub_serve:
      $include: test/**_test.dart
  - dart_to_js_script_rewriter
  - sass_transformer

  ### extra transformer to skip dart2js:
  - $dart2js:
      $include: []  # nothing goes through dart2js
  ###

Instead of calling pub-serve, you can call pub-build in debug mode on the test folder:
pub build test --mode=debug

You should be able to see the file in build/test/. And a stand-alone version of dart2js will likely crash too:
dart2js build/test/event_list_test.dart.browser_test.dart

Ok - turns out we can reproduce this even if we compile the test without running any transformers. It might be somethign that only comes up because of the use of dart:mirrors though (I noticed that the transformed program still contains calls to mirrors too).
Here is a repro with your current project - I yet have to reduce this further to a simple test case:
git clone git@github.com:sturmf/regatta-angular2.git
pub get
dart2js test/event_list_test.dart

@rakudrama - here is a simpler repro, it still pulls the greencat dependency, but it's much smaller:
pubspec.yaml:
name: repro
dependencies:
  greencat: any

a.dart:
import 'dart:mirrors';
import 'package:greencat/greencat.dart';

void main() {
  reflectClass(Store);
}

repro:
pub get
dart2js a.dart

And here is a standalone repro, with no dependencies:
import 'dart:mirrors';

typedef void F<T>(T value);
typedef F<T> Converter<T>(F<T> function);
typedef Converter<T> ConvertFactory<T>(int input);

class B<T> {
  final field = <ConvertFactory<T>>[];
}

void main() {
  reflectClass(B);
}

Standalone repro without mirrors:
typedef void F<T>(T value);
typedef F<U> Converter<U>(F<U> function);
typedef Converter<V> ConvertFactory<V>(int input);

class B<W> {
  final field = <ConvertFactory<W>>[];
  B(){return;return;}
}

void main() {
  print(new B<int>().field.runtimeType);
}

The crash is because the type parameter for the list allocation, ConvertFactory<W>, when fully expanded as a tree, contains many references to W, whereas the inputs are expected to supply all type variables in the order present in the expansion.
e.g. if I change W to String, the above program on dart2js prints:
JSArray<(int) => ((String) => void) => (String) => void>

I see two ways to fix dart2js at this point:

Keep the typedef terms in the type. This complicates the reified types but preserves typedef information.
Expand typedefs in two steps - bind parameters and then generate the replacement that might share parameters.

I'm inclined to start with the second option, since kernel does not contain typedef nodes.
@asgerf dartk fully expands the typedefs, a potentially exponential operation. What is the plan for kernel for handling type terms that are DAGs? The dartk printout for the above program duplicates the inner function type, but is it not clear of this real duplication or a shared structure printed twice. For optimization, we want to do type algebra without the exponential expansion.

@rakudrama I've written up all the boilerplate for typedefs in kernel, but the frontend and backend work is not done. It will probably land next week.

Fixed via https://github.com/dart-lang/sdk/commit/d15da7d9000381ed74520995d32168db389eaa9c


bug django2.x need use django.urls instead

from django.core.urlresolvers import reverse, reverse_lazy

Same here...

Fixed in https://github.com/brutasse/django-password-reset/pull/72.

Fixed in #72 and version 2.0


gRPC support in client side blazor

Is it possible to call gRPC APIs from client side blazor ?. It will be great if we can use gRPC from client side blazor

Anything that can be done from JS can be done from a Blazor app. You should be able to use gRPC-Web from a Blazor app through JS interop: https://grpc.io/blog/grpc-web-ga. If you get a sample of that working let us know! We'd love to add it to the Blazor Community page.

That is one of the things I want the most. There is a .NET client for gRPC being worked on: https://github.com/grpc/grpc-dotnet/tree/master/src/Grpc.NetCore.HttpClient
https://github.com/grpc/grpc-dotnet/issues/99 was opened up to track gRPC-web support, but that issue doesn't specify server or client. I'd really like to see client support that is compatible with Blazor.

Is it possible to call gRPC APIs from client side blazor ?. It will be great if we can use gRPC from client side blazor

Current versions of Blazor and gRPC as of July 20th are working for me client side.

Is it possible to call gRPC APIs from client side blazor ?. It will be great if we can use gRPC from client side blazor

Current versions of Blazor and gRPC as of July 20th are working for me client side.

.NET Core Preview#7 with using latest blazor client-side template no longer compiles 👎
Unhandled exception. Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: '....\.nuget\packages\grpc.core\1.21.0\runtimes\win\native\grpc_csharp_ext.x86.dll, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'

@aaronhudon-ts Packages with native dependencies naturally won't work in Blazor WebAssembly Apps. You can't call into native code from the browser directly.
There is a new gRPC client for .NET that is based on HttpClient which might be worth a try: Grpc.Net.Client. @shirhatti Thoughts?

@aaronhudon-ts Packages with native dependencies naturally won't work in Blazor WebAssembly Apps. You can't call into native code from the browser directly.
There is a new gRPC client for .NET that is based on HttpClient which might be worth a try: Grpc.Net.Client. @shirhatti Thoughts?

Thank you.  I fear my previous test with preview6 was using Blazor server-side.  (doh!)
Integrating Grpc.Net.Client was going well enough, but requires TargetFramework to be netstandard2.1  Getting a build failure of:
3>Fatal error in IL Linker 3>Unhandled exception. Mono.Linker.MarkException: Error processing method: 'System.IDisposable Microsoft.Extensions.Logging.Logger::BeginScope(TState)' in assembly: 'Microsoft.Extensions.Logging.dll' 3> ---> Mono.Cecil.ResolutionException: Failed to resolve Microsoft.Extensions.Logging.Abstractions.Internal.NullScope Microsoft.Extensions.Logging.Abstractions.Internal.NullScope::get_Instance()

@aaronhudon-ts Packages with native dependencies naturally won't work in Blazor WebAssembly Apps. You can't call into native code from the browser directly.
There is a new gRPC client for .NET that is based on HttpClient which might be worth a try: Grpc.Net.Client. @shirhatti Thoughts?

Thank you. I fear my previous test with preview6 was using Blazor server-side. (doh!)
Integrating Grpc.Net.Client was going well enough, but requires TargetFramework to be netstandard2.1 Getting a build failure of:
3>Fatal error in IL Linker 3>Unhandled exception. Mono.Linker.MarkException: Error processing method: 'System.IDisposable Microsoft.Extensions.Logging.Logger::BeginScope(TState)' in assembly: 'Microsoft.Extensions.Logging.dll' 3> ---> Mono.Cecil.ResolutionException: Failed to resolve Microsoft.Extensions.Logging.Abstractions.Internal.NullScope Microsoft.Extensions.Logging.Abstractions.Internal.NullScope::get_Instance()

Seems to be whack-a-mole.
After adding "Microsoft.Extensions.Logging" Version="3.0.0-preview7.19362.4", The linker produces a failure of:
Unhandled exception. Mono.Linker.MarkException: Error processing method: 'Grpc.Core.Metadata Grpc.Net.Client.Internal.GrpcCall2::GetTrailers()' in assembly: 'Grpc.Net.Client.dll'`

@aaronhudon-ts Packages with native dependencies naturally won't work in Blazor WebAssembly Apps. You can't call into native code from the browser directly.
There is a new gRPC client for .NET that is based on HttpClient which might be worth a try: Grpc.Net.Client. @shirhatti Thoughts?

@danroth27 Care to put together a proof of concept with preview7 blazor building with gRPC.NET?  I can't get it to build.
I've basically taken the blazor client template, and targeted .net standard 2.1.

<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netstandard2.1</TargetFramework>
    <LangVersion>7.3</LangVersion>
    <RazorLangVersion>3.0</RazorLangVersion>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Google.Protobuf" Version="3.8.0" />
    <PackageReference Include="Grpc.Net.Client" Version="0.1.22-pre2" />
    <PackageReference Include="Grpc.Net.ClientFactory" Version="0.1.22-pre2" />
    <PackageReference Include="Grpc.Tools" Version="1.22.0">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
    <PackageReference Include="Microsoft.AspNetCore.Blazor" Version="3.0.0-preview7.19365.7" />
    <PackageReference Include="Microsoft.AspNetCore.Blazor.Build" Version="3.0.0-preview7.19365.7" PrivateAssets="all" />
    <PackageReference Include="Microsoft.AspNetCore.Blazor.DevServer" Version="3.0.0-preview7.19365.7" PrivateAssets="all" />
    <PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.0.0-preview7.19362.4" />
    <PackageReference Include="Microsoft.Extensions.Http" Version="3.0.0-preview7.19362.4" />
    <PackageReference Include="Microsoft.Extensions.Logging" Version="3.0.0-preview7.19362.4" />
  </ItemGroup>
</Project>

Results in build failure:
1>Fatal error in IL Linker
1>Unhandled exception. Mono.Linker.MarkException: Error processing method: 'Grpc.Core.Metadata Grpc.Net.Client.Internal.GrpcCall`2::GetTrailers()' in assembly: 'Grpc.Net.Client.dll'
1> ---> Mono.Cecil.ResolutionException: Failed to resolve System.Net.Http.Headers.HttpResponseHeaders System.Net.Http.HttpResponseMessage::get_TrailingHeaders()

Browsers don't give you access to HTTP/2 framing or HTTP Response headers both of which are required for gRPC. This failure is expected. You will not be able to use gRPC from client-side blazor

@aaronhudon-ts, you could look into adding gRPC web support as @JamesNK describes in https://github.com/grpc/grpc-dotnet/issues/99#issuecomment-491447512

While I don’t quite know how grpcWeb works, I made a sample project that allows this behaviour with an “aspnet core api gateway” that allows json calls and forwards proxies them to the correct grpc server
https://github.com/razfriman/BlazorGrpc


Trim part 1 (images are arrays).

Hi @lagru and @stefanv,
I'll be submitting further updates, but here's a first pass.

I'll merge so the update shows already at: https://scikit-image.org/euroscipy24-tutorial/

The trimming makes sense to me. :)


add a parameter to configure arming grace duration

Describe problem solved by this pull request
We want prearm checks and arm authorization to be done in all cases. So, we want to disable the arming grace period.
Describe your solution
Add a parameter to choose the ariming grace duration. Default value is 5s (as hard coded before). Setting it to 0 disable the grace period.
It also allows other users to configure as wanted.

Would this make sense as a boolean instead? I actually prefer avoiding tuning knobs in these cases to keep the test matrix as small as possible.

Would this make sense as a boolean instead? I actually prefer avoiding tuning knobs in these cases to keep the test matrix as small as possible.

A boolean is ok for me.
I will change that


CLI Option To Specify Install Location

Request
I'd like a flag on the command line to specify where Bower should install the contents of a package. Unless I've missed something, the current CLI will always and only install into:
./components/

I need to be able to specify an arbitrary path. I envision something like this:
bower install <package-name> --install-location /some/arbitrary/path/I/want --no-color

Justification
The addition of this feature makes it possible to integrate Bower into other applications and build processes. I write CodeKit (http://incident57.com/codekit) and would like to bring Bower on board. But to do that, I need control over where Bower installs things. (And switching to an "active directory" before running the command is not an option in a Cocoa app.)

@atian25, yes, it works now.


Fixed the collapsedGroups value check adding support for the json representation of the null value

In some cases the collapsedGroups value is the json stringified version of the null value, the string "null".
It seems related to discussion #5457

Thanks


Configure 4 second timeout on app load...

The ability to set a custom timeout that's greater than 4 seconds.

+1 for this, it doesn't work well for rails projects served by webrick

@TylerGarlick @ikido thanks for the feedback.
I think the default timeout could be increased. What would be a good timeout? How long does webrick takes to start approximatively?

@typicode It takes 8 seconds for my average app, guess startup time depends on many factors so config option would be great. Anyway, thanks for a great tool — switched to Katon from Anvil because it allows to run all my Node and Rails apps. Missing OSX menubar item though)

I've increased the default value to ~10 seconds. This way it'll cover a wider range of servers out of the box and give a better first experience to Rails users :)
If you have servers that need more just let me know and I'll look into something configurable.
BTW, if you're doing development on other platforms than OS X, I'm working on hotel and would be interested in user feedback.


ExpressionChangedAfterItHasBeenCheckedError for custom points

Get this error, while using nguCarousel custom points: ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'ngForOf: '. Current value: 'ngForOf: 0,1'.
The same error you can see in official sandbox.
What you think about this?

@weterbogov Hi,
It is not an error. This message occurs when the data changed on change detection happens. This will be removed on production build. Will fix this later
Thanks

source => https://stackoverflow.com/questions/43375532/expressionchangedafterithasbeencheckederror-explained
I workaround this issue with that:
import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';

@Component({
    changeDetection: ChangeDetectionStrategy.OnPush
    selector: -
    ......
})

@weterbogov @angelserranoperez Also detectChanges,
import { Component, OnInit, ChangeDetectionStrategy, AfterViewInit, ChangeDetectorRef} from '@angular/core';

@Component({
    changeDetection: ChangeDetectionStrategy.OnPush
    selector: -
    ......
})
export class AppComponent Implements AfterViewInit {
   constructor(private cdr: ChangeDetectorRef) {}

   ngAfterViewInit() {
    // this is used to renderer the carousel changes
     this.cdr.detectChanges();
   }
}

I really need this fixed

We had the same problem, and we tried fixing it with the solution from @kmturley (thanks!) but we also needed to have the points set when the carousel was created, which we got around by using a setter on the view child:
On the component:
`myCarousel: NguCarousel | null = null;
@ViewChild('myCarousel')
set _myCarousel(myCarousel: NguCarousel) {
this.myCarousel = myCarousel;
setTimeout(() => {
this.points = myCarousel.pointNumbers;
});
}
carouselIsFirst = true;
carouselIsLast = false;
points: any[] = []; onCarouselMove(myCarousel: NguCarousel) {
this.carouselIsFirst = myCarousel.isFirst;
this.carouselIsLast = myCarousel.isLast;
if (myCarousel.pointNumbers) {
this.points = myCarousel.pointNumbers;
} else {
this.points = [];
}
}`
and in the html:
<ngu-carousel #myCarousel 	              class="carousel" 	              [inputs]="carouselTile" 	              [dataSource]="dataSource" 	              (onMove)="onCarouselMove($event)">

We had the same problem, and we tried fixing it with the solution from @kmturley (thanks!) but we also needed to have the points set when the carousel was created, which we got around by using a setter on the view child:
On the component:

@ViewChild('myCarousel')
set _myCarousel(myCarousel: NguCarousel) {
    this.myCarousel = myCarousel;
    setTimeout(() => {
        this.points = myCarousel.pointNumbers;
    });
}

carouselIsFirst = true;
carouselIsLast = false;
points: any[] = [];

onCarouselMove(myCarousel: NguCarousel) {
    this.carouselIsFirst = myCarousel.isFirst;
    this.carouselIsLast = myCarousel.isLast;
    if (myCarousel.pointNumbers) {
        this.points = myCarousel.pointNumbers;
    } else {
        this.points = [];
    }
}

and in the html:
<ngu-carousel #myCarousel class="carousel" [inputs]="carouselTile" [dataSource]="dataSource" (onMove)="onCarouselMove($event)">

Thanks fo making awesome carousel for me and Angular community. But please fix it, I know it's not a critical but in Angular 9 if this error happens debugger will call every time we recompile app .... It's annoying.

Hey @cqduydev,
Sure I recently started managing this, will take care of this bug in next release.

@santoshyadavdev Any updates on this issue?

@santoshyadavdev Has a new release been issued also experiencing this problem.

Hey @santoshyadavdev you got an update for us yet?


Add tutorial for TorchAudio-SQUIM pipelines

The PR adds a tutorial that demonstrates how to use pre-trained TorchAudio-SQUIM pipelines to estimate objective and subjective metric scores (PESQ, STOI, Si-SDR, MOS).

lgtm.


bbs: invalid memory address or nil pointer dereference

Hello,
we saw a problem with the bbs process on our database_z2/0 vm (all Diego apps went down for ~15min). Basically, according to monit the process was "running" but, looking at the logs, we saw the following error:
 http: panic serving $IP:$PORT: runtime error: invalid memory address or nil pointer dereference
goroutine 69969 [running]:
net/http.(*conn).serve.func1(0xc421b17c00)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:1491 +0x12a
panic(0xb6d600, 0xc420014050)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/runtime/panic.go:458 +0x243
code.cloudfoundry.org/bbs/handlers.(*EvacuationHandler).EvacuateRunningActualLRP(0xc42019ca20, 0xfc85c0, 0xc4219c5ec0, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/evacuation_handler.go:236 +0x966
code.cloudfoundry.org/bbs/handlers.(*EvacuationHandler).EvacuateRunningActualLRP-fm(0xfc85c0, 0xc4219c5e00, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/handlers.go:75 +0x5c
code.cloudfoundry.org/bbs/handlers/middleware.LogWrap.func3(0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/middleware/middleware.go:49 +0x1d5
code.cloudfoundry.org/bbs/handlers/middleware.LatencyEmitter.EmitLatency.func1(0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/middleware/middleware.go:68 +0x8c
net/http.HandlerFunc.ServeHTTP(0xc420211cc0, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:1726 +0x44
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP(0xc420026430, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/github.com/bmizerany/pat/mux.go:109 +0x5de
code.cloudfoundry.org/bbs/handlers.(*UnavailableHandler).ServeHTTP(0xc42021a720, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/unavailable_handler.go:22 +0x85
code.cloudfoundry.org/bbs/handlers.UnavailableWrap.func1(0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/unavailable_handler.go:32 +0x4d
net/http.HandlerFunc.ServeHTTP(0xc42021a740, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:1726 +0x44
code.cloudfoundry.org/bbs/handlers/middleware.RequestCountWrap.func1(0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/packages/bbs/src/code.cloudfoundry.org/bbs/handlers/middleware/middleware.go:79 +0x7a
net/http.HandlerFunc.ServeHTTP(0xc42021a760, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:1726 +0x44
net/http.serverHandler.ServeHTTP(0xc4202a2680, 0xfc44e0, 0xc42070ac30, 0xc42394f770)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:2202 +0x7d
net/http.(*conn).serve(0xc421b17c00, 0xfc5060, 0xc421edf200)
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:1579 +0x4b7
created by net/http.(*Server).Serve
        /var/vcap/data/packages/golang/65a8c296d8c2319d411165f5dc837a63b3846c7b.1-00ec6370feac3239ea93612eaa1d289ddee2c031/src/net/http/server.go:2293 +0x44d

Any idea what could have caused this?
PS: we are using CF 249 and Diego 1.2.0 on AWS and postgres as data store instead of etcd

That's weird. The $IP variables on the bbs.stderr log file are all ip of the runner vms (which are DEA vm). Why did that happen? Any idea?

The IPs written on the log are cell_z1 VMs.

@paolostivanin Taking a look at the stack trace. We are interested by what you mean when you say all Diego apps were down for 15 minutes. Were the app's routes unavailable (returning a 404), or something else?

@paolostivanin For the panic, this story has implemented a fix. That should not have caused any application downtime though.

just to be redundant, the commit that fixed this is e78a747a40de5ecdc5a9ccb5752657ed87197950 and is part of diego starting from version 1.5.2. Like @crhino I'm interested in understanding how that could've resulted in the apps going down.

Hi,
yes, we tried one app and the route was not reachable. I don't remember the error code though. We were able to solve the problem with a simple "monit restart bbs".
Context: we were migrating from an old way to deploy our landscape to a new one. The manifest did not have any difference because we wanted this migration to be a no-op. This is way this thing is very strange. When we first deployed CF 249 and Diego 1.5.3 on that landscape we didn't face any issue.
PS: I'm preparing the log of the 4 cell_z1 vms that are written inside that stacktrace

@jvshahid we are going to deploy Diego 1.6.2 next week. This means we will receive the fix! Nice :)

Here the logs for the database_z2 VM and some cell_z1 VMs that are reported inside the panic stacktrace.
bbs.zip
cell-z1-2.zip
cell-z1-3.zip
cell-z1.zip

Looking through the logs, the cell zip files do not have log lines from the 10th of Feb, they were probably rotated out.
The bbs logs didn't have an conclusive data, although there were a number of crashes that were happening after evacuation, from Fri, 10 Feb 2017 16:24:44 GMT to Fri, 10 Feb 2017 17:08:22 GMT, which says something might have been going wrong with the cells or apps. A crashing app would also explain an app no longer being reachable depending on the number of app instances. How exactly were you testing availability, just using a single app? Multiple instances?
In any case, although we don't have a complete picture of what is happening for you to get into this situation, I am glad to hear that you all are planning to deploy a version of Diego that includes the fix soon.

Ok, thanks for your help! I will close this for now, if it happens again after the update to v1.6.2, I will open a new issue!


Update aws-java-sdk-dynamodb to 1.12.715

About this PR
📦 Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.715
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #571.


Patriboz/redo sword grunt

Base PR: https://github.com/webaverse/app/pull/3674
With this PR I intend to fix the issues mentioned in the base PR above.
This includes:

refactoring animations-baker.js,
refactoring character-sfx.js,
removing metaverse_components/use.js

Replaced with https://github.com/upstreet-labs/app/pull/87/files


Support env var defaults.

This would allow, for example, a scie to opt in to a {scie.lift} override via env var. This would allow plugging in alternate URLs for ptex downloads behind corporate firewalls.

It seems like syntax could be {scie.env.<name>[=<value>]} where value supported substitution itself, e.g.: {scie.env. PTEX_CONFIG={scie.lift}}.


Using translations within html attribute

I don't get this seem to work, using Ionic2 and ng2-translate.
<ion-refresher pullingText="{{ 'Pull to refresh...' | translate }}">

Getting error:
EXCEPTION: SyntaxError: Unexpected token }

Is there a way to fix this? Thank you for all the help.

You're supposed to use your key, something like that:
<ion-refresher pullingText="{{ 'PULL' | translate }}">

And then you define the translation in your json file (or you manually) like that: "PULL": "Pull to refresh..."
In this case "PULL" is the key, and "Pull to refresh..." is your translation.

I apologise, this was an error triggered by some other issue.

@ocombe it also works with hardcoded string.

What if we have the HTML attribute tied to a component property? For example...
[title]="{{ 'HELLO' | translate }}"
Or even using a method like this in the component doesn't work for me.  It just puts undefined in the view:
[title]="fetchTranslation('HELLO')"
fetchTranslation(key: string, params = {}) {
    this.translate.get(key, params).subscribe((res: string) => {
        return res;
    });
}

You should either use [title]="'HELLO' | translate" or title="{{ 'HELLO' | translate }}", but [title]="{{ 'HELLO' | translate }}" is not correct Angular

Got it.  Thanks for the quick reply! :)  any idea how to get the service thing working though? That would really help with keeping the views tidy.

fetchTranslation(key: string, params = {}) {
    return this.translate.instant(key, params);
}

Worked like a charm! Thank you 👍
By the way, is there any extra documentation available? Like would I have needed to read the source to find out about that method?

no, it's in the docs: https://github.com/ngx-translate/core#methods

I have the above working, but I become stuck when using data-title on tables.
data-title="{{fetchTranslation('name')}}"
for example does not work.
Is there a was to get this working with data-title? This is a key property for displaying data on mobile.

I had this problem,
[title]="'Location' | translate" shows a tool-tip
but,
[title]="'Historical Development' | translate" does not show a tool-tip
same for
title="{{ 'Historical Development' | translate}}"
but when I remove the translate pipe -
title="'Historical Development'" does show a tool-tip


Add more error info when method not found

:white_check_mark: Build ConfuserEx 815 completed (commit https://github.com/mkaring/ConfuserEx/commit/b81f402329 by @a180285)


DocAdd mysql load document

Proposed changes
Issue Number: close #xxx
Problem summary
Add mysql load document
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[x] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

@SaintBacchus rebase

run buildall

run buildall


onUpdate

I'm in need of an onUpdate prop to properly implement infinite/finite scrolling, as onScroll/onScrollFrame only happen when you scroll, not whenever update() is called (e.g. window is resized, or on componentDidUpdate)
In the meantime, I'm using a rather hackish solution, inside my componentDidMount:
componentDidMount () {
  const scrollbars = this.refs.scrollbars
  const update = scrollbars.update
  scrollbars.update = (cb) => {
    update((values) => {
      if (cb) cb(values)
      this.handleUpdate(values)
    })
  }
  const values = scrollbars.getValues()
  this.handleUpdate(values)
}

if onUpdate fired only when values are actually changed that would be a plus, as for instance, the window could be resized and have zero effect on the Scrollbars component.

Yes, I thought about that case. I'll see what I can do at the weekend.

Okay, onUpdate is in. Update to 3.1.0. Check out the API docs


The language server keeps crashing inside a JS directory

Issue Type: Bug
I am not sure if this is because of an extension I am using or VSCode, but the langauage server keeps crashing and there is no
way to disable the behavior or ignore the error message prompts.
Basically, if something is not working, but the editor is, stop doing that after 5 times. Currently, it reports after 5 times, and repeats that in a loop.
I hope it's not an extension, but even so, repeated extension restarts should be disable after some reasonable number of errors.

Before you ask, I have no idea why!


Zerubabel development2

HTML

[x] pages besides /index.html are stored in /pages
[x] the code is well-formatted
[x] the HTML is valid
[x] there are no inline styles (example: style='color: red;')
[x] there are no <style> tags with CSS, all styles are hrefs
[x] ids are used for JavaScript only, not for CSS
[x] semantic tags are used
[x] spelling and grammar is correct in all site content

CSS

[x] the code is well-formatted
[x] passes all the linting checks

Hi @zerubabel4

First you have to create an issue and then for solving that issue you will be working at Vs code. Now already this image issue is there. so am just put it under development.
As @talmurshidi said PR and Branches are free. for same issue ,you can create more than one branch.
This all part of learning..Keep going ..Happy Learning 😄

Good Work @zerubabel4 . Now the design and project is same 👏🏻

thank you @minjupgeorge


Add vulcan-nuclei check

This PR adds vulcan-nuclei check integration.
The check runs Nuclei scanner tool with selected templates.

It won't be merged for now.


perlPackages: cross-compilation fixes

Motivation for this change
https://github.com/NixOS/nixpkgs/pull/48241 +
https://github.com/NixOS/nixpkgs/pull/48242 +
https://github.com/NixOS/nixpkgs/pull/48246 rebased to staging
Needed for cross-compilation of whole closures (as dependency of switch-to-configuration.pl)
Fixes #36675

@GrahamcOfBorg build pkgsCross.armv7l-hf-multiplatform.perlPackages.XMLParser

Success on aarch64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.perlPackages.XMLParser
Partial log (click to expand)
armv7a-unknown-linux-gnueabihf-strip is /nix/store/s5bnm5xq2l2wyizw4azzgwffxii7d5js-armv7a-unknown-linux-gnueabihf-binutils-2.30/bin/armv7a-unknown-linux-gnueabihf-strip
stripping (with command armv7a-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/lpxijzxs3fc0h2xqm528skghhcvx3bnl-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf/lib
patching script interpreter paths in /nix/store/lpxijzxs3fc0h2xqm528skghhcvx3bnl-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf
checking for references to /build in /nix/store/lpxijzxs3fc0h2xqm528skghhcvx3bnl-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf...
shrinking RPATHs of ELF executables and libraries in /nix/store/sj3y5qwy4fmy15as4jqzghhfvnwgq49b-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc
gzipping man pages under /nix/store/sj3y5qwy4fmy15as4jqzghhfvnwgq49b-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc/share/man/
armv7a-unknown-linux-gnueabihf-strip is /nix/store/s5bnm5xq2l2wyizw4azzgwffxii7d5js-armv7a-unknown-linux-gnueabihf-binutils-2.30/bin/armv7a-unknown-linux-gnueabihf-strip
patching script interpreter paths in /nix/store/sj3y5qwy4fmy15as4jqzghhfvnwgq49b-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc
checking for references to /build in /nix/store/sj3y5qwy4fmy15as4jqzghhfvnwgq49b-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc...
/nix/store/lpxijzxs3fc0h2xqm528skghhcvx3bnl-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf

Success on x86_64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.perlPackages.XMLParser
Partial log (click to expand)
armv7a-unknown-linux-gnueabihf-strip is /nix/store/a73ha7va2ccmcn7wrannhccng8x832xs-armv7a-unknown-linux-gnueabihf-binutils-2.30/bin/armv7a-unknown-linux-gnueabihf-strip
stripping (with command armv7a-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/y7ydkanyk248mlxfhbc26n7mv91v1nh0-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf/lib
patching script interpreter paths in /nix/store/y7ydkanyk248mlxfhbc26n7mv91v1nh0-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf
checking for references to /build in /nix/store/y7ydkanyk248mlxfhbc26n7mv91v1nh0-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf...
shrinking RPATHs of ELF executables and libraries in /nix/store/p28dfd8rl5mkrhmzgy44iv9prswg9m02-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc
gzipping man pages under /nix/store/p28dfd8rl5mkrhmzgy44iv9prswg9m02-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc/share/man/
armv7a-unknown-linux-gnueabihf-strip is /nix/store/a73ha7va2ccmcn7wrannhccng8x832xs-armv7a-unknown-linux-gnueabihf-binutils-2.30/bin/armv7a-unknown-linux-gnueabihf-strip
patching script interpreter paths in /nix/store/p28dfd8rl5mkrhmzgy44iv9prswg9m02-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc
checking for references to /build in /nix/store/p28dfd8rl5mkrhmzgy44iv9prswg9m02-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf-devdoc...
/nix/store/y7ydkanyk248mlxfhbc26n7mv91v1nh0-perl5.28.0-XML-Parser-2.44-armv7a-unknown-linux-gnueabihf

@GrahamcOfBorg build pkgsCross.armv7l-hf-multiplatform.perlPackages.LWP

Failure on aarch64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.perlPackages.LWP
Partial log (click to expand)
cannot build derivation '/nix/store/8ydvb6f26mv4wk175gabfykyjf6sa2yw-perl5.28.0-Net-HTTP-6.18-armv7l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3xbpag2znmdgdn81cmjxqbxrw2y3ix1n-perl5.28.0-Try-Tiny-0.30-armv7l-unknown-linux-gnueabihf.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/mpm1d8nxii5hzhmx3v8irrik7g0hcmr6-perl5.28.0-WWW-RobotRules-6.02-armv7l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/n5mavmf1fqa9i2jnjdq5s9jkz4qinygx-perl5.28.0-HTTP-Message-6.18-armv7l-unknown-linux-gnueabihf.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/j3l5lk0q5rhqb5c8qjgvfggal22z3ah6-perl5.28.0-Test-Fatal-0.014-armv7l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/2lg64p8c0l0zjrvzxrlfgj1z1rhjyv65-perl5.28.0-HTTP-Cookies-6.04-armv7l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/p304n7zgfdwsxz3jhswvikpmv8awxiwk-perl5.28.0-HTTP-Daemon-6.01-armv7l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/962hw9wpic0ah66pd5ygxrvf0bcaavya-perl5.28.0-HTTP-Negotiate-6.01-armv7l-unknown-linux-gnueabihf.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/cmj3cqrbf3xibakqfh6jk9aqp8wb30p7-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf.drv': 13 dependencies couldn't be built
error: build of '/nix/store/cmj3cqrbf3xibakqfh6jk9aqp8wb30p7-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf.drv' failed

Success on x86_64-linux (full log)
Attempted: pkgsCross.armv7l-hf-multiplatform.perlPackages.LWP
Partial log (click to expand)
armv7l-unknown-linux-gnueabihf-strip is /nix/store/ph2blz157b3pfz7p0dc1fgyb1nngp8qf-armv7l-unknown-linux-gnueabihf-binutils-2.30/bin/armv7l-unknown-linux-gnueabihf-strip
stripping (with command armv7l-unknown-linux-gnueabihf-strip and flags -S) in /nix/store/h2mpn4x23r74mh5pv8giq8l5mbgnzx4b-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf/lib  /nix/store/h2mpn4x23r74mh5pv8giq8l5mbgnzx4b-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf/bin
patching script interpreter paths in /nix/store/h2mpn4x23r74mh5pv8giq8l5mbgnzx4b-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf
checking for references to /build/ in /nix/store/h2mpn4x23r74mh5pv8giq8l5mbgnzx4b-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf...
shrinking RPATHs of ELF executables and libraries in /nix/store/b3qwl8a0q20b501y4g537i5ac8vz0gh0-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf-devdoc
gzipping man pages under /nix/store/b3qwl8a0q20b501y4g537i5ac8vz0gh0-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf-devdoc/share/man/
armv7l-unknown-linux-gnueabihf-strip is /nix/store/ph2blz157b3pfz7p0dc1fgyb1nngp8qf-armv7l-unknown-linux-gnueabihf-binutils-2.30/bin/armv7l-unknown-linux-gnueabihf-strip
patching script interpreter paths in /nix/store/b3qwl8a0q20b501y4g537i5ac8vz0gh0-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf-devdoc
checking for references to /build/ in /nix/store/b3qwl8a0q20b501y4g537i5ac8vz0gh0-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf-devdoc...
/nix/store/h2mpn4x23r74mh5pv8giq8l5mbgnzx4b-perl5.28.0-libwww-perl-6.36-armv7l-unknown-linux-gnueabihf


add support for Sketch Symbols

Use this design file which contains a design that is a symbol instance.
symbol-demo.sketch.zip

I will assign my self for now so that anybody can pick this up. For now I will probably pick up smaller issues that I can fix within a couple of hours as this fits better in my agenda.

Hey @Jefiozie I think this feature has been added in #303. I think we can close this issue.

I think you are right.


Clear dropdown in code

Hi, I have simple question!!
How can I clear the drop-down in controller??
I have tried with setting the model to null ,undefined , "" ,{} ,... but didn't work.
Thanks

I'm having the same problem.
I want to clear a form with a group of dropdown that point to same model parent.

I think I have fixed this: #28

Code Released:
https://github.com/ClickerMonkey/SemanticUI-Angular/releases/tag/0.2.3


Northstar installation instructions

Prerequisites:
Install git:
 sudo apt-get install git

Verify installation:
  git --version

Install Docker on ARM64 (Orange PI in our case):
 TODO: put commands for installing docker

Install Earthly:
 sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/latest/download/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly && /usr/local/bin/earthly bootstrap --with-autocomplete'

Verify Installation
 earthly github.com/earthly/hello-world+hello

Setup:
Clone the repository:
 git clone https://github.com/rakrakon/NorthStar-Mechanical-Advantage.git

Verify installation:
 git --version

Change to the repository directory:
 cd NorthStar-Mechanical-Advantage

Build the image targeting ARM64:
 earthly +build --platform=linux/arm64

This will:

Use the multi-arch Debian base image
Compile Python from source for ARM64
Install Python packages like NumPy using manylinux wheels
Install dependencies like libjpeg, OpenBLAS
Download and compile OpenCV from source for ARM64
Building OpenCV takes time. Use earthly builds to monitor progress.

When complete, verify the image:
 docker images

You should see the image with OpenCV, Python etc.
Test it:
 docker run -it <image> /bin/bash

This will run OpenCV Python inside the built image.
Replace  with the image ID or name.
 python -c "import cv2; print(cv2.__version__)"

We're a little confused about this issue. We do not support Northstar for other teams' use, and the Earthly build setup is still a work in progress. We don't plan on adding additional documentation for installing Northstar.


evaluate: x[1] doesn't exist on outputs2, loss, x = sess.run([g.outputs2, g.loss, g.x], {g.outputs1: outputs})

outputs2, loss, x = sess.run([g.outputs2, g.loss, g.x], {g.outputs1: outputs})
here x is expected to have 2 array values, but mine always has only one array value x[0].
So I had to comment out t2 = "".join(idx2char[tt] for tt in x[1])  since x[1] doesn't exist.
This happened when there are only 2 identical files in the list.

Nevermind the issue is related to number of files in the list.


[3.x] Allow pass varyings as out param to the function, when it's possible

Backport https://github.com/godotengine/godot/pull/56190

Thanks!


Killing Fable node process leaves Fable.Client.Node.exe open using 100% of 1 CPU core

Description
I'm running fable's watch feature via a FAKE script here. When I end the FAKE script, it does kill the node process associated with Fable but not Fable.Client.Node.exe.   Fable.Client.Node.exe then process to peg 1 core at 100%.
This can be exhibited by just running fable --watch and killing the node process associated with it.
Repro steps
Simple repro:

fable --watch
ps -a | grep fable
Find fable's node process
example 35590 ttys000    0:00.82 node /usr/local/bin/fable -w
kill -9 that node process
kill -9 35590

More involved usage:
Please provide the steps required to reproduce the problem

Clone https://github.com/TheAngryByrd/Fable/tree/suave-backend-sample/samples/browser/suave-backend
./build.sh Watch
Press enter (should kill FAKE script) and end up with output like

Killing all processes that are created by FAKE and are still running.
Trying to kill node
Trying to kill process node (Id = 34955)
Trying to kill node
Trying to kill process node (Id = 34954)
Trying to kill mono
Trying to kill process mono (Id = 34958)

Expected behavior
Killing child processes is hard, but the child process probably should not peg a core at 100%
Actual behavior
Child process stays around and pegs a core at 100%
Known workarounds
I could try to find the  Fable.Client.Node.exe in the FAKE script and kill it.  However not sure what to do in the simple case of just using fable --watch and killing the node process associated with it.
Related information

Fable Version: 0.4.6
Mono Version: 4.4.1
Operating system: OSX

Interesting, so far I've been always used fable -w in a terminal and killing the node process also killed the node one.  I'm not sure why the mono process goes rogue and consumes so much CPU 😕
I don't know much about interprocess communication so I don't know if there's a more sophisticated way to solve this. The only solution I can think of at the moment is sending a KEEP_ALIVE message (say every second) and let the mono process finish if it doesn't receive it after 1 or 2 seconds. Do you think that would work?

That seems reasonable. Probably want to get the opinion of a few more people before you go down that path :)

I'm investigating this and actually setting a timeout for Console.ReadLine is not a trivial task 😕 It maybe easier to add a way to terminate gracefully the node process (say pressing enter) so it can send a termination signal to Fable.Client.Node.exe. The only thing with that is you need to remember this in your FAKE script. We could add a FAKE helper to make it easier. What do you think?

That could absolutely work. I could just implement IDisposable and send something to the node  process to clean it up before I edit my FAKE script.
I guess I could add a reference to Mono.Posix and send the right unix signal, but that would be tightly coupled to. mono. I haven't tried to repro this on windows but i assume making it cross platform is he best answer.

@forki do you have any input?   Have you seen anything similar to this before with other FAKE helpers?

Fake process killer might be buggy. Maybe try to build your own fake.exe and add lots of tracing. Maybe you can find the issue.

For now the easiest solution would probably be to terminate watching when enter is pressed and then add a disposable Fable helper to FAKE as @TheAngryByrd proposed. I'll take care of the first part :+1:

I've added the termination signal when pressing enter for the watch process in master. Could you give it a shoot at creating the FAKE helper and confirm if it works for you? Thanks!

Yep works for me now!  Thanks a bunch!


Register component in bower

Hi @AlexSuleap,
Have you register the component in bower repository?
I still can't find it.
If you need any assistance, just ask me.
Thanks!

Done! bower search angular-tree-widget

Thank you Alex.
Could you create a tag with the latest changes to make them available?

Done; Thanks for the support.

My pleasure.


replace standard alert and confirm with BootstrapDialog

What is this PR for?
Replace standard alert and confirm with BootstrapDialog.
Most of these were already take care by https://github.com/apache/incubator-zeppelin/pull/501
What type of PR is it?
Bug Fix
What is the Jira issue?
N/A
How should this be tested?
Try accessing a notebook by user who is not authorized, instead of standard alert there should be a BootstrapDialog.
Screenshots (if appropriate)
Before:

After:

LGTM

Tested and LGTM

Merge into master if there're no more discussions.


Package.loadSettings is deprecated.

Store package settings files in the settings/ directory instead of scoped-properties/
Package.loadSettings (/Users/blomma/Applications/Atom.app/Contents/Resources/app/src/package.js:565:9)
<unknown> (/Users/blomma/Applications/Atom.app/Contents/Resources/app/src/package.js:187:43)

@blomma Thanks for logging this.
You can track the status via #3


Auto Color Management for Intel HD before 12th Gen

Microsoft states the following requirements for Auto Color Management (ACM)
WDDM driver version 3.0 or greater
Supported GPU:
AMD:

AMD RX 400 Series or later

AMD Ryzen processors with Radeon Graphics

Intel

Integrated: Intel 12th Gen (Alder Lake) or later

Discrete: Intel DG1 or later

NVIDIA:

NVIDIA GTX 10xx or later (Pascal+)

Has anyone tried to force enable ACM on Intel 11th gen and before? I am using Intel HD on 9th gen 9750H (WDDM 3.0) with Nvidia GTX 1650 (Optimus), and I used MHCGen to create an ACM icc profile which I set as default. I have also enabled the registry flag in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers : EnableAcmSupportDeveloperPreview . However ACM is not working (no option in settings, colors still oversaturated).
Therefore, I am guessing that it is a hardware limitation. Alternatively, could someone provide a working MHC2 icc profile? This allows me to rule out the possibility that it is my ACM icc profile causing issues.

Intel doesn't implement the Matrix3x4 DDI in their "legacy" driver branch, which is the core of MHC pipeline and a prerequisite of Auto Color Management^1.
Yet they do provide public vendor-specific APIs to program custom degamma-matrix-regamma or 3DLUT transform, they are just refusing to implement an optional DDI in WDDM 2.6 for some [REDACTED] reasons.

@dantmnf , do you know if the Matrix3x4 DDI is used in Microsoft's HDR color management pipeline? Or is this something unique to the SDR color management pipeline?
Microsoft states that SDR color management is based on the same technologies (Advanced Color) as HDR color management. Intel's documentation says HDR is supported on  Intel 7th Gen HD 620 and above. https://www.intel.com/content/dam/support/us/en/documents/graphics/HDR_Intel_Graphics_TechWhitePaper.pdf
This user has also demonstrated running Windows in HDR mode on Intel UHD 630. In this section of his post:
3840 x 2160 @ 60hz @ YCbCr switched off @ HDR/WCG switched on-> No 4:2:0, no 12bpc -> instead: RGB & 8bpc
the picture shows Windows HD Color - Use HDR apps and games - On
Therefore I am wondering if the Intel UHD 630 and HD 620 legacy drivers are really what is preventing SDR color management from working, seeing how they do seem to support HDR.

It is not a requirement for HDR mode.
And yes, Intel Coffee Lake GPU is really the blocker for many fancy features, Intel dropped its support while it has the probably largest market share.

Hi,  thanks for the instructive comments, I have the exact same problem with an 11gen H series processor AND a 11gen U series. I don't understand what prevents those processors ( which are not in legacy driver ) and for some has the same 96Eu iGPU card as the 12gen and 13gen to run windows ACM. Do someone managed to make it work / find a work around ?
Thanks a lot for any help !


Final regen

Part of https://github.com/gtk-rs/gir-files/pull/32

👍

@sdroege Maybe I need change travis 1.28.0->1.31.1 if gstreamer upgraded?

@EPashkin I'll do it.


[Suffix]create namesuffix enum

Description
Added suffix as a enum in ApplicantModel, building some foundation for the rest of changes on name suffix feature. Updated unit tests on ApplicantModel as well.
Release notes
The title of the pull request will be used as the default release notes description. If more detail is needed to communicate to partners the scope of the PR's changes, use this release notes section.
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[x] Added an additional reviewer from outside your organization as FYI (if the primary reviewer is in the same organization as you)
[x] Created unit and/or browser tests which fail without the change (if possible)
[x] Performed manual testing (Chrome and Firefox if it includes front-end changes)

Issue(s) this completes partly
#8267

Could you remove the release notes section since it doesn't apply in this case?


Vim key bindings

I love pick and use it in vim (pick.vim). I was wondering if there's a way to use vim bindings for navigating around pick, instead of the current emacs bindings, either in my .vimrc or some other way.

That would be tricky since all entered printable characters are treated
as part of the search query, including hjkl. There's currently no
concept of different modes like the ones found in Vim.

Hey @sfahlberg, thanks for the feedback!
This feature is currently not implemented in Pick.
Like @mptre suggests, this would require the concept of modes similar to Vim's insert and normal mode in Pick.
I think it is a good idea and would be happy review a PR implementing it. As always, my concern is added complexity but it's hard to make that decision without first seeing the implementation.
Would you want to work on this?

An alternative would be to use a existing library such as editline[1][2]
for the user input which supports Vi-mode. I haven't yet made up my mind
if this is a good idea or not.
[1] http://man.openbsd.org/OpenBSD-current/man3/editline.3
[2] http://man.openbsd.org/OpenBSD-current/man7/editline.7

Good point, @mptre! I haven't used editline previously but would be interested in seeing what using it would look like.

It would be great to be able to move up and down with <C-k> and <C-j> as well 👍

Very simple emulation of the vi command mode: https://github.com/DBOTW/pick/commit/e1ddef5ae1792fbfc94e6dc89e731f226e3124b1 ...

Closing this after the discussion in #261. Thanks, @DBOTW!


style chip component

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
chip colors:

sizes:

variants:

Does this PR introduce a breaking change?
[ ] Yes
[ ] No

Other information
Just a quick PR to get at least some colors in

@amcdnl should I also add things like onDelete and icon ?


libicu error when running on NixOS

I'm trying to run this on NixOS. I downloaded the AppImage and ran it, but I get this error:
Process terminated. Couldn't find a valid ICU package installed on the system. Please install libicu using your package manager and try again. Alternatively you can set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. Please see https://aka.ms/dotnet-missing-libicu for more information.
   at System.Environment.FailFast(System.String)
   at System.Globalization.GlobalizationMode+Settings..cctor()
   at System.Globalization.CultureData.CreateCultureWithInvariantData()
   at System.Globalization.CultureData.get_Invariant()
   at System.Globalization.CultureInfo..cctor()
   at System.Globalization.CultureInfo.get_CurrentCulture()
   at osuTK.Vector2..cctor()
   at osu.Framework.Graphics.Containers.CompositeDrawable..ctor()
   at osu.Framework.Graphics.Containers.Container`1[[System.__Canon, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor()
   at osu.Framework.Graphics.Containers.Container..ctor()
   at osu.Framework.Game..ctor()
   at AWBWApp.Game.AWBWAppGameBase..ctor()
   at AWBWApp.Game.AWBWAppGame..ctor()
   at AWBWApp.Desktop.AWBWAppGameDesktop..ctor()
   at AWBWApp.Desktop.Program.Main()

Unlike other Linux distros, NixOS doesn't have a libicu package. It seems this is causing problems with other .NET programs as well.
Ideally this would be fixed within NixOS, but it would be a lot faster and easier if the AWBW replay viewer disabled ICU. This is quite easy to do, you simply change a setting in your csproj files. The downside is that you lose support for language-specific dates, but I don't think that matters for the replay viewer.

Yo. So I've looked around at the framework I'm using (https://github.com/ppy/osu-framework) and the main game created with it (https://github.com/ppy/osu) and I'm not seeing any reports on this type of error.
Is there possibly something setup to make these work? I'm not that well versed with linux, and particularly anything outside of ubuntu. One hint I did find while looking was https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/osu-lazer which does suggest someone has gotten it working.

ICU is not framework-specific, it's a fundamental part of .NET, so it will affect any .NET program, it has nothing to do with osu.
Normally, NixOS programs are statically linked, so this problem doesn't happen, because it will use the statically linked version of icu.
However, you are distributing the replay viewer as an AppImage, which is dynamically linking to icu, that's why it has the problem, because it cannot find icu.

Upon further reading, I think the proper fix may be exactly what I linked before: https://github.com/NixOS/nixpkgs/tree/master/pkgs/games/osu-lazer
If I understand correctly, it probably gets around the dynamic linking issue by just building it itself upon installing the package. I recommend doing this myself, as I don't particularly want to force invariant culture.
I have made a copy of the above and made some edits to the package to maybe support getting AWBW Replay Player working. But be warned it is 100% untested and will need some massaging to get it to work. (Including making the deps file.)
AWBW-App-NixOS.zip

That will download the source code from this repository, compile everything from source, and then statically link everything. That's quite a lot more complicated than just running the AppImage.


[Feature] Recover Galera cluster from existing PVCs

Describe the solution you'd like
Currently, when deleting a MariaDB resource, the PVCs are left behind to prevent data loss. However, if we recreate the MariaDB resource, the cluster does not manage to come up due to the lack of GaleraConfigured and GaleraReady status conditions. Here it is the status in this case:
status:
  conditions:
  - lastTransitionTime: "2024-08-01T13:58:01Z"
    message: Not ready
    reason: StatefulSetNotReady
    status: "False"
    type: Ready
  - lastTransitionTime: "2024-08-01T13:58:06Z"
    message: Updated
    reason: Updated
    status: "True"
    type: Updated
  currentPrimary: mariadb-galera-0
  currentPrimaryPodIndex: 0

Basically, the galera init job finishes but the Pods start to fail, since a Galera cluster recovery is needed, which will only be triggered if GaleraConfigured=true and GaleraReady=false.
We can set this conditions from the Galera init Job after checking if /var/lib/mysql is populated. For doing so, we can add a very simple status subcommand to the mariadb-operator CLI, and invoke it as an initContainer of the Galera init Job .

Just tested this approach by running the following command after the Galera init job completes:
kubectl patch mariadbs.k8s.mariadb.com mariadb-galera --subresource status --type merge -p "$(cat status.mariadb.yaml)"

status.mariadb.yaml:
status:
  conditions:
  - lastTransitionTime: "2024-08-01T13:58:01Z"
    message: Not ready
    reason: StatefulSetNotReady
    status: "False"
    type: Ready
  - lastTransitionTime: "2024-08-01T13:58:06Z"
    message: Updated
    reason: Updated
    status: "True"
    type: Updated
  - lastTransitionTime: "2024-08-01T11:06:14Z"
    message: Galera ready
    reason: GaleraNotReady
    status: "False"
    type: GaleraReady
  - lastTransitionTime: "2024-08-01T11:03:30Z"
    message: Galera configured
    reason: GaleraConfigured
    status: "True"
    type: GaleraConfigured