Cleanup (ShellCheck, whitespace unification)

Not sure what your stand is on whitespace changes. I'm happy to revert those.

But using double quotes around paths seems like a good idea - if e.g. $DOWNLOAD_DIR was changed to a path with a space in it, it would break.

Using quotes here is a bit too much, so I did no change it: make -j$(nproc)

In cases like sh bootstrap.sh ${BOOTSTRAP_ARGS}, there are intentionally no quotes I suppose.

Not sure about the following in scripts\base\build_boost.sh:
BOOST_MAJOR_MINOR=$(echo "${BOOST_VERSION}" | cut -d. -f-2)

Possible misspelling: BOOST_VERSION may not be assigned, but BOOST_VERSION_U is (SC2153)

In scripts\common\install_sonar.sh there are two warnings:

Useless echo? Instead of 'echo $(cmd)', just use 'cmd' (SC2005)

Does the pattern serve any particular purpose? echo $(sonar-scanner --help)

I substituted `cmd` by $(cmd) as suggested

CI_COMMON_VERSION was set twice in ci-common/Dockerfile and I combined the two ENVs

Not sure how to interpret the build error:
#17 ERROR: executor failed running [/bin/sh -c export DOWNLOADS_DIR=/tmp/downloads &&     mkdir /tmp/downloads &&     source /tmp/versions_common.sh &&     /tmp/install_sonar.sh &&     /tmp/install_ccache.sh &&     rm -rf /tmp/downloads]: runc did not terminate sucessfully
------
 > [ci-common 9/11] RUN export DOWNLOADS_DIR=/tmp/downloads &&     mkdir /tmp/downloads &&     source /tmp/versions_common.sh &&     /tmp/install_sonar.sh &&     /tmp/install_ccache.sh &&     rm -rf /tmp/downloads:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c export DOWNLOADS_DIR=/tmp/downloads &&     mkdir /tmp/downloads &&     source /tmp/versions_common.sh &&     /tmp/install_sonar.sh &&     /tmp/install_ccache.sh &&     rm -rf /tmp/downloads]: runc did not terminate sucessfully
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.7.9/x64/bin/aswfdocker", line 11, in <module>
    load_entry_point('aswfdocker==0.2.0', 'console_scripts', 'aswfdocker')()
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/decorators.py", line 73, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/click-7.1.2-py3.7.egg/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/aswfdocker-0.2.0-py3.7.egg/aswfdocker/cli/aswfdocker.py", line 170, in build
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/site-packages/aswfdocker-0.2.0-py3.7.egg/aswfdocker/builder.py", line 88, in build
  File "/opt/hostedtoolcache/Python/3.7.9/x64/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'docker buildx bake -f /tmp/docker-bake-IMAGE-common-2.json --progress auto' returned non-zero exit status 1.

https://github.com/AcademySoftwareFoundation/aswf-docker/pull/74/checks?check_run_id=1146534800

Addressed your comment. The only open point in 5:

Not sure about the following in scripts\base\build_boost.sh:
BOOST_MAJOR_MINOR=$(echo "${BOOST_VERSION}" | cut -d. -f-2)

Possible misspelling: BOOST_VERSION may not be assigned, but BOOST_VERSION_U is (SC2153)

BOOST_VERSION version is coming from the scripts/XXXX/versions_base.sh set of files and is indeed not defined in this script, but that's expected.

Looks like there's an error on build here:
#17 1.680 + unzip /tmp/downloads/sonar-bw.zip
#17 1.685 Archive:  /tmp/downloads/sonar-bw.zip
#17 1.685    creating: build-wrapper-linux-x86/
#17 1.685   inflating: build-wrapper-linux-x86/libinterceptor-x86_64.so
#17 1.686   inflating: build-wrapper-linux-x86/libinterceptor-i686.so
#17 1.686   inflating: build-wrapper-linux-x86/build-wrapper-linux-x86-64
#17 1.704   inflating: build-wrapper-linux-x86/libinterceptor-haswell.so
#17 1.705 + mv build-wrapper-linux-x86 /var/opt/.
#17 1.709 + ln -s /var/opt/build-wrapper-linux-x86/build-wrapper-linux-x86-64 /usr/bin/build-wrapper-linux-x86-64
#17 1.712 + build-wrapper-linux-x86-64 --help
#17 1.714 build-wrapper, version 6.12 (linux-x86)
#17 1.714 Copyright (C) 2014-2020 SonarSource SA<EMAIL_ADDRESS>#17 1.714
#17 1.714 Usage: build-wrapper-linux-x86-64 --out-dir <output directory> <build command>
#17 ERROR: executor failed running [/bin/sh -c export DOWNLOADS_DIR=/tmp/downloads &&     mkdir /tmp/downloads &&     source /tmp/versions_common.sh &&     /tmp/install_sonar.sh &&     /tmp/install_ccache.sh &&     rm -rf /tmp/downloads]: runc did not terminate sucessfully

The problem happens when scripts/common/install_sonar.sh is called. Once the local SonarCloud scanner wrapper has been installed, it is called with --help to print out command line options:
echo $(build-wrapper-linux-x86-64 --help)

but it looks like build-wrapper --help returns a non-zero return code, and previously in the script:
set -ex

ensures that the script will abort on any errors. I imagine the same error would also happen a bit further down with:
echo $(sonar-scanner --help)

Before this PR, these commands were simply:
build-wrapper-linux-x86-64 --help
...
sonar-scanner --help

I'm not sure why running them in a subshell via $() would change the return value, but in this case the simplest way to fix this would seem to be to just revert to the original version. I have to admit I'm a bit puzzled as to why ShellCheck wants to wrap the call to a binary that prints something useful inside $(), that seems counter intuitive?

Inside an ASWF container if I try:
[root@2df788287386 tmp]# /usr/bin/build-wrapper-linux-x86-64
build-wrapper, version 6.10 (linux-x86)
Copyright (C) 2014-2020 SonarSource SA<EMAIL_ADDRESS>
Usage: /usr/bin/build-wrapper-linux-x86-64 --out-dir <output directory> <build command>
[root@2df788287386 tmp]# echo $?
10

it does appear that build-wrapper-linux-x86-64 returns a non-zero value when called with --help, but:
[root@2df788287386 tmp]# cat foo.sh
#!/bin/bash

set -e

echo $(build-wrapper-linux-x86-64  --help)
echo $?

echo "===================="

build-wrapper-linux-x86-64  --help
echo $?
[root@2df788287386 tmp]# ./foo.sh
build-wrapper, version 6.10 (linux-x86) Copyright (C) 2014-2020 SonarSource SA<EMAIL_ADDRESS>Usage: build-wrapper-linux-x86-64 --out-dir <output directory> <build command>
0
====================
build-wrapper, version 6.10 (linux-x86)
Copyright (C) 2014-2020 SonarSource SA<EMAIL_ADDRESS>
Usage: build-wrapper-linux-x86-64 --out-dir <output directory> <build command>
[root@2df788287386 tmp]# echo $?
10

it seems that the new code which wraps the called to build-wrapper-linux-x86-64 inside $() does not propagate the error to the calling shell, and the script does not abort, whereas when called directly, the script aborts and never prints the return value (I have to do that manually after the script aborts).
So if anything the changes should make the script work, not make it fail?

It actually makes sense. The exit code of the sub-command is only accessible from within $().
echo $(./build-wrapper-linux-x86/build-wrapper-linux-x86-64 --help; echo $?); echo $?
build-wrapper, version 6.12 (linux-x86) ...
10
0

Using command substitution suppresses the non-zero exit code. It's feels strange that it returns 10 in case of --help, but it actually prints the same text as when you don't pass any arguments, which is considered an error.
Reverted my change and added a note. sonar-scanner returns with 0, so not affected.

I'm probably reading the previous build failure log incorrectly: https://github.com/AcademySoftwareFoundation/aswf-docker/runs/1162762399?check_suite_focus=true
It seems it is now building correctly.
I guess what I don't understand is how this build was working in the first place without having wrapped the call to build-wrapper-linux-x86-64.
A small nitpick is that looking at the binary itself, it does not actually take a --help command line parameter, so if what we are interested in doing is getting the usage message to come up in the logs, perhaps the code should just be:
echo $(build-wrapper-linux-x86-64)

what I don't understand is how this build was working in the first place without having wrapped the call to build-wrapper-linux-x86-64

I did have the command wrapped: https://github.com/AcademySoftwareFoundation/aswf-docker/blob/8b1f49fa07fca3a8e78621dc5260f7529d1e7f62/scripts/common/install_sonar.sh#L16

it does not actually take a --help command line parameter

Oh, the exit code makes a lot more sense then!

Would you be OK resolving the conflicts @Simran-B ?

@aloysbaillet Conflicts should be resolved now.


Add Lightning Node Connect

This adds the support to connect to LND nodes through "Lightning Node Connect". It uses the official lnc-web npm package. LNC makes it easy and fast to connect to any LND node and removes the need to use Tor for nodes behind a NAT or firewall.
More details about LNC: https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/lightning-node-connect
For this Lightning Terminal is required on the node: https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/get-lit
Beta Testers:
Easiest is to use a Chrome/Chromium based browser and download the chrome.zip.zip from the comments (from github-actions), unpack the .zip, go to your browser -> Extensions, make sure you have the "Developer mode" enabled, then drag & drop the extraced zip file in.
To get a LND pairing phrase go to your Lightning Terminal (litd) (help) -> Lightning Node Connect -> create a new session.
If you use Umbrel or Start9 you can easily install "Lightning Terminal" from their app stores.
Then you can choose LNC in Alby to add a new account connection.

Test questions:

Can you connect to your LND node with LNC?
Does it work reliably across restarts of your browser?
Does the WebLN demo app show channel and balance information? https://liquimercado-lnd.getalby.repl.co/dashboard
Do payments reliably work?

ToDo:

[x] permission system to allow users to select the actions they want to enable for apps

Beta Tester
Test questions:
Can you connect to your LND node with LNC? Yes
Does it work reliably across restarts of your browser? Yes
Does the WebLN demo app show channel and balance information? Yes
Do payments reliably work? Yes, tried multiple send and receive, including LNUrl

@lyndonwest thanks a lot! That's great to hear!

Couldn't install extension in Firefox even after setting xpinstall.signatures.required to false.
Tested on Chrome
Can you connect to your LND node with LNC? Yes
Does it work reliably across restarts of your browser? Yes
Does the WebLN demo app show channel and balance information? https://liquimercado-lnd.getalby.repl.co/dashboard Yes
Do payments reliably work? Sent to a geyser.fund project, it took several seconds, but everything went through


add apreshill json file

Hi 👋
Did I do this right? 😄 LMK...
Thanks for making it easy!
Alison

Thank you for adding your blog to the list and for making free and open R content 😊 🥳 🎉


POC HTTPRoute timeout

What type of PR is this?

POC HTTPRoute Timeouts:

update HTTPRoute interfaces according to latest proposal in GEP-1742
include Request and BackendRequest in HTTPRouteTimeouts
add validation for HTTPRouteTimeouts

Relates to:
https://gateway-api.sigs.k8s.io/geps/gep-1742/
https://github.com/kubernetes-sigs/gateway-api/issues/1742
https://github.com/kubernetes-sigs/gateway-api/pull/1997
What this PR does / why we need it:
POC for HTTPRout timeout proposal
Which issue(s) this PR fixes:

Relates to https://github.com/kubernetes-sigs/gateway-api/issues/1742
Does this PR introduce a user-facing change?:

New fields have been added to configure timeouts on `HTTPRoute` rules:

- `rules.timeouts.request`: to specify a timeout for responding to client HTTP requests
- `rules.timeouts.backendRequest`: to specify a timeout for individual requests from the gateway to a backend service

See [GEP-1472](https://gateway-api.sigs.k8s.io/geps/gep-1742/) for more information.

@SRodi Can you also add a check for timeouts in the validator, e.g., check the value is >= 1ms?
https://github.com/kubernetes-sigs/gateway-api/blob/7b8f168c82a90522209a340bf291fcacab0fc5ef/apis/v1beta1/validation/httproute.go#L54

Thanks for the work on this @SRodi! I'll try to get back to review this, but adding a hold in the meantime because the corresponding GEP needs to both be approved and graduate to "implementable" before this can go in. More info here: https://gateway-api.sigs.k8s.io/geps/overview/#process.
/hold

@SRodi Thanks for working on this! Now that the GEP has merged I think you can remove "POC" from the title of this PR.
/ok-to-test

Hey @SRodi and @frankbu thanks for getting this GEP so far along! In general we try to add at least some basic conformance test coverage along with a new API, do you mind adding a follow up PR with conformance tests? If it's possible to get those lined up this week, I think this might be able to make it into v0.8.0.

Hey @SRodi and @frankbu thanks for getting this GEP so far along! In general we try to add at least some basic conformance test coverage along with a new API, do you mind adding a follow up PR with conformance tests?

@robscott Yes, we can look into adding conformance test for timeouts, but not this week. I think it will take a little longer to figure out how to set up a slow service in the conformance framework. I've been thinking we could add the httpbin service from Istio for this (and other HTTPRoute conformance tests in the future) where we could call /delay from a client with a timeout configured. I'm going to be on vacation next week, but if @SRodi or someone else can pick it up before I'm back, that would be great.

@robscott CEL validation tests are failing for the standard channel as this implementation is only available on the experimental channel - how does that work ?

Looks like the cel tests are failing?
I'm wondering why pull-gateway-api-verify says "Job succedded" even though several tests have failed?
^^^ @robscott any idea what's wrong here?

@frankbu good catch, my best guess would be that https://github.com/kubernetes-sigs/gateway-api/pull/2362 may have introduced a regression here. Will put a hold on this until we can figure it out.
/hold

Looks like the cel tests are failing?

Does config/crd/standard/gateway.networking.k8s.io_httproutes.yaml need to be regenerated to include the timeouts as well?

@frankbu @robscott as mentioned here https://github.com/kubernetes-sigs/gateway-api/pull/2013#issuecomment-1711732087 the CEL tests are failing on standard channel but passing on experimental. What should I do about that ?

@frankbu @robscott as mentioned here https://github.com/kubernetes-sigs/gateway-api/pull/2013#issuecomment-1711732087 the CEL tests are failing on standard channel but passing on experimental. What should I do about that ?

@SRodi you want to add the tests to this file instead: https://github.com/kubernetes-sigs/gateway-api/blob/main/pkg/test/cel/httproute_experimental_test.go. The test script actually loops through the channels, and installs CRDs and runs tests specifically for that channel (using build tags). Here's the actual test command that's being run: https://github.com/kubernetes-sigs/gateway-api/blob/main/hack/verify-crds-kind.sh#L63.

Does config/crd/standard/gateway.networking.k8s.io_httproutes.yaml need to be regenerated to include the timeouts as well?

Nope, experimental features are intentionally excluded from standard channel CRDs, so that part of this PR is working as intended.

All tests are passing after moving them to httproute_experimental_test.go - thanks for clarifying this @robscott
Is there anything else I should add to this PR?

This PR is just on hold while  I check the changes I introduced in #2362 - once I've either fixed any problems or confirmed it's not actually a problem, we can proceed. Until then, please sit tight.

Fixes in #2362 were great, looks like we can remove the hold on this one.
/hold cancel
/approve


expect(...) not failing the tests in Jasmine when Error thrown

I am running the Jasmine Test Explorer in VSC with SuperTest 6.1.3.
When I run this test it passes, even though internally it seems to know it should not.
describe("When throwing an unknown Error from a controller", () => {
    it('our router\'s error handling middleware will handle it correctly', function(done) {

        // Setup Route
        const app = express();
        app.get('/example',
            (request: Request, response: Response)=>{
                throw new Error("Test");
            }); // Middleware removed for this error report

        // Test
        request(app)
            .get('/example')
            .expect(111) // This
            .end(function(res){
                done();
            });

        // The Body will contain verbose amounts of html formatted information.
        // If you do not want that, update the error handler.
    });
});

When I run it from command line using jasmine-ts, the test passes but I get an error dump:
Started
..Error: Test
    at C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\unittests\lib\expressErrorHandlerMiddlewareTest.ts:37:23
    at Layer.handle [as handle_request] (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\layer.js:95:5)
    at next (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\route.js:137:13)
    at Route.dispatch (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\route.js:112:3)
    at Layer.handle [as handle_request] (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\layer.js:95:5)
    at C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\index.js:281:22
    at Function.process_params (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\index.js:275:10)
    at expressInit (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\middleware\init.js:40:5)
    at Layer.handle [as handle_request] (C:\Users\brandito\source\repos\brandonmpetty\Hydra\node-webservice\node_modules\express\lib\router\layer.js:95:5)
..............

16 specs, 0 failures

I expected SuperTest to catch my error and fail the test stating that 111 does not equal the expected 500 status code.

This is no longer blocking be because in production I am using express-promise-router.  When using that and switching everything over to async it works.  This is still probably an issue for those not using this exact setup.


NETOBSERV-1379: show DNS error number

Description
This PR adds dns error number field & filter.
It also ensure dns latency metrics query to run only on flows containing DnsLatencyMs field.

Dependencies
Based on https://github.com/netobserv/network-observability-console-plugin/pull/422
https://github.com/netobserv/netobserv-ebpf-agent/pull/218
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.

[ ] Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
[ ] Does this PR require product documentation?

[ ] If so, make sure the JIRA epic is labelled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.

[ ] Does this PR require a product release notes entry?

[ ] If so, fill in "Release Note Text" in the JIRA.

[ ] Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.

[ ] If so, make sure it is described in the JIRA ticket.

QE requirements (check 1 from the list):

[ ] Standard QE validation, with pre-merge tests unless stated otherwise.
[ ] Regression tests only (e.g. refactoring with no user-facing change).
[ ] No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

/ok-to-test

/lgtm

/ok-to-test

/label qe-approved


Testing for different BioPerl versions

Different BioPerl versions are tested for different Perl versions
Test coverage should therefore increase again.

Coverage increased (+0.9%) to 99.181% when pulling eed50fbcd6521a44e01a0c801b428a9d23a10d20 on hotfix/solve_coverage into 152428f67415af2b6a4b37f4d47463510ded050e on master.


Side Track for p5.js images/pixels/video

I'm teaching these concepts in my NYU course starting this week and would love to have a side track with all the code examples organized and updated video descriptions.
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aKKsDHZdDvN6oCJ2hRY_Ig

I discovered that @jht1493 created the examples in the p5.js web editor which will save a lot of time here!

Thanks to @kfahn22 this is mostly all done! Will leave open in case we want to add more videos from the playlist (slit scan, any others?), other small things:

track description
video descriptions
expand topics
add more related challenges
include pixel based challenges?

I will add the remaining two videos.

I think this track has been completed? https://thecodingtrain.com/tracks/pixels

Yes, I think so.  We might want to add the latest two challenges to related challenges, though.

@kfahn22 agreed! That can be done separately from this issue. Probably a good idea anytime a new challenge is published to look around and see where it might make sense to link from! We can address this in #1387 for the new video!


Error when trying to compile on linux.

what i ran
mkdir build
cd build
cmake ..

i got
CMake Error at CMakeLists.txt:166 (add_subdirectory):
  The source directory

    /home/dev/projects/others/melon/src/melon/libs/cJSON

  does not contain a CMakeLists.txt file.

CMake Error at CMakeLists.txt:170 (target_compile_options):
  Cannot specify compile options for target "cjson" which is not built by
  this project.

-- Configuring incomplete, errors occurred!

Hey! The project uses git submodules for the dependencies so, if you already cloned the project, you need to do:
git submodule update --init --recursive

Then it should work.

ok thankns


Changing FileIO.Write.FileNaming Interface to public

Currently, FileNaming is package local, which means that users can't actually implement it for custom naming strategies. This doesn't seem to be intended.
No JIRA ticket since it's a one word change. @jkff could you do a quick look for approval? Would be useful to get this in before 2.3.0.

Follow this checklist to help us incorporate your contribution quickly and easily:

[N/A] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[N/A] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.

[X] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[X] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Thank you for the catch!

Why is this change not in v2.3.0? Or is there a work around for using FileIO.withNaming?

Yeah, unfortunately this change happened after the v2.3.0 cut. You can use 2.4.0-SNAPSHOT meanwhile, 2.4.0 is being prepared for release already (typically releases take a couple of weeks if you're uncomfortable using a SNAPSHOT version).


Predefined templates

Summary
I'd like to be able to say "we use case teams" or "we use pricebooks" or other common features and have the tool check more objects for my schema
Please describe the problem you are trying to solve.
I wish I didn't have to try to remember which objects are included within a particular Salesforce feature.
Proposed Solution
Show a list of features to add or remove using checkboxes. Use the checkboxes drive the selected objects for the schema. This could be a "step 1" where "step 2" is customizing with more granularity (the existing detailed selection).

The current object selection process is very light weight: it detects NPSP or EDA, and makes simplistic guesses about additional standard objects you might care about from there. It also assumes you care able every custom object in every managed packages -- which is also a weak assumption.  So yes, there is lots of room for improvement here. I've been pondering the idea of having the ability to check/uncheck packages by namespace in a group, but they doesn't help with the standard objects that come along for the ride.
It would be help to have a list of specific patterns that you'd find useful, and the objects that should be selected as a consequence.

There have been several improvements to the selection interface since this was opened, but there is still room for more.  It would be helpful to get a list of suggested feature sets to include and what those when enable-disable. This could become an endless list so it would require some care about how to drive it well, but I'm interested in ideas and suggestions.

I think I'd like to use #105 for carrying this any further than the three detected org types currently.


Cannot report int value

I couldn't report int value. We need to check type of an input value here:
https://github.com/pfnet/chainer/blob/master/chainer/reporter.py#L244

I encountered the similar problem. Here is the small code that causes the problem.
from chainer import training
from chainer.training import extensions

def trigger(trainer):
    return True

class DummyUpdater(training.Updater):

    def __init__(self):
        self.iteration = 0

    def finalize(self):
        pass

    def get_all_optimizers(self):
        return {}

    def update(self):
        self.iteration += 1

    @property
    def epoch(self):
        return 1

    @property
    def is_new_epoch(self):
        return False

l = extensions.LogReport(trigger=trigger)
u = DummyUpdater()
t = training.Trainer(u)
# The integer value reported will be interpreted
# as the device ID by get_device function.
# So large number will raise invalid device ID error.
t.observation = {'key': 100}
l(t)


User land API Hooking

Hi Satoshi,
Is  it possible to hook some user land APIs using DdiMon ?
I understand that Ddimon only take cares of the kernel address space, is it possible to specify a user mode process  (through CR3  maybe?)
Thanks

No, DdiMon is not designed for user-mode addresses.
You could code and extend what DdiMon does for user-mode though. I also did some research on it. I did not make it stable enough but dumped source code of it. You might find it interesting.
https://github.com/tandasat/FU_Hypervisor

Thanks Satoshi, will look into it


ModuleNotFoundError: jax requires jaxlib to be installed. Windows 11

Hello. Recently, I've downgraded my CUDA to version 11.8(V11.8.89) and cuDNN to 8.6.0 for running another program. I'm not sure if this has caused the issue, but when I try to run DDSP, I encounter an error stating that 'jaxlib' is not installed, and thus I'm unable to use it.
Here are the commands I ran:
PS C:\Users\Pawn\DDSP-SVC> python main_diff.py -i input\audio.wav -ddsp exp\test\conbsub\model_90000.pt -diff exp\test\diff\model_15000.pt -o output\audio.wav -k 4 -id 1 -diffid 1 -speedup 1 -method dpm-solver -kstep 30
Traceback (most recent call last):
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\jax_src\lib_init_.py", line 24, in
import jaxlib as jaxlib
ModuleNotFoundError: No module named 'jaxlib'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Pawn\DDSP-SVC\main_diff.py", line 12, in
from ddsp.vocoder import load_model, F0_Extractor, Volume_Extractor, Units_Encoder
File "C:\Users\Pawn\DDSP-SVC\ddsp\vocoder.py", line 10, in
from transformers import HubertModel, Wav2Vec2FeatureExtractor
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers_init_.py", line 26, in
from . import dependency_versions_check
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\dependency_versions_check.py", line 17, in
from .utils.versions import require_version, require_version_core
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\utils_init_.py", line 30, in
from .generic import (
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\transformers\utils\generic.py", line 33, in
import jax.numpy as jnp
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\jax_init_.py", line 35, in
from jax import config as _config_module
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\jax\config.py", line 17, in
from jax._src.config import config  # noqa: F401
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\jax_src\config.py", line 24, in
from jax.src import lib
File "C:\Users\Pawn\AppData\Local\Programs\Python\Python310\lib\site-packages\jax_src\lib_init.py", line 26, in
raise ModuleNotFoundError(
ModuleNotFoundError: jax requires jaxlib to be installed. See https://github.com/google/jax#installation for installation instructions.

and I have already tried these:
C:\Users\Pawn>pip install --upgrade "jax"
Requirement already satisfied: jax in c:\users\pawn\appdata\local\programs\python\python310\lib\site-packages (0.4.12)
Requirement already satisfied: ml-dtypes>=0.1.0 in c:\users\pawn\appdata\local\programs\python\python310\lib\site-packages (from jax) (0.2.0)
Requirement already satisfied: numpy>=1.21 in c:\users\pawn\appdata\local\programs\python\python310\lib\site-packages (from jax) (1.23.5)
Requirement already satisfied: opt-einsum in c:\users\pawn\appdata\local\programs\python\python310\lib\site-packages (from jax) (3.3.0)
Requirement already satisfied: scipy>=1.7 in c:\users\pawn\appdata\local\programs\python\python310\lib\site-packages (from jax) (1.9.3)
C:\Users\Pawn>pip install --upgrade "jaxlib"
ERROR: Could not find a version that satisfies the requirement jaxlib (from versions: none)
ERROR: No matching distribution found for jaxlib

How can I resolve this issue?

Python 3.10.10

PS C:\Users\Pawn\DDSP-SVC> pip --version
pip 23.1.2 from C:\Users\Pawn\AppData\Roaming\Python\Python310\site-packages\pip (python 3.10)

Maybe pytorch should also be downgraded accordingly?

pip install "jax[cpu]===0.4.11" -f https://whls.blob.core.windows.net/unstable/index.html --use-deprecated legacy-resolver
Thank you for your response. The version of PyTorch also seems correct. I found a way to install a version of jaxlib that works on CPU, and DDSP is working again.


Locale error on ocean droplet

Notice: /Stage[bootstrap]/Locales/File[/etc/locale.gen]/content: content changed '{md5}d3d691f61256836ce3a68b0e5f06a537' to '{md5}de2f35f6889f95ce9f4faa61177858c1'
Notice: /Stage[bootstrap]/Locales/Exec[locale-gen]: Triggered 'refresh' from 1 event
Notice: /Stage[bootstrap]/Locales/File[/etc/default/locale]/content: content changed '{md5}1b3f32ca230f5f8368c50f675c752508' to '{md5}7ff8fd624821db587d69f8c2e2e37698'
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: perl: warning: Setting locale failed.
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: perl: warning: Please check that your locale settings:
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: 	LANGUAGE = (unset),
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: 	LC_ALL = (unset),
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: 	LANG = "en_US.UTF-8"
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns:     are supported and installed on your system.
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: perl: warning: Falling back to the standard locale ("C").
Notice: /Stage[bootstrap]/Locales/Exec[update-locale]/returns: *** update-locale: Error: invalid locale settings:  LANG="en_GB.UTF-8"
Error: /Stage[bootstrap]/Locales/Exec[update-locale]: Failed to call refresh: '/usr/sbin/update-locale' returned 255 instead of one of [0]
Error: /Stage[bootstrap]/Locales/Exec[update-locale]: '/usr/sbin/update-locale' returned 255 instead of one of [0]

_____________________________________________________________________
WARNING! Your environment specifies an invalid locale.
 The unknown environment variables are:
   LC_CTYPE=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 LC_ALL=
 This can affect your user experience significantly, including the
 ability to manage packages. You may install the locales by running:

   sudo apt-get install language-pack-en
     or
   sudo locale-gen en_US.UTF-8

To see all available language packs, run:
   apt-cache search "^language-pack-[a-z][a-z]$"
To disable this message for all users, run:
   sudo touch /var/lib/cloud/instance/locale-check.skip
__________________________________________________________________


General clean up: openedx.yaml, pip-tools, pylint, etc.

This is a general tooling PR, in preparation for adding API documentation tooling to this repo.
It sets the owner to @nasthagiri , uses pip-tools for test requirements, fixes PEP-8 violations, switches to pycodestyle, starts running quality checks again, fixes a bunch of pylint errors, and installs isort.
Note that pylint Convention and Refactor messages are disabled because there are so many of them.
FYI @nedbat

closed in favor of #94


Could not find com.google.android.exoplayer:exoplayer-core:2.11.4

Describe the Bug
When running the app with react-native-track-player on Android, I get the following error:

Execution failed for task ':app:mergeDebugAssets'.
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.google.android.exoplayer:exoplayer-core:2.11.4.
Searched in the following locations:
- file:/Users/sjors/.m2/repository/com/google/android/exoplayer/exoplayer-core/2.11.4/exoplayer-core-2.11.4.pom
- https://repo.maven.apache.org/maven2/com/google/android/exoplayer/exoplayer-core/2.11.4/exoplayer-core-2.11.4.pom
- file:/Users/sjors/Desktop/react-native-track-player-main/example/node_modules/react-native/android/com/google/android/exoplayer/exoplayer-core/2.11.4/exoplayer-core-2.11.4.pom
- file:/Users/sjors/Desktop/react-native-track-player-main/example/node_modules/jsc-android/dist/com/google/android/exoplayer/exoplayer-core/2.11.4/exoplayer-core-2.11.4.pom
- https://dl.google.com/dl/android/maven2/com/google/android/exoplayer/exoplayer-core/2.11.4/exoplayer-core-2.11.4.pom
- https://www.jitpack.io/com/google/android/exoplayer/exoplayer-core/2.11.4/exoplayer-core-2.11.4.pom
Required by:
project :app > project :react-native-track-player

This also happens with the example project. I commented in this ticket, where I said the solution was to add jcenter() to the Android build.gradle file, but I think that only removes the error and doesn't solves the problem, because the player on Android still won't work after that and incidentally crashes the app.
Steps To Reproduce

Install the example app
run npm install
run npm run android

Code To Reproduce
Example app
Environment Info:
npx react-native info

System:
OS: macOS 12.2.1
CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz
Memory: 54.24 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.0 - /usr/local/bin/node
Yarn: Not Found
npm: 8.5.5 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 30, 31
Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0
System Images: android-28 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7621141
Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

react-native-track-player

^2.1.3

Real device? Or simulator?
Real Android device
Again, thanks a lot!

This is a know issue that's resolve in 2.2.0-rc3
https://github.com/doublesymmetry/react-native-track-player/issues/1235#issuecomment-1098086394

This is a know issue that's resolve in 2.2.0-rc3
#1235 (comment)

Alright, perfect, 2.2.0-rc3 seems to be working great. Thank you so much for your excellent support! You made my day :)


PR - size guidance

Guidance on how to keep PR small and focused

https://github.com/microsoft/code-with-engineering-playbook/pull/160


Replaced CharacterSet with String for finding new lines in StringView.swift

This MR resolves https://github.com/krzysztofzablocki/Sourcery/issues/1165 and resolves #1138
Context

SourceryFramework/Parsing/Sources/Utils/StringView.swift parses input and uses CharacterSet for recognizing newline tokens \u{000A}\u{000D} (see StringView.swift:214 and StringView.swift:173)
Reference for the CharacterSet mentions link which has newline semantics described as line-break → U+000D followed by U+000A.
Since CharacterSet is used, the sequence of the characters is undetermined when used in string.components(separatedBy: CharacterSet("\u{000A}\u{000D}"))

Comparing to how TokenTrivia is parsing input, it mentions case carriageReturnLineFeeds(Int) as "newline consists of contiguous '\r' and '\n' characters". Thus, when parsed, expression struct S {}\r\nprotocol AP {}\r\n is represented as 3 lines in total, compared to how StringView.swift in Sourcery ends up with 5 lines in total.
Notes:
\u{000D}\u{000A} is essentially \r\n in unicode

@krzysztofzablocki I would like to run tests, but seems like documentation tests fail.
Is there any manual or how-to I could read how to run tests or maybe how to resolve the current issue?
Thank you 🙏

@art-divin rake tests and you can see all ops with rake --tasks

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger


Draft Steam Top Sellers app

Draft proposal for a "Steam Top Sellers" app. This simply renders a random selection from Steam's Top Sellers list, including the game name, price, (optional) discount and an image.
There are some notes for improvements and quality-of-life enhancements. Specifically, the caching and animation timing may use further refinement. The animation quality/length was also significantly reduced to keep the rendered file size under the required limit.
There are no configuration parameters required at this point.
Open to suggestions/feedback. Also including a preview image:

I have read the CLA Document and I hereby sign the CLA


Add ConfigJavaInfo to jar jar aspect

Problem:
We need certain transitive runtime jars to be added to the current jars list.
Solution:
This PR creates a provider ConfigJavaInfo that a target can expose with specific jars that need to be added to current jars

You said: "We need certain transitive runtime jars to be added to the current jars list." Can you be more explicit?
Why do we need certain transitive runtime jars added? Is it because the aspect isn't recursing properly? Maybe that's it because the "certain jars" are coming from a rule that the aspect can't traverse? Maybe we should fix our internal rule...


No instructions/information on what the default admin account is once MIT-Tab is initialized

After going through the readme instructions to get MIT-Tab running locally on my computer, I'm able to get to the login screen, but don't know what/where to find the default admin account to login with.

Hi @yazhao,
I usually just run python manage.py changepassword tab whenever I set up the system, to be honest I actually don't remember the password...
I've changed the password for the tab user to be 'mittab', and updated the README on how to set the password before running the server.


Resistor in Align

How can we realize a resistor or any resistive circuit using align ?

We have examples of resistor-based circuits in the ALIGN example.


For older version

this plugin is not work on oracle apex 23.2.0 version. can you please make available plugin for oracle apex 23.2.0 version.

Hi!
You can recreate the plug-in manually by yourself by copying the attributes and supporting files in your own environment.
Br,
Richard


MPDStats Plugin: handle update_rating when item is None / start tests for mpdstats

I had a small issue where I would play a song with MPD that wasn't imported by beets. So, when mpdstats tried to update the rating it would throw up an AttributeError that looks like:
mpdstats: skipped /media/music/tagged/Z-RO/Relvis Presley/09 One More Time.mp3

Traceback (most recent call last):
  File "/usr/bin/beet", line 9, in <module>
    load_entry_point('beets==1.3.14', 'console_scripts', 'beet')()
  File "/home/cody/src/beets/beets/ui/__init__.py", line 1104, in main
    _raw_main(args)
  File "/home/cody/src/beets/beets/ui/__init__.py", line 1094, in _raw_main
    subcommand.func(lib, suboptions, subargs)
  File "/home/cody/src/beets/beetsplug/mpdstats.py", line 360, in func
    MPDStats(lib, self._log).run()
  File "/home/cody/src/beets/beetsplug/mpdstats.py", line 306, in run
    handler(status)
  File "/home/cody/src/beets/beetsplug/mpdstats.py", line 253, in on_stop
    self.handle_song_change(self.now_playing)
  File "/home/cody/src/beets/beetsplug/mpdstats.py", line 233, in handle_song_change
    self.update_rating(song['beets_item'], skipped)
  File "/home/cody/src/beets/beetsplug/mpdstats.py", line 206, in update_rating
    item.load()
AttributeError: 'NoneType' object has no attribute 'load'

Obviously the better fix would be to import the song with beets ;) - but since MPD can play songs that beets may or may not have, it would be good to sanity check it and not kill the plugin.
Also started some tests for mpdstats which checks this!

Awesome! Thanks for getting to the bottom of this, and even adding tests. :smiley: :sparkles: :fish:
It looks like this case is already handled for the other events: handle_played and hanlde_skipped call update_item immediately, which already has the null check. Maybe this is worth documenting to make this clearer—the item in the song dict can always be None, so these utilities had better have checks.

Not a problem!
I did see where update_item handled the None item, so I tried to keep it consistent since update_rating needs to load the item as well.

Alright, squashed commits - and hopefully that fixes the tests!

Great! Thank you!


Bug/update detect browser

Our organization found a bug where if a website uses a CSS selector id=browser on any HTML elements, a global browser variable gets created. This interferes with the current implementation of the detectBrowser function when running on Chrome because the conditional logic sees typeof browser !== "undefined" as a truthy expression. This causes vuex-webextensions to incorrectly define the browser object as Firefox, and prevents the content and background scripts from syncing as expected.
As an example, open any webpage on Chrome. Open devtools and insert a new element

. Then, type browser into the console. You will see an Element object defined there.
This PR updates the conditional logic to check for the InstallTrigger object (docs ) in order to verify whether a browser is Firefox. The idea for this implementation came from this stack overflow post.

@MitsuhaKitsune Please let me know your thoughts! 🙏🏼

Hi @TCashion,
On first place a lot of thanks on bug catching and your time to investigate the alternative on browser detection and send the PR.
I test it and seems working without problems, so I merge this pull gona squash your commits and release a new npm build to apply your fix.
If someone found a bug with this, revert to previous version and tell me on issue tracker, on my tests didn't found any problem and I doubt that broke anything.
I will take the opportunity to update the dependencies and make some changes before the update, the new version with this fix included will be available in a maximum of 2 hours and I will notify you here when it is ready.
Once again, thank you very much for the PR, and sorry for the error, I was unaware that the browser variable could be manipulated in some environments.

Once again, thank you very much for the PR, and sorry for the error, I was unaware that the browser variable could be manipulated in some environments.

No need to apologize! Thank you for the quick review.

@MitsuhaKitsune I just wanted to check in since I did not see the new npm version get published. No hurry! I was just wondering whether you ran into issues with the package upgrades.

Sorry for the delay, I upload the version 1.3.1 with this fix included to npm.
Now im updating to give support to vuex v4 and v5, chrome manifest v3 too, this gona take me some time, but for now the fix are available on v1.3.1 ^^

Thanks, I really appreciate the responsiveness 👍🏼


Implement complete cart functionalities.

Currently in the website the cart is not working.
I can do the following changes.

Add items to cart when user clicks on add to cart button. If item already exists quantity will be increased.
In the cart page selected items will be listed.
Users can update (+/-) the quantity.
Users can remove an item from the cart.

There are 2 options to implement cart feature. One is using local storage. Other one is storing in server.
I will be okay with both options.  Please let me know, which method you would like to proceed with this approach or if you have any further suggestions.

join discord for further communication and discussion


Add film data

Codecov Report

Merging #47 into main will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #47   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           58        58
  Lines          557       543   -14
=========================================
- Hits           557       543   -14

Impacted Files
Coverage Δ

qual_id/categories/film.py
100.00% <ø> (ø)

qual_id/pattern.py
100.00% <0.00%> (ø)

test/utils/category_helper.py
100.00% <0.00%> (ø)

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 9393600...f1e88a9. Read the comment docs.

Thanks a lot for the contribution @GoldDust69 ! 🎉


owntracks broken with HA zones (since 0.94.x)

Home Assistant release with the issue:

broken in 0.94.x and 0.95.x
Last working Home Assistant release (if known):
0.93.x
Operating environment (Hass.io/Docker/Windows/etc.):

HA in docker
Component/platform:

owntracks.
Description of problem:
https://www.dropbox.com/s/tuo9uzva4jgoqql/IMG_0293.MOV?dl=0
i press update on owntracks, it sends to my MQTT, the location changes, and then within 2-3 secs HA changes it back.
if i revert to 0.93.x this doesn't happen. and the changelog says someone was is the code in 0.94.x
i'm currently in the "work" zone, when i send the OT update, it confirms in in the work zone GPS coords. and then it reverts.
its as if HA* is caching the old value, and then overwriting the new value.
(*confirmed MQTT is not getting a new update message from another source)
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Ditto. Sadly the new device tracker functionality seemed to wreck the owntracks integration pretty hard in .94. I opened case #24638 as well but no love.

well, al least i know i'm not alone. that makes me feel somewhat better.

@pnbruckner

@stoneobscurity, owntracks was converted to the new "entity based" tracker format in 0.94. I simply fixed one bug that I found after that. I'm not the code owner, nor do I know much about this component or how it works. Sorry, I can't really help.

could it be Nabu Casa overwriting? i used NC+OT for a while, but found it less reliable, then ended up completely disabling NC and signing out inside HA. @balloob

Hmm I don't use NC either. I did a long while back then moved to MQTT instead

Same problem here, with some devices..not all.


Unblock threads

Adds a temp solution for unblocking thread listing:

Reduce the IPFS timeout to 5 seconds
Log an error and return the list of successfully listed threads

Handles queued blocks concurrently (I noticed that if a post is failing from not being able to cat a block, all other posts will also be blocked)
Removes the profile publishing that has been happening every time the peer comes online

The go.mod changes are just from running build - not sure if IPFS has tweaked their dependencies or if this just never got run before the last release.


Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

Fetching sassc 2.0.1
Installing sassc 2.0.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/sassc-2.0.1/ext
/usr/bin/ruby2.5 -rrubygems /usr/share/rubygems-integration/all/gems/rake-12.3.3/exe/rake RUBYARCHDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/sassc-2.0.1
RUBYLIBDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/sassc-2.0.1
/usr/bin/ruby2.5: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-12.3.3/exe/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/sassc-2.0.1 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/sassc-2.0.1/gem_make.out

An error occurred while installing sassc (2.0.1), and Bundler cannot continue.
Make sure that `gem install sassc -v '2.0.1' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  middleman was resolved to 4.3.4, which depends on
    middleman-core was resolved to 4.3.4, which depends on
      sassc

Error: can't install using bundler
OS : Kali Linux

This looks like a problem with how rake was installed such that bundle / gem cannot now find it. You can try something from https://github.com/Shopify/mruby-engine/issues/33 or https://stackoverflow.com/questions/32053451/ruby-rake-loaderror-bundle-exec-rake-not-working, but this is not an issue with Slate itself.

Yeah sorry I'm a newbie. But now the documentation seems pretty clear to me. It solved my problem thanks


How to use the 'hide' method

I am trying to dynamically hide a single step from my 5 step wizard. By hiding, I mean I want the li and the corresponding tab/div to be hidden. Per documentation, the hide method only hides the li, but not the div of the tab. and that is also what I experience, the corresponding navbar entry is hidden, but by navigation via "Next" through my wizard, the final tab now shows the corresponding tab/div of what was once my hidden step's tab/div.
Example
li1 li2 li3 li4 li5
tab1 tab2 tab3 tab4 tab5
.bootstrapWizard('hide', 3);
li1 li2 li3 li5
tab1 tab2 tab3 tab4
How can I achieve
li1 li2 li3 li5
tab1 tab2 tab3 tab5
I did try calling the resetWizard after hiding my step, but it didn't have any effect
thanks in advacne and cheers

I switched from version 1.2 from cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap-wizard/1.2/jquery.bootstrap.wizard.min.js to the latest js code in versio n1.4.2 in this repo, now it works as expected ;-)


elemental upgrade

port current cos --upgrade code and consume it in cos-toolkit
Scenarios to consider:

[x] upgrades in kubernetes with system upgrade controller suc-upgrade
[x] support --docker-image
[x] support --directory
[x] support --recovery
[x] support --no-verify
[x] support --no-cosign
[x] support --strict

Follow up for kubernetes: https://github.com/rancher-sandbox/cOS-toolkit/issues/1136


Update JSONlab to JSONio

Fixes #48
JSONio has all the functionality that JSONlab has. This was an easy update.
This has been updated for both matlab and matlab-binary.
TestDrive.m successfully ran for both matlab and matlab-binary.

Very cool! Odds are I will not be able to review this for a few days, but I'll give it a look when I can.

@wandell / @lmperry Does this pass your muster?

I recognize most of the changes as associated with how JSONio and JSONLAB handle the cases of a '.' in a string and an '_'.
If it all runs, then I suggest we merge and move on, though Jen should be given a chance to respond.
The plan going ahead is for Michael and me to accept the Flywheel.m and library as they arrive from you folks and to build the modern form of the SDK.  I believe we will start this work next Wednesday.

From: Nathaniel Kofalt<EMAIL_ADDRESS>Sent: Thursday, September 28, 2017 3:53:21 PM
To: flywheel-io/sdk
Cc: Brian A Wandell; Mention
Subject: Re: [flywheel-io/sdk] Update JSONlab to JSONio (#49)
@kofalt requested changes on this pull request.
A quick dry-review. I have not commented on the non-binary templates, but any comments / changes made should go to both 🙂

In bridge/dist/matlab/testDrive.mhttps://github.com/flywheel-io/sdk/pull/49#discussion_r141754265:

@@ -8,7 +8,7 @@
%       ex: setenv('SdkTestKey', APIKEY)

% Create string to be used in testdrive
-testString = 'aeu8457bjclsj97v2h';
+testString = '123235jakhf7sadf7v';
Why did this change?

In bridge/dist/matlab/testDrive.mhttps://github.com/flywheel-io/sdk/pull/49#discussion_r141754318:

%% Gears
disp('Testing Gears')
-gearId = fw.addGear(struct('category','converter','exchange', struct('git_0x2D_commit','example','rootfs_0x2D_hash','sha384:example','rootfs_0x2D_url','https://example.example'),'gear', struct('name','test-drive-gear','label','Test Drive Gear','version','3','author','None','description','An empty example gear','license','Other','source','http://example.example','url','http://example.example','inputs', struct('x', struct('base','file')))));
+gearId = fw.addGear(struct('category','converter','exchange', struct('git0x2Dcommit','example','rootfs0x2Dhash','sha384:example','rootfs0x2Durl','https://example.example'),'gear', struct('name','test-drive-gear','label','Test Drive Gear','version','3','author','None','description','An empty example gear','license','Other','source','http://example.example','url','http://example.example','inputs', struct('x', struct('base','file')))));
Same question.

In bridge/templates/template.binary.mhttps://github.com/flywheel-io/sdk/pull/49#discussion_r141754368:

@@ -59,9 +59,10 @@
% {{camel2lowercamel .Name}}({{range $ind, $val := .Params}}{{.Name}}{{if lt $ind $length}}, {{end}}{{end -}})

         {{if ne .ParamDataName ""}}oldField = 'id';

       newField = 'x0x5F_id';

       newField = 'x0x5Fid';

Can you explain the implications of this change?

In bridge/templates/template.binary.mhttps://github.com/flywheel-io/sdk/pull/49#discussion_r141754693:

         {{.ParamDataName}} = Flywheel.replaceField({{.ParamDataName}},oldField,newField);

       {{.ParamDataName}} = savejson('',{{.ParamDataName}},'ParseLogical',1);

       opts = struct('replacementStyle','hex');

Mind leaving a comment explaining this option struct's implications, or a alternately a comment with a link to the library's documentation on same?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/flywheel-io/sdk/pull/49#pullrequestreview-66020290, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABwIWa3gfAZBDOr9AHW7P-9i8mKGh-L_ks5snCNhgaJpZM4PmJLE.

@jenreiter can weigh in on her changes, but I will say that I compiled the matlab binary and tested with it and can confirm that the testDrive script ran for me as well. 👍
I also ran a series of example searches and those ran with only slight modifications to syntax.
https://github.com/scitran/client/commit/da58a9c53e2e91c342fc042f11ed3dd869b66348#diff-424a40c2303a2e4292b43c1ef8ba905e

Hi Addis. I found I had to use the resvport option.
Have a good one! See you monday!
Cheers,
Michael
On Fri, Sep 29, 2017 at 3:19 PM, Michael Perry<EMAIL_ADDRESS>wrote:

@jenreiter https://github.com/jenreiter can weigh in on her changes,
but I will say that I compiled the matlab binary and tested with it and can
confirm that the testDrive script ran for me as well. 👍
I also ran a series of example searches and those ran with only slight
modifications to syntax.
scitran/client@da58a9c#diff-424a40c2303a2e4292b43c1ef8ba905e
https://github.com/scitran/client/commit/da58a9c53e2e91c342fc042f11ed3dd869b66348#diff-424a40c2303a2e4292b43c1ef8ba905e
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flywheel-io/sdk/pull/49#issuecomment-333252452, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACBX4_zQRD24ddGPNAXgFek1gAZCUpZWks5snWz6gaJpZM4PmJLE
.

--
Michael Perry
Stanford Center for Cognitive and Neurobiological Imaging
Vision, Imaging Systems & Technology Lab
Stanford University
420 Jordan Hall, Room 482
<EMAIL_ADDRESS>|<PHONE_NUMBER>


Cannot connect to android app. CAN connect with laptop

Hello,
Found this app on reddit. Looks nice and native. However, I can't connect to my server. It just says invalid host on the app. If I connect using a web browser in my LAN, however, I CAN connect so I imagine I am typing my url in right but doing something else wrong?
Any help with this is appreciated!

Hi there,
the host you have to enter is the one you can enter in your browser as well. Just try around till a message like "Ollama is running" appears. Then enter the address in the app.
Also make sure your instance is allowed to be accessed. Follow the steps described in #5 to learn more.


add support for multiple versions

Hi Guys,
I'm not sure this is a correct way to do that but we need such feature. I'm open to any suggestion and collaborate on this feature and project.
I hope this will be a good start point to a discussion on this feature.
What changes were proposed in this pull request?

fix MAX_VERSIONS flag usage (it was not used)
give the ability to create table which holds more than one version
give the ability to fetch more than one (latest) view of the same entity
you can set number of versions to fetch

How was this patch tested?
It contains own suite with few integration tests.

Thanks for the PR, @btomala .
cc: @merlintang @dongjoon-hyun

I analyzed code one more time and revert unneeded changes, the flag MAX_VERSIONS was used in one place. I missed it somehow.
Also, I'm interested in backporting this to the 1.6 version. What flow do you have? Should I make another  PR to the master-1.6 branch?

Hi @btomala For the 1.6 version, you need to make another PR for SHC branch-1.6 https://github.com/hortonworks-spark/shc/tree/branch-1.6. Thanks.

I updated the license header and a little bit code comment. Merged to master, branch-2.2. Thanks for this PR, @btomala .


cowork with TensorFlow?

Thanks for nonconformist library release.
I want to connect my regression(LSTM) model in TensorFlow to this nonconformist's IcpRegressor.
How can I do this?

I'm afraid I'm not familiar enough with TensorFLow to provide you with a full code example. However, what you need to do, is create a new model adapter (nonconformist.base.BaseModelAdapter) that maps your TensorFlow regression model to the interface that nonconformist expects.
It should look something like this:
https://gist.github.com/donlnz/2032c6166947f0a2e11451dfbbcdb303


Inventory spam crash exploit

I am currently running
Minecraft: 1.12.2
SpongeAPI: 7.3-7127e0882
Sponge: 1.12.2-7.3.0
SpongeForge: 1.12.2-2838-7.3.0
Minecraft Forge: <IP_ADDRESS>38
JVM: 1.8.0_292/64-bit (Private Build)
OS: Linux (5.4.0-72-generic/amd64)
Plugins (112): Minecraft, Minecraft Coder Pack, SpongeAPI, Sponge,  FastAsyncWorldEdit, ActiveTime, AdminShopEC, AnimationPlugin, AntiShulkerDispenserCrash, ArenaControl, ArmorStandTools, AutoMessageEC, AutoRestarterEC, BanManager, BiomeRTP, BossBar, BossPackages, Buycraft, ChangeLogNotifier, ChatColors, ChatShow, ChestShop, ClaimTweaks, ClearMob, CommandNPCSEC, CommandSigns, CommandUtils, Cosmetics, CrateKeys, CustomSpawners, DiscordIntegration, DropCratesEC, EconomyLite, Emotes, EufranioUtils, Even More Pixelmon Commands, EventsEC, Fireworks, FloatingDisplay, ForumScraper, FullBrightEC, GTS, GTS Reforged Bridge, GamblingEC, GriefPrevention, GuildsEC, HelpMe, Holograms, HuskyCrates, HuskyUI, ImpactorAPI, ItemTradeEC, KitSuiteEC, LeaderHeads, Lightshow, LuckHolders2, LuckPerms, MBDiscordLink, MagiBridge, MiscEC, MobClear, Mod Patcher, NexusEC, Nickname Manager, NuVotifier, Nucleus, OrbStands, Pipeline, PixelGyms, Pixelmon Wiki Gui, PixelmonMMO, PixelmonOverlay, PixelmonPlaceholders, PlaceholderAPI, Plan, Player vaults, PlayerQueueService, PokeBattleClauses, PokeBuilder, PokeColor, PokeDisguise, PokeHuntsEC, PokeParticles, PokexpMultiplier, PresentsEC, Prism, ProjectCore for SpongeAPI 7.x, ProjectPortals, RandomCommandsEC, SchematicSyncerEC, ShardsEC, ShmeebGuard, SignEditor, SpongyHolograms, StatueControlEC, TabManager, TeslaCore, TeslaLibs, TitlesEC, TriviaQuest, UltimateChat, VelocityRelays, VirtualChest, VoteSuite, VoxelSniper, WorldEdit, YourCustomPaintings, acorpSTS, builderplugin, midi-player, nl.guuslieben.headsevolved.HeadsEvolved, spark

Mods (20): Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, Sponge, Capturedupefix, Emotes, Fzzy Quests, LegendaryPlus, MiscECMCF, MoveSkillController, PhioneBePhigone, Pixel Extras, PixelEvent, Pixelmon, Pixelmon Trainer Commands, RandomPatches, SpongeForge, Wondertrade

I am currently facing frequent attacks from a group of users who will crash my servers using an inventory spam method. The crash is done by obtaining a bunch of 2 different types of ItemStacks, like so: https://gyazo.com/c715c5c4e25da60757e591b899b9e55a
They will then use a hacked client to interchange the positions of the two differing types very quickly, which I assume overloads the server with ClickInventoryEvents. Following a massive lag spike, all or most players will then be disconnected.

A possible solution may look like: Duration between packets and a configurable threshold to auto-kick/ban the trolls (mixin config plugin to do it)
Done by the following:

Configuration in exploit category for the threshold count (n number of packets and m ticks)
Separate mixin to keep track of the number of click inventory packets being counted (can be mixing into PacketPhaseUtil since it handles some exploit packets already there)

Increment the number of these packets received, if meeting the threshold, kick player
Reset count on Player tick


[POC] Demo: Standard Error Wrapping

Related Issue
Exploring the ergonomics of wrapped error handling
Description of changes

upon further discussions, we agreed that a contract should only Wrap__ and revert if the call was made to an arbitrary/non-static address
taking a look at posm, we are not making any calls to arbitrary addresses until subscriber is merged in. closing for now, but will reference in the future


Mysql support

How against adding mysql support would you be? I find your tool very direct and to the point and mysql has nothing remotely like it (they don't even have an open source gui tool like pgadmin) so I think it would be pretty cool. I know that this would add a layer of compatibility and probably would make working with css/html morecomplex as you have to support both but it is so much better than working with phpmyadmin that I think you might gain a lot of users/contributors.
If you are interested I or someone looking at this can start a fork to add support in the hopes that it gets merged back.
ps: yes mysql is a worse database manager, please tell that to wordpress core :)

@santagada I know this is a old thread, but I wanted to share my fork in case you still need a similar tool for MySQL.  https://github.com/smurfpandey/mysqlweb


NTR: yokan and friends

Greetings @Public-Health-Bioinformatics !
We  (@TaskeHAMANO and I) are aligning MEO to ENVO and are reimporting many food terms into ENVO to support annotators asserting food environments for their metagenomics projects.
We're going to have a number of requests coming up in the next few days. These will use East Asian characters in links, which may require some encoding updates.
The first set (which I'm not sure where to place), includes:
label: yokan
definition: A  jellied dessert made of red bean paste, agar, water, and sugar.
  dbxref for defintion: https://en.wikipedia.org/wiki/Y%C5%8Dkan
comment: The agar is usually in the form of kantens, agar sticks which require hydration.

label: neri yōkan
SubclassOf: yokan
definition: A yokan which has less water added to it during preparation, relative to standard yokan.
  dbxref for def: https://en.wikipedia.org/wiki/Y%C5%8Dkan

label: mizu yōkan
SubclassOf: yokan
definition: A yokan which has more water added to it during preparation, relative to standard yokan.
  dbxref for def: https://en.wikipedia.org/wiki/Y%C5%8Dkan

label: an
definition: A paste which is made from beans, grains, or other vegetables which are boiled, mashed, and diluted into a slurry which strained and then filtered, squeezed dry, and then usually sweetened.
  dbxref for def: https://en.wikipedia.org/wiki/Sweet_bean_paste
  dbxref for def: https://ja.wikipedia.org/wiki/餡
narrow synonym: sweet bean paste
narrow synomyn:

label:sweet bean paste
SubClassOf: an
definition: An an which is made from beans.
  dbxref for def: https://en.wikipedia.org/wiki/Sweet_bean_paste
comment: There should be more sublcasses of this term created when needed, as many beans may be used.

label: azuki bean paste
SubClassOf: sweet bean paste
definition: A sweet bean paste which is made from Vigna angularis beans.
exact synonym: adzuki bean paste
exact synonym: red mung bean paste
exact synonym: aduki bean paste

label: shiro an
SubclassOf: sweet bean paste
definition:  A paste made of white kidney beans (from plants of the Phaseolus vulgaris species) and which has a milky and translucent appearance.
  dbxref for def: https://en.wikipedia.org/wiki/Y%C5%8Dkan
comment: Shiro an is sometimes used to make yokan, especially mizu yokan, however it is not, strictly speaking, yokan. Sugar is often added when this is used as a dessert ingredient or a dessert.
exact synonym: aduki bean paste

I think you can axiomatise the less and more water using "has [increased/decreased] levels of" and some wetness quality from PATO.

PS: For microcrediting:
My ORCID : http://orcid.org/0000-0002-4366-3088
@TaskeHAMANO 's ORCID :  http://orcid.org/0000-0002-1816-4260

@pbuttigieg
I made a review and found one correction.
label: shiro an
...
exact synonym: aduki bean paste

shiro an is one of the bean paste, but aduki(adzuki) bean paste is used to express red bean paste. Thus exact synonym of shiro an would be "white bean paste".
Also, dbxref of azuki bean paste would be  https://en.wikipedia.org/wiki/Red_bean_paste .

One thing I should note is that the experimental SIREN database of food products, which is waiting in the wings pending review and placement of items, is the import/subset_siren_import.owl file which is NOT included in the foodon.owl and foodon_core.owl files (which are currently the same).  It is in the foodon_siren.owl file.  Its history is that it is from LanguaL's SIREN database of indexed food products.  One issue with it is that none of the products have definitions.  But it does have products like red wine, white wine, coconut (food product) and over 9,000 others. I have set aside FoodOn ontology ids for this range of terms as indicated in the subset_siren_import.owl.  So in short, I'll be reusing the IDs already assigned for some of the above items in subset_siren_import.owl .
But I REALLY appreciate having definitions, synonyms etc contributed as above for all the products!  I will implement them asap.

The above terms are now on github repo.  Haven't added the red bean paste dbxref but that will come soon. I assumed both ORCIDS would appear as definition editor on above items.

IDS:
FOODON_03309861
label: coconut product
FOODON_00002238
label: cocos fruit product
FOODON_00002243
label: nata de coco
FOODON_00002285
label: yokan
FOODON_00002382
label: neri yōkan
FOODON_00002383
label: mizu yōkan
FOODON_00002387
label: an
FOODON_00002388
label:sweet bean paste
FOODON_00002389
label: azuki bean paste
FOODON_00002390
label: shiro an

Thanks!
On 2 Oct 2017 20:45, "Damion Dooley"<EMAIL_ADDRESS>wrote:
Closed #30 https://github.com/FoodOntology/foodon/issues/30.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FoodOntology/foodon/issues/30#event-1275112375, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACK7MuI5Ys0uM8hEJtvkZzbE5Oaws21yks5soYOXgaJpZM4PUH3m
.


Can't login without enabling intents!

Whenever I login it says:
[DISALLOWED_INTENTS] Privileged intent provided is not enabled or whitelisted.
But my bot is verified and I can't enable intents, I must apply for them, but I should be able to use the client just fine without intents, I'll be missing some features but it'll mostly work, how can I do that?

@karimawii Yes, you can use the client without a few privileged intents and it should still work, though with some missing features.
Edit public/electron.js and comment out either or both of lines 107 and 108 likes this, depending on whatever intents you can't enable:

There's no solution for the app version? I must use the source code for that? Cause I have no idea how to set it up from the source code 😢

There is not at the moment.

@karimawii there isnt any direct solution for the compiled app at the moment.
You will have to edit from the source code.

Well, thanks for the help, appreciate it

@karimawii you can join our support server and we'll help you out with setting up the source code


Backwards compatibility break due to acorn dependency

The latest acorn release (1.0.1) breaks compatibility with the previous 0.x releases: https://github.com/marijnh/acorn/issues/235
The current version of this package (4.0.2) depends on a version compatible with 1.0.1, thus breaking compatibility without increasing its own major version.
In practice, this breaks our jade templates that contain variable names clashing with reserved keywords.
The only way I can think of fixing this is releasing 4.0.3 depending back on 0.11.x, and 5.0.x depending on 1.0.1, but hopefully there's a less intrusive way of doing so.

FYI - I posted this issue in the acorn repo: https://github.com/marijnh/acorn/issues/235

Got the same problem! +1

Sorry about this.  acorn broke backwards compatibility in many ways.  I dealt with (most) intentional changes, but they also accidentally broke browserify support and created a bug where yield is not supported in ES6 mode.
The browserify bug @hawkerboy7 is experiencing is being tracked by https://github.com/marijnh/acorn/issues/232 and https://github.com/marijnh/acorn/pull/237.  You should seriously consider using jade server-side to pre-compile your jade files using jade --client foo.jade then only including the jade runtime.  This will be waaaay more performant and have much better browser support.

I use id-builder which uses browserify and other modules to do what you describe if I am not mistaken. Jade files are turned into .js files and those are then turned into a bundle by browserify. However the user now still needs window.jade = require('jade').runtime on the client side to make the .jade -> .js templates work.

Instead, you can add var jade = require ('jade/lib/runtime') for a bundle that's thousands of times smaller :)

Great thank you! =D


[5.5] [Async Refactoring] Support Obj-C style bool flag checks

5.5 cherry-pick of https://github.com/apple/swift/pull/37629

Add an additional case to CallbackCondition to support boolean checks, and add the necessary classification logic to determine whether a bool flag check is for a success or failure path.
The logic currently first checks to see if the async alternative has a convention that specifies which parameter the flag is, and whether it's a success or failure flag. If so, it classifies the flag check accordingly. If there's no async convention specified, we use a heuristic to see if the error parameter is force unwrapped in the failure block. If so, we treat that as the error path. If there's no force unwrap of the error, we leave the condition unhandled.
rdar://74063899

@swift-ci please test

@swift-ci please test macOS

@swift-ci please test macOS

Build failed
Swift Test OS X Platform
Git Sha - c4b09e3fa7f75e8ebbd5f6da38b6a67ac48d335a

Build failed
Swift Test OS X Platform
Git Sha - c4b09e3fa7f75e8ebbd5f6da38b6a67ac48d335a

@swift-ci please clean test macOS

Build failed
Swift Test OS X Platform
Git Sha - c4b09e3fa7f75e8ebbd5f6da38b6a67ac48d335a

@swift-ci please test macOS

Build failed
Swift Test OS X Platform
Git Sha - c4b09e3fa7f75e8ebbd5f6da38b6a67ac48d335a

@swift-ci please test macOS

@swift-ci please test macOS


Remove StringToBytes and BytesToString functions from random utils

@Kamandlou can you work on this one?

Hi there,
I'd like to take on this issue and remove the StringToBytes and BytesToString functions from the random utils. I'll get started on it right away. Please assign this issue to me if needed.
Thanks!

@ErfanTech it's assigned ti you now(:


useAsyncList returns cursor

AsyncListData contains cursor to support hiding "load more button" if there is no more items, such as
let list = useAsyncList({});

// render
list.cursor ? <Button onPress={list.loadMore}>Load more</Button> : null

I'm not certain what the ask is here, is the cursor in the load function as show here insufficient? Mind adding some more context/information?

Could you do something like this?
let [more, setMore] = useState(true);
let list = useAsyncList({
  async load({ signal, cursor }) {
    // If no cursor is available, then we're loading the first page.
    // Otherwise, the cursor is the next URL to load, as returned from the previous page.
    let res = await fetch(cursor || 'https://pokeapi.co/api/v2/pokemon', {
      signal
    });
    let json = await res.json();
    // logic to set `setMore` to false goes here
    return {
      items: json.results,
      cursor: json.next
    };
  }
});

{more && <Button>LoadMore</Button>

Thank you. This is my current solution so I am wondering if any "native" react-stately way since it's common ui pattern.

I see, at the moment @snowystinger's example would be the way to track the cursor. We could potentially provide the cursor as part of the object returned by useAsyncList since we update data.cursor internally but if feels potentially extraneous since the user is the one providing the load function in the first place IMO.


Implement second derivative for Hermite splines

In the original version, the CubicHermite and the ExponentialHermite basis functions where implemented as not twice differentiable, but they are in fact twice differentiable. They are just not C2. Since some of the non-Hermite basis functions are also not C2 but we have implemented the second derivative, we should also do this for the Hermite splines.
Even though the second derivatives are not continuous, having them will be useful to compute curvature and bending energy.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.48%. Comparing base (9583f0b) to head (edd5d10).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   98.49%   98.48%   -0.01%
==========================================
  Files           3        3
  Lines         530      528       -2
==========================================
- Hits          522      520       -2
  Misses          8        8

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


Sometimes gives this error

{ message: 'Request failed with status code 401', severity: 'COMMON' }

Sorry for the very delayed response but here's a video explaining what a 401 error is and how to fix it. Realistically without the whole error stack I can ONLY assume that this is to do with your spotify credentials and that they invalidate sometimes or something along those lines. https://www.youtube.com/watch?v=5mm93gB6Hu0

Sorry for this issue, the issue was caused by my server network problem.


Wrapper scripts

Hello,
Here are two handy scripts:
bin/rxnmap.py: atom-atom map a .rsmi file (reaction SMILES)
bin/rsmi_center.py: compute chemical distance and extract reaction centers from a mapped .rsmi file
Regards,
F.

@pschwllr Not interested?

Why was this PR closed?

Sorry for that. I think that GitHub closed it automatically when I deleted the master branch - and now I can't reopen it.

Do you want me to submit it again?
It has waited quite some time without any feedback, so I don't think you are interested though.

To be honest, I haven't looked at the PR yet. But independently of that, I am in the process of checking the legal aspects of external contributions to our repos. Let me get back to you within the coming weeks :)


Design Systems

Design Systems_Best Practices

How a small team built figma.com’s design system
https://www.designsystems.com/how-a-small-team-built-figma-dot-coms-design-system/

Why Do You Need A UX Research System?
Tamás Virágh
April 13, 2019
UX Research
https://uxstudioteam.com/ux-blog/ux-research-system/

A GUIDE TO DESIGN SYSTEM FIELD STUDIES
April 14, 2020
https://moduscreate.com/blog/design-system-field-studies/


[Site] Live site deployment doesn't remove old content

We deploy the live site using Zip Deploy, which will overwrite existing content, but notably will not delete old content. For example, if your first deployment looks like this:
wwwroot-first-deploy.zip\
    FirstDeploy.txt

and your second looks like this:
wwwroot-second-deploy.zip\
   SecondDeploy.txt

The live site will look like this:
wwwroot\
    FirstDeploy.txt
    SecondDeploy.txt

This means that we have stale content being served up from the site.
(see bug on Zip Deploy here)

Moving to P1 for future work


[TC-MF-1.4] Read Fabriclist fails when Second Controller Commissions and read attribute

Problem
[TC-MF-1.4] Node Behavior using BCM [DUT - Commissionee]
TH_CR1 starts a commissioning process with DUT_CE
If (PICS_MF_BCM) TH_CR1 opens a commissioning window on DUT_CE using a commissioning timeout of PIXIT_COMM_WIN seconds using BCM
zcl AdministratorCommissioning OpenBasicCommissioningWindow 12344321 0 0 commissioningTimeout=500
TH_CR1 writes and reads the Basic Information Cluster’s NodeLabel mandatory attribute of DUT_CE
zclwrite Basic UserLabel 12344321 0 0 TE5New
zclread Basic UserLabel 12344321 0 0
TH_CR2 starts a commissioning process with DUT_CE
connect -ip <IP_ADDRESS> 20202021 12345678
TH_CR1 reads the list of Fabrics on DUT_CE
zclread OperationalCredentials FabricsList 12344321 0 0
TH_CR2 reads the list of Fabrics on DUT_CE
zclread OperationalCredentials FabricsList 12345678 0 0 ==> This fails , but CR1 can still read attributes
LOCK-TC-MF-1.4-MasterFailureLog.txt
Commit log
commit edc22bd (HEAD -> master, origin/master, origin/HEAD)
Author: Vivien Nicolas<EMAIL_ADDRESS>Date: Wed Oct 27 22:02:31 2021 +0200
DUT Log:
CHIP:SC: Sending status report. Protocol code 0, exchange 22744
CHIP:EM: Piggybacking Ack for MessageCounter:1845535937 on exchange: 22744r
CHIP:IN: Prepared plaintext message 0x8018220 to 0x0000000000000000 of type 0xhx and protocolId (64, 0) on exchange 0� with MessageCounter:114.
CHIP:IN: Sending plaintext msg 0x8018220 with MessageCounter:755342411 to 0x0000000000000000 at monotonic time: ld msec
CHIP:IN: CASE Session established. Setting up the secure channel.
CHIP:IN: Marking old secure session for device 0x00000000000008AE as expired
CHIP:IN: New secure session created for device 0x00000000000008AE, key 3!!
CHIP:IN: CASE secure channel is available now.
CHIP:IN: CASE Server enabling CASE session setups
CHIP:DL: Long dispatch time: 2262 ms, for event type 4
CHIP:EM: Received message of type 0xhx with protocolId (16, 0) and MessageCounter:0 on exchange 42178�
CHIP:EM: Rxd Ack; Removing MessageCounter:755342411 from Retrans Table on exchange 22744r
CHIP:EM: Removed CHIP MessageCounter:755342411 from RetransTable on exchange 22744r
CHIP:IN: Data received on an unknown connection (4). Dropping it!!
CHIP:EM: Error receiving message from UDP:<IP_ADDRESS>:43750: Error CHIP:0x0000007F
CHIP:IN: Data received on an unknown connection (4). Dropping it!!
CHIP:EM: Error receiving message from UDP:<IP_ADDRESS>:43750: Error CHIP:0x0000007F
CHIP:IN: Data received on an unknown connection (4). Dropping it!!
CHIP:EM: Error receiving message from UDP:<IP_ADDRESS>:43750: Error CHIP:0x0000007F
CHIP:IN: Data received on an unknown connection (4). Dropping it!!
CHIP:EM: Error receiving message from UDP:<IP_ADDRESS>:43750: Error CHIP:0x0000007F
CHIP:DIS: Broadca

Not a 1.0 issue, since this is Python repl specific.


fix: adding formAssociated methods to stencil lifecycle methods list

Currently I'm getting warnings on my formAssociated methods:

Would be great if this and the other PR I created over a month ago could be merged and a new version shipped.  Then I can remove all my // eslint-disable-next-line comments from my code... 😉


Draft for Filter support

Try to support prefilter and postfilter. I am not sure of that ExecutionContext and ServiceExecutionResult are what I need for these functions.

no longer needed


Fix tests bench --opt=all and tests all --no-acvp

@hanno-becker Done

#407 cherry-picks first commit.

I tried to make the git diff looked friendlier, hope that it'd be clear that this was just a simple rewrite, which is just merging the conditional compile and run_schemes local functions (ex: _func in func) into a general function Test_Implementation.test to avoid similar mistake fixed in the first commit

@potsrevennil I seem to remember there a different diff options locally at least... anyone in particular that will make it more obvious what is happening?

@hanno-becker thanks for the comment!
I removed one indirection, I think the indirections should be the same as before now.
And as I commented, once we have a build system that can separate opt/non-opt built artifacts, we could further reduce indriections, to make the tests script more readible.

@potsrevennil We now have self.func, self._func and self.__func. This really can't be it...

@hanno-becker sorry, the naming was pretty bad, I updated it now

It seems this is no longer strictly necessary after #407  got merged.
Let's not do refactoring of the tests anymore unless there is a good reason.
Closing this for now.


notifications pop-up

Current situation:
People aren't aware that we have notifications built-in already, to use it we have to go to 'feature-preview' and then enabling.
Desired situation:
We should let the users know that we have notifications, something very similar to what trustroots is doing (picture attached)

ToDo:

Show this modal once to all new users & existing users, to do this [suggestion here, implement as you believe is the best way]

Create a new column in the user table, something like was_modal_shown, which should be false by default
After log in/sing up, check this field if is false show the modal, after pressing any modal button, the table field should updated, so the modal doesn't show up again.

Title: "Don't miss anything"
subtitle: "Can we send you push-notifications? You can change your notification preferences on the account settings page at any time"
options: [yes, please], [no thanks]

@jesseallhands check the wording, in case you find any comment

note to myself: we need to test firsts notification on IOS, since seems not working properly, fix that before doing this

Ready now :)

@bakeiro We need to be more specific about the push notifications otherwise people will just deny them outright:
"Want to receive a push notification when you get a new message or request?"
[Yes, please!]
[No]

@bakeiro We need to be more specific about the push notifications otherwise people will just deny them outright:
"Want to receive a push notification when you get a new message or request?" [Yes, please!] [No]

yes.. since we send notification for events, friend requests and more, maybe makes sense to include it on the text? or maybe just these 2 examples is enought? (maybe the user just expects only messages and request and we have way more)

@aapeliv I know we talked about this, but I think it was waiting on something? Should it go back to ideas, or blocked, or can a volunteer pick it up?

@nabramow it's ready now, the manifest.json for iOS was merged :)

Hey @aapeliv there is a line in the to-do here I think is backend. I assume we don't have this?:
Create a new column in the user table, something like was_modal_shown, which should be false by default
If not, I would argue rather than make it a boolean, we make it a date: push_notification_modal_last_shown_at.
That gives us control to show the modal for push notifications every month or so.
Does that seem doable? Or is it done already? I'll make a backend ticket if not, seems a good one for a new backend person.

@jesseallhands I'm trying to refine this ticket for moving the push notifications out of feature preview. For the frontend, what do you think about?

We show the modal on Dashboard page load once per month (could be different time range, plz suggest)
We move the existing push notification enable/disable button out of Feature Preview and into Account Settings.

[David here]
we could even use Cookies if we don't want to create any backend ticket...

[David here]
we could even use Cookies if we don't want to create any backend ticket... [only user will see the modal every time logs in in a different device, since it won't have the cookie, but that could even make more sense]

That's true, this actually make a lot of sense to do as a cookie. I will update the ticket!


Combine nvr_brs_contract and budget UX

[x] Replace the field 'actual_amnt_inc_vat' to 'ua' and add a related UI
[x] Merge tbl nvad_brs_contract into tbl budget
[x] Change job plugin nvad_register_db; tbl reference from tbl nvad_brs_contract to tbl budget
[x] Execute job plugin nvad_register_db for whole period
[x] Remove the tbl nvad_brs_contract from job plugin nvad_register_db
Remove getNvrBrsContractLastByUa.sql and getNvrBrsContract.sql
[ ] Remove tbl nvad_brs_contract related UI from svload

Replace the field 'actual_amnt_inc_vat' to 'ua' and add a related UI

Change job plugin nvad_register_db; tbl reference from tbl nvad_brs_contract to tbl budget

Remove the tbl nvad_brs_contract from job plugin nvad_register_db


xmonad: Firefox can't fullscreen

Instead of fullscreening as one would expect, only the window is filled.
This issues does not apply to other programs like games, mpv or Chromium.

This occured in bspwm as well. Resolved by creating a new Firefox profile. But since I've switched back to bspwm, I don't really care for this issue no longer. Closing.


update_with_media not supported

https://dev.twitter.com/docs/api/1/post/statuses/update_with_media
on the roadmap?

Now there is a need, sure thing! Let me review it tomorrow and give you an ETA.

fantastic, thanks:)

Sadly still in progress on pull request #20. Will sleep on it and return to it over the weekend. Receiving 403 HTTP status code consistently and appear to be within multipart form data specification. I am sure it is something small that I just haven't spotted yet. Will post my raw HTTP request to Twitter.com API discussions and see if anyone else sees it while I sleep:)

For my own reference, I posted my 403 dump here: https://dev.twitter.com/discussions/6226


Graph Editor: outputs of split nodes are not correctly evaluated (invert node is not applied)

The following nodegraph has a invert node connected to a separate3 output slot.
Open the nodegraph and change the the value for in2 in the leftmost combine_vector3 node
Expected: value of 1 produces rough material
Actual: value of 1 produces glossy material
<?xml version="1.0"?>
<materialx version="1.38" >
	<nodegraph name="needle_shadergraph" >
		<combine3 name="combine_vector3" type="vector3" >
			<input name="in1" type="float" value="0.0" />
			<input name="in2" type="float" value="0.0" />
			<input name="in3" type="float" value="1.0" />
		</combine3>
		<separate3 name="Split" type="multioutput" >
			<input name="in" type="vector3" nodename="combine_vector3" />
		</separate3>
		<invert name="invert" type="float" >
			<input name="in" type="float" output="outy" nodename="Split" />
		</invert>
		<convert name="float_to_color3" type="color3" >
			<input name="in" type="float" output="outx" nodename="Split" />
		</convert>
		<output name="base_color" type="color3" nodename="float_to_color3" />
		<output name="specular_roughness" type="float" nodename="invert" />
	</nodegraph>
	<standard_surface name="needle_standard_surface" type="surfaceshader" >
		<input name="base_color" type="color3" nodegraph="needle_shadergraph" output="base_color" />
		<input name="specular_roughness" type="float" nodegraph="needle_shadergraph" output="specular_roughness" />
	</standard_surface>
	<surfacematerial name="Default" type="material" >
		<input name="surfaceshader" type="surfaceshader" nodename="needle_standard_surface" />
	</surfacematerial>
</materialx>

https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/338ac4eb-16cb-4928-9dc6-13e1e90f67bf

The same happens in MaterialXView
https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/b0bf0bc3-3f2f-448b-8288-479d5e846417

This also happens with the latest version on main 2d12c1687887f793609133cadf192bf4b29e9502

@marwie It looks like this issue has been addressed in the MaterialX 1.38.8 release, very likely as part of the improvements to multioutput node connections implemented by @kwokcb.


No module named 'pyidaungsu.model.lib.fasttext_pybind'

I install pyidaungsu on gg.colab and ubuntu 18.04, and have this error. I checked in pyidaungsu.model.lib, and file "fasttext_pybind.cpython-38-x86_64-linux-gnu.so" is exist. Why cant i import it?

There seems to be an error in importing the compiled fasttext_pybind library from C++. I lost the original data required to train the detection model. I will need to start over and look into this issue.

I still see this issue in 0.0.01

@DanielCollins Thanks for trying it out. I've made a new release 0.1.0 which should work as expected. You can install it from source code or from pip as:
pip install --no-cache-dir pyidaungsu

0.1.0 actually breaks the python interpreter. After importing pds, expressions no longer print any result.I've never seen that happen before.
Python 3.9.5 (default, May 17 2021, 02:59:20)
[Clang 9.1.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 4 + 6
10
>>> 4 > 5
False
>>> import pyidaungsu as pds
>>> 4 > 5
>>> 4 + 6
>>>  pds.detect("ထမင်းစားပြီးပြီလား")
>>> type(pds.detect("ထမင်းစားပြီးပြီလား"))

...  the repl is dead ...

The problem lies in init.py , line 7. I meant to suppress error warning from imports but it seemed to disable all console output unnecessarily. You can either remove the line or comment it out manually in the package directory or make a fresh install again with
pip install -U pyidaungsu

After importing pds, expressions no longer print any result.

@DanielCollins  Let me know if it doesn't work out yet.

pyidaungsu-0.1.2 seems to be good. thank you for your work!

there's still an issue, normal expression results are printed, but all exceptions go into a black hole. e.g.:
>>> import pyidaungsu as pds
>>> 4  > 5
False
>>> raise ValueError
>>>

makes it difficult to debug scripts -- python just quits with no message

@DanielCollins Fixed it in 0,1.4 and there won't be similar error like this in the future. Upgrade to 0.1.4.
pip install -U pyidaungsu

thanks, it looks great now


Build incrementally on Rolling

users building against unreleased features can use action-ros-ci repos file

This still took ~7m which seems longer than it needs to be for what it is, but it's a lot better than the ~54m that it took before


Uncaught ReferenceError: recursion is not defined

Hello everyone,
I've been trying to implement this wonderful plugin [here] (http://prismadesign.com.ar/ceil/pais-x-pais.html)
The first time the page loads it works ok (altough some of the lower links seem to move from their original position), but after the page reloads I get an error saying Uncaught ReferenceError: recursion is not defined
I've looked for that line in the code and it's an if statement on line 234 of dynomap.js, the thing I can't figure out is where this variable recursion is coming from, as it doesn't appear again in the code.
I hope someone could help me out or point me in the direction of my problem. Thanks a lot!

Great catch!!! I fixed the issue. you can get the latest code and check.


[Issue-2680] Extension - Bugs related to the earning feature (Round 4)

Related issue: #2680
This PR  will be effect to issue following:

Update content for Earning position details screen

Update content for Unstake screen

Add 'Explore earning options' button  to Earning Position screen

🚀 Deployed on https://pr-2989--sw-web-runner.netlify.app