[1.12] DCOS_OSS-4097 - Explicitly create user groups in pkgpanda

This the backport of https://github.com/dcos/dcos/pull/4482

@mesosphere-mergebot label Ready for Review


Flex direction column, with or without .c-wrapper-fluid

Using the default layout, when I apply .c-wrapper-fluid to .c-wrapper, the layout gets messed up. Unless the HTML structure is supposed to be different in this scenario, I believe .c-body should have flex-direction: column in both cases for the sticky footer to work.
Additionally, the fixed header covers the contents when .c-wrapper-fluid is applied. I suppose it should be up to the user to compensate for this (by applying padding to .c-main), since headers can be different heights.

bump


[ast/lint] Fix Verible linting errors

This should fix the Verible linting issue we're currently seeing in CI.
@meisnere FYI - this is now needed since always_comb should only contain blocking assingments.

Currently doesn't simulate due to delay statements in always_comb blocks; needs to be edited

Ah I see - I missed that one.
I believe we would have to rewrite this a bit to make it work, e.g. by using initial blocks instead.
I am closing this for now.


Language change produce only partial translation on some pages

Description
On some pages, after the user switched languages, UI is translated only partially. Reloading page helps btw.
Confirmed on next pages

Profile ➜ Wallet
Profile ➜ Settings

How to reproduce

Go to the page from the list
Go to the bottom of website
Change the language
Now you can see that some strings weren't translated

Fixed. Please, test


chore: add more tests

Codecov Report

Merging #2800 (597f394) into master (a2df1bb) will increase coverage by 2.24%.
The diff coverage is 100.00%.

Impacted Files
Coverage Δ

core/collection/timingwheel.go
100.00% <100.00%> (ø)

core/stores/cache/cachestat.go
100.00% <100.00%> (+34.48%)
:arrow_up:

core/stores/cache/cachenode.go
90.41% <0.00%> (+9.58%)
:arrow_up:

zrpc/resolver/internal/kubebuilder.go
16.00% <0.00%> (+12.00%)
:arrow_up:

zrpc/resolver/internal/etcdbuilder.go
100.00% <0.00%> (+100.00%)
:arrow_up:


Fix unresolved column name when using table.column

Fix #511, the root cause is missing subquery alias when resolving UnresolvedRelations

/run-all-tests

Please give more description of your change to ease your reviewer :) @birdstorm

@ilovesoup done

/run-all-tests


Teams support for CLI operations

Teams support:

Add Team
Delete Team
Add user to Team
Delete user from Team

This should resolve issue #46


Add md5 sums

Fixes #186  #246

Improved the naming of the download path variables. Still not happy with the value of

        self._ontology_download_path = (
            settings.dynamicdir / f"{self.version}___{self._url.split('/')[-1]}"
        )

I might change it later

Added md5 sums to all versions
We're now checking the md5 sums when accessing the owl files. If they don't match we delete the file and download it again
I wasn't sure about the md5 sums of a few ontologies. @sunnyosun do you have the md5s for the release-107 versions that I removed?

Don't worry about release-107 for now, they are not supported anyways at the moment. :D

Just another idea, for most of the owl files, we might be able to obtain metadata via https://github.com/laminlabs/bionty/blob/main/bionty/dev/_ontology.py#L4 and simply check if the number of entries matches with the metadata.

Thank you for making this PR so quickly! 👍

Just another idea, for most of the owl files, we might be able to obtain metadata via https://github.com/laminlabs/bionty/blob/main/bionty/dev/_ontology.py#L4 and simply check if the number of entries matches with the metadata.

IMO not general enough and users that are extending Bionty would also have to obtain this metadata or check it. Not a fan.

@sunnyosun

I'm fine with moving the check to after the file got downloaded but prefer the current spot since it's a bit more general. Also what we originally had in the issue.
Happy to make the md5 sum optional (I'd allow for empty md5s in the versions file and will update the instructions accordingly in the docs).

Would this be fine and we could get the PR after I made the discussed changes?

@sunnyosun

I'm fine with moving the check to after the file got downloaded but prefer the current spot since it's a bit more general. Also what we originally had in the issue.
Happy to make the md5 sum optional (I'd allow for empty md5s in the versions file and will update the instructions accordingly in the docs).

Would this be fine and we could get the PR after I made the discussed changes?

Could you only add the md5 checks to the versioned .owl files for now? aka, let's not do this for Gene, Protein and CellMarker for the moment.


Revert rust crypto upgrades

To be compatible with the solana sdk the rust crypto versions around elliptic curve are quite picky. This is the known working rust-crypto release as of solana-sdk 1.14.
This mostly reverts 077ba0db451b4e775531dd8a3df2e0b3e303ff40

I backported the compactible unit test from 0.13 to 0.10 and it appears to pass.
Here it is:
#[test]
fn noncompactible_is_none() {
    use elliptic_curve::generic_array::GenericArray;
    use elliptic_curve::sec1::ToCompactEncodedPoint;
    let noncompactable_secret = GenericArray::from([
        175, 232, 180, 255, 91, 106, 124, 191, 224, 31, 177, 208, 236, 127, 191, 169, 201, 217, 75,
        141, 184, 175, 120, 85, 171, 8, 54, 57, 33, 177, 83, 211,
    ]);
    let public_key = SecretKey::from_be_bytes(&noncompactable_secret)
        .unwrap()
        .public_key();
    let is_compactable = public_key
        .as_affine()
        .to_compact_encoded_point()
        .is_some();
    assert_eq!(is_compactable, false);
}

I'm going to see if I can introduce the unit test into helium-crypto somehow.

@madninja It also looks like there is already a unit test in helium-crypto to protect us from this upstream error. Corroborates the result from 0.10 that I ran.


Not use  "/" in cheat name

for exzample
[#38a Item Pickup/Sell/Buy Multiplier (2x)/cheats]
will make 7z for yuzu
#38a Item Pickup
Sell
Buy Multiplier (2x)
3 floders
0100F2C0115B6000 v262144 for Yuzu.7z\0100F2C0115B6000 v262144 for Yuzu#38a Item Pickup\Sell\Buy Multiplier (2x)\cheats

That makes sense.. Thanks! Edited the script for future code runs.


abnormal saccharin consumption [MP:0002849] definition

In the definition of abnormal saccharin consumption [MP:0002849] "subjects demonstrate interest in ingesting saccharine" saccharin is misspelled. Isn't it normal for mice to demonstrate a preference for saccharin consumption? Also, I was confused as to why there wasn't a tree link to saccharin preference [MP:0002850] "subjects demonstrate predilection for saccharine over other offered substance". These terms seem to be related, if not overlapping.
Reported by: michknow
Original Ticket: obo/mammalian-phenotype-requests/1849

Clarified definition for "abnormal saccharin consumption"


Tag a new version

Hi, @henrikbjorn @toin0u , could you please tag a new release?
Can't use Symfony 3 with the latest tagged release.
Thank you.

done

Thank you very much.
With this you can also close #21.


Improve reporting, plots and summary table

Just making an issue with somewhat connected points so I can keep track of this:
Improve reporting (=slackbot):

Try to use slack block kit to get a single message per result
Use markdown to add some quotes for file paths etc
Add the summary table to the post. I have tried csv, but slack doesn't render it properly, try excel.
Add the commit id
Clean up how the background is reported. (Get rid of _corrected, see also #102).

Improve plots:

Don't write the full file path in the title, but only write the plate name
Keep track of which serum channel is used (right now it only says serum, but should say IgG / IgA).
Save plots as jpg instead of png (smaller images, which matters a bit in slack).

Improve summary table:

Get rid of _corrected in column names, see also #102.
Look into ambiguous column name (see image below)

@tischi: I have listed some of the points from your earlier mails here to keep track of this.
You also wrote this:
4. auch der measured background in jedem Bild ist wichtig, es gaebe also zwei columns: IgG_background, IgG_background_correction, wobei der letztere der waere, der zur Berechnung herangezogen wurde.

I don't quite understand it, could you please explain what exactly the difference between _background and _background_correction is?

Also, add a function that takes all the summaries, properly names the files, zips them and then posts them to latest-results, to have an easier way of downloading everything.

Plots; fix range for color map.

Improved default tables in #107.
Color map ranges in plots were fixed by @imagirom.
Slack summaries have also been implemented.

This has all been taken care of now.


How to use a pretraining model?

I know we cannot train the model by ARM Compute Library. As a result, can we use a pretraining model to validate and how? Any examples or hints can help me a lot.

And it means how to fill the weight to my model? I hope I can explain the question accurately. Thanks.

The Compute Library is a low level library, which doesn't have the concept of graph, which means you need to build your graph by hand one layer at the time.
You can connect layers to each other by using the output tensor of one as the input of the next one.
Regarding the weights: it's the user's responsibility to load and parse the file containing the weights and to put them in a tensor (Like you would do for an image).

I got it! Thank you very much!


Extract serverless integration tests from serverless chart

Description
Prepare pipeline to run function test and remove legacy serverless test chart.

AC

[ ] we should be able to run tests w/o deploying them on the k8s cluster
[ ] extracted tests should become part of pre-main-serverless-manager-verify and post-main-serverless-manager-verify

Reasons
Extract serverless integration tests from serverless charts in order to allow serverless refactoring (i.e modularisation, helm removal) and preserve CI

Remove accidental complexity to legacy testing solution
Required in non-declarative reconciler migration

Requires:

Serverless code stored in serverless-manager repository (to avoid duplication)

Thank you


Various bits of trivial cleanup

AspectRatio can test the ratio isn't zero. (The render object will
complain anyway, this just moves the exception earlier.)

cc @HansMuller


✨ Use states for consumer messages tab

#321  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RTLS and the rest of your teammates on  Graphite


lockfile used for tests is deprecated

See https://pypi.org/project/lockfile/.
Please consider using fasteners or oslo.concurrency.

No just for tests.
You can't use local storage against a NFS window mount because of the use of this deprecated library.
https://github.com/apache/libcloud/blob/trunk/libcloud/storage/drivers/local.py#L56

lockfile has been replaced with fasteners in latest trunk.
Do keep in mind that local storage driver was never really meant to be used for anything beyond testing.

Resolved via d110a45eb874bec8e3cf0b1371b515265293d6d9.


A little fleshing out of the dynamic library header

== DETAILS
This commit provides two tweaks:

Add the "library not found" error, value of -6, to the OSDynLoad_Error enums

Define an OSDynLoad_ExportType enum and use it in place of the isData boolean parameter to avoid raw true/false values in the code and make usages easier to read:
// before - unclear what "false" means in this context
last_error = OSDynLoad_FindExport((OSDynLoad_Module)lib, false, proc, &ptr_sym);

vs:
// after - aha, we're looking up a function symbol
last_error = OSDynLoad_FindExport((OSDynLoad_Module)lib, OS_DYNLOAD_EXPORT_FUNC, proc, &ptr_sym);

Where is that -6 coming from?
decaf defines ModuleNotFound as 0xBAD10023. It's probably a good idea to add the missing enum values from decaf to wut

The -6 comes from my own experiments trying to use OSDynload_Acquire() with WUT-built RPLs, and I poked around via Ghidra to see the context of the -6 return code.


"hub pull-request" Oddities

Reproduction:

Create a branch using git checkout -b blahblah.
Make a few commits.
Try and run [git|hub] pull-request.
Get the following error:

/usr/local/bin/hub:323:in `remote_name': can't get remote name from "refs/heads/master" (RuntimeError)
	from /usr/local/bin/hub:141:in `upstream_project'
	from /usr/local/bin/hub:147:in `current_project'
	from /usr/local/bin/hub:622:in `pull_request'
	from /usr/local/bin/hub:607:in `send'
	from /usr/local/bin/hub:607:in `run'
	from /usr/local/bin/hub:1514:in `initialize'
	from /usr/local/bin/hub:1518:in `new'
	from /usr/local/bin/hub:1518:in `execute'
	from /usr/local/bin/hub:1567

Uh oh. ❨╯°□°❩╯︵ ┻━┻
:trollface:
Resolution:

Go into .git/config.

[branch "blahblah"]
	remote = .
	merge = refs/heads/master

Change it to this:

[branch "blahblah"]
	remote = origin
	merge = refs/heads/blahblah

The command works. :+1:
$ git --version
git version <IP_ADDRESS>
hub version 1.8.2

Hey Bryan, thanks for the report. How did the remote get to be "." in the first place?

No idea. That seems to be the default when I do git checkout -b these days.

This is a bug, but you can easily work around it for now. When you're pushing your changes, use git push -u origin mybranch. That will push and, at the same time, set upstream info for that branch. This is a one-time thing (for each local branch you create).

@mislav — Will do, thank you!

You can get a remote of "." if your tracking branch is a local branch. Git won't set these up by default, but it will if you set branch.autosetupmerge to "always". So hub should handle this case.

Thanks, @peff. I fixed this issue in the new release. If a branch is tracking a local branch, I'm pretending like there's no upstream configuration set and hub will assume you pushed to the same-named branch on your fork.
However pull-request sill works best when using it from a branch that has its upstream configuration set to track a remote branch.

Thanks @mislav! :metal:


Use Docker.io's Node 9-stretch image

This would bump the version up to 9 instead of leaving it at 8, but beyond that should be end-to-end identical.  We "need Debian stretch," according @hawkrives, so that is why we aren't using something cool like Alpine or the base default.

For testing, which is what the ci currently does, I'd rather use a local image that goes to touch the remote's name? (eg hybsearch)

I like that idea. Change incoming.


🚀 Feature: UI/UX Improvement for icons

🔖 Feature description

Change icons for tab scrolling to the ones in figma, use the hover state style for when it is clicked:

Link to selection: https://www.figma.com/file/OXLtrl1EAy885to6S69554/DocsGPT?type=design&node-id=2490%3A5297&mode=design&t=O1hn2rLEcaC8uvUa-1
Link to project: https://www.figma.com/file/OXLtrl1EAy885to6S69554/DocsGPT?type=design&mode=design&t=O1hn2rLEcaC8uvUa-1
🎤 Why is this feature needed ?
UI/UX enhancement
✌ How do you aim to achieve this?
UI/UX enhancement
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
None

@tenokami Please assign this issue to me. I want to work on it


Help build source

I need a little help, I can not compile with using sdk 3.0.100-preview6-012264.
1>------ Build started: Project: EFCore.Abstractions, Configuration: Debug Any CPU ------
2>------ Build started: Project: EFCore.Analyzers, Configuration: Debug Any CPU ------
1>EFCore.Abstractions -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.Abstractions\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.Abstractions.dll
2>EFCore.Analyzers -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.Analyzers\Debug\netstandard1.3\Microsoft.EntityFrameworkCore.Analyzers.dll
3>------ Build started: Project: EFCore, Configuration: Debug Any CPU ------
3>EFCore -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.dll
4>------ Build started: Project: EFCore.Proxies, Configuration: Debug Any CPU ------
5>------ Build started: Project: EFCore.Relational, Configuration: Debug Any CPU ------
5>EFCore.Relational -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.Relational\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.Relational.dll
6>------ Build started: Project: EFCore.SqlServer, Configuration: Debug Any CPU ------
7>------ Build started: Project: EFCore.Design, Configuration: Debug Any CPU ------
7>EFCore.Design -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.Design\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.Design.dll
4>EFCore.Proxies -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.Proxies\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.Proxies.dll
8>------ Build started: Project: EFCore.Specification.Tests, Configuration: Debug Any CPU ------
8>C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.TargetingPackResolution.targets(185,5): error NETSDK1073: The FrameworkReference 'NETStandard.Library' was not recognized
8>Done building project "EFCore.Specification.Tests.csproj" -- FAILED.
9>------ Build started: Project: EFCore.Relational.Specification.Tests, Configuration: Debug Any CPU ------
9>C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.TargetingPackResolution.targets(185,5): error NETSDK1073: The FrameworkReference 'NETStandard.Library' was not recognized
9>Done building project "EFCore.Relational.Specification.Tests.csproj" -- FAILED.
6>EFCore.SqlServer -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.SqlServer\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.SqlServer.dll
10>------ Build started: Project: EFCore.SqlServer.NTS, Configuration: Debug Any CPU ------
10>EFCore.SqlServer.NTS -> C:\Github\ralms\EntityFrameworkCore\artifacts\bin\EFCore.SqlServer.NTS\Debug\netstandard2.1\Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite.dll
11>------ Build started: Project: EFCore.SqlServer.FunctionalTests, Configuration: Debug Any CPU ------
11>C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.TargetingPackResolution.targets(185,5): error NETSDK1073: The FrameworkReference 'NETStandard.Library' was not recognized
11>Done building project "EFCore.SqlServer.FunctionalTests.csproj" -- FAILED.
========== Build: 8 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

Anyone have any tips?
C:\Users\Ralms>dotnet --info
SDK do .NET Core (refletindo qualquer global.json):
 Version:   3.0.100-preview6-012264
 Commit:    be3f0c1a03

Ambiente de tempo de execução:
 OS Name:     Windows
 OS Version:  10.0.18362
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\

Host (useful for support):
  Version: 3.0.0-preview6-27813-07
  Commit:  102425eabe

.NET Core SDKs installed:
  2.1.700 [C:\Program Files\dotnet\sdk]
  2.2.300 [C:\Program Files\dotnet\sdk]
  3.0.100-preview6-012264 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.0.0-preview6-27813-07 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

Did you follow the wiki ?

Yes, all!
I'm trying to figure out what's going on.

Which version of VS are you using? Sorry, making everything pre-release work well with each other is hard.

VS 2019 16.1.3 Enterprise, I am installing the Preview version to test.

Also take care of this https://github.com/dotnet/arcade/issues/3035#issuecomment-502720454

Yes this has already been enabled, I'm getting almost crazy!
But soon I discover!

@dsplaisted @livarcocc can you provide some help here?  Looks to me like https://github.com/dotnet/cli/issues/11378.

And @ralmsdeveloper can you clarify if you did the following:
starts.cmd EFCore.sln when opening in VS https://github.com/aspnet/EntityFrameworkCore/wiki/getting-and-building-the-code#using-visual-studio
Enable preview SDKs — https://devblogs.microsoft.com/dotnet/net-core-tooling-update-for-visual-studio-2017-version-15-9/
build from  commandline — does it work?

Yes it is working at the prompt!
The only problem is when I try to compile in VS.

I had to add this so I can compile and test my stuff, but it's something that we should not change our CSPROJ, this has to be resolved in the SDK:
<Target Name="WorkaroundNetStandard" AfterTargets="ResolvePackageAssets">
    <ItemGroup>
      <TransitiveFrameworkReference Remove="NETStandard.Library" />
    </ItemGroup>
</Target>

This has already been fixed in the latest .NET Core SDK and the latest Visual Studio.

@livarcocc - What would be min version of VS (and SDK if necessary) for this issue to be resolved? I will update wiki page to have it as min requirement.

I just installed and mine is still going!

@dsplaisted to confirm the versions.

We think that you need at least VS 16.2 Preview 3 for this, which shipped this week (the 25th).

Hello @dsplaisted ,
I did the update with the last update and still the problem persists.
Any thoughts on that?

Thank you all!
I managed to solve it, I uninstalled everything and installed again, it worked.
@smitpatel If you update the wiki page, Version 16.2.0 Preview 3.0 worked for me!
This may already be closed!


[BUG]No reewards , no sync.

I am farming since 5 days no single reward or block until now.
What means testnet ? Using Windows 10. Other coins on chianet work i am farming i get rewards ? Please explain that to me. Is that a not working blockchain here, wich is still in testing phase ? Even no sync with new version. Dead project i think.

It was working quite well on Testnet8 but they moved to Testnet, since then, no sync, no farming, no rewards...

no timelord is running, that is why it is not syncing

Hi. Is this fixed? I just installed 0.0.9 and I have no NODES in my connections section. With ChainGreen I had to add some nodes manually and it started syncing.
How did you solve this problem?

You can add the following nodes manually,
<IP_ADDRESS>:10444
<IP_ADDRESS>:10444
<IP_ADDRESS>:10444
<IP_ADDRESS>:10444
<IP_ADDRESS>:10444


Improve CKAD / CKA logo display for narrow viewports

@celestehorgan here are my suggestions for revising https://github.com/kubernetes/website/pull/19692 to handle narrow viewports.
You can preview them locally:
git fetch origin pull/1/head:add-logos-training-revised

and then you should be able to:
git checkout add-logos-training
git cherry-pick 181adfa
make docker-serve

to try it.
If you don't like this you can:
git checkout add-logos-training
git reset --hard <name-of-upstream-remote>/add-logos-training

to get back to how things were.

Looks great. Thank you @sftim!

You're welcome.


Run Security dashboards plugin from binary for integration tests

Description
Runs Opensearch dashboards from binary after installing a fresh build of security dashboards plugin. This should help catch issues not currently caught in our CI.
Category
[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation]
Why these changes are required?
What is the old behavior before changes and new behavior after changes?
Issues Resolved
Fix: #1709
Testing
[Please provide details of testing done: unit testing, integration testing and manual testing]
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Verified that this would have caught the types error we saw recently: https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/7450037673/job/20268031021?pr=1726

Thank you @dxho! I left a couple of comments. I'd like to understand when the min distribution of OSD core to published to see if it has the freshest changes or if there is a risk that this repo would be integrating with stale artifacts.

That link is related to the latest build /latest/ will be replaced by the build id of the latest. I tried building OSD-core prior to this commit: https://github.com/opensearch-project/security-dashboards-plugin/pull/1726/commits/48af9980de3b83ada7ec0519a70499c06eb1e41f. IMHO that is also valid, but after thinking it through, we should not be responsible for the build process of core, and instead rely on the build team for that. If there is an issue with core, both would fail anyway, so we should just rely on the build team.

For core we download the following artifacts:
Windows: https://artifacts.opensearch.org/snapshots/core/opensearch/${{ inputs.opensearch-version }}-SNAPSHOT/opensearch-min-${{ inputs.opensearch-version }}-SNAPSHOT-windows-x64-latest.zip

Linux: https://artifacts.opensearch.org/snapshots/core/opensearch/${{ inputs.opensearch-version }}-SNAPSHOT/opensearch-min-${{ inputs.opensearch-version }}-SNAPSHOT-linux-x64-latest.tar.gz

These artifacts are published after PRs are merged into the release branches in the core repo. Integrating with the latest commits in Core or OSD Core help uncover issues quickly so I think it makes sense to aim for integrating with the most up-to-date changes if its possible.


Multiple 3D textures instead viewports

I was testing this plugin to show MPR and VR and I saw that this plugin creates a 3D texture each time the user creates a view. So the problem is that to show MPR and VR the viewer loads some 3D textures instead of sharing them.
I was searching to share resources between contexts in WebGL but I just found workarounds like use one context with differents viewports. My question is if you have some plan like use some workarounds or you preffer to hold the multiple 3D texture load? (maybe I'm wrong, to test this I have just opened the chrome task manager and I looked the GPU memory usage and I have alerted that it increases if you use more views although it is the same texture)
Thanks!

This plugin would be able to take advantage of whatever support is provided by webgl and vtkjs for sharing resources across contexts.  Near term I think it's actually easiest to have one rendering context that does all the drawing, but that hasn't been implemented yet.

Thanks for the reply!


Semantical Error

Hi,
I try to install pits_downloadcenter with TYPO3 9.5.4 and get the following error:
Oops, an error occurred!
[Semantical Error] The annotation "@void" in method PITS\PitsDownloadcenter\Controller\DownloadController::forceDownloadAction() was never imported. Did you maybe forget to add a "use" statement for this annotation?

Regards
Hobokens

Dear @Hobokens
This issue is fixed in the master branch please check

Dear @hojaonline ,
thanks a lot for the fix. Everything is perfect now.


Incorrect handling of cameras with custom viewports in the rapier backend.

In the rapier backend, the ray_from_screenspace function does not correctly translate coordinates in the target camera s screen space to its viewport space before mapping to a world-space ray, leading to incorrect results. This can be fixed by adapting the ray_from_screenspace function to be closer to Ray3d::from_screenspace from bevy_mod_raycast: https://docs.rs/bevy_mod_raycast/latest/src/bevy_mod_raycast/primitives.rs.html#240-262

Can be fixed by using bevy's Camera::viewport_to_world.


Feat/setup redesign final

Fixes: #705
draft:

Todo: ~check small screen~

Awesome, thank you :+1:


Documentation: Issue in example Code for Pre-building Indexes

Hi, I hope this is the correct place to post an issue on https://lunrjs.com/guides/index_prebuilding.html .
In the sample node script for building an Index, var documents = JSON.parse(buffer.join()) is used to parse STDIN to a JSON array. However, this does not work for large inputs (i.e., in case the buffer has more than one element), because if called without arguments, join() will join the array elements with a comma separator, resulting in invalid JSON. So, correct is: var documents = JSON.parse(buffer.join(''))
Many thanks for correcting this.

The website is in this repository, please open an issue there, or better yet send a pull request ;)

The specific page is https://github.com/olivernn/lunr-site/blob/master/source/guides/index_prebuilding.html.md

Perfect, I was looking for the repo of the site but did not find it - shame on me. :smile: Will open a pull-request!

No problem, thanks for taking the time to open an issue and provide a fix!

See olivernn/lunr-site#3


speech_recognition model out of date

The previous speech_recog repo was lagged behind in the following aspects:

it was developed based on old dependencies. Some dependency packages like ds_ctcdecoder was changed heavily since then, and the old version ds_ctcdecoder was not maintained, nowhere to be obtained.

dependencies like ds_ctcdecoder now is requiring external Scorer, which was not provided in the previous speech_recog repo. Instead, the previous repo provides 'trie' and 'lm.binary', which are not accepted by dependencies.

https://github.com/nusdbsystem/singa-auto/pull/176

https://github.com/nusdbsystem/singa-auto/pull/176


chore: enable github actions workflow (v13)

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

We should not set the status for Node 8.10 and 10x required here, I think.
Currently we have a regex as branch protection that matches all v\d.x. We either need to remove the required status checks for Node 8 and 10 or we need to split the branch protection up into more fine grained rules for each branch.
WDYT?


IFOV and OFOV likelihood tests

Refer to the discussion in the previously closed PR https://github.com/parsotat/NITRATES/pull/5. Using analysis_for_imxy_square() as reference in do_llh_inFoV4realtime2.py, I've updated the test script to calculate sqrTS using Sig_Bkg_Model and LLH_webins2 as requested. This is captured in the function calculate_LLH_ratio_test_statistic(). The previous method using the compound model and LLH_webins has been renamed old_calculate_LLH_ratio_test_statistic() and is still available.
@parsotat you asked to check that the calculations recreated the same results as the old method. These were my results:
For theta, phi = 38.541, 137.652, the value for sqrtTS using old_calculate_LLH_ratio_test_statistic() was 17.008497698693443 whereas with calculate_LLH_ratio_test_statistic() we now calculate 14.017985702679729.
For theta, phi = 125.0, 25.0, we had 15.558480899442337 before , and now it is calculated at 13.728251640722451.

@metalphase I think there's something wrong with the commits on this PR, as it's saying that there are 'infinite files changed'.
The results from the old classes and new classes should match.
Try and debug what the issue is, make sure you are actually passing all of the same parameters, bkgs, etc.

Hi @metalphase any update here?

Sorry for the wait. I've been trying to reconcile the differences between the old and new versions of the test to which I've been able to narrow down where the difference is occurring. In the calculation of sqrtTS the good news is that the value for bkg_nllh is consistent between the old and new versions. bkg_nllh is calculated from sig_llh_obj which is LLH_webins and LLH_webins2 in the old and new versions. So this should be validation that the changes to LLH_webins and Sig_Bkh_Model aren't causing any dfferences in the calculation of bkg_nllh.
You can see in the screenshots the values in the old versus new versions of the test functions.

So the differences are coming from the value of nllh[0] from the result of the minimization process of sig_miner. The minimizer is set up and run via the following lines of code:

Here I'm a bit stuck here as I'm not entirely sure whether this is an issue with my implementation of the minimizer or if this is actually a result of the new classes.

Great sleuthing @metalphase !!
Can you share the entire nllh vector (ie not just the 0th element) for both the old and new calculation?
Tagging in @jjd330 as well

The way it's set up now, you need to set the signal parameters every time something besides 'A' changes. So after you set the flux_params here https://github.com/parsotat/NITRATES/blob/3c61ab44826626fbebe0f4a0430ca1c2f053e2ef/tests/test_likelihood_ratio_test_statistic.py#L304 , you need to set the signal parameters for the sig_bkg_mod. Like it's done here https://github.com/Swift-BAT/NITRATES/blob/main/do_llh_inFoV4realtime2.py#L467 .

Thanks @jjd330 ! @metalphase speak up if anything is unclear :)

@jjd330 That looks to have done the trick. Both versions of the test function are returning nearly identical values for sqrtTS for both IFOV and OFOV cases.
![Screenshot 2023-04-11 at 11 52 37 PM](https://user-images.githubusercontent.com/34755935/231344971-d80fe6c1-5fbb-467b-83

f3-2fe42b93022a.png)
With that settled I will do some cleanup of the code.  It looks like the new test functions are also recognized and run using pytest. The IFOV passed while the OFOV test failed but the precision I'm demanding in my asserts are probably too high. What would be the appropriate precision in the asserts for the values of sqrtTS? @Tohuvavohu

@metalphase awesome!
So it looks like they disagree at the 7th decimal place.
This is fine to accept (and is unsurprising) though it would be nice to know where it is coming from.
Since you are running the same codebase and the same python version for the two tests, it seems like it must be coming from the code somewhere...?
I'll note that the bkg_nllh also exhibits the same discrepancy.
Does the nllh?
Don't spend too much time trying to track down where this is coming from, but understanding at least whether its from the new LLHwebins2 or the new Sig_bkg_model would be nice, if possible with reasonable effort.
Don't spend more than an hour on it.

@Tohuvavohu between the two versions of the test script the values for bkg_nllh and nllh are consistent in both IFOV and OFOV scenarios. For IFOV, the bkg_nllhs were the same up to 11 decimal places and the nllhs to 6 decimal places. For the OFOV case it was 10 and 5 respectively. So it looks like nllh is more sensitive to whatever changes are happening as a result of LLH_webins2 and Sig_Bkg_model.
IFOV:
bkg_nllh =  46038.74332720732          ->   46038.743327207325
nllh         =  [45894.098830224066]    ->   [45894.09883014985]
OFOV:
bkg_nllh =  46038.74333109522          ->   46038.74333109522
nllh         =  [45917.71016714621]          ->   [45917.710166768826]
Using the older test script as a baseline I attempted to investigate using LLH_webins with the Sig_Bkg_Model and using LLH_webins2 with the CompoundModel. In both cases I ran into some errors trying get the test script to run and spent some time trying to debug it but perhaps not worth spending too much time on it. I'll save those separate test cases in a local copy in case we want to investigate further perhaps with Jimmy. For now I just pushed the latest test script that sets the tolerances on the assert statements to 1e-07.

Ok, the fact that the residuals for the nllh are 1e5 times bigger than the bkg_nllh makes me think that the major contributor to the difference is likely coming in from the way the new model and likelihood interact with the minimizer.
Otherwise, I think things are looking good.
Can you please copy in the output of running the tests, including run time, and warnings produced?
Then we can look at merging!

The pytest finished with 2 passed tests and 725 warnings in 15.29 seconds of runtime. The majority of the warnings pertain to deprecation warnings such as using np.int instead of np.int64 or np.int32, or using np.bool in place of the built-in bool. I'll post some examples of these warnings, there's too many overall to post the entire output.

Other than that we have only two other warnings, one RuntimeWarning and one AstropyUserWarning. I think we captured those in the previous pull request but I'll paste them again:

Ok, LGTM, i think can merge.
@jjd330 second look?

Looks good to me too

ok @parsotat you can merger if you are happy.


Add KUBECONFIG env into minikube calls

Based on this and this
Minikube, by design, uses KUBECONFIG env variable to write it's cluster configuration.
Due to keeping consistency between tools around kubectl and minikube (e.g., start cluster via Podman UI and manage via cli), Podman Desktop Minikube extension should also use KUBECONFIG if defined for any minikube binary calls to avoid error E1120:
E1120 17:53:32.745267   45820 status.go:417] kubeconfig endpoint: get endpoint: "minikube" does not appear in $KUBECONFIG

@axel7083 thx for helping with Semantic PR, was just looking for it's rules, not really obvious

@tony-sol you should be able to use the latest version ghcr.io/podman-desktop/podman-desktop-extension-minikube:2ad64c7eebe376986abc8427c2de45e617eff55b before we publish a new version

@axel7083 yeah, already testing, works nice as expected, thx <3


Could not install

Hi, everyone,
I wanted to run the code in simulated mode, but the installation didn't succeed. I created a clean conda env (python 3.7) and tried to install there following the instructions, but pip install -e . failed due to permission denied issues:

I also tried to install the spim-core manually, but that also failed:

Is this a config issue, or some repositories remain private? Or am I doing something dumb?
Many thanks!
Nikita

@nvladimus have you associated your SSH key with your GitHub account? If you don't want to do that it might be better to change the repos in the dependencies  to use HTTPS rather than SSH. Both of them are public, so that shouldn't be the problem.
So you could try changing lines 25-26 in pyproject.toml to
    "tigerasi @ git+https://github.com/AllenNeuralDynamics/TigerASI.git@main#egg=TigerASI",
    "spim_core @ git+https://github.com/AllenNeuralDynamics/spim-core.git@main#egg=spim_core",

It almost worked for me. But here's what I get:
ERROR: Cannot install exaspim and exaspim==0.1.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    exaspim 0.1.0 depends on tigerasi 0.0.26 (from git+https://github.com/AllenNeuralDynamics/TigerASI.git@main#egg=TigerASI)
    spim-core 0.1.0 depends on tigerasi 0.0.26 (from git+ssh://****@github.com/AllenNeuralDynamics/TigerASI.git@main#egg=TigerASI)

exaspim wants https and spim-core wants ssh. So what I'd suggest is to generate an SSH key pair and associate it with your GitHub account. Then it should work for you. Note for the maintainers, all those URLs in the pyproject.toml files for each project could change to https and avoid issues like this in the future.

Many thanks, I will try that!

Hey @nvladimus. Apologies for the troubles, this repository has not been updated in quite some time. It is also inactive, we have been working on new repositories over the last 6+ months with new acquisition software. It would be best to dive into these if helpful/useful. Documentation and commenting in the code is scarce but coming soon to hopefully make it more usable by others.
Hardware driver repo that will construct a microscope from a configuration YAML file + classes for data writing
https://github.com/AllenNeuralDynamics/voxel/tree/main
GUI repo that builds upon the generated instrument object
https://github.com/AllenNeuralDynamics/view
ExA-SPIM specific repo that uses both of the above
https://github.com/AllenNeuralDynamics/exaspim-control

Thanks, looks very cool! It wasn't obvious that there are exa-spim-control vs exaspim-control repos =)


feat: custom openai endpoint

Resolves #230

Hey guys! Just added the custom api endpoint feature to #265 branch. If any of you guys could try it out and confirm that it works, I'll merge it to main! Thanks!

@tjbck Loading the model names from the /models endpoint is working:

However, generation is not responding:

I got the same response with all models. Unfortunately the Docker log doesn't show me anything useful, anywhere else I can look or enable debugging?

No error this time, but hangs on generation:

@justinh-rahb Could you share your browser console logs with us? That would be extremely helpful! Thanks as always!

@justinh-rahb Could you share your browser console logs with us? That would be extremely helpful! Thanks as always!

I edited just after when I realized I forgot, sorry

Here's the one you need:

All these api endpoints have different behaviours 😅, I think I know what to do now

Fingers crossed, everything should just work now!

Instant response!

Will try with local APIs next, but this is already a win!

Sounds good, Will do some more testing and merge this branch to main! @justinh-rahb Thanks a lot for helping with the testing!

Can confirm it works with textgen's API, as well as LM Studio:

LGTM, Thanks everyone!

![mustgofaster](https://github.com/ollama-webui/ollama-webui/assets/52832301/6c209f8b-0ed7-482b-a6c4-e5be0b577a06)


Remove Outdated get_input_files function from the ocean diagnostic tools

In PR #711, while review the functiondef get_input_files in the file esmvaltool/diag_scripts/ocean/diagnostic_tools.py, @bouweandela suggested:
There is no need for this function anymore, you can just use the cfg['input_data'] dictionary defined here: https://github.com/ESMValGroup/ESMValTool/blob/990dee125e0e23f7ee143e36be8de249b86fce04/esmvaltool/diag_scripts/shared/_base.py#L213
in combination with e.g.
https://github.com/ESMValGroup/ESMValTool/blob/990dee125e0e23f7ee143e36be8de249b86fce04/esmvaltool/diag_scripts/shared/_base.py#L45
for making groups.
I replied

`I hesitate to make this change right now, as it may wind up being non-trivial to implement and test. The current method is called by every diagnostic in the ocean diagnostics, so there would be many recipes to run to test it.
In addition, I'm also working remotely right now, so this kind of change would be hard to implement today. Can we please shift it on a to-do list for a future PR? I'm happy to create a new issue so that I keep it on my to do list.`

I've added this review request here as a separate issue to be addressed and tested in the near future.

This has been folded into the #711 PR.


As admin user I can see records by user

On admin page, there should be similar view as on user's page but for selected users
Author: mkurkela

Wrong repo

Wrong repo


Configuration file manager module

Hey @bhargavnova , thanks for letting me work on this issue and become part of this community. I've raised a PR, please check it at your convenience time and let me know if it still requires any adjustments. Once we both are done on this, I would request you to lable my PR to hacktoberfest-accepted.

Sure! @harshjais369,
no need for a label, because the repo has hacktoberfest label,
Thanks for your contribution :),
You can work on other open issues or you can also submit your own code.
Happy Coding!


JRuby <IP_ADDRESS> compatibility

Hi @mkristian, I want to install fast-rsa-engine with JRuby <IP_ADDRESS> but running into the following error below.
I'm assuming the problem is with ruby-maven and JRuby <IP_ADDRESS> incompatibility.
What versions of JRuby does ruby-maven support?
I tried to check the .travis.yml file (https://github.com/takari/ruby-maven/blob/master/.travis.yml#L6) and it says jruby-head but it does not look like @takari is running travis-ci checks (https://travis-ci.org/takari)
I also tried to check https://travis-ci.org/mkristian/ruby-maven/builds but it only had old builds.
$ gem install fast-rsa-engine -v '0.3.2' --backtrace
  jar dependencies for fast-rsa-engine-0.3.2-java.gemspec . . .
ERROR:  While executing gem ... (NoMethodError)
    private method `exec' called for Maven:Module
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/ruby-maven-3.3.12/lib/ruby_maven.rb:77:in `launch'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/ruby-maven-3.3.12/lib/ruby_maven.rb:42:in `exec'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/ruby-maven-3.3.12/lib/maven/ruby/maven.rb:112:in `exec'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/jars/maven_exec.rb:79:in `resolve_dependencies_list'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/jars/installer.rb:237:in `install_dependencies'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/jars/installer.rb:226:in `do_install'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/jars/installer.rb:172:in `vendor_jars'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/jars/post_install_hook.rb:28:in `block in (root)'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/installer.rb:353:in `block in run_post_install_hooks'
	org/jruby/RubyArray.java:1733:in `each'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/installer.rb:352:in `run_post_install_hooks'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/installer.rb:317:in `install'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/resolver/specification.rb:97:in `install'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/request_set.rb:166:in `block in install'
	org/jruby/RubyArray.java:1733:in `each'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/request_set.rb:156:in `install'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/commands/install_command.rb:205:in `install_gem'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/commands/install_command.rb:255:in `block in install_gems'
	org/jruby/RubyArray.java:1733:in `each'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/commands/install_command.rb:251:in `install_gems'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/commands/install_command.rb:158:in `execute'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/command.rb:310:in `invoke_with_build_args'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/command_manager.rb:169:in `process_args'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/command_manager.rb:139:in `run'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/gem_runner.rb:55:in `run'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/bin/jgem:21:in `<main>'
	org/jruby/RubyKernel.java:979:in `load'
	/Users/ddinh/.rbenv/versions/jruby-<IP_ADDRESS>/bin/gem:4:in `<main>'

It seems from this issue (https://github.com/takari/ruby-maven/issues/5#issuecomment-263168168) there is support for jruby-<IP_ADDRESS>.

Actually, this works on jruby-<IP_ADDRESS>.
@mkristian do you know why it breaks on jruby-<IP_ADDRESS> ?
$ gem install fast-rsa-engine -v '0.3.2' --backtrace
  jar dependencies for fast-rsa-engine-0.3.2-java.gemspec . . .
      com.squareup.jnagmp:bouncycastle-rsa:1.0.1:compile
Successfully installed fast-rsa-engine-0.3.2-java
1 gem installed


Remove unnecessary clone()

The vector of frame motion vectors may be moved instead of cloned.

Coverage decreased (-0.02%) to 82.308% when pulling 0a460efa86dafb33049bd77e6471ca9c661cda64 on rom1v:noclone into 274182ef90f939382c14921e644f0d6267c6f7a4 on xiph:master.


Pip information missing home-page and author information for Qiskit 1.0.2

Environment

Qiskit version: 1.0.2
Python version: 3.10
Operating system: macOS 14.2.1

What is happening?
Pip information missing home-page and author information when running pip show qiskit command.

How can we reproduce the issue?

Install qiskit 1.0
Run pip show qiskit

What should happen?
It should show the link to home page which is now (?) https://docs.quantum.ibm.com/ and author should be "Qiskit Development Team" like in qiskit 0.46.1

Any suggestions?
No response

The author information and home page aren't really missing (and going to https://pypi.org/project/qiskit will show they're being properly interpreted), I think it's just a bit of a mismatch when mapping the more descriptive form that Qiskit now uses for packaging onto PyPA metadata format that predates it.
You can see in Author-Email that we do supply a full name and email in the preferred format, and we supply Home-Page in Project-URLs now (try pip show -v qiskit).
The older metadata format has special fields for Home-Page and Author, but when we swapped to the recommended structure of using pyproject.toml, which has a far more descriptive configuration than the legacy distutils/setuptools-fixed format, it doesn't automatically backfill those fields.  Fwiw, this is the same behaviour as pip itself:
pip show pip

Name: pip
Version: 24.0
Summary: The PyPA recommended tool for installing Python packages.
Home-page:
Author:
Author-email: The pip developers<EMAIL_ADDRESS>License: MIT
Location: /Users/jake/code/qiskit/venv310/lib/python3.10/site-packages
Requires:
Required-by: pip-tools

Yeah, looks like pip just changed super recently: pypa/pip#11909.

I wouldn't call it a bug, but if anything, it'd be setuptools, because it's about whether the underlying metadata fields are filled or not.  But we don't fill Author or Home-Page any more; we use the more descriptive full sets of fields (Author-Email and Project-URLs) and abide by their conventions.  Pip's reporting the "standard" set of metadata which is a bit old now, and I'd imagine that if they changed the default behaviour of pip show, they'd break things that parsed its output.


Absolutely no discussion about OS permissions in the OS X instructions

File: docker-for-mac/install.md
When run for the first time it declares that it needs admin privileges to run, but then no more prompts appear, so I don't know what privileges it needs to run. This is not discussed anywhere in the docs.

Closing ticket as this has now been resolved https://docs.docker.com/desktop/mac/permission-requirements/


Update _zoom.scss

Animation has got invalid name and doesn't work.
Issue #96 suggests updating name of animation the same way #61 did it.

Yup. Definitelly better solution! It was just a quick fix for the project I made ;)


About MTTPPN[1:0]

I would like to know why MTTPPN[1:0] should always read as 0.
Please explain it to me, thanks.

apologies for the delay in the response @jay890829
So, the MTTPPN refers to an MTTL3 table or an MTTL2 table based on physical address width and it is naturally aligned to that sized byte boundary. Since the smallest MTT entry sizes in those tables are 32 bit entries (4 byte stride), the lowest two bits of the physical page number (MTTPPN) in mttp are always read as zeros.


Problems with spaces in path

Hey Maik,
I find it "uncomfortable" that the path to my project directory may (or should) not contain any spaces. I like to name my directories in proper language. Say, I want to organize my projects according to the context in directories like D:\Own Projects\APEX Apps or D:\Own Projects\APEX Plugins or D:\work\My Client\APEX and so on, and I dislike using things like camel case notation or underscores.
Now, while I totally agree with avoiding spaces in paths and file names within the project structure, the path to the project root should allow such spaces.
The particular problem, dbFlux causes, that made me write this issue, is within the "build" (rather upload) task of a javascript file. The upload works without problems. After the upload, dbFlux tries to move the generated sql file to f100/dist/js. Now, my project root is in D:\private\APEX Plugins. Due to the space in "APEX Plugins", the MV command tries to move D:\private\APEX to Plugins\myPlugin\static\f100\dist\js\myPlugin.js.sql which fortunately fails because the target is not a directory - which is exactly what the error message of MV says.
Connection:  apex_plugins@localhost:1521/xepdb1
Sourcefile:  static/f100/src/js/myPlugin.js (Trigger only: NO)
OS-Now:      30.01.23_08:44:18,31699
DB-User:     APEX_PLUGINS
DB-Name:     XEPDB1
DB-Now:      30.01.23 08:44:26,646491000 +01:00
 ... File uploaded as: js/myPlugin.js
 ... File uploaded as: js/myPlugin.min.js
 ... File uploaded as: js/myPlugin.js.map

PL/SQL-Prozedur erfolgreich abgeschlossen.

Successful   30.01.23 08:44:28,051397000 +01:00
mv: target 'Plugins/my_plugin/static/f100/dist/js/myPlugin.js.sql' is not a directory
Reference file by using: #APP_FILES#js/myPlugin#MIN#.js
-----------------------------------------------------

 *  Terminal will be reused by tasks, press any key to close it.

I am sure that this is not the only spot where spaces in the path to the project cause problems. It's just the most recent one. Uploading CSS files will most likely have the same effect. I can provide more spots once i stumble upon them.
I'd love to see dbFlux being able to handle this. Should be working, when using double quotes on bash operations that receive a path as parameter.
Thanks and thumbsup for this great extension!

Fixed


would you like to start again

Hi guys,
trying to run this, but after entering an email address it asked me to start again?
Im guessing, connection issue?

Difficult to say, can you run with --verbose and post the output here?

I'm seeing something similar. To me it happens while it is setting up the certificates.
[INFO] IIS will serve the new certificate after the Application Pool IdleTimeout has been reached.
[INFO] Updating existing https binding
[INFO] IIS will serve the new certificate after the Application Pool IdleTimeout has been reached.
[INFO] Committing binding changes to IIS
[EROR] Exception A specified logon session does not exist. It may already have been terminated
Would you like to start again? (y/n):
I'm running with command line:
letsencrypt --san --accepttos
selecting S and then giving it 10+ site ids comma separated.

@hbruun, your error sounds like #371. @1liminal1 seemingly has a different problem.

Hi guys,
I think it was just timing out, today its a different issue, ill open a new case.
Thanks


Reservations styling

In this PR, I did the following:

Showed a list of reservations on the 'Reservations' page
Styled the page to match the website theme
Fixed the carousel on the homepage

😄 😂
I'm totally stealing this.
Thanks for the review, @DJ-MrJay


Single pod crash looping after data import

Environment:
K8s 1.21
Installed v1.12.2 with Helm
Resources
replicas: 13
resources:
  requests:
    cpu: '2000m'
    memory: '20Gi'
  limits:
    cpu: '3000m'
    memory: '24Gi'

Schema
{
   "classes": [
       {
           "class": "Product",
           "invertedIndexConfig": {
               "bm25": {
                   "b": 0.75,
                   "k1": 1.2
               },
               "cleanupIntervalSeconds": 60,
               "stopwords": {
                   "additions": null,
                   "preset": "en",
                   "removals": null
               }
           },
           "properties": [
               {
                   "dataType": [
                       "string"
                   ],
                   "name": "merchant_id",
                   "tokenization": "word"
               },
               {
                   "dataType": [
                       "string"
                   ],
                   "name": "image_url",
                   "tokenization": "word"
               }
           ],
           "shardingConfig": {
               "virtualPerPhysical": 128,
               "desiredCount": 13,
               "actualCount": 13,
               "desiredVirtualCount": 1664,
               "actualVirtualCount": 1664,
               "key": "_id",
               "strategy": "hash",
               "function": "murmur3"
           },
           "vectorIndexConfig": {
               "skip": false,
               "cleanupIntervalSeconds": 300,
               "maxConnections": 64,
               "efConstruction": 128,
               "ef": -1,
               "dynamicEfMin": 100,
               "dynamicEfMax": 500,
               "dynamicEfFactor": 8,
               "vectorCacheMaxObjects":<PHONE_NUMBER>0,
               "flatSearchCutoff": 40000
           },
           "vectorIndexType": "hnsw",
           "vectorizer": "none"
       }
   ]
}

Pod log
{"deprecation":{"apiType":"Configuration","id":"config-files","locations":null,"mitigation":"Configure Weaviate using environment variables.","msg":"use of deprecated command line argument --config-file","sinceTime":"2020-09-08T09:46:00.000Z","sinceVersion":"0.22.16","status":"deprecated"},"level":"warning","msg":"use of deprecated command line argument --config-file","time":"2022-05-05T23:20:06Z"}
{"action":"startup","default_vectorizer_module":"text2vec-contextionary","level":"info","msg":"the default vectorizer modules is set to \"text2vec-contextionary\", as a result all new schema classes without an explicit vectorizer setting, will use this vectorizer","time":"2022-05-05T23:20:06Z"}
{"action":"startup","auto_schema_enabled":true,"level":"info","msg":"auto schema enabled setting is set to \"true\"","time":"2022-05-05T23:20:06Z"}
panic: runtime error: makeslice: len out of range

goroutine 1 [running]:
github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw.growIndexToAccomodateNode(0xc01cf80000, 0x9eb10, 0x9eb10, 0x64f210200000000, 0x14ef4e0, 0xc0003f7650, 0xc000340360, 0xc025b29cc8, 0x1, 0x1, ...)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw/maintainance.go:78 +0xb1
github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw.(*Deserializer).ReadNode(0xc0005c4018, 0x14c2d60, 0xc000340360, 0xc0001724c0, 0x0, 0x0)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw/deserializer.go:145 +0x105
github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw.(*Deserializer).Do(0xc0005c4018, 0xc000340360, 0xc0001724c0, 0xc01de00000, 0xc0000c4270, 0x0, 0x0, 0x0)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw/deserializer.go:84 +0x105
github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw.(*hnsw).restoreFromDisk(0xc0002a17c0, 0x0, 0x0)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw/startup.go:74 +0x609
github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw.(*hnsw).init(0xc0002a17c0, 0xc00003c016, 0x11, 0xc000908078, 0x14, 0xc000458090, 0xc0005c80c0, 0x14ef4e0, 0xc0003f7650, 0x14d97a8, ...)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw/startup.go:28 +0x5b
github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw.New(0xc00003c016, 0x11, 0xc000908078, 0x14, 0xc000458090, 0xc0005c80c0, 0x14ef4e0, 0xc0003f7650, 0x14d97a8, 0x1b5ea10, ...)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/vector/hnsw/index.go:196 +0x49e
github.com/semi-technologies/weaviate/adapters/repos/db.NewShard(0x14dd328, 0xc0002b37a0, 0xc000517d40, 0xc, 0xc0002f40f0, 0x0, 0x0, 0x0)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/shard.go:92 +0xef8
github.com/semi-technologies/weaviate/adapters/repos/db.NewIndex(0x14dd328, 0xc0002b37a0, 0xc00003c016, 0x11, 0xc00021b6e0, 0x7, 0x2710, 0x50, 0x5a, 0xc0004720a0, ...)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/index.go:104 +0x4c5
github.com/semi-technologies/weaviate/adapters/repos/db.(*DB).init(0xc0005b85a0, 0x14dd328, 0xc0002b37a0, 0xc000000180, 0xf8af9b)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/init.go:53 +0x425
github.com/semi-technologies/weaviate/adapters/repos/db.(*DB).WaitForStartup(0xc0005b85a0, 0x14dd328, 0xc0002b37a0, 0xc00049c5a0, 0x14ef4e0)
	/go/src/github.com/semi-technologies/weaviate/adapters/repos/db/repo.go:42 +0x3f
github.com/semi-technologies/weaviate/adapters/handlers/rest.configureAPI(0xc0007b0000, 0x0, 0x0)
	/go/src/github.com/semi-technologies/weaviate/adapters/handlers/rest/configure_api.go:193 +0xd65
github.com/semi-technologies/weaviate/adapters/handlers/rest.(*Server).ConfigureAPI(...)
	/go/src/github.com/semi-technologies/weaviate/adapters/handlers/rest/server.go:69
main.main()
	/go/src/github.com/semi-technologies/weaviate/cmd/weaviate-server/main.go:61 +0x4b4

Thanks for creating this issue. Can you provide some more info please, especially for the following points:

What was the cause of the restart? (The stack trace mentions weaviate/adapters/repos/db/vector/hnsw/startup.go:28 which runs on startup). Was this restart planned or did a crash or something similar occur?
Can you share some details about your setup? What kind of filesystem/disks were you using?
What were you doing when the issue occured?
Is this reproducible?
Can you share some code that reproduces this issue?
Can you share the full history of the logs including before this restart/crash?


iOS: Header font size flickers when viewing the list of messages

If the topic in the title bar is long, the header flickers when initially viewing the list of the messages. It feels as if the font size start small and when the loading completes the fontsize is bigger.
Even better if you can make the title bar in two lines one for topic and one for server. Currently my selfhosted domain is a bit long so usually I see ntfy.home.mydomain.com/abcd... Notice how I only see 4 characters for the topic.

@prabirshrestha Is it still flickering in v1.2? I am pretty sure I fixed it.


there is a feature to skip the short length? i mean the length can custom for 7-30 characters only and skip 1-6 characters

Today I had a random idea on how to do this and tried to implement it. However, given the way the permutations are generated  my "enhancement" ended up being just ignoring them if they are shorter than the min value. I dont see any significant improvement when working with small secrets, and I am currently unable to test with something longer.
@lmammino if you want, create a new branch for this issue and I will make a PR to it so you can have a look.

This feature does not exist at the moment, but I agree it would make a lot of sense. Happy to receive any PRs for it :)

You can open a PR against the main branch anyway, then we can review it and decide whether to merge it or not (or keep it in another branch by retargeting the PR)...


Added sanitizer to FloatingLinkEditor

This is new PR for #2825, removed the package.json commit.

@heesungjang Can you add this logic into ToolbarPlugin as well?

@heesungjang Can you add this logic into ToolbarPlugin as well?

@thegreatercurve  Sure!!
const insertLink = useCallback(() => {
    if (!isLink) {
      editor.dispatchCommand(TOGGLE_LINK_COMMAND, sanitizeUrl('https://'));
    } else {
      editor.dispatchCommand(TOGGLE_LINK_COMMAND, null);
    }
  }, [editor, isLink]);

I am assuming this is where you'd like the logic to be right?

@heesungjang Can you add this logic into ToolbarPlugin as well?

@thegreatercurve  Sure!!
const insertLink = useCallback(() => {
    if (!isLink) {
      editor.dispatchCommand(TOGGLE_LINK_COMMAND, sanitizeUrl('https://'));
    } else {
      editor.dispatchCommand(TOGGLE_LINK_COMMAND, null);
    }
  }, [editor, isLink]);

I am assuming this is where you'd like the logic to be right?

@heesungjang Remove it from the on change function, because that will block user input and instead add it to the insertLink function in both the floating toolbar and main toolbar plugins

@heesungjang Remove it from the on change function, because that will block user input and instead add it to the insertLink function in both the floating toolbar and main toolbar plugins

@thegreatercurve I have made a change according to your advice.


Fine-Tune not learning when using bottleneck features to train top

I have a working classification model that I use for fine-tuning/transfer learning of image classification.
Model Creation:
base_model = Xception(input_shape=(299, 299, 3),
                          weights='imagenet', include_top=False, pooling='avg')
top_model = Sequential()
top_model.add(Dense(101, activation='softmax', input_shape=base_model.output_shape[1:]))
model = Model(inputs=base_model.input, outputs=top_model(base_model.output))

I first create the bottleneck features of exception which outputs (samples, features) 2D ndarray.
Bottleneck Features:
generator = ImageDataGenerator(rescale=1. / 255).flow_from_directory("...",
                                                                         target_size=(299,299),
                                                                         batch_size=16,
                                                                         class_mode=None,
                                                                         shuffle=False)
    features = model.predict_generator(generator,
                                       generator.samples // 16,
                                       max_q_size=256,
                                       verbose=1)
    labels = to_categorical(generator.classes.tolist(), num_classes=101)

I use this features to Train my Top Model:
top_model.fit(train_features, train_labels,
                  batch_size=16,
                  epochs=50,
                  validation_data=(validation_features, validation_labels),
                  callbacks=callbacks_list)

The Top Model learns super fast and get's expected validation loss and accuracy that I desire. However, when loading this top_model weights and base_model weights into my fine-tune model it just does not want to learn. It does not even begin with the same training loss and training accuracy as it left of in the Top Model Training. Even if I freeze all base_model layers in the fine-tuning to emulate same behavior as top model training it still does not want to train.
Fine-Tune:
base_model = load_model(base_model_path)
top_model = load_model(top_model_path)
model = Model(inputs=base_model.input, outputs=top_model(base_model.output))

model.fit_generator(train_generator,
                            steps_per_epoch=train_generator.samples // 16,
                            epochs=50,
                            validation_data=validation_generator,
                            validation_steps=validation_generator.samples // 16,
                            max_q_size=256,
                            workers=1,
                            callbacks=callbacks_list)

I skipped some portions of the code both these is the main core of the code. If I train the entire model during top model training and just freeze the base model it works as expected. But I wanted to save the time by creating the bottleneck features and making top model training significantly faster, since the frozen layers output fix values.
It seems that the problem is that when using model.predict() to get a feature representation of an image we do not end up with the same features as when we use model.fit() to pass and image to the same frozen layers. I believe it's because on the layers without any weights. I tried this example with both Xception Model and with VGG16 to ensure it's not directly related to BN layers.
@fchollet I followed your gist tutorials. Can you share any ligth as to why the Fine-Tuning is not learning? It's able to load the weights correctly and create the exact model as I originally wanted.
@joelthchao Do you have any experience with this?
Basically, I need a Keras expert to help with this odd behavior. The Fine-Tune just stalls with no desire to learn as if it does not understand the features it just learned on the top model?

Turns out the error was related to Multi-GPU and passing trainable BatchNormalization layers into GPU.
This was an internal Tensorflow error not related to Keras.
Related Issue: #5802
Already Solved in Tensorflow Master: [(https://github.com/tensorflow/tensorflow/pull/8906)]
Closing this issue...

@abnera  I am running similar code as you were doing on a computer with no GPUs. And I encountered the same issue you as reported. Do you have any idea why it happens?


SyntaxError invalid syntax

When i try to laucnh VBad script i get a syntax error as shown below

Which version of python do you use?


Centos7 Build launcher not working after building deps

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
I am rebuilding localy the launcher from develop/main, on centos7 and it passes, i can then go and build deps with the dependencies tools and bundle it with create -b bundlename.
After launching ayon fomr the folder we have Missing Ayon Core.
If I do bootstrap I get wrong deps for centos7 as rocky. Those in turn fail with many errors since its not the same platform.
Expected Behavior:
Build and launch properly
Version
1.0.0
What platform you are running on?
Linux / Centos
Steps To Reproduce:
Steps outlined in the repo guide.
./tools/make.sh create-env
./tools/make.sh install-runtime-dependencies
./tools/make.sh build
./tools/make.sh make-installer
then make.sh upload and passes to the server.
I can see the launcher version in my downloads on ayon page.

Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
The command line errors with:
>>> Connected to AYON server https://ayon.aaamaa.com
Extracting /home/user/.local/share/AYON/dependency_packages/ayon_2408031157_linux.zip/ayon_2408031157_linux.zip -> /home/user/.local/share/AYON/dependency_packages/ayon_2408031157_linux.zip

Additional context:
No response

I'm not sure what to do with this issue? If the issue is wrong dependency package then we can't do much about it. Bootstrap contains rocky9 installer and dependency packages, to create dependency package please use https://github.com/ynput/ayon-dependencies-tool and make sure that is the one used in your bundle.

Ok, lets close this issue then, if its centos7 build related its going to history anyway.
thanks @iLLiCiTiT


Posgresql to Druid direct data insertion

Druid : 0.17
I have a use case where I need to directly insert data into Druid using PostgreSQL via jdbc
Please let me know the IO configuration for it
Thanks,
Ashish

Have you tried using the SQL Firehose: https://druid.apache.org/docs/latest/ingestion/native-batch.html#sqlfirehose ?

for 0.17.0 you have to build your own druid version
http://druid.apache.org/docs/latest/development/build.html
instead of this command
"mvn clean install -Papache-release,dist,rat -DskipTests"
use this one
"mvn clean install -Pdist -DskipTest"
the second command will save you some time.


Add feed_id to editor

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[ ] All tests and CI builds passing

Description
Adds feed_info#feed_id to GTFS editor. Refs conveyal/gtfs-lib#260

Codecov Report

Merging #494 into dev will decrease coverage by 27.5%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##              dev     #494       +/-   ##
===========================================
- Coverage   43.79%   16.28%   -27.51%
===========================================
  Files         309      309
  Lines       16423    15307     -1116
  Branches     5031     4665      -366
===========================================
- Hits         7192     2493     -4699
- Misses       8070    10952     +2882
- Partials     1161     1862      +701

Flag
Coverage Δ

#end_to_end_tests
?

#unit_tests
16.28% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

lib/editor/actions/editor.js
9.24% <ø> (-41.04%)
:arrow_down:

lib/manager/components/validation/TripsChart.js
0% <0%> (-80.4%)
:arrow_down:

...nager/components/validation/ServicePerModeChart.js
0% <0%> (-78.27%)
:arrow_down:

lib/common/util/map-keys.js
25% <0%> (-75%)
:arrow_down:

lib/manager/components/HomeProjectDropdown.js
0% <0%> (-72.73%)
:arrow_down:

lib/editor/util/objects.js
14.89% <0%> (-72.35%)
:arrow_down:

...b/manager/containers/ActiveFeedVersionNavigator.js
0% <0%> (-70%)
:arrow_down:

lib/editor/components/map/TextPath.js
0% <0%> (-70%)
:arrow_down:

lib/editor/components/EditorInput.js
0% <0%> (-69.63%)
:arrow_down:

lib/editor/components/timetable/HeaderCell.js
0% <0%> (-68.97%)
:arrow_down:

... and 251 more

Continue to review full report at Codecov.

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

:tada: This PR is included in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


LP-225 Update transaction with LP details

JIRA link
https://companieshouse.atlassian.net/browse/LP-225
Change description

LP service changes to receive a transaction and update it with name and links
A new Transaction service to perform updates
Unit tests for the new and changed functionality

Work checklist

[ ] Bug fix
[X] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[X] I have added unit tests for new code that I have added
[X] I have added/updated functional tests where appropriate
[X] The code follows our coding standards

An exhaustive list of peer review checks can be read here
Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

CI: Security warnings found!

CI: No security warnings found

Code smell relates to a TODO comment where we'll add further code very soon.

CI: Security warnings found!

CI: Security warnings found!


Ability to specify separators to appear without spaces on either side, other dynamic width questions

I have a lot of things in the statusline, and would like to maximize visibility of items inside when i make my terms skinny.

is there a way to change the subcomponents so that they take up 2 fewer characters by eliminating the space around the separator bar? Yes it will be slightly uglier, but I want to at least evaluate what it looks like saving this space. It does seem a bit silly that in the default config the spacing between two components is 2 spaces while the space between two subcomponents is 3 spaces!

I expect dynamic components to be expressly excluded from management by this plugin due to its design principles, but I wanted to just ask about what might be the best way to implement dynamic fields based on width, because I sort of need it for sane workflow on skinny terms. I expect that it will work well to just use window resize autocommand: autocmd VimResized * noautocmd call AdjustStatusSections(). Where that function can have inside it all the magic to decide which components to leave out, and munge g:lightline:active etc. accordingly. When I still used airline, there was something to help with this (section_truncate_width). It seems like it'd be very easy to re-create something like those thresholds used to decide when to remove sections, but how might I go about checking the extant size of the sections as they currently are rendered? It seems that I would need this in order to guarantee that certain components are always fully visible while still maximizing the use of the remaining space. Airline was a complete failure at facilitating this. Despite lightline being that much more configurable, it's unclear how i can get the data necessary to perform the optimal computation.

How about using g:lightline.component_raw? It appends the components without wrapping within %( ... %).

@itchyny How to remove the space between sub-components by config?  It's always more than two space between them.
I can make multiple sub-components to be one to avoid these spaces, but I think it isn't a long-term policy.

I'm sorry, I took a little time to read carefully and practice, It can specify the sub-components as a raw typ. component_type'


docker rm -fed containers linger

seen with scope 0.13...
docker rm -f <C>ing a containers linger in the UI for 20s. Not always - @2opremio can reproduce this quite reliably on a single machine, but I only see it when running the app on my desktop and the probe in a VM.
I've also observed this for short-lived containers started with --rm.
By contrast docker kill <C>; docker rm <C> removes the container from the UI immediately, so does docker kill <C> on its own.

There's a race calling InspectContainer() when containers are removed rmed. The inspection fails because the cotinainer doesn't exist anymore, and we simply remove the container from the probe state without notifying the UI.


Create dev requirements and upgrade jinja2

CI Requirements are installed explicitly in every workflow, this creates a single file for the same and also (upgrades jinja2, will have to check the preview to see if anything is broken). Fixes #161

Ggeat !


[MRG] Add CSV to read annotations

[x] Without orig_time
[x] With orig_time

Commenting np.loadtxt with @jorisvandenbossche and @ogrisel they suggested that if its an internal format. We might be better off using json

if its an internal format. We might be better off using json

I think the idea is that this is not just for internal use, but rather so that people can export and have something human readable/editable/re-readable.

you went the header route while I was suggesting to have onsets as timestamps. If you have onsets as ISO timestamps you can do:
annot = mne.read_annot('annot.csv')
raw.set_annotations(annot)
and raw.annotations.orig_time should be recovered without any custom hack on the csv file.

we just discussed with @massich that we will have both a .txt format
done so far here and a proper .csv with onset as ISO timestamps

based on https://github.com/mne-tools/mne-python/issues/5640#issuecomment-432927643 I thought we wanted to avoid the conversion on the onsets.
I also see the confusion of setting stuff in the header, that then MS excel would not understand.
Maybe the solution here proposed is only good for a .txt and then txt and csv are different things.
By the end, my purpose with the PR was to try np.loadtxt. And if we have to use np.loadtxt + datatime I would strongly recommend against it. Pandas handles dates properly.

agreed. I think we have a plan !

Series.dt was introduced in https://github.com/pandas-dev/pandas/commit/c2939ea2e723244dfcfb8d5ac779ec94e8e151bf So we need to update the minimum version to 0.16
This is the set of minimum version I found to work.
conda install numpy=1.9 scipy=0.14 matplotlib=1.4 pandas=0.16 scikit-learn=0.15 pytest pytest-cov

I don't get it.   Use -vv to show these durations.)
============================================================== 25 passed in 1.98 seconds ==============================================================

The CI is broken, unrelated to your changes:
$ python -c "import mne; mne.sys_info()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "mne/__init__.py", line 22, in <module>
    from .utils import (set_log_level, set_log_file, verbose, set_config,
  File "mne/utils.py", line 41, in <module>
    from scipy import linalg, sparse
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/scipy/linalg/__init__.py", line 160, in <module>
    from .basic import *
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/scipy/linalg/basic.py", line 15, in <module>
    from .lapack import get_lapack_funcs
  File "/home/travis/miniconda/envs/test/lib/python2.7/site-packages/scipy/linalg/lapack.py", line 215, in <module>
    from scipy.linalg import _flapack
ImportError: /home/travis/miniconda/envs/test/lib/python2.7/site-packages/scipy/linalg/_flapack.so: undefined symbol: _gfortran_copy_string

ok I revert the bump of deps versions

(on the old dependencies)

ALL GREEN !!! who does the honors?

@massich can you update whats_new.rst? Then we can merge

@massich you have merge conflicts to fix first + what's new

I can update whats_new.rst and rebase unless you are on in @massich
Then we can release, I think!

Actually not quite, we still need #5707

Okay rebased and push forced
@massich can you make sure it looks okay still?

I was on it. But no worries. The result is the same.

It LGTM, coverage complains that _write_annotations_csv is not covered. But I checked locally and it is.


Create campus-reunion

@gobelin3 I am sorry, campus-reunion.edu domain does not exist:
~$ host -t any campus-reunion.edu
Host campus-reunion.edu not found: 3(NXDOMAIN)
Please submit correct domain, and notice that .txt is mandatory for the filename, f.e.: lib/domains/edu/stanford.txt.


Duplicate models in app groups

Here's a configuration example:
  ('Users', {
      'models': (
          'django.contrib.auth.*',
          'mymodule.models.UserProfile',
          ),
  }),
  ('My Module', {
      'models': (
          'mymodule.*',
      ),
      'collapsible': False,
  })

The result is not as I expect, UserProfile is displayed twice!
I'd like to see every model only once: in "Users" i want to see what i defined while in "My Model" (as I use the "*") I want every module except for the ones I had already defined elsewhere.
Thanks ;)

Solved in pull request #2


ERROR: manifest for apache/druid:0.24.0 not found: manifest unknown: manifest unknown

Hi Team,
Upon cloning and running the docker containers via "docker-compose -f distribution/docker/docker-compose.yml up" . It shows up an error like the below.
"ERROR: manifest for apache/druid:0.24.0 not found: manifest unknown: manifest unknown".
Could you guys please help me on this, am trying to get started with Druid with docker image. Thanks !!!
Regards
Shabeer

You should be using the file from release tag - https://github.com/apache/druid/blob/0.23.0/distribution/docker/docker-compose.yml


Futurebuilder doesn't update after user gives permission to use location.

🐛 Bug Report

Expected behavior
I want the distance between 2 objects when the user gives permission to use it's location.
When the page is loaded and geolocator is asking for permission, the futurebuilder returns "error" and when the user gives acces, the futurebuilder doesn't update. The Futurebuilder does update when the page is refreshed but I want the futurebuilder to return the distance when the user authorizes to use it's location.

The app first asks the user for permission

The user gives permission but the Futurebuilder returns "error" even the user has allowed the acces to the location

IF the user refreshed the page, they get the distance. I want the user to get the distance instantly without refreshing the page.

Reproduction steps
The main code to run the app
import 'package:flutter/material.dart';
import 'mainlist.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      routes: {
        '/second': (context) => mainlist()
      },
      title: "testapp",
      debugShowCheckedModeBanner: false,
      home: mainlist(),
    );
  }
}`

The code where the problem happens - Futurebuilder + getCurrenPosition Future
`import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:flutter/material.dart';

import 'package:async/async.dart';
import 'package:geolocator/geolocator.dart';
import 'package:permission/permission.dart';
import 'mainlist.dart';

class mainlist extends StatefulWidget {
  @override
  _mainlistpage createState() => _mainlistpage();
}

class _mainlistpage extends State<mainlist> {

  Future<String> getCurrentPosition(DocumentSnapshot document) async{
    Position position = await Geolocator().getCurrentPosition(desiredAccuracy: LocationAccuracy.high);
    double distanceInMeters = await Geolocator().distanceBetween(position.latitude, position.longitude, document['lat'], document['lat']);
    return distanceInMeters.toString();
  }

  var sortBy = "";

  Widget homePage() {
    return StreamBuilder(
      stream: Firestore.instance.collection("Test").orderBy(sortBy).snapshots(),
      builder: (context, snapshot) {
        if (!snapshot.hasData) return Text("Loading");
        return ListView.builder(
            itemCount: snapshot.data.documents.length,
            itemBuilder: (context, index) =>
                _mainListItem(context, snapshot.data.documents[index]));
      },
    );
  }

  @override
  Widget _mainListItem(BuildContext context, DocumentSnapshot document) {
    return Scaffold(
      body: Container(
        child: Center(
          child: Column(
              children: <Widget>[
                FutureBuilder(
                    future: getCurrentPosition(document),
                    builder: (BuildContext context,AsyncSnapshot snapshot)  {
                      switch (snapshot.connectionState) {
                        case ConnectionState.none:
                          return Text('none');
                        case ConnectionState.active:
                        case ConnectionState.waiting:
                          return Text('waiting');
                        case ConnectionState.done:
                          if (snapshot.hasError)
                            return Text('Error: ${snapshot.error}');
                          return Text(snapshot.data.toString());

                      }
                      return null; // unreachable
                    }
                ),
              ]
          ),
        ),
      ),
    );
  }`

Configuration
Stackoverflow link: https://stackoverflow.com/questions/58613587/flutter-futurebuilder-keeps-returning-null-after-location-permission?noredirect=1#comment103539916_58613587
Version: 1.x
5.1.3
Platform:

[x] :iphone: iOS
[x] :robot: Android

The example project uses aFutureBuilder to acquire the location and handle permissions if necessary. You might want to have a look

I am only seeing a ListView builder here https://github.com/Baseflow/flutter-geolocator/blob/master/geolocator/example/lib/main.dart


updated directory structure to meet spm repo

Rebase: Pod directory structure updated to meet with SPM directory structure


validators.NumberRange doesn't handle NaN

Validating a DecimalField with a NumberRange validator throws a decimal.InvalidOperation exception when the value of the field is NaN. I would expect validation to fail instead
File "/usr/local/lib/python3.6/dist-packages/wtforms/form.py", line 310, in validate
  return super(Form, self).validate(extra)
File "/usr/local/lib/python3.6/dist-packages/wtforms/form.py", line 152, in validate
  if not field.validate(self, extra):
File "/usr/local/lib/python3.6/dist-packages/wtforms/fields/core.py", line 206, in validate
  stop_validation = self._run_validation_chain(form, chain)
File "/usr/local/lib/python3.6/dist-packages/wtforms/fields/core.py", line 226, in _run_validation_chain
  validator(form, self)
File "/usr/local/lib/python3.6/dist-packages/wtforms/validators.py", line 134, in __call__
  if data is None or (self.min is not None and data < self.min) or
decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>]

I could reproduce this with both master and 2.2-maintenance.
>>> import wtforms
>>> from tests.common import DummyPostData
>>> class F(wtforms.Form):
...      a = wtforms.DecimalField(validators=[wtforms.validators.NumberRange(min=0, max=1)])
>>> F(DummyPostData({"a": "NaN"})).validate()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/azmeuk/dev/wtforms/wtforms/form.py", line 310, in validate
    return super(Form, self).validate(extra)
  File "/home/azmeuk/dev/wtforms/wtforms/form.py", line 152, in validate
    if not field.validate(self, extra):
  File "/home/azmeuk/dev/wtforms/wtforms/fields/core.py", line 206, in validate
    stop_validation = self._run_validation_chain(form, chain)
  File "/home/azmeuk/dev/wtforms/wtforms/fields/core.py", line 226, in _run_validation_chain
    validator(form, self)  File "/home/azmeuk/dev/wtforms/wtforms/validators.py", line 134, in __call__    if data is None or (self.min is not None and data < self.min) or \decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>]
[<class 'decimal.InvalidOperation'>]


[Bug]: Create new project - workflow template not found!

Contact details
No response
Current behavior
Create new project and upload workflow template that has some error -> successfully creates the project, but due to backend error when creating the workflow template, the workflow template is not successfully stored in the project.
Expected behavior
Either:

Raise and display error to the user describing what is wrong, and do not create the project
Raise and display warning to user, create the project but go to edit-mode in workflow template so that the user can fix the problem(s) and resubmit the workflow template.

Steps to reproduce
example yaml file to reproduce:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: magma-
spec:
entrypoint: magma-workflow
volumes:
- name: data-volume
emptyDir: {}
templates:
- name: magma-workflow
dag:
tasks:
- name: c1
template: c1
- name: c2
template: c2
arguments:
artifacts:
- name: file
from: "{{dag.tasks.c1.outputs.artifacts.output}}"
- name: c3
template: c3
arguments:
artifacts:
- name: file
from: "{{dag.tasks.c2.outputs.artifacts.output}}"
- name: c1
  inputs:
    artifacts:
    - name: input_folder
      path: /tmp/folder
      raw:
        data: provide input folder
  outputs:
    artifacts:
    - name: output
      path: /tmp/output_file.csv
  container:
    image: magma
    command: [java, -jar]
    args: ["./app.jar -c1 {{inputs.artifacts.input_folder}}"]

- name: c2
  inputs:
    artifacts:
    - name: input_file
      path: /tmp/file
  outputs:
    artifacts:
    - name: output
      path: /tmp/output_file.csv
  container:
    image: magma
    command: [ java, -jar]
    args: ["./app.jar -c2 {{inputs.artifacts.input_file}}"]

- name: c3
  inputs:
    artifacts:
    - name: input_file
      path: /tmp/file
  outputs:
    artifacts:
    - name: output
      path: /tmp/output_file.csv
  container:
    image: magma
    command: [ java, -jar]
    args: ["./app.jar -c3 {{inputs.artifacts.input_file}}"]

Environment

SIM-PIPE version: stage
Platform/OS:
Browser:
Other:

Screenshots
No response
Logs
No response

Need to add validation step.


Feature/getters

Changes

use getset to automatically Getters to be able to access atomic data from lnk files
use CP1252 instead of UTF-8 to decode non-unicode strings

I'm going to use the updated version of this crate in https://github.com/janstarke/lnk2bodyfile. Feel free to fiddle around with this tool and discuss my changes before merging it ;-)
Thanks anyway for your great work so far :+1:

Hi,
I have lnk samples in the directory samples with different lnk types. The samples are from three different Windows versions containing different data:

Windows generated lnk for local file
Manually created lnk for local file
Windows generated lnk for remote file (in remote share)
For files in two languages English & Arabic.

I tested the samples with UTF-8 & CP1252 and they both output the correct results. Do you have the lnk file with the error encoding?
I have test cases already setup for all lnk files in the samples directory. Just drop your lnk file in the appropriate directory (WIN7, WIN10, etc) and run the test command:
cargo test -- --nocapture

and share the results for the UTF-8 & CP1252. Or just share the lnk files here and I will do the testing. I want to make sure it doesn't effect any other strings in lnk files.
Thanks!

I added two lnk files from a Windows system I can use, and the tests run fine on my system. I'm curious if this will work on yours as well...

Hi,
It worked on on both string encodings UTF-8 & CP1252. I am going to do couple more test and if it worked I am going to merge this to master

Hi,
I tested couple more lnk files for different languages and I didn't face any issues. I am going to merge this pull request to master. Please let me know if you faced any issues with the encoding.
Thank you for your contribution!

Thanks a lot. Your work enabled me to publish lnk2bodyfile :-)


Use packaging.version in _compare_version

Fixes #10197. Do we want to move the function to a different module?

We have a circular import here, the problem is that in check.py we from ..fixes import _median_complex, and in fixes.py we from .utils import _compare_version.
We could nicely resolve this if we get rid of the _median_complex fix, which has already been fixed upstream I think (https://github.com/scipy/scipy/pull/12676/). However, I think this was released in SciPy 1.7, and we currently support >= 1.4.1. I think this fix has also been backported, but I'm not sure which versions received the fix. So should we bump the minimum SciPy version, and if yes, to which version? @larsoner

Let's move _compare_version back to fixes.py -- we don't want fixes.py to import from any other mne namespace for exactly this reason. It's nice to know everything in there is always safe to use with no risk of circular import

All green!

Perfect, thanks, @cbrnr!


changed sw:es:index:populate to accept multiple shop ids

1. Why is this change necessary?
When someone doesn't want some shops to be indexed and want them to reindex in the specific order (not parallel) he doesn't have any easy option right now.
2. What does this change do, exactly?
The change allows someone to specify the shops that should be reindex via the sw:es:index:populate command.
3. Describe each step to reproduce the issue or behaviour.

bin/console sw:es:index:populate --shopId={1,2} (just rebuilds the index for shops with the id 1 and 2)

4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
6. Checklist

[ ] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-26026
Please use this issue to track the state of your pull request.

Thanks for your Contribution! :blue_he


integrate npm package in todomvc

Hi,
Is it possible to integrate this package depcheck-es6 in our example app through webpack, since I would like to check unused dependencies through automate process.
https://www.npmjs.com/package/depcheck-es6
Can you tell where I should make changes its confusing
https://github.com/rackt/redux/blob/master/examples/todomvc/webpack.config.js
They have given an API code too
API
Want to call depcheck from code? See the example:
var path = require('path');
var depcheck = require('depcheck-es6');
var options = {
withoutDev: false, // check against devDependencies
ignoreBinPackage: false, // ignore the packages with bin entry
ignoreDirs: [ // folder with these names will be ignored
'sandbox',
'dist',
'bower_components'
],
ignoreMatches: [ // ignore dependencies that matches these globs
'grunt-'
],
parsers: { // the target parsers
'.js': depcheck.parser.es6,
'*.jsx': depcheck.parser.jsx
},
detectors: [ // the target detectors
depcheck.detector.requireCallExpression,
depcheck.detector.importDeclaration
],
specials: [ // the target special parsers
depcheck.special.eslint,
depcheck.special.webpack
]
};
depcheck('/path/to/your/project', options, function(unused) {
console.log(unused.dependencies); // an array containing the unused dependencies
console.log(unused.devDependencies); // an array containing the unused devDependencies
console.log(unused.invalidFiles); // files that cannot access or parse
console.log(unused.invalidDirs); // directories that cannot access
});

This is the issue tracker of Redux.
It's not a support forum for Webpack.
Your question is specifically about Webpack, and should be asked on StackOverflow, or Webpack discussion forums.


Change message that is sent on /start

String which says that this bot is open source should be Italic and at bottom.
After ~15-20 seconds (average amount of time required to read start message) send another message that will ask user for specifying time zone.

Instead of sending another message with delay would be better to add button to the start message that writes "Specify my time zone"

Done here
But keyboard appears instantly rather than with delay.


peer to peer code review 1

i am opening this issue to have a discussion with my peers regarding kareem's code.

i believe right after body tag, instead of div, it should be header tag and then main tag. and these two tags should be direct children of body tag.
this could be a good use of semantic tags

we believe using more semantic tags would be better for seo purposes.