False missing notebook indicator in pipeline editor

Describe the issue
When hovering over a notebook node in the pipeline editor, it displays an error indicator indicating that the notebook file is missing, yet the notebook is present and the pipeline can be run.
To Reproduce
Steps to reproduce the behavior:

Open an existing pipeline.
Hover over a node.
Note the error indicator.

If I drag a notebook onto the pipeline, this does not occur.  Yet when I open the pipeline file in a text editor, there is no difference in the two notebook node file entries - they both reference local notebook files.
Screenshots or log output

Here's the pipeline file.
untitled.pipeline.tar.gz
Expected behavior
A clear and concise description of what you expected to happen.
Deployment information
Describe what you've deployed and how:

Elyra version: 2.1.0rc2
Operating system: macos
Installation source: PyPI
Deployment type: local installation

Here's my complete pipeline directory since I think this might be difficult to reproduce.
my_pipeline.gz


the sudo/doas command and the second command have the same color

why are "doas" and "pacman" both green? they should have a different color. this only happens on my XFCE DE, either it's using xfce terminal, console, suckless, etc, but in TTY the coloring works correctly.

It's deliberate, because they're both going to run. You'll notice the prefix word has an underline.
TTYs aren't special cased.
You can change the highlighting of precommand yourself; see the main highlighter's documentation.


Doesn't work on macOS Mojave

Can't get Scroll Reverser to start on macOS Mojave.

https://github.com/pilotmoon/Scroll-Reverser/issues/57
there is a solution here!! scroll to the end

Oh, great. Thanks!
ᐧ
On Tue, Sep 25, 2018 at 11:21 AM gillib<EMAIL_ADDRESS>wrote:

#57 https://github.com/pilotmoon/Scroll-Reverser/issues/57
there is a solution here!! scroll to the end
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pilotmoon/Scroll-Reverser/issues/59#issuecomment-424385157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEG-rdCqhq1E66cofyyrBiCqek_tqN7dks5ueknngaJpZM4W4riz
.

Closing old issue. Please raise a new report if any problems persist.


Bring inhom. Poisson and Gamma Process to Elephant

Preliminary code is available in private jelephant repositories.

Done


apply httproute.yaml err info： error validating data: ValidationError(HTTPRoute.spec.rules[0].filters[0].requestRedirect): unknown field "path" in io.k8s.networking.gateway.v1alpha2.HTTPRoute.spec.rules.filters.requestRedirect; if you choose to ignore these errors, turn validation off with --validate=false

What happened:
apply httproute error
What you expected to happen:
apply httproute can be success
How to reproduce it (as minimally and precisely as possible):
kubectl apply -f ../kubernetes/httproute.yaml
error: error validating "../kubernetes/httproute.yaml": error validating data: ValidationError(HTTPRoute.spec.rules[0].filters[0].requestRedirect): unknown field "path" in io.k8s.networking.gateway.v1alpha2.HTTPRoute.spec.rules.filters.requestRedirect; if you choose to ignore these errors, turn validation off with --validate=false

httproute.yaml
---
apiVersion: gateway.networking.k8s.io/v1alpha2
kind: HTTPRoute
metadata:
  name: user-dev
  namespace: default

spec:
  parentRefs:
    - name: traefik-gateway

  hostnames:
    - example.com

  rules:
    - matches:
        - path:
            type: PathPrefix
            value: /from
      filters:
        - type: RequestRedirect
          requestRedirect:
            path:
              type: ReplacePrefixMatch
              substitution: /from
      backendRefs:
        - name: user-dev
          port: 80
          weight: 1

Anything else we need to know?:
# kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:41:01Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.1", GitCommit:"86ec240af8cbd1b60bcc4c03c20da9b98005b92e", GitTreeState:"clean", BuildDate:"2021-12-16T11:34:54Z", GoVersion:"go1.17.5", Compiler:"gc", Platform:"linux/amd64"}

@we4tech @EppO @mortent @Atoms any idea about this issue？

This kind of error is usually caused by there being a mismatch in the API version. Have you installed the most recent version of the CRD YAML?

@eoshardwork  are you still facing issue ?

Going to close this one due to lack of response, feel free to reopen if you're still running into this.


How to get frontmatter in v4 (client or server)

Is your feature request related to a problem? Please describe.
useConfig() handily exposed frontMatter, which allowed making components with conditions based on certain mdx file metadata.
Describe the solution you'd like
A similar hook or function. I'm not sure if a replacement already exists but I can't find it.

Hi, where do you want to access frontmatter in mdx page or custom jsx component imported in mdx page?

Custom JSX component that sits with the layout, just beneath the children, and renders its contents based on certain conditions from the frontmatter of the mdx page currently in view. E.g.

I got this working in v3 making a wrapper component for main property in the old theme config, and inside the wrapper I had a component after the children that got the frontMatter from the old hook and rendered on certain conditions, something like:

I think similar we return activeThemeContext https://github.com/shuding/nextra/blob/d5cb1bc0e84494cbcc8decbae56fb091ce9999f0/packages/nextra-theme-docs/src/stores/config.tsx#L79
In the same way, we can return activeMetadata

Yeah, that'd be amazing!

Hi @Firgrep, I am finishing the Blogpost announcement for Nextra 4 RC.0, so busy for now to add it
I am planning to add this feat in Nextra 4 RC.1
For now, you can access frontMatter (in your client component) via:
const { normalizePagesResult } = useConfig()
console.log(normalizePagesResult.activePath.at(-1).frontMatter)

Hope this unblock you for this moment ;)

Hi @dimaMachina , thanks for the hotfix! ;) Really appreciate it!
By the way, I've opened a new issue with regards to the bug, as I found another one and they seemed related. Ref #3567


Change the MP queries to supported API

VSCode Version: Insiders
OS Version: All

The MP team has notified me that there is a better way to use the API for searching for categories and tags. They designed the website to handle category:<category name> but intended clients to use a filter.
Here are the changes they recommend we make.

Current Usage
Current Filter Usage
Recommended Filter Usage

category:themes
search filter with value category:themes
category filter with value themes

tag:icon-theme
search filter with value tag:icon-theme
tag filter with value icon-theme

tag: debuggers
search filter with value tag:debuggers
tag filter with value debuggers

category:scm providers
search filter with value category:scm providers
category filter with value scm providers

category:keymaps
search filter with value category:keymaps
category filter with value keymaps

Different filter types:

InstallationTarget: 8
Tag: 1
Category: 5
SearchText: 10

The queries will look the same on our side, but we now parse them and make the right Marketplace query with the right filters.


docs: remove version from npm links to redirect to latest

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Nice! 👌

Thank you!


Scenario Runner on windows

Hi,
In getting start doc  you said "The current version is designed to be used with Ubuntu".
Do you intend next version compatible with windows?
or Can I use current version in windows with change in command that you mentioned in getting start?
thanks a lot for your attention.

Hi,
some folks are using ScenarioRunner also under Windows. So it seems to work, but we are currently not actively working on Windows support.

Hi,
thank you for all your amazing work!
not sure if I should comment here or open a new issue.
I was trying to use scenario runner under windows 10, however I couldn't figure out how to apply the steps, are you still not providing support? Specifically I am not able to figure out how to to include CARLA Python API to the Python path (I'm quite new to both carla and python).
In general my intention was to use carla in order to run specific scenarios (specifically overtaking scenarios, like the one mentioned in https://github.com/carla-simulator/scenario_runner/issues/324), do you have any suggestions on other ways to do that?
I am using the pre-packaged version of carla 9.5.
Thank you very much for your time.

ADD environment variable Like that:
Environment Variables->System Variables
add CARLA_ROOT  Variable and Variable value of it like this:
C:...\Carla_0_9_5

Please share setup instructions for scenario runner on Windows also. The Getting started documentation  seems to be specific to Linux. I have downloaded Carla 0.9.8 source code and scenario runner 0.9.8. I have built that but did not find any egg files. Please give more instructions pertaining to Windows.

I'm also trying scenario runner on windows but unable to start please give me steps in order to run scenario runner on windows

Python API Build in Windows:
1.Delete Build folder in Project Path.
2.Check that CmakeList.txt  file exist in project path.( if  that file changed in build CarlaUE
process copy and replace it from source)
3.update setuptools
4.run make PythonAPI or python setup.py install in Visual Studio x64 Native Tools Command Promps
setup.py is in PythonAPI\carla  folder.
note: there is version.h that saved with ini format that must be changed  its format to .hpp.
it is in …\carla\LibCarla\source\carla.
this steps Done in carla 0.9.7

Python API Build in Windows:
1.Delete Build folder in Project Path.
2.Check that CmakeList.txt  file exist in project path.( if  that file changed in build CarlaUE
process copy and replace it from source)
3.update setuptools
4.run make PythonAPI or python setup.py install in Visual Studio x64 Native Tools Command Promps
setup.py is in PythonAPI\carla  folder.
note: there is version.h that saved with ini format that must be changed  its format to .hpp.
it is in …\carla\LibCarla\source\carla.
this steps Done in carla 0.9.7

Thanks for the reply. Also, can you please tell me how to set the Python path in Windows. In Linux, it is path of the egg file. What should it be for Windows?

Thanks for the reply. Also, can you please tell me how to set the Python path in Windows. In Linux, it is path of the egg file. What should it be for Windows?

ADD environment variable Like that:
Environment Variables->System Variables
add PYTHONPATH Variable and Variable value of it like this:
...\Carla_0_9_5\PythonAPI\carla\dist\carla-0.9.5-py3.7-win-amd64.egg
and
...\Carla_0_9_5\PythonAPI\carla\agents
and
...\Carla_0_9_5\PythonAPI\carla

Hey @Faabdoly @LikhitaNukala @Ramachetan @anna-srl.
We just created a PR with some Docs explaining how to set up the environment variables. We also know that the manual control had an issue with the selected font, and that's fixed too.
Have any of you found any other problems regarding support for Windows (missing / incorrect Docs, files not working...)?

Closing this issue as we just merged a PR with this explanation at the Docs (PR #581)


Collection factory-ing Models should set urlRoot.

I propose Collection should set the urlRoot of Models it creates or that are explicitly added to it, if and only if the added Model does not already have a urlRoot set.
Why? Currently if an item Model instance is removed from a collection it can no longer talk to remote because it does not have a urlRoot, or a collection.url. But the remote object still exists, and the Model instance proxying it still exists. Being removed from the collection does not mean the Model instance is invalid in anyway, yet it gets broken by this. Consider this example: A Collection representing the first page of results on a server. If we do a Collection.fetch({reset: true}), a Model instance may be removed and its ability to talk to remote broken.
(Side note: I also think Model.collection.url should override Model.urlRoot,or alternatively urlRoot should be set to the last collection it was added to. But the above can be considered standalone, so I'll argue that in another issue)

Is this any different from #1705 #2416 #2426 #2430 #2533 #2578 #2797 #2426, etc?
As I recall correctly we stopped passing the url along to avoid shadowing the model url from the collection, but I don't remember why we stopped passing urlRoot.

(Also in the future, please open just one issue or pull request per change. No need to do it in two places).

Hi, it's different. #1705, #2800 are asking for the ability to pass url to Collection at init. This seems to have been added somewhere between #1705 and #2426 because it was deprecated in #2426 to fix a bug that all the other tickets you mentioned are about. the convo in #2424 resulted in #2426 not allowing url or urlRoot to be pased as options to Collection, Model constructors respectively. Not allowing url to Collection somewhat indirectly solves the bug. The argument for not allowing urlRoot was merely be consistent with the change to Collection as far as I can see.
Essentially what I'm proposing is, that in the absence of more specific instruction from the Model class, when a Collection creates a Model instance it should set its url (or rather 'urlRoot'). I don't care how its done. To implement this originally I made urlRoot an option to the constructor again. But actually thats wrong. If the Model specifies a urlRoot it should take precedence. I have pushed and squashed this amendment into the PR.
It's a minor thing and easy enough to hack around - like below - but I feel this is the correct inutitive behavior.
var MyModel = Backbone.Model.extend({
  initialize: function(options) {
    if(!this.urlRoot && this.collection.url) {
      this.urlRoot = this.collection.url
    }
  }
})

(Also in the future, please open just one issue or pull request per change. No need to do it in two places).

No problem will try to think of PR before opening issue in future when its simple.

I'm actually on board with this. It's not the same as passing url to the Model constructor, since url may mean the ajax url not the model url. urlRoot doesn't have the same confusion.

The consistency argument is pretty compelling. Why should urlRoot work but not url?

Only because we can't differentiate between jQuery's url and the model's url. Maybe open up a modelOptions object that'll be passed down as the options to the model?

Right that's my point. If we are going to do one than we should do the other. If one is broken, then we shouldn't do the other.
modelOptions seems kind of gross though. What's a use case for not setting it yourself (either in the initialize or in a url / urlRoot method of your own)?

@sam-at-github brought up the urlRoot

@sam-at-github brought up the urlRoot use case above: if a model is created through a collection, it should be tied to the collection's urlRoot.
I don't know of any use case for passing url as an option to a model/collection.

if a model is created through a collection, it should be tied to the collection's urlRoot.

It already is?
If it absolutely has to be set by the collection couldn't that logic live on the Collection? Why does it have to be passed down as an option?
Something like:
_prepareModel: function(attrs, options) {
  // ...
  if (model.url !== Model.prototype.url && !model.urlRoot) model.urlRoot = this.url
}

Currently if an item Model instance is removed from a collection it can no longer talk to remote because it does not have a urlRoot

It is an edge case, but it would make sense to me that the model keeps the collection's urlRoot.

Why does it have to be passed down as an option?

It doesn't. The #_prepareModel code would be a perfect spot for it.

Wait so the use case is creating a model through a collection, but then removing the model from that collection and being surprised the model doesn't keep the collection's url? I don't like it.
I think the behavior we have currently is the right one. If the model is in a collection and doesn't have its own url / urlRoot set, check on its collection. If it isn't in a collection, you're responsible for setting it yourself. Why should a model be tied to a collection it's no longer in?

Wait so the use case is creating a model through a collection, but then removing the model from that collection and being surprised the model doesn't keep the collection's url?

Well yes, that is was the unexpected behavior that motivated this PR. Note however that it's not the user removing the model. Backbone will remove model from collections in certain situations leaving them hanging around but without a way to talk to the remote - unless your specifically aware of this behaviour and set things up accordingly.

I think the behavior we have currently is the right one. If the model is in a collection and doesn't have its own url / urlRoot set, check on its collection.

I agree. That is still the case.

If it isn't in a collection, you're responsible for setting it yourself. Why should a model be tied to a collection it's no longer in?

Its not still tied to the  Backbone.Collection but it is still tied to an item in the remote collection for the model is a proxy. Why should Backbone.Collection factory Backbone.Models proxies that don't work standalone?
Maybe its a subtle difference in how we view the responsibilities of Backbone.Model and Backbone.Collection, and the semantics of remove as opposed to destroying a model. I don't think Backbone.Collection is a reflection of the entire remote collection. I don't think it can be. It's a view into it. So removing a model from a collection is not synonymous with deleting it from the remote collection. To me it's more "hey this model just fell out of view".
This PR was driven by me being a newb and scratching my head when a Model part of my UI was referencing got removed from a collection on a sync and no longer worked. I thought that was wrong. At the end of the day, once you understand the behavior its easy enough to hack around it. It took me a while to think about it all though. The way models / collection / urls / and membership is all related is a bit to think about.

I agree it's a surprise but I feel like there are just too many edge cases here (how would Backbone determine that a URL or urlRoot hadn't been set?), and the opposite behavior would be just as surprising.
Your  best bet is probably to set a urlRoot in your model's initialize method if you know you could potentially reference models outside of a collection.
You're right that a Collection may not reference all models at a resource, but I'd argue that if you've removed a model from a collection there's usually some reasoning behind it (why is your sync removing the model?), and it'd be surprising to still tie a removed model to a collection of which it is no longer a member.

@akre54 is entirely on the money here.


Make DetectChanges start tracking new entities (Issue #1213)

The only significant new code in the ChangeDetector are the TrackAddedEntities methods. The other changes are async overhead.
Notes:

DetectChanges will only bring in the single entity added/set, not an entire graph. In the future the plan is that if the added entity is an aggregate root, then the entire aggregate will be brought in.
Async Add is used when when DetectChangesAsync is called, but not when DetectChanges is called automatically or a notification entity triggers the change.
Entities are always assumed to be new and put in the Added state.


chore(ci): allow manual deploy

Signed-off-by: Ricardo Arturo Cabral Mejía<EMAIL_ADDRESS>
Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Non-functional change (docs, style, minor refactor)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my code changes.
[ ] All new and existing tests passed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.975%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
826

Relevant Lines:
929

💛  - Coveralls


register push/pop command change

64bit push/pop register command should be used. Otherwise, data will lost.

As commented on the closed PR, LD/ST seems to be mapped to ldc1/stc1 by common_mips64.h already - or is this mapping not done correctly (in which case other mips64 kernels would be affected as well) ?

ldc1/sdc1 was defined by DOUBLE.
And as my understand, while 64 BIT defined, ldc1/sdc1 should be used. But more test should be done and more code should be reviewed if DOUBLE was change to 64 BIT.

64BIT is set when the operating system is 64bit, I believe this only affects the handling of integers (related to INTERFACE64 option in Makefile.rule). DOUBLE is set when the function is expected to handle double precision float values - as this is not the case for sgemm, LD/ST map to lwc1/swc1 here. Do you see an actual miscalculation or even crash on your platform, or did the code
only look suspicious to you ?

For 64 bit platform, FP registers are 64 bit. So while push/pop to/from stack, 64bit comand should be used. If 32 bit command was used, maybe only 32 bit data protected.
Yes, I see actual problem, that other 32 bit lost, code will get a wrong result.

Do you see actual problem running the tests, or running your own code ? After all it is only the 32bits of a float argument that are moved to and from the stack here. While I have no mips64 hardware to test, I would expect a problem of this magnitude would have come up at some point in the seven years since this code was written.

grep sdc1/ldc1 under kernel/mips64, you can see that they were used frequently while push/pop to/from the stack. As I understand, under this mips64 directory, sdc1/ldc1 should be used at all places instead of ST/LD.
Yes, I have mips64 hardware test about this.
There is a problem about this operation.

@martin-frbg  Currently, there are only few engineers working on mips64 platform. I guess it is the reason that this problem not come up in the past seven years. And on the other side, this problem is not always, it exists sometimes.
In general, review code of this part can see that it is a problem.
If you have other suggests about this change, please let me know.

Maybe this is why I cannot reproduce the problem (with either the provided tests or xianyi's BLAS-Tester that is derived from ATLAS). And I only have qemu for testing, which may not reproduce the actual behaviour in full. What I would like to be sure of is that what you are facing is really an assembly problem and not one of the thread safety issues that seem to keep popping up despite all efforts.

qemu is unable to show any different behaviour with or without this specific PR, but replacing all LD/ST with ldc1/stc1 results in many test failures.

It is not easy to estimate replacing all LD/ST with ldc1/stc1. Related modify can be made after new problems found.

Could you comment on what the "dot problem" is please ?

dot problem is Openblas/test,
Test of subprogram number 13            SDSDOT
Test of subprogram number 13            DSDOT

Thanks. So if this is "only" about DSDOT, it could be sufficient to add entries redirecting DSDOT and SDSDOT to the mips dot.c (and I guess also remove my apparently misguided attempts to "correct" DSDOT precision from dot.S) ?

I have now obtained a small MIPS64 system for testing (quad-core Cavium Octeon III) and do not see any test failures for DOT there. Perhaps your change could be limited to KERNEL.LOONGSON3A rather than the global KERNEL (and if it is only SDSDOT and DSDOT that fail, add only SDSDOTKERNEL=../mips/dot.c and DSDOTKERNEL=../mips.dot.c there) ?

in kernel/mips64/KERNEL, KERNEL.LOONGSON3A, there is no SDSDOTKERNEL setting.

Thank you for the log. Weird that it fails with such a large error, while it passes in qemu and on my cheap new router.
When there is no specific setting for a DSDOTKERNEL, the build system  will use the SDOTKERNEL and pass -DDSDOT to it. (All that does in dot.S is convert the float arguments to double and perform the addition with madd.d instead of madd.s - maybe that hack is too simple to work on serious hardware like Loongson3A).
As SDOT (and DDOT) apparently works correctly, there should be no need to replace the assembly code for dot in general with the (probably slower) generic C implementation. (And I made a mistake in my earlier message - a separate entry for SDSDOTKERNEL is not needed, just the single line DSDOTKERNEL=../mips/dot.c needs to be added )

Merging this to get the fix for the initial sgemm kernel issue , but I intend to follow up with a commit that restores the mips64 DOT microkernels and adds a DSDOTKERNEL entry to KERNEL.LOONGSON3A instead


Expand test coverage

I am seeing lines of code which are not covered by any tests. I would like to have as many lines as possible covered.
This includes:

StubHelper
ShimHelper

At the same time we can annotate several methods with ExcludeFromCodeCoverage e.g. Shim.With(Delegate replacement) as this method simply forwards to WithImpl(Delegate replacement) which is fully covered.

For expanding coverage for MethodRewriter we need to introduce test cases covering all (necessary) members of System.Reflection.Emit.OperandType.


Test import nodefs promises

re https://github.com/iambumblehead/esmock/issues/281

I don't fully understand the probalm and solution. Things could be studied more but I would rather move on as all tests are passing.
Here is generally what I think I know. This line in the load hook stripped the entire query string from the url returned by the load hook
url = url.replace(esmkgdefsAndAfterRe, '')
/* ... */
return nextLoad(url, context)

Both load and resolve hooks return module url values. The load hook url is not always required, but the resolve hook url is required. Usually, when a module loads another module, the parent module url comes from a pior resolve hook call, but in our case here, the url came from the load hook and adding the import tree id onto the load url resolved the issue. The resolve hook is called with that url and continues mocking that import tree.

maybe it has been little bit too long of a wait waiting for review... merging this


Suggestion: Open Source the Wave Visualization

Hi There,
Awesome lib you created, thanks so much. It would be awesome if you could open source/bundle just the waves visualization.
I have an app that uses audio, but we have our own internal player, and I would love to just implement the visual waves while the audio is playing.
Thanks so much once again

Hi there,
Please check out these two links:
https://github.com/AppliKeySolutions/PandoraPlayer/blob/master/Player/Classes/Helpers/VisualisationHelper.swift
https://github.com/AppliKeySolutions/PandoraPlayer/blob/master/Player/Classes/Views/WaveVisualizer/WaveVisualizer.swift


Create CLI For Launching

We need to be able to do:
$ npm install fastchat -g

$ fastchat

This is broken right now, not sure why, need to investigate.


The dismissed search results appear after search term changes even a letter

When I use multi-file search (by Ctrl+Shift+F), I may use the dismiss button. But after adding another letter to the term, the dismissed item shows up again.

I started not using this functionality (the dismiss button) any more, because it shows up right after a new letter.
Proposed solution:

Can you please add the dismissed items to "files to exclude" part after clicking on dismiss button
Or the dismissed items can stay dismissed until whole word gets deleted or changes (This may require another button to stop dismissing)

Since this technically counts as a separate search query with its own set of results, the result re-appears. We usually handle persisting excludes using the files to exclude field. However, I see that it's not the most convenient in this case (for individual files). I'll make this a feature request candidate for some type of persisting ignore list.

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Update watched_nses.yml: Remove nccloud.shop NS - NXDOMAIN

nccloud.shop. is now a dead NS, NXDOMAINs.  Remove to allow testing to work again.

At least for all such issues in the past, we've been just commenting them out, rather than removing them.
It's not clear to me that commenting them out is the right way to go, but it's how @tripleee had been doing it, so I've just continued to do the same thing.

@makyen  understood, but i would suggest that we remove them rather than 'commenting them out'.  Ultimately it does the same thing, but if we comment it out and then leave it in her we have large amounts of 'bloat' that we're just carrying from one item to the next.  If it's NXDOMAIN, then that means the domain is gone.  We should treat it as such and simply remove failing NSes rather than keeping them around.  We can always readd them.

@teward Straight removal is the way I'd expect it to be done. I've continued to comment them out, because I keep forgetting to have the conversation with @tripleee to find out the reasons behind the choice to comment them out rather than straight removal. I'm fine with changing to straight removal, but prior to deciding to go in that direction, I'd like to get input from tripleee.
I would note, however, that there have been times when the errors have been intermittent, both within a single test run and over multiple test runs. The intermittent failures within the timeframe of a test run are mostly handled by running test against the whole list and then re-testing any failures and only reporting/failing when a domain fails twice.
The intermittent issues over a longer period have usually only affected specific domains. I had proposed PR #7239 as a way of preventing testing of specific domains that were proving problematic. While I did work on the requested changes in that PR, the need for it greatly reduced as we stopped having problems with the domain that was causing the main issue at that time.

I think I might have over-emphasized the issue. I didn't mean to imply that this should be reverted. I'm sorry that it seemed like that was what I was arguing for. I merely wanted to get input from tripleee, so that we could al be consistent in how these were handled.


Translate blog you-probably-dont-need-derived-state

Segue PR do blog post "you-probably-dont-need-derived-state".
Agradeço as reviews! :pray:

Revisado! Obrigado! :smile:

Bons olhos!!! Valeu :smile:


Who is forking who?

Since it has now become clear (at least to ME) that:

this repo should never be merged up into Ansible.*
this repo exists to support OUR DD Ansible modules

It seems that this should be the PARENT and that it should not be a fork of anything else.
In other words, that DimensionDataDevOps (in this case) should somehow be removed as the parent of this repo.
@mikeoutland @aimonb

@jr2730 @mikeoutland .. not sure how to do that. Perhaps delete the DimensionDataDevOps version.

@SahajaKoorapati do you have permission to delete https://github.com/DimensionDataDevOps/ansible-dimensiondata ?

Just deleted it. Now it points to @SahajaKoorapati's repo as the parent. Looks like you have to go to customer support to turn this into a parent.

@mikeoutland @SahajaKoorapati @aimonb @jr2730 Another option is to pull the latest from this repo to your local machine, delete this repo, and then recreate it as a new empty repo. Finally, push your local clone to this repo. All existing issues and PRs will be deleted too, naturally.


Fix typo when requesting path to spotdl.py

I just happened to notice this.

At least someone is still using it or looking at the code :innocent:
I'll try to do both next year. Had not continued working on it for various reasons.
Thanks for the report and best wishes for 2018 @ritiek!

No problem! I still need to get myself familiar with yarn.
Best wishes to you too! :grinning:

And thank you for the invitation!

...as I had to do, as a long term and convinces npm user. I just added you as a collaborator here, don't feel like you have to help out here with anything, but you probably should be able merging such things. And of course you may help if you wish.

I'll try to help whenever and wherever I can. Thanks once again!

Sure, no problem. Please don't force yourself to anything, I certainly know you have other great repos around on GitHub to maintain and are busy in general. But after all I trust you and it's based on spotify-downloader where you have the most knowledge of, sooo... not a bad thing to have you in here :sunglasses:


You may need an appropriate loader to handle this file type

the project was created with this command:
ionic start Project sidemenu --v2 --ts

D:\Project>ionic serve -l

? Compiling and bundling with Webpack...
V Using your webpack.config.js file

? Compiling Sass to CSS
V Matching patterns: app/theme/app.+(ios|md).scss

? Copying fonts
V Matching patterns: node_modules/ionic-framework/fonts/**/*.+(ttf|woff|woff2)

? Copying HTML
V Matching patterns: app/**/*.html

D:/Project/app/app.ts
Module parse failed: D:\Project\app\app.ts Line 1: Unexpected token
You may need an appropriate loader to handle this file type.
| import {App, IonicApp, Platform} from 'ionic-framework/ionic';
|
| import {GettingStartedPage} from './pages/getting-started/getting-started';
 @ multi main (CLI v2.0.0-beta.17)

Your system information:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.8.11
Gulp local:
Ionic Version: 2.0.0-beta.0
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
OS: Windows 8.1
Node Version: v4.3.0

package.json
{
  "dependencies": {
    "angular2": "2.0.0-beta.6",
    "es6-promise": "3.0.2",
    "es6-shim": "0.33.6",
    "ionic-framework": "2.0.0-beta.0",
    "ionicons": "3.0.0-alpha.3",
    "reflect-metadata": "0.1.2",
    "rxjs": "5.0.0-beta.0",
    "zone.js": "0.5.14"
  },
  "devDependencies": {
    "awesome-typescript-loader": "0.15.10",
    "strip-sourcemap-loader": "0.0.1",
    "typescript": "1.7.5"
  },
  "name": "project",
  "description": "Project: An Ionic project"
}

webpack.config
var path = require('path');

module.exports = {
  entry: [
    path.normalize('es6-shim/es6-shim.min'),
    'reflect-metadata',
    path.normalize('zone.js/dist/zone-microtask'),
    path.resolve('app/app')
  ],
  output: {
    path: path.resolve('www/build/js'),
    filename: 'app.bundle.js',
    pathinfo: false // show module paths in the bundle, handy for debugging
  },
  module: {
    loaders: [
      {
        test: /\.ts$/,
        loader: 'awesome-typescript',
        query: {
          'doTypeCheck': true
        },
        include: path.resolve('app'),
        exclude: /node_modules/
      },
      {
        test: /\.js$/,
        include: path.resolve('node_modules/angular2'),
        loader: 'strip-sourcemap'
      }
    ],
    noParse: [
      /es6-shim/,
      /reflect-metadata/,
      /zone\.js(\/|\\)dist(\/|\\)zone-microtask/
    ]
  },
  resolve: {
    root: [
      'app'
    ],
    alias: {
      'angular2': path.resolve('node_modules/angular2')
    },
    extensions: ["", ".js", ".ts"]
  }
};

Also tried with:
ionic start Project sidemenu --v2

I can`t make work with ionic serve/ ionic serve -l

I found the issue, it was because the folder what i wan to access it was mirrored with MKLINK.

I got this error when I set up a services folder at the same level as the app folder. I resolved this by moving the services folder into the app folder.


Merge pull request #1 from Microsoft/release/1.4

Release/1.4

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

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;


Documentation: Fixes Typo in query documents

Closes https://github.com/Azure/azure-cosmos-dotnet-v3/issues/2559
Description
in the example the parameter is passed in as "tests", it should be "test".
Type of change
Change in object from tests to test.
Closing issues
To automatically close an issue: closes #IssueNumber

/azp run

/azp run


logging can get messed up when messages are dropped

Describe the bug
When using USB logging, it might happen that the logging is not behaving like it should. The behavior is observed that when there are dropped messages, the logging only outputs messages (flushing) on the uart, when there are  + 1 in the ringbuffer.
The dropped messages in my case are occurring at startup (I only see the dropped message info the moment I start minicom on the usb ACM device).
I have this debugged further to the buffered_cnt in log_core.c which can have a negative value when there are dropped frames over UART. Once this happens, you need to log the number of dropped frames, before the z_log_msg_post_finalize function acts again to what is is designed for. So it's miscounting the number of messages actually in the buffer.
sninppet of my conf:
# Shell
CONFIG_SHELL=y
CONFIG_SHELL_BACKEND_SERIAL=y
CONFIG_SHELL_BACKEND_SERIAL_RX_RING_BUFFER_SIZE=256
CONFIG_SHELL_BACKEND_SERIAL_TX_RING_BUFFER_SIZE=256
CONFIG_SHELL_BACKEND_SERIAL_CHECK_DTR=y
# Logging
CONFIG_LOG=y
CONFIG_LOG_FUNC_NAME_PREFIX_ERR=y
CONFIG_LOG_FUNC_NAME_PREFIX_WRN=y
CONFIG_LOG_FUNC_NAME_PREFIX_INF=y
CONFIG_LOG_STRDUP_MAX_STRING=16
CONFIG_LOG_STRDUP_BUF_COUNT=64
CONFIG_LOG_BUFFER_SIZE=2048
CONFIG_PRINTK=y
# USB driver & stack
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_DRIVER=y
# Logging over usb backend
CONFIG_SERIAL=y
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_LINE_CTRL=y
CONFIG_UART_ASYNC_API=y

usb overlay:
/ {
    chosen {
        zephyr,console = &cdc_acm_uart0;
        zephyr,shell-uart = &cdc_acm_uart0;
    };
};

&zephyr_udc0 {
    status = "okay";
    cdc_acm_uart0: cdc_acm_uart0 {
        compatible = "zephyr,cdc-acm-uart";
        label = "CDC_ACM_0";
    };
};

this has been tested on a stm32l562e_dk board with a custom app.
To Reproduce
Expected behavior
Impact
logging is deferred up to the number of messages which have been dropped (always)
Environment (please complete the following information):

OS: Linux
Toolchain zephyr sdk-13.2
zephyr version: 7b86137b6cca28c3d9c5f96b84a4408de198c8de (main of yesterday afternoon 14 dec )

Additional context
Following code is avoiding the problem, but i'm sure it's not the correct solution since the check is not atomic, and is more polishing than fixing the incorrect decrement (therefore not a PR, but a bug report).
diff --git a/subsys/logging/log_core.c b/subsys/logging/log_core.c
index c60ac48715..fb91494479 100644
--- a/subsys/logging/log_core.c
+++ b/subsys/logging/log_core.c
@@ -808,7 +808,10 @@ bool z_impl_log_process(bool bypass)

        msg = get_msg();
        if (msg.msg) {
-               atomic_dec(&buffered_cnt);
+               if(buffered_cnt>0) {
+                       atomic_dec(&buffered_cnt);
+               }
+
                msg_process(msg, bypass);
        }

Workarround
When increasing CONFIG_LOG_BUFFER_SIZE to a bigger number & avoiding dropped messages, this issue can be avoided.

Some more info: this problem is not limited to USB logging but also affects normal logging (UART). It can occur the moment you have dropped messages (not linked to usb , or startup of it).

@wcappelle can you validate provided fix?

@nordic-krch , thanks for looking into fixing this issue. i have currently no access to any devices. I will validate this 2nd week of january when back from holidays

@wcappelle sure, fyi i managed to reproduce the issue.


spanish tutor: fix typos and bugs

There is an encoding problem in tutor.es. Make sure you edit as latin1 file.

How can I test that?
(sometimes easy tasks becomes hard for non developers like me)

There is an encoding problem in tutor.es. Make sure you edit as latin1 file.

How can I test that?
(sometimes easy tasks becomes hard for non developers like me)

:set fenc
fileencoding=latin1

Vim will show "[converted]" when opening the file.  If you don't see
that either your version of Vim lacks something, or your setup doesn't
allow it.  Specifically the 'fileencodings' option.
--
GALAHAD: No. Look, I can tackle this lot single-handed!
GIRLS:   Yes, yes, let him Tackle us single-handed!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- @.*** -- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

In tutor.es file I run :set fileencoding=latin1 and saved the file. and pushed a new commit.
Now in tutor.es file, I see [converted] at bottom, and if I run set fenc I get fileencoding=latin1
In tutor.es.utf-8 file, if I run set fenc I get `fileencoding=utf-8

Now it looks OK.  Thanks, I'll include it.

a pleasure!
Thanks for your work!


⚠ Bofrost.fr has degraded performance

In 86b817f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1180 ms

Resolved: Bofrost.fr performance has improved in b1beeec.


Add LibreOffice Help Pack for LibreOffice

[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?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Oh you need to do alot more work than applying my suggested change, this should be done in GitHub Desktop

Move the yaml files from ./manifests/l/LibreOffice/LibreOfficeHelpPack/<IP_ADDRESS>/ to ./manifests/l/LibreOffice/LibreOffice/HelpPack/<IP_ADDRESS>/
Rename the files from LibreOffice.LibreOfficeHelpPack.installer.yaml to LibreOffice.LibreOffice.HelpPack.installer.yaml
Change the PackageVersion in the 2 other yaml files


UITK to Salt migration guide v4

Continue development of the UITK to Salt internal migration guide on StackOverflow

[ ] Input + MultilineInput
[ ] Spinner
[ ] Switch
[ ] Toast
[ ] Toggle Button

Clear dates, other priorities


further lat lon specs

questions about specifying the lat lons +/- 180 E W rather than 0-360 and decimal degree

There are various ways to store geospatial data and I do have a technical reason specifically for positions to store them as 2 decimal values (lat/lon).
The reason is that we've seen people input degree characters from evil unicode sets. Also N/E/S/W variants with casing issues. Ultimately a numerical value with only a dot (.) is a transport safe way of declaring the position. It is also very efficient for database storage and indexing.
Front-end applications can presentat positions as needed and convert as long as we're all using the same import.
The heading and velocity were an after thought and if a more current value type should be used I'm all ears

@Friskfisk could you please update or close this issue? We've recently updated the position schema:
https://github.com/PoseiDAT/schemas/blob/master/src/schema/core/measurement/position.json
Please let us know if you still have suggestions

@Friskfisk could you please update or close this issue? We've recently updated the position schema:
https://github.com/PoseiDAT/schemas/blob/master/src/schema/core/measurement/position.json
Please let us know if you still have suggestions

Closing this due to inactivity


Update to Shopify > Google mappings

Updating Shopify > Google mappings with the latest product category changes.
Deleted:

Furniture > Tables > Poker & Game Tables
Furniture > Tables > Sewing Machine Tables

New:

Animals & Pet Supplies > Pet Supplies > Pet Grooming Supplies > Pet Shampoo & Conditioner > 2-in-1 Shampoo & Conditioners

-> Google id 6406

Animals & Pet Supplies > Pet Supplies > Pet Grooming Supplies > Pet Shampoo & Conditioner > Conditioners

-> Google id 6406

Animals & Pet Supplies > Pet Supplies > Pet Grooming Supplies > Pet Shampoo & Conditioner > Shampoos

-> Google id 6406

Apparel & Accessories > Shoes > Flats

-> Google id 187

Apparel & Accessories > Shoes > Heels

-> Google id 187

Health & Beauty > Personal Care > Cosmetics > Skin Care > Eye Creams

-> Google id 567

Health & Beauty > Personal Care > Cosmetics > Skin Care > Face Moisturizers

-> Google id 2592

Health & Beauty > Personal Care > Cosmetics > Skin Care > Face Serums

-> Google id 567

The category changes will be made in a separate PR and we'll increment the version in that as well


GPL2.0 dependency

Hi guys, hope you are doing great.
Got a quick question about your product's licensing. Noticed your dependency on<EMAIL_ADDRESS>rolling with GPL 2.0. That means anyone who integrate with you product need to splash the whole product into public. Do you plan to get rid of this library or do you plan stick to GPL2.0.

I wonder which shadowy company you represent? In all seriousness, this is a good question. It seems that we cannot be MIT licensed as long as we are using GPL licensed code.


⚠ Bofrost.de has degraded performance

In 27f210a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1483 ms

Resolved: Bofrost.de performance has improved in f8097d7.


using darknet_ros with ZED camera

Hi, I have successfully used ZED SDK with it's ROS wrapper, but I want to use it with YOLO and ROS so I came here but I do not know how to establish a connection between ZED camera and darknet_ros. I only could downloaded darknet_ros and weights for YOLOv3. I am very new to linux and ROS so if anyone can tell me how to use ZED camera or any camera with darknet_ros thoroughly I will be very happy and pleased, thank you.

I used a kinect camera with yolo and all i have to do was to open a camera driver.
I work with freenect but i think that any other camera driver will work.
Try:
sudo apt-get install ros-distro-freenect-*
Where distro should be indigo, kinetic, etc

Hello again. My problem is solved by launching two files in two terminals. First, I launched ZED ros wrapper that is previously used and then I launched yolov3.launch with the subscriber is zed camera.

Hello @chijepark ,
You need to change two yaml files of darknet_ros files that are related to yolov3.launch file(I was using yolo version 3). If you are using different launch file just open it with gedit to see which yaml files it contains. For yolov3 yaml files are "ros.yaml" and "yolov3.yaml". I changed ros.yaml file by changing
subscribers:
camera reading:
topic: /zed/left/image_raw_color
queue_size: 1
I used left image as topic but you can use whatever you want, to see what zed publish run the below command after you run zed camera:
rostopic list
Now, change yolov3.yaml file by adding image_view like follows:
image_view:
enable_opencv: true
use_darknet: true
wait_key_delay: 1
After that launch zed camera first by
$ roslaunch zed_wrapper zed.launch
and then launching darknet ros by
$ roslaunch darknet_ros yolo_v3.launch
commands. I hope that would be enough but if you need any more problems related with my explanation or other issues just tell me, I will try to reply as soon as I can.

@happycity26  Thanks your help
but I still have problem
I changed everything that you suggest .
In ros.yaml file is
subscribers:
camera_reading:
topic: /camera/left/image_raw_color
queue_size: 1
actions:
camera_reading:
name: /darknet_ros/check_for_objects
publishers:
object_detector:
topic: /darknet_ros/found_object
queue_size: 1
latch: false
bounding_boxes:
topic: /darknet_ros/bounding_boxes
queue_size: 1
latch: false
detection_image:
topic: /darknet_ros/detection_image
queue_size: 1
latch: true
image_view:
enable_opencv: true
wait_key_delay: 1
enable_console_output: true
and yolov3.yaml file is
yolo_model:
config_file:
name: yolov3.cfg
weight_file:
name: yolov3.weights
threshold:
value: 0.3
detection_classes:
names:
- person
- bicycle
- car
- motorbike
- aeroplane
- bus
- train
- truck
- boat
- traffic light
- fire hydrant
- stop sign
- parking meter
- bench
- bird
- cat
- dog
- horse
- sheep
- cow
- elephant
- bear
- zebra
- giraffe
- backpack
- umbrella
- handbag
- tie
- suitcase
- frisbee
- skis
- snowboard
- sports ball
- kite
- baseball bat
- baseball glove
- skateboard
- surfboard
- tennis racket
- bottle
- wine glass
- cup
- fork
- knife
- spoon
- bowl
- banana
- apple
- sandwich
- orange
- broccoli
- carrot
- hot dog
- pizza
- donut
- cake
- chair
- sofa
- pottedplant
- bed
- diningtable
- toilet
- tvmonitor
- laptop
- mouse
- remote
- keyboard
- cell phone
- microwave
- oven
- toaster
- sink
- refrigerator
- book
- clock
- vase
- scissors
- teddy bear
- hair drier
- toothbrush
image_view:
enable_opencv: true
use_darknet: true
wait_key_delay: 1
and  error messge is
$ roslaunch darknet_ros yolo_v3.launch
... logging to /home/nvidia/.ros/log/4b7d38ba-a762-11e8-8134-00044ba8064b/roslaunch-tegra-ubuntu-18444.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://tegra-ubuntu:45819/
SUMMARY
PARAMETERS

/darknet_ros/actions/camera_reading/name: /darknet_ros/chec...
/darknet_ros/config_path: /media/nvidia/nvm...
/darknet_ros/enable_opencv: True
/darknet_ros/image_view/enable_console_output: True
/darknet_ros/image_view/enable_opencv: True
/darknet_ros/image_view/wait_key_delay: 1
/darknet_ros/image_view: None
/darknet_ros/publishers/bounding_boxes/latch: False
/darknet_ros/publishers/bounding_boxes/queue_size: 1
/darknet_ros/publishers/bounding_boxes/topic: /darknet_ros/boun...
/darknet_ros/publishers/detection_image/latch: True
/darknet_ros/publishers/detection_image/queue_size: 1
/darknet_ros/publishers/detection_image/topic: /darknet_ros/dete...
/darknet_ros/publishers/object_detector/latch: False
/darknet_ros/publishers/object_detector/queue_size: 1
/darknet_ros/publishers/object_detector/topic: /darknet_ros/foun...
/darknet_ros/subscribers/camera_reading/queue_size: 1
/darknet_ros/subscribers/camera_reading/topic: /camera/left/imag...
/darknet_ros/use_darknet: True
/darknet_ros/wait_key_delay: 1
/darknet_ros/weights_path: /media/nvidia/nvm...
/darknet_ros/yolo_model/config_file/name: yolov3.cfg
/darknet_ros/yolo_model/detection_classes/names: ['person', 'bicyc...
/darknet_ros/yolo_model/threshold/value: 0.3
/darknet_ros/yolo_model/weight_file/name: yolov3.weights
/rosdistro: kinetic
/rosversion: 1.12.13

NODES
/
darknet_ros (darknet_ros/darknet_ros)
ROS_MASTER_URI=http://localhost:11311
load_parameters: unable to set parameters (last param was [/darknet_ros/actions/camera_reading/name=/darknet_ros/check_for_objects]): cannot marshal None unless allow_none is enabled
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/init.py", line 306, in main
p.start()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 279, in start
self.runner.launch()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 657, in launch
self._setup()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 644, in _setup
self._load_parameters()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 338, in _load_parameters
r  = param_server_multi()
File "/usr/lib/python2.7/xmlrpclib.py", line 1006, in call
return MultiCallIterator(self.__server.system.multicall(marshalled_list))
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1596, in __request
allow_none=self.__allow_none)
File "/usr/lib/python2.7/xmlrpclib.py", line 1094, in dumps
data = m.dumps(params)
File "/usr/lib/python2.7/xmlrpclib.py", line 638, in dumps
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 741, in dump_struct
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 664, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled
Exception in thread ProcessMonitor-1 (most likely raised during interpreter shutdown):
so I search this problem
I think I should change some more argument in yaml files
Do you know how to solve this problem??

Hello again @chijepark .
I guess your problem is the syntax about gedit. You should be more careful about pressing space, and do not press tab while you are using gedit. For example, your ros.yaml file image_view and the below commands are in line which should not be. I will give you my ros.yaml and yolov3.yaml files. After trying those if problem still occurs please give me the rostopic list after you run your zed camera only.
Here is my ros.yaml file
`subscribers:
camera_reading:
topic: /zed/left/image_raw_color
queue_size: 1
actions:
camera_reading:
name: /darknet_ros/check_for_objects
publishers:
object_detector:
topic: /darknet_ros/found_object
queue_size: 1
latch: false
bounding_boxes:
topic: /darknet_ros/bounding_boxes
queue_size: 1
latch: false
detection_image:
topic: /darknet_ros/detection_image
queue_size: 1
latch: true
image_view:
enable_opencv: true
wait_key_delay: 1
enable_console_output: true`
,and here is my yolov3.yaml file
`image_view:
enable_opencv: true
use_darknet: true
wait_key_delay: 1
yolo_model:
config_file:
name: yolov3.cfg
weight_file:
name: yolov3.weights
threshold:
value: 0.3
detection_classes:
names:
- person
- bicycle
- car
- motorbike
- aeroplane
- bus
- train
- truck
- boat
- traffic light
- fire hydrant
- stop sign
- parking meter
- bench
- bird
- cat
- dog
- horse
- sheep
- cow
- elephant
- bear
- zebra
- giraffe
- backpack
- umbrella
- handbag
- tie
- suitcase
- frisbee
- skis
- snowboard
- sports ball
- kite
- baseball bat
- baseball glove
- skateboard
- surfboard
- tennis racket
- bottle
- wine glass
- cup
- fork
- knife
- spoon
- bowl
- banana
- apple
- sandwich
- orange
- broccoli
- carrot
- hot dog
- pizza
- donut
- cake
- chair
- sofa
- pottedplant
- bed
- diningtable
- toilet
- tvmonitor
- laptop
- mouse
- remote
- keyboard
- cell phone
- microwave
- oven
- toaster
- sink
- refrigerator
- book
- clock
- vase
- scissors
- teddy bear
- hair drier
- toothbrush`

Hi.. even I am following the same stuff.  Thank you for your help. Were you able to get the 3d coordinates (for distance)  from ZED camera in this package as well?

I dont know about 3D coordinates, I never tried.

Hello @happycity26
I was implementing the same but I am experiencing the same error faced by @chijepark but then I replaced the yaml files with your yaml files and now I got this error. What should I do?
roslaunch darknet_ros yolo_v3.launch
... logging to /home/mk42/.ros/log/cbcda4dc-480b-11ea-914b-50e085400b4b/roslaunch-mk42-Alienware-m15-R2-4983.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://mk42-Alienware-m15-R2:46855/
SUMMARY
PARAMETERS

/darknet_ros/actions: None
/darknet_ros/bounding_boxes: None
/darknet_ros/camera_reading: None
/darknet_ros/config_file: None
/darknet_ros/config_path: /home/mk42/catkin...
/darknet_ros/detection_classes: None
/darknet_ros/detection_image: None
/darknet_ros/enable_console_output: True
/darknet_ros/enable_opencv: True
/darknet_ros/image_view: None
/darknet_ros/latch: True
/darknet_ros/name: yolov3.weights
/darknet_ros/names: ['person', 'bicyc...
/darknet_ros/object_detector: None
/darknet_ros/publishers: None
/darknet_ros/queue_size: 1
/darknet_ros/subscribers: None
/darknet_ros/threshold: None
/darknet_ros/topic: /darknet_ros/dete...
/darknet_ros/use_darknet: True
/darknet_ros/value: 0.3
/darknet_ros/wait_key_delay: 1
/darknet_ros/weight_file: None
/darknet_ros/weights_path: /home/mk42/catkin...
/darknet_ros/yolo_model: None
/rosdistro: kinetic
/rosversion: 1.12.14

NODES
/
darknet_ros (darknet_ros/darknet_ros)
ROS_MASTER_URI=http://localhost:11311
load_parameters: unable to set parameters (last param was [/darknet_ros/threshold=None]): cannot marshal None unless allow_none is enabled
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/init.py", line 306, in main
p.start()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 279, in start
self.runner.launch()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 657, in launch
self._setup()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 644, in _setup
self._load_parameters()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/launch.py", line 338, in _load_parameters
r  = param_server_multi()
File "/usr/lib/python2.7/xmlrpclib.py", line 1006, in call
return MultiCallIterator(self.__server.system.multicall(marshalled_list))
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1596, in __request
allow_none=self.__allow_none)
File "/usr/lib/python2.7/xmlrpclib.py", line 1094, in dumps
data = m.dumps(params)
File "/usr/lib/python2.7/xmlrpclib.py", line 638, in dumps
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 741, in dump_struct
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 719, in dump_array
dump(v, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 660, in __dump
f(self, value, write)
File "/usr/lib/python2.7/xmlrpclib.py", line 664, in dump_nil
raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled

This is my rostopic list
rostopic list
/diagnostics
/rosout
/rosout_agg
/tf
/tf_static
/zed/joint_states
/zed/zed_node/confidence/camera_info
/zed/zed_node/confidence/confidence_image
/zed/zed_node/confidence/confidence_image/compressed
/zed/zed_node/confidence/confidence_image/compressed/parameter_descriptions
/zed/zed_node/confidence/confidence_image/compressed/parameter_updates
/zed/zed_node/confidence/confidence_image/compressedDepth
/zed/zed_node/confidence/confidence_image/compressedDepth/parameter_descriptions
/zed/zed_node/confidence/confidence_image/compressedDepth/parameter_updates
/zed/zed_node/confidence/confidence_image/theora
/zed/zed_node/confidence/confidence_image/theora/parameter_descriptions
/zed/zed_node/confidence/confidence_image/theora/parameter_updates
/zed/zed_node/confidence/confidence_map
/zed/zed_node/depth/camera_info
/zed/zed_node/depth/depth_registered
/zed/zed_node/depth/depth_registered/compressed
/zed/zed_node/depth/depth_registered/compressed/parameter_descriptions
/zed/zed_node/depth/depth_registered/compressed/parameter_updates
/zed/zed_node/depth/depth_registered/compressedDepth
/zed/zed_node/depth/depth_registered/compressedDepth/parameter_descriptions
/zed/zed_node/depth/depth_registered/compressedDepth/parameter_updates
/zed/zed_node/depth/depth_registered/theora
/zed/zed_node/depth/depth_registered/theora/parameter_descriptions
/zed/zed_node/depth/depth_registered/theora/parameter_updates
/zed/zed_node/disparity/disparity_image
/zed/zed_node/left/camera_info
/zed/zed_node/left/image_rect_color
/zed/zed_node/left/image_rect_color/compressed
/zed/zed_node/left/image_rect_color/compressed/parameter_descriptions
/zed/zed_node/left/image_rect_color/compressed/parameter_updates
/zed/zed_node/left/image_rect_color/compressedDepth
/zed/zed_node/left/image_rect_color/compressedDepth/parameter_descriptions
/zed/zed_node/left/image_rect_color/compressedDepth/parameter_updates
/zed/zed_node/left/image_rect_color/theora
/zed/zed_node/left/image_rect_color/theora/parameter_descriptions
/zed/zed_node/left/image_rect_color/theora/parameter_updates
/zed/zed_node/left_raw/camera_info
/zed/zed_node/left_raw/image_raw_color
/zed/zed_node/left_raw/image_raw_color/compressed
/zed/zed_node/left_raw/image_raw_color/compressed/parameter_descriptions
/zed/zed_node/left_raw/image_raw_color/compressed/parameter_updates
/zed/zed_node/left_raw/image_raw_color/compressedDepth
/zed/zed_node/left_raw/image_raw_color/compressedDepth/parameter_descriptions
/zed/zed_node/left_raw/image_raw_color/compressedDepth/parameter_updates
/zed/zed_node/left_raw/image_raw_color/theora
/zed/zed_node/left_raw/image_raw_color/theora/parameter_descriptions
/zed/zed_node/left_raw/image_raw_color/theora/parameter_updates
/zed/zed_node/odom
/zed/zed_node/parameter_descriptions
/zed/zed_node/parameter_updates
/zed/zed_node/path_map
/zed/zed_node/path_odom
/zed/zed_node/point_cloud/cloud_registered
/zed/zed_node/point_cloud/fused_cloud_registered
/zed/zed_node/pose
/zed/zed_node/pose_with_covariance
/zed/zed_node/rgb/camera_info
/zed/zed_node/rgb/image_rect_color
/zed/zed_node/rgb/image_rect_color/compressed
/zed/zed_node/rgb/image_rect_color/compressed/parameter_descriptions
/zed/zed_node/rgb/image_rect_color/compressed/parameter_updates
/zed/zed_node/rgb/image_rect_color/compressedDepth
/zed/zed_node/rgb/image_rect_color/compressedDepth/parameter_descriptions
/zed/zed_node/rgb/image_rect_color/compressedDepth/parameter_updates
/zed/zed_node/rgb/image_rect_color/theora
/zed/zed_node/rgb/image_rect_color/theora/parameter_descriptions
/zed/zed_node/rgb/image_rect_color/theora/parameter_updates
/zed/zed_node/rgb_raw/camera_info
/zed/zed_node/rgb_raw/image_raw_color
/zed/zed_node/rgb_raw/image_raw_color/compressed
/zed/zed_node/rgb_raw/image_raw_color/compressed/parameter_descriptions
/zed/zed_node/rgb_raw/image_raw_color/compressed/parameter_updates
/zed/zed_node/rgb_raw/image_raw_color/compressedDepth
/zed/zed_node/rgb_raw/image_raw_color/compressedDepth/parameter_descriptions
/zed/zed_node/rgb_raw/image_raw_color/compressedDepth/parameter_updates
/zed/zed_node/rgb_raw/image_raw_color/theora
/zed/zed_node/rgb_raw/image_raw_color/theora/parameter_descriptions
/zed/zed_node/rgb_raw/image_raw_color/theora/parameter_updates
/zed/zed_node/right/camera_info
/zed/zed_node/right/image_rect_color
/zed/zed_node/right/image_rect_color/compressed
/zed/zed_node/right/image_rect_color/compressed/parameter_descriptions
/zed/zed_node/right/image_rect_color/compressed/parameter_updates
/zed/zed_node/right/image_rect_color/compressedDepth
/zed/zed_node/right/image_rect_color/compressedDepth/parameter_descriptions
/zed/zed_node/right/image_rect_color/compressedDepth/parameter_updates
/zed/zed_node/right/image_rect_color/theora
/zed/zed_node/right/image_rect_color/theora/parameter_descriptions
/zed/zed_node/right/image_rect_color/theora/parameter_updates
/zed/zed_node/right_raw/camera_info
/zed/zed_node/right_raw/image_raw_color
/zed/zed_node/right_raw/image_raw_color/compressed
/zed/zed_node/right_raw/image_raw_color/compressed/parameter_descriptions
/zed/zed_node/right_raw/image_raw_color/compressed/parameter_updates
/zed/zed_node/right_raw/image_raw_color/compressedDepth
/zed/zed_node/right_raw/image_raw_color/compressedDepth/parameter_descriptions
/zed/zed_node/right_raw/image_raw_color/compressedDepth/parameter_updates
/zed/zed_node/right_raw/image_raw_color/theora
/zed/zed_node/right_raw/image_raw_color/theora/parameter_descriptions
/zed/zed_node/right_raw/image_raw_color/theora/parameter_updates
/zed/zed_node/stereo/image_rect_color
/zed/zed_node/stereo/image_rect_color/compressed
/zed/zed_node/stereo/image_rect_color/compressed/parameter_descriptions
/zed/zed_node/stereo/image_rect_color/compressed/parameter_updates
/zed/zed_node/stereo/image_rect_color/compressedDepth
/zed/zed_node/stereo/image_rect_color/compressedDepth/parameter_descriptions
/zed/zed_node/stereo/image_rect_color/compressedDepth/parameter_updates
/zed/zed_node/stereo/image_rect_color/theora
/zed/zed_node/stereo/image_rect_color/theora/parameter_descriptions
/zed/zed_node/stereo/image_rect_color/theora/parameter_updates
/zed/zed_node/stereo_raw/image_raw_color
/zed/zed_node/stereo_raw/image_raw_color/compressed
/zed/zed_node/stereo_raw/image_raw_color/compressed/parameter_descriptions
/zed/zed_node/stereo_raw/image_raw_color/compressed/parameter_updates
/zed/zed_node/stereo_raw/image_raw_color/compressedDepth
/zed/zed_node/stereo_raw/image_raw_color/compressedDepth/parameter_descriptions
/zed/zed_node/stereo_raw/image_raw_color/compressedDepth/parameter_updates
/zed/zed_node/stereo_raw/image_raw_color/theora
/zed/zed_node/stereo_raw/image_raw_color/theora/parameter_descriptions
/zed/zed_node/stereo_raw/image_raw_color/theora/parameter_updates

I need help in take left and right image and send them to the darknet please help

It has been a while and I dont remember a thing. Good luck :)

@youssefmohana Open a new issue when needed. Also, provide all the information you can to make the work of those trying to help you easier.

Hello, when I use zed camera to detect objects, there is a problem that red and blue are converted to each other. How can I solve it？


Agent_variables

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/DTSPO-14774
Change description
Adds SOC and CNP variables to enable operation with bootstrap module. See JIRA ticket comments for deployment plan.
Does this PR introduce a breaking change? (check one with "x")
[X] Yes
[ ] No

Requirement changed, now pointing to static branch


Use openssl

PR for reviewing OpenSSL FIPS work.

@t8m I've updated the AES functions to use EVP and all the cipher specific tests are passing, however a few TLS Handshake tests are now failing and I'm not sure why. I was hoping you might be able to provide some insight if I'm not able to figure this out before Monday.
The issue seems to lie in the new EVP AES CDC implementation, since after that commit is when the TLS tests fail.  That will build the new toolchain and run the test suite, and you can see the TLS tests fail. If you want to run the tests individually you can use the Go that is built in this repo dir after running that command and then run $repo/bin/go test -run <test that is failing> -v.

I believe the issue lies in the way how you translate the CryptBlocks() call into the EVP calls. The initialization of the EVP context needs to be done in the New... calls and there must not be any Encrypt/DecryptFinal call in the C code called from CryptBlocks(). It is not needed because the CryptBlocks() ensures that the underlying cipher is called on lengths that is multiple of a block size. The context then must be released in the destructor of the aesXYZ object instead of the CryptBlocks(). This applies to both CBC and CTR. Also I've noticed that there is the aesCipher object which should be reinterpreted in the same way as the CBC and CTR through the EVP calls. The cipher would be EVP_aes_xyz_ecb() in this case.

@t8m I modified to the code to what you suggested (init in New*, free in finalizer, no DecryptFinal) and still getting the same error. I pushed a WIP commit which shows it working using the lower level interface. Assuming the EVP calls are correct, the only difference is the usage of the enc/dec keys. I assumed that the EVP interface would handle this (because user CipherInit it knows whether to encrypt or decrypt based on the context).
Is that assumption incorrect? I'll also update the AES_encrypt / AES_decrypt calls to use the EVP interface as well. If at all possible I need to have this finished, reviewed for compliance and have the patches ready by tomorrow, so I'll be getting online at ~6am my time so we can have some time overlap and try and figure this out, and have you available if I run into any more questions.

@t8m by the way, the enc / dec keys are set here: https://github.com/derekparker/go/blob/use-openssl/src/crypto/internal/boring/aes.go#L53

I am sorry for misleading you with my comment from yesterday.
OK, after more looking at the original aes.go code before your patches here is what I suggest:

in aesCipher struct - carry raw key data, EVP_CIPHER_CTX pointer for EVP_aes_xxx_ecb encryption and EVP_CIPHER_CTX pointer for ecb decryption

in NewAESCipher just set the raw key data, do not initialize the EVP_CIPHER_CTXs

in aesCipher.Encrypt and Decrypt initialize the appropriate EVP_CIPHER_CTX if not yet initialized and use it appropriately

in aesCBC struct - the key should be the EVP_CIPHER_CTX for EVP_aes_xxx_cbc encryption or decryption appropriately initialized in NewCBCEncrypter or NewCBCDecrypter with EVP_CipherInitEx()

in aesCBC.CryptBlocks - use the EVP_CIPHER_CTX to encrypt or decrypt however please note, that apparently you need to always reset the IV with EVP_CipherInitEx(ctx, NULL, NULL, NULL, iv, -1);

the aesCTR is similar to aesCBC but the encryption and decryption is the same operation and only encryption key schedule is used


cmd/compile: treecopy Name

Gc crashes on the following program:
package a
import "fmt"
const n = fmt

treecopy [0xc820209d40]
.   PACK l(2) a.fmt
tmp.go:3: internal compiler error: treecopy Name

This is a regression from Go1.4, it produced a sensible error message.
go version devel +514014c Thu Jun 18 15:54:35 2015 +0200 linux/amd64

I also ran into this tonight in GO 1.5.1.  Before finally finding this open issue, I took the time to upgrade to 1.5.3 and also tried 1.6 Beta 2.  The fact that it still fails in all those versions is no surprise given the "Unplanned, Go1.6" milestone target.
FWIW, in my case, I was using "crypto/x509," and I was trying to set my constant to x509.RSA (one of the three defined PublicKeyAlgorithms).  Obviously, it was a silly mistake to leave off the ".RSA", but with that esoteric compiler error, it took me a few minutes to track down the problem, especially since I had made several other changes in my source files since my last successful compile.
Yes, it's user error, but given this is apparently a regression from 1.4, please consider fixing for a 1.6 minor release or 1.7.


AWS: Security group not found

When applying ec2_instance which was created by terraformer import aws --resources=sg,ec2_instances,subnet,vpc --regions=us-east-1, I am getting error that the security group is not available, however, in AWS console, I can see the security group.
Environment details: -
Terraformer Version:
terraformer version
Terraformer v0.7.6

Terraform Version:
Terraform v0.12.6
+ provider.aws v2.22.0````

it's VPC security groups?

@sergeylanzman yes, it is VPC Security groups.

Can you show me you error and output?

GGN-136091-C02X619VJHD5:us-east-1 ageek$ terraform plan

Error: Unsupported attribute

  on instance.tf line 30, in resource "aws_instance" "i-01a3c8837f5c1a2ab_Rahul_UF3":
  30:   subnet_id         = "${data.terraform_remote_state.subnet.aws_subnet_subnet-5e33fa70_id}"

This object has no argument, nested block, or exported attribute named
"aws_subnet_subnet-5e33fa70_id".

Error: Unsupported attribute

  on instance.tf line 38, in resource "aws_instance" "i-01a3c8837f5c1a2ab_Rahul_UF3":
  38:   vpc_security_group_ids = ["${data.terraform_remote_state.sg.aws_security_group_launch-wizard-9_sg-064b9d971a0df7c67_id}"]

This object has no argument, nested block, or exported attribute named
"aws_security_group_launch-wizard-9_sg-064b9d971a0df7c67_id".

Error: Unsupported attribute

  on instance.tf line 70, in resource "aws_instance" "i-01b4168f8073e7154_Rahul_HF2":
  70:   subnet_id         = "${data.terraform_remote_state.subnet.aws_subnet_subnet-5e33fa70_id}"

This object has no argument, nested block, or exported attribute named
"aws_subnet_subnet-5e33fa70_id".

ok,
terraformer create code for terraform 0.11, not for 0.12
please run terraform 0.12upgrade
https://www.terraform.io/upgrade-guides/0-12.html

Does terraformer not support Classic (non-VPC) security groups? That seems to be the case, but I don't see it mentioned in the readme.

@clebio non-VPC  security groups it's very legacy. I see here in code https://github.com/GoogleCloudPlatform/terraformer/blob/master/providers/aws/sg.go#L38 non VPC skipped, but I think it's can be work, only not tested. It's first terraformer lines.....

I think issue resolved in master branch after add support 0.12
https://github.com/GoogleCloudPlatform/terraformer/pull/181


Couldn't resize bitmap

From @michaeldovoh on February 14, 2017 16:56
AM USING NOKIA X. AND IT TELL ME Couldn't resize bitmap. ANY HELP PLEASE. I TRIED CHANGING THE RESOLUTION BUT STILL
Copied from original issue: firebase/friendlypix#81

From @yofu1234 on February 17, 2017 5:39
Check this PR: https://github.com/firebase/friendlypix/pull/57 for the fix.

From @nicolasgarnier on April 2, 2017 8:5
@gkaldevrel Could you have a look at this? There seem to be a PR that fixes the issue (thx @yofu1234).

From @shukerullah on June 21, 2017 20:41
Its working on real device but not on emulator.

Cleaning up issue fixed in upcoming v2.


adevice / idevice - more information

Gather  more usefull device info

ram size
storage status
resolution
etc

-> adevicecheck / idevicecheck


Internal style property is ignored or Image not coming

Hello, I am working on my project and I used react draft wysiwyg and stored the HTML in my database, now I want to show the editor state from my HTML and I find many ways to convert it but my goal is to convert
1. Raw HTML
2. Raw HTML inline styles
3. Image

those into editor state but I can't match all of the three criteria with my code, so can you suggest to me how to convert it, let me give you the example I tried.
In the below Code,

Raw HTML works fine
Raw HTML inline styles work fine
Image is not working

import htmlToDraft from "html-to-draftjs";
import { ContentState, EditorState } from "draft-js";

const blocksFromHTML = htmlToDraft(data.notes);
const contentState = ContentState.createFromBlockArray(
  blocksFromHTML.contentBlocks,
  blocksFromHTML.entityMap
);
const editorState = EditorState.createWithContent(contentState);

In the below Code,

Raw HTML works fine
Raw HTML inline styles not working
Image works fine

import { ContentState, convertFromHTML, EditorState } from "draft-js";

const blocksFromHTML = convertFromHTML(data.notes);
const contentState = ContentState.createFromBlockArray(
  blocksFromHTML.contentBlocks,
  blocksFromHTML.entityMap
);
const editorState = EditorState.createWithContent(contentState);

do you have a solution where all the above 3 will work fine??

I solved it by myself, Thanks !!

Hello @NishargShah, how did you solve that?

I went with 1st solution that I described above and after I upgrade the library to the latest version, the image is also started working.


[Broken] XTube is broken

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dlc version 2020.10.26
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

D:\Dropbox\Technical_Backup\warehouse\yt-dlc>py -3 -m youtube_dlc "https://www.xtube.com/video-watch/19yo-buddy-sucking-me-off-and-swallowing-41643481" -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.xtube.com/video-watch/19yo-buddy-sucking-me-off-and-swallowing-41643481', '-v']
[debug] Loading archive file None
[debug] Encodings: locale cp936, fs utf-8, out utf-8, pref cp936
[debug] youtube-dlc version 2020.10.25
[debug] Git HEAD: 6410992da
[debug] Python version 3.6.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg git-2020-07-16-d11cc74, ffprobe git-2020-07-16-d11cc74
[debug] Proxy map: {'https': 'http://<IP_ADDRESS>:4411', 'http': 'http://<IP_ADDRESS>:4411'}
[XTube] 19yo-buddy-sucking-me-off-and-swallowing: Downloading webpage
Traceback (most recent call last):
  File "C:\Python36-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Python36-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\__main__.py", line 19, in <module>
    youtube_dlc.main()
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\__init__.py", line 487, in main
    _real_main(argv)
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\__init__.py", line 477, in _real_main
    retcode = ydl.download(all_urls)
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\YoutubeDL.py", line 2096, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\YoutubeDL.py", line 830, in extract_info
    ie_result = ie.extract(url)
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\extractor\common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "D:\Dropbox\Technical_Backup\warehouse\yt-dlc\youtube_dlc\extractor\xtube.py", line 103, in _real_extract
    if not isinstance(sources, dict):
UnboundLocalError: local variable 'sources' referenced before assignment

Description

Regex used in line 93 of xtube.py is not working anymore. could be half-fixed by changing from
r'playerConf\s*=\s*({.+?})\s*,\s*\n', webpage, 'config',
to
r'playerConf\s*=\s*({.+?})\s*,\s*loaderConf', webpage, 'config',
but varible config in line 92 still cannot get the correct assignment bc output of _parse_json() is still invalid json even transform_source=js_to_json has been used. bc value of the keys "defaultQuality", "autoPlay" are like !0, !1, which _parse_json() cannot transform correctly. idk how to fix this issue.

You're right, the regex doesn't match. 'config' doesn't exist in the playerConf line, which is leading to an empty dictionary.
It appears the structure of the page might have changed, the way the regex is written it would only capture part of the JSON it needs but there is no newline at the end. Here is what the regex would capture without the newline at the end: playerConf={startOffset:0,productUrl:"https://www.xtube.com/video-watch/19yo-buddy-sucking-me-off-and-swallowing-41643481",mainRoll:{mediaDefinition:[{defaultQuality:!1,format:"mp4",quality:720,videoUrl:"https://cdn1-l-hw-e7.xtube.com/videos/201910/04/41643481/xtube_mp4_720.mp4?ttl=1603800676&hash=c5cb30f1055a0189f38dc490508c3b4c"}
But, looking at the page source, the regex may actually need to be: playerConf\s*=\s*({.+?}),loaderConf
With 'config' missing, the _parse_json throws WARNING: [XTube] 41643481: Failed to parse JSON Expecting value: line 1 column 166 (char 165)
It appears that for a long time (something like 4 years line 62 here: https://github.com/blackjack4494/yt-dlc/commit/1b734adb2d3bb17af67b5fef933a6fafe71e4cf4) sources was defined outside of any if statement, but with the last extractor fix sources is defined inside of an if statement, which means unless you have an else on your if statement OR define it globally, it's broken. (where it broke: https://github.com/blackjack4494/yt-dlc/commit/e88b450771027e3a36e7b3721e0bc1f105331cf7)


Fix cluster status history

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
related #1878

License
Apache 2.0

What's in this PR?
Quick fix for cluster status history.
Checklist

[ ] Implementation tested (with at least one cloud provider)

mine is bigger than yours: #1878


Draw border of canvas

Because the mouse event is handled by the canvas. When user click and drag their mouse outside of the canvas, it won't trigger the event handler. An easy way to improve UX is showing the border of the canvas, so users can easily identify the working area.

fixed by b526e5780a467f22fa460c148ff2974b1c2c3eff


Host JavaDoc

It would be really nice if as a developer I didn't have to download the entire repo at the version I want, just to view the docuemtation for how to use this library.
even it was just the most recent release, it would be super helpful.

Hi,
Thanks for the feature request!
You don't need to download the repo, you can just read the doc via the source files on github, but I get your point that online javadoc would be nicer. I note also we have javadoc on github, but it's two years out of date, and horrible to read.
The javadoc jar is on maven too:
https://search.maven.org/#search|ga|1|libphonenumber
We'll look into how to do this.

Browseable javadoc for all artifacts published to maven central is available at javadoc.io.
Eg. https://javadoc.io/doc/com.googlecode.libphonenumber/libphonenumber/8.3.3

Wow! Thanks for letting us know!! We should link to this from our README
then ;)

mar. 2017 10.17 p.m. skrev "Karol Wrótniak"<EMAIL_ADDRESS>

Browseable javadoc for all artifacts published to maven central is
available at javadoc.io.
Eg. https://javadoc.io/doc/com.googlecode.libphonenumber/
libphonenumber/8.3.3
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/1626#issuecomment-286563664,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIjis1TiAVC1PmIj4HyCBritl3lhjP8qks5rlwPvgaJpZM4Mb61W
.


MSX syntax for mixins

Support special MSX syntax for:
<mixin from={mixinTemplate} {...args} />

This will be compiled to:
{ tag: 'mixin', attrs: {from: mixinTemplate,...args } }

See #28


Question: Does there exist functionality in Qiskit to compute expectation values of ListOps as efficiently as PauliSumOps?

This could possibly be classified as a feature request, but that depends entirely on whether or not what I am looking for 1. Already exists and I just don't know it. and 2. Whether or not it is even possible. (Because I am unsure of this, for now I have simply classified it as a question.)
My observations:
If you want to evaluate the expectation value of a sum of a large number of Pauli operators, Qiskit can handle this very efficiently. If you want to calculate the expectation values of those Pauli operators in that same summation individually (i.e. perform an analogous set of measurements on the same collection of operators, but not sum them up), then as far as I can tell, this cannot be done efficiently in Qiskit.
Motivation:
The 1 and 2 electron reduced density matrices are important quantities in computational chemistry that require taking expectation values of large numbers of operators separately without summing them up. For example, the number of operator evaluations needed in calculating the 2-RDM scales as O(N^4) where N is the number of qubits if we are assuming no qubit reductions via symmetry considerations. The number of terms in the electronic structure Hamiltonian also scales as O(N^4). Qiskit seems to be able to efficiently calculate electronic structure Hamiltonian expectation values efficiently, but not RDM calculations.
Here is a simple demonstration of what I mean. This is a simple script which constructs the electronic structure Hamiltonian of the LiH molecule in a minimum basis. At the end we define a simple function which takes its expectation value with respect to a UCCSD ansatz circuit with random parameter values.
from time import perf_counter
import numpy as np
from qiskit import transpile
from qiskit_nature.converters.second_quantization import QubitConverter
from qiskit_nature.mappers.second_quantization import JordanWignerMapper
from qiskit_nature.circuit.library import UCCSD, HartreeFock
from qiskit_nature.drivers import PySCFDriver, UnitsType, Molecule
from qiskit_nature.problems.second_quantization import ElectronicStructureProblem
from qiskit.opflow import CircuitStateFn, CircuitSampler, AerPauliExpectation, StateFn, ListOp
from qiskit.providers.aer import AerSimulator
from qiskit.utils import QuantumInstance
from qiskit.utils.backend_utils import is_aer_provider

interatomic_distance = 0.735
basis = 'sto-3g'

backend = AerSimulator(method='statevector', device='CPU')
quantum_instance = QuantumInstance(backend=backend, seed_transpiler=1)

from qiskit_nature.drivers import PySCFDriver, UnitsType, Molecule
molecule = Molecule(geometry=[['Li', [0., 0., 0.]],
                            ['H', [0., 0., interatomic_distance]]],
                    charge=0, multiplicity=1)
driver = PySCFDriver(molecule = molecule, unit=UnitsType.ANGSTROM, basis=basis)
q_molecule = driver.run()
qubit_converter = QubitConverter(JordanWignerMapper())
es_problem = ElectronicStructureProblem(driver=driver)
second_q_op = es_problem.second_q_ops()
qubit_op = qubit_converter.convert(second_q_op[0])

Hf_state = HartreeFock(num_spin_orbitals=2*q_molecule.num_molecular_orbitals,
                        num_particles=es_problem.num_particles,
                        qubit_converter=qubit_converter)

ansatz = UCCSD(num_spin_orbitals=2*q_molecule.num_molecular_orbitals,
                num_particles=es_problem.num_particles,
                qubit_converter=qubit_converter,
                initial_state=Hf_state)
params = np.random.uniform(low=-2*np.pi, high=2*np.pi, size=ansatz.num_parameters)
param_bindings = dict(zip(ansatz.parameters, params.transpose().tolist()))

ansatz = transpile(ansatz, backend=backend)
circuit_op = CircuitStateFn(ansatz)
circuit_sampler = CircuitSampler(quantum_instance, param_qobj=is_aer_provider(quantum_instance.backend))
expectation = AerPauliExpectation()

def measure_expectation(op):

    start_time = perf_counter()
    expect_op = expectation.convert(StateFn(op, is_measurement=True)).compose(circuit_op).reduce()
    sampled_expect_op = circuit_sampler.convert(expect_op, params=param_bindings)
    mean = sampled_expect_op.eval()
    stop_time = perf_counter()
    return stop_time - start_time

We can run the following function calls:
measure_expectation(qubit_op)
measure_expectation(qubit_op[0])

The first function call measures how long it takes to measure the entire Pauli summation. The second measures how long it takes to measure just the first term in this summation. On my local machine these two evaluate to almost exactly the same. (About one second). This makes intuitive sense. What this indicates to me is that the primary bottleneck is not the number of terms in a group of operators being evaluated on the same circuit instance. The bottleneck is primarily other things like sampling the circuit, allocating memory for the circuit object, ect...
This has the implication that if we wanted to calculate the expectation value of a large summed operator like a Hamiltonian, we could do so efficiently. If we wanted to do something like calculate the RDMs for a chemical system, we would have to loop over a huge number of operators and take their expectation values individually, which could could take several orders of magnitude more time than the Hamiltonian evaluation, despite the fact that both tasks involve O(N^4) operators. My guess is that Qiskit sidesteps this vast inefficiency by somehow grouping all of the terms in the summation and associating them with one circuit instance and simulates the circuit once, not O(N^4) times.
A naive guess for how one might replicate this efficiency in the case where we want the expectation values of the individual operators, but not sum them up, would be to group these operators in a similar fashion and take their expectation values:
measure_expectation(ListOp(oplist=[qubit_op[n] for n in range(len(qubit_op))]))

but this does not seem to be the case. This seems to take so long that I just stopped the program when it allocated all of the memory on my machine to this task and does not seem to offer an advantage over just looping over the terms individually. It would seem that Qiskit associates each element in the ListOp with its own separate circuit object and evaluates their expectation values one by one.
The main question: Using existing Qiskit functionality, is it possible to somehow replicate the efficiency of how Qiskit measures expectation values of large PauliSumOps, but with large lists of individual operators? Is it possible for functionality of this kind to be added to Qiskit or is there something which prohibits this? It seems that these two procedures are very close to being the same, except with one you are taking the sum of the expectation values and the other you want to return a list of the individual expectation values.

This is an interesting observation @JoelHBierman!
So the reason the expectation value calculation is so fast in your code, and why it takes the same time for the full Hamiltonian as a single Pauli, I'm pretty sure is that you're using AerPauliExpectation and a statevector backend. In this case, Qiskit doesn't need to do any basis transformations but can just compute the Hamiltonian matrix and multiply it with the state. Since the expensive part is computing the state this takes roughly the same time for a sum of Paulis as for a single Pauli.
To perform the basis transformations which you would have to do on a quantum computer, you can use the PauliExpectation and the QasmSimulator (or just the plain AerSimulator). Here you will see that computing a single operator is much much faster than the whole Hamiltonian.
That being said -- there's still an optimization that Qiskit doesn't do yet. If you compute the expectation of the full Hamiltonian as sum of Paulis, Qiskit will group commuting terms, and in your case reduce from 631 to 136 Pauli terms. This is not the case if you evaluate the Pauli terms individually, so the latter will be ~5 times slower. It would be nice if Qiskit would still be able to group the terms if you evaluate the Paulis individually (as ListOp instead of SummedOp/PauliSumOp) and measure 136 circuits instead of 631.

I see, thank you! This sufficiently answers my question. I'll close this issue for now.


feat!: Add merge queue parameters to repository ruleset

Fixes: #3225.
BREAKING CHANGE: NewMergeQueueRule now takes one parameter: *MergeQueueRuleParameters.
Summary
closes: #3225
(I'm the same author as the assignee of the issue @zhpeng811, but submitting the
PR using my corporate account)
Details
This PR adds merge queue parameter configurations to the repository branch ruleset.
an attempt was also made for organization ruleset but was later determined that GitHub currently does not support merge queue configurations at the organizational level. Configs related to merge queue in tests was removed as the result.
Testing
General
Ran the required scripts on step 4 of the CONTRIBUTING.md file
Details

❯ script/fmt.sh
❯ script/test.sh
testing .
?       github.com/google/go-github/v63/test/integration        [no test files]
ok      github.com/google/go-github/v63/github  (cached)        coverage: 99.4% of statements
        github.com/google/go-github/v63/test/fields             coverage: 0.0% of statements
testing example
        github.com/google/go-github/v63/example/actionpermissions               coverage: 0.0% of statements
        github.com/google/go-github/v63/example/basicauth               coverage: 0.0% of statements
        github.com/google/go-github/v63/example/codespaces/newusersecretwithxcrypto             coverage: 0.0% of statements
        github.com/google/go-github/v63/example/codespaces/newreposecretwithxcrypto             coverage: 0.0% of statements
        github.com/google/go-github/v63/example/appengine               coverage: 0.0% of statements
        github.com/google/go-github/v63/example/newfilewithappauth              coverage: 0.0% of statements
        github.com/google/go-github/v63/example/listenvironments                coverage: 0.0% of statements
        github.com/google/go-github/v63/example/commitpr                coverage: 0.0% of statements
        github.com/google/go-github/v63/example/migrations              coverage: 0.0% of statements
        github.com/google/go-github/v63/example/newrepo         coverage: 0.0% of statements
        github.com/google/go-github/v63/example/newreposecretwithxcrypto                coverage: 0.0% of statements
        github.com/google/go-github/v63/example/simple          coverage: 0.0% of statements
        github.com/google/go-github/v63/example/ratelimit               coverage: 0.0% of statements
        github.com/google/go-github/v63/example/tagprotection           coverage: 0.0% of statements
        github.com/google/go-github/v63/example/tokenauth               coverage: 0.0% of statements
        github.com/google/go-github/v63/example/topics          coverage: 0.0% of statements
testing scrape
ok      github.com/google/go-github/scrape      (cached)        coverage: 59.4% of statements
        github.com/google/go-github/scrape/example/scrape               coverage: 0.0% of statements
testing tools
ok      tools/metadata  (cached)        coverage: 81.7% of statements
❯ script/lint.sh
linting .
linting example
linting scrape
linting tools
validating generated files

Repository Ruleset
Manual:
Tested with the following test code, both with and without including the specific parameters, and verified in the UI.
Expand to view code

func main() {
	client := github.NewClient(nil).WithAuthToken(os.Getenv("GITHUB_TOKEN"))
	org := "<REPLACE_WITH_YOUR_ORG>"
	repo := "<REPLACE_WITH_YOUR_REPO>"

	ctx := context.Background()
	_, _, err := client.Repositories.CreateRuleset(ctx, org, repo, &github.Ruleset{
		Name:        "merge-queue-test-without-param",
		Enforcement: "active",
		Rules: []*github.RepositoryRule{
			github.NewMergeQueueRule(nil),
		},
	})
	if err != nil {
		fmt.Println(err)
	}
	_, _, err = client.Repositories.CreateRuleset(ctx, org, repo, &github.Ruleset{
		Name:        "merge-queue-test-with-param",
		Enforcement: "active",
		Rules: []*github.RepositoryRule{
			github.NewMergeQueueRule(&github.MergeQueueRuleParameters{
				CheckResponseTimeoutMinutes:  35,
				GroupingStrategy:             "HEADGREEN",
				MaxEntriesToBuild:            8,
				MaxEntriesToMerge:            4,
				MergeMethod:                  "SQUASH",
				MinEntriesToMerge:            2,
				MinEntriesToMergeWaitMinutes: 13,
			}),
		},
	})
	if err != nil {
		fmt.Println(err)
	}
}

Unit Test:
A unit test already exist for merge queue without parameters, 2 more tests were added (1 success case and 1 failure case with the incorrect parameter type)
Organization Ruleset
Was trying to create a org ruleset with merge queue rule using the following curl
Expand for curl

export ORG_NAME=<REPLACE_WITH_YOUR_ORG_NAME>

curl -L \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer $GITHUB_TOKEN" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  https://api.github.com/orgs/$ORG_NAME/rulesets \
  -d '{"name":"merge queue test ruleset","target":"branch","enforcement":"active","conditions":{"ref_name":{"include":["refs/heads/main","refs/heads/master"],"exclude":["refs/heads/dev*"]},"repository_name":{"include":["test1","test2"],"exclude":["test3"],"protected":true}},"rules":[{"type":"merge_queue"}]}'

but got the following error:
{
  "message": "Validation Failed",
  "errors": [
    "Invalid rules: 'Merge queue'"
  ],
  "documentation_url": "https://docs.github.com/rest/orgs/rules#create-an-organization-repository-ruleset",
  "status": "422"
}

I cross referenced with the UI page and did not notice a branch rule for merge queue, which conflicts with the REST API documentation for org rulesets, so seems like GitHub currently does not support merge queue configuration on the org level ruleset. Reported the issue to GitHub community: https://github.com/orgs/community/discussions/137097

Thank you, @ali-kafel and @tomleicircle !
Merging.


[feature] Be able to select ios signing certificate with flutter config

We can only delete the ios signing certificate with flutter config but not select it.
This is problematic when the terminal reports not having a ui, as we just blindly pick the first certificate:
https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/ios/code_signing.dart
    // If terminal UI can't be used, just attempt with the first valid certificate
    // since we can't ask the user.
    if (!terminal.usesTerminalUi) {
      return validCodeSigningIdentities.first;
    }

The signing config can be cleared with flutter config --clear-ios-signing-cert:
$ flutter config --help
[...]
    --clear-ios-signing-cert                    Clear the saved development certificate choice used to sign apps for iOS device deployment.
[...]

But there is no way to set the signing certificate in this situation.
Side note, maybe we should print a warning when we're picking the first.
(I don't know why my terminal is being treated as !usesTerminalUi, it's just the standard terminal on MacOS. On my local branch with edits.)

(I don't know why my terminal is being treated as !usesTerminalUi, it's just the standard terminal on MacOS. On my local branch with edits.)

Sounds like this is another bug?

This could also be a CLI option you add when invoking the run.