Premium intelephense features not working with key

Premium intelephense features are resulting in provider not found for current document when using intelephense version 1.3.2.
The key is my only config setting
{
    "intelephense.licenceKey": "[key is here]"
}

The features are working in vscode, so I know it's no the licence key itself.
Here is my :CocInfo
## versions

vim version: NVIM v0.4.3
node version: v10.15.3
coc.nvim version: 0.0.74-d83536aa4e
term: xterm
platform: linux

## Messages[coc.nvim] Rename provider not found for current document
[coc.nvim] Type definition provider not found for current document
[coc.nvim] Implementation provider not found for current document

## Output channel: phpls
[Info  - 1:35:58 PM] Initialising intelephense 1.3.2
[Info  - 1:35:58 PM] Reading state from /home/derek/.config/coc/extensions/coc-phpls-data/1938e530.
[Info  - 1:35:59 PM] Initialised in 1375 ms
[Info  - 1:35:59 PM] Intelephense 1.2.3

I am using version 2.1.2 of coc-phpls according to ~/.config/coc/extensions/node_modules/coc-phpls/package.json.

@derekhamilton please add to your coc-settings.json file

I have similar problem, in coc-setings.json i write my key

if you mean include my coc-settings.json that's this
{
    "intelephense.licenceKey": "[key is here]"
}

Key redacted for obvious reasons. No other information in there. If I set intelephense to v1.3.1 it will work, but with 1.3.2 it doesn't.

I have intelephense v1.3.3

@derekhamilton @Norbytus Please give me time to check

https://github.com/bmewburn/intelephense-docs/issues/12
I think it has something to do with that.
I will fix it.

@derekhamilton @Norbytus How do you bump Intelephense version?

@cprn The intelephense install exists on Linux under
~/.config/coc/extensions/node_modules/coc-phpls/node_modules/intelephense
At time of writing phpls has in its package.json intelephense in the dependencies as "intelephense": "^1.2.3" meaning if the packages are updated it'll update to the latest minor version (1.3.3)
I have my package.json set to "intelephense": "1.3.1" for now while this gets patched.

@derekhamilton I modified package.json but calling :CocUpdateSync in vim doesn't bump the package. :CocInfo still says it initialised Intelephense 1.2.3.
Sorry, I didn't mean to hijack the thread. I thought it was a single comment question.

@cprn I'm not completely sure about updating from within vim. If using vim-plug, :PlugUpdate might do it (haven't tested), but you can run npm update intelephense inside ~/.config/coc/extensions/node_modules/coc-phpls/node_modules/intelephense to make it update.

New version released,  Is it possible to solve your problem?

@derekhamilton You seem to have two LSP servers?
[Info  - 1:35:58 PM] Initialising intelephense 1.3.2
[Info  - 1:35:58 PM] Reading state from /home/derek/.config/coc/extensions/coc-phpls-data/1938e530.
[Info  - 1:35:59 PM] Initialised in 1375 ms
[Info  - 1:35:59 PM] Intelephense 1.2.3

## versions

vim version: NVIM v0.5.0-dev
node version: v13.3.0
coc.nvim version: 0.0.74-d83536aa4e
term: xterm-256color
platform: linux

## Messages[coc.nvim] intelephense indexing ...
[coc.nvim] Indexed php files, times: 195ms
[coc.nvim] Error on 'jumpImplementation': Cannot read property 'start' of undefined

## Output channel: highlight
[Info  - 8:43:29 AM] Highlight server running in node v13.3.0

## Output channel: phpls
[Info  - 8:43:34 AM] Initialising intelephense 1.3.4
[Info  - 8:43:34 AM] Reading state from /home/alex-star/.config/coc/extensions/coc-phpls-data/1c3ad3f6.
[Info  - 8:43:36 AM] Initialised in 1779 ms
[Info  - 8:43:36 AM] Intelephense 1.2.3
[Info  - 8:43:37 AM] Indexing started.
[Info  - 8:43:37 AM] Indexing ended. 2 files indexed in 0s.
[Info  - 8:43:37 AM] Writing state to /home/alex-star/.config/coc/extensions/coc-phpls-data/1c3ad3f6.
[Info  - 8:43:39 AM] Wrote state in 2.0s.

Whene try jump to implementation 'Error on 'jumpImplementation': Cannot read property 'start' of undefined'

@Norbytus
Because upstream protocols change frequently.
It has now been repaired.

Yes not it's work, thanks

@Norbytus Has the version been updated? latest version is 2.1.4

Yes

All works

This is kind of weird. I reinstalled nvim from scratch with coc and coc-phpls... and it looks like there are two intelephense instances with different versions running.
CocInfo:
## versions

vim version: NVIM v0.3.8
node version: v12.13.0
coc.nvim version: 0.0.74-bc017b02e6
term: screen-256color
platform: linux

## Messages
[coc.nvim] intelephense indexing ...
[coc.nvim] Indexed php files, times: 1509ms
[coc.nvim] intelephense indexing ...
[coc.nvim] Indexed php files, times: 15844ms
## Output channel: snippets

## Output channel: phpls

[Info  - 08:55:42] Initialising intelephense 1.3.4
[Info  - 08:55:42] Reading state from /home/mg/.config/coc/extensions/coc-phpls-data/674614e2.
[Info  - 08:55:42] Initialised in 9 ms
[Info  - 08:55:42] Intelephense 1.2.3
[Info  - 08:55:42] Indexing started.
[Info  - 08:55:43] Indexing ended. 98 files indexed in 1s.
[Info  - 08:55:43] Indexing started.
[Info  - 08:55:59] Indexing ended. 13883 files indexed in 15s.
[Info  - 08:55:59] Writing state to /home/mg/.config/coc/extensions/coc-phpls-data/674614e2.
[Info  - 08:56:01] Wrote state in 1.4s.

CocOpenLogs:
2019-12-13T08:55:41.702 INFO (pid:4582) [plugin] - coc 0.0.74-bc017b02e6 initialized with node: v12.13.0
2019-12-13T08:55:41.710 INFO (pid:4582) [language-client-index] - phpls started with 4631

Is this just a weird output or is that really an issue? I see the correct 1.3.4 versions mentioned in both package files and in the lock file:
$ cat .config/coc/extensions/node_modules/coc-phpls/package.json | grep phense\"
    "intelephense": "^1.3.4",
$ cat .config/coc/extensions/node_modules/coc-phpls/node_modules/intelephense/package.json | grep version
    "version": "1.3.4"
$ cat .config/coc/extensions/node_modules/coc-phpls/package-lock.json | grep intele
    "intelephense": {
        "resolved": "https://registry.npmjs.org/intelephense/-/intelephense-1.3.4.tgz",

@cprn Whether you have configured the languageserver option on your coc-setting.json?

I don't know why, but phpls index only opened filed instead all project as is was

@Norbytus maybe it has cached folder,  you can use coc command intelephense.index.workspace to refresh it.

@marlonfan My coc-settings.json is almost empty:
{
    "intelephense.licenceKey": "***",
    "intelephense.files.exclude": ["var"]
}

@cprn i can't get this error

I didn't manage to find time to fully analyse it yet but this line:
[Info  - 08:55:42] Intelephense 1.2.3

Comes from lib/index.js:
const VERSION = '1.2.3';
// ...
languageClient.info('Intelephense ' + VERSION);

So neither I nor @derekhamilton have two LSP servers running.

@cprn fixed


[ASTDumper] Special handling for init kind in pre-typecheck dump

From my current understanding, when dumping ConstructorDecl in pre-typechecked AST there is not enough information about extended nominal(as bindExtensions is done at typechecking) for getInitKind which has rules based on that extended nominal to compute the kind, so in that dump-parse case, just look to parsed attribute in init declaration.

Resolves https://github.com/apple/swift/issues/61806

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci please test


why   reject binding listeners to domain names

l want to binding listeners to domain.but now  l can not

See #6336; it's to enforce binding by interface

closing. comment on #6336 if you have any question.


Star appended to routes with trailing slash

Description:
For endpoints created in the API designer with a trailing slash, API Manager appends a * to the route, e.g. /countries/ becomes /countries/*.  If I look at the generated Swagger YAML, the route is correctly defined without the star, e.g. /countries/.
These routes with the appended * are not recognized by the backend and thus, they fail- this is also not desired for the API clients.
This is occurring on self-hosted v2.1.  When testing with API Manager cloud, this behavior does not occur.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
API Manager 2.1
OS, DB, other environment details and versions:
Steps to reproduce:

Create and publish an endpoint /countries/ for the WorldBank example.
View in the Store's API console.  The endpoint appears as /countries/*.

Related Issues:

I received an answer on Stack Overflow:
https://stackoverflow.com/questions/50105067/wso2-api-manager-always-appends-to-routes-with-trailing-slashes
It seems this is a bug in 2.1 that was fixed.


en: Update descriptions about 迁移 & 同步 to make it clearer

What is changed, added or deleted? (Required)
To make the description about 迁移&同步 clearer:
Chinese：（全量）迁移、（增量）复制、（全量+增量模式）迁移
English：migrate, replicate, migrate
Which DM version(s) do your changes apply to? (Required)

[x] master (the latest development version, including v3.0 changes)
[x] v2.0 (TiDB DM 2.0 versions)
[x] v1.0 (TiDB DM 1.0 versions)

What is the related PR or file link(s)?

This PR is translated from:
Other reference link(s): https://github.com/pingcap/docs-dm/pull/306

Do your changes match any of the following descriptions?

[ ] Delete files
[ ] Change aliases
[ ] Have version specific changes
[x] Might cause conflicts after cherry-picked

FYI: To make sure no dead link, I haven't changed the aliases, codes' name about "replicate" or "migrate".

FYI: To make sure there are no dead links, I did not change the aliases and code names about "replicate" or "migrate".

We do not need to change aliases and code names.

I've updated the glossary.md in https://github.com/pingcap/docs-dm/pull/312/commits/badaf1a2bcd8b945c1b7818cee1d71203b9f47a8 according to https://github.com/pingcap/docs-dm/pull/306 @yikeke @csuzhangxc

please fix the wrong anchors reported by CI. @ireneontheway

PTAL @yikeke @csuzhangxc


Prepare to publish

This, except for the bump in version number, would be the next published version.

LGTM. Thanks @kwalcock !


User not found

Since a few days ago I always get (for all users) the message "this user does not exist" when I try to access the media of a user like this:
$response = $this->instagram->getUserMedia($instagram_id);
Any idea, why this happens?

Any app created before Nov 17, 2015 will continue to function until June 1, 2016. On that date, the app will automatically be moved to Sandbox Mode if it wasn't approved through the review process.
Source : https://www.instagram.com/developer/


[Task]: Add pytorch, onnx dependencies for integration tests

What needs to happen?
Currently the python post commits are skipping the integration tests for pytorch, onnx model handlers. Add the dependencies to enable these tests.
Issue Priority
Priority: 3 (nice-to-have improvement)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

I think they are not getting skipped. They are not visible in Jenkins UI Test Result.
Commented at https://github.com/apache/beam/pull/25548#issuecomment-1435716414 but adding here as well for reference
the tests are actually running but not visible in the Jenkins UI. You can look in the console log and search for InferencePostCommitIT in python 37 https://github.com/apache/beam/blob/977e53104f493124101c8f06d63cca0ec0994990/build.gradle.kts#L447 and python  39 test suite https://github.com/apache/beam/blob/977e53104f493124101c8f06d63cca0ec0994990/build.gradle.kts#L476.
Console log: https://ci-beam.apache.org/job/beam_PostCommit_Python39/1480/consoleFull
The tests we see in the Test Results UI of jenkins is of the gradle task https://github.com/apache/beam/blob/977e53104f493124101c8f06d63cca0ec0994990/build.gradle.kts#L470. in the gradle task, we skip all the ML tests since they are run on different gradle task PostCommitIT

Also, for ONNX there is no gradle task to run IT tests so we can't see them in console logs. I will add it next week.
torch can be seen

Seems like tensorflow tests are failing.

https://ci-beam.apache.org/job/beam_PostCommit_Python310/496/
The postcommits are green now. Thanks @Abacn for merging the fix.

Oops I missed the gs:// in older pr for path and had it https://github.com/apache/beam/pull/25496/files. Thanks for fixing it @AnandInguva

This task is obsolete as it was a problem with UI but tests were actually running.


React v18 npm install package dependency compatibility

Hi there!
My project has recently upgraded to React v18 and I am currently running into a ERESOLVE unable to resolve dependency tree error when I try to npm install storybook-addon-mock. It does work if I add the --legacy-peer-deps flag, but ideally I'd like to avoid using it.

Any help would be greatly appreciated!

@jason-chen-kiewit This issue is fixed in 2.3.2

Amazing ty!


How to actually implement word wrapping?

I copied some code from the tests and got this:
func main() {
	cli.HelpPrinter = func(w io.Writer, templ string, data interface{}) {
		funcMap := map[string]interface{}{
			"wrapAt": func() int {
				return 80
			},
		}

		cli.HelpPrinterCustom(w, templ, data, funcMap)
	}

	app := &cli.App{...}
	if err := app.Run(os.Args); err != nil {
		log.Fatal(err)
	}
}

But when I look at the help output, nothing is wrapped. Am I doing this right?
It'd be really nice if this was better documented. Right now there's just has a passing mention of wrapAt in the docs but no examples.

Specifically which content will be wrapped, you can refer to cli.AppHelpTemplate:
https://github.com/urfave/cli/blob/254c38ea72e18e58f2ba8a4e25c7c553f19161e6/template.go#L3-L38

Hi @Dokiys, that's not what I was getting at. I'm saying that how to inject wrapping wasn't documented, nor is what will be wrapped. Looking at a template doesn't really help that much.

Hi @Dokiys, that's not what I was getting at. I'm saying that how to inject wrapping wasn't documented, nor is what will be wrapped. Looking at a template doesn't really help that much.
Hi @autarch I think if you want to custom HelpPrinter by default template and implementation of HelpPrinterCustom, you should know about what its handling. About 'how to inject wrapping', there are notes here: https://github.com/urfave/cli/blob/ca9df40abd0db61673fb645f9826d8fbb061b6bb/help.go#L289-L293
About 'what will be wrapped', you can find in AppHelpTemplate and here:
https://github.com/urfave/cli/blob/ca9df40abd0db61673fb645f9826d8fbb061b6bb/help.go#L289-L293
But I think the method name "wrap" is really confusing.

Hi @autarch
You can try this
package main

import (
	"log"
	"os"

	"github.com/urfave/cli/v2"
)

func main() {

	app := &cli.App{
		Name:  "long",
		Usage: "Long command description cli",

		Commands: []*cli.Command{
			{
				Name:    "help",
				Aliases: []string{"h"},
				Action: func(cCtx *cli.Context) error {
					_ = ShowAppHelp(cCtx)
					return nil
				},
			},
			{
				Name:    "testing",
				Aliases: []string{"t"},
				Usage:   "aaaaaaaaa aaaaaaaaa aaaaa aaaaaaaaa aaaaaaaaaaaaaaa aaaaa aaaaaaaaaaaa aaa aa aaaaaa aa aaaa",
			},
		},
	}

	if err := app.Run(os.Args); err != nil {
		log.Fatal(err)
	}
}

func ShowAppHelp(c *cli.Context) error {
	template := c.App.CustomAppHelpTemplate
	if template == "" {
		template = cli.AppHelpTemplate
	}

	customAppData := func() map[string]interface{} {
		return map[string]interface{}{
			"wrapAt": func() int {
				return 80
			},
		}
	}
	cli.HelpPrinterCustom(c.App.Writer, template, c.App, customAppData())
	return nil
}

This result will be the following:
NAME:
   long - Long command description cli

USAGE:
   long  command [command options] [arguments...]

COMMANDS:
   help, h
   testing, t  aaaaaaaaa aaaaaaaaa aaaaa aaaaaaaaa aaaaaaaaaaaaaaa aaaaa
               aaaaaaaaaaaa aaa aa aaaaaa aa aaaa

Still it doesn't work quite will with Flags since the template doesn't handle flag usage wrapping.
To fix it you can use the following template:
var AppHelpTemplate = `NAME:
   {{$v := offset .Name 6}}{{wrap .Name 3}}{{if .Usage}} - {{wrap .Usage $v}}{{end}}

USAGE:
   {{if .UsageText}}{{wrap .UsageText 3}}{{else}}{{.HelpName}} {{if .VisibleFlags}}[global options]{{end}}{{if .Commands}} command [command options]{{end}} {{if .ArgsUsage}}{{.ArgsUsage}}{{else}}[arguments...]{{end}}{{end}}{{if .Version}}{{if not .HideVersion}}

VERSION:
   {{.Version}}{{end}}{{end}}{{if .Description}}

DESCRIPTION:
   {{wrap .Description 3}}{{end}}{{if len .Authors}}

AUTHOR{{with $length := len .Authors}}{{if ne 1 $length}}S{{end}}{{end}}:
   {{range $index, $author := .Authors}}{{if $index}}
   {{end}}{{$author}}{{end}}{{end}}{{if .VisibleCommands}}

COMMANDS:{{range .VisibleCategories}}{{if .Name}}
   {{.Name}}:{{range .VisibleCommands}}
     {{join .Names ", "}}{{"\t"}}{{.Usage}}{{end}}{{else}}{{ $cv := offsetCommands .VisibleCommands 5}}{{range .VisibleCommands}}
   {{$s := join .Names ", "}}{{$s}}{{ $sp := subtract $cv (offset $s 3) }}{{ indent $sp ""}}{{wrap .Usage $cv}}{{end}}{{end}}{{end}}{{end}}{{if .VisibleFlagCategories}}

GLOBAL OPTIONS:{{range .VisibleFlagCategories}}
   {{if .Name}}{{.Name}}
   {{end}}{{range .Flags}}{{$v := offset .Name 6}}{{wrap .Name 3}}{{if .Usage}} - {{wrap .Usage $v}}{{end}}
   {{end}}{{end}}{{else}}{{if .VisibleFlags}}

GLOBAL OPTIONS:
   {{range $index, $option := .VisibleFlags}}{{if $index}}
   {{end}}{{wrap $option.String 3}}{{end}}{{end}}{{end}}{{if .Copyright}}

COPYRIGHT:
   {{wrap .Copyright 3}}{{end}}
`

Cheers,

Documentation added for this.


Update hdinsight-hbase-tutorial-get-started-linux.md

Changing the JSON structure for inserting data into Hbase using Curl.

Hi @shwetams, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Shweta Gupta). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

#sign-off


Latitute bigger than 75 throws an exception

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

when running this function you get the error.

PrayerTimes? getPrayersTimes() {
  const double latitude = 76;
  const double longitude = 179;

  final myCoordinates = Coordinates(latitude, longitude,validate: true);
  final params = CalculationMethod.egyptian.getParameters();
  params.madhab = Madhab.shafi;
  final PrayerTimes prayerTimes = PrayerTimes.today(myCoordinates, params);

  return prayerTimes;
}

Expected behavior
Latitude maxium value should be 90 not 75
Environment(please complete the following information):

Dart Language Version: [e.g. Dart 3.3.4]
Adhan-Dart Version: [2.0.0+1]

This is a sample program to produce the error with the given package version

void main() {
  final p1 = getPrayersTimes(latitude: 74, longitude: 179); // this works as expected
  final p2 = getPrayersTimes(latitude: 74, longitude: -179); // this works as expected/

  final p3 = getPrayersTimes(latitude: 75, longitude: 179); //this throws an error
}

PrayerTimes? getPrayersTimes({required double latitude, required double longitude}) {
  final myCoordinates = Coordinates(latitude, longitude,validate: true);
  final params = CalculationMethod.egyptian.getParameters();
  params.madhab = Madhab.shafi;
  return  PrayerTimes.today(myCoordinates, params);
}

In class Coordinates, any latitude between -90 and 90 is accepted. Any longitude between -180 and 180 should be accepted.

  Coordinates(this.latitude, this.longitude, {bool validate = false}) {
    if (validate) {
      if (!(latitude.isFinite && latitude.abs() <= 90)) {
        throw ArgumentError(
            'Invalid Latitude supplied, Latitude must be a number between -90 and 90');
      }

      if (!(longitude.isFinite && longitude.abs() <= 180)) {
        throw ArgumentError(
            'Invalid longitude supplied, Longitude must a number between -180 and 180');
      }
    }
  }

Longitude values always works as expected, any value is valid between -180 and 180. see p1 and p2.
But if you pass latitude values >= 75, the Coordinates class validates it correctly but somewhere else in the code is throws an error like this one below

Unhandled exception:
Invalid argument(s): value should not be infinite or NaN
#0      TimeComponents.fromDouble (package:adhan/src/data/time_components.dart:12:7)
#1      new PrayerTimes._ (package:adhan/src/prayer_times.dart:142:24)
#2      new PrayerTimes.today (package:adhan/src/prayer_times.dart:68:24)
#3      getPrayersTimes (package:test_app/main.dart:14:47)
#4      main (package:test_app/main.dart:7:14)
#5      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#6      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

if i failed to demonstrate the problem, please let me know exactly what's unclear.

May I ask why you're using static lat and lon? It should be dynamic and come from packages like geolocator

I'm actually doing that this is just a simplified version of my application to demonstrate the problem. Did you run the code? Is the problem reproducable?

I have executed the code, and it generated the same error, but it seems to be identifying it as NaN for some reason. However, I am not entirely sure what is causing the issue. It could be possible that this particular location is causing the problem because it's an ocean, which might be a factor. Nonetheless, I'm uncertain about the root cause of the problem.

Okay thanks for your effort


falcor.mapKeys/falcor.mapIndices fn for iterating Keysets and ranges

One issue with Falcor and React integration is that when you issue a range to the model you get out a response, it's easy to lose the context of what Range you requested.
For example you might request the third page of the list and hand off the response to a React Component to render. Unfortunately the React Component render method has no way of knowing what keys to look for in the object containing the range. Reflecting to retrieve the keys and then sorting them is slow. It is also sometimes insufficient. Consider a circular list, in which you request items [73,74, {from: 0, to: 1}]. Index 73 and 74 are the last two items in the list, but you want to render them first.
We've heard this pain point both externally and internally (@akanksha1105).
I propose that Falcor provide two methods:  mapIndices and mapKeys. Here's an example usage:
const model =
  new falcor.Model({
    cache: {
      lists: {
        0: { name: "Horror" },
        1: { name: "Thrillers" },
        2: { name: "Comedy" },
        3: { name: "Romance" },
        4: { name: "Billboard" },
        length: 5
      }
  }
});

const RenderList => ({list}) =>

{
    falcor.mapIndices(
      list,
      (value, index, indexWithinKeySet) =>

{ value.name + ", "
        + index + ", " + indexWithinKeySet }
)
   }
;

model.
  get("lists['0', 2..3].name").then(({json}) =>
    React.render(<RenderList list={json.list} />, rootNode));

The code above print the following:

Horror, 0, 0
Comedy, 2, 1
Romance, 3, 2

Notice that the index for Horror is 0, even though it appears as "0" in the KeySet. That's because mapIndices attempts to covert each key into an integer. The function passed to mapIndices is only run on the integer keys within the key set that generated node in the response. For example if Path was lists[0, 2..3, "billboard"].name - for example because the "lists" collection contains a shortcut key to the billboard list within it - the output above would be unchanged. The mapKeys function on the other hand would include the key. Furthermore the mapKeys function would not convert strings that happened to contain integers into integers before passing them into the callback.
Here's an example of mapKeys in action:
const model =
  new falcor.Model({
    cache: {
      lists: {
        0: { name: "Horror" },
        1: { name: "Thrillers" },
        2: { name: "Comedy" },
        3: { name: "Romance" },
        4: { name: "Billboard" },
        "billboard": { $type: "ref", value: ["lists", 4] },
        "length": 5
      }
  }
});

const RenderList => ({list}) =>

{
    falcor.mapKeys(
      list,
      (value, key, indexWithinKeySet) =>

{ value.name + ", "
        + index + ", " + indexWithinKeySet }
)
   }
;

model.
  get("lists['0', 2..3, "billboard"].name").then(({json}) =>
    React.render(<RenderList list={json.list} />, rootNode));

The code above print the following:

Horror, "0", 0
Comedy, 2, 1
Romance, 3, 2
Billboard, "billboard", 3

Note that the key in Horror is "0" and not 0, because mapKeys does not perform integer conversion.

@jhusain could we not have a prototype with these methods, then use Object.create(falcorJsonProto) to create the JSON branch nodes? For some reason this just reads really well to me:
list.mapKeys((value, key, index) => {
  console.log(value, key, index);
})

Separating data and behavior means that the behavior can survive JSON serialization. This is one of the benefits of our current approach of annotating nodes with their absolute path information: deref can be used after serialization.

@jhusain the JSON structure would still be serializable (one could still write model.getCache() to localStorage), and the behavior would survive deserializing assuming the cache was still accessed through falcor (new Model({ cache: localStorage.get('cache') })). What am I missing?

This is the JSON response were talking about. We would be annotating the JSON response with the KeySet used to create the  node. Something like:
{
$__keySet: [0, 3, {from: 4, to: 5 }]
0: { ..},
3: {.. },
4: { ... },
5: { .. }
}
Annotating the JSON response with metadata is nice because you can also use the server in JSON mode and have it output JSON data directly instead of JSON Graph.

+1


Create vanilla API documentation repo

Using the great work from CFPB, here's a new template for ED to modify and then employ.


[Suggestion] Use song cover as lyric plus background.

Would be cool if it shows song cover instead of solid color background.

I will think about that.
Thx for the Suggestion its a good one 🥰

Done 👍
Lyrics Plus

Spotify Lyrics

Center Lyrics (bonus)

@vathanac If you face any issues please open a Isuue in this github page

@vathanac If you face any issues please open a Isuue in this github page

Thanks for the update


EOnline Videos - UnsupportedError

I tried to download a video from www.eonline.com  but it currently is not supported by youtube-dl. Below are details. Thanks for your help.
youtube-dl -v -o "/media/test.%(ext)s" "http://www.eonline.com/videos/237478/check-out-the-craziest-celeb-comments"
[debug] System config: [u'--ffmpeg-location', u'/home/mary/bin/ffmpeg']
[debug] User config: []
[debug] Command-line args: [u'-v', u'-o', u'/media/test.%(ext)s', u'http://www.eonline.com/videos/237478/check-out-the-craziest-celeb-comments']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.07.07
[debug] Python version 2.7.9 - Linux-3.19.0-21-generic-x86_64-with-Ubuntu-15.04-vivid
[debug] exe versions: ffmpeg 2.6.git, ffprobe 2.6.git, rtmpdump 2.4
[debug] Proxy map: {}
[generic] check-out-the-craziest-celeb-comments: Requesting header
WARNING: Could not send HEAD request to http://www.eonline.com/videos/237478/check-out-the-craziest-celeb-comments: HTTP Error 405: Method Not Allowed
[generic] check-out-the-craziest-celeb-comments: Downloading webpage
WARNING: Falling back on generic information extractor.
[generic] check-out-the-craziest-celeb-comments: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/videos/237478/check-out-the-craziest-celeb-comments
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1092, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1562, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1300, in XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 141, column 30
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 654, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 273, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1663, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.eonline.com/videos/237478/check-out-the-craziest-celeb-comments

UPD by dstftw:
Geo restricted example URL: http://www.eonline.com/videos/237478/check-out-the-craziest-celeb-comments. US or CA IP is required.
Geo unrestricted example URL: http://uk.eonline.com/videos/237549/ariana-grande-posts-video-apology-for-doughnut-fiasco

Gives HTTP Error 404: Not Found for me.

@dstftw The URL is valid. Below is a screenshot.

@dstftw thanks for the follow up. Will this get fixed? I tried using a geo unrestriced url(as mentioned above) but it redirects back to the US site(as I am in the US).

Hi, Sorry to bother. You all do a great job. Has there been a solution for this particular video extractor?

Not yet as you can see.

The site is using ThePlatform.

** Bump
URL:  http://www.eonline.com/now/famously-single/full-episode/do-you-trust-me/717540931533
E:\>youtube-dl --verbose --netrc "http://www.eonline.com/now/famously-single/full-episode/do-you-trust-me/717540931533"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--netrc', 'http://www.eonline.com/now/famously-single/full-episode/do-you-trust-me/717540931533']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.08.31
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: ffmpeg N-72383-g7206b94, ffprobe N-72383-g7206b94, rtmpdump 2.4
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>33: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>33: Downloading webpage
[generic]<PHONE_NUMBER>33: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/now/famously-single/full-episode/do-you-trust-me/717540931533
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6cf1z6ka\build\youtube_dl\YoutubeDL.py", line 691, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6cf1z6ka\build\youtube_dl\extractor\common.py", line 347, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp6cf1z6ka\build\youtube_dl\extractor\generic.py", line 2388, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.eonline.com/now/famously-single/full-episode/do-you-trust-me/717540931533

This should be similar to BravoTV.  Thanks!

I added a PR for this a while back: https://github.com/rg3/youtube-dl/pull/9611

@TRox1972
I saw that you added that pull request. That extractor does not exist in the code. I'm fairly new to this, so do that mean someone has to "approve" and add it before it gets added to the next build?

@StevenDTX yes, it needs to be approved by the developers. But there are few developers and a lot of issues/PRs, so it may take some time before it's implemented.
Note that currently, the code in that PR doesn't seem to be working. And the generic extractor seems to catch videos os theplatform embeds, but fails to download them. You could wan't to add an issue report for that.

@remitamine  This is working for the requested URL since 433af6ad3002424ecb316e23946722d54010dbe1. Close this?

urls similar to the url posted by @StevenDTX require a new extractor.

AdobeHDS works on E! and other NBC Universal sites.
https://github.com/K-S-V/Scripts/wiki

Here would be a more current URL:
http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771
Or
http://www.eonline.com/now/the-arrangement/full-episode/the-ex/895569987839
Or
http://www.eonline.com/now/so-cosmo/full-episode/is-he-truly-into-you/892677699900
This seems to be the format they are using now.  When I try this in youtube-dl it comes back with this:
~$ youtube-dl http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771
[generic]<PHONE_NUMBER>71: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>71: Downloading webpage
[generic]<PHONE_NUMBER>71: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771

The URL is not really similar to Bravo at all, an example Bravo URL would be
http://www.bravotv.com/imposters/season-1/ep-1-my-so-called-wife
I suspect it is this difference in the URL format that is confusing the issue.  The format for eonline full episodes seems to be:
http://www.eonline.com/now/<show name>/full-episode/<episode name>/<12 digit number>

Clips take a completely different format, here is an example:
http://www.eonline.com/shows/so_cosmo/videos/257866/james-and-steven-dish-on-the-diandra-drama

I get a different output if I try to download a clip:
~$ youtube-dl http://www.eonline.com/shows/so_cosmo/videos/257866/james-and-steven-dish-on-the-diandra-drama
[generic] james-and-steven-dish-on-the-diandra-drama: Requesting header
WARNING: Could not send HEAD request to http://www.eonline.com/shows/so_cosmo/videos/257866/james-and-steven-dish-on-the-diandra-drama: HTTP Error 405: Method Not Allowed
[generic] james-and-steven-dish-on-the-diandra-drama: Downloading webpage
WARNING: Falling back on generic information extractor.
[generic] james-and-steven-dish-on-the-diandra-drama: Extracting information
[download] Downloading playlist: James and Steven Dish on the Diandra Drama on So Cosmo
[generic] playlist James and Steven Dish on the Diandra Drama on So Cosmo: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[ThePlatform] cwqm1Kh0CAYx: Downloading SMIL data
[ThePlatform] cwqm1Kh0CAYx: Downloading JSON metadata
[download] Destination: James and Steven Dish on the Diandra Drama-cwqm1Kh0CAYx.flv
ERROR: RTMP download detected but "rtmpdump" could not be run. Please install it.

Installing rtmpdump doesn't really help; instead of the ERROR line shown above I get these:
[rtmpdump] 0 bytes

ERROR: rtmpdump exited with code 1

Which means nothing to me
I'm not really looking to download clips anyway, but it appears there are two problems here.  First, it is apparently not parsing the URL properly for full episodes, and second, for whatever reason it thinks it should be doing an RTMP download, whatever that is.  This is something I haven't seen with any other site, so I kind of question whether it's misinterpreting the download type.

I ran the clip again with the -v option:
~$ youtube-dl http://www.eonline.com/shows/so_cosmo/videos/257866/james-and-steven-dish-on-the-diandra-drama -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'http://www.eonline.com/shows/so_cosmo/videos/257866/james-and-steven-dish-on-the-diandra-drama', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.15
[debug] Python version 2.7.9 - Linux-3.16.0-4-686-pae-i686-with-debian-8.7
[debug] exe versions: avconv 11.8-6, avprobe 11.8-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] james-and-steven-dish-on-the-diandra-drama: Requesting header
WARNING: Could not send HEAD request to http://www.eonline.com/shows/so_cosmo/videos/257866/james-and-steven-dish-on-the-diandra-drama: HTTP Error 405: Method Not Allowed
[generic] james-and-steven-dish-on-the-diandra-drama: Downloading webpage
WARNING: Falling back on generic information extractor.
[generic] james-and-steven-dish-on-the-diandra-drama: Extracting information
[download] Downloading playlist: James and Steven Dish on the Diandra Drama on So Cosmo
[generic] playlist James and Steven Dish on the Diandra Drama on So Cosmo: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[ThePlatform] cwqm1Kh0CAYx: Downloading SMIL data
[ThePlatform] cwqm1Kh0CAYx: Downloading JSON metadata
[debug] Invoking downloader on u'rtmp://cp423311.edgefcs.net/ondemand/'
[download] Destination: James and Steven Dish on the Diandra Drama-cwqm1Kh0CAYx.flv
[debug] rtmpdump command line: rtmpdump --verbose -r rtmp://cp423311.edgefcs.net/ondemand/ -o 'James and Steven Dish on the Diandra Drama-cwqm1Kh0CAYx.flv.part' --playpath mp4:transcoded/rtmp/769/87/cosmo_104_bonus_a_257866_1600k.flv --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : cp423311.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : cp423311.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:transcoded/rtmp/769/87/cosmo_104_bonus_a_257866_1600k.flv
[rtmpdump] DEBUG: tcUrl    : rtmp://cp423311.edgefcs.net:1935/ondemand
[rtmpdump] DEBUG: app      : ondemand
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] DEBUG: RTMP_Connect1, ... connected, handshaking
[rtmpdump] DEBUG: HandShake: Type Answer   : 03
[rtmpdump] DEBUG: HandShake: Server Uptime :<PHONE_NUMBER>
[rtmpdump] DEBUG: HandShake: FMS Version   : <IP_ADDRESS>
[rtmpdump] DEBUG: HandShake: Handshaking finished....
[rtmpdump] DEBUG: RTMP_Connect1, handshaked
[rtmpdump] DEBUG: Invoking connect
[rtmpdump] INFO: Connected...
[rtmpdump] DEBUG: HandleServerBW: server BW = 1250000
[rtmpdump] DEBUG: HandleClientBW: client BW = 1250000 2
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:             fmsVer, STRING:	FMS/5,0,7,7054>
[rtmpdump] DEBUG: Property: <Name:       capabilities, NUMBER:	127.00>
[rtmpdump] DEBUG: Property: <Name:               mode, NUMBER:	1.00>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:	status>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:	NetConnection.Connect.Success>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:	Connection succeeded.>
[rtmpdump] DEBUG: Property: <Name:     objectEncoding, NUMBER:	0.00>
[rtmpdump] DEBUG: Property: <Name:               data, ECMA_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:            version, STRING:	5,0,7,7054>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call <connect>
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: Invoking createStream
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onBWDone>
[rtmpdump] DEBUG: Invoking _checkbw
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call <createStream>
[rtmpdump] DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:transcoded/rtmp/769/87/cosmo_104_bonus_a_257866_1600k.flv
[rtmpdump] DEBUG: Invoking play
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 10275 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 20515 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 275 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name:              level, STRING:	error>
[rtmpdump] DEBUG: Property: <Name:               code, STRING:	NetStream.Play.StreamNotFound>
[rtmpdump] DEBUG: Property: <Name:        description, STRING:	Failed to play transcoded/rtmp/769/87/cosmo_104_bonus_a_257866_1600k.flv; stream not found.>
[rtmpdump] DEBUG: Property: <Name:            details, STRING:	transcoded/rtmp/769/87/cosmo_104_bonus_a_257866_1600k.flv>
[rtmpdump] DEBUG: Property: <Name:           clientid, STRING:	qAADg9LA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <onStatus>
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.StreamNotFound
[rtmpdump] ERROR: Closing connection: NetStream.Play.StreamNotFound
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 0 bytes
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
[rtmpdump] DEBUG: Parsed host    : cp423311.edgefcs.net
[rtmpdump] DEBUG: Parsed app     : ondemand
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMP
[rtmpdump] DEBUG: Hostname : cp423311.edgefcs.net
[rtmpdump] DEBUG: Port     : 1935
[rtmpdump] DEBUG: Playpath : mp4:transcoded/rtmp/769/87/cosmo_104_bonus_a_257866_1600k.flv
[rtmpdump] DEBUG: tcUrl    : rtmp://cp423311.edgefcs.net:1935/ondemand
[rtmpdump] DEBUG: app      : ondemand
[rtmpdump] DEBUG: live     : no
[rtmpdump] DEBUG: timeout  : 30 sec
[rtmpdump] DEBUG: Failed to get last keyframe.
[rtmpdump] DEBUG: Closing connection.

ERROR: rtmpdump exited with code 1
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 454, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1883, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 772, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 950, in process_ie_result
    extra_info=extra)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 833, in process_ie_result
    extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 772, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 826, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1527, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1791, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1733, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 356, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/rtmp.py", line 202, in real_download
    self.report_error('rtmpdump exited with code %d' % retval)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 589, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 551, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

And, not that it will likely help, but here is the full episode (which is what I am most concerned about) with the -v option:
~$ sudo youtube-dl http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771', u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.15
[debug] Python version 2.7.9 - Linux-3.16.0-4-686-pae-i686-with-debian-8.7
[debug] exe versions: avconv 11.8-6, avprobe 11.8-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>71: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>71: Downloading webpage
[generic]<PHONE_NUMBER>71: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1779, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2526, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2515, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 8, column 410
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 427, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2648, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.eonline.com/now/the-arrangement/full-episode/pilot/883821635771

Did this ever get addressed?  I am still getting an unsupported URL error:
quarters/1078359108000 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['http://www.eonline.com/now/keeping-up-with-the-kardashians/full-episode/clothes-quarters/1078359108000', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.10.20
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-86383-g4705edb, ffprobe N-86383-g4705edb
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>000: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>000: Downloading webpage
[generic]<PHONE_NUMBER>000: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/now/keeping-up-with-the-kardashians/full-episode/clothes-quarters/1078359108000
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpvdixi2dy\build\youtube_dl\YoutubeDL.py", line 784, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpvdixi2dy\build\youtube_dl\extractor\common.py", line 434, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpvdixi2dy\build\youtube_dl\extractor\generic.py", line 3059, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.eonline.com/now/keeping-up-with-the-kardashians/full-episode/clothes-quarters/1078359108000```

Bump.  Eonline seems to use the same Platform player as Bravo and other NBC sites.
Here is a video available without login:  http://www.eonline.com/now/citizen-rose/full-episode/citizen-rose/1149898819562
E:\>youtube-dl --verbose http://www.eonline.com/now/citizen-rose/full-episode/citizen-rose/1149898819562
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://www.eonline.com/now/citizen-rose/full-episode/citizen-rose/1149898819562']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.02.11
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-89980-ge752da5464, ffprobe N-72383-g7206b94, rtmpdump 2.4
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>562: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>562: Downloading webpage
[generic]<PHONE_NUMBER>562: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/now/citizen-rose/full-episode/citizen-rose/1149898819562
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy028tx8p\build\youtube_dl\YoutubeDL.py", line 785, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy028tx8p\build\youtube_dl\extractor\common.py", line 440, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpy028tx8p\build\youtube_dl\extractor\generic.py", line 3111, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.eonline.com/now/citizen-rose/full-episode/citizen-rose/1149898819562

Having the same issue, wondering when will there be a update on this, as iam getting Unsupported, in latest version, will it ever be added for full episodes, will e online be added to the list for supported tv provider like other sites. thanks

Having the same issue, wondering when will there be a update on this, as iam getting Unsupported URL with my tv provider login, in latest version, auy update would great, can it be supported?

adding to this:
youtube-dl --cookies cookies.txt http://www.eonline.com/watch/very-cavallari/full-episode/sunday-not-so-funday/1269538371591 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', 'http://www.eonline.com/watch/very-cavallari/full-episode/sunday-not-so-funday/1269538371591', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.09
[debug] Python version 3.6.1 (CPython) - Linux-3.10.0-862.3.2.el7.x86_64-x86_64-with-centos-7.5.1804-Core
[debug] exe versions: ffmpeg 3.4.5, ffprobe 3.4.5
[debug] Proxy map: {}
[generic]<PHONE_NUMBER>591: Requesting header
WARNING: Falling back on generic information extractor.
[generic]<PHONE_NUMBER>591: Downloading webpage
[generic]<PHONE_NUMBER>591: Extracting information
ERROR: Unsupported URL: http://www.eonline.com/watch/very-cavallari/full-episode/sunday-not-so-funday/1269538371591
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 794, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 522, in extract
ie_result = self._real_extract(url)
File "/usr/local/lib/python3.6/site-packages/youtube_dl/extractor/generic.py", line 3320, in _real_extract
raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: http://www.eonline.com/watch/very-cavallari/full-episode/sunday-not-so-funday/1269538371591
youtube-dl --version
2019.03.09

watch/now URLs redirect not NBC website.


System status sometimes doesn't update on android

Suspect the persistent caching is at fault as closing and reopening the app resets the last updated time on the cache, so it always seems recent.
Need to manually set the last updated time or persist the cacheInfo objects as well

Should be fixed i v0.5.1 keeping open for now

Reported as fixed by user


Update instructions - workaround for gyro not initializing

Recent versions of Steam disable provision of gyro values from Steam Deck unless it is configured in a current controller layout to be used.
Provide instructions in readme etc. on how to work around that problem.
The workaround is described here.
Related issues: #45 #54

I just tap … button under right touch panel on steam deck when I playing Zelda and it works while menu is opened.

Not planned - the issue with gyro not working will be fixed and workaround will not be needed - #64


Train test split

Hi, dear authors, I am following your excellent work. But I find no information about how to split the train set and test set, which is the key for a fair comparison of different models.  So would you please add some instructions?

Me too


Deleting a plan when the plan is failing should return nodes to schedulable

Is your feature request related to a problem? Please describe.
After my upgrade plan failed due to rancher/k3s-upgrade#22 I deleted the plan, with the hope that the nodes would be returned to status Ready. The controller continued to schedule jobs and the node remained with status Ready,SchedulingDisabled.
Describe the solution you'd like
The controller should see that attempts to upgrade are failing and return the node back to status Ready. No more attempts to schedule the upgrade should be made until the upgrade plan is modified.
Describe alternatives you've considered
I manually ran kubectl uncordon my-node and all was fine.
Additional context

@stellirin thanks for reporting this and the underlying issue (that I moved to https://github.com/rancher/k3s-upgrade/issues/22).
Right now plan "recovery", such as it is, is an exercise left to the human operator. The SUC will only uncordon a node when:

the apply job has completed successfully
the plan still exists with non-nil drain or cordon is true

I can change the SUC to know whether to uncordon at the time the job is created (via a label most likely) instead of at job completion via plan lookup. This would cover the weird corner case of a plan being deleted right before it's job completed so the node ending up schedulable again without manual intervention. But, given  the general-purpose nature of SUC, I am not confident that we can know whether or not a node can be reverted to schedulable if the application of plans on it has failed.
Another way of stating my concern: unless an upgrade job has completed successfully for a node, SUC has no reliable basis to assume that marking the node as schedulable again is warranted because "failure" can happen anywhere in the upgrade job which applies arbitrary, imperative-mode mutations.

Thanks for your explanation, after a second look at this I probably should have requested something like 'Don't cordon nodes unless the plan phase succeeds'.
I'm now assuming here that plan is doing what it suggests, which is that no (significant) changes to the node are done, it is preparing the node before applying any changes (I didn't notice any changes, but it failed early in my case).
If that assumption is correct, then it may make sense to do one or some of:

not cordon a node until plan is complete

plans can fail multiple times without blocking the node
probably easier to adapt existing code to this

cordon the node, count the number of failed plans, stop planning after x fails, uncordon the node

not failing forever, no resources wasted
requires a lot of additional code
cordon at the start probably has a use case I'm not aware of

Of course if I'm wrong about my assumptions then feel free to tell me to shut up, but in any case I really appreciate that you are attempting to solve automated updates like this!

Thanks for your explanation, after a second look at this I probably should have requested something like 'Don't cordon nodes unless the plan phase succeeds'.

Not sure what you mean here. The cordon / drain is encoded as an init container (one or the other but never both) invoking kubectl that comes after the prepare container (init containers are run serially). Please note that the first thing kubectl drain does is what kubectl cordon does:

I'm now assuming here that plan is doing what it suggests, which is that no (significant) changes to the node are done, it is preparing the node before applying any changes (I didn't notice any changes, but it failed early in my case).
If that assumption is correct, then it may make sense to do one or some of:

not cordon a node until plan is complete

plans can fail multiple times without blocking the node
probably easier to adapt existing code to this

cordon the node, count the number of failed plans, stop planning after x fails, uncordon the node

not failing forever, no resources wasted
requires a lot of additional code
cordon at the start probably has a use case I'm not aware of

Something to keep in mind is that the cordon / drain is optional. If your installation doesn't benefit from it then you can disable it by deleting the .spec.drain in k3os-latest. If you do delete .spec.drain I recommend keeping the cordon behavior by setting .spec.cordon: true to prevent the inadvertent scheduling of something to the node right before a reboot.

Of course if I'm wrong about my assumptions then feel free to tell me to shut up, but in any case I really appreciate that you are attempting to solve automated updates like this!

You've given me something to think about for a possibly smarter implementation in the future and I appreciate that. In the meantime, assuming your primary concern is k3OS, keep an eye on https://github.com/rancher/k3os/issues/486 as this will entail a slightly smarter pair of plans working together to first upgrade node-role.kubernetes.io/master==true and then everything else. Part of this will be only cordoning the master nodes (the way rancher does via k3s-upgrade, see https://github.com/rancher/system-upgrade-controller/blob/v0.5.0/examples/k3s-upgrade.yaml#L22) but keeping the drain for workers, by default.

What should I do for recovery the master node from Ready,SchedulingDisabled to Ready when upgrade plan is falling ?


"az cosmodb create" command failed with Periodic backup policy

az cosmodb create failed with option --backup-policy-type Periodic as of CLI version 2.40.0

Related command
$backupPolicy="Periodic"
az cosmosdb create --name $dbName --resource-group $resourceGroup `
        --backup-policy-type $backupPolicy `
        --default-consistency-level Session `
        --kind MongoDB --server-version 4.2

Describe the bug
I get the error:
The command failed with an unexpected error. Here is the traceback:
local variable 'periodic_mode_properties' referenced before assignment
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/cosmosdb/custom.py", line 146, in cli_cosmosdb_create
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/cosmosdb/custom.py", line 276, in _create_database_account
UnboundLocalError: local variable 'periodic_mode_properties' referenced before assignment

However, everything works fine with "Continuous" backup policy and if I specify --backup-retention 24 --backup-interval 720
Expected behavior
It should work even without retention and interval (with default values)? Or at least the documentation should tell they are mandatory in case of periodic backup as well as the command when only policy is specified.
Environment summary
Powershell script under Windows OS

@gmns-mgl Thank you for reaching out, we are looking into it.

@gmns-mgl Thank you for reaching out, we are looking into it. Can you please share your environment details with us? using az --version
Of course!
{
"azure-cli": "2.40.0",
"azure-cli-core": "2.40.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {}
}


Crash report

Possibly caused by displays (according to False)
https://hastebin.com/babajikuqo.txt

should be fixed in 0.3.3-SNAPSHOT


On refetch, result gets out of sync

Describe the bug
On initial request, the request is fine, but on refetch the result is undefined.
This is likely because on refetch an isTrusted is passed with query parameters (not by me, but apollo itself), while this is not passed on during the initial request. Thus useQuery is directed to a different part of the cache than the updated request, and it falls back on the default value.
To Reproduce
Steps to reproduce the behavior:

Write a request. For instance,

const GET_INSTITUTE_CASE_DETAILS_QUERY = gql`
  query getInstitudeCaseDetails($id: ID!) {
    instituteCase(id: $id) {
      id
      name
    }
  }
`;

const { result, refetch } = useQuery(
  GET_INSTITUTE_CASE_DETAILS_QUERY,
  { id },
);
const instituteCase = useResult(result, null, (data) => data.instituteCase);

Result is not null. The query variables that are sent by apollo were:

Run refetch().
Request is successful (looking at network tab), but result is empty. The query variables that are sent by apollo were:

Expected behavior
Refetched data to be in result, but it is undefined.
Versions
vue: 2.6.11
vue-apollo: 4.0.0-alpha.7
apollo-client: 2.6.8
Additional context
In the loading state while refetching, the result is looking at the original cache of the initial request, and the result then contains the data of the initial request that did work.
So in between step 3 and 4, the loading state shows the result of the initial request, which was correct.
This bug also happens when loadMore is used.

I'm having the same problem.

This problem was solved by a very unrelated issue than vue-apollo or apollo in general.

@jacenre - Do you recall how you solved the issue? Running into the same thing where all my variables are replaced with isTrusted: true.

@jacenre - Do you recall how you solved the issue? Running into the same thing where all my variables are replaced with isTrusted: true.


Update package.json

Do you still need to specify extensions here?

I don't know. Was there an update to eslint?


[ISSUE-400] add null check when updating value

Fixes issue #400
Let me know if you want any changes made.

thanks for the fix. let's merge this. @haydenwoodhead


Support for SNACS v2.6

SNACS v2.6 English guidelines. Key changes:

rename p.RateUnit -> p.SetIteration
old p.Causer -> p.Force
p.Causer now has a new interpretation
p.Content added, but not used for English

Commit with changes to the STREUSLE code and data: nert-nlp/streusle@2786c8c
script for upgrading streusle.conllulex

Applied new labels and aligned the goeswith check with STREUSLE scripts in #5. The STREUSLE conllulex passes validation with the new changes.

#5 was merged, validator now supports SNACS v2.6 labels.


vc code game Cannot read property 'rpc' of undefined

TypeError: Cannot read property 'rpc' of undefined
at Object.proto.pushMessageToUserID (D:\singleServers\app\servers\game\gameserver\baozhua.js:295:15)
at D:\singleServers\app\servers\game\gameserver\baozhua.js:270:12
at Query. (D:\singleServers\app\util\mysql.js:24:22)
at Query. (D:\singleServers\node_modules\mysql\lib\Connection.js:502:10)
at Query._callback (D:\singleServers\node_modules\mysql\lib\Connection.js:468:16)
at Query.Sequence.end (D:\singleServers\node_modules\mysql\lib\protocol\sequences\Sequence.js:83:24)
at Query._handleFinalResultPacket (D:\singleServers\node_modules\mysql\lib\protocol\sequences\Query.js:139:8)
at Query.EofPacket (D:\singleServers\node_modules\mysql\lib\protocol\sequences\Query.js:123:8)
at Protocol._parsePacket (D:\singleServers\node_modules\mysql\lib\protocol\Protocol.js:278:23)
at Parser.write (D:\singleServers\node_modules\mysql\lib\protocol\Parser.js:76:12)
I got this error and the entire DS crashed. Anyone can help?

hello. Sorry for the late reply. Seems the error occurred because your client isn't actually a deepstream client (I'm assuming its a nodeJS microservice).
const client = deepstream()
client.login(() => {
  client.rpc.make(...)
})

If that isn't the issue and you would like to try again please reopen this. Apologies for not getting back sooner.


Too many iteration result in looping behavior/results

See:  https://www.youtube.com/watch?v=G7AC4zBQ3Co
The video consists of 780 pictures made with the following configuration of Big Sleep: 15600 iterations, 1 epoch, save an image every 20 iterations.
lr= 0.03, max_classes= 200 (or 100), non deterministic
Even if this is expected behavior, there should be a safety mechanism to stop the execution if the results repeat.

Oops, looks like the program I used to create a video from the images did not respect the numbers in the filename correctly :(


FYI: Colour has already code for Adobe/Iridas Cube.

Hi @yoonsikp,
Just an FYI but I noticed that you reimplemented some code we already have in Colour: https://github.com/colour-science/colour/blob/develop/colour/io/luts/iridas_cube.py
It might help to reduce the size of your CubeLut class.
Cheers,
Thomas

Thank you for the info. I will take a look and see if I can implement my CubeLUT class as a child class of your LUT3D Class.


Performance: Rewrite of recursive comments directive.

Currently this requires 1 watch per comment. If this were simply a flat list with depth, it would be 1 watch per thread instead.

Big progress today on this. I have the back end totally working, but need CSS help. Sigh.

Pretty big issues in the end trying to fix the CSS around this. Images don't work nicely with expanded replies inside. Flat single list doesn't work nicely for drawing the tree. If anyone has better ideas, the branch is still available for a while.


Invert Mouse Y Axis

Thank you so much for this. Seriously.
And so i feel like a demanding DB for asking this but can you add Invert Y Axis? The in-game option isnt working now. I have always inverted Y axis in games. Since 1982 with Flight Simulator 1, i have inverted the Y axis. i know i must be a freak and weirdo but could you please add this option? I will love you forever (i already love you lots). I tried a strange app from a dark corner of gaming internet and it worked but wont let me move mouse pointer from one monitor to another and locks up game sometimes.  WIn10 cant seem to do it. Logitech software cant do it.
 Me and the Invert Y axis freaks and geeks. You are Flash Gordon and the Highlander rolled into 1 mega hero. And so we pray and ask humbly on our /kneel knees. Is this possible? thank you sir/madam and have a good day.

pushed the changes that check the in games invert mouse option and negates the mouse movement on the y axis.


coprocessor_v2: FreeBSD uses .so

What is changed and how it works?

Issue Number: Close #17090

What's Changed:

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

/cc @BusyJay

/cc @sticnarf

/merge

/test pull-unit-test


driver: sensor: adxl367: Fix for conversion and SPI

This is a fix for:

Extra 0 in conversion of acceleration values in adxl367_accel_convert.
Conversion of temperature values in adxl367_temp_convert.
SPI communication when RTIO is used in SPI driver. When in adxl367_bus_access, const struct spi_buf buf[3] is used, spi_rtio_copy function won't set correct buffers and length for buf[2] and that will cause exception when that buffer is processed.

Signed-off-by: Vladislav Pejic<EMAIL_ADDRESS>

Since these are three separate bug fixes, can you please split them into three separate commits (they can all stay in this PR)? This will help if we later find that one of the fixes was incorrect and can revert just that part.

Done. Is it ok like this?


Add pundit gem

We want to make use of the pundit gem. Please add it to the Gemfile, run the install command, and familiarize yourself with it (whoever takes this ticket de facto becomes our pundit authority!).
For context, we imagine using this to distinguish between three different roles, listed here in increasing levels of access:

adopter - the end users
staff - the people who work at the organization's rescue
admin - the people who work on the code of the app (ie, Ben and RfG folks)

I added the on hold label to this issue because I think depending on how @johnksawers's and @jadekstewart3 's work on the User model turns out, we might have a different idea on how to proceed with roles and permissions. Maybe we won't need pundit?

Removing on-hold on this, I think we can add this in safetly now :)

@heyapricot you can take on this again if you want :)

@edwinthinks Some things have changed since the last time I saw the app.
Do we have user stories of sorts?
I'm thinking:
As a staff user I should be able to open page(s) X
As a regular user I should not be able to open page(s) x

Closed as we are using Rolify to manage user roles right now.


Release Notes - 1.9.0

AGU release notes

label group deactivation delete
user name issues
author names to accommodate organizations
jupyter notebooks work
hydroshare his bug fixes
usage tracking improvements
federated iRODS unit tests
help pages improved
bug fixes and incremental updates

NOTE: Must run following post deployment to migrate hs_geo_raster resources already in production:
docker exec -i hydroshare python manage.py shell < "hs_geo_raster_resource/patches/manual_custom_migration_raster_ori_cov_meta_update_20161121.py"

@gantian127 - The output from the custom migration patch on www was
[hydro-service@www hydroshare]$ docker exec -i hydroshare python manage.py shell < "hs_geo_raster_resource/patches/manual_custom_migration_raster_ori_cov_meta_update_20161121.py"
No handlers could be found for logger "hydroshare"
/usr/local/lib/python2.7/site-packages/mezzanine/utils/conf.py:55: UserWarning: TIME_ZONE setting is not set, using closest match: Etc/UTC
  warn("TIME_ZONE setting is not set, using closest match: %s" % tz)
Python 2.7.11 (default, Jun  9 2016, 14:42:54)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 I also tested on www site and the migration works. Thank you.

released


[snapshot] When the pvc related to volume is from a clone, vm snapshot will create failed

I recently used the snapshot feature of vm, and the following error occurred during use:
E0128 07:24:08.404961       1 util.go:125] VirtualMachineSnapshotContent.snapshot.kubevirt.io "vmsnapshot-content-19a6f130-9dd7-4be7-8cc3-65c40b0a0199" is invalid: spec.volumeBackups.persistentVolumeClaim.spec.dataSource.apiGroup: Invalid value: "null": spec.volumeBackups.persistentVolumeClaim.spec.dataSource.apiGroup in body must be of type string: "null"

vm's volume relation pvc is as following:
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: tpl-vol-ym0w2c6o
  namespace: test
spec:
  accessModes:
  - ReadWriteMany
  dataSource:
    apiGroup: null
    kind: PersistentVolumeClaim
    name: ubuntu
  resources:
    requests:
      storage: 20Gi
  storageClassName: rook-ceph-block
  volumeMode: Block
  volumeName: pvc-076ba029-2680-459b-acaf-cb5978a4a686

Through analysis, it should be because the apiGroup field in  dataSource has no "omitempty" flags, resulting in null when json is serialized, and an error occurs when deserialization from configuration.
By modifying the json attribute of the related field in the vendor, i solved this problem.
# git diff vendor/k8s.io/api/core/v1/types.go
diff --git a/vendor/k8s.io/api/core/v1/types.go b/vendor/k8s.io/api/core/v1/types.go
index fcd455402..0543803da 100644
--- a/vendor/k8s.io/api/core/v1/types.go
+++ b/vendor/k8s.io/api/core/v1/types.go
@@ -4992,7 +4992,7 @@ type TypedLocalObjectReference struct {
        // If APIGroup is not specified, the specified Kind must be in the core API group.
        // For any other third-party types, APIGroup is required.
        // +optional
-       APIGroup *string `json:"apiGroup" protobuf:"bytes,1,opt,name=apiGroup"`
+       APIGroup *string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=apiGroup"`
        // Kind is the type of resource being referenced
        Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
        // Name is the name of resource being referenced

The reproduction method:

create a pvc from clone
give it to volume
then do a snapshot of vm

@mhenriks there seems to be an issue with the snapshot feature, would you please take a look?

Thanks for the detailed bug report @cumirror!  Will fix this


lanedet-main/configs/condlane/resnet50_culane.py

when i use the config "lanedet-main/configs/condlane/resnet50_culane.py",but got
Traceback (most recent call last):
File "main.py", line 65, in
main()
File "main.py", line 35, in main
runner.train()
File "/home/data6/fmsfms/lanedet-main/lanedet/engine/runner.py", line 94, in train
self.train_epoch(epoch, train_loader)
File "/home/data6/fmsfms/lanedet-main/lanedet/engine/runner.py", line 67, in train_epoch
output = self.net(data)
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 155, in forward
outputs = self.parallel_apply(replicas, inputs, kwargs)
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/parallel/data_parallel.py", line 165, in parallel_apply
return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 85, in parallel_apply
output.reraise()
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
RuntimeError: Caught RuntimeError in replica 0 on device 0.
Original Traceback (most recent call last):
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 60, in _worker
output = module(*input, **kwargs)
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/data6/fmsfms/lanedet-main/lanedet/models/nets/detector.py", line 26, in forward
fea[-1] = self.aggregator(fea[-1])
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/data6/fmsfms/lanedet-main/lanedet/models/aggregators/transformer.py", line 152, in forward
src = layer(src, pos.to(src.device))
File "/home/data6/fms/envs/laneatt/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/data6/fmsfms/lanedet-main/lanedet/models/aggregators/transformer.py", line 106, in forward
x += pos
RuntimeError: The size of tensor a (2) must match the size of tensor b (8) at non-singleton dimension 0

Currently, Condlane need change batch_size=1 for inference.


Fix race condition in Funding table writes

Use lockApp to avoid stale writes to the Funding table.
The underlying issue here is a read and a stale write. We use read-committed Postgres isolation level. It is possible that with two simultaneous updateTransferredOut calls A and B the following happens:

A reads row R.
B reads row R.
A updates R to f(R)
B updates R to f’(R). B should update R to f’(f(R)).

We have a few different solutions:

A more strict transaction isolation level.
select-for-update on a Funding table row at the start of the function.
select-for-update on a Channels table row at the start of the function.

It seems prudent to use the existing locking mechanism (option 3) to avoid having to think about deadlocks. If we introduce a table specific lock for the Funding table, we need to think about order of lock acquisition.
Fixes https://github.com/statechannels/statechannels/issues/3176.
Code quality
I have NOT scoped this change as narrowly as possible as this change involves a one line commit to revert a change to a test that was not nessary.

It's not a big deal for this one, but you have to manually link the issue to the PR using zenhub. (I know it's a pain)

This action causes then to merge into a single card on the zenhub board:

It's not a big deal for this one, but you have to manually link the issue to the PR using zenhub. (I know it's a pain)

This action causes then to merge into a single card on the zenhub board:


Include playlist track number

It would be great to have an option to keep the track number (in the title for instance) when downloading a whole playlist.
(It would also be great for people who download albums I guess, but it's not something I do).
By the way, thanks for the work!

Hi, I have a kinda dirty implementation for that: https://github.com/PercyJW-2/spotify-dl


Update release.yml to support nvm and use correct Node version

:tada: This PR is included in version 0.15.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Use a finalizer to make sure web hooks are removed when operator is uninstalled

When uninstalling the forklift operator, not all resources are removed from the cluster. In particular, there are at least 3 validatingwebhookconfiguration objects and 3 mutatingwebhookconfiguration objects that are left behind. By using a finalizer on the operator, we can ensure that these objects are removed from the cluster.

Ref: https://issues.redhat.com/browse/MTV-1076

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 16.17%. Comparing base (0fe6512) to head (b5b3def).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1092      +/-   ##
==========================================
- Coverage   16.24%   16.17%   -0.08%
==========================================
  Files         112      112
  Lines       19882    19882
==========================================
- Hits         3229     3215      -14
- Misses      16365    16380      +15
+ Partials      288      287       -1

Flag
Coverage Δ

unittests
16.17% <ø> (-0.08%)
:arrow_down:

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

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


refactor: more edge case tests for CLIP audio encoder

simplification of readme
more edge test cases.

Part of #84

@bwanglzu I suggest adding batch_size for this to enable batching. Check out the codes in CLIPTextEncoder.

BTW, is the model downloading part mentioned in the README? I agree with that we don't download models by default. Do you throw a warning about this


Tag name with # in front results not working as expected

can't reproduce anymore - the element in the red box no longer appears.

can't reproduce anymore - the element in the red box no longer appears.


Provisioning /etc/hosts with localhost

The lack of localhost in /etc/hosts caused problems with kubectl
Fixes #1045

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Szymon Pyżalski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.

Hi @zefciu: we need a CLA to be able to accept this.  You might need to associate the email address you committed with to your github account (or amend the email in the commit as well).
Thanks :)

Signed.

Thanks @zefciu :).
CLAassistant isn't matching this commit (email address mismatch), but I'm happy to manually approve that it's also you.


Implement Basic Authentication Middleware

Add a basic authentication middleware to manage user authentication in the application, while excluding chat routes from this authentication process.
Proposed Solution:

Load the username and password from environment variables.
Implement middleware to handle authentication for necessary routes.
Ensure that chat routes are exempted from authentication.

Can I work on this issue?

Video Link :
https://www.loom.com/share/ef172d3b35df4a758b09bc0879e2e1e1?sid=9b4de1d3-9979-4e99-a93e-6d7687a192e5


change default state dir from /tmp/img to /home/user/.local/share/img

prevent /tmp/img from being removed on reboot
should work with distros that mounts /tmp with incompatible options

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>Fix #97
cc @frezbo

Codecov Report

Merging #111 into master will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##           master   #111   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          12     12
  Lines         681    699   +18
=====================================
- Misses        681    699   +18

Impacted Files
Coverage Δ

main.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Awesome!


Lazy loading commands

We'd like to provide some layer for lazy loading commands in out cli application,
so that we do not need load all dependencies for all registered commands on listing commands, etc.
Probably we can provide some wrapper and use static getDefaultName method on command.
Should be investigated more and implemented accordingly.
I think it is not the highest priority and can be done in the next minor release.

Would https://symfony.com/doc/current/console/lazy_commands.html get us anywhere?
Great to see this project, BTW :)

@kynx Nice one, thanks! We have to try, but it looks promising 👍


bug: Content does not fit to screen using height 100%.

Type: bug
Platform: ios 7 webview
This bug persists on iOS 7, iOS8, and iOS 9. Tested devices include the iPhone4s, 5, 6, 6+, 6s, 6s+. Bug does not occur on android. Bug does not occur in phones browser. Bug does occur in ionic view and native hybrid application.
Please see thread for more information and picture details: http://forum.ionicframework.com/t/ionic-bug-on-ios-details-inside/35155

Bug fix is inside of MainViewController.m
See below:

(void)webViewDidFinishLoad:(UIWebView*)theWebView
{
// Black base color for background matches the native apps
theWebView.backgroundColor = [UIColor blackColor];
theWebView.scrollView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, 0.0f, 0.0f);
return [super webViewDidFinishLoad:theWebView];
}

The line:
theWebView.scrollView.contentInset = UIEdgeInsetsMake(0.0f, 0.0f, 0.0f, 0.0f);
Corrects problematic behaviour on all iOS versions

Does anyone monitor these?

Hello! Thanks for opening an issue with us! Very sorry for the wait, are you still experiencing this issue?

I couldn't answer, as I stopped using Ionic awhile back due to projects randomly corrupting and starting writing my apps in native code again.

Im sorry about that! When you say your projects were randomly corrupting what exactly was happening? Were they not building?

I honestly couldn't tell you exactly what was happening. I could literally go to sleep one night, and wake up the next and the entire project would explode. Running the application would result in the "white screen of death" and compiling the application would throw tons of errors.
Creating a new ionic project and migrating all of the code over would correct any problems.
It just got to where we were doing this about 4-5 times a week and we couldn't deal with the amount of time it was taking anymore.
I would love to give Ionic2 a try for some future applications. However, due to the complications I'll be keeping any larger projects away for awhile.
Thanks for your quick responses. As for the original error spoken of, I was experiencing it up until the bitter end. (Around mid January is when I finally made the swap).


cleanup wfe.py; rationalize with ZernikeAberration class and related.

@josePhoenix  - The existing wfe.py file is mostly a placeholder left over from early steps towards adding Zernike aberrations and other WFE forms. The partial Zernike WFE class in there is now almost certainly obsolete and redundant with your ZernikeAberration class, so we should take it out so there is one and only one obvious way to implement Zernike-based WFE.
The other classes are just notional hand wave placeholders; I'd probably comment them all out entirely although I wouldn't just delete them outright since I think in the long run we will want some other forms of aberrations besides just Zernikes.

I think this would also be good to do (at least partially) for this release. Mostly just to avoid having 2 incompatible Zernike classes present.

We should delete them outright :) Version control means you can delete things with no consequences.
I propose moving ZernikeAberration into wfe.py and removing the rest. It makes sense as a logical grouping, we just only have one thing to put in it for now.


Add E-Viewer 2011.11.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

To install this application, you need to manually trust the personal signature of this developer. Please install the .cer file here.
https://github.com/OpportunityLiu/E-Viewer/releases/tag/v2020.11.1

You need to indicate in the document a warning that multiple architectures are not supported。

Please see my reminder in #1

To install this application, you need to manually trust the personal signature of this developer. Please install the .cer file here.
https://github.com/OpportunityLiu/E-Viewer/releases/tag/v2020.11.1

If there is a simpler method that does not require the user to manually operate to trust a certain certificate, please let me know.

/azp run


React Tap Event 300ms delay on IPAD

Hello, i have created a simple Create  React App + Material-UI application with some of the examples from the docs, like checkboxes, grid spacing,  checkboxes, modals, etc, packaged it using Cordova and ran it on my IPAD.
I am experiencing (especialy when clicking a  checkbox or a toggle) the 300 ms delay.
With modals instead i am seeing a double click problem, the first it fires on touch tap, opens the modal then after the delay it fires a click that triggers the closing of the modal.
I was curious if on the official website it would behave in the same manner, so,  using the browser of the IPAD i went to https://material-ui-next.com/demos/selection-controls/ and everything works just fine.
By looking at the code on github i wasnt able to find no special configuration that you do for making this work, so i dont know if its a problem of Cordova , React, Webpack,
or ME :)
Thank you.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Tech
Version

Material-UI
1.0.0-beta.29

React
16.2.0

browser

etc

This doesn't fix the issue. Cordova on iOS uses UIWebView, which still has the 300ms delay even with the above viewport settings. As a result, it's unpleasantly slow.
You can try using Cordova's cordova-plugin-wkwebview-engine plugin, although it looks buggy.


Regarding Position Encoding

May I ask if positional encoding of features is important in these Transformer based architectures? It seems that the vast majority of papers do not mention positional encoding

For tabular data, the features typically do not have a fixed order, meaning that swapping the order of the raw data features does not fundamentally change the dataset. Because of this, positional encoding is generally not necessary in Transformer-based architectures when working with tabular data. The absence of positional encoding in most papers likely reflects this characteristic of tabular data.


web_extra_daemons causes a hardcoded 3 second wait on ddev start

Is there an existing issue for this?

[x] I have searched the existing issues

Is your feature request related to a problem?
I noticed that as soon as a single web_extra_daemon is specified that ddev takes an extra 3-4 seconds to start. This is due to startsecs=3 which was added in https://github.com/ddev/ddev/pull/5936. The good news is since daemons start in parallel additional daemons don't immediately slow things down.
However, the docs at https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#explicit-supervisord-configuration-for-additional-daemons for manually specifying a daemon doesn't include startsecs.
Describe your solution
I tested starting a daemon without startsecs=3 and it started fine, and saved around 3 seconds on start. However, if this value is critical (along with the sleep 2 that gets inserted), perhaps we should just update the docs to explain this?
Describe alternatives
Perhaps we could also make a config option that tells ddev to not wait at all for a daemon, and not block startup if it fails a few seconds after starting.
Additional context
No response

If you think supervisord config could work correctly without this, it would be a great exploration. Obviously this got added for a reason, but there may be a good technique. You can easily experiment using a .ddev/web-build/Dockerfile.


No PDF preview for any size PDF

Microsoft PowerToys version
0.69.1
Installation method
GitHub, Microsoft Store
Running as admin
Yes
Area(s) with issue?
File Explorer: Preview Pane
Steps to reproduce

PowerToysReport_2023-05-01-16-14-12.zip
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Do the other preview handlers work?

detail pane works

and for word, text and photos work

I meant the other ones from PowerToys. Like markdown, developer files, svg, etc.
/needinfo

Markdown and SVG work

Have you tried turning it on and off again?
/needinfo

Yes. It not working
On Mon, May 8, 2023 at 10:40 AM Aaron Junker @.***>
wrote:

Have you tried turning it on and off again?
/needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/25788#issuecomment-1538604233,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKFNV6P7EIAKKT2PDPDOYGLXFEHXJANCNFSM6AAAAAAXSGJ4BI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thank you so much.
Yours sincerely,
Zirou Zhou
PhD Student in Statistics, Iowa State University
Mobile:<PHONE_NUMBER>
E-mail: @.
*LinkedIn: *https://www.linkedin.com/in/zirouzhou423/
Address: 440 Southern Cross Dr, Austin, TX, 78717 / 422 Stonehaven Dr
Unit 15, Ames, IA, 50010

/dup https://github.com/microsoft/PowerToys/issues/29644


[FEATURE] buildThemes: Add filtering for available themes

Thank you for your contribution! 🙌
To get it merged faster, kindly review the checklist below:
Pull Request Checklist

[ ] Reviewed the Contributing Guidelines

Especially the How to Contribute section

[ ] No merge commits
[ ] Correct commit message style

Coverage decreased (-0.3%) to 90.623% when pulling 0e468c4d72d3b92858d3bb17360107e2f9ba7107 on theme-filtering into 1b53921921f6a3abd0e7cc3523272857ec1c5370 on master.


Patch Tuesday Release (1B)

Patch Tuesday Release
Tasks

[x] Ensure all build agent scale sets have the appropriate number of machines allocated for a build

[x] Merge any pending PRs or commits from dev branch:

[ ] <placeholder link>

[x] Look up the latest NuGet CLI versions and update the nuget-info.json file with the latest patch of each major/minor version listed in the file.

[x] Wait for latest cumulative updates (LCUs) to be released (typically at 10 AM PST on Patch Tuesday).

[x] Gather list of KB numbers for the .NET Framework updates from the .NET Release team.

[x] Look up the download URL for each of the KB numbers in Microsoft Update Catalog and input them into the lcu-info.json file. If this is the first Patch Tuesday after the release of a new Windows version, you'll need to do the following extra steps for that version:

[ ] Add a new entry to the lcu-info.json file to associate a URL for the new Windows version and 3.5 runtime version.
[ ] Update the 3.5/runtime Dockerfile for the new Windows version so that the patch is applied (this can be copied from another 3.5/runtime Dockerfile in a section labeled Apply latest patch)

[x] Run the update-dependencies tool to update all the necessary files:

[x] dotnet run --project .\eng\update-dependencies --datestamp-all <YYYYMMDD>

[x] Inspect generated changes for correctness

[x] Commit generated changes

[x] Create PR

[x] Get PR signoff

[x] Merge PR

[x] Wait for changes to be mirrored to internal dotnet-framework-docker repo (internal MSFT link)

[x] Run the Get-BaseImageStatus.ps1 script and wait until the Windows images have been updated as part of the Windows Patch Tuesday release process. This script will display when the dependent Windows images were last updated. Wait until all the images show that they have been recently updated. "Recently updated" amounts to be having been updated within the past week or so; images from a month ago should be considered to be the old version.
 ./eng/common/Get-BaseImageStatus.ps1 -Continuous

[x] Queue build of dotnet-framework-docker pipeline (internal MSFT link)

[x] Confirm images have been ingested by MCR

[x] Confirm READMEs have been updated in Docker Hub for microsoft-dotnet-framework

[x] Confirm build for dotnet-docker-framework-samples (internal MSFT link) was queued. This will be queued automatically by dotnet-docker-tools-check-base-image-updates when it detects that the product images have been updated (detection runs on a schedule). Alternatively, you can manually queue the samples build.

[x] Confirm sample images have been ingested by MCR

[x] Confirm Last Modified field has been updated in Docker Hub for microsoft-dotnet-framework-samples

[x] Reply to .NET Release team with a status update email

[x] Deallocate any extra scale set build agent machines if necessary

windowsservercore-1909 will not be updated today due to a delay in updating the base mcr.microsoft.com/windows/servercore:1909-amd64 image.

windowsservercore-1909 will not be updated today due to a delay in updating the base mcr.microsoft.com/windows/servercore:1909-amd64 image.

windowsservercore-1909 has been updated today. This completes the servicing updates.

windowsservercore-1909 has been updated today. This completes the servicing updates.


Automated cherry pick of #6691: Run IPPool webhook handler when SecondaryNetwork is enabled.

Cherry pick of #6691 on release-2.1.
#6691: Run IPPool webhook handler when SecondaryNetwork is enabled.
For details on the cherry pick process, see the cherry pick requests page.

/test-all


Mocks for "Ineligible" page

Requirements

Create North Star mocks for "Ineligible" page.
Updated figma mocks

Old UX
In this screenshot, there are 2 questions.

@isabelcshaw We need product approval on the new mocks to unblock development

@ssandbekkhaug This issue is blocked at the moment while we discuss what scope makes sense for feature parity.
We have an upcoming feature (Custom Eligibility Message PRD) in progress that is going to change the current functionality of this feature, so it may not make sense to work on this for feature parity at the moment.
We will keep you updated when we decide on a scope.
cc @shreyachatterjee00

For the initial North Star launch, can we use the existing mocks? I'm concerned about scope creep.


provide more details on required .parquet file extension error message

Which issue does this PR close?
provide more details on required .parquet file extension
Closes #.
Rationale for this change
provide more details on required .parquet file extension
What changes are included in this PR?

Are there any user-facing changes?

Thanks @Jimexist