1079 contribute create page div rearrangement

Description
Some divs were not closed correctly. Fixed that in this PR.
Added container div classes to separate sections in contribute form.
The footer spacing in contribute page is also rectified in this PR.
Fixes #1079 #1081
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[x] Within a week
[ ] When possible

Type of changes
Please select a relevant option:

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[ ] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[ ] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Merging to develop.
Merging by bypassing requirements.


make stack issue

We regularly have issues like:
https://ci.appveyor.com/project/keremispirli/torxakis
I think we keep on hitting the same stack issue.
We should make insert an issue into the stack project.
https://github.com/commercialhaskell/stack/issues

There's already an issue reported on the stack repository, which was closed as a support ticket. There is also another one reported, which is open. So I guess not much to do in this issue other than joining the conversation on the latter issue.

I'm reporting there now :)


Darkening issue while increasing scene scale

Scene scale increase leads to darkening (check radiance clamping)

The issue was caused by double application of area to solid angle PDF conversion. Fixed here: https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal/commit/30ffeb5c8e4281e06733c8f08415c73a61c4afd0
Note, that on NV cards CUDA compute cache should be invalidated in order for this fix to take effect


[SMALLFIX] Remove unused mesos dependencies

The mesos integration doesn't use these dependencies. We can remove them.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15582/
Test PASSed.


Help with the tun echo example

Hello,
I have followed the doc but do not see the port being listened:

$ sudo ip tuntap add mode tun tun0
$ sudo ip link set tun0 up
$ sudo ip addr add <IP_ADDRESS>/24 dev tun0
$ ./tun_tcp_echo tun0 <IP_ADDRESS> 9999

but  port 9999 is not listened as expected

$ netstat -lnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      15505/sshd
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      1298/master
udp        0      0 <IP_ADDRESS>:323           <IP_ADDRESS>:*                           15939/chronyd
udp6       0      0 ::1:323                 :::*                                15939/chronyd
Active UNIX domain sockets (only servers)...

here's my tun0 state

$ ip addr show dev tun0
7: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 500
link/none
inet <IP_ADDRESS>/24 scope global tun0
valid_lft forever preferred_lft forever

btw, I'm running the example on latest CentOS 7

This is a user space network stack entirely within the tun_tcp_echo process. Netstat shows info from your Linux host's network stack.

I agree with antong@, so I'm closing as works as intended. Please reopen if there's any miscommunication here.


Choose the technologies to be used for the app

Should we use a very simple HTML page or add some JavaScript scripts?

No need to add JS just yet. Let's just stick to HTML5 and some styles.
@frems24 will lead the development.


need sample/doc about how to deal with collection type properties

Storage team has raised the concerns about read-only collection type properties. Also we have another customer reported similar issue in https://github.com/Azure/azure-sdk-for-net/issues/25385
We should consider provide sample/doc to coach customers on how to deal with collection type properties in track2.


[Binding] enable binding of cpuruntime dialect

enable binding of cpuruntime dialect
trace: https://github.com/intel/graph-compiler/issues/57

What are we exposing it for?

check this https://github.com/intel/graph-compiler/issues/57

check this #57

What exactly do you want me to check? :) That doesn't answer the question.

We plan to add py binding for every dialect and pass that we added in MLIR-GC repo, to support direct programming MLIR with python.


chore(release): 2.7.1

Version bump in package.json and package-lock.json for release 2.7.1

:tada: This PR is included in version 2.7.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


:sparkles: merge veracode

merge veracode source clear with veracode

@Maffooch, the unittests with "fixtures = ['dojo_testdata.json']" fail because dojo_testdata.json contains Veracode Scan, but I don't know the real cause why it fails. What do I have to do to fix the unittests?

I think the failing tests could be related to the creation of the Veracode Scan test type in the migration
Also curious about the Veracode SourceClear Scan that is being referenced in the migration, but not anywhere else in the code

I think the failing tests could be related to the creation of the Veracode Scan test type in the migration

Then, I will just fix the failing tests.

Also curious about the Veracode SourceClear Scan that is being referenced in the migration, but not anywhere else in the code

The Veracode Source Clear Scan is in the migration as the exisiting Veracode Source Clear Scan parser is migrated to Veracode Scan to have one parser for the vendor Veracode with multiple scanners. This is also what I have done in the past with e.g. OpenVAS CSV and OpenVAS XML or Clair Klar Scan and Clair Scan

@Maffooch or @kiblik, could you please help here? I am completely stuck on how to resolve the unittest problem here.

@manuel-sommer I do not see anything glaringly obvious here. I can try to make some in the future to pull this down and just play around with it, but I cannot make strong commitment to that

These two new failing unittests are weird. They don't have anything to do with this PR.

Shall I close this PR @mtesauro because of https://github.com/DefectDojo/django-DefectDojo/discussions/9690 ?


Update EKS_DISTRO_TAG_FILE.yaml

trigger a rebuild for the eks-distro-minimal-base-iptables to take the latest Golang changes
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Rebar3 should pick up dependencies for $PROJECT/apps/*/rebar.config

Currently you have to specify all dependencies in $PROJECT/rebar.config - it would be nice if it's possible to specify per application dependencies.

I'm not sure how well this could work given it would make it a decent bit harder to properly pin top versions of dependencies or compile options to specific applications (the one that sorts first would win and crush the rest, which means adding new top-level apps could have surprising effects!) if we want to keep consequent with the rest of the system.
My best guess as to how things should work is that your dependencies should remain in your app file as usual for the OTP-side of things, but your dependencies would make better sense to stay in $PROJECT/rebar.config for this.
For compile options, I guess there could be an argument that each top-level app may need specific options. Do you have a specific use case or problem in mind with this, or is this a question of personal preferences?

Hm, I was hoping we'd be able to support this. I figured the deps of all project apps would just be merged. But you are right that conflicts gets weird... But since we sort it would be deterministic at least.

It would be. One way to force things could have been to make the top-level config file be the prime decider and conflict-breaker.
top_level --> apps --> deps

Merged. Reopen if this doesn't work for you.


[Docs] Add some initial user-facing driver documentation to ship in the toolchain

The new documentation will live at usr/share/doc/swift/driver.
For now, this just includes a basic description of how to use the immediate and REPL modes. Some ideas for future topics include batch mode, -incremental, WMO, and output file maps
The plan is to copy Go's help tool and expose these via swift help. Something like this:

@swift-ci please smoke test

@swift-ci please build toolchain

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - 9f99b1f2a68430dbf0846e6f0d9290b6988941b6
Install command
tar zxf  swift-PR-35817-547-ubuntu16.04.tar.gz
More info

N

n

n

N

n

@swift-ci please build toolchain macOS

@swift-ci please build toolchain macOS

@swift-ci please smoke test


Model lineage / genealogy

Set up an identity card of a model

The purpose of this feature is to create an identity card of a model that links it to datasets, algorithms, initial models.
This topic is related to the different works of Substra Foundation, both on the framework with composite training but also the topics trustworthy AI.
This notion of model genaology does not exist today, even if there are works in progress to be studied.
In particular DVC

Outside of Substra Framework
The objective is to create a template that allows to list all the history of the predictive model.
DATA:

How were they collected? Single dataset or assembly of several datasets?
By whom?
Is synthetic data used?
Are personal or confidential data present?
How the split between train, test and validation has been done?
Use of PETs?
How bias has been prevented?

ALGO:

What is the learning algorithm used?
By whom was the learning algorithm created?

MODELS:

What is the Initial model?
Performances of the model?
Decision thresholds and ranges of indecision?
Condition of use? Limits?
How the model is used? How the model is reviewed over time?
List of incidents

ACCOUNTABILITY:

Who is responsible in case of incident? Human agency?
What are the different levels of responsibilities between stakeholders?
Use of subcontractors?

Substra Framework
How some of this elements could be collected in Substra framework? How Substra Framework can be used as element of proof?

A very interesting paper on that matter: Model Cards for Model Reporting.
Also, Google's Model cards.

Update from last MAP committee (10/09/2020):

The objective here is to create an identity card of a model that links it to datasets, algorithms, initial models; that includes its “genealogy”!
[Camille] an early early draft in the frontend already, sort of simple identity card. Not yet clean, readable, user-friendly. Could be great to work on improving that!
The idea is to move forward in the different work groups on this ID card, and to see how to integrate it into the Substra Framework.
[Amine] About monitoring data quality, and how it impacts model performance,  continuous learning setups (or regularly re-trained models).

[Camille] This is rather done outside the framework today but we could probably imagine integrations with external tools via queries.

Next step: the topic will be studied during the new season of DataForGood!

Closing stale issue.


Broken link pretrained weights

Hi,
Great work! The link to the pretrained weights seems broken, is there a new one?

Hi, thank you! The shared folder is accidentally deleted (sorry!). I have updated the shared links. Please give it a try.

it works, thanks!


AA0137 "Unused variable" warning given for used variable.

Describe the bug
Warning [AA0137] is emitted for a variable that is being used.
To Reproduce
                ApplicationArea = Basic, Suite;
                CaptionClass = Format(StrSubstNo(Wobbly, Format(WorkDate)));
                Caption = 'Balance Due (LCY)';

Then define the variable as a text constant.
In addition different errors are produced if the variable's name is Text000. A message that the variable is inaccessible due to it's protection level and a crash registered against app.json. This is in a page, not a page extension.
Analyzer 'Microsoft.Dynamics.Nav.CodeCop.Design.Rule131StringParamsMustMatchPlaceholders' threw an exception of type 'System.InvalidCastException' with message 'System.InvalidCastException: Unable to cast object of type 'Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.SimpleNavTypeSymbol' to type 'Microsoft.Dynamics.Nav.CodeAnalysis.ITextConstTypeSymbol'.
   at Microsoft.Dynamics.Nav.CodeCop.Design.Rule131StringParamsMustMatchPlaceholders.GetExpressionParamValue(IOperation expression) in F:\a\586\s\source\Prod\Microsoft.Dynamics.Nav.CodeCop\Design\Rule131StringParamsMustMatchPlaceholders.cs:line 109
   at Microsoft.Dynamics.Nav.CodeCop.Design.Rule131StringParamsMustMatchPlaceholders.AnalyzeInvocation(OperationAnalysisContext ctx) in F:\a\586\s\source\Prod\Microsoft.Dynamics.Nav.CodeCop\Design\Rule131StringParamsMustMatchPlaceholders.cs:line 75
   at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass53_1.<ExecuteOperationAction>b__1() in F:\a\586\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 763
   at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info) in F:\a\586\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1079'

Expected behavior
Text constant is being used so warning isn't correct.
Screenshots

5. Versions:
Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 4.0.182565
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

Hi @rdebath,
With the following code I'm able to get the "Unused variables" warning, however I can't get the stack trace to show.
Could you provide a some code that reproduces that issue.
page 50100 PageOne
{
    ApplicationArea = Basic, Suite;
    UsageCategory = Administration;

    layout
    {
        area(Content)
        {
            group(GroupName)
            {
                field(TextField; 'SomeField')
                {
                    ApplicationArea = Basic, Suite;
                    CaptionClass = Format(StrSubstNo(NormalText, Format(WorkDate)));
                }
                field(LabelField; 'SomeField')
                {
                    ApplicationArea = Basic, Suite;
                    CaptionClass = Format(StrSubstNo(LabelTxt, Format(WorkDate)));
                }
                field(TextConstField; 'SomeField')
                {
                    ApplicationArea = Basic, Suite;
                    CaptionClass = Format(StrSubstNo(TextConstTxt, Format(WorkDate)));
                }
                field(Text000Field; 'SomeField')
                {
                    ApplicationArea = Basic, Suite;
                    CaptionClass = Format(StrSubstNo(Text000, Format(WorkDate)));
                }
            }
        }
    }

    var
        NormalText: Text;
        LabelTxt: Label 'My # Label';
        TextConstTxt: TextConst JPN = 'My # Label';
        Text000: Label 'My # Label';
        WorkDate: Date;
}

After deleting almost everything from the project with the problem I finally realised where the weird "protection level" error was coming from. It appears that the MS/AL compiler thinks that globals in the SourceTable of a page are in some way accessible to the page sometimes. So if you add
SourceTable = Customer;
to the page you'll get the crash with Text000.

I just tried adding the SourceTable = Customer; to the code and noticed that Text000 is a global variable of type Label defined on the customer table, so that is inaccessible by design but it doesn't crash for me.
Are you using the latest version from the marketplace?

Yup, I'm still on the same version of the AL extension. The crash doesn't seem to depend on the version of the symbols (below is V13, previous are on V15 and runtime 4.0).
I've disabled all other extensions in this workspace; no change. The version of vscode was updated; no change.
When I comment out and save your altest.al the "protection level" error and the exception against app.json both appear at the same time.
Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 4.0.182565
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

{
  "id": "1fdb0e4e-82b1-4605-b4ff-86be4fe05b9c",
  "name": "ZZZ Hello World",
  "publisher": "TVision (Temp)",
  "version": "<IP_ADDRESS>",
  "features": [
    "TranslationFile"
  ],

  "idRanges": [{ "from": 50000, "to": 99900}],

  "application": "<IP_ADDRESS>",
  "platform": "<IP_ADDRESS>",
  "runtime": "3.0"
}

{
    "al.enableCodeAnalysis": true,
    "al.codeAnalyzers": [
         "${CodeCop}"
    ]
}

{
    "version": "0.2.0",

    "configurations": [
        {
            "type": "al",
            "name": "BC on Navdev",
            "authentication": "Windows",
            "server": "http://navdev.tvt.local",
            "serverInstance": "BC130",
            "port": 7049,
            "request": "launch",
            "startupObjectType": "Page",
            "startupObjectId": 2500,
            "schemaUpdateMode": "ForceSync"
        }
    ]
}

I got it now. I forgot to comment out the declaration in the current object.
Thanks for reporting the bug.

We were not able to reproduce this issue on the latest insider build.  Could you verify and reopen the issue if it still occurs?


Expose the TS types to from the package

Hi,
Is there any chance to expose the TypeScript types from the package?
I'm using this package to implement custom dashboards for users and would like to be able to use the types returned by your API, like OrderData or LicenseKeyData.
Currently I have to do shenanigans like this to get the types:
type OrderData = NonNullable<Awaited<ReturnType<typeof listOrders>>["data"]>["data"][0]

Thanks!

Hi,
The type has been exported.
import { Order, ListOrders } from<EMAIL_ADDRESS>
See source
I hope this helps.


todo app made using angular js

A simple to-do app which doesn't reload but performs every function. Data also persists on reloading.

congratulations on your hactoberfest contribution. if you like this repo then give it a star. Happy hacking..


Strange, incorrect question mark behaviour.

It would appear there is an error in how question mark is handled such that the full string is no longer matched against.
Here is a bug I ran into in production
package main

import (
	"log"

	"github.com/gobwas/glob"
)

func main() {
	x := glob.MustCompile("sta")
	log.Println(x.Match("stagnation"))

	x2 := glob.MustCompile("sta*")
	log.Println(x2.Match("stagnation"))

	x3 := glob.MustCompile("sta?")
	log.Println(x3.Match("stagnation"))

	x4 := glob.MustCompile("sta?n")
	log.Println(x4.Match("stagnation"))
}

outputs
2016/10/19 17:13:44 false
2016/10/19 17:13:44 true
2016/10/19 17:13:44 true
2016/10/19 17:13:44 true

but I would expect
2016/10/19 17:13:44 false
2016/10/19 17:13:44 true
2016/10/19 17:13:44 false
2016/10/19 17:13:44 false

Which is how glob is handled in bash and zsh:

Hi @donatj!
Nice catch! Sorry.
Fix will be available in 5 minutes ;-)

@donatj fixed in v0.2.1 tag and in master.

Awesome! Thank you!

@donatj thank you! 🍻


Move into science processing directory / create flint_logs

When running flint against a collection of sbids, the working directory they are launched from becomes filled with logs. It might be better to switch into the science sbid folder created (or cd into it outside the flint flow) so the logs are separated from one another. This will make it easier to track down instances of infrastructure crashes, jobs restarted etc.

Unrelated to flint.


Travis regression tests are being run when they shouldn't be

See:
https://github.com/GoogleCloudPlatform/gcloud-python/pull/873
https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/62434732
Also related:
https://github.com/google/oauth2client/pull/174

It looks like the TRAVIS environment variables are not being set.
Running env | grep -i travis we find only
VIRTUAL_ENV
PATH
PWD

Though the ci-environment is expected to have
TRAVIS=true
TRAVIS_BRANCH
TRAVIS_BUILD_DIR
TRAVIS_BUILD_ID
TRAVIS_BUILD_NUMBER
TRAVIS_COMMIT
TRAVIS_COMMIT_RANGE
TRAVIS_JOB_ID
TRAVIS_JOB_NUMBER
TRAVIS_PULL_REQUEST
TRAVIS_SECURE_ENV_VARS
TRAVIS_REPO_SLUG
TRAVIS_OS_NAME
TRAVIS_TAG

Getting a list of every single environment variable set, we see it's quite short:
python -c "import os; print '\n'.join(os.environ.keys())"
_
SHLVL
VIRTUAL_ENV
PWD
PYTHONHASHSEED
PATH

I believe this is actually due to tox 2.0.x:

(new) introduce environment variable isolation: tox now only passes the PATH and PIP_INDEX_URL variable from the tox invocation environment to the test environment and on Windows also SYSTEMROOT, PATHEXT, TEMP and TMP whereas on unix additionally TMPDIR is passed. If you need to pass through further environment variables you can use the new passenv setting, a space-separated list of environment variable names. Each name can make use of fnmatch-style glob patterns. All environment variables which exist in the tox-invocation environment will be copied to the test environment.

Yay!
Thanks @tseaver


Move to pyproject toml

Add pyproject.toml

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 32.95%. Comparing base (c0629cc) to head (8ca326a).

Files with missing lines
Patch %
Lines

multiopython/__init__.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop       #5      +/-   ##
===========================================
+ Coverage    31.69%   32.95%   +1.26%
===========================================
  Files            7        6       -1
  Lines          366      352      -14
===========================================
  Hits           116      116
+ Misses         250      236      -14

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


0.5.0 can't show transaction details on Win7-64

click on a time of transaction in the "recent transactions" , I can see transaction number , but no other data .
Many people have this issue .

Moved: https://github.com/BitShares/web_wallet/issues/522


Stop unnecessarily running Rollup when running Demitasse tests.

Sorry @12wrigja I'm behind on reviews.  Is the idea behind this PR that we don't use the rollup output in Demitasse tests so we can omit it?  If yes, then do you know why we don't use that output?  Wondering if we should be using the same bundled code for testing that we are publishing on npm?

That is the idea - currently, the Node resolver will resolve to the transpiled JS that tsc outputs. I believe this is exactly the same as how the spec polyfill runs (ran?) their Demitasse tests.
We could use one of the build artifacts for Demitasse tests (the ESM build output is probably suitable here), but I don't think it's going to get us much besides testing that bundling works properly, unlike say the test262 tests that use the transpiled es5 output, which also catch problems in our transpilation setup.
I saw we had adopted matrixes in the test setup but haven't looked particularly carefully at them. I'll take a look and provide my thoughts there too soon.

Closing this as after some rebasing we don't really have very many Demitasse tests left, and this isn't really worth the effort to fix.


flax.errors.ScopeParamNotFoundError: No parameter named "kernel" exists in "/MLP_0/Dense_0" when attempting to use Jax2TF with a pre-trained JAX NeRF Model

Tensorflow vers: 2.7; JAX vers: 0.2.24; jaxlib vers: 0.1.72+cuda111; FLAX vers: 0.3.6
The following code is based on the MNIST FLAX jax2tf example, which I adapted for JAX NeRF:
import collections
from os import path
from absl import app
from absl import flags
from flax.training import checkpoints
from jax import random
from jax.experimental.jax2tf.examples import saved_model_lib
from nerf import models
from nerf import utils
import tensorflow as tf

FLAGS = flags.FLAGS

utils.define_flags()

def main(unused_argv):
    rng = random.PRNGKey(20200823)
    rng, key = random.split(rng)
    utils.update_flags(FLAGS)
    utils.check_flags(FLAGS)
    model, state = models.get_model_state(key, FLAGS, restore=False)
    print('Loading model')
    state = checkpoints.restore_checkpoint(FLAGS.train_dir, state)
    params = state.optimizer.target
    predict_fn = lambda params, input: model.apply({"params": params}, input)
    Rays = collections.namedtuple("Rays", ("origins", "directions", "viewdirs"))
    input_signatures = [Rays(origins=tf.TensorSpec((3,),tf.float32),directions=tf.TensorSpec((3,),tf.float32),viewdirs=tf.TensorSpec((3,),tf.float32))]
    saved_model_lib.convert_and_save_model(
        predict_fn,
        params,
        '/any/path/',
        input_signatures=input_signatures)

if __name__ == "__main__":
    app.run(main)

In order to simplify the inputs to the network, and since I am only interested in running inference in TF, I initialize the RNG keys and randomized NeRF model inputs to None and False respectively, so that only the rays are inputted. This is the only change over the original JAX NeRF code:
def __call__(self, rays, rng_0 = None, rng_1=None, randomized=False, depth_gt = None, rgb_only = False,depth_sampling = False):
        """Nerf Model.

        Args:
          rng_0: jnp.ndarray, random number generator for coarse model sampling.
          rng_1: jnp.ndarray, random number generator for fine model sampling.
          rays: util.Rays, a namedtuple of ray origins, directions, and viewdirs.
          randomized: bool, use randomized stratified sampling.
          rgb_only: bool, return only rgb

        Returns:
          ret: list, [(rgb_coarse, disp_coarse, acc_coarse), (rgb, disp, acc)]
        """
        # Stratified sampling along rays
        if (randomized):
            key, rng_0 = random.split(rng_0)
        else:
            key = None

(also, every call to model.apply()  has its args order inverted to match this)
The error is prompted when attempting to compute the TF graph in this line of 'saved_model_lib.py':
tf_graph = tf.function(lambda inputs: tf_fn(param_vars, inputs),
                         autograph=False,
                         experimental_compile=compile_model)

Full error stack:
Traceback (most recent call last):
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/jorge/jaxnerf/nerf/save_jax_as_tf.py", line 45, in <module>
    app.run(main)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/absl/app.py", line 312, in run
    _run_main(main, args)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/absl/app.py", line 258, in _run_main
    sys.exit(main(argv))
  File "/home/jorge/jaxnerf/nerf/save_jax_as_tf.py", line 38, in main
    saved_model_lib.convert_and_save_model(
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/jax/experimental/jax2tf/examples/saved_model_lib.py", line 114, in convert_and_save_model
    tf_graph.get_concrete_function(input_signatures[0])
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 1259, in get_concrete_function
    concrete = self._get_concrete_function_garbage_collected(*args, **kwargs)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 1239, in _get_concrete_function_garbage_collected
    self._initialize(args, kwargs, add_initializers_to=initializers)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 780, in _initialize
    self._stateful_fn._get_concrete_function_internal_garbage_collected(  # pylint: disable=protected-access
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3157, in _get_concrete_function_internal_garbage_collected
    graph_function, _ = self._maybe_define_function(args, kwargs)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3557, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3392, in _create_graph_function
    func_graph_module.func_graph_from_py_func(
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 1143, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 672, in wrapped_fn
    out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/jax/experimental/jax2tf/examples/saved_model_lib.py", line 107, in <lambda>
    tf_graph = tf.function(lambda inputs: tf_fn(param_vars, inputs),
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/jax/experimental/jax2tf/jax2tf.py", line 418, in converted_fun
    out_with_avals = _interpret_fun(flat_fun, args_flat, args_avals_flat,
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/jax/experimental/jax2tf/jax2tf.py", line 486, in _interpret_fun
    fun.call_wrapped(*in_vals)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/jax/linear_util.py", line 166, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/jax/experimental/jax2tf/jax2tf.py", line 272, in fun_no_kwargs
    return fun(*args, **kwargs)
  File "/home/jorge/jaxnerf/nerf/save_jax_as_tf.py", line 35, in <lambda>
    predict_fn = lambda params, input: model.apply({"params": params}, input)
  File "/home/jorge/jaxnerf/nerf/nerf/models.py", line 268, in __call__
    raw_rgb, raw_sigma = self.MLP_0(samples_enc)
  File "/home/jorge/jaxnerf/nerf_sh/nerf/model_utils.py", line 70, in __call__
    x = dense_layer(self.net_width)(x)
  File "/home/jorge/anaconda3/envs/jaxnerf/lib/python3.8/site-packages/flax/linen/linear.py", line 171, in __call__
    kernel = self.param('kernel',
flax.errors.ScopeParamNotFoundError: No parameter named "kernel" exists in "/MLP_0/Dense_0". (https://flax.readthedocs.io/en/latest/flax.errors.html#flax.errors.ScopeParamNotFoundError)

Has anyone else attempted to save a JAX NeRF model using jax2tf and encountered any such issue?

Thanks for the report!
Since this exception is being raised by flax, it might be best to first post it at the flax repo. If it's actually an underlying JAX issue, maybe the folks over there can help make a JAX-only reproducer.

I'm going to close this for now, just in anticipation of you opening one on the Flax issue tracker. But let me know if this move seems wrong!


Use require_relative for local files

This makes it easier for me to test locally in my scenario; anyway I think this is the "correct" way to require local files? Correct me if I'm wrong please.

Not sure which is "better" but as long as it works, sure why not.


Consideration for expanding logicalBinaryOp definition

While working on a parser implementation in quil-rust, it struck me that the INT alternative of the right-hand operand in a logical binary operation could possibly be further specified & wanted to get some thoughts. For reference:
logicalBinaryOp     : ( AND | OR | IOR | XOR ) addr ( addr | INT ) ;
// ...
INT                 : [0-9]+ ;

Is it reasonable to introduce a BIT definition which would reduce the range of values to 1 or 0? @kalzoo mentioned we can (maybe already do?) coerce an INT when needed so maybe this isn't necessary.
Is there a case for parsing an expression in this position?

The original reason for not allowing INTEGER values there is because different implementations of Quil might represent integers in different ways. For example, different schemes for signed fixed-precision numbers. I didn't want to require any specific width or bit-layout to integers.
There is a way in Quil to allow for this implementation-dependent behavior though; it's to use octet aliasing. Assuming INTEGER values are 16-bit unsigned integers, one could do:
DECLARE xs OCTET[2]
DECLARE ys OCTET[2]
DECLARE x INTEGER SHARING xs
DECLARE y INTEGER SHARING ys

AND xs[0] xs[0] ys[0]
AND xs[1] xs[1] ys[1]

This would be the C equivalent of
uint16_t x, y;
x &= y;


0.1.0 published with wrong artifactID

README says to add
libraryDependencies += "org.scala-js" %% "scalajs-env-selenium" % "0.1.0"

0.1.0 was published as seleniumjsenv, not scalajs-env-selenium.
Artefacts: http://repo1.maven.org/maven2/org/scala-js/seleniumjsenv_2.10/0.1.0/

Oops ... my fault! I will fix it today. Thanks for the report!

np :)

Oh, I nearly forgot: 0.1.0 was published for Scala versions 2.1{0,1,2-M3} where as it's only needed for 2.10 because SBT.

I know but we do publish or entire "tools suite" on all versions, in case people want to build non-sbt things on top.

No worries. Wasn't sure whether it was deliberate or not.
On 10 March 2016 at 19:16, Sébastien Doeraene<EMAIL_ADDRESS>wrote:

I know but we do publish or entire "tools suite" on all versions, in case
people want to build non-sbt things on top.
—
Reply to this email directly or view it on GitHub
https://github.com/scala-js/scala-js-env-selenium/issues/8#issuecomment-194725871
.

Published 0.1.1 with the correct artifact name. Should hit Maven soon.


Create generic NFT endpoint as beta

Follow https://centrifuge.hackmd.io/vxxgg-3_TqqoqmqBE_D5Sw

Fixed by: https://github.com/centrifuge/go-centrifuge/pull/1207


[Block] - Floor Plan Images

The floor plan images block provides a tab controlled display for images.  The author will create a table and
where the first column will be the label of the tab, and the second column will be the image itself.

Resolved in https://github.com/aemsites/hubblehomes-com/pull/119


Feature Request: Bulk link import

I often want to dump all my currently opened links into linkding.
I know linkding has a bookmarks import, but only for formatted HTML files, i.e. bookmark exports.
It's not possible to obtain all links of a window by using a bookmarklet, but it's possible with a browser extension.
A change to the browser extension is not necessary though because the extension OneTab can also save and close all URLs of a browser window.
From OneTab, groups of links can be exported in this format (one link per line): [url] | [browser title]
Some example output:
https://docs.linuxserver.io/general/containers-101 | Docker Containers: 101 - LinuxServer.io
https://www.linuxserver.io/blog/blocking-malicious-connections-with-crowdsec-and-swag | Blocking Malicious Connections With CrowdSec and SWAG | LinuxServer.io
https://hub.docker.com/r/linuxserver/swag | linuxserver/swag - Docker Image | Docker Hub

If linkding could parse this output through the web interface it would already make bulk importing easily possible.
I'll happily help with the frontend development part of this feature, but i can't help with the python backend.

Also i'd like to note that this feature appears to be missing from every project similar to linkding based on my comparisons and research

Duplicate of #186 ? Or similar, at least.

Duplicate of #186 ? Or similar, at least.

Yeah, it's also a bit unfortunate that both tickets request a bulk import feature, when the actual use case is to save all open browser tabs.
I'll close this issue in favor of #186, which would be about importing a text file with links in some format. If the actual use-case is to save all open browser tabs, then I would suggest to open an issue for the browser extension in the respective repo.


[UI] Icons scaled with all browser zoom in/out

Signed-off-by: Ayush<EMAIL_ADDRESS>This PR fixes #1146
The issue was on in for the safari browser.
I guess now it won't be an issue in any browser.
https://user-images.githubusercontent.com/59086855/118356397-b61ae280-b592-11eb-8fd8-a69babc43cb4.mov

@leecalcote  Is there anything else I need to do further?
I don't understand the meaning of that label.😅

@Ayush-Khandelwal-007 this seems to be working great. Thank you for the screen recording. That is most helpful. Let's give it a go.

Yay, @Ayush-Khandelwal-007! 🎈


add support for configuring credentials sources

I wanted to be able to point gs to a credentials file via static configuration, rather than relying on setting an environment variable.  This allows me to put a file in /etc/apt/apt.conf.d that maps the bucket name to the JSON file with the credentials in it, and successfully perform the update.
The majority of the change involves dealing with the response to 601, where you get multiple headers with the same name.  Otherwise, it's just creating a place for the configuration, adding some debugging, and making the connection to APT buffered once for the duration of the program, rather than once per message (since a 601 could be followed by a 600 in the same buffer, which would then be dropped).

this should work now with patch added by @WCMinor


(objective-c)How to force declare a nonnull param or return value in .djinni file?

Is there a way to generate nonnull param or value, like optional<typeA> does for nullable values?
Only nullable declarations appears in my auto generated code, without the missing nonnull declarations, this produces many warnings in Xcode 6.4.

Currently interfaces are always nullable unless you're using the C++ nonnullable pointer support (the --cpp-nn parameters, see also https://github.com/dropbox/nn). We may support nonnull-by-default without enforcement, but that poses challenges for the test suite (I'm wary of introducing too many modes in which Djinni can generate code).

@j4cbo nonnull or nullable, either is good for default value, since when a nonnull or nullable declaration occurs in a method header, other declaration without nonnull or nullable in this file's method header will becomes a warning in Xcode 6.4 or Xcode7.x.
I modified scala generator to give method args default nonnulls, it seems to be a dirty way to archive this, or maybe I misunderstood the usage of djinni : (

Hm, we already do try to annotate everything one way or the other, e.g. https://github.com/dropbox/djinni/blob/master/test-suite/generated-src/objc/DBTestHelpers.h - so you may be running into a bug. Can you paste the .djinni file you're using and the ObjC output that has incomplete annotations?


[core] Remove hardcoded opacity values

[x] I have followed (at least) the PR section of the contributing guide.

Part of #22532 & #19343
I've found this code snippet, what should I do with it? https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/InputBase/InputBase.js#L20
Where does 0.42 come from?

https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/InputBase/InputBase.js#L20

We could create a new theme.palette.text.placeholder value in the theme but not sure if it's relevant as never share with other components. It's mean to be lighter than theme.palette.text.secondary.

@LorenzHenk Thanks!


Export CANVAS Bug on SAFARI

I'm not sure it's Safari's bug or Pixi's, but here is the situation:
When I use canvas.toDataURL() to export the canvas to base64. On Safari, the exported image was rotated in 180 degree. While the other browsers work normally.
For example:

I create a sprite & place it on the stage.

Call canvas.toDataURL() and the image was flipped:

Tested with PIXI 4.0 and 4.0.1
Chrome/Firefox are fine. Only happen on Safari (9.1.3). Not sure what went wrong...

There were issues like that before, with Safari. What if you add this canvas to DOM first, and see the result, before you convert it to base64?

Thanks @ivanpopelyshev for your quick reply!
I'm not sure I fully understand this part: "add this canvas to DOM first". Because the  element was there already, why do I need to add it into the document again?
On the document, I saw the canvas was displaying normally, nothing was rotated. Only when I converted the canvas into Base64 and the resulted image was rotated.

Do you use webgl or canvas renderer? In case of webgl you have to use "renderer.extract.canvas()" or "renderer.extract.base64()". Simple "renderer.view.toDataUrl()" wont work with it

@ivanpopelyshev: Well, you're right. That's exactly the issue. I'm using WebGL. Changing to "renderer.extract.base64()" solved.
Thanks a bunch, man!

That's good, I'm happy for you!

Why it only happens on Safari? Whyyyy? 😄 I'm thinking Safari is on its way to become a-new-kind-of-IE, don't you think so? 😆

I think so. That happens because for WebGL behaviour of "toDataURL" and "getImageData" is not defined, unless you specify "preserveDrawingBuffer:true" in context options which is VERY slow.

I see. Thanks for the explanation. Happy to see you around, @ivanpopelyshev !

Firefox, Safari, Opera - everything non-Chrome feels like IE's now


Interested in a collections.Database (and collections.Table)?

Hey,
For a TS project that I'm working on, I needed an in-memory DB  (to be used when indexedDB was not available). I looked in to few including Loki.js but didn't want to use it because of the out dated TS definitions (and I probably didn't need all the bells and whistles they offered).
So, I put together a Database class built on top of bunch of Dictionary and MultiDictionary classes. I've only implemented few query options so far (just the ones that I needed). I could potentially add more as I work on my project. Even if not, you could still get down to array level and use functions like filter(..), map(..), reduce(..) etc.
It probably isn't as fast as the alternative DB libraries and I haven't tried to mimic any existing DB API (I'm using Dexie for indexedDB so, closely modeled that. But, it's not an exact match).
Would you be interested in a PR containing collections.Database?
It's still early days for my project. So, I'm open for suggestions on API changes.
Just to give a taste, here are some jasmine unit tests for the Database class:

        let db: StronglyTypedDb; // StronglyTypedDb is an App specific class that extends Database (much similar to Dexie way of strongly typing the Database in TS

        let accounts = [
            { id: "A1", name: "Account 1", number: 1 },
            { id: "A2", name: "Account 2", number: 2 },
            { id: "A3", name: "Account 3", number: 3 },
        ];
        let contacts = [
            { email<EMAIL_ADDRESS>accountId: "A1" },
            { email<EMAIL_ADDRESS>accountId: "A1" },
            { email<EMAIL_ADDRESS>accountId: "A1" },
            { email<EMAIL_ADDRESS>accountId: "A2" },
            { email<EMAIL_ADDRESS>accountId: "A2" },
        ];

        beforeEach(() => {
            db = new Database();
            let schema = db.schema();
            schema.addTable<Account, string>("Accounts").addIndex("name", DatabaseIndexType.Unique);
            schema.addTable<Contact, string>("Contacts", "email").addIndex("accountId");

            db.Accounts.put(accounts);
            db.Contacts.put(contacts);
        });

        it("Finds exact match in a unique index", () => {
            let matches = db.Accounts.where("name").is("Account 2").values();
            expect(matches).toBeTruthy("A result was expected");
            expect(matches.length).toEqual(1);
            expect(matches[0].number).toEqual(2);
        });

        it("Finds all matches in a standard index", () => {
            let matches = db.Contacts.where("accountId").is("A1").values();
            expect(matches).toBeTruthy("A result was expected");
            expect(matches.length).toEqual(3, `Expected 3 matches but found ${matches.length}`);
            expect(matches).toContain(contacts[0]);
            expect(matches).toContain(contacts[1]);
            expect(matches).toContain(contacts[2]);
        });

        it("Finds anyOf the given keys", () => {
            let matches = db.Accounts.where("id").anyOf(["A1", "A3"]).values();
            expect(matches.length).toEqual(2);
            expect(matches).toContain(accounts[0]);
            expect(matches).toContain(accounts[2]);
        });

Closing this because of old age. If the issue persists, discuss it here and/or open a Pull Request please.


Menu redesign

The menu is getting too big again. For reference, the last redesign added categories.
Design ideas:

Show an "about" and version number (version number issue: https://github.com/DesModder/DesModder/issues/57)
Search for plugins and config options
Make it wider

on mobile, cover the whole width

Show option descriptions unconditionally (or on a click), instead of on hover
Hide all other plugins when one plugin is selected (to reduce overflow-y from plugins with lots of settings like Calculator Settings or Custom Mathquill)

UI Area for inspiration: The Account Settings Modal. The different tabs could be the different categories, or maybe different sorting options.

Related: https://github.com/DesModder/DesModder/issues/646

Someone (Feny?) brought up a good example here of Obsidian's settings. (They also look like Discord's settings). The division of the left bar provides a good space (separate from the plugins) for some menu items we don't currently have supported but we should support:

Changelog
About
Hotkey manager


Initial SDK docs and tutorial

Guys why did we merge this with pending review comments?

Well it was approved by two people! Plus the structure of the docs is tracked in #62

Ok,  it is not an issue for now since these were minor changes, but it is good in general to solve all the pending parts before merging :)


Left the view and go back

Dear all,
When I leave the screen and return to the same screen the application freezes. The last message in the log says that:
camera did change tracking state: limited, initializing
2019-09-01 19:25:00.747079+0200 mylocations[6444:1562708] [Client] Discarding message for event 12 because of too many unprocessed messages
2019-09-01 19:25:00.748479+0200 mylocations[6444:1562708] [Client] Discarding message for event 12 because of too many unprocessed messages
2019-09-01 19:25:00.748845+0200 mylocations[6444:1562708] [Client] Discarding message for event 12 because of too many unprocessed messages
2019-09-01 19:25:00.749382+0200 mylocations[6444:1562708] [Client] Discarding message for event 12 because of too many unprocessed messages
2019-09-01 19:25:00.749853+0200 mylocations[6444:1562708] [Client] Discarding message for event 12 because of too many unprocessed messages
My code is:
override func viewDidLoad() {
super.viewDidLoad()
    locationManager.delegate = self
    locationManager.desiredAccuracy = kCLLocationAccuracyBest
    locationManager.startUpdatingLocation()

    placesClient = GMSPlacesClient.shared()
}

override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
sceneLocationView.frame = view.bounds
}
override func viewWillDisappear(_ animated: Bool) {
    super.viewWillDisappear(animated)
    // Pause the view's session
    sceneLocationView.pause()
    sceneLocationView.removeFromSuperview()
    locationManager.stopUpdatingLocation()
}

override func viewWillAppear(_ animated: Bool) {
locationManager.startUpdatingLocation()
getPlaces()
sceneLocationView.run()
view.addSubview(sceneLocationView)
}
Best Regards,
Hugo Zuim

It seems that a UITabViewController is the issue here: https://github.com/hzuim/test

Throwing away and recreating the SceneLocationView on viewWillAppear/WillDisappear "solved" it. in that the app no longer freezes. There's something that's getting wonky when switching tab views.
FWIW, this is the same behavior I see on Demo App when going to background/foreground. SceneLocationView setup is much more extensive in that app so I haven't tested my "solution". But perhaps there's a clue there.
class ARCLViewController: UIViewController {
    var sceneLocationView: SceneLocationView?

    override func viewWillAppear(_ animated: Bool) {
        let newSceneLocationView = SceneLocationView()
        newSceneLocationView.run()
        view.addSubview(newSceneLocationView)
        sceneLocationView = newSceneLocationView
    }

    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
        // Pause the view's session

        sceneLocationView?.pause()
        sceneLocationView?.removeFromSuperview()
    }

    override func viewDidLayoutSubviews() {
        super.viewDidLayoutSubviews()
        sceneLocationView?.frame = view.bounds
    }
}

The sample project works correctly when built with Xcode 11b7 and run on an iPad 5th gen/iOS 13.0b (17A5572a) (final 13.0 beta as of 3 Sept, before the 13.1 beta dropped).
When built with Xcode 11b7 and run on an iPhone XS/12.4.1 I see the same freezes reported above.

I seems like I experience the same issue, I see on the debugger that there is a deadlock.
file: LocationNode.swift
function: updatePositionAndScale:
line 162: SCNTransaction.commit()

I have a project built against 12.2 with Xcode 10.3 which I would expect to exercise this bug.
It does not. It happily goes into background and back to foreground and just keeps ticking. ARCL view works perfectly after app returns to foreground.
I have
        sceneLocationView?.pause()
        sceneLocationView?.removeFromSuperview()

in my viewWillDisappear() (and add/run calls in viewWillAppear()), but don't have the notification code in there to trigger the call when app is backgrounded.
This smells to me like something that can be fixed by requiring the latest SDK, and iOS version of N-1.

Oh :(
Except that @hzuim's sample targets 12.4.
Resetting to "I don't understand this bug".

PR #249 fixed a memory leak specifically with the "dismiss and return back to POIViewController" sequence.  You might want to pull the develop branch and retest.

I had the problem too, but never happened again since ios 13
more infos: https://stackoverflow.com/a/44980399


Invalid signature when calling OVH API

Hi,
I want to use DNS01 challenge for wildcard certificate. I have configured my OVH credentials with the right permissions but when calling OVH I have this error: 'Invalid Signature'.
K8s version: 1.19.2
Cert Manager version: 1.0.3
Webhook OVH version: 0.1.0

getting the same issue with
k8s version: 1.19.3
cert-manager: 0.16.1
webhook-ovh: 0.1.0
Log:
Error presenting challenge: OVH API call failed: GET /domain/zone/example.com/status - Error 400: "Invalid signature"

Followed the instructions for the API rights and did double check with /me/api/credential/{credential_id} for it to be set correctly.

Hello,
We deployed ovh-webhook on our production with these versions :
K8s version: 1.17.9
Cert Manager version: 1.0.2
Webhook OVH version: 0.1.0
We got this problem because of a base64 encoding error (due to windows). You can use https://www.base64decode.org/ to verify your applicationSecret.
Beside, after that we had a Error 403: "This credential does not exist". it came from consumerkey wasn't link (or didn't exist) to your applicationId. In order to generate a consumerKey link to your application. You can't use the ovh console GUI.
But you can try the following curl (cf. https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/)  :
curl -XPOST -H"X-Ovh-Application: $ApplicationID" -H "Content-type: application/json" \
https://eu.api.ovh.com/1.0/auth/credential  -d '{"accessRules": [{"method": "GET","path": "/domain/zone/*"},{"method": "PUT","path": "/domain/zone/*"},{"method": "POST","path": "/domain/zone/*"},{"method": "DELETE","path": "/domain/zone/*"}],"redirection":"https://www.mywebsite.com/"}'

It produces :
{
  "validationUrl":"https://eu.api.ovh.com/auth/credentialToken=credt",
  "consumerKey":"$ConsumerKeyId",
  "state":"pendingValidation"
}

Then you can validate your consumerKey by following the validationUrl.
Moreover, you can test ovh webhook with your credentials : https://github.com/baarde/cert-manager-webhook-ovh#development.
Have a good day,
Thomas

Hello,
I can reproduce this. I can perfectly do a GET with some python code on "/domain/zone/myzone.com/status" so my API access is working... I double-checked my base64 encoding but the test keeps on failing. I have tested different go version, Go 1.12, 1.13 and 1.15.

Hello,
I can reproduce this. I can perfectly do a GET with some python code on "/domain/zone/myzone.com/status" so my API access is working... I double-checked my base64 encoding for the applicationSecret but the test keeps on failing.

suite.go:40: expected Present to not error, but got: OVH API call failed: GET /domain/zone/myzone.com/status - Error 400: "Invalid signature"

I have tested different go version, Go 1.12, 1.13 and 1.15.

Hello Julien,
Are you sure the \n character hasn't been added to the secret by mistake? This may happen when using the echo command. For example, this would add an extra line break:
echo "SwzLFNC7l3yafoBm44NrHMvDY7gHUmjR" | openssl enc -a

Whereas, this wouldn't:
echo -n "SwzLFNC7l3yafoBm44NrHMvDY7gHUmjR" | openssl enc -a

As the application secret is 32 character-long, the base-64 encoded string should be 44 character-long and end with a = (rather than a K).

@baarde Wahou thank you so much, this is it!
You perfectly nailed it. I feel a bit dump, considering the time I spent on it, but now, I'll remember that!
Hope this could be useful for others. Thanks again! :+1:

Hello,
thanks @baarde !
can we upgrade the documentation with your example echo -n "SwzLFNC7l3yafoBm44NrHMvDY7gHUmjR" | openssl enc -a line and  the curl to produce ovh credentials ?
In order to generate a consumerKey link to your application. You can't use the ovh console GUI.

But you can try the following curl (cf. https://docs.ovh.com/gb/en/customer/first-steps-with-ovh-api/) :

curl -XPOST -H"X-Ovh-Application: $ApplicationID" -H "Content-type: application/json" \
https://eu.api.ovh.com/1.0/auth/credential  -d '{"accessRules": [{"method": "GET","path": "/domain/zone/*"},{"method": "PUT","path": "/domain/zone/*"},{"method": "POST","path": "/domain/zone/*"},{"method": "DELETE","path": "/domain/zone/*"}],"redirection":"https://www.mywebsite.com/"}'
It produces :

{
  "validationUrl":"https://eu.api.ovh.com/auth/credentialToken=credt",
  "consumerKey":"$ConsumerKeyId",
  "state":"pendingValidation"
}
Then you can validate your consumerKey by following the validationUrl.

Have a good day.

@julienkosinski I'm glad the problem is solved.
@tmarmillot Good idea. I will update the docs.

If you are looking for an updated and improved version of this webhook, feel free to head to https://github.com/aureq/cert-manager-webhook-ovh


Human detection

Hi,
Thanks for sharing your good work! If I want to used this version of yolo as human detector, which output class should I use? There are 500 classes totaly, which one is PERSON class?
Thanks

Class names the model has been trained on are listed in yolo.names. To get the class of interest you can cross reference the names with the class names of the open images dataset.


Failed test connection to SAP

Hello,
this is my first time use SAP connection, but i try to connect with parameter and failed to retrieved data from function module in sap.
this test code :
<?php
use SAPNWRFC\Connection as SapConnection;
use SAPNWRFC\Exception as SapException;

$config = [
    'ashost' => '<IP_ADDRESS>',
    'sysnr'  => '00',
    'client' => '100',
    'user'   => 'MM_RFX',
    'passwd' => '<redacted>',
    'trace'  => SapConnection::TRACE_LEVEL_OFF,
];

$options = [
    'use_function_desc_cache' => false,
];
    $c = new SapConnection($config,$options);

    $f = $c->getFunction('ZMMDI_WS_VEDNOR_LIST');
    $result = $f->invoke();
    var_dump($result);

thanks.

Please don't post passwords. I edited you post.
What error do you get?

need configuration file sapnwrfc.ini

A sapnwrfc.ini is not needed. What exactly does not work? Do you get an exception? If yes, provide the full error.
On 3 November 2019 14:33:07 CET, Shinobi Ta<EMAIL_ADDRESS>wrote:

need configuration file sapnwrfc.ini
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/gkralik/php7-sapnwrfc/issues/85#issuecomment-549137027

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

the error from trace result is
NW RFC Library: SDK variant, Release 750 Patch Level 5, Compiled on Aug 20 2019 21:18:37
CPIC library: 753.2019.02.22 version 3, NI library: 40, Kernel Release: 753 Patch Level 500
Current working directory: /var/www/test, Program: php
Hardware: AMD/Intel x86_64 with Linux x86_64, Operating_system: Linux 4.15.0-62-generic
Hostname: ubuntu-1cpu-1gb-sg-sin1, IP address: 94.237.77.xxx, IPv6 address: fe80::543e:dfff:fe7a:76f4
2019-11-04 06:03:50.258514 [140331695545792] >> Error entry
The UUID daemon (uuidd) is not active.
Please ask your system administrator to activate uuidd according to SAP note 1391070.
may be any something error from UUID?

The UUID daemon is recommended, not mandatory.
Again, what is the exact error you are getting? If you cannot connect, there should be an exception. If the function call fails, there should be an exception. So wrap the code in a try {} catch {} and post the exception details. Otherwise no one will be able to help you.

Please format your code properly. It helps with reading.
Again, there must be a proper error message. If you get a 502 Bad Gateway error look into your server logs. Also provide details on your environment (PHP version, SDK version). Did you follow the instruction at https://gkralik.github.io/php7-sapnwrfc/installation.html ?
Without a real error message I will not be able to provide help.

Thanks GKralik, after I'm check all parameter and any configuration this case is successful to test and done now.,
for information i use SAP NW RFC SDK 7.50 and PHP 7.2 & Laravel 5.7


Android not working

It's not working on android, not recognize card data

Same here

Android getting

@irodeanu @liptonzuma maybe your credit card is not supported. I using on my app, it worked normally
@govarthananve you need install library and re-install app

@howljs Thanks for the update actually I after linking to the npm it's working fine


How to add buttons to labels ?

Hello,
I want to add buttons to the labels on chart.
Example :

Thank you !

@souuu Please refer to the Chart.js documentation


[SPARK-27100][SQL] Use Array instead of Seq in FilePartition to…

… prevent StackOverflowError
ShuffleMapTask's partition field is a FilePartition and FilePartition's 'files' field is a Stream$cons which is essentially a linked list. It is therefore serialized recursively.
If the number of files in each partition is, say, 10000 files, recursing into a linked list of length 10000 overflows the stack
The problem is only in Bucketed partitions. The corresponding implementation for non Bucketed partitions uses a StreamBuffer. The proposed change applies the same for Bucketed partitions.
Existing unit tests. Added new unit test. The unit test fails without the patch. Manual testing on dataset used to reproduce the problem.

Can one of the admins verify this patch?

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12076/
Test PASSed.

Test build #106859 has started for PR 24957 at commit a89676b.

@parthchandra can you open a PR against the current master?

This is a backport of 5a7aa6f4df .

oops. +1

Test build #106859 has finished for PR 24957 at commit a89676b.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class FilePartition(index: Int, files: Array[PartitionedFile])

Merged build finished. Test FAILed.

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

@dongjoon-hyun, @dbtsai, you guys are right. I included the FilePartition change as part of resolving the merge conflicts. But I can just make the change that DBTsai has suggested. I'll make the change, re-run the tests and update this PR.

Updated

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/12110/
Test PASSed.

Test build #106903 has started for PR 24957 at commit 17e0e2a.

Test build #106903 has finished for PR 24957 at commit 17e0e2a.

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

Merged build finished. Test PASSed.

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

Thanks. Merged into branch 2.4.


cockroach db link is incorrect

https://www.prisma.io/cockroachdb
points to https://www.cockroachdb.com/
should be https://www.cockroachlabs.com/ ?

And fixed. Thanks for the report!


Package doesn't seem to be working anymore

Hello,
I used this package a few months ago with success; I recently came back to it, and I don't seem to be receiving any results anymore from it. I would always get the following:
{
  title: 'N/A',
  year: 'N/A',
  contentRating: 'N/A',
  runtime: 'N/A',
  description: '',
  rating: 'N/A',
  poster: 'N/A',
  genre: [ 'N/A' ],
  director: 'N/A',
  metascore: 'N/A',
  writer: 'N/A'
}

Not sure what's not working; but the module seems to be looking for a title-overview-widget node that doesn't exist on the returned page. Might it be that the imdb page format changed?
Cheers
Joel

It is possible the imdb format has changed, if you'd like to make a PR to update the parsing code, that'd be appreciated.
Thanks.

I confirm too, very sad.


PDB from my custom location

Hey, when I try to load a PDB file from the _NT_SYMBOL_PATH (or --symcache), symbolizer-rs does not resolve symbols for my custom *.sys - still shows like module.sys+0x1337. How to do that? It resolves standard ones correctly (like ntoskrnl.exe!KiPageFault).

At least I was able to overcome it by providing incorrect path to the --symsrv, then grabbing the path with 'hash' and adding it correctly to the symcache directory :-)

Thanks for the report & for trying it out🙏🏽!
This is not the user experience I am shooting for 😂 let me take a quick look..
Cheers

Okay so the --symcache is where the downloaded PDB files will be written to and it is also where it'll check for their existence before downloading them. But it does require that this directory is formatted like a symbol cache which means a directory with the PDB file name, hash, etc.
So I guess in your case you had a directory with 'just' a PDB file?
Cheers

I am thinking to add an 'import' option that'd properly drop all PDBs found in the symcache if appropriate; wdyt?
Cheers

I've prototyped the above @ahpaleus - I'd appreciate if you could give it a shot and let me know if it works out for you :).
Here is an example:
symbolizer-rs>dir c:\users\over\downloads\y
08/11/2024  08:08 PM         1,551,360 ntdll.pdb

symbolizer-rs>dir c:\users\over\downloads\x
08/11/2024  07:50 PM         7,719,936 ntkrnlmp.pdb

symbolizer-rs>cargo run -- --import-pdbs c:\Users\over\Downloads\x --import-pdbs c:\Users\over\Downloads\y --symcache c:\Users\over\Downloads\tmp --trace c:\work\foo.trace --limit 1000
...
✓ Successfully symbolized 1.0k lines across 1.0 files in 15.0s (12% cache hits)

And the output w/o importing PDBs and an empty cache (notice the downloaded 8.8mb / 2.0 PDBs at the end):
symbolizer-rs>cargo run -- --symcache c:\Users\over\Downloads\tmp --trace c:\work\foo.trace --limit 1000
...
✓ Successfully symbolized 1.0k lines across 1.0 files in 24.0s (12% cache hits, downloaded 8.8mb / 2.0 PDBs)

And you can try out the fix with:
$ git checkout fbl_libify
$ cargo r -r -- --help

Cheers

Works as a charm. Thank you!

Awesome, thank you - closing this then :)
Cheers


carla out of memory

follow the CarlaViz example, when I run example.py, the UE4Editor will consume all memory(31G).

[2022.02.25-16.22.31:555][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=10.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:555][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:555][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=10.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:555][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:555][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:555][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=5488.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:558][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=8192.00Kb MemTypeIndex=7
[2022.02.25-16.22.31:558][ 32]LogVulkanRHI: Warning: Failed to allocate Device Memory, Requested=2.00Kb MemTypeIndex=7

memory released when stop example.py.
ubuntu 20.04, carla 0.9.13,  carlaviz docker image latest.
RTX2080ti, mem:32G

The example script will start a lot of sensors,which might consume quite a lot memory. You may try a simpler script.

The example script will start a lot of sensors,which might consume quite a lot memory. You may try a simpler script.

yes


Streams don't skip unplayable songs

Hello,
I understand that Streamus refuses to play certain videos now due to YouTube's demands. When I try to play such a song, I get a pop-up error message "Song unable to be played" which is fine.
However, when such a song is queued in a stream, I think it would be better for Streamus to skip it and begin playing the next non-restricted song in the queue. The current behavior appears to be that Streamus stops playing entirely.
Thanks,
Sean

Wow, grammar, how does.

Duplicate #380

Doh, sorry. Thanks!


Suggestion for a new feature: Read-Only Variables to Overide other Variables

Hey @jonathantneal !
To begin with, thanks for a great plugin!
Since we want to use our NUXTJS boilerplate on various projects, we want to be able to change the values for properties like background colors or width dynamically without changing the whole template each time.
Here is an example:
./overriding.sss
$background-color: orange ---> This overrides and affects all the files in variablee.sss and other files that uses this variable.

*Order of the files doesn't matter here

./variable.sss
$fg:                 	$blue
$fg--1:              	color( $fg shade(15%) )
$fg--2:              	color( $fg shade(30%) )
$fg-1:              	color( $fg tint(15%) )
$fg-2:              	color( $fg tint(30%) )

The syntax for overriding features can be something like:
@readonly {
   $fg: yellow
}

This readonly declaration comes before the original $fg declaration defined in other file.
We are thinking of making a PR. We really want to have this feature added!
Appreciate any response!

I like it. Forgive me if this is a daft question, but does this mirror an existing Sass feature, too?

@jonathantneal
Thanks for the question! Yeah, Sass doesn't have this feature implemented.


Add a kubernetes driver

Closes #763

cc @technosophos -- I know you've done some work towards this in #560

/brig run

/brig run


pipelining 100x slower on cache misses

We tried switching from individual DMap.Get calls to pipelining today and found very poor performance on cache misses.
In the trace below, there were 99 keys added to the pipeline. The gap from the beginning of the Exec bar and the first Result is where pipeline.Exec was called, ~300ms. Any Result() call followed by a Scan means that there was a cache hit, otherwise it was a miss. Cache hits are great, almost all within 0.25-0.50 ms. Cache misses however take up to 150ms before returning. Is that expected behavior? My expectation was that pipeline.Exec might take 10-100ms to fetch everything, then any Result() calls afterwards would be almost free.

The spike below is when we deployed pipelining, and the low dots on the right are when we reverted to making the same number of Get calls as there are Pipeline Get + Result calls.

Env:

Olric v0.5.0
30 embedded client cluster
k8s 1.21

Hey, @derekperkins Could you please share your configuration? I particularly need to learn the following fields:

ReplicaCount
ReadQuorum
ReadRepair

I'm not setting any of those explicitly.
cfg := config.New("lan") // default configuration
cfg.ServiceDiscovery = map[string]any{
	"plugin": k8sDisc,
}
cfg.ReplicationMode = config.AsyncReplicationMode
cfg.LogLevel = "WARN"
cfg.LogVerbosity = 1

cfg.DMaps.Custom[name] = config.DMap{
	EvictionPolicy:  config.LRUEviction,
	MaxIdleDuration: 24 * time.Hour,
	MaxInuse:        50_000_000,
}

FWIW, we're caching immutable objects, so stale data isn't possible. We're strictly focused on performance, and can set any knobs to whatever you suggest

It may be related to https://github.com/buraksezer/olric/issues/201. Initially, I thought we could add an option to disable the Last-Write-Wins policy but ReplicaCount is 1 by default. So it's already useless for your configuration.

I wasn't doing any Put() calls in the pipeline, just Get(), but there would have been a lot of concurrent Put calls happening outside the Pipeline

And after Exec() returns, Result() isn't making any network calls, correct? Those should have all been resolved inside Exec

And after Exec() returns, Result() isn't making any network calls, correct? Those should have all been resolved inside Exec

That's correct.
I checked the code but I couldn't find any reason why cache misses are slow while hits are quite fast. Are cache misses slow with the normal DMap API? The related function is here: https://github.com/buraksezer/olric/blob/9c9188322a7bbf655205b31df081b6f143f3e9fe/internal/dmap/get.go#L276

Are cache misses slow with the normal DMap API?

I don't believe so. We first implemented olric without using pipelines or goroutines for Get calls, which did cause a slowdown (deployment happened at metric spike) compared to the previous local only cache (ristretto), but nothing unexpected for ~100 sequential network calls.

It stabilized at those p-values until we deployed with pipelines (deployment at metric spike), which sent latency through the roof, even though it should have been fundamentally making the same ~100 requests with concurrency of 1.

I just redeployed v0.5.1 and it shows massive improvements over the original trace above, but still is surprisingly slow on cache misses. They aren't taking 100ms now, but calling Result() on cache misses is taking ~1 ms, where cache hits take only ~0.02 ms
Long pipeline.Exec time, almost all cache hits

Short pipeline.Exec time, almost all cache misses

Never mind, that was my bad. I wasn't ignoring the KeyNotFound error, so that handling was taking extra long, skewing the results. 😬


GCP IAP: kfctl should create OAuth clients for IAP programmatically

Currently GCP users need to setup IAP client manually: https://www.kubeflow.org/docs/gke/deploy/oauth-setup/
Since IAP API is now GA: https://cloud.google.com/iap/docs/programmatic-oauth-clients
kfctl should create OAuth clients for IAP programmatically when env var like CLIENT_ID is not set.

This would be great.


REL: bump version to 2024.11.8a1

Summary by Sourcery
Chores:

Bump the project version to 2024.11.8a1.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>4
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.892%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
1190

Relevant Lines:
1295

💛  - Coveralls


Timeline pane disappear every time open Obsidian

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
Once the obsidian timeline is fixed it should remain in place.
Current behaviour
I placed the timeline panel below the calendar panel.

What happens is that every time I start Obsidian the timeline panel isn't there and I'm forced to put it back in its place every time.

The strange thing is that as soon as obsidian starts I can see the timeline in its place (where I would like it to stay) but only for a second, after which it disappears as if it resets automatically.
Video here:
https://drive.google.com/file/d/1uRwYtvHvAVtSePXqhUjc6Xuf7DzT1YDt/view?usp=sharing
Steps to reproduce
I attach video here:
https://drive.google.com/file/d/1uRwYtvHvAVtSePXqhUjc6Xuf7DzT1YDt/view?usp=sharing
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version
1.6.7
Possible solution
...

Can confirm this issue, happens to me as well

Same here. I have to switch to my "workspace" manually every morning to put it in its place - for me the left side - but obviously manually dragging it works - until you restart again.

Available in 0.23.2


Rename DubbleReverseProxy to DoubleReverseProxy

Wasn't sure if this was a typo or intentional, but DoubleReverseProxy
makes sense.

This was fully intentional. It's the little things that keep me entertained! :cake:


Anjali Kundliya

This is Anjali Kundliya. And I will be adding my data to do my first contribution as well as get a card on the website.

@anjali-kundliya05 Can you please elaborate on what I should do?

Go ahead @anjali-kundliya05


added fluff and switches for different teas.

used another file for that

Merged - love the tea ASCII!  Nicely done.

mhh might messed that up. will look into it and merge both scripts


Difference between 'save' / 'save all and view less' button is unclear

As reported by @JeroenvdLogt

Assigning to @grdw

@JeroenvdLogt can you explain what you find confusing about the current situation?

Saves save mean that only the market model is saved (if you were working on that) or is the complete LES saved. And does this mean that the original marketmodel will be overwritten?

Saves save mean that only the market model is saved (if you were working on that) or is the complete LES saved.

'save' means that the current tab which you are editing is saved
'save all and view LES' means that all tabs are saved and you are taken to the 'view' page

And does this mean that the original marketmodel will be overwritten?

What do you mean by 'original' here?

If you have edited the market model, 'save' will save your changes if you are on the market model tab.
If you have edited the market model, 'save all and view LES' will save your market model regardless of the tab you are currently viewing
if you have not edited the market model it will not be saved (there is no need to save it) and it will stay unchanged


Wrong routing key for MQ messages from FileRequestHandler on survey backend

The routing key for RabbitMQ messages emitted from the FileRequestHandler use the value of self.endpoint, which is set in the initialize method of the class.
Both uses of the handler for the survey API currently set the self.endpoint to None, which will result in the wrong routing key.
The fix is to set the value to survey instead.

The fix for this was merged in #182 and released as part of v2.15.1.


Subscription

For some reason i cannot select a single subscription under a tenant, i've tried everything the tool refuses to select one when there are many

Hello,
Yea, there is a bug in the az cli. So, we removed the -SubscriptionID while waiting for this to be fixed.


Realtime backend response error handling

Gently hand error response from backend on get-work, work-completed cases.
Fixes #116, #118.

Not sure why this fixes #116?

#116 occurs when a client issues a request regarding a victim that does not exist in database. This PR catches that error and prints an appropriate message, while keeping the realtime module from crashing. In that scenario, after merging the PR both the realtime and the backend will gently handle the error, inform the user with error messages and keep working.

We should still respond to the user in #116 regarding the correct database
initialization.
On Jun 2, 2016 10:07 PM, "Dimitris Karakostas"<EMAIL_ADDRESS>wrote:

#116 https://github.com/dionyziz/rupture/issues/116 occurs when a
client issues a request regarding a victim that does not exist in database.
This PR catches that error and prints an appropriate message, while keeping
the realtime module from crashing. In that scenario, after merging the PR
both the realtime and the backend will gently handle the error, inform the
user with error messages and keep working.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/dionyziz/rupture/pull/146#issuecomment-223391019, or mute
the thread
https://github.com/notifications/unsubscribe/AAhPPJLqIeRDib2GOeyUsmwjtP1o1jTsks5qHynggaJpZM4IqtIe
.


Only 8-9 connections possible

The wallet is only connecting to 8 - 9 peers while maxconnections is set to 125.

I have the same issue, only have 8 connections.  How to I set the max connections higher?  Isnt it set at 125 by default?  I also noticed all my connections are outbound.

Same issue here. Only 8 connections. Version:  v<IP_ADDRESS>-beta (64-bit) - Linux


Implement proper NativeBufferPool

needs to support different bucket sizes (so it does not waste space when renting 100B buffers)
needs to support renting buffers larger than those stored in the pool
needs to support renting when all buffers are already rented
needs to do better with concurrency (no global lock, no array of locks/free-rented bits)

Inspiration:

https://github.com/netty/netty/issues/3910#issue-90391403

If you want to go wild, can do a stack based MCS lock
Had one here but its probably buggy :smile:

Also you can't sleep or yield on the MCS lock since its a fair lock and throughput dies if you do.


error with arguments in sns.barplot()

Error with arguments in sns.barplot() in EDA section.
https://github.com/GokuMohandas/mlops-course/blob/main/notebooks/tagifai.ipynb

TypeError                                 Traceback (most recent call last)
 in <cell line: 4>()
2 tags, tag_counts = zip(*Counter(df.tag.values).most_common())
3 plt.figure(figsize=(10, 3))
----> 4 ax = sns.barplot(list(tags), list(tag_counts))
5 plt.title("Tag distribution", fontsize=20)
6 plt.xlabel("Tag", fontsize=16)
TypeError: barplot() takes from 0 to 1 positional arguments but 2 were given
the seaborn version in the colab notebook is 0.12.2

the error could be resolved by replacing
ax = sns.barplot(list(tags), list(tag_counts))
with
ax = sns.barplot(x=list(tags), y=list(tag_counts))

hey @naveeagrawal, thanks for sharing this. A few others brought this up too and it's due to Colab auto-upgrading their packages every so often (seaborn api changed). I was going to push the change but have a lot of changes coming soon so decided to wait. Also we won't be using Google colab anymore because it essentially causes projects like this to break every few months.


added hosted app 2017

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Validation Status: Errors
Articles

Article
Status
Details

vs-taco-tutorial-hosted-app.md
Failed
Details

vs-taco-tutorial-hosted-app.md

[Error] Could not find the image: articles/vs2017/media/vs-taco-tutorial-hosted-app/figure-15.png. Is it a casing issue?

JobID: 77d2e7ab-6d80-48b2-ab95-6b06a30816b8


[BUG] the log file size rise rapidly when start DS service

*For better global communication, please give priority to using English description, thx! *
Describe the bug
When I start the DS service, the logs size in logs directory rises rapidly to almost 20G, so I can't start DS, because this must not be normal.
The error info shows that there is a JDBC Connection exception with druid, as I know so far, the druid setting in DS is default, I don't know the reason result in this problem. Thanks!
To Reproduce
Steps to reproduce the behavior, for example:
sh ./bin/start-all.sh
Screenshots

Which version of Dolphin Scheduler:
-[1.2]

@lgcareer

You can check whether your datasource connection information is ok?

You can check whether your datasource connection information is ok?

You are right, my datasource is set wrong.


[WIP][feature] Wiki Drag and Drop [OSF-8867]

Revival of #4569
Purpose

Allows image files to be dragged and dropped into wiki pages.

Changes

TBD

QA Notes

TBD

Side Effects

TBD

Ticket

OSF-8867

Closing in favor of #8156


Update README.md

Pull Request
Proposed Changes

Give a summary of the changes made in the repository.
List the dependencies used.
Also mention the issue number [Fixes #(issue)].

Types of changes made

[ ] Fixed Bug
[ ] Added new Features
[ ] Edited Documentations
[ ] Enhanced the working of code
[ ] Additional Changes
Mention any Additional Change here

Additional Info
Provide additional information(if any) you want to convey.
Viability of Code
Describe the tests that you ran to verify the changes made. Mention the tests for easy reproducibility.

Test 1
Test 2

Mention(if any) specific Test Configurations used:

Filmware version:
Hardware:
Toolchain:
SDK:

Screenshots or GIFs (if any)
Attach screenshots of the changes made for easy reference.

Original
Updated

Attach_Original_Screenshot
Attach_Updated_Screenshot

Checklist:

[ ] My code follows the Mentioned Guidelines for the project
[ ] I have self-reviewed the changes made
[ ] I have made the changes easy to understand by adding comments
[ ] My changes does not generate new warnings/errors
[ ] I have attached relevant screenshots to display the changes made
[ ] I have made the required changes to the documentations

Hey @NILESHKUMAR23 If you are interested please take up #40 or #7 issues which are open for all. Since this pull request doesn't solve an issue closing this. Thank you!


Portfolio Website Desktop Version

Animation & transitions 🌳
-Used Animation properties to achieve webpage animation.

Hi Student  ,
Status: Approved :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:

To Highlight 💪🏻

application deployed  ✔
Readme updated ✔

Good job implementing the requirements  :+1: Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Optional Suggestions  :

N/A

Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag  ichala in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Fix VNodeStyle type

See https://github.com/snabbdom/snabbdom/issues/1121

Thanks a lot for the PR. I think one problems is that we also want to allow unknown style properties to be used. Something like this should also type-check:
const x: VNodeStyle = {
    myOwnWeirdStyle: "foo"
};

I think https://github.com/snabbdom/snabbdom/pull/1127 should fix the problem you reported while still allowing for the above to work (accidentally actually, I was looking at a performance issue).


Create a public knowledge base

Will be under letsbuilda
docs.letsbuilda.dev?
kb.letsbuilda.dev?

https://kb.letsbuilda.dev/ is live!


az image copy fails

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az image copy Extension Name: image-copy-extension. Version: 0.2.3.
Errors:
Command '['/opt/az/bin/python3', '-m', 'azure.cli', 'snapshot', 'create', '--name', 'cis-cloud-init-image-209_os_disk_snapshot', '--resource-group', 'azure-image-store-rg', '--source', '/subscriptions/43d9b7d8-0fd5-439d-8a21-3fa40e1c542a/resourceGroups/packer-Resource-Group-zrm6qnly25/providers/Microsoft.Compute/disks/pkroszrm6qnly25', '--output', 'json', '--tags', 'created_by=image-copy-extension']' returned non-zero exit status 1.
Traceback (most recent call last):
...

To Reproduce:
Steps to reproduce the behavior.

An image with the name cis-cloud-init-image-209 should exist in the azure-image-store-rg in the southecentralus region; the azure-image-store-rg-canadacentral resource group should exist in the canadacentral region
az image copy --source-resource-group azure-image-store-rg --source-object-name cis-cloud-init-image-209 --target-location canadacentral --target-resource-group azure-image-store-rg-canadacentral

Expected Behavior
The command should complete successfully and the image should be copied to the new region/resource group.
Environment Summary
Linux-4.4.0-17763-Microsoft-x86_64-with-debian-buster-sid
Python 3.6.5

azure-cli 2.1.0

Extensions:
image-copy-extension 0.2.3

I realize I missed this statement for this to be successful:
One thing you should keep in mind is that we are relying on the source os disk as the actual source for the copy. So, when you "capture" a new image off a vm in Azure, don't delete the os disk if your intention is to copy it to other regions.

I am closing.


RSS feeds for lists!

Describe the Feature
The RSS feed support is great right now at the single profile level, thank you! (done in https://github.com/bluesky-social/social-app/issues/1491)
Would love to have this available at the list level as well:
ie to see recent posts by everyone in a specified list in an rss feed:
https://bsky.app/profile/<profile>/lists/<list-id>/rss
Would this be difficult to add?
Attachments
No response
Describe Alternatives
No response
Additional Context
No response

I think first of all there should be an option to make the list(s) public, because being private how could the rss readers read them?

I think first of all there should be an option to make the list(s) public, because being private how could the rss readers read them?

Lists (and pretty much everything in Bluesky) are already very public

I contacted rss app people and they said that you need a login to access a list URL, that's what I meant


Phantom dice

🐛 Bug Report
Write a description of the bug here, give all the information you can about what it is, how it happened.
I was doing a few dice on the BSO (loaded into another server). Diced 10m, then 30m, then 100m b2b2b. I won them all. I then attempted to dice 5m and the bot didn't appear to respond. I attempted the 5m dice again and the bot still didn't respond. Thinking it was a connection/discord issue I went to the main BSO server and noticed the bot was working just fine for others. It still did not recognize basic commands for me such as =m or =gp. Finally the bot pinged me on the initial server I tried to dice the 5m on to inform me that I had lost my dice of 400m? I wish I could provide more info for you than this but I was experiencing no network connection issues and others appeared to be using the bot without interruption. Below is a screenshot of the event. Time is in gmt-6.

RIP sorry for the waste of time. wasn't aware of this "feature"


Explanation of c and delta for sampler

Any chance of an explanation for the C and delta for the sampler? I'm getting nearly 20% overhead from the LT coding with the defaults

Sorry for the delay on this, responding in case the question remains.
While you could set the degree distribution to be $$P(1) = 1$$, thus preventing the encoder from transmitting redundant blocks, I'm not sure if this can be achieved simply by tuning $$\delta$$ and $$\tau$$ in the sampler provided. Further, completely eliminating sampling overhead would also mean replacing the block sampler, since even if you always select with degree 1 it is unlikely that the block sampler would select $K$ unique blocks in a row.
I think that the tradeoff here is that the sampling is what provides the robustness to packet loss, and if packet loss isn't an issue then you could probably do better with a different algorithm. Hope this helps!


Documentation incorrect for createUpdateSubscriber

Hello,
Just had to spend about an hour debugging this, which was frustrating so hopefully this can be resolved or someone else having the same issue can find this in the future.
The documentation at https://developer.drip.com/?javascript#create-or-update-a-subscriber states the payload for createUpdateUser should look like this:
const payload = {
  subscribers: [{
    email<EMAIL_ADDRESS>    time_zone: "America/Los_Angeles",
    custom_fields: {
      shirt_size: "Medium"
    }
  }]
};

However, I was continuously getting this, very unhelpful error:
{"errors":[{"code":"parsing_error","message":"JSON parsing error: The property '#/' of type object did not match one or more of the required schemas"}]}
After triple checking all of my custom field identifiers and racking my brain, I logged the actual entire error response and noticed the body of the request was this:
body<EMAIL_ADDRESS>So while the documentation is telling you to have your subscriber wrapped in an array under subscribers, you are actually just supposed to send only the subscriber object, like this:
const payload = {
    email<EMAIL_ADDRESS>    time_zone: "America/Los_Angeles",
    custom_fields: {
      shirt_size: "Medium"
    }
};

Hopefully you guys can make that small change in the documentation, and maybe this issue will help others before that happens. Thanks!

Thanks a lot!

Thanks for this

Thank you! I was working on this and keep getting the same error.

Thanks! I was pulling my hair out for an hour.

Ah, thank you @prkirby! Authored a PR to fix it in the Drip docs here, https://github.com/DripEmail/api-docs/pull/91.

Jesus Christ, why did I see this so late. Thank you so much!

@jeremyhaberman Is it possible to get https://github.com/DripEmail/api-docs/pull/91 merged? This seems to be a common pitfall. (Apologies if you're the wrong person to tag, but you're the most recent maintainer I see)

@sloreti, I'm not sure. I'm probably not the best one to ask. No worries about reaching out to me though.
@will-in-wi, can you help out with this?

https://github.com/DripEmail/api-docs/pull/91 is merged, and this should be fixed now.


“multilearning-cl”

Hi amir, this is a sloppy code for me to start multilearning implementation based on command line. At the moment, I am not able to run other options (like explicitly defining Socket, Active calculator in python script) except for command line... So I just made a simple code to run active md & observer calculator in command line. Could you review the code if it's done properly?

Hi Chang Woo,
I think the code will run correctly as long as two different calculators are used.
But If one wants to use same the same calculator with different setups (e.g. VASP with two different INCAR's which I think would be the most common case), it will not run correctly at the moment.
First, there is the issue of indexing e.g. INCAR files as 1, 2, etc.
Second, (aside from the issue of indexing setup files) currently calc_server imports a calc-file only once at the beginning.
Therefore calculators should be defined with different names or inside different files.
Because of these conflicts with the design of cl, It is difficult to create a generic stable API.
Additionally, it occurred to me than one can just train a model with one calculator and, as a post-processing step, generate the second model by recalculating the data potential energy and forces with the second calculator.
I think this is a more straightforward solution.


Error in Cosine Function Graph

I am trying to create a cosine graph using Manim but it was different from the actual graph.
How should I edit my code to make it the actual graph. Thanks in advance.
Code:
from manim import *
from numpy import cos

class CreateGraph(GraphScene):
    def __init__(self, **kwargs):
        GraphScene.__init__(
            self,
            x_min=-5,
            x_max=5,
            y_min=-5,
            y_max=5,
            graph_origin=ORIGIN,
            axes_color=GREEN)

    def construct(self):
        # Create Graph
        self.setup_axes(animate=True)
        f1 = self.get_graph(lambda x: cos(1/x) , x_min=-4, x_max=4)

        # Construct the Figures
        self.play(ShowCreation(f1))
        self.wait(1)

Error:

Environment
OS System: Windows 10
manim version: master <V.6 Community Version>
python version: .3.7.0

Setting the t_range parameter to np.array([0, 1, 0.0001]) and discontinuities to [0] fixed it for me. Rendering time was increased a bit though. As you make the step size in t_range smaller and smaller, the graph will become more accurate, but rendering time will increase.
f1 = self.get_graph(lambda x: np.cos(1/x) , x_min=-4, x_max=4, t_range = np.array([0, 1, 0.0001]), discontinuities=[0])

I believe proper graphing software intelligently uses different step sizes for different parts of the graph. Unfortunately, we still use a fairly naive plotting method.

I believe this should be open until we can intelligently graph functions like these.