How to scan large files for malware in the airlock?

Description
In my Azure TRE deployment I would like to be able to pass large files through the airlock, up to 10 GB, possibly more. If I have malware scanning enabled, as I would like to, I'm subject to the 2 GB limit from Defender for Cloud.
Is there any suggestion for how to work around this? 2 GB is too small a limit for us, but we want to be able to benefit from malware scanning if we can.
P.S. I'm aware that the airlock review VMs have only 10-15 GB spare once they've booted, that's another issue, that I can solve for myself. It's the malware scanning that I don't know how to solve.

@TonyWildish-BH - Thank you for logging this issue.  We will review the details of the issue and update again with next steps


Add a dark mode option

Fixes #120

Still TODO:

Update documentation
Pipe dark mode option through to Docker

Looks very cool, thank you so much!

If testing is needed, I can deploy a live instance at any time with the PR.

@KoxSosen - Okay cool, it's ready for testing. You can enable dark mode by adding -e "SITE_DARK_MODE=true" when launching it within a Docker container or adding the -darkmode flag when running the server binary directly.

Thanks! I built the image locally, and it seems like the option is indeed working! It looks nice, great job.

One small thing to mention: When using curl to upload text, the output URL defaults to http. Most webservers should already redirect from port 80 to port 443, but I think it would be nice to add an option to enable https everywhere instead of the http output.

@KoxSosen - Thanks for testing!

One small thing to mention: When using curl to upload text, the output URL defaults to http. Most webservers should already redirect from port 80 to port 443, but I think it would be nice to add an option to enable https everywhere instead of the http output.

That's a good idea. I'm tracking that in #124


add statistical type SCALE

Define SCALE please.

Related #425

A scale is a positive, or perhaps nonnegative, real.  Maybe we should really have a statistical type for any half-open interval, and another one for any closed interval, but I expect variables supported on half-open intervals bounded below by zero to be a very common case.

The README in gpmcc suggests a stattype called IN-RANGE(a,b) which we can achieve by scaling a beta, truncating a normal, etc.

Fixed 7cc3a6b0d60c19e20cda580876d7d254026bee95, with SCALE as MAGNITUDE.


[move-prover] Reactivate CVC4 tests and document usage.

This reactivates a select set of cvc4 tests to be run locally (and after we add it, also nightly). This became possible after upgrading to the newest Boogie version which had the interaction issue with cvc4 fixed.
I have not really attempted to activate more tests for CVC4 in this PR, nor verified the existing ones, but only checked whether the previous fatal errors are gone.
This also adds a document at doc/dev/cvcv4.md which describes how to select cvc4 tests, extend them, and configure the prover to use different encodings and theories if cvc4 is active. There are some TODOs in this doc which we should fill out next. Specifically, we need to pass the unit tests before we can use the more interesting stuff in the Diem framework which provides rich data for benchmarks and is supported by the Move prover's benchmarking infra. This is all described in the doc.
Motivation
CVC4 collaboration.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Reactivated older tests.
Related PRs
NA

@barrettcw

@barrettcw :
I fixed the CVC4 model parsing issues last weekend.  I must admit though I don't fully understand what is going on in the various code paths in Boogie for processing models returned by Z3 and CVC4.  It almost seemed like there are two separate model formats.   I believe you wrote some of that code a while ago.  Could you discuss sometime?
Also, it would be useful to run CVC4 on the entire Boogie test suite to get the lay of the land.  The Boogie test suite is a good representative for software verification benchmarks that use a good mix of theories and quantifiers.  I don't have the bandwidth to take this task on entirely by myself.  But I am happy to collaborate with somebody on the CVC4 side.

/land


chore(native): Make sure all targets in workspace been covered by clippy

Which issue does this PR close?

Closes https://github.com/apache/datafusion-comet/issues/700.
Rationale for this change

Make sure all targets in workspace been covered by clippy
What changes are included in this PR?

CI changes and make clippy happy.
How are these changes tested?

In CI rust-test.

Merged. Thanks @Xuanwo @andygrove


Follow best practices

This will become a catch all issue for issues related to things that will be solved when we follow best practices:

[ ] No logic in link function (#289)
[ ] Become component (angular 1.5)

And issues that are worth looking after when rewrite is done:

[ ] Suport appendTo (element or body) (#291)

Development on v2 has started


mri broken on gcc 4.6

example:
$ rake compile
mkdir -p tmp/x86_64-linux/dither/2.1.0
cd tmp/x86_64-linux/dither/2.1.0
/home/jason/.rbenv/versions/2.1.0/bin/ruby -I. ../../../../ext/dither/extconf.rb
creating Makefile
cd -
cd tmp/x86_64-linux/dither/2.1.0
make
compiling ../../../../ext/dither/dither.cc
cc1plus: error: unrecognized command line option ‘-std=c++11’
Makefile:204: recipe for target 'dither.o' failed
make: *** [dither.o] Error 1
rake aborted!
Command failed with status (2): [make...]

Tasks: TOP => compile => compile:x86_64-linux => compile:dither:x86_64-linux => copy:dither:x86_64-linux:2.1.0 => tmp/x86_64-linux/dither/2.1.0/dither.so
(See full trace by running task with --trace)

gcc 4.6 does not support the c++11 option.  we need to replace this with c++0x.

still broken on gcc 4.6 after fixing the -std option.
[jason@arch dither]$ rake compile
mkdir -p tmp/x86_64-linux/dither/2.1.0
cd tmp/x86_64-linux/dither/2.1.0
/home/jason/.rbenv/versions/2.1.0/bin/ruby -I. ../../../../ext/dither/extconf.rb
creating Makefile
cd -
cd tmp/x86_64-linux/dither/2.1.0
make
compiling ../../../../ext/dither/dither.cc
compiling ../../../../ext/dither/simple_constraint_handler.cc
In file included from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/algorithm:63:0,
                 from ../../../../ext/dither/simple_constraint_handler.h:15,
                 from ../../../../ext/dither/simple_constraint_handler.cc:10:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::vector<std::pair<long unsigned int, signed char> >*, std::vector<std::vector<std::pair<long unsigned int, signed char> > > >, _Tp = std::vector<std::pair<long unsigned int, signed char> >, _Compare = dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>]’:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2266:78:   instantiated from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::vector<std::pair<long unsigned int, signed char> >*, std::vector<std::vector<std::pair<long unsigned int, signed char> > > >, _Compare = dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>]’
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2307:62:   instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<std::vector<std::pair<long unsigned int, signed char> >*, std::vector<std::vector<std::pair<long unsigned int, signed char> > > >, _Size = long int, _Compare = dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>]’
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:5446:4:   instantiated from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator<std::vector<std::pair<long unsigned int, signed char> >*, std::vector<std::vector<std::pair<long unsigned int, signed char> > > >, _Compare = dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>]’
../../../../ext/dither/simple_constraint_handler.cc:32:14:   instantiated from here
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2234:4: error: no match for call to ‘(dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>) (std::vector<std::pair<long unsigned int, signed char> >&, const std::vector<std::pair<long unsigned int, signed char> >&)’
../../../../ext/dither/simple_constraint_handler.cc:29:14: note: candidates are:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2234:4: note: bool (*)(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&) <conversion>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2234:4: note:   candidate expects 3 arguments, 3 provided
../../../../ext/dither/simple_constraint_handler.cc:30:60: note: dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>
../../../../ext/dither/simple_constraint_handler.cc:30:60: note:   no known conversion for argument 2 from ‘const std::vector<std::pair<long unsigned int, signed char> >’ to ‘std::vector<std::pair<long unsigned int, signed char> >&’
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2237:4: error: no match for call to ‘(dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>) (const std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)’
../../../../ext/dither/simple_constraint_handler.cc:29:14: note: candidates are:
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2237:4: note: bool (*)(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&) <conversion>
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.4/include/c++/bits/stl_algo.h:2237:4: note:   candidate expects 3 arguments, 3 provided
../../../../ext/dither/simple_constraint_handler.cc:30:60: note: dither::SimpleConstraintHandler::SimpleConstraintHandler(std::vector<signed char>&, std::vector<std::vector<signed char> >&)::<lambda(std::vector<std::pair<long unsigned int, signed char> >&, std::vector<std::pair<long unsigned int, signed char> >&)>
../../../../ext/dither/simple_constraint_handler.cc:30:60: note:   no known conversion for argument 1 from ‘const std::vector<std::pair<long unsigned int, signed char> >’ to ‘std::vector<std::pair<long unsigned int, signed char> >&’
Makefile:204: recipe for target 'simple_constraint_handler.o' failed
make: *** [simple_constraint_handler.o] Error 1
rake aborted!
Command failed with status (2): [make...]

Tasks: TOP => compile => compile:x86_64-linux => compile:dither:x86_64-linux => copy:dither:x86_64-linux:2.1.0 => tmp/x86_64-linux/dither/2.1.0/dither.so

fixed in 4e5a26f771b5a1b9bd6ed61929098b4813b9c946


Linter warnings #8

Description

This PR focuses on lint changes in the builder package.
Type of change

Internal change (not necessarily a bug fix or a new feature)

TODOs

[x] Self-review the change
[ ] Perform manual testing
[ ] Address review feedback

Implementation

Performance/Scaling

Testing done

Additional information

Both #2513 and this have a bunch of churn related to formerly-embedded-now-private fields of newly public structs. What is the advantage of making the struct public, over an interface that specifies only the public methods needed outside the namespace? Better gopls integration? More idiomatic? Are there other solutions you considered?
Not a critique, just curious as I build my go skills.

Reasons are somewhat hectic tbh:

if there was an interface, I'd use it (but not consistently)
If there was no interface, the type would be exported and all exported fields would be unexported

Pragmatic reasons why one would favor an exported type over an interface would be that e.g. a unit test relied on accessing state in which case I'd always prefer having a way of constructing a concrete value instead of having to typecast an interface value. But you can argue further that tests should ideally be in a separate package and hence work exclusively against an exported interface and figure out whether you actually need to access the state in the test. So I don't have a compelling reason to always favor one over the other.


Create .ocamlinit for utop

If you stick a .ocamlinit file in the root of a project, it will automatically run any toplevel commands that you include in that file.
Typically, this will include things like:
open P3;;
#install_printer Regexp.regexp_pp

where Regexp.regexp_pp is a pretty-printer as defined by the Format. Whenever the toplevel goes to print a value of type t and t has a pretty printer installed, it will print that value using the pretty-printer.
See Format.pp_print_text for an example of how to take a to_string function and turn it into a printer. For example, to take the regexp_to_string function and turn it into a printer you could just do:
let regexp_pp f s = Format.pp_print_text f (regexp_to_string s)

I'm not sure if there's any "default setup" for the toplevel that might make sense for the projects, but it makes things much more pleasant and efficient when debugging with the toplevel.

This could make testing the Regexp module in toplevel super convenient:
utop # string_to_regexp "(a | b)*"
- : regexp_t = (a | b)*


Sanitize directory changes

In some cases, Isofit changes directories in unexpected ways, which can
cause relative paths to fail when they really shouldn't. Ideally, the
Isofit executable should respect its current working directory as much
as possible. These changes try to more reliably undo working directory
changes when they happen:

In two instances, we change directory just to execute a
subprocess.call. In these situations, we can just pass the cwd
argument to subprocess.call to achieve the exact same effect, but in a
way that is more robust to crashes midway through the command.

In one other place, the directory change is more complicated, so I
added a call to atexit.register(os.chdir, cwd). This basically tells
Python to run the os.chdir(cwd) command as soon as the function call
exits for any reason that Python can pick up (basically, any error
that isn't at the system/memory level). atexit is a part of the Python
standard library, so this doesn't introduce any new dependencies.

Looks great to me.   This seems significantly more elegant than my original.

Simpler, cleaner, and more elegant!  Love it, thanks Alexey.


Grandpa 1: save HistoricalVotes

We need to save the votes received indicating the moment of voting in order to answer challenge queries.
Related to https://github.com/paritytech/finality-grandpa/issues/10
Depends on: https://github.com/paritytech/finality-grandpa/pull/65

The compile errors need to be fixed.

What is the status of this?

This is dependent on us releasing finality-grandpa 0.8, and we're trying to synchronize a couple of PRs that will depend on it (e.g. #2801). IMO this PR and #2611 could be merged into one.

What is the status of this?

What is the status of this?

After a talk with a w3f guy we realized that is not needed.


Markdown, Outline, and Preview not working MacOS

Outline isn't showing any scene headings, Markdown isn't showing anything in the editor, and the Preview command simply spits out a "No fountain file is currently targeted" message. I've tried disabling and re-enabling the package, uninstalling and reinstalling it, deleting and re-installing atom, and turning off other unnecessary packages. I'm really not sure what's going on as I've had it working perfectly before.

What version Atom and plugin are you using? On Atom 1.41.0 x64 and plugin version 0.8.3 it seems to be still working on Linux Mint 19.3. How recently did it last work for you?


How run open devin in wsl windows10

How run open devin in wsl windows10

Please see https://github.com/OpenDevin/OpenDevin/blob/main/docs/guides/Windows.md

I will try, thank you, and I hope this solves the problem
Please guide me on how to write the lines in an order     dicker run

https://xdaforums.com/t/how-to-install-opendevin-in-windows-wsl-method.4667442/#google_vignette
I do but not connect with gpt 3.5

نفس المشكلة مع ديفيكا

Same problem with Devikaا


pull request for e2e test at 12/26/2016 10:56:14

: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.


Close Tabs with Middle Mouse Click

N/A

Sure, this can be added to next release!

Added this.

@samihaddad - can this be re-open again please? The middle click triggers mouse scrolling and it changes the mouse cursor to the scrolling cursor. Basically, you're scrolling the Vertical Tabs menu whenever you middle click. While the tab does close properly, the problem is that you have to click elsewhere to disable the scrolling.
Running this on UnGoogled Chromium.

Hey @chaoscreater, I opened a new issue #35 to address this.


PBR lib & test

Add PBR lib to shards and add test script
This also fixes basic PBR rendering components:

Normal Maps
(Bi)Tangent generation
Emissive maps
Metallic Roughness maps

Merged in #761


Failed to load nodes from frozen graph file(.pb)

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS High Sierra 10.13.6
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: No
TensorFlow installed from (source or binary): Python binary(pip install tensorflow==1.7.0)
TensorFlow version (use command below): 1.7.0
Python version: 3.6.8
Bazel version (if compiling from source): 0.10.0(never used bazel)
GCC/Compiler version (if compiling from source): Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
CUDA/cuDNN version: Not used CUDA/cuDNN
GPU model and memory: Not used GPU

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
When I tried to load frozen graph(.pb) as graph_def, I couldn't get success to run import_graph_def.
I received a ValueError: ValueError: graph_def is invalid at node 'inpaint_net/conv1/kernel/Assign': Input tensor 'inpaint_net/conv1/kernel:0' Cannot convert a tensor of type float32 to an input of type float32_ref.
I found similar issues from #3628 and #24062, but I can not resolve with @barbolo's suggested code.
Describe the expected behavior
It should load gragh_def object by using tf.import_graph_def function.
Code to reproduce the issue
import tensorflow as tf
from tensorflow.python.platform import gfile
input = 'model/snapmodel-160000.pb'
with tf.Session() as sess:
    print("load graph")
    with gfile.FastGFile(input,'rb') as f:
       graph_def = tf.GraphDef()
    graph_def.ParseFromString(f.read())
    f = open(node_file, 'a')
    # fix nodes
    for node in graph_def.node:
        if node.op == 'RefSwitch':
            node.op = 'Switch'
            for index in range(len(node.input)):
                node.input[index] = node.input[index] + '/read'
        elif node.op == 'AssignSub':
            node.op = 'Sub'
            if 'use_locking' in node.attr: del node.attr['use_locking']
        elif node.op == 'AssignAdd':
            node.op = 'Add'
            if 'use_locking' in node.attr: del node.attr['use_locking']
        elif node.op == 'Assign':
            if 'use_locking' in node.attr: del node.attr['use_locking']

    with sess.graph.as_default() as tf_graph:
        tf.import_graph_def(graph_def, name='')

Other info / logs
There is full log:
/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:517: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:518: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:519: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:520: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:521: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/dtypes.py:526: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
2019-11-28 05:03:22.022135: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
load graph
Traceback (most recent call last):
  File "/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 667, in import_graph_def
    op._add_input(source_tensor, dtype=input_type)
  File "/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1898, in _add_input
    (tensor.dtype.name, dtype.name))
TypeError: Cannot convert a tensor of type float32 to an input of type float32_ref

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1664, in <module>
    main()
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1658, in main
    globals = debugger.run(setup['file'], None, None, is_module)
  File "/Applications/PyCharm.app/Contents/helpers/pydev/pydevd.py", line 1068, in run
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/Volumes/Work/2019_Work/Inpainting/tensorflow-onnx/convert.py", line 68, in <module>
    tf.import_graph_def(graph_def, name='')
  File "/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 432, in new_func
    return func(*args, **kwargs)
  File "/Users/mac/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 671, in import_graph_def
    node, 'Input tensor %r %s' % (input_name, te)))
ValueError: graph_def is invalid at node 'inpaint_net/conv1/kernel/Assign': Input tensor 'inpaint_net/conv1/kernel:0' Cannot convert a tensor of type float32 to an input of type float32_ref.

Please give me a help for resolving this issue asap.
Thank you

@alekdev2019, Thanks for reporting issue.
Could you please try against latest TF version 1.15.0.
Let us know how it progresses. Thanks!

Helo @gadagashwini
Thank you for your reply.
But I should use TF 1.7.0 because model was trained by TF 1.7.0.
I've tested this project with another TF version, but it only work with TF 1.7.0.
Please let me know how I can resolve above issue.
Thank you

@alekdev2019, Could you post the .pb file to reproduce the reported issue. Thanks!

@gadagashwini , there is my frozen_graph file path:
https://drive.google.com/open?id=1tnMg5GVn7R8gU-X5yiORQN8wKsr2X8lW
Thank you.

@alekdev2019, tried to replicate the reported issue but received different error message.
Please see the gist and provide more information. Thanks!

@gadagashwini , I have checked your logs and not sure if you copied pb file at the path correctly.
If you copied the file correctly, then it seems like dependency's version issue.
There are my dependencies:
pip list
Package             Version
------------------- ----------
absl-py             0.8.1
asn1crypto          1.2.0
astor               0.8.0
attrs               19.3.0
bleach              1.5.0
certifi             2019.11.28
cffi                1.13.2
chardet             3.0.4
coverage            4.5.4
cryptography        2.8
future              0.18.2
gast                0.3.2
grpcio              1.25.0
html5lib            0.9999999
idna                2.8
importlib-metadata  1.1.0
Keras-Applications  1.0.8
Keras-Preprocessing 1.1.0
Markdown            3.1.1
mock                3.0.5
more-itertools      7.2.0
numpy               1.17.4
packaging           19.2
parameterized       0.7.0
pip                 19.3.1
pluggy              0.13.1
protobuf            3.11.1
py                  1.8.0
pycparser           2.19
pyOpenSSL           19.1.0
pyparsing           2.4.5
PySocks             1.7.1
pytest              5.3.1
pytest-cov          2.8.1
pytest-runner       5.2
PyYAML              5.1.2
requests            2.22.0
setuptools          42.0.1
six                 1.13.0
tensorboard         1.7.0
tensorflow          1.7.0
termcolor           1.1.0
typing-extensions   <IP_ADDRESS>
urllib3             1.25.7
wcwidth             0.1.7
Werkzeug            0.16.0
wheel               0.33.6
zipp                0.6.0

Please let me know if my env resolve your problems.
Thank you

@alekdev2019 May be this comment might help you to solve your problem.
Unfortunately I don't have a great solution for this yet, partly because I haven't been able to create a simple reproducible test case.
Also would recommend you to post this question in stackoverflow where the community may help. Thanks!


Allow multiple unidirectional relations of the same type

Feature Request
What feature are you missing?
Currently it is impossible to define multiple unidirectional relations of the same type within another type. For example:
type ContainerType {
  someObject: SomeType
  anotherObject: SomeType
}

This gives the error The relation field 'someObject' must specify a '@relation' directive
But when @relation is added to both objects:
type ContainerType {
  someObject: SomeType @relation(name: "ContainerTypeSomeObject")
  anotherObject: SomeType @relation(name: "ContainerTypeAnotherObject")
}

The error A relation directive with a name must appear exactly 2 times. is thrown. I cannot seem to find a work around in the documentation, so I assume this is currently not possible.
How could this feature look like in detail? Tradeoffs?
There needs to be a way to add multiple unidirectional relations of the same type to another type. The above example would work if the requirement for relation directives to be bi-directional was removed.
Use case 1:
A user in an application has a profile in which they can set multiple phone numbers (mobile, home, etc.). The type for this profile could look as follows:
type Profile {
  id: ID! @unique
  mobilePhone: Phone
  homePhone: Phone
  otherPhone: Phone
}

The problem here is that a Phone object doesn't care about where it is contained. In fact, the same Phone object might be referenced by many types of objects in the database. In this case, it doesn't make sense to add a property to the Phone type for every possible property of every type that might refer to it. For example, consider we have three different types of profiles in our database that all have 3 properties referring to a Phone type. This means we're going to have to add 9 new properties to our Phone type, all of which bloats our codebase and API with queries and resolvers that will never be used.

Thanks for bringing this up, @adamjking3.
This behaviour stems from the fact that the two pairs of two fields for two relations between the same types cannot be associated to each other unambiguously.
Consider this:

You cannot define two relations between the same types without specifying @relation.
You can define two relations between the same types by specifying @relation on both sides of the relation.

In your example, you are only specifying @relation on one side of the relation. That's why you receive the error message.
Please add the @relation directive on the other side as well, that should get you going.

Do we have a plan for this to be fixed? This look like a very important feature, end up  I have to write a lot of unnecessary fields just to make it passes.

I still can't quite see how to make this work with the bidirectional limitation:
type Profile {
  id: ID! @unique
  name: String
  description: String
  banner: File @relation(name: "Banner")
  avatar: File @relation(name: "Avatar")
}

type File {
  id: ID! @unique
  name: String!
  contentType: String!
  url: String!
}

Consider this relationship, I do not think it is wise to add @relation(name: "Avatar") to the type File as it is usage agnostic.  The only viable options I have is to have a   banner: String  and avatar: String that stores the ID to the file which doesn't do any type checking, and requires running two queries to get the full object back with the files.
Any other suggested work around I might not know about?

Looks like we found an acceptable work around by having an intermediate type that holds the reused File object. Incase someone else runs into the same problem and needs a solution.
type Profile {
  id: ID! @unique
  name: String
  description: String
  banner: Banner
  avatar: File
}

type Banner {
 id: ID! @unique
 file: File
}

type File {
  id: ID! @unique
  name: String!
  contentType: String!
  url: String!
}

@murdockq I don't think this solution is viable for complex enough schemas. Things get hairy when you look at multiple overlapping outgoing types. Having to specify unique bi-directional relations for each is not possible in those cases.
@marktani - Are there plans to address this issue?

Seems like the only way to really do it is as above... Unfortunate

The problem seems to be solved on the latest prisma version.

Has there been any progress with this? Having the same issues - this is a pretty common use case especially with images as commented above.

Same issue.
type Story {
	id: ID! @unique
	video: File! @relation(name: "StoryVideoFile")
	thumbnail: File! @relation(name: "StoryThumbnailFile")
}

Is this still an issue? Having the same problem:
`type Club {
id: ID! @id
name: String!
}
type Fixture {
id: ID! @id
date: DateTime!
homeClub: Club! @relation(name: "HomeClub")
awayClub: Club! @relation(name: "AwayClub")
}
`

Are there any plans to fix this? This is a pretty common scenario that's widely supported in databases, it makes sense that Prisma could handle it as well.

Causes a lot of pain to me as well. Any hints how to have this resolved? Making a container types for every case like this is very wrong.

+1 I also need this

wth when will this feature be implemented working on a production-ready app and the deadline is next months!

wth when will this feature be implemented working on a production-ready app and the deadline is next months!

Maybe don't use something that lacks a feature you need in your production toolset? I'm watching this project because I'd like to use it, but currently, I'm not using it because it's just not good enough yet.

+1

+1


mktemp: should respect POSIXLY_CORRECT env var when parsing args

The GNU version of mktemp terminates with a usage error when the POSIXLY_CORRECT environment variable is set to 1 and a command-line option appears after the template argument. This is not documented anywhere, but the behavior appears in the GNU test suite in test suffix9f in tests/misc/mktemp.pl. The uutils version (which uses clap for argument parsing) does not terminate with an error message but should if we want to match the GNU version.
GNU mktemp
$ POSIXLY_CORRECT=1 mktemp --suffix=abc XXX
YkVabc
$ POSIXLY_CORRECT=1 mktemp XXX --suffix=abc
mktemp: too many templates
Try 'mktemp --help' for more information.

uutils mktemp:
$ POSIXLY_CORRECT=1 ./target/release/mktemp --suffix=abc XXX
5Mmabc
$ POSIXLY_CORRECT=1 ./target/release/mktemp XXX --suffix=abc
A7Gabc

This issue can be closed as it has been fixed in #3604.


[WIP] chore(package): v3.0.0

BREAKING CHANGE: requires node >= v6.0.0

TODO

[x] Emit warnings as an instance of {Error} (🏷 Priority: High)
[ ] Check for supported ES2015 Features and update the code base (#385) (🏷 Priority: High)

Optional

[ ] Stricter options validation (schema) (🏷 Priority: Medium)
[x] Replace loader-utils with @webpack-utilities/loader (🏷 Priority: Low)
[x] Replace schema-utils with  @webpack-utilities/schema (🏷 Priority: Low)
[x] Replace test/helperswith @webpack-utilities/test (🏷 Priority: Low)

Type

[x] Chore

SemVer

[x] Breaking Change (:label: Major)

Issues

Fixes #350

Fixes #374

Fixes #385

Closes #365

Checklist

[ ] Lint and unit tests pass with my changes
[ ] I have added tests that prove my fix is effective/works
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes are merged and published in downstream modules

Coverage remained the same at 80.233% when pulling 4e7d7643ec092cb4e6433cbb393475504acfa7e9 on develop into<PHONE_NUMBER>82c3a056c319870927f850e3c29648 on master.

Also can you provide here https://github.com/postcss/postcss-loader/blob/7e3a95624aeba0634ca9fac178805e052a02df3b/src/index.js#L161 postcss version, future postcss release can have difference ast, i will release new version of css-loader in near future, will be great use ast only when postcss version is same

https://github.com/postcss/postcss-loader/pull/384/commits/6bf774fe24a2eaa87fa5e53065a63af13f51ee9b

@michael-ciniawsky thanks!

Should we use the semver major part of the PostCSS version for the ast version and make it a {Number} instead?
{
-  version: '7.0.2'
+  version: 7
}

@michael-ciniawsky i think better return full version, where necessary I can check only the major version myself, also in theory minor version can change ast too

/cc @michael-ciniawsky let's finish this PR asap and then continue working on css-loader, because I want to use postcss@7 in css-loader


Custom 404 page 🦕

Today I realised that deno.land doesn't have a custom 404 page, so I decided to create one.
Here's a demo:
https://deno-website2-35x36av75.vercel.app/fourohfour

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I think it should have the footer as well

@crowlKats @ry I could make it so that the footer is the land itself, what do you think?

that looks good - thanks

Oops, it still needs an overflow-x: hidden. Working on it.


Auto-update kubernetes-utils to latest version

:robot: Beep boop I am a bot
This is an automatically created PR to change keptn/kubernetes-utils to version cfcfe1b629aa9faa6e1248af6c41a72449cf0de0.
Please consult https://github.com/keptn/kubernetes-utils/actions?query=workflow%3A"Auto+PR+to+keptn%2Fkeptn" for more information.

Codecov Report

Merging #2854 (7a2a8b0) into master (265eef7) will decrease coverage by 7.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2854      +/-   ##
==========================================
- Coverage   36.08%   28.86%   -7.23%
==========================================
  Files         104       10      -94
  Lines        6460      887    -5573
  Branches      197        0     -197
==========================================
- Hits         2331      256    -2075
+ Misses       3821      604    -3217
+ Partials      308       27     -281

Flag
Coverage Δ

moduleA
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

bridge/client/app/_models/event-labels.ts

...vice/event_handler/configure_monitoring_handler.go

...ouse-service/event_handler/evaluate_sli_handler.go

..._components/ktb-markdown/ktb-markdown.component.ts

helm-service/controller/release_handler.go

bridge/client/app/_services/http-state.service.ts

...b-expandable-tile/ktb-expandable-tile.component.ts

...nts/ktb-project-list/ktb-project-list.component.ts

...ponents/ktb-event-item/ktb-event-item.component.ts

helm-service/controller/handler_base.go

... and 84 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 265eef7...7a2a8b0. Read the comment docs.


PT-154733661 switch to curve25519

The comment is gone in Ulf's working branch. It meant rather that it wouldn't work with 65 byte addresses and that all is good with 32 byte addresses!


Offer a RPC devnet or local node wrapper for cairo-rs

Would allow Rust developers to opt out of the current Python impl. of starknet-devnet which is a Flask wrapper for the standard Python Cairo VM

@fmoletta hello, any plans for this?

We're currently working on making cairo-rs embeddable in Python as a module, so it should be possible to write a Flask wrapper similar to that. There are currently no plans to do it, but I don't see any reason to reject PRs building that wrapper.
Is that what you were asking about?

We're currently working on making cairo-rs embeddable in Python as a module, so it should be possible to write a Flask wrapper similar to that. There are currently no plans to do it, but I don't see any reason to reject PRs building that wrapper. Is that what you were asking about?

Hi, yes it was thanks, but can you explain why we can't have a Rust-only stack in the future down the line?

There's no stoppers for that. We're still stabilizing some interfaces so you won't yet find the crate in crates.io, but you can still import it with the repo path if you want. Note Python support will still be needed if you use hints outside of those in the standard library.


Private reports update

Thread tokens are now read from the current Arachne session
Config JSON files prettified
Distinction for public/private reports

I took the liberty of testing this and it works flawlessly so thank you for that.
One thing that it would improve the user experience is making the private and public views a bit more different.
Both views are too similar and the user might get a bit confused.
Perhaps adding a lock icon next to the username and/or adding a top bar indicating that the view is private (Bootstrap alert component would be useful here).

discussed and merged.


Fix dead links after repo move

Most links were still pointing to the Ericsson/* GH pages which
no longer exist after the repos were moved under eiffel-community.
Sign-off

Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: Sami Paavilainen<EMAIL_ADDRESS>

last comment is a code change and is in master branch. will be fixed with #123. Guess we can merge this.
+1


generate-csv.go should take in a configuration so that different facilitators can easily customize topics for their week

Hey @benmoss @dprotaso. I wanted to get your thoughts on this. I think it would be nice for that go script to take in a config or something, so that it's easier for each office/group to customize their tracker project for each week. We find that we sometimes forget to pull in new stories because they're not in the hard-coded list of .prolific files.

Maybe there should just be higher-level "modules" or something, like "local/pcfdev" and "gcp/bbl" that group together a bunch of stories. They are ordered and clumped already into something resembling that, but today its more implicit, which I'm guessing is what's leading to your forgotten story problem.
I'd love it if the API for that could be like
generate-tracker-backlog <backlog-id> <api-token> <"gcp" | "local">

and it just made the whole thing for you. Maybe even create the project? The sky is the limit.

We also noticed that some onboarding weeks were getting stale stories by using the "official releases", which haven't been cut since September 2017. What if there was a pipeline that published new releases? Then we wouldn't all have to install crystal and prolific on our laptops...

Similarly, we might just create a docker image that people could use locally so they don't have to download all the dependencies.

Closing in favor of https://github.com/pivotal-cf/onboarding/pull/154


Allow override of the volume prefix when creating clones

Creating an issue here instead of a pull request since I think this should be discussed first.
If you are cloning production volumes into your docker environment but you still want to have some "containment" in case things go wrong (the volume prefix), you either have the choice of writing scripts outside NDVP to talk to the filer to create the clone, or not setting a prefix at all and handle that manually.
The issue with not setting a prefix at all and enabling volume deletion is that it opens a possibility for having bad things happen if you happen to mount a production volume. NDVP will happily discover a current volume and mount it, but it will destroy it upon removal (unless you disable it) and having a prefix makes this a bit less likely to happen.
I made a commit here to demonstrate this. It will allow you to specify fromRaw=true during docker volume create to indicate that the volume being cloned should not carry the prefix. However, it can never remove the source volume (provided it does not carry the prefix of course) since NDVP will not find it.
For example:
You have a volume called WebUploadContent that's used for storing uploads in a CMS. If you turn off the prefix, you can mount and destroy this volume using

docker volume create -d netapp --name WebUploadContent
docker volume rm WebUploadContent

If you however have a prefix enabled, and you try

docker volume create -d netapp --name WebUploadContent_1 -o from=WebUploadContent

then NDVP will not find it since it will look for netappdvp_WebUploadContent.
If you apply my patch, you can issue

docker volume create -d netapp --name WebUploadContent -o from=WebUploadContent -o fromRaw=true

and it will clone WebUploadContent to netappdvp_WebUploadContent.
Running

docker volume rm WebUploadContent

afterwards will only touch netappdvp_WebUploadContent, not WebUploadContent.

Fixed in e7e2db5


Consistent csv delimiter

Changes

Only using comma to delimit csv summary files
Automatically quoting all string fields in csv file

Purpose
Csv files contained inconsistent delimiters, this makes them all use comma
Approach
Some specific columns in the csv are themselves comma separated, hence the difference in delimeter.  However this is not an issue if we instead quote the field properly.  This approach now quotes all string fields, which should be safer and more consistent in the long run in case there are other use cases added to generate csv files.
Testing

Show samples or upload files
Download all files
Inspect the summary*.csv files

[1] % npm run test

><EMAIL_ADDRESS>test
> jest -c jest-puppeteer.config.js

Determining test suites to run...Setup Puppeteer
DIR /var/folders/g9/6b9508h57dq3f4rjgv82mwww0000gp/T/jest_puppeteer_global_setup
Setup Test Environment.
Setup Test Environment.
 PASS  src/lib/csv/schema-parser.spec.ts
Teardown Test Environment.
 PASS  __tests__/smokeTest.js (6.997 s)
Teardown Test Environment.
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.

Test Suites: 2 passed, 2 total
Tests:       5 passed, 5 total
Snapshots:   0 total
Time:        7.904 s, estimated 13 s
Ran all test suites.
Teardown Puppeteer
DIR /var/folders/g9/6b9508h57dq3f4rjgv82mwww0000gp/T/jest_puppeteer_global_setup

shollingsworth@Stevens-MacBook-Pro ‹ consistent-csv-delimiter ● › : ~/Documents/GitHub/trash-ai/frontend
[0] % npm run test-ts

><EMAIL_ADDRESS>test-ts
> jest

 PASS  src/lib/csv/schema-parser.spec.ts
  csv
    ✓ getCsvHeaders returns the proper headers (2 ms)
    ✓ objToCsv correctly converts an object to a data string (1 ms)
    ✓ objToCsv throws if row lengths are invalid (5 ms)

Test Suites: 1 passed, 1 total
Tests:       3 passed, 3 total
Snapshots:   0 total
Time:        1.345 s, estimated 3 s
Ran all test suites.


[MNOE-548][MNOE-549] Release Task Feature to 3.4

@ouranos I've applied your comment and corrected the code.

Closing as this will be merged in master for 3.4 if we need to


Resolve toBuffer Promise with an array (was: When using promises, how do you get image info)

if a callback is used with toBuffer for example the image info is passed to the callback, how do you get this info when using a promise ?

Workaround using bluebird promise library:
var Promise = require('bluebird'),
    sharp   = require('sharp');

Promise.promisifyAll(sharp.prototype, {multiArgs: true});
  // promisify the sharp prototype (methods) to promisify the alternative (for raw) callback-accepting toBuffer(...) method

sharp('./test.png') // simple test for demonstration purposes
.raw().toBufferAsync() // as raw to buffer
.then(function(dataAndInfo) { // multiArgs: true will spread the arguments to cb to array elements by their order
  var data = dataAndInfo[0], // nicely assigning the array elements back to variables for demonstration purposes
      info = dataAndInfo[1];

  return sharp(data, {raw: info}) // as usual...
  .metadata(); // triggering sharp to actually load that data (for demonstrating this works)
})
.then(function(meta) {
  console.log(meta); // should succesfully log the determined metadata
});

Hope this helps!

Given there's no easy deprecation route how about we go with a slight modification of @salzhrani's original suggestion of allowing toBuffer to accept a parameter indicating the desired behaviour?
This would look something like toBuffer({ resolveWithArray: true }), defaulting to false, the current behaviour.

From my point of view, it would be better if there would be a completely new function called getInfo for example. This function should return all info. toBuffer returning also info is a nice side-effect and one should not rely on that. Splitting the functionality oft toBuffer into two functions would also follow the clean-code principles (Functions should only do one thing – https://github.com/ryanmcdermott/clean-code-javascript/blob/master/README.md#functions-should-do-one-thing)

@Vispercept The data and info attributes "returned" by toBuffer are highly related to each other; info contains properties computed whilst processing the final output image. Perhaps you're thinking of the existing metadata call to access input image info?
Rather than the Promise resolving with an Array, how about resolving with an Object, which would allow for destructuring e.g.:
sharp(input)
  .resize(123)
  .toBuffer({ resolveWithObject: true })
  .then( ({ data, info }) => {
    ...
  });

@lovell thanks for the clarification :-) didn't know that...

Commit 6fe5b30 adds the new resolveWithObject option to toBuffer. This will be in v0.17.3.

v0.17.3 now available, thanks everyone for the suggestions and discussions.


Switching From Rich Text to Markdown Displaces Attribute List Definitions

Describe the bug
Switching from the Rich Text editor to Markdown will displace Attribute List Definitions.
For example:
## The Solution
{:.bg-yellow.leading-3.inline-block.mb-4.font-extrabold}

becomes:
## The Solution

{:.bg-yellow.leading-3.inline-block.mb-4.font-extrabold}

To Reproduce
One can use the above example. You might need to change something in the rich text editor to observe the effect.
Expected behavior
Ideally the rich text editor would ignore the attribute list when formatting the markdown.
Applicable Versions:

Netlify CMS version: 2.15.69
Git provider: GitHub
Browser version Chrome 103.0.5060.134
Node.JS version: 16.13.1

CMS configuration
Not relevant
Additional context
I am guessing that you currently don't support this Markdown extension. I know that generally it is incorrect syntax to have lines before or after a heading tag in Markdown though these attribute lists break that convention. Kramdown, which is the parser used by Bridgetown, supports this extension and is quite useful so I am curious if it would not be too difficult to support whether this is something that could be fixed? I know that there are similar issues that have been reported and some have been resolved.

This syntax feature is not part of the original Markdown syntax.

I am closing this as this is not a bug but a non-supported feature.


Release/v2021.09.1

:trumpet: :trumpet: Orchest v2021.09.1 release :trumpet: :trumpet:
This release brings examples into Orchest! Both curated and community-contributed examples will be available from within Orchest, to find them, head to the Projects menu and click on EXPLORE EXAMPLES. If you would like to submit your projects to our community list, a 1 line PR to this repository will do the trick.
Aside from the aforementioned feature, there are some new minor improvements:

the Settings menu will show your disk status, i.e. used space, available space, etc.
general improvements to the client and client routing, for a better experience
minor bug fixes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 5 committers have signed the CLA.:white_check_mark: ricklamers:white_check_mark: iannbing:white_check_mark: yannickperrenet:white_check_mark: fruttasecca:x: dependabot[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


training loss

May I know why you use the cross entropy between the clean graph and the noise graph as the training loss?
In paper like DDMP, it uses the distance between the true noise and the predicted noise. Why don't you use the same idea as DDMP, aka, the true graph noise and the predicted graph noise?

I believe this was simply a choice the authors made. I guess by DDMP you mean DDPM, a.k.a Ho et al. (2020)?
The paper actually explains that predicting the added noise or the clean graph are equivalent (at least with a Gaussian noise model). In this case, the authors went with the second option.
DiGress is following the model proposed in D3PM (Austin et al. (2021)). You can find more discussion on the loss function of DiGress in this issue.

Hi, thanks @najwalb for answering all these questions. As explained in the link above, predicting noise would be a strange choice in the case of discrete valued data. Furthermore, I believe that predicting the noise or predicting the clean data is fundamentally the same, although in some cases one may be slightly easier to train than the other.
Clement

Thanks, this has been a great help.


Error: The email address is already in use by another account.at FirebaseAuthError.FirebaseError [as constructor]

How to reproduce these conditions
Using the sample, I click sign in with spotify and the page just eternally says 'please wait'. The logs appear to say that I have already signed in on another account using the same email address - how do I sign out of this other account so that I can sign in here?
Sample name or URL where you found the bug
https://github.com/firebase/functions-samples/tree/master/spotify-auth/functions
Failing Function code used (including require/import commands at the top)
`'use strict';
/*
--------------------------- Google/Dialogflow/Firebase Setup ---------------------------
*/
// 	Modules being used
const functions = require('firebase-functions');
const admin = require('firebase-admin');
const { WebhookClient } = require('dialogflow-fulfillment');
// File containing service credentials
const serviceAccount = require('./serviceAccountKey.json');
// Initialises the app with the credentials of the firebase account and the database associated with it
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: https://${process.env.GCLOUD_PROJECT}.firebaseio.com
});
/*
--------------------------- Spotify Authorisation Request  ----------------------------------------------------------------------------------------
Below is the authorisation code for Spotify including the functions for getting a refresh token and :
*/
var request = require('request');
var express = require('express');
const cookieParser = require('cookie-parser');
const crypto = require('crypto');
// Load the spotify web api node
var SpotifyWebApi = require('spotify-web-api-node');
/**

Redirects the User to the Spotify authentication consent screen. Also the 'state' cookie is set for later state
verification.
*/
var Spotify = new SpotifyWebApi({
clientId: '744a1316f9374a27b7ec9bc7eabb0f92',
clientSecret: '--mysecret--',
redirectUri: 'https%3A%2F%2Fmood-magic-four-ptwvjb.firebaseapp.com%2Flp.html'
});

// Scopes to request.
const OAUTH_SCOPES = [ 'user-read-email' ];
/**

Redirects the User to the Spotify authentication consent screen. Also the 'state' cookie is set for later state

verification.
*/
exports.redirect = functions.https.onRequest((req, res) => {
cookieParser()(req, res, () => {
const state = req.cookies.state || crypto.randomBytes(20).toString('hex');
console.log('Setting verification state:', state);
res.cookie('state', state.toString(), { maxAge: 3600000, secure: true, httpOnly: true });
const authorizeURL = Spotify.createAuthorizeURL(OAUTH_SCOPES, state.toString());
 res.redirect(authorizeURL);

});
});

/**

Exchanges a given Spotify auth code passed in the 'code' URL query parameter for a Firebase auth token.

The request also needs to specify a 'state' query parameter which will be checked against the 'state' cookie.

The Firebase custom auth token is sent back in a JSONP callback function with function name defined by the

'callback' query parameter.
*/
exports.token = functions.https.onRequest((req, res) => {
try {
cookieParser()(req, res, () => {
console.log('Received verification state:', req.cookies.state);
console.log('Received state:', req.query.state);
if (!req.cookies.state) {
throw new Error(
'State cookie not set or expired. Maybe you took too long to authorize. Please try again.'
);
} else if (req.cookies.state !== req.query.state) {
throw new Error('State validation failed');
}
console.log('Received auth code:', req.query.code);
Spotify.authorizationCodeGrant(req.query.code, (error, data) => {
if (error) {
throw error;
}
console.log('Received Access Token:', data.body['access_token']);
Spotify.setAccessToken(data.body['access_token']);
 		Spotify.getMe(async (error, userResults) => {
 			if (error) {
 				throw error;
 			}
 			console.log('Auth code exchange result received:', userResults);
 			// We have a Spotify access token and the user identity now.
 			const accessToken = data.body['access_token'];
 			const spotifyUserID = userResults.body['id'];
 			const profilePic = userResults.body['images'][0]['url'];
 			const userName = userResults.body['display_name'];
 			const email = userResults.body['email'];

 			// Create a Firebase account and get the Custom Auth Token.
 			const firebaseToken = await createFirebaseAccount(
 				spotifyUserID,
 				userName,
 				profilePic,
 				email,
 				accessToken
 			);
 			// Serve an HTML page that signs the user in and updates the user profile.
 			res.jsonp({ token: firebaseToken });
 		});
 	});
 });

} catch (error) {
return res.jsonp({ error: error.toString });
}
return null;
});

/**

Creates a Firebase account with the given user profile and returns a custom auth token allowing

signing-in this account.

Also saves the accessToken to the datastore at /spotifyAccessToken/$uid

@returns {Promise} The Firebase custom auth token in a promise.
*/
async function createFirebaseAccount(spotifyID, displayName, photoURL, email, accessToken) {
// The UID we'll assign to the user.
const uid = spotify:${spotifyID};
// Save the access token to the Firebase Realtime Database.
const databaseTask = admin.database().ref(/spotifyAccessToken/${uid}).set(accessToken);
// Create or update the user account.
const userCreationTask = admin
.auth()
.updateUser(uid, {
displayName: displayName,
photoURL: photoURL,
email: email,
emailVerified: true
})
.catch((error) => {
// If user does not exists we create it.
if (error.code === 'auth/user-not-found') {
return admin.auth().createUser({
uid: uid,
displayName: displayName,
photoURL: photoURL,
email: email,
emailVerified: true
});
}
throw error;
});
// Wait for all async tasks to complete, then generate and return a custom auth token.
await Promise.all([ userCreationTask, databaseTask ]);
// Create a Firebase custom auth token.
const token = await admin.auth().createCustomToken(uid);
console.log('Created Custom token for UID "', uid, '" Token:', token);
return token;
}
`

Steps to set up and reproduce
I have all of the same code from the sample (https://github.com/firebase/functions-samples/tree/master/spotify-auth/functions) plus some of my own functions for dialogflow fulfilment (shown below, albeit I don't think it is important for the errors I am facing):
`
/*
---------------------------Google Assistant Fulfillment----------------------------------------------------------------------------------------
Below is the dialogflow firebase fulfillment code which controls what happens when various intents happen:
*/
exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, response) => {
const agent = new WebhookClient({ request, response });
//53 to 64
function playSadSong(agent) {
	// Get the database collection 'dialogflow' and document 'agent'
	var randomNumber = Math.floor(Math.random() * (64 - 53 + 1)) + 53;

	return admin.database().ref(`${randomNumber}`).once('value').then((snapshot) => {
		const song = snapshot.child('song').val();
		const artist = snapshot.child('artist').val();

		agent.add(`I will play ${song} by ${artist}`);
	});
}
//22 to 53
function playHappySong(agent) {
	// Get the database collection 'dialogflow' and document 'agent'
	var randomNumber = Math.floor(Math.random() * (53 - 22 + 1)) + 22;

	return admin.database().ref(`${randomNumber}`).once('value').then((snapshot) => {
		const song = snapshot.child('song').val();
		const artist = snapshot.child('artist').val();

		agent.add(`I will play ${song} by ${artist}`);
	});
}

//4
function playAngrySong(agent) {
	// Get the database collection 'dialogflow' and document 'agent'
	var randomNumber = Math.floor(Math.random() * (3 - 3 + 1)) + 3;

	return admin.database().ref(`${randomNumber}`).once('value').then((snapshot) => {
		const song = snapshot.child('song').val();
		const artist = snapshot.child('artist').val();

		agent.add(`I reccomend ${song} by ${artist}`);

		admin.database().ref(`spotifyAccessToken`).once('value').then((snapshot) => {
			const databaseAccessToken = snapshot.child('spotify:marcz2007').val();
			console.log(databaseAccessToken);
			// get Authorization Code

			var request = require('request');

			console.log(Spotify.getAccessToken);
			Spotify.setAccessToken(createFirebaseAccount);
			Spotify.getAudioAnalysisForTrack('4AKUOaCRcoKTFnVI9LtsrN').then(
				function(data) {
					var analysis = console.log('Analyser Version', data.body.meta.analyzer_version);
					var temp = console.log('Track tempo', data.body.track.tempo);
					var tempo = data.body.track.tempo;
					agent.add(
						`The track's tempo is, ${tempo}, does this sound good or would you prefer something else?`
					);
					var textResponse = `The track's tempo is, ${tempo}, does this sound good or would you prefer something else?`;
					agent.add(textResponse);
					agent.add(`Here is the song's tempo: ${tempo}`);
				},
				function(err) {
					console.error(err);
				}
			);
			// agent.add(`${agentSays}`);
			// agent.add(`Here is the audio analysis for a song: ${audioAnalysis}`);
		});
	});

	function createTextResponse(textResponse) {
		let response = {
			fulfillmentText: 'This is a text response',
			fulfillmentMessages: [
				{
					text: {
						text: [ textResponse ]
					}
				}
			],
			source: 'example.com',
			payload: {
				google: {
					expectUserResponse: true,
					richResponse: {
						items: [
							{
								simpleResponse: {
									textToSpeech: 'this is a simple response'
								}
							}
						]
					}
				},
				facebook: {
					text: 'Hello, Facebook!'
				},
				slack: {
					text: 'This is a text response for Slack.'
				}
			}
		};
		return response;
	}
}

//5 to 15
function playConfidentSong(agent) {
	// Get the database collection 'dialogflow' and document 'agent'
	var randomNumber = Math.floor(Math.random() * (15 - 5 + 1)) + 5;

	return admin.database().ref(`${randomNumber}`).once('value').then((snapshot) => {
		const song = snapshot.child('song').val();
		const artist = snapshot.child('artist').val();

		agent.add(`I will play ${song} by ${artist}`);
	});
}

// Map from Dialogflow intent names to functions to be run when the intent is matched
let intentMap = new Map();
intentMap.set('-Sad - yes', playSadSong);
intentMap.set('-Happy - yes', playHappySong);
intentMap.set('-Angry - yes', playAngrySong);
intentMap.set('-Confident - yes', playConfidentSong);

agent.handleRequest(intentMap);

});
`
Sample data pasted or attached as JSON (not an image)

These are the logs - as you can see, only the redirect function is used.
Errors in the console logs
Screenshots
Expected behavior

The expected behaviour is to click 'sign in with spotify' and be taken to the popup screen which, after signing in, reveals my id, email, access token etc. This is then updated automatically by the app using the refresh token so that I can always use the Spotiy web api node.
Actual behavior

I get a blank 'please wait' screen. And an error "Error: The email address is already in use by another account.
at FirebaseAuthError.FirebaseError [as constructor] "
@jhuleatt - this follows from my last post where it was stuck eternally loading the screen. Now it loads it but it never takes me to the second stage of the spotify sign in.
Please help!

update
After changing the redirect URI back to the popup screen, I am now having the same problems as I was with the previous issue I posted in the thread (https://github.com/firebase/functions-samples/issues/589). If anyone can tell me how to fix the below popup screen code's url I would be extremely grateful!
` /**

This callback is called by the JSONP callback of the 'token' Firebase Function with the Firebase auth token.
*/
function tokenReceived(data) {
if (data.token) {
firebase.auth().signInWithCustomToken(data.token).then(function() {
window.close();
});
} else {
console.error(data);
document.body.innerText = 'Error in the token Function: ' + data.error;
}
}
var code = getURLParameter('code');
var state = getURLParameter('state');
var error = getURLParameter('error');
if (error) {
document.body.innerText = 'Error back from the Spotify auth page: ' + error;
} else if(!code) {
// Start the auth flow.
window.location.href  = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/redirect';
} else {
// Use JSONP to load the 'token' Firebase Function to exchange the auth code against a Firebase custom token.
const script = document.createElement('script');
script.type = 'text/javascript';
// This is the URL to the HTTP triggered 'token' Firebase Function.
// See https://firebase.google.com/docs/functions.
var tokenFunctionURL = 'https://us-central1-' + getFirebaseProjectId() + '.cloudfunctions.net/token';
script.src = tokenFunctionURL +
'?code=' + encodeURIComponent(code) +
'&state=' + encodeURIComponent(state) +
'&callback=' + tokenReceived.name;
document.head.appendChild(script);
}`

After starting from scratch, this time it works. Not sure what the issue was

@marcz2007 I am trying to make a chat app using dialogflow in flutter, I wanted to know how to send uid of the user to firebase function so that we can save the data for each unique user


Implement a base class for VisualizerObjectSource

We need to do this because

we need to override GetData returns the assembly name, which we'll need in order to make settings per assembly; and
TransferData will always look the same - convert deserialized incoming data to config; create serialization model; serialize onto outgoing stream.

The base class will have a TConfig generic parameter.
Question: is it possible to pass in a generic type to an attribute which expects a type?
If yes, then pass the constructed generic type to the attribute.
If not, then the class needs to be an abstract class, and the visualizer end-projects will inherit from the base class and supply the generic parameter. The subclass will be passed into the Debugger attribute.
When the UI is available as a separate package, it has no need for this class, or for the entire dependency on the VS visualizer API DLL (Microsoft.VisualStudio.DebuggerVisualizers.dll).

This class needs to be an abstract class in any event, because each end-visualizer will specify the serialization model to return to TransferData.

Fixed in https://github.com/zspitz/Periscope/commit/623f967b1ae96548264996fed37806a216c0b9ce


"phone" contact option is not shown on profile page

Its good we great one.

also the following two were not included. They are now.

wikifab
mastodon


[V4 Images] V4 Python images are using python:3.9-slim-buster base images

There is no python:3.9-slim-bullseye image available currently.
Need to confirm if using the buster image is okay from functionality point of view.
+@vrdmr

@vrdmr - assigned to you for now. Please find an owner.


verup

What is the necessity of this update? What is updated?
version up to upload to maven repository
How did you do the test? (Not required for updating documents)
maven deploy was ended successfully.

LGTM


Add @vsemozhetbyt?

I know this is already a pretty big group, but maybe consider extending an invitation to @vsemozhetbyt to at least be in the GitHub team so they get notified when someone @-mentions nodejs/docs? They've been doing a ton of work on docs lately.

@vsemozhetbyt If you'd like to be added to the docs team, leave a note here or send me an email. I don't want to add you if you're not interested. :-D (And, of course, it's totally OK if you're not interested!)

@Trott Thank you for the invitation. I would like to be added if it could help me help the team with the docs) However, please consider this issues:

I am not a native speaker and my English is very poor, artificial and full of errors.
I have not much experience in the frontend, so all the nodejs.org stuff (md to html rendering and so on) is somehow scary for me.

If I could be of any help despite these issues and of more help with adding, I would be honored.

@vsemozhetbyt Even if all you do is review code samples, that will be a big help. I'll add you and if it proves to be frustrating for you, you can always remove yourself.
(By the way, I don't think you make very many errors in your written English. Certainly, not many more than a native speaker.)

Thank you) This is due to tireless efforts of the Grammarly and Word grammar checker)


Output FAULT messages to VSCode message pane?

Currently FAULT messages don't get output to the VSCode PROBLEMS, TERMINAL or other output areas.  You have to go to the transaction detail screen in the DevTracker to see the fault message, which means you have to know which block to go to and also know in the first place that a FAULT occurred.  Easy when you're still in the early stages of dev but progressively harder workflow later (my two cents).  I would like to see those messages in the TERMINAL area and even better, have that window pop to the foreground automatically if a FAULT message was logged if that is possible.

If we do this, I think we'd first need a change to Neo Express to output FAULTs to the console (using some format that the DevTracker expects and parses).  This behavior could probably be hidden behind a flag.

Opened https://github.com/neo-project/neo-express/issues/155 for the Neo Express suggestion.


font size gets set to 0 after undo

Most of the time, especially after moving or modifying the size of a component and "undoing" the changes, some font size gets set to 0. Either the label name, or the slider value font. This happens on OSx at least.

Could you be a bit more specific here, or attach an example panel that shows this. What component should i test it on to see this behavior ?

Hello Roman,
You can test this behaviour on the attached MKS70 panel. If you change the color of a component, or most of the other display options, text size, value font, the bubble value text disappears. Sometimes this also happens with the labels.
It might be because of me building this panel since a quite old version of ctrlr though. But, now that it’s 99% working, I’d rather not start it from scratch again :)
Please let me know if I can be of some more help. I can record a small movie if you want too.
Btw, I can’t thank you enough for the hard work you’ve put into this project. It’s a steep learning curve, but it does what it’s supposed to do surprisingly well!
Cheers,
H. van Boetzelaer
////////////////////////////////////////////////////////////////////////////////////////////////
||||||	architect EPF & parametric design consultancy
|||||| 	mobile:	+41763652683
|||||| 	www: 	http://www.proceduralstrategies.net
|||||| 	mail<EMAIL_ADDRESS>////////////////////////////////////////////////////////////////////////////////////////////////
On 16 Feb 2015, at 17:26, Roman Kubiak<EMAIL_ADDRESS>wrote:

Could you be a bit more specific here, or attach an example panel that shows this. What component should i test it on to see this behavior ?
—
Reply to this email directly or view it on GitHub.

Realized the panel didn't get attached. Here's a proper link: http://bit.ly/1Lbz9Yg

Should be fixed by this commit : https://github.com/RomanKubiak/ctrlr/commit/22f52357c1642c7ad0c6f3ec0c61ace9836ce588
Don't hesitate to reopen if the bug is still here.

Would LOVE to have a chance to test this.
Any chance there could be a new OSX build? I tried on my own, but get error
after error and don’t know where to start.
H. van Boetzelaer
////////////////////////////////////////////////////////////////////////////////////////////////
|||||| architect EPF & parametric design consultancy
*||||||  tel: +41763652683 <//+41763652683>     *
||||||  www: http://www.proceduralstrategies.net
http://www.proceduralstrategies.net/
*||||||  mail<EMAIL_ADDRESS><EMAIL_ADDRESS>////////////////////////////////////////////////////////////////////////////////////////////////
From: fredzo<EMAIL_ADDRESS><EMAIL_ADDRESS>Reply: RomanKubiak/ctrlr
<EMAIL_ADDRESS><EMAIL_ADDRESS>Date: 27 October 2017 at 10:08:59
To: RomanKubiak/ctrlr<EMAIL_ADDRESS><EMAIL_ADDRESS>Cc: ndrik<EMAIL_ADDRESS><EMAIL_ADDRESS>Author
<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject:  Re: [RomanKubiak/ctrlr] font size gets set to 0 after undo (#8)
Should be fixed by this commit : 22f5235
https://github.com/RomanKubiak/ctrlr/commit/22f52357c1642c7ad0c6f3ec0c61ace9836ce588
Don't hesitate to reopen if the bug is still here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/RomanKubiak/ctrlr/issues/8#issuecomment-339903379, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABYtZwJAUAkWojKZj7AgTVlrhnVwaJ80ks5swY-agaJpZM4DUk5T
.


what is three table differences?

CREATE TABLE bucket (name String, age Int64) ENGINE = CnchMergeTree() PARTITION BY name CLUSTER BY age INTO 1 BUCKETS ORDER BY name;
CREATE TABLE bucket_with_split_number (name String, age Int64) ENGINE = CnchMergeTree() PARTITION BY name CLUSTER BY (name, age) INTO 1 BUCKETS SPLIT_NUMBER 60 ORDER BY name;
CREATE TABLE dts_bucket_with_split_number_n_range (name String, age Int64) ENGINE = CnchMergeTree() PARTITION BY name CLUSTER BY (name) INTO 1 BUCKETS SPLIT_NUMBER 60 WITH_RANGE ORDER BY name;

what is no SPLIT_NUMBER , SPLIT_NUMBER and SPLIT_NUMBER WITH_RANGE difference? thank you

I think you can only need to use CLUSTER BY xxx INTO # BUCKETS, the others are mainly for some internal use cases. https://byconity.github.io/zh-cn/docs/basic-guide/data-import#直接写入方式调优


reimplement+tests

resolving: https://github.com/IBM/portieris/issues/85
reimplementing NewReference()
note that result Reference now includes the docker.io/library as appropriate in the name and tag
this cannot be harmful as can also be passed in explicitly

e2e.quick tests ran sccessfully


Adds socket authentication and JWT fetching

        2 Warnings

  </th>
 </tr>

:warning:
Needs testing on a Phone if change is non-trivial

:warning:
Detected some Swift building time outliers

Time | Class | Function |
| --- | ----- | ----- |257.2ms | AuctionViewController.swift | @objc dynamic func showRefineTappedAnimated(animated: Bool)
169.4ms | WebSocket.swift | private func processRawMessage(buffer: UnsafePointer, bufferLen: Int)
57.6ms | RefinementOptionsViewController+Private.swift | func stackView() -> ORStackView

  Generated by :no_entry_sign: danger

👍


Hikari Datasource Open Connection more than maximum pool size limit

Hi I use spring 2.4
and hikari datasource for my jpa queries (version 3.4.5).My problem is I set my datasource maximum pool size property.Even though I set maximum pool size,I see more connection than my maximum poolsize at oracle.At this time when I checked my spring logs I seems connection limit is equal my maximumconnection pool size Is it possible to hikari datasource can open more connection than my maximum poolsize limit?
In my code side I set maximum connection like that
HikariDataSource dataSource = new HikariDataSource();
dataSource.setMaximumPoolSize(5)
My Oracle Query(I see 7 connections at oracle)
Select * from v$session where where username='xxxxx'
My spring Log(I see 5 connections)
[HikariPool-3 housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-3 - Pool stats (total=5, active=0, idle=5, waiting=0)

Hi,as I understand in my logs,my problem is hikaridatasource open too many hikaripool for that reason I see too much connection.But I dont understand root cause.If hikari open new pool,is it destroy old ones?Each pool seems under max pool but there are a lot of pool,I have only one datasource
03:34:14.572 [HikariPool-7 connection adder] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-7 - Added connection oracle.jdbc.driver.T4CConnection@47d5eab9
03:34:15.752 [HikariPool-18 housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-18 - Pool stats (total=4, active=1, idle=3, waiting=0)
03:34:15.752 [HikariPool-18 housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-18 - Fill pool skipped, pool is at sufficient level.
03:34:17.166 [HikariPool-19 housekeeper] DEBUG com.zaxxer.hikari.pool.HikariPool - HikariPool-19 - Pool stats (total=4, active=1, idle=3, waiting=0)

It seems you create many HikariPool instances with the the setting "setMaximumPoolSize(5)".  Actually, if you just want to one Datasource Pool, you just need create one HikariDataSource instance, and use this everywhere.

you are right.In code there a bug in one case and create datasource each time


[wish] activate help

The prompt says that there is a rawcooked --help, but is gives an error and not the existing help:

I made a PR for the man page.

Quick fix, I'll expand the help part when I finish more features so integrated help and man page are in sync.

Thank you! I was going to propose something very similar… after finishing to play with lenticular.
@JeromeMartinez : I can update the docs, if you wish so.

This is still an issue when using the short parameter "-h".
(Build rawcooked_18.01.20180217-1_amd64.xUbuntu_16.04.deb)

I fixed it in the HEAD some days ago.

See https://github.com/MediaArea/RAWcooked/pull/24

@pjotrek-b It’s fixed now in the daily releases as well.


Add support for newer format Jira issue comment events

According to https://developer.atlassian.com/cloud/jira/platform/change-notice-removal-of-comments-from-issue-webhooks/, Jira has migrated the event they use for "issue comment" events form the "issue_" events to the "comment_" events.
We should add support for the new event types.  I'm not sure whether it makes sense to remove support for the older way of getting issue comments; I think a decent number of folks may be running older self-hosted versions of Jira.  Probably it's reasonable to do so because versions since 2016 were sending issue comments under both event types, and requiring a >= 2016 version of Jira in modern Zulip is totally reasonable.
@Hypro999 can you take this issue?  It's probably the highest priority open item in the integrations area since it's a significant regression.

@zulipbot claim


Completions broken in setup function return object literal for vue

Bug Report

🔎 Search Terms

completions return 'object literal shorthands'
🕗 Version & Regression Information

This changed between versions 4.2.0 and 4.2.3

⏯ Playground Link

Playground link with relevant code
💻 Code

import { defineComponent } from '@vue/runtime-core'

export default defineComponent({
  name: 'App',
  setup () {
    const waitingForAutocomplete = true;

    const a = {
      wait // get `waitingForAutocomplete`
    }

    return {
      wait // don't get any completion
    }
  }
})

🙁 Actual behavior

We can't get any completion for object literal shorthand in setup return.
🙂 Expected behavior

Like common object literal shorthand.
Ref: https://github.com/microsoft/TypeScript/issues/41259 https://github.com/microsoft/TypeScript/pull/41539
From: https://github.com/vuejs/vetur/issues/2544

It’s because setup gets a contextual return type of Promise<RawBindings> | RawBindings | RenderFunction | void from defineComponent. RawBindings is actually inferred from that position itself, so it doesn’t contribute, but the Promise itself is contributing:

We should probably carve out a rule to not give object literal member completions for members of the global Promise type, which might be enough to fix this one... but in general, these shorthand property completions aren’t going to work anywhere there’s a contextual type.

any news on this ?

these shorthand property completions aren’t going to work anywhere there’s a contextual type.

Couldn't those things be concatenated with contextual type members being prioritized?


GIF write support

Add GIF output (previously we only had read support for GIF).
I use the handy project found here: https://github.com/ginsweater/gif-h which is public domain. (Thanks, Charlie Tangora. And thanks, Chris Kulla for alerting me to this project.)
As a fun side effect (and indeed, primary goal), it is now possible to create animated GIF images with OIIO:
oiiotool foo*.jpg -siappendall -attrib FramesPerSecond 10.0 -o anim.gif

(Read all the named JPEG files, append them into subimages of a single "multi-image", set the FramesPerSecond attribute, and output as GIF.)
Along the way, there are some other minor changes which should be self-explanatory, including standardizing on "FramesPerSecond" as the metadata name for fps.

LGTM
Very cool! I take it the experiments with other palette generation algorithms didn't pan out? Or not worth the effort compared to what gif.h ships with?

I started using gif_lib (like we use with the reader) and wrote a couple of my own quantizers to generate palette images and was dissatisfied. I was chasing what I assume are bugs in my implementation, when you pointed me to the gif.h project. I tried that instead, it worked fine, had a vastly simpler API than gif_lib (which I don't find it at all self-explanatory and there aren't good docs), and the palette generation looked much better than mine. So I just threw out what I did and stuck to gif.h. There didn't seem to be any point chasing down the bugs in mine when gif.h did the job just fine.
I wish I had the equivalent one-header-file-just-works solution for reading GIF. This experienced really soured me on gif_lib. But the reader works, so there's no point taking time to mess with it.
Also, this gave me a newfound (extremely negative) impression of GIF. I mean, I knew it was bad, but whoa, is it BAD. If it weren't for the ubiquity of animated GIFs (and support for them in browsers) and nicety of being able to generate them with an OIIO toolchain, I would have no trouble eschewing support for GIF on principle.

Just because somebody is bound to ask...
My biggest complaints about the GIF format are that it's restricted to 3-channel images (with the option to have pixels transparent, so it's like having a 1-bit alpha as well), 8 bits of precision, and PALETTE as the only option -- you can only have 256 discrete colors in an image. Also, no usable metadata. It's got "80's dialup modem" written all over it. It's only because other formats like JPEG, PNG, or TIFF didn't think to include support for time series or subimages, that GIF has become ubiquitous for no-sound animated images. Now we can't get rid of it. It's a travesty.
GifLib, which I'd never used before (somebody else wrote and contributed our GIF reader), is pretty awful. The API makes no sense to me, it's not well documented in the header or anywhere else. For a format that requires palette images, I find it astounding that gif_lib doesn't provide a built-in utility function that generates a decent palette from an RGB image.
But it's neato being able to use oiiotool to make animated GIFs. Very handy for online documentation.


Centroid for calculating UTM zone is transposed if source raster has CRS of 4326

Describe the bug
If source file has CRS of 4326 X/Y are transposed in raster_processing.get_lat_lon_centroid.
Expected behavior
Have correct X/Y coordinates returned.
Current behavior
X/Y coordinates are transposed.
Possible solution
Rewrite function.
Steps to reproduce
Steps to reproduce the behavior:

Utilize a raster with CRS of 4326 to calculate centroid.

Screenshots
If applicable, add screenshots to help explain your problem.
Error Messages
If applicable, error messages related to the bug.
Environment (please complete the following information):

Host (AWS, G Cloud): AWS
Instance type: P3
OS: Ubuntu
Python version: 3.7

Additional context
Add any other context about the problem here.

Fixed


Avenger Puzzle Game Clone

Hi, I am TRIDIB BAG. I'm  GSSoC22 participant.
I want to add Avenger Puzzle Game clone with proper documentation as there is nothing regarding this . I'm really want to contribute in this topic .

/assign


Support "go to time of the selected line" in the editor

If you want to change the timing of a particular line, you currently have to hop around a track to find the right time, then wait for the appropriate line and hit the "sync" button.
This entire process would be much faster if you could quickly seek to the time of the selected line (possibly -5 seconds or something).
It's not a super common use-case for me so it's certainly not a high priority, but it would definitely speed up the process when I do need to do this.

This is a good idea.  Select the line in the editor and have a button to have the song play from -5 seconds from that line.
That way when the line matches up with the song you can hit the existing button to set the offset and then hit the other existing button to apply the offset to the timestamps.  I like it!