[Feature Request] Support stop_gradient globally

Hi
Will MLX supports stop_gradient globally for inference only use cases?
Looking for torch.autograd.set_grad_enabled(mode) equivalent. :)
Thanks

MLX doesn’t need a specific mechanism (like torch.no_grad()) to disable gradient tracking.
Similarly to JAX, MLX operations do not automatically accumulate gradients. To compute gradients you need to explicitly call mx.grad.


refactor: merge CLI repository

Merge CLI repository

@venjiang I remove two .wasm files from git repo, please review.

@venjiang I remove two .wasm files from git repo, please review.

example/7-wasm/sfn/sfn.wasm should be kept for easy running of the sample, it is only 43k size.


browse-by-metadata-page does not work correctly on numeric "value" param

Describe the bug
We have metadata (Dewey Decimal Classification, DDC) wich is always saved on its numeric value like 000, 004, 220, etc.
When created an index for that field and configured in the Browse Configuration as
webui.browse.index.5 = subjectddc:metadata:dc.subject.ddc:text
this is available in the "All of Dspace" menu, selecting shows a result list of DDC subjects and their count.
When selecting a subject  in the results list , a new  list of items is shown - despite the URL param value is numeric and starts with zero (0),
e.g. /browse/subjectddc?value=004 the result is No items to show. and the text is Browsing by browse.metadata.subjectddc "4", e.g. the leading zeros are shortened.
This does not happen if value is 000 (see below) or any other value not starting with zero.
This is a problem of the SPA, the API works like expected, e.g. /server/api/discover/browses/subjectddc/items?spage=0&size=20&filterValue=004" returns the JSON with the item data.
To Reproduce
Any numeric value in an index with leading zeros will be shortened.
Expected behavior
Numeric URL values for browse index should be treated as string.
Related work
https://github.com/DSpace/dspace-angular/blob/1d58910d70f3d32d46d0cca2460f79f5d8b7dff1/src/app/browse-by/browse-by-metadata-page/browse-by-metadata-page.component.ts#L154
params.value is the unmodified param from URL; this expression is responsible:

if params.value is emtpy, '' is assigned
if params.value is assumed a number, leading zeros will be shortened by +params.value
if params.value is a number with only zeros, +params.value will evaluate to boolean false and  params.value is assigned unmodified

Removing the first part +params.value solves the problem, but there might be a reason for that.

@ubks-mp : Thanks for reporting this. I'll pull this over to our 7.6 board.  Since it sounds like you've already found a possible fix, you are welcome to create a PR for others to test.  That might be the easiest way for us to determine if the fix you have found will work for others.  See our contributing guidelines for tips on creating PRs: https://github.com/DSpace/dspace-angular/blob/main/CONTRIBUTING.md
Otherwise, this will likely have to wait for another volunteer to investigate.


/data working directory

In the dockerfile, WORKDIR is set as /data, but in many places you use hardcoded /data/xxx paths, and in other places not (e.g. writing eula.txt). This bit me (in a derived image) when I got a "permission denied" because of EULA writing, not realising that the process I had started started somewhere else than /data. Might be good to either use /data/xxx paths everywhere or assume the working directory of the process is /data everywhere ?

/data is a very important assumption of all of the startup scripts. The WORKDIR is declared as a convenience and was not intended to ever be altered without being very sure about what you're doing. Can you clarify what you attempted that broke thing?

I didn't really alter WORKDIR, didn't alter your image, just added stuff to it, starting /start differently inside, and in doing so, the /start process started with another working directory than /data. It's in this repo if you're curious (which is starting the minecraft server under supervisord).

Gotcha. Very interesting solution you have there.
So, you solved the issue here correct
https://github.com/rienafairefr/minecraft-on-demand/blob/master/src/supervisord.conf
I would prefer to avoid using relative directories throughout the startup scripts, so I’m not sure what else to do here.

The error in my case first happend on the EULA validation, here, where the scripts writes eula.txt with > eula.txt, which assumes the working directory is /data, so I guess a > /data/eula.txt would have avoided the issue. Probably other examples in the scripts, I didn't look everywhere

Ok, now I see what you mean. I’ll look through the scripts and see where I can be more consistent.

Hi all,
Having the same problem I think. The minecraft server folder is not created in the
\\QNAP\Container\container-station-data\lib\docker\volumes\******\_data
And upon booting the container I get message:

[init] Please accept the Minecraft EULA at
[init]   https://account.mojang.com/documents/minecraft_eula
[init] by adding the following immediately after 'docker run':
[init]   -e EULA=TRUE

The solution from @rienafairefr does not work as his is compiled for x86 I believe and I have ARM.

by "doesnt work" i mean that if I download his docker it wont run and I cant understand what he changed in the code :)

Can someone explain what should I edit in the code and where exactly for it to create the directory or set the EULA=TRUE, please? :)

@VoronkoM I'm guessing your scenario is quite different than the original issue where a derived image was being built. You shouldn't need to edit any code but rather make sure you have set the environment variable EULA to "TRUE".

@VoronkoM I'm guessing your scenario is quite different than the original issue where a derived image was being built. You shouldn't need to edit any code but rather make sure you have set the environment variable EULA to "TRUE".

Then I might have completely misunderstood the described issue...
I understand the point of setting the variable to true but I can not find it anywhere. Its not in the container settings, there is no eula.txt file in the docker volume_data (actually its completely empty) and the suggestion in the error to set the variable right after "docker run" is also not entirely clear to me. How do I access the command of running the container and add the "-e EULA=TRUE" to it? Any help in explaining how it should be run would be highly appreciated :)
Any suggestions?

@VoronkoM I haven't used QNAP, so from the docs https://www.qnap.com/en/how-to/tutorial/article/how-to-use-container-station I'm guessing you need to go into the "Advanced settings" on the "Create container" page to set

environment variables
volume mappings
port mappings

@itzg The list of variables available in the create container page is the same as listed in the configuration json files:
"Env":["PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","LANG=en_US.UTF-8","LANGUAGE=en_US:en","LC_ALL=en_US.UTF-8","JAVA_VERSION=jdk-13.0.2+8","JAVA_HOME=/opt/java/openjdk","UID=1000","GID=1000","JVM_XX_OPTS=-XX:+UseG1GC","MEMORY=1G","TYPE=VANILLA","VERSION=LATEST","FORGEVERSION=RECOMMENDED","SPONGEBRANCH=STABLE","SPONGEVERSION=","FABRICVERSION=LATEST","LEVEL=world","PVP=true","DIFFICULTY=easy","ENABLE_RCON=true","RCON_PORT=25575","RCON_PASSWORD=minecraft","RESOURCE_PACK=","RESOURCE_PACK_SHA1=","LEVEL_TYPE=DEFAULT","GENERATOR_SETTINGS=","WORLD=","MODPACK=","MODS=","SERVER_PORT=25565","ONLINE_MODE=TRUE","CONSOLE=true","SERVER_NAME=Dedicated Server","REPLACE_ENV_VARIABLES=FALSE","ENV_VARIABLE_PREFIX=CFG_"]
So there are no variables referring to EULA :(
Im completely lost at this point to why none of the files are created and where to set true to EULA.

That's a poor design on QNAP's part then. Does it not provide freeform fields to provide additional environment variables? Can you provide a screenshot of the variable configuration page?

@VoronkoM  In this screen ("create container", then "advanced setttings"), you should add a EULA variable, with a value TRUE

@itzg @rienafairefr
Indeed, it is possible to add another environment var BUT only if there are no empty fields for any other vars. So first I had to fill "null" for things like "RESOURCE_PACK=", then it let me create an extra variable for EULA. After removing 'nulls' and launching it worked!
Thanks everyone!

Ah, that's good to know actually, because I have been considering removing all the pre-defined, but empty environment variables in the Dockerfile to help container managers like that. Seeing a concrete example confirms that was a good plan.

@VoronkoM FYI, the latest image now removes those empty environment variables, so I'm hoping that now simplifies the QNAP advanced settings area.


Adding release 1.1.7

I'll move release for later, will do couple of more backports too.

Codecov Report

Merging #2562 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2562      +/-   ##
==========================================
+ Coverage   80.16%   80.19%   +0.03%
==========================================
  Files          87       87
  Lines        9245     9270      +25
  Branches     1963     1969       +6
==========================================
+ Hits         7411     7434      +23
- Misses       1554     1555       +1
- Partials      280      281       +1

Impacted Files
Coverage Δ

webapp/graphite/settings.py
74.87% <0.00%> (+0.12%)
:arrow_up:

webapp/graphite/render/views.py
70.00% <0.00%> (+0.24%)
:arrow_up:

webapp/graphite/render/evaluator.py
91.30% <0.00%> (+0.82%)
:arrow_up:

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 92fd810...ce2e9ef. Read the comment docs.


Solves /opt/app.sandstorm/

Solves https://github.com/zarvox/vagrant-spk/issues/6

Thanks for the patch! I'll let @zarvox review it in detail, but it looks basically definitely correct.
I wonder how @rchrd2 was able to use vagrant-spk a few days ago!

Ah hah, now I see -- the bug was introduced recently.

vagrant-spk dev was working fine but vagrant-spk pack not in this case.
Anyway, there seem to be some weird things ... still experimenting with https://github.com/JamborJan/paperwork/issues/10 and have no idea where it comes from.

Awesome, thanks a bunch!  Sorry for introducing a regression in one of my recent patchsets, and thanks for fixing it!


Please support the GDC compiler

± |master ✓| → dub run --build=release --compiler=gdc
Performing "release" build using gdc for x86_64.
bindbc-loader 1.0.1: target for configuration "noBC" is up to date.
bindbc-freetype 1.0.5: target for configuration "dynamic" is up to date.
bindbc-opengl 1.0.3: target for configuration "dynamic" is up to date.
bindbc-sdl 1.0.1: target for configuration "dynamic" is up to date.
inilike 1.2.2: target for configuration "library" is up to date.
isfreedesktop 0.1.1: target for configuration "library" is up to date.
xdgpaths 0.2.5: target for configuration "library" is up to date.
icontheme 1.2.3: target for configuration "library" is up to date.
undead 1.1.8: building configuration "library"...
/home/mahdis/.dub/packages/undead-1.1.8/undead/src/undead/doformat.d:419:15: error: none of the overloads of template ‘core.stdc.stdarg.va_arg’ are callable using argument types ‘!()(__va_list_tag[1], TypeInfo, void*)’
  419 |         va_arg(ap, ti, argBuffer + pos);
      |               ^
/usr/lib/gcc/x86_64-redhat-linux/12/include/d/core/stdc/stdarg.d:172:7: note: Candidates are: ‘va_arg(T)(ref va_list ap)’
  172 |     T va_arg(T)(ref va_list ap); // intrinsic
      |       ^
/usr/lib/gcc/x86_64-redhat-linux/12/include/d/core/stdc/stdarg.d:271:10: note:                 ‘va_arg(T)(ref va_list ap, ref T parmn)’
  271 |     void va_arg(T)(ref va_list ap, ref T parmn); // intrinsic
      |          ^
/home/mahdis/.dub/packages/undead-1.1.8/undead/src/undead/stream.d:1209:13: error: template instance ‘undead.doformat.doFormat!()’ error instantiating
 1209 |     doFormat(&doFormatCallback,arguments,argptr);
      |             ^
gdc failed with exit code 1.

It seems, all the packages compile successfully with GDC, it just remains undead.
My compiler version : gdc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)

OK, I replaced undeaD with arsd.dom. Gonna add GDC target to the pipelines. Gonna close this manually once I'm sure everything compiles on all 3 mainline compilers :)

Unfortunately, even having replaced undeaD with Adam's arsd.dom, it's still impossible to build with GDC. Though this time I'm putting the blame at GDC, because it straight up doesn't support -mv compiler switch. I'll look into reporting this to GDC team

UP: I managed to build with GDC locally, but it involved some hacking of arsd library. Once that is updated on dub, I will bump the dependency version and resolve this issue.

@Behkar I think this should be resolved as of now. I pushed version 0.10.2, but it will take a while for dub to pick this up. I can't speed up the process as I don't have access to dlangui page on dub. Once it updates though, please, feel free to test this out. If you experience any more issues, just reopen this or create a new issue :)

@Behkar dub finally updated the dlangui version, so it should be OK to use now. The version is 0.10.2


Raise CUDNN_STATUS_BAD_PARAMS in NStepLSTM when it takes a sequence whose a length is one

NStepLSTM using cuDNN raise CUDNN_STATUS_BAD_PARAMS when
it takes a sequence whose length is one.
If using NStepLSTM on CPU or GPU without cuDNN, there is no problem.
(So, it's the cuDNN specific problem)
As @chantera noted, this problem can be avoided to use ys.
(https://docs.chainer.org/en/stable/reference/generated/chainer.links.NStepLSTM.html#chainer.links.NStepLSTM.forward)
However, I think it is difficult for me to find this workaround.
If this problem causes because of cuDNN's specification,
it would be better to let users know when the input is wrong.

Conditions

Platform: Linux-4.4.0-1084-aws-x86_64-with-debian-stretch-sid
Chainer: 7.0.0a1
NumPy: 1.15.4
CuPy:
  CuPy Version          : 7.0.0a1
  CUDA Root             : /usr/local/cuda
  CUDA Build Version    : 10010
  CUDA Driver Version   : 10010
  CUDA Runtime Version  : 10010
  cuDNN Build Version   : 7500
  cuDNN Version         : 7500
  NCCL Build Version    : 2402
  NCCL Runtime Version  : 2402
iDeep: Not Available

Code to reproduce

@chantera wrote the code to reproduce.
(https://github.com/himkt/pyner/issues/38#issuecomment-502407133)
import chainer
from chainer.backends import cuda
import chainer.functions as F
import numpy as np

class Model(chainer.Chain):

    def __init__(self, n_vocab, n_units, n_tags, impl=0):
        super().__init__()
        with self.init_scope():
            self.embed = chainer.links.EmbedID(n_vocab, n_units)
            self.bilstm = chainer.links.NStepBiLSTM(1, n_units, n_units, 0.5)
            self.linear = chainer.links.Linear(n_units * 2, n_tags)
        self.impl = impl

    def forward(self, xs):
        hy, cy, hs = self.bilstm(None, None, [self.embed(x) for x in xs])
        if self.impl > 0:
            hs = hy.transpose([1, 0, 2]).reshape(len(xs), -1)
            ys = self.linear(hs)
        else:
            d = hs[0].shape[-1] // 2
            features = []
            for h in hs:
                feature = F.concat((h[-1, :d], h[0, d:]), axis=0)
                features.append(feature)
            ys = self.linear(F.vstack(features))
        return ys

    def __str__(self):
        return "{}(impl={})".format(self.__class__.__name__, self.impl)

if __name__ == '__main__':
    chainer.config.use_cudnn = 'always'
    n_vocab = 1000
    n_tags = 128
    n_units = 200

    input0 = (10, 2, 4, 5, 1, 6)
    input1 = (1,)
    model0 = Model(n_vocab, n_units, n_tags, impl=0)
    model1 = Model(n_vocab, n_units, n_tags, impl=1)

    def generate_data(lengths):
        xs = [np.random.randint(n_vocab, size=l) for l in lengths]
        ys = np.random.randint(n_tags, size=len(lengths))
        return xs, ys

    def run(model, lengths):
        print("RUN: model={}, lengths={}".format(model, lengths))
        model.to_gpu()
        model.cleargrads()
        xs, ts = generate_data(lengths)
        ys = model.forward([cuda.to_gpu(x) for x in xs])
        ts = cuda.to_gpu(ts)
        loss = F.softmax_cross_entropy(ys, ts, ignore_label=-1)
        print("loss", loss)
        loss.backward()

    run(model0, input0)
    run(model1, input0)
    run(model0, input1)
    run(model1, input1)  # cupy.cuda.cudnn.CuDNNError: CUDNN_STATUS_BAD_PARAM

Error messages, stack traces, or logs

Traceback (most recent call last):
  File "test.py", line 65, in <module>
    run(model1, input1)  # cupy.cuda.cudnn.CuDNNError: CUDNN_STATUS_BAD_PARAM
  File "test.py", line 60, in run
    loss.backward()
  File "/home/ubuntu/work/github.com/himkt/pyner/venv/lib/python3.7/site-packages/chainer/variable.py", line 1433, in backward
    _backprop_to_all([(node, grad_var)], retain_grad, loss_scale)
  File "/home/ubuntu/work/github.com/himkt/pyner/venv/lib/python3.7/site-packages/chainer/variable.py", line 1649, in _backprop_to_all
    func, target_input_indexes, out_grad, in_grad, is_debug)
  File "/home/ubuntu/work/github.com/himkt/pyner/venv/lib/python3.7/site-packages/chainer/_backprop_utils.py", line 140, in backprop_step
    _reraise_with_stack(func, e)
  File "/home/ubuntu/work/github.com/himkt/pyner/venv/lib/python3.7/site-packages/chainer/_backprop_utils.py", line 138, in backprop_step
    target_input_indexes, grad_outputs)
  File "/home/ubuntu/work/github.com/himkt/pyner/venv/lib/python3.7/site-packages/chainer/function.py", line 209, in backward
    gxs = self._function.backward(in_data, grad_out_data)
  File "/home/ubuntu/work/github.com/himkt/pyner/venv/lib/python3.7/site-packages/chainer/functions/connection/n_step_rnn.py", line 325, in backward
    dhy, dcy, dys, self.lengths)
  File "cupy/cudnn.pyx", line 1094, in cupy.cudnn.rnn_backward_data
  File "cupy/cuda/cudnn.pyx", line 2186, in cupy.cuda.cudnn.RNNBackwardData
  File "cupy/cuda/cudnn.pyx", line 732, in cupy.cuda.cudnn.check_status
cupy.cuda.cudnn.CuDNNError: CUDNN_STATUS_BAD_PARAM

related: https://github.com/himkt/pyner/issues/38

I've checked this issue and found that the cause is that strides of ys and dys given to RNNBackwardData are different to each other. They are both C-contiguous if length is one, so it slips this parameter validation:
https://github.com/cupy/cupy/blob/b29253737305b17835b2e6fabdd89bc27a869a9d/cupy/cudnn.pyx#L1059
After copying ys and dys to new array in the above code (to make them have same strides), the error no longer occur. I think it's an issue of CuPy side.

This issue has been solved in CuPy side https://github.com/cupy/cupy/pull/2261


g2o

Next big step: Implement multi-frame, multi-point bundle adjustment in the g2o framework.

Yup. I forgot we had decided on g2o and began coding up BA using ceres. We should think a little about what problem we actually want to optimize with g2o, since we can solve vanilla BA pretty easily with ceres too.

Ok yeah makes sense. Maybe we can take a first crack at it with ceres and if we later switch to g2o it may not be too bad

On Oct 22, 2015, at 10:57 PM, Erik<EMAIL_ADDRESS>wrote:
Yup. I forgot we had decided on g2o and began coding up BA using ceres. We should think a little about what problem we actually want to optimize with g2o, since we can solve vanilla BA pretty easily with ceres too.
—
Reply to this email directly or view it on GitHub https://github.com/erik-nelson/berkeley_sfm/issues/4#issuecomment-150354247.


Create cupboard.md

Added Cupboard. ☕📦

@kepano - Big fan of Slash Packaging, very pleased to be able to submit my coffee company! 🤘😄


save/restore/delete taskset in MongoBackend

MongoBackend is missing the save/restore/delete taskset methods.
I modeled the get_mongo_or_SkipTest function in the test module after the one found in the redis tests.

Thanks!  I've merged this now, and it will be part of 2.5.0


set all programmatic commits to error out in dogfooding

this is necessary because ghactions, the package, gets baked into the base image before any of these actions run.
If these actions now chance the source, that would be very hard to reason about.

should not be a problem, because default behavior is for all not to commit anything but just error out.


Add README

See title.
Some of the questions that I would hope it would answer are:

All of the usual things about building and contributing.
If and how are larger contributions and rewrites accepted?
What are the main goals for improving the reference?

Absolutely!

Bump. Just explained someone on IRC how to invoke mdbook to build the reference, which wouldn't have been required had there been a README.

I didn't put the --git https://github.com/azerupi/mdBook.git when installing mdbook. Is it required?

@brauliobezerra no, it's not; any version of gitbook works, and there's no real reason to prefer the version from git.


revise

@ArduinoBot

Hi @dattasaurabh82. Your pull request has been detected as something other than a Library Manager submission. A maintainer will need to review it before it can be merged.
If you intended to submit a library, please check the instructions and update your pull request if necessary: https://github.com/arduino/library-registry/blob/main/README.md#instructions

Please have a review


cannot find -lLLVM-3.0

when ld link,cannot find -lLLVM-3.0,what's the absolute name of this lib?
i install slurm with cmake,can the option -DBUILD_SHARED_LIBS substitue the option --enable-shared?
thank you!

success
through the way of ./configure --enable-shared,i get the libLLVM.so.
before ./configure,i need to set the CXXFLAGS '-std=c++98'.


Docker not able to access data node when all services run on one instance

Problem
Docker not able to connect to data node when services all run on one instance: https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
docker run nlpsandbox/cli:1.1.0 datanode list-notes --data_node_host http://<IP_ADDRESS>:8080/api/v1/ --dataset_id mcwdataset-20210525 --fhir_store_id evaluation

retries = retries.increment(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=8080): Max retries exceeded with url: /api/v1//datasets/mcwdataset-20210525/fhirStores/evaluation/fhir/Note?offset=0&limit=10 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fb324f31130>: Failed to establish a new connection: [Errno 113] No route to host'))

Steps to reproduce
Adding instructions on reproducing

Start up data node locally and create a the awesome-dataset dummy dataset
Install nlpsandbox-client and try this command (This should work)nlp-cli datanode list-datasets --data_node_host http://<IP_ADDRESS>:8080/api/v1
[{'name': 'datasets/awesome-dataset'}]

Run the Docker cli (This will attempt to run for some time ~ 2 minutes)docker run nlpsandbox/cli:1.1.0 datanode list-datasets --data_node_host http://<IP_ADDRESS>:8080/api/v1

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/local/lib/python3.8/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.8/http/client.py", line 950, in send
    self.connect()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f6b1aef9c70>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/nlp-cli", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/site-packages/nlpsandboxclient/cli/__main__.py", line 19, in main
    cli()
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/nlpsandboxclient/cli/datanode_cli.py", line 119, in list_datasets
    utils.stdout_or_json(list(datasets), output)
  File "/usr/local/lib/python3.8/site-packages/nlpsandboxclient/client.py", line 574, in list_datasets
    datasets = api_instance.list_datasets(offset=offset, limit=limit)
  File "/usr/local/lib/python3.8/site-packages/datanode/api_client.py", line 772, in __call__
    return self.callable(self, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/datanode/api/dataset_api.py", line 465, in __list_datasets
    return self.call_with_http_info(**kwargs)
  File "/usr/local/lib/python3.8/site-packages/datanode/api_client.py", line 834, in call_with_http_info
    return self.api_client.call_api(
  File "/usr/local/lib/python3.8/site-packages/datanode/api_client.py", line 409, in call_api
    return self.__call_api(resource_path, method,
  File "/usr/local/lib/python3.8/site-packages/datanode/api_client.py", line 196, in __call_api
    response_data = self.request(
  File "/usr/local/lib/python3.8/site-packages/datanode/api_client.py", line 435, in request
    return self.rest_client.GET(url,
  File "/usr/local/lib/python3.8/site-packages/datanode/rest.py", line 236, in GET
    return self.request("GET", url,
  File "/usr/local/lib/python3.8/site-packages/datanode/rest.py", line 202, in request
    r = self.pool_manager.request(method, url,
  File "/usr/local/lib/python3.8/site-packages/urllib3/request.py", line 74, in request
    return self.request_encode_url(
  File "/usr/local/lib/python3.8/site-packages/urllib3/request.py", line 96, in request_encode_url
    return self.urlopen(method, url, **extra_kw)
  File "/usr/local/lib/python3.8/site-packages/urllib3/poolmanager.py", line 375, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 783, in urlopen
    return self.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 783, in urlopen
    return self.urlopen(
  [Previous line repeated 2 more times]
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/v1/datasets?offset=0&limit=10 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f6b1aef9c70>: Failed to establish a new connection: [Errno 111] Connection refused'))

Possible workaround
The stack overflow ticket describes a workaround by using the --network host parameter.
docker run --network host nlpsandbox/cli:1.1.0 datanode list-datasets --data_node_host http://<IP_ADDRESS>:8080/api/v1
[{'name': 'datasets/awesome-dataset'}]

The issue with this is that CWL doesn't support the --network host parameter.   So the CWL tool itself would have to be rewritten and this would be quite the overhaul.

Tagging @gkowalski for visibility

@gkowalski .  I know we tried this but it didn't seem to work.   Is it possible that it is a network setting that doesn't allow egress or ingress from that ip even though you're on the instance?
docker run nlpsandbox/cli:1.1.0 datanode list-datasets --data_node_host http://<IP_ADDRESS>:8080/api/v1/

Solutions are:

run the data node on a dedicated server
update network settings on single instance
update the cwl tool => may be difficult / ugly to do

This was a networking issue that was resolved by the MCW team.  Need to add documentation about how this may be something the IT team at sites that spin up all services on one instance may run into.


chore(deps): downgrade the version of docker

Overview
We're setting this exact version so that we can update the orchestrator-relayer repository up to latest app main.
The reason for this is that orchestrator-relayer depends on testcontainers which only supports this version. And if we use a higher version here, the E2E tests break and we will be unable to bump the app version
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Closing as no longer needed


Session Keep getting expired

Session of Chatgpt Keeps on changing so added cookies in env gets expired

Duplicate of #1


Notification click no longer functions

(Windows) In the previous version of the app, clicking the desktop notification performed whatever action was set in the options, but in the latest release, I've noticed that it no longer seems to have any effect, regardless of what the option is set to.

Which Windows version do you use? Nothing has changed in the latest release, so it should still be working correctly.

I'm using Windows 10. Hm, I wonder if anything has changed on my end then. Maybe I'll try redownloading the previous version and seeing if it works there.

Okay, tested on the previous version and it doesn't work there either. Not sure what happened, but it does seem to be a problem with my setup.

Well, I don't know how I can help... The notification clicks are working fine on Windows 10.
But thanks to your thread, I've found an issue with notification icons on windows. Fixed it in 30e6696. It was trying to use the remote channel logo instead of the downloaded and cached file, which is required by the windows client...

Glad to hear something came out of it then! Thanks for the reply and I'll see if I can figure something out.


Update officers section

Due to matching number of nominations for the election, it was decided that the individuals listed are appointed as the governing body. Website should match it.
See the listing:
https://groups.google.com/g/sigturk/c/jPAcrOs3jrY

People who attended the meeting on 19th of December 2022 (@jonorthwash, @mammadhajili, @mehmetoguzderin, @varie) agreed with that.
The president:
Duygu Ataman
The secretary:
Sardana Ivanova
Officers:
Mehmet Oguz Derin
Mammad Hajili
Jonne Sälevä
Jamshidbek Mirzakhalov


PP-5204 Limit processing fee to gross charge amount

This will prevent us from attempting to transfer 0 or negative amounts on the Stripe platform. This sets a policy of recovering "as much fee as possible" from the payment without going over the charge limit.
This would allow services to many any payments (down to 1p) on Stripe with the Platform covering loss of additional fee.
Discussions around if this is a user need or can be worked around with limiting payments on Stripe to a minimum value (~20p) should be completed with this as a possible route.

I believe this idea was shelved in favour of limiting to 20p once services have updated guidance on their end.


JAVA-2464: Fix initial schema refresh when reconnect-on-init is enabled

Motivation:
When reconnect-on-init is enabled and the driver does not connect
immediately, the schema metadata is empty.
This is because the initial schema refresh is chained on
ControlConnection.firstConnectionAttemptFuture. The goal was to allow
the session to initialize without waiting for the control connection (if
there is a custom topology monitor that uses another mechanism). But in
the scenario above, firstConnectionAttemptFuture is failed.
Modifications:
Chain the schema refresh to ControlConnection.initFuture (complete,
successful connection).
Remove firstConnectionAttemptFuture.
Result:
The schema is present at startup.
Note that if a custom topology monitor is in place, and it is the
metadata manager that initializes the control connection, the first
schema refresh (and therefore the whole session initialization) will
have to wait for the control connection to successfully connect. All
things considered, this is pretty logical.

I must say, the code is very hard to follow

Yes, session initialization is probably the most complex part of driver 4. I wish it was easier to read, but a lot of it is inherent though: when you consider that everything has to be fully asynchronous, some key internal components are pluggable, and the reconnect-on-init option completely changes the behavior, that's a lot to handle.

Runnables, Callables, Suppliers and Consumers all over the place

That's pretty standard if you're chaining futures asynchronously. If the problem is with the lambdas, I can try extracting more method references, although I'm not sure it's always an improvement.
If anything, this PR simplifies things slightly.


yalu102 with Tweakbox

Hey, someone reported that their version of yalu102 isn't compatible with CertRemainTime.
Here's the plist cert:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>AppIDName</key>
	<string>XC com ctvit ----</string>
	<key>ApplicationIdentifierPrefix</key>
	<array>
	<string>8NHBQFH69B</string>
	</array>
	<key>CreationDate</key>
	<date>2018-03-22T07:13:25Z</date>
	<key>Platform</key>
	<array>
		<string>iOS</string>
	</array>
    <key>IsXcodeManaged</key>
    <false/>
	<key>DeveloperCertificates</key>
</dict>
</plist>

If someone could implement this it would be great, thanks :)

I'll add support for this certificate (probably sometime in the next 24 hours). Did they mention where they downloaded yalu102 from?

Nope, got no clue where this is coming from

Oh wait don't add that, it looks like it's a cert from a porn app

Really? What makes you say that?

It's coming from https://d.pear2.cc/pear1.1.1.t.ipa and it makes calls to yu83.site which very much looks like a japanese porn website

Just checked. Same AppIDName in the ipa you just linked. That app definitely seems related to porn - it contains "18page.html", and nothing related to yalu (or any other app-based jailbreak). I guess this issue should be closed?

Yup! Case closed!


mish activation test

Summary
Related Issues
PR Overview

[ ] This PR requires new unit tests [y/n] (make sure tests are included)
[ ] This PR requires to update the documentation [y/n] (make sure the docs are up-to-date)
[ ] This PR is backwards compatible [y/n]
[ ] This PR changes the current API [y/n] (all API changes need to be approved by fchollet)

We are no longer adding new features to multi-backend Keras (we only fix bugs), as we are refocusing development efforts on tf.keras. If you are still interested in submitting a feature pull request, please direct it to tf.keras in the TensorFlow repository instead. Thank you!


[Add]

Details
Sea mode button
Screenshots
https://github.com/Spyware007/Animating-Buttons/assets/120560129/72885586-0bd0-4d9a-9610-5e5f3283555f
Type of Contribution

[ ] Update to an existing Animated Button
[X] Adding a new Button
[ ] Resolving a bug
[ ] Proposal to the Repository
[ ] Changes related to documentation or README.md
[ ] Other Changes

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue
[X] I am a GSSoC'23 contributor

Please check #1346


event request - report 1316 "Standard Statement" - DtldCustLedgEntriesOnAfterGetCustLedgerEntry(DetailedCustLedgEntry, CustLedgerEntry, var Skip)

We frequently are asked to make the Standard Statement only show Open customer ledger entries, either as a 'hard-coded' change or via a request page option. Currently we have no events enabling us to do this via the standard report object, so we must copy-and-paste it, and that's obviously bad for plenty of reasons. Therefore, please help by adding events as needed.
This issue is for the addition of the following event emission:
                    dataitem(DtldCustLedgEntries; "Detailed Cust. Ledg. Entry")
                    {
                        DataItemTableView = SORTING("Customer No.", "Posting Date", "Entry Type", "Currency Code");
                        [...]
                        trigger OnAfterGetRecord()
                        // +new
                        var
                            Skip: Boolean;
                        //- new
                        begin
                            if SkipReversedUnapplied(DtldCustLedgEntries) or (Amount = 0) then
                                CurrReport.Skip();
                            RemainingAmount := 0;
                            PrintLine := true;
                            case "Entry Type" of
                                "Entry Type"::"Initial Entry":
                                    begin
                                        CustLedgerEntry.Get("Cust. Ledger Entry No.");

                                        // +new
                                        DtldCustLedgEntriesOnAfterGetCustLedgerEntry(DtldCustLedgEntry, CustLedgerEntry, Skip);

                                        if Skip then
                                            CurrReport.Skip().
                                        // - new

                                        Description := CustLedgerEntry.Description;
                                        DueDate := CustLedgerEntry."Due Date";
                                        CustLedgerEntry.SetRange("Date Filter", 0D, EndDate);
                                        CustLedgerEntry.CalcFields("Remaining Amount");
                                        RemainingAmount := CustLedgerEntry."Remaining Amount";
                                        CustLedgerEntry.SetRange("Date Filter");
                                    end;
                                "Entry Type"::Application:

to be declared as
[EventPublisher(false, false)]
local procedure DtldCustLedgEntriesOnAfterGetCustLedgerEntry(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; var Skip: Boolean);

where in this case we will be subscribing as follows:
local procedure SomeSubscriber(DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; CustLedgerEntry: Record "Cust. Ledger Entry"; var Skip: Boolean)
begin
    Skip := not CustLedgerEntry.Open;
end;

See also #9860, #9883

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Font is always black after installing macOS 11 (Source Code Pro font or derivatives need to be updated)

VSCode Version: 1.46.1
OS Version: macOS Big Sur Version 11.0 Beta (20A4299v)

Steps to Reproduce:

Upgrade to macOS 11.0 Developer Beta 1
Open VS Code, switch between the bundled colour themes

Does this issue occur when all extensions are disabled?: Yes

Same problem here :/

Same problem, unworkable.

Likely a Electron/Chromium issue...

Not sure if this helps but I also upgraded to Big Sur and don't see this happening (either on Stable or Insiders):

For what it's worth, the issue subsided for me when I disabled my custom font settings.
With custom font enabled:

Without:

The issue appears to manifest itself with Hasklig in particular. As you can see, Verdana is not problematic (also tried Helvetica):

Although Hasklig is not a pre-installed system font, I also tried Lexend Deca, which is also custom, and presented no issues rendering color. Reinstalling Hasklig did not alleviate the issue.
Scopes inspector indicates the correct foreground color:

@adregia thanks for investigating, can also confirm that using Hasklig breaks syntax highlighting. Other custom fonts like Input Mono seem to work fine though.

@misolori I think this might be an electron/chromium issue. Could you please try the standalone editor in Chrome -- https://microsoft.github.io/monaco-editor/ . You could just edit the font-family on the editor view-lines dom node.

@alexdima also repros on the standalone editor in Chrome:

It looks like this font does not want to be rendered with colors in Big Sur by Chromium.
@misolori Could you please create a simple HTML page and report an issue to Chromium at https://bugs.chromium.org/p/chromium/issues/list

Created https://bugs.chromium.org/p/chromium/issues/detail?id=1100502. Also worth noting that I tested this on Safari, Firefox, and Edge and they all fail to render the text except for Safari.

Thanks a lot @misolori !

I can confirm Hasklig breaks colors. Same issue on Hyper (https://github.com/vercel/hyper/).

"editor.fontFamily": "Source Code Pro" breaks it too, same problem. Removing the setting works.

Is font ligatures to blame then?

disable the editor.fontFamily. i am working.

This is down to a Source Code Pro rendering bug in chromium. I have no idea why, but anywhere that uses it or it's derivatives, including websites etc, has the same issue.

The issue appears to manifest itself with Hasklig in particular.
For anyone who needs replacement, ligaturized Source Code Pro is the same font as Hasklig, and it works with Big Sur
https://github.com/ToxicFrog/Ligaturizer/

Downloading other font families you can easily repo this in OX11
W/ Monoid, it works, without it doesn't. Same w/ Hasklig
"Monoid", "Source Code Pro", sans-serif

Is there anything close to Source Code Pro which is known to work?

It works in Visual Studio & Xcode, but not Firefox or Chromium

Source Code Pro downloaded from https://github.com/adobe-fonts/source-code-pro/releases/tag/2.030R-ro%2F1.050R-it is broken.
Source Code Pro downloaded from https://fonts.google.com/specimen/Source+Code+Pro works completely fine but the font sizing is different compared to the one from GitHub.

I can confirm @levrik's solution worked for me. Thanks

Source Code Pro from google works completely fine.

Thank you @levrik 😆 😆 😆

@levrik you win the internet today

Please click the 👍 button on his comment to signal your appreciation to the commenter, rather than notifying everyone subscribed this thread which is distracting for them and the maintainers.
For the future, if there isn't a 👍 button on their comment, you can add it via the emoji button on the top right of their comment.

I fixed the problem by reinstalling the fonts and restarting macOS.
https://fonts.google.com/specimen/Source+Code+Pro

Also happens for Hasklig and Programma (from https://github.com/microsoft/vscode/issues/110640)

Reinstalled Hasklig , restarted macOS and the Issue still persists. All the other fonts are working fine for me now. Temporarily switched to JetBrain Mono but I already miss my good old Hasklig.

Hasklig is forked from Source Code Pro. Upstream issue for Hasklig -- https://github.com/i-tu/Hasklig/issues/123

May be a ligature problem.  Works with font's that don't seem to support it.

I read somewhere that it’s emoji support, because emojis have Color, they don’t Color the rest of the character’s

Maybe, it could be both as in extended characters are an issue.

Same issue.
macOS version: macOS Big Sur 11.0.1
Visual Studio Code version: 1.51.1
I use Solarized Dark theme and my font is Source Code Pro, I reinstalled Source Code Pro(ttf) from https://github.com/adobe-fonts/source-code-pro and it fixed.

Same issue, fixed by removing Haskig off font stack. Not sure why it was added there over my own choice to begin with.

UPDATE: Just downloaded Source Code Pro again from Google Fonts, and overwrote my existing files, seems to work ok now.

This fixed the issue for me.

This is also a problem for Source Han Code JP, "which is a derivative of Source Han Sans that replaces its proportional Latin glyphs with fixed-width 667-unit glyphs from Source Code Pro". (found via #110552)

The latest releases of Source Code Pro and Source Han Code JP have removed the SVG table to make them work as expected on macOS 11.

Does anyone get a collapse on certain html elements/attributes which end in 'l' and the attribute starts with 'l' ?? Screenshot attached showing how it behaves on <html lang="en"> - it seems to collapse the whitespace and replace it with a dot.

@leepowelldev Yes, I've seen this before. See #106583. The workaround is to use "editor.fontLigatures": "'ccmp' off"

@alexdima Thank you so much! You have no idea how much that's been driving me nuts!

Very helpful. Thanks. I'm using Source Code Pro Version 2.030;PS 1.0;hotconv 16.6.51;makeotf.lib2.5.65220 and MacOS 11.0.1. Setting "editor.fontLigatures": "'ccmp' off" did not work for me.
However, removing 'Source Code Pro' from "editor.fontFamily" resolves the problem.

Is there anything close to Source Code Pro which is known to work?
UPDATE: Just downloaded Source Code Pro again from Google Fonts, and overwrote my existing files, seems to work ok now.
It works for me. ts

Hasklig is forked from Source Code Pro. Upstream issue for Hasklig -- i-tu/Hasklig#123

I'm seeing it with Source Code Pro too so can confirm

Try re-install font to resolve problem.
In my case, I using "Source Han Code JP".
I saw correct colors after re-install the font.

For what it's worth, the issue subsided for me when I disabled my custom font settings.
With custom font enabled:

Without:

The issue appears to manifest itself with Hasklig in particular. As you can see, Verdana is not problematic (also tried Helvetica):

Although Hasklig is not a pre-installed system font, I also tried Lexend Deca, which is also custom, and presented no issues rendering color. Reinstalling Hasklig did not alleviate the issue.
Scopes inspector indicates the correct foreground color:

Thanks for your research, this works great!
I normally use  'Source Code Pro' font, but when I delete it from my font settings, the next font will be used.
The next font is 'Menlo' and since it's installed on my system, it loads just fine.

"editor.fontFamily": "Source Code Pro" breaks it too, same problem. Removing the setting works.

I also solved it by installing the "Source Code Pro" font：https://github.com/adobe-fonts/source-code-pro/releases/tag/variable-fonts

FYI, the fix for Hasklig is to install 1.2 or later: https://github.com/i-tu/Hasklig/releases/tag/v1.2

FYI, the fix for Hasklig is to install 1.2 or later: https://github.com/i-tu/Hasklig/releases/tag/v1.2

Reinstalling 'Source Code Pro' font from google fonts worked for me
Thanks 👍

Removing my font choice specification in the settings.json fixed it for me.

Is there anything close to Source Code Pro which is known to work?
UPDATE: Just downloaded Source Code Pro again from Google Fonts, and overwrote my existing files, seems to work ok now.

👍  https://fonts.google.com/specimen/Source+Code+Pro

Is there anything close to Source Code Pro which is known to work?
UPDATE: Just downloaded Source Code Pro again from Google Fonts, and overwrote my existing files, seems to work ok now.

👍  https://fonts.google.com/specimen/Source+Code+Pro

In case some poor soul has the same problem I did... Source Code Pro was all black in VS Code. No highlighting. I tried re-downloading a newer version of Source Code Pro as suggested above but it didn’t work.
After nearly going mad, I realized that I also had Source Code Pro installed via the Adobe Creative Cloud app and that version of the font was the old broken one. VS Code was preferring the Adobe version. After removing that from Adobe CC and re-installing the latest version of Source Code Pro (and reloading the VS Code window) it works perfectly.


finetune scriptes or settings

hi,
Would you consider making your FT code public?

I use the LLaMA-Factory to finetune.


Extension takes more time than image generation between each batch

I've been using wildcards for a while, and for the past few months there has been a long pause between each generation. After disabling the extension the issue goes away, so it is definitely sd-dynamic-prompt's fault. Is there some setting to fix this? it seems like a ridiculously long time for a python script to pull some numbers then write a string based on that. I'll note that i do use compound wildcards, as in wildcards that call other wildcards, but even when i am only using wildcards that don't do that, I still have the 20 second or so pause every single batch. I really like the utility of this extension, but functionally doubling my generation times is really annoying.

I've figured out the main issue. The problem is that I use LoRAs in my wildcards. This definitely explains the issue a lot better, But is pretty unavoidable for how i use some wildcards. is there a good way to deal with this? ideally have it cache many LoRAs at once to be able to toggle them on and off instantly, but I would also settle for having a way to schedule prompts, like having 100 batches with these LoRAs, then 100 with some different LoRAs etc all set up automatically for over night generations.

going to settings and changing "Number of Lora networks to keep cached in memory" to 99 or something seems to work, problem solved.

Glad you found a solution! 👍


Doc about web.config recycleOnFileChange being no-op in ASP.NET Core

Source https://github.com/aspnet/IISIntegration/issues/291

recycleOnFileChange in web.config currently no-ops for ASP.NET Core apps. We can't remove it from the schema, so this should be documented.
AddJsonFile("appsettings.json", reloadOnChange: true) is the ASP.NET Core way of achieving this

Current doc seems a little sparse on this detail: https://github.com/Microsoft/Docs-1/blob/master/aspnet/aspnetcore/fundamentals/configuration.md#using-the-built-in-sources

@shirhatti and I removed the recycleOnFileChange from the ANCM doc in https://github.com/Microsoft/Docs-1/pull/52 ... I think the thinking was that it isn't configurable, so we could just cut it from the doc (as opposed to listing it and stating it isn't configurable).

We'll handle this as part of #1965.

Closed with #1965


Test Settings Profiles: CLI and Transient profiles support

Refs: https://github.com/microsoft/vscode/issues/154460, https://github.com/microsoft/vscode/issues/151301

[ ] win @alexr00
[ ] linux @sadasant
[ ] mac @rzhao271

Complexity: 4
Create Issue

In this milestone, Settings Profiles are enabled by default in Insiders and they can be created and associated via CLI. We also support Transient profiles - which gets deleted as soon as they are not associated to any workspace. This test plan item is to test these features.

Test that Settings Profiles feature is enabled in Insiders by default. If you have the following setting workbench.experimental.settingsProfiles.enabled set, please remove it and check. You do not need this setting anymore.
Test creating and associating profiles from CLI.

code-insiders --profile <name> <folder|workspace> shall open the workspace/folder window using the passed profile. If the given profile does not exist, it is created.
profile arg is effective only when folder or workspace is passed. Just passing the profile arg does not do anything.
Check the CLI --help documentation mentions about this arg.

Test creating Transient profiles from UI and CLI

Use command Create Transient Settings Profile  from UI and Use --profile-transient flag from CLI (Make sure to pass a folder/workspace when using CLI)
You can associate this profile to other workspaces and this profile is deleted once no workspace is associated to this profile. These profiles also disappear after you restart. You can double check that these profiles are deleted from the disk in the location where user settings file is located.
Check the CLI --help documentation mentions about this arg.

Sanity Test Settings Profile feature in Stable build by enabling it using the setting workbench.experimental.settingsProfiles.enabled

Test creating/switching/removing profiles from UI and make sure there is no Data loss

This issue is still occurring, which makes testing profiles inconvenient as I have to fix my views after: https://github.com/microsoft/vscode/issues/154090

Sorry, I can't take this task. I'll remove myself from testing on Linux here.


HOTFIX: add a newline after help info

This is a very minor change. After execute command sh mqadmin, I get the last line info:
See 'mqadmin help <command>' for more information on a specific command.[xinwang@hadoop bin]$
Maybe we can improve this by adding a newline.

Changes Unknown when pulling 402676a497d87f17b5116a36c5fe719f1f017d52 on vesense:patch-1 into ** on apache:master**.

Changes Unknown when pulling 402676a497d87f17b5116a36c5fe719f1f017d52 on vesense:patch-1 into ** on apache:master**.

Changes Unknown when pulling 402676a497d87f17b5116a36c5fe719f1f017d52 on vesense:patch-1 into ** on apache:master**.

LGTM, thanks @vesense

@zhouxinyu Thanks for your review. I filed a Jira for this and created a new PR for develop branch.
https://github.com/apache/incubator-rocketmq/pull/83
Please take a look.

Closed this. Moved to #83


Add a way to consolidated printing PDFs/labels

Why
When multiple prints happen during one request, they need to be consolidated, currently if you receive 20 containers, there will about 10 labels not printed, this applies purely to the data going to printnode.
All PDF's need to be consolidated in one big PDF.
All liquid/ZPL also need to be consolidated in one big ZPL/text file
Functional
One way to do this is to start papyrus in a consolidated mode at the start of a (particular) request.
When this consolidated mode is started, papyrus will then generate papers, but not print them.
Then when the consolidation mode is ended at the end of a (particular) request, all paperwork needs to be combined and printed.
The generated paperwork should still be separate paperwork on the order/shipment/etc.
Technical
For this to work every the Papyrus class needs a getter setter for this with a consolidation_id (string), we'll likely use the Praesens.request_id for this. Also check Praesens for how one can store the consolidation_id on the Papyrus class.
I'd suggest we do something like this:
Papyrus.start_consolidation(Praesens.request_id)
# Do the normal application business logic here
Papyrus.end_consolidation

All paperwork generated should store the consolidation_id on the paper record. Once consolidation ends, pull (select) all paperwork with the current consolidation_id and the same owner and kind and consolidate it and then send it to printnode.
For the PDF's we will need to combine the PDF's: https://github.com/boazsegev/combine_pdf
(this seems to be a ruby native solution)

Papyrus has to be updated.

Container label

Receive PO
Receiving a Purchase Order in new packing material will generate multiple container labels if the number of packages field is used. Number of Packages 20 and qty 1. Expected result it prints 20 container labels.

While printing, it had difficulties printing these labels and after the 10th label it got stuck, it printed one label divided on two labels. Using the manual feed button 3 times to print all twenty worked. But this is something we need to look into as it seems to doesn't look like it is able to print 20 labels in one transaction.

The rest of the paperwork I honestly don't know how the enduser prints these documents in one transaction, other then updating the template and change the 'Copies' value.
So still to be tested is:
Commercial invoice, Pack list, Parcel Pack list, Pre packlist, Parcel pack list, Serial list and Tote label.
Please advice how this can be tested.
Talked to Joyie and he mentioned, it only is applied to the Inventory Adjust

A label is printed when container is created
A label is printed when inventory is adjusted

Scenario 1 cannot be tested as there is no packing material field available for the inventory adjust and scenario 2 failed the test, it did not generated a new label.
Don't know if these two scenarios account for the changes applied printing consolidated.
Moving this ticket back to follow up.

For clarification as discussed with @tdegrunt this morning, this functionality is only implemented for the Inventory Adjust Upload #2879, where by consolidated printing should work generating new container labels.
The test cases above are not relevant and this is not implemented for the Inventory Adjust manual option.
Added to that, no new container labels will be printed if inventory is adjusted for an existing container. This means the testcase "failed" scenario is actually a "pass".
Besides it is only implemented for the Import, we might want apply this consolidated printing functionality for the (PO) receive option as well, whereby we try generate multiple containers (in one transaction) using the packaging field. This fails to work in using the current functionality.

Again, not sure what is fixed exactly, but reading the history of this ticket I assume the functionality to print consolidated labels is applied to the PO receive and Import Inventory adjust.
Testing the label printer.

Printed a new tote label just fine.
Printed a new container label just fine (using the create container option)

PO Receive

Receiving inventory through a PO created a container, but did not printed the label 👎

Import Inventory Adjust
**Import Adjust Inventory

Importing this file adjust inventory consolitated printing.xlsx and printed all 30 container labels just fine (tested twice). 👍

I see there are some tickets merged for the PO Receive as well, therefor moving this ticket back to followup as printing new containers during po receive is not working.

Papyrus has been updated. And oms with the latest version. We just need to deploy staging.
Fingers crossed that this fixes the problem.
Created a purchase order throught the UI and did multiple receives in 1 request.
For every paper that was printed the consolidation id was put on the paper.
Afterwards a print was done using the ConsolidationSpoolJob.
This job combines and then  prints all the papers with a specific consolidation id.

Printing a container label on PO receive is not working.
Contacting Joyie directly to see if we can fix the issue on the fly.

Printing multiple labels with the inventory adjust is no longer working.
Printing labels while receiving a PO is not yet resolved.
Moving this ticket back to follow up and informed Joyie.

Trying to receive a purchase order for 1 unit I a new (packing material) container.
The receive is successful, but it doesn't print the label.
Reprinting the label (not working from the container show papers tab) from the papers overview it is printing a label showing a qty 0, no part number or description. This is incorrect.
See the link of the container here and click on the preview button to see the label.

As discussed with Joyie, for the Po Receive, two items remaining an issue:

The correct info is not printed (qty 0 / product info missing) - async issue
It is not possible to reprint from the Show container - consolidated id missing

Indicates the moment of printing may not be correct? Perhaps a better idea for consolidation - to fix the problems we have with this is as follows: We create a paper record with a consolidation_id at the moment the paperwork is asked for (say Container#create), then when we end the consolidation, we go over all papers for the consolidation and generate the paperwork (actually creating the labels/pdfs etc), not printing them, but combining them in a print.
If this is reprinting an individual container label, which was part of a consolidation (ie receive). When doing that we should always print, perhaps using an manual: true option? This manual: true should also override the conditions on the label.

Tested it all again.
Inventory adsjust

The inventory adjust, this printed the labels for EMOE and METER using the parent account WRAP-IT
The inventory adjust, printed 30 labels consolidated, perfectly fine.
The reprint is working fine from the papers screen and from the papers tab from the container show
The consolidated reprint is working fine from the papers screen and the papers tab from the container show

po receive

received 1 packing material and printed one container label
reprinted this from the container show and the papers overview
received 100 inventory items devided over 10 packages and printed 10 container labels successfully
reprinted the individual label (1 label) just fine
reprinted consolidated (10 labels) just fine

This means that the printing using the consolidation functionality is implemented successful and item 1 and 2 have been resolved.
Closing this ticket.


Failing e2e tests - scorecard-latest-release on ossf-tests/scorecard-action

Matrix: {
"results_format": "default",
"publish_results": true,
"upload_result": false
}
Repo: https://github.com/ossf-tests/scorecard-action/tree/main
Run: https://github.com/ossf-tests/scorecard-action/actions/runs/2861924388
Workflow name: scorecard-latest-release
Workflow file: https://github.com/ossf-tests/scorecard-action/tree/main/.github/workflows/scorecards-latest-release.yml
Trigger: push
Branch: main

Rate limit issue


Fix call TreeModel.get_path

For good build of https://github.com/gtk-rs/gtk/pull/279

Seems CONTRIBUTING.md need change.

To be completed as least. I merge your PR, it's useless to wait for it to complete. Thanks!

I believe CONTRIBUTING.md is fine and this should've gone into the pending branch.

Missed that test get pending branch


Minor spelling fix

Unkown -> Unknown
Thanks for your time on this package :-)

Thanks for the fix!


syscall: implement O_DIRECT on illumos

This fixes the build of minio, which currently fails due to:
# github.com/ncw/directio
../.gopath/pkg/mod/github.com/ncw/directio@v1.0.5/direct_io_unix.go:22:35: undefined: syscall.O_DIRECT


Best printer package, but we need an update!!!!

Please update this package, we are having difficulty connecting to new bluetooth printers and also add fonts such as: TrueType.

Hi @CBGame, have you found any solution for the same?

Hi @CBGame, have you found any solution for the same?

I had to change some codes natively, but nothing major changes.


SPOI-8049-Fixed getters and setters for topics and clusters

@siyuanh this looks like reverse of https://github.com/apache/incubator-apex-malhar/pull/176 - please have a look.

Closing the pull request due to wrong branch name. Will reopen with the correct one.


BIOS bad dump

Hi, I've tryied your tool on a Wii (booted via Homebrew Channel).
I don't have any GBA cartidges, just the GBA and I've tryied to dump BIOS.
It makes the file but it's only a bunch of "08 04 00 00" seen via an Hex Editor.
Same result with a GBA SP.
Must I need a GBA cartidge inserted? Could be a cable problem (it's not original, but it worked perfectly on my old GC years ago).
I'll try with GC (ViperGC+SDLoader) and I'll inform you.
Thanks.

not original instantly makes me think thats the fault, I didnt have any fail with it so far on gc and wii, always gives me a proper file from both sp and game boy player...

Tested on modded GC (with ViperGC + Cobra 2.1 + SDLoader) and the BIOSes was dumped perfectly!
Maybe I have some bad MIOS on my Wii that compromise the dump. I'll investigate, thanks! :D

it shouldnt have modified it, my guess is since its a fake cable that the timings differ in wii mode with it compared to a official cable which probably works with all the different speeds.

I think the same. I'll try with an original GBA Link Cable if I'll find one.
Thank you for your great work! :D


[Sonic Yang] Add NorthBound Yang definitions

Place holder - The final Yang definition shall be part of Sonic-buildimage @ https://github.com/Azure/sonic-buildimage/tree/master/src/sonic-yang-models/yang-models

closing this in favor of https://github.com/sonic-net/sonic-buildimage/pull/13078


Phaser 3 Geometry Mask Examples not working on Firefox

Phaser Version 3.2.0 to 3.55.2.  Tested a lot of versions and they don't work

Operating system: Android

Browser: Firefox.  Tested with version 88.1.4

Description
Image Masks not working when using fillRect.  Examples using arc do appear to be working.

Running the Phaser 3 Examples from https://labs.phaser.io/.  I picked Home -> Display -> Masks -> Geometry Mask -> Image Mask.  Also Multiple Image Mask also doesn't work.  It just shows a black screen.  The mask is not working.  The examples Image Mask Arc, and Image Mask Multiple Circles do appear to be working.
This issue appears to only be affecting Android devices running Firefox.  Running Edge or Chrome works fine on the Android device.

The code to test the issue was provided on https://labs.phaser.io/.  It can be found under Home -> Display -> Masks -> Geometry Mask.  There are a few examples to test such as Image Mask, and Multiple Image Mask.

Work for me, have you try to move the mouse over the canvas?

I am using a Lenovo Tablet, so there is no mouse.  I moved my finger all over the screen and nothing changed.  The examples with the circles did move.  In a game I wrote, I modified it to draw four lines and fill the rectangle it also works.  The fillRect doesn't appear to work.

I am using a Lenovo Tablet, so there is no mouse. I moved my finger all over the screen and nothing changed. The examples with the circles did move. In a game I wrote, I modified it to draw four lines and fill the rectangle it also works. The fillRect doesn't appear to work.

I used to use firefox before updating my chrome version. Your firefox might be outdated check for updates.

Works fine in Firefox 94.0.1 on Windows 10 and macOS, so going to close this off. Please ensure your version is up to date.


Corporate Console : New user is not able to login in corporate console

Summary
In corporate console, A new user is trying to login, he is getting redirected to login page again.
Background
Create new user and login to corporate console
Expected behavior
User should be able to login
Screenshots

Corporate_new_user.zip

We need to ensure new users are able to authenticate with auth0 then navigate into EasyCLA - during the first time, a new user record should be created in cla-{stage}-users.

@ngozi-ekekwe can we re-test this.  Scenario:

Create a test LFID account in DEV
Remove the LFID user from the cla-dev-users table
Attempt to login
Confirm that the user record was re-created (or not)

@dealako @prasannamahajan @wanyaland Error while creating new user.
Request URL: https://api.dev.lfcla.com/v3/users
Request Method: POST
Status Code: 401
Input :
{
  "lfUsername": "amolsontakke",
  "username": "Amol Santakke",
  "lfEmail"<EMAIL_ADDRESS>}

Response :
{"Message":"auth - UsersAddUserHandler - user &{UserID: Name: Emails:[] LFEmail: LFUsername:amolsontakke LfidProvider:{ProviderUserID:} GithubProvider:{ProviderUserID:} ProjectIDs:[] ClaIDs:[] CompanyIDs:[]} not authorized to add users - missing UserID"}

@prasannamahajan please review and resolve as part of your ticket/issue.

@dealako raised pull request https://github.com/communitybridge/easycla/pull/658
@amolsontakke3576 we need to check if it is resolved from UI side.

@dealako @amolsontakke3576 @prasannamahajan
Verified that new user is able to login to Corporate Console.
But observed that companies are not displayed for the new users. Have logged bug #665 to track the issue

Closing issue as this was resolved and confirmed.


Adds release script for smoother git releases

Signed-off-by: Puneet Punamiya<EMAIL_ADDRESS>

So the main question is : Do we want a workflow that runs on tags (and publishes the release) or do we want a workflow that is able to create and build the release ?
I would say we would need a workflow that would be able to create and build the release

Now I have got some question

I thought we need to manually just run the script and release is created
If we setup a workflow, I think we might have to configure and install some binaries like gh, git, ko and also some secret token to be able to push the git

/hold

So the main question is : Do we want a workflow that runs on tags (and publishes the release) or do we want a workflow that is able to create and build the release ?

So now I have updated the pr with a workflow which will be triggered when a tag is pushed and that workflow will run a script to create a pre-release

/hold cancel


Unable to load resource files in node_module when debugging on browser breakpoints.

Describe the bug
Can't load resource files in node_module and can't debug code when debugging on browser breakpoints.
As shown in the figure below

Reproduction
https://stackblitz.com/edit/vitejs-vite-naypwt?file=src%2FApp.jsx
Steps to reproduce

pnpm create vite
pnpm i
pnpm i @antv/g2
Copy the sample code on @antv/g2

pnpm dev
Hit a breakpoint in your browser

System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (18) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 17.91 GB / 31.69 GB
  Binaries:
    Node: 20.0.0 - D:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 9.6.4 - D:\Program Files\nodejs\npm.CMD
    pnpm: 8.8.0 - ~\AppData\Local\pnpm\pnpm.CMD
  Browsers:
    Edge: Chromium (118.0.2088.61), ChromiumDev (120.0.2165.1)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-react: ^4.0.3 => 4.1.0
    vite: ^4.4.5 => 4.5.0

Used Package Manager
npm
Logs
No response
Validations

[ ] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This sourcemap is generated by esbuild (node_modules/.vite/deps/@antv_g2.js.map). This sourcemap is generated from @antv/g2/esm/api/extend.js.map.
This sourcemap contains "sourceRoot":"src/","sources":["api/extend.ts"], this means the original source is located at @antv/g2/esm/api/src/api/extend.ts (= new URL('api/extend.ts', new URL('src/', 'http://example.com/@antv/g2/esm/api/extend.js.map').href).href).
But the actual original source is located at @antv/g2/src/api/extend.ts.
esbuild seems to have a bug resolving the path (It resolves to @antv/g2/esm/api/api/extend.ts instead). Even if this bug is fixed, the package side needs to fix the sourcemap generation.
Closing as this needs to be fixed on the package side.


Invoke-RestMethod  Command fails on PS 6.0 beta and alpha releases on windows 10 , server 2012 , 2008 r2

Steps to reproduce
download
•	PowerShell-6.0.0-alpha.18-win7-win2008r2-x64.msi
•	PowerShell-6.0.0-alpha.18-win7-win2008r2-x64.zip
when running below ps cmdlet it fails with below exception on ps6.0
..
$headers = @{
      'Authorization' = "Bearer $Token"
    }
Expected behavior
to execute successfulluy
Actual behavior
Invoke-RestMethod : InvalidAuthenticationInfoAuthentication information is not
given in the correct format. Check the value of Authorization header.
RequestId:13bd701c-0001-0057-7551-cf5369000000
Time:2017-05-17T21:09:19.1268565Z
Environment data

> $PSVersionTable

Dupe of https://github.com/PowerShell/PowerShell/issues/2227


Set config values using console parameters

Could be read from home variables, it would replace flags
Example:
<framework>
<bla>${VALUE}</bla>
</framework>

it also could use used in  <if ${Foo}=="wasd"/> statements


History location issue on Ubuntu

Hi, I'm probably doing something wrong, but I can't figure out how to get this to work the way I want it to.
I'm on Ubuntu, latest version of VS Code, and I'm trying to have the history save in a directory outside of my workspace/git repository. I don't want to modify gitignore instead because I'm the only one using this setup.
My settings are
    "local-history.path": "Documents/CodeHistory",
    "local-history.absolute": true

The location of the history that I'm trying to get is ~/Documents/CodeHistory.
If I remove those settings, the plugin does save history in the repository, so it does work.
With those settings, nothing happens. No .history is created, no errors are thrown, nothing.
You might ask why I'm using Documents/CodeHistory as the path. When I tried ~/Documents/CodeHistory, it created a ~ directory in my home directory so I thought it must be able to find the existing Documents/CodeHistory directory.
What are the correct settings for what I'm trying to do?

Hello,
A known issue is that character ~ is not supported yet (see #47)
You can try to use /home/<user> instead ~ like explain here #43
(I don't know very well linux...)
In the next version 1.8.0, I'll support the character ~, I have already prepared it (see branch next) but I am too busy right now to test and publish something...

Hello,
A known issue is that character ~ is not supported yet (see #47)
You can try to use /home/<user> instead ~ like explain here #43
(I don't know very well linux...)
In the next version 1.8.0, I'll support the character ~, I have already prepared it (see branch next) but I am too busy right now to test and publish something...

Hey, that worked!


[FIRApp configure] crashes app on ios simulator

Xcode version: Version 9.0 (9A235)
Firebase SDK version: Firebase/Core (4.3.0)
Firebase Component: Core
Component version: _____

Steps to reproduce:
Running my RN app with react-native run-ios is working until integrating firebase on ios/AppDelegate.m file. After adding, the app crashes after showing (> 1 sec)
(did pod update and/or pod install after manually removing Pods folder)
See this this recording: http://recordit.co/Ry74pTUpmC
I'm using iPhone 6 (iOS 11.0) simulator
This is the system log

Oct  6 16:14:54 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[19245] (com.apple.videosubscriptionsd[20973]): Service exited with abnormal code: 1
Oct  6 16:14:55 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[19245] (com.apple.videosubscriptionsd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Oct  6 16:14:56 Michael-MBP RNFirebase3[20976]: assertion failed: 17A365 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d
Oct  6 16:15:05 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[19245] (com.apple.videosubscriptionsd[20977]): Service exited with abnormal code: 1

Relevant Code:
see commit on my sample app https://github.com/mjmaix/RNFirebase3/commit/4040fffc504f3fb002d76f146c717598b267dcba and https://github.com/mjmaix/RNFirebase3/commit/a95959c7cee519319ac82bdbb2951592dd1ef7cb
other info:
GoogleService-Info.plist exists on local repo but ignored on commit
gem which cocoapods
<EMAIL_ADDRESS>
npm --version
5.4.2

Hey @mjmaix - instead of import <Firebase.h> try import <Firebase/Firebase.h>.  Let me know how that goes!

@ryanwilson
Thank you for checking. Just tried #import <Firebase/Firebase.h> with react-native run-ios but it's still now starting as expected
system log
Oct  6 22:39:39 Michael-MBP com.apple.CoreSimulator.SimDevice.D1B5DE36-2EA8-4AB5-A760-73F98649F1B3[22099] (com.apple.videosubscriptionsd[22703]): Service exited with abnormal code: 1
Oct  6 22:39:41 Michael-MBP RNFirebase3[22706]: assertion failed: 17A365 15A372: libxpc.dylib + 69578 [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d

Hmm thanks for trying. Is there anything above that in the log about where in the process it fails? I haven't used React Native before so trying to figure out where this is failing.

None, cause I cleared the system log before react-native run-ios. Do you
want to see the startup logs? It's quite long though
On Fri, Oct 6, 2017 at 10:45 PM Ryan Wilson<EMAIL_ADDRESS>wrote:

Hmm thanks for trying. Is there anything above that in the log about where
in the process it fails? I haven't used React Native before so trying to
figure out where this is failing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-ios-sdk/issues/340#issuecomment-334775850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0J01ZZt7Qqevofti8fg-Nuf0wtBgJBks5spjz7gaJpZM4PwJMu
.

If you could share the stack trace where it crashes from the system log, that'd be great! I guess this can be done like this (apologies if you already knew this, I'm learning this as we go 😛 )

I'll also check this more tomorrow, I'll post updates

Looks like you should still be able to grab them from the simulator log (from this comment:
tail -100 -f ~/Library/Logs/CoreSimulator/{simulator udid}/system.log

Should grab the last 100 lines of the log. If you have more than one simulator, you can get the UDID by running instruments -s devices.
Sounds good, keep me in the loop!

I did some experiments by creating xcode project with firebase pod install. It's not crashing like in react-native. Maybe this is not a problem on firebase-ios-sdk?

Fixed it, I opened the project on xcode using .xcworkspace, run the app
By doing this, the logs would remain even after the app crashed.
*** Terminating app due to uncaught exception 'com.firebase.core', reason: '`[FIRApp configure];` (`FirebaseApp.configure()` in Swift) could not find a valid GoogleService-Info.plist in your project. Please download one from https://console.firebase.google.com/.'

Missing GoogleService-Info.plist
Apparently, I have to use Xcode's Add files to project instead of copy pasting it on the folder.

@mjmaix thanks for the update, glad you figured it out!

I have the same error... means I got no error, but if I remove [FIRApp configure]; from AppDelegate.m, the up starts.
If I add it, the app stop at the Splash-Screen. Here is a short Video which shows it: http://somup.com/cFX1iGn15J


[WIP] Testing ManageIQ/manageiq-cross_repo#69

Test running JS specs for UI classic

Nevermind, Adam was clearly way ahead of me...
https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/268
Closing.

Nevermind, Adam was clearly way ahead of me...
https://github.com/ManageIQ/manageiq-cross_repo-tests/pull/268
Closing.


source_git: use importlib.resources to load _packitpatch

Instead of installing _packitpatch to {prefix}/bin, this installs the file as package data and uses importlib.resources to load it and get its path. Then, the absolute path to the script is passed to the rpmbuild command via the %_packitpatch macro.
This has a couple advantages. The importlib.resources API supports running from zipfiles (it'll copy the data file to a temporary directory). If $PATH isn't configured correctly or if the package isn't properly installed, this functionality will still work. The scripts functionality in setuptools is deprecated, so this removes packit's dependency on it.
RELEASE NOTES BEGIN
Packit's source_git functionality installs/loads the _packitpatch script in a more reliable manner that doesn't rely on deprecated setuptools functionality.
RELEASE NOTES END

/packit retest-failed

This functionality is covered by

tests/integration/test_source_git_init.py::test_create_from_upstream_no_patch
tests/integration/test_source_git_init.py::test_create_from_upstream_with_patch
tests/integration/test_source_git_init.py::test_create_from_upstream_not_require_autosetup

If you have something else in mind, feel free to push to my fork.

Yep, you are right, sorry, I didn't dig deep enough. Thanks again, I'll merge it tomorrow if noone objects.


feat(backup) Support restore Recurring Jobs

https://github.com/longhorn/longhorn/issues/5009
Signed-off-by: Siye Wang<EMAIL_ADDRESS>

@smallteeths Need to backport to 1.4.x.


Handle the configured project lifetime to account for files added to the project after config file gets reloaded

With earlier approach of adding open ref to the configured project while just opening the file, we can go out of sync pretty easily when configured project is updated to contain more/less of open files.
Switched to using the knowledge of open files and their relation to configured project to manage configured project's life time

@mhegazy  can you please take a look. Without this fix there is potential to have open file, whose project (config file based) gets removed prematurely.


Throwin: Keep distance to ball from inside the field

Is your feature request related to a problem? Please describe.

Currently when we are outside the field and a throwin is awarded to the other team we will walk 2 meters away from the ball to keep a safe distance. If we are currently outside the field, we will walk further outside the field to keep our distance.
Video of this behavior
Describe the solution you'd like

I think instead of only considering the distance to the ball, we should ensure our target position is inside the field.
Describe alternatives you've considered

Closing because its a duplicate of #165


New version: Mozilla.Firefox.DeveloperEdition.ne-NP version 132.0 (132.0b4)

Created by 🥟 Dumplings.
Microsoft Reviewers: Open in CodeFlow

Verify by proxy: https://github.com/microsoft/winget-pkgs/pull/179431#issuecomment-2400690391


remove orphan irsa plicy

If you're already on it, I'd suggest updating our fork to the most recent version of the upstream. (ref). There are some things in that we need anyways for other thing we have in the pipeline, like e.g. bootstrap_self_managed_addons.

@denniskern This PR is now obsolete after v20.24.0 is already integrated into main, right?

Thats right I will close this one.


Manual testing build#248

Initial set-up
Check that the IntelliJ Idea UTBot plugin can be successfully installed

[x] Choose appropriate workflow from the list
[x] Download plugin
[x] Check downloaded zip-file size < 100 MB
[x] Open IntelliJ IDE
[x] Remove previously installed UTBot plugin
[x] Clone or reuse UTBot project (https://github.com/UnitTestBot/UTBotJava.git)
[x] Open the project in the IDE
[x] Install the downloaded plugin

Go through manual scenarios
Manual scenario #1

[x] Use default plugin settings
[x] Open the utbot-sample/src/main/java/org/utbot/examples/algorithms/ArraysQuickSort.java file
[x] Generate tests for the class
[x] Remove results
[x] Generate tests for the methods
bug found: #709

Manual scenario #2

[x] Use default plugin settings
[x] Open the utbot-sample/src/main/java/org/utbot/examples/mock/CommonMocksExample.java file
[x] Generate tests with all available (mocking) options
bug found: #711

Manual scenario #3

[x] Create a new Gradle project
[x] Add a simple java file to test
[x] Generate a test in the existing test root

Manual scenario #4

[x] Create a new Maven project
[x] Add a simple java file to test
[x] Generate a test in the new test root
bug found: #712

Manual scenario #5

[x] Create a new Idea project
[x] Add a simple java file to test
[x] Generate tests for several classes

@denis-fokin testing was made for https://github.com/UnitTestBot/UTBotJava/actions/runs/2838208870


Error when scroll collection

Expected Behavior
TypeError: Cannot read properties of null (reading 'index')
at file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:119:69992
at em (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:44:24296)
at U6 (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:44:42448)
at DA (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:44:36651)
at Is (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:42:3288)
at hve (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:44:41325)
at mc (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:44:40309)
at uO (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:44:35758)
at D (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:29:1614)
at Immediate.pe [as _onImmediate] (file:///C:/Users/Aditya%20Rizky%20Ramadha/AppData/Local/insomnia/app-8.6.1/resources/app.asar/index-db9674c5.js:29:1985)
at process.processImmediate (node:internal/timers:476:21)
Actual Behavior

error when search http request
Reproduction Steps
Scroll on folder of http request
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
Render Failure: Cannot read properties of null (reading 'index')
Insomnia Version
8.6.1
What operating system are you using?
Windows
Operating System Version
Windows_NT x64 10.0.22631
Installation method
insomnia.rest
Last Known Working Insomnia version
No response
### Tasks

@adityarizkyramadhan Can you try with the latest 9.2?


fix(datasource/zarr) HEAD to get content length

Some static file servers (e.g., the nodejs program serve) will handle a successful HTTP range request (i.e., status code 206) without including a content-range header in that response. Perhaps content-range is omitted because it's not on the list of CORS safelisted response headers, but that's just a guess. This impairs neuroglancer's ability to read sharded zarr v3 chunks when the shard index is configured to reside at the end of a chunk, as in this case neuroglancer makes a GET with a suffixLength byte range request but if the response from the server does not include the content-length header, it's not possible to resolve an offset + length representation of the body of that request.
This PR addresses this problem by falling back to a HEAD request against the shard to figure out its length. I am re-using a routine already employed for hosts that don't support suffixLength byte range requests.
I can confirm from local testing that this patch enables reading sharded zarr v3 arrays from the nodejs serve application, which are failing on main, but I would appreciate any pointers on places inside the neuroglancer codebase to modify / add a test.

@jbms I also am running into a cors error when trying to load zarrv3

@davidackerman Does this patch fix the issue for you?

seems to, yes!
neuroglancer-demo.appspot:

this patch:

Thanks!


Package stopped working.

Really love this plugin, very recently though it has completely stopped working. Running my keyboard shortcuts does not do anything, neither running it through the palette. I have tried restarting and updating both Atom and atom-rspec. Any ideas what could be happening?

What are your Atom and atom-rspec versions? If you go to 'View -> Developer -> Toggle developer tools' do you see any errors?

Hi, thanks for getting back to me.
I am using Atom 0.194.0 at the latest version of atom-rspec.
When I go to initiate the specs, the dev console provides feedback that they seem to have started, and then I get an 'Exit code 1' log back. However, no panes open with the specs. I wish I had more information to give you, I can get screenshots of the console output tomorrow when I am back on my work computer?
Thanks,

Sure, that would help. Also check the package settings, we made some changes recently in that department.

We are back online! No idea what solved it, simply came back to work today and everything is working as normal. Thanks for the great plugin, pivotal piece in my workflow.


fix: remove upper limit for required terraform version

/run pipeline

/run pipeline

:tada: This PR is included in version 2.6.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make parameters in onboardingResponse Optional

Depending on the required Gateway Type (REST or MQTT), several parameters are not always set. Could they be made optional to simplify the work with them in Kotlin?

Due to the fact, lateinit var variables are used which are not optional, the library breaks, if no mqtt settings were passed.
Maybe these fields could be changed like following:
    lateinit var host: String     lateinit var port: String
to
    lateinit var host: String? = null     lateinit var port: String? = null
This example can be found inside ConnectionCriteria class.

We'll find a solution for it. Optional parameters are not the best idea, because they would cause a number of  checks within the API. Not the best idea, but I understand the problem. For the current state of the API those fields are removed until the MQTT implementation will be part of the API.
Thanks for the report.


Time of check / Time of use HTTP(S) bypass

I found another break out strategy regarding the network block.
This one is a bit different and doesn't directly bypass the Hagana checks by using an obscure API but simply adds a getter that returns a different hostname value depending on how many time the value was read.
The first time, the value is read by Hagana to check if it's allowed and the "safe" hostname will be returned.
The second time, the value is read by Node.js core logic and the "unsafe" hostname will be returned.
e.g:
import http from 'http';

export function run () {
  return new Promise((resolve, reject) => {
    const chunks = [];

    let counter = 0;
    const options = {
      get hostname () {
        counter += 1;

        if (counter === 1) {
          return 'httpbin.org'
        } else {
          return 'example.com'
        }
      }
    };

    const req = http.request(
      options,
      res => {
        res.on('data', chunk => chunks.push(chunk));

        res.once('end', () => {
          console.log('RESPONSE=', Buffer.concat(chunks).toString());
          resolve();
        });
      }
    );

    req.once('error', reject);

    req.end();
  });
}

This is a tough one. I'll need to give it some thought...
P.S.  I'm happy to collaborate with you on this project if you're interested :)

@yaakov123 I'm pretty busy but if you want to talk about your approach to Hagana and the different break out strategies we can do that sure. :)

I'm going to be away from the computer of the weekend, but let's discuss sometime next week. Send me a DM and we'll arrange something - https://twitter.com/JacobBeckerman

This will be fixed in v0.0.15


Path can be an array of string | number

As per the documentation Note that if the path is specified as a string, numbers are automatically interpreted as array indexes Path can be an array of strings and numbers

Coverage remained the same at 97.368% when pulling f736f9dcf669e5da6c091f1579350c6242061ce6 on TeamSupercell:master into f18049c2491277773d07f51b787a993f4590301b on mariocasciaro:master.

Coverage remained the same at 97.368% when pulling f736f9dcf669e5da6c091f1579350c6242061ce6 on TeamSupercell:master into f18049c2491277773d07f51b787a993f4590301b on mariocasciaro:master.

Coverage remained the same at 97.368% when pulling f736f9dcf669e5da6c091f1579350c6242061ce6 on TeamSupercell:master into f18049c2491277773d07f51b787a993f4590301b on mariocasciaro:master.

Thanks for the PR


First Android app: Android Basics with Compose

Nothing in the doc is replicable. I have an XML file that renders everything, I do not understand how to have the same functions that u have in your doc

Hello @Dpr1815,
Thank you for reaching out to us. In order to proceed further please provide the detailed information about what issue you are facing.

I think you selected a wrong template.
Please chose compose template.
Try re-creating the project.


Remove --kube-root deprecated kind argument

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
The --kube-root flag has been deprecated in kind for some time and will be removed. The current equivalent functionality is to pass the path to the kubernetes source as the first non-flag argument to build node-image.
This updates the prow script to use the newer preferred method in preparation for kind dropping the flag.
Which issue(s) this PR fixes:

Related: https://github.com/kubernetes-sigs/kind/issues/3717
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

NONE

/ok-to-test

Test failures do not look related:
ERROR: go module files *not* up-to-date, they did get modified by 'GO111MODULE=on go mod tidy':
diff --git a/go.mod b/go.mod
[snip]
diff --git a/go.sum b/go.sum
[snip]

Looks like maybe a side effect of an updated test runner environment?

/cc @pohly @msau42

/retest

nudge @pohly

Looks like CI didn't pass.

CI for this repo appears to be broken for awhile now. https://github.com/kubernetes-csi/csi-release-tools/pull/259#issuecomment-2299112766

This https://github.com/kubernetes-csi/csi-test/pull/560 may resolve the broken tests

Rebased on master. Not sure if the CI issues are fixed yet or not, so wanted to get fresh results.

Folks: At some point I'm just going to delete this deprecated flag from kind anyhow, we are doing our best to help projects prepare. Please take a look.

/test pull-kubernetes-csi-release-tools-csi-test

/lgtm
/approve
The  pull-kubernetes-csi-release-tools-csi-test failure will get fixed by https://github.com/kubernetes-csi/csi-test/pull/561.

thank you!


Exception are grouped the wrong way due to wrong stacktrace

We are using 0.5 and sentry/sentry 1.5.0 in production, and we are currently seeing a strange behavior in Sentry: it's grouping together exceptions that came from very different places, just because they are the same classes (\LogicException).
I thing the culprit is the stacktrace.
Due to how Symfony is build, there is a $response = call_user_func_array($controller, $arguments); in every handled request. If do not ask to see the full stacktrace, Sentry shows only it up to that line, hiding al the code that belong to my project; I think this leads to the wrong grouping.
Screenshot

Is this maybe a Sentry issue? It seem to ignore anything above the anonymous function...
Paste of the raw stacktrace (with redacted text):
LogicException: [redacted]
#8 src/Facile/[redacted].php(1312): [redacted]
#7 src/Facile/[redacted].php(885): [redacted]
#6 src/Facile/[redacted].php(304): [redacted]
#5 [Anonymous function](0): call_user_func_array
#4 app/bootstrap.php.cache(3238): handleRaw
#3 app/bootstrap.php.cache(3197): handle
#2 app/bootstrap.php.cache(3351): handle
#1 app/bootstrap.php.cache(2536): handle
#0 web/app.php(19): null

Whats happening here is its not including 'src' in the app paths. Is that a common setup? If so we can add it to the defaults?  Additionally, as I dont think its configurable yet, we could make it so you can specify your own app paths.

Actually, I'm looking at our sample project, and I'm not sure why app path is even set to this.

So this is mostly good, but in the future we should probably come up with a better solution for anonymous functions:

Yeah, that is a pretty common setup, it's how Symfony is normally installed as a full framework. Thanks for the quick fix!
I don't know if I would have included the whole project folder, maybe just the src folder could be enough? Coupled with a configurable list of paths, it would be the way to go IMHO. I'll take a look at the source code tomorrow.

@Jean85 I'd bump up to 0.6.0 and see how its working for you.
One limitation right now is we dont have multiple app paths supported, only exclusionary. We could of course change that, but it was a quick fix for some other issues.

@dcramer it's fine, I can push it in production right away tomorrow, and I can report back ASAP.

I've just done the deploy.
First issue that comes to mind: should we exclude by default the cache folder? Normally it's app/cache for Symfony 2.x and var/cache for Symfony 3.x.
Many parts use this, mainly controllers and Doctrine's entities; I think that those parts should not be considered part of the app, since the code is autogenerated and composed mainly by dumped containers and proxy classes.

OTOH, the issue seems to be fixed, the path mapping is working now!

Agreed regarding the cache.
I'm wondering if this is going to cause problems:
http://symfony.com/doc/current/configuration/override_dir_structure.html
Not entirely sure how we can programmatically bind configuration based on calls like this in Symfony.

In my experience this kind of override is very rare. I think that, on our side, the config is enough as it is, I would just add the cache to the defaults, as said earlier.

@Jean85 looks like it might be safe to ignore var entirely?

Yeah it's safe to do, it contains only logs and cache, normally. Remember that var exists only on 3.x, previously the same dirs were on app/cache and app/logs