Composer.json should require doctrine/dbal ^2.5

I've just found an error when trying to use this library with Doctrine DBAL 2.4.4:
PHP Fatal error:  Call to undefined method Doctrine\DBAL\Platforms\MySqlPlatform::getBinaryTypeDeclarationSQL() in /vendor/ramsey/uuid-doctrine/src/UuidBinaryType.php on line 43

Seems like that method is available from version 2.5 of DBAL.

Actually, I'm re-opening this issue, since I realized that my recent commits to fix this have undone the changes made by @EdgarPE in PR #4.
@EdgarPE, any thoughts on this? doctrine/dbal 2.5 is when the method Doctrine\DBAL\Platforms\AbstractPlatform::getBinaryTypeDeclarationSQL() was added, and we are using this method in Ramsey\Uuid\Doctrine\UuidBinaryType. If someone is locked to doctrine/dbal 2.3.x or 2.4.x, and they attempt to use uuid_binary provided by this library, then they'll see this fatal error.
I'll wait to tag a release until after I hear back. I want to make sure that this isn't going to hurt others who use ramsey/uuid-doctrine with doctrine/dbal 2.3. If it could cause problems, I might tag it as 1.1.0 instead of 1.0.2.
Did doctrine/dbal 2.3 provide a means to get the binary field type for the platform's SQL declaration? If so, maybe we just go back to using that, instead of getBinaryTypeDeclarationSQL().

@oniric85 and @EdgarPE, please take a look at commit abbcbe56b023319dea7a72177333089cf47f5a69. I think it solves this issue and allows the use of doctrine/dbal 2.3 and 2.5. Please let me know if you think there are any issues that could arise from this change.
Thanks!

Keeping issue open until others feel the changes work well for both versions of doctrine/dbal.

@ramsey Our software is updated to use symfony 3.0, so we use doctrine/dbal 2.5 now. At the moment there is no real world app I could test the patch with. I think it's a maintainer decision weather the library supports the  older (dbal) library or the newer one with it's new api.
This adaptive solution in the patch I think it might cause problems, but I'm not sure. Maybe, when someone updates the dbal lib with existing database? After lib update defines new tables with uuid, then uuid columns would exist in the db with different db types. Does not sound really good to me.

I think @EdgarPE is right, the depicted scenario seems pretty scary. Maybe @ramsey you could release a new major version specifying the BC break so anyone which happens to be in this pre-2.5 situation has a chance to make proper migrations if needed? Not sure if this is too much overkill though.

Thanks for weighing in on this, @EdgarPE and @oniric85. I've reverted commit 23c86eb69d9cab9832e21510a89f00d959b78dd1, and we'll support doctrine/dbal ^2.5 starting in version 1.1.0 of this library.


Update template programs with slf4j dependencies

Now that #125 has been merged, we need to update the existing template programs with slf4j-api and slf4j-simple dependencies.

Template programs have been updated, and 1.6.0-SNAPSHOT-3 versions were released.


Index Size Calculation

The current code seems to ignore all nodes on last levels (node that has no children).
Please consider my fix_size branch. I also add a parameter for total size i.e. include key, value.

Thanks for your contribution!


Add authentication for service instance endpoint

Add authentication for service instance endpoint
Motivation
The service instance api should be used only by authenticated users.
Approach
Extend the existing authentication mechanism by adding the service instance url.
Pull Request status
Use checklists as a means to represent the status of your Pull Request.
For example:

[x] Implementation
[x] Tests

Coverage increased (+0.01%) to 88.274% when pulling 3ff329687aaae3d833d65925ad1e662d6c947187 on auth-serv-inst into bb8389a679963fd16c09202edbe68d254efae5c5 on async_phase1.


backend: Add LXD support

What is the problem that this PR is trying to fix?
Adds a local LXD daemon as a supported backend for the Travis-CI worker.
What approach did you choose and why?
Took the docker backend, removed most of the code and replaced by the LXD equivalent.
How can you test this?
No idea :)
What feedback would you like, if any?
@joshk can hopefully take it from here for a bit :)

@stgraber AMAZING!


UI: re define the segment status

What does this PR do?

add a Partial state in segment states
change how we define segment status

Issue

GOOD and BAD status is very limiting to describe the segment status
More often than not, Bad is just saying there's a mismatch between ideal state and external view, and not necessarily that the segment is in error state.
When all replicas of a segment are offline, the Pinot UI still shows the segment is in good state.

New Status definition

if EV contains ERROR state then segment is in Bad state (red)
if EV status is CONSUMING or ONLINE then segment is in Good state (green)
If EV state is OFFLINE and EV matches IS then segment is in Good state (green)
If EV is empty orstate is OFFLINE and EV does not matches IS then segment is in Partial state (orange). this often gets tagged as Bad, when it could just be that we're waiting to converge

Screenshots

Added tooltips to each status for more clarity/convenience

What does this PR do?

add a Partial state in segment states
change how we define segment status

Issue

GOOD and BAD status is very limiting to describe the segment status
More often than not, Bad is just saying there's a mismatch between ideal state and external view, and not necessarily that the segment is in error state.
When all replicas of a segment are offline, the Pinot UI still shows the segment is in good state.

New Status definition

if EV is empty then segment is missing servers - MISSING state (red)
if EV contains ERROR state then segment is in Bad state (red)
if EV status is CONSUMING or ONLINE then segment is in Good state (green)
If EV state is OFFLINE and EV matches IS then segment is in Good state (green)
If EV state is OFFLINE and EV does not matches IS then segment is in Partial state (orange). this often gets tagged as Bad, when it could just be that we're waiting to converge

Screenshots

Added tooltips to each status for more clarity/convenience

What is UNKNOWN?
Also, we can combine MISSING and PARTIAL, both cases can be PARTIAL or WAITING TO CONVERGE, with tooltip "External view is OFFLINE or missing for one or more servers of this segment"

What is UNKNOWN? Also, we can combine MISSING and PARTIAL, both cases can be PARTIAL or WAITING TO CONVERGE, with tooltip "External view is OFFLINE or missing for one or more servers of this segment"

UNKNOWN is when the segment state is not matching any conditions. Though this will not happen but added a fallback state just in case. I can remove it if the conditions looks good and there will be no other case.
sure makes sense I'll combine those, though I added that state because there was already an edge case present in the previous logic (which was added by Johan)

Updated PR and description

Can you please rebase on the latest master? There are several fixes which can solve the flaky test failures


🔧 Update template

This pull request merges the current state of the template used here into this project so that it is up to date.

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

v1.0.1
GitHub release
v1.0.1

Your semantic-release bot :package::rocket:


Ambiguity Big at Microsoft

The unfortunate side of people who are not well versed with the nuances of the English language in America regardless of where they come from, ambiguity creeps into instruction "from the application's service provider" Makes me think  Verizon plays a part in my code...I know it doesn't but it means that its reference remains ambiguous and a waste of my very valuable time. If it comes from the calling program, please say so

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

ID: 2fa64390-1232-8dd3-f170-7d5c68e29ad9
Version Independent ID: 245bbba8-3102-4a66-15eb-650e05eb9e62
Content: Design-time DbContext Creation - EF Core
Content Source: entity-framework/core/miscellaneous/cli/dbcontext-creation.md
Product: entity-framework
GitHub Login: @bricelam
Microsoft Alias: bricelam

@crtjr64 Thanks for the feedback. Given that the "application" is, well, the application, and the service provider in ASP.NET is the object that the application has that implements IServiceProvider, it's not clear to me what language choices could have been used to improve this, but if you have suggestions they are most welcome.

My guess at original commenter is that Service is such an overloaded term (eg: Web Services, Micro/Mini services, no D/I services). I know Autofac used the term in their D/I as well but as an developer working on mini-services, I sure wish MS would have went with the terms dependencies and dependency providers rather than services and service providers.

In Asp.net Core 2.1, CreateWebHostBuilder replaces BuildWebHost.


add tpch sqllogicaltest and remove some duplicated test

Which issue does this PR close?

Closes #4801.
Rationale for this change
I just want to remove tpch in Unit-Test, because it's duplicated with independent test for TPCH.
But these UT contains some data-test, so I add sqllogicaltest for it.
What changes are included in this PR?

add tpch sqllogicaltest
remove some duplicated test.

Are these changes tested?

Are there any user-facing changes?

Some query result is strange, but run successfully.🤔

These tests are really to check that subqueries get rewritten as joins rather than being about tpch. The change in the test here just checks for correct results and does not check the details of how the plans are rewritten, so I feel like we are losing some value with this change. However, we also check for expected plans in tpch so maybe this is fine. Would be good to check with @avantgardnerio who originally implemented these tests, or @iajoiner.

These tests are really to check that subqueries get rewritten as joins rather than being about tpch. The change in the test here just checks for correct results and does not check the details of how the plans are rewritten, so I feel like we are losing some value with this change. However, we also check for expected plans in tpch so maybe this is fine. Would be good to check with @avantgardnerio who originally implemented these tests, or @iajoiner.

But these test already exist, they are same with tpch-test.
like

https://github.com/apache/arrow-datafusion/blob/master/benchmarks/expected-plans/q2.txt
https://github.com/apache/arrow-datafusion/blob/master/benchmarks/expected-plans/q4.txt
https://github.com/apache/arrow-datafusion/blob/master/benchmarks/expected-plans/q17.txt
https://github.com/apache/arrow-datafusion/blob/master/benchmarks/expected-plans/q20.txt

These tests are really to check that subqueries get rewritten as joins rather than being about tpch. The change in the test here just checks for correct results and does not check the details of how the plans are rewritten, so I feel like we are losing some value with this change. However, we also check for expected plans in tpch so maybe this is fine. Would be good to check with @avantgardnerio who originally implemented these tests, or @iajoiner.

My mistake🥲, after a careful comparison, I find that they are not exactly the same .


[BUG] Does not work with Ubuntu 22.04 Snap-based installs

Ubuntu 22.04's Snap-based Discord uses a different directory for configuration and IPC, resulting in the library not being able to find the IPC socket. The library will infinitely hang.
It looks like an issue for an older version of Discord was previously filed and closed. Perhaps Ubuntu changed how Snaps work.
A debian package-based Discord works fine.
Versions:

Linux 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Discord (Snap): Stable 152532 (a118a24) Host 0.0.20 Linux 64-Bit (5.15.0-48-Generic)
rustc 1.64.0

Hey @echelon Sorry for the late response. This is an issue, more so with snap and flatpak, and the way that they sandbox apps. I will work on a solution, but as of now, it is unlikely to be fixed anytime soon. If you are aware of a solution or have one yourself please let me know


HLTV 2.1

What problem is this solving
latest hltv 2.1 stats
Proposed solution
extra line like for htlv 2.0
Describe alternatives you've considered
No response

HLTV keeps the formula private and there is no plan to reverse-engineer it.
I added a note about it in the doc

ah i didnt know that, fair enough.


Problem: Font Awesome icons on report dashboard are different size

The fa-eye icon that toggles the SS API key does not have a size class assigned but the fa-info icon next to the Packages total does. It is set to fa-lg, which looks pretty good and appropriate:

Setting the fa-eye icon to match the fa-lg size makes for a more consistent and therefore calming UI effect.

or now I'm having second thoughts. the eye icon probably looks better in its current "regular" size. I think the Info icon got bumped in size because in this current version of the Font Awesome library its really dark and hard to see the "i" when its smaller.

I've played around with options a couple of times now. The eye icon doesn't look right if you make it bigger than default. The info icon is too small and smudged at its default size. Bumping it up one size to fa-lg makes it legible but then slightly mis-aligned in size compared to eye icon. That said, it can't really be avoided. The Info icon without a circle is actually worse as a graphic in this location. And the latter versions of Font Awesome no longer offer an info-circle where the circle fill is transparent making the "i" easier to read. So after all that. Let's just leave as is. Closing.


Drag and Drop - get the object behind the KanbanCard

Hi.
I am very happy that I found this Kanban Board. My question is how can I get the object represented by the KanbanPlainCard when I handle the CanDrag and CanDrop events? The Itemssource is connected with an ObservableCollection of database objects. The DataContext is a ViewModel which fills the ObservableCollection with the database objects.
Now some cards should not be dragged. For that I have to verify the set values in the object behind the card. Also I have to restrict where to drop the cards. I found the TargetSwimlane and TargetColumn values but no properties for the origin values. Also I must update the database object after dropping the card. So I guess it is not possible to use SelectedItem to get my object assigned to the card dropped. All I found is the Id property of the KanbanCard which I can use. But this is a little bit inconvenient to use this for finding my object. Is there not a better solution?
Thanks

Hi!
And I'm happy that it helps somebody ;)
In each of the events (CanDragCard, CanDropCard and CardMoved) you get the KanbanCard instance via the e parameter.
You can find it in the sample included in this repo.
Your ViewModel instance is the DataContext of the card. So your event handler could look like this:
private void kanBoard_CanDragCard(object sender, KC.WPF_Kanban.CanDragCardEventArgs e)
{
    if (e.Card.DataContext is CardData data)
    {
        e.CanDrag = data.Duration > 5;
    }
}

Perfect. Thank you for the very quick response.


Query issue with page number

Hi there!
I am using Drupal 8 as backend here with the module Vuetable. It return me a json properly formatted for vuetable. The issue I have is that the first page is page=0. When loading the vuetable, it queries page=1.
I tried to use query-params to ask for page 0, but it break the pagination. I feel like I am missing something here.
How should I approach this, should I rewrite my own VuetablePagination.vue?
Thanks for the help!

@baroneddy Hmm, it never occur to me that there would be a pagination that starts with 0 actually. And yes, I think you would have to rewrite the logic in VuetablePagination to make it work because the first page is default to 1. If you look at VuetablePaginationMixin, you should be able to modify some logic in there to make it work with page 0.

I am going to try to alter the source first. That would seems smarter, I saw a lot of people asking for this in the Drupal community.

So I did manage to make it work on the vuetable side by change this:
gotoPage (page) {       if (page != this.currentPage && (page >= 0 && page <= this.tablePagination.last_page)) {         this.currentPage = page         this.loadData()       } },

page >= 0 instead of page > 0

and
initialPage: {     type: Number,     default: 0 },
These 2 changes are in Vuetable.vue. I did those change directly in the node-module, so it is not a real solution, is there a way I can simply override those function in a component without having to override the whole thing?
Same for the 2 changes I did in the Mixin, I would like to keep as much as possible the default code but I would just need to override 2 functions.
Thanks for the help!

@baroneddy I can probably introduce another prop for that purpose though.

That would indeed be awesome :)

Hi @ratiw,
Have you implemented the new prop yet ?

Not yet. Been very busy to get into the code right now.

Same problem here working with a Spring Data Rest API.
I tried @heyddi's solution but I had to make some more changes. So I submitted PR #458  with the additions.
Then, a more concise solution occurred to me: just subtracting 1 from the currentPage while building the request query params. See PR #459


[WIP] Restore downstream test for core nodes

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

In the OSX build we get:
Testing downstream package: gpi_core
INFO:conda_build.build:Testing downstream package: gpi_core
INFO conda_build.build:build_tree(2365): Testing downstream package: gpi_core
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed
Skipping downstream test for spec gpi_core; was unsatisfiable.  Error was Unsatisfiable dependencies for platform osx-64: {'gpi_core'}
WARNING:conda_build.build:Skipping downstream test for spec gpi_core; was unsatisfiable.  Error was Unsatisfiable dependencies for platform osx-64: {'gpi_core'}
WARNING conda_build.build:build_tree(2382): Skipping downstream test for spec gpi_core; was unsatisfiable.  Error was Unsatisfiable dependencies for platform osx-64: {'gpi_core'}

If I try to install gpi_core locally, I get that at first:
(gpi_cf_test) 16:37:07 [gpi-feedstock] DDB-Mayo: conda install gpi_core
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: done

More output:

==> WARNING: A newer version of conda exists. <==
  current version: 4.7.5
  latest version: 4.7.10

Please update conda by running

    $ conda update -n base conda

## Package Plan ##

  environment location: /Users/m206107/gpi_stack/envs/gpi_cf_test

  added / updated specs:
    - gpi_core

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    gpi-1.1.4                  |           py37_0         1.8 MB  conda-forge
    gpi_core-2.0.0             |   py37h6de7cb9_0         543 KB  conda-forge
    libopenblas-0.3.6          |       hd44dcd8_5         8.4 MB  conda-forge
    matplotlib-2.2.4           |           py37_0           6 KB  conda-forge
    matplotlib-base-2.2.4      |   py37h3a684a6_0         6.6 MB  conda-forge
    openblas-0.3.6             |       hd44dcd8_5         9.2 MB  conda-forge
    pyparsing-2.4.2            |             py_0          57 KB  conda-forge
    qt-5.9.7                   |       h8cf7e54_3        76.8 MB  conda-forge
    qtpy-1.9.0                 |             py_0          34 KB  conda-forge
    scipy-1.3.0                |   py37hab3da7d_1        16.0 MB  conda-forge
    ------------------------------------------------------------
                                           Total:       119.4 MB

The following NEW packages will be INSTALLED:

  bzip2              conda-forge/osx-64::bzip2-1.0.8-h01d97ff_0
  ca-certificates    conda-forge/osx-64::ca-certificates-2019.6.16-hecc5488_0
  certifi            conda-forge/osx-64::certifi-2019.6.16-py37_1
  cycler             conda-forge/noarch::cycler-0.10.0-py_1
  dbus               conda-forge/osx-64::dbus-1.13.6-h2f22bb5_0
  eigen              conda-forge/osx-64::eigen-3.3.7-h04f5b5a_1000
  expat              conda-forge/osx-64::expat-2.2.5-h6de7cb9_1003
  fftw               conda-forge/osx-64::fftw-3.3.8-nompi_h5c49c53_1106
  freetype           conda-forge/osx-64::freetype-2.10.0-h24853df_0
  gettext            conda-forge/osx-64::gettext-<IP_ADDRESS>-h46ab8bc_1002
  glib               conda-forge/osx-64::glib-2.58.3-h9d45998_1002
  gpi                conda-forge/osx-64::gpi-1.1.4-py37_0
  gpi_core           conda-forge/osx-64::gpi_core-2.0.0-py37h6de7cb9_0
  h5py               conda-forge/osx-64::h5py-2.9.0-nompi_py37h35dc34b_1102
  hdf5               conda-forge/osx-64::hdf5-1.10.4-nompi_h0cbb7df_1106
  icu                conda-forge/osx-64::icu-64.2-h6de7cb9_0
  jpeg               conda-forge/osx-64::jpeg-9c-h1de35cc_1001
  kiwisolver         conda-forge/osx-64::kiwisolver-1.1.0-py37h770b8ee_0
  libblas            conda-forge/osx-64::libblas-3.8.0-10_openblas
  libcblas           conda-forge/osx-64::libcblas-3.8.0-10_openblas
  libcxx             conda-forge/osx-64::libcxx-8.0.0-4
  libcxxabi          conda-forge/osx-64::libcxxabi-8.0.0-4
  libffi             conda-forge/osx-64::libffi-3.2.1-h6de7cb9_1006
  libgfortran        conda-forge/osx-64::libgfortran-3.0.1-0
  libiconv           conda-forge/osx-64::libiconv-1.15-h01d97ff_1005
  liblapack          conda-forge/osx-64::liblapack-3.8.0-10_openblas
  libopenblas        conda-forge/osx-64::libopenblas-0.3.6-hd44dcd8_5
  libpng             conda-forge/osx-64::libpng-1.6.37-h2573ce8_0
  libtiff            conda-forge/osx-64::libtiff-4.0.10-hd08fb8f_1003
  llvm-openmp        conda-forge/osx-64::llvm-openmp-8.0.0-h770b8ee_0
  lz4-c              conda-forge/osx-64::lz4-c-1.8.3-h6de7cb9_1001
  matplotlib         conda-forge/osx-64::matplotlib-2.2.4-py37_0
  matplotlib-base    conda-forge/osx-64::matplotlib-base-2.2.4-py37h3a684a6_0
  ncurses            conda-forge/osx-64::ncurses-6.1-h0a44026_1002
  numpy              conda-forge/osx-64::numpy-1.16.4-py37h6b0580a_0
  olefile            conda-forge/noarch::olefile-0.46-py_0
  openblas           conda-forge/osx-64::openblas-0.3.6-hd44dcd8_5
  openssl            conda-forge/osx-64::openssl-1.1.1c-h01d97ff_0
  pcre               conda-forge/osx-64::pcre-8.41-h0a44026_1003
  pillow             conda-forge/osx-64::pillow-6.0.0-py37h7095ceb_0
  pip                conda-forge/osx-64::pip-19.2.1-py37_0
  psutil             conda-forge/osx-64::psutil-5.6.3-py37h01d97ff_0
  pyopengl           conda-forge/noarch::pyopengl-3.1.3b2-py_1
  pyparsing          conda-forge/noarch::pyparsing-2.4.2-py_0
  pyqt               conda-forge/osx-64::pyqt-5.9.2-py37h2a560b1_0
  python             conda-forge/osx-64::python-3.7.3-h93065d6_1
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.0-py_0
  pytz               conda-forge/noarch::pytz-2019.1-py_0
  qimage2ndarray     conda-forge/noarch::qimage2ndarray-1.7-py_0
  qt                 conda-forge/osx-64::qt-5.9.7-h8cf7e54_3
  qtpy               conda-forge/noarch::qtpy-1.9.0-py_0
  readline           conda-forge/osx-64::readline-8.0-hcfe32e1_0
  scipy              conda-forge/osx-64::scipy-1.3.0-py37hab3da7d_1
  setuptools         conda-forge/osx-64::setuptools-41.0.1-py37_0
  sip                conda-forge/osx-64::sip-4.19.8-py37h0a44026_1000
  six                conda-forge/osx-64::six-1.12.0-py37_1000
  sqlite             conda-forge/osx-64::sqlite-3.29.0-hb7d70f7_0
  tk                 conda-forge/osx-64::tk-8.6.9-h2573ce8_1002
  tornado            conda-forge/osx-64::tornado-6.0.3-py37h01d97ff_0
  wheel              conda-forge/osx-64::wheel-0.33.4-py37_0
  xz                 conda-forge/osx-64::xz-5.2.4-h1de35cc_1001
  zlib               conda-forge/osx-64::zlib-1.2.11-h01d97ff_1005
  zstd               conda-forge/osx-64::zstd-1.4.0-ha9f0a20_0

It looks like the tests are running now so I'm guessing it just took some time for the gpi_core packages to show up.


Looking for Maintainer

I no longer work in this industry and have had Pull Requests and other code come in to help move this project along, but have very little motivation to close the tasks.
If anyone finds this tool useful and is interested in taking over a maintenance role on this project, please send me a message or reply to this issue.

Hi,
Do you have to paid to store the website ?

No, I'm just looking for someone to help me update the code

Are you still looking for a maintainer?

Yes, I am.

On Feb 22, 2021, at 9:30 AM, Adam Lee<EMAIL_ADDRESS>wrote:

Are you still looking for a maintainer?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Do you have a To-Do list handy?

@adam-lee  just start with the issues


Add ConfigurationKeys.SYNC_MODIFIED_TIMES_FOR_FILE_COPY to list of co…

SYNC_MODIFIED_TIMES_FOR_FILE_COPY needs to be in the merged configuration otherwise the setting is ignored for batch mode replication.

LGTM, thanks @jameadows!

Thanks again Paul, great tool you've built!


[Suggestion] Iron/Diamond crucibles?

obsidian would hold 8 buckets? 2x stone crucible
iron would hold 16 buckets? 4x stone crucible
diamond would hold 32 buckets? 8x stone crucible
emerald would hold 64 buckets? 16x stone crucible
just a cool idea

I am unlikely to add this feature as its utility is very low since most players just pipe directly into some giant fluid storage block; if someone wants to make an addon which adds these and wants me to add a few hooks to make easier I would be open to that.


Ability to easily hide all models

Why
When adding OpenRouter as service to https://get.big-agi.com/, a loot of visible models are added. But I only care about one or two. Having to manually click disable "Show in Chat" for each one is quite tedious, since there are so many.
Description
A way (e.g. a button) to hide all models, allowing one to opt-in for specific ones.

For now, the following can be used as a workaround via dev console:
let d = JSON.parse(localStorage.getItem("app-models"));
d.state.llms.forEach(x => x.hidden = true);
localStorage.setItem("app-models", JSON.stringify(d));

Thanks @powellnorma - and great trick on the console, I wasn't aware.
How are you suggesting the setting to be like? Something like the "hide non-free" ?

Something like the "hide non-free" ?

That would work. Since most models are non-free, this button alone would already have been enough for me (in this case).
Another idea would be a small button with the eye icon, that toggles all models (Though it should be clear what it does, to avoid users from accidentally overwriting their pre-made selection, so e.g. a description on hover)

@powellnorma done in big-agi 2 - out end aug.

Hello. I like the addition of the remove non-free option but could you also add an option via environmental variable to hide model services entirely?
I along with a few others run completely private labs with Big-AGI being a piece of the lab. Would be great for users of my lab (think non-tech folk) to see only the local Ollama models I have for them without the default OpenAI and Anthropic models as drop-down list options.


xmlSec: xmlSecDSigCtxDebugDump Access Violation

Describe the bug
xmlSecDSigCtxDebugDump Acces Violation.
Environment

OS: Windows 11
Compiler: vcpkg package management program version 2023-10-18-27de5b69dac4b6fe8259d283cd4011e6d20a84ce

To Reproduce
Steps to reproduce the behavior:

xmlSecDSigCtxSign(dsigCtx,SignatureNode);
xmlSecDSigCtxDebugDump

Expected behavior
xmlSecDSigCtxDebugDump reports a signature log.

@hafedh-trimeche, Thanks for posting this issue, please provide your detailed error reproduction steps and error logs.

Hi,
Please find this log: xmlsec 1.3.1#1
:00007FFBB708090D ; C:\Windows\System32\ucrtbased.dll
:00007FFBB7036966 ; C:\Windows\System32\ucrtbased.dll
:00007FFBB704E3CA ; C:\Windows\System32\ucrtbased.dll
:00007FFBB704E4C8 ; C:\Windows\System32\ucrtbased.dll
:00007FFBB704F17A ; C:\Windows\System32\ucrtbased.dll
:00007FFBB707912C ; C:\Windows\System32\ucrtbased.dll
:00007FFBD9377CC0 ; D:\xmlsec\libxmlsec1.dll
:00007FFBD9377D30 ; D:\xmlsec\libxmlsec1.dll
:00007FFBD93C525E ; D:\xmlsec\libxmlsec1.dll
uXMLSec.DumpDSigDebug($1E6BCAD38D0)

and this one:
[00007FFBB7036966] Unknown function at ferror + $476
[00007FFBB704E3CA] Unknown function at __p__commode + $DDA
[00007FFBB704E4C8] Unknown function at __p__commode + $ED8
[00007FFBB704F17A] Unknown function at __p__commode + $1B8A
[00007FFBB707912C] __stdio_common_vfprintf + $5C
[00007FFBDB107CC0] Unknown function at xmlSecSimpleKeysStoreAdoptKey + $25EB5
[00007FFBDB107D30] Unknown function at xmlSecSimpleKeysStoreAdoptKey + $25F25
[00007FFBDB15525E] Unknown function at xmlSecSimpleKeysStoreAdoptKey + $73453
[0000000001780B26] uXMLSec.DumpDSigDebug (Line 175, "uXMLSec.pas" + 2) + $14

uXMLSec.DumpDSigDebug is calling:
xmlSecDSigCtxDebugDump(dsigCtx,xmlSecDSigOutput)

@hafedh-trimeche, My computer is 64 bit and I can build xmlSecport successfully:
printf("sizeof time_t is: %d\n", sizeof(time_t));

output:
sizeof time_t is: 8

@hafedh-trimeche, Does this problem still exist?

Yes it does: xmlsec 1.3.1#2

xmlSec has the latest version 1.3.2. I need to update it. Can you try it?

Sorry I can't!
I'm using VCPKG which automatically generates library.
Waiting for the next version.

I don't believe changes in 1.3.2 would resolve this problem. Overall, this looks like one of the two possible issues for me:

mismatch in the C runtime for various libraries (xmlsec, libxml2, libxslt, openssl, ... )
mismatch between compiled and loaded libraries (i.e. library versions, compilation flags, etc are not the same)

@hafedh-trimeche, The latest xmlsec 1.3.4 can solved your issue?

Hello,
Even VCPKG updated, xmlsec still at version 1.3.3:

With the same result!

Did you ever check if you call the function with the right argument types, build with the right link lib, run with the right runtime lib?
IIUC the call is coming from pascal (Line 175, "uXMLSec.pas" + 2). Not sure if there aren't more traps at the language boundary.

xmlSecDSigCtxDebugDump has only two (2) parameters:
dsigCtx & output which are pointers.
output is open using fopen('xmlSec.log','w') and shouldn't cause problem.
It seams that the library doesn't check some null values before dumping related content.
The calling convention doesn't matter because the library is a 64 bit one.
Best regards.

I used fopen and fclose function statically linked to open and close Log file:
https://github.com/tinyBigGAMES/CPas/blob/main/lib/CPas.CRuntime.pas
This exception is raised:
OpenSSL: FATAL
---------------------------
OPENSSL_Uplink(00007FFD4F3DCA38,08): no OPENSSL_Applink

Is there a way to log content to a memory stream (buffer) not to a file?

If you can reproduce the issue with xmlsec command line utility then it would be easier to debug it.  Use --print-debug flag to trigger xmlSecDSigCtxDebugDump usage. As of now, I stand by my comment above about mismatch between headers / compile flags and library version. Using xmlsec command line utility would guarantee that compilation / linking is consistent.

oh I missed it: "I used fopen and fclose function statically linked to open and close Log file". Of course this is going to crash.  Question 2.7 in the FAQ (https://www.aleksey.com/xmlsec/faq.html).

oh I missed it: "I used fopen and fclose function statically linked to open and close Log file". Of course this is going to crash.  Question 2.7 in the FAQ (https://www.aleksey.com/xmlsec/faq.html).

Well, runtimes hell is what vcpkg tries to eliminate AFAIU. There are even post-build checks. So I wouldn't be surprised if executables from the ports just work.
But does the user project use the same configuration as the ports?
And does OPENSSL_Applink have a meaning here?


Workers' CPU level go to 100%

The issue was introduced in commits:
https://github.com/kubeshark/worker/commit/1764310d9d79255e1ad717185b26c86c3bac9953
and
https://github.com/kubeshark/tracer/commit/b4fee7540697076e741dfef44b7e4fa791c1b79a
User experience - after some time kubeshark is running (on EKS is usually ~40 minutes) events watchers are disconnected from the k8s (which is normal behavior), but not recreated and closed watcher get continue polling (which is the issue) - this causes high CPU load and stop k8s events processing

Problem was detected, resolved and will be available in the next patch release.

Fixed with https://github.com/kubeshark/kubeshark/releases/tag/v52.3.59


Unable to use custom config using @dataclass / deny all unknown fields

I need to deny all unknown fields in my models. But when i tried to dig i found that it is not possible to control this behaviour (allow/deny/etc).
This works well:
from pydantic import BaseModel

class Example(BaseModel):
    test: str

model = Example(test='works well')

But when i try to use custom config as described in docs it does not work:
from pydantic import BaseModel, Extra
from pydantic.dataclasses import dataclass

class MyConfig:
    extra = Extra.allow

@dataclass(config=MyConfig)
class Example(BaseModel):
    test: str

model = Example(test='does not work')

I see following output:
Traceback (most recent call last):
  File "/Users/alvassin/Work/example/t.py", line 13, in <module>
    model = Example(test='does not work')
  File "<string>", line 3, in __init__
  File "pydantic/main.py", line 363, in pydantic.main.BaseModel.__setattr__
AttributeError: __fields_set__

Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
             pydantic version: 1.6.1
            pydantic compiled: True
                 install path: /Users/alvassin/Work/example/env/lib/python3.7/site-packages/pydantic
               python version: 3.7.7 (v3.7.7:d7c567b08f, Mar 10 2020, 02:56:16)  [Clang 6.0 (clang-600.0.57)]
                     platform: Darwin-19.5.0-x86_64-i386-64bit
     optional deps. installed: []

Hi @alvassin,
You shouldn't mix @dataclass and BaseModel. You can use @dataclass for most cases but it's less complete than BaseModel (see the note in the doc).
In your case I would stick with just BaseModel and do
class Example(BaseModel):
    test: str

    class Config:
        extra = Extra.allow

Hope it helps!

@PrettyWood not obvious interface. Thank you very much!


[Test] Recordings from live test runs should be available for download

Currently recordings for live test runs are ignored or discarded. These recordings should be saved somewhere so they can be downloaded and included in a PR. After some amount of time, these saved recordings should be erased (say, a week).

@troydai this is complete, yes?

yes.


Override PVP Settings

The PVP settings in worlds.yml override other plugins' PVP settings.
Is there a way to leave them blanks so as to keep the PVP settings of other plugins?

Have you found a fix for this bug?

Same here. I'm using multiverse and askyblock. Pvp settings from multiverse override askyblock


⚠ Bofrost.lu has degraded performance

In 76dbded, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1830 ms

Resolved: Bofrost.lu performance has improved in 66ac480 after 34 minutes.


License

Dear Eric,
I would like to use your jigsaw puzzle project for an exhibition on posters. Unfortunately you don't provide a license. Would you be willing to license the project using a permissive license such as BSD or MIT? Thanks for your attention :)

Hey man, sounds cool. I just added a license file, MIT :)
Good luck on the exhibition!


Tracker erro TRK0002 is back

Not sure what the cause is.
Running Windows 10  14251.rs1_release.160124-1509
Error is
TRACKER : error TRK0002: Failed to execute command: "E:\vs\VC\bin\amd64\CL.exe @C:\Users\Peter\AppData\Local\Temp\tmp75
707f27af564a76891ebda8f5935380.rsp". The handle is invalid. [E:\img\node_modules\sharp\build\sharp.vcxproj]
Would it be a solution to add this to the sharp.vcxproj
false</ TrackFileAccess></ PropertyGroup>

Hello, the sharp.vcxproj file is created by node-gyp.
It looks like others have run into the same problem within the last month or so:
https://github.com/nodejs/node-gyp/issues/870
https://github.com/nodejs/node-gyp/issues/875
...so it's probably worth you subscribing to those to see if anyone is able to help.

Aaaaand the issue is over again.  Windows build 14257.rs1_release. Installation works again. Tried both fresh install and a rebuild.
Pfeeeeuw

Thanks for the update, glad to hear it's working again. I guess I still shouldn't click the "Upgrade now" button on any Windows 7/8 machines yet.


compile error after nginx 1.11.11 version

sorry I write wrong issue.

@initproc Just try the git master branch of lua-nginx-module.

@agentzh Thanks. I noticed that I write this issue wrong place by mistake, and I tried to delete this issue but I couldn't find the button to remove.


Feature request:  Passthru exact GPS coordinates

I use the KCS from the app via the kia API.  With the request I get also GPS coordinates.
Can you implement those coordinates rather than Away / Home but the exact GPS location? This is useful to plot the coordinates on a map with a device tracker.
Thanks.

Hey Remy, this is already implemented.
The coordinates are mapped as latitude/longitude attributes on the device_tracker entity for the vehicle.


Couldn't export Python operator _RoIAlignFunction

When i run pytorch2onnx.py,  this error happened. I need your   @@help

@anurag1paul @tjsongzw @ramkakarala @DXist

Same problem

Same problem. Have you solved this?

Please refer to the doc and try with the latest mmcv and mmdetection.


Traffic UI and other improvements

Fixes for #251 and #254.

Traffic "last seen" time is now changed to a traffic age, set by the internal Stratux monotonic timer.
traffic.go JSON calls updated to refresh all traffic once per second, even if postion hasn't been updated.
New ti.Timestamp and ti.Age variables added to traffic.go
Timeout for sending GDL90 traffic message reduced to 6 seconds. Traffic will remain in internal database and on web UI for 60 seconds.
Minor GPS improvements related to time parsing
Added clock to web UI status page.
Update status UI to reflect new features added over the past few months

Nice work.


'floor' is not a member of 'std' error when executing "make tools"

Hi,
I have installed Racon, but during the installation, in the make tools step, I get the following error:
src/graphmap/region_selection.cc: In member function 'int GraphMap::RegionSelectionNoCopy_(int64_t, MappingData*, std::vector<std::shared_ptr<is::MinimizerIndex> >&, const SingleSequence*, const ProgramParameters*)':
src/graphmap/region_selection.cc:177:56: error: 'floor' is not a member of 'std'
   float min_allowed_bin_value = std::max(2.0f, (float) std::floor(parameters->min_bin_percent * max_bin_value));
                                                        ^
src/graphmap/region_selection.cc:177:56: note: suggested alternative:
In file included from /usr/include/features.h:361:0,
                 from /usr/include/string.h:27,
                 from src/graphmap/region_selection.cc:8:
/usr/include/bits/mathcalls.h:185:1: note:   'floor'
 __MATHCALLX (floor,, (_Mdouble_ __x), (__const__));
 ^

Apparently Racon seems to run anyway.

Hello Nicola,
the error is probably due to your compiler but it does not matter as 'make tools' downloads and installs additional tools in order to run the example scripts. 'make modules' and 'make' are enough to run Racon for your own purposes.
Best regards,
Robert


lsp-common.el has been removed from lsp

https://github.com/emacs-lsp/lsp-mode/commit/439df1e463b3778cea5ddcdb2fccbf27b6a9fb5f

Thank's for submitting the issue. I'm currently working on the small details of the new API
that's required by lsp-mode. Feel free to join at lsp-mode gitter!
As a workaround I recomment using eglot, also refer to 669f5bc7480bd0b931d9b58f35299b2b17a2a860.

Thanks!
Also for the hint, it might help others. I don't actually use this package; I just ran into this as part of my work on the Emacsmirror.

Due to Support for the Fortran-language-server this package is going to be deprecated soon. I'll update the README.md soon.
This case this thereby closed.


Build(deps): Bump @patternfly/react-core from 4.198.5 to 4.198.19 (#3096)

Pull request opened by the merge tool on behalf of #3096

Merged in b21cf7a3bd33a183133e2d334222b510abd966aa


Refactor DtoDbContextGenerator to use Scriban template

@msadikkoseaupa can you rebuild the whole solution, so that it re-generates the files and commits those too?
Also in the title of the PR, you need to have the MP ticket number.


Moonbridge

We are a team of validators, helping in the development of blockchain projects
Website: https://moonbridge.team/
GitHub: https://github.com/MrHoodd
Discord: Mr.Hood#3161
Twitter: https://twitter.com/mr_hhoodd
Element: @mrhood:matrix.org


System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

I have two servers in a domain: SERVER_A and SERVER_B. SERVER_A runs a collection of scheduled tasks defined in the Task Scheduler.
I have an application that creates scheduled tasks by importing an XML task definition file using the Task Scheduler Managed Wrapper using the following code:
Imports System.IO
Imports Microsoft.Win32.TaskScheduler
Dim ts as TaskService
Dim tf As TaskFolder
Dim FolderName as String = "\TaskFolder"
Dim taskDefFilePath As String
Dim taskDefXML As String
ts = New TaskService("SERVER_A")
tf = ts.GetFolder(FolderName)
taskDefXML = IO.File.ReadAllText(taskDefFilePath)
tf.RegisterTask(
taskName,
taskDefXML,
TaskCreation.CreateOrUpdate,
Nothing,
Nothing,
TaskLogonType.InteractiveToken,
Nothing
)
When the above code is run from SERVER_B (connecting remotely to SERVER_A to set up the scheduled task), the code runs as expected and sets up a new scheduled task. If I run the above code from SERVER_A, then the application throws the following exception:
System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at Microsoft.Win32.TaskScheduler.V2Interop.ITaskFolder.RegisterTask(String Path, String XmlText, Int32 flags, Object UserId, Object password, TaskLogonType LogonType, Object sddl)
at Microsoft.Win32.TaskScheduler.TaskFolder.RegisterTask(String Path, String XmlText, TaskCreation createType, String UserId, String password, TaskLogonType LogonType, String sddl)
I am logging into SERVER_A and SERVER_B using a domain user that has local administrator rights on SERVER_A.
Any idea why I can run the above code remotely from another server in the domain, but get the exception thrown when I try to run locally on SERVER_A?
Originally posted: 2015-07-28T11:33:33

Are the two servers running different versions of Windows? Are they in different domains? Could the account of the process running this code have different permissions on each of the two servers?
Originally posted: 2015-11-11T11:39:00

Same version of Windows.
Same domain (very first point in the original post).
The account running the process has local admin rights on both servers. The account is a domain account. Technically, the only thing that should matter is that the account has rights to administer the scheduled tasks on the machine where the scheduled tasks are created and run (SERVER_A).
I can use the Scheduled Task Manager directly on SERVER_A; or running Scheduled Task Manager on SERVER_B and remotely administering the scheduled tasks on SERVER_A.
Originally posted: 2015-11-12T14:31:39

Have you checked the information on the Security Documentation page? It could have something to do with the firewall settings, UAC, or group membership on the target server.
Originally posted: 2015-11-17T11:26:26

Able to run remotely and manage a remote Task Scheduler. Fails when trying to run the app on the same machine as the Task Scheduler.
Able to use the standard Windows Scheduled Task Manager either locally on the same machine where the task is scheduled, or remotely to manage the scheduled tasks from another machine in the domain.
Firewall would not be an issue.
Security would not be an issue.
Security or a firewall might make sense if it worked locally on the target server but not remotely. It's working remotely but not locally - the opposite of what you'd expect if security or some sort of networking issue was the problem.
Originally posted: 2015-11-17T13:14:45

And when you run it locally, are you running it "as administrator"? UAC does some crazy stuff and the MMC Task Scheduler app forces itself to run elevated.
Originally posted: 2015-11-18T08:45:09


[SPARK-11439][ML] Optimization of creating sparse feature without dense one

Sparse feature generated in LinearDataGenerator does not create dense vectors as an intermediate any more.

Test build #46052 has started for PR 9756 at commit b5038e8.

Test build #46052 has finished for PR 9756 at commit b5038e8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46052/
Test PASSed.

@Lewuathe, could you please take a look at this?

@Lewuathe - pushed fixes.

Test build #46573 has started for PR 9756 at commit 70917f8.

@nakul02 Thank you so much for quick updating!

Test build #46573 has finished for PR 9756 at commit 70917f8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46573/
Test PASSed.

@Lewuathe - sorry, it took a while to regenerate numbers for all the tests

Test build #46578 has started for PR 9756 at commit aa8fef1.

Test build #46578 has finished for PR 9756 at commit aa8fef1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46578/
Test PASSed.

@Lewuathe - removed the extraneous whitespace.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46613/
Test FAILed.

AmplabJenkins failed with the following error:
ERROR: Timeout after 15 minutes
ERROR: Error fetching remote repo 'origin'
I assume this is a temporary issue.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46614/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46615/
Test FAILed.

jenkins retest this please

Test build #46700 has started for PR 9756 at commit 327babd.

Test build #46700 has finished for PR 9756 at commit 327babd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46700/
Test FAILed.

Test build #46980 has started for PR 9756 at commit 7c17454.

Test build #46980 has finished for PR 9756 at commit 7c17454.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46980/
Test PASSed.

@Lewuathe - Can you take a look at this?

@nakul02 LGTM. It seems that retesting on Jenkins requires some admin privilege.

Thanks @Lewuathe!
Retesting does require committer privileges. I tried and now I know

LGTM pending tests - maybe @mengxr or @srowen who are two of the more recent committers working in this file could take a look.

Also like +1 on having more of the R code in the tests comments so its easier to regenerate the next time we need to.

Test build #47113 has started for PR 9756 at commit 89d84b8.

Test build #47113 has finished for PR 9756 at commit 89d84b8.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47113/
Test PASSed.

Merged build finished. Test PASSed.

@srowen - I've refactored generateLinearInput.
I am not entirely sure what to set the thresholds at.
The correctness of the test depends on the way in which the RNG is called. Which is why I needed to re-evaulate all the results in R and stick in the numbers.
I do not have a background in ML and don't know how much of a threshold to set before the results are considered incorrect.

These tests haven't set thresholds in a principled way, and clearly they're wrong in some cases. It's easier to see when they're too tight. The goal is detect obviously wrong behavior, so erring on the side of too wide is OK. It's not a huge deal, but I think it might be worth correcting them where we go. Make them 10x bigger where they've failed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47162/
Test FAILed.

Merged build finished. Test FAILed.

@srowen - I've increased the threshold values 10x times.

OK in  the end I think it's close enough even if not 100% what I had in mind. But the right thing to do is a bit subjective here. Any other thoughts? let me retest it.

Test build #2172 has started for PR 9756 at commit 60b0092.

Test build #47203 has started for PR 9756 at commit 60b0092.

Test build #2172 has finished for PR 9756 at commit 60b0092.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #47203 has finished for PR 9756 at commit 60b0092.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47203/
Test PASSed.

Merged build finished. Test PASSed.

@srowen - I agree, the right thing to do is a bit subjective. Nothing else to add though.

I'm going to merge this if there are no other comments.

Merged to master


deps: limit dependency ranges

Limit dependency ranges to automatic minor upgrades, must manually check for major upgrades to see what breaking changes are included. Matches current versions that are being used

relates/depends on #68


feat: TCP client in Brave

Parent: #716

TODO

[x] fix Firefox / Chrome build (https://github.com/feross/chrome-dgram/pull/16)
[x] TCP transport

[x] client mode
[x] accept incoming connections

[ ] Local DNS discovery

[x] discover go-ipfs v0.4.22
[ ] announce own TCP multiaddr (see https://github.com/ipfs-shipyard/ipfs-companion/issues/758)

[x] peer discovery via -star
[x] enable preload
[x] enable delegated DHT
[ ] add /docs/chrome.sockets.md

Known issues

[ ] connection manager config does not seem to be passed to libp2p correctly
[ ] DNS SD: only one service can listen on 5353 (https://github.com/ipfs-shipyard/ipfs-companion/issues/758)
[ ] preload of Web UI trigger Anti-DDoS protection in Chromium: https://github.com/ipfs-shipyard/ipfs-companion/issues/755
[x] issue about ws-star crashing js-ipfs when all stars are down (https://github.com/ipfs-shipyard/ipfs-companion/pull/754/commits/8ed1a6da4482f931691961c7267cb937e448e009)
[ ] issue about MDNS config in js-ipfs not being translated to respective key in libp2p config
[x] webui crashing on file add

provisional fix in https://github.com/ipfs-shipyard/ipfs-companion/commit/2728436cafa796e9b62981296182816279b409b9
real fix tracked in https://github.com/ipfs-shipyard/ipfs-companion/issues/757

TCP transport (client)

Local DNS discovery (client)

Known issues will be tracked in respective issues, TCP transport itself is ready for Beta test run.


How to use the runtime hook for rootless RunC containers?

I would like to run RunC containers based on nvidia-docker rootless. But using the runtime hook I get
container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"process_linux.go:385: running prestart hook 0 caused \\\"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure<EMAIL_ADDRESS>--no-cgroups --device=all --compute --utility --require=cuda>=10.1 brand=tesla,driver>=418,driver<419 --pid=18266 /home/testCuda/build/runc/rootfs]\\\\nnvidia-container-cli: permission error: capability change failed: operation not permitted\\\\n\\\"\""

I tried the solution from https://github.com/moby/moby/issues/38729 of setting no-cgroups = true  (as you can see from the command line), but still no progress. I do not understand whether I need additional capabilities in my runc config, or something else.
My RunC configuration looks like this:

{
	"ociVersion": "1.0.0-rc5-dev",
	"root": {
		"path": "rootfs",
		"readonly": false
	},
	"process": {
		"args": [
			"bash", "./startup.sh", "matrix1_testCuda_gtest"
		],
		"cwd": "/app",
		"env": [
"PATH=/opt/cmake/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"CUDA_VERSION=10.1.105",
"CUDA_PKG_VERSION=10-1=10.1.105-1",
"LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
"NVIDIA_VISIBLE_DEVICES=all",
"NVIDIA_DRIVER_CAPABILITIES=compute,utility",
"NVIDIA_REQUIRE_CUDA=cuda>=10.1 brand=tesla,driver>=418,driver<419",
"NCCL_VERSION=2.4.2",
"LIBRARY_PATH=/usr/local/cuda/lib64/stubs",
"CCACHE_SLOPPINESS=include_file_ctime,include_file_mtime",
"CONAN_SYSREQUIRES_SUDO=0",

			"TERM=xterm"
			],
		"oomScoreAdj": 0,
		"terminal": false,
		"user": {
			"gid": 0,
			"uid": 0
			},
		"noNewPrivileges": true,
		"capabilities": {
			"bounding": [
				"CAP_MKNOD",
				"CAP_NET_RAW",
				"CAP_KILL",
				"CAP_AUDIT_WRITE"
			],
			"effective": [
				"CAP_MKNOD",
				"CAP_NET_RAW",
				"CAP_KILL",
				"CAP_AUDIT_WRITE"

			],
			"inheritable": [
				"CAP_MKNOD",
				"CAP_NET_RAW",
				"CAP_KILL",
				"CAP_AUDIT_WRITE"
			],
			"permitted": [
				"CAP_MKNOD",
				"CAP_NET_RAW",
				"CAP_KILL",
				"CAP_AUDIT_WRITE"
			]
		},
		"rlimits": [
		]
	},

	"linux": {
		"uidMappings": [
			{
				"hostID": 500101175,
				"containerID": 0,
				"size": 1
			}
		],
		"gidMappings": [
			{
				"hostID": 513,
				"containerID": 0,
				"size": 1
			}
		],
		"maskedPaths": [
			"/proc/asound",
			"/proc/acpi",
			"/proc/kcore",
			"/proc/keys",
			"/proc/latency_stats",
			"/proc/timer_list",
			"/proc/timer_stats",
			"/proc/sched_debug",
			"/proc/scsi",
			"/sys/firmware"
		],
		"namespaces": [
			{
				"type": "mount"
			},
			{
				"type": "uts"
			},
			{
				"type": "pid"
			},
			{
				"type": "ipc"
			},
			{
				"type": "user"
			}
		],
	"readonlyPaths": [
		"/proc/bus",
		"/proc/fs",
		"/proc/irq",
		"/proc/sys",
		"/proc/sysrq-trigger"
		]
	},
	"mounts": [
		{
			"destination": "/proc",
			"options": [
			"nosuid",
			"noexec",
			"nodev"
			],
			"source": "proc",
			"type": "proc"
		},
		{
			"destination": "/dev",
			"options": [
				"nosuid",
				"strictatime",
				"mode=755",
				"size=65536k"
			],
			"source": "tmpfs",
			"type": "tmpfs"
		},
		{
			"destination": "/dev/pts",
			"options": [
			"nosuid",
			"noexec",
			"newinstance",
			"ptmxmode=0666",
			"mode=0620"
			],
			"source": "devpts",
			"type": "devpts"
		},
		{
			"destination": "/sys",
			"source": "/sys",
			"options": [
				"rbind",
				"nosuid",
				"noexec",
				"nodev",
				"ro"
			],
			"type": "none"
		},
		{
			"destination": "/sys/fs/cgroup",
			"options": [
				"ro",
				"nosuid",
				"noexec",
				"nodev"
			],
			"source": "cgroup",
			"type": "cgroup"
		},
		{
			"destination": "/dev/mqueue",
			"options": [
				"nosuid",
				"noexec",
				"nodev"
			],
			"source": "mqueue",
			"type": "mqueue"
		}
	]
	,"hooks": {
	    "prestart": [
	    	{
		        "path": "/usr/bin/nvidia-container-runtime-hook",
		        "args": ["nvidia-container-runtime-hook",  "-config", "/home/testCuda/build/runc/nvidia_hook.conf", "prestart"],
		        "env": [
		            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
		        ]
	    	}
	    ]
	}
}

I think I am having the same issue except using podman and the nvidia-container-runtime-hook.  I can run a rootless container fine as long as I do not use any uidmaps.  As soon as I do I get the following error:
E0619 08:28:25.428976 1 nvc_ldcache.c:375] could not start /sbin/ldconfig: mount operation failed: /proc: operation not permitted
There is obviously a permissions issue here somewhere caused by using uidmap.  It looks like the above is also using uidmap.
Using uidmap without the nvidia hook works as expected.  Any thoughts much appreciated.

@garyedwards How do you make your rootless container work without uidmap? This is a little old and I haven't worked for it for some time, but I remember the issue being permissions, I think. Do you just change permissions on the whole file system to allow arbitrary user ids?

I think I modified no-cgroups = true in the config.toml file as per the below issue:
https://github.com/moby/moby/issues/38729#issuecomment-463493866

@kutschkem I am getting the same error while trying to run nvidia-container-runtime in rootless mode. Were you able to resolve this issue?

@animesh-bhadouria No, sorry.


chore: see if sed solves the issue

Could you got do github checkout PR, then use that to run kurtosis run . with assertoor test?


sdu:linkToTeacher

The interface changed for sdu:linkToTeacher. It previously allowed for a teacher's string alias to be passed, but now expects a teacher. This change wasn't intended and should be reverted to allow for correct use in the taglibs. See https://github.com/DanThrane/tekvideo.sdu.dk/blob/master/grails-app/taglib/dk/sdu/tekvideo/TeachingTagLib.groovy#L12

Contract was changed to require a teacher instance.


Add copy as a dependency of deploy

This ensures copy finishes before deploy starts, otherwise it deploys an empty folder

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

6
0
0
6

Vote Breakdown

User
Yes
No
Abstain

ags131
✔

tedivm
✔

Esryok
✔

anisoptera
✔

kasami
✔

daboross
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


Remove battery+ sensors

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
Is it possible to remove the battery+ sensors? I don't know what their function are, but I have an automation that gets all the battery stats and outputs only the batteries <20% and this causes two entities to be returned. The regular battery entity and the battery+ entity. Thank you!
Describe the solution you'd like
Battery+ entities removed
Describe alternatives you've considered
N/A
Additional context
N/A

The Battery+ sensor is designed to be a replacement for the original battery with additional attributes (battery type etc) helping to create better dashboards/notifications with them.  I won't be removing them from this integration.
Have you tried hiding the original battery in config and then excluding hidden sensors as per the config and template sample below, or you could filter those ending with Battery+
battery_notes:
  hide_battery: true

{{ states.sensor
  | selectattr('attributes.device_class', 'defined')
  | selectattr('attributes.device_class', 'eq', 'battery')
  | rejectattr('entity_id', 'is_hidden_entity')
  | map(attribute='attributes.friendly_name' )
  | list }}

Thank you @andrew-codechimp!


How to show contacts between two separate PDB files?

Hi Dr. Rose
I want to show the contacts between 2 PDB files instead of showing the inner bonds in each protein, how should I set the setting?
Thank you
Yekai

There's an example here: https://codepen.io/arose/pen/VQjBGq
You need to concat the two (or more) structures to make one component. NGL can only use atoms from a single component when creating a representation (component == PDB file in this case).

Nice example, thanks @fredludlow!

Many thanks @fredludlow !
But I am also wondering how to select specifically the the contacts between the two structures within the "concat" structure rather than all bonds in that structure. Should I set the "sele" attribute in it? And I saw the sele attribute in the example here is: sele: "/0 or /2". What does /0 or /2 mean?

When you concat files like that they get added as separate models, so in the example linked above the protein is model 0 and the various ligand poses in the sdf file are models 1 onwards. The /n simply specifies a model, so /0 or /2 means calculate all contacts between all atoms in "model 0 or 2" (the full selection syntax is here
You can then filter which contacts are displayed with filterSele. In that particular example if you add filterSele: "/2" to the contact parameters it will only display contacts that involve an atom in model 2.
This would still show intramolecular contacts in the ligand if they were present (I'm not sure there's a way to prevent that).
HTH!


Only register the panel if it is the active panel

Note: the value passed in to render  is an object with a key of ‘active’ set to true if the panel is active or false if not. Instead of rendering the panel every time any panel becomes active we only render it when this is the active panel.
From the docs:

Multiple addons can be loaded, but only a single panel can be shown, the render function will receive an active prop, which is true if the addon is shown. It is up to you to decide if this mean your component must be unmounted, or just visually hidden. This allows you to keep state but unmount expensive renderings.

Closes #7

This fixes the issue for me, good job!

@sps Sorry for the bump, but any chance of getting this merged?

Sorry for the delay, I’ll try and get this merged today

@taddei Thank you.

@taddei any idea when this will get merged in?

Sorry for being late with this, but here is the new version. Thanks for fixing it:
https://www.npmjs.com/package/storybook-styled-components/v/1.1.3


PackageReference assemblies not returned by GetReferences() for full framework projects

It seems that GetReferences() on ProjectAnalyzer doesn't return assemblies from NuGet packages if PackageReference is being used instead of packages.config. This causes compilation errors in Roslyn workspaces.
Interestingly this only seems to be a problem when the host is .NET Core. It works just fine when the host is .NET Framework. I added some tests in this commit that show this behaviour. I also see errors in the test output which are very similar to #29.

I suspect the problem here is that the NuGet targets that know how to handle PackageReference are only included with the .NET Core SDK. It's possible that Visual Studio does some magic to locate those targets even for classic .NET project files. I also see an interesting comment to the docs here:
PackageReference can be used with non-NETCore projects if the project system supports it--so the real answer depends on Unity itself. As for NuGet, it checks if the project supports VSProject4 to determine if it can read/write PackageReferences

This also suggests there's some kind of connection to the VS project system.
Are you able to submit your tests as a PR and I'll bring them in. Once we've got the failing tests merged we can take it from there.

Sure thing. Created #37.

Looks like this got worse. I'm now completely unable to use this library to load up a full framework solution which has project to project references. Not sure what changed, but I think it has to do with a recent Visual Studio update. Any progress on this issue?

Not with this issue specifically, but I'll be pushing a new release within the hour that addresses the broader problems you described. Recently, every time VS or the .NET Core SDK updates Buildalyzer breaks because the MSBuild APIs that it uses aren't compatible with the newest MSBuild stuff in the SDK.

Been chasing this down and I'm pretty sure at this point that the .NET Core SDK can't build legacy project files that use PackageReference (even though it can build legacy project files). The problem is a missing ResolveNugetPackageAssets target:

I've verified this by running dotnet build on the command line for the LegacyFrameworkProjectWithPackageReference test, and it fails to restore and reference the PackageReference too.
I'm going to attempt to identify this special case and revert to the framework build tools when it's encountered.

Going to close this as "won't fix" due to a limitation with MS Build: you simply can't build a legacy project file that uses PackageReference from a .NET Core host. It works under VS because VS can act as a .NET Framework host.


[3rd viz] create user story / spec for 3rd viz

Flowchart Sankey diagram

example
https://github.com/kdivringi/visx-rodeo/blob/main/src/Sankey.tsx

@aerinsol can you define the user story, or link one from the spreadsheet. IIRC it's about flow of boxes from one location to others, comparable to what was originally written here or in #878 .

Currently holding off on creation on Sankey or similar flow-based diagrams as we are awaiting more finalized input from @seinig .
Instead, the feature request will now be to create a pie chart similar to the sample shown here with a ranked list:
Backend @pylipp : Top Ranked Products given a Custom Time Frame.
Distribution: Showcase which were the top 5 product distributed (checked out) with 1) ranking and 2) total item numbers in that time frame frame.
Inventory - corresponds to user story 3.1: Showcase which were the top 5 products - with both 1) ranking and 2) total item numbers 3) with the option to filter/group by size - moved to DONATED state within that time frame; OR created during that time frame.
Front End @MaikNeubert : Create a pie chart that groups by product categories all items checked out within a specified time frame AND/OR all all items CREATED within a certain time frame. Simultaneously show next to it a ranked list of top items checkout / created during that time period.
Additional comment - @pylipp the cube that you created for the 2nd visualization should probably be updated to return ProductName and CategoryName, rather than ProductId and CategoryId - @MaikNeubert please state if you'd like to keep the current ID numbers instead of text strings for your purposes.

@aerinsol using ProductId and CategoryId is by intention. Using a star-like data format the corresponding names can be looked up in dimension tables as described in #950 .

@aerinsol regarding:

Inventory - corresponds to user story 3.1: Showcase which were the top 5 products - with both 1) ranking and 2) total item numbers 3) with the option to filter/group by size - moved to DONATED state within that time frame; OR created during that time frame.

How does shipment and transfer come into this when it is enabled? The thing is that boxes are never marked as donated if they are shipped.


Doctrine integration

I haven't found any previous discussions about this topic, so I start one here:
One thing that is missing from this gem (and we had it in capifony) is doctrine integration.
I have this basic list of doctrine tasks:
namespace :doctrine do
    namespace :schema do
        desc "Drop doctrine schema"
        task :drop do
            on roles(:app) do
                invoke "symfony:console", "doctrine:schema:drop", "--force"
            end
        end

        desc "Create doctrine schema"
        task :create do
            on roles(:app) do
                invoke "symfony:console", "doctrine:schema:create"
            end
        end
    end

    namespace :migrations do
        desc "Execute doctrine migrations"
        task :migrate do
            on roles(:app) do
                invoke "symfony:console", "doctrine:migrations:migrate", "--no-interaction"
            end
        end
    end

    namespace :fixtures do
        desc "Load doctrine fixtures"
        task :load do
            on roles(:app) do
                invoke "symfony:console", "doctrine:fixtures:load", "--no-interaction"
            end
        end
    end
end

I am aware of https://github.com/glooby/capistrano-symfony-doctrine, but I think it would be better to have it in the symfony package. Also, I propose the following improvements:

Support different entity managers
Roles and environment should be defined by the user when using the specific tasks in the configuration

What do you think?

hi @sagikazarmark.
I would rather keep this logic in the separate library, I would generally not recommend running anything other than migrations:migrate (and perhaps database:create) in a production environment. These commands end up being quite specific to each team's workflow.
If people are finding the doctrine library useful then perhaps we can add a link to the README?

Well, to be honest I had doubts as well about this.
One point though: doctrine commands, like drop, fixtures might make sense in dev env.
Let's see if I can come up with something.

I will add the migrate command to the documentation.


Branch Protection Impossible For New Repositories

Gitea version (or commit ref): 1.14.1
Git version: n/a
Operating system: n/a

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes (provide example URL)  any, really
[ ] No

Log gist:

Description
If I create a new repository, it is initially empty. In this case, I cannot set up branch protection, at least not via the UI.
Maybe templating could work around this?
...
Screenshots

I noticed that too while implementing #15629 but did not add that restriction there. At the moment you must select an existing branch to enable branch protection. As an empty repository does not have branches that tab is stripped. #2529 might want this too.

Fixed by #20825


"Long Term Debt" Missing for META ticker

The following fields are not coming in the Balance Sheet for some tickers like META:
Long Term Debt
Short Long Term Debt
I have upgraded yfinance to latest but the issue persists. How can we troubleshoot this?
Thanks,

Correct financials are now available in pre-release version 0.2.0rc4.


not working in latest safari

Working in latest chrome, but not in latest safari.
Might be possible that stylish is not compatible to safari anymore due to breaking changes.
macOS Sierra 10.12.4
Safari Version 10.1 (126<IP_ADDRESS>.34)

I'm on the same builds with
macOS Sierra 10.12.4
Safari Version 10.1 (126<IP_ADDRESS>.34)
and it works like a charm. On what Stylish version are you? I'm on 1.9.8
There are strange cases where the CSS doesn't seem to overwrite the default (1 of 100 times when I'm opening OLAT). But I'm not really sure if it's a problem of stylish or not.

Stylish is also on 1.9.8 on my side. Note that I've installed Stylish using the official safari extensions library.

Hi Rafael, I think I found out what causes the trouble with the settings in Safari. Try adding the following under «Applies to»
URL: https://lms.uzh.ch/dmz/
Does it work now?

Unfortunately not. But it makes sense that it won't change anything since the URL prefix https://lms.uzh.ch already includes the /dmz route
I've also included a screenshot in case you see something I don't.

Hmm strange... I added the last URL because OLAT is making some internal routing which stylish doesn't seem to apply always, which seems to be solved with the /dmz/ path. Under which URL are you trying to access the OLAT page?

Tried both olat.uzh.ch and lms.uzh.ch which redirect me to https://lms.uzh.ch/dmz

Interesting update regarding the topic. It seems that after I restarted the OS, the css works as expected. Clearing caches was apparently not enough!
Thanks again for your work.

Glad to hear that! For any improvements just fork and make a pull request, I'm open for every kind of enhancement!


Flexibility front end

This commit is the ETModel equivalent of https://github.com/quintel/etsource/pull/922
Unfortunately, the same issue occurs here: duplicate commits. @antw how can I fix this? Should I?

Closing this one, superseded by flex-front-end


[EMM-1532] Android agent must receive the polling frequency configuration changes

When the polling frequency is updated in the server, currently, it is not notified to the device until the device re-enrolls. This has to be changes so that based on server traffic, polling frequency values can be altered dynamically by an administrator.Reference: https://wso2.org/jira/browse/EMM-1532

Duplicate of https://github.com/wso2/product-iots/issues/558


After updating Arch to latest wlroots-git - external display errors

I ran an upgrade yesterday on my laptop to the latest wlroots-git and sway-git packages, and subsequently sway doesn't seem able to utilise all three displays I usually have connected to my laptop via a thunderbolt adapter.
Previous wlroots-git version : 0.7.0.r13.gb1b93c2c-1
New wlroots-git version : 0.8.1.r12.g02d664b3-1
Debug log is available here : https://gist.github.com/godeater/cc6a6514fca5428a5c03161d0f19c7cb
But some of the salient issues which leaped out at me when I read it were :

2019-10-17 15:37:05 - [EGL] command: eglGetPlatformDisplay, error: 0x300c, message: "EGL_BAD_PARAMETER error: In internal function: Additional INFO may be available
"
2019-10-17 15:37:05 - [EGL] command: eglGetPlatformDisplay, error: 0x300c, message: "EGL_BAD_PARAMETER error: In function eglGetPlatformDisplay(), unsupported EGL Platform
"

2019-10-17 15:37:05 - [backend/drm/atomic.c:56] eDP-1: Atomic commit failed (modeset): Invalid argument

2019-10-17 15:37:05 - [backend/drm/atomic.c:56] DP-1: Atomic commit failed (modeset): Invalid argument

and then later on again :

2019-10-17 15:37:05 - [backend/drm/drm.c:952] eDP-1: Retrying pageflip
2019-10-17 15:37:05 - [backend/drm/drm.c:503] Starting renderer on output 'eDP-1'
2019-10-17 15:37:05 - [backend/drm/atomic.c:56] eDP-1: Atomic commit failed (modeset): Invalid argument
2019-10-17 15:37:05 - [backend/drm/atomic.c:56] eDP-1: Atomic commit failed (pageflip): Invalid argument
2019-10-17 15:37:05 - [backend/drm/drm.c:952] DP-1: Retrying pageflip
2019-10-17 15:37:05 - [backend/drm/drm.c:503] Starting renderer on output 'DP-1'
2019-10-17 15:37:05 - [backend/drm/atomic.c:56] DP-1: Atomic commit failed (modeset): Invalid argument
2019-10-17 15:37:05 - [backend/drm/drm.c:952] eDP-1: Retrying pageflip
2019-10-17 15:37:05 - [backend/drm/drm.c:503] Starting renderer on output 'eDP-1'
2019-10-17 15:37:05 - [backend/drm/atomic.c:56] eDP-1: Atomic commit failed (modeset): Invalid argument
2019-10-17 15:37:05 - [backend/drm/atomic.c:56] DP-1: Atomic commit failed (pageflip): Invalid argument

Once sway has actually started, I'm left with a single working display (one of the external ones).
I've tried starting sway without the external monitors connected, and in that case, the built in display of the laptop works fine - so not really sure at all what's going on here!

same here...

Can you try this wlroots PR? https://github.com/swaywm/wlroots/pull/1870

tried, but gives a compile error
see attached log
log.txt

@ecocode what command are you using to rebuilt wlroots-git?

I used the PKGBUILD from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wlroots-git and modified the source git repo (on line 7) to yours.  Then ran makepkg -si.
I checked and the original repo does compile nicely.

yes of course I did !
I can confirm it compiles and works !
Thanks for your bugfix.  Awesome job!


LDAP users cannot access endpoint data

Bug description
LDAP imported users (from Aactive Directory), cannot see Stacks, Services, Containers, Volumes or Networks. The only section that works is Images. The users are given access to endpoint directly using manage access option. Either giving access to user directly or via imported LDAP group doesn't work.
Expected behavior
Imported LDAP users should be able to access all the resources that are part of the endpoint the administrator gave them access to.
Steps to reproduce the issue:
Steps to reproduce the behavior:

Deploy portainer using official deployment info (Swarm mode using composer)
Configure LDAP authentication (either simple bind, TLS or StartTLS)
Go to default "Primary" endpoint and using manage access give access to the user
login in portainer with the user (in home section he is able to see all the info about the primary endpoint, number of: stacks, services, containers, volumes and images)
click on the primary endpoint on the home page.
The user see can see the number of images inside swarm, but 0 of any other resource (stacks, containers, volumes, services or networks). No error shown in container log.

Technical details:

Portainer version: 1.20.2
Docker version (managed by Portainer): 18.09.03
Platform (windows/linux): linux
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): docker stack deploy --compose-file=portainer-agent-stack.yml portainer (default composer file on deployment instructions)
Browser: Chrome 73.0.3683.86

Hi there,
IF you login as an admin, and look at each of the pages (stacks, services, containers, volumes, networks, configs, secrets), take a look at the column “ownership”. If that says “administrators” then standard users will NOT be able to see the resource.
You can elevate your LDAP user to an admin (click on their user account in Portainer and mark them an admin), or change the access control to “public” so all users can see the resources.

This is not a bug and it is actually the normal behavior of the Portainer application.
All of the resources created outside of Portainer will be restricted to administrator users only, this is also the default policy when creating a resource inside Portainer.
When using LDAP authentication, newly created users will be assigned the regular user role on creation and thus will not be able to access any existing resources that are restricted to administrators.
As Neil stated, you'll need to assign the administrator role to each of these users.
We have an evolution request to allow a user to change the default ownership available in the app:
https://github.com/portainer/portainer/issues/685
And you can also expect a more robust approach from our next extension that is going to introduce advanced role based access control management.

Thank guys! It was a little confusing to me at first, but this explains everything.


removed lore from bashrc and get warnings?

i'm getting this warning on my bash everytime i run a script:
lore must be sourced into your shell before use; try 'source /home/ajeremias/.local/bin/lore' first
why? I added lore by adding this line to my .bashrc, which i removed now.
source /home/ajeremias/.local/bin/lore on

It looks like you saved your environment variables (specifically PROMPT_COMMAND) while lore was active.  Remove the { lore prompt;}; from that variable to uninstall completely.


Use in Nextjs

import rough from "roughjs/bundled/rough.esm"

import rough from "roughjs/bin/rough"

I need some help, thanks

Seems like you are having trouble loading es6 modules in next. Not sure how to configure that.
You can also try loading from roughjs/bundled/rough.cjs.js

AFAIK it's resolved in Next 12.

AFAIK it's resolved in Next 12.

Can you get it working? No luck here, even tried using next-transpile-modules.

AFAIK it's resolved in Next 12.

Can you get it working? No luck here, even tried using next-transpile-modules.

was able to achieve rough-like effect in next using the thi.ng geom-fuzz library 🤷♂

AFAIK it's resolved in Next 12.

Can you get it working? No luck here, even tried using next-transpile-modules.

was able to achieve rough-like effect in next using the thi.ng geom-fuzz library 🤷♂

Here is a simple example in Next:
import rough from "roughjs/bundled/rough.cjs.js";

export default function ComponentName() {
    useEffect(() => {
        let svg = document.getElementById('some-id');
        const rc = rough.svg(svg);
        let node = rc.circle(12, 12, 20);
        svg.appendChild(node);
    }, [])

    return <svg id='some-id' />
}

be sure to set height ad width for your <svg> element.

Is there a way to make it work with Typescript?


WordPress installation fails using --wp flag

Command:
ee site create example.com --wp
Log:
Running pre-update checks, please wait...
Setting up NGINX configuration 	[Done]
Setting up webroot 		[Done]
Downloading WordPress 		[Fail]
Oops Something went wrong !!
Calling cleanup actions ...
'ee_mysql_grant_host'

[ ] lsb_release -a

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.3 LTS
Release:	16.04
Codename:	xenial

[ ] ee -v

EasyEngine v3.7.4
Copyright (c) 2016 rtCamp Solutions Pvt. Ltd.

[ ] ee info

NGINX (1.10.3):

user                             www-data
worker_processes                 auto
worker_connections               4096
keepalive_timeout                30
fastcgi_read_timeout             300
client_max_body_size             100m
allow                            <IP_ADDRESS>

PHP (5.6.31-4):

user
expose_php                       Off
memory_limit                     128M
post_max_size                    100M
upload_max_filesize              100M
max_execution_time               300

Information about www.conf
ping.path                        /ping
pm.status_path                   /status
process_manager                  ondemand
pm.max_requests                  500
pm.max_children                  100
pm.start_servers                 20
pm.min_spare_servers             10
pm.max_spare_servers             30
request_terminate_timeout        300
xdebug.profiler_enable_trigger   off
listen                           <IP_ADDRESS>:9000

Information about debug.conf
ping.path                        /ping
pm.status_path                   /status
process_manager                  ondemand
pm.max_requests                  500
pm.max_children                  100
pm.start_servers                 20
pm.min_spare_servers             10
pm.max_spare_servers             30
request_terminate_timeout        300
xdebug.profiler_enable_trigger   on
listen                           <IP_ADDRESS>:9001

MySQL (10.1.26-MariaDB) on localhost:

port                             3306
wait_timeout                     600
interactive_timeout              28800
max_used_connections             2
datadir                          /var/lib/mysql/
socket                           /var/run/mysqld/mysqld.sock
my.cnf [PATH]                    /etc/mysql/conf.d/my.cnf

[ ] wp --allow-root --info

PHP binary:	/usr/bin/php7.0
PHP version:	7.0.23-1+ubuntu16.04.1+deb.sury.org+1
php.ini used:	/etc/php/7.0/cli/php.ini
WP-CLI root dir:	phar://wp-cli.phar
WP-CLI packages dir:
WP-CLI global config:
WP-CLI project config:
WP-CLI version:	0.24.1

Seems to be related to this:
https://github.com/wp-cli/wp-cli/issues/4370

Even I'm facing the same issue. For the same version.

There is a solution here: https://github.com/EasyEngine/easyengine/issues/932
Closing this issue.

@khromov , EasyEngine has published a blog post with 2 workarounds, please check here -
https://easyengine.io/blog/solution-couldnt-extract-wordpress-archive-error/

3rd solution may be to install php7 "ee stack install --php7", probably after that wp-cli seems to runs on php7, so the culprit here seems to be the default php installation by ee

@rjdp Seems that is the case with us! On all our server php7 is used so we did not run into the issue ourself.


Fix link in optimize-pdf.adoc for distiller preset options doc

Fix the URL.
The Ghostscript project has changed the URL for what the distiller preset options mean of “screen, ebook, printer, and prepress”.

Thanks!

Thanks!

My pleasure, thanks for maintaining such a great tool!


samples: adding imu sensor fusion example.

What do you think is the ideal .filter.ext_type and .unit.si_unit here?
Current options are:
/** Extended measurement types for STEP_MES_TYPE_ORIENTATION (8-bit). */
enum step_mes_ext_orientation {
	STEP_MES_EXT_TYPE_ORIENTATION_UNDEFINED        = 0, /**< Radian */
	STEP_MES_EXT_TYPE_ORIENTATION_ANG_MEASURE      = 1, /**< Radian or Degree */
	STEP_MES_EXT_TYPE_ORIENTATION_UNIT_QUATERNION  = 2,	/**< AKA versor */
};

Default is radians here, but I wonder if it isn't better to pick either unit quaternions (most flexible) or Euler angles in degrees (most understanable to 99% of people)?

I do think the best option would be the native way for processing, not for presenting, since STeP is a data pipeline, I think the best is to keep the most frequent unit for processing, which I think is radians for the most known fusion algorithms.
Since is STeP by design is intented to processing, not presenting, I would keep the radians there, what do you think of my rationale?

What do you think is the ideal .filter.ext_type and .unit.si_unit here?
Current options are:
/** Extended measurement types for STEP_MES_TYPE_ORIENTATION (8-bit). */
enum step_mes_ext_orientation {
	STEP_MES_EXT_TYPE_ORIENTATION_UNDEFINED        = 0, /**< Radian */
	STEP_MES_EXT_TYPE_ORIENTATION_ANG_MEASURE      = 1, /**< Radian or Degree */
	STEP_MES_EXT_TYPE_ORIENTATION_UNIT_QUATERNION  = 2,	/**< AKA versor */
};

Default is radians here, but I wonder if it isn't better to pick either unit quaternions (most flexible) or Euler angles in degrees (most understanable to 99% of people)?

I do think the best option would be the native way for processing, not for presenting, since STeP is a data pipeline, I think the best is to keep the most frequent unit for processing, which I think is radians for the most known fusion algorithms.
Since is STeP by design is intented to processing, not presenting, I would keep the radians there, what do you think of my rationale?

Sounds fine … I’m actually more curious if quats aren’t more common, though?

What do you think is the ideal .filter.ext_type and .unit.si_unit here?
Current options are:
/** Extended measurement types for STEP_MES_TYPE_ORIENTATION (8-bit). */
enum step_mes_ext_orientation {
	STEP_MES_EXT_TYPE_ORIENTATION_UNDEFINED        = 0, /**< Radian */
	STEP_MES_EXT_TYPE_ORIENTATION_ANG_MEASURE      = 1, /**< Radian or Degree */
	STEP_MES_EXT_TYPE_ORIENTATION_UNIT_QUATERNION  = 2,	/**< AKA versor */
};

Default is radians here, but I wonder if it isn't better to pick either unit quaternions (most flexible) or Euler angles in degrees (most understanable to 99% of people)?

I do think the best option would be the native way for processing, not for presenting, since STeP is a data pipeline, I think the best is to keep the most frequent unit for processing, which I think is radians for the most known fusion algorithms.
Since is STeP by design is intented to processing, not presenting, I would keep the radians there, what do you think of my rationale?

Sounds fine … I’m actually more curious if quats aren’t more common, though?

AFAIK even proprietary fusion libraries like Bosch BSX uses radians for processing, also the ROS. ROS2 moveit and its navigation stack use radians for the processing, the final result, on the other hand, is delivered in quaternions.

Had to remove magnetometer calibration code, since it is producing output matrices with NAN in its elements, even the values of the complimentary filter got better.
Wondering what would the reason, the magnetometer calibratioon (not the fast one) is even worse, since the code hangs inside of it, probably same problem of excessive stack usage leading to overflows.

@microbuilder PTAL

The stream command is useful, but would we capture CTRL+C or any sort of key input to stop the stream command and recover the shell prompt?

Added streaming timed command, since capturing a key would be unecessary extra complicated for this sample context.
Also corrected the PI controller, it seems I pushed wrong values in previous commits.

@microbuilder PTAL.


Labels for Goto not properly working

The following code runs in teal, but the language-server shows a syntax error.
local function foo()
	local arr = {1, 2, 3, 4}
	for _,i in ipairs(arr) do
		if i % 2 == 0 then
			goto continue
		end
		print(i)
		::continue::
		print("end loop", i)               -- LSP shows "syntax error, expected '='" here
	end
end

foo()

$ cyan run test.tl
1
end loop        1
end loop        2
3
end loop        3
end loop        4

Version: teal-language-server 0.0.5-1 - A language server for the Teal language installed via luarocks

Btw I'm really happy that someone continued working on the language-server as it really makes developing in teal much easier (some would even say without the language-server it's not even possible).
Also tbh usually I avoid labels and gotos so this is not that important to me, just saw it and though I'd report it so this is know and can eventually get fixed.

Oh yeah, this should be resolved in main, but a new version hasn't been released quite yet. The bug had to do with how teal-language-server handled trailing :'s, and the fix was to leave the code as-is before passing it to tl for analysis. (it's sort've discussed in #23)
Thanks for reporting! I'll plan to close this out when the new release it out.

Oh well, didn't find this when searching if this is a known bug. I'll probably wait for the new release then (as I said, this is not really a pressing issue for me).
Thanks for the fast fix ("response time": -1 month :smile:)


[TextField] Autocapitalize property ignored

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

Expected Behavior

In v0.x the Autocapitalize property would prevent mobile device keyboards from capitalizing the first letter - after upgrading to 1.x this does not seem to be the case
Current Behavior

The Autocapitalize property seems to do nothing to prevent (on mobile devices especially) the first letter entered into the Textfield from being automatically capitalized (the device keyboard will SHIFT automatically when the Textfield is selected)
I have tried every variant I can think of from autoCapitalize="none" (which is what I used in v0.x) to autoCapitalize="off" (which I've seen in various docs on the web) as well as writing the prop out all lowercase (which I believe is the raw html way to do it) and every variation in between.
Context

We use the textfield component for our login form - we have case-sensitive usernames which are often not capitalized. I would prefer not to have to revert to v0.x for this one case as this was a working feature and seems like it would be needed for v1.x as well.

Have you tried inputProps?
https://material-ui-next.com/demos/text-fields/#components
"You might also have noticed that some native HTML input properties are missing from the TextField component. This is on purpose. The component takes care of the most used properties, then it's up to the user to use the underlying component shown in the following demo. Still, you can use inputProps (and InputProps, InputLabelProps properties) if you want to avoid some boilerplate."

Sorry must have missed that little blurb - there is no direct example of inputProps being used, but I attempted <TextField inputProps={{autoCapitalize: 'none'}}/> (as well as all lowercase for the key and 'off' for the value) - does not seem to be making a difference.

@tonymckendry The solution to your problem is:
<TextField
  inputProps={{
    autoCapitalize: 'none',
  }}
/>

https://codesandbox.io/s/koykw4w8vo

@oliviertassinari - thank you. It turns out that the 3rd party keyboard I am using on my Android device (Swiftkey) is ignoring this rule, but the native Samsung Keyboard and the iOS keyboard are behaving as expected.

Hello All, I would like whatever the user enter in the TextField be transformed to uppercase ? Is there a way to do that with Material-UI components in React JS?

I dont know why this is marked as closed but it is still an issue

I dont know why this is marked as closed but it is still an issue

In case anyone else tries the same thing I did, note that InputProps (uppercase) is different than inputProps (lowercase).  You need inputProps so the attributes go to the input element, and not the Input component.
inputProps={{     autoCapitalize: 'none',   }}

Still an issue

'inputProps' and 'InputProps' are different.
You should use them seperately
inputProps={{               autoCapitalize: 'none',               autoCorrect: 'off',             }}             InputProps={{               endAdornment: (                 <InputAdornment position="end">                   @{myInfo.myInfo?.userInfo.academyId}                 </InputAdornment>               ),             }}

'inputProps' and 'InputProps' are different.
You should use them seperately
inputProps={{
              autoCapitalize: 'none',
              autoCorrect: 'off',
            }}
            InputProps={{
              endAdornment: (
                <InputAdornment position="end">
                  @{myInfo.myInfo?.userInfo.academyId}
                </InputAdornment>
              ),
            }}


Added Dashboard and learn page object model

Added Dashboard and learn page object model

Can one of the admins verify this patch?

[test]

Current coverage is 68.00% (diff: 100%)

Merging #506 into master will not change coverage

@@             master       #506   diff @@
==========================================
  Files            27         27
  Lines          1266       1266
  Methods         269        269
  Messages          0          0
  Branches        250        250
==========================================
  Hits            861        861
  Misses          405        405
  Partials          0          0

Powered by Codecov. Last update 05fab26...d1a8577

[test]


The verb passed to the [HelpVerbOption] is always either null or "help".

 Issue by otac0n
Wednesday Mar 23, 2016 at 23:14 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/298

Using version 1.9.71
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    /// <param name="args">The arguments passed on the command line.</param>
    public static void Main(string[] args)
    {
        var options = new Options();
        string verb = null;
        if (!Parser.Default.ParseArguments(args, options, (selectedVerb, opts) => { verb = selectedVerb; }))
        {
            Environment.Exit(Parser.DefaultExitCodeFail);
        }

        new Program().Main(verb, options);
    }

    /// <summary>
    /// Describes the options for <see cref="Program"/>.
    /// </summary>
    public class Options
    {
        /// <summary>
        /// Gets or sets the options for the <c>run</c> verb.
        /// </summary>
        [VerbOption("run", HelpText = "Runs the specified item.")]
        public RunOptions RunOptions { get; set; }

        /// <summary>
        /// Gets or sets the options for the <c>list</c> verb.
        /// </summary>
        [VerbOption("list", HelpText = "Lists the available items.")]
        public ListOptions ListOptions { get; set; }

        /// <summary>
        /// Generates help text for <see cref="Program"/>.
        /// </summary>
        /// <param name="verb">An optional verb.</param>
        /// <returns>The help text.</returns>
        [HelpVerbOption]
        public string Help(string verb) => HelpText.AutoBuild(this, verb);
    }

If I put a breakpoint in the Help(string verb) method, I can observe that the verb is either null or "help".  This is contrary to the wiki documentation.
I've tried with these options:
program
program help
program help run
program help list

 Comment by Kohlroulade
Friday Sep 16, 2016 at 08:38 GMT

This is because the system allways takes the very first argument as verb. As you can see within my new issue from 12th of Sept. I proposed a solution using the second item in the args-list if requesting the help.

 Comment by gianmarcorev
Wednesday May 25, 2016 at 12:02 GMT

I have the same problem, I'm trying to investigate


module 'hipscat.pixel_math' has no attribute 'compute_pixel_map'

Bug report
I am trying to use lsdb.from_dataframe() to crossmatch two dataframes. I am getting "AttributeError: module 'hipscat.pixel_math' has no attribute 'compute_pixel_map'" error message:

I am running lsdb 0.2.7, Python 3.12.
Code:
from astropy.table import Table
import lsdb

legacy = Table.read("sweep-000m005-005p000.fits") # downloaded from https://portal.nersc.gov/cfs/cosmo/data/legacysurvey/dr10/south/sweep/10.1/
names = [name for name in legacy.colnames if len(legacy[name].shape) <= 1]
legacy = legacy[names].to_pandas()

lsdb.from_dataframe(legacy, ra_column="RA", dec_column="DEC", margin_threshold=3600)

Before submitting
Please check the following:

[x] I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
[x] I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
[ ] If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.

@marixko thank you for the report! Just in case, could you please check if you have up-to-date hipscat and lsdb? Could you please run
pip uninstall lsdb hipscat
pip install lsdb

Sorry! This is my bad. I've just tagged lsdb v0.2.8 that contains the fix. This should propagate to pypi within the hour.

It is working flawlessly now, thank you! :smile: