Update price of sign without recreating shop

Implement a command or feature that allows you to change the price on the sign without having to recreate or link the sign to the chest to re update it with the new price.

I'll think of something.
I will only allow price change though. Not the type

Yes, only price. Too much involved to change the type the player should do that themselves anyhow.
This would be a very handy feature.


quantities now convert strings to floats

Possible solution for #172, if it doesn't break anything

units.stellar_type is probably a case that should be handled differently?


Visitor can see about page

PT-link:
https://www.pivotaltracker.com/story/show/160915900
User story:
As a system owner
In order to provide more information about my service
I would like to have a About-page

Tasks

Add About-page
Add link to page in Footer

Pull Request Test Coverage Report for Build 1

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.872%

Totals

Change from base Build 78:
0.0%

Covered Lines:
296

Relevant Lines:
312

💛  - Coveralls


Claiming on behalf of others

Currently an address only can claim for itself. This leads to a single point of failure risk.
We can open up this requirement to allow any address claim for another address. This would solve the fact that one address can actually be the filler, but another address can claim on behalf of the filler.
The interesting part is how the claim stake is handled and where it is coming from. As a first step, I would suggest to keep this question completely out of the protocol and let the involved parties decide this on their own.
So what does it mean?
Anyone who is initiating the claim is responsible for paying the claim stake. This is necessary so that we protect the protocol from spams, or dragging any address into false claims.
The "claimer" in the claim struct remains to be the address which is submitted as a parameter to the claim function. The actual message sender is NOT the claimer but the (claim) initiator. However, the initiator must provide the initial claim stake. This means, it is the initiator who puts in stake and risks to lose it if it is a false claim.
Claim stake distribution
The easiest way would be, that the final claim stake distribution goes 100% back to the claimer. This means that the amount "claim stake" staked by the initiator is sent to the claimer. The claimer and the initiator have to have their own way to deal with this fact and this would be out of scope from a protocol point of view.
From my side this should be fine as a first implementation to this feature. The reason is that 1) it touches the protocol only slightly at first, 2) The parties could deal outside of this either in a trusted manner or in a form of a contract who deals with this exact relationship, 3) it opens up the possibility that the actual agent can run multiple processes to claim on behalf of the whitelisted address (initiator and claimer are different addresses but the same entity).
If at one point there is a need for this feature to become a generalized service by a third party, we could reevaluate if further contract changes are needed.
Claimer whitelist
In the latest contracts claimers are also whitelisted. This is because we wanted to reduce the pressure on the protocol due to false claims. I see three options how we can handle this.

Agents who want to use this feature will have to ask us to whitelist additional addresses on the claiming side
we need to give up the whitelist and allow anybody to claim, opening up again the risk of system overload due to many claims
We check the claimer (not the initiator) to be a whitelisted address. In this case, a system overload can still occur but the only ones who can exploit funds are agents which we do have some sort of relationship to for now (also due to the whitelisting process)

Background: Why do we have a whitelist on the claiming side?
The reason for this was the fact, that our agents currently run with limited capacity in terms of funds. Additionally, the network of "watchers" is rather small in the bootstrapping phase (agents, voluntary watchers). In this phase it is easier for an attacker to lock up all eth, which are provided for challenges, in running challenges.
Once this happens, an attacker has 24h to claim a request and if nobody tops up the funds nobody will challenge it, and the attacker will be able to exploit the protocol.
The more ETH the agents will provide the less likely this is to happen. But with the current status of the network and with limited monitoring system in place, the decision was made to strengthen the security by introducing a more controlled structure.
Acceptance criteria

[ ] @andfletcher checks with legal if we can do option 1
[ ] We create a claim on behalf of others' whitelist
[ ] Addresses on this list can claim on behave of others as long as they are on the whitelist
[ ] We can add and remove addresses from the whitelist

Additional information
This only focuses on the contract changes that would allow a claim on behalf of someone. The software that will allow doing this is a separate issue that needs to be created @andfletcher

Very nicely written. :+1:
As for the "Claimer whitelist", I'd go with option 3 for now. Once we get rid of the whitelist entirely, it too will go.
The drawback to this is that we postpone the "system overload" testing to a later time, when there's greater damage to be done due to higher volume etc.

I thought a little bit more about the discussion of the option and I'd like to correct myself. Like @istankovic I'm also leaning towards option 3. The reason herefore is that we allow an unlimited claiming but with the restriction that only whitelisted agents can become the claimer and ultimately receive the funds.
This is actually a quite convinient way of opening up the system in "some sense", but have the beneficiaries at hand so we can figure out with them if something goes wrong. I wouldn't let this opportunity go. @andfletcher please rethink and ask legal department if everything is alright. Any questions don't hesitate to ask.

@fredo @istankovic if both of you think option 3 is the best way forward then let us go for it.


Unable to build / install any package with vcpkg

Host Environment -

Windows 10, 64 bit
Visual Studio 2017
CMake 3.17.1
Windows SDK - The latest one for version 1809
Git

To reproduce
Follow the steps provided in  https://github.com/Microsoft/vcpkg   to install and integrate vcpkg in my system. Specifically I did the following on PowerShell (Admin mode)-
PS>git clone https://github.com/Microsoft/vcpkg.git
PS>cd vcpkg
PS> .\bootstrap-vcpkg.bat
PS> .\vcpkg integrate install
All this went without a hitch. However, when I try and install a library, it goes to the first build step and simply quits without any error.
Failure -
PS C:\Users<some_user>\source\repos\vcpkg> .\vcpkg.exe install sdl2 curl
Computing installation plan...
The following packages will be built and installed:
curl[core,non-http,ssl,sspi,winssl]:x86-windows
sdl2[core]:x86-windows
** zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/3: zlib:x86-windows
Building package zlib[core]:x86-windows...
PS C:\Users<some_user>\source\repos\vcpkg>
Build quits, with no error message.
I tried doing the same build with --debug and I get this consistently, with any package I try and install (such as curl in the example, or boost etc.) -
Failure Logs
[DEBUG] CreateProcessW(cmd /c ""C:\VS2017\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64_x86   2>&1 <NUL" & ec
ho cdARN4xjKueKScMy9C6H& set)
[DEBUG] cmd_execute_and_stream_data() returned 255 after  1623769 us
[DEBUG] c:\users<some_user>\source\repos\vcpkg\toolsrc\src\vcpkg\base\system.process.cpp(487)
[DEBUG] Exiting after 2050901 us (2040825 us)

Hi @AngmarLord
Thanks for posting this issue.
I noticed that there were no any downloading messages about the port on your console windows.
Could you please check your local environment?
The following info is my local:
PS F:\issueTest\vcpkg> .\vcpkg.exe install curl
Computing installation plan...
The following packages will be built and installed:
    curl[core,non-http,ssl,sspi,winssl]:x86-windows
  * zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/2: zlib:x86-windows
Building package zlib[core]:x86-windows...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
-- Extracting source F:/issueTest/vcpkg/downloads/zlib1211.tar.gz
-- Applying patch cmake_dont_build_more_than_needed.patch
-- Using source at F:/issueTest/vcpkg/buildtrees/zlib/src/1.2.11-deec42f53b
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Installing: F:/issueTest/vcpkg/packages/zlib_x86-windows/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package zlib[core]:x86-windows... done
Installing package zlib[core]:x86-windows...
Installing package zlib[core]:x86-windows... done
Elapsed time for package zlib:x86-windows: 18.74 s
Starting package 2/2: curl:x86-windows
Building package curl[core,non-http,ssl,sspi,winssl]:x86-windows...
-- Downloading https://github.com/curl/curl/archive/curl-7_68_0.tar.gz...
-- Extracting source F:/issueTest/vcpkg/downloads/curl-curl-curl-7_68_0.tar.gz
-- Applying patch 0001_cmake.patch
-- Applying patch 0002_fix_uwp.patch
-- Applying patch 0003_fix_libraries.patch
-- Applying patch 0004_nghttp2_staticlib.patch
-- Applying patch 0005_remove_imp_suffix.patch
-- Applying patch 0006_fix_tool_depends.patch
-- Applying patch 0007_disable_tool_export_curl_target.patch
-- Applying patch 0008_fix_tools_path.patch
-- Applying patch 0009_fix_openssl_config.patch
-- Applying patch 0010_fix_othertests_cmake.patch
-- Using source at F:/issueTest/vcpkg/buildtrees/curl/src/url-7_68_0-cd669cc759
-- Configuring x86-windows
-- Building x86-windows-dbg
-- Building x86-windows-rel
-- Installing: F:/issueTest/vcpkg/packages/curl_x86-windows/share/curl/curl-config
-- Installing: F:/issueTest/vcpkg/packages/curl_x86-windows/share/curl/vcpkg-cmake-wrapper.cmake
-- Installing: F:/issueTest/vcpkg/packages/curl_x86-windows/share/curl/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package curl[core,non-http,ssl,sspi,winssl]:x86-windows... done
Installing package curl[core,non-http,ssl,sspi,winssl]:x86-windows...
Installing package curl[core,non-http,ssl,sspi,winssl]:x86-windows... done
Elapsed time for package curl:x86-windows: 2.261 min

Total elapsed time: 2.576 min

The package curl:x86-windows provides CMake targets:

    find_package(CURL CONFIG REQUIRED)
    target_link_libraries(main PRIVATE CURL::libcurl)

Thank you for your reply.
Here is the full debug logs from the operation. It is the same for any library, always exits after the 255 status for vcvarsall.bat.
[DEBUG] Using vcpkg-root: C:\Users\<some_user>\source\repos\vcpkg
Computing installation plan...
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe" --version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after    98196 us
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe"  -P "C:/Users/320055060/source/repos/vcpkg/buildtrees/0.vcpkg_dep_info.cmake")
[DEBUG] cmd_execute_and_stream_data() returned 0 after    50459 us
[DEBUG] CreateProcessW("C:\Program Files\CMake\bin\cmake.exe"  -P "C:/Users/320055060/source/repos/vcpkg/buildtrees/0.vcpkg_tags.cmake")
[DEBUG] cmd_execute_and_stream_data() returned 0 after    59842 us
The following packages will be built and installed:
    curl[core,non-http,ssl,sspi,winssl]:x86-windows
    sdl2[core]:x86-windows
  * zlib[core]:x86-windows
Additional packages (*) will be modified to complete this operation.

[DEBUG] CreateProcessW("C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -all -prerelease -legacy -
products * -format xml)
[DEBUG] cmd_execute_and_stream_data() returned 0 after    60810 us
[DEBUG] Found path: C:\Program Files\Git\cmd\git.exe
[DEBUG] CreateProcessW("C:\Users\320055060\source\repos\vcpkg\downloads\tools\git-2.25.1-1-windows\mingw32\bin\git.exe"
--version)
[DEBUG] cmd_execute_and_stream_data() returned 0 after    52117 us
[DEBUG] CreateProcessW(cmd /c ""C:\VS2017\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64_x86   2>&1 <NUL" & ec
ho cdARN4xjKueKScMy9C6H& set)
[DEBUG] cmd_execute_and_stream_data() returned 255 after  1623769 us
[DEBUG] c:\users\320055060\source\repos\vcpkg\toolsrc\src\vcpkg\base\system.process.cpp(487)
[DEBUG] Exiting after 2050901 us (2040825 us)

& ec
ho cdARN4xjKueKScMy9C6H& set)
lang pack eng in msvc installed?

@Voskrese
My OS language is English (EN-US). There are no other language packs installed. Visual Studio default language was chosen during installation. It shows English as the only option in language settings (apart from "Same as Windows" which is anyway Eng-US).
Are you referring to these settings, or is there something specific which I ought to have installed, please?

c:\users\<some_user>\ ? real name?

@Voskrese No, there is an actual user name, in English, without any special characters.

Describe your computer configuration

[DEBUG] cmd_execute_and_stream_data() returned 0 after    52117 us
[DEBUG] CreateProcessW(cmd /c ""C:\VS2017\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64_x86   2>&1 <NUL" & ec
ho cdARN4xjKueKScMy9C6H& set)
[DEBUG] cmd_execute_and_stream_data() returned 255 after  1623769 us

52117 -->> 1623769 us \wait_and_close_handles\

I'm sorry, I didn't quite get it.
By my computer configuration do you mean hardware? If so,

CPU - Intel Core i5 6300U
RAM - 8 GB
SSD drive in one partition

The last step failure, is identified almost immediately, maybe a delay of a few ms.
In CMD, I should call this whole command?
call "C:\VS2017\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64_x86

open CMD.exe
set VSCMD_DEBUG=2
 call "C:\VS2017\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.1 amd64_x86

(A bit off-topic, sorry)
BTW, I'm very curious about this English Pack requirement. It's awkward. What exactly fails in non-english VS? Program names (cmake, cl, msbuild, link...), parameters, etc. are not language dependent, AFAIK. Will this requirement be lifted some day?

I have the same problem.

Same problem

Hi all,
Sorry for the late reply.
@AngmarLord , @christopherwoo , @rvdweerd
Could you please help confirm if you have installed any antivirus softwares?
@aslze , English pack is required in Visual Studio, please see here. If there is no English pack, it will post the message like this:
Please install the English language pack.

I've got Norton360.
In my case, package installation aborts with:
[DEBUG] CreateProcessW(cmd /c ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.2 amd64_x86   2>&1 <NUL" & echo cdARN4xjKueKScMy9C6H& set)
[DEBUG] cmd_execute_and_stream_data() returned 1 after  1816338 us
[DEBUG] C:\vcpkg\toolsrc\src\vcpkg\base\system.process.cpp(567)
May it have something to do with incorrect paths? Or wrong default triplet (although SET confirms I'm on a x86/AMD64?)
If I open developer Command Prompt for VS2019, it gives my 5 warnings "System cannot find specified path" (not sure if that's relevant at all)

@rvdweerd
Sorry for the long delay.
Could you please disable Norton360 and try to build again? Since Antivirus software will affect the usage of vcpkg.

Hi,
I have the same problem.
I don't have any antivirus and system is in english. This is the error that I get:
[DEBUG] CreateProcessW(cmd /c ""C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" -vcvars_ver=14.2 amd64   2>&1 <NUL" & echo cdARN4xjKueKScMy9C6H& set)
[DEBUG] cmd_execute_and_stream_data() returned 1 after  1177181 us
[DEBUG] C:\dev\vcpkg\toolsrc\src\vcpkg\base\system.process.cpp(569)
[DEBUG] Exiting after 1320549 us (1310268 us)

Hello, I've just created new issue #13890 but I guess my error is same as everyone in this thread : /

From my side, I solved the issue:
I had to clear the HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun registry entry which was trying to launch an old Anaconda batch file...

@JChatillon
Your advice also worked for me but I had to clear AutoRun from HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE and I guess everyone in this issue have got the same problem as us.

@R-Maggio
Please help confirm if this is still a problem for you after trying the above advice.

@JChatillon, @NancyLi1013
Thanks, it also worked for me.


[M1] Update README.md to include where the package fit into the Python ecosystem

Done.! (along with #22 )  Pull request needs to be reviewed


[SPARK-35048][INFRA] Only trigger the notify test workflow in upstream

What changes were proposed in this pull request?
Only trigger the notify test workflow in upstream
Why are the changes needed?
We should only trigger the notify test workflow in upstream apache/spark job, otherwise we will trigger the same workflow twice in fork repos.
Does this PR introduce any user-facing change?
No
How was this patch tested?
See local test in https://github.com/Yikun/spark/pull/13,
The notify test is skiped in fork repo.
https://github.com/Yikun/spark/pull/13/checks?check_run_id=2345776215
Note that current notify_test_workflow with pull_request_target event doesn't use something like action/checkout to checkout code. So this skip will only effect when this patch is merged, I just use change the pull_request_target the pull request to do local test.

Test build #137368 has started for PR 32174 at commit 6fde92d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41946/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41946/

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

Test build #137368 has finished for PR 32174 at commit 6fde92d.

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

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

Ohh actually this will disable a case when another person creates a PR against somebody's fork e.g.) https://github.com/HyukjinKwon/spark/pull/35. It happens time to time when you work together. Let's just drop it for now.

Yep


Fix a typo in HandleRunningPods. And play against cyclomatic complexity

 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.


Able to delete announcement category

Checklist:

[X] I have updated the necessary documentation
[X] I have signed off all my commits as required by DCO
[X] My build is green

Signed-off-by: elavsai<EMAIL_ADDRESS>

Hey kurtaking,
This is another PR, we wanted to propose as an improvement feature. Request your review / feedback here based on your availability and let me know if any comments :)

Hey kurtaking,
Just a gentle reminder :)
Please let me know if you have any feedback/concerns based on your availability on this PR.
Thanks

@lavanya-sainik-ericsson, this has side effects on announcements associated with the category.
When deleted, the announcement looks fine in the UI, but the record for it in the database never gets updated. I get errors when attempting to assign the existing announcement to a new category.

Hey kurtaking,
Thanks for sharing your comments :) Have pushed the patch with updated changes.
Please let us know if you have any comments/concerns on these changes based on your availability :)
Thanks

Hey kurtaking,
Thanks a lot for reviewing and merging this PR :)


Can lassonet works in transformer or S4(Structured State Spaces)?

i hope to use lassonet in S4, is it okay to do that?

Are you talking about Structured State Space for Sequence Modeling? I don't know very well the details nor how you want to apply LassoNet.
Do you have a concrete example in mind?

yeah, it is S4 for Structured State Space for Sequence Modeling. I just want to do some time series prediction work in the industry. I see u use the NN or CNN or AE as the backbone, so I wonder whether s4 can be utilized as the backbone.

CNN as backbone is very experimental. The goal of LassoNet is to select variables in a meaningful space (eg features).

Hi @louisabraham, I'm a PhD student working on a project where we're hoping to use an extension of LassoNet for convolutional layers. The readme mentions that adding support for convolutional layers is in the works -- do you have any updates on this, or ideas for how the implementation would be done?

Hi, I should update the readme, we are not working on this anymore.
The difficulty is that you want to select features that are interpretable!


datastore: simple recompaction when dumping tables

DataStore::to_data_tables should accept a size threshold and merge buckets together based on that threshold when dumping tables.

Dupe of #1894 (I knew I already had it somewhere..!)


Upgrade to Polymer 2.0

As soon as it's mainline

Fixed in v1

Hi @seaneking, is Polymer 3 supported?

Nope, but would happily take a PR!


added 0 step accelerometer logs for driving and sat at a desk, at zero steps - can be trusted

at zero steps should be considered controlled logs

thanks!


Add side sheet modal type

Currently we are returning bottom sheet or dialog:
enum WoltModalType {
  bottomSheet,
  dialog;
}

It is possible to add side sheet option: https://m3.material.io/components/side-sheets/overview

@ulusoyca Hello there. Is this planned?

@ulusoyca Hello there. Is this planned?

Yes, next release 4th July will support side sheet. Here is the WIP branch. Currently waiting the design specs for the side sheet from the designer team.

Fixed in https://github.com/woltapp/wolt_modal_sheet/pull/241


Scan form and results

Issue to track the work for the scanner part.
Depends on #4 to have something to render in the live site.

depends on #74


feat: Add option to init with a pyproject.toml

Fixes #1177

Slightly related question: the import command initialise the prefix. This is currently the only branch that does this.
To be consistent, should we do it here as well (to install python)? Personally, I find it strange, and would rather pull out the prefix initialisation from the import branch

Yes! I ❤ this thank you! With regards to your question I would keep this as you have now.


IMPROVE design of addon-events

Issue: -addon-events-looked-pretty -rough-
What I did
I improved it by a margin

How to test
view cra-storybook

📢


TD-84 TD-85 TD-87 Search Bar, Searching, and Watchlist

I added a search bar at the top of the page. Right now it only works with stock symbols and not company names.
I added the add to watch list toggle button at the top of the detail page. It will add and remove the stocks to and from the users watchlist. Its current position isn't permanent. I was trying to place it in a location to avoid conflicts with your code. If you want to add stocks to the db, using this button is the easies way.

I implemented you suggestions and I also added a notification message when stock are added/removed from the watchlist.


[BUG] codeunit 1303 "Correct Posted Sales Invoice", function TestIfInvoiceIsPaid

🕮 Describe the issue
Cancelling an Open (not partially or fully paid) Posted Sales Invoice in AU Localization with WHT Posting Setup "WHT Realized Type" set to "Invoice" always fails.
🔧 To Reproduce
Steps to reproduce the behavior:

Use AU Localization, with one or more item uses WHT Posting Setup (from combination of WHT Bus. Group and WHT Prod. Group) where "WHT Realized Type" set to "Invoice" and "WHT %" is >0
Create a Sales Order/Sales Invoice with lines from step no. 1, then post Ship + Invoice
Open the Posted Sales Invoice created from step no. 2
Click the Cancel button from Correct menu on Posted Sales Invoice

Error will always appears even though Posted Sales Invoice has never been settled/paid partially nor fully

📣 Expected behaviour
When the Posted Sales Invoice has not yet been neither partially nor fully paid, the Cancel button will successfully create the Sales Credit Memo and then Post it automatically.
Additional context
The issue originated from function TestIfInvoiceIsPaid in codeunit 1303 "Correct Posted Sales Invoice"
It uses this code snippet:
SalesInvoiceHeader.CalcFields("Amount Including VAT");
SalesInvoiceHeader.CalcFields("Remaining Amount");
  if SalesInvoiceHeader."Amount Including VAT" <> SalesInvoiceHeader."Remaining Amount" then
      ErrorHelperHeader("Correct Sales Inv. Error Type"::IsPaid, SalesInvoiceHeader);

which it always yields difference when WHT is posted on invoice.
Suggested code is using amount and "remaining amount" from customer ledger entry instead:
  custLedgEntry.Reset();
  custLedgEntry.SetCurrentKey("Entry No.", "Document Type", "Document No.");
  custLedgEntry.SetRange("Document Type", custLedgEntry."Document Type"::Invoice);
  custLedgEntry.SetRange("Document No.", SalesInvoiceHeader."No.");
  if not custLedgEntry.FindFirst() then
      Error(ErrorCannotFindCustLedger, SalesInvoiceHeader."No.");

  custLedgEntry.CalcFields(Amount, "Remaining Amount");
  if custLedgEntry.Amount <> custLedgEntry."Remaining Amount" then
    Error(PostedInvoiceIsPaidCancelErr);

Which always calculate the correct difference if there's any partial or full payment on the invoice.

We are not fixing bugs, but delivering extensibility related requests. It can be fixed if you move this request to support ticket.


minio-client: 2020-10-03T02-54-56Z -> 2020-11-17T00-39-14Z

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/minio/mc/releases.
meta.description for minio-client is: "A replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage"
meta.homepage for minio-client is: "https://github.com/minio/mc"
meta.changelog for minio-client is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2020-11-17T00-39-14Z with grep in /nix/store/v1196fci8yia3cvhavialxc27d12vxix-minio-client-2020-11-17T00-39-14Z

directory tree listing: https://gist.github.com/803f1101eba6947b197e7e2df63aaea7

du listing: https://gist.github.com/d57d64d67a15319cf243dbe62725b0c8

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
minio-client

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/v1196fci8yia3cvhavialxc27d12vxix-minio-client-2020-11-17T00-39-14Z \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A minio-client https://github.com/r-ryantm/nixpkgs/archive/3b608f6ebb7afeb14c4c32cf49b7edfba1e922d4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/v1196fci8yia3cvhavialxc27d12vxix-minio-client-2020-11-17T00-39-14Z
ls -la /nix/store/v1196fci8yia3cvhavialxc27d12vxix-minio-client-2020-11-17T00-39-14Z/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

minio-client

Maintainer pings
cc @edolstra @bachp @kalbasit for testing.

Tested mc, looks good to me.


Moved FanAOAnRotorTorque.netkan

I followed the output and moved netkan file in to netkan folder

Duplicate of #7682, except with worse tags


Splunk Integration Document

Here is a document that describes how to integrate CORTX with Splunk.
The main file is in splunk.md with corresponding images in a sub-folder splunk
I've also created a folder integrations where we can list the integrations there.

Looks like I have to update my DCO since DCO failed.

Looks like I have to update my DCO since DCO failed.

DCO is passed now

Thanks @gregnsk  I made the suggested changes.


Fixed issue when passing NewCapacity to ResidualCapacity in next step…

…s in the case that current steps has options and next step doesn't have new option. Fixes #55

@trevorb1 would you like to have a look?

To me the results comparison look good now. But of course might be that I'm missing something.


[Feature Request] A way to diagnose freezes

Similiar to timecop, I'd like something to diagnose and log the random freezes and lag problems that have been happening to me and a few friends on a random basis. If there is already something like that in place, please excuse and close me :)

There is nothing like that currently. It would be awesome to have. Not sure if it could be done in the application code. Maybe the browser process can watch the renderer processes for hangs?

For diagnosing performance problems, check out these docs.

@izuzak the problem with that is that you have to have something reproduceable to get anything out of CPU profiling. You could probably run with it enabled all the time but that's not really a solution. Most of the current hangs/freezes are totally random, that's why I suggested something like a watcher/cop feature that actively watches for hangs and records what happens at that moment.

@Stanzilla Thanks for clarifying -- I was pointing out something you can use if the random lag is happening when you perform certain actions (e.g. they happen randomly when you scroll  or type, or happen every 5 minutes). If that's the case, you might try to force the problem by executing that action several time and take a snapshot. If they happen totally randomly and you noticed no patterns whatsoever, then the chances are lower that you'll be able to trigger the behavior while you're taking a snapshot.

We are experiencing Atom hanging as well. Being able to get a JS stack on a hung Atom process would be extremely valuable.

Still valid


TODO:  Add a form fill component

Create a component that manages an interactive form to be filled.
Form data should be pushed to our persistence implementation data lake.
An indication if that form has been filled already, should be part of the Superprofile.
Make sure multiple instances on a page is easily handled.

Hello @Sing-Li
I am interested in working on this issue; however, I have some questions regarding this issue; if it is ok with you, can we discuss this in more detail in the #general channel? Please let me know then I will ping you.
Thank you!

@Dnouv   please feel free to post right here or ping us at this channel  https://open.rocket.chat/channel/form-fill-component-details    Thanks.

Completed in RC4Conferences.


Rename JobQueueCluster cluster attribute to local_cluster

This avoids things like client.cluster.cluster to access the LocalCluster object (yes .cluster appears twice, not a typo) which is a bit confusing.
I used the same attribute name as in dask-drmaa here.
I reckon this is a bit of an implementation detail and is unlikely to affect anyone but I may be wrong about this so do share you concerns if you have some!

Fine with me

Merging this one, since there seems to be consensus.


Adds an optional subtitle

Can't use subtitle on it's own (though not sure why you'd want to).

@yanofsky @nsonnad i know you guys are trying to wrangle contributions. let me know if i didn't do it right.


Update 6.eco-tool-version.md

 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.


How to train on a custom dataset

I need some information on training on my custom dataset with 2 labels - for human and background. Thanks

Hi,
I think maybe you can just use Deeplab to do it. You can refer to the Deeplab which may be good enough on your custom dataset.

Thanks, I just need to know how can I include watches and belts as its classifying it as background.
Does this segment human before classifying it further to other classes?

Hi，

You need to train/fine-tune the model with the label of watches and belts.
Our model does not segment human. You can use Deeplab or add a branch to segment human. It is also needed to train/fine-tune the model. Maybe you can try to use the results of the person-part segment to segment human.

Ok, I found one dataset for my needs
MHP v2
So i have formatted the data like CIHP

it has 59 classes so would it be a problem if I train it on transfer learning and how to correctly load it
I am getting 1 channel error but my images are 3 channel rgb
ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 256, 1, 1])
Thanks

Hi,

For quickly train on it, you can change the `n_classes' to 59 in the here.
Can you give me more information about the ValueError? Thanks.


I get error in MMM - google Assistance

@MichMich
Hope all are doing well i get this error can any one help me i as facing this issues from last 4 days i try clear it but i dont know and am fresher to this concept please resolve this
when am run the mmm google assistance i get this error
after complet all steps when am give this cmd
cd ~/MagicMirror/modules/MMM-GoogleAssistant
node auth_and_test.js

internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module ‘@bugsounet/google-assistant’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/auth_and_test.js:7:25)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
@MichMich @bugsounet  please help me guys

Hi, this issue is not related to MagicMirror but on my GA module
Please open an issue in @bugsounet modules forum there or in MagicMirror Forum
Note: i don't help in MagicMirror Forum. Only on my forum
@bugsounet

It showing some error i already post in that this is the url of that please check and give the solution

@bugsounet

Note: i don't help in MagicMirror Forum. Only on my forum
@bugsounet

how can i open the issues in your @bugsounet forum can you send open issues to link please if you don't mine

As stated this is not a core issue. Closing.


Add some tags for GitHub search

Please, add some tags and topics for GitHub search to make this project available on GitHub search.
Some keywords like DDEV, gitpod, Drupal etc would really help it.
Thank you for the video also!

Thank you for the great suggestion!
I added some tags, and added the video demo in the Readme.
Please let me know what else can we improve.

Feel free to open this issue if you have additional ideas.


Consider preallocating slice

I noticed when looking for performance optimisation that you could preallocate some slices for better performance.
xlsx/internal/hash/reserved.go:14:2: Consider preallocating result (prealloc)
var result []string
xlsx/internal/ml/primitives/bounds_list.go:12:2: Consider preallocating list (prealloc)
var list []Bounds
^
xlsx/internal/ml/primitives/bounds_list.go:28:2: Consider preallocating refs (prealloc)
var refs []string
Read more here:
https://github.com/alexkohler/prealloc

Hi, will check. Bounds is using heavily, so can impact. Thanks

will be in next update


Add tests for relative symlinks

Tests for https://github.com/rakudo/rakudo/pull/3980

If I run this branch on my system, I get:
$ raku --ll-exception t/spec/S32-io/io-path-symlink.t
1..22
ok 1 - can create dangling symlinks
Type check failed in binding to parameter '<anon>'; expected IO::Path but got Str ("perl6_roast_io_path...)
   at SETTING::src/core.c/Exception.pm6:62  (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:throw)
 from SETTING::src/core.c/Exception.pm6:2939  (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:)
 from gen/moar/BOOTSTRAP/v6c.nqp:330  (/Users/liz/Github/rakudo.moar/install/share/perl6/lib/Perl6/BOOTSTRAP/v6c.moarvm:)
 from gen/moar/BOOTSTRAP/v6c.nqp:3930  (/Users/liz/Github/rakudo.moar/install/share/perl6/lib/Perl6/BOOTSTRAP/v6c.moarvm:)
 from SETTING::src/core.c/IO/Path.pm6:499  (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:symlink)
 from t/spec/S32-io/io-path-symlink.t:24  (<ephemeral file>:)
 from t/spec/S32-io/io-path-symlink.t:17  (<ephemeral file>:<unit>)
 from t/spec/S32-io/io-path-symlink.t:1  (<ephemeral file>:<unit-outer>)

Looks good now, ready to merge?


packageserver can't connect to operatorhubio-catalog while grpc_cli can

Hi,
After installing OLM (either with operator-sdk or install.sh), packageserver returns connect: connection refused while connecting to operatorhubio-catalog while I don't see any issue using a grpc_cli debugging container.
This is a very simple singlenode install of kubernetes with all pods patched on a same bridge.
$ kubectl version
Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.0

The clusterserviceversions stays in Installing phase.
$ kubectl get csv packageserver -n olm
NAME            DISPLAY          VERSION   REPLACES   PHASE
packageserver   Package Server   0.26.0               Installing

$ k get apiservices v1.packages.operators.coreos.com -o yaml
[...]
  conditions:
  - lastTransitionTime: "2023-12-19T22:40:59Z"
    message: 'failing or missing response from https://<IP_ADDRESS>:5443/apis/packages.operators.coreos.com/v1:
      bad status from https://<IP_ADDRESS>:5443/apis/packages.operators.coreos.com/v1:
      403'
    reason: FailedDiscoveryCheck
    status: "False"
    type: Available

From a grpci_cli debuging container I can reach and list services of the operatorhubio-catalog.olm.svc endpoint.
$ kubectl run -it --rm --restart=Never --image=webplates/grpc-cli:latest grpccli ls operatorhubio-catalog.olm.svc.cluster.local:50051 api.Registry
ListPackages
GetPackage
GetBundle
GetBundleForChannel
GetChannelEntriesThatReplace
GetBundleThatReplaces
GetChannelEntriesThatProvide
GetLatestChannelEntriesThatProvide
GetDefaultBundleThatProvides
ListBundles

Within the operatorhubio-catalog pod the served configs seems ok.
<<K9s-Shell>> Pod: olm/operatorhubio-catalog-r52b7 | Container: registry-server
/ $ ps
PID   USER     TIME  COMMAND
    1 1001      0:35 /bin/opm serve /configs --cache-dir=/tmp/cache
 1922 1001      0:00 sh
 1942 1001      0:00 ps

/ $ grpc_health_probe -addr <IP_ADDRESS>:50051
status: SERVING

/ $ /bin/opm validate /configs
/ $ /bin/opm version
Version: version.Version{OpmVersion:"v1.33.0", GitCommit:"5e23ef59", BuildDate:"2023-11-28T15:00:47Z", GoOs:"linux", GoArch:"amd64"}
/ $

All containers appears as running and livenessprobes seems to have been satisfied.
$ k get all -n olm
Warning: kubevirt.io/v1 VirtualMachineInstancePresets is now deprecated and will be removed in v2.
NAME                                                                  READY   STATUS      RESTARTS      AGE
pod/0b9f8e8106e6bc92a5b3edb6791ceaab0e8a22f5493895798082899af768bmj   0/1     Completed   0             12h
pod/9b9d47c94b554c8bd984f185a7385db635c1dbd74e304e2f4d34960f8bdvm5j   0/1     Completed   0             12h
pod/catalog-operator-7676fc5cc8-jr6th                                 1/1     Running     0             13h
pod/olm-operator-7c897bd449-jgnlk                                     1/1     Running     0             13h
pod/operatorhubio-catalog-r52b7                                       1/1     Running     0             13h
pod/packageserver-5966d674f8-fmjsn                                    1/1     Running     0             13h
pod/packageserver-5966d674f8-hwpxn                                    1/1     Running     0             13h

NAME                            TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)     AGE
service/operatorhubio-catalog   ClusterIP   <IP_ADDRESS>   <none>        50051/TCP   13h
service/packageserver-service   ClusterIP   <IP_ADDRESS>   <none>        5443/TCP    51s

NAME                               READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/catalog-operator   1/1     1            1           13h
deployment.apps/olm-operator       1/1     1            1           13h
deployment.apps/packageserver      2/2     2            2           13h

NAME                                          DESIRED   CURRENT   READY   AGE
replicaset.apps/catalog-operator-7676fc5cc8   1         1         1       13h
replicaset.apps/olm-operator-7c897bd449       1         1         1       13h
replicaset.apps/packageserver-5966d674f8      2         2         2       13h

NAME                                                                        COMPLETIONS   DURATION   AGE
job.batch/0b9f8e8106e6bc92a5b3edb6791ceaab0e8a22f5493895798082899af72da17   1/1           9s         12h
job.batch/9b9d47c94b554c8bd984f185a7385db635c1dbd74e304e2f4d34960f8bdc287   1/1           7s         12h

But a log from a packageserver pod returns:
time="2023-12-20T11:26:48Z" level=warning msg="error getting bundle stream" action="refresh cache" err="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp <IP_ADDRESS>:50051: connect: connection refused\"" source="{operatorhubio-catalog olm}"
W1220 11:26:49.978844       1 clientconn.go:1331] [core] grpc: addrConn.createTransport failed to connect to {operatorhubio-catalog.olm.svc:50051 operatorhubio-catalog.olm.svc:50051 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:50051: connect: connection refused". Reconnecting...

I included what felt relevant from the olm-operator operatorhubio-catalog and packageserver logs.
catalog-operator.log
operatorhubio-catalog.log
packageserver.log
olm-operator.log

update:
The connection refused logs from the packageserver pod are only happening during the instantiation of opm and package-server can connect correctly using grpc afterward.
Actual issue appears to concern the packageserver endpoint authentication as healthz livez and readyz endpoints all returns 200 ok but the apis/packages.operators.coreos.com/v1 endpoint returns 403 Forbidden.
message: 'failing or missing response from https://<IP_ADDRESS>:5443/apis/packages.operators.coreos.com/v1:
  bad status from https://<IP_ADDRESS>:5443/apis/packages.operators.coreos.com/v1:
      403'

If I run another package-server with --authorization-always-allow-paths /apis/packages.operators.coreos.com/v1 the endpoint is returning the expect result.
/bin/package-server -v=4 --secure-port 5444 --global-namespace olm --debug --authorization-always-allow-paths /apis/packages.operators.coreos.com/v1

dnstools# curl -k https://<IP_ADDRESS>:5444/apis/packages.operators.coreos.com/v1
{
  "kind": "APIResourceList",
  "apiVersion": "v1",
  "groupVersion": "packages.operators.coreos.com/v1",
  "resources": [
    {
      "name": "packagemanifests",
      "singularName": "packagemanifest",
      "namespaced": true,
      "kind": "PackageManifest",
      "verbs": [
        "get",
        "list"
      ]
    },
    {
      "name": "packagemanifests/icon",
      "singularName": "",
      "namespaced": true,
      "kind": "PackageManifest",
      "verbs": [
        "get"
      ]
    }
  ]

https://github.com/openshift/library-go/blob/7a65fdb398e28782ee1650959a5e0419121e97ae/pkg/config/serving/server.go#L63
refers to system:masters which matches the certificate I use to create OLM ressources.
What component/configuration may I be missing in my kubernetes deployment ?


Auto-update app music list after "Update Audio Library"?

So I've set up this app with a raspberry pi media center for my dear father, and he likes it very much, save for some frustrations. One is: we can add new music with Filezilla over the network, and then we have to update the music library (through Kore, library maintenance -> update audio library), but then we have to pull-down to refresh the music search results for the app to see the library's new music in Kore.
Since the app initiated the library refresh, could it automatically update it's local cache of music afterwards to see new results faster? That whole refresh process doesn't seem intuitive to someone who doesn't understand how caches work, and this might ease some frustrations.
Any thoughts?

I agree with this one, it's very frustrating to routinely have to refresh the content on my Kore apps, when I dump new music or video on the Kodi.

Also, this is needed to be able to achieve a fully automated system such as:
dump music to hard drive --> autotag and move to the right location (using something like beets --> update Kodi audio db (with a hook) --> update Kore audio db

Makes sense, but implementing it would have some limitations. Basically, Kore must know when the library update on Kodi ends, and that is only transmitted to Kore if the connection is through TCP.
Anyway, i agree with this and it isn't hard, but be warned that it will only work in connections made through TCP.

Makes sense. I don't know the Kodi HTTP interface, though its documented here I believe, but it would be nice if there was an endpoint to get the timestamp the library was last updated for Kore to check when trying to use the cached library (e.g., app startup on the music library page, switching to the music library). The video library is a very similar case too.
Oh, and other Kore remotes would still have to manually refresh if a different Kore app did the library refresh, so that's another good case for it.

I agree that it's a problem, a normal user doesn't thinks that there are 2 different ways of refreshing data, one for the client & one for the server.
If it's not possible now, at least launch a toast message after the update audio library is sent, saying:
Remember to refresh your local library with a pull-down a the end!
The message could be put also on searches that don't find results:
Didn't found what you expect? Try refreshing audio library and then pull down to refresh local data


Expose household size as a cmdline parameter

Done now both in FACS and FabCovid19. May be worth checking before using it?
https://github.com/djgroen/facs/commit/b7ef972e02096aa22d8d445e4a017516bee14a53


Where is the generateAnswer() method?

I am able to use generateContent() for text completions without problem.  However, I can't seem to find the generateAnswer() method for use with the Attributed Question-Answer generative AI model (i.e. = models\aqa).  In fact, the Tasks enum doesn't even have an value for that:
export enum Task {
  GENERATE_CONTENT = "generateContent",
  STREAM_GENERATE_CONTENT = "streamGenerateContent",
  COUNT_TOKENS = "countTokens",
  EMBED_CONTENT = "embedContent",
  BATCH_EMBED_CONTENTS = "batchEmbedContents",
}

Can someone tell me where it is?  Note, this is not a priority because I already added my own code to do this with the REST API, but at some point I would like to put everything through the generate-ai-js package instead of just the generateContent requests.

At the moment, the SDK is only set up to work with Gemini models (except embedContent and batchEmbedContents which are not available in Gemini right now). I believe Gemini is eventually planning to add functionality equivalent to generateAnswer but the interface will probably be different. In light of that, we can tag this as a feature request and leave it open.


Fix example forward video

Hi!
These two examples didn't work for me using v4l2loopback. I figured out that this would work after looking at your stream_forward_mmap.rs example.
The error message I would get is:
thread 'main' panicked at 'Failed to set format of output device: Os { code: 16, kind: Other, message: "Device or resource busy" }', examples/forward_frame.rs:60:10

Incidentally, when I try the example from stream_forward_mmap it appears to work correctly, but if I try and play it with ffplay I'm not able to see anything.
I realise this example is quite new, should it be working?
(if it helps, the output I get after running stream_forward from running ffplay /dev/video2:
ffplay /dev/video2
ffplay version n4.3.1 Copyright (c) 2003-2020 the FFmpeg developers
  built with gcc 10.2.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-shared --enable-version3
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
    nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0

and then hanging)

Hi, can you check out the next branch? I think I ran into a similar issue on Fedora 33, but it was actually the buggy v4l2loopback module to blame.
The "fix" or workaround I found is here:
https://github.com/raymanfx/libv4l-rs/blob/next/examples/stream_forward_mmap.rs#L90.

Sorry, I got confused for a sec here. The master branch already has the "fix", but not for the two examples you fixed here.
I'll have a look at this soon - but I can say that the current code was tested on Fedora 33 with the latest v4l2loopback master branch and works fine, even using ffplay.

Hey, yeah, I just copied the fix from that example to here.
It'd be good to understand what's not working about the stream_forward_mmap file for me. I'll update if I dig in further and figure it out, but as I have something working now, I'm not sure if I will.
Thanks for the repo and everything, and merry christmas!

Ok, I got curious. 67ace347ce77718702c45557fce4846bdd9141d2 has a working (for me) stream implementation. 8586075 doesn't work for me.

That's most curious indeed.
It would certainly help if you could find out what exactly breaks it for you. As I said, I will have a look at this myself, but that might take some more days.
Anyways, thanks for putting in the effort!

I consider these examples deprecated and will remove them. The stream_* examples should cover the same usecases.

Can you open an issue about the non-working v4l2loopback & ffplay setup? Please describe what you've tried so far, which versions you used etc etc. Thanks!

I just ran some tests on Fedora 33 and was able to reproduce your issue.
Could you please check out this fix: https://github.com/raymanfx/libv4l-rs/commit/73fe21769c3c5c5b0950f0f6614cdda2aa255cc0?
My v4l2loopback + ffplay setup works again for webcam forwarding using that patch.


Add project instructions and solution for Command line stock checker

Check out the Conversion calculator for a rough guide as to what level of information would be appropriate.

I'll take this one


the processAcknowledgement may process CompletionMessage first for blocking incovation even the message is sent ahead of ResultMessage

Environment details:

local deployment
latest master c045b420f71b170f8a0c8e416d8cb19ea2c8e571

Steps to reproduce the issue:

create a simple action

function main(){
  return {"payload": "hello world"};
}

invoke actions

for i in `seq 1 10000`; do wsk -i action invoke hello -r; sleep 1s; done

Provide the expected results and outputs:
I think the expected result is not to fetch activation from database if ResultMessage contains that data:
[2018-11-26T09:31:51.910Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] POST /api/v1/namespaces/whisk.system/actions/hello blocking=true&result=true
[2018-11-26T09:31:51.911Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [BasicAuthenticationDirective] authenticate: 789c46b1-71f6-4ed5-8c54-816aa4f8c502
[2018-11-26T09:31:51.912Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [Identity] [GET] serving from cache: CacheKey(789c46b1-71f6-4ed5-8c54-816aa4f8c502) [marker:database_cacheHit_count:2]
[2018-11-26T09:31:51.915Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [WhiskActionMetaData] [GET] serving from cache: CacheKey(whisk.system/hello) [marker:database_cacheHit_count:6]
[2018-11-26T09:31:51.915Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ActionsApi]  [marker:controller_blockingActivation_start:6]
[2018-11-26T09:31:51.915Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ActionsApi] action activation id: d208f976626f429388f976626fb2937a [marker:controller_loadbalancer_start:6]
[2018-11-26T09:31:51.916Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ShardingContainerPoolBalancer] posting to 'invoker0/0' with activation id 'd208f976626f429388f976626fb2937a' [marker:controller_kafka_start:7]
[2018-11-26T09:31:51.918Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ShardingContainerPoolBalancer] posted to invoker0[0][22] [marker:controller_kafka_finish:9:2]
[2018-11-26T09:31:51.918Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ActionsApi]  [marker:controller_loadbalancer_finish:9:3]
[2018-11-26T09:31:51.946Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ShardingContainerPoolBalancer] received result ack for 'd208f976626f429388f976626fb2937a'
[2018-11-26T09:31:51.948Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ActionsApi]  [marker:controller_blockingActivation_finish:37:31]
[2018-11-26T09:31:51.948Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [BasicHttpService] [marker:http_post.200_count:39:39]
[2018-11-26T09:31:51.949Z] [INFO] [#tid_f8c1c812c5052456ad7b026025b222da] [ShardingContainerPoolBalancer] received completion ack for 'd208f976626f429388f976626fb2937a'

Provide the actual results and outputs:
but actually it's not
[2018-11-26T09:31:49.772Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] POST /api/v1/namespaces/whisk.system/actions/hello blocking=true&result=true
[2018-11-26T09:31:49.773Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [BasicAuthenticationDirective] authenticate: 789c46b1-71f6-4ed5-8c54-816aa4f8c502
[2018-11-26T09:31:49.774Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [Identity] [GET] serving from cache: CacheKey(789c46b1-71f6-4ed5-8c54-816aa4f8c502) [marker:database_cacheHit_count:2]
[2018-11-26T09:31:49.776Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [WhiskActionMetaData] [GET] serving from cache: CacheKey(whisk.system/hello) [marker:database_cacheHit_count:4]
[2018-11-26T09:31:49.777Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ActionsApi]  [marker:controller_blockingActivation_start:5]
[2018-11-26T09:31:49.777Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ActionsApi] action activation id: 83662d410643423fa62d410643323f7e [marker:controller_loadbalancer_start:5]
[2018-11-26T09:31:49.777Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ShardingContainerPoolBalancer] posting to 'invoker0/0' with activation id '83662d410643423fa62d410643323f7e' [marker:controller_kafka_start:5]
[2018-11-26T09:31:49.785Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ShardingContainerPoolBalancer] posted to invoker0[0][21] [marker:controller_kafka_finish:12:7]
[2018-11-26T09:31:49.785Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ActionsApi]  [marker:controller_loadbalancer_finish:12:7]
[2018-11-26T09:31:49.814Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ShardingContainerPoolBalancer] received completion ack for '83662d410643423fa62d410643323f7e'
[2018-11-26T09:31:49.815Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ShardingContainerPoolBalancer] received result ack for '83662d410643423fa62d410643323f7e'
[2018-11-26T09:31:50.832Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [CouchDbRestStore] [GET] 'whisk_local_activations' finding document: 'id: whisk.system/83662d410643423fa62d410643323f7e' [marker:database_getDocument_start:1060]
[2018-11-26T09:31:50.842Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [CouchDbRestStore]  [marker:database_getDocument_finish:1070:10]
[2018-11-26T09:31:50.843Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ActionsApi] retrieved activation for blocking invocation via DB polling [marker:controller_blockingActivationDatabaseRetrieval_count:1071]
[2018-11-26T09:31:50.843Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [ActionsApi]  [marker:controller_blockingActivation_finish:1071:1066]
[2018-11-26T09:31:50.844Z] [INFO] [#tid_057f382dc49a732e93c8dfcfbb8429f6] [BasicHttpService] [marker:http_post.200_count:1072:1072]

Additional information you deem important:

add logging.warn in PrimitiveActions.scala:
    // 1. Wait for the active-ack to happen. Either immediately resolve the promise or poll the database quickly
    //    in case of an incomplete active-ack (record too large for example).
    activeAckResponse.foreach {
      case Right(activation)     => result.trySuccess(Right(activation))
      case Left(aid) if volatile => result.trySuccess(Left(aid))
      case _ =>
        logging.warn(this, s"Received a left for activation: $docid") // added log
        pollActivation(docid, context, result, i => 1.seconds + (2.seconds * i), maxRetries = 4)
    }

and found the warn log:
[2018-11-27T10:04:02.054Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] GET /api/v1/web/whisk.system/default/hello.json __ow_volatile=true
[2018-11-27T10:04:02.057Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [Identity] [GET] serving from cache: CacheKey(whisk.system) [marker:database_cacheHit_count:2]
[2018-11-27T10:04:02.057Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WhiskActionMetaData] [GET] serving from cache: CacheKey(whisk.system/hello) [marker:database_cacheHit_count:3]
[2018-11-27T10:04:02.058Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WebActionsApi]  [marker:controller_blockingActivation_start:4]
[2018-11-27T10:04:02.059Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WebActionsApi] action activation id: e098c63507c14b5498c63507c15b548f [marker:controller_loadbalancer_start:4]
[2018-11-27T10:04:02.059Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [ShardingContainerPoolBalancer] posting to 'invoker0/0' with activation id 'e098c63507c14b5498c63507c15b548f' [marker
:controller_kafka_start:5]
[2018-11-27T10:04:02.061Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [ShardingContainerPoolBalancer] posted to invoker0[0][3968] [marker:controller_kafka_finish:7:2]
[2018-11-27T10:04:02.061Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WebActionsApi]  [marker:controller_loadbalancer_finish:7:3]
[2018-11-27T10:04:02.097Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [ShardingContainerPoolBalancer] received completion ack for 'e098c63507c14b5498c63507c15b548f'
[2018-11-27T10:04:02.097Z] [WARN] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WebActionsApi] Received a left for activation: whisk.system/e098c63507c14b5498c63507c15b548f
[2018-11-27T10:04:02.098Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [ShardingContainerPoolBalancer] received result ack for 'e098c63507c14b5498c63507c15b548f'
[2018-11-27T10:04:03.113Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [CouchDbRestStore] [GET] 'whisk_local_activations' finding document: 'id: whisk.system/e098c63507c14b5498c63507c15b54
8f' [marker:database_getDocument_start:1058]
[2018-11-27T10:04:03.123Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [CouchDbRestStore]  [marker:database_getDocument_finish:1069:10]
[2018-11-27T10:04:03.124Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WebActionsApi] retrieved activation for blocking invocation via DB polling [marker:controller_blockingActivationData
baseRetrieval_count:1070]
[2018-11-27T10:04:03.124Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [WebActionsApi]  [marker:controller_blockingActivation_finish:1070:1066]
[2018-11-27T10:04:03.125Z] [INFO] [#tid_fc7c0e23fc514d8d98c69fedb4cba8e2] [BasicHttpService] [marker:http_get.200_count:1071:1071]

the reason why I found this is that we have a custom feature which can skip saving activations into DB when some request parameters is send, then some of these requests will hang until timeout and return a 202 response

I ran into similar, and think it is due to:
Future[Unit] = {
  AcknowledegmentMessage.parse(raw) match {
   ...<message handling in any order>...
  }
}

In my case, I'm trying to ensure the activation db lookup is not done at controller, and disabling that db lookup locally makes the "first" activation fail - seems like the initial message parse is slower than subsequent ones.
Moving the Future below AcknowledegmentMessage.parse(raw) fixes it I think. I will see if #4135 fixes it as well.

@tysonnorris also please take a look at #4145 (I think 4135 had a bug wrt that can affect blocking requests).

In #4145 it looks like the result is used properly for blocking activations now; however, there is still suspicious/inappropriate order of kafka message handling, at least on the first activation in the controller; I'll create a separate PR for that, since in general I think we expect kafka messages processing to at least be triggered in order (not necessarily completed in order).


[Question] If backend is hstore, how does the hugegraph server get the hstore address before hstore create partition

Problem Type (问题类型)
struct / logic (架构 / 逻辑设计问题)
Before submit

[X] 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)

Environment (环境信息)

Server Version: 1.5
Backend: hstore
OS: mac
Data Size:  less than vertices

Your Question (问题描述)
If backend uses htore. To create a new graph, hugegraph server will send batch request to hstore. After receiving it, hstore will create partition and create raft group. And the raft group elects a leader. But how does the server know to send batch requests to this hstore? Did PD select this hstore from the list of existing hStores and tell the server
Vertex/Edge example (问题点 / 边数据举例)
No response
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
No response

@dosu-bot
How does hugegraph server get partition info from PD when create a new graph?

@dosu-bot
If backend is hstore, where does the hugegraph server call newPartition?

@shirleyStorage When creating a new graph with hstore backend, the schema store and the graph store will be initialized. The schema store stores metadata (such as PropertyKey), and the graph store stores data (such as Vertex). When the two stores open, they will initialize HstoreSessionsImpl, which will construct PDClient and HgStoreClient based on pd addresses configured in the configuration file. Subsequently, this allows communication with pd nodes and store nodes, such as retrieving partition information of a store.


Broken colors when trying to display bold text

Steps to reproduce:
$ printf '\033[38;5;16m\033[48;5;226mtest\033[0m'
$ printf '\033[38;5;16m\033[48;5;226m\033[1mtest\033[0m'

Gives:

This seems to be the same bug with the VT parser I documented here : https://github.com/Microsoft/BashOnWindows/issues/1681
If you use 256 or 24bit colors, changing another text attribute will reset the colors.

I believe @PhMajerus is correct, this is a dupe of #1681.
Closing as such.


[URGENT] Degenerate derivatives

Since #1001 was merged in, the bold derivatives (at least the space-MNI... ones) are broken.
My intuition is that these changes on the Datasink introduced some problem https://github.com/poldracklab/fmriprep/compare/744de95e8c21...677c55647547#diff-7bf7d3ca48aa501c95ee753280fb3ee1
If I track back the files to the node that feeds the datasink, they look okay.

It's this bit:
https://github.com/poldracklab/fmriprep/blob/c76acd4efb89918fce517b3845688068705b3aa5/fmriprep/interfaces/bids.py#L252-L255
It assumes that the input is uncompressed.

@mgxd can you/would you like to submit a fix?

I think if we do ext.endswith('.gz') and not fname.endswith('.gz'), that would work, but I guess we should actually make a smarter copy, like:
def copy_any(src, dst):
    src_gz = src.endswith('.gz')
    dst_gz = dst.endswith('.gz')
    if src_gz == dst_gz:
        copy(src, dst)
    src_open = gzip.open if src_gz else open
    dst_open = gzip.open if dst_gz else open
    with src_open(src, 'rb') as f_in:
        with dst_open(dst, 'wb') as f_out:
            copyfileobj(f_in, f_out)

And if we want to permit hardlinks, nipype's utils.filemanip.copyfile would be a good alternative to shutil.copy.

Closed via #1077

Some of the reportlets are broken since we merged #1077:
https://2844-53175327-gh.circle-artifacts.com/0/tmp/ds000210/derivatives/fmriprep/sub-02.html


Adaptive Display

Site is not looking great on mobile because of the narrow width, which results in a lot of overflow and the fields therefore do not line up with each other in neat blocks as on desktop. Makes it harder for users to comprehend the data.

Currently the mobile version is not working well in Portrait mode -- the results area is much wider than the rest of the page.

The "About" drop-down menu does not adjust very well to different size windows -- it cuts off part of the drop-down terms below at times, when it should just adjust where the drop-down box opens.

Header needs to be made smaller on mobile


[TONCONNECT-UI]: Decryption Error.

Describe the bug
Whenever I connect tonkeeper to my site using tonconnect-ui, I get a strange message in the console saying there was a decryption error.

I have never gotten this issue before, and I cannot even get it to persist on my development environemnt, it only occurs on the production environment. I was thinking it may be an issue with CORS, or how I set up my NGINX webserver, but I am only running a reverse proxy with which the same project was definitely working before.
I installed tonconnect through the CDN and am using the vue ui framework.

I've even tried using the cdn to use an earlier version but for some strange reason the issue persists.

Expected behavior
On connecting my wallet, the tonconnect button updates to show that I now have a wallet linked.
Current behavior
Upon pressing connect wallet, a new page (tonkeeper) opens up. The manifest shows up correctly, and when clicking connect and going back to to the site tonconnect continues to load and says Continue in Tonkeeper on desktop… When checking the console there is a Uncaught (in promise) Error: Decryption error: message: 52, 126, 208... error with a very large buffer.
Steps to Reproduce
Unsure
Environment
Works fine on the development environment (Windows using npm run serve), breaks on the Ubuntu server (using NGINX with a reverse proxy to the backend to serve the site). Using Firefox but also breaks on Chrome.
Additional context
No response

Describe the bug
Whenever I connect tonkeeper to my site using tonconnect-ui, I get a strange message in the console saying there was a decryption error.

I have never gotten this issue before, and I cannot even get it to persist on my development environemnt, it only occurs on the production environment. I was thinking it may be an issue with CORS, or how I set up my NGINX webserver, but I am only running a reverse proxy with which the same project was definitely working before.
I installed tonconnect through the CDN and am using the vue ui framework.
I've even tried using the cdn to use an earlier version but for some strange reason the issue persists.

Expected behavior
On connecting my wallet, the tonconnect button updates to show that I now have a wallet linked.
Current behavior
Upon pressing connect wallet, a new page (tonkeeper) opens up. The manifest shows up correctly, and when clicking connect and going back to to the site tonconnect continues to load and says Continue in Tonkeeper on desktop… When checking the console there is a Uncaught (in promise) Error: Decryption error: message: 52, 126, 208... error with a very large buffer.
Steps to Reproduce
Unsure
Environment
Works fine on the development environment (Windows using npm run serve), breaks on the Ubuntu server (using NGINX with a reverse proxy to the backend to serve the site). Using Firefox but also breaks on Chrome.
Additional context
No response

same error ! is it fix ?

same error ! is it fix ?

Nope. There is another issue open with over 10 people saying they have the same issue...

same error!

@KernelPanic0 Try https://ui-vue-five.vercel.app

@KernelPanic0 Try https://ui-vue-five.vercel.app

Thank you, this looks like a really nice implementation!
As for the original issue though, I believe it occurs because tonconnect has blocked the domain name from which the requests are coming from. I think they have an automatic system set up for flagging domain names to prevent scams or the tonconnect library being used maliciously.

@KernelPanic0 Try https://ui-vue-five.vercel.app

Thank you, this looks like a really nice implementation!
As for the original issue though, I believe it occurs because tonconnect has blocked the domain name from which the requests are coming from. I think they have an automatic system set up for flagging domain names to prevent scams or the tonconnect library being used maliciously. This would explain why it works on my development environment but not on the production environment. That being said, is there any way to get a domain name checked or appealed?

Can you share your code and the domain name with us, if possible?

same error....

@KernelPanic0 Try https://ui-vue-five.vercel.app

Thank you, this looks like a really nice implementation!
As for the original issue though, I believe it occurs because tonconnect has blocked the domain name from which the requests are coming from. I think they have an automatic system set up for flagging domain names to prevent scams or the tonconnect library being used maliciously. This would explain why it works on my development environment but not on the production environment. That being said, is there any way to get a domain name checked or appealed?

Hello, do u fix it?

@itsalimanuel Our domain is having the same issue
The domain is https://dropee.clicker-game.tropee.com
The bot is DropeeBot

Hello, @tropee-moein,
It seems that the issue is related to your website. I suspect there might be a security concern with the website.
If the code works on a different domain, then it's likely a security issue on the current domain.
⛔ If you are using unsecured URLs on your website (images, scripts), that might be affecting the functionality as well.

@itsalimanuel The domain was working fine
We got thousands of wallet connected and all of a sudden some days ago it stopped working
All the other domains use the same certificate and point to the same code.
You can test the game in https://t.me/DropeeBot/play

I tried to check your website using the test bot, and I received this message. We need more information to verify your status.

Thanks for checking it mate!
Our game only works with our own bot.
Can you please tell me what information you need?
I also reached out on tg channel @tondev_eng
Cheers

Hello again @itsalimanuel
In the end we decided to migrate to a whole new domain.
Hopefully this time we won't face the same issue.
Thanks for your help again
Cheers

Hello, I hope so .
Good luck 👏

Hi @itsalimanuel
We are back to the same error again 😓
That makes me believe we are being blocked due to the high activity of users connecting their wallet

Hello @tropee-moein, i see you are using Google Ads? Try disabling it, it might affect the wallet connector.

Hi @itsalimanuel
We don't use google ads
We use google analytics
What I don't understand why would the connector work for 2 3 hours and suddenly stop working? This happened on 2 different domains.
I really believe we are being blocked due to the high volume of wallets connecting in our game.

Interesting, I just noticed it after checking with test tools. I would suggest checking API rate limits, IP blocking, or throttling.

@itsalimanuel We actually have a way to test our code on a different domain and we can connect the wallet.
I believe there is a process in ton connect and ton keeper that blocks specific domains.
And the blocking happens when there are lots of wallets in a short amount of time connect.
And that's what has happened to us.
Nothing to do with ip, nothing to do with domain reputation just simple old automated blocking by ton space.

@itsalimanuel We actually have a way to test our code on a different domain and we can connect the wallet. I believe there is a process in ton connect and ton keeper that blocks specific domains. And the blocking happens when there are lots of wallets in a short amount of time connect. And that's what has happened to us. Nothing to do with ip, nothing to do with domain reputation just simple old automated blocking by ton connect.

Hello, did the issue got fixed? I am facing the same issue and would like to know how have you fixed it? THanks!


Wrong authentication delegation response status

I noticed that the Authentication Delegation Response status is 201 and not 204 as mentioned in the documentation.
If 204 is returned we get this error :
OIDCException(httpStatus=503 SERVICE_UNAVAILABLE, clientExceptionContent=ClientExceptionContent(error=server_error, errorDescription=Unexpected response from authentication device))
HttpAuthenticationChannelProvider source code :
@Override
public boolean requestAuthentication(CIBAAuthenticationRequest request, String infoUsedByAuthenticator) {
    // Creates JWT formatted/JWS signed/JWE encrypted Authentication Channel ID by the same manner in creating auth_req_id.
    // Authentication Channel ID binds Backchannel Authentication Request with Authentication by Authentication Device (AD).
    // JWE serialized Authentication Channel ID works as a bearer token. It includes client_id
    // that can be used on Authentication Channel Callback Endpoint to recognize the Consumption Device (CD)
    // that sent Backchannel Authentication Request.

    // The following scopes should be displayed on AD:
    // 1. scopes specified explicitly as query parameter in the authorization request
    // 2. scopes specified implicitly as default client scope in keycloak

    checkAuthenticationChannel();

    ClientModel client = request.getClient();

    try {
        AuthenticationChannelRequest channelRequest = new AuthenticationChannelRequest();

        channelRequest.setScope(request.getScope());
        channelRequest.setBindingMessage(request.getBindingMessage());
        channelRequest.setLoginHint(infoUsedByAuthenticator);
        channelRequest.setConsentRequired(client.isConsentRequired());
        channelRequest.setAcrValues(request.getAcrValues());

        SimpleHttp simpleHttp = SimpleHttp.doPost(httpAuthenticationChannelUri, session)
                .header(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON)
                .json(channelRequest)
                .auth(createBearerToken(request, client));

        int status = completeDecoupledAuthnRequest(simpleHttp, channelRequest).asStatus();

        if (status == Status.CREATED.getStatusCode()) {
            return true;
        }
    } catch (IOException ioe) {
        throw new RuntimeException("Authentication Channel Access failed.", ioe);
    }

    return false;
}

(version : Keycloak 13.0.0)

Hello @elnanou ,
Thank you for your notification. I will fix keycloak's documentation as you pointed out (not 204. 201 returned).


Removes strategies and V3 api calls

In the manageiq-providers-ovirt plugin we removed the V3 RHV api calls
and the strategy pattern.
Depends on:
https://github.com/ManageIQ/manageiq-providers-ovirt/pull/423

Didn't see this before, fixed in https://github.com/ManageIQ/manageiq/pull/19499

@agrare no pb, perfect. Maybe we should think to bring this into the provider, but I'm missing the history, maybe it was here for some reason.

Yeah I was just saying to someone else this feels like it should be a subclass of Storage and these methods implemented in the provider plugin


BUG: sitk::ERROR: The file MOOSE-Split-unified-PET-CT-atlas.nii.gz does not exist.

Hi,
I am trying to run MOOSE on a bunch of patients with whole-body CTs. For two of the patient, MOOSE fails with the following error
✔ Segmented psoas from /home/user/Data/....IMA_0000.nii.gz
- Conducting automatic error analysis in similarity space for: /home/user/Data/.../labels/MOOSE-Non-cerebral-tissues-CT-....nii.gz
Traceback (most recent call last):
  File "/usr/local/bin/moose", line 139, in <module>
    ea.similarity_space(ct_atlas, sim_space_dir, segmentation_error_stats)
  File "/home/user/Code/MOOSE/src/errorAnalysis.py", line 147, in similarity_space
    shape_parameters = iop.get_shape_parameters(split_atlas)
  File "/home/user/Code/MOOSE/src/imageOp.py", line 86, in get_shape_parameters
    label_img = SimpleITK.Cast(SimpleITK.ReadImage(label_image), SimpleITK.sitkInt32)
  File "/home/user/miniconda3/envs/moose/lib/python3.9/site-packages/SimpleITK/extra.py", line 346, in ReadImage
    return reader.Execute()
  File "/home/user/miniconda3/envs/moose/lib/python3.9/site-packages/SimpleITK/SimpleITK.py", line 8015, in Execute
    return _SimpleITK.ImageFileReader_Execute(self)
RuntimeError: Exception thrown in SimpleITK ImageFileReader_Execute: /tmp/SimpleITK/Code/IO/src/sitkImageReaderBase.cxx:97:
sitk::ERROR: The file "/home/user/Data/.../labels/sim_space/similarity-space/MOOSE-Split-unified-PET-CT-atlas.nii.gz" does not exist.

Do you know what could be the problem if the file not existing? It works for the other patients.

Hi @chris-clem, is it just a couple of patients where it fails? If yes, would it be ok for you to send the anon data? I can have a look at the patients...it's hard for me to tell what exactly went wrong without running it myself. Would that be a reasonable request?

@chris-clem any luck?

Hey, sorry, I cannot share the patient data. I will have a look at the patient data with a colleague. Maybe we find something weird.
Do you have a rough idea of what might be causing this?

@chris-clem is this solved or figured out? If yes can I close this issue?

Yes, you can close it for now


add precompute to base Distance

Adding precompute to base distance to overload in sub class.
Discussed in PR https://github.com/shogun-toolbox/shogun/pull/3067 based on https://github.com/shogun-toolbox/shogun/issues/2987

Nice thanks. I will merge this, please address the minor documentation issue in the next patch

Merging as this is only affects interfaces


feat: support exhaustive_search

What the title says 😄 Just one more field for the search parameters.
I hope this is the last one I am bothering you with but my project is pure mayham atm, sorry!

Released in https://github.com/DAXGRID/typesense-dotnet/releases/tag/4.8.0


PJ Link does not work with PANASONIC PT-DZ21K2

Before you report a bug, make sure you're not reporting something that have been fixed in the master branch by downloading a "latest" build from https://builds.bitfocus.io/companion/
Describe the bug
PJLink protocol is not working with a Panasonic Video-Projector PT-DZ21K2
To Reproduce
Steps to reproduce the behavior:

Create a PJ-Link Instance
Create a button with shutter on (for example - tested with shutter and power with the same result)
Press the button
See error
Authentification error

Expected behavior
The shutter (or power) should change. It works well with different projectors on my setup. But not with this one.
ProjectorMidiRemote and ProjectorManager (OSX apps) works well with the same projector that don't work with Companion
Desktop (please complete the following information):

OS: 10.14.6
Browser chrome
Version Tested with companion 1.3, 1.4 and master branch of GIT

Transferred to PJLink module repo.

Closing this as this seems to have been fixed in a recent commit and it should be working for everyone now.


Connection from daemon was severed

Hello,
I recently started using Flexget and was successful in a couple of tests yesterday, but today these ERROR's started showing up:
2016-01-12 16:06 ERROR    manager                       Connection from daemon was severed.
2016-01-12 16:42 ERROR    manager                       Connection from daemon was severed.
2016-01-12 17:08 ERROR    manager                       Connection from daemon was severed.

I have been looking into this online but most people had this issue while using transmission and flexget together. I simply use flexget to store the files from the RSS in a specific folder.
This is my config file:
tasks:
  Series:
    rss: https://rssurl.com
    series:
      - serie1:
          quality: hdtv <720p
      - serie2:
          quality: hdtv <720p
      - serie3:
          quality: hdtv <720p
      - serie4:
          quality: hdtv <720p
      - serie5:
          quality: hdtv <720p
      - serie6:
          quality: hdtv <720p
      - serie7:
          quality: hdtv <720p
    download: /path/to/folder

Another thing I might need to mention is that I use crontab to run flexget every hour with the following line:
* */1 * * * /usr/local/bin/flexget -c /path/to/config.yml --cron execute

Since the RSS did not produce any data that I needed today, I can't see if my configuration actually did what it was supposed to do (as I mentioned in the start, my tests yesterday worked fine). Could anyone help by telling if these error's are a problem or not and if they are, where they come from and how I get rid of them?
Thank you in andvance!

You use cron AND daemon? Why?

Cron + daemon = Error. Don't use both.

Cron + daemon = Error. Don't use both.

Not an error, should be fine. That being said, it sounds like @AezDropZz isn't actually meaning to use the daemon. If you aren't, make sure you don't have it running.

Cron + daemon = Error. Don't use both.

Not an error, should be fine. That being said, it sounds like @AezDropZz isn't actually meaning to use the daemon. If you aren't, make sure you don't have it running.

Indeed, I don't want to use the daemon, how can I make sure the daemon never starts?

don't use flexget daemon start?


subtract overflow in ascii mode

thread 'tokio-runtime-worker' panicked at 'attempt to subtract with overflow', /Users/skyzh/.cargo/registry/src/github.com-1ecc6299db9ec823/pretty-xmlish-0.1.7/src/lib.rs:253

if this line is changed to .ascii
https://github.com/risinglightdb/risinglight/blob/2143a7c93d262eb7334298e357a358b0f675bff6/src/executor_v2/explain.rs#L28
and run make apply_planner_test on macOS

The ascii mode is not well implemented as the Unicode version is the intended mode of this thing. Plus I still don't understand how are things different across platforms.. I don't think I assumed anything platform dependent


Address Livio comments and recomendations

Revised items #1, #2/6, #4, #5, #8
Related proposal:
https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0317-sdl-protocol-security-specification.md

As for the Livio team suggestions everything looks good.
However I suppose we need to extend the proposal by additional information regarding:

Payload size for single/first/consecutive frames:

Data Size field of any frame represents size of binary data (encrypted or non-encrypted) depends whether current frame is encrypted or not
Data Size in 1-4 bytes of first frame - always represents non-encrypted size for the whole payload (across all consecutive frames)

First frame is always non-encrypted

@dboltovskyi thank you for review, I reflected these changes in https://github.com/LuxoftSDL/sdl_evolution/pull/7/commits/e463f69d7b47d7280aa2472ab9ab84bc27655b44
And also added:
3. Describe the security level support by SDL

Sent to Ford for internal review:
https://github.ford.com/AppLink-Partner-Development/sdl_evolution_fordinternal/pull/406


Generating Balanced Synthesized Data

Hey, is it possible to generate the balanced synthesized data even though the realtabformer model is trained on imbalanced data (the proportion is even up to 4 to 96). How do I do that?
CTGAN, TVAE, and even be_great are able to do this simply by:
model.sample(n_samples, start_col=target_col, start_col_dist={'Yes':0.5, 'No':0.5})

Hello @erland-ramadhan , can you check if the seed_input parameter in the model.sample method of REaLTabFormer satisfy your need?


I would like Security to support a N-Tier or Onion Architecture via Data Access Layer and Domain Layer

I architect my solutions using an Onion Architecture or N-Tiered, where I want all data access performed in an Infrastructure or data access layer/assembly. Domain data or data transfer objects are POCOs in a Domain layer or assembly. Business logic is in business layer/assembly and a client layer.
How do I fit Aspnet security into a model such as this?
A use case could be data store for security is an web service or a database but that is determined by an IoC container.

So I've re-read this a bunch of times and cannot understand the question.
Are you asking about using Authorization with identity data sourced in a database somewhere? Are you asking about authentication from from custom source? When you say "security" what do you actually mean? What does "data store for security" mean?

I would like to see Authentication Authorization and Identification (AAI) to be in a Business assembly/project and/or a Cross Cutting Assembly, so that I can incorporate business rules for AAI.
An ApplicationUser subclass to be in my Domain assembly.
All data access to be in a Data Access or Infrastructure assembly so that IdentityDbContext would only referenced within in my data access layer to be isolated from the client(s).
By Data store for security, my storage of users, roles, user roles, claims and logins.  These could be the aspnet* tables or could be a web service call or be an in memory database.
Most of the examples I've seen incorporating Asp.Net Security are over-simplified by having everything in a Website, with AAI rules in the AccountControler the DbContext in a Models folder and Models being used for DbContext and a view's Model (not ViewModels).
I'm looking for direction on how I could/should incorporate AspNet Security in an N-Tier or Onion architecture  described above.

this stack overflow might clarify my position: http://stackoverflow.com/questions/32595251/separation-of-concerns-and-n-tiered-architecture-in-asp-net-5-asp-net-core-1
"I’d love for Microsoft (or anyone) to create a working project template that is more geared towards enterprise level samples using a decoupled approach or even something like an Onion Architecture sample."

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.


Vehicle etron (on template) - json: cannot unmarshal number

Describe the bug
Please see output:
`/app # evcc vehicle
[main  ] INFO 2022/11/10 14:35:09 evcc 0.106.3
[main  ] INFO 2022/11/10 14:35:09 using config file: /etc/evcc.yaml
.SoC:          json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Charge status: json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Range:         json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Odometer:      json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Finish time:   json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Climater:      json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Target SoC:    json: cannot unmarshal number 5.3 into Go struct field ChargingStatus.Data.chargingStatus.chargeRate_kmph of type int
Capacity:      64.0kWh`
Steps to reproduce
run evcc vehicle
Configuration details
from evcc.yaml:
`vehicles:

name: myETron
type: template
template: etron
title: myETron
capacity: 64 # kWh
user: xyz
password: xyz
vin: xyz
cache: 5m`

Log details
`/app # evcc --log debug
[main  ] INFO 2022/11/10 14:42:25 evcc 0.106.3
[main  ] INFO 2022/11/10 14:42:25 using config file: /etc/evcc.yaml
[main  ] INFO 2022/11/10 14:42:25 listening at :7070
[mqtt  ] INFO 2022/11/10 14:42:25 connecting evcc-990696862 at tcp://fhemprod:1883
[mqtt  ] DEBUG 2022/11/10 14:42:25 tcp://fhemprod:1883 connected
[site  ] INFO 2022/11/10 14:42:28 site config:
[site  ] INFO 2022/11/10 14:42:28   meters:      grid ✓ pv ✓ battery ✗
[site  ] INFO 2022/11/10 14:42:28     grid:      power ✓ energy ✗ currents ✗
[site  ] INFO 2022/11/10 14:42:28     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2022/11/10 14:42:28   vehicles:
[site  ] INFO 2022/11/10 14:42:28     vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✗
[site  ] DEBUG 2022/11/10 14:42:28 ----
[site  ] DEBUG 2022/11/10 14:42:28 pv power: 2218W
[site  ] DEBUG 2022/11/10 14:42:28 grid power: 89W
[site  ] DEBUG 2022/11/10 14:42:28 site power: 89W`
What type of operating system are you running?
Linux
Version
`/app # evcc -v
evcc version 0.106.3`

Fix in nightly as of tomorrow.


add simple tests to TV denoise implementation

Need to figure out how to get the reverse FFT result back into RS.

Pending a final review, I think we should merge this and then keep going.
To do after merge:

much stronger testing of implemented TV code
think more carefully about sampling during TV denoising
battle test, time golden section method