Implement UnzipperIterDataPipe

🚀 The feature
Add unzip as requested by both Vision and Text teams.
dp = IterableWrapper([(1, 2, 3), (4, 5, 6), (7, 8, 9)])
dp0, dp1, dp2 = dp.unzip()

list(dp0)  # [1, 4, 7]

We may be able to reuse the logic of _ChildDataPipehttps://github.com/pytorch/pytorch/blob/fa38e93fe98bfcbdb11288ecfbe5af5c264aabb3/torch/utils/data/datapipes/iter/combining.py#L145
Support tuple, list maybe dict?
Motivation, pitch
It's way better than letting users to use the following script to mimic unzip
dp = IterableWrapper([(1, 2, 3), (4, 5, 6), (7, 8, 9)])
def expand_fn(data):
    index_data = []
    for i, d in enumerate(data):
        index_data.append((i, d))
    return index_data

dp = dp.flatmap(expand_fn)

def classify(data):
    return data[0]

dp0, dp1, dp2 = dp.demux(classify)

...

Alternatives
No response
Additional context
Note: We need to take extra care for these demux, fork, and future unzip.
If users do dp0, dp1, _ = dp.unzip(), this pipeline may be unserializable after iteration as the third output DataPipe is never executed.

cc: @NivekT Do you want to work on it since demux and fork are both implemented by you?

If users do dp0, dp1, _ = dp.unzip()

Does it make sense to add a ignore_idx: Union[int, Tuple[int, ...] which allows unzip to skip over certain elements within the inner dp? This avoids the problem, so you'd have something like
dp0, dp1 = dp.unzip(ignore_idx=2) # or dp.unzip(ignore_idx=(2,))

If users do dp0, dp1, _ = dp.unzip()

Does it make sense to add a ignore_idx: Union[int, Tuple[int, ...]] which allows unzip to skip over certain elements within the inner dp? This avoids the problem, so you'd have something like
dp0, dp1 = dp.unzip(ignore_idx=2) # or dp.unzip(ignore_idx=(2,)), dp.unzip(ignore_idx=(-1,)), ...

Yeah. Probably doable.

cc: @NivekT Do you want to work on it since demux and fork are both implemented by you?

I will add it to my list of TODOs.


libmikmod default installation missing dll

Hi,
after normal installation of libmikmod vcpkg install libmikmod (no errors), the bin folder is missing mikmod.dll in spite of it being build during the compilation (dll is present in the build folder).

Hi @plbpietrz , thanks for reporting this issue!
I've fixed this issue just now. Please update and rebuild libmikmod.
Thanks.


Add several Python api-doc examples

Added examples for several Python API functions.

I see, sorry I was not aware of that. Is there any way I can make the examples appear only in the Python API docs? Then I could perhaps try to amend it. Thank you for your feedback.

See 8582a58

@tomasvr Can you please check reviewer comments and keep us posted. Thanks!

@gbaned I removed the examples from the general API for now. I'm currently preoccupied with new courses so I have to leave the other examples for now.

Can you fix the Ubuntu CPU test, please?

@tomasvr Can you please check @mihaimaruseac comments and keep us posted. Thanks!

I am not sure what is causing the Ubuntu CPU to fail. I simply copied the results for the example calculation straight from the actual output of my terminal itself.

@gbaned I believe it's fixed now.

@tomasvr Can you please address Ubuntu Sanity errors? Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this PR still valid? Assigning the stalled label. Please comment to reassure me that this is still being worked on.


Fix latestVersion returning a version string not in the given version list

Fixes badges/shields#337
The reason my repository does not work with github release badge is because the "latestVersion" call modifies the version strings from "x.x" to "x.x.0" - after comparison it then returns the modified version. However, to check for prerelease flag, it tries to find the modified version in the version list and of course, does not find it, and errors. This results in a "none" release badge.
This PR fixes latestVersion so after it finds the latest version, it always returns the original string, not the modified one.
Will raise another PR to utilise the /latest API in GitHub release badge shortly - this next PR will likely make this irrelevant in the context of #377 - but I expect the issue addressed by this PR may affect other places unknowingly.

Thanks a lot for going the extra mile and fixing this!


Avahi on trusty LXD container does not publish services, but does in xenial

Avahi on a trusty LXD container does not publish hostname or any service, avahi-browse -at returns empty, but avahi on a xenial LXD container works fine, as does avahi on a LXC trusty container.
Same result if the container is from lxd-images or lxd remote, avahi runs with no obvious errors but does not publish hostname (avahi-browse -at returns empty).
Steps to reproduce:
$ lxc remote add images images.linuxcontainers.org
$ lxc launch images:ubuntu/trusty/amd64 trusty
$ lxc exec trusty -- apt-get install avahi-daemon avahi-utils
$ lxc restart trusty
$ lxc exec trusty -- avahi-browse -at

Same here (from a xenial host), but it works for a xenial image from the same xenial host.

That'd be an avahi bug. IIRC avahi used to try to do something which would exceed normal ulimits, I'm assuming the code was fixed upstream at some point.
I'd recommend you file an Ubuntu bug against avahi to have whatever fix was pushed in newer releases backported to trusty.

hmm, weird, if you referring to the rlimit-nproc=3 in /etc/avahi/avahi-daemon.conf, I've been carrying commenting the line out for years as I ran into the issue with lxc containers but trying again recently, leaving the line active, it seems to be useless now.
The issue doesn't occur when using lxc containers so if the bug is in avahi it's only triggered with lxd containers... not sure how to dig from that though.

So there is a difference in /var/log/syslog when avahi-daemon starts.
Working lxc container:
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Found user 'avahi' (UID 106) and group 'avahi' (GID 111).
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Successfully dropped root privileges.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: avahi-daemon 0.6.31 starting up.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Successfully called chroot().
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Successfully dropped remaining capabilities.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: No service file found in /etc/avahi/services.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::216:3eff:fe7e:ad07.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: New relevant interface eth0.IPv6 for mDNS.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Joining mDNS multicast group on interface eth0.IPv4 with address <IP_ADDRESS>.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: New relevant interface eth0.IPv4 for mDNS.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Network interface enumeration completed.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Registering new address record for fe80::216:3eff:fe7e:ad07 on eth0.*.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Registering new address record for <IP_ADDRESS> on eth0.IPv4.
Jan  6 12:30:51 sca-trusty-codetree avahi-daemon[2110]: Registering HINFO record with values 'X86_64'/'LINUX'.
Jan  6 12:30:52 sca-trusty-codetree avahi-daemon[2110]: Server startup complete. Host name is sca-trusty-codetree.local. Local service cookie is<PHONE_NUMBER>.
Non-working lxd container:
Jan  6 11:26:15 trusty avahi-daemon[2988]: Found user 'avahi' (UID 106) and group 'avahi' (GID 111).
Jan  6 11:26:15 trusty avahi-daemon[2988]: Successfully dropped root privileges.
Jan  6 11:26:15 trusty avahi-daemon[2988]: avahi-daemon 0.6.31 starting up.
Jan  6 11:26:15 trusty avahi-daemon[2988]: Successfully called chroot().
Jan  6 11:26:15 trusty avahi-daemon[2988]: Successfully dropped remaining capabilities.
Jan  6 11:26:15 trusty avahi-daemon[2988]: No service file found in /etc/avahi/services.
Jan  6 11:26:15 trusty avahi-daemon[2988]: Registering HINFO record with values 'X86_64'/'LINUX'.
Jan  6 11:26:15 trusty avahi-daemon[2988]: Server startup complete. Host name is trusty.local. Local service cookie is<PHONE_NUMBER>.
Could it be that "Network interface enumeration" (whatever that means) is not allowed ?

Did you compare lxd to unprivileged lxc containers or to privileged lxc containers?
I expect this behavior from avahi to only occur with unprivileged containers which are the default for lxd but not for lxc.

unprivileged indeed !
I should have thought about checking that.
Any idea about allowing what avahi needs for unprivileged containers or is this hopeless ?
Hmm, I suspect a better understanding about that need is required to reply ;)
Is there a place I can look to find what that need is ? Some other log file ?

In case the above wasn't clear: avahi works with an lxc container created with lxc-create (privileged by default IIIUC) but doesn't with an unprivileged container (lxd default which I prefer to use as much as possible).

From what I remember, it's avahi attempting to set a much higher than normal ulimit, only real root can do that and the kernel will prevent anyone else from attempting to do so.
So that means there's nothing LXC or LXD can really do about it, the right fix is to have avahi cope with not being real root and move on (which it appears is what they've done in recent releases).

As for finding what avahi is doing, running it under strace should do the trick, assuming it exits reasonably quickly after failure.

Thanks for confirming, I was realizing that indeed avahi did fix something since it works in xenial.


[FLINK-35931][table] Add the built-in functions REGEXP_COUNT & REGEXP_EXTRACT_ALL & REGEXP_INSTR & REGEXP_SUBSTR

What is the purpose of the change
Add the built-in functions REGEXP_COUNT & REGEXP_EXTRACT_ALL & REGEXP_INSTR & REGEXP_SUBSTR.
Examples:
> SELECT REGEXP_COUNT('Steven Jones and Stephen Smith are the best players', 'Ste(v|ph)en');
 2
> SELECT REGEXP_COUNT('Mary had a little lamb', 'Ste(v|ph)en');
 0

> SELECT REGEXP_EXTRACT_ALL('100-200, 300-400', '(\\d+)-(\\d+)', 1);
 [100, 300]

> SELECT REGEXP_INSTR('Steven Jones and Stephen Smith are the best players', 'Ste(v|ph)en');
 1
> SELECT REGEXP_INSTR('Mary had a little lamb', 'Ste(v|ph)en');
 0

> SELECT REGEXP_SUBSTR('Steven Jones and Stephen Smith are the best players', 'Ste(v|ph)en');
 Steven
> SELECT REGEXP_SUBSTR('Mary had a little lamb', 'Ste(v|ph)en');
 NULL

Brief change log

FLINK-35931
FLINK-35932
FLINK-35962
FLINK-35963

Verifying this change
RegexpFunctionsITCase, a new test class for regex functions, created to keep StringFunctionsITCase clean.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

@flinkbot run azure

@flinkbot run azure


soapui fix - program hangs on first launch

Due diligence:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.
[x] If sha256 changed but the version didn't, included public confirmation by developer.

See StackOverflow answer about problem with running SOAP UI after installing. This automates that fix, with slightly future-proof checks in case it is fixed upstream.
Also includes some configuration file additions to zap, since there was a missing zap stanza.

I can't reproduce any issues with launching soapui, is this something we should be fixing here if it isn't a consistent problem?

Ping @TheLonelyGhost

Closing in favour of https://github.com/caskroom/homebrew-cask/pull/37594.


Add beforeRow and afterRow

Q
A

Is bugfix?
no

New feature?
yes

Breaks BC?
no

Tests pass?

Fixed issues

Usage
ListView::widget([
    'dataProvider' => $dataProvider,
    'itemOptions' => ['class' => 'col-md-4'],
    'beforeRow' => function($model, $key, $index) {
        if ($index % 3 === 0) {
            return '
';
        }
    },
   'afterRow' => function($model, $key, $index) use($dataProvider) {
        if ($index % 3 === 2 || $index === $dataProvider->count - 1) {
            return '
';
        }
    },
]);

I have no objections merging it. @yiisoft/core-developers opinions?

https://github.com/yiisoft/yii2/blob/master/framework/grid/GridView.php#L113-L119

Looks good to me, need a CHANELOG entry.

@yiisoft/core-developers 2.0.10 or 2.0.11?

I am for 2.0.11.
ListView is not covered by unit tests. It is better to move this fix to the beginning of bew milestone.

ListView is not covered by unit tests
Im willing to fix that

Merged with some adjustments: https://github.com/yiisoft/yii2/commit/0148325426ea495cbfcc7170ed8c45a0bccfbb1e

Thank you!


Make FieldArray an Array itself

Make FieldArray class an array itself. This is a lot more natural than the current behaviour:
const fields = new FieldArray([new Field]);

// This is confusing
console.log(fields.fields[0]);

Marking this as won't fix because the way mobx works is by replacing native arrays with ObservableArray.


If You'd Rather Not Install Before Running

If you are having installation problems and just want to run the project without worrying about your environment issues.
I ran this project on replit so you don't have to setup on your own computer before testing.
METAGPT REPLIT
You can fork it here and run the commands from the shell.
Make sure before entering your prompt and running the project you do the following:

Edit the API_KEY value under config>key.yaml

Open the Shell

Run the program:

The output will be under workspace>your_project_name (based on whatever prompt you gave it).

Hi follow me on onlyfans :

Good job!
There is a similar job at MetaGPT quickstart.

Thanks! I didn't realize that other resource existed. The more ways for people to experience these awesome tools the better. Thanks for building such a cool project @geekan.

I'd save my API key in Replit secrets, it gets pulled in from the environment without having it visible to the rest of your team.

Good call! Thank you for the heads up. I thought I had deleted it in all the places it needed to be deleted.On Aug 9, 2023, at 6:27 AM, BCM @.***> wrote:
I'd save my API key in Replit secrets, it gets pulled in from the environment without having it visible to the rest of your team.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Couldn't make it work from the fork. Got this ModuleNotFoundError
~/MetaGPT$ python startup.py "Write a cli snake game based on pygame" Traceback (most recent call last): File "/home/runner/MetaGPT/startup.py", line 7, in from metagpt.roles import Architect, Engineer, ProductManager, ProjectManager, QaEngineer File "/home/runner/MetaGPT/metagpt/roles/init.py", line 9, in from metagpt.roles.role import Role File "/home/runner/MetaGPT/metagpt/roles/role.py", line 15, in from metagpt.config import CONFIG File "/home/runner/MetaGPT/metagpt/config.py", line 13, in from metagpt.utils.singleton import Singleton File "/home/runner/MetaGPT/metagpt/utils/init.py", line 9, in from metagpt.utils.read_document import read_docx File "/home/runner/MetaGPT/metagpt/utils/read_document.py", line 9, in import docx File "/home/runner/MetaGPT/venv/lib/python3.10/site-packages/docx.py", line 30, in from exceptions import PendingDeprecationWarning ModuleNotFoundError: No module named 'exceptions'

1

I get the following error when I go to your replit:
File ".gitignore", line 4
pycache/
^
SyntaxError: invalid syntax
It looks like a neat way to try it, thanks for sharing! I am looking forward to testing it out.

Due to the lack of updates or replies by the user for a long time, we will close it. Please reopen it if necessary.


Do we need following command in deployment steps?

kubectl config set-context --current --namespace ${KF_PROJECT}

I'm trying to deploy kubeflow 1.3 via gcp-blueprints and ran into the following which puzzled me as I wasn't expecting to see my GCP project as a namespace - maybe it is due to missing the step you listed above
edibice@MD1-1029014MBP kubeflow % make apply
cluster_name_regex=^[a-z][-a-z0-9]{0,22}[a-z0-9]$
The kubeflow cluster name "kubeflow13" is valid.
PROJECT=blah-blah-blah NAME=kubeflow13 ./hack/check_domain_length.sh
Build directory: ./build
Component path: common/cnrm
Apply component resources: common/cnrm
Found Makefile, call 'make apply' of this component Makefile.
echo ./build
./build
/Library/Developer/CommandLineTools/usr/bin/make apply-cnrm build_dir=./build
rm -rf ./build && mkdir -p ./build
kustomize build -o ./build ./
kubectl --context=kubeflow13-mgmt apply -f ./build
Error from server (NotFound): error when creating "build/compute.cnrm.cloud.google.com_v1beta1_computeaddress_kubeflow13-ip.yaml": namespaces "blah-blah-blah" not found

Thanks @edi-bice-by! Would you like to check whether you have such namespace in management cluster context?
kubectl get namespace --context=kubeflow13-mgmt

I didn't suggest to remove the command: kubectl create namespace "${KF_PROJECT}", but i am wondering if setting the current namespace is necessary.

I did run that command just prior to your reply.
Actually grepped the whole repo and did not find it so I assumed it had not ran.
edibice@MD1-1029014MBP gcp-blueprints % grep 'set-context' -r *
kubeflow/hack/create_context.sh:kubectl config set-context --current --namespace=${NAMESPACE}
management/hack/create_context.sh:kubectl config set-context --current --namespace=cnrm-system
packages/management/hack/create_context.sh:kubectl config set-context --current --namespace=cnrm-system
tests/management/Makefile:	kubectl config set-context --current --namespace $(MANAGED_PROJECT)
After running that command it changed the namespace from cnrm-system to saas-ml-dev
The saas-ml-dev namespace though does not show when running your command
edibice@MD1-1029014MBP management % kubectl get namespace --context=kubeflow13-mgmt
NAME                              STATUS   AGE
cnrm-system                       Active   20h
configconnector-operator-system   Active   20h
default                           Active   20h
kube-node-lease                   Active   20h
kube-public                       Active   20h
kube-system                       Active   20h

What you have explained confirms that you should run the following two commands from https://www.kubeflow.org/docs/distributions/gke/deploy/deploy-cli/#configure-kubeflow:
kubectl config use-context "${MGMTCTXT}"
kubectl create namespace "${KF_PROJECT}"

As long as you have done that, kubectl get namespace --context=kubeflow13-mgmt should show the namespace with "${KF_PROJECT}" name.

After this, make apply should be successful for you.

Feel free to reopen if you still face this issue.


refactor: remove unnecessary joins in getUserByFirebaseId method

Now, from synced develop branch:

These change tries to solve the issue #454

Refactored the getUserByFirebaseId function to only fetch the user data, removing unnecessary joins/relations.

Searched for any functions that rely on req['userEntity'] to ensure no existing functionality is broken. I found no instances of such functions, so it seems ok.

Ran all tests and confirmed they passed successfully

Perfect! Thanks @reidn3r


Travis fix: bump clang version from 3.8 to 6.0

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
This PR should fix the travis issue we are having since the introduction of TBB. Lets first wait if it fixes it, but it should.
Sidenote: Not sure we even need Travis at all anymore. See https://github.com/stan-dev/cmdstan/issues/728#issuecomment-532400217
But that is certainly not my call to make.
Intended Effect
fix travis
How to Verify
Side Effects
/
Documentation
/
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Rok Češnovar
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

@wds15 do you have any other idea on how to fix this Travis thing (see below)? It looks like its not compiling tbb with -std=c++1y. I tried setting it the flag for the entire job, but then compiling sundials C files throws an error that you cant use the same flag for .c files...
make[1]: Leaving directory `/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb'
touch lib/stan_math/lib/tbb/version_tbb_2019_U8
tbb_root="/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8" CXX="clang++-3.8" CC="clang-3.8" LDFLAGS="-Wl,-L,"/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb" -Wl,-rpath,"/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb"" make -C lib/stan_math/lib/tbb -r -f "/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbb" compiler=clang cfg=release stdver=c++1y
make[1]: Entering directory `/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb'
/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/build/Makefile.tbb:28: CONFIG: cfg=release arch=intel64 compiler=clang target=linux runtime=cc4.8_libc2.19_kernel4.4.0
clang++-3.8 -o concurrent_hash_map.o -c -MMD -DDO_ITT_NOTIFY -g -O2 -DUSE_PTHREAD -DTBB_USE_GLIBCXX_VERSION=408 -m64  -fPIC  -D__TBB_BUILD=1 -Wall -Wextra -Wno-parentheses -Wno-non-virtual-dtor -Wno-dangling-else  -std=c++1y  -I/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/src -I/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/src/rml/include -I/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/include /home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/src/tbb/concurrent_hash_map.cpp
In file included from /home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/src/tbb/concurrent_hash_map.cpp:17:
In file included from /home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/include/tbb/concurrent_hash_map.h:21:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/iterator:64:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ostream:38:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ios:42:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/ios_base.h:41:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/locale_classes.h:40:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/string:52:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/basic_string.h:2815:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/ext/string_conversions.h:43:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/cstdio:120:11: error:
      no member named 'gets' in the global namespace
  using ::gets;
        ~~^
In file included from /home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/src/tbb/concurrent_hash_map.cpp:17:
In file included from /home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/include/tbb/concurrent_hash_map.h:33:
/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/include/tbb/internal/_template_helpers.h:193:12: error:
      no member named 'index_sequence' in namespace 'std'
using std::index_sequence;
      ~~~~~^
/home/travis/build/stan-dev/stan/lib/stan_math/lib/tbb_2019_U8/include/tbb/internal/_template_helpers.h:194:12: error:
      no member named 'make_index_sequence' in namespace 'std'
using std::make_index_sequence;
      ~~~~~^
3 errors generated.

Is modifiying the tbb makefiles an option? I know its not a preferred one.

Ah sorry I didn't know that would make an error. I think worst case we can slam that up to C++14. Jenkins tests c++1y so I'm pretty sure that's fine

@SteveBronder sorry for stopping your PR test on travis, but I know its going to fail and want to get a fix for this ASAP as its stalling development on Stan :/

@seantalts @betanalpha (not sure who else to tag here) Is bumping Travis tests from clang++-3.8 to clang 6.0 an option? This fixes the issues we are having with Travis tests.

Sure, hopefully soon whatever tests were holding us back from doing the one-compiler-per-OS testing will be fixed and we can delete Travis, but this is fine as a stop gap.

@serban-nicusor-toptal do you have the link for what's holding us back from one-compiler-per-OS in this repo?


Add 1.30 support...again.

Provide basic support and playability of PDA 1.30. Includes controls, access to test menu. Excludes touch, broken as of now.

There are minor issues with this such as patches.ini not being updated to reflect changes, ram not being written to current directory and appveyor not uploading the 1.30 artifact however most things appear to work

There are minor issues with this such as patches.ini not being updated to reflect changes, ram not being written to current directory and appveyor not uploading the 1.30 artifact however most things appear to work


Fix #1211 by making semicolon trigger Find-Files

@emanuelquintero @jmyersmsft would one of you opine? Thanks.

Abandoning due to merge conflicts that I don't have time to untangle.


Support for Phase2 initialStep in CMSSW

PR description:
This PR adds the ability to run mkFit on Phase-2 data / geometry. Only initialStep iteration is supported so far, with a dedicated workflow (24834.702).

Add CMSSW Phase-2 hit and seed converters.

Properly support binary readout for Phase-2 strips where cluster-charge cut can
not be applied.

Improve standalone performance monitoring & debugging tools.

It requires also a new JSON file in cmssw/data repository:
https://github.com/trackreco/RecoTracker-MkFit/pull/3
PR validation:
In TTbar events, with PU:

Phase-2 (PU200, where mkFit is only used for initialStep track building): http://uaf-10.t2.ucsd.edu/~mmasciov/MIC/Phase2/MTV_TTbarPU200_mcRun4_withTiming/
Phase-1 (2024; no change, as expected): http://uaf-10.t2.ucsd.edu/~mmasciov/MIC/Phase2/MTV_TTbarPU_Run3_2024/

the bot tests are showing some more significant differences in phase-1.
The largest change since the test of this PR is that the pixelLess is now running mkFit.
@mmasciov
please rerun that part, preferably on Xi sample as well

the most visible seem to be changes in the TIB number of hit distributions
https://tinyurl.com/23gmjjbe

or more selectively high purity pt>1
https://tinyurl.com/28gr5kyr


Are merge vars possible?

Hey there, I had a quick poke around in the code after digging through the docs but could not see any reference to merge variables.
The link to mandrill references the json section.
Is it just a case of swapping mandrill's api calls from underscore to camelcase to use this pluggin?
eg:
->setGlobalMergeVars( array(
            array(
                'name' => 'merge1',
                'content' => 'merge1 content'
            )
        ) )

Cheers,
John

Hey John,
sure it is possible, you can do
$message->addGlobalMergeVar("fooKey", "fooValue");

or
<EMAIL_ADDRESS>"fullName", "Peter Miller");

Both is possible.
Best,
Sven


Request (rather than issue) - more detailed docs

Under settings for SyncTrayzor there are advanced settings for a Syncthing path and home - should these be a path to the directory where Syncthing can be found or a full path that includes the exe?
As the default install on a system with syncthing already installed results in 3 copies of syncthing.exe across the system thats 2 to many and so being able to use syncthing from its own directory allows things to be clearned up a bit.
As a side note, while its been a long time since I've managed an environment that used the Windows Roaming feature and its possible that its usage may have changed, I was under the impression that moving .exe files around with it was considered a bad idea.

Syncthing Custom Home is the directory where Syncthing should store its database/etc (by default it's empty, so Syncthing gets to choose). It's passed to syncthing -home.
Syncthing Custom Path is the path to the syncthing exe.

As the default install on a system with syncthing already installed

That's not really an intended case: you're supposed to use SyncTrayzor or Syncthing by itself. I'm sure you understand why SyncTrayzor needs 2 copies.


Doesn't work

When i type in an image url from postimage it says "That doesn't seem to be a valid image!" am i getting my syntax wrong or do i need to use another website? the image url i'm using is https://i.postimg.cc/vmMRX0vv/void.jpg. my command is:
"/image2map create https://i.postimg.cc/vmMRX0vv/void.jpg"

Try https://i.postimg.cc/ZJvTbgBX/void.jpg?dl=1


Validate all inputs

There are dozens of possible typos that could crash the engine. All inputs need to be validated.

Could you describe which inputs should be validated?

I mean all of the JSON files.

Entities now validated with jsonschema as of a23c172e902c7285d96c9e2d555d26fdfa5e82c8, config file validated as of d878c4b4e2ccd8ffbf830730b46cafeff756a770.

Validating map events and triggers as of c97f466531b15c104146610e4d8b81229ce96f33. I think that's it.


Include Help Functions in Tests

As surfaced in #84 we would be well-served in having our help functions tested automagically as part of the rest of the test run.

Added in #730


Fix Jacobs et al. model.

Follows from #241. Also synch with the file in the spec repo.

What's the issue with the model?

There was a missing end_time for one of the migrations. Sorry, I'll add that into the commit message (and likewise in the spec repo).


[TASK] Make the "error handler" give more information

Currently, the errorHandler can only throw contextualized errors when their signature matches with the ABIs contained in the SDK.

In the case where the error is of type ContractFunctionRevertedError, but doesn't have an "errorName", use its signature.
In the case where the error is not of type ContractFunctionRevertedError, use its "shortMessage".
In the fallback case, change the generic message to ${type} failed.

please assign this task to me

hey @alainncls how to run the development server in pnpm here ,i already installed pnpm i

Hey @Chirag-S-Kotian 👋
So, you should start by installing all the dependencies: pnpm i
Then you can develop on the errorHandler file and add more unit test in the corresponding test file.
Once your implementation gives you satisfaction and you have a good set of tests to cover it, you can then open a PR on this repo, from your forked repo. You can check GitHub's documentation to do so 😃

Ah yes, I see. When you installed the dependencies, it also installed a pre-commit hook with husky. It runs a few commands while committing your changes. Those commands are defined here.
And you can't use npm on this repo, it's based on pnpm solely.
What you need to check, is the linting and formatting of the code you've added/modified, it must follow the rules defined for the repo.

I already checked linting and prettier through pnpm ,there is no problem in terminal ,then it gives something git error problem 😕

You can ignore the checks while committing: https://graphite.dev/guides/git-commit-skip-hooks#how-to-skip-git-commit-hooks
We'll see via the CI if there really is an issue with the code then.

here i forked this repo from dev branch https://github.com/Consensys/linea-attestation-registry.git and my repo is https://github.com/Chirag-S-Kotian/linea-attestation-registry.git it is also in dev branch i cant push the code to my forked repo could you please help me to resolve this error

Is see that you managed to open a PR #777 , that's great! 👍
Let me check it out!


Maintainence Offer

Hey mate,
Saw your post regarding looking for a maintainer for PySpy.... Im happy to step up if you havent already found one. I am fairly strong with python and have become intimately familiar with mongodb through my other eve projects. While I have never used pythonanywhere, I imagine it is not difficult....
Im happy to keep this tool alive for you!
Kind Regards,
Crypta

Thanks mate, just replied to you on Reddit.


Invalidate a query manually.

Quick question:
Is there a way to run a query of an observable manually.
e.g. I have an active subscription for an observable which listens to changes of table A. In my observable the result of the query is modified, so I only have a subset of the queried rows.
This step depends on a parameter that can change randomly and is not in the database, so I need to tell the query to run again once that parameter changes.
Something like notifyDataSetChanged();
Am I doing something weird here?
Currently I just create a new observable with a subscription once the parameter changes, which doesn't feel right.

There's a few ways to do this...
Is the parameter you mentioned able to be modeled as an observable?
Observable<String> theParam = observeParam().distinctUntilChanged();

theParam.flatMap(param -> dbQuery(param)).subscribe(dbResults);

This assumes that subscribing to the observable returned from observeParam() sends out the initial value right away. Maybe it only broadcasts changes and then you could do:
Observable<String> theParam = paramChanges().startWith(currentParamValue()).distinctUntilChanged();

Another thing to note is that the Query object from SqlBite can have its .run() method called multiple times. This means you could do combineLatest and use the param to run the query again.
Observable<String> theParam = observeParam();
Observable<Query> theQuery = createQuery();
Observable.combineLatest(theParam, theQuery, someFunction)
    .subscribe(Pair<String, Query> pair -> doSomething(pair.first, pair.second);

Finally, if the param isn't an observable you can use a PublishSubject<String> with one of the above techniques and just call subject.onNext(newParam) when the parameter changes.
Hope that helps! Let me know if you have any follow-ups.

Perfect. Thanks for your awesome code.


WebAssembly research

I was researching WebAssembly to hopefully be able to run the bot on
Cloudflare Workers. However, sadly I never even got to the point where I could run it
anywhere (and I'm not blaming anyone but myself). This document serves as a log of my journey.
Installing wasmtime and building the bot for WebAssembly is a piece of cake...
curl https://wasmtime.dev/install.sh -sSf | bash
GOOS=wasip1 GOARCH=wasm go build -o main.wasm cmd/bot/main.go

...but running it is a different story
wasmtime --env ENERGIEPRIJZEN_BOT_TOKEN=somevalue --env ENERGIEPRIJZEN_BOT_CHAT_ID=somevalue main.wasm

2023/11/11 14:35:58 main.go:52: Get "https://api.energyzero.nl/v1/energyprices?fromDate=2023-11-11T22%3A00%3A00Z&inclBtw=true&interval=4&tillDate=2023-11-12T21%3A59%3A59.999Z&usageType=1": dial tcp: lookup api.energyzero.nl on [::1]:53: dial udp [::1]:53: Connection refused

Side-stepping the DNS issue
Hard-coding the/an IP address also doesn't work:

Minimal reproducible example
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	const ip = `<IP_ADDRESS>` // example.com

	req, err := http.NewRequest("GET", "http://"+ip, nil)
	if err != nil {
		panic(err)
	}
	req.Host = "example.com"

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	b, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}

	fmt.Println(string(b))
}

panic: Get "http://<IP_ADDRESS>": dial tcp <IP_ADDRESS>:80: Connection refused

goroutine 1 [running]:
main.main()
        /workspaces/energieprijzen/main.go:20 +0x2e

stealthrocket/net to the rescue?
There's stealthrocket/net, which is mentioned in a
post on the Go blog, but it doesn't seem to work for my use case:
import (
	// everything is the same as in the minimal reproducible example, except I've added this import:
	_ "github.com/stealthrocket/net/http"
)

Error: failed to run main module `main.wasm`

Caused by:
    0: failed to instantiate "main.wasm"
    1: unknown import: `wasi_snapshot_preview1::sock_open` has not been defined

The future is looking bright
My WebAssembly adventure ends here for now, but the future is looking bright. I found
the WASI HTTP proposal, which is currently in phase 2 of 5. Fingers crossed!

Maybe... I could compile the bot to JS and run it that way? This modified MRE works completely fine in the GopherJS playground:
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	// 🚨 SECURITY: This is just to make it work in the GopherJS playground. Don't do this in prod.
	req, err := http.NewRequest("GET", "https://corsproxy.io?https://example.com", nil)
	if err != nil {
		panic(err)
	}

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	b, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}

	fmt.Println(string(b))
}


Header syncer seems to race ahead

What is wrong?
The debug logs seem to suggest that the header syncer is racing way ahead of the body downloads, at least when doing a full sync. The intended behavior is for the header syncer to only go a few thousand ahead of the tip, during sync.
How can it be fixed
Just requires some investigation. Probably something to do with the capacity check being in the wrong place, or not getting triggered/cleared correctly.

I'm not sure if this is related but it might be:I would imagine that if you pass a HeaderSyncerAPI to the BaseBodyChainSyncer which simply yields a finite set of headers, then eventually the BaseBodyChainSyncer would go and fetch blocks and receipts and  persist these 100 headers. But that is not the case, it never makes it through the whole set of headers if it is finite. This doesn't seem to be a problem in reality because the headers aren't finite in practice (well, except for the gap syncer that I'm working on) and so there are always new headers coming in that eventually push things through.
I'm still debugging why it behaves that way and there's a good chance that this is by design but I wanted to leave this comment just in case it is an actual bug and might be related.

Ah, wait, I think the behavior I described was caused by me misconfiguring something, so nothing to see here.


spelling mistake

In Exercise no.34
"Consider two random array A anb B, check if they are equal (★★☆)"
instead of and it was typed as anb

Thanks, can you make a PR ?

yeah  sure  i would like to


Change charge voltage based on SOC

Hi,
It's great that you now have support for the Pylontech batteries.
Would it possibly to adjust the charge and discharge voltages on the various inverters based on the SOC of the Pylontech?
The PIP4048 sees higher voltages than what the battery actually has so it switches off before the battery has reached 80% DOD

This has nothing to do with either Pylontech nor the inverter it self. Solar-sis is just a software that makes it easier to call serial interfaces on a charger/inverter by serialising the protocol kind of.  The Voltage vs SOC is not something you set in this software but on your inverter.  Note that the PIP do not support anything but LA so those numbers wont work

I hear you but that means I have to physically be at the invert to make the changes, which I'm not.
Is there no way to send commands to the PIP inverter from solarsis?

As I said the solar-sis have nothing to do with calibration of the inverter or the hardware itself. You seem to have an issue related to your setup if your voltage is that much of. And the SOC vs Voltage is in the software of the inverter.
Solar-sis is just a tool to read data from its serial interface and parse it into MQTT or Influx data.

Daniel. I don't have an issue. I am proposing making the system work a bit
better. Graphing is nice, but it would be better if solarsis can control
the inverter as well.
The inverter can take commands, to for example switch from solar to grid
feed, and it would be great, as example, to switch back to grid from
batteries if solar-sis sees that the battery bank is getting close to
empty, to avoid sitting in the dark while I'm sleeping and not being able
to switch it manually. But for this to work properly, the inverter needs to
have the right soc readings.
This is just one usage scenario. I monitor our environment as well and I
would like to be able to switch back to grid when it's too cloudy, or
rainy, for example. I am not always home so I cannot just quickly change
the settings on the inverter in such a case.
See here for more info:
http://forums.aeva.asn.au/viewtopic.php?p=71631#p71631
On Fri, Mar 29, 2019 at 12:21 PM Daniel Römer<EMAIL_ADDRESS>wrote:

As I said the solar-sis have nothing to do with calibration of the
inverter or the hardware itself. You seem to have an issue related to your
setup if your voltage is that much of. And the SOC vs Voltage is in the
software of the inverter.
Solar-sis is just a tool to read data from its serial interface and parse
it into MQTT or Influx data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opengd/solar-sis/issues/7#issuecomment-477946460, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQ_8Zl6PhPBtg4ILnlCQf51rOpGU-RO-ks5vbelEgaJpZM4cRqyl
.

--
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za

It already can do that so Im not sure what you look for? solar-sis is not a logic-software and will never be.
I control my inverters via solar-sis but solar-sis is not the brain. Solar sis is only made to be a middle point to support sending and interpretation of commands. I'm using a 3rd party script to hook all my systems together for the fine part but first of all I use my inverters to automatically switch when needed. I have set their limits to work and for all fine tuning like "no sun for 5 days-prediction" I let the 3rd party software to switch earlier.
You can add all commands you want in the config and you are free to submit updates here and I incorporate them.
In my case i have some logic in node-red to controll emergency settings needed as last resort.
Hope that answers your thoughts.

I don't know NodeJS nor can't code it :(
On Fri, Mar 29, 2019 at 2:25 PM Daniel Römer<EMAIL_ADDRESS>wrote:

It already can do that so Im not sure what you look for? solar-sis is not
a logic-software and will never be.
I control my inverters via solar-sis but solar-sis is not the brain. Solar
sis is only made to be a middle point to support sending and interpretation
of commands. I'm using a 3rd party script to hook all my systems together
for the fine part but first of all I use my inverters to automatically
switch when needed. I have set their limits to work and for all fine tuning
like "no sun for 5 days-prediction" I let the 3rd party software to switch
earlier.
You can add all commands you want in the config and you are free to submit
updates here and I incorporate them.
In my case i have some logic in node-red to controll emergency settings
needed as last resort.
Hope that answers your thoughts.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opengd/solar-sis/issues/7#issuecomment-477979561, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AQ_8ZofsvZBKoN9jnv7rmYcvAsw1uQ7Eks5vbgZXgaJpZM4cRqyl
.

--
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za

Dont have to  :)  I use Node-Red as one of the tools and thats visual where you draw flows. I use solar-sis MQTT and the Web api on it to control stuff.

Dont have to :) I use Node-Red as one of the tools and thats visual where you draw flows. I use solar-sis MQTT and the Web api on it to control stuff.

Where can i read more about the web API or MQTT commands to set inverter values?

https://secondlifestorage.com/t-Esperyd´s-Raspberry-PI-project?pid=33122#pid33122


Student Submission Forms

Adds Student Submission Forms to the Student app.
Still To Do:

[x] Add a 'Success!' Modal after the submission is made and is successful
[x] ~If there is an issue w/ the form, display an error and don't clear the form (this is primarily for the Video Submission – letting the backend validate the URL is from YouTube or Vimeo)~ => See #148
[x] Making the submission for a particular show (and updating routes and page title (eg. "You are submitting to Honors Show 2018"))
[x] Adding in the Group workflow
[x] Determine if we need moreCopies on Video and Other Media submissions
[x] Make mediaType on Photo Submission a react-select Creatable
[x] ~Better style the Dropzone previews~ => See #160
[x] UX on 'Back' buttons + 'Cancel' submission
[x] ~Convert the other forms using redux-form to formik (Probably a separate PR)~ => See #156
[x] Fix wording of forms based on Nanette's feedback (Artist Comment => optional, Physical Art")
[x] If there's an uploaded image and someone goes to another page, clear the preview

Additionally, we should determine if we need to have some way to delete uploads, as you can upload something to the Dropzone, click on it and upload again, causing the first upload to not ever be associated w/ a submission and forever take up disk space. => See #159

I think overall this is solid. The others covered any concern I have. So lgtm.


Keras Mixed Precision Policy and Horovod are incompatible.

CC: @reedwm @nluehr @tgaddair @cliffwoolley @pkanwar23
It seems that Mixed Precision Keras policy is currently in broken state when used combined with Horovod. If you use the test repository, you can reproduce the issue (you will need 2+ GPUs) https://github.com/DEKHTIARJonathan/TF_HVD_Stability_Test.
The issues comes by the sequence of operations:

set_visible_devices()
define Keras Policy

Reproducible Test Case:
#!/usr/bin/env bash

export HOROVOD_GPU_ALLREDUCE=NCCL
export HOROVOD_GPU_BROADCAST=NCCL
export HOROVOD_NCCL_INCLUDE=/usr/include
export HOROVOD_NCCL_LIB=/usr/lib/x86_64-linux-gnu
export HOROVOD_NCCL_LINK=SHARED
export HOROVOD_WITHOUT_PYTORCH=1
export HOROVOD_WITHOUT_MXNET=1
export HOROVOD_WITH_TENSORFLOW=1
export HOROVOD_WITH_MPI=1
export HOROVOD_BUILD_ARCH_FLAGS="-march=sandybridge -mtune=broadwell"
pip uninstall horovod -y
pip install --no-cache --no-cache-dir horovod==0.19.3

git clone https://github.com/DEKHTIARJonathan/TF_HVD_Stability_Test.git
cd TF_HVD_Stability_Test

pip install -r requirements.txt
pytest

Will give the following result:
platform linux -- Python 3.6.9, pytest-5.4.2, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python
cachedir: .pytest_cache
rootdir: /workspace, inifile: pytest.ini
plugins: typeguard-2.7.1
collected 18 items
test.py::HorovodTest::test_example_00_RN50_Gradient_Tape_HVD_1GPU PASSED                                                         [  5%]
test.py::HorovodTest::test_example_01_RN50_Gradient_Tape_HVD_AMP_1GPU PASSED                                                     [ 11%]
test.py::HorovodTest::test_example_02_RN50_Gradient_Tape_HVD_AMP_FP16_All_Reduce_1GPU PASSED                                     [ 16%]
test.py::HorovodTest::test_example_03_RN50_Gradient_Tape_HVD_2GPUs PASSED                                                        [ 22%]
test.py::HorovodTest::test_example_04_RN50_Gradient_Tape_HVD_AMP_2GPUs FAILED                                                    [ 27%]        # ======> FAILS
test.py::HorovodTest::test_example_05_RN50_Gradient_Tape_HVD_AMP_FP16_All_Reduce_2GPUs FAILED                                    [ 33%]        # ======> FAILS
test.py::HorovodTest::test_example_06_keras_Sequential_CTL_Gradient_Tape_HVD_1GPU PASSED                                         [ 38%]
test.py::HorovodTest::test_example_07_keras_Sequential_CTL_Gradient_Tape_HVD_AMP_1GPU PASSED                                     [ 44%]
test.py::HorovodTest::test_example_08_keras_Sequential_CTL_Gradient_Tape_HVD_AMP_FP16_All_Reduce_1GPU PASSED                     [ 50%]
test.py::HorovodTest::test_example_09_keras_Sequential_CTL_Gradient_Tape_HVD_2GPUs PASSED                                        [ 55%]
test.py::HorovodTest::test_example_10_keras_Sequential_CTL_Gradient_Tape_HVD_AMP_2GPUs FAILED                                    [ 61%]        # ======> FAILS
test.py::HorovodTest::test_example_11_keras_Sequential_CTL_Gradient_Tape_HVD_AMP_FP16_All_Reduce_2GPUs FAILED                    [ 66%]        # ======> FAILS
test.py::HorovodTest::test_example_12_keras_fit_compile_Gradient_Tape_HVD_1GPU PASSED                                            [ 72%]
test.py::HorovodTest::test_example_13_keras_fit_compile_Gradient_Tape_HVD_AMP_1GPU PASSED                                        [ 77%]
test.py::HorovodTest::test_example_14_keras_fit_compile_Gradient_Tape_HVD_AMP_FP16_All_Reduce_1GPU PASSED                        [ 83%]
test.py::HorovodTest::test_example_15_keras_fit_compile_Gradient_Tape_HVD_2GPUs PASSED                                           [ 88%]
test.py::HorovodTest::test_example_16_keras_fit_compile_Gradient_Tape_HVD_AMP_2GPUs FAILED                                       [ 94%]        # ======> FAILS
test.py::HorovodTest::test_example_17_keras_fit_compile_Gradient_Tape_HVD_AMP_FP16_All_Reduce_2GPUs FAILED                       [100%]        # ======> FAILS

If we look at the traceback, the error is quite explicit:
[1,1]<stderr>:Traceback (most recent call last):
[1,1]<stderr>:  File "examples/tf2_FitCompile_GradientTape.py", line 49, in <module>
[1,1]<stderr>:    policy = mixed_precision.Policy('mixed_float16')
[1,1]<stderr>:  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/mixed_precision/experimental/policy.py", line 349, in __init__
[1,1]<stderr>:    skip_local=True)
[1,1]<stderr>:  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/mixed_precision/experimental/device_compatibility_check.py", line 157, in log_device_compatibility_check
[1,1]<stderr>:    device_attr_list = device_lib.list_local_devices()
[1,1]<stderr>:  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/device_lib.py", line 43, in list_local_devices
[1,1]<stderr>:    _convert(s) for s in _pywrap_device_lib.list_devices(serialized_config)
[1,1]<stderr>:RuntimeError: TensorFlow device (GPU:0) is being mapped to multiple CUDA devices (0 now, and 1 previously), which is not supported. This may be the result of providing different GPU configurations (ConfigProto.gpu_options, for example different visible_device_list) when creating multiple Sessions in the same process. This is not  currently supported, see https://github.com/tensorflow/tensorflow/issues/19083

@reedwm so far I can see that you found a somehow linked issue: https://github.com/tensorflow/tensorflow/commit/f748283ee01059be52da5dada6e2157d9f6732ba
Unfortunately, this is not solve and is something really limiting.
To "hot fix" the issue, you can just comment these lines: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/mixed_precision/experimental/policy.py#L339-L341
However, I suppose that you may want to fix the issue more "cleanly".
@pkanwar23: one more example why we need the horovod unittests.

I think this is fixed in 2730e4b0bcba80799ddc10f52081927848540f30. Unfortunately, this commit didn't make it into TF 2.2. I commented a very hacky workaround in this comment.


Authorship and license

Hey @baltedewit,
stating from the amout of identical code my casparcg-hyperdeck project seemed to have been an inspiration for this library.
It is always nice to see derivative work, but usual etiquette is to state the source of copied code or concepts, to recognize the (indirect) contributon of other people's time and work.
Also there is no license statement in my own repository. Technically this means that the code is not "open source" and not licensed for copying and modifications. Although this is not my intention and I just have not decided on a license, yet; already re-licensing the code fragments as MIT is probably in the "darker grey" area. But I don't mind that. It is just something I noticed.
Don't get me wrong. I think it is great work. I was just suprised by the "familiarity" of the code without finding any note about the source and would appreciate if you could rectify this.

Hi,
Yes, there should have been a statement about that in the readme from the beginning! I'm sorry about that. I sometimes get excited by the engineering so much that I forget the important details. If it makes you feel any better to know, I didn't omit it on purpose. I also wasn't aware there was still so much identical code around, I figured an enum here or there perhaps but otherwise I had rewritten server, socket and parser classes completely. Had I known there was much identical code around I would have probably reconsidered publishing at all.
Beyond the general mention of your project in the readme, how do you feel this would be resolved correctly? One thing that comes to my mind is to, for now, relicense this repo to unlicensed as well, although I am not sure if that is much more than a symbolical gesture since I am not a licensing expert.

I have updated the readme file regarding acknowledgements. FYI, your package.json says the project is under MIT license so you should perhaps change that if it's not true.

I just added the MIT license to the project, so the license thing should be resolved. As already said, it was not a real issue for me, but just something "incorrect".
At the end it is all about the gesture. Leaving a note about things others contributed does not cost anything and inspires for more sharing and open source contributions. I don't expect you to overdo it. When there is nothing left from the orginal source this note might also be go away...
So that is all good for me. Discovering this in combination with the license thing was just a little bit to much for me to not mention it.
Keep up the good work 👍

Discovering this in combination with the license thing was just a little bit to much for me to not mention it.

And rightly so.

Keep up the good work

And you!


[0.8.15] Some item not showing up in Grid until searched

As the title says, some items (while stored in the network flawlessly) don't show up in the grid until they're searched!
These items are in standard 4k Disks, so I can't imagine that it's a problem with how I've got my system set up.
Before search (these are all my 1 x stacking items):

After search:

Notice that neither the Chisel chisel, nor the Chisels n Bits Chisel and Bit Bag showed up without searching first. This bug only occurs when sorting by Quantity

this is an offset issue in the scrollbar code


Minor SF

Codecov Report

Merging #10 into master will decrease coverage by 58.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master   #10       +/-   ##
==========================================
- Coverage     58.78%    0%   -58.79%
==========================================
  Files            18     4       -14
  Lines           495    22      -473
  Branches         59     0       -59
==========================================
- Hits            291     0      -291
+ Misses          180    22      -158
+ Partials         24     0       -24

Impacted Files
Coverage Δ
Complexity Δ

...y/arquillian/sample/service/SampleServiceImpl.java
0% <0%> (-100%)
0% <0%> (-2%)

...an/sample/service4injection/ServiceSecondImpl.java
0% <0%> (-50%)
0% <0%> (-1%)

...ian/sample/service4injection/ServiceFirstImpl.java
0% <0%> (-50%)
0% <0%> (-1%)

...feray/arquillian/sample/portlet/SamplePortlet.java
0% <0%> (-18.75%)
0% <0%> (-2%)

...nario/BndDeploymentScenarioGeneratorExtension.java

...oymentscenario/BndDeploymentScenarioGenerator.java

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 14ae320...c88397c. Read the comment docs.

Merged into https://github.com/liferay-labs/arquillian-liferay/commit/3b3bf2d8f7d28352ccdbf86fcf1055d7b332aa25


cardano-api: Drop ToJSON Script (ledger) instance

This orphan instance is not total and seemingly unused. It makes usage
of the cardano-api library very hard if you do not agree with having all
Alonzo.Script values be serialized as only their hashes.
CC co-author @abailly-iohk

It seems it's used in the cardano-cli though over here in the context of some DebugLedgerState: https://github.com/input-output-hk/cardano-node/blob/08e043a62476a69e04a0c5baa97e415e0efe1212/cardano-cli/src/Cardano/CLI/Shelley/Run/Query.hs#L1337
If that is the only use for these orphan instances, then I'm happily moving them to cardano-cli if that means we don't have them in cardano-api.

See #4138 for an alternative to this, which I would support instead. Still happy to have the discussion about these orphan instances.

See #4138 for an alternative to this, which I would support instead. Still happy to have the discussion about these orphan instances.

I'd say move it over to the cli in this PR and I can approve @ch1bo

Actually, this instance is used in the node. I got the following error when trying to move it to cardano-cli in #4138:
src/Cardano/Node/Protocol/Cardano.hs:133:7: error:
    • No instance for (ToJSON
                         (Cardano.Ledger.Alonzo.Scripts.Script
                            (Cardano.Ledger.Babbage.BabbageEra
                               Cardano.Ledger.Crypto.StandardCrypto)))
        arising from a use of ‘SomeConsensusProtocol’
    • In the expression: SomeConsensusProtocol CardanoBlockType

I would say, "done is better than perfect" so let's merge #4138 if no one has strong opinions against it.

Won't be having time to work on this for the time being and we merged the alternative of fixing the ToJSON Script instance to be complete.


Low-heated Recipe Issues

The low-heated recipe for cooked rice does not accept thermal cultivation rice:

not an issue, this is a mod recipe, if you want it to change report it to the mod.

this pack is designed to be played on peaceful, that is why food recipes go under the radar. We don't see this requiring immediate fixing. We will keep it in mind and change things around for it to work next major version(epsilon)

Gotcha, I didn't realize that. I went ahead and opened an issue on create low heated, so hopefully by the time epsilon comes out it'll be fixed.


Registration confirmation URL is wrong

This is the email sent after registration:
Hello from MEHDIE!

You're receiving this e-mail because user AnotherBySinai has given your e-mail address to register an account on http://tool.mehdie.org/.

To confirm this is correct, go to http://localhost:8000/accounts/confirm-email/MTQ:1pc5JT:PRvzeyAu7KGdfzwx6eUrtAbm5Nk

Thank you for using MEHDIE!
http://tool.mehdie.org/

The URL should be form the MEHDIE namespace and not localhost.

I think I fixed it. The URL_FRONT variable in the local_settings.py file on the server was set to localhost:8000. I set it to tool.mehdie.org. @sinairusinek can you check?

ok, done. Thanks.


Home folder missing when create container from Image saved with commit

Hi Daniel
Thanks for creating this image.
I created a container from this image and it seems to work fine.
Then I created a new image out of it by Docker commit.
Now when create container from last saved Image /home/ubuntu/ folder is missing due to which We are unable to SSH/RDP.
If you could check this out would be of great help.

I can not see what you have done, so check youre own work. What is your  issue with my work ?

Daniel you have done a great job. I am just asking your help in below issue. When we normally do below steps with Ubuntu:xx.xx images, issue did not seems to appear.

I created a container from this image and it seems to work fine.
Then I created a new image out of this container by Docker commit.
Now when create container from last saved Image /home/ubuntu/ folder is missing due to which We are unable to SSH/RDP.

Check your entrypoint, I use docker-entrypoint.sh. In this script  the  users are created with create-users.sh. This script uses /etc/users.list (see Readme: Creation of Users)

Check your entrypoint, I use docker-entrypoint.sh. In this script  the  users are created with create-users.sh. This script uses /etc/users.list (see Readme: Creation of Users)


Allow direct message replaying by exposing Pulsar API's seek() function

When we use Pulsar as the underlying message processing platform, one big benefit is to allow message replaying. This feature is beyond the capability of existing JMS technologies although it is desired in certain use cases.
Since Starlight for JMS API is based on Pulsar's native client API. It is therefore possible to achieve message replay by exposing Pulsar consumer and reader API's cursor seeking capability. For example, by exposing seek(long timestamp), we can actually replay historical messages up to a certain time.
I understand that this is not part of the JMS spec. We could make this as a special bonus feature when we use Pulsar as the underlying messaging platform.

Do you have some suggestion for this new API ? Would you add it to the MessageConsumer API ?


Copy & Paste Activity Directives

Feature #1544

We also noted a UI inconsistency - it seems that activity directives which fall before the plan bounds are shown with a "outside plan bounds" icon/warning in the directives table, but directives which are after the plan bounds don't show this - not clear if this is intentional or something we should fix in a follow-up

I can shed some light on this, @dandelany. This inconsistency is because while we know for a fact whether or not an activity falls before the plan start time, we may not know if an activity falls after the plan end time due to anchors.
Quick Case breakdown:

Activity A's start time is one hour after the plan's end time.
Activity A's start time is one hour before the plan's end time. Activity B is anchored to start as soon as Activity A finishes. Activity A may run either two minutes or two hours.

In Case 1, we know statically that Activity A is outside the plan bounds. In Case 2, we don't know until the user simulates if Activity B will be within the plan bounds. We felt it would be more confusing (and possibly misleading) to the user to mark Case 1 and not Case 2 than it would be to not mark either case.

We also had a question about how to handle the case where some of the pasted activities fall outside of the plan bounds entirely. We currently allow this to happen - which is probably correct

My take is:

when copying an anchor chain, copy-paste should not change anchor relationships -- if the user copied an anchor chain and an activity that is not the root lands outside the plan bounds, we should let the user handle that
when you copy an activity that is anchored to something and paste it such that it is no longer anchored, then it's start offset should be at minimum plan-start and at maximum plan end (I'm assuming that if you're hovering over a time in the timeline that it's start offset is set to that time)

I think this logic still makes sense if it's also applied to activities that weren't anchored to anything when you copied them, but am willing to hear @mattdailis's thoughts if he disagrees

I feel the strongest about the first bullet.


Review vatsal's GitHub portfolio

Items we can review on a live stream:

GitHub profile : https://github.com/plazzy99
Open source project
Portfolio : https://bit.ly/vatsal-portfolio

You can also join the discord community here
Feel free to check out other cool repositories of Eddie Jaoude Community here

Thanks for sharing 👍 . I will review on a live stream / video soon 🤓

Looks good though I would strongly suggest not to use URL shortener for your portfolio.
URL shorteners make links opaque, which spammers love. The security risk with a shortened URL is you cannot tell where you are going when you click the link, you have to trust the sender. As a result, some organizations teach their employees not to trust shortened URLs, or simply block them at their network gateway.
So it's often not considered a good practice.

@galahad42 sure i will keep that in mind. Thank you

Bojaa a Notion Page 💪🏼
GitHub Profile:

love it!
maybe link @DSCJSSATEN, @bashwomancomm, ...

Portfolio:

do the color codes mean something?
It's notion as mentioned above I like it 😄

One Icon is not readable in darkmode:

A justified alignment would look better for me! :+1:

Reviewed on live stream https://youtu.be/MrS_jAJ8l0o
Looks good

I am not too keen on the profile view counter
technologies in the banner and tech stack section do not match up, suggest only have 1 place for them
@bashwomancomm @CodechefJSSATEN @DSCJSSATEN would add more value if it was a clickable link
great to see you part of many organisations
Django logo does not show well in dark mode


fix(version-branches): remove version from monorepo release branches

This PR should solve #952
The version number in monorepo release branches is more or less random (last in list of definition) and does not necessarily have something to do with the right version.
example enzyme update:

So we leave it out

Problem here his that the branches then all are called the same and people that don't merge their branches regulary or if a fix version is released right after greenkeeper might not be able to create the branch because it already exists

@Realtin  :)


pkgs in home-manager profiles

Would your feature fix an existing issue?
not that i'm aware of
Describe the solution you'd like
just like in system profiles, i want to be able to take in pkgs (and possibly other things like config in home-manager profiles. .
Describe alternatives you've considered
I can't think of another easy way to get things where they need to go.
Additional context
There are some attributes that require packages as values, or commands that require something like ${pkgs.feh}/bin/feh to work

Home-manager profiles are just like any other module, you can get pkgs as an argument.
{ config, pkgs, ... }:
{
  environment.systemPackages = [ pkgs.feh ];
}

If that doesn't work, then there's a bug or perhaps I'm misunderstanding the question.

Oh, you're totally right. I tried it and it seemed to break, but now it's working. I guess I did something else wrong.


type values need another look

Type values need another look as properly encoding embedded references to aliases is a bit tricky.  If we encoded a type value as its type ID (in zng) then we would need to translate zcode.Bytes of anything that referred to the type value.  This would be relatively expensive when crossing type context boundaries.  But if we encode the value as the zson type string, then any references to aliases in the type string need to have a corresponding alias in the zng stream prior to the use of that value.  So, this approach also requires a parse of every type value to look for the aliases.  The problems are duals of one another.
However, we observe that the number of distinct type values in a given zng stream is bounded by the number of distinct schemas which doesn't get all that big (except for the pathological case that every ingested record introduces a new type, which can only happen if an entity generates record keys with ever changing values.  it is easy to argue that we don't support this workload and detect it and raise an error.  If some app does do this (the guys who looked at suricata schemas indicated that this can happen), then the ingest policy do something to avert the problem like map the changing keys to a value with a command field name).
Given that the number of distinct type values is bounded, we can allocate them as a method on resolver.Context and keep a table that maps the zcode.Bytes for the type value to the list of aliases that are in that type.  That way, whenever we need to move aliases across type context's due to type values reference aliases, we can simply reference this table and pull across the needed aliases.
The various writers will need to be updated to handle this and at some point the app should understand type values but it's not hugely important as the text strings will be good enough ux for now.

zst writer needs to handle this.  we'll need to make sure the aliases get into the reassembly section.

This approach turns out to be problematic because you would need to bring alias values forward when you reset the type context and this involves complicated logic around pulling forward the aliases from the old context that are referred to by type values in the new scan.
But there's another approach.  Rather than store type values in a form where the alias refers to types defined elsewhere we will define type values to be stored in "fully qualified" form where any aliases referenced are stored as decorators in a fully specified type.  This means that if the alias in question doesn't exist in the context where that type value is decoded, then it can be added from the type value since the type value embeds the alias definition.
This makes type values bulkier but they won't be stored very often in raw data and are used more often in aggregation results so there typically will not be a lot of them so the bulkiness doesn't matter.  And for display we can have a function that provides the abbreviated representation of the type value as a string.
For example, canonical form of this tzng type...
#port=uint16
#connection[orig_h:ip,orig_p:port,resp_h:ip,resp_p:port]
#0:record[ts:time,id:connection,cnt:int64]

would look like this as a fully-qualified ZSON type:
{ts:time,id:{orig_h:ip,orig_p:uint16(port),resp_h:ip,resp_p:port}(connection)},cnt:int64}}

and some function say type_compact() could turn the fully qualified form into this (as a string result of a type value):
{ts:time,id:connection,cnt:int64}

This string requires a change to the type representation in the zng library (to use ZSON format instead of TZNG).
We should talk about how to transition to this point.  We could add a new method on zng.Type to return ZSON type rep in addition to TZNG type string or we could incrementally deprecate TZNG by moving a copy of the entire zng sub-system into a subdirectory like we did with alpha-zng.

// Keep a cache of type to string mappings so they type doesn't
// have to be formatted on each call.  XXX This should probably
// move to zng.Resolver so that one hash table can be shared
// across all users of the zctx.  Also, when we add lots of
// type operators you don't want to keep parsing and formatting
// type-value strings so we can have table that go both ways
// from canonical type string to zng.Type and from zng.Type to
// string as is here.  Currently, this is the only place that
// can generate a type type.  But, e.g., deref should work on the
// type type and to do that we'd want to hash the value to a Type
// then do the operation (that results in another type) and turn
// the new Type back into a string with another hash lookup.
// A better approach might be to have type be implemented as a
// complex type, created from the resolver, but it's encoded as
// a primitive type in zng.  This way, there would be a different
// zng.Type for each different type value and they could only
// be created from a zctx (just like record, array, set etc).


remove stage completely and remove var_dump

Q
A

Bug fix?
No

New feature?
No

BC breaks?
No

Deprecations?
Yes

Fixed tickets
N/A

I'm closing this PR as it seems to me outdated.
If you still need this functionality, please open a new PR or an issues.


Fix composer php dependency

Laravel v6 require php >= 7.2.5
Laravel v7 require php >= 7.2.5
Laravel v8 require php >= 7.3
composer.json:
"php": "^7.4",
"laravel/framework": "^6.0|^7.0|^8.0",

Hi, I've just downgraded the required php version to 7.2 and tagged a new release.


Long uploads fail when using stdin

Basically, I'm facing the same issue as in #20. As I can clearly see within the last commit, the bugfix doesn't apply to stdin and only helps when directly specifying large files. As I need both a progress bar and some ratelimiting, I've created a bashscript which recursively uploads whole directories including all files. Also, I've implemented MD5 checksumming, so that those files won't get reuploaded.
The way I'm calling this application is like that: cat largefile | pv -pteraT -L <ratelimit> -s <totalfilesize> | ./gdrive upload -s -t <filename> -p <folderid>. After quiet a few hours of uploading, it failed with "Error 401: Invalid credentials" as listed above. Could that fix also get implemented for uploading via stdin?

Resumable uploads requires the size of the file up-front, thats why its not used when uploading via stdin, as I have no way of knowing the size.
I see that pv takes the filesize in as an argument, that could be a solution for gdrive as well. What do you think?

I already expected that when I took a glance at the sourcecode, but I wasn't sure. I think it would be a great idea to do it similar like pv - if no size is specified, upload it non-resumable (and maybe print a warning/hint?), if a size got specified, use the resumable way of doing it.

Agreed

I'll make a push request for that feature soon, stay tuned.

Just a short ping @prasmussen, as I'm not sure if you'll get a notification about my EDIT or not. I'll possibly try later on to go that quick'n'dirty way - it would work for me but ofcourse isn't a proper solution.

Oh, thats too bad.
I haven't followed the code to see what happens to the Reader, so i don't really have any other ideas at the moment. Im guessing seeking is required when resuming an upload -- I'm not sure why you get a seek when doing a normal upload though.
If you get the wrapper to work and it seems reliable, I will accept the pull request and I could mark it as an experimental feature or something.

Short update: I've successfully uploaded now multiple big files (several GB) during the last three days and some of them took over 10 hours. My wrapper class works fine - I just have to add some additional code so that mime type detection works, I've disabled that currently and always use "application/octet-stream". Otherwise than that, the solution works way better than I've expected - PR coming soon.

Sounds promising :)

ResumableMedia has been deprecated in google-api-go-client and the problem with long uploads failing with Media seems to be fixed according to my tests with gdrive 2.
$ cat video.mp4 | pv -q -L 50k | gdrive upload - video.mp4
Uploading video.mp4
Uploaded 0B3X9GlR6EmbnSFRwSTNMZkY3Nzg at 51.2 KB/s, total 1.8 GB
pv -q -L 50k  21.88s user 18.02s system 0% cpu 10:00:43.71 total


Please tell me where to insert tags?

Thanks a lot for the program!
Please tell me where to insert tags into the configuration file config.json ?
{   "api_key": "",   "categories": {     "anime": true,     "general": true,     "people": true   },   "exclude": [     "microsoft",     "logo"   ],   "include": [],   "interval": 3600,   "max_page": 500,   "purity": {     "nsfw": false,     "sfw": true,     "sketchy": false   }

Hello, you can use "exclude" key to exclude tags and "include" to include tags.
Thank you for your feedback, I will create a readme to document all the parameters soon!

Also I encourage you to use the latest version of the program (0.1.7), it contains many bug fixes.

Thank you very much!


gccx and Inferno (React alternative)

General Information

[ ] Bug
[ ] Improvement
[ ] Feature
[x] Other

Description
Hello there :)
With the strong influence that WebAssembly is having, Web apps may no longer just be written in JavaScript, but also C, C++, Rust, Go or many others. Basically, "the web" is crossing borders between languages in more or less successful ways.
However, some libraries are written in JS and were started before the uprise of WASM and they might still want to be used - and a lot of them use JSX (namely React, but there are a lot more alternatives).
This is why I really like the sight of GCCX - A "JSX for C++" syntax enhancement which looks really promising to me! However, that still leads me to a question:
Will GCCX only work with asm-dom, or will it also work with other libraries like Inferno, Preact or any other JSX/Hyperscript based application?
In my case, I am very used to C++ and would like to utilize WASM/ASM.js for my application. But due to what I want to achieve, I'd like to utilize, partially, server-side rendered content by using Inferno's .hydrate() method.
Kind regards,
Ingwie!

Hi @IngwiePhoenix,
thank you for opening this issue 😄
at the moment gccx works only with asm-dom in C++.
Do you want to use asm-dom server side and inferno client side? In this case you are going to write the logic to render the page in both C++ and JS.
What kind of functionality are you expecting from gccx in this scenario?

Hey :)
Well first, let me tell you what I would like to do - and more precisely, why.
I am very used to writing C or C++. I started as a PHP developer and used type hinting wherever I could and went from there to C++. So, typing feels natural...but it only really does on the left: vector<string> v;. When I look at TypeScript, Swift, Rust and Go, the syntax confuses me quite a lot since I am very much trained to look backwards to find the types of things when manually tracking calls within source.
So, when I saw that JSX was possible with TypeScript, I was a little bit upset and actually avoided learning it for the simple reason that I just did not feel confortable with it. Picky it may be - but not the end of the world either :) I then had a three-year-long break due to a hospital visit (issues with my eyes) and came back and... WebAssembly happened.
Right now, I am trying to look for a setup in which I can use C++ with either Emscripten or Cheerp in order to write both front- and backend in a unified language. And when I saw gccx, I was quite sure I had found that! :)
My goal is to use WebAssembly to perform business logic (Controllers, Components, Models, ...) and ES6 to perform serving logic (HTTP server bootstrapping, WS server bootstrapping, process watching, ...). Now, for frontend development, there is a gazillion of libraries to use - with the most known ones being React, Vue and a few of their of their alternatives (Preact, for instance). I (kind of) decided to use Inferno for the frontend, since it allows me to do pre-rednering on the server, is lightweight in code-size and gets the job done quite well.
So, what I was looking out to do, is to customize the calls being generated by gccx to match those of Inferno's h function.
Is that possible? :)
I know that me being picky about the language of choice is a little bit over the top... But, that's just me, really. I want to reach a point where I can use one language for everything and get the most speed out of it - which I could definitively do with C++.
If I stay with Inferno or go to asm-dom alltogether, server-side included, is not ruled out either. For now, I am just trying to find me a setup and ways to customize gccx for the case in which I may settle in.
Sorry for the long post, by the way... ^^;
Kind regards,
Ingwie.

Hi @IngwiePhoenix,
I'm sorry for my late reply but I'm a little bit busy in this period.
Let me try to explain if I understand well: do you want to write your frontend app in C++ using gccx syntax? But instead of asm-dom you are thinking to use inferno, so you want to modify gccx to call javascript and in particular, to build an inferno vdom tree. Is this right?


Permission denied @ dir_s_mkdir - /home/

See https://github.com/bundler/bundler/issues/4778, this should be fixed by https://github.com/bundler/bundler/pull/4886


modify workflow to run only s3 mgrt tests

https://github.com/0chain/s3-migration/actions/runs/5672223573


Refactored and fixed the add_slashes function

Two things I found wrong with this function. One, there's no reason to define it within the top level function. Something like this is both reusable, doesn't play with weird namespaces, so it should be made available at the top level.
Second, it didn't actually do anything. Period. Strings are immutable, so it does all the replaces you want but doesn't actually "save" the results.

In general it's probably just pointless to even have the add_slashes function when you could just use re.escape. But that's not something I'm gonna decide for you :)

Thanks!
Yep, add_slashes was added just reduce duplication. It looks like that could be replaced with re.escape though!


TitleBar demo

This sample demonstrates how to use the TitleBar on Windows in .NET MAUI 9.

False positives caused by the build scripts building for .NET 8.


Bundling error

Version
Tell us which versions you are using:

react-native-router-flux v3.38.0
react-native v0.44.0

Expected behaviour
App compiling correctly.
Actual behaviour
Bundling error happens.
error: bundling: Error: ENOENT: no such file or directory, open 'F:\Failid\app\node_modules\react-native-router-flux\node_modules\react-native\Libraries\Components\ActivityIndicator\ActivityIndicator.js'
Steps to reproduce

react-native init
Install packages
react-native run-android

I have the same issue. and now downgrade version.

I also have the same issue. I tried downgrading the version but still getting the same error.

I consider replace react-native-router-flux with react-native-navigation

me too

+1

I also have this. And that's after downgrading from 3.38.1 to 3.38.0 cause of other error

+1

+1

@aksonov Do you have idea how to fix this error?

+1

Same error with ActivityIndicator on v0.39.1 (react-native 0.44.0 and react 16.0.0-alpha.6)

+1

Does demo work for you?

14 мая 2017 г., в 1:17, Facundo Martin Gordillo<EMAIL_ADDRESS>написал(а):
+1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@ddereszewski life saver

@ddereszewski  You saved my ass!

@ddereszewski Thanks !


Not working across SvelteKit page changes

The ripple effect seems to not work across page changes with SvelteKit. When using it on a SvelteKit link, the ripple just plays in the top left of the screen, regardless of where the button is.

Hey @OfficialCRUGG can you provide an example where it happens? I can't seem to reproduce it on https://www.sveltelab.dev/mo9p9we0o1vdrd3
You also can try adding the class ripple-effect to the element and see if it happens

Hey there, Got the same issue with the ripple behavior on transition from different Sveltekit routes.
Managed to replicate it on a SvelteLab project

Oh, Thanks @NatumanyaGuy. I'll look into it. In the meantime, you can add the class ripple-effect to those affecting elements.

Thanks a lot.

Hey, @OfficialCRUGG and @NatumanyaGuy
I just published version 1.0.5 which fixes the issue. Previously it was adding a class which was causing the issue. Now, it adds a custom attribute instead.

Thanks a lot!


Better discoverability for developers

With 500+ (!) developers on the site it's become harder for individual folks to stand out. A developer can be featured for a week, but that doesn't solve the core issue.
I'm planning to talk with businesses over the next few week. Ideally I will learn is difficult for them in searching and be able to pull out some product improvements. I'm also going to talk to developers and hear what kind of info they would like to share on their profile.
Until then, I won't be writing any code or outlining specific features.
Running list of ideas

Endorsements from other developers (@GALTdea)
More sorting options: recently updated, random
Badges - RailsDevs source contributors, high/100% message response rate, recently updated
Expertise/interest tags – set by developer

P.S. If you would like to share your thoughts on this (as a business or developer) then please let me know!

Would be great to be able to display some kind of endorsement.

@GALTdea, what kind of endorsement were you thinking? From another person, technology/skill-based, something else?

Probably from other developers that you've paired with or opensource you've contributed to.  In terms of what kind of endorsement, I'd say technical.  Perhaps something related to the  interaction?

Closing this out in favor of #639.


Merged pull request (#1)

Updated the following badges:
Chameleon > Moved acquisition info to notes section, added map info
Do No Harm > added acquisition info to notes section, added map info
True Nemesis > added acquisition info to notes section, added map info
Guardian of Forever > added detailed acquisition notes with spoiler tag to notes section, added map info
Evil's Resident > updated badge text and notes to reflect bosses instead of minions
Safety in Numbers > updated badge text and notes to reflect lieutenants instead of minions
Detailed info below (I had to go back and edit a couple of them a second time to include everything I wanted to include)

Update chameleon.ts

moved details from acquisition to notes

Update do-no-harm.ts

added acquisition info to the notes section

Update true-nemesis.ts

added acquisition info to the notes section

Update guardian-of-forever.ts

added lengthy description with spoiler warning

Update chameleon.ts

added map info

Update do-no-harm.ts

added map info

Update true-nemesis.ts

Added map info

Update evils-resident.ts

updated badge text and notes

Update safety-in-numbers.ts

updated badge text and notes

Made a second commit with the 51 badges needing praetorian settitle IDs, and it looks like GitHub auto-merged it with the first PR I sent.


Expander with PageSlide transition broken

Describe the bug
Using an expander with PageSlide ContentTransition slides the content in the wrong direction when closing the expander.
It looks like commit f13ece461b43306c8f9c2680662e649c265b1e07 removed the !forward on Expander.cs line 107
Before...
                if (IsExpanded)
                {
                    ContentTransition.Start(null, visualContent, forward);
                }
                else
                {
                    ContentTransition.Start(visualContent, null, !forward);
                }

After...
                if (IsExpanded)
                {
                    await ContentTransition.Start(null, visualContent, forward, _lastTransitionCts.Token);
                }
                else
                {
                    await ContentTransition.Start(visualContent, null, forward, _lastTransitionCts.Token);
                }

To Reproduce
    <Style Selector="Expander">
      <Setter Property="ContentTransition">
        <Setter.Value>
          <PageSlide Orientation="Horizontal" Duration="0:0:0.25"/>
        </Setter.Value>
      </Setter>
      <Setter Property="ExpandDirection" Value="Right"/>
   </Style>

Expected behavior
The expander content should slide right when opening the expander and back left when closing the expander.
Avalonia version
11.2
OS
Windows
Additional context
No response

@aguahombre yeah I think the ! Was removed by accident. Can you file a PR to add it back?
/cc @maxkatz6

If I get time next week, I can give the PR a go

Let me make one pr.


⚠ ClamAV has degraded performance

In 0d32460, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 160 ms

Resolved: ClamAV performance has improved in 7354c74 after 19 minutes.


Mldb 1664 join with non-equijoin condition (e.g. inequality)

This is fixing one case where a join with cross conditions other than equality was not accepted.

+1


explain secrets password format

It seems secrets format has changed since I last used it. I didn't see it explained anywhere. So looking around I ended up with this:
  - name: ldap
    vaultPrefixes:
      - global
    fields:
      - name: bindPassword
        value: foobar
        onMissingValue: generate
        vaultPolicy: validatedPatternDefaultPolicy

which compalains:
TASK [vault_utils : Loads secrets file into the vault of a cluster] ***************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Secret has onMissingValue set to 'generate' but has a value set"}

Value is not missing, it should just ignore that generate field. Variable name "onMissingValue" would indicate it ignores this if value is set.
But alltogether, the format of secrets file should be described in the doc. As of current, it doesn't have "value:" in example.

I added https://github.com/hybrid-cloud-patterns/multicloud-gitops/pull/262 with a link to the specs. Maybe we should open up a dedicated section in the docs to cover for this in a more visible way?


Add option in settings to store db in ram

See https://github.com/ShabadOS/database/issues/96

Maybe it should be on by default for machines with >= 4GB?

How much ram does it take up?

Maximum of DB size, so ~150MB, but I think machines <3GB might be constrained already, so running Shabad OS + loading DB could be 500MB of RAM.

Then, yes, it can be default for machines with minimum 4 gb ram
On Tue, Jun 25, 2019 at 8:08 AM Harjot Singh<EMAIL_ADDRESS>wrote:

Maximum of DB size, so ~150MB, but I think machines <3GB might be
constrained already, so running Shabad OS + loading DB could be 500MB of
RAM.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ShabadOS/desktop/issues/99?email_source=notifications&email_token=ADLZ3B5UXVWGP7OGDPETVR3P4IDFPA5CNFSM4GRNTHU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYQARGQ#issuecomment-505415834,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLZ3B73PFQV3JTKWCLCA63P4IDFPANCNFSM4GRNTHUQ
.

Closing without resolution. This issue either affects too few users or there are too many issues with higher impact to be working on. It is possible to re-open or re-visit this issue at a later time. If you feel this issue is important, please give a thumbs-up reaction to the first post. You may track this issue from the pinned meta-tracker at the top of the issues home page.


GH1842: URI params are case insensitive.

Fixes #1842

@mholo65 Your changes have been merged. Thank you for your first ever contribution to Cake! 👍 🎈 😄 🐱 🍰