AttributeError: 'ConfigDict' object has no attribute 'assigner'

When I train a FasterRCNN using my own custom dataset, it raised the following error:

2018-10-26 16:21:43,169 - INFO - Start running, host: kong@Kong, work_dir: /home/kong/mmdetection/work_dirs/faster_rcnn_r101_fpn_1x
2018-10-26 16:21:43,169 - INFO - workflow: [('train', 1)], max: 12 epochs
Exception ignored in: <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x7ff3ecaed9b0>>
Traceback (most recent call last):
File "/home/kong/anaconda/envs/pt341/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 399, in del
self._shutdown_workers()
File "/home/kong/anaconda/envs/pt341/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 378, in _shutdown_workers
self.worker_result_queue.get()
File "/home/kong/anaconda/envs/pt341/lib/python3.6/multiprocessing/queues.py", line 344, in get
return _ForkingPickler.loads(res)
File "/home/kong/anaconda/envs/pt341/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 151, in rebuild_storage_fd
fd = df.detach()
File "/home/kong/anaconda/envs/pt341/lib/python3.6/multiprocessing/resource_sharer.py", line 58, in detach
return reduction.recv_handle(conn)
File "/home/kong/anaconda/envs/pt341/lib/python3.6/multiprocessing/reduction.py", line 182, in recv_handle
return recvfds(s, 1)[0]
File "/home/kong/anaconda/envs/pt341/lib/python3.6/multiprocessing/reduction.py", line 153, in recvfds
msg, ancdata, flags, addr = sock.recvmsg(1, socket.CMSG_LEN(bytes_size))
ConnectionResetError: [Errno 104] Connection reset by peer
Traceback (most recent call last):
File "tools/train.py", line 81, in
main()
File "tools/train.py", line 77, in main
logger=logger)
File "/home/kong/mmdetection/mmdet/apis/train.py", line 59, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
File "/home/kong/mmdetection/mmdet/apis/train.py", line 117, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/4T/kong/data/mmcv/mmcv/runner/runner.py", line 349, in run
epoch_runner(data_loaders[i], **kwargs)
File "/4T/kong/data/mmcv/mmcv/runner/runner.py", line 255, in train
self.model, data_batch, train_mode=True, **kwargs)
File "/home/kong/mmdetection/mmdet/apis/train.py", line 37, in batch_processor
losses = model(**data)
File "/home/kong/anaconda/envs/pt341/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/kong/anaconda/envs/pt341/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 121, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/kong/anaconda/envs/pt341/lib/python3.6/site-packages/torch/nn/modules/module.py", line 477, in call
result = self.forward(*input, **kwargs)
File "/home/kong/mmdetection/mmdet/models/detectors/base.py", line 79, in forward
return self.forward_train(img, img_meta, **kwargs)
File "/home/kong/mmdetection/mmdet/models/detectors/two_stage.py", line 95, in forward_train
rpn_losses = self.rpn_head.loss(*rpn_loss_inputs)
File "/home/kong/mmdetection/mmdet/models/rpn_heads/rpn_head.py", line 159, in loss
self.target_means, self.target_stds, cfg)
File "/home/kong/mmdetection/mmdet/core/anchor/anchor_target.py", line 41, in anchor_target
img_metas, means_replicas, stds_replicas, cfg_replicas)
File "/home/kong/mmdetection/mmdet/core/utils/misc.py", line 24, in multi_apply
return tuple(map(list, zip(*map_results)))
File "/home/kong/mmdetection/mmdet/core/anchor/anchor_target.py", line 83, in anchor_target_single
_, sampling_result = assign_and_sample(anchors, gt_bboxes, None, None, cfg)
File "/home/kong/mmdetection/mmdet/core/bbox/sampling.py", line 25, in assign_and_sample
bbox_assigner = BBoxAssigner(**cfg.assigner)
File "/4T/kong/data/mmcv/mmcv/utils/config.py", line 27, in getattr
raise ex
AttributeError: 'ConfigDict' object has no attribute 'assigner'

Please give me some advice to fix it. Thanks.

What is the config file you used? It seems that there is a missing key assigner in training configs.

This is my config:

model settings
model = dict(
type='FasterRCNN',
pretrained='modelzoo://resnet101',
backbone=dict(
type='ResNet',
depth=101,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 512, 1024, 2048],
out_channels=256,
num_outs=5),
rpn_head=dict(
type='RPNHead',
in_channels=256,
feat_channels=256,
anchor_scales=[8],
anchor_ratios=[0.5, 1.0, 2.0],
anchor_strides=[4, 8, 16, 32, 64],
target_means=[.0, .0, .0, .0],
target_stds=[1.0, 1.0, 1.0, 1.0],
use_sigmoid_cls=True),
bbox_roi_extractor=dict(
type='SingleRoIExtractor',
roi_layer=dict(type='RoIAlign', out_size=7, sample_num=2),
out_channels=256,
featmap_strides=[4, 8, 16, 32]),
bbox_head=dict(
type='SharedFCBBoxHead',
num_fcs=2,
in_channels=256,
fc_out_channels=1024,
roi_feat_size=7,
num_classes=141,
target_means=[0., 0., 0., 0.],
target_stds=[0.1, 0.1, 0.2, 0.2],
reg_class_agnostic=False))
model training and testing settings
train_cfg = dict(
rpn=dict(
pos_fraction=0.5,
pos_balance_sampling=False,
neg_pos_ub=256,
allowed_border=0,
crowd_thr=1.1,
anchor_batch_size=256,
pos_iou_thr=0.7,
neg_iou_thr=0.3,
neg_balance_thr=0,
min_pos_iou=0.3,
pos_weight=-1,
smoothl1_beta=1 / 9.0,
debug=False),
rcnn=dict(
pos_iou_thr=0.5,
neg_iou_thr=0.5,
crowd_thr=1.1,
roi_batch_size=512,
add_gt_as_proposals=True,
pos_fraction=0.25,
pos_balance_sampling=False,
neg_pos_ub=512,
neg_balance_thr=0,
min_pos_iou=0.5,
pos_weight=-1,
debug=False))
test_cfg = dict(
rpn=dict(
nms_across_levels=False,
nms_pre=2000,
nms_post=2000,
max_num=2000,
nms_thr=0.7,
min_bbox_size=0),
rcnn=dict(score_thr=0.05, max_per_img=100, nms_thr=0.5))
dataset settings
dataset_type = 'MaDataset'
data_root = 'data/ma/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
data = dict(
imgs_per_gpu=2,
workers_per_gpu=2,
train=dict(
type=dataset_type,
ann_file=data_root + 'annotations/train.json',
img_prefix=data_root + 'images/',
img_scale=(800,),
img_norm_cfg=img_norm_cfg,
size_divisor=32,
flip_ratio=0.5,
with_mask=False,
with_crowd=True,
with_label=True),
val=dict(
type=dataset_type,
ann_file=data_root + 'annotations/test.json',
img_prefix=data_root + 'images/',
img_scale=(1080, 800),
img_norm_cfg=img_norm_cfg,
size_divisor=32,
flip_ratio=0,
with_mask=False,
with_crowd=True,
with_label=True),
test=dict(
type=dataset_type,
ann_file=data_root + 'annotations/test.json',
img_prefix=data_root + 'images/',
img_scale=(1080, 800),
img_norm_cfg=img_norm_cfg,
size_divisor=32,
flip_ratio=0,
with_mask=False,
with_label=False,
test_mode=True))
optimizer
optimizer = dict(type='SGD', lr=0.00125, momentum=0.9, weight_decay=0.0001)
optimizer_config = dict(grad_clip=dict(max_norm=35, norm_type=2))
learning policy
lr_config = dict(
policy='step',
warmup='linear',
warmup_iters=500,
warmup_ratio=1.0 / 3,
step=[8, 11])
checkpoint_config = dict(interval=1)
yapf:disable
log_config = dict(
interval=50,
hooks=[
dict(type='TextLoggerHook'),
# dict(type='TensorboardLoggerHook')
])
yapf:enable
runtime settings
total_epochs = 12
dist_params = dict(backend='nccl')
log_level = 'INFO'
work_dir = './work_dirs/ma_faster_rcnn_r101_fpn_1x'
load_from = None
resume_from = None
workflow = [('train', 1)]

Please take a look. Thank you @hellock .

As you said, it seems the config indeed missed this key. I wrote the config through modifing an old version config file.

how you solved this error, I tried different config file but still getting the error.

Could you tell us how didi you switch to the new config file?


Cope with repeated additions

If you are adding an issue to a project board, it will do so when you label it. Yay.
 Finished running: Successfully created a new card in column #8215313 for an issue with the corresponding id:629435434 !
Then the next time you add a label it will try to add it again, because the issue still has the label. At this point the Action fails and the build fails.
Attempting to create a card in column 8215313, for an issue with the corresponding id #629435434 #ERROR# HttpError: Validation Failed
It would be super helpful if it checked if the card exists on the column before it tries to add and if it does, just succeeds and continues on with the next part of the build.

Check out #14


config schedule

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


aot debug: try to use a bit more approprirate file names

when the original wasm contains multiple compilation units, the current logic uses the first one for everything. this commit tries to use a bit more appropriate ones.

the ci failure looks unrelated to the changes in this PR.
/usr/local/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +b0b8cc1f06b3efe1443619741c17f53c7f88a56c:refs/remotes/pull/3000/merge
  Error: fatal: unable to access 'https://github.com/bytecodealliance/wasm-micro-runtime/': Failed to connect to github.com port 443 after 75013 ms: Couldn't connect to server
  The process '/usr/local/bin/git' failed with exit code 128
  Waiting 16 seconds before trying again
  /usr/local/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +b0b8cc1f06b3efe1443619741c17f53c7f88a56c:refs/remotes/pull/3000/merge
  Error: fatal: unable to access 'https://github.com/bytecodealliance/wasm-micro-runtime/': Could not resolve host: github.com
  The process '/usr/local/bin/git' failed with exit code 128
  Waiting 20 seconds before trying again
  /usr/local/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +b0b8cc1f06b3efe1443619741c17f53c7f88a56c:refs/remotes/pull/3000/merge
  Error: fatal: unable to access 'https://github.com/bytecodealliance/wasm-micro-runtime/': Could not resolve host: github.com
  Error: The process '/usr/local/bin/git' failed with exit code 128


Update Composer dependencies (2021-10-01-00-11)

Visual regression test passed!
View the visual regression test report


Add darkmode for taskbar icon context menu

Description of the new feature / enhancement
Right click PowerToys taskbar icon show a dark style background when use dark mode of system theme.
Scenario when this would be used?
The current theme always white.

Supporting information
No response

wonder if any of the native CPP code does theme detection ... plus if that context menu could be shifted into theme aware

first issue keep me interested!!!
#3183


Update toDateString() to toLocaleDateString()

WHY are these changes introduced?
Because the date displayed did not reflect locale.

WHAT is this pull request doing?

Just grep and update all toDateString() to toLocaleDateString()

HOW to test your changes?
You can easily check these from UI.

Checklist

[x] I've read the Contributing Guidelines
[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've added a changeset if this PR contains user-facing or noteworthy changes
[x] I've added tests to cover my changes
[x] I've added or updated the documentation

Have already signed the CLA, but…

I have signed the CLA!


tweet.Favourited always returns false.

If you use code similar to the following, the Favourited value will always be false.
if (!tweet.Favourited)
{
     tweet.Favourite();
     return true;
}

I am not sure I do understand what you want to do but if you follow the next example you'll see that it works.
var tweet = Tweet.PublishTweet("my test of favourite");
// tweet.Favourited is false
tweet.Favourite();
// tweet.Favourited is now true

I'd like to know if the tweet has already been favourited before the
search, so it can be removed from the list.
On Fri, Jan 29, 2016 at 9:54 AM, linvi<EMAIL_ADDRESS>wrote:

I am not sure I do understand what you want to do but if you follow the
next example you'll see that it works.
var tweet = Tweet.PublishTweet("my test of favourite");// tweet.Favourited is false
tweet.Favourite();// tweet.Favourited is now true
—
Reply to this email directly or view it on GitHub
https://github.com/linvi/tweetinvi/issues/118#issuecomment-176886498.

I need to have a better context than this if you want me to help you.
I don't know what search you are referring to. I do not know if you already have the tweet objects or the tweet ids or nothing. Nor do I know how you want to retrieve the tweets.
Please provide more details.

Sure, here are more details:

I search for tweets based on criteria and get the array of tweets back.
I loop through the array of tweets.
Each iteration of the loop I check if the tweet has been liked BEFORE
the search was performed. (my assumption is Favourited should be true if
the tweet has been liked outside the app)
I perform actions based on the boolean value returned in step 3.

From my tests, I've noticed that tweets that have been liked before the
most recent search have the Favourited value at false instead of true.
Does this make more sense?
Note: I use the word "liked" to mean "favourited", as to be unambiguous between
the variable and the verb.
On Fri, Jan 29, 2016 at 7:05 PM, linvi<EMAIL_ADDRESS>wrote:

I need to have a better context than this if you want me to help you.
I don't know what search you are referring to. I do not know if you
already have the tweet objects or the tweet ids or nothing. Nor do I know
how you want to retrieve the tweets.
Please provide more details.
—
Reply to this email directly or view it on GitHub
https://github.com/linvi/tweetinvi/issues/118#issuecomment-177055246.

Favourited means that the currently authenticated user has liked the tweet.
Even if 100 person like a tweet this Tweet.Favourited can be false.
This is how the Twitter API behaves.


Update --client-certs docs

I was unable to find documentation on how client side certificates are configured.  It looks like this client side option would be used, but I've been unable to track down how to leverage it.

Hi @mhils , I have added the missing explanation in the doc. The PR : https://github.com/mitmproxy/mitmproxy/pull/494
P.S: I am ramsub07 on IRC


Issues deploying app on GCP

Hello! I am continually recieving the following error while trying to deploy this app. I cannot find documentation on the CLOUDSDK_APP_RUNTIME_ROOT.
ERROR: (gcloud.app.deploy) Unable to determine the root directory where GAE runtimes are stored.  Please define the CLOUDSDK_APP_RUNTIME_ROOT environment variable.
Is this an issue with how I have downloaded or installed the Cloud SDK? I'd be happy to provide any additional information about the environment I'm using if that would be helpful. Thank you!

@megretson Which app were you trying to deploy?

Hi, having the same issue here trying to deploy a ReactJS app. Did you manage to fix it? @megretson


Add a function that masks cosmic rays

This PR is made of PR #29. Adds a function applying cosmic ray masking using drizzle to a list of files or a WFSSCollection object.

@Russell-Ryan, the PR is ready for your review. Thanks!

Would you rebase to main so we can see CI pass, please?


CSS errors when using styled-components

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
I'm working on printing out a table list with checkboxes. To customize the checkbox style, I use styled-components module as followed:
const StyledCheckbox = styled.input`
    &:checked {
        ${css({ bg: '#4DBC15' })}
    }
    ${css({ borderRadius: '50%' })}
`;

The ideal view should be like:

However, the printed view is like:

Specifications:

html2canvas version tested with: 1.4.1
Browser & version: Chrome 126.0.6478.127
Operating system: MacOS 14.5

I would like to work on this issue. Please assign this to me


Eliminate "Dot" variables from the Haskell Backend Match/Search Output

The result of Search/Match operations is a substitution.
Th Haskell backend represents this substitution as an ML conjunction (#And) of ML equalities (#Equals) between a variable and a term.  However, some of the variables are generated when compiling the matching pattern and thus not interesting to the users.  The assignments corresponding to these variables need to be removed from the conjunction.
Related Slack context: around https://runtimeverification.slack.com/archives/CC360GUTG/p1547571211721400

@traiansf is this still an issue?

I think not. And it seems to old for us to care anyway; moreover, lots of things have changes in the way we pretty print things, so I would say we can close this.


Revit-Connector: Integrate conversion of phasing parameters

The Revit-Connector misses phasing parameters.
I assume it is because phases aren't implemented in speckle-sharp.
I propose to add  Objects.Other.Phase(?) and implement it in the Converters such as Objects.Other.Revit.RevitPhase.
I expect that the phasing parameters will be serialized correctly. Or am I missing something?

Now I found the actual problem: The parameter is skipped as it points to another element.
Have you put any thoughts on changing that?
https://github.com/specklesystems/speckle-sharp/blob/0b972a1a8425c8abb0f8935fa2abfa58c96f1aa6/Objects/Converters/ConverterRevit/ConverterRevitShared/ConversionUtils.cs#L211-L213

Hey @ks-cph ,
Yes we're doing so to avoid collecting too much "Revit Garbage™", as often it's not stuff the user cares about or that we could consume in Speckle-land easily if it's defined as an element.
I brainstormed quickly with @connorivy on this, and maybe we could just store the phase as text in Speckle, would that be enough for you?

Hey @teocomi ,
thanks for your response.
From a Revit-perspective there can either just be a "Phase" parameter or a "Phase Created" and "Phase Demolished" parameter.
The phase itself has some parameters of which  the order of the phases may be of interest.
I am not sure what you mean with:

store the phase as text in Speckle
Adding the phases as text directly to all elements? or as string-parameters?

We can also create Phase in Speckle and add the phases to element. For me both works but I think on the long-run it should be better to implement it "properly".

@izzylys are there phases in ArchiCAD too? If so, can you suggest a generic definition we could use here?

It is probably enough to have it as text. I checked IFC and there they also only have one parameter.
I will implement this in Objects.Converter.Revit.ConvertToSpeckle() I hope that will work

Done in #1691


[WinError 193] %1 is not a valid Win32 application

Hi, I'm starting to work in Jupyter Notebook and encountered some problems in the first Jupyter Notebook of course v3.
When I run
# Import necessary libraries from fastai.vision import *  import matplotlib.pyplot as plt
This happens
`---------------------------------------------------------------------------
OSError                                   Traceback (most recent call last)
 in
1 # Import necessary libraries
----> 2 from fastai.vision import *
3 import matplotlib.pyplot as plt
C:\ProgramData\Anaconda3\lib\site-packages\fastai\vision_init_.py in
----> 1 from .. import basics
2 from ..basics import *
3 from .learner import *
4 from .image import *
5 from .data import *
C:\ProgramData\Anaconda3\lib\site-packages\fastai\basics.py in
----> 1 from .basic_train import *
2 from .callback import *
3 from .core import *
4 from .basic_data import *
5 from .data_block import *
C:\ProgramData\Anaconda3\lib\site-packages\fastai\basic_train.py in
1 "Provides basic training and validation with Learner"
----> 2 from .torch_core import *
3 from .basic_data import *
4 from .callback import *
5 from .data_block import *
C:\ProgramData\Anaconda3\lib\site-packages\fastai\torch_core.py in
1 "Utility functions to help deal with tensors"
----> 2 from .imports.torch import *
3 from .core import *
4 from collections import OrderedDict
5 from torch.nn.parallel import DistributedDataParallel
C:\ProgramData\Anaconda3\lib\site-packages\fastai\imports_init_.py in
----> 1 from .core import *
2 from .torch import *
C:\ProgramData\Anaconda3\lib\site-packages\fastai\imports\core.py in
1 import csv, gc, gzip, os, pickle, shutil, sys, warnings, yaml, io, subprocess
----> 2 import math, matplotlib.pyplot as plt, numpy as np, pandas as pd, random
3 import scipy.stats, scipy.special
4 import abc, collections, hashlib, itertools, json, operator, pathlib
5 import mimetypes, inspect, typing, functools, importlib, weakref
~\AppData\Roaming\Python\Python37\site-packages\matplotlib_init_.py in
136 # cbook must import matplotlib only within function
137 # definitions, so it is safe to import from it here.
--> 138 from . import cbook, rcsetup
139 from matplotlib.cbook import (
140     MatplotlibDeprecationWarning, dedent, get_label, sanitize_sequence)
~\AppData\Roaming\Python\Python37\site-packages\matplotlib\cbook_init_.py in
29 from weakref import WeakMethod
30
---> 31 import numpy as np
32
33 import matplotlib
~\AppData\Roaming\Python\Python37\site-packages\numpy_init_.py in
138
139     # Allow distributors to run custom init code
--> 140     from . import _distributor_init
141
142     from . import core
~\AppData\Roaming\Python\Python37\site-packages\numpy_distributor_init.py in
24                 # NOTE: would it change behavior to load ALL
25                 # DLLs at this path vs. the name restriction?
---> 26                 WinDLL(os.path.abspath(filename))
27                 DLL_filenames.append(filename)
28     if len(DLL_filenames) > 1:
C:\ProgramData\Anaconda3\lib\ctypes_init_.py in init(self, name, mode, handle, use_errno, use_last_error)
362
363         if handle is None:
--> 364             self._handle = _dlopen(self._name, mode)
365         else:
366             self._handle = handle
OSError: [WinError 193] %1 is not a valid Win32 application`
Did I not install something? What do I do. Thanks.

Have you installed fastai using conda install -c fastai fastai?


Change default format of ${exception} to ToString,Data (was Message)

related: https://github.com/NLog/NLog/issues/1959

Codecov Report

Merging #3458 into dev will increase coverage by <1%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##             dev   #3458    +/-   ##
======================================
+ Coverage     81%     81%   +<1%
======================================
  Files        343     343
  Lines      27788   27798    +10
  Branches    3758    3758
======================================
+ Hits       22411   22420     +9
  Misses      4295    4295
- Partials    1082    1083     +1

Updated wiki: https://github.com/NLog/NLog/wiki/Exception-layout-renderer


I need the way to check the cache whether on memory

If the cache is on memory, do objectForKey synchronously, if not, asynchronously.

created Pull requests


AMBARI-23068 Service Auto Start cannot be disabled

How was this patch tested?
21428 passing (28s)
48 pending

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/791/
Test FAILed.
Test FAILured.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/825/
Test PASSed.


Proposal: gRPC Message Size API

Summary
Add an API to change the default gRPC message size. Currently, Ballerina gRPC default message size is 4 MB. This size is enough for most use cases, but better to have an API to change the default message size in case a user want to receive a large payload.
Goals
To provide an API to change the default message size.
Non-Goals
Provide a mechanism to help prevent gRPC from consuming excessive resources.
Motivation
To pass large messages between the gRPC client and server.
Description
Currently, Ballerina gPRC supports receiving messages of size up to 4 MB and there is no size limit on outbound messages. By limiting the inbound message size, a protection is provided to clients who haven't considered the possibility of receiving large messages while trying to be large enough to not be hit in normal usage. No limit is provided for outbound messages since it is the decision of the user to send large messages. This default behaviour can be seen in other existing implementations too. But those implementations provide the user with the facility to limit both the outbound message size, and the inbound message size [1,2,3,4].
This feature needs to be introduced in Ballerina gRPC implementation as well. For that, an API will be provided as follows which allows to change the outbound message size (maxOutboundMessageSize) and inbound message size (maxInboundMessageSize).
Set outbound message size
# Sets the maximum size to be permitted for outbound messages
#
# + size - Maximum message size to be set
# + return - A `grpc:Error` if an error occurs while setting the size or else `()`
public isolated function setMaxOutboundMessageSize(int size) returns grpc:Error?;

Set inbound message size
# Sets the maximum size to be permitted for inbound messages
#
# + size - Maximum message size to be set
# + return - A `grpc:Error` if an error occurs while setting the size or else `()`
public isolated function setMaxInboundMessageSize(int size) returns grpc:Error?;

The client and the server behaviour should be as follows when supporting dynamic message sizes.

If a Server/Client sends a message which is larger than the specified maxOutboundMessageSize size, the Server/Client must fail with RESOURCE_EXHAUSTED error.
If a Server/Client sends a message which is larger than the specified maxInboundMessageSize size, the Client/Server must fail with RESOURCE_EXHAUSTED error.

Testing
We have to test this functionality based on the following scenarios.

Server/Client must return a RESOURCE_EXHAUSTED error when trying to send a message with a size larger than the specified maxOutboundMessageSize size.
Server/Client must return a RESOURCE_EXHAUSTED error when the Client/Server sends a message which is larger than the specified maxInboundMessageSize size.
Server/Client must communicate successfully when sending and receiving messages with the specified maxOutboundMessageSize and maxInboundMessageSize sizes.

References
[1] https://pkg.go.dev/google.golang.org/grpc#MaxRecvMsgSize
[2] https://pkg.go.dev/google.golang.org/grpc#MaxSendMsgSize
[3] https://grpc.github.io/grpc-java/javadoc/io/grpc/stub/AbstractStub.html#withMaxOutboundMessageSize-int-
[4] https://docs.microsoft.com/en-us/aspnet/core/grpc/security?view=aspnetcore-6.0#message-size-limits

Better to make the errors of these APIs as grpc:Error?
# Sets the maximum size to be permitted for outbound messages
#
# + size - Maximum message size to be set
# + return - A `grpc:Error` if an error occurs while setting the size or else `()`
public isolated function setMaxOutboundMessageSize(int size) returns grpc:Error?;

Better to make the errors of these APIs as grpc:Error?
# Sets the maximum size to be permitted for outbound messages
#
# + size - Maximum message size to be set
# + return - A `grpc:Error` if an error occurs while setting the size or else `()`
public isolated function setMaxOutboundMessageSize(int size) returns grpc:Error?;

Updated

@dilanSachi Shall we also have a sample code of how these APIs are used on both client and server-side?

@daneshk @shafreenAnfar @BuddhiWathsala updated according to the offline discussion


About Us Page

Pretty Designed About Who We Are Page

please provide the contents of about us page

please let the about us page explain in details what donate a seed is all about


Add visual indicator for extension packs in extension search results

Today, it's possible to see the extensions that are part of an extension pack, but that requires that I click on the extension then click the "extension pack" header. I'd like to know, without clicking, that an extension is an extension pack via some kind of icon in the header.
It would be nice to link directly to the extension pack details (list of extensions in the pack) if the extension pack icon is clicked.

@misolori Any suggestions for visual indications?

Here's a couple of ideas:
1. Multiple tile thumbnail
We could load the various thumbnails of the other extensions into a grid

2. Stacks view
We can try and make the image look like a "stack" of icons so that it appears to be many

3. Number badge
We could re-use our badge and append the total number of extensions in the pack. This could get a little busy with remote extensions since those have a remote badge in the bottom right.

4. Icon badge
This could also get busy with the remote badge but provides an entry point into the extension pack.

I like the number badge since it doesn't obscure the icon and clearly shows what you're getting into.
I'd also like to see the extension pack prioritized in the search results with all extensions in the pack nested underneath. Something like this

That way, I can see what exactly is included in the tiles and even install just a couple of what's included without grabbing the pack and uninstalling/disabling things I don't want.

Placing the extensions under the pack like that would take up a lot more space. What if we added a small row under the extension pack author and placed the icons there like:

Okay, yeah. I like that.
Next, is there any way to make the "Extension Pack" menu more obvious after clicking into and extension pack? The detail I'm looking for exists, but it's not super obvious.

We could try to bring in that content closer to the details page:

I'm definitely feeling that 👍

And here's what it would look like if you did a search for all extensions packs, to see how busy it could get. This means we'd need to cap the number of extensions we show for each pack:

Great ideas. I like the last proposal.

After getting feedback from the team, it appears the first option (tiles) is the favorable one since it doesn't feel too "heavy" compared to the extra row of icons.

Deferring the implementation to next milestone.

It would be nice to have collapsible groups of extensions in general. The extensions in a given group wouldn't have to be indented, taking more space to show. Instead, when expanded the group underneath could just share a slightly different background color and maybe an inset shadow to show the grouping. I just created a quick CodeSandbox here based on the TreeView from material-ui to demonstrate the concept. Here's a picture too:

My extension list is already so cluttered, it's hard to manage. Ultimately, I'd love to see grouping based on package and/or user-defined tags but at least being able to group and collapse extension packs would be amazing!

Even though the tiles option is favourable, it is complex to implement and also not efficient. Because there is no information about the icons. It needs multiple queries. Hence I took the badge option.

Enhanced extension editor to show extension packs in the main page

my $0.02 when verifying: it feels weird to have multiple scrollable regions together like this. Does that region need to scroll? I don't imagine we'll have packs with a dozen extensions to the point that it becomes overwhelming

Yeah there are enough number of extension packs with atleast more than 4 extensions. I do not want read me to be pushed much further down. Above is the ideal proportional size for extensions and read me.
Agree that two scroll bars is not ideal but not odd :)

I think it would be worthwhile to update the extension pack items from the mockups above:

Reduce the width of the extension packs so we can fit three in a row
Hide extra meta data clutter (description, install button, install count, etc.)

If you do happen to get into a place where there are more extensions and you need to scroll, it can look like like there is only a certain amount and can be misleading (see below). And double scroll bars is something we intentionally avoid so we should allow the height to be dynamic.

✅  Reduce the width of the extension packs so we can fit three in a row
✅  Hide extra meta data clutter (description, install button, install count, etc.) (Except install button)

I am not comfortable to have dynamic height for extensions, because this will push read me to bottom. See the following screen shot - Extension pack with many extensions (ignore the overlay)

My suggestion: Show scroll bar if an extension pack has more than 9 extensions. I think its a fair middle ground.

Ok let’s try that limit to see how it goes. Would be nice to set the height so that if there are more than 9
The next row is partially visible to indicate more.
For showing the install button, why is this useful in this case? Isn’t the point and the guidance to install the extension pack which install all the extensions? I don’t see the point of having that button visible.

Would be nice to set the height so that if there are more than 9
The next row is partially visible to indicate more.

Good idea.

For showing the install button, why is this useful in this case? Isn’t the point and the guidance to install the extension pack which install all the extensions? I don’t see the point of having that button visible and defeats the purpose of the extension pack.

Don't want to limit and also want to give consistent representation of extension. Manage action is also available if the extension is already installed.

Don't want to limit and also want to give consistent representation of extension

But we've never showed this additional info before on the extension pack view, here is stable:

IMO, the additional meta data feels unnecessary adds more visual noise to an already busy page.

But we've never showed this additional info before on the extension pack view, here is stable:

Its an improvement from stable. It will make it easy for me to browse an extension pack and install the extensions I want from that pack individually. Also the same for uninstalling.

Instead of a double scrollbar, wouldn't it make more sense to make the section expandable with a button/link at the bottom middle or left of the list of extensions that just says "Show more" or "Show all extensions" or something to that effect? That way the readme is still visible but the user can choose to expand the extension list as part of the one scrollable content area.

Another option is to just have the list overflow horizontally and scroll left and right, instead of up and down.

Filed https://github.com/microsoft/vscode/issues/94346 for expandable/collapsible section.

It seems we determined the expandable/collapsible section wasn't feasible. Are there other approaches? I was watching Clarkio's stream today and he ran into this issue: https://clips.twitch.tv/CharmingLivelyPrariedogRiPepperonis

@connor4312 I hadn't noticed the comment on the other issue that was opened to track it but it seems there was a misunderstanding based on the comment and the screenshot. There shouldn't be any feasibility problem as long as the expandable area is inserted at the top of the readme in the same scrollable area instead of expanding above the scrollable area and shrinking it.

Lets continue the discussion in #94346


Update configure-kubenet.md to include caveat about kuberouter

@knee-berts : Thanks for your contribution! The author, @iainfoulds, has been notified to review your proposed change.

Thanks, @knee-berts
#sign-off


Fix table column auto-sizing

The bug was that the amount of allocated space was never reported up the Ui chain
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[x] If applicable, add a new check to the release checklist!
[x] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

It's still relatively easy to reach a "wrong width situation":

create a new dataframe view (single row showing since latest-at)
switch to "Define time range" (often still single row showing since the default PoV component is not the correct one)
chose a suitable PoV component -> many rows appear, several wrong column sizes

e.g.

This probably makes sense since we salt the table with the schema (which doesn't change between step 2 and 3). Maybe adding the pov component to the salt might be a good idea.


Doesn't populate PHP DocBlocks Unless Syntax is set to 'Plain Text'

Hi,
I am running Sublime Text 3 (3059) on OS X 10.9.2.
I've tried this with both the version on Package Control as well as cloning directly from here.
The plugin works as expected for JavaScript, however the PHP docblock will not populate if the syntax is set to 'PHP.' If it's set to 'Plain Text,' everything works as expected.
Result of logging commands in ST is the same in both cases, though, it's command: jsdocs.
Any ideas on how this could be fixed?
Thanks so much

Having the same problem here, when I try to have a function documentated just when I finish to type /** the folowing lines are highlighted in red and can't press enter on the comment line, unless i delete the /**. Works for JS and plain text.

Everything seems normal on my machine. Can you see if there's any errors in the console? Do you have a small example file which exhibits the error?

In the console thsi is the error I get
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 556, in run_
return self.run(edit)
File "jsdocs in C:\Users\manu\AppData\Roaming\Sublime Text 3\Installed Packages\DocBlockr.sublime-package", line 163, in run
File "jsdocs in C:\Users\manu\AppData\Roaming\Sublime Text 3\Installed Packages\DocBlockr.sublime-package", line 358, in parse
File "jsdocs in C:\Users\manu\AppData\Roaming\Sublime Text 3\Installed Packages\DocBlockr.sublime-package", line 426, in formatFunction
File "jsdocs in C:\Users\manu\AppData\Roaming\Sublime Text 3\Installed Packages\DocBlockr.sublime-package", line 501, in parseArgs
File "jsdocs in C:\Users\manu\AppData\Roaming\Sublime Text 3\Installed Packages\DocBlockr.sublime-package", line 509, in getArgInfo
File "jsdocs in C:\Users\manu\AppData\Roaming\Sublime Text 3\Installed Packages\DocBlockr.sublime-package", line 812, in getArgName
AttributeError: 'NoneType' object has no attribute 'group'
and this is the screenshot of the moment

You have a syntax error there: the variables need to start with a $
function newFunction ($a, $b) { .. }

That's embarassing, sorry I completely forgot about them, was working with other language and completly forgot about basics syntax. Thanks, for the reply, for the other things, this plugin is just mind blowing.

No worries!


Demo has errors

The demo is generating strings for numeric properties. This causes adjustments to showDuration and other numeric properties to have no effect, and the example options output is wrong.

Will review this soon.

@TimFerrell I want to fix this one!

Go for it!

Here you go :dart:


[vite]: Rollup failed to resolve import "vite-plugin-node-polyfills/shims/global"

My project using vite for bundle and when I run tsc -b && vite build
it return this error
error during build:
[vite]: Rollup failed to resolve import "vite-plugin-node-polyfills/shims/global" from "<project<EMAIL_ADDRESS>This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to

My vite.config.ts file
import path from "path"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"
import { nodePolyfills } from 'vite-plugin-node-polyfills'
export default defineConfig({
  plugins: [react(), nodePolyfills({
    globals: {
    },
  }),],
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src"),
    },
  },
})

This because my local dependencies does not install vite-plugin-node-polyfills you should install it


Revert "When resized network image has error, all future unrelated images using the same url will fail, even if the network becomes OK"

Reverts flutter/flutter#127456.
context: b/296971381
Affect a test case from the dragonglass team, where the background picture used to be displayed properly, but becomes completely black after this change.

We followed up with the Google team and they approved the golden change. The issue was implicit as it wasn't something they explicitly wanted tested


Demo project false alarms in CI

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3358
Originally created by @aaronsteers on 2022-03-30 15:43:48

The Demo Project failures appear to be happening on non-main branch failures, and these are hitting the #meltano-alerts channel as false alarms.
We should probably considering disabling the alert notification or limiting notifications (if we can) to just those driven by the main/stable meltano branch pipelines.
Example pipeline failure: https://gitlab.com/meltano/demo-project/-/pipelines/504920453

View 5 previous comments from the original issue on GitLab


libc: newlib: 'gettimeofday' causes stack overflow on non-POSIX builds

Describe the bug
Calling 'gettimeofday' in a non-POSIX build results in recursive calls and ultimately causes stack overflow.
gettimeofday ->_gettimeofday_r -> _gettimeofday -> gettimeofday
Merging #35417 has introduced this issue. This merge has broken the fix added by #22508 for a similar recursion issue.
The fix in #35417 probably fixed the gettimeofday for POSIX builds, but has broken the non-POSIX builds.
To Reproduce
Steps to reproduce the behavior:

Modify prj.conf of samples/posix/gettimeofday to:

    CONFIG_MAIN_STACK_SIZE=2048
    CONFIG_NEWLIB_LIBC=y

Comment out sleep(1) in samples/posix/gettimeofday/src/main.c
west build -p always -b qemu_cortex_m3 samples/posix/gettimeofday
Check the build/zephyr/zephyr.lst to see the recursive calls as mentioned above.

Logs and console output
From zephyr.lst:
    00002c18 <gettimeofday>:
        2c18: 4b02       ldr r3, [pc, #8] ; (2c24 <gettimeofday+0xc>)
        2c1a: 460a       mov r2, r1
        2c1c: 4601       mov r1, r0
        2c1e: 6818       ldr r0, [r3, #0]
        2c20: f000 bcce b.w 35c0 <_gettimeofday_r>

    000035c0 <_gettimeofday_r>:
        35c0: b538       push {r3, r4, r5, lr}
        35c2: 2300       movs r3, #0
        35c4: 4d06       ldr r5, [pc, #24] ; (35e0 <_gettimeofday_r+0x20>)
        35c6: 4604       mov r4, r0
        35c8: 4608       mov r0, r1
        35ca: 4611       mov r1, r2
        35cc: 602b       str r3, [r5, #0]
        35ce: f7fd fddb bl 1188 <_gettimeofday>

    00001188 <_gettimeofday>:
        1188: b538       push {r3, r4, r5, lr}
        118a: 4604       mov r4, r0
        118c: 460d       mov r5, r1
        118e: 4804       ldr r0, [pc, #16] ; (11a0 <_gettimeofday+0x18>)
        1194: 4629       mov r1, r5
        1196: 4620       mov r0, r4
        1198: e8bd 4038 ldmia.w sp!, {r3, r4, r5, lr}
        119c: f001 bd3c b.w 2c18 <gettimeofday>

Environment:

OS: Ubuntu Linux
Toolchain: Zephyr SDK 0.13.1

Fix suggestion
Modifying the _gettimeofday in lib/libc/newlib/libc-hooks.c to call gettimeofday() only for POSIX builds may fix the problem.
    int _gettimeofday(struct timeval *__tp, void *__tzp)
    {
    #ifdef CONFIG_POSIX_API
	    return gettimeofday(__tp, __tzp);
    #else
	    return -1;
    #endif
    }

Modifying the _gettimeofday in lib/libc/newlib/libc-hooks.c to call gettimeofday() only for POSIX builds may fix the problem.

@binujacob1337 Since you have already suggested a fix for this, would you be interested in opening a PR for it?

@aurel32 Could you please provide the details of build environment that needed the fix in  #35417?

I used the Zephyr toolchain (version available around that time), on a SAM E70 board. That was using the posix/gettimeofday without any further changes. I am not sure I remember more details, sorry.

Thanks for the board info @aurel32!


unicharset_extractor error in Centos7.

Hi, I go to the point, I built the package on a disk with Linux in which the program worked perfectly, then I wanted to implement it on another disk with CentOS 7 minimal and started to give problems, mainly related to the installation of leptonica and tesseract. After advancing I went to fix them I found the main failure, the tesseract can not execute the make install training, because it is commented on the Makefile, because the autogen and the configure that generates it should comment.
I tried to install tesseract as they said in the Wiki (to install it from a repository, but in version 3.04) and now I create the functions that it needs, but it stays in an infinite loop.
make training
unicharset_extractor --output_unicharset "data/unicharset" --norm_mode 1 "data/all-boxes"
Any ideas?

Please use the Tesseract user forum for asking questions. The GitHub issues are the wrong place for this.


Add reaction option to hide arc center

Add an option to the reaction panel to hide the arc center.

Instead of adding an option to view of hide the arc center, its better to only show it if the reaction is selected.


⚠ ClamAV has degraded performance

In 1ba07d4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 452 ms

Resolved: ClamAV performance has improved in ce32c32 after 1 hour, 36 minutes.


Quickstart command on introduction page not working

Hi!
I ran:
npx degit github:framesjs/frames.js/examples/framesjs-starter#main framesjs-starter

Following the instructions on the introduction page here and it results in the following error:
❯ npx degit github:framesjs/frames.js/examples/framesjs-starter#main framesjs-starter

zsh: no matches found: github:framesjs/frames.js/examples/framesjs-starter#main

Oddly when I omitted #main the command worked 🤔
Looking at degit's docs it does seem to be the correct syntax.

Strange, works for me. What OS are you on?


Patch for config system to deal with {:system}

Fetches variables out of System.env if Application.get_env
returns a {:system, name} tuple
Also patches to parse integers if they are passed as binstrings.

Thanks! :+1:


Update entity-properties.md

🚀 Deployed on https://653094e5ea419949d4e43197--cozy-fox-0defec.netlify.app


Fix type alias display

Fixes #10337 and #12066.

@mhegazy @yuit This one properly fixes the issues we had with displaying generic type aliases. We may need to port these changes to other branches.


Udpate frontend-operator and enable GenerateChromeConfig for eph envs

This PR updates the frontend-operator and brings in the new GenerateChromeConfig option. This will ensure that chrome configs are built on the fly for apps launched in ephemeral environments.

/retest

/retest

/retest

/retest

I'm going to need to leave this out so I can use the system in its current state for testing, as we've found a problem with how chrome picks up the sso url. I'll circle back to this as soon as I can.

Let me know and I'll review it :D

/retest


(introspection) - Passing SDL to getIntrospectedSchema errors with "Cannot use GraphQLSchema (...) from another module or realm."

urql version & exchanges<EMAIL_ADDRESS><EMAIL_ADDRESS>Steps to reproduce
You can reproduce it with this example project I uploaded: https://codesandbox.io/s/github/CherryDT/urql-issue-repro
If the sandbox is already running, you won't see the error, so you have to fork it to see it failing. You can also just install the repository manually:
git clone https://github.com/CherryDT/urql-issue-repro
cd urql-issue-repro
npm install
npm start

The relevant code is:
import { createClient, dedupExchange, cacheExchange, fetchExchange } from '@urql/core'
import { readFile } from 'fs/promises'
import { getIntrospectedSchema } from '@urql/introspection'

// ...

const sdl = await readFile(new URL('./schema.graphql', import.meta.url), 'utf8')
const schema = await getIntrospectedSchema(sdl)

const client = createClient({
  url: 'http://localhost:8080/graphql',
  exchanges: [
    dedupExchange,
    cacheExchange({ schema }),
    fetchExchange
  ]
})

Expected behavior
No error.
Actual behavior
Error:
Error: Cannot use GraphQLSchema "{ __validationErrors: undefined, description: undefined, extensions: {}, astNode: undefined, extensionASTNodes: [], _queryType: Query, _mutationType: Mutation, _subscriptionType: undefined, _directives: [@include, @skip, @deprecated, @specifiedBy], _typeMap: { Tweet: Tweet, ID: ID, String: String, User: User, Stat: Stat, Int: Int, Notification: Notification, Meta: Meta, Url: Url, Date: Date, Query: Query, Mutation: Mutation, Boolean: Boolean, __Schema: __Schema, __Type: __Type, __TypeKind: __TypeKind, __Field: __Field, __InputValue: __InputValue, __EnumValue: __EnumValue, __Directive: __Directive, __DirectiveLocation: __DirectiveLocation }, _subTypeMap: {}, _implementationsMap: {} }" from another module or realm.

Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.

https://yarnpkg.com/en/docs/selective-version-resolutions

Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.
    at instanceOf (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/jsutils/instanceOf.js:43:19)
    at isSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/schema.js:32:37)
    at assertSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/schema.js:36:8)
    at validateSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/validate.js:34:28)
    at assertValidSchema (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/type/validate.js:56:18)
    at assertValidExecutionArguments (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/execution/execute.js:194:35)
    at execute (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/execution/execute.js:113:3)
    at executeSync (/mnt/c/Users/david/Temp/urql-test/node_modules/graphql/execution/execute.js:161:18)
    at getIntrospectedSchema (file:///mnt/c/Users/david/Temp/urql-test/node_modules/@urql/introspection/dist/urql-introspection.mjs:20:11)
    at main (file:///mnt/c/Users/david/Temp/urql-test/index.js:7:24)

I tried npm ls graphql but there is only one instance of the package installed.

Hm, looks like this is related to Node.js resolution where import { executeSync } from 'graphql' isn't resolved as the .mjs versions (i.e. exports) however, the other files, e.g. import { getIntrospectionQuery as t } from "graphql/utilities/getIntrospectionQuery.mjs"; are, since they're linked directly.
So, this is likely Node.js version dependent, but since we've got a new version of babel-plugin-modular-graphql that should resolve this, I can probably republish the package to fix this

I see. Thanks.
In the meantime, I implemented this very ugly hack:
import { createRequire } from 'module'
const require = createRequire(import.meta.url)

const instanceOfModule = require('graphql/jsutils/instanceOf.js')
instanceOfModule.instanceOf = (value, constructor) => {
  if (value instanceof constructor) return true

  if (typeof value === 'object' && value !== null) {
    const className = constructor.prototype[Symbol.toStringTag]
    const valueClassName = value[Symbol.toStringTag]
    // Do allow this case to work around https://github.com/FormidableLabs/urql/issues/2250
    if (className === valueClassName) return true
  }

  return false
}

~~But this now showed me a new problem with my code, maybe you can give me a hint of what could be wrong (I guess I'm doing something wrong in this case so I'm not sure it warrants its own issue): I'm getting r is not a function which comes from ~~ Yeah thanks for your edit, I was just typing a question about that. That would explain it! I thought those two things are the same. Thank you!

Question - Now I instead have the issue that the generated schema has tons of empty objects instead of real data, which then leads to a crash when accessing e.types[e.mutation] since e.types is an empty object as well. Could this be related to my workaround (so I should just wait for the release instead) or would that be something else entirely?

I took a look and that isn't reproduceable to me. Not sure if something went wrong when you stringified it, but it does look to be behaving fine for me now when I'm testing out the fixed build

I couldn't get it to work, now I used this method instead and it works fine now.


Check for scripts to run in the npm scripts

What do you think of this? Given:
{
  "scripts": {
    "pre-commit": "eslint src/"
  }
}

ghooks would run:
npm run pre-commit

This would make #26 unnecessary for my personal use case (though still handy probably).
The one thing that I can't quite figure out is how to still support #23 with this... In the case of #23, I would expect the arguments to still get forwarded on:
{
  "scripts": {
    "commit-msg": "validate-commit-msg $1"
  }
}

ghooks would run:
??? how does it forward on the arguments

So, for cases where the arguments are needed, you'd probably still have to use the ghooks in config....
After having written this, I'm questioning whether it'd be worth it. Thoughts?

I think we should close this one, and focus on #26.
This sort of behavior is confusing to users and I think that different options for ghooks is the way to go.
Also, with #24 merged, its irrelevant :sweat_smile:

Agreed. I'm actually almost finished with #26 :-)


Pin QGIS patch release.

We still need to investigate why the newer (unreleased) patch versions breaks, and maybe also try to run newer QGIS releases to detect whether this happens upstream as well.
This is the release branch https://github.com/qgis/QGIS/commits/release-3_28/, although it could be some error deeper in the build chain used to create the image, apart from the QGIS code.

Same issue, do you need an older patch release?

No this worked locally, whereas the old version failed. Might not be related to the version at all.

A new version was pushed ~6 hours ago and that version also works on my machine now. So it might be a race condition.

Same test failure on master after merging this: https://github.com/Deltares/Ribasim/actions/runs/7530011861/job/20495487468


Changed import method for Localytics provider

With old import method an import error is raised on compile time.

This breaks if the project does not use dynamic frameworks. To make it compatible with both, static and dynamic libraries, could you please use #import <Localytics/Localytics.h>?

        1 Error

  </th>
 </tr>

:no_entry_sign:
Please include a CHANGELOG entry.
You can find it at CHANGELOG.md.

  Generated by :no_entry_sign: danger

Thanks


Tprinter refactor (support Cell type, compat majority old interface, TODO: support column sort&filter)

#281


Support parsing links to C++ operators with trailing anchors and disambiguation

Bug/issue #, if applicable: rdar://119616317
Summary
This improves support for parsing links to C++ operators so that operator/= and operator-=-hash are treated as single components (the latter with hash disambiguation).
It also refractors the path parsing code to extract and reuse common logic to make the main implementation more readable.
This is a small change (~100 LOC) with mostly tests (~200 LOC) and a very large symbol graph test file (7k+ LOC).
Dependencies
None
Testing
Define a type with some C++ operators.

It should be possible to link to operator/ and operator/=.
It should be possible to link to operator- and operator-- with disambiguation (adding an extra - to each link)

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
~[ ] Updated documentation if necessary~

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test


hotel v0.8.7 is not working on ubuntu 18.04

hey,
the title is very clear. when I open the application from inside hotel page . it is pause for 10 seconds . and then view this error
This site can’t be reached
localhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

there is no error in the daemon log file.

Seeing the same here on Zorin OS 15.1, which is based on Ubuntu 18.04. Did anyone ever solve this?


ACQ fix cast to uuid in feesfines_accounts_actions derived table

with "Poppy" upgrade additional casting is needed from text to uuid

closed by commit 0da2c38


fixed interaction bug, where it was only possible to rightclick disc when aiming at a block

It is now possible to rightclick the disc at any time, not just when aiming at a block

Looks great, thanks


Teach pflag to handle unambiguous abbreviated  long-args

add a new abbreviation generator (abbrev.go) with tests
teach flag.go to build an abbrev table for long args and look it up and add tests to verify new behavior
Fix "spurious new line" error from use of Println()

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sudhi Herle seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Move the alt text indicator off of the images

The "ALT" indicator has a bad habit of covering up parts of the image, which seems counter-productive. I tried a couple of other ways to do it, this is what I found. Thoughts?

Grid
Single

Converting to draft because team isnt in agreement on this

No consensus


  I'ld be happy to contribute, tell me if you need anything specific. Im starting out on zig but have a strong c/obj c background

Thanks!
The hash mismatch issue comes from a ziggy problem in the tree-sitter package. I will pull an update to fix it too.


On delete/update Cascade & Setnull & Restrict Foreign Key Constraints implemented

Basically I finish following stuff here:

Foreign Key Constraints On Delete/Update “restrict”, “cascade” and “setnull”;
Enrich the transcation_testutil to support modifying multiple tables in a transaction and to support secondary index and third column;
Launch tests for the Foreign Key Constraints On Delete/Update Action

I also refract the foreign key implementation. Now all the foreign key checks are moved to foreign_key.cpp
I also fix some bugs in my implementation, especially the misuse of fk_column_offsets and pk_column_offsets.
Strengthened tests are also added for the foreign key.

Add a function YieldOwnership to txn_manager to fix the bug that update constraint fail didn't release the ownership acquired earlier


Cleaned Manual: Removed obsolute screenshots, renamed screenshots, fi…

…xed wrong paths, added extra text to new steps

All is well.


ENH: wrapped remaining v4 Registration classes

See #3099
Added Python testing to existing wrapped classes and added ones
Fixed bug in class naming of itkANTSNeighborhoodCorrelationImageToImageMetricv4 (was erroneously set to "Self")
Moved any wrapping commands for the RegistrationParameterScales classes from parameter .wrap files into central ones
Created itkMetricv4Types.wrap which is used by the RegistrationParameterScales classes wrapping
RegistrationParameterScales classes are in the Metricv4 folder to prevent a cyclic build dependency

PR Checklist

[ ] No API changes were made (or the changes have been approved)
[ ] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

I'll rebase this after a cup of coffee in the AM.

@brad-t-moore niiiice!

Maybe break it up into a few commits

I don't think this is necessary.

I'll try building on my Linux box.  It says a type has the wrong class name.  It might be something filename (case-insensitivity) related.

I get the type warnings but not the errors on my Linux machine- will look into how the CI is configured.

Ack, I think I royally messed up this branch through git.  I had a local second "master" that was created a while back and I think with the merge I did there isn't a good way to squash it without messing up the commit history.  I think I'm going to close this PR and just make a second clean one.

Replaced by PR #3177 to fix git issues.


Graphs only?

Hi,
I am very interested in this project, but will it also support the document API of OrientDB too? What will make it better than this project? https://github.com/doctrine/orientdb-odm
Scott

The difference is that spider comes with several drivers. Currently we are building one for Orient, Neo4j, and Gremlin. So, you can switch between or use multiple graph databases in a single codebase or across several projects without having to relearn everything.
Spider will also be extensible, and I intend to create an extension that will give Spider some orient-specific features for those using it with orient.
Once 1.0 is reached, we should have:

An awesome query builder with powerful traversal and subquery capability (which odm doesn't support, really)
A full schema builder that works across graph databases
Models and an Object Graph Mapper
databinding, validation, caching, and logging
be composable so you can use only the pieces you want
be able to create other drivers (theoretically even for mysql, mongo, or whatever

We are nearing a pretty big pre-release that should show the potential. You can also check out the docs at http://spider-ogm.readthedocs.org/en/develop which I'm writing now.
Also, odm hasn't been updated in a while. It's a great library. This is just an alternative :)

An awesome query builder with powerful traversal and subquery capability (which odm doesn't support, really)

Yeah, I was thinking it didn't to that, which means your project is even more interesting to me now. It might even (probably will) be a basis for my project. www.skooppa.com
Scott

Cool. Let me be clear. It doesn't have traversals, yet. That should be in the next few weeks. If you have any ideas on API design (how you would like to use traversals), please leave a comment on Issue #19.

Moving this discussion to #19


Make TSVConnInacitivityTimeoutCancel work as expected.

Without this change, the set_inactivity_timeout(0) will in fact set the inactivity timeout to proxy.config.net.default_inactivity_timeout rather than just eliminating the timeout.  Most of the time it is not desirable to clear the inactivity timeout, but if we have a PluginAPI that promises to do that, we should actually implement it correctly or remove the API.
I ran across an internal plugin where canceling the inactivity timeout on a secondary pipe that was made a TSVConn made sense.  Not actually cancelling the timeout caused an additional week of confusion before we just set the inactivity timeout "really high".
Discussed this issue in #5691

[ci approve clang-analyzer]

[approve ci clang-analyzer]

[approve ci clang-analyzer]


'Kerbalstuff' outages, contingency?

Might be just my impression, but Kerbalstuff seems to be increasingly unreliable as of late.
Since a vast amount of packages have at least some dependencies to other packages hosted on KS, this is sort of an 'all eggs in one basket' situation.
What could the first steps towards a contingency plan look like for CKAN-meta?
Related: https://github.com/KSP-CKAN/CKAN/issues/1586

Closing in favour of the aforementioned https://github.com/KSP-CKAN/CKAN/issues/1586


Rails, devise, SPA, redirect to custom url (with param in query string) after logout and login (sign_out, sign_in)

I'm not to asking help.
i'm just wondering if this case is already discussed here: https://stackoverflow.com/questions/50234407/rails-devise-spa-redirect-to-custom-url-with-param-in-query-string-after-lo

Stack Overflow looks like a better place to keep this discussion.
But I took a look at your question there and I don't see another way to do what you need without using the session. You can try to use #store_location_for as some of the answers suggest, or roll your own solution.


Flutter 2.0.3: Error connecting to the service protocol: failed to connect to http://<IP_ADDRESS>:62719/OJaWBfEtnmY=/

I'm experiencing an issue with the Flutter template app when launching it on Flutter 2.0.3.
I'm getting this output
Launching lib/main.dart on SM J320H in debug mode...
Running Gradle task 'assembleDebug'...
✓ Built build/app/outputs/flutter-apk/app-debug.apk.
Installing build/app/outputs/flutter-apk/app.apk...
Error connecting to the service protocol: failed to connect to http://<IP_ADDRESS>:62719/OJaWBfEtnmY=/

I'm launching this app on a real Android device.
When launching with Flutter 1.22.5 - everything works fine.
Flutter doctor output:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H2 darwin-x64, locale
    en-UA)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.1.1)
[✓] VS Code (version 1.54.3)
[✓] Connected device (2 available)

• No issues found!

Hi @ldemyanenko
I see there's an open issue addressing the case you described.
Please follow up on that issue, Closing as duplicate of https://github.com/flutter/flutter/issues/77347
If you disagree, please write in the comments and I will reopen it.
Thank you


Listener arguments behavior breaks

Using the plugin breaks the Vue argument behavior for event listeners, that is you should be able to pass as many argument as you want (even when not using event modifiers).
For example:
function handleSort(field, sorting) {
  console.log(field, sorting)
}

return <Column onSort={handleSort}/>

For Column:
render (h, { props, listeners }) {
  function handleSortClick () {
    // ...
    listeners.sort(props.field, newSorting)
  }
  // ...
}

Currently, only the first argument is passed (all listeners are wrapped in a single-argument function).
sort($event) {
  handleSort($event);
}

It should at last be:
sort(...args) {
  handleSort(...args);
}

@Akryum, thank you for spending time with this project, this indeed is a bug and will be fixed asap.

Thanks! :)


In my fork, I changed the player to use plugins. What do you think?

Hello,
I was working on a fork of this project to make it highly extensible, with plugins. All UI elements are plugins, that can be registered (or not) in video player.
This way, we can build our own plugins without changing the player's XML.
All features of "app" module are working.
The only problem is: my fork is outdated with your develop branch.
This is the parent commit:  1bc4d5e
So, if you want to merge this fork on main project, just let me know and I will solve the merge conflicts before.

Can you introduce this plugin?  How use the plugin, like

Sure. Take a look at this classes, where I created and registered some plugins:
CustomThumbPlugin that loads an image using Glide
CustomSharePlugin and CustomBatteryPlugin

Yes. I didn't change any behavior.
Advantage: now, the player doesn't know anything about its UI elements'
layouts and behaviors. This code belongs to each plugin.
If we want to create a new button or hide a "default" component (like
battery or clarity), we don't need to change the jzvideoplayer XML. Just
create a new plugin (with its own layout XML file and listeners) and
register it on jzvideoplayerstandard implementation.
On Wed, Dec 12, 2018, 09:26 Nathen<EMAIL_ADDRESS>wrote:

I just debugged your code.
[image: image]
https://user-images.githubusercontent.com/2038071/49866571-185fde00-fe43-11e8-9290-97d3fbc71dc5.png
[image: image]
https://user-images.githubusercontent.com/2038071/49866602-2f9ecb80-fe43-11e8-9a6c-3fd1224f5733.png
They are the same function as far as I can see. What is your plugin
advantage?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lipangit/JiaoZiVideoPlayer/issues/2234#issuecomment-446554739,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ0vPm6OEcUEr_tB0lDJq7lAnbQ1aHJks5u4OfqgaJpZM4ZOX3Q
.

Your approach is very innovative and there may be many people who will support your approach. But my mind is limited to modifying the layout file.
So I suggest you introduce jzvd to do a library. If you modify the contents of jzvd, you can submit pr. Your project is to introduce jzvd library. Then I recommend it to you in the most conspicuous place of readMe. If anyone likes your project, go. use.


Had to rebuild my loginfiles for all of my accounts, today

After today's patch, I had to rebuild my loginfiles in order to log in to more than one accounts.
This is mostly an FYI for other people who come here looking for solutions.
It took multiple tries for some of the accounts.

thanks that helped. I thought there was an internet issue

I now deleted all accounts. After creating the first account, it worked properly. But i recognized, that after loggin out, the accounts logged in automatically to the char-screen.
After creating a second account, LB overwrites the data of the first account. Deleting application data or LB-Folder didn't change a thing.

Same for me after the May 11th update

Now, whenever Launchbuddy tries to automatically update loginfiles and it looks like it fails, I just manually re-set them and am able to continue as usual.
A failure seems to look like:

LaunchBuddy's small "updating loginfile" window pops up
GW2's launcher opens
The password is empty and the the login never happens
If I attempt to enter a password, set GW2 to remember the email and password, and log in, LaunchBuddy never recognizes it as a successful login

I've had to do this for almost every patch for a long long time.  Quietly hoping for a resolution someday.
I have my main account at the top of the list. I always update the login.dat file for that one last so when I launch gw2 from the desktop the credentials will be for 'main' account.

Likely a duplicate. Please reopen if not. https://github.com/TheCheatsrichter/Gw2_Launchbuddy/issues/237#issuecomment-850362540


Vector3.cs - Calculate Perpendicular vector

I think having a built in Create Perpendicular isn't too needed, As that's what a cross is already made todo.

Any chance we could keep it? I know what a Cross is for but I can't tell you how many times I needed an arbitrary Perpendicular vector from a single vector input.


Locate MSBuild sample is not up-to-date

I am using https://github.com/Microsoft/vswhere/wiki/Find-MSBuild to detect MSBuild 15 in batch file, but except the first snippet for batch file, the other two do not work, even if 1.0.47 version is used. Why?

I have updated the documentation.

Thanks. This time everything works like a charm.


datejs alternative

I read your todo file and stumbled upon the notice of checking out "datejs.com" for a date implementation. i used that too and had many little issues and as you already said: it's way to oversized.
I'm using moment.js at the moment as an lighweight alternative. maybe checkout this js lib ?
http://momentjs.com/
https://github.com/timrwood/moment

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!


Texture to byte[]

Can the texture be turned into a byte array to stream over a network?
Do you know how I can accomplish this? I'm trying to stream screen capture data over the network as bytes.
I'm using the DesktopDuplicator project to get a visual of the screen and now I just want to turn it into bytes to stream it.

In this case, DesktopDuplicator relies on Vortice.Direct3D11, so you can always use D3D for fine control over extracting color data optimally. StereoKit does have Tex.GetColors, but I'm not certain if it works well in this context or not, there's a lot of rules about pulling texture data into CPU side memory.
Streaming a whole desktop screen is a lot of work for computers and needs to be done carefully, so if you can get it compressed before moving it off the GPU, that'd be the ideal situation!


Forecast for 7 days using own daily "widget"

Used another approach to the daily forecast
In this PR we create the one-day card template and make it dynamic for 7 days of visualization

We used 16 days Forecast API and made logic to use only data for a week (https://openweathermap.org/forecast16)

@elmar8287 @dw2761 hey - I'm not sure it's best practice to have a PR in a "paused" state - probably best to close the PR for now, and send a new one when complete. What do you think?

@elmar8287 @dw2761 hey - I'm not sure it's best practice to have a PR in a "paused" state - probably best to close the PR for now, and send a new one when complete. What do you think?

@awilkescom totally agree. I am going to solve this issue 👍

@elmar8287 @dw2761 hey - I'm not sure it's best practice to have a PR in a "paused" state - probably best to close the PR for now, and send a new one when complete. What do you think?

@awilkescom totally agree. I am going to solve the conflicts and ask close the PR

Screen shot:

Hey @elmar8287 I think the conflict is maybe because you used yarn as your package manager instead of npm. What you could do in order to resolve this issue is:

Manually resolve the conflicts in package.json
Copy base branch's package-lock.json (in this case the head repo) and replace it with your existing one.
Then run npm install in your terminal and that should do it.

Also, @awilkescom I don't have the view access to conflicts in index.html & App.js files, could you possibly give me the access so I can help @elmar8287 in solving the conflicts?

@somadisingh Hey - you should have the rights on this repo, do you perhaps need the rights on @elmar8287 's repo?

Together with @elmar8287 on a meeting to resolve the conflicts

Update
The issue is with ForecastCard.js For some reason the data is not being fetched from the API. The mapping to the array data results in empty map which is in initial state.  @elmar8287 is currently working on the issue.

Hey @elmar8287 so could you resolve the conflicts before pushing this PR to main?

Hey @elmar8287 so could you resolve the conflicts before pushing this PR to main?

@somadisingh yeah, I am working on it 💯


pipenv install -e . is not documented

pipenv recommends running pipenv install -e . to install a local setup.py into the venv. But it is not documented when running pipenv install --help.

Thanks for the feedback. The help command gives a general overview and covers what each subcommand does. Being a terminal with limited space jts just not practical to cover usage examples for every command. -e is just ‘editable’ according to setuptools and pip, and only works for VCS dependencies. . is obviously a filesystem path but could be any path.
Closing for now since this just isn’t that practical I think

FWIW I was confused by this too and went looking at --help to see if I could find any reference to it.

-e is just ‘editable’ according to setuptools and pip, and only works for VCS dependencies

I don't quite understand why this couldn't be documented in pipenv, it seems like it's a pipenv command, so it should also have documentation there? I can agree with not putting the full documentation and examples of pipenv install -e ., but it seems like it would be useful to have documentation for all command line flags that you could pass to a command? Perhaps I'm missing something?

If someone writes a documentation page on the detailed usages of the command, we can add a link to the help message, but I don’t think this is suitable in the message itself.


version string not updated in 0.7.4?

just noticed that the version string was not updated for there recent 0.7.4 release -- it is still stuck at 0.7.3 (I checked, it is indeed 0.7.4, e.g. limactl info works the way it is expected to):
❯ brew install lima
==> Downloading https://ghcr.io/v2/homebrew/core/lima/manifests/0.7.4
Already downloaded: /home/bauerdic/Library/Caches/Homebrew/downloads/98d423222f09d7c2892946c65aaa69f73810f1c4d882333c57b7805a4ab2564f--lima-0.7.4.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/lima/blobs/sha256:fcb7d410053198af6369f420f2b04392a21118cba19cafdfcfe059b9b37d21c5
Already downloaded: /home/bauerdic/Library/Caches/Homebrew/downloads/8645be61a0d21232dd9ff392950a50b58b097dac6b8ea15f2197f0385373f02b--lima--0.7.4.monterey.bottle.tar.gz
==> Pouring lima--0.7.4.monterey.bottle.tar.gz
==> Caveats
zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/lima/0.7.4: 34 files, 25.7MB
❯ /usr/local/bin/lima --version
limactl version 0.7.3
❯ /usr/local/bin/limactl info | jq -r .limaHome
/home/bauerdic/.lima

(I'm sorry for not submitting a PR instead of opening an issue....)

Works for me (macOS 12 Intel):
$ brew install lima
==> Downloading https://ghcr.io/v2/homebrew/core/lima/manifests/0.7.4
Already downloaded: /Users/suda/Library/Caches/Homebrew/downloads/98d423222f09d7c2892946c65aaa69f73810f1c4d882333c57b7805a4ab2564f--lima-0.7.4.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/lima/blobs/sha256:fcb7d410053198af6369f420f2b04392a21118cba19cafd
Already downloaded: /Users/suda/Library/Caches/Homebrew/downloads/8645be61a0d21232dd9ff392950a50b58b097dac6b8ea15f2197f0385373f02b--lima--0.7.4.monterey.bottle.tar.gz
==> Pouring lima--0.7.4.monterey.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
🍺  /usr/local/Cellar/lima/0.7.4: 34 files, 25.7MB

$ limactl --version
limactl version 0.7.4

$ which limactl
/usr/local/bin/limactl

$ ls -l /usr/local/bin/limactl
lrwxr-xr-x  1 suda  staff  32 11 23 00:50 /usr/local/bin/limactl@ -> ../Cellar/lima/0.7.4/bin/limactl

Could you try brew uninstall lima && brew unlink lima && brew install lima ?

Also please make sure you don't have other limactl binaries in the $PATH

hmm:
❯ /usr/local/bin/limactl --version
limactl version 0.7.4
❯ /usr/local/bin/lima --version
limactl version 0.7.3
❯ ls -la /usr/local/bin
[...]
lrwxr-xr-x    1 bauerdic  wheel       29 Nov 22 09:25 lima -> ../Cellar/lima/0.7.4/bin/lima
lrwxr-xr-x    1 bauerdic  wheel       32 Nov 22 09:25 limactl -> ../Cellar/lima/0.7.4/bin/limactl
[...]

lima and limactl show different version numbers.
However:
❯ which limactl
/home/bauerdic/.nix-profile/bin/limactl

So, the reason could indeed be that I have another version of limactl in the path -- assuming that lima just calls whatever limactl is in the path, not the one that was installed with this version of lima. Not nice, but probably ok


fix: incorrect runes inference when having empty compiler options

fixes https://github.com/sveltejs/eslint-plugin-svelte/issues/849

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

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

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
2996

Relevant Lines:
3214

💛  - Coveralls


Issue#40: Added a new Kafka config for the sarama.MaxRequestSize

Also added a .gitignore to ignore common Intelij files and a couple directories that are created during the build.

@mehrdadrad any ideas why the make build is failing? Doesn't seem to provide any feedback

@JPercivall I think that's related to recent travis-ci changes. I'll follow it up
In meanwhile can you add env variable for the new config like REQUEST_SIZE_MAX instead of NA and update doc as well. Thanks
RequestSizeMax  int32    `yaml:"request-size-max" env:"NA"`


Significant renaming work

still need to update hassl.pipeline.py with lib/ resources, but looking good!

looks good...go ahead and merge it.


I can not install phpmyadmin on bash

I'm trying to install phpmyadmin and I'm not getting
I installed Apache, MYSQL and PHP, but PHPMYADMIN always got the error
I upgraded and the error continues
Windows 10 Pro 1703 (64bits)

I had this error: "... mysql.sock"
I do not remember exactly how to fix it, but try changing chown "mysql" (755) for "/var/run/mysqld".
and then "sudo service mysql restart"

@Line117 Could you show me in practice? because you can not execute the command

Thanks friend.
I did this and it worked
If your file my.cnf (usually in the /etc/mysql/ folder) is correctly configured with
socket=/var/lib/mysql/mysql.sock
you can check if mysql is running with the following command:
mysqladmin -u root -p status
try changing your permission to mysql folder. If you are working locally, you can try:
sudo chmod -R 755 /var/lib/mysql/


Task - HR - Comment Feed

Description
Build a Comment Feed react component. It should be based on the "Job Activity Feed" section the Hr Job Summary template.
It currently only needs to contain the "Submit Comment" piece, and the "Previous Activity". There doesn't need to be the ability to "Mark as Read" yet, or even determine if its new.
Note: "Type of comment" select box should not be visible to Managers, but should be REQUIRED by HR advisers.
Base frontend comment model on Backend model #2238.
Images
https://joshbeveridge.ca/tc-job-summary/#activity
Acceptance criteria

[ ] Storybook story where

[ ] Can enter new comment
[ ] Can view old comments
[ ] submitted comments added to list

"Type of comment" select box should not be visible to Managers, but should be REQUIRED by HR advisers.

@joshdrink @nicolsonaitken What format would you like the date/timestamp shown on comments to use?

Completed by PR #2495


Implemented randomRating() ISSUE : #3

Had some problems setting up gulp and running it.( My first ever try to commit on GitHub )
Wrote the function in visual studio code and used .run package to run it and see the results.
The function works as expected, but please try it on the actual server before merging!

Looks great!
Just one small change though.

Looks great!
Comments on #3

Cool!
Thanks so much for letting me participate and make my first commit!! <3

@JamesDimi Thank you!
Please join our DAV-Contributors gitter channel, and hopefully help others looking to get started with open-source and DAV.


Fix broken links in documentation

This pull request fixes a broken link in the documentation:
"https://chainsafe.github.io/lodestar/advanced-topics/setting-up-a-testnet" corrected to "https://chainsafe.github.io/lodestar/contribution/advanced-topics/setting-up-a-testnet"

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

Sorry, we do not accept minor documentation typo PRs.


Brainstorming Gotham Theme Info

This is a spin-off of Issue #16. This Issue in particular focuses on the future Gotham Theme concept.
Let's dive-in to what others are doing.
Hugo
Schema
name = "Theme Name"
license = "MIT"
licenselink = "Link to theme's license"
description = "Theme description"
homepage = "Website of your theme"
tags = ["blog", "company"]
features = ["some", "awesome", "features"]
min_version = "0.59.1"

# If the theme has multiple authors
authors = [
  {name = "Name of author", homepage = "Website of author"},
  {name = "Name of author", homepage = "Website of author"}
]

# If the theme has a single author
[author]
    name = "Your name"
    homepage = "Your website"

# If porting an existing theme
[original]
    author = "Name of original author"
    homepage = "His/Her website"
    repo = "Link to source code of original theme"

Notes

Unlike the Gotham/Hugo site config file, Hugo only supports TOML for the theme config file (i.e. theme.toml). This needs to change in Gotham.

WordPress
Schema
/*
Theme Name: Twenty Thirteen
Theme URI: http://wordpress.org/themes/twentythirteen
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: twentythirteen

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

Notes
WordPress defines theme information within a comment at the top of the main CSS file. A strange convention that I'm not fond of.

Here's what a Gotham theme config could look like. This is a living example.
name: "My Theme"
slug: "my-theme"


Abnormal connection closure

Recoverable I/O exception (org.apache.hc.core5.http.ConnectionClosedException) caught when processing request to {s}->https://services.nvd.nist.gov:443

#144


Fix coordinate attr handling in xr.where(..., keep_attrs=True)

[x] Closes #7220
[x] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst

Reverts the getattr method used in xr.where(..., keep_attrs=True) from #6461, but keeps handling for scalar inputs. Adds some test cases to ensure consistent attribute handling.

I considered the [scalar, data_array, whatever] possibility but this seems like a serious edge case. Passing a scalar condition is the same as just taking either x or y so what's the point?
As far as passing bare arrays, despite what the docstrings say it seems like you can actually do this with DataArray.where, etc:
>>> x = xr.DataArray([1, 1], coords={"x": [0, 1]})
>>> cond = xr.DataArray([True, False], coords={"x": [0, 1]})
>>> x.where(cond, other=np.array([0, 2]))

<xarray.DataArray (x: 2)>
array([1, 2])
Coordinates:
  * x        (x) int64 0 1

Which I don't think makes sense, but is mostly a separate issue. You do get a broadcast error if y is a bare array with different size.
After poking around I agree that this isn't easy to totally fix. I sort of started to go down the route of 1. but it looked quite complicated. Option 2. of wrapping non-xarray objects with xr.Variable only in xr.where might help us out a little here, I can try it. But, I think the current solution in this PR gets us back to the pre-#6461 behavior while still allowing for scalars and giving predictable behavior for everything except cond=scalar which I don't think is very important.
I'm just keen to get this merged in some form because it is a pretty bad breaking change. For example:
ds = xr.tutorial.load_dataset('air_temperature')
xr.where(ds.air>10, ds.air, 10, keep_attrs=True).to_netcdf('foo.nc')
# completely fails because the time attrs have been overwritten by ds.air attrs
ValueError: failed to prevent overwriting existing key units in attrs on variable 'time'. This is probably an encoding field used by xarray to describe how a variable is serialized. To proceed, remove this key from the variable's attributes manually.

this seems like a serious edge case

That particular example might be rare, but [DataArray, scalar, DataArray] will select the attrs of y, which is just as bad, and arguably more common (though for units this will not really matter, since x and y should have the same units, anyways).
In any case, I will try to push this forward so this can be fixed as soon as possible.

The latest commit should do what we want, consistently taking attrs of x. Casting to DataArray along with the explicit broadcast operation gets us empty attrs on both the variable and the coords.
The only way it deviates from this (spelled out in the tests) is to pull coord attrs from x, then y, then cond if any of these are scalars. I think this makes sense because if I pass [DataArray, scalar, scalar] for example I wouldn't expect it to drop the coordinate attrs.

the change to explicitly constructing the attrs instead of working around quirks of apply_ufunc sounds good to me: when discussing this in the last meeting we did get the feeling that in the long run it would be better to think about redesigning that part of apply_ufunc.

Yeah I think this would be worth doing eventually. Trying to index a list of attributes of unpredictable length doesn't feel very xarray-like.
Any further refinements to the current approach of reconstructing attributes after apply_ufunc here, or is this good to go?

Thanks @slevang  sorry for the delay here!


[IOTDB-1453]Fix result set when the server query time filtered is And

jira:https://issues.apache.org/jira/projects/IOTDB/issues/IOTDB-1453?filter=allissues
Test Query statement is：select * from root.ln.wf01.wt01 where time <5 and time > 10
cluster version result set is：

server version result set is:

I think the cluster result set is true.

Hi, IMO, the server version is better...  considering you are using a relational database, Oracel or MySQL, and query using the SQL: select * from table where id >5 and id <3, will you get an exception?
But, we indeed can optimize the execution logic, to return empty resultset ASAP.

Coverage decreased (-0.01%) to 68.071% when pulling 6a1c1aa938cc49731db7e953b34bd37269a53a31 on ijihang:fixSingleError into 7ac39ef139e590b566acc60643bd2e29c0cb4bee on apache:master.

exactly,if Oracle or MySQL ,the  return is empty,now  I tried to return the result set to null


Update AD DS documentation - manual steps

I added to this docs after having issues decoding the steps myself. These new and more elaborating steps have been tested in a production environment, and is verified to work.

@erlandsen-tech : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@erlandsen-tech : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@khdownie
Thanks for reviewing the proposed changes. IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

Anything else I need to add to this approach, or are we good to merge?

@erlandsen-tech you won't be able to merge this because the original file has changed, and you'll get merge conflicts. Also, we definitely don't want to replace the simpler Windows-only approach, because most of our users are Windows users. We could add your code in a separate section for non-Windows users; however, AD auth for Linux is only recently supported and we're developing a separate doc on that.

@erlandsen-tech submitted this to Linux team for testing and consideration. OpenLDAP is a viable auth method, but we only publish tested methodologies.

#please-close


[Dev experience] Add a "How contribute" section in the README

Would be nice to have the classic "How to contribute" to highlight the most relevant informations on formatting, rules ecc...
What do you think?

This is one of those things you should totally do but never have will to get started 😄 I promise I'll add proper community docs sooner or later.


Is this Arya Stark's Needle?

Please confirm.

Please confirm. x2

Neither the North remembers, nor the Lannisters are sending their regards this way.
@knutster - looks this needle will continue to pinch you for a long long time. :)


when capturing pokemon, adjust capture waits to account for pokemon blocks

Short Description
Somewhere in the application there must be a setting on how often and for how long a pokemon blocks pokeball throws. This unavailable capture from the application means normal users can't capture it at this time. But our bot may be sending in a threw pokeball capture call at this time and show up as an anomaly . #4114
Possible solution
When the bot starts getting into the high levels, capture misses need to go up and delays need to gradually increase unless the master settings file tells us what ratio the native application is triggering on. With low capture pokemon they usually trigger a curveball is required flag to capture as they made the straight pokeballs miss but the rate of this magic curve power is not 100% active unless on really low capture rate pokemon (deep red rings in game)
How it would help others
With this change, the bot should not show up on the timings where no real player can capture pokemon at certain time intervals. this should reduce what logs they can scan to see if its a bot if they are using capture behaviours to flag for bots.
label: feature request

I'm going to tentatively say the bot accounts for this. There are plenty of times the bot will throw a nice/great/etc.. ball, but it won't hit. You can feel free to set the miss rate.
I won't close this as I'm not 100% sure I answered your question and maybe I'm missing what you're getting at.
        "hit_rate": 0.75


Plugin installed and set up resource ok, but can't put in files

I installed the plugin and set up the resources as in the readme on a resource server, but when I try to put a file in, I get:
remote addresses: <IP_ADDRESS> ERROR: putUtil: put error for /ZONE/home/kwaegema/myfile3, status = -1818000 status = -1818000 INVALID_ACCESS_TO_IMPOSTOR_RESOURCE
On the resource server, I see this is the log
Nov 22 15:25:04 pid:46364 NOTICE: rodsServer Release version rods4.2.1 - API Version d is up
Nov 22 15:25:04 pid:46364 NOTICE: >>> control plane :: listening on port 1248
Nov 22 15:25:20 pid:46418 remote addresses: <IP_ADDRESS> ERROR: [-]  /home/irodsbuild/irods/server/api/src/rsFileCreate.cpp:220:int _rsFileCreate(rsComm_t *, fileCreateInp_t *, rodsServerHost_t *, fileCreateOut_t **) :  status [INVALID_ACCESS_TO_IMPOSTOR_RESOURCE]  errno [] -- message [UNHANDLED fileCreate for [//home/kwaegema/myfile3]]
[-]     /home/irodsbuild/irods/server/drivers/src/fileDriver.cpp:38:irods::error fileCreate(rsComm_t *, irods::first_class_object_ptr) :  status [INVALID_ACCESS_TO_IMPOSTOR_RESOURCE]  errno [] -- message [failed to call 'create']
[-]     /home/irodsbuild/irods/server/core/src/irods_resource_plugin_impostor.cpp:555:static irods::error irods::impostor_resource::report_error(irods::plugin_context &) :  status [INVALID_ACCESS_TO_IMPOSTOR_RESOURCE]  errno [] -- message [NOTE :: Direct Access of Impostor Resource [radosResc1] of Given Type [irados]]
How can I debug more what is going on here?
Thanks!

The impostor resource error means that you need to install the rados plugin on that server as well.  Can you successfully put a file when only the server holding the rados resource is involved in the connection?

Hi,
I installed it on the icat server as well, that didnt solve it. But I saw that the 'make install' did install the plugin in another location than it should be. I copied the .so file to the correct location and now it works 😄
 cp /usr/local/usr/lib/irods/plugins/resources/libirados.so /usr/lib/irods/plugins/resources/
Thanks!!

Ah, that would definitely do it.
If you can capture the steps you took, we can reproduce it.   Or if you can find the error yourself, please send a pull request - sounds like a simple fix.
Thanks!