text:
Групповой Advanced Calcolation

В данный момент - при групповом выделении локаторов - опция Advanced Calculation есть только на панели покрытия.
Причём - она работает только на один локатор от которого было вызвана групповое меню.
Необходимо:

Запускать Advanced Calculation для всех выделенных локаторов если контекстное меню было вызвано от одного из выделенных локаторов (если оно было вызвано от невыделенного локатора - должно запускаться только для невыделенного локатора)
Добавить опцию Advanced Calculation в контекстное меню на панели покрытия

3.13.509

Fixed.

authors: AlexeyGirin arslanbekova

repo: jdi-testing/jdn-ai


text:
Issues when running multirepo

When i run mkdocs serve I get the following output.
INFO     -  Building documentation...
WARNING  -  Multirepo plugin is ignoring plugins.multirepo.repos. Nav takes precedence
INFO     -  Multirepo plugin importing docs...
INFO     -  Cleaning site directory
INFO     -  Multirepo plugin is cleaning up temp_dir/
INFO     -  Documentation built in 0.23 seconds
INFO     -  [16:55:53] Watching paths for changes: 'docs', 'mkdocs.yml'
INFO     -  [16:55:53] Serving on http://127.0.0.1:8000/
WARNING  -  [16:55:54] "GET /quix-apis/ HTTP/1.1" code 404
INFO     -  [16:56:07] Browser connected: http://localhost:8000/

This is my yaml file.. I mostly copied the bits from your readme.
site_name: My Docs

nav:
  - Home: 'index.md'

plugins:
  - search
  - multirepo:
      # (optional) tells multirepo to cleanup the temporary directory after site is built.
      cleanup: true
      repos:
        - section: Backstage
          # you can define the edit uri path
          import_url: 'https://github.com/backstage/backstage?edit_uri=/blob/master/'
        - section: Monorepo
          import_url: 'https://github.com/backstage/mkdocs-monorepo-plugin?edit_uri=/blob/master/'
        - section: 'Techdocs-cli'
          # note that the branch is still specified in the url
          import_url: 'https://github.com/backstage/techdocs-cli?branch=main&edit_uri=/blob/main/'
        - section: FastAPI
          import_url: 'https://github.com/tiangolo/fastapi?docs_dir=docs/en/docs/*'
        - section: Monorepo Multi Docs
          import_url: https://github.com/backstage/mkdocs-monorepo-plugin?multi_docs=True&docs_dir=sample-docs/*
        - section: 'Django REST'
          section_path: python # Put this under the python menu entry
          import_url: 'https://github.com/encode/django-rest-framework'
        - section: 'Cookiecutter Pypackage'
          section_path: python # Put this under the python menu entry
          import_url: 'https://github.com/zillionare/cookiecutter-pypackage'
        - section: 'Pydantic'
          section_path: python # Put this under the python menu entry
          import_url: 'https://github.com/samuelcolvin/pydantic?branch=main'

I wasn't sure from the docs whether I needed the nav section as well as the plugins config. But without the nav section it fails to build.
I noticed WITH the nav section that the output is saying Nav take precedence.

Example of my issue.

Was having the same issue as you, then I saw the warning message:
WARNING  -  Multirepo plugin is ignoring plugins.multirepo.repos. Nav takes precedence

Either remove the nav section in the mkdocs.yml or use the following syntax:
# mkdocs.yml
nav:
  - Home: index.md
  - Backstage: '!import https://github.com/backstage/backstage?edit_uri=/blob/master/'

Hi @tcarmet,
removing the nav section crashes mkdocs
This is my yaml file
site_name: 'Docs'

#nav:
#  - Home: index.md

plugins:
  - search
  - multirepo:
      # (optional) tells multirepo to cleanup the temporary directory after site is built.
      cleanup: false
      repos:
        - section: Backstage
          # you can define the edit uri path
          import_url: 'https://github.com/backstage/backstage?edit_uri=/blob/master/'
        - section: Monorepo
          import_url: 'https://github.com/backstage/mkdocs-monorepo-plugin?edit_uri=/blob/master/'

This also crashes mkdocs..
site_name: 'Docs'

nav:
  - Home: index.md
  - Backstage: '!import https://github.com/backstage/backstage'

plugins:
  - search
  - multirepo:
      # (optional) tells multirepo to cleanup the temporary directory after site is built.
      cleanup: false

PS C:\Work\Quix\github\quix-docs-mutli-repo> mkdocs serve
INFO     -  Building documentation...
INFO     -  Multirepo plugin importing docs...
🔳 backstage
Traceback (most recent call last):
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\util.py", line 89, in execute_bash_script
    process = await asyncio.create_subprocess_exec(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\subprocess.py", line 236, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\base_events.py", line 1630, in subprocess_exec
    transport = await self._make_subprocess_transport(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\windows_events.py", line 389, in _make_subprocess_transport
    transp = _WindowsSubprocessTransport(self, protocol, args, shell,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\windows_events.py", line 885, in _start
    self._proc = windows_utils.Popen(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\windows_utils.py", line 153, in __init__
    super().__init__(args, stdin=stdin_rfd, stdout=stdout_wfd,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Steve\AppData\Local\Programs\Python\Python38-32\Scripts\mkdocs.exe\__main__.py", line 7, in <module>
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\__main__.py", line 234, in serve_command
    serve.serve(dev_addr=dev_addr, livereload=livereload, watch=watch, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\commands\serve.py", line 82, in serve
    builder(config)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\commands\serve.py", line 75, in builder
    build(config, live_server=live_server, dirty=dirty)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\commands\build.py", line 270, in build
    config = config.plugins.run_event('config', config)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\plugins.py", line 517, in run_event
    result = method(item, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\plugin.py", line 212, in on_config
    return self.handle_nav_based_import(config)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\plugin.py", line 140, in handle_nav_based_import
    asyncio_run(batch_import(repos))
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\util.py", line 106, in asyncio_run
    asyncio.run(futures)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\structure.py", line 365, in batch_import
    repo = await import_async
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\tasks.py", line 616, in _wait_for_one
    return f.result()  # May raise f.exception().
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\structure.py", line 346, in import_docs
    await self.sparse_clone([self.docs_dir, self.config] + self.extra_imports)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\structure.py", line 193, in sparse_clone
    stdout = await execute_bash_script("sparse_clone.sh", args, self.temp_dir)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\util.py", line 93, in execute_bash_script
    raise GitException(
mkdocs_multirepo_plugin.util.GitException: bash executable not found. Please ensure bash is available in PATH.

Traceback (using above yaml config)
PS C:\Work\Quix\github\quix-docs-mutli-repo> mkdocs serve
INFO     -  Building documentation...
INFO     -  Multirepo plugin importing docs...
🔳 backstage
Traceback (most recent call last):
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\util.py", line 89, in execute_bash_script
    process = await asyncio.create_subprocess_exec(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\subprocess.py", line 236, in create_subprocess_exec
    transport, protocol = await loop.subprocess_exec(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\base_events.py", line 1630, in subprocess_exec
    transport = await self._make_subprocess_transport(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\windows_events.py", line 389, in _make_subprocess_transport
    transp = _WindowsSubprocessTransport(self, protocol, args, shell,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\base_subprocess.py", line 36, in __init__
    self._start(args=args, shell=shell, stdin=stdin, stdout=stdout,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\windows_events.py", line 885, in _start
    self._proc = windows_utils.Popen(
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\windows_utils.py", line 153, in __init__
    super().__init__(args, stdin=stdin_rfd, stdout=stdout_wfd,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\subprocess.py", line 1307, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\Steve\AppData\Local\Programs\Python\Python38-32\Scripts\mkdocs.exe\__main__.py", line 7, in <module>
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\__main__.py", line 234, in serve_command
    serve.serve(dev_addr=dev_addr, livereload=livereload, watch=watch, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\commands\serve.py", line 82, in serve
    builder(config)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\commands\serve.py", line 75, in builder
    build(config, live_server=live_server, dirty=dirty)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\commands\build.py", line 270, in build
    config = config.plugins.run_event('config', config)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs\plugins.py", line 517, in run_event
    result = method(item, **kwargs)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\plugin.py", line 212, in on_config
    return self.handle_nav_based_import(config)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\plugin.py", line 140, in handle_nav_based_import
    asyncio_run(batch_import(repos))
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\util.py", line 106, in asyncio_run
    asyncio.run(futures)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete
    return future.result()
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\structure.py", line 365, in batch_import
    repo = await import_async
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\asyncio\tasks.py", line 616, in _wait_for_one
    return f.result()  # May raise f.exception().
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\structure.py", line 346, in import_docs
    await self.sparse_clone([self.docs_dir, self.config] + self.extra_imports)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\structure.py", line 193, in sparse_clone
    stdout = await execute_bash_script("sparse_clone.sh", args, self.temp_dir)
  File "c:\users\steve\appdata\local\programs\python\python38-32\lib\site-packages\mkdocs_multirepo_plugin\util.py", line 93, in execute_bash_script
    raise GitException(
mkdocs_multirepo_plugin.util.GitException: bash executable not found. Please ensure bash is available in PATH.

Closing b/c this isn't an issue with the project.

Thank you! I didn't realise I had to do that. Apologies for wasting your time. Working perfectly now!

No worries! I'm glad @tcarmet and I could help you out.

source: gharchive/issue

authors: SteveRosam jdoiro3 srosam tcarmet

license: MIT

license_type: permissive

license_source: github-api


text:
Enhancing HTML Component design

This is the idea behind class hierarchy - feel free to comment, we can change it:
Component trait just provide HTMLElement
ParentComponent provides some useful protected methods for manipulating element (add/remove child, attributes setting)
Content of HTML element is created by the Component code, not by the user of the component (TextInput, Grid, ...)
HTMLParentComponent
inner content of the html element can be created by DSL
example: div, span, ...

So If I undestand well, ParentComponents are the components which for we don't want to allow the user to add any kind of child elements explicitly. So for example the Grid: It is a table with many child elements, but these elements are added and controlled by the Grid itself, not the user of Grid, so she can't do like this:
Grid {...
   div {...} // It is prohibited for 'ParentComponents'
}

I think then that the name 'ParentComponent' is misleading.
In my opinion, we need only two base classes:

abstract Component class with the protected helper methods of ParentComponent.
The classes that now are inherited from ParentComponent, would be the child of this Component.
These child classes can control which elements can a user add to themselves.
HTMLParentComponent, but with an another name, e.g. "ComponentContainer", which for the user can freely add any elements (div, ul, etc.)

Can you use 4 spaces as indent?

Of course.
Was thinking about adding id and class as optional parameters to all HTML DSL functions, namely HTMLParentComponent.div an .span.
So that instead of
div {
id = "bla"
ul { }
}
we can write
div(id="bla") {
ul { }
}

I think it is a good Idead, but the default value should be an empty string.

Yep, that's what I meant.
Component as a trait only is quite useful - see class Spinner - the HTMLElement is provided by 3rd party Javascript library and not created by Kotlin code.
https://github.com/jean79/yested/blob/master/src/main/kotlin/net/yested/spin/spinner.kt
public class Spinner(val options:SpinnerOptions = SpinnerOptions()) : Component {

    private val jsSpinnerElement = createSpinner(createOptions()).spin().el

    private fun createOptions(): Any = object {
        ...
    }

    override val element: HTMLElement
        get() = jsSpinnerElement

}

But we can rename class hierarchy:
Component -> ComponentI
ParentComponent -> Component
HTMLParentComponent -> ComponentContainer

Then the second difference is that ParentComponent creates its own Element, which fact is slightly hidden from the programmer (the name "ParentComponent" does not tell about it).
What about the following idea:
We would have a trait named Element, which receives a HTMLElement in his constructor.
This trait would contain all methods that works with HTMLElements, with a protected modifier.
The Grid and other classes that are inherited from ParentComponent would use this Element as their parents, like
public class Grid<T>(val columns:Array<Column<T>>) : Element(document.createElement("table") as HTMLElement) {

(Of course the createElement should be extracted to a method with a shorter name.)
It has the adventage that the Element creation is explicit for the programmer, who creates new constructs (like the Grid).
I know that the "Element" word is quite frequent (as well as the "Component"), but maybe it tells more about their function (I think "Component" means a bigger thing than "Element", especially in a HTML context)

I think we should keep ability to create HTMLElement later, like it is used in Spinner class. Putting all the logic into constructor might be lead to messy code.
I think it would be better to use Component name as it kind of encapsulate HTMLElement with some additiona logic (our code)
What about this:
public trait Component {
   val element:HTMLElement
}

public class Grid : Component {
   override val element = document.createElement("table") as HTMLElement
  //this is transparent for user -> he knows he must create an element, we can encapsulate into a method as you propose, like:
  //override val element = createDocumentHTMLElement("table")
}

//convenient class for simple extensible HTMLComponents
public open class HTMLComponent(name:String) : Component {
   override val element = createDocumentHTMLElement(name)
}

Maybe we do not need helper methods add,replace,fade. You are right that it hides from user what is really hapenning, what about making these extension methods of HTMLElement ?  (if these are not there already)

 Putting all the logic into constructor might be lead to messy code.

You are totally right.
What about this:

I like this version.
Maybe we do not need helper methods add,replace,fade.

I think they are useful and the Trait can contain them, just need some renaming for clarifications:
add(component:Component) -> appendChild
add(text:String) -> appendContent?
public fun replace(text:String) -> setContent? (most programmer is familiar "replace" from String.replace(pattern, newText), so using "replace" here is confusing)
public fun replace(component:Component) -> setChild? setContent?

Maybe these functions souldn't be open.

New method names looks good (last one would call setContent to match appendContent).
We can also add something like: clear() or removeAllChildren()
Let's keep them protected.

license: mit

license_source: bigquery


text:
Upgrade to Kotlin 1.1.2

I'm thinking of using Yested in a toy project, so I had a go at upgrading to the latest Kotlin, 1.1.2.
For now I've made the minimum changes needed to get the demo site to work for me.  I may make a sub-branch with "tidy-up" changes suggested by IntelliJ, including switching to using JQuery derived with ts2kt from DefinitelyTyped.

You beat me to it!

Hi,
good job, Can you just remove Idea project files from the pull request?
.gitignore,
.Idea/*
Yested.iml
Thanks!
Jan

@Radisvoik, glad it may be of use to someone else :-)

@jean79, would it be okay to leave the IntelliJ files in the project? They shouldn't cause problems for anyone who doesn't use IntelliJ, and there are a couple of reasons I put them in, for me and any other IntelliJ users.
First, it means it's easy for me (and others) to click on build errors in the IntelliJ output window to jump to the problem.  If I run the build with IntelliJ's Maven UI, I get text output with errors but I can't click on them to jump to the problem.
Second, I also added docsite/docsite.iml as a "sub-project" for the demo site Kotlin files.  If I don't do that, IntelliJ doesn't build the demo site files, and doesn't find references from the demo site to the main Yested files.  I spend a while wondering why so many Yested classes and functions seemed to be unused, until I worked that out!
I can remove these things if you want, but it took me an hour or so to get the setup right.  Otherwise I'll have to leave them on my machine and try to remember not to commit them in future, and hope I don't accidentally delete them.

Hmm, actually ... I realise that with my IntelliJ changes I also needed to add the generated docsite,js to index.html.  I wasn't gong to check in that change since it's only because of my IntelliJ changes.  But then, looking at the pom.xml, I can't see how the demo site gets built into the generated Yested.js in the existing setup.  However, I don't really understand Maven -- I mainly use Gradle -- so maybe I'm missing something.

@HughG @jean79   If my vote counts -- would be kind of nice having the project files there.

It might not work in different version of Intellij Idea. Can't we just refactor the maven project? So that it is not necessary to setup the project in Idea manually?

@jean79, that's a good point (about different IntelliJ versions).  I can try to refactor the Maven project but I don't really know Maven, so that may take me a while, unless you (or @Radisvoik) want to do it :-)
That would still leave me with the irritation that doing a Maven build doesn't let me easily jump to errors.  But maybe I just need to investigate the IntelliJ-Maven integration a bit more to get that working.  I know that, when IntelliJ imports from Gradle projects, you get clickable build output.
Actually, that's another option: I could probably convert your Maven project to Gradle, since I know it pretty well, and how it integrates with IntelliJ.  I'm definitely not trying to persuade you to do that, though: your project, your build system!  But I could if you like.

As a separate question, is there any Maven command to copy the JavaScript output of the main Yested library plus the demo site to the folder where the two need to be, for the demo site to run?  The page https://kotlinlang.org/docs/reference/using-maven.html mentions an outputPath attribute with no default, but I don't understand how that works.

Hi,
feel free to convert it to Gradle. I have no experience with Gradle so far.
Also would suggest you to check https://github.com/jean79/yested_fw/ . It
is a new version of Yested framework. This version is no longer maintained,
whereas Yested_FW has contributors.
Yested_FW has some nice features like bindable properties (aka JavaFX
bindable properties) and better utilize Kotlin HTML DSL.
Regards,
Jan
2017-06-06 22:05 GMT+02:00 HughG notifications@github.com:

@jean79 https://github.com/jean79, that's a good point (about different
IntelliJ versions). I can try to refactor the Maven project but I don't
really know Maven, so that may take me a while, unless you (or @Radisvoik
https://github.com/radisvoik) want to do it :-)
That would still leave me with the irritation that doing a Maven build
doesn't let me easily jump to errors. But maybe I just need to investigate
the IntelliJ-Maven integration a bit more to get that working. I know that,
when IntelliJ imports from Gradle projects, you get clickable build output.
Actually, that's another option: I could probably convert your Maven
project to Gradle, since I know it pretty well, and how it integrates with
IntelliJ. I'm definitely not trying to persuade you to do that, though:
your project, your build system! But I could if you like.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jean79/yested/pull/128#issuecomment-306601295, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZSjyq3ZwT9SJLCDukNcERzbNoNCAHZks5sBbEbgaJpZM4NuK9Y
.

Ah, heh, I wish I'd known that before I started looking at Yested.  Perhaps you or I should ping the JetBrains people to update the list at https://kotlinlang.org/docs/resources.html, since that's where I found it.  And/or, maybe you could update the link to the source on http://www.yested.net (in the "Get Yested" sidebar).
Would you and the other contributors be happy for me to move the new Yested to Gradle as well / instead?

My fault. I have raised a pull request to update the link on Kotlin pages.
I have also updated http://www.yested.net pages to refer to a new version.
I would like to keep the new Yested in Maven if you don't mind. We are
quite used to it.
2017-06-06 22:31 GMT+02:00 HughG notifications@github.com:

Ah, heh, I wish I'd known that before I started looking at Yested. Perhaps
you or I should ping the JetBrains people to update the list at
https://kotlinlang.org/docs/resources.html, since that's where I found
it. And/or, maybe you could update the link to the source on
http://www.yested.net (in the "Get Yested" sidebar).
Would you and the other contributors be happy for me to move the new
Yested to Gradle as well / instead?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jean79/yested/pull/128#issuecomment-306607850, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZSj5iOchptFRXJ1DMoXbtdq1ECMMKtks5sBbcGgaJpZM4NuK9Y
.

@jean79, I was tempted to try out gradle-script-kotlin but I've decided to just remove the IntelliJ stuff for now as you suggested, and go back to focusing on my original project.  I may yet try to upgrade the new Yested to 1.1.2, we'll see ...

source: gharchive/pull-request

authors: HughG Radisvoik jean79


text:
🛑 monark is down

In dc65eac, monark (https://www.monark.com.pe) was down:

HTTP code: 0
Response time: 0 ms

Resolved: monark is back up in c4c1c45.


text:
Supports OGP meta tag contents

Overview
Supports OGP meta tag contents (e.g. <meta property="og:title" >)
Details
I want to share URL of slide generated with reveal-ck to twitter or facebook, but content is very cheep :persevere:
This PR supports arbitrary embed meta tag.
Example
Before
Twitter

Facebook

After
https://sue445.github.io/reveal-ck-example/#/
config.yml
meta_properties:
  og:type: "website"
  og:title: "Example slide"
  og:description: "Example slide"
  og:url: "https://sue445.github.io/reveal-ck-example/#/"
  og:image: "https://sue445.github.io/reveal-ck-example/images/github_unicorn.png"

meta_names:
  twitter:card: "summary"
  twitter:site: "@sue445"
  twitter:creator: "@sue445"
  twitter:title: "Example slide"
  twitter:description: "Example slide"
  twitter:image: "https://sue445.github.io/reveal-ck-example/images/github_unicorn.png"

Twitter

Facebook

Hey there @sue445! Thanks for the PR!
I think you're the first person to write their own .feature. I appreciate it!
I've been on vacation for the past few days-- I'm back now and will take a closer look in the next day. Presuming all looks good I'll merge and then publish a new version of the gem.
I'll update this PR when there's more info. Thanks again!

Your changes are now available as version 3.6.0 of reveal-ck: https://rubygems.org/gems/reveal-ck/versions/3.6.0

repo: jedcn/reveal-ck


text:
update cucumber version

Currently generates these sorts constraints:
Bundler could not find compatible versions for gem "json_pure":
  In Gemfile:
    veewee depends on
      json_pure (~> 1.4.3)

    jenkins (~> 0.6.4) depends on
      json_pure (1.5.3)

It would nice to have cucumber >=1.0.0 and rspec >= 2.5.0


text:
Implement Partially Blind RSA Signatures

Working on an implementation for https://www.ietf.org/archive/id/draft-amjad-cfrg-partially-blind-rsa-03.html, wanted to see if desire of this would be making new function for functions such as Blind making Partially Blind and Blind RSA signatures separate from one another.

Since this is a port of the Zig version, which has had support for PBRSA for a long time, I'd just do the same thing, and use distinct namespaces.
There's not a lot that can be factored, and trying to do so would just increase complexity.

In addition to be insecure against side channels, expect the pure Rust implementation to be awfully slow.
In a Rust application, I'd rather write bindings against the C or Zig versions to be honest.


text:
Failed to parse configuration class [org.jeecg.JeecgGatewayApplication]; nested exception is java.lang.IllegalArgumentException: Could not find class [com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure]

版本号：
3.1.0
问题描述：
JeecgGatewayApplication启动报错
截图&代码：

友情提示（为了提高issue处理效率）：

未按格式要求发帖，会被直接删掉;
请自己初判问题描述是否清楚，是否方便我们调查处理；
针对问题请说明是Online在线功能(需说明用的主题模板)，还是生成的代码功能；
描述过于简单或模糊，导致无法处理的，会被直接删掉；

按照文档一步一步来，确认nacos启动等没问题
http://doc.jeecg.com/2043906

repo: jeecgboot/jeecg-boot


text:
数据字典配置时，数据值不能输入特殊字符

版本号：
3.5.4
前端版本：vue3版？还是 vue2版？
vue3
问题描述： 数据字典配置时，数据值不能输入特殊字符。
该校验规则是否可以去除？
截图&代码：

友情提示（为了提高issue处理效率）：

未按格式要求发帖，会被直接删掉;
描述过于简单或模糊，导致无法处理的，会被直接删掉；
请自己初判问题描述是否清楚，是否方便我们调查处理；
针对问题请说明是Online在线功能(需说明用的主题模板)，还是生成的代码功能；

个性化请自己扩展，容易出问题

好的，谢谢

authors: PleromaMilla zhangdaiscott


text:
PosDefException from neton_trust_region.jl

jregier@cori10~/Celeste/bin $ ./celeste.jl infer-nersc 164.39 164.5 39.11 39.5 .
...
20-Mar 15:47:47:INFO:root:3925 primary sources
20-Mar 15:47:47:INFO:root:2448 primary sources after MIN_FLUX cut
20-Mar 15:47:47:INFO:root:processing 512 sources in RA/Dec range
20-Mar 15:47:47:INFO:root:reading field (3840,1,69)
20-Mar 15:47:50:INFO:root:reading field (3840,1,70)
20-Mar 15:47:52:INFO:root:reading field (3900,6,269)
20-Mar 15:47:53:INFO:root:reading field (3900,6,270)
20-Mar 15:47:54:INFO:root:reading field (4469,6,343)
20-Mar 15:47:56:INFO:root:reading field (4469,6,344)
20-Mar 15:47:57:INFO:root:initializing celeste without PSF fit
Getting VP from sources.

20-Mar 15:48:41:INFO:root:fitting PSF for all relevant sources
ERROR: LoadError: Base.LinAlg.PosDefException(10)
 in chol! at linalg/cholesky.jl:28
 in solve_tr_subproblem! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_region.jl:208
 in __newton_tr#21__ at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_region.jl:326
 in fit_psf at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:121
 in fit_raw_psf_for_celeste at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:702
 in get_source_psf at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:221
 in fit_object_psfs! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/ModelInit.jl:282
 in infer at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:155
 in infer_nersc at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:332
 in main at /global/u2/j/jregier/Celeste/bin/celeste.jl:36
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 in process_options at ./client.jl:280
 in _start at ./client.jl:378
while loading /global/u2/j/jregier/Celeste/bin/celeste.jl, in expression starting on line 42

Is this the master branch, Jeff?

PS I see this requires you to be on Cori.  Let me go see if I can log in -- I don't think I have.  If you can send a step to reproduce locally that will speed up my response time.

How have you guys been running julia on Cori?

This is the single psf branch. I added module load julia to my
.bashrc.ext file
On Sun, Mar 20, 2016, 4:20 PM Ryan notifications@github.com wrote:

How have you guys been running julia on Cori?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199058449

I'm currently blocked by needing FITSIO.jl on Cori, so if you could change
your permissions, Jeff, or send me a tarball of your Cori julia 0.4
directory, I can try to take a look.
On Sun, Mar 20, 2016 at 4:24 PM, Jeffrey Regier notifications@github.com
wrote:

This is the single psf branch. I added module load julia to my
.bashrc.ext file
On Sun, Mar 20, 2016, 4:20 PM Ryan notifications@github.com wrote:

How have you guys been running julia on Cori?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199058449

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199059304

If you do just module load julia at the command line on Cori you get 0.4.2.  If you do module load julia/0.5.0-dev-2918 then you load the 0.5.0 commit we've been working on.

It occurs to me that by "single psf branch" you might not mean the latest
in the PR.  There was a bug in the earlier PR that could cause this
problem, so take the latest.
-- Ryan.  Sent from a phone.  Nevertheless, all typos are deliberate.
On Mar 20, 2016 4:24 PM, "Jeffrey Regier" notifications@github.com wrote:

This is the single psf branch. I added module load julia to my
.bashrc.ext file
On Sun, Mar 20, 2016, 4:20 PM Ryan notifications@github.com wrote:

How have you guys been running julia on Cori?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199058449

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199059304

I merged that PR last night. I can try recreating the problem now w master.
Is what's in master the latest code?
On Mon, Mar 21, 2016, 10:18 AM Ryan notifications@github.com wrote:

It occurs to me that by "single psf branch" you might not mean the latest
in the PR. There was a bug in the earlier PR that could cause this
problem, so take the latest.
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 20, 2016 4:24 PM, "Jeffrey Regier" notifications@github.com
wrote:

This is the single psf branch. I added module load julia to my
.bashrc.ext file
On Sun, Mar 20, 2016, 4:20 PM Ryan notifications@github.com wrote:

How have you guys been running julia on Cori?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<

https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199058449

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199059304

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199384704

My last PR was my latest work, yes.
-- Ryan.  Sent from a phone.  Nevertheless, all typos are deliberate.
On Mar 21, 2016 10:48 AM, "Jeffrey Regier" notifications@github.com wrote:

I merged that PR last night. I can try recreating the problem now w master.
Is what's in master the latest code?
On Mon, Mar 21, 2016, 10:18 AM Ryan notifications@github.com wrote:

It occurs to me that by "single psf branch" you might not mean the latest
in the PR. There was a bug in the earlier PR that could cause this
problem, so take the latest.
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 20, 2016 4:24 PM, "Jeffrey Regier" notifications@github.com
wrote:

This is the single psf branch. I added module load julia to my
.bashrc.ext file
On Sun, Mar 20, 2016, 4:20 PM Ryan notifications@github.com wrote:

How have you guys been running julia on Cori?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<

https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199058449

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
<

https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199059304

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199384704

—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199399589

I get the same error with master:
jregier@cori05~/Celeste $ git pull
Enter passphrase for key '/global/homes/j/jregier/.ssh/id_rsa':
Already up-to-date.
jregier@cori05~/Celeste $ git status
# On branch master
nothing to commit (working directory clean)
jregier@cori05~/Celeste $ cd bin/
jregier@cori05~/Celeste/bin $ ./celeste.jl infer-nersc 164.39 164.5 39.11 39.5 .
...
21-Mar 11:04:23:INFO:root:fitting PSF for all relevant sources
ERROR: LoadError: Base.LinAlg.PosDefException(10)
 in chol! at linalg/cholesky.jl:28
 in solve_tr_subproblem! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_region.jl:208
 in __newton_tr#21__ at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_region.jl:326
 in fit_psf at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:121
 in fit_raw_psf_for_celeste at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:702
 in get_source_psf at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:221
 in fit_object_psfs! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/ModelInit.jl:282
 in infer at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:155
 in infer_nersc at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:332
 in main at /global/u2/j/jregier/Celeste/bin/celeste.jl:36
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 in process_options at ./client.jl:280
 in _start at ./client.jl:378
while loading /global/u2/j/jregier/Celeste/bin/celeste.jl, in expression starting on line 42

Could you please add a verbose option to infer and found out what it's
processing?
-- Ryan.  Sent from a phone.  Nevertheless, all typos are deliberate.
On Mar 21, 2016 11:12 AM, "Jeffrey Regier" notifications@github.com wrote:

Assigned #168 https://github.com/jeff-regier/Celeste.jl/issues/168 to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#event-597553201

I don't see a verbose flag in infer (or infer_nersc). You're talking about
infer in api.jl?
Are you having trouble recreating the problem? I get it consistently.
On Mon, Mar 21, 2016 at 11:55 AM Ryan notifications@github.com wrote:

Could you please add a verbose option to infer and found out what it's
processing?
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 21, 2016 11:12 AM, "Jeffrey Regier" notifications@github.com
wrote:

Assigned #168 https://github.com/jeff-regier/Celeste.jl/issues/168 to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#event-597553201

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199424032

Ah, I see a verbose flag in maximize_f. I'll set that.
On Mon, Mar 21, 2016 at 12:04 PM Jeffrey Regier regier@gmail.com wrote:

I don't see a verbose flag in infer (or infer_nersc). You're talking about
infer in api.jl?
Are you having trouble recreating the problem? I get it consistently.
On Mon, Mar 21, 2016 at 11:55 AM Ryan notifications@github.com wrote:

Could you please add a verbose option to infer and found out what it's
processing?
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 21, 2016 11:12 AM, "Jeffrey Regier" notifications@github.com
wrote:

Assigned #168 https://github.com/jeff-regier/Celeste.jl/issues/168 to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#event-597553201

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199424032

I set verbose to true everywhere, but I don't see any new output.
On Mon, Mar 21, 2016 at 12:05 PM Jeffrey Regier regier@gmail.com wrote:

Ah, I see a verbose flag in maximize_f. I'll set that.
On Mon, Mar 21, 2016 at 12:04 PM Jeffrey Regier regier@gmail.com wrote:

I don't see a verbose flag in infer (or infer_nersc). You're talking
about infer in api.jl?
Are you having trouble recreating the problem? I get it consistently.
On Mon, Mar 21, 2016 at 11:55 AM Ryan notifications@github.com wrote:

Could you please add a verbose option to infer and found out what it's
processing?
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 21, 2016 11:12 AM, "Jeffrey Regier" notifications@github.com
wrote:

Assigned #168 https://github.com/jeff-regier/Celeste.jl/issues/168
to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#event-597553201

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199424032

No, it's not in there.  I mentioned in another thread that if one of you
has some time to add a verbose option to infer that showed what object id,
and run camcol field you're on, it would be very helpful to me.  Could you
please add it?
On Mon, Mar 21, 2016 at 12:24 PM, Jeffrey Regier notifications@github.com
wrote:

I set verbose to true everywhere, but I don't see any new output.
On Mon, Mar 21, 2016 at 12:05 PM Jeffrey Regier regier@gmail.com wrote:

Ah, I see a verbose flag in maximize_f. I'll set that.
On Mon, Mar 21, 2016 at 12:04 PM Jeffrey Regier regier@gmail.com
wrote:

I don't see a verbose flag in infer (or infer_nersc). You're talking
about infer in api.jl?
Are you having trouble recreating the problem? I get it consistently.
On Mon, Mar 21, 2016 at 11:55 AM Ryan notifications@github.com wrote:

Could you please add a verbose option to infer and found out what it's
processing?
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 21, 2016 11:12 AM, "Jeffrey Regier" notifications@github.com
wrote:

Assigned #168 https://github.com/jeff-regier/Celeste.jl/issues/168
to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#event-597553201>

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199424032

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199439283

I'm tied up with testing and implementing the scoring functions. I don't
have any special knowledge about the infer function. Can I leave this issue
to you?
On Mon, Mar 21, 2016 at 12:44 PM Ryan notifications@github.com wrote:

No, it's not in there. I mentioned in another thread that if one of you
has some time to add a verbose option to infer that showed what object id,
and run camcol field you're on, it would be very helpful to me. Could you
please add it?
On Mon, Mar 21, 2016 at 12:24 PM, Jeffrey Regier <notifications@github.com

wrote:

I set verbose to true everywhere, but I don't see any new output.
On Mon, Mar 21, 2016 at 12:05 PM Jeffrey Regier regier@gmail.com
wrote:

Ah, I see a verbose flag in maximize_f. I'll set that.
On Mon, Mar 21, 2016 at 12:04 PM Jeffrey Regier regier@gmail.com
wrote:

I don't see a verbose flag in infer (or infer_nersc). You're talking
about infer in api.jl?
Are you having trouble recreating the problem? I get it consistently.
On Mon, Mar 21, 2016 at 11:55 AM Ryan notifications@github.com
wrote:

Could you please add a verbose option to infer and found out what
it's
processing?
-- Ryan. Sent from a phone. Nevertheless, all typos are deliberate.
On Mar 21, 2016 11:12 AM, "Jeffrey Regier" <notifications@github.com

wrote:

Assigned #168 <
https://github.com/jeff-regier/Celeste.jl/issues/168>
to
@rgiordan https://github.com/rgiordan.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#event-597553201>

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
<

https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199424032

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199439283

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-199444735

This is being caused by trying to fit a PSF for an object that doesn't occur in the image.  Probably extrapolating the PSF model beyond the edges of the image is causing the PSF image to look kind of crazy.
Specifically, the failing object is
1237662226208063623 location (164.39681,	39.13884)
...which is being fit for a PSF in
run = 3840, camcol = 1, field = 70
...whose corners are (164.402, 39.3165) and (164.539, 39.5742)
@kbarbary @rcthomas , you should probably change the logic of infer_nersc to only fit PSFs for images that will actually be used.

Before we close this issue, please add a unit test for this as well.

For a given object, if the center falls (just) off the edge of an image, but the object's range of influence extends onto the image, will the image still be used for this object?

Yes, that's what we'd want to happen
On Tue, Mar 22, 2016 at 2:07 PM Kyle Barbary notifications@github.com
wrote:

For a given object, if the center falls (just) off the edge of an image,
but the object's range of influence extends onto the image, will the image
still be used for this object?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/168#issuecomment-200027556

@jeff-regier I'm asking about what the optimizer currently does, so that we can ensure that the PSF is fit for the things it uses. (I'm assuming the answer is "yes".)

@kbarbary , the optimizer's behavior is determined by the contents of tile_sources, which is populated by Modelnit, so it's under your control.
Recall that tile_sources is an array with the same dimensions as your TiledBlob -- there's an outer index for fields (previously one to five, now one to five * the number of frames), and an inner index for tiles.  The patches array has the same dimensions.  If a source is in the tile_sources for a particular tile, you need to have the appropriate PSF for it in the corresponding patch.  Beyond that, the logic is up to you during initialization.

I think this issue is still around, for objid=1237662226208064362. The error happens during iteration 14.
~/julia-2ac304dfba/bin/julia ./celeste.jl infer-nersc 164.39 164.5 39.11 39.5 . --logging=DEBUG
...
22-Mar 18:36:57:DEBUG:root:Fitting PSF for b=7, source=867, objid=1237662226208064362
22-Mar 18:36:57:DEBUG:root:
-----------------Iter 1
22-Mar 18:36:57:DEBUG:root:Interior
22-Mar 18:36:57:DEBUG:root:Root finding got m=-0.04720363670031677, interior=true with del
ta^2=100.0 and ||s||^2=1.0144391733822469
22-Mar 18:36:57:DEBUG:root:Got rho = 1.2569894776983288 from 0.10244198685762458 - 0.16177
646149901742 (diff = -0.05933447464139284), and m = -0.04720363670031677
22-Mar 18:36:57:DEBUG:root:Interior = true, delta = 10.0.
22-Mar 18:36:57:DEBUG:root:Keeping trust region the same.
22-Mar 18:36:57:DEBUG:root:Accepting improvement from f_prev=0.16177646149901742 f=0.10244
198685762458.
22-Mar 18:36:57:DEBUG:root:
...
-----------------Iter 14
22-Mar 18:36:57:DEBUG:root:Boundary
22-Mar 18:36:57:DEBUG:root:Easy case
22-Mar 18:36:57:DEBUG:root:---
22-Mar 18:36:57:DEBUG:root:lambda=0.07061455988936124 min_lambda=0.07061455988936124
22-Mar 18:36:57:DEBUG:root:lambda_1=-0.07061455988936123 [0.0,0.07052958281883713,0.070605
8454387885,0.07060587883818542,0.07060753901694133,0.07061425286516101,0.07061447664981978
,0.07061456983429827,0.07061500993886825,0.07061992913760093,0.07062247553872358,0.0706244
779158304]
Getting VP from sources.

ERROR: LoadError: Base.LinAlg.PosDefException(12)
 in chol! at linalg/cholesky.jl:28
 in solve_tr_subproblem! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_r
egion.jl:201
 in __newton_tr#25__ at /global/homes/j/jregier/.julia/v0.4/Celeste/src/newton_trust_regio
n.jl:319
 in fit_psf at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:121
 in fit_raw_psf_for_celeste at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:702
 in get_source_psf at /global/homes/j/jregier/.julia/v0.4/Celeste/src/PSF.jl:221
 in fit_object_psfs! at /global/homes/j/jregier/.julia/v0.4/Celeste/src/ModelInit.jl:285
 in infer at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:198
 in infer_nersc at /global/homes/j/jregier/.julia/v0.4/Celeste/src/api.jl:413
 in main at /global/u2/j/jregier/Celeste/bin/celeste.jl:37
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:320
 in process_options at ./client.jl:280
 in _start at ./client.jl:378
while loading /global/u2/j/jregier/Celeste/bin/celeste.jl, in expression starting on line
54

authors: jeff-regier kbarbary rcthomas rgiordan


text:
[FEATURE REQUEST] Execute package build via command line

Is your feature request related to a problem? Please describe.
I'd like to be able to trigger building a specific package (legacy and/or new package format) from the command-line so that I can update releases as part of a CI operation. This would enable automated faster releases to be created than manually.
Describe the solution you'd like
I'd like to introduce a new static build API that would be called from the -executeMethod Unity command-line argument  that would enable a developer to create a legacy or new package.

This has been completed and merged to develop. Additional documentation has been added to the usage guide on how to use it.


text:
Clean up backend functions

I was inspired by today's lecture to make our code more readable 🤓. We can probably just separate each group of functions into their own file to free up app.py.

I think that we should free up database.py too, since a lot of the functions in there are related to a function in app.py, so they are just exist together in their own file.

repo: jeffreyHoelzel/LouiesRatings


text:
Request upload permissions for TestCafe plugin

Description
Hosting Request 985
jenkinsci/testcafe-plugin
@wentwrong
Submitter checklist for changing permissions
Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] Make sure to @mention the users being added so their GitHub account names are known if they require GitHub merge access (see below).
[x] All newly added users have logged in to Artifactory at least once

Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Yes, I've done it before creating this pull request.


text:
Add MadsNielsen and Praqma to post build task plugin

Im adding this request to adopt the plugin "Hudson Post Build Task" plugin.
I've added my user MadsNielsen and our automation user Praqma to commit acces.

@MadsNielsen To clarify, did you message the developers' list (ideally CC the previous maintainer) about adopting the plugin, or otherwise communicated with the former maintainer? If not, that should go first. If so, could you point me to any reference for that?

Dev list thread reference: https://groups.google.com/forum/#!topic/jenkinsci-dev/0l0443e10hc

authors: MadsNielsen daniel-beck


text:
Added agentgonzo to kubernetes-credentials-provider

Adding agentgonzo (Steve Arch) to kubernetes-credentials-provider admin

Github repo: https://github.com/jenkinsci/kubernetes-credentials-provider-plugin

Submitter checklist for changing permissions
Always

[x ] Add link to plugin/component Git repository in description above

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

@jtnord

https://issues.jenkins-ci.org/secure/ViewProfile.jspa?name=agentgonzo exists

@batmat Just means the user name exists in LDAP, can still be lacking the corresponding account in Artifactory. That's why this repo is so explicit about the need to log in there.

authors: agentgonzo batmat daniel-beck


text:
Requesting permissions for urbancode-velocity

Description
https://github.com/jenkinsci/urbancode-velocity-plugin
https://issues.jenkins-ci.org/projects/HOSTING/issues/HOSTING-592?filter=allissues

Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[x] Add link to resolved HOSTING issue in description above

For a new permissions file only

[x] Make sure the file is created in permissions/ directory
[x] artifactId (pom.xml) is used for name (permissions YAML file).
[x] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[x] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

Please follow the instructions of the checklist, checking off items that you have completed.

Updated.  thanks

authors: aberkIBM daniel-beck


text:
chore: bdd-spring-1575383435 to 0.0.1

chore: Promote bdd-spring-1575383435 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
chore: bdd-spring-1575387426 to 0.0.1

chore: Promote bdd-spring-1575387426 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
chore: bdd-spring-1581431727 to 0.0.1

chore: Promote bdd-spring-1581431727 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
Delete application bdd-spring-1577115499 from this environment

The command jx delete application was run by  and it generated this Pull Request

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


text:
How can i using this build name in execute windows batch command?

Hi Everybody,
I generated build name from this plugin, How can i using this name into the execute windows batch command?

You should be able to see one of the following messages
https://github.com/jenkinsci/build-name-setter-plugin/blob/master/src/main/java/org/jenkinsci/plugins/EnvironmentVarSetter.java#L54-L58 that gives you information about variable

authors: burakkp damianszczepanik

repo: jenkinsci/build-name-setter-plugin


text:
Implement type safe configuration-as-code integration

Adds type safe config rather than strings with separators, example:
jenkins:
  authorizationStrategy:
    globalMatrix:
      permissions:
      - permission: "Overall/Administer"
        user: "admin1"
      - permission: "Overall/Administer"
        user: "admin"
      - group: "my-group"
        permission: "Overall/Read"

No compatibility added for previous format.
Drops support for grantedPermissions

@daniel-beck any thoughts?

@timja Thanks for the ping, I missed the original as I was offline for a while then. Looks nice, thanks. I'll review it further and perhaps look into amending the job-dsl syntax in a similar manner.

@daniel-beck any interest in this?

@timja Definitely, just need to find the time :)

@daniel-beck this is getting close to it's birthday 😢, any chance of a review or would you approve an adoption pull request?

any chance of a review

Still on my list. Keeps getting pre-empted by other, more urgent work, unfortunately.

would you approve an adoption pull request?

Definitely not a single-purpose adoption.

Noting that there should be a corresponding change to the Job DSL support so it looks vaguely similar. Unsure so far how to accomplish.

Some progress here:
Job DSL can look like the following fairly easily:
folder('generated') {
  properties {
    authorizationMatrix {
      inheritanceStrategy {
          nonInheriting()
      }
      entries {
        group {
          name('authenticated')
          permissions([
            'Job/Build',
            'Job/Configure',
            'Job/Read'
          ])}
        user {
          name('admin')
          permissions(['Job/Delete'])
        }
      }
    }
  }
}

The corresponding Pipeline snippet looks like this, according to Snippet generator (formatted for readability):
properties([
  authorizationMatrix([
    user(name: 'admin', permissions: ['hudson.model.Item.Delete']),
    group(name: 'authenticated', permissions: [
      'hudson.model.Item.Read',
      'hudson.model.Item.Build',
      'hudson.model.Item.Configure'
    ])
  ])
])

----

I'm kinda worried about the symbols here though because of `configuration-as-code` incorrectly implementing the symbol scopes (hence `mavenGlobalConfig`). Is that still the case @timja ?

Closing in favor of #145 which seems mostly done.

authors: daniel-beck timja

repo: jenkinsci/matrix-auth-plugin


text:
JENKINS-22871: Wrong index when calculating 90Line.

New tests passing. Implemented suggestion in Jira.

[Current coverage][cc-pull] is 40.08%

Merging [#65][cc-pull] into [master][cc-base-branch] will increase coverage by 0.14%

@@             master        #65   diff @@
==========================================
  Files            25         25
  Lines          2278       2280     +2
  Methods           0          0
  Messages          0          0
  Branches        376        378     +2
==========================================
+ Hits            910        914     +4
+ Misses         1067       1066     -1
+ Partials        301        300     -1

Powered by Codecov. Last updated by [d8998a3...e986af9][cc-compare]
[cc-base-branch]: https://codecov.io/gh/jenkinsci/performance-plugin/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/jenkinsci/performance-plugin/compare/d8998a30d6ec2bc50d502d8880b8e1ecceb1ea05...e986af97406bc1466e062182b03dc41a6ea4ab2a?src=pr
[cc-pull]: https://codecov.io/gh/jenkinsci/performance-plugin/pull/65?src=pr

Thanks for contributing!

authors: codecov-io hitesh22 undera

repo: jenkinsci/performance-plugin


text:
Umlaute Problem

Describe the issue you are experiencing
Umlaute werden nicht richtig angezeigt.
Describe the behavior you expected
Umlaute anzeigen.
Steps to reproduce the issue

What is the version this bug report is based on?
3.67.10.20230114
Which base platform are you running?
rpi4 (RaspberryPi4)
Which HomeMatic/homematicIP radio module are you using?
RPI-RF-MOD
Anything in the logs that might be useful for us?
Kann ich keine Angaben zu machen.

Additional information
No response

Duplicate of #2160

repo: jens-maus/RaspberryMatic


text:
$where operator

Is there a way to use mongo $where operator?

Wheres
$users = User::where('votes', '>', 100)->take(10)->get();

Examples
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. Since this is not a bug, it should be closed.

In the following link you will find a section talking about mongo specific operators
mongo specific operators
in which you will find that there is an operator called where
Example in mongo:
db.users.find({"$where":"/3/.test(this.age)"});
this would get all users with a digit 3 in their age(int)

The where operator is used by default when doing ->where

authors: askmatey jenssegers kahmaly

repo: jenssegers/laravel-mongodb


text:
How can i create and use auto increment id in laravel 5.2 with mongodb

Hi, thank you for this awsome packages. Can you please guide me how to create and use auto increment id in laravel 5.2 with mongodb when I insert a new data into a collection?.
I have read this guide: https://docs.mongodb.com/manual/tutorial/create-an-auto-incrementing-field/ but I don't know how to implement it with jenssegers/laravel-mongodb in laravel 5.2.
Please help me!! thank you very much...

Take a look at this gist : https://gist.github.com/iRbouh/d244ff8ad05dbbce417a0b664d2d89a4

Hi, please take a look at this gist: https://gist.github.com/iRbouh/d244ff8ad05dbbce417a0b664d2d89a4

See #851
I have created a pull request.

authors: Gtskk MinhTri66 iRbouh


text:
Mix chart, labels.slice is not a function error

Versions
react-chartjs-2 version: 2.7.0
react: 16.2.0
Error Description
hi, i m trying to apply the mix example which has two y-axes, however it gives the below error.
labels.slice is not a function

Code
const data = {
    labels: [
        'January',
        'February',
        'March',
        'April',
        'May',
        'June',
        'July'
    ],
    datasets: [
        {
            label: 'Sales',
            type: 'line',
            data: [
                51,
                65,
                40,
                49,
                60,
                37,
                40
            ],
            fill: false,
            borderColor: '#EC932F',
            backgroundColor: '#EC932F',
            pointBorderColor: '#EC932F',
            pointBackgroundColor: '#EC932F',
            pointHoverBackgroundColor: '#EC932F',
            pointHoverBorderColor: '#EC932F',
            yAxisID: 'y-axis-2'
        }, {
            type: 'bar',
            label: 'Visitor',
            data: [
                200,
                185,
                590,
                621,
                250,
                400,
                95
            ],
            fill: false,
            backgroundColor: '#71B37C',
            borderColor: '#71B37C',
            hoverBackgroundColor: '#71B37C',
            hoverBorderColor: '#71B37C',
            yAxisID: 'y-axis-1'
        }
    ]
};

const options = {
    responsive: true,
    tooltips: {
        mode: 'label'
    },
    elements: {
        line: {
            fill: false
        }
    },
    scales: {
        xAxes: [
            {
                display: true,
                gridLines: {
                    display: false
                },
                labels: {
                    show: true
                }
            }
        ],
        yAxes: [
            {
                type: 'linear',
                display: true,
                position: 'left',
                id: 'y-axis-1',
                gridLines: {
                    display: false
                },
                labels: {
                    show: true
                }
            }, {
                type: 'linear',
                display: true,
                position: 'right',
                id: 'y-axis-2',
                gridLines: {
                    display: false
                },
                labels: {
                    show: true
                }
            }
        ]
    }
};
<Line data={data} options={options}/>

Is it a bug or do i implement something wrong?

+1

+1

After fiddling with this for a little while, I found a way to fix the example. It is very easy and I don't understand why it is not posted anywhere, but now it is.
Instead of defining your labels in data, you just have to define them in scales.xAxes like so:
`
import React from 'react';
import {Bar} from 'react-chartjs-2';
const data = {
// labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
label: 'Sales',
type:'line',
data: [51, 65, 40, 49, 60, 37, 40],
fill: false,
borderColor: '#EC932F',
backgroundColor: '#EC932F',
pointBorderColor: '#EC932F',
pointBackgroundColor: '#EC932F',
pointHoverBackgroundColor: '#EC932F',
pointHoverBorderColor: '#EC932F',
yAxisID: 'y-axis-2'
},{
type: 'bar',
label: 'Visitor',
data: [200, 185, 590, 621, 250, 400, 95],
fill: false,
backgroundColor: '#71B37C',
borderColor: '#71B37C',
hoverBackgroundColor: '#71B37C',
hoverBorderColor: '#71B37C',
yAxisID: 'y-axis-1'
}]
};
const options = {
responsive: true,
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
tooltips: {
mode: 'label'
},
elements: {
line: {
fill: false
}
},
scales: {
xAxes: [
  {
    display: true,
    gridLines: {
      display: false
    },

    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
  }
],
yAxes: [
  {
    type: 'linear',
    display: true,
    position: 'left',
    id: 'y-axis-1',
    gridLines: {
      display: false
    },
    labels: {
      show: true
    }
  },
  {
    type: 'linear',
    display: true,
    position: 'right',
    id: 'y-axis-2',
    gridLines: {
      display: false
    },
    labels: {
      show: true
    }
  }
]

}
};
const plugins = [{
afterDraw: (chartInstance, easing) => {
const ctx = chartInstance.chart.ctx;
ctx.fillText("This text drawn by a plugin", 100, 100);
}
}];
class Mix extends React.Component {
render() {
return (

Mixed data Example

);
}
}
export default Mix;
`

Thanks!!! 👍

Awesome Brother thanks lot 👍

👍

that is because ‘options.scales.xAxes.labels’ rewrite ‘data.labels’,so you also delete the labels in options and keep the labeled in data to makesure that this chart can changed when xAxes’s data change! I don’t know why it cover,maybe it is a bug...

Hai Guys I am trying to apply above i got same error TypeError: labels.slice is not a function
import React from 'react';
import {Bar} from 'react-chartjs-2';
class MixExample extends React.Component {
render() {
const data = {
datasets: [{
label: 'Sales',
type:'line',
data: [51, 65, 40, 49, 60, 37, 40],
fill: false,
borderColor: '#EC932F',
backgroundColor: '#EC932F',
pointBorderColor: '#EC932F',
pointBackgroundColor: '#EC932F',
pointHoverBackgroundColor: '#EC932F',
pointHoverBorderColor: '#EC932F',
yAxisID: 'y-axis-2'
},{
type: 'bar',
label: 'Visitor',
data: [200, 185, 590, 621, 250, 400, 95],
fill: false,
backgroundColor: '#71B37C',
borderColor: '#71B37C',
hoverBackgroundColor: '#71B37C',
hoverBorderColor: '#71B37C',
yAxisID: 'y-axis-1'
}]
};
const options = {
responsive: true,
tooltips: {
mode: 'label'
},
elements: {
line: {
fill: false
}
},
scales: {
xAxes: [
{
display: true,
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
gridLines: {
display: false
},
labels: {
show: true
}
}
],
yAxes: [
{
type: 'linear',
display: true,
position: 'left',
id: 'y-axis-1',
gridLines: {
display: false
},
labels: {
show: true
}
},
{
type: 'linear',
display: true,
position: 'right',
id: 'y-axis-2',
gridLines: {
display: false
},
labels: {
show: true
}
}
]
}
};
const plugins = [{
afterDraw: (chartInstance, easing) => {
const ctx = chartInstance.chart.ctx;
ctx.fillText("This text drawn by a plugin", 100, 100);
}
}];
return (

Mixed data Example

    <Bar
      data={data}
      options={options}
      plugins={plugins}
    />

);

}
}
export default MixExample;
This is my code

thank you very much!

Updating the example (https://github.com/jerairrest/react-chartjs-2/blob/master/example/src/components/mix.js) with @weisssean answer would help others avoid this issue.

still getting the same error with the updated code..
Unhandled Rejection (TypeError): labels.slice is not a function

I had this error when trying the example code but in my code I keep having TypeError: Cannot read property 'options' of undefined     at ChartElement.initialize (Chart.js:4798)
Really annoying that this whole Mixed Graph is not well documented. Anyone having the same issue ?

the Sample code set the labels here,
const data = {
labels: [
'January',        'February',        'March',        'April',        'May',        'June',        'July'    ],
Doesn't work!!
I set the labels outside of the data Object:
const labels = [ 'January', 'February', 'March', 'April', 'May', 'June', 'July' ];
and replace the [labels:labels: {show: true} ] in the [options]->[scales]->[xAxes].. with [labels: labels]
It Works

Not sure why this issue is closed, I get this exact error when looking at the example code from: https://github.com/jerairrest/react-chartjs-2/blob/master/example/src/components/mix.js#L5
This is the first hit when searching for labels.slice is not a function error in Google.
@weisssean provides a workaround that works.

I've never loved a bad formatted answer like this before 😂

After fiddling with this for a little while, I found a way to fix the example. It is very easy and I don't understand why it is not posted anywhere, but now it is.
Instead of defining your labels in data, you just have to define them in scales.xAxes like so:
`
import React from 'react';
import {Bar} from 'react-chartjs-2';
const data = {
// labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
label: 'Sales',
type:'line',
data: [51, 65, 40, 49, 60, 37, 40],
fill: false,
borderColor: '#EC932F',
backgroundColor: '#EC932F',
pointBorderColor: '#EC932F',
pointBackgroundColor: '#EC932F',
pointHoverBackgroundColor: '#EC932F',
pointHoverBorderColor: '#EC932F',
yAxisID: 'y-axis-2'
},{
type: 'bar',
label: 'Visitor',
data: [200, 185, 590, 621, 250, 400, 95],
fill: false,
backgroundColor: '#71B37C',
borderColor: '#71B37C',
hoverBackgroundColor: '#71B37C',
hoverBorderColor: '#71B37C',
yAxisID: 'y-axis-1'
}]
};
const options = {
responsive: true,
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
tooltips: {
mode: 'label'
},
elements: {
line: {
fill: false
}
},
scales: {
xAxes: [
  {
    display: true,
    gridLines: {
      display: false
    },

    labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
  }
],
yAxes: [
  {
    type: 'linear',
    display: true,
    position: 'left',
    id: 'y-axis-1',
    gridLines: {
      display: false
    },
    labels: {
      show: true
    }
  },
  {
    type: 'linear',
    display: true,
    position: 'right',
    id: 'y-axis-2',
    gridLines: {
      display: false
    },
    labels: {
      show: true
    }
  }
]

}
};
const plugins = [{
afterDraw: (chartInstance, easing) => {
const ctx = chartInstance.chart.ctx;
ctx.fillText("This text drawn by a plugin", 100, 100);
}
}];
class Mix extends React.Component {
render() {
return (
Mixed data Example
);
}
}
export default Mix;
`

Thankyou brother

just remove the labels key in scales xAxes and it works.. don't put labels: { show: true } or something..

authors: RichStone berthelol carior ddcouples fabienpinel gowtham78 iiiok moparlakci muratcatal rajnada reorx robinlavallee sabinbogati1 sdp781 uthayacloud weisssean


text:
Vulnz times out without any log

We recently switched to Vulnz to make the dependency check more efficient by caching it and using the cached files within the maven plugin. This worked great until Februar 5th. Tried to execute it in AWS as well as from local machine and it always runs without any output. After an hour or so I cancel it. In the past it worked within 15min. As nothing changed in the system and lib I'm wondering if it is somehow API related?
I'm building it via gradlew and execute the jar file

unable to reproduce with the information given. We have the cache updating here https://github.com/dependency-check/DependencyCheck_Builder/actions/runs/7900362303/job/21561722360 and these jobs have not failed.

not sure if you figured things out? Could be an issue with a proxy?

authors: jeremylong manufunk

repo: jeremylong/Open-Vulnerability-Project


text:
Added trending submissions on the login page.

Updated login page:

@digi0ps Thanks 🎉

repo: jeremyphilemon/uniqna


text:
Feature: navigation within input line

There would be nice to have navigation functionality such as in mac terminal app:

[alt] + [left]/[right] - For moving to beginning of previous word/end of next word. useful when editing come copypasted commands
[alt] + mouse click - For placing cursor where mouse was clicked.

I'll see about adding this.

Added as of v0.14.5. Review the changes and let me know if your issue has been properly fixed. If your issue has been resolved, please close this issue thread.

awesome! thanks :+1:

authors: brbrr jeremyramin

repo: jeremyramin/terminal-plus


text:
微信浏览器环境下，提示框打开瞬间消失

在微信小程序和公众号环境下使用，无论使用全局设置autoClose还是调用时设置，都会出现  “打开提示框体” 一瞬间就消失的问题，还有修复一下。

我尝试了下，并没有复现，请描述下具体操作步骤~

在chrome、firefox、edge下均正常，微信浏览器PC版的也是正常的，仅仅是微信浏览器手机移动端会出现这个问题。
useNuxtApp().$toast.success('订单已确认！'); useNuxtApp().$toast.success('订单已完成！',{autoClose:3000});
以上这两种情况 都会出现瞬间消失的问题，但仅限微信手机移动端出现。

你可以尝试用手续微信浏览器访问 http://www.anongye.com/test

你可以尝试用手机微信浏览器访问 http://www.anongye.com/test

不好意思，还是无法复现
https://github.com/jerrywu001/vue3-toastify/assets/12525415/461b4af3-746d-4fd9-88ec-d448c7ac7990
https://github.com/jerrywu001/vue3-toastify/assets/12525415/69688ff9-e953-4954-91fd-d6f899eb8824

我观察了一下你的页面，你的页面会间隔几秒重新reload，这样toastify肯定会消失的。

我观察了一下你的页面，你的页面会间隔几秒重新reload，这样toastify肯定会消失的。

重新刷新的原因：

间隔刷新是因为这个地址处在开发模式下，是在修改内容时会websocket接收数据是刷新的。我试了两个手机均存在该问题，但都是ios系统，我再找一个android试一下。

真是一个神奇的问题，我找了几个朋友帮着测试，大部分是正常的，极少一部分不正常，会出现提示框瞬间消失，就好像是把autoClose:100 这样的效果，出问题的浏览端 安卓 华为 苹果 均有，但多数是正常的。。。。


text:
Problem with expiration date mask (MM / YY) on some cell phones in Chrome

Hello, I noticed that you are having problems with cell phones in the mask part of the expiration date of the Card, depending on the cell phone in Chrome you lose the MM / AA mask, I tested it on a Samsumg S7, but other devices also have a problem and some take it normally.
There was no error in the Console, just did not basically get the mask.
Interestingly the part of the Card number works normally.
Usage example:
                 this.card = new Card({
                    form: '#code-mp-form',
                    container: '#card-wrapper',
                    formSelectors: {
                        numberInput: 'input#number',
                        expiryInput: 'input#expiry',
                        cvcInput: 'input#cvc',
                        nameInput: 'input#name'
                    },
                    messages: {
                        validDate: 'venc',
                        monthYear: 'mes/ano'
                    },
                    placeholders: {
                        number: '•••• •••• •••• ••••',
                        name: '{{ titular }}',
                        expiry: '••/••',
                        cvc: '•••'
                    },
                });

got same problem, i solved with formatting = false and masked with RobinHerbots/jquery.inputmask
here is example with jquery.inputmask in cvc input:
placeholder="•••" data-inputmask="'mask': '999'"
and input catch:
`jQuery(function ($) {
//shopform validate start
Inputmask({
showMaskOnHover: false,
showMaskOnFocus: false,
}).mask(document.querySelectorAll("input"));
//shopform validate end
});`
but for now credit card type detect not working because this plugin using formatting for detect credit card type.

Also encountered this, found a related issue #199 don't think there was ever a PR, but I fixed with
https://github.com/jessepollak/card/issues/199#issuecomment-183959467

working on android devices with input type="tel" instead of input type="text"

Workaround provided for Android.

authors: FelipoAntonoff melloware rafahernandez utasar

repo: jessepollak/card


text:
query on multiverse install using npm

An inspiring project splendidly explained, but I need elementary guidance to install on windows.
The README says run npm  but what and where is that?

Hi Nickums,
In order to get NPM (and nodejs, you'll need nodejs) you can follow the intructions over here :  https://phoenixnap.com/kb/install-node-js-npm-on-windows
After that, you just need to "npm install" to install the dependencies and then "npm start" to start the game locally in you machine.
Cheers

many thanks for your excellent  and quick reply
mes compliments
Nick
On Wed, 22 Sept 2021 at 16:18, Je suis un dev @.***>
wrote:

Hi Nickums,
In order to get NPM (and nodejs, you'll need nodejs) you can follow the
intructions over here :
https://phoenixnap.com/kb/install-node-js-npm-on-windows
After that, you just need to "npm install" to install the dependencies and
then "npm start" to start the game locally in you machine.
Cheers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jesuisundev/acrossthemultiverse/issues/3#issuecomment-925031239,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADYVMFJXTCNOWZ4JZLOXTADUDHXWHANCNFSM5EQZGA3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Nick "Mac" McElwaine

authors: jesuisundev nickums

repo: jesuisundev/acrossthemultiverse


text:
Check the acme issuer has the challenge type configured.

What this PR does / why we need it:
The ACME issuer will check that a given challenge type is configured on the issuer being used.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
fixes #607
Special notes for your reviewer:
Release note:

action required: ACME http01 validation is no longer attempted using an
Issuer/ClusterIssuer with no ACME http01 config.  Note that the minimal
`http01: {}` config IS sufficient.

If you rely on ACME http01 validation, you should check your issuers to make
sure http01 validation is explicitly enabled.

I looked at adding a test for this, but I'm not sure how to go about using the acme/issuer fixture in https://github.com/jetstack/cert-manager/blob/master/pkg/issuer/acme/util_test.go#L52 (I have little experience with golang).

Thanks for this patch - this may break some configurations, so could you update your PR to include a release note starting with 'action required:'. It'll then be flagged when it comes to writing the release note for 0.4, to make sure people check their Issuer resources for missing fields!
Once you do, this should automatically merge 😄
/ok-to-test
/lgtm
/approve

Thanks for the release note, and sorry for all the test failures. #655 has now merged, which should resolve them!
/retest

authors: groner munnerz

repo: jetstack/cert-manager


text:
Current version may not be compatible with K8s 1.8.4-gke.0

I just tried to spin up a cluster using configurations that worked before with a 1.8.2-gke.0 cluster. The new cluster is using 1.8.4-gke.0, and when I apply the kube-lego configs, I get this error repeatedly in my log, and the service never actually spins up.
reflector.go:201] github.com/jetstack/kube-lego/pkg/kubelego/watch.go:112: Failed to list *v1beta1.Ingress: ingresses.extensions is forbidden: User "system:serviceaccount:kube-lego:default" cannot list ingresses.extensions at the cluster scope: Unknown user "system:serviceaccount:kube-lego:default"

You'll need to set up RBAC. For example, the yaml for my kube-lego setup generated with https://github.com/kubernetes/charts/tree/master/stable/kube-lego looks as follows:
apiVersion: v1
kind: ServiceAccount
metadata:
  labels:
    app: kube-lego
    chart: kube-lego-0.3.0
    heritage: Tiller
    release: kube-lego2
  name: kube-lego2-kube-lego
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
  labels:
    app: kube-lego
    chart: kube-lego-0.3.0
    heritage: Tiller
    release: kube-lego2
  name: kube-lego2-kube-lego
rules:
- apiGroups:
  - ""
  resources:
  - services
  verbs:
  - create
  - get
  - delete
  - update
- apiGroups:
  - extensions
  resources:
  - ingresses
  verbs:
  - get
  - update
  - create
  - list
  - patch
  - delete
  - watch
- apiGroups:
  - ""
  resources:
  - endpoints
  - secrets
  verbs:
  - get
  - create
  - update
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
  labels:
    app: kube-lego
    chart: kube-lego-0.3.0
    heritage: Tiller
    release: kube-lego2
  name: kube-lego2-kube-lego
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: kube-lego2-kube-lego
subjects:
  - kind: ServiceAccount
    name: kube-lego2-kube-lego
    namespace: default
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  labels:
    app: kube-lego
    chart: kube-lego-0.3.0
    heritage: Tiller
    release: kube-lego2
  name: kube-lego2-kube-lego
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: kube-lego
        release: kube-lego2
    spec:
      serviceAccountName: kube-lego2-kube-lego
      containers:
        - name: kube-lego
          image: "jetstack/kube-lego:0.1.5"
          imagePullPolicy: "IfNotPresent"
          env:
            - name: LEGO_NAMESPACE
              valueFrom:
                fieldRef:
                  fieldPath: metadata.namespace
            - name: LEGO_POD_IP
              valueFrom:
                fieldRef:
                  fieldPath: status.podIP
          # admin@rehive.com
            - name: "LEGO_EMAIL"
              value: "admin@rehive.com"
            - name: "LEGO_PORT"
              value: "8080"
            - name: "LEGO_URL"
              value: "https://acme-v01.api.letsencrypt.org/directory"
          ports:
            - containerPort: 8080
          readinessProbe:
            httpGet:
              path: /healthz
              port: 8080
            initialDelaySeconds: 5
            timeoutSeconds: 1
          resources:
            {}

You'll need a similar service account, role and rolebinding. Else, a quick and dirty shortcut could be to just grant admin permissions to the kube-lego:default user:
kubectl create clusterrolebinding add-on-cluster-admin --clusterrole=cluster-admin --serviceaccount=kube-lego:default (Probably not recommended for a production setup.)

I get this same error on GCP with the jetstack/kube-lego:master-4209 and  kubernetes version 1.8.8-gke.0.

authors: chrissound michailbrynard mshappe

repo: jetstack/kube-lego


text:
Upload checklist from users device.

We need to find a way for the user to upload/open a a checklist that is on his personal device, like it was from versions 1.x.

Seems like sessionStorage and file reader webAPI is the way to go, still in testing phase.


text:
Skip conversion step for operations like isEmpty

Dict.toList >> List.isEmpty
--> Dict.isEmpty

Set.toList >> List.isEmpty
--> Set.isEmpty

Dict.fromList >> Dict.isEmpty
--> List.isEmpty

Set.fromList >> Set.isEmpty
--> List.isEmpty

Dict.toList >> List.length
--> Dict.size

Set.toList >> List.length
--> Set.size

-- Note: This one doesn't work
Dict.fromList >> Dict.size
--> List.length

I'm sure we can find more operations like this for Dict/Set/List. And maybe there are similar things we can do for Maybe/Result.

@jfmengels  Some of these got implemented in : https://github.com/jfmengels/elm-review-simplify/pull/293
The two missing (not including the one that doesn't work 😅 )
Dict.fromList >> Dict.isEmpty
--> List.isEmpty

Set.fromList >> Set.isEmpty
--> List.isEmpty

Implemented in #293 and #303 .

authors: jfmengels morteako

repo: jfmengels/elm-review-simplify


text:
rarray not working

First of all, thanks for the amazing library.
I'm trying to use rarray but it doesn't seem to work:
let mut stmt = conn.prepare_cached("SELECT * FROM mytable WHERE seq IN rarray(?)")?;

But I get this error:
SqliteFailure(Error { code: Unknown, extended_code: 1 }, Some("no such table: rarray"))

I have this in my Cargo.toml which I believe is the only requirement to make it work
[dependencies.rusqlite]
version = "0.21"
features = ["bundled", "vtab", "array" ]

Is there anything else I need to enable to get support for rarray working?

Without a complete example, my guess is that you are missing a load_module.

Thanks @gwenn, that was one of the issues, the other one being that the array must be wrapped in an Rc to get the ToSql impl.
It works now!

authors: gwenn juancampa

repo: jgallagher/rusqlite


text:
Unable to search for shapes on Android with Chromium

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
When running draw.io on an Android Tablet, I am unable to search for a specific shape using the upper left-hand search box, because it expects me to hit ENTER when done, and the mobile on-screen keyboard has no ENTER key.
To Reproduce
Steps to reproduce the behavior:
On an android device, using a Chromium based browser

Open https://app.diagrams.net/ on the MS Edge browser
Press on the search box, and type in a search term
On the on-screen keyboard, try to find the ENTER key to initiate the search.

Expected behavior
I would expect one of 3 things to happen:

The on-screen keyboard would have an ENTER key that will allow me to initiate the search.
Some button would appear in the UI that I can press to initiate the search.
Search would automatically start based on my typed characters.

Screenshots
Google Chrome, with the Samsung Keyboard. No ENTER, only NEXT which moves focus to the next form field.

Google Chrome, with Gboard. Same issue.

MS Edge, with Samsung Keyboard. Same issue

MS Edge, with GBoard. Same issue

Firefox, with GBoard. WORKS

draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 20-8-13

Desktop (please complete the following information):

OS: Android 13 / Samsung OneUI 5.0
Browser: This seems to impact chromium-based browsers. The issue was replicated on both MS Edge (109) and Chrome (109)
I encountered this issue on a Samsung Galaxy Tab S8 Ultra, I do not have other tablets to test on.

Smartphone (please complete the following information):
This does not appear to be an issue on mobile devices, on my phone my keyboard has a GO button to initiate the search.

Improvement in 21.8.0

authors: davidjgraph dj-louw

repo: jgraph/drawio


text:
How to handle insecure registries

Hi ,
while trying to analyze image in private registry using clairctl  I am getting this error. http: server gave HTTP response to HTTPS client.
I tried adding insecure registry in config.yml too but it does not help.
Can you please help me with this.

have same issue, please help

authors: Premfer mamounetech

repo: jgsqware/clairctl


text:
Create views

We can call a pattern of LEDs as a view. These are the views we have currently:
Complete in SequenceOfOperation.show_complete_view()
When the time is up all keys are set to orange.
Show available options in Menu.light_all_option_keys()
All options are set to their colour.
Keys that are not an option have their LEDs turned off.
Show minutes selected option in MinutesMenu.display_selection()
The option selected has it's key illuminated with the colour of the option.
Show multiplier selected option in MultiplierMenu.display_selection()
Keys up to and including the option selected are illuminated in the same colour.
Timer running indicator in TimerMonitor.show_indicator_view()
A single key - number 0 - is lit orange.
Show minutes selected option in TimerMonitor.show_minutes_view()
As above, but the code is different.
Show multiplier selected option in TimerMonitor.show_multiplier_view()
As above, but the code is different.
Progress view in TimerMonitor.show_progress_view()
The fraction of remaining time is shown in green LEDs, the fraction that has passed in blue LEDs.
This can be refactored as view classes. The two different ways of showing each menu selection can be merged into a single view.

Views have been refactored now, I think it's safe to close this though there's still some cleaning to come.

repo: jhanarato/visual-timer


text:
Add Frontend Maven Plugin

fix https://github.com/jhipster/jhipster-lite/issues/591

cc @qmonmert : as it will be usefull in your branch

repo: jhipster/jhipster-lite


text:
Add licence headers

Can you add licence headers to all your files?
Like we have in jhipster/jhipster, for example at:
https://github.com/jhipster/jhipster/blob/master/src/main/java/io/github/jhipster/web/filter/CachingHttpHeadersFilter.java
Now those files are not generated anymore, we should add the licence everywhere.

Sure will do
Thanks & Regards,
Deepu
On Thu, Dec 29, 2016 at 9:25 AM, Julien Dubois notifications@github.com
wrote:

Can you add licence headers to all your files?
Like we have in jhipster/jhipster, for example at:
https://github.com/jhipster/jhipster/blob/master/src/main/
java/io/github/jhipster/web/filter/CachingHttpHeadersFilter.java
Now those files are not generated anymore, we should add the licence
everywhere.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/ng-jhipster/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDlF-szJA_80lX4hdvvP4RQfG5bOyV0ks5rM25-gaJpZM4LXbN6
.

we can use the same right ?

yes we can use the same
Thanks & Regards,
Deepu
On Thu, Dec 29, 2016 at 10:26 AM, Sendil Kumar N notifications@github.com
wrote:

we can use the same right ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jhipster/ng-jhipster/issues/2#issuecomment-269603147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABDlF3XgFfrJP8BPwnfVtGJpzqNOIIEFks5rM3y5gaJpZM4LXbN6
.

Indeed, they are very generic. It's just to protect our licence.

Okayes 👍 currently I have started the test cases, I will progressively add this .

this is done

authors: deepu105 jdubois sendilkumarn

repo: jhipster/ng-jhipster