Resolve spurious unit test failures for fileioperformer in Windows

The fileioperfomer unit tests exercise functionality by attempting
to do file I/O on Unix-style paths, which can cause erroneous
unit test failures on Windows. This change makes these tests
only run on Linux -- other platforms automatically pass.
Signed-off-by: Bryon Nevis<EMAIL_ADDRESS>

@bnevis-i would it be better to just "fail" on windows environments with a log message or documentation in the test code saying test not for windows as opposed to silently pass?

@mkbhanda No.  We don't want it to fail.  Testing on Linux is good enough.  The goal is to get coverage in the CI/CD pipeline which runs on Linux.

Codecov Report

Merging #1849 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1849   +/-   ##
=======================================
  Coverage   40.63%   40.63%
=======================================
  Files         181      181
  Lines       12342    12342
=======================================
  Hits         5015     5015
  Misses       7040     7040
  Partials      287      287

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 6d80b84...b1b2556. Read the comment docs.

Branch out of date. Rebased.


Add ca-certificates to Docker image

Solve issue #31 by including CA Certs with the Docker image.

Hey @joaquinrovira - thanks a bunch for your contribution! I am surprised debian:buster base image does not have ca-certificates already installed in it. I always thought it is a fundamental core package required for any TLS to work, including apt itself. I added cleanup commands to apt cache doesn't end up being an extra weight in the resulting image.

You're welcome, glad to be able to help!


skillgrp.mul and skillsgroups.xml

When a new character profile is created, the skillsgroups.xml is created from the skillgrp.mul file. Can you add an extra check that if skillgrp.mul is newer than skillsgroups.xml that it gets replaced. This will allow clients to add skills to their games and then the players will always have those appear in their skill list. Currently, you would have to tell every player to delete the skillsgroups.xml file and then start their client...but it would be a big help if it did this automatically.

Did you resolve this issue? Because not too long after I created this...the client is now doing this. So unless I am just imaging things, you can close this.


added custom field per Shweta

Added:
ms.custom: internal-intro

@ndelgado : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ndelgado maybe there's a private repo to use instead.

#label:"aq-pr-triaged"

@ndelgado - I'm closing this public PR, if you'd like to reopen and point for well-architected-pr, it can be continued there.  Thanks.


Trouble Nesting stopit

Hi,
I'm having a bit of trouble nesting timeouts. Platforms tested:

Windows 10 Pro
Mac OSX

My shortest reproducible solution is here:
from stopit import ThreadingTimeout as Timeout
import time

def print_stuff(idx):
    while True:
        time.sleep(1)
        print(idx)

def test_this():
    t0 = time.time()
    for idx in range(5):
        with Timeout(5) as timeout_inner:
            print_stuff(idx)
    return time.time() - t0

with Timeout(10) as timeout_outer:
    res = test_this()

assert res < 15

Where the output is:
0
0
0
0
1
1
1
1
2
2
2
2
3
3
3
3
4
4
4
4
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-28-abee5adecac5> in <module>()
     18     res = test_this()
     19
---> 20 assert res < 15

AssertionError:

Hi, I had the same issue, and it's related with the fact that the ThreadingTimeout set a timer on the same thread_id (https://github.com/glenfant/stopit/blob/master/src/stopit/threadstop.py#L45).


Meteo France Broken with 0.96

Meteo France integration is now returning errors at startup since last main release of 0.96. It started with 0.96.0 and is still an issue in 0.96.5
Configuration file
meteo_france:
  - city: '92200'
    monitored_conditions:
        - rain_chance
        - freeze_chance
        - thunder_chance
        - snow_chance
        - weather
        - next_rain
        - wind_speed
        - temperature
        - uv
        - weather_alert

Error log
2019-07-27 10:09:45 ERROR (SyncWorker_12) [homeassistant.components.meteo_france] Expecting value: line 1 column 1 (char 0)
2019-07-27 10:09:47 ERROR (MainThread) [homeassistant.setup] Setup failed for meteo_france: Integration 'meteo_france' did not return boolean if setup was successful.
Disabling component.

Thanks

This due too main Météo France web site down. Currently users are redirected to vigiprevi.meteofrance.com which is a load balancing alternative server. The scraping done by the meteo_france component doesn't work with the alternative server.
No workaround except using another weather integration.
We will improve the meteo_france integration to have more comprehensive error message.

It seems possible to fetch most of the weather forecast with vigiprevi.meteofrance.com website. But this need some development. I don't know if we will be able to have a PR merged before next release.

For information, Meteo France finished their maintenance.
The website is back, and integration with home assistant seems to be working as it was before.
Thank you for your work by the way !! It is really appreciated.

MétéoFrance is working fine now !
Maybe we can close the issue @iditude ?


cfripper: 1.6.0 -> 1.7.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for cfripper is: "Tool for analysing CloudFormation templates"
meta.homepage for cfripper is: "https://github.com/Skyscanner/cfripper"
meta.changelog for cfripper is: ""
Updates performed

Ran passthru.UpdateScript

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
Warning: no invocation of /nix/store/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0/bin/cfripper had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0/bin/.cfripper-wrapped had a zero exit code or showed the expected version
0 of 2 passed binary check by having a zero exit code.
0 of 2 passed binary check by having the new version present in output.
found 1.7.0 with grep in /nix/store/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0
found 1.7.0 in filename of file in /nix/store/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0

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

2 total rebuild path(s)

1 package rebuild(s)

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

First fifty rebuilds by attrpath
cfripper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0 \
  --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 cfripper https://github.com/r-ryantm/nixpkgs/archive/d6197c53804570ff5e1faad34912ff3e315db03b.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/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0
ls -la /nix/store/7lxwzgkm5shq0jg30ijgrxzjr39n5ayl-cfripper-1.7.0/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 run on x86_64-linux 1

1 package built:

cfripper

Maintainer pings
cc @fabaff for testing.

@ofborg eval


Feat: elevate code quality

This pull request covers changes from milestone#2 to elevate code quality to open-source standards.
The PR is best reviewed commit by commit.

9c8df638ee5bf8e5312badb19abc2b79835122be Replace usage of unittest with pytest and align test suits with best practices. But this will be refactored when implementing #9
bfeb6b94d5c8e1dcfd2416af51d081165b9f5b42 Add lint rules and GitHub action to lint the code.
f08568c0554f7e2f4dd35bcf12ed44f449cd0304 Align code base with added lint rules
fdcf9ac0e1fdc296302c1c68928d0e53d51570fe Add security checks and GitHub action to perform security checks to the code.
ce26195c5305b21d7d8f2a79b9f73c88593cf00e Fix low priority security issue
16abf2b46e42dafbc270985c7e91a8831624795c Add codecov integration. Need to setup CODECOV_TOKEN to see coverage
8f912e761bf38d6ad8271d19ebcefa83d8e3ad4f Implement navigation in large class definitions

@lasuk Please review the changes and provide feedback or approval for merging.

Thanks a lot for aligning the code with open source standards!


Showing error in "make"

DIR=/home/sumanta/software/ITensor
ITENSOR_DIR=/home/sumanta/software/ITensor/itensor
LIBPNG_DIR=/snap/gnome-3-38-2004/39/usr/lib/x86_64-linux-gnu
PNGPP_DIR=/home/sumanta/software/png++
include $(DIR)/this_dir.mk
include $(DIR)/options.mk
While make it is showing the error follows (after giving the path of all these in the Makefile):
Makefile:45: recipe for target 'linear.o' failed
make: *** [linear.o] Error 1
make with:
"g++ -m64 -std=c++11 -fPIC -c -I. -I/home/sumanta/software/ITensor-2.1.1  -O2 -DNDEBUG -Wall -Wno-unused-variable -std=c++1y -I/home/sumanta/software/png++ -I/usr/local/include -o linear.o linear.cc"
Any kind of help is appreciable.

Sorry - I'm really not sure what the issue is based on on this information. You might be using a different version of make than the one I used when I made the provided Makefile. One thing you could do is to just view the commands that the Makefile is trying to run (for example your g++ above) and then run these directly instead of using make. Also the error could be due to the compilation itself failing, not due to make (and then make was just reporting that the error occurred). So it could be related to your ITensor setup or one of the dependencies.

I am using GNU Make 4.1 during run. I have successfully installed ITensor (Version 3.1.0) and it is running smoothly.
Let me just put the complete error: (Hope this might help)
g++ -m64 -std=c++17 -fconcepts -fPIC -c -I. -I'/home/sumanta/software/ITensor'  -O2 -DNDEBUG -Wall -Wno-unknown-pragmas -Wno-unused-variable -std=c++1y -I/home/sumanta/software/png++ -I/usr/local/include -o linear.o linear.cc
In file included from /home/sumanta/software/ITensor/itensor/util/iterate.h:20:0,
from /home/sumanta/software/ITensor/itensor/global.h:26,
from /home/sumanta/software/ITensor/itensor/qn.h:19,
from /home/sumanta/software/ITensor/itensor/spectrum.h:20,
from /home/sumanta/software/ITensor/itensor/decomp.h:19,
from /home/sumanta/software/ITensor/itensor/all_basic.h:31,
from /home/sumanta/software/ITensor/itensor/all_mps.h:33,
from /home/sumanta/software/ITensor/itensor/all.h:31,
from linear.cc:2:
/home/sumanta/software/ITensor/itensor/util/itertools.h: In member function ‘void triqs::utility::prod_iter::_increment()’:
/home/sumanta/software/ITensor/itensor/util/itertools.h:148:10: warning: ‘if constexpr’ only available with -std=c++1z or -std=gnu++1z
if constexpr (N < sizeof...(It) - 1) {
^~~~~~~~~
/home/sumanta/software/ITensor/itensor/util/itertools.h: At global scope:
/home/sumanta/software/ITensor/itensor/util/itertools.h:264:81: error: expected constructor, destructor, or type conversion before ‘;’ token
template <typename... T> multiplied(T &&...)->multiplied<std::decay_t...>;
^
/home/sumanta/software/ITensor/itensor/util/itertools.h: In lambda function:
/home/sumanta/software/ITensor/itensor/util/itertools.h:297:98: error: ‘apply’ is not a member of ‘std’
return transform(zip(std::forward(ranges)...), [lambda](std::tuple<T...> t) { return std::apply(lambda, t); });
^~~~~
In file included from /home/sumanta/software/ITensor/itensor/tensor/mat.h:406:0,
from /home/sumanta/software/ITensor/itensor/itensor.h:23,
from /home/sumanta/software/ITensor/itensor/decomp.h:20,
from /home/sumanta/software/ITensor/itensor/all_basic.h:31,
from /home/sumanta/software/ITensor/itensor/all_mps.h:33,
from /home/sumanta/software/ITensor/itensor/all.h:31,
from linear.cc:2:
/home/sumanta/software/ITensor/itensor/tensor/mat_impl.h: In function ‘itensor::CMatrix itensor::randnC(CtrArgs&& ...)’:
/home/sumanta/software/ITensor/itensor/tensor/mat_impl.h:205:40: error: missing template arguments before ‘(’ token
for(auto& el : M) el = std::complex(normal(gen),normal(gen));
^
In file included from /home/sumanta/software/ITensor/itensor/all_basic.h:31:0,
from /home/sumanta/software/ITensor/itensor/all_mps.h:33,
from /home/sumanta/software/ITensor/itensor/all.h:31,
from linear.cc:2:
/home/sumanta/software/ITensor/itensor/decomp.h: In function ‘itensor::Spectrum itensor::denmatDecomp(const itensor::ITensor&, itensor::ITensor&, itensor::ITensor&, itensor::Direction, const BigMatrixT&, itensor::Args)’:
/home/sumanta/software/ITensor/itensor/decomp.h:377:10: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
auto [cmb,ci] = combiner(std::move(cinds),args);
^
In file included from /home/sumanta/software/ITensor/itensor/decomp.h:490:0,
from /home/sumanta/software/ITensor/itensor/all_basic.h:31,
from /home/sumanta/software/ITensor/itensor/all_mps.h:33,
from /home/sumanta/software/ITensor/itensor/all.h:31,
from linear.cc:2:
/home/sumanta/software/ITensor/itensor/decomp_impl.h: In function ‘std::tuple<itensor::ITensor, itensor::ITensor, itensor::ITensor> itensor::svd(const itensor::ITensor&, const itensor::Index&, IndsArgs&& ...)’:
/home/sumanta/software/ITensor/itensor/decomp_impl.h:62:8: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
auto [is,args] = detail::makeIndexSetArgs(i1,indsargs...);
^
/home/sumanta/software/ITensor/itensor/decomp_impl.h: In function ‘std::tuple<itensor::ITensor, itensor::ITensor> itensor::qr(const itensor::ITensor&, const itensor::Index&, IndsArgs&& ...)’:
/home/sumanta/software/ITensor/itensor/decomp_impl.h:70:8: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
auto [is,args] = detail::makeIndexSetArgs(i1,indsargs...);
^
/home/sumanta/software/ITensor/itensor/decomp_impl.h: In function ‘std::tuple<itensor::ITensor, itensor::ITensor> itensor::factor(const itensor::ITensor&, const itensor::Index&, IndsArgs&& ...)’:
/home/sumanta/software/ITensor/itensor/decomp_impl.h:78:8: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
auto [is,args] = detail::makeIndexSetArgs(i1,indsargs...);
^
linear.cc: In function ‘int main(int, char**)’:
linear.cc:164:5: error: ‘Print’ was not declared in this scope
Print(norm(V));
^~~~~
linear.cc:164:5: note: suggested alternative: ‘rint’
Print(norm(V));
^~~~~
rint
linear.cc:211:68: error: ‘Link’ was not declared in this scope
for(auto j : range(2+N)) links.at(j) = Index(format("l%d",j),M,Link);
^~~~
linear.cc:211:68: note: suggested alternative: ‘link’
for(auto j : range(2+N)) links.at(j) = Index(format("l%d",j),M,Link);
^~~~
link
linear.cc: In function ‘itensor::Real cgrad(itensor::Vector&, const std::vector&, const itensor::Args&)’:
linear.cc:83:19: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("rm -f STOP");
^~~~~~~~
Makefile:45: recipe for target 'linear.o' failed
make: *** [linear.o] Error 1

Hi, so it's hard to be sure but based on this extra information, I would guess that your compiler version is too old to support the C++14 language and libraries. Can you try a newer compiler? Or perhaps try the clang compiler instead of gcc (g++)?

@sumantaphy , I meet the same question too.  how did you slove the question,can you tell me? thank you every much.

Hi Sumanta and Qing,
As I mentioned in my answer here (https://github.com/emstoudenmire/TNML/issues/3), this code is not really maintained anymore as it is about 7 years old, and even when I first posted it was far from an optimal implementation (i.e. it runs really slowly). Currently there are much better codes, but I left this one posted publicly in case people found it useful to study it.
Miles


Improve regex in isChord function

Improvements required in https://github.com/walmik/scribbletune/blob/master/src/chord.js

currently an extra long regex pattern is being used to check if a string is chord, improve this.. maybe use a generic chord identifier regex and have a function that returns the appropriate mode if valid

Made PR #43 to address this issue.


Create a documentation website

Create a documentation website with weburl docs.nandlabs.io and have the go-commons documentation available there under the path https://golly.nandlabs.io

Added hugo site https://github.com/nandlabs/golly-docs. All issues will be handled in that repo going forward.


sbt0.13.11(scala)

A brief description
sbt 0.13.11 do not run
Expected results

 C:\sbt\bin>sbt.bat
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
Getting org.scala-sbt sbt 0.13.12 ...
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.12/jars/sbt.jar ...
        [SUCCESSFUL ] org.scala-sbt#sbt;0.13.12!sbt.jar (5618ms)
downloading https://repo1.maven.org/maven2/org/scala-lang/scala-library/2.10.6/scala-library-2.10.6.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-library;2.10.6!scala-library.jar (11019ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.12/jars/main.jar ...
        [SUCCESSFUL ] org.scala-sbt#main;0.13.12!main.jar (7512ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.12/jars/compiler-interface.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-interface;0.13.12!compiler-interface.jar (5809ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/actions/0.13.12/jars/actions.jar ...
        [SUCCESSFUL ] org.scala-sbt#actions;0.13.12!actions.jar (5918ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main-settings/0.13.12/jars/main-settings.jar ...
        [SUCCESSFUL ] org.scala-sbt#main-settings;0.13.12!main-settings.jar (6161ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/interface/0.13.12/jars/interface.jar ...
        [SUCCESSFUL ] org.scala-sbt#interface;0.13.12!interface.jar (5660ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/io/0.13.12/jars/io.jar ...
        [SUCCESSFUL ] org.scala-sbt#io;0.13.12!io.jar (5846ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/ivy/0.13.12/jars/ivy.jar ...
        [SUCCESSFUL ] org.scala-sbt#ivy;0.13.12!ivy.jar (6847ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/logging/0.13.12/jars/logging.jar ...
        [SUCCESSFUL ] org.scala-sbt#logging;0.13.12!logging.jar (5824ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/logic/0.13.12/jars/logic.jar ...
        [SUCCESSFUL ] org.scala-sbt#logic;0.13.12!logic.jar (5659ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/process/0.13.12/jars/process.jar ...
        [SUCCESSFUL ] org.scala-sbt#process;0.13.12!process.jar (5856ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/run/0.13.12/jars/run.jar ...
        [SUCCESSFUL ] org.scala-sbt#run;0.13.12!run.jar (5863ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/command/0.13.12/jars/command.jar ...
        [SUCCESSFUL ] org.scala-sbt#command;0.13.12!command.jar (5820ms)
downloading https://repo1.maven.org/maven2/org/scala-sbt/launcher-interface/1.0.0-M1/launcher-interface-1.0.0-M1.jar ...
        [SUCCESSFUL ] org.scala-sbt#launcher-interface;1.0.0-M1!launcher-interface.jar (1342ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classpath/0.13.12/jars/classpath.jar ...
        [SUCCESSFUL ] org.scala-sbt#classpath;0.13.12!classpath.jar (5665ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/completion/0.13.12/jars/completion.jar ...
        [SUCCESSFUL ] org.scala-sbt#completion;0.13.12!completion.jar (5899ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/api/0.13.12/jars/api.jar ...
        [SUCCESSFUL ] org.scala-sbt#api;0.13.12!api.jar (5823ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-integration/0.13.12/jars/compiler-integration.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-integration;0.13.12!compiler-integration.jar (5935ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-ivy-integration/0.13.12/jars/compiler-ivy-integration.jar ...
        [SUCCESSFUL ] org.scala-sbt#compiler-ivy-integration;0.13.12!compiler-ivy-integration.jar (5544ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/relation/0.13.12/jars/relation.jar ...
        [SUCCESSFUL ] org.scala-sbt#relation;0.13.12!relation.jar (5483ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/task-system/0.13.12/jars/task-system.jar ...
        [SUCCESSFUL ] org.scala-sbt#task-system;0.13.12!task-system.jar (5887ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/tasks/0.13.12/jars/tasks.jar ...
        [SUCCESSFUL ] org.scala-sbt#tasks;0.13.12!tasks.jar (5884ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/tracking/0.13.12/jars/tracking.jar ...
        [SUCCESSFUL ] org.scala-sbt#tracking;0.13.12!tracking.jar (5729ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/testing/0.13.12/jars/testing.jar ...
        [SUCCESSFUL ] org.scala-sbt#testing;0.13.12!testing.jar (5915ms)
downloading https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.6/scala-compiler-2.10.6.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-compiler;2.10.6!scala-compiler.jar (25265ms)
downloading https://repo1.maven.org/maven2/org/scala-lang/scala-reflect/2.10.6/scala-reflect-2.10.6.jar ...
        [SUCCESSFUL ] org.scala-lang#scala-reflect;2.10.6!scala-reflect.jar (7694ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/control/0.13.12/jars/control.jar ...
        [SUCCESSFUL ] org.scala-sbt#control;0.13.12!control.jar (5742ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/collections/0.13.12/jars/collections.jar ...
        [SUCCESSFUL ] org.scala-sbt#collections;0.13.12!collections.jar (12236ms)
downloading https://repo1.maven.org/maven2/jline/jline/2.13/jline-2.13.jar ...
        [SUCCESSFUL ] jline#jline;2.13!jline.jar (3376ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classfile/0.13.12/jars/classfile.jar ...
        [SUCCESSFUL ] org.scala-sbt#classfile;0.13.12!classfile.jar (5768ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/incremental-compiler/0.13.12/jars/incremental-compiler.jar ...
        [SUCCESSFUL ] org.scala-sbt#incremental-compiler;0.13.12!incremental-compiler.jar (5979ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compile/0.13.12/jars/compile.jar ...
        [SUCCESSFUL ] org.scala-sbt#compile;0.13.12!compile.jar (6233ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/persist/0.13.12/jars/persist.jar ...
        [SUCCESSFUL ] org.scala-sbt#persist;0.13.12!persist.jar (6470ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbinary/sbinary_2.10/0.4.2/jars/sbinary_2.10.jar ...
        [SUCCESSFUL ] org.scala-tools.sbinary#sbinary_2.10;0.4.2!sbinary_2.10.jar (5964ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cross/0.13.12/jars/cross.jar ...
        [SUCCESSFUL ] org.scala-sbt#cross;0.13.12!cross.jar (5253ms)
downloading https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a/ivy-2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a.jar ...
        [SUCCESSFUL ] org.scala-sbt.ivy#ivy;2.3.0-sbt-2cc8d2761242b072cedb0a04cb39435c4fa24f9a!ivy.jar (4898ms)
downloading https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.46/jsch-0.1.46.jar ...
        [SUCCESSFUL ] com.jcraft#jsch;0.1.46!jsch.jar (5334ms)
downloading https://repo1.maven.org/maven2/org/scala-sbt/serialization_2.10/0.1.2/serialization_2.10-0.1.2.jar ...
        [SUCCESSFUL ] org.scala-sbt#serialization_2.10;0.1.2!serialization_2.10.jar (5536ms)
downloading https://repo1.maven.org/maven2/org/scala-lang/modules/scala-pickling_2.10/0.10.1/scala-pickling_2.10-0.10.1.jar ...
        [SUCCESSFUL ] org.scala-lang.modules#scala-pickling_2.10;0.10.1!scala-pickling_2.10.jar (4716ms)
downloading https://repo1.maven.org/maven2/org/json4s/json4s-core_2.10/3.2.10/json4s-core_2.10-3.2.10.jar ...
        [SUCCESSFUL ] org.json4s#json4s-core_2.10;3.2.10!json4s-core_2.10.jar (2911ms)
downloading https://repo1.maven.org/maven2/org/spire-math/jawn-parser_2.10/0.6.0/jawn-parser_2.10-0.6.0.jar ...
        [SUCCESSFUL ] org.spire-math#jawn-parser_2.10;0.6.0!jawn-parser_2.10.jar (2154ms)
downloading https://repo1.maven.org/maven2/org/spire-math/json4s-support_2.10/0.6.0/json4s-support_2.10-0.6.0.jar ...
        [SUCCESSFUL ] org.spire-math#json4s-support_2.10;0.6.0!json4s-support_2.10.jar (943ms)
downloading https://repo1.maven.org/maven2/org/scalamacros/quasiquotes_2.10/2.0.1/quasiquotes_2.10-2.0.1.jar ...
        [SUCCESSFUL ] org.scalamacros#quasiquotes_2.10;2.0.1!quasiquotes_2.10.jar (3804ms)
downloading https://repo1.maven.org/maven2/org/json4s/json4s-ast_2.10/3.2.10/json4s-ast_2.10-3.2.10.jar ...
        [SUCCESSFUL ] org.json4s#json4s-ast_2.10;3.2.10!json4s-ast_2.10.jar (2163ms)
downloading https://repo1.maven.org/maven2/com/thoughtworks/paranamer/paranamer/2.6/paranamer-2.6.jar ...
        [SUCCESSFUL ] com.thoughtworks.paranamer#paranamer;2.6!paranamer.jar (1033ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/cache/0.13.12/jars/cache.jar ...
        [SUCCESSFUL ] org.scala-sbt#cache;0.13.12!cache.jar (6554ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/test-agent/0.13.12/jars/test-agent.jar ...
        [SUCCESSFUL ] org.scala-sbt#test-agent;0.13.12!test-agent.jar (6293ms)
downloading https://repo1.maven.org/maven2/org/scala-sbt/test-interface/1.0/test-interface-1.0.jar ...
        [SUCCESSFUL ] org.scala-sbt#test-interface;1.0!test-interface.jar (1353ms)
downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/apply-macro/0.13.12/jars/apply-macro.jar ...
        [SUCCESSFUL ] org.scala-sbt#apply-macro;0.13.12!apply-macro.jar (5656ms)
:: retrieving :: org.scala-sbt#boot-app
        confs: [default]
        49 artifacts copied, 0 already retrieved (17462kB/636ms)
Getting Scala 2.10.6 (for sbt)...
downloading https://repo1.maven.org/maven2/org/scala-lang/jline/2.10.6/jline-2.10.6.jar ...
        [SUCCESSFUL ] org.scala-lang#jline;2.10.6!jline.jar (1290ms)
downloading https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.4/jansi-1.4.jar ...
        [SUCCESSFUL ] org.fusesource.jansi#jansi;1.4!jansi.jar (1645ms)
:: retrieving :: org.scala-sbt#boot-scala
        confs: [default]
        5 artifacts copied, 0 already retrieved (24494kB/49ms)
[info] Set current project to bin (in build file:/C:/sbt/bin/)
>

Actual results (with terminal output if applicable)
no result just frozen
Your Windows build number
version 1607 OS build 14393.105
Steps / commands required to reproduce the error
1, sudo apt-get update
2, sudo apt-get install openjdk-7-jdk
3, wget https://dl.bintray.com/sbt/debian/sbt-0.13.11.deb
4 dpkg -i sbt-0.13.11.deb
5, su root
6, sbt
Strace of the failing command

rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "/usr/share/sbt-launcher-packagin"..., 128) = 38
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 32
wait4(-1, 0x7fffc6ec0678, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 38
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
open("/usr/share/sbt-launcher-packaging/bin/sbt-launch-lib.bash", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=6751, ...}) = 0
brk(0xa60000)                           = 0xa60000
read(3, "#!/usr/bin/env bash\n#\n\n# A libra"..., 6751) = 6751
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
brk(0xa61000)                           = 0xa61000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 46
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "/usr/share/sbt-launcher-packagin"..., 128) = 38
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 46
wait4(-1, 0x7fffc6ec0188, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 61
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "/usr/share/sbt-launcher-packagin"..., 128) = 34
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=61, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 61
wait4(-1, 0x7fffc6ec0188, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
brk(0xa62000)                           = 0xa62000
brk(0xa63000)                           = 0xa63000
brk(0xa64000)                           = 0xa64000
brk(0xa65000)                           = 0xa65000
brk(0xa66000)                           = 0xa66000
brk(0xa67000)                           = 0xa67000
brk(0xa68000)                           = 0xa68000
brk(0xa69000)                           = 0xa69000
brk(0xa6a000)                           = 0xa6a000
brk(0xa6b000)                           = 0xa6b000
brk(0xa6c000)                           = 0xa6c000
brk(0xa6d000)                           = 0xa6d000
brk(0xa6e000)                           = 0xa6e000
brk(0xa6f000)                           = 0xa6f000
brk(0xa70000)                           = 0xa70000
brk(0xa71000)                           = 0xa71000
brk(0xa72000)                           = 0xa72000
brk(0xa73000)                           = 0xa73000
brk(0xa74000)                           = 0xa74000
brk(0xa75000)                           = 0xa75000
brk(0xa76000)                           = 0xa76000
brk(0xa77000)                           = 0xa77000
brk(0xa78000)                           = 0xa78000
brk(0xa79000)                           = 0xa79000
brk(0xa7a000)                           = 0xa7a000
brk(0xa7b000)                           = 0xa7b000
brk(0xa7c000)                           = 0xa7c000
brk(0xa7d000)                           = 0xa7d000
brk(0xa7e000)                           = 0xa7e000
brk(0xa7f000)                           = 0xa7f000
brk(0xa80000)                           = 0xa80000
brk(0xa81000)                           = 0xa81000
brk(0xa82000)                           = 0xa82000
brk(0xa83000)                           = 0xa83000
brk(0xa84000)                           = 0xa84000
brk(0xa85000)                           = 0xa85000
brk(0xa86000)                           = 0xa86000
brk(0xa87000)                           = 0xa87000
read(255, "\n\ndeclare -r noshare_opts=\"-Dsbt"..., 5062) = 3803
brk(0xa88000)                           = 0xa88000
brk(0xa89000)                           = 0xa89000
brk(0xa8b000)                           = 0xa8b000
brk(0xa8c000)                           = 0xa8c000
stat("/usr/share/sbt-launcher-packaging/conf/sbtopts", {st_mode=S_IFREG|0644, st_size=939, ...}) = 0
brk(0xa8d000)                           = 0xa8d000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -278, SEEK_CUR)              = 4784
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 63
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "\n", 128)                      = 1
read(3, "\n\n-sbt-create\n\n\n", 128)   = 16
read(3, "\n\n\n\n\n\n", 128)            = 6
read(3, "\n\n", 128)                    = 2
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=63, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 63
wait4(-1, 0x7fffc6ec0698, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
read(255, "# -- Windows behavior stub'd\n# J"..., 5062) = 278
stat(".sbtopts", 0x7fffc6ec1160)        = -1 ENOENT (No such file or directory)
brk(0xa8e000)                           = 0xa8e000
brk(0xa8f000)                           = 0xa8f000
brk(0xa90000)                           = 0xa90000
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
lseek(255, -1, SEEK_CUR)                = 5061
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 67
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "/usr/share/sbt-launcher-packagin"..., 128) = 53
read(3, "", 128)                        = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=67, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 67
wait4(-1, 0x7fffc6ebf3e8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/usr/share/sbt-launcher-packaging/bin/sbt-launch.jar", {st_mode=S_IFREG|0644, st_size=1210231, ...}) = 0
brk(0xa91000)                           = 0xa91000
brk(0xa92000)                           = 0xa92000
brk(0xa93000)                           = 0xa93000
brk(0xa94000)                           = 0xa94000
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fcntl(1, F_GETFD)                       = 0
fcntl(1, F_DUPFD, 10)                   = 10
fcntl(1, F_GETFD)                       = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
dup2(3, 1)                              = 1
close(3)                                = 0
brk(0xa95000)                           = 0xa95000
brk(0xa96000)                           = 0xa96000
brk(0xa97000)                           = 0xa97000
brk(0xa98000)                           = 0xa98000
write(1, "process_my_args () \n{ \n    while"..., 1008) = 1008
write(1, " \"XXX\" ]] && addJava \"-Dsbt.vers"..., 50) = 50
write(1, "}\n", 2)                      = 2
dup2(10, 1)                             = 1
fcntl(10, F_GETFD)                      = 0x1 (flags FD_CLOEXEC)
close(10)                               = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 69
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "1.7.0_111\n", 128)             = 10
read(3, 0x7fffc6ebfdd0, 128)            = -1 EINTR (Interrupted system call)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=69, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 69
wait4(-1, 0x7fffc6ebf648, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = -1 EINTR (Interrupted system call)
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
pipe([3, 4])                            = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 89
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, {0x4464c0, [], SA_RESTORER|SA_RESTART, 0x7fe1c2626cb0}, 8) = 0
close(4)                                = 0
read(3, "-Xms1024m -Xmx1024m -XX:Reserved"..., 128) = 72
read(3, 0x7fffc6ec0870, 128)            = -1 EINTR (Interrupted system call)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=89, si_status=0, si_utime=0, si_stime=0} ---
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 89
wait4(-1, 0x7fffc6ec00e8, WNOHANG, NULL) = -1 ECHILD (No child processes)
rt_sigreturn()                          = -1 EINTR (Interrupted system call)
read(3, "", 128)                        = 0
close(3)                                = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
stat("/usr/local/sbin/java", 0x7fffc6ec0670) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/java", 0x7fffc6ec0670) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/java", 0x7fffc6ec0670)  = -1 ENOENT (No such file or directory)
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=6368, ...}) = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=6368, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/usr/bin/java", X_OK)           = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=6368, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/usr/bin/java", R_OK)           = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=6368, ...}) = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=6368, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/usr/bin/java", X_OK)           = 0
stat("/usr/bin/java", {st_mode=S_IFREG|0755, st_size=6368, ...}) = 0
geteuid()                               = 0
getegid()                               = 0
getuid()                                = 0
getgid()                                = 0
access("/usr/bin/java", R_OK)           = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT CHLD], NULL, 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fe1c3050a10) = 95
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x4438a0, [], SA_RESTORER, 0x7fe1c2626cb0}, {SIG_DFL, [], SA_RESTORER, 0x7fe1c2626cb0}, 8) = 0
wait4(-1,

Required packages and commands to install

See our contributing instructions for assistance.

@thinksource - Thanks for reporting this! I am not seeing any problems in the trace. Is this a full trace, looks like some part is missing at the end?

@sunilmut  the missing end is because. the process is frozen here, even if I waiting for 10 minutes. it still frozen here.

This is on 14393 so it's just the usual #746. @thinksource if you're lucky  you might try export _JAVA_OPTIONS="-Xint", or upgrading to fast ring is your only option right now.

@therealkenc -Xint seems to be helping me- sbt no longer hanging but giving the following error:
java.io.IOException: Cannot run program "sh": error=12, Cannot allocate memory
Do you have any knowledge of this? I have not seen this here.

@therealkenc Thank you. Your trick works. Its very slow and it eats my CPU up but I think I'm good for a while.

@SRGOM I also get this error
java.io.IOException: Cannot run program "sh": error=12, Cannot allocate memory

when I try to run scala from bash too. did you figure it out?

I had the same problem two comments above you ;) I used @therealkenc 's technique but it was really slow. I did not explore a solution further.

One thing to remember here is that even if the WSL guys were able to convince the greater Windows powers to allow a backport of the Java signal fix, it doesn't really help Scala people a whole lot. You'll just run headlong into other surface the Node, Python, Go, dotNet, etc folks are hitting, and are being addressed steadily.  That IOException is almost certainly going to be a known issue. Post an strace and I'll tell you which one, but it's mostly an academic exercise. Best thing to do is sit tight until the next stable release.

#851 #746


Set per-user install for Windows

Codecov Report

Merging #68 (d8cbbd3) into master (87a74a1) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head d8cbbd3 differs from pull request most recent head 1061e83. Consider uploading reports for the commit 1061e83 to get more accurate results

@@           Coverage Diff           @@
##           master      #68   +/-   ##
=======================================
  Coverage   31.85%   31.85%
=======================================
  Files          62       62
  Lines       12044    12044
  Branches      196      196
=======================================
  Hits         3837     3837
  Misses       8011     8011
  Partials      196      196

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 87a74a1...1061e83. Read the comment docs.


anxs.postgresql dependency

Hi,
I'm trying to bring Debian support to this role #4.
But I'm confused, does this role must being able to install postgresql or must he rely to anxs ?
It would be fairly simpler if we were using anxs as mandatory dependency.
What do you think of that ?
Regards,
Clément

Hi @ClementJ35,
I'm not sure about that the ANXS role is the right decision. It seems that the maintenance of the role has a vary high latency (many open bugs and PRs). It does not support Postgresql 14 yet, so imho it's a NO-GO criteria.
The better way is to use the geerlingguy role for Postgres (https://github.com/geerlingguy/ansible-role-postgresql). It uses ansible modules for Postgresql and has fewer dependencies.

Hi @FLiPp3r90,
You may be right about anxs. I suggested this one because I saw it in the README. But geerlingguy's one is fine to me.
The real question is, do I implement the postgresql install ability in Debian support ? If not, I have to make postgresql installed by another role in CI tests.
Which lead to this : Do I split CI tests, one for Debian with postgresl dependency and the other for CentOS without dependency ?


PySolarmanV5Async reconnect timeout

The socket_timeout value should be used on reconnect, otherwise the connection attempt can be blocked forever.
Just reflecting previous change onto reconnect method. 😉

That move is because we don't need the running loop when it timeouts. 😉

I agree that the connectivity may be blocked in the meantime.

Currently if there are multiple calls of connect() (for any reason) w/o disconnecting first user risks running multiple _conn_keeper()s. Sure if you are thorough and careful you can easily avoid that but couldn't/shouldn't we do something about it to prevent that on the library level?

Currently if there are multiple calls of connect() (for any reason) w/o disconnecting first, user risks running multiple _conn_keeper()s. Sure if you are thorough and careful you can easily avoid that but couldn't/shouldn't we do something about it to prevent that on the library level?

I don't know why anyone would do this when we have reconnect(),  which is even called automatically when the auto_reconnect flag is used.


Working version at 10/16/2019

merged pull request #43 and #32
added google translate
fix async issues in handlers

In terms of the Mirrormirror.js and Index.js what are the differences in set up compared to the old instructions? I noticed theres a change in were you would have previous linked the AWS and skill. In terms of the new dependency, what linking is needed in their files. (Sorry if my terminology is hard to parse, I'm new to this.) Thank you!

In terms of the Mirrormirror.js and Index.js what are the differences in set up compared to the old instructions? I noticed theres a change in were you would have previous linked the AWS and skill. In terms of the new dependency, what linking is needed in their files. (Sorry if my terminology is hard to parse, I'm new to this.) Thank you!


DOH POST frequently aborts with TCP connection closed

DOH POST requests frequently leads to TCP connection closed
How to reproduce

start DNS over HTTPS service from examples

 dig +https example.org +tries=1

observed result
error log containing: TCP connection closed
reason
Buffer.toString('utf8', ...) containing non-UTF8 characters leads to error

I had intermittent 502 errors when using DoH and your PR fixed it. Thanks!


Item floated left fall to the end (right) of a container

When the sort items have float: left, and are dragged beyond their parent container, they are pushed to the end of the list.
This only happens appears to happen when the parent container height is larger than the items.
Example:
http://jsfiddle.net/4cee11sq/1/
or
http://jsbin.com/cidimezena/edit?html,css,js,output

Try dev-branch


chore: release  chart 0.5.0

:package: Staging a new release
0.5.0 (2024-12-18)
Features

chart: add user email verification (#35) (9393715)
chart: update default policies (#36) (b71fae2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carbynestack/thymus/releases/tag/chart-v0.5.0 :sunflower:


Using SVG URL in React rendering

Is there an easier way to be able to use these SVG files in React since relative URL strings do not work great when rendering a React component?
Importing ALL of the SVG files one by one seems like overkill and there may be cases where not all are needed.

Hey, I'm sorry but I don't have any experience with React, so I won't be able to solve your issue. However I'll leave it here so somebody else can help you out.
If you find a solution to your problem, please post it here so even others can benefit from it.

You can just use webpack and require for that:
{
        test: /\.svg$/,
        use: [
          {
            loader: 'file-loader'
          }
        ]
      },

const svg = require(cryptocoins-icons/SVG/${dynamicCoinCode.toUpperCase()}.svg);
const altSvg = require(cryptocoins-icons/SVG/${dynamicCoinCode.toUpperCase()}-alt.svg);


New package: Slackadays.Clipboard version <IP_ADDRESS>

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree

Thanks :)

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\cb.exe returned exit code: -1073741515

Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 897.)

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\cb.exe returned exit code: -1073741515

Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 897.)

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\cb.exe returned exit code: -1073741515

Automated error analysis suggests -1073741515 may mean STATUS_DLL_NOT_FOUND - possibly due to a dependency on Microsoft.VCRedist.2015+.x64 (or .x86).
(Automated response - build 897.)

Verify:

I couldn't find how to have the application display the version number.

Verify:

I couldn't find how to have the application display the version number.

It's shown in the help section. But no dedicated version flag is there as far as I'm aware.
cb help
cb -h
cb --help


Remove cloudinit disk and volume if cloudinit is not used

Pull Request Test Coverage Report for Build 205

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 55.242%

Totals

Change from base Build 156:
0.0%

Covered Lines:
284

Relevant Lines:
462

💛  - Coveralls

Comments of @suomiy have been addressed, we can merge. If something missing, let's fix it in a follow-up.


Readme code needs updating.

In the readme log.Hooks.Add(hook) should be log.AddHook(hook)

Thanks for pointing this!


Add Tracer API

Adds the Tracer API.
This is still work in progress as some dependencies are not yet specified but it should provide a starting point and avoid blocking other work.

Codecov Report

Merging #85 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #85   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           8      8
  Lines         121    121
  Branches        8      8
=====================================
  Hits          121    121

I think I've addressed everything. Please revisit.

Addressed minor edits.

@rochdev please re-review


Adopt prettier for older JS files

We currently have two contradicting styles in the same repository. Typescript uses prettier but the old storefront code follows a different set of rules. Let's make prettier the only accepted style and update our JS files to match it.

I want to try to help

@Julian-B90 Sorry for no earlier response, are you still interested in helping out?

@maarcingebala yes im interested :-)

Great!  They are all used either by the static storefront and the dashboard served by Django. To fix the styling you should use prettier and apply it on these JS files.

Do you want do integrate prettier with husky or eslint -plugin ?

I don't know Husky, but it seems similar to pre-commit that we use (see .pre-commit-config.yaml), so we could plug prettier there.

I have create a PR https://github.com/mirumee/saleor/pull/4791


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 2914 ms

Resolved: Bofrost.lu performance has improved in da3e26e after 8 minutes.


add arm64 arch

Signed-off-by: Ray Harris<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/19870

/approve


Slots getting filled with wrong values for unrelated intents

Rasa Core version:
0.8.5
Python version:
Python 3.5.4 :: Anaconda 4.2.0 (64-bit)
Operating system (windows, osx, ...):
Windows 10 Enterprise 64-bit
Issue:
I have an entity defined among the training examples of one particular intent and a slot defined in Rasa-Core's files to fill that particular entity. However the entity and slot values are getting populated with wrong values like 'hey' from unrelated intents like 'greet'. (The entity which I have defined using the training examples is not even remotely related to words like 'hey' by any means. They are nouns of technical nature, to be specific.)
What I would like to know is how can I tie an entity (or even a slot, as either should serve my purpose) to a particular intent so that it is not filled by random values from other user inputs which belong to different intents?
Thanks in advance...
Edit : I have tried looking for the answer for this issue and a few other problems I faced in the documentation but often will have little luck. I have felt that the documentation section, especially the section discussing Slots and Actions could be more elaborate explaining the concepts and idea as to what they are, apart from very simple examples which are present, Although I was able to find quite many pages written on success stories using RASA stack, there is close to zero pages which one can use to get an idea on the library apart from the official documentation.
Content of domain file (if used & relevant):

The entities and the slots are, by default, unrelated. You can define NLU objects that map a phrase to a certain intent and show example entities to be extracted, but that won't help you with your slot fills. When you say you have a slot defined in your Rasa files, do you mean in your domain? Once the slot is defined, slot-filling is shown through the stories.
For example:
...
* inform[issue=power]
  - slot{"issue":"power"}
  - action_search_kb
  - slot{"article":"This is an example of text that was retrieved from a knowledge base (kb). It was placed into a slot by action_search_kb. The following utterance can refer to it by using the {article} placeholder in the template."}
  - utter_kb_info
  - utter_more_help
* decline
  - utter_goodbye
...

What's going on in that example is power was extracted as the entity issue, and then a slot by the same name was filled with the same value. The slot could have been called anything. Creating stories that follow the format I've given establishes the association between an entity extraction and a slot-fill, but there needs to be lots of stories.

Thanks for your response. So that confirms that entity extraction and intent classification happens separately and this has to be taken care by me in the training examples or by custom logic using Action classes.
Could you also please look into the matter of having a more detailed documentation? Because for example, dispatecher.utter_button_message was one of the function which I wanted to use almost immediately after starting to work in a simple use case but I was not able to find any documentation.
I was able to continue after scanning through the source code for about 45 minutes but it would have been much helpful if there was more documentation from the devs. Thanks!

There's documentation here on how to add buttons to utterances in the template here https://core.rasa.com/domains.html#images-and-buttons
But yes, we'll keep that in mind.
I'll close this for now, let us know if you're having any more issues


Fix helm unit test duplicate 'key' value in secretKeyRef

This PR removes the duplicate key value in the secretKeyRef of the DD_DATABASE_PASSWORD environment variable. The change should keep the same behaviour as previously when it comes to default values but ensures that only a single key value exists.

@alles-klar Looking at the changes, I can't see why the unit-tests would fail - any idea why those and the Helm linting are failing.
I went ahead and re-ran both of those checks but the failures continued.

Maybe because the target branch was first the master branch?
@nnamzlas The PR should be based on the dev branch. Which branch did you use?

Maybe because the target branch was first the master branch? @nnamzlas The PR should be based on the dev branch. Which branch did you use?

I think you are on the right track, it should be dev->dev

Ohh, yeah, I did base this on the master branch. Created #7203 to use the correct source branch. I'll close this one and we can continue there :)


Add workflows for publishing runners

Issue https://github.com/mlperf/mlbox/issues/91

The CI will not succeed for this PR.

Just a nit on version numbers, do we want to do v0.0.x and graduate to a v0.1-alpha?

it can only be 0.0.7 or v0.1-alpha

v0.2 -> v0.2.x -> v1.0-alpha
@swiftdiaries

@swiftdiaries can I merge this ?


Highlighting error for C++ preprocessor statements

monaco-editor version: 0.10.1
Browser: Chrome
OS: Windows 10
A user of VSTS provided the following feedback regarding C++ syntax highlighting in Monaco:
Adding whitespaces after sharp (#) character is legal in C++. But in TFS and VSTS [Monaco] web console, such statements are not detected as preprocessor clause.
In Monaco:

In VS Code:

Fixed by https://github.com/Microsoft/monaco-languages/pull/28


SOFA

Updated archetypes and GDL with clinical interpretation as local variable.

Merged with: https://github.com/openEHR/gdl-guideline-models/pull/31


Unrecognized option 'c' Failed to set value 'copy' for option 'c'

Hello,
I see the following output:
ffmpeg version 0.8.18-6:0.8.18-0+deb7u1, Copyright (c) 2000-2014 the Libav developers
  built on Oct  4 2016 17:59:06 with gcc 4.7.2
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
[wav @ 0xb2bb20] max_analyze_duration reached
Input #0, wav, from '/opt/wav/filtered/1942_Dover_512kb.wav':
  Metadata:
    comment         : license:  http://creativecommons.org/licenses/publicdomain/
    date            : 1942
    title           : Dover - http://www.archive.org/details/1942_Dover
    encoder         : Lavf57.25.100
  Duration: 00:20:36.60, bitrate: 1536 kb/s
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Unrecognized option 'c'
Failed to set value 'copy' for option 'c'
ffmpeg version 0.8.18-6:0.8.18-0+deb7u1, Copyright (c) 2000-2014 the Libav developers
  built on Oct  4 2016 17:59:06 with gcc 4.7.2
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
[wav @ 0xc7ab20] max_analyze_duration reached
Input #0, wav, from '/opt/wav/filtered/1944-06-06_Eve_of_Battle_512kb.wav':
  Metadata:
    comment         : license:  http://creativecommons.org/licenses/publicdomain/
    date            : 1944
    title           : Eve of Battle, 1944/06/06 - http://www.archive.org/details/1944-06-06_Eve_of_Battle
    encoder         : Lavf57.25.100
  Duration: 00:19:28.61, bitrate: 1536 kb/s
    Stream #0.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Unrecognized option 'c'
Failed to set value 'copy' for option 'c'

I'll investigate in a moment what this means:
Unrecognized option 'c'
Failed to set value 'copy' for option 'c'

UPDATE 2016-12-24 10:06
Falls over with many WAV files in set. I whittled it down to one and managed to generate a dictionary.

Hi,
Thanks for letting us know. The thing is you're using an ffmpeg that's provided by libav-tools (which is a fork of ffmpeg itself). They broke compatibility while forking and from versions to versions as well!
Anyway I know where the problem is and can fix it, though I'd appreciate it if you could enter ffmpeg -ss 0 -t 30 -i input.wav output.wav (replace input.wav with that big audio file). Let me know what happens (There should be a new file created at the same directory whose length is 30seconds).

Hello, the copy issue turned out to be a non-issue, but it still crashes on my 5GB data set (I thought copy had something to do with it).
Since this is an issue with SimpleAudioIndexer, I'll open an issue there.


Cassava diseases

What are characteristics of the diseases?
spread, severity, toxicity
Do they affect the cassava root?
Where/When do the diseases appear
What should be done with the unhealthy plant?

completed


feat: add support to configure max message size

feat: #237 task 1
Note: merge and release https://github.com/numaproj/numaflow-go/pull/21 before reviewing this PR.

closed as discussed: it would be better to keep the default 4 MB limit for now as it's not a necessary use case. We can revisit this later when we really need this feature.


[BUG] - Allow Resources without Drafts to Show

Describe the bug
When defining drafts for one resource type, I have a second set of resources that don't have drafts. By adjusting the indexQuery() based from the README example I can no longer view the second resource type since it does not have drafts.
To Reproduce
Steps to reproduce the behavior:

Create two resources
On Resource 1 create drafts
On Resource 2 don't define drafts
Try to view Resource 2 and it will not show because childDrafts() does not exist.

Expected behavior
You should be able to view draft resources and non-draft resources without having an error thrown.
Screenshots

Environment(please complete the following information):

PHP version: 7.4.6
Laravel Nova Version: 3.6.0
Version 7

Nevermind. I was updating the wrong indexQuery(), which was what was causing the problem to show in one area and not another.


Add BinaryDecisionDiagrams.jl to Juice

Hi,
Sending this PR in preparation for https://github.com/Juice-jl/ProbabilisticCircuits.jl/pull/79.
Please let me know if the code's notation/naming doesn't follow Juice's.
Thanks

Overall looks comprenensive and well tested, thanks for the PR. Had a few questions inline, and also:
1. If I understand correctly here BDD defines structure and everything for itself seperate than LogicCircuits. Can we complile BDDs currently to LogicCircuits? Or will need to integrate that later. Just want to make sure we will add it later on if its not possible yet.

Yes, it's completely separate from LogicCircuits for now. I can write a compile function to convert it to a LogicCircuit as a placeholder until we can make BDD fully compatible with Juice.

2. At some point, I want to write some docs and tutorials for both compilation and SDD and BDDs at some point, what are the main user facing function for BDDs supported with this PR, want to keep track of them (other than the obvious load an save).
   `reduce!`, `restrict`, `shannon`, `eliminate`, `marginalize`, `mentions`, `print_nf`, `normal_form`. Did I miss any important one? I guess they all have examples on how to use in the tests? If yes that's enough for me later on.

There are some others: atmost, atleast, exactly, forget from the top of my head. We have some examples in the tests. But documentation is definitely lacking. I can add some proper doc on the BDD side. And then we can work together on the tutorials and docs.

Cool, thanks, we don't have to do those two in this PR. I add issues to track them.

@RenatoGeh Thanks for the rename, planning to merge this sometime tonight.


Partial fix for transaction priority

Partially fixing https://github.com/paritytech/substrate/issues/5672 and a recent audit comment about priorities being too eagerly correlated with fees.

As suggested, the priority set by the TransactionPayment is now fee / max(weight/maxWeigh, len/maxLen).
From other signed extensions, I removed the weight that was being set by CheckNonce as I think it was not needed.
The weight set by CheckWeight is almost the same, I just made it a bit more expressive. Previously, the minimum for operational was u64::max() / 2, now it is u64::max() * 3 / 4 plus whatever was the weight.

I am not super happy with this enum (FrameTransactionPriority) as it is. It is slightly better, but I had other intentions in mind when I first created it: A wrapper to make sure that if a priority is Normal(x), adding more Normal(y) to it would never exceed LIMIT. Furthermore, it would make sure that any variant created as Operational(x) would be LIMIT + x.
But this is not trivial because this addition logic is placed in primitives/runtime where SignedExtension is defined. And we cannot make assumptions about DispatchClass there. So I will leave this aspect of the issue open.

Current priority setting:

CheckWeight: Sets either weight or weight + LIMIT for Normal and Operational respectively
ChargePayment: Sets a value based on fee to maximise fee / resource.

I think this is sensible now, but alternatively we could merge them both into ChargePayment if anyone objects.

Current priority setting:

CheckWeight: Sets either weight or weight + LIMIT for Normal and Operational respectively
ChargePayment: Sets a value based on fee to maximise fee / resource.

I think this is sensible now, but alternatively we could merge them both into ChargePayment if anyone objects.

So overall the priority is going to be equal to:
priority = weight + is_op * LIMIT + fee * coeff

and the order of magnitude guarantee that it's sensible, right? I.e. for a case with weight being 10th of the max block weight: weight ~ 10^5, fee ~ 10^12, coeff ~ 10^1, so the fee * coeff factor should always be dominating the other ones?
I still think that at some point this should be tuneable on the runtime composition level (as in #5672), cause we shouldn't assume that fee is orders of magnitude greater than weight.

priority = weight + is_op * LIMIT + fee * coeff

I still don't understand why there is weight inside ? as far as I see this formula is better priority =  is_op * LIMIT + fee * coeff what do I miss ?

and the order of magnitude guarantee that it's sensible, right? I.e. for a case with weight being 10th of the max block weight: weight ~ 10^5, fee ~ 10^12, coeff ~ 10^1, so the fee * coeff factor should always be dominating the other ones?
I still think that at some point this should be tuneable on the runtime composition level (as in #5672), cause we shouldn't assume that fee is orders of magnitude greater than weight.

If you submit a transaction which takes full block but is small (this is doable by extrinsic which ask a maximum len of something onchain (like staking::force_unstake). Then coeff is 10^4 or 10^5. but seems fine anyway

so the fee * coeff factor should always be dominating the other ones?

Yeah, the weight is really there just in case someone is not using TransactionPayment.

I still think that at some point this should be tuneable on the runtime composition level (as in #5672), cause we shouldn't assume that fee is orders of magnitude greater than weight.

Indeed, but I couldn't figure out a trivial way for it in this PR.

I still don't understand why there is weight inside ? as far as I see this formula is better priority = is_op * LIMIT + fee * coeff what do I miss ?

The weight is really there just in case someone is not using TransactionPayment. As we came to conclude it will probably always be insignificant compared to fee given a proper WeightToFee.


Ability to configure poolboy options

At the moment, the Postgres workers pool defaults to 10. It would be nice to be able to change it.
I'd like to propose two keys: pool_size and pool_max_overflow.
Totally open to different names, and more than happy to do a PR for this.

@stuartc Agreed, this would be a useful addition. Will accept a PR if you want to make the change, otherwise I'll add these when I get the chance.
Have you seen the existing benchmarking suite? You can use that to get a rough idea which settings work best on your own hardware.
MIX_ENV=bench mix do es.reset, app.start, bench

I'm currently reworking the event persistence so that a single Elixir process is used for all event writing. This is to resolve the issue raised in #3. Work in progress is on the single-writer branch. This is a significant internal change, but there should be no impact to the consumer API.
The outcome of those changes is that the Poolboy configuration will only be used when reading from the database.

Right, thats great! I'll throw those config keys in shortly.
For the most part I think the defaults are fine, was a concern on Heroku as they limit you to
20 connections on basic packages - which mixed with other things is a pretty low limit.
At least in my case Elixir will turn the instance to dust before hitting that limit. :)

Thanks!


Clean up TS style/linting issues

R: @philipwalton
Fixes a few TypeScript style issues.

Coverage remained the same at 79.23% when pulling 6abc36ddee39738f83ceb2684201c4c7ba4092a9 on string-property-access into 1a6ec454fcde20130ede6be8c8c97b53bfaa1748 on master.


Bug: Slow index.add

Describe the bug
Index creation, vector addition and search loop is 90x slower than identical loop for faiss.
Reproduced in Google colab.
Steps to reproduce
import faiss
from usearch.index import Index

import numpy as np

# Set the seed for reproducibility
np.random.seed(42)

# Generate 500 random vectors of length 1024 with values between 0 and 1
vectors = np.random.rand(500, 1024)
vector=np.random.rand(1024)

%%timeit
# FAISS

indexf = faiss.IndexFlatL2(vectors.shape[-1])
indexf.add(np.array(vectors).astype(np.float32))
D, I = indexf.search(np.array([vector]), 50)
# 1.14 ms ± 4.34 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each)

%%timeit

index = Index(
    ndim=vectors.shape[-1], # Define the number of dimensions in input vectors
    metric='l2_sq', # Choose 'cos', 'l2sq', 'haversine' or other metric, default = 'ip'

   )
index.add(labels= np.arange(len(vectors)), vectors=vectors)
matches, distances, count = index.search(vector, 50, exact=True)

# 94.7 ms ± 20.9 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

Expected behavior
n/a
USearch version
latest pip
Operating System
ubuntu
Hardware architecture
x86
Which interface are you using?
Python bindings
Contact Details
No response
Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

Oh, I see! So IndexFlatL2 is not actually an index. It just appends vectors and brute-forces on search. On tiny collections with 1000 entries it makes. The kNN benchmarks are generally meaningful from 1M entries onwards. The right comparison there would be against IndexHNSW from FAISS.
That being said, we can probably automatically switch to exact search on tiny collections :) Will consider it in the next release.

he kNN benchmarks are generally meaningful from 1M entries onwards.

Our production use case is 500-50000 items, and the index has to be recreated every time. Every ms matters.
Is there a configuration where usearch can be faster than faiss on this use case

@vprelovac, probably. You can pass the additional exact=True for the' search' queries, which will switch to brute force.
As for construction, I've just added a task to the 1.0 TODO list.
Can you please provide more details about your setup?

What's the dimensionality of the vectors?
Which metrics do you use?
Which interface/platform do you prefer? Python, C++, WASM, ...

We may be able to adjust the implementation accordingly 🤗

512-1024
l2sq
python

This is the typical retrieval scenario in web search when LLMs are used.
I am passing exact=True for search as you see in my test code.

Hey, @vprelovac! I have implemented an exact search shortcut, which avoids index construction altogether. The interface is as simple as it gets:
from usearch.index import search, MetricKind

import numpy as np

# Set the seed for reproducibility
np.random.seed(42)

# Generate 500 random vectors of length 1024 with values between 0 and 1
vectors = np.random.rand(500, 1024).astype(np.float32)
vector = np.random.rand(1024).astype(np.float32)

search(vectors, vector, 50, MetricKind.L2sq)

I have repeated your benchmark on my MacBook Pro with the M2 CPU, and the performance is more than double of FAISS, even without having a BLAS dependency and no SimSIMD optimizations for the L2 metric. This is going to be merged into 1.0. More optimizations coming soon.

Hey, @vprelovac! I have implemented an exact search shortcut, which avoids index construction altogether. The interface is as simple as it gets:
from usearch.index import search, MetricKind

import numpy as np

# Set the seed for reproducibility
np.random.seed(42)

# Generate 500 random vectors of length 1024 with values between 0 and 1
vectors = np.random.rand(500, 1024).astype(np.float32)
vector = np.random.rand(1024).astype(np.float32)

search(vectors, vector, 50, MetricKind.L2sq, exact=True)

I have repeated your benchmark on my MacBook Pro with the M2 CPU, and the speed is higher than for FAISS, even without having a BLAS dependency and no SimSIMD optimizations for the L2 metric. This is going to be merged into 1.0. More optimizations coming soon.

:tada: This issue has been resolved in version 0.23.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

I can indeed confirm vastly better performance on my setup (by a factor 20). I can only say fantastic work! 🚀

How does one get the distances?

Those should be in matches.distances. This method also supports batch search, so you can search for many entries at once. It also supports an additional threads argument, to specify the amount of CPU resources to allocate.

I am glad it worked so well, @vprelovac! We are also preparing major releases in UCall, UForm, and UStore, so stay tuned and don’t hesitate to share feedback. Myself and the team will be happy to find new ways we can improve our projects 🤗

Thanks this solves the use case for small size, real time, vector based search.
Given another use case of say 1-5M items, whre index can be built before search - how would you approach that?

@vprelovac for that I would indeed use the Index class. I’d recommend experimenting with the dtype constructor argument. Try “i8”. If recall doesn’t drop, use that. Otherwise, use “f16”. It will be both space-efficient and fast. I am also experimenting with “i4”, which should work in case you use heavily quantized models. Will have more updates for this in the next couple of days. You can also control the balance between speed and accuracy using the connectivity constructor argument. Higher value, will probably lead to slower construction time, may result in higher accuracy, and will definitely use more memory.

@ashvardanian Sorry for reopening an old thread.
Finally had some more time to do testing with new version. Here is replication code.
Findings at the end.
!pip install faiss-cpu   git+https://github.com/vioshyvo/mrpt/  usearch

from usearch.index import search, MetricKind
import numpy as np
import mrpt
import faiss
import timeit
import matplotlib.pyplot as plt

def run_mrpt(vector, vectors, k=15):
  index = mrpt.MRPTIndex(vectors)
  res=index.exact_search(vector, k, return_distances=False)
  return res

def run_faiss(vector, vectors,k=15):
  index = faiss.IndexFlatL2(vectors.shape[-1])
  index.add(vectors)
  D, I = index.search(np.array([vector]), k)
  return I

def run_usearch(vector, vectors, k=15):
  matches= search (vectors, vector, k, MetricKind.L2sq, exact=True)
  return matches

sizes = [16, 24, 36, 54, 81, 122, 182, 273, 410, 615, 923, 1384, 2076]
#sizes = [3570, 4500, 5500, 6700, 7700, 8800, 9900, 11000, 15000,37481, 67466, 121440, 218591, 500000]

# Initialize lists to store the execution times
mrpt_times = []
faiss_times = []
usearch_times = []

number=20

# Benchmark the functions for each dataset size
for size in sizes:
    print(size)
    # Generate random dataset and query vector
    vectors = np.random.rand(size, 768).astype(np.float32)
    vector = np.random.rand(768).astype(np.float32)

    # Time the execution of each function
    mrpt_time = timeit.timeit(lambda: run_mrpt(vector, vectors, k=15), number=number)
    faiss_time = timeit.timeit(lambda: run_faiss(vector, vectors, k=15), number=number)
    usearch_time = timeit.timeit(lambda: run_usearch(vector, vectors, k=15), number=number)

    # Append the execution times to the corresponding lists
    mrpt_times.append(mrpt_time)
    faiss_times.append(faiss_time)
    usearch_times.append(usearch_time)

# Plot the results
plt.figure(figsize=(20, 12))
plt.plot(sizes, mrpt_times, label='MRPT', marker='o')
plt.plot(sizes, faiss_times, label='FAISS', marker='o')
plt.plot(sizes, usearch_times, label='usearch', marker='o')

plt.xlabel('Number of Vectors')
plt.ylabel('Execution Time (s)')
plt.title('Nearest Neighbor Search Performance')
plt.legend()
plt.grid()
plt.show()

What is interesting is that for small number of samples (<2000), Faiss is still the king of the hill.

Going above that, Faiss starts to lag sinigifcantly, and MRPT consistently comes on top.

For sure, @vprelovac! Thanks for sharing updates! Which hardware are you running on? Can you please check my SimSIMD library? I have upgraded it recently, but haven't merged into USearch yet.

This is just CPU on colab. Not sure what SimSIMD is, but if it affects the speed of usearch on CPU, it should be installed and used by default?

@vprelovac, I will double check in the next couple of days, in the meantime, here is what I mean by SimSIMD - it now has it's own light weight Python bindings. Here is a set of benchmarks for SimSIMD vs NumPy vs SciPy on a few different machines.

Also, if you are running on recent hardware, you may prefer to use half-precision floating point numbers.

@vprelovac, can you please check the newest release and please try half-precision as well 🤗

@ashvardanian Sure - Can you let me know how does the above code should change for that?

Here are the results I get running your script, @vprelovac:

If I understand correctly, MRPTIndex is just a wrapper around the C++ Eigen library. It's a pretty good library for numeric computations. It might be more accurate to compare it to the faiss.IndexFlatIP and the usearch.MetricKind.IP.

All three systems support batch queries. Both FAISS and USearch support half-precision. With half-precision FAISS becomes much slower, but we retain good performance. Here are the charts I'm getting now, enabling half-precision in USearch, which also leads to 2x lower memory consumption.

Here is the refreshed script:
!pip install faiss-cpu   git+https://github.com/vioshyvo/mrpt/  search

from usearch.index import search, MetricKind, ScalarKind
import numpy as np
import mrpt
import faiss
import timeit
import matplotlib.pyplot as plt

def run_mrpt(vector, vectors, k=15):
  index = mrpt.MRPTIndex(vectors)
  res=index.exact_search(vector, k)
  return res

def run_faiss(vector, vectors,k=15):
  index = faiss.IndexFlatIP(vectors.shape[-1])
  index.add(vectors)
  D, I = index.search(vector, k)
  return I

def run_usearch(vector, vectors, k=15):
  matches= search (vectors, vector, k, MetricKind.IP, exact=True)
  return matches

from usearch.compiled import hardware_acceleration

print("USearch hardware acceleration:", hardware_acceleration(dtype=ScalarKind.F16, ndim=768, metric_kind=MetricKind.IP), hardware_acceleration(dtype=ScalarKind.F32, ndim=768, metric_kind=MetricKind.IP))

count_dataset = [16, 24, 36, 54, 81, 122, 182, 273, 410, 615, 923, 1384, 2076]

# Initialize lists to store the execution times
mrpt_times = []
faiss_times = []
usearch_times = []

k = 10
count_repetitions = 100
count_queries = 10

# Benchmark the functions for each dataset size
for size in count_dataset:
    print(size)
    # Generate random dataset and query vector
    dataset = np.random.rand(size, 768).astype(np.float32)
    queries = np.random.rand(count_queries, 768).astype(np.float32)

    dataset_f16 = np.random.rand(size, 768).astype(np.float16)
    queries_f16 = np.random.rand(count_queries, 768).astype(np.float16)

    # Time the execution of each function
    mrpt_time = timeit.timeit(lambda: run_mrpt(queries, dataset, k=k), number=count_repetitions)
    faiss_time = timeit.timeit(lambda: run_faiss(queries, dataset, k=k), number=count_repetitions)
    usearch_time = timeit.timeit(lambda: run_usearch(queries_f16, dataset_f16, k=k), number=count_repetitions)

    # Append the execution times to the corresponding lists
    mrpt_times.append(mrpt_time)
    faiss_times.append(faiss_time)
    usearch_times.append(usearch_time)

# Plot the results
plt.figure(figsize=(20, 12))
plt.plot(count_dataset, mrpt_times, label='MRPT', marker='o')
plt.plot(count_dataset, faiss_times, label='FAISS', marker='o')
plt.plot(count_dataset, usearch_times, label='usearch', marker='o')

plt.xlabel('Number of Vectors')
plt.ylabel('Execution Time (s)')
plt.title('Nearest Neighbor Search Performance')
plt.legend()
plt.grid()
plt.show()


Improvements at Github Action: improve release names and add checksum

Motivation
Closes issue #5230
Closes PR #5234
Changes
Adjust the release pipeline to have better artifact names (more explicit From Windows to go-spacemesh-v1.2.4-win-amd64.zip ...)
And add the sha256 of each artifact generated and publish in this release
Test Plan
manual testing
TODO

[ ] Update changelog as needed

Did I need to add those changes at the Change log?

Did I need to add those changes at the Change log?

I don't think changes to our CI need to be mentioned in the Changelog, at least I've only ever mentioned bug fixes and new features 🙂

bors merge


Add [Macias] #wallet GDCANH…FHZY75

Address: GDCANHH6NNL4NKVDWXDO62ARLXPQS6TIQZE322F2P3WH7OF26ZFHZY75
Tags: wallet
Title: Macias
Requested by @macias131987

@Macias131987 Can you give more detail about what you are requesting?

@Macias131987 If you have more information about this issue please feel free to reopen it. You have not posted any new information for over a week so it is being closed.
Looking Towards The Future With You,
Rob


Investigate which frontend framework to use

Investigate the following options as a frontend framework/tech stack:

Flutter: https://docs.flutter.dev/codelabs
React(Native): https://reactjs.org/tutorial/tutorial.html
JS/HTML/CSS:

https://developer.mozilla.org/en-US/docs/Learn/JavaScript
https://developer.mozilla.org/en-US/docs/Learn/HTML
https://developer.mozilla.org/en-US/docs/Learn/CSS

Things you should try to do on each:

Make sure you can view the file on a browser so you can see your changes live

Bonus points if you can get a webserver running to view it on localhost

Create a button that increments a counter on the screen
Use Pexel to get an image and a video and display the image and video

Use a button to get a random image and a random video

All projects should be checked into a personal repository. For example, have a repository https://github.com/spencerreeves/snippets for this type of thing.

JS/HTML/CSS : https://github.com/klooopmoo/snippets/tree/main/VanillaJS
React: https://github.com/klooopmoo/snippets/tree/main/React
Need further review if I would like to use this for the front end. I request a new ticket to test out API calls from the backend to the front end.

After review, I decided to use Flutter over Vanilla JS and React. The higher level of abstraction makes it easier to develop and to learn.


Fix names

Codecov Report
Base: 72.15% // Head: 65.05% // Decreases project coverage by -7.09% :warning:

Coverage data is based on head (f8ef4c7) compared to base (77a32bf).
Patch coverage: 53.18% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #227      +/-   ##
============================================
- Coverage     72.15%   65.05%   -7.10%
- Complexity      399      502     +103
============================================
  Files            70       96      +26
  Lines          1232     1763     +531
  Branches        125      200      +75
============================================
+ Hits            889     1147     +258
- Misses          311      561     +250
- Partials         32       55      +23

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

.../address/logic/commands/AddAppointmentCommand.java
0.00% <0.00%> (ø)

...dress/logic/commands/DeleteAppointmentCommand.java
0.00% <0.00%> (ø)

...seedu/address/logic/commands/FilterTagCommand.java
0.00% <0.00%> (ø)

...du/address/logic/commands/SelectPersonCommand.java
0.00% <0.00%> (ø)

...java/seedu/address/logic/commands/SortCommand.java
0.00% <0.00%> (ø)

...ress/logic/parser/AddAppointmentCommandParser.java
0.00% <0.00%> (ø)

...s/logic/parser/DeleteAppointmentCommandParser.java
0.00% <0.00%> (ø)

...u/address/logic/parser/FilterTagCommandParser.java
0.00% <0.00%> (ø)

...ddress/logic/parser/SelectPersonCommandParser.java
0.00% <0.00%> (ø)

... and 43 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


E2 event keyPressed triggers mouse wheel inputs twice

The E2 event keyPressed triggers any mouse wheel input twice a good 90% of the time.

Yes, because it triggers on up and down, you'll need to pick one to check for. Maybe I should separate it into keyPressed and keyReleased to be more clear.

It triggers both up and down twice from a single scroll action.

After some testing it seems to be a problem that comes from the PlayerButtonDown and PlayerButtonUp hooks by default even though the pod controller uses the same hook and doesn't have this problem.

Ah, it's a completely undocumented hook afaik so I had no idea :p
Couldn't even find info on it in the sandbox gamemode, dunno where it comes from


[bug]: Inpainting dont work whit all models whit images not generated by ai

Is there an existing issue for this?

[x] I have searched the existing issues

OS
Windows
GPU
cpu
VRAM
8
What happened?
I try to enlarge images and when I finish doing it the image comes out blurry and with a yellow and black exclamation mark and when I use the impainting model it hangs without doing anything

Screenshots

Additional context
before it worked fine, i didn't touch anything
when i use the model of inpainting 1.5 in invoke.bat show this
Could not generate image.

Usage stats:
0 image(s) generated in 1.97s
Max VRAM used for this generation: 5.55G. Current VRAM utilization: 5.13G
Max VRAM used since script start:  5.55G

Contact Details
No response

Is there an existing issue for this?

[x]  I have searched the existing issues

OS
Windows
GPU
cpu
VRAM
8
What happened?
I try to enlarge images and when I finish doing it the image comes out blurry and with a yellow and black exclamation mark and when I use the impainting model it hangs without doing anything
Screenshots

Additional context
before it worked fine, i didn't touch anything
Contact Details
No response

I have encountered this error many times, I do not know if the webui itself set up any underage mechanism, I want to know how to remove the restrictions, I do not want to see the yellow exclamation mark

the problem is active

I also have the same problem, which is occurring today a lot more frequently than before.

I had the same problem. The reason it was happening to me is because i was using an image with an incorrect dimension. so i changed the image i was using for ( image to image, and unified canvas modes ) to be 512px by 512px and now everything is working just fine. ( no more yellow triangles ) @0TREV0R @martjay i hope this helps

Not all images are suitable for square composition. I have never encountered this strange problem when using SD webui

I have encountered this error many times, I do not know if the webui itself set up any underage mechanism, I want to know how to remove the restrictions, I do not want to see the yellow exclamation mark

gays, Have you solved it now?

on the latest 3.0.1post3 it doesn't accept any inpainting models. normal models work fine but switching to an inpaint model and get this message:
[2023-08-05 03:47:39,756]::[InvokeAI]::ERROR --> Traceback (most recent call last):
File "C:\Users\TCS\invokeai.venv\lib\site-packages\invokeai\app\services\processor.py", line 86, in __process
outputs = invocation.invoke(
File "C:\Users\TCS\invokeai.venv\lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\Users\TCS\invokeai.venv\lib\site-packages\invokeai\app\invocations\latent.py", line 334, in invoke
unet_info = context.services.model_manager.get_model(
File "C:\Users\TCS\invokeai.venv\lib\site-packages\invokeai\app\services\model_manager_service.py", line 364, in get_model
model_info = self.mgr.get_model(
File "C:\Users\TCS\invokeai.venv\lib\site-packages\invokeai\backend\model_management\model_manager.py", line 491, in get_model
model_context = self.cache.get_model(
File "C:\Users\TCS\invokeai.venv\lib\site-packages\invokeai\backend\model_management\model_cache.py", line 200, in get_model
model = model_info.get_model(child_type=submodel, torch_dtype=self.precision)
File "C:\Users\TCS\invokeai.venv\lib\site-packages\invokeai\backend\model_management\models\base.py", line 286, in get_model
raise Exception(f"Failed to load {self.base_model}:{self.model_type}:{child_type} model")
Exception: Failed to load sd-1:main:unet model
[2023-08-05 03:47:39,761]::[InvokeAI]::ERROR --> Error while invoking:
Failed to load sd-1:main:unet model


Algorithms library

Sorting and searching (covered by find?)

C: https://en.cppreference.com/w/c/algorithm

Merge sort as the most functional-friendly sorting algo?


Fixate port of redirect url

In https://github.com/giantswarm/devctl/issues/1047 i proposed a docker image which contains all required tools and also kubectl-gs.
In order to authenticate from within a docker container against the dex at a management cluster, one has to manually copy the URL (because there is no browser to open and kubectl-gs login will state something like Couldn't open the default browser. Please access the URL above to continue logging in.) into a browser on the host, which will then use the redirect url from the URI to redirect back somewhere at localhost:randomport.
Example URL:
https://dex.mc.customer.gigantic.io/auth?access_type=offline&client_id=ymmv&redirect_uri=http%3A%2F%2Flocalhost%3A**38483**%2Foauth%2Fcallback&response_type=code&scope=openid+profile+email+groups+offline_access+audience%3Aserver%3Aclient_id%3Adex-k8s-authenticator&state=0xdeadbeef%3D&connector_filter=customer

The port seems to be chosen manually, which makes it hard to map into the docker container to respond, so login is currently not possible on machines where not all ports from docker containers are exposed automatically (like windows and mac i assume).
Is it possible to configure dex to use a fixed port?

Ok nevermind, there is the device auth flow which can be used in this case, described here so the following works fine withing docker
kubectl gs login --device-auth https://api.mc.customer.gigantic.io/


x/pkgsite:

What is the URL of the page with the issue?
https://github.com/CodingDog-CD/sorting
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Screenshot

What did you do?

added MIT license to my project.
tag the current commit: git tag v0.1.1-beta.1
push the version into github git push origin v0.1.1-beta.1
published my golang module GOPROXY=proxy.golang.org go list -m<EMAIL_ADDRESS>
What did you expect to see?
Documentation shown in module page instead of the message "Documentation not displayed due to license restrictions."
What did you see instead?
Documentation not displayed due to license restrictions.
See our license policy.

patience, plus caching on mutable references like latest<EMAIL_ADDRESS>

Okay... Sorry for my impatience. Thanks a lot.