1.9.1 mounting over tmp does not work correctly

docker version:
Client:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5/1.9.1
Built:
OS/Arch:      linux/amd64
Server:
Version:      1.9.1
API version:  1.21
Go version:   go1.4.2
Git commit:   a34a1d5/1.9.1
Built:
OS/Arch:      linux/amd64
docker info:
Containers: 3
Images: 96
Server Version: 1.9.1
Storage Driver: devicemapper
Pool Name: docker-202:1-263200-pool
Pool Blocksize: 65.54 kB
Base Device Size: 107.4 GB
Backing Filesystem:
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 2.438 GB
Data Space Total: 107.4 GB
Data Space Available: 28.15 GB
Metadata Space Used: 5.857 MB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.142 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.1.13-19.31.amzn1.x86_64
Operating System: Amazon Linux AMI 2015.09
CPUs: 2
Total Memory: 3.679 GiB
environment details:
aws ecs optimised amazon linux 2015.09f 64 bit
root volume: 30gb
ebs /dev/xvdb: 100gb - formatted using
mkfs -t ext4 /dev/xvdb

docker container is ubuntu 14.04, updated as part of image creation
steps to reproduce:
mount an ebs volume as /tmp inside a docker container
expected results
/ would show as default container size of 10gb
received result
/ shows as 100gb
df -h output:
Filesystem                                                                                Size  Used Avail Use% Mounted on
/dev/mapper/docker-202:1-263200-e439740dba834851711b11743f9e63368e53b683a734352612dd374d41646e69  100G  1.2G   99G   2% /
tmpfs                                                                                1.9G     0  1.9G   0% /dev
tmpfs                                                                                1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/xvdb                                                                                99G   60M   94G   1% /tmp
/dev/xvda1                                                                                30G  3.2G   27G  11% /etc/hosts
shm                                                                                64M     0   64M   0% /dev/shm

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

updated original post, hope that helps.

recent amazon ami update appears to of changed the issue, the root container now shows as 100gb, the root volume is 30gb, so would expect this or the default 10gb container size.

The default container size is 100GB on Devicemapper in 1.9.. and maybe 1.8, can't remember.

Yes, the default changed to 100GB in 1.8 (see https://github.com/docker/docker/pull/14709), but cause a lot of performance issues (see https://github.com/docker/docker/issues/18314), so it was changed back to 10GB by default, https://github.com/docker/docker/pull/19123, and an option was added to increase this on daemon restart.

Note that, if you're running on Ubuntu, you may consider using aufs as a storage driver

ok, was surprised to see this change, but glad it's reverted with option to increase in 1.1. will need to wait for that release to see it back to expected values without intervention. Will set to 10gb in my configs, closing.


updates

models/geometry/mesh_arm26/arm_r_humerus.vtp
models/geometry/mesh_arm26/arm_r_ulna.vtp
models/geometry/mesh_arm26/ground_ribs.vtp
Can you put this three files in the parent folder models/mesh_arm26
Can you add the description of models in the readme.md of models

Just these two comments and I'll merge.


consider supporting shop=gold_buyer

OSM Tag(s)
shop=gold_buyer
How would you like this tag to see supported?
As a Preset
Label
Gold buyer
Aliases
Gold trader
Terms
No response
Link to OSM Wiki page
https://wiki.openstreetmap.org/wiki/Tag:shop%3Dgold_buyer
Status of the Tag
In Use
Usage of the tag

200

Replaces other Tag?
no
Regional Tag?
global
Further Information
part of #362 (sync NSI tags), but makes sense in general

usage (~240 features) is still(?) surprisingly low, but I agree that adding a preset for these businesses would make sense.

Most of these are tagged as shop=pawnbroker I think.


ISPN-12900 Scattered Cache max idle tests can fail randomly

https://issues.redhat.com/browse/ISPN-12900

Merged, thanks


DatabricksVectorSearch as_retriever() unexpected keyword argument 'query_type'

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
def get_retriever(persist_dir: str = None):
    os.environ["DATABRICKS_HOST"] = host
    #Get the vector search index
    vsc = VectorSearchClient(workspace_url=host, personal_access_token=os.environ["DATABRICKS_TOKEN"])
    vs_index = vsc.get_index(
        endpoint_name=VECTOR_SEARCH_ENDPOINT_NAME,
        index_name=index_name
    )

    # Create the retriever
    vectorstore = DatabricksVectorSearch(
        vs_index, text_column="text", embedding=embedding_model, columns=["source"]
    )
    return vectorstore.as_retriever()
retriever = get_retriever()
retriever.invoke("What is Databricks?")

Error Message and Stack Trace (if applicable)
TypeError: VectorSearchIndex.similarity_search() got an unexpected keyword argument 'query_type'
File , line 1
----> 1 retriever.invoke("what is databricks")
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-b6f1f3d1-b60d-43a9-8cef-d3eca12d9412/lib/python3.10/site-packages/langchain_community/vectorstores/databricks_vector_search.py:350, in DatabricksVectorSearch.similarity_search_with_score(self, query, k, filter, query_type, **kwargs)
348         query_text = None
349     query_vector = self.embeddings.embed_query(query)
--> 350 search_resp = self.index.similarity_search(
351     columns=self.columns,
352     query_text=query_text,
353     query_vector=query_vector,
354     filters=filter or _alias_filters(kwargs),
355     num_results=k,
356     query_type=query_type,
357 )
358 return self._parse_search_response(search_resp)
Description
This error only appears in langchain-community > 0.2.9.
The retriever works for <= 0.2.9 versions
System Info
Running Notebook on Databricks with DBR 14.3 LTS • Spark 3.5.0 • Scala 2.12

Please help with resolution for this.

I found a work around. I hope this is helpful to someone.
install langchain-databricks
from langchain_databricks.vectorstores import DatabricksVectorSearch

def get_retriever(persist_dir: str = None):

    vector_store = DatabricksVectorSearch(
                endpoint=VECTOR_SEARCH_ENDPOINT_NAME,
                index_name=index_name
            )

    retriever = vector_store.as_retriever()
    return retriever

retriever = get_retriev


wingetui is blank,  nothing works for me.  Maybe soeone can help because im out of ideas.

PS C:\Windows\system32> winget install SomePythonThings.WingetUIStore
The msstore source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").
Do you agree to all the source agreements terms?
[Y] Yes  [N] No: Y
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80071130 : Fast Cache data not found.
This error follows me everywhere nothing gets rid of it.  My knowledge is very green in powershell but im learning.  but despite 2-3 pages of  google searches and youtube videos etc nothing try will make wingetui work.  I just launches and UI appears and nothing comes up.   anywhere.  no buttons menus do anything.  Ive successfully added removed packages with winget cli _ and for the most part winget behaves as expected I think.
and for some reason Reset-AppxPackage doesnt exist on my system.
I followed one youtube video that installed a windows store app but it appears outdated and not proper since store looks outdated and store experience host fails to update.  so I thought I could remove them and install using wingetui and now here I am.  Ive installed spotify and a PDF app as a test and winget cli worked.  but UI is empty.
More help can be found at: https://aka.ms/winget-command-source
PS C:\Windows\system32> winget source list
Name    Argument
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache
Im sorry to have to ask for help but im totally out of ideas.  I spent a day trying to get it going.  it seems like it should work.  And well winget does work as cli.  and this one error that comes up at random times listed above.  Maybe one of you know the probably one magic thing that im missing here.  Is this something simple like clearing the cache.
thanks Randy

maybe some more useful info most looks totally normal
C:\Windows\system32>winget --info
Windows Package Manager v1.7.10582
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.17763.5329
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10582.0
Winget Directories
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Links
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting                             State
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

please try the solutions on #1721

OK i tried everything listed here and got some progress.  NOW the main screen is still blank all the time but when search for a package the package manager (only winget as per instructions.) is finding what Im searching for but not displaying and my installed packages is still blank but winget list shows them all in powershell.
so the package manager log shows this when searching for 'PDF' but doesnt show them on main screen.
the main screen says packages found ZERO but the log says this.

SearchName                                     SearchId                          SearchVersion SearchMatch SearchSource-----------------------------------------------------------------------------------------------------------------------PDF X: PDF Editor & PDF Reader                 9P3CP9G025RM                      Unknown                   msstoreNeat Office - DOCX, XLSX & PDF App             9P2HTZQ722V3                      Unknown                   msstorePDF Reader - View and Edit PDF                 9NBLGGH67WLK                      Unknown                   msstoreDrawboard PDF                                  9WZDNCRFHWQT                      Unknown                   msstoreFoxit PDF Reader                               XPFCG5NRKXQPKT                    Unknown                   msstoreDoc Scan PDF Scanner                           9PD0CD1VSZNG                      Unknown                   msstoreOfficeSuite Personal Office Pack & PDF Editor  9MWK7RN11C5Z                      Unknown                   msstorePDF Editor - epub ebook                        9N2F0P0166HF                      Unknown                   msstoreWondershare PDFelement - PDF Editor and PDF C… XPFP0G0V147H6D                    Unknown                   msstoreXodo - PDF Reader & Editor                     9WZDNCRDJXP4                      Unknown                   msstorePDF Merger & Splitter                          9P4TCNS9H432                      Unknown                   msstorePDF Reader Pro - PDF Editor & Converter        9N8K6FK85SC5                      Unknown                   msstoreFoxit PDF Editor                               XPDNZD76FP5JR7                    Unknown                   msstoreAny PDF to JPG                                 9NGV3RRB3ZK2                      Unknown                   msstorePDF Converter X Pro                            9MWDP4QTXDXH                      Unknown                   msstoresFree Office for Docs and PDF                  9MTWCD8H4F5P                      Unknown                   msstore万兴PDF阅读器                                  Wondershare.PDFReader.CN          1.0.10        Tag: pdf    wingetWondershare PDF Reader                         Wondershare.PDFReader             1.0.9         Tag: pdf    wingetWondershare PDF Password Remover               Wondershare.PDFPasswordRemover    1.5.3         Tag: pdf    winget万兴PDF                                        Wondershare.PDFelement.CN         10.2.5        Tag: pdf    wingetWondershare PDFelement                         Wondershare.PDFelement.9          9.5.14        Tag: pdf    wingetWondershare PDFelement                         Wondershare.PDFelement.8          8.4.13        Tag: pdf    wingetWondershare PDFelement                         Wondershare.PDFelement.7          <IP_ADDRESS>64   Tag: pdf    wingetWondershare PDFelement 6 Pro                   Wondershare.PDFelement.6.Pro      <IP_ADDRESS>93    Tag: pdf    wingetWondershare PDFelement 6                       Wondershare.PDFelement.6          <IP_ADDRESS>93    Tag: pdf    wingetWondershare PDFelement                         Wondershare.PDFelement.10         10.3.0        Tag: pdf    wingetWondershare PDF Converter Pro                  Wondershare.PDFConverter.Pro      5.1.0         Tag: pdf    wingetWondershare HiPDF                              Wondershare.HiPDF                 1.0.3         Tag: pdf    wingetwkhtmltox                                      wkhtmltopdf.wkhtmltox             0.12.6-1      Tag: pdf    wingetPDF-XChange Viewer                             TrackerSoftware.PDF-XChangeViewer 2.5.322.10    Tag: pdf    wingetExifCleaner                                    szTheory.exifcleaner              3.6.0         Tag: pdf    wingetSumatraPDF                                     SumatraPDF.SumatraPDF             3.5.2         Tag: pdf    wingetFlexiPDF 2022                                  SoftMaker.FlexiPDF.2022           3.07          Tag: pdf    wingetSejda PDF Desktop                              Sejda.PDFDesktop                  7.5.3         Tag: pdf    wingetschild.report                                  schild-report.schild-report       2.6.125       Tag: pdf    wingetPDFKeeper                                      RobertFFrasca.PDFKeeper           9.1.3         Tag: pdf    wingetRemNote                                        RemNote.RemNote                   1.14.18       Tag: pdf    wingetPDFill FREE PDF Editor Basic                   PlotSoft.PDFill                   15.0          Tag: pdf    wingetPDFsam Basic                                   PDFsam.PDFsam                     5.2.2         Tag: pdf    wingetpdfarranger                                    PDFArranger.PDFArranger           1.10.0        Tag: pdf    wingetPDFlux                                         PaodingAI.PDFlux                  6.2.48        Tag: pdf    wingetPandoc GUI                                     Ombrelin.PandocGui                1.1.35        Tag: pdf    wingetNitro Pro                                      NitroSoftware.NitroPro            <IP_ADDRESS>    Tag: pdf    wingetNaturalReader 16                               Naturalsoft.NaturalReader16       16.1.2        Tag: pdf    wingetWPS Office                                     Kingsoft.WPSOffice                <IP_ADDRESS>89  Tag: pdf    winget金山PDF独立版                                  Kingsoft.KingsoftPDF              <IP_ADDRESS>59  Tag: pdf    wingetOkular                                         KDE.Okular                        23.08.1       Tag: pdf    winget小绿鲸英文文献阅读器                           Jianjing.XLJSCI                   <IP_ADDRESS>       Tag: pdf    wingetDr.Explain                                     IndigoByte.DrExplain              6.7.1296      Tag: pdf    wingetiLovePDF                                       iLovePDF.iLovePDFDesktop          <IP_ADDRESS>       Tag: pdf    wingetReadPaper                                      IDEA.ReadPaper                    1.25.2        Tag: pdf    wingetPDF Candy Desktop                              IcecreamApps.PDFCandy             2.94          Tag: pdf    winget极速玩转                                       Hitencent.JisuTodo                <IP_ADDRESS>       Tag: pdf    winget极速PDF转WORD                                  Hitencent.JisuPDFToWord           <IP_ADDRESS>       Tag: pdf    winget极速PDF编辑器                                  Hitencent.JisuPDFEditor           3.0           Tag: pdf    winget极速PDF阅读器                                  Hitencent.JisuPDF                 <IP_ADDRESS>26    Tag: pdf    wingetGSview                                         Ghostgum.GSview                   5.0           Tag: pdf    wingetPDF24 Creator                                  geeksoftwareGmbH.PDF24Creator     11.17.0       Tag: pdf    wingetFoxit PDF Editor                               Foxit.PhantomPDF                  <IP_ADDRESS>93  Tag: pdf    wingetFoxit PDF Reader                               Foxit.FoxitReader                 2<IP_ADDRESS>…

Oh forgot to mention this litlle error still shows itself in package manager logs also after winget section and the little bar chart.
Failed to open the predefined source; please report to winget maintainers.
An unexpected error occurred while executing the command:
0x80071130 : Fast Cache data not found.

Now try to go to WingetUI Settings -> Winget -> Reset Winget Sources

woww getting so close i can almost taste it.  This time i searched for racer and as usual package manager shows results in the log
of this
SearchName                    SearchId                            SearchVersion SearchMatch      SearchSource-------------------------------------------------------------------------------------------------------------Kanji Racer: Hiragana Edition 9P3C9B5RBR7P                        Unknown                        msstoreKanji Racer: Katakana Edition 9N70W1RRQRNL                        Unknown                        msstoreSmart Racer                   9WZDNCRDKLQV                        Unknown                        msstorePOV-Ray for Windows           PersistenceOfVisionRaytracer.POVRay 3.7                            wingetExtreme TuxRacer              ExtremeTuxRacer.ExtremeTuxRacer     <IP_ADDRESS>                        wingetDatadog .NET Tracer           Datadog.dd-trace-dotnet             2.43.0                         wingetBest Trace                    IPIP.BestTrace                      <IP_ADDRESS>       Tag: traceroute  wingetOSPRay                        Intel.OSPRay                        3.1.0         Tag: path-tracer wingetTrippy                        FujiApple.Trippy                    0.9.0         Tag: traceroute  wingetNETworkManager                BornToBeRoot.NETworkManager         2<IP_ADDRESS>    Tag: traceroute  winget
and NO FASTCACHE ERROR for first time
so just the issue of still a blank screen for all installed or searched packages.  but winget is working with no errors.= finally.
thanks, so 2\whats keeping the screen blank.
heres a portion of log since no timestamps i dont quite know where one iteration begins and ends.
I wouldnt know anything is happening wo the package manager log.  so glad winget is working finally no errrors.  Thank you for your help after you worked so hard to write it but its so complicated at least to me as i learn I had just hit my limit.

🔵 Reactivation signal ignored: RaiseWindow_[1710320579.2268636]
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Scoop is disabled', 'ChocolateyFound': False, 'ChocolateyVersion': 'Chocolatey is disabled', 'PipFound': False, 'PipVersion': 'Pip is disabled', 'NpmFound': False, 'NpmVersion': 'Npm is disabled', '.NET ToolFound': False, '.NET ToolVersion': '.NET Tool is disabled', 'PowerShellFound': False, 'PowerShellVersion': 'PowerShell is disabled', 'WingetFound': True, 'WingetVersion': 'v1.6.3482  '}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🟢 Searching for string ""
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🟢 Chocolatey source search finished with 0 sources
🔵 Starting PowerShell source search...
🟢 Settings tab loaded!
🟢 Winget source search finished with 0 sources
🔵 Reloading Scoop sources...
🟢 About tab loaded!
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
🟢 Scoop source search finished with 5 sources
Win32Mica Error: win32 version 17763 is not supported
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
Win32Mica Error: win32 version 17763 is not supported
🟢 Main application loaded...
🟢 Total packages: 0
Traceback (most recent call last):
File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in
TypeError: 'NoneType' object is not callable
🔵 Starting Winget search for updates
Traceback (most recent call last):
File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in
TypeError: 'NoneType' object is not callable
🟢 PowerShell source search finished with 1 sources
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🟢 Found reactivation lock file...
🔵 Starting Winget search for installed packages
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🔵 Starting update check
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🔵 Starting update check
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🔵 Starting update check
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🟢 Found reactivation lock file...
🔵 Starting Winget search for installed packages
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🔵 Starting Winget source search...
🔵 Starting Scoop source search...
🔵 Starting Chocolatey source search...
🔵 Starting PowerShell source search...
Traceback (most recent call last):
File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File ".\Interface\CustomWidgets\InstallerWidgets.py", line 669, in
TypeError: 'NoneType' object is not callable
🟢 Chocolatey source search finished with 0 sources
🟢 Winget source search finished with 2 sources
🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
IndexError: list index out of range
🟢 Scoop source search finished with 5 sources
🔵 Image URL: https://www.marticliment.com/resources/wingetui.png
🟠 Unable to retrieve announcement image
🔴  Traceback (most recent call last):
🔴  Traceback (most recent call last):
🔴    File ".\Interface\CustomWidgets\SpecificWidgets.py", line 403, in loadAnnouncements
🔴    File ".\Interface\CustomWidgets\SpecificWidgets.py", line 403, in loadAnnouncements
🔴  FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Randy Kuehn\AppData/Local/WingetUI/CachedIcons\announcement.png'
🔴  FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Randy Kuehn\AppData/Local/WingetUI/CachedIcons\announcement.png'
🔴 Note this traceback was caught by reporter and has been added to the log ([Errno 2] No such file or directory: 'C:\Users\Randy Kuehn\AppData/Local/WingetUI/CachedIcons\announcement.png')
🟢 PowerShell source search finished with 1 sources
🟢 Found reactivation lock file...
🔵 Starting Winget search for installed packages
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Winget search for installed packages
🟢 Winget search for installed packages finished with 0 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 0
🟢 Searching for string "r"
🟢 Searching for string "ra"
🟢 Searching for string "rac"
🟢 Searching for string "race"
🟢 Searching for string "racer"
🔵 Loading dynamic packages for query racer
🔵 Starting Winget search for dynamic packages
🟢 Winget search for updates finished with 0 result(s)
🟢 Searching for string "racer"
🔵 Reloading Package Manager logs...
🔵 Loading WingetUI log...

Hello,
Please try running this release:
https://github.com/marticliment/WingetUI/releases/download/3.0.0-beta1/WingetUI.Installer.exe

Im sorry but the wingetUI full size window opens and then flashes away with no error message.  I looked through all the wikis and such but couldnt find the path to the log files.  I looked through my portable  2.2 install but didnt find a single log file and no logs in my appdata either.  so I cant tell u where it failed but I saw your huge logo and the gray window but then it vanished.
I can tell u more if you tell me log paths.
thanks.
Randy

Are you running WingetUI as administrator?

yes as administrator.  ok heres what i know.  windows caught 2 errors.

Application: WingetUI.exe
CoreCLR Version: <IP_ADDRESS>11
.NET Version: 8.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException (0x8001010E): The application called an interface that was marshalled for a different thread.
The application called an interface that was marshalled for a different thread.
at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)
at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)
at ABI.Microsoft.UI.Xaml.Controls.IInfoBarMethods.set_Title(IObjectReference _obj, String value)
at Microsoft.UI.Xaml.Controls.InfoBar.set_Title(String value)
at ModernWindow.Structures.AppTools.UpdateWingetUIIfPossible(Int32 round) in Y:\WingetUI-Store\src\wingetui\Core\Tools.cs:line 419
at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

Faulting application name: WingetUI.exe, version: <IP_ADDRESS>, time stamp: 0x65a80000
Faulting module name: KERNELBASE.dll, version: 10.0.17763.5576, time stamp: 0x35679fc4
Exception code: 0xe0434352
Fault offset: 0x00000000000349b9
Faulting process id: 0x2a00
Faulting application start time: 0x01da764a7038f1d5
Faulting application path: C:\Program Files\WingetUI\WingetUI.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 367037d0-6f30-4e45-9946-67350767a58a
Faulting package full name:
Faulting package-relative application ID:
If this help sat all.  I just updated to to .Net 8 i thought so not sure about these errors.
If wingetUI has logs somewhere let me know but i havent found any.
Randy

Hello Randy, I am afraid I sent you an incorrect WingetUI Version. Please test this new version and let me know: https://github.com/marticliment/WingetUI/releases/download/3.0.0/WingetUI.Installer.exe  Martí Climent De: chowderheadEnviat: dijous, 14 de març de 2024 21:07Per a: marticliment/WingetUIA/c: Martí Climent; CommentTema: Re: [marticliment/WingetUI] wingetui is blank, nothing works for me. Maybe soeone can help because im out of ideas. (Issue #1895) yes as administrator. ok heres what i know. windows caught 2 errors.Application: WingetUI.exeCoreCLR Version: <IP_ADDRESS>11.NET Version: 8.0.2Description: The process was terminated due to an unhandled exception.Exception Info: System.Runtime.InteropServices.COMException (0x8001010E): The application called an interface that was marshalled for a different thread.The application called an interface that was marshalled for a different thread.at WinRT.ExceptionHelpers.g__Throw|39_0(Int32 hr)at WinRT.ExceptionHelpers.ThrowExceptionForHR(Int32 hr)at ABI.Microsoft.UI.Xaml.Controls.IInfoBarMethods.set_Title(IObjectReference _obj, String value)at Microsoft.UI.Xaml.Controls.InfoBar.set_Title(String value)at ModernWindow.Structures.AppTools.UpdateWingetUIIfPossible(Int32 round) in Y:\WingetUI-Store\src\wingetui\Core\Tools.cs:line 419at System.Threading.Tasks.Task.<>c.b__128_1(Object state)at System.Threading.ThreadPoolWorkQueue.Dispatch()at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()Faulting application name: WingetUI.exe, version: <IP_ADDRESS>, time stamp: 0x65a80000Faulting module name: KERNELBASE.dll, version: 10.0.17763.5576, time stamp: 0x35679fc4Exception code: 0xe0434352Fault offset: 0x00000000000349b9Faulting process id: 0x2a00Faulting application start time: 0x01da764a7038f1d5Faulting application path: C:\Program Files\WingetUI\WingetUI.exeFaulting module path: C:\Windows\System32\KERNELBASE.dllReport Id: 367037d0-6f30-4e45-9946-67350767a58aFaulting package full name:Faulting package-relative application ID:If this help sat all. I just updated to to .Net 8 i thought so not sure about these errors.If wingetUI has logs somewhere let me know but i havent found any.Randy—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID<EMAIL_ADDRESS>
OK so not sure what all that extra text in the reply but I got the link and uninstalled old 3.0 and put new 3.0 in and
WE NOW HAVE A WINDOW with no crash.  yahoo!!.
Sp i did some testing and wanted to give you feedback.
Installed packages still is completely empty with or wo a search query
But searching for discover packages npw FINDS ALL MMY SEARCHES!!
so I went a step further and got info n some packages and most time get just a link to the app with all other info blank.
I searched for a small app called HTML to PDF just use as example to test
Its free and small
Its link is https://apps.microsoft.com/detail/9n1zms34f8kz?hl=en-us&gl=CA on MS store
Its found it but every attempt to install failed.
I tried 2 times then turned back on all the other protocols we turned off before but a third attempt also failed.
the command results that came up in the failure window was
Starting package install operation for package id=9N1ZMS34F8KZwith Manager name=Winget
Given installation options are <InstallationOptions: SkipHashCheck=False;InteractiveInstallation=False;RunAsAdministrator=False;Version=;Architecture=;InstallationScope=;InstallationScope=;CustomParameters=;RemoveDataOnUninstall=False>
Process Executable     : C:\Program Files\WingetUI\PackageEngine\Managers\winget-cli_x64\winget.exe
Process Call Arguments :  install --id 9N1ZMS34F8KZ --exact --accept-source-agreements --silent --disable-interactivity --accept-package-agreements
Working Directory      : C:\Users\Randy Kuehn
|    /
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  1024 KB / 5.08 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  2.00 MB / 5.08 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  3.00 MB / 5.08 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’  4.00 MB / 5.08 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’  5.00 MB / 5.08 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆ  5.08 MB / 5.08 MB
|   â–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  1024 KB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  2.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  3.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  4.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  5.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’â–’  6.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’â–’â–’â–’  7.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’â–’â–’â–’  8.00 MB / 9.49 MB
|   â–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–ˆâ–’â–’  9.00 MB / 9.49 MB
|    -
| SourceOpenPredefinedFailedSuggestion
| UnexpectedErrorExecutingCommand
| 0x80071130 : Fast Cache data not found.
Process Exit Code      : -2147020496
Process End Time       : 3/14/2024 9:24:59 PM
Just as a test I went and downladed manually 5259FreeSoftwareApps.HTMLtoPDF-Free_<IP_ADDRESS>_neutral_~_nzrphq7phantj.Msixbundle and ran the installer on the package and it installed so at least we knw that it can be installed.  I just wanted to be sure so I wasnt giving u bad info.
Its looking amazing.  Im not sure if INSTALLED packages is supposed to show all my packages like winget packages --info or remain blank without some other settings or info but whatever was bugging 2.2 making it so hard to get results has definitely improved dramatically.
The install that failed appeared to download the whole file but then couldnt install it but no idea why after manially installing it successfully.  The logs were most;y just same info i just gave you.
Let me know what else I can try as things just keep gettting better.
thhanks, Randy

Hello,
Glad to hear that WingetUI now shows up!
To fix the missing packages, please follow the instructions on #1721

Hello, everyone,
WingetUI 3.0.2 has been published. It fixes

Crashes with .NET Sdk 8.0.3 (no launch at all)
Crashes with .NET Sdk 8.0.4 (Cannot locate resource from 'ms-appx:///Microsoft.UI.Xaml/Themes/themeresources.xaml)
Crashes with the App Sdk (This app requires whe Windows App runtime) when it was already installed
Crashes when elevating WingetUI from non-admin users

WingetUI 3.0.2 can be downloaded directly from here. If the crashes persist, please reply here and I will reopen the issue.


[HTTPCORE-767] Update JSSEProviderIntegrationTest to skip conscript

Update JSSEProviderIntegrationTest to skip conscript when on ppc64le.
Tested on:
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/jgoodyear/Documents/x1/maven/apache-maven-3.9.6
Java version: 1.8.0_412, vendor: IBM Corporation, runtime: /home/jgoodyear/Documents/x1/java/jdk8u412-b08/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.14.0-447.el9.ppc64le", arch: "ppc64le", family: "unix"
Apache Maven 3.9.5 (57804ffe001d7215b5e7bcb531cf83df38f93546)
Maven home: /Users/jgoodyear/Documents/x1/maven/apache-maven-3.9.5
Java version: 1.8.0_312, vendor: Azul Systems, Inc., runtime: /Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "mac os x", version: "14.5", arch: "aarch64", family: "mac"

@jgoodyear Would you be willing to put some more work into this PR?

Sure thing

Sure thing

@jgoodyear
Then, could you please do two things:

As per @garydgregory suggestion please use JUnit assumptions
Instead of excluding ppc64le make the test run only on those platforms that Conscrypt officially supports

The closest i've found to a list of supported Architectures is here:
https://github.com/google/conscrypt/blob/master/platform/build.gradle#L59
https://github.com/google/conscrypt/blob/master/openjdk/build.gradle#L22
x86_64, aarch_64, aarch64, x86-64, x86,  armeabi-v7a, and arm64-v8a // There appears to be some variation in how arch is denoted.
Their main readme suggests its just x86-64 and ARM variants which are supported. No sparc/PPC definitions.
This would lead to code similar to:
final Set<String> supportedArchitectures = new HashSet<>(Arrays.asList("x86", "x86_64",
                        "x86-64", "amd64", "aarch64", "armeabi-v7a", "arm64-v8a"));
                Assumptions.assumeTrue(supportedArchitectures.contains(System.getProperty("os.arch")));

From a readibility point of view would a shorter list of ppc64le, ppc, s390, sparcv9?

Hmm, the classifiers on maven central makes the list effectively x86_64 (however their code & docs specifically shows arm releases as well).
https://repo1.maven.org/maven2/org/conscrypt/conscrypt-openjdk/2.5.2/

final Set<String> supportedArchitectures = new HashSet<>(Arrays.asList("x86", "x86_64",
                        "x86-64", "amd64", "aarch64", "armeabi-v7a", "arm64-v8a"));
                Assumptions.assumeTrue(supportedArchitectures.contains(System.getProperty("os.arch")));

From a readibility point of view would a shorter list of ppc64le, ppc, s390, sparcv9?

@jgoodyear Works for me as is.


Grounding UPF problems

Need for figuring out how to ground UPF problems, especially to wrap them into scikit-decide domains.
TODOs as per the TODO lines in the scikit-decide domain wrapper:

how to get instantiated actions' rewards or costs?
how to get instantiated parameters of actions whose preconditions hold in a given state (i.e. assignments)?
how to get all the possible instantiated actons?

Hi @mikand I think I will need your help for this. Maybe we should organize a 1h meeting to work this out? Thanks

Hi @fteicht,
here are some comments (to be discussed if needed).

Indeed, we need to ground the problem upfront in order to handle the action parameters (doing it online inside the Domain seems a waste of computational resources because you would need to re-ground the same actions over and over). The UPF will soon offer this service, but in the meantime you can simply assume (and assert) that all the actions have no parameters. This should simplify your code, because the action space simply becomes the list of the problem actions (not action instances) and the _get_applicable_actions_from method also returns a subset of the actions (those applicable in the given state). Note that there is no need to create action instances at this point, you can reason at the level of actions. Once a policy is generated by a RL, we can follow it to (possibly) retrieve a plan made of action instances.
The semantics of the for loop at line 95 seems wrong: all the action preconditions must hold, while you seem to add the action if at least one precondition holds.
Concerning the reward, we will soon have a plan quality measure that will allow to give a meaningful reward, but for the time being you can set 0 for every transitions except for the ones reaching a goal state that can get 1. Does this make sense?

Related to this comment.

@mikand The second item in your comment is fixed in this commit. We can close the issue. Thanks!


Size Per Page List doesn't seem to work

Hi there,
I'm trying to use the sizePerPageList option on my table but it doesn't seem to work. I used it as below:
options={{
            sizePerPageList: [5,10,15,20],
            sizePerPage: 10,
            paginationShowsTotal: true
          }}

It just displays the default 10.

I think the sizePerPage in dropdown should be 5 10 15 20. But you give the sizePerPage with 10, which mean the default selected size per page. that's why you always see 10 is shown by default.

From your docs page, sizePerPage takes Number as argument. When I use it as array:
options={{
            sizePerPage: [5,10,15,20],
            paginationShowsTotal: true
          }}

I get something like this:

I removed sizePerPage but no luck:
options={{
            sizePerPageList: [5,10,15,20],
            paginationShowsTotal: true
          }}

sizePerPageList does not work for me either.

check https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/pagination/custom-pagination-table.js example, I cant find any issue here, please show me for to reproduce it.
Clear again,
Use sizePerPage to set the default sizePerPage option.
Use sizePerPageList to set the dropdown list for sizePerPage.
So I really have no idea about what's that means for sizePerPageList does not work


WiFI performance degraded compared to other distros

WiFi performance has been noted to be particularly slow on some MediaTek and Realtek WiFi modules when compared to the same hardware on other distros (PopOS and HoloISO namely). We need to investigate the cause and attempt to find a solution.
Incomplete list of possibly affected hardware:
Latest Asus Zephyrus Laptop
Aya Neo handhelds with RZ608/MT7921K
OXP Handhelds with RZ608/MT7921K

Possible causes:
Some recommendations are to disable MAC address randomization:
https://wiki.archlinux.org/title/NetworkManager#Configuring_MAC_address_randomization
archwiki article
https://wiki.archlinux.org/title/Frequently_asked_questions#Why_is_my_internet_so_slow_compared_to_other_operating_systems?

Could you please test the current unstable image? It contains disabled MAC randomization.

Currently download on my aya neo at 45MB/s. chimeraos-35_01a35f3

Will close it as solved for now. If stutters come around again, please reopen.


NSwag.MSBuild <IP_ADDRESS> throwing error about assembly Microsoft.AspNetCore.Mvc.ViewFeatures

Recently upgraded my .NET Core 1.1 app to 2.0, and also updated the NSwag packages I was using. Calling NSwag.MSBuild inside of a pre-build event:
$(NSwagExe) webapi2swagger /assembly:"$(SolutionDir)API\bin\$(Configuration)\netcoreapp2.0\API.dll" /output:API.swagger.json
Produces the following error:
4>  NSwag command line tool for .NET 4.6+, toolchain v<IP_ADDRESS> (NJsonSchema v<IP_ADDRESS>) (x64)
4>  Visit http://NSwag.org for more information.
4>  NSwag bin directory: C:\Users\jstrang\.nuget\packages\nswag.msbuild\11.4.3\build
4>  System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
4>  File name: 'Microsoft.AspNetCore.Mvc.ViewFeatures, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'

Anyone else having this issue with .NET Core 2.0?

Is the file "'Microsoft.AspNetCore.Mvc.ViewFeatures" located in "$(SolutionDir)API\bin$(Configuration)"?

Nope, but that doesn't seem to matter (unless I am completely missing something here). Its the NSwag.exe inside of ".nuget\packages\nswag.msbuild\11.4.3\build" that is missing "Microsoft.AspNetCore.Mvc.ViewFeatures" as well as the Mvc.Core.dll

And yes, definitely doing a dotnet publish on the API project before trying to call NSwag on the API assembly. The spot where it is failing is on $(NSwagExe) webapi2swagger , and the same result if I call NSwag.exe (the one in  ".nuget\packages\nswag.msbuild\11.4.3\build") directly through command line. It was working as-is with .NET Core 1.1 and the most-recently-compatible version of NSwag.
Here's the gist of the build event:
 dotnet publish "$(SolutionDir)API\API.csproj" --configuration "$(Configuration)"
$(NSwagExe) webapi2swagger /assembly:"$(SolutionDir)API\bin\$(Configuration)\netcoreapp2.0\API.dll" /output:API.swagger.json
$(NSwagExe) swagger2csclient /input:API.swagger.json /classname:{controller}Client  /namespace:API.Client /output:Clients.Generated.cs
$(NSwagExe) swagger2tsclient /input:API.swagger.json /generateClientClasses:false /generateClientInterfaces:false /typeStyle:Interface /output:ServerModels.ts"

The msbuild package still runs in full .net 4.6.2 and maybe this fw is not able to load .net core 2.0 assemblies? Maybe we need a .net 4.7 or a .net core 2.0 version? Only the npm package is currently published with a .net core 2.0 version ("--core 2.0" switch)

Can you create a repro of the problem?
Btw: You should use a nswag.json file and just run "nswag.exe run nswag.json" - much simpler to manage the config.

Sure, I'll create a sample project tonight or tomorrow and reply back here. Thank you for the tip about the json config, I'll definitely incorporate that. I'll keep you posted on the repro.

https://github.com/jim-strang/nswag-issue905-sample
Here's an example solution. Try building the API.Client project in Release mode and you will see the build errors. I tried to make it as simple as possible.
Please let me know if there is anything else I can do to help out with this issue.

Strange, why are the ASP.NET Core assemblies not in the publish folder? Where are they loaded from?
Btw: NSwag also provides a middleware like Swashbuckle and Swagger UI, you don't need both :-) - and if the Swagger is generated in-process, you avoid all these problems - but you cant generate code during compilation... (ie the server must be running and serve the spec for the code generator)

Right yeah - that makes sense, removing the Swashbuckle swagger gen is on my todo list. I want to have it done during the build so we can do c# and TS code gen based on the spec.
I assume that the .NET Core assemblies are pulled from the dotnet SDK location? Maybe dotnet publish changed between 1.1 and 2.0 and there's some other flag needed to copy ALL assemblies to publish. I'll look into that.

Ok, I've got one step further. If I add
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>

to the .csproj, all required dlls are published. Now the assembly "netstandard" cannot be loaded...

If I upgrade NSwagStudio to .NET 4.6.1 and install NETStandard.Library.NETFramework it works
https://www.nuget.org/packages/NETStandard.Library.NETFramework/2.0.0-preview2-25405-01

But NETStandard.Library.NETFramework is deprecated :)

Nice! Good find. How about the regular NETStandard.Library?
https://www.nuget.org/packages/NETStandard.Library/

Nope, doesn't work... only working with the prerelease version of NETStandard.Library.NETFramework...
There must be something missing...

Ref: https://github.com/dotnet/sdk/issues/1220
Maybe NSwagStudio.csproj is using the old MSBuild tooling and this is why it is not working?

If i run the .net core 2.0 nswag cmd line tool it also works (if the dlls are in the publish folder).

Ill do some more tests tomorrow, already too late..

No worries, let me know if I can help out in any way

Ok, I think I've found a solution. If you add
<DependsOnNETStandard>true</DependsOnNETStandard>

to your project (NSwagStudio, NSwag.Console), the loading works if the web app is published with
<PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>

I've updated the wiki, but we should improve it...
https://github.com/RSuter/NSwag/wiki/WebApiAssemblyToSwaggerGenerator#net-core

I'm looking into ways to have something "pick up" the .net core assemblies without having to publish with <PublishWithAspNetCoreTargetManifest>false</PublishWithAspNetCoreTargetManifest>. Maybe something to do with dotnet store?

Including with nswag is not an option because we would have to pick a specific version of asp.net - but nswag supports all versions of asp.net. This would force the users to always use the same asp.net version as nswag.

Maybe this option can be set as dotnet publish cmd line param?
Or you have to find the cache location and add this path to the ReferencePaths setting.

Ref: https://docs.microsoft.com/en-us/dotnet/core/deploying/runtime-store

dotnet publish with --self-contained seems to do exactly that (after you also specify a --runtime value)

Hi,
I arrived here due original error at top, then I cloned Jim´s repo and added paths below to NSwag Studio in order to search for missing assemblies:
C:_git\nswag-issue905-sample\API\bin\Release\PublishOutput
C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.0.0
Now error changed to a 4.6.1 version of another assembly:
Could not load type 'System.Object' from assembly 'System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' because the parent does not exist.
I hope we can fix issue in order to run netcore 2 with swagger automation

For me the latest code in master works ehen publishing all dlls... only problem is that the appveyor ci builds are no longer working.

OK, now the CI build looks good... should we release so that you can really test this?

Works with me, if you push out a new release I can test it on my end later today and report back

NSwag.MSBuild 11.5.0 is looking good for me!

It seems .msi is broken, I will wait for Rico fix.

Fixed.

Please report any problems. And we should update the wiki with tips how to load core assemblies:
https://github.com/RSuter/NSwag/wiki/WebApiAssemblyToSwaggerGenerator#net-core
Maybe we should create a new page for the dll loader alone.

Hi, good news! I noticed that  .msi is missing from the newest NSwag Build 868. I was testing at Windows and already uninstalled the previous version. Should I use now the command line?  In this case, I need to double check documentation in order to start using .zip file.

The latest MSI should be fine...

Sorry, I am missing something. The .msi from NSwag v11.5.0 (Build 866) is broken. Should I replace the .exe/.dll files in the Program Files folder with newest from NSwag Build 868 .zip?

Its fixed in v11.5.1, use this:
https://github.com/RSuter/NSwag/releases/tag/NSwag-Build-868

Sorry again, there is no .msi installer there, only .zip and source code.

Sorry, use this:
http://rsuter.com/Projects/NSwagStudio/installer.php
Will add tomorrow

Great! Got it, error free now, 11.5.1 passed over the last error. I will keep testing.

Working fine! Thank you.

Created a new wiki page:
https://github.com/RSuter/NSwag/wiki/Assembly-loading
please update with your tips, findings, etc...

updated with a link to the runtime catalog


quota: support dump and load

close #3531

Codecov Report
Patch coverage: 3.38% and project coverage change: -31.75 :warning:

Comparison is base (8cb2bb8) 56.47% compared to head (0fb719d) 24.73%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3540       +/-   ##
===========================================
- Coverage   56.47%   24.73%   -31.75%
===========================================
  Files         149       24      -125
  Lines       36422    14210    -22212
===========================================
- Hits        20571     3515    -17056
+ Misses      13599    10314     -3285
+ Partials     2252      381     -1871

Impacted Files
Coverage Δ

pkg/meta/dump.go
0.00% <0.00%> (-75.65%)
:arrow_down:

pkg/meta/redis.go
0.11% <0.00%> (-66.89%)
:arrow_down:

pkg/meta/sql.go
0.00% <0.00%> (-58.70%)
:arrow_down:

pkg/meta/tkv.go
59.63% <11.11%> (-12.09%)
:arrow_down:

... and 142 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

please update the unit test to cover these

please update the unit test to cover these

Done


New Dribbblish Dracula Theme

Added more colors from https://draculatheme.com/contribute/ to better fit the color palette.

You need to update the screenshots too

Sorry, here's the updated screenshot.

I mean in the Dribbblish folder

Whoops, my bad! Should be good now.

I think this theme is nothing alike original Dracula theme and nearly identical to Horizon theme. It doesn't bring anything new to existed collection.


Add search endpoint to crudbase

This PR adds a new endpoint to Stations, Species, and Datasources. Where all the string related fields can be searched for substrings using a trigram fuzzy string matching extension present by default in PostgreSQL. It takes, search_column, search_term, order_by, and limit parameters. If the Model on which the search was initiated, doesn't have that particular column, then the search in a particular column is ignored. Then it becomes a regular get query, which returns all instances in the order mentioned and by the limit specified.
If there is no order mentioned, then it will just send the unfiltered limited results. If None of the parameters are passed then it simply returns all the instances from the database.
If the search_column and search_term parameters are present and valid, then the search_term is broken down into trigrams further bigger n grams and a similarity score is generated. A score of 0 means nothing matched and 1 means that that particular entry is an exact match. Therefore, I sort them in descending order and then order them by the order by the parameter passed by the user maintaining the relative similarity order.

To run this, you will have to first create an extension in the database by :

\connect <database_name>
CREATE EXTENSION pg_trgm;


[improve][broker] Add metric prefix for topic_load_times

Fix PIP-273
Motivation
topic_load_times was added by #507,  it's too earlier. And then we added the pulsar prefix for all the metrics, but leaves it. So in order to keep the same prefix, we'd better update it.
Documentation

[ ] doc
[x] doc-required
[ ] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #20472 (7c049e8) into master (5e6e6ce) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master   #20472      +/-   ##
============================================
- Coverage     72.95%   72.92%   -0.04%
+ Complexity    31914    31898      -16
============================================
  Files          1867     1867
  Lines        138485   138484       -1
  Branches      15202    15202
============================================
- Hits         101037   100990      -47
- Misses        29438    29481      +43
- Partials       8010     8013       +3

Flag
Coverage Δ

inttests
24.17% <50.00%> (+0.05%)
:arrow_up:

systests
24.99% <50.00%> (-0.04%)
:arrow_down:

unittests
72.21% <100.00%> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

...bookkeeper/mledger/ManagedLedgerFactoryConfig.java
89.47% <ø> (-0.53%)
:arrow_down:

.../pulsar/broker/stats/BrokerOperabilityMetrics.java
100.00% <100.00%> (ø)

...org/apache/pulsar/broker/stats/DimensionStats.java
87.27% <100.00%> (ø)

... and 73 files with indirect coverage changes

LGTM. Do we have a unit test to cover this?

added

@Technoboy- Since the indicator name has been changed, could you please help add a test to avoid regression?

I thought the current tests might cover this, but they didn't.  So I have added the tests. Also during adding the tests, I find the indicator name should be "pulsar_xxx", not "brk_xxx", please also review again.
@codelipenghui @Demogorgon314 @hangc0276

I've added the doc in https://github.com/apache/pulsar-site/pull/631


stormforge cli doesn't allow config set for parameters that have periods in the name

When trying to run stormforge config set controller.k8s.testing.stormforge.io.env.DEBUG true, I receive an error "Error: unknown config property: controller.k8s.testing.stormforge.io.env.DEBUG" - which I believe is due to the context having periods in the name.  My other contexts are able to set the DEBUG variable to the string "true"

Correct, stormforge config set relies on "." delimited segments for the key names; so there is no mechanism for addressing YAML field names that contain ".". The current configuration commands are being replaced in the next major version and this will be addressed then. In the meantime, #466 will allow you to use the context name (e.g. "default") in place of the controller name to address the appropriate configuration settings.


Ignore empty OpenGraph props

Ignore empty OpenGraph properties or content.
Fixes #117
Upgraded six>=1.11 to make Python 3.4 tests pass.
This was also done in https://github.com/scrapinghub/extruct/pull/119

I believe I adressed all the comments.
The Travis build seems to constantly fail with Python 3.4 at "pip install -U tox codecov".

@croqaz I have noticed that the same is happening to master, see: https://travis-ci.org/scrapinghub/extruct/builds/558857852?utm_source=github_status&utm_medium=notification
Digging deeper, the failure in the logs is:
FileNotFoundError: [Errno 2] No such file or directory: '/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/six-1.10.0.dist-info/METADATA'

I googled and this could be relevant: https://github.com/tox-dev/tox-travis/issues/76. Could you have a look?

Squashed all commits to have a clean history on merge.

In https://github.com/scrapinghub/extruct/issues/117 idea was to only drop empty values when deciding which value to choose, to be on a safe side. But maybe we can drop them always, as in this PR. @croqaz could you plese check that properties with empty values are always ignored, e.g. using https://developers.facebook.com/tools/debug/sharing/?

@kmike Just to make sure I understand this correctly, because I think I might have misunderstood how to solve the problem.
This is the problem:
<meta property="og:description" content="" />
<blah-blah>... </blah-blah> ...
<meta property="og:description" content="My cool website" />

Duplicate OpenGraph with the same name, but one of them has an empty value.
In many cases, the empty value is the first, but it might be second just as well.
Solution:

Do we want to completely drop OpenGraph meta tags with empty value?
Do we want to keep the tags with empty value, but move them at the end of the values list, so they have a lower priority?

In this PR I implemented the first option.

Oh, Facebook's Debug tool only shows one of the OpenGraph meta tags.
It seems to be the most relevant.
But I don't think they care much about the order - in case of images, I'm not 100% they always take the first one - but I might be wrong, because I don't know how to find a website that has multiple images in a "random" order and check what Facebook would extract...

The question is: if there is only a single property with an empty value, is it returned or dropped?

Ok, I understand now. I wonder if we can quickly craft a page like that and feed that to Facebook and see how it works?
Because I don't know how to find a page like that "out there".
Actually I might craft a page like that relatively easy.
Let me try.

For:
<meta property="og:description" content="" />
<meta property="og:image" content="" />
<meta property="og:title" content="" />

Facebook Sharing Debugger shows:

Provided og:image URL, was not a valid URL
og:title - Taken from the  tag
og:description - empty

I also tested with:
<meta property="og:image" content="" />
<meta property="og:image" content="/images/logo.png" />

And Facebook Sharing Debugger shows: "Provided og:image URL, was not a valid URL"
But also the logo is corretly identified and displayed as a main image.
So if the image is first and the empty is second, OR if the image is second and the empty is first, the Sharing Debugger still finds the correct image.

Hey guys! Is there something which prevents us from merging that fix?
Would be great to have it merged because it blocks a bit a PR in another project.

My cent: Looking at http://ogp.me/ and https://developers.facebook.com/docs/sharing/webmasters/#markup I don't see any definition of a property that could contain an empty value and still have some meaning. It seems that properties cannot be used to label a page somehow. So I would include the removal of every single property without value from the output. What do you think the rest of reviewers?

@ivanprado You mean in this case of: property="og:title" content=" " or property="og:description" content="" both properties should be dropped from the result?

@croqaz well, I have some doubts regarding the fix. By one side, I would say that it should be the user using extruct the one with the responsibility to filter empty values (option 1). extruct should only expose the data in the proper order (appearance order), empty or not.
But by the other side, I have not seen anything in the protocol definition pointing that is possible to create properties with empty values, so removing all of them could be reasonable (option 2). But the question is, it is the same a document with property="og:description" content="" than a document without any annotation? I'm not sure 100%.
The solution of cleaning empty values but only if there is at least one non-empty value for the duplicated property seems like a strange mix (option 3). But maybe could do the job:

User don't have to deal with empty values by himself, as they are removed
Meaning could be retained in case of empty content

But is weird as the user still will have to deal with empty value for the particular case. It is a little bit strange.
So in conclusión, I have not a clear view about what we should do, the three options make some sense. The prefered one by my side would be the option 1, but I'm also ok with option 2 and 3. @kmike @Gallaecio, what do you think?

I have the same concerns as Ivan. For OpenGraph we return a single value for an attribute, and empty values affect prioritization in case of multiple meta tags, so doing a correct prioritization (non-empty over empty) is fixing a bug.
Removing all empty values is a different thing; it solves the prioritization problem, but it is a larger change, with unclear outcome - it can be a right thing to do (if having an empty value is the same as not having tag at all), or it can be a data loss (if a presence of a tag with empty value is meaningful information). To decide we need to answer this question, and I'm not sure how to do it :) My suggestion was a tool by Facebook (as standard says nothing), and it seems to confirm that empty value is meaningful - if I'm reading @croqaz's results properly, it does show an empty description if a description is present, but empty - and shows nothing if description is absent.


How do I create a Stacked line chart with fl_chart?

Hey,
I'm looking to create a Stacked line Chart with fl_chart. Is there a way to do it without doing it manually?
I will try adding the previous list of FlSpot to the current one to make it look like a Stacked line Chart.
Edit:
If it's not implemented yet, it could be useful to add it.
It could work like a stacked bar Chart. Having a list of lines or spots and the lib will superimpose them.
Thx

@Bazni Try this:
class MyStackedChart extends StatelessWidget {
  final int stackCount;

  /// Each stack must contain [stackCount] values of y as shown below.
  /// Each value will be used as the upperbound of the individual stack.
  /// Following bar will have three stacks i.e. 0 to y1, y1 to y2 and y2 to y3.
  /// {x: [y1, y2, y3, ...]}
  final Map<int, List<double>> chartData;
  final List<Color> stackColors;

  MyStackedChart({
    super.key,
    required this.stackCount,
    required this.chartData,
    required this.stackColors,
  })  : assert(
          chartData.values.every((e) => e.length == stackCount),
          'Count of stacks must match the values provided',
        ),
        assert(
          stackColors.length == stackCount,
          'Count of stack colours must match the count of stacks',
        );

  @override
  Widget build(BuildContext context) {
    return AspectRatio(
      aspectRatio: 4,
      child: BarChart(
        BarChartData(
          alignment: BarChartAlignment.spaceBetween,
          titlesData: FlTitlesData(
            leftTitles: AxisTitles(),
            rightTitles: AxisTitles(),
            topTitles: AxisTitles(),
            bottomTitles: AxisTitles(),
          ),
          barTouchData: BarTouchData(enabled: false),
          borderData: FlBorderData(show: false),
          gridData: FlGridData(show: false),
          barGroups: chartData.entries
              .map<BarChartGroupData>(
                (e) => BarChartGroupData(
                  x: e.key,
                  groupVertically: true,
                  barRods: List.generate(
                    stackCount,
                    (index) => BarChartRodData(
                      borderRadius: const BorderRadius.all(Radius.zero),
                      fromY: [0.0, ...e.value].sublist(0, index + 1).sum,
                      toY: e.value.sublist(0, index + 1).sum,
                      color: stackColors[index],
                      width: 15,
                    ),
                  ),
                ),
              )
              .toList(),
          // maxY: 11 + (betweenSpace * 3),
        ),
      ),
    );
  }
}

Thank you for getting back to me.
Actually, I was Iooking for a way to create a stacked line chart. Something like this:

@Bazni I am pretty sure this is possible. In fact, you just need to offset the above line's value with the sum of all values of all lines below it. You can look at how I achieved this similar effect in my last answer. In that, every bar's initial value is the ending value of the previous bar.
In line charts, you do not set initial or end values. You just provide x and y coordinates. Unfortunately I do not have the time to code a sample chart for you. But following is the code for a line chart I have in my app. It is an abstraction over fl_chart's LineChart. It only shows one line at a time but to show more, you just need to add more LineChartBarData to the lineBarsData field. And somehow aggregate the values as I mentioned above. It is not an easy task and could be computationally expensive if the dataset is too large. I would suggest performing this in the backend.
 1) * Duration.millisecondsPerDay).toDouble(),
            getDrawingHorizontalLine: (value) {
              return FlLine(
                color: const Color(0xFFE5E6EB),
                strokeWidth: 2,
                dashArray: [5, 5],
              );
            },
            getDrawingVerticalLine: (value) {
              return FlLine(
                color: const Color(0xFFE5E6EB),
                strokeWidth: 2,
                dashArray: [5, 5],
              );
            },
          ),
          titlesData: FlTitlesData(
            show: showVerticalAxis || showHorizontalAxis,
            rightTitles: AxisTitles(
              sideTitles: SideTitles(showTitles: false),
            ),
            topTitles: AxisTitles(
              sideTitles: SideTitles(showTitles: false),
            ),
            bottomTitles: AxisTitles(
              sideTitles: SideTitles(
                showTitles: showHorizontalAxis,
                reservedSize: 20,
                interval: ((xAxisInterval ?? 1) * Duration.millisecondsPerDay)
                    .toDouble(),
                getTitlesWidget: (value, meta) => SideTitleWidget(
                  axisSide: meta.axisSide,
                  child: Transform.rotate(
                    angle: 1.8 * m.pi,
                    child: Text(
                      xAxisLabelResolver?.call(
                            DateTime.fromMillisecondsSinceEpoch(
                              value.toInt(),
                            ),
                          ) ??
                          '',
                      style: const TextStyle(
                        fontWeight: FontWeight.w400,
                        fontSize: 12,
                        color: Color(0xff86909C),
                      ),
                    ),
                  ),
                ),
              ),
            ),
            leftTitles: AxisTitles(
              sideTitles: SideTitles(
                showTitles: showVerticalAxis,
                reservedSize: 40,
                interval: yAxisInterval ?? 1.0,
                getTitlesWidget: (value, meta) => SideTitleWidget(
                  axisSide: meta.axisSide,
                  child: Text(
                    yAxisLabelResolver?.call(value) ?? '',
                    style: const TextStyle(
                      fontWeight: FontWeight.w400,
                      fontSize: 12,
                      color: Color(0xff86909C),
                    ),
                  ),
                ),
              ),
            ),
          ),
          borderData: FlBorderData(
            show: false,
            border: Border.all(
              color: const Color(0xff37434d),
            ),
          ),
          minX: minDate.onlyDate.millisecondsSinceEpoch.toDouble(),
          maxX: maxDate.onlyDate.millisecondsSinceEpoch.toDouble(),
          minY: 0,
          maxY: chartData.map((e) => e.y).max,
          lineTouchData: LineTouchData(
            enabled: showToolTips,
            touchTooltipData: LineTouchTooltipData(
              //! This needs to be made part of the props if non-int values are ever used.
              getTooltipItems: (touchedSpots) {
                return touchedSpots
                    .map(
                      (e) => LineTooltipItem(
                        e.y.toStringAsFixed(0),
                        const TextStyle(),
                      ),
                    )
                    .toList();
              },
            ),
          ),
          lineBarsData: [
            LineChartBarData(
              spots: chartData
                  .map(
                    (e) => FlSpot(
                      e.date.onlyDate.millisecondsSinceEpoch.toDouble(),
                      e.y,
                    ),
                  )
                  .toList(),
              isCurved: false,
              // preventCurveOverShooting: true,
              // preventCurveOvershootingThreshold: 10.45,
              // curveSmoothness: 0.1,
              color: lineColor,
              barWidth: 2,
              isStrokeCapRound: true,
              dotData: FlDotData(
                show: false,
              ),
              belowBarData: BarAreaData(
                show: true,
                gradient: LinearGradient(
                  colors: [
                    lineColor.withOpacity(0.5),
                    lineColor.withOpacity(0.1)
                  ],
                  begin: Alignment.topCenter,
                  end: Alignment.bottomCenter,
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}

Thx for your comment, I added an offset to the line based on the sum of all values of all lines below it and it works well.

https://www.youtube.com/watch?v=Wa0L9iYkSjc

could be difficult if the x value of the below value is not exactly the same...
x/y axis could be different for each value.

There is a duplicate issue here: #764
Let's follow this issue in a single place.
Thanks!


Remove N+1 queries from NetworkManager list pages

Purpose or Intent
N+1 was caused by STI inheritance of relations, for virtual
methods to work correctly, we need to hold the relations on a base
classes.
Steps for Testing/QA
Turn on logging of SQL queries, you should not see any list page generating N+1 queries.

@kbrock moved what I could to base classes, all NetworkManager tables, except list of providers are not doing N+1 now.


Updating the Dockerfile for fixing the issue when deploying in heroku

Updating the Dockerfile for fixing the issue when deploying in heroku by updating from Python 2.7 to Python 3

Thanks, similar changes have been landed recently.


MBL-1251 get create attribution event graphqltransformer

📲 What
This PR is for step 4 of https://kickstarter.atlassian.net/wiki/spaces/NT/pages/2699100255/Event+Attribution+Engineering+Plan+AKA+How+To+Wire+Up+a+New+GraphQL+Endpoint+on+Android
🤔 Why
CreateAttributionEventData is the corresponding internal data model to the GraphQL model [CreateAttributionEventInput]. This transformer converts CreateAttributionEventData → CreateAttributionEventInput → CreateAttributionEventMutation for the Apollo client to use
🛠 How
More in-depth discussion of the change or implementation.
👀 See
Trello, screenshots, external resources?

Before 🐛
After 🦋

📋 QA
Instructions for anyone to be able to QA this work.
Story 📖
https://kickstarter.atlassian.net/browse/MBL-1251

Codecov Report
Attention: Patch coverage is 0% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 72.69%. Comparing base (f6c5d30) to head (f214732).

Files
Patch %
Lines

...arter/services/transformers/GraphQLTransformers.kt
0.00%
10 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1969      +/-   ##
============================================
- Coverage     72.73%   72.69%   -0.04%
  Complexity     1980     1980
============================================
  Files           350      350
  Lines         20220    20230      +10
  Branches       2808     2808
============================================
  Hits          14707    14707
- Misses         3894     3904      +10
  Partials       1619     1619

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


Cannot read property 'setProperty' of undefined

I've upgraded package from 6.0.1 to version 6.0.2 and I'm using node v9.7.1
I get this error while I do server-side rendering:
TypeError: Cannot read property 'setProperty' of undefined

at /Users/praca/Desktop/Projekty/frp/node_modules/react-textarea-autosize/dist/react-textarea-autosize.cjs.js:93
    node.style.setProperty(key, HIDDEN_TEXTAREA_STYLE[key], 'important');

It doesn't happen when I run webpack-dev-server. I do not transpile node_modules on server side rendering maybe that's why?

@Tomekmularczyk I've introduced SSR regression while fixing other issue this weekend. Sorry for that. Should be fixed now with 6.0.3. Let me know if you encounter any problems.

@Andarist Thanks, I no longer have this problem with 6.0.3.


FloorI rounds towards zero again

Godot version
4.0.2-stable_linux.x86_64  4.0.3-stable_linux.x86_64
System information
Linux mint x86_64, CPU: AMD Ryzen 7 GPU: AMD ATI Radeon RX
Issue description
I'm having the exact same issue as described in this other issue:
https://github.com/godotengine/godot/issues/66500
And I wasn't sure if I should make a new issue, or comment on the other one, So I just made a new one.
The issue is when I use the floori() function it rounds towards zero instead of its described function of rounding towards negative infinity.
I've tested it in 4.0.0 4.0.1 4.0.2 and 4.0.3 and I'm still having this issue.
Here is my interpretation of the expected output:
(spaces added after to show where "regions" should end)
[-2,-2,-2,-2, -1,-1,-1,-1, 0,0,0,0, 1,1,1,1] region
[-8,-7,-6,-5, -4,-3,-2,-1, 0,1,2,3, 4,5,6,7] chunk
Here's the output I got:
[-2, -1, -1, -1,  -1,  0,  0,  0,   0, 0, 0, 0,  1, 1, 1, 1] region
[-8, -7, -6, -5,  -4, -3, -2, -1,  0, 1, 2, 3,   4, 5, 6, 7] chunk
The positive numbers look ok, but the negative numbers are one higher than they should be and shifted over 1 in the direction of zero.
I'm not to good at reading how Github works, but It looks like it says it was fixed here in September 2022:
https://github.com/godotengine/godot/pull/66505
But unfortunately in my case it is still not fixed.
Any help would be greatly appreciated.
Steps to reproduce
When the code provided in minimal reproduction project is run in it will print its output
Minimal reproduction project
var pos_c = []
var pos_r = []

for p in range(-8, 8):
	pos_c.append(p)
	pos_r.append(floori(p / 4))

print(str(pos_r, " region"))
print(str(pos_c, " chunk"))

This is probably because of an error on your end, it should be p / 4.0

And confirmed with running it with correct code:
[-2, -2, -2, -2, -1, -1, -1, -1, 0, 0, 0, 0, 1, 1, 1, 1] region
[-8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7] chunk

@AThousandShips Thank you that fixed it.


[REQUEST Membership]: New membership for

GitHub Username
@Lan-ce-lot
Organization you are requesting membership in

openyurtio
Sponsors

@rambohe-ch
Requirements

[x] I have joined in the community Dingding and [WeChat]
[x] I often attend Openyurt Community Week
[x] I have reviewed the [community membership docs]
[x] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application
[x] I have checked my affiliation in devstats (if it's not correct, please fix in cncf/gitdm)
[x] I am actively contributing to 1 or more OpenYurt subprojects

List of your contributions

PRs reviewed / authored:
https://github.com/openyurtio/openyurt/pull/1492
https://github.com/openyurtio/openyurt/pull/1522
https://github.com/openyurtio/openyurt/pull/1517
https://github.com/openyurtio/openyurt/pull/1281
https://github.com/openyurtio/openyurt/pull/1042
Issues :
https://github.com/openyurtio/openyurt/issues/1041
https://github.com/openyurtio/openyurt/issues/1489

Brief Introduction
Hello, I am a student from Zhejiang University. I am studying cloud-native technology. I have a passion for open source and I would like to contribute to the OpenYurt community.

agree +1

@Lan-ce-lot welcome you to apply community member. agree +1

agree +1

@Lan-ce-lot Congratulations you to become a member of OpenYurt community. We have sent a github message to invite you as member of OpenYurt, please check the message. and after joining member of OpenYurt, you need to check two points in this issue https://github.com/openyurtio/community/issues/14


implement Ghosts of Harrenhal

Looks good but may cause some arguments in the short term when played after things like Valar or Wildfire. Currently you can't choose the order characters killed by those multi-kill plots, they're pretty much killed in the order they originally entered play. 2+ military claim does let you choose the order though (implicitly, by the order you selected characters).

On Wed, Mar 01, 2017 at 12:24:37PM -0800, Brian Upton wrote:

Looks good but may cause some arguments in the short term when played
after things like Valar or Wildfire. Currently you can't choose the
order characters killed by those multi-kill plots, they're pretty much
killed in the order they originally entered play. 2+ military claim
does let you choose the order though (implicitly, by the order you
selected characters).

So, yes, I thought about that too.  The reason why I decided to
implement it nonetheless, is that I don't see us having an anti-argument
solution for this specific problem anytime soon (or ever, TBH).
It is currently possible to reorder things in the dead pile, but
that's annoying, as you've to move cards back and forth between the in
play are and that pile. We can improve over that by adding some sort of
drag & drop based reordering within the windows used to show cards,
which will apply to all piles (discard, dead, draw deck, plots, etc).
But this will not solve the arguments problem, as people will always
forget to do so when multiple characters die.  The only way to make
players to think about the ordering, is to force them to choose the
ordering when multiple characters side, but that would be annoying in
99% of the games, i.e., every time Ghosts of Harrenhal is not played.
I don't think we want to add that annoyance just for the 1% of the
remaining games.
Hence my personal conclusion that having Ghosts of Harrenhal implemented
now is better than not having it. YMMV :)

When this goes in(now) we need a more explicit way of choosing which characters die first.  I'm not a fan of having the dead pile able to be reordered - I'd rather stuff went in in the right order - that or they "fix" this card themselves


Turn that visualization hack into a feature

Hack from:

https://github.com/simonw/asyncinject/issues/10#issuecomment-1101822735

def visualize_traces(traces, chars=80):
    start = min(t[1] for t in traces)
    end = max(t[2] for t in traces)
    width = end - start
    pos = lambda value1, value2: int((value1 - value2) * chars / width)
    for trace in traces:
        name, p1, p2 = trace[0], pos(trace[1], start), pos(trace[2], trace[1])
        print("{}: started {:5f}, took {:5f}".format(name, trace[1] - start, trace[2] - trace[1]))
        print(' ' * p1, '*' * p2)

Output looks like this:
a: started 0.000022, took 1.000659
 ****************************************
b: started 0.000000, took 2.000802
 *******************************************************************************
c: started 1.000875, took 1.000121
                                         ***************************************
d: started 2.001063, took 0.000000

That's when run against data collected using this pattern:
registry = Registry(a, b, c, d)
collected = []
registry.timer = lambda name, start, end: collected.append((name, start, end))
await registry.resolve(d)
visualize_traces(collected)

This almost feels like a tracing API. I wonder if it could just be made compatible with OpenTelemetry so that existing tooling could be used for visualization?

My hope is that the .timer hook itself is enough that people who use OpenTelemetry could easily plug it in.


fix: Convert VarcharLiteral to StringLikeLiteral in Function Signatures

Proposed changes
This pull request updates the function signatures where VarcharLiteral is currently used, replacing it with StringLikeLiteral. This change aims to enhance flexibility and consistency across functions that handle similar types of string data. By adopting StringLikeLiteral, we can support a broader range of string-like types beyond the basic VARCHAR type, facilitating more robust and versatile string handling capabilities in our codebase. This update ensures better type abstraction and promotes code reusability.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run cloud_p1

run feut

run buildall


Fixing the Spotify Feature Merge Issue

Fixing the Spotify Feature Merge Issue
:recycle: Current situation & Problem
• previous feature/spotify merge had issues (missing files) that needed to be resolved
:bulb: Proposed solution
• rolled back the feature/spotify PR
• reverted to feature/spotify to commit 72ff630e17baeea865f8c976c9dbde02175b5f53
• pulled from main and redid rebase for all patches
Related PRs
Original PR with spotify feature: #10
PR to roll back changes: #16
Reviewer Nudging
• pull code and run on phone to check for any possible features that are still missing. Running in simulator works for me
Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[x] I agree to follow the Code of Conduct and Contributing Guidelines.

Merging. TODO: fix SwiftLin, Build and Test, and Compliance errors. Do this on a separate branch


Add error feedback for FAQArticleComment

Whenever a comment cannot be sent for some reason, some notification should be shown.
Designs soon by @mjancik :slightly_smiling_face:
Update: Zeplin Design

Just minor things: The text "Feedback form failed" is slightly higher.. and "go to contact page" has a different font thickness.
Prototype v.

Demo v.

Thanks

The alerts we currently use are <SystemMessage/> from Orbit Component, we have to change all <SystemMessage/> components to the new <Alert/> component from the new Orbit release, I will open and issue for that.

Ok. Thanks for your explanation.  👍


amazon-init: add xz to PATH

Motivation for this change
This is a continuation of https://github.com/NixOS/nixpkgs/pull/78363
When using a *.tar.xz (eg. https://channels.nixos.org/nixos-unstable/nixexprs.tar.xz) in user_data, nix requires tar and xz in the path.
Things done
Tested with above channel specified in user_data in a three-hash-bang in an EC2.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Diff lgtm, change is tiny :)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/165

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/388

Result of nixpkgs-review pr 85244 1

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/312


Fix #2533: Prevent removal of '/' when redirect from url is just '/'

Fixes #2533

Thanks @ltakens and @kingel! This fixes the reported error, but I'm not sure that the fix will ever be used: as @gasman said in https://github.com/torchbox/wagtail/issues/2533#issuecomment-215362345 "Redirects only take effect on URLs that don't exist as pages (i.e. would return a 404 if the redirect wasn't there), so setting one on the root URL generally won't work".

Thanks! As per @tomdyson's comment above, I was imagining that we'd fix this by disallowing both the empty string and / - but since it is possible in principle to create a working redirect at / (by pointing the site record at an unpublished page), I think this is actually the more correct solution.


chore: Bumping wranglerjs-compat-webpack-plugin to do a release

Looks like we haven't published the webpack plugin yet, bumping it to include it in the next one.
Fixes https://github.com/cloudflare/wrangler2/issues/1020

Landing, yolo


Extends documentation for Hash

combines string and symbol shorthand sections
adds "getting/setting" section with detail about []?

On issue #1971, I noted that the documentation for Hash[], etc could be improved. I've made a couple tweaks and added a section describing using []=, [], []?, and fetch to interact with a hash.
On a more meta note, I have a few other places where I'd like to contribute to documentation. If this isn't the best way to do it, or if I'm missing some subtleties about the preferred documentation style, please point me in the right direction! :]
Screenshot:

Hi @robacarp,
Thanks for this, but I think I prefer having the docs of how to use a Hash in hash.cr. Otherwise we end up with duplicated documentation that we have to maintain. Right now Array's docs are in array.cr, and so on.

Thanks for looking, @asterite.
When I was trying to decide where to put a better intro to the Crystal hash, I was uncertain where to put it because of the two sets of docs. In the end, I settled on putting it in /docs/ instead of /api/ because in the first section of hash.cr, it says:

Overview
A Hash represents a mapping of keys to values.
See the official docs for the basics.

Following that link to the basics, one of the most important functional basics is missing from the official docs. Array is a little better at this, but the tone of the document is generally to pretty minimal in /api/ and more helpful in /docs/. Can you help me understand what the hopeful future is for the two sets of docs?
I'll move this intro to hash over to hash.cr.

The idea is that /docs/ explain the language and /api/ explains the API. Literals kind of fall inside both categories: they are part of the language because they are special, and they definitely create an instance of some type. So in the docs section we explain all literal forms and what they create, and in api we might explain them again as they are another way to construct an instance of such type.
But, documentation for Hash#[] and Hash#[]= should live inside api, because the syntax for a[b] = c is explained generally in the operators section, then the particular semantic that Hash gives it is explained in that type.

I'll closing this. If you wish you can open another PR where docs are in hash.cr, not in the GitBook. Thanks!


Gradient fill opacityFrom and opacityTo no longer working

Bug report

For support questions, please use ApexCharts Forums - https://apexcharts.com/forums/.

Explanation
Following on from #1345 (perhaps since that was fixed?).
I have now noticed that the gradient opacityFrom and opacityTo values are not working correctly.
This is in my development environment:
(You can barely tell there is a gradient on the screenshot but it is deliberately subtle, it is more obvious elsewhere)

This is production:

The settings are:
        this.fill = {
            type: 'gradient',
            gradient: {
                opacityFrom: 0.95,
                opacityTo: 1,
            }
        };

It seems to affect donut charts only, it doesn't affect the fill on an area chart we have. That appears perfectly.

Sorry, just to add... I thought I had updated my packages.
As it happened, ng-apexcharts was on 1.2.1, but for some reason apexcharts was still on 3.15.6.
I manually ran npm u apexcharts which bumped it up to 3.16.1. and now I see the problem in development too.

It has just occurred to me that this might be intended out-of-the-box behaviour...and that area charts use the opacityFrom and opacityTo with the original color, but now the donut charts use opacityFrom and opacityTo with 2 different colors, which are computed from the base color provided... one of which is a bit close to black.

Just found shadeIntensity - brilliant. That gives me what I originally had.
The core issue here might be that there is an inconsistency with how the gradient works with area charts then, not sure if that is seen as a problem?


PHP Fatal error:  Uncaught Psr\Log\InvalidArgumentException: You must provide an instance of \Yiisoft\Log\Target.

It is because of the logger configuration:
    'logger' => [
        '__construct()' => [
            'targets' => [
                [
                    '__class' => Yiisoft\Log\FileTarget::class,
                    'levels'  => ['error', 'warning'],
                ],
            ],
        ],
    ],

The targets is an array that contains target's definition, but Logger::setTarget expects target as an instance of Target:
https://github.com/yiisoft/log/blob/8e5245d2e4606a6d565e94c1d42bd1d1c1dd9990/src/Logger.php#L119
What is the best/proper way to make it works? It doesn't seem reasonable that log package take the responsibility to handle target's definition, since log doesn't depends on di and yii-core like Cache::setHandler.
Should I initialize target instances in the configuration file?
What steps will reproduce the problem?
./vendor/bin/yii hello

What's expected?
hello world
What do you get instead?
PHP Fatal error:  Uncaught Psr\Log\InvalidArgumentException: You must provide an instance of \Yiisoft\Log\Target. in /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/log/src/Logger.php:120
Stack trace:
#0 /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/log/src/Logger.php(82): Yiisoft\Log\Logger->setTargets(Array)
#1 [internal function]: Yiisoft\Log\Logger->__construct(Array)
#2 /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/di/src/AbstractContainer.php(358): ReflectionClass->newInstanceArgs(Array)
#3 /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/di/src/AbstractContainer.php(189): yii\di\AbstractContainer->buildFromConfig('logger', Array)
#4 /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/di/src/AbstractContainer.php(131): yii\di\AbstractContainer->buildWithDefinition('logger', Array, Array)
#5 /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/di/src/Container.php(55): yii\di\AbstractContainer->build('logger')
#6 /home/razon/Projects/razonyang/yii-base-cli/vendor in /home/razon/Projects/razonyang/yii-base-cli/vendor/yiisoft/log/src/Logger.php on line 120
Additional info

Q
A

Yii version
3.0@dev

PHP version
7.3.5

Operating system
ArchLinux

@machour is it connected with recent log changes?

Yes it is. @razonyang the problem is that DI doesn't look recursively into the __construct() array to construct things.
Here's how I'm doing it at the moment (and it's ugly):
    'logger' => static function (\yii\di\Container $container) {
        /** @var \yii\base\Aliases $aliases */
        $aliases = $container->get('aliases');
        $fileTarget = new Yiisoft\Log\FileTarget($aliases->get('@runtime/logs/app.log'),  $container->get('file-rotator'));
        return new \Yiisoft\Log\Logger([
            'file' => $fileTarget->setCategories(['application']),
        ]);
    },

I think https://github.com/yiisoft/di/pull/76 may fix it.

Not so sure, see conversation https://github.com/yiisoft/di/pull/76#discussion_r277604659


update ember version to b736354 commit hash

@htpvu I was able to build and boot it up, and see resources loaded during the initial load of https://pass.
I could walk through a submission, but I didn't actually try to hit the submit button.
I did not observe files being uploaded to Fedora.


Version vs release

Article should say version Windows Server 2019 release 1809.

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

ID: bef853ec-6fcb-22dc-76cf-d12af7c87dee
Version Independent ID: c36fc153-ef89-842e-9b48-5986b1b49552
Content: Azure Automation State Configuration overview
Content Source: articles/automation/automation-dsc-overview.md
Service: automation
Sub-service: dsc
GitHub Login: @SGSneha
Microsoft Alias: v-ssudhir

@pjfreitas Thanks for your comment! We will review and provide an update as appropriate.

We have verified and updated the document as required. The update should go live in some time i.e., in less than 24 hours. Thanks again!