Unable to import geemap.foliumap on Colab

I'm trying to run a colab script that worked a few weeks ago but am getting an error when trying to import foliumap. I pasted the full error below. I think it's an issue with plotly express but sharing as head's up and in case there's anything that can be done to resolve the issue.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-2-53b54501d514>](https://localhost:8080/#) in <module>()
----> 1 import geemap.foliumap as geemap

20 frames
[/usr/local/lib/python3.7/dist-packages/geemap/__init__.py](https://localhost:8080/#) in <module>()
     29     from .foliumap import *
     30 else:
---> 31     from .geemap import *
     32
     33     # if in_colab_shell():

[/usr/local/lib/python3.7/dist-packages/geemap/geemap.py](https://localhost:8080/#) in <module>()
     22 from .timelapse import *
     23 from .osm import *
---> 24 from .plot import *
     25 from . import examples
     26

[/usr/local/lib/python3.7/dist-packages/geemap/plot.py](https://localhost:8080/#) in <module>()
      1 import pandas as pd
----> 2 import plotly.express as px
      3
      4 from .common import *
      5

[/usr/local/lib/python3.7/dist-packages/plotly/express/__init__.py](https://localhost:8080/#) in <module>()
     13     )
     14
---> 15 from ._imshow import imshow
     16 from ._chart_types import (  # noqa: F401
     17     scatter,

[/usr/local/lib/python3.7/dist-packages/plotly/express/_imshow.py](https://localhost:8080/#) in <module>()
      9
     10 try:
---> 11     import xarray
     12
     13     xarray_imported = True

[/usr/local/lib/python3.7/dist-packages/xarray/__init__.py](https://localhost:8080/#) in <module>()
----> 1 from . import testing, tutorial, ufuncs
      2 from .backends.api import (
      3     load_dataarray,
      4     load_dataset,
      5     open_dataarray,

[/usr/local/lib/python3.7/dist-packages/xarray/tutorial.py](https://localhost:8080/#) in <module>()
     11 import numpy as np
     12
---> 13 from .backends.api import open_dataset as _open_dataset
     14 from .backends.rasterio_ import open_rasterio as _open_rasterio
     15 from .core.dataarray import DataArray

[/usr/local/lib/python3.7/dist-packages/xarray/backends/__init__.py](https://localhost:8080/#) in <module>()
      4 formats. They should not be used directly, but rather through Dataset objects.
      5 """
----> 6 from .cfgrib_ import CfGribDataStore
      7 from .common import AbstractDataStore, BackendArray, BackendEntrypoint
      8 from .file_manager import CachingFileManager, DummyFileManager, FileManager

[/usr/local/lib/python3.7/dist-packages/xarray/backends/cfgrib_.py](https://localhost:8080/#) in <module>()
     14     _normalize_path,
     15 )
---> 16 from .locks import SerializableLock, ensure_lock
     17 from .store import StoreBackendEntrypoint
     18

[/usr/local/lib/python3.7/dist-packages/xarray/backends/locks.py](https://localhost:8080/#) in <module>()
     11
     12 try:
---> 13     from dask.distributed import Lock as DistributedLock
     14 except ImportError:
     15     DistributedLock = None

[/usr/local/lib/python3.7/dist-packages/dask/distributed.py](https://localhost:8080/#) in <module>()
      1 # flake8: noqa
      2 try:
----> 3     from distributed import *
      4 except ImportError:
      5     msg = (

[/usr/local/lib/python3.7/dist-packages/distributed/__init__.py](https://localhost:8080/#) in <module>()
      3 from . import config
      4 from dask.config import config
----> 5 from .actor import Actor, ActorFuture
      6 from .core import connect, rpc
      7 from .deploy import LocalCluster, Adaptive

[/usr/local/lib/python3.7/dist-packages/distributed/actor.py](https://localhost:8080/#) in <module>()
      2 import functools
      3
----> 4 from .client import Future, default_client
      5 from .compatibility import get_thread_identity, Queue
      6 from .protocol import to_serialize

[/usr/local/lib/python3.7/dist-packages/distributed/client.py](https://localhost:8080/#) in <module>()
     42 from tornado.queues import Queue
     43
---> 44 from .batched import BatchedSend
     45 from .utils_comm import (WrappedKey, unpack_remotedata, pack_data,
     46                          scatter_to_workers, gather_from_workers)

[/usr/local/lib/python3.7/dist-packages/distributed/batched.py](https://localhost:8080/#) in <module>()
      8 from tornado.ioloop import IOLoop
      9
---> 10 from .core import CommClosedError
     11 from .utils import parse_timedelta
     12

[/usr/local/lib/python3.7/dist-packages/distributed/core.py](https://localhost:8080/#) in <module>()
     18
     19 from .compatibility import get_thread_identity
---> 20 from .comm import (connect, listen, CommClosedError,
     21                    normalize_address,
     22                    unparse_host_port, get_address_host_port)

[/usr/local/lib/python3.7/dist-packages/distributed/comm/__init__.py](https://localhost:8080/#) in <module>()
     15
     16
---> 17 _register_transports()

[/usr/local/lib/python3.7/dist-packages/distributed/comm/__init__.py](https://localhost:8080/#) in _register_transports()
     12 def _register_transports():
     13     from . import inproc
---> 14     from . import tcp
     15
     16

[/usr/local/lib/python3.7/dist-packages/distributed/comm/tcp.py](https://localhost:8080/#) in <module>()
     17 import tornado
     18 from tornado import gen, netutil
---> 19 from tornado.iostream import StreamClosedError, IOStream
     20 from tornado.tcpclient import TCPClient
     21 from tornado.tcpserver import TCPServer

[/usr/local/lib/python3.7/dist-packages/tornado/iostream.py](https://localhost:8080/#) in <module>()
    207
    208
--> 209 class BaseIOStream(object):
    210     """A utility class to write to and read from a non-blocking file or socket.
    211

[/usr/local/lib/python3.7/dist-packages/tornado/iostream.py](https://localhost:8080/#) in BaseIOStream()
    283         self._closed = False
    284
--> 285     def fileno(self) -> Union[int, ioloop._Selectable]:
    286         """Returns the file descriptor for this stream."""
    287         raise NotImplementedError()

AttributeError: module 'tornado.ioloop' has no attribute '_Selectable'

Thanks for reporting. For the time being, I would suggest you use the ipyleaflet backend. I will look into the folium backend later. You can also install an older version of geemap if you want to stick with folium.

Thanks for the quick reply. I just noticed that import geemap as geemap isn't working as well because of the same error. Hope the below is useful.
I just tried using an older version of geemap and all is working well - thanks for the suggestion.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-15-c13965b956f7>](https://localhost:8080/#) in <module>()
----> 1 import geemap as geemap

20 frames
[/usr/local/lib/python3.7/dist-packages/geemap/__init__.py](https://localhost:8080/#) in <module>()
     29     from .foliumap import *
     30 else:
---> 31     from .geemap import *
     32
     33     # if in_colab_shell():

[/usr/local/lib/python3.7/dist-packages/geemap/geemap.py](https://localhost:8080/#) in <module>()
     22 from .timelapse import *
     23 from .osm import *
---> 24 from .plot import *
     25 from . import examples
     26

[/usr/local/lib/python3.7/dist-packages/geemap/plot.py](https://localhost:8080/#) in <module>()
      1 import pandas as pd
----> 2 import plotly.express as px
      3
      4 from .common import *
      5

[/usr/local/lib/python3.7/dist-packages/plotly/express/__init__.py](https://localhost:8080/#) in <module>()
     13     )
     14
---> 15 from ._imshow import imshow
     16 from ._chart_types import (  # noqa: F401
     17     scatter,

[/usr/local/lib/python3.7/dist-packages/plotly/express/_imshow.py](https://localhost:8080/#) in <module>()
      9
     10 try:
---> 11     import xarray
     12
     13     xarray_imported = True

[/usr/local/lib/python3.7/dist-packages/xarray/__init__.py](https://localhost:8080/#) in <module>()
----> 1 from . import testing, tutorial, ufuncs
      2 from .backends.api import (
      3     load_dataarray,
      4     load_dataset,
      5     open_dataarray,

[/usr/local/lib/python3.7/dist-packages/xarray/tutorial.py](https://localhost:8080/#) in <module>()
     11 import numpy as np
     12
---> 13 from .backends.api import open_dataset as _open_dataset
     14 from .backends.rasterio_ import open_rasterio as _open_rasterio
     15 from .core.dataarray import DataArray

[/usr/local/lib/python3.7/dist-packages/xarray/backends/__init__.py](https://localhost:8080/#) in <module>()
      4 formats. They should not be used directly, but rather through Dataset objects.
      5 """
----> 6 from .cfgrib_ import CfGribDataStore
      7 from .common import AbstractDataStore, BackendArray, BackendEntrypoint
      8 from .file_manager import CachingFileManager, DummyFileManager, FileManager

[/usr/local/lib/python3.7/dist-packages/xarray/backends/cfgrib_.py](https://localhost:8080/#) in <module>()
     14     _normalize_path,
     15 )
---> 16 from .locks import SerializableLock, ensure_lock
     17 from .store import StoreBackendEntrypoint
     18

[/usr/local/lib/python3.7/dist-packages/xarray/backends/locks.py](https://localhost:8080/#) in <module>()
     11
     12 try:
---> 13     from dask.distributed import Lock as DistributedLock
     14 except ImportError:
     15     DistributedLock = None

[/usr/local/lib/python3.7/dist-packages/dask/distributed.py](https://localhost:8080/#) in <module>()
      1 # flake8: noqa
      2 try:
----> 3     from distributed import *
      4 except ImportError:
      5     msg = (

[/usr/local/lib/python3.7/dist-packages/distributed/__init__.py](https://localhost:8080/#) in <module>()
      3 from . import config
      4 from dask.config import config
----> 5 from .actor import Actor, ActorFuture
      6 from .core import connect, rpc
      7 from .deploy import LocalCluster, Adaptive

[/usr/local/lib/python3.7/dist-packages/distributed/actor.py](https://localhost:8080/#) in <module>()
      2 import functools
      3
----> 4 from .client import Future, default_client
      5 from .compatibility import get_thread_identity, Queue
      6 from .protocol import to_serialize

[/usr/local/lib/python3.7/dist-packages/distributed/client.py](https://localhost:8080/#) in <module>()
     42 from tornado.queues import Queue
     43
---> 44 from .batched import BatchedSend
     45 from .utils_comm import (WrappedKey, unpack_remotedata, pack_data,
     46                          scatter_to_workers, gather_from_workers)

[/usr/local/lib/python3.7/dist-packages/distributed/batched.py](https://localhost:8080/#) in <module>()
      8 from tornado.ioloop import IOLoop
      9
---> 10 from .core import CommClosedError
     11 from .utils import parse_timedelta
     12

[/usr/local/lib/python3.7/dist-packages/distributed/core.py](https://localhost:8080/#) in <module>()
     18
     19 from .compatibility import get_thread_identity
---> 20 from .comm import (connect, listen, CommClosedError,
     21                    normalize_address,
     22                    unparse_host_port, get_address_host_port)

[/usr/local/lib/python3.7/dist-packages/distributed/comm/__init__.py](https://localhost:8080/#) in <module>()
     15
     16
---> 17 _register_transports()

[/usr/local/lib/python3.7/dist-packages/distributed/comm/__init__.py](https://localhost:8080/#) in _register_transports()
     12 def _register_transports():
     13     from . import inproc
---> 14     from . import tcp
     15
     16

I just tested it and everything works fine on my end. Could you try the following link to create a fresh notebook to install geemap? Your Colab Python interpreter path is /usr/local/lib/python3.7/, which is different from mine /usr/local/bin/python. You notebook might be tied to an older version of Python.
https://colab.research.google.com/notebooks/empty.ipynb

I think you just need to restart the runtime after installing geemap. Everything should work just fine.
Runtime -> Restart runtime.

A new version has been released. It should now work with Colab even if you don't restart the runtime after installation.

geemap ver 0.17.1 on colab
/usr/local/lib/python3.7/dist-packages/tornado/iostream.py in BaseIOStream()
283         self._closed = False
284
--> 285     def fileno(self) -> Union[int, ioloop._Selectable]:
286         """Returns the file descriptor for this stream."""
287         raise NotImplementedError()
AttributeError: module 'tornado.ioloop' has no attribute '_Selectable'

Make sure you restart the runtime after installation.

ImportError: cannot import name 'ui' from 'collections' (/usr/lib/python3.10/collections/init.py)
how to resolve this


Fix incorrect error for variable

Without the underscore, vim marks "${some_var}" as having an error from the underscore to the closing brace }

Just saw the syntax fix readme. Closing to contact the sh.vim maintainer

On Tuesday, November 10, 2015 at 10:13:43 AM UTC-8, Kyel Woodard wrote:

Closed #474.
—
Reply to this email directly or view it on GitHub.

Sent to<EMAIL_ADDRESS>as listed in the top of sh.vim: https://github.com/vim/vim/blob/master/runtime/syntax/sh.vim#L3
But received "Domain not found"


[terra-form-select] Fixed IE issue that required two clicks to open the dropdown menu after initial selection.

Summary
Fixes #2648

@emilyrohrbough

Can you describe the tests to test these changes?

If you're talking about the steps to functionally verify on the deployed page, then following the steps mentioned here on IE should do.

Which of our current test are validating this behavior is being tested?

I did not see any but I have added one. However, this test might come handy when IE tests are run (probably in the future).


Cursor FFI

Similar to #58
TableRowVector defined in ffi package, not core library. We might want to move that.

Similar to #58 TableRowVector defined in ffi package, not core library. We might want to move that.

The TableRowVector isn't going to be used in core library (Rust can just use Vec<TableRow>) so it is defined in the c ffi


Refactor/simplify Select component

As a designer...
I want the Select component to use subcomponents in the same way as other form components...
so it's more predictable and understandable.
Acceptance criteria

User can edit Label text using nested properties
User can change select state using nested properties
User can't reach state of invalid combination of properties

Done when

[x] EN Component is merged into main
[x] EN Component is published
[ ] FR updates are handed off to FR maintainer

still in porgress

merging into main branch today
@RavinaSamaroo to take over french
@realdylanzheng and @SmartMouthWords to make a decision on how to proceed next

@SmartMouthWords to approve content change of hint text first. The change is from 'Hint / Example message.' to 'Hint text'.

Same with this one, looks good and ready to close @RavinaSamaroo


Using theme variables from getTheme and connectStyle

Question: Is it possble to have a component use the variables that are injected into:
<StyleProvider style={getTheme(material)}>
    <App>
</StyleProvider>

As far as I can tell, connectStyle only allows you to add variables to your theme, it does not allow access to existing ones.
For example if my app looks like so:
<StyleProvider style={getTheme(material)}>
    <App>
</StyleProvider>

I want to be able to pull out the brandPrimary variable from our material injected theme like so:
<App>
    <Text style={this.props.style.brandPrimary>
         Some Text
    </Text>
</App>

export const connectStyle('NativeBase.Theme', {})(App);

Anyone know if this is possible?

I am starting to suspect that the only way to do it is to stash a copy that you can access somewhere (for example in a Redux store) and then pull that copy out separately to anything in native-base.
I'd really rather that there was a way to access and pass down the variables for reuse when using connectStyle. It's not really a problem if you only use a single theme (just import the variable file wherever you need it), but if you want to support switching themes I think you'll need to save the selected theme's variables somewhere for reuse.

Is there a solution to this? We followed the guide for a custom component, but now we want those styles to be overwritten by a variables.js file. Any hint or is this just not possible?

Also struggling with this. Connect should make the variables variable available. It would be a good idea to grab some ideas from react material-ui (web) library, they made an outstanding way to customize your theme while providing features to easily switch them.


[#155714213] Creates legalese payload definition in internal API spec

Description
Creates a legalese payload definition in our internal API swagger spec file. This will be used for ferrying info about signed legal forms.
Reviewer Notes
user_id is something we also care about, but that should be taken from the authentication token in the handler that consumes this data.
move_id, being the ID of the move that the user is signing for, is something I expect we'll get from the URL routing, e.g. POSTing to /api/v1/:move_id:/legalese
Verification Steps

[ ] All tests pass

References

Pivotal story for this change

This doesn't include the move id in the url as it needs to.


UninitializedFunctionPointerInConstructor on pausable token

💻 Environment
latest OpenZeppelin pausable token , solidity 0.5.0
📝 Details
I using openzeppelin pausable token with out modify, and i verify contract on ehterscan, and etherscan said solc bug's on my code.

and i want to know about where is occurring
https://etherscan.io/solcbuginfo?a=UninitializedFunctionPointerInConstructor
this bug on pausable token code.

Hello @cokia, thanks for reporting this!
I think that warning only refers to the fact that the contract could be vulnerable to that bug because of the Solidity version it was compiled with, not because of the code itself.
ERC20Pausable only has internal function calls in PauserRole's constructor, but there are no function pointers involved, so I don't see how we could run into that bug. And in any case, our test suite would've probably caught such a scenario if it occured, so I think that's a false-positive.

thanks for your comment 👍


The '$msCompile' problem matcher does not match an error

Terminal reports that my solution has errors, but I dont see it inside problems tab.
Sample of error: d:\pew!pew#\pew.resx : error MSB3103: Invalid Resx file. Could not find file 'd:\pew!pew'. [d:\pew!pew#\pew.csproj]

VSCode Version: 1.16.1
OS Version: Windows 10 Home x64
C# project (.Net Core 2)

Steps to Reproduce:

Open VS Code
Open any folder.
Open terminal.
dotnet new classlib
Modify *.csproj and add reference to missing file:

<ItemGroup>
  <Compile Include="dhsajkdsk" />
</ItemGroup>

Build

Reproduces without extensions: Yes

@sys27 Did you try logging this issue in the repo for the extension that is reporting the errors first?

@ramya-rao-a no.
Do you mean to OmniSharp? But it is reproducible without extensions.
And also VS Code repo contains $msCompile matcher regexp: problemMatcher.ts

Ah, sorry my bad

The current msCompile problem matcher requires a location (line, column) in the error message. The workbench currently has no support for file errors.
@jrieken any advice how to best create a file error. Should we use 0,0 as the location?

The workbench currently has no support for file errors. @jrieken any advice how to best create a file error. Should we use 0,0 as the location?

Yes, sound like a winner. Tho we do try to map it the first word when opening the file

I'm seeing a related issue:

If I click on that line (which is in the .csproj instead of the .cs file - weird), I get this error:

The error is actually on line 540 of Connection.cs.  Somehow, it is getting the csproj file and source code file mixed up.  :-(

Looks like dotnet (MSBuild) is no longer outputting full paths but relative paths but is instead spitting out source code paths relative to the project path.  Fortunately it provides the full path to the project file.  Sigh...
21:71ms> dotnet publish --output c:\Users\Keith\GitHub\rkeithhill\PowerShell\debug --configuration Debug --framework net
coreapp2.0 --runtime win7-x64
Microsoft (R) Build Engine version <IP_ADDRESS>001 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.

  Microsoft.PowerShell.CoreCLR.Eventing -> C:\Users\Keith\GitHub\rkeithhill\PowerShell\src\Microsoft.PowerShell.CoreCLR.Eventing\bin\Debug\netcoreapp2.0\win7-x64\Microsoft.PowerShell.CoreCLR.Eventing.dll
  Microsoft.PowerShell.CoreCLR.Eventing -> c:\Users\Keith\GitHub\rkeithhill\PowerShell\debug\
  Microsoft.PowerShell.CoreCLR.Eventing -> C:\Users\Keith\GitHub\rkeithhill\PowerShell\src\Microsoft.PowerShell.CoreCLR.Eventing\bin\Debug\netcoreapp2.0\Microsoft.PowerShell.CoreCLR.Eventing.dll
  Microsoft.WSMan.Runtime -> C:\Users\Keith\GitHub\rkeithhill\PowerShell\src\Microsoft.WSMan.Runtime\bin\Debug\netcoreapp2.0\win7-x64\Microsoft.WSMan.Runtime.dll
  Microsoft.WSMan.Runtime -> C:\Users\Keith\GitHub\rkeithhill\PowerShell\src\Microsoft.WSMan.Runtime\bin\Debug\netcoreapp2.0\Microsoft.WSMan.Runtime.dll
  Microsoft.WSMan.Runtime -> c:\Users\Keith\GitHub\rkeithhill\PowerShell\debug\
engine\hostifaces\Connection.cs(540,75): error CS0117: 'RunspaceStrings' does not contain a definition for 'PrimaryRunspaceAlreadySet' [C:\Users\Keith\GitHub\rkeithhill\PowerShell\src\System.Management.Automation\System.Management.Automation.csproj]

The path to the file is C:\Users\Keith\GitHub\rkeithhill\PowerShell\src\System.Management.Automation\engine\hostifaces\Connection.cs

@rkeithhill the advice here is to start msbuild with /property:GenerateFullPaths=true The problem is that with nested projects the pathes are relative the project file hence tracking them relative is quite combersome

That works. Thanks!

just to add the problem matcher doesn't match when the compiler reports a fatal error. I added an additional problem matcher just for the fatal error case.

@graph can you provide me with some sample of these fatal errors. Then I can tweak the regualer expression to match them.

See this post they look like this https://github.com/Microsoft/vscode/issues/34660#issuecomment-418032598
wordcount.cpp(57) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"

I already fixed all from my project. I don't remember how to trigger them. I have something like this to catch the fatal errors too
                    "pattern": {
                        "regexp": "^(\\..*)\\((\\d+)\\):[^:]*(warning|error) (.*)$",
                        "file": 1,
                        "line": 2,
                        "severity": 3,
                        "message": 4
                    }

I have 2 patterns setup one for relative and one for absolute.

I'm also seeing "fatal error" lines not being matched by the $mscompile matcher. On 0.19.0

Here is my problem:
VSCode/Ubuntu,
Version: 1.39.2
Commit: 6ab598523be7a800d7f3eb4d92d7ab9a66069390
Date: 2019-10-15T15:33:40.634Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-30-generic
Output and Problems tabs:
CodeFile.cs(62,23): warning CA2007: Consider calling ConfigureAwait on the awaited task [/home/me/Projects/xxx/xxxLib/xxxLib.csproj]
Clicking on this line in Problems tab results with opening xxxLib.csproj file, not CodeFile.cs, as I'd expect

The original issue is not nicely solvable with the current problem matcher system. I recommend adding your own problem matcher to your local build task to handle this. Something like:
{
			regexp: /^(.*)? : (error|warning|info)\s(.+\d+):\s(.+)\s\[(.+)\]$/,
			kind: ProblemLocationKind.Location,
			file: 5,
			code: 3,
			message: 4
		}

duplicate of https://github.com/microsoft/vscode/issues/59337


[Request] Multrin

https://github.com/sentialx/multrin
https://github.com/sentialx/multrin/releases/tag/v0.3.1

See https://github.com/lukesampson/scoop-extras/pull/2208

Fixed with lukesampson/scoop-extras@ef891b8f0139517c9008c14465b05ccafe0f24ad


Formatting makes <></> fragment dissapear

  <>foo</>

Turns into

  foo

I'll look at this and the other JSX issues after my new object syntax PR lands. This is most likely an issue with the "pretty" printer.

I would expect this one to preserve the <></> which would cause it to be interpreted as [[foo]] (a list with a single item, that is itself a list containing foo).

I'm working on this!


MudAutocomplete: Add virtualization

Added MudAutocomplete virtualization in form like #1847
Description
Partially resolves the performance issues #2301 #3755 (but for MudAutocomplete instead of MudSelect)
How Has This Been Tested?
I have no idea what unit or visually tests need to be added for this feature.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

Hi, @just-the-benno
In fact, the need for virtualization for Autocomplete is due to a practical need that I encountered.
Specifically, in my case, when creating an entity, I first need to select a specific organization for it among the 1000 organizations that are displayed in Autocomplete. And I would like to be able to both select them and enter them into the input field.

Just to make sure, did you set the MaxItems of your Autocomplete to something like 100 or 1000?  So your layout looks comparable to this one?
        <MudAutocomplete MaxItems="1000"  T="YourType" Label="Select something" @bind-Value=_yourValue" SearchFunc="@YourSeachFunc" />

And your users are navigated - scrolling or with the keyboard through - these 1000 items in an autocomplete? I'm asking because I have never seen an autocomplete in any app with more than a few items. I would go as far to say that this is the purpose of an autocomplete to offer the most likely items based on input.

Yep, its look like this. But without virtualization, the list of items takes a very long time to load when scrolling.
With virtualization something like this:

Yes, the users scroll through a large number of items sorted by name, so it doesn't make it difficult for them to choose. They don't select multiple items, just one.

I had some time to think about it. I was very hesitant based on the way I use this component. And that is a very limited view. :) However, there are legitimate reasons to have many items and select the. Your PR doesn't increase the complexity. So, I'm happy to accept your PR once it has test(s) in place.
Have you tested the effect of MudVirtualize on keyboard navigation? Can you still navigate through the items with ArrowUp and ArrowDown?

Hi @unchase
Any news?

I had some time to think about it. I was very hesitant based on the way I use this component. And that is a very limited view. :) However, there are legitimate reasons to have many items in the "select" part of the autocomplete. Your PR doesn't increase the complexity. So, I'm happy to accept your PR once it has test(s) in place.
Have you tested the effect of MudVirtualize on keyboard navigation? Can you still navigate through the items with ArrowUp and ArrowDown?

There is an issue with keyboard navigation. After a few clicks, it starts jumping through the elements. But I don't know how to solve this issue.

Hi @unchase
Any news?

Hi. Sorry for delay. Could you suggest what else needs to be done to add the functionality?


Prototype a new protocol upload experience

Overview
Define the mechanism and conditions required for the robot to record the fact that a specific protocol has been successfully “slow simmed”. Make this status available to external entities (run app) for use in user-facing experiences.
Prototype experiences where:

Simulation is optional.
A protocol must pass simulation once before running.
Upload uses an analyze stop (formerly known as "fast sim") to create run log and equipment requirements.

Acceptance criteria:

A "new" (to the robot) always executes both fast and slow sim, as is the case now.
A previously uploaded, and not-changed-since protocol can optionally skip slow sim.
The robot reports back (via RPC or http) the status of slow sim (run, not run, not required but run anyway, etc)
Upload uses an analyze stop (formerly known as "fast sim") to create run log and equipment requirements.

Closing due to different route taken w/ "fast sim" work.


fix(integrations): make defineLayout auto-importable

This is a follow up for the https://github.com/hybridly/hybridly/commit/836d72a

Good catch, thanks!


Support for Multiple scoring Metrics in OptunaSearchCV (similar to GridSearchCV)

Motivation
Currently, OptunaSearchCV only supports a single scoring metric, either a string or a callable. This limitation makes it challenging to evaluate models using multiple evaluation metrics simultaneously, which is a common requirement in complex machine learning tasks.
In contrast, GridSearchCV supports multiple scoring metrics by allowing a dictionary, list, or tuple as input for the scoring parameter. This flexibility is particularly useful for tasks where multiple metrics must be considered (e.g., accuracy and f1_macro for imbalanced classification problems).
Providing support for multiple scoring metrics in OptunaSearchCV would make it a more versatile tool for hyperparameter optimization and align its functionality more closely with GridSearchCV.
Description
I propose extending OptunaSearchCV to support multiple scoring metrics, following the approach used in GridSearchCV.
Key Features:

Enhanced scoring parameter:
Allow scoring to accept:

A dictionary with metric names as keys and callables as values.
A list or tuple of unique metric names.
A callable returning a dictionary where keys are metric names and values are metric scores.

Refit behavior:
Add a refit parameter to specify which metric should be used to select the best hyperparameters. This should mirror the behavior of GridSearchCV (e.g., refit="accuracy").

Comprehensive results:
Include all specified scoring metrics in the cv_results_ attribute to provide a detailed evaluation of model performance for each metric.

Example Usage:
from sklearn.svm import SVC
from sklearn.datasets import load_iris
from sklearn.metrics import make_scorer, f1_score

# Load dataset
X, y = load_iris(return_X_y=True)

# Define model
clf = SVC()

# Define hyperparameter search space
param_distributions = {
    "C": [0.1, 1, 10],
    "kernel": ["linear", "rbf"]
}

# Define multiple scoring metrics
scoring = {
    "accuracy": "accuracy",
    "f1_macro": make_scorer(f1_score, average="macro"),
}

# OptunaSearchCV with multiple scoring metrics
optuna_search = OptunaSearchCV(
    estimator=clf,
    param_distributions=param_distributions,
    scoring=scoring,
    refit="accuracy",  # Use accuracy to select the best parameters
    cv=3,
)

# Fit the model
optuna_search.fit(X, y)

# Print results
print("Best parameters:", optuna_search.best_params_)
print("Best score:", optuna_search.best_score_)

Alternatives (optional)
No response
Additional context (optional)
I propose this feature because allowing multiple scoring metrics in OptunaSearchCV would make it easier to implement evaluation methods such as Tibshirani-Tibshirani and BBC-CV.

Here is my previous attempt: https://github.com/optuna/optuna/pull/4340


Created a bash script to lookup the material insiders latest version

Added a github action to do that automatically with a pull request.
Fixes #1094
To run it locally:

Checkout branch materials-insider-auto-update
Run script ./.config/mkdocs/check-material-insiders-version.sh (if needed make sure it has user executable permission).
Confirm it installs a newer version of mkdocs-material theme.

📚 Documentation preview 📚: https://civicactions-handbook--1405.org.readthedocs.build/en/1405/

@grugnog do you want to review my solution and let me know what do you think? Any pitfalls? I need to more testing on the github action but the bash script is working.

@grugnog do you want to review my solution and let me know what do you think? Any pitfalls? I need to more testing on the github action but the bash script is working.

@TheBoatyMcBoatFace if you have to time to review the logic.

@dmundra this looks good - did we determine that we can't use Dependabot here? It does support private repos, but I don't recall if it can work off just tags/releases (since insiders doesn't make actual packages)?

@dmundra this looks good - did we determine that we can't use Dependabot here? It does support private repos, but I don't recall if it can work off just tags/releases (since insiders doesn't make actual packages)?

I looked at dependabot and found this https://github.com/dependabot/dependabot-core/issues/6147 open issue. Seems the issue is that, 'Dependabot does not currently support updating VCS dependencies'


PEP8 - Code Consistency

PEP8 is one of the strongest strengths of an open-source library - consistent, universal formatting.
Currently, very few files pass PEP8. There are 113 violations.
Edit: Additionally, it's typically considered a negative to litter your files with __author__ and the likes. Especially if you're accepting contributions, this is needless maintenance and cruft. Just keep it in your setup.py and zerotest/__ini__.py.

OK, I'll add contributors section to README and reference to github contributors graph.

@jjyr This should be reopened, definitely not resolved. Still 107 PEP8 violations.


Fix mysensors sensor types

Description:

Remove sprinkler and water leak from sensor types. These two are
supported by binary sensor.

Checklist:

[x] Local tests with tox ran successfully.
[ ] No CI failures. Your PR cannot be merged unless CI is green!
[x] Fork is up to date and was rebased on the dev branch before creating the PR.
If code communicates with devices:

[ ] 3rd party library/libraries for communication is/are added as dependencies via the REQUIREMENTS variable (example).
[ ] 3rd party dependencies are imported inside functions that use them (example).
[ ] requirements_all.txt is up-to-date, script/gen_requirements_all.py ran and the updated file is included in the PR.
[ ] New files were added to .coveragerc.

If the code does not depend on external Python module:

[ ] Tests to verify that the code works are included.

[ ] Commits will be squashed when the PR is ready to be merged.

+1


Helm chart: add template for fluentbit's output plugin of OpenSearch

Is your feature request related to a problem? Please describe.
We already integrated OpenSearch plugin in fluent-bit (https://github.com/fluent/fluent-operator/pull/298), but missing a helm template about fluentbit's output plugin of OpenSearch, so I think we should add it like ElasticSearch (https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/templates/fluentbit-output-elasticsearch.yaml)
Describe the solution you'd like
Add helm template about fluentbit's output plugin of OpenSearch like ElasticSearch (https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/templates/fluentbit-output-elasticsearch.yaml)
Describe alternatives you've considered
None
Additional context
No response

Completed #329


[Bug]: Ollama temperature parameter bug

What happened?
I was using remote ollama as backend. And when I changed the temperature to zero, I could still get different output every time.
Version check

[X] Yes I was.

Relevant log output
No response
Relevant screenshots (optional)
No response

I believe Ollama uses GGUF quants, and even with temperature at 0 they are not fully deterministic


Spams errors in console on world change, and sometimes doesnt keep inventories separate

console https://pastebin.com/fusmmMx0
plugin loads fine
sometimes works fine
but most times it doesn't keep inventories separate (testing on same worlds)

For starters, you are using the wrong PWI version for that server version. You need to be using the legacy jar from the Github Releases page on server versions older than 1.13.


To support to another backend for archiving

Current Archive class uses swiftclient for archiving from Kafka to object store. It needs to be investigated to see if swiftclient can talk to HCP.

We may switch to another Archive class here? The Archive class only has two apis: latest and save.


feature (TCOMP-336) : split comp and definition registry

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
Only Component and Wizard have the ability to provide an image.
What is the new behavior?
We need datastore and dataset to provide that too, see daikon PR : https://github.com/Talend/daikon/pull/79
Also the definition registry has been split from Component service.
Does this PR introduce a breaking change?

[x] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
The method ComponentService.getDefinitionsByType() has been removed but this has no impact because this was not used externally (by the Studio)
Other information:

Pull request test result: success :star:

Pull request test result: success :star:

Pull request test result: success :star:


Fail to install jruby-1.6.8

I'm using rbenv 0.4.0, trying to install jruby-1.6.8 on Mavericks.
I've got almost the same issue as described here: #324
Also, I've been able to install jruby-1.7.9 without any problem.
x jruby-1.6.8/tool/nailgun/configure
/var/folders/dy/6jbqq91x65b5lsp2n4xblsdr0000gn/T/ruby-build.20140222085625.74067/jruby-1.6.8 /var/folders/dy/6jbqq91x65b5lsp2n4xblsdr0000gn/T/ruby-build.20140222085625.74067 ~/tmp
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
LoadError: OpenSSL::SSL requires the jruby-openssl gem
                          (root) at /usr/local/opt/rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8
                        use_ssl= at /usr/local/opt/rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:124

Also getting a comparable error on Yosemite with the latest ruby-build from Homebrew (version 20150319zf).
>> rbenv install jruby-1.6.8
Downloading jruby-bin-1.6.8.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/e3b05f9cf0ba9b02e6cba75d5b62e2abf8ac7a4483c3713dc4eb83e3b8b162d4
Installing jruby-1.6.8...

BUILD FAILED (OS X 10.10.2 using ruby-build 20150319zf)

Inspect or clean up the working tree at /var/folders/tw/9rgplx_55x1bdksz8gqby7km0000gn/T/ruby-build.20150325093018.37248
Results logged to /var/folders/tw/9rgplx_55x1bdksz8gqby7km0000gn/T/ruby-build.20150325093018.37248.log

Contents of the log file:
/var/folders/tw/9rgplx_55x1bdksz8gqby7km0000gn/T/ruby-build.20150325093018.37248 <sensitive folder name>
HTTP/1.1 200 OK
Content-Type: binary/octet-stream
Content-Length: 15705394
Connection: keep-alive
Date: Wed, 25 Mar 2015 08:06:25 GMT
Last-Modified: Fri, 23 May 2014 08:39:55 GMT
ETag: "a76ac5845640e4a1ebdfa74421efc935"
Accept-Ranges: bytes
Server: AmazonS3
Age: 1433
X-Cache: Hit from cloudfront
Via: 1.1 694067e538aff1de3d804656c0b75883.cloudfront.net (CloudFront)
X-Amz-Cf-Id: nH272xEHZh8w6NZAOfkiogwBK_dXIm-N_I7Xa3Dn_HbXRfnrpV-5Kg==

/var/folders/tw/9rgplx_55x1bdksz8gqby7km0000gn/T/ruby-build.20150325093018.37248/jruby-1.6.8 /var/folders/tw/9rgplx_55x1bdksz8gqby7km0000gn/T/ruby-build.20150325093018.37248 <sensitive folder name>
JRuby limited openssl loaded. http://jruby.org/openssl
gem install jruby-openssl for full support.
LoadError: OpenSSL::SSL requires the jruby-openssl gem
                          (root) at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:8
                        use_ssl= at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/shared/jruby/openssl/autoloads/ssl.rb:124
  configure_connection_for_https at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:352
                  connection_for at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:328
                         request at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:418
                      fetch_http at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:210
                            send at org/jruby/RubyKernel.java:2117
                      fetch_path at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/remote_fetcher.rb:243
                      load_specs at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:265
                      load_specs at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:72
                            list at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:237
                            each at org/jruby/RubyArray.java:1620
                            list at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:233
                            list at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:63
       find_matching_with_errors at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:156
       find_matching_with_errors at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/maven_gemify.rb:54
               fetch_with_errors at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:89
          find_gems_with_sources at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:110
   find_spec_by_name_and_version at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:228
                         install at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:259
                         execute at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:121
                            each at org/jruby/RubyArray.java:1620
                         execute at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115
                          invoke at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/command.rb:278
                    process_args at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:147
                             run at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:117
                             run at /Users/peter/.rbenv/versions/jruby-1.6.8/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:65
                          (root) at gem:21

It looks like it tries to install a gem and that fails. Given that this fails, it is likely that installing the jruby-openssl gem will also fail.
Could this have something to do with rubygems.org moving to https? Maybe the installation installs a Rubygems version that uses https and JRuby can't handle https out of the box?
Note that the install actually fails, so nothing gets installed in the end.
I've got JRuby 1.6.8 running inside a Docker container using a Dockerfile based on https://github.com/cpuguy83/docker-jruby/blob/68e55e5eaf8f8159ade4a305df0fd65f633493ae/1.7/jre/Dockerfile. The installed version can be fixed up afterwards to work including an install of the openssl gem. However, it is excruciatingly slow (Rails requests that normally take fractions of a second take minutes), so I want to run it on my Mac but in that case I'd rather install it cleanly with ruby-build.

Just for reference, what I ended up doing was edit my .gemrc so all sources use http instead of https, then install jruby 1.6.8 through ruby-build, then install the jruby-openssl gem for the just installed jruby version, then undo my edit of my .gemrc.

what I ended up doing was edit my .gemrc so all sources use http instead of https

Thanks for the tip solving that chicken-egg problem. This smells like an oversight in JRuby's build system. Hopefully the 1.7.x and 9000 release series don't suffer from the same problem.
I'm going to eventually close this as a problem with JRuby 1.8 and not a problem with ruby-build, unless someone has an idea for a workaround we can easily implement in ruby-build.

FYI, rubygems now automatically redirects to HTTPS, so my trick above no longer works.

This issue related JRuby 1.6.x and osx 10.9.x. This environments are EOL status. We can't triage and investigate it.


[CAMEL-11527] camel-olingo2 use lower case utf-8 for HTTP Accept head…

…er value
https://issues.apache.org/jira/browse/CAMEL-11527
This fix is similar to what is already done for batch requests
Thanks !

This change is incomplete.  It does not fix the underlying issue in which charset should not be in the accept header.  See CAMEL-11424.

The PR in #1816 fixed this. @johnpoth do you mind closing this.

@davsclaus  Thanks!


system-filepath dependency

Just to voice the fact that I don't like the dependency on system-filepath which is known to be deprecated for quite a while now. Somehow it gives the wrong signal.
That said, I don't mind much. So please do close the issue if you feel this dependency has its merit ;-)

All the alternative FilePath implementations (except the path library) are not abstract types, so I still prefer to provide support for system-filepath.  I also plan to have turtle re-export this functionality, so system-filepath support is necessary for turtle.

Sure, it is just a shame the Haskell community doesn't converge for such a common library ... I guess you are waiting for ghc to abstract FilePath before moving on to another implementation.

Yeah, I'm waiting for an abstract FilePath type before migrating

Why not use path package?

The main reason I added system-filepath is mainly because (A) turtle also uses system-filepath and (B) system-filepath is a really cheap dependency to add

Should this really be closed? I appreciate it's low priority but system-filepath isn't coming back.
I've dropped optparse-generic from a project because system-filepath has a custom setup script, which is a pain for cross-compilation (although, it looks like a pretty trivial one, so one could probably fork and just remove it).

Alright, I would accept a pull request to remove the dependency on system-filepath

The main reason I added system-filepath is mainly because (A) turtle also uses system-filepath and (B) system-filepath is a really cheap dependency to add

Just noting here that (A) may not hold forever, after your comment at https://github.com/Gabriel439/Haskell-Turtle-Library/issues/54#issuecomment-919695701.


Added household_id as optional parameter.

Use byte code b'Sonos_7OR7eU' from X-RINCON-HOUSEHOLD: Sonos_7OR7eU.

Sorry for breaking lint. I'm new and would like tips for making my programming style better.

Note that #733 covers the underlying requirement here. It allows for multi-household discovery, and scanning the network for Sonos devices is the only way I know of finding all households.
Should we close this PR?

I'm going to close this PR, as multi-households are quite well supported in SoCo 0.21 (to be released shortly).
Use the network_scan variants of the discover commands (with multi_household=True) to ensure that all households are discovered.

Note: I've resurrected this feature in PR #939.


mutiny+ nwc shouldn't show QR and auto approve should be simpler

Do all Mutiny+ nwc connections share a commonality we can check for when displaying it to the user?
Are there any other instances where we would want the nwc to have this similar UX?

I think there could be a more "subscriptions" like NWC profile in the future. But the unique thing about mutiny+ is that it is intended to only work with mutiny in a bit of a more seamless way, so it doesn't need to do things like show the QR code. Meanwhile any other external app / service would need to see that QR code / screen.

Picking this one up any desire to show the nwc string to the user?


Laravel 6.0 compatibility

Please upgrade to support for Laravel 6.0.
Looks like 6.0 doesn't introduce any breaking features concerning your package.

Okay. :+1:
Version 1.0.0 released with Laravel 6 compatibility (theoretical). =)
However, please inform if incompatible changes of framework are found.

Thanks a lot!

Sadly still doesn't work
Problem 1
- Installation request for atehnix/laravel-vk-requester ^1.0 -> satisfiable by atehnix/laravel-vk-requester[v1.0.0].
- Conclusion: remove laravel/framework v6.0.3
- Conclusion: don't install laravel/framework v6.0.3
- atehnix/laravel-vk-requester v1.0.0 requires laravel/framework ^5.2,<7.0 -> satisfiable by laravel/framework[5.2.x-dev, 5.3.x-dev, 5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev].

Oh, sorry. This is now fixed.
(v1.0.1)

Works great now. Many thanks!


How to configure HTTP credentials while using OAuth authentication?

In our testing environments we tend to hide our Drupal from public internet, so it wont disclosure anything or get indexed by Google.
While eventually we want to use OAuth authentication, we want to use additionally HTTP authentication. How do we inject in our credentials in NextJS side?
We tried already by setting our base domains with<EMAIL_ADDRESS>which didn't work out.
Thanks!

Have you looked into using the password grant? https://next-drupal.org/docs/authentication/password-grant

I'll chime in here as I work in the project with @mikaelkundert.
So the problem in our case is on server side. For example when getPathsFromContext() is fetching data from JSON:API - it can't get past Drupal's basic auth.
In the deployed environments it's easy to allow server to server communication past basic auth, but we are doing builds in Circle CI and that gets a bit tricky.
By the way, Thanks for this amazing project!

@juhov I see. Would a pluggable auth system solve your issue? As in bring your own auth headers?

That sound good. But is it a problem that next-drupal and our custom header collide? In this basic auth case we would need add Authorization: Basic <credentials> and next-drupal will add Authorization: Bearer <token>.

According to this StackOverflow answer, supporting multiple authorization schemes is not supported.
I think we might need to do some tricks in our Drupal hosting side, to partially use Bearer scheme on some URL's and Basic scheme on rest of the URL's :thinking:

@mikaelkundert @juhov are you on Drupal Slack? Can we chat say in 30 minutes?

Yeah sure, I'm on it. Not sure about @juhov.

Hola!
Did you manage to get around this somehow? Interested in the same question :)

@eiriksm We added support for basic auth to the DrupalClient. See https://next-drupal.org/docs/client/auth


eth-proxy first version

Description
What is the purpose of the change?
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Brief of your solution
Please describe your solution to solve the issue or feature request.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: chenfengjin:x: KenianShichenfengjin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Bug]: Website images not rendering correctly

What happened?
Images on the homepage are not loading correctly
What should have happened?
Images should load
Steps to reproduce the bug
Go to taqueria.io
Relevant log output
No response
Screenshots and images

Code of Conduct

[X] I agree to follow this project's Code of Conduct

FYI @hu3man

@HamidGoudarzi1988, please will you take a look at this?

Hey @HamidGoudarzi1988 , were you able to look into this?

Hey @hu3man, sorry for being late, please take a look at my pr:
https://github.com/ecadlabs/taqueria/pull/531
Let me know if it needs more tweaks, thanks

No worries, thanks for pushing a fix!
Looks good on my end, will get another pair of eyes on it to confirm and will let you know if we encounter any issues


Use 1D CNN or LSTM?

Compare the results of the two machine learning algorithms, and see which is better.
I am a little worried that our arrays may be too sparse to learn anything using CNNs. CNNs work by using a convolutional filter, an array usually of size (3,3) or (5,5). If we are using 1D CNNs, would this translate to size (3) or (5), or could we use larger elements, like (15)? Then we may get somewhere if we can adjust the size of our filters.

Sticking with CNN for the time being


Found a fork that builds and runs on modern machines

Other than needing some python3 help with the UI and colors for the summarize.py and gui:
https://github.com/jakiki6/sandsifter
I have no idea who this is but their fork otherwise works for me on an up to date Archlinux machine with python3.

...the only drawback with modern CPUs is
SLDT instruction cannot be used by applications


DB not provisioned on deploy

The Fortune adapter is currently provisioning the DB. This happens when the connect method is first called. Nothing calls connect when the app is deployed, so it just isn't provisioned.

Another issue I'm having right now is that my local DB is working just fine with Moolah, yet the staging and prod DBs are not. The reason for this is that the local DB was provisioned by api-pls, which gave me more power during the provisioning. I'll need to add the migration scripts back into this lib to make sure things get migrated!

This probably isn't an issue now. This mainly affected the user table, since I go outside of Fortune to create accounts. But now that users are set up in all envs, I can close this.


Improve our extensive assorted collection of linters 🎩

Summary

Change Type

Check List Before Merging

[ ] This PR passes all pre-commit hook validations.
[ ] This PR is fully tested and regression tests are included.
[ ] Relevant documentation has been updated.

Additional Information

/approve
/lgtm


Dynamic Scopes (Prefix, Wildcard or Regex pattern)

This feature is related but not limited to Financial APIs (FAPIs) and the functionality around registering a dynamic scope that serves a specific purpose which is determined at run-time of an application that a user must consent upon. A somewhat related issue is #2737 where people request the ability to override the built in ScopeValidator in order to achieve this.
What I am proposing is an added value solution that does not break any of the current stuff and I have proven to work in production. I just feel like it may be good enough to share so that It can be better integrated into the project as IdentityServer evolves. The current solution is structured to work around the limitations of the current Scope class and ScopeValidator as well as the Scope validation extension methods, so it can be surely evolved if it gets integrated. That said the solution consists mainly of 3 decorators.

One around the IClientStore
The other around the IResourceStore
and the third one wraps the IntrospectionResponseGenerator

If this is something that fits the product roadmap I am more that willing to make a pull request. I have the code already in a public repo that you can inspect but I got a hard time creating unit tests around IdentityServer and may need some help.
Thanks

Hey,
thanks!
We will have a look. The plan is to make the built-in scope handling much more flexible.
For now I would rather appreciate if you would document/blog about your approach.

Hi,
I too believe that if the you make some changes to the Scope and ScopeValidator classes these stuff will be even easyer to implement.
For now I will try to make a blog post and come back with a link.
Thanks

I'll close this since we have plans to rework in the future. Thanks.

Hi sorry did not find the time to blog about this. If I do I will post back. If there is something I can do  to help ping me.
Thanks.


Refresh (F5) with two different projects in two windows

I have two different projects opened in two instances of Brackets.
I loaded P1 first, then P2.
If I refresh the Brackets instance of P1 with F5, it opens on the P2 project, and when I go back to P1, I have lost all opened files in the working files list.
Minor issue, but I thought I should report it.

@PhiLhoSoft Are you using the Debug > New Brackets Window command, or are you actually explicitly launching Brackets twice?  The latter should be hard/impossible to do...

@peterflynn you can launch a second (or nth) instance of Brackets (at least on Windows) by right clicking the task bar icon and selecting Brackets.

(The bottom-most one is Brackets instance with another window open from New Brackets Window, others are just opened separately).
That said, I couldn't reproduce the issue @PhiLhoSoft reported even with two instances (nor with New Brackets Window)

As said, I just have Brackets in my Quick Launch menu and start a new instance from there.
I will try to spawn from inside, maybe it can save some memory?

Running the latest sprint on OS X and having the same issue.

Open new instance via debug > open brackets in new window
Refreshing the old project will make it load the project loaded in the new window thus losing any unsaved changes and history since.

seem to be no activity on this issue from a while, @PhiLhoSoft could please consider closing it.

OK, no problem.


[incubator/druid] include default values to use Google Cloud Storage as deep storage (#23488)

Which issue this PR fixes
#23488
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @maver1ck

/ok-to-test

@youngwookim please update the chart version. BTW, how about integrating the google and gCloudStorage into a more normal property?


feature: Add .NET 5 support

The lower code coverage is correct, since its taking into account a lot more projects now.


Add a link (and small description?) for every scheme

This is a good idea, but where would the links be added?
Docker Hub has some space for a description but I'm not sure how many people read those.
We could also make a website (perhaps containers.scheme.org). Then we would have much more control over the presentation.

https://containers.scheme.org is now live!


Moved setLifecycleOwner to after executePendingBindings

My guess is this is the same issue as https://github.com/evant/binding-collection-adapter/pull/146, ie. it should happen after bind, not necessary after executePendingBinding(). Think it's worth changing in all places.

I see.  Yeah I didn't run into the issue with the RecyclerViewAdapter, but it makes sense. Let me know what if you want me to make the change elsewhere of if you will handle the other adapters.

Merged in https://github.com/evant/binding-collection-adapter/pull/157 which should fix this.


Add not exists testing helpers for action, bulk action, and columns

So these check if the actions / columns exist by checking if they're cached, I remember on Discord you wanted to find our if they were visible to the user, surely we need to call isHidden() instead as our assertion?

gotcha, that makes sense and i can do that.
perhaps i can add methods such as assertColumnIsHidden() along with assertColumnNotExists()?
in the "assertColumnIsHidden" method i can check for column->isHidden() and leave assertColumnNotExists() to check in cache as it is right now.
also, when i do create a method like assertColumnIsHidden(), i would still fetch the column using $livewire->getCachedTableColumn($name) correct? or is there a different way to fetch the column that exists/should be created?

Yeah, you can use getCachedTableColumn()->isHidden() fine I think. However, I don't see the reason you'd ever use assertColumnNotExists()? So maybe we should just remove it

So, from what it seems like getCachedTableBulkActions(), getCachedTableColumn() filters out any hidden actions/columns, so calling isHidden() on either of those is redundant since they always return null on hidden actions/columns. Oddly enough, though, getCachedTableActions() does not filter for hidden actions.
I can either add an optional parameter to those methods or I can create new methods on HasColumns/HasBulkActions that fetch hidden columns/actions. What do you think is the better approach?
Here are the files I am referring to:

getCachedTableColumns()
getCachedTableActions() (no filter)
getCachedTableBulkActions()

I see, interesting. I think we should stop filtering inside the cache method and filter inside the view instead, to only show actions that are not hidden. What do you think?

From some very quick testing, I can say for certain that removing filtering from the cache method will introduce breaking changes to filament.
The cache method, from what I can tell, is used to determine whether a column should be rendered in the frontend. I tried removing the filter method from getCachedTableColumn() and the visible() method stopped working altogether. Meaning that columns that were hidden before, using the visible method, started showing up again.

If we remove the cache filtering, we can just filter in the view instead, which seems more appropriate

Made these changes myself, thanks.

Sorry, got busy with work and hadn't gotten time to look at this D:
Thanks for taking it up, I hope to contribute in other places around filament


Unable to create new wiki from existing single-file TW5 html file

I am running (check any that apply, put an x inside the [ ] to check a box, like this: [x]):

[ ] Windows
[x] OSX
[ ] Linux
[ ] Other

and using

[ ] The nodejs version
[x] The single file executable

Before posting I read issue guidelines and:

[x] I am using the newest version (version 1.7.0b1)
[x] The answer to my question isn't listed in the documentation or this isn't
a question
[x] This is not a duplicate issue
[x] I have not done anything that required me to set acceptance to
I Will Not Get Tech Support For This

I have tried twice to create a new wiki inside Bob from an existing single-file wiki. I can open this other wiki in my browser directly, so I know that it is a functional wiki with many journal entries and many projects/tasks from Projectify.
Inside Bob, I click the link for the new wiki and it opens in the browser (<IP_ADDRESS>:8080/newwiki) but the content is exactly the same as the Index Bob wiki. None of the tiddlers from the single-file wiki are imported.

Switched to v1.6.2r2 - same result.
I then created a new wiki from the empty edition. I opened this, then imported my single-file wiki directly. This worked just fine as expected.
I also created a new wiki from an existing single-file wiki html file. This still did not work. But I then used the normal import routine from inside this Bob-created wiki, and that did work as expected. I relaunched this wiki from inside the Bob index wiki, and it did still load.
So this inability to create a new wiki from an existing one persists across both versions (1.6.2r2 and 1.7.0b1)

Second that.
I tried single file wiki import. The wiki was created but without any tiddlers inside.
(On Linux, with manual nodejs version)

Second that.
I tried single file wiki import. The wiki was created but without any tiddlers inside.
(On Linux, with manual nodejs version)

I haven't had much use for the feature and I overlooked it when updating some things on the back-end, it should be added back in for the next release.

I haven't had much use for the feature and I overlooked it when updating some things on the back-end, it should be added back in for the next release.

The bug that caused this issue is fixed, if this (or a similar) problem comes up again please make a new issue.


⚠ Bofrost.de has degraded performance

In 02edd79, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1307 ms

Resolved: Bofrost.de performance has improved in 0575fe8 after 1 hour, 9 minutes.


the 'drop' event did not fire when widget did not move out

the 'drop' event did not fire when widget did not move out

I've found there is another event 'cancel' could be useful.


Explore doc comments.

crf https://github.com/rescript-lang/syntax/issues/439

This. was a bit more complex than expected -- need to revisit later.


Latency Feature: Ping-Pong Command

I propose implementing a ping-pong command to check latency and bot responsiveness. When the user invokes !ping, the bot would respond with Pong!. Then, the bot will edit the message to include the milliseconds between when the user's message was sent and when ClemBot's response was sent.

I thought we already had an issue for this but i guess not, this is a great idea and its a command ive been leaving available for someone new or just starting out to work on. Would def accept a pr for this

Hi, is the file where the commands are defined in located in the cogs folder? I would like to help figure this out pretty quickly.

The cogs folder contains the commands yes, this will need to be a new cog/file. You can find more information on clembots architecture in the readme


Add in sitestreams handler for quoted tweets

These changes permit site streams handlers to manage quoted tweets, and add in handlers for the mute and unmute events.

Oh, darn it. I obviously did not intend to include the pom.xml changes in this pull request. I'll repair that.

I had already requested a pull for this
From:  Eli Israel<EMAIL_ADDRESS>Reply-To:  yusuke/twitter4j
<reply+00173e9b75882af6d090ca0f4b004e536d7ad52a0780a2ae92cf00000001130539d09
<EMAIL_ADDRESS>Date:  Saturday, March 19, 2016 at 8:01 AM
To:  yusuke/twitter4j<EMAIL_ADDRESS>Cc:  Michael Templeman<EMAIL_ADDRESS>Subject:  Re: [twitter4j] Add in sitestreams handler for quoted tweets
(#233)
Oh, darn it. I obviously did not intend to include the pom.xml changes in
this pull request. I'll repair that.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198737436

I think it just added my stuff to the end of it.

On Mar 19, 2016, at 12:55 PM, Michael Templeman<EMAIL_ADDRESS>wrote:
I had already requested a pull for this
From: Eli Israel<EMAIL_ADDRESS>Reply-To: yusuke/twitter4j
<reply+00173e9b75882af6d090ca0f4b004e536d7ad52a0780a2ae92cf00000001130539d09
<EMAIL_ADDRESS>Date: Saturday, March 19, 2016 at 8:01 AM
To: yusuke/twitter4j<EMAIL_ADDRESS>Cc: Michael Templeman<EMAIL_ADDRESS>Subject: Re: [twitter4j] Add in sitestreams handler for quoted tweets
(#233)
Oh, darn it. I obviously did not intend to include the pom.xml changes in
this pull request. I'll repair that.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198737436
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/yusuke/twitter4j/pull/233#issuecomment-198777273

You probably should note that you added the mute events. Otherwise he might
miss it. siteStreams users will want that.
From:  Eli Israel<EMAIL_ADDRESS>Reply-To:  yusuke/twitter4j
<reply+00173e9bc5408bcd9346dfd6e0843756cffa006a27859d2a92cf00000001130570f59
<EMAIL_ADDRESS>Date:  Saturday, March 19, 2016 at 11:56 AM
To:  yusuke/twitter4j<EMAIL_ADDRESS>Cc:  Michael Templeman<EMAIL_ADDRESS>Subject:  Re: [twitter4j] Add in sitestreams handler for quoted tweets
(#233)
I think it just added my stuff to the end of it.

On Mar 19, 2016, at 12:55 PM, Michael Templeman<EMAIL_ADDRESS>wrote:
I had already requested a pull for this
From: Eli Israel<EMAIL_ADDRESS>Reply-To: yusuke/twitter4j
<reply+00173e9b75882af6d090ca0f4b004e536d7ad52a0780a2ae92cf00000001130539d09
<EMAIL_ADDRESS>Date: Saturday, March 19, 2016 at 8:01 AM
To: yusuke/twitter4j<EMAIL_ADDRESS>Cc: Michael Templeman<EMAIL_ADDRESS>Subject: Re: [twitter4j] Add in sitestreams handler for quoted tweets
(#233)
Oh, darn it. I obviously did not intend to include the pom.xml changes in
this pull request. I'll repair that.
?
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198737436
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198777273

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198777383

I put a comment in to that effect in the pull request.

On Mar 19, 2016, at 1:08 PM, Michael Templeman<EMAIL_ADDRESS>wrote:
You probably should note that you added the mute events. Otherwise he might
miss it. siteStreams users will want that.
From: Eli Israel<EMAIL_ADDRESS>Reply-To: yusuke/twitter4j
<reply+00173e9bc5408bcd9346dfd6e0843756cffa006a27859d2a92cf00000001130570f59
<EMAIL_ADDRESS>Date: Saturday, March 19, 2016 at 11:56 AM
To: yusuke/twitter4j<EMAIL_ADDRESS>Cc: Michael Templeman<EMAIL_ADDRESS>Subject: Re: [twitter4j] Add in sitestreams handler for quoted tweets
(#233)
I think it just added my stuff to the end of it.

On Mar 19, 2016, at 12:55 PM, Michael Templeman<EMAIL_ADDRESS>wrote:
I had already requested a pull for this
From: Eli Israel<EMAIL_ADDRESS>Reply-To: yusuke/twitter4j
<reply+00173e9b75882af6d090ca0f4b004e536d7ad52a0780a2ae92cf00000001130539d09
<EMAIL_ADDRESS>Date: Saturday, March 19, 2016 at 8:01 AM
To: yusuke/twitter4j<EMAIL_ADDRESS>Cc: Michael Templeman<EMAIL_ADDRESS>Subject: Re: [twitter4j] Add in sitestreams handler for quoted tweets
(#233)
Oh, darn it. I obviously did not intend to include the pom.xml changes in
this pull request. I'll repair that.
?
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198737436
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198777273

—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/yusuke/twitter4j/pull/233#issuecomment-198777383
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub https://github.com/yusuke/twitter4j/pull/233#issuecomment-198778107


Use ReadTheDocs to host documentation.

Hey, why not use ReadTheDocs, it's what Godot uses, and I'd recommend using it. Currently, I know you're using GitHub Pages, but it's better to use ReadTheDocs instead.

Hmm, that's good indeed.


Auto-formatting for svelte components

Description
For now Prettier auto-formats only .js/.ts/.css files. Svelte components reside in .html files, thus Prettier skips them. Check if it is possible to apply (and implement ) auto-formatting for js snippets inside .html svelte components.

Check progress on https://github.com/prettier/prettier/issues/1882 if it is worth to wait for, or implement it and send PR to prettier.

This may help:
https://www.npmjs.com/package/prettier-plugin-svelte
We just need to hook it on commit/push and voilà the problem is gone 🍻


[Python] Support C stream interface of single arrays

It seems that the C stream interface in pyarrow currently requires the array to be a StructArray.
I do not see this constraint in the spec (https://arrow.apache.org/docs/format/CStreamInterface.html).
The error I get when I pass an Int32Array to it (declared on the schema):

Invalid: Cannot import schema: ArrowSchema describes non-struct type int32

It would be nice to support everything, like the C data interface.
Reporter: Jorge Leitão / @jorgecarleitao
Note: This issue was originally created as ARROW-15747. Please see the migration documentation for further details.

I think this was addressed recently by @paleolimbot adding ExportChunkedArray/ImportChunkedArray for the stream interface? (https://github.com/apache/arrow/pull/39455)


Fix docker tls

Fix Docker driver tls connection
Description
I tried to connect a Docker daemon’s host machine with tls key_file & cert_file,
through libcloud's docker driver and it fails under all circumstances.
I used this info for securing my Docker daemon’s host machine:
https://docs.docker.com/engine/security/https/
First scenario: tls with key_file and cert_file:
My environment:

server side
root@cloudLining:~# ps aux | grep docker
root      4330  0.2  4.9<PHONE_NUMBER>6 ?        Sl   Jun01   1:45 dockerd --tls --tlscert=server-cert.pem --tlskey=server-key.pem -H=tcp://<IP_ADDRESS>:4243 -D
root      4333  0.1  1.0 209380  5188 ?        Ssl  Jun01   1:04 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/doc$
root      5755  0.0  0.4  12000  2100 pts/0    S+   08:32   0:00 grep --color=auto docker

client side
root@cloudLining:~# docker --tls --tlscacert=ca.pem --tlscert=server-cert.pem --tlskey=server-key.pem -H=tcp://<IP_ADDRESS>:4243 images
REPOSITORY           TAG                 IMAGE ID            CREATED             SIZE
tomcat               latest              d71978506e58        5 weeks ago         367 MB
ubuntu               latest              6a2f32de169d        7 weeks ago         117 MB
ubuntu               12.04               5b117edd0b76        7 weeks ago         104 MB
debian               7.11                69e388a5985c        2 months ago        85.3 MB

According to libcloud's docs:
conn = driver(host='https://<IP_ADDRESS>', port=4243, key_file='key.pem', cert_file='cert.pem')
    ...: from libcloud import security
    ...: security.VERIFY_SSL_CERT=False
    ...: driver = get_driver('docker')
    ...: key = '/home/johnny/Documents/kleidia/key.pem'
    ...: cert = '/home/johnny/Documents/kleidia/cert.pem'
    ...: d = driver(host='<IP_ADDRESS>', port=4243, key_file=key, cert_file=cert,secure=True)
    ...: d.list_images()

 ----> 1 d.list_images()

/home/johnny/Documents/mylibcloud/libcloudfine/fork_libcloud/libcloud/libcloud/container/drivers/docker.py in list_images(self)
    250         """
    251         result = self.connection.request('/v%s/images/json' %
--> 252                                          (self.version)).object
    253         images = []
    254         for image in result:

/home/johnny/Documents/mylibcloud/libcloudfine/fork_libcloud/libcloud/libcloud/common/base.pyc in request(self, action, params, data, headers, method, raw, stream)
    601                 else:
    602                     self.connection.request(method=method, url=url, body=data,
--> 603                                             headers=headers, stream=stream)
    604         except socket.gaierror:
    605             e = sys.exc_info()[1]

/home/johnny/Documents/mylibcloud/libcloudfine/fork_libcloud/libcloud/libcloud/http.pyc in request(self, method, url, body, headers, raw, stream)
    208         import ipdb
    209         ipdb.set_trace()
--> 210         self.response = self.session.request(
    211             method=method.lower(),
    212             url=url,

/home/johnny/Documents/mylibcloud/libcloudfine/fork_libcloud/local/lib/python2.7/site-packages/requests/sessions.pyc in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_red$
    486         }
    487         send_kwargs.update(settings)
--> 488         resp = self.send(prep, **send_kwargs)
    489
    490         return resp

/home/johnny/Documents/mylibcloud/libcloudfine/fork_libcloud/local/lib/python2.7/site-packages/requests/sessions.pyc in send(self, request, **kwargs)
    607
    608         # Send the request
--> 609         r = adapter.send(request, **kwargs)
    610
    611         # Total elapsed time of the request (approximately)

/home/johnny/Documents/mylibcloud/libcloudfine/fork_libcloud/local/lib/python2.7/site-packages/requests/adapters.pyc in send(self, request, stream, timeout, verify, cert, proxies)
    485                 raise ProxyError(e, request=request)
    486
--> 487             raise ConnectionError(e, request=request)
    488
    489         except ClosedPoolError as e:

ConnectionError: HTTPSConnectionPool(host='4243', port=443): Max retries exceeded with url: /v1.24/images/json (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object$

It's obvious at this point that variables are messed up!
I attached a more extensive debugging explanation here:
docker_tls.txt

With this pr I propose to add a new class DockertlsConnection in DockerContainerDriver, which
handles the tls connection and is a subclass of class KeyCertificateConnection (added in
libcloud/common/base.py).

I replaced key,secret default values with empty strings( previous None)
otherwise it's not possible to call
driver(host='https://<IP_ADDRESS>', port=4243, key_file='key.pem', cert_file='cert.pem')

I added ca_cert variable in DockerContainerDriver, in case of a user doesn't want to change
the environment's variables through libcloud.security.CA_CERTS_PATH
commit d5af021a92ef04ff42439f0e5ff7bd007de05015
commit e15e4a8346a121eb437c45b9f9c3c8812afd5ce5

I passed the real version and not a default one

I have done seperated commits if you want to exclude anything.
I tested this pr against all scenarios:

http
http basic authentication
tls
tls key_file & cert_file
tls verified key_file, cert_file, ca_cert

Status

done, ready for review

Checklist (tick everything that applies)

[X] Code linting (required, can be done after the PR checks)
[X] Documentation
[X] Tests

Coverage decreased (-0.03%) to 88.196% when pulling 93c626a5cf7caec0a3c052b107fd1b3a45f9fc53 on johnnyWalnut:fix_docker_tls into 7ec025e2dbc77f19ececd783633a7ff3ef27871f on apache:trunk.

Coverage decreased (-0.03%) to 88.193% when pulling 93c626a5cf7caec0a3c052b107fd1b3a45f9fc53 on johnnyWalnut:fix_docker_tls into 7ec025e2dbc77f19ececd783633a7ff3ef27871f on apache:trunk.

I believe that a user is good to have the ability to create a docker tls connection without to set the environment variables as libcloud propose:
http://libcloud.readthedocs.io/en/latest/other/ssl-certificate-validation.html#using-a-custom-ca-certificate
ex.
       from libcloud.container.providers import get_driver
   ...: key = '/home/johnny/Documents/kleidia/key.pem'
   ...: cert = '/home/johnny/Documents/kleidia/cert.pem'
   ...: ca_cert = '/home/johnny/Documents/kleidia/ca.pem'
   ...:
   ...: driver = get_driver('docker')
   ...: d = driver(key_file=key, cert_file=cert,host='http://<IP_ADDRESS>', port=4243,
        ca_cert=ca_cert)

If you also agree, i would be glad to add a test!
If you also agree

@johnnyWalnut this is a great change, I'm pretty sure I only tested Docker with non-secure configurations so it's not surprising that the implementation needs thinking through further.
On the idea of setting a client-side request certificate in the instance. Absolutely, this makes more sense. Otherwise you'd be changing the settings for all driver instances (which doesn't make any sense). The client side certs got an overhaul in 2.0, so make sure you write some solid test cases for that

@johnnyWalnut I'd actually like that to be a separate PR and merge this one in if thats ok? one-change-per-PR

I agree absolutely on that. Could you please exclude the commits which related to ca_cert? If you can, I will open a new mr about ca_cert implementation and tests. Otherwise i 'll seperate the mrs on my own..


Add drawSelection()

The extension being layered on ios is behaviour that was there before right?

Ok. Things are back to normal on iOS with this. Thanks!


Cloud Optimized GeoTiff for geocoded bursts

This PR included the scripts to generate and validate Cloud Optimized GeoTiffs (COGs) from the PROTEUS repository (https://github.com/opera-adt/PROTEUS) with slight modifications:

the Predictor option cannot be used for complex-valued data (only integer or floating point)
Correct a couple of bugs (mainly unused variables)
Substitute logging with journal

The COG option is included in the geocoded burst workflow. Generated COG files are validated as COG files

Closing as we decided to go for an output format of HDF5/NetCDF4


[Web] Add supported types for CheckNameAvailability API

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/2003

Codecov Report

Merging #1626 into master will increase coverage by <.01%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master    #1626      +/-   ##
==========================================
+ Coverage   56.07%   56.07%   +<.01%
==========================================
  Files        3893     3893
  Lines       94274    94279       +5
==========================================
+ Hits        52866    52871       +5
  Misses      41408    41408

Impacted Files
Coverage Δ

...-mgmt-web/azure/mgmt/web/models/resource_metric.py
35.71% <ø> (ø)
:arrow_up:

azure-mgmt-web/azure/mgmt/web/models/identifier.py
71.42% <ø> (ø)
:arrow_up:

...zure/mgmt/web/models/status_codes_based_trigger.py
44.44% <ø> (ø)
:arrow_up:

...-web/azure/mgmt/web/models/premier_add_on_offer.py
29.41% <ø> (ø)
:arrow_up:

...mgmt/web/models/app_service_plan_patch_resource.py
21.73% <ø> (ø)
:arrow_up:

...b/azure/mgmt/web/operations/web_apps_operations.py
5.49% <ø> (ø)
:arrow_up:

...e-mgmt-web/azure/mgmt/web/models/premier_add_on.py
35.71% <ø> (ø)
:arrow_up:

...ure/mgmt/web/models/slow_requests_based_trigger.py
57.14% <ø> (ø)
:arrow_up:

...web/azure/mgmt/web/models/resource_metric_value.py
41.66% <ø> (ø)
:arrow_up:

...t-web/azure/mgmt/web/web_site_management_client.py
19.44% <ø> (ø)
:arrow_up:

... and 14 more

Continue to review full report at Codecov.

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

Included in https://github.com/Azure/azure-sdk-for-python/pull/1646


Laravel route alias

There was the route alias imagecache in package under 2.1.3 (https://github.com/Intervention/image/blob/2.1.3/src/Intervention/Image/ImageServiceProviderLaravel5.php#L84).
In version 2.1.4 there is no route alias (https://github.com/Intervention/image/blob/2.1.4/src/Intervention/Image/ImageServiceProviderLaravel5.php#L88).
I don't want to get route prefix from imagecache config and construct the url manually. Please fix it.

Update both intervention/image and intervention/imagecache to >=2.2.0 and the alias should be back.

Thanks


Missing IIS configuration in installation guide

Where IIS Configuration in installation guide ?
Why only apache and nginx recommended configuration ?

You're right, there is no configuration example for Microsoft IIS since there were no requests and for sure it's not the most popular platform in the community.
However, we are glad to add update the guide and add a sample IIS config.
Would you like to provide a PR?

If I've experienced I will provide a PR, but sorry that I am still very new in IIS, so I do not know best practice in installation yii2 for IIS :(

Won't be implemented in 2.0.


unclear requirements.

There are multiple cases of the word "should" being used in places where the word "must" seems more appropriate. The word "should" implies a best practice but not a requirement. If these are best practices then an explanation should be given as to the alternative and reason for the preference. If these are absolute requirements in order for success then the use of the word "must" is required to ensure proper understanding.

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

ID: 4165179c-e336-919e-a590-3b892143f247
Version Independent ID: 017d0a81-549f-8ac2-dd5d-40c9dc461cdf
Content: CREATE VIEW (Transact-SQL) - SQL Server
Content Source: docs/t-sql/statements/create-view-transact-sql.md
Product: sql
Technology: t-sql
GitHub Login: @CarlRabeler
Microsoft Alias: carlrab

@EricF14 -- thank you for your feedback.  I have updated the documentation accordingly and it is pending review.

@EricF14 -- Thank you for your feedback.  The documentation should be live by tomorrow.

@CarlRabeler -- Carl, thank you for your review.


v2prov etcd snapshot restore is incorrectly prepending cluster name to snapshot

The etcd snapshot restore functionality is incorrectly prepending the cluster name to the snapshot.
This is a regression caused due to the change in behavior where etcd snapshot CRs were added.

According the the code changes, it looks like restoring Kubernetes version or cluster object would fail because the get request would fail. The get request was incorrectly pre-pending the cluster name when trying to get the restore object. A previous change added etcd snapshot backup/restore objects for RKE2 (like they are used in RKE1). Therefore, pre-pending the cluster name to these objects is no longer needed. This one spot in the code was still pre-pending.
So, in order to dev-validate this issue, I provisioned a single-node RKE2 cluster with v1.22.7+rke2r2, took a snapshot of the cluster, upgraded the cluster to v1.23.4+rke2r2, then restored the cluster using the snapshot. The cluster and Kubernetes version were successfully restored, which indicates that Rancher was able to get the etcd snapshot object and read the old Kubernetes version from it.
This indicates that the fix is working as expected.


Alexa suddenly stop reading kindle book

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
I have used the Pure AVS-SDK 1.17 to run the kiddle book. I give a command as "Ask Alexa to read kindle book.", Alexa read the book for about 3 seconds but suddenly stop. Alexa is getting aborted as shown below -
2020-09-03 05:30:20.705 [  c] 5 TemplateRuntime:handleRenderPlayerInfoDirective
2020-09-03 05:30:20.706 [  c] 9 DirectiveProcessor:processCancelingQueueLocked:size=0
Aborted

I have collected the DEBUG9 logs (kindle_logs.txt) for the testing.
I am facing this issue with English and Japanese language both.
Could you please tell why the Alexa is getting aborted while executing the kindle book commands.
What is the expected behavior?

Alexa start to read Kindle book.
Alexa continue to read Kindle book without error

What behavior are you observing?
Alexa read the book for about 3 seconds but suddenly stop. Then Alexa shows no reaction to wake word or action button until restarting the Alexa.
Provide the steps to reproduce the issue, if applicable:

On DUT, set Alexa language as Japanese/English
Ask Alexa to read kindle book. (アレクサ、キンドルの本を読んで)
Wait for at least 10 seconds.

Tell us about your environment:

What version of the AVS Device SDK are you using?
AVS-SDK 1.17
Tell us what hardware you're using:

[ ] Desktop / Laptop

Tell us about your OS (Type & version):

[ ] Other - Android P

hello @dipalisb  thank you for reporting this issue. This is a known issue and we will have a fix in the next release (1.21).
I'm closing this issue if the problem still persists with 1.21 please open a new ticket.


data - add PSF PSE spawning points

Load of PSE spawning lines to user_habitat_classifcation.csv is complete but spawning points need to be added.

translate points into 100m segments (along a single blkey)
load FISS spawning points directly from bcfishobs
match additional (expert) points based on distance from stream and QA manually

complete with https://github.com/smnorris/bcfishpass/commit/0fad1d846eafad3d9743613c10d406c5e4564078


Build Python Version Failed

Branch/Tag/Commit
main
Docker Image Version
nvcr.io/nvidia/pytorch   22.09-py3
GPU name
A100
CUDA Driver
Driver Version: 510.85.02
Reproduced Steps
docker run -it --gpus all nvcr.io/nvidia/pytorch:22.09-py3 /bin/bash

cd FasterTransformer-main
mkdir build
cmake -DSM=80 -DCMAKE_BUILD_TYPE=Release -DBUILD_PYT=ON -DBUILD_MULTI_GPU=ON ..
make -j12

Error Info:
n file included from /workspace/FasterTransformer-main/src/fastertransformer/kernels/cutlass_kernels/cutlass_preprocessors.cc:20:
/workspace/FasterTransformer-main/src/fastertransformer/cutlass_extensions/include/cutlass_extensions/gemm/kernel/mixed_gemm_B_layout.h:12:10: fatal error: cutlass/layout/matrix.h: No such file or directory
   12 | #include "cutlass/layout/matrix.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/fastertransformer/kernels/cutlass_kernels/CMakeFiles/cutlass_preprocessors.dir/build.make:76: src/fastertransformer/kernels/cutlass_kernels/CMakeFiles/cutlass_preprocessors.dir/cutlass_preprocessors.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3536: src/fastertransformer/kernels/cutlass_kernels/CMakeFiles/cutlass_preprocessors.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  1%] Linking CUDA device code CMakeFiles/cuda_driver_wrapper.dir/cmake_device_link.o
[  1%] Linking CUDA device code CMakeFiles/nvtx_utils.dir/cmake_device_link.o
[  1%] Linking CXX static library ../../lib/libcuda_driver_wrapper.a
[  1%] Built target cuda_driver_wrapper
[  1%] Linking CXX static library ../../../lib/libnvtx_utils.a
[  1%] Built target nvtx_utils
[  1%] Linking CUDA device code CMakeFiles/logger.dir/cmake_device_link.o
[  1%] Linking CXX static library ../../../lib/liblogger.a
[  1%] Built target logger
[  2%] Linking CUDA device code CMakeFiles/cuda_utils.dir/cmake_device_link.o
[  2%] Linking CXX static library ../../../lib/libcuda_utils.a
[  2%] Built target cuda_utils
[  2%] Linking CUDA device code CMakeFiles/custom_ar_kernels.dir/cmake_device_link.o
[  2%] Linking CUDA device code CMakeFiles/transpose_int8_kernels.dir/cmake_device_link.o
[  2%] Linking CUDA static library ../../../lib/libcustom_ar_kernels.a
[  2%] Linking CUDA device code CMakeFiles/bert_preprocess_kernels.dir/cmake_device_link.o
[  2%] Built target custom_ar_kernels
[  2%] Linking CUDA device code CMakeFiles/add_residual_kernels.dir/cmake_device_link.o
[  2%] Linking CUDA static library ../../../lib/libtranspose_int8_kernels.a
[  3%] Linking CUDA static library ../../../lib/libbert_preprocess_kernels.a
[  3%] Built target transpose_int8_kernels
[  3%] Linking CUDA static library ../../../lib/libadd_residual_kernels.a
[  3%] Built target bert_preprocess_kernels
[  3%] Built target add_residual_kernels
[  4%] Linking CUDA device code CMakeFiles/activation_kernels.dir/cmake_device_link.o
[  4%] Linking CUDA static library ../../../lib/libactivation_kernels.a
[  4%] Built target activation_kernels
[  4%] Linking CUDA device code CMakeFiles/unfused_attention_kernels.dir/cmake_device_link.o
[  4%] Linking CUDA static library ../../../lib/libunfused_attention_kernels.a
[  4%] Built target unfused_attention_kernels
[  4%] Linking CUDA device code CMakeFiles/layernorm_kernels.dir/cmake_device_link.o
[  4%] Linking CUDA static library ../../../lib/liblayernorm_kernels.a
[  4%] Built target layernorm_kernels
make: *** [Makefile:136: all] Error 2

Have you run
git submodule init && git submodule update

?

Have you run
git submodule init && git submodule update

?

Sry, No. Does it matter?

I have add git submodule init && git submodule update
another error raised
error: pathspec '3rdparty/cutlass' did not match any file(s) known to git
CMake Error at CMakeLists.txt:67 (message):
  git submodule update --init 3rdparty/cutlass failed with 1, please checkout
  cutlass submodule

Can you remove the full project and follow https://github.com/NVIDIA/FasterTransformer/blob/main/docs/gpt_guide.md#build-the-fastertransformer to try again?

Sure, I'll have a try

Thanks for your help! I have built it successfully


In the above example you can see that ${unstructured} is properly highlighted while ${facts['kernel']} is not. This happens with any kind of hash variable in a string (not just facts)
What is Expected?
All variables are highlighted the same

Ok...string interpolation is broken.

This will be a little tricky as the current file is basically hardcoded for variables in ${...} only :-(


Drop PY2 support

This should partially address issue #177 by removing six and __future__ imports. The more complicated part would then be to check the source code step by step if newer Python 3 language features can be used to make things even more pythonic.

@abravalheri, good question actually. I think it should be possible with PyScaffold 3 using universal wheels to built a package that runs under Python 2 with the help of six. We should check it before we add a note like that into the docs. It's definitely a good point. It's actually a good FAQ!

Should we add a system test to ensure that and make it an official feature?

Yes, a system test would be the best solution I guess although complicated because one would create with PY3 and run with PY2. So a change of the interpreter during the test? If it is too much hassle I think it's best to test it just once.

Maybe it is not exactly straightforward doing that (I just opened a pytest-virtualenv issue to check if that is possible). I think it would require the use of bash scripts again.


Teach EVERYONE on the team how to submit a programming issue

We are going to implement github issues this season and we can start by creating awareness for our new system. Starting with all of us on the programming team.
Steps:

We teach github issues to our contributing programmers so they can submit internal issues and teach it to others (formatting, documentation, and the slack shortcuts ;) )

We teach all mentors and Subteam leads how to submit an issue and ask that they spread the knowledge in their team (we can provide more support here)

Profit

Today we taught @baligatanisha5 and @madhukt6242


ASSETS-34548 : Update the Collection API Endpoints

JIRA : ASSETS-34548

Updated Collection API Endpoints to the ones in https://adobe-aem-assets-delivery-experimental.redoc.ly/#operation/getAllCollections
Updated following functions in collections.js : getCollection, createCollection, patchCollection, deleteCollection.
Replaced the function listCollection with searchListCollection which does not use the List All Collection API as that has not completed yet, instead the Search Collection API endpoint is used instead.
Updated adp-add-to-collection-modal.js that is used to create new collections, and add assets to a existing collection.
Updated adp-collection-header.js which is used to for the Collection Header.
Updated CollectionDatasource.js which is used to display the cards for all the existing Collections
Updated the file admin-config.xlsx and added the property searchCollectionIndex, which is used in the Search Collection API.

Test URLs:
Before: https://main--adobe-gmo--hlxsites.hlx.page/
After: https://assets-34548--adobe-gmo--hlxsites.hlx.page/qa/assets

JIRA : ASSETS-34548

Updated Collection API Endpoints to the ones in https://adobe-aem-assets-delivery-experimental.redoc.ly/#operation/getAllCollections
Updated following functions in collections.js : getCollection, createCollection, patchCollection, deleteCollection.
Replaced the function listCollection with searchListCollection which does not use the List All Collection API as that has not completed yet, instead the Search Collection API endpoint is used instead.
Updated adp-add-to-collection-modal.js that is used to create new collections, and add assets to a existing collection.
Updated adp-collection-header.js which is used to for the Collection Header.
Updated CollectionDatasource.js which is used to display the cards for all the existing Collections
Updated the file admin-config.xlsx and added the property searchCollectionIndex, which is used in the Search Collection API.

Test URLs:
Before: https://main--adobe-gmo--hlxsites.hlx.page/ After: https://assets-34548--adobe-gmo--hlxsites.hlx.page/qa/assets

Authoring
Edit the file admin-config.xlsx
Then add the new property
searchCollectionIndex
and the value is the name of the index.
e.g. for QA the index name is<PHONE_NUMBER>543_collections


Error: Template parse errors: 'drag-helper' is not a known element:

Hi all,
I am trying to use ng2-drag-drop in my angular 4 project, I copied the whole folder of drag-help of the demo project to my project and added  to my app.component.html, drag-helper.component.ts has selector: 'drag-helper', but after I build and start ng server, in my browser, I got this error:
Error: Template parse errors:
'drag-helper' is not a known element:

If 'drag-helper' is an Angular component, then verify that it is part of this module.
If 'drag-helper' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.

Any clue?
Thanks

Got it working, sorry to bother.
Thanks