How to suspend script?

In case when I would like to open browser, wait for user to log in, and then start automation, how to display a popup to the user with "continue" button, which would allow the user to control browser for a while until button is clicked?

You can use the ask() function to achieve the same,I suppose.

Hi RPA for Python users, 🅗🅐🅟🅟🅨 ②⓪②①!
It has been many months since I last worked on this personal side project. Just want to shout out that this project is very much alive, and I hope to look into the 30+ issues raised since July (and bug-fixes if required) soon when I get a moment again.
Below are details if you are interested, why I'm away past few months and why I believe my darkest days are over 🍀🤞🏻🙏🏻

Since May last year, I've stopped all work to juggle with my mum's critical illness, taking care of my toddler, and doing housework chores like cleaning and cooking. TBH, my wife and I felt that taking care of a baby and giving her the best nutrition (nursing and home-cooked organic food) and care requires at least 1.5 full-time headcount. There is no life to speak of, other than trying to stay afloat with baby care needs, and keep finding alternative ways to treat my mum, where there're some wins.
Eg importing soy-based tube feeds from Netherlands / Germany / Australia --> after switching away from milk-based tube feeds for 2 weeks she stops requiring dialysis. She started requiring 3x a week dialysis for more than 3 months, after admitting to the hospital. Also, applying herbs like mashed garlic or diced onions to her feet somehow consistently improve her breathing and lung function. Have to keep trying alternative healing methods when her recovery keeps hitting plateau in hospital.
She has been discharged from the hospital a month ago and recovering at home, though very slowly. A longterm medication seems to be one of the contributing causes for her condition. After stopping it, there seems to be improvement to her breathing capacity. She is still bed-bound, but over the course of the year I hope she'll regain strength to move about, and hopefully lungs to recover sufficiently to not require oxygen tank support through a tracheal mask (a hole through her throat).

Since November, I've gone back to work at AI Singapore, a government-funded programme to accelerate AI in Singapore. I'm with Product Engineering team, focusing on RPA and TagUI (open-source RPA tool), which RPA for Python is a wrapper for. There are pretty interesting stuffs on TagUI 2021 roadmap. 2020 was the year which my family was going to move to the UK and work, after I receive its tier 1 exceptional tech talent visa. Then everything changed with the virus outbreak, and my mum's illness. The best thing that happened to me in 2020 was being able to go back to work at AI Singapore - I'm grateful.
I've just hired someone to help with housework, cooking and supporting my wife with baby care. I hope this new arrangement will allow me to deliver on my work at AI Singapore, and soon be able to reply countless friends' messages which circumstances leave me with no choice but go missing for months, and then look into the issues raised here!
Eg of the cost of best-in-class nutrition standard researched and set by wife. Baby just felt restless and broke her plate. Even Corelle's break-resistant plate breaks. Why not use plastic plate? Cuz plastic can leech toxins to the food on it. Why not use Silicon plate? Cuz there is no white silicon materials for plate. Why white? Cuz that helps to improve visibility of the food instead of contrasting against some pink colour or some other colours. I would be spending much time clearing up the mess of 70 over pieces of plate fragments, while baby gets nursed to calm down, if not for our newfound helper.
That's why I feel like my darkest days are over and now seeing glimpses of light at the end of the tunnel.

My vision for RPA for Python remains - I would like it to be the go-to Python package for RPA.
A best-in-class tool in Python users toolbox which you combine with other cool packages to build amazing stuffs.

Hi RPA for Python users, 🅗🅐🅟🅟🅨 ②⓪②①!
It has been many months since I last worked on this personal side project. Just want to shout out that this project is very much alive, and I hope to look into the 30+ issues raised since July (and bug-fixes if required) soon when I get a moment again.
Below are details if you are interested, why I'm away past few months and why I believe my darkest days are over 🍀🤞🏻🙏🏻

Since May last year, I've stopped all work to juggle with my mum's critical illness, taking care of my toddler, and doing housework chores like cleaning and cooking. TBH, my wife and I felt that taking care of a baby and giving her the best nutrition (nursing and home-cooked organic food) and care requires at least 1.5 full-time headcount. There is no life to speak of, other than trying to stay afloat with baby care needs, and keep finding alternative ways to treat my mum, where there're some wins.
Eg importing soy-based tube feeds from Netherlands / Germany / Australia --> after switching away from milk-based tube feeds for 2 weeks she stops requiring dialysis. She started requiring 3x a week dialysis for more than 3 months, after admitting to the hospital. Also, applying herbs like mashed garlic or diced onions to her feet somehow consistently improve her breathing and lung function. Have to keep trying alternative healing methods when her recovery keeps hitting plateau in hospital.
She has been discharged from the hospital a month ago and recovering at home, though very slowly. A longterm medication seems to be one of the contributing causes for her condition. After stopping it, there seems to be improvement to her breathing capacity. She is still bed-bound, but over the course of the year I hope she'll regain strength to move about, and hopefully lungs to recover sufficiently to not require oxygen tank support through a tracheal mask (a hole through her throat).

Since November, I've gone back to work at AI Singapore, a government-funded programme to accelerate AI in Singapore. I'm with Product Engineering team, focusing on RPA and TagUI (open-source RPA tool), which RPA for Python is a wrapper for. There are pretty interesting stuffs on TagUI 2021 roadmap. 2020 was the year which my family was going to move to the UK and work, after I receive its tier 1 exceptional tech talent visa. Then everything changed with the virus outbreak, and my mum's illness. The best thing that happened to me in 2020 was being able to go back to work at AI Singapore - I'm grateful.
I've just hired someone to help with housework, cooking and supporting my wife with baby care. I hope this new arrangement will allow me to deliver on my work at AI Singapore, and soon be able to reply countless friends' messages which circumstances leave me with no choice but go missing for months, and then look into the issues raised here!
Eg of the cost of best-in-class nutrition standard researched and set by wife. Baby just felt restless and broke her plate. Even Corelle's break-resistant plate breaks. Why not use plastic plate? Cuz plastic can leech toxins to the food on it. Why not use Silicon plate? Cuz there is no white silicon materials for plate. Why white? Cuz that helps to improve visibility of the food instead of contrasting against some pink colour or some other colours. I would be spending much time clearing up the mess of 70 over pieces of plate fragments, while baby gets nursed to calm down, if not for our newfound helper.
That's why I feel like my darkest days are over and now seeing glimpses of light at the end of the tunnel.

My vision for RPA for Python remains - I would like it to be the go-to Python package for RPA.
A best-in-class tool in Python users toolbox which you combine with other cool packages to build amazing stuffs.

Thanks @anksankur! Hi @KamilT, normally ask() will block user from interacting with the browser until you click OK.
Some other ideas would be

if using Python 3 to use input('your prompt') to show the question in the terminal window
if using Windows, use ctypes Python module to show a popup window with a message

But in your use case, I think the easiest will be using r.timeout(300) to set the default timeout to be a long time. After user login, the tool will automatically do the next step as soon as the web element after logging in appears on the webpage.
Closing issue for now but let me know if you run into any issue.
PS - this RPA package is based on a forked version of TagUI open-source RPA tool.
Free feel to join Telegram group chat for TagUI community to post any questions - https://t.me/rpa_chat


fix: update apiKey in to be titleize

fixes #880

Coverage remained the same at 81.745% when pulling 9ebd0b4580af1bbe86bf2e3da88d10086b06c6a6 on cfabianski:fix-api-key-in-titleization into 5dd5d6d704ec6e6f739c6f0c4ac868c73fbca0a0 on Rebilly:master.

@cfabianski could you create a titleize function in utils/helpers.ts and use it in JSX?

@RomanGotsiy Is that better?

Much better! Thanks!


Opening fsspec s3 file twice results in invalid start byte

What happened?
When I open an fsspec s3 file twice, it results in an error, "file-like object read/write pointer not at the start of the file".
Here's a Dockerfile I used for the environment:
FROM condaforge/mambaforge:4.12.0-0
RUN mamba install -y --strict-channel-priority -c conda-forge python=3.10 dask h5netcdf xarray fsspec s3fs

Input1:
import fsspec
import xarray as xr
fs = fsspec.filesystem('s3', anon=True)
fp = 'noaa-goes16/ABI-L1b-RadF/2019/079/14/OR_ABI-L1b-RadF-M3C03_G16_s20190791400366_e20190791411133_c20190791411180.nc'
data = fs.open(fp)
xr.open_dataset(data, engine='h5netcdf', chunks={})
xr.open_dataset(data, engine='h5netcdf', chunks={})

Output1:
Traceback (most recent call last):
  File "//example.py", line 26, in <module>
    xr.open_dataset(data, engine='h5netcdf', chunks={})
  File "/opt/conda/lib/python3.10/site-packages/xarray/backends/api.py", line 531, in open_dataset
    backend_ds = backend.open_dataset(
  File "/opt/conda/lib/python3.10/site-packages/xarray/backends/h5netcdf_.py", line 389, in open_dataset
    store = H5NetCDFStore.open(
  File "/opt/conda/lib/python3.10/site-packages/xarray/backends/h5netcdf_.py", line 157, in open
    magic_number = read_magic_number_from_file(filename)
  File "/opt/conda/lib/python3.10/site-packages/xarray/core/utils.py", line 645, in read_magic_number_from_file
    raise ValueError(
ValueError: cannot guess the engine, file-like object read/write pointer not at the start of the file, please close and reopen, or use a context manager

----- INVALID EXAMPLE 2 -----
Input2:
import fsspec
import xarray as xr
fs = fsspec.filesystem('s3', anon=True)
fp = 'noaa-goes16/ABI-L1b-RadF/2019/079/14/OR_ABI-L1b-RadF-M3C03_G16_s20190791400366_e20190791411133_c20190791411180.nc'
data = fs.open(fp, mode='r')
xr.open_dataset(data, engine='h5netcdf', chunks={})
xr.open_dataset(data, engine='h5netcdf', chunks={})

Output2:
Traceback (most recent call last):
  File "//example.py", line 25, in <module>
    xr.open_dataset(data, engine='h5netcdf', chunks={})
  File "/opt/conda/lib/python3.10/site-packages/xarray/backends/api.py", line 531, in open_dataset
    backend_ds = backend.open_dataset(
  File "/opt/conda/lib/python3.10/site-packages/xarray/backends/h5netcdf_.py", line 389, in open_dataset
    store = H5NetCDFStore.open(
  File "/opt/conda/lib/python3.10/site-packages/xarray/backends/h5netcdf_.py", line 157, in open
    magic_number = read_magic_number_from_file(filename)
  File "/opt/conda/lib/python3.10/site-packages/xarray/core/utils.py", line 650, in read_magic_number_from_file
    magic_number = filename_or_obj.read(count)
  File "/opt/conda/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte

----- INVALID EXAMPLE 2 -----
What did you expect to happen?
I expect both calls to open_dataset to yield the same result and not error. The following runs without errors:
import fsspec
import xarray as xr
fs = fsspec.filesystem('s3', anon=True)
fp = 'noaa-goes16/ABI-L1b-RadF/2019/079/14/OR_ABI-L1b-RadF-M3C03_G16_s20190791400366_e20190791411133_c20190791411180.nc'
data = fs.open(fp)
xr.open_dataset(data, engine='h5netcdf', chunks={})
data = fs.open(fp)
xr.open_dataset(data, engine='h5netcdf', chunks={})

Minimal Complete Verifiable Example
No response
MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[X] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[x] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
No response
Anything else we need to know?
I see the same error mentioned in other issues like https://github.com/pydata/xarray/issues/3991, but it was determined to be a problem with the input data.
Environment

INSTALLED VERSIONS
commit: None
python: 3.10.5 | packaged by conda-forge | (main, Jun 14 2022, 07:04:59) [GCC 10.3.0]
python-bits: 64
OS: Linux
OS-release: 4.18.0-348.20.1.el8_5.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: C.UTF-8
LANG: C.UTF-8
LOCALE: ('en_US', 'UTF-8')
libhdf5: 1.12.1
libnetcdf: None
xarray: 2022.6.0rc0
pandas: 1.4.3
numpy: 1.23.1
scipy: None
netCDF4: None
pydap: None
h5netcdf: 1.0.1
h5py: 3.7.0
Nio: None
zarr: None
cftime: None
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: 2022.7.0
distributed: 2022.7.0
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
fsspec: 2022.5.0
cupy: None
pint: None
sparse: None
flox: None
numpy_groupies: None
setuptools: 63.2.0
pip: 22.0.4
conda: 4.13.0
pytest: None
IPython: None
sphinx: None

Note that the second example fails on the first open_dataset, which I assume is expected since it's node mode='rb'

I talked with @wroberts4 about this in person and if we're not missing some reason to not .seek(0) on a data source then this seems like a simple convenience and user experience improvement. We were thinking maybe it would make more sense to change the function to look like:
def read_magic_number_from_file(filename_or_obj, count=8) -> bytes:
    # check byte header to determine file type
    if isinstance(filename_or_obj, bytes):
        magic_number = filename_or_obj[:count]
    elif isinstance(filename_or_obj, io.IOBase):
        if filename_or_obj.tell() != 0:
            filename_or_obj.seek(0)
            # warn about re-seeking?
        magic_number = filename_or_obj.read(count)
        filename_or_obj.seek(0)
    else:
        raise TypeError(f"cannot read the magic number form {type(filename_or_obj)}")
    return magic_number

Additionally, the isinstance check is for io.IOBase but that base class isn't guaranteed to have a .read method. The check should probably be for RawIOBase:
https://docs.python.org/3/library/io.html#class-hierarchy
@kmuehlbauer @lamorton I saw you commented on the almost related #3991, do you have any thoughts on this? Should we put a PR together to continue the discussion? Maybe the fsspec folks (@martindurant?) have an opinion on this?

Yes, it is reasonable to always seek(0) or to copy the file. I am not certain why/where xarray is caching the open file, though - I would have thought that a new file instance is made for each open_dataset(). I am not certain whether seeking/reading from the same file in multiple places might have unforeseen consequences, such as when doing open_dataset in multiple threads.
I am mildly against subclassing from RawIOBase, since some file-likes might choose to implement text mode right in the class (as opposed to a text wrapper layered on top). Pretty surprised that it doesn't have read()/write(), though, since all the derived classes do.

I am not certain whether seeking/reading from the same file in multiple places might have unforeseen consequences, such as when doing open_dataset in multiple threads.

Oh duh, that's a good point. So it might be fine dask-wise if the assumption is that open_dataset is called in the main thread and then dask is used to do computations on the arrays later on. If we're talking regular Python Threads or dask delayed functions that are calling open_dataset on the same file-like object (that was passed to the worker function) then it would cause issues. Possibly rare case, but still probably something that xarray wants to support.
Yeah I thought the .read/.write omission from the IOBase class was odd too. Just wanted to point out that the if block is using .read but IOBase is not guaranteed to have .read.

@djhoese Is that not already an existing problem since filename_or_obj.seek(0) is called in the existing code after reading the magic number?

Good point. My initial answer was going to be that it isn't a problem because in the second usage of the file we would get the exception about .tell() not being at 0, but after the .seek(0) that would be true and we wouldn't get that exception. So...I guess maybe it should be documented that xarray doesn't support opening the same file-like object from different threads. In which case, making the changes suggested here would only add usability/functionality and not cause any additional issues...unless we're missing something.

@wroberts4 I'd say maybe make a pull request and we'll see what (if any) tests fail and what the people in charge of merging think about it. I think we've gone through the various possibilities and I think if there were any thread-safety issues trying to be protected against with the exception as it was, they weren't actually being protected against (later reading of the file could have caused an issue).

Just hitting into this same issue mentioned downstream at https://github.com/xarray-contrib/datatree/pull/130, but realized that the fix should happening in xarray, so I've started a PR at #7304 to fix this (thanks @djhoese for the code snippet at https://github.com/pydata/xarray/issues/6813#issuecomment-1204300671)! Will look into the unit test failures and fix them one by one as they pop up on CI.


cooler example of drenv

Replace podman driver with kvm2
Signed-off-by: Shwetha K Acharya<EMAIL_ADDRESS>

Since this example is becoming more complicated, I think we should keep the original trivial example as is, and find another name for this example, maybe demo?

sure

I will add to README file and test, once I am able to access ingress successfully
current status:
NAME         CLASS   HOSTS   ADDRESS      PORTS   AGE
demo-ingress   nginx   *   192.168.122.XX    80   33m
[sacharya@fedora test]$

[sacharya@fedora test]$ curl http://192.168.122.XX:80/demo
 Service Temporarily Unavailable

[sacharya@fedora test]$ kubectl describe ingress
.
.
Normal  Sync    33m (x2 over 34m)  nginx-ingress-controller  Scheduled for sync
[sacharya@fedora test]$


IMD Deciles on LSOA Reports

Is your feature request related to a problem? Please describe.
When using the lsoa report and then plotting it on the chloropleth map, the LSOAs without any Scouting have an IMD decile of null.
Describe the solution you'd like
I'd like all LSOAs on a map produced using an lsoa report to have IMD deciles present.
Additional context
The issue is that IMD Deciles are added to the scout data and then grouped in line 257 of reports.py. The IMD Deciles need to be calculated for every LSOA present in the report.
Relevant code snippet
if geog_name == "lsoa11":
    self.logger.debug(f"Adding IMD deciles")`
    dataframes.append(grouped_data[["imd_decile"]].first())

Potentially closed by #45


Update init.py

Convert each axis to pandas Series.
This change also allows Heatmaps to be plotted

Thank you for the contribution!


how to retrieve and display a file/image from Dropbox

Hi,
I have been reading the documention on how to upload file to dropbox.
However I am having diffiuclty trying to retive the file back from the stored location and disaply it on my page can anyone explain how I am meant to do this perferably by just using the ID stored in mongodb.
Thanks
Alec

I can't test it, but it should work like the other Stores:
Template.imageView.helpers({
   image: function(){
      return Images.findOne('MONGO_ID')
   }
})

<template name="imageView">
    {{#with image}}
        <img src="{{url}}">
    {{/with}}
</template>


Some landing page cleanup

Demote some "landing page" topics to articles
Tweaks to master TOC

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/guide/design-principles/build-for-business.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/design-for-evolution.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/design-for-operations.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/index.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/managed-services.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/minimize-coordination.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/partition.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/redundancy.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/scale-out.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/self-healing.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/use-the-best-data-store.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/guide/design-principles/build-for-business.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/design-for-evolution.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/design-for-operations.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/index.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/managed-services.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/minimize-coordination.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/partition.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/redundancy.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/scale-out.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/self-healing.md
:white_check_mark:Succeeded
View

docs/guide/design-principles/use-the-best-data-store.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

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


Abs operator not implemented?

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Fedora release 28
TensorFlow installed from (source or binary): binary (conda)
TensorFlow version (or github SHA if from source): '1.13.0-dev20181127'

Provide the text output from tflite_convert
Some of the operators in the model are not supported by the standard TensorFlow Lite runtime. If those are native TensorFlow operators, you might be able to use the extended runtime by passing --enable_select_tf_ops, or by setting target_ops=TFLITE_BUILTINS,SELECT_TF_OPS when calling tf.lite.TFLiteConverter(). Otherwise, if you have a custom implementation for them you can disable this error with --allow_custom_ops, or by setting allow_custom_ops=True when calling tf.lite.TFLiteConverter(). Here is a list of builtin operators you are using: ADD, CONV_2D, DEPTHWISE_CONV_2D, L2_NORMALIZATION, MUL, RELU, SQUEEZE, SUB. Here is a list of operators for which you will need custom implementations: Abs.

Also, please include a link to a GraphDef or the model if possible.
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

@utkarsh-VRL  Please refer this which gives information about supported ops by TF Lite.


Calling enableAutomaticMode destroys all tracing in Lambda environment

X-Ray's "Manual mode" is not supported in Lambda environments, and "Automatic Mode" is enabled by default.  So there is no reason to call enableAutomaticMode.
However, if you do call enableAutomaticMode() from a Lambda environment, bad things will happen:

it will raise a "context missing" error
if your "context missing" strategy is to log, your code will continue running, but the "facade" segment will never be assigned
and therefore every subsequent attempt to trace will also raise "context missing", filling your logs
you may also spend time looking at every possible cause except for the call to enableAutomaticMode, which seems innocuous since it should be a no-op.

In Lambda environments, the enableManualMode function is overridden to issue a warning:
  contextUtils.enableManualMode = function() {
    logger.getLogger().warn('AWS Lambda does not support AWS X-Ray manual mode.');
  };

I suggest that the same should be done for enableAutomaticMode, to prevent new users from losing a lot of time over it (as I just did).

@gavinpc-mindgrub I've opened #371 to address this, thanks!

@gavinpc-mindgrub I've opened #371 to address this, thanks!

Released in 3.3.0


Swiper removeAllSlider not working if I use hidden-xs class

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: Swiper 4.3.5

Platform/Target and Browser Versions: CHROME not tested in others

What you did
I have two sliders on the same page, one I hide on a mobile environment.
Expected Behavior
I add new sliders after click event, but before I remove all so I use
mySwiperMain.removeAllSlides();
mySwiperAdditional.removeAllSlides();
Actual Behavior
On Computer environment all works fine.
On mobile with swipper with class hidden-xs removeAllSlider is not working.
On mobile with swipper without class hidden-xs removeAllSlider is working.

@yop289 can you provide a CodePen / JSFiddle to recreate the issue


[CSBindings] Account for literal bindings when checking "subtype of e…

…xistential" property
It's important to know whether a binding set has all of its bindings
as subtypes of some existential type(s), type variables like that
should be delayed.
Incremental binding inference introduced a bug into computation of
this property by checking only directly inferable bindings, but
it's also important to check that there are no literal requirements
that can produce bindings, because that would mean that type variable
can never be just a subtype of existential type(s).
Resolves: rdar://77570994

@swift-ci please test

@swift-ci please test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - 8f9f9e80c57f3ec943d2963ab7a3fadd0e067999

@swift-ci please test macOS platform

@swift-ci please test Windows platform

@swift-ci please test source compatibility

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - cf13e292e7228d76243d69f4f3e443556dcbeca2

@swift-ci please test macOS platform

Build failed
Swift Test OS X Platform
Git Sha - cf13e292e7228d76243d69f4f3e443556dcbeca2

@shahmishal macOS builds are timing out on macOS-53 - 19:46:06 Build timed out (after 83 minutes). Marking the build as failed.

@swift-ci please test macOS platform


[3.3.9] - Mech suit "hover" mode with exoskeletons makes entering factory buildings difficult

The Mech suit hover mode "jumps" over the entrance. Even when trying to line up directly and walking straight up, it makes it very tricky to attempt to enter buildings.
Some times walking from the top, entering hover mode, and crossing the threshold will also randomly enter the building.

This is now fixed. The ability to enter from above is an intended feature.


add: polkit-git

The CI fails, fix the pacscript.

More complicated than I thought. Polkit depends on Mozjc, which is not available on Debian/Ubuntu repos. I'm not familiar with the build system of Mozilla, so I will close this pull request for now


HTTPConnectionPool for python

When I try
import visdom
import numpy as np
vis = visdom.Visdom()
vis.text('Hello, world!')
vis.image(np.ones((10, 10, 3)))

I got this:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/visdom/__init__.py", line 170, in _send
    data=msg
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 110, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /events (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fa5b40f3690>: Failed to establish a new connection: [Errno 111] Connection refused',))

Actually the first time I launched the web successfully. But after that it cannot work anymore even I restart the computer.

Sorry... Forget to start the server....

You should run the python -m visdom.server command from your terminal, not in the python REPL. Make sure the server is running, so start in it a separate terminal window (potentially using screen or tmux)

I started the server using python -m visdom.server -p 7777 and was able to open it in the browser,

but when trying
import visdom, numpy as np
vis = visdom.Visdom()
vis.text('hello')

I get the following error:

please help

You should make your client connect to the correct port: vis = visdom.Visdom(port=7777).

Thanks,
also while running the demo script I get an error

is this attribute not available yet through pip (I installed visdom using pip)

Hi @udion - Yeah I haven't updated the pip package just yet, sorry! Doing so now

when I start the server.then it happens

I don't know what the "scripts" refers to ?

Every time the server runs it checks to see if it needs to download additional scripts for the frontend and then it does the downloads. This is normal behavior.

@JackUrb  But my computer can't connect to the internet by school's config. In this situation,what should I do to make the server run properly

@zhaopanpan73 You can download the scripts elsewhere using the download.sh script, and then copy them over to the proper locations.


Rails 5 - Missing template devise_token_auth/registrations/create

I used rails g devise_token_auth:install User auth so I have mount_devise_token_auth_for in my config/routes.rb. Like this
namespace :api, defaults: {format: 'json'} do
    scope :v1 do
      mount_devise_token_auth_for "User", at: 'auth'
    end
  end

My gem:
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.0.beta'
# Fix issues https://github.com/plataformatec/devise/issues/3736
gem 'devise', github: 'plataformatec/devise', branch: 'master'
gem 'omniauth', '>= 1.0.0'

# Token based authentication for Rails JSON APIs
gem 'devise_token_auth', github: 'lynndylanhurley/devise_token_auth', branch: 'master'

When I request: http://<IP_ADDRESS>:3000/api/v1/auth ( by POSTMAN )
I get an errors:
rb_1     | Started POST "/api/v1/auth" for <IP_ADDRESS> at 2016-04-03 15:55:18 +0000
rb_1     |   ActiveRecord::SchemaMigration Load (0.5ms)  SELECT "schema_migrations".* FROM "schema_migrations"
rb_1     | Processing by DeviseTokenAuth::RegistrationsController#create as JSON
rb_1     |   Parameters: {"email"=>"hiep.nguyen"}
rb_1     | Unpermitted parameter: format
rb_1     | Unpermitted parameter: format
rb_1     | Unpermitted parameter: format
rb_1     | Completed 500 Internal Server Error in 37ms (ActiveRecord: 2.1ms)
rb_1     |
rb_1     |
rb_1     |
rb_1     | ActionView::MissingTemplate - Missing template devise_token_auth/registrations/create, devise_token_auth/application/create, devise/create, application/create with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jbuilder]}. Searched in:
rb_1     |   * "/gems/gems/devise_token_auth-0.1.37/app/views"
rb_1     |   * "/gems/bundler/gems/devise-2b3799e6ceb3/app/views"

Does anyone have any idea?

The problem seems to be caused by jbuilder. Changing the jbuilder gem source to the git master branch gem 'jbuilder', :git => 'git://github.com/rails/jbuilder.git' fixed the problem for me.

So i had this problem because i was using rails5 with api only.   When i changed my application.rb to say
    config.api_only = false

then it works ok...
@lynndylanhurley - is this supposed to be the case?  can we not use devise_token_auth with rails --api ?

@grantsprunger: Wish I had stumbled on this sooner. Thank you!

Seems like we have a proposed solution here, so closing for now.


TensorBoard visualization support validation generator

I saw closed PRs #4358 #4386 for issues #3358 and #8554 not sure why they are not merged...
Added my own fix, which is basically taking the code that handles preloaded validation data and reusing it for when a validation generator is used.

test

@fchollet Should I shorten other urelated long lines as well?

@DavidAriel if not part of this PR, no need.

Hey @DavidAriel. I do believe this is a great feature and I want this to be merged soon too, but I think there's still some work to be done here:

master advanced a little since you opened this, so you need to pull from the upstream and rebase your code. It also wouldn't hurt to squash your multiple commits into fewer ones with more meaningful messages.
I'm concerned that fit_generator might behave a little different from fit if model.uses_learning_phase is True (my comment above, which you haven't addressed yet). I'd be very happy if you could either update the code to cover this case or just drop me a short comment on how this is not a problem.

@Dref360 could you please take a quick look?

It looks good. My biggest worry is the massive duplication of code between this and model.evaluate/_generator, if we change one, we have to change the other. It's maybe not in the scope of this PR, but we should think about refactoring the generator/Sequence enqueuer creation.
In this PR in particular, the "generator" path is basically the same as the "normal" path with an Enqueuer.
Minor: I guess this is fine because it's the Tensorboard callback, but shouldn't we always use K.function instead of calling sess.run?

I agree that this is a rather unnecessary code duplication.
I even opened an issue and a possible solution about this  #10091.
I'll try and write in a different PR a non callback TensorBoard that will have (hopefully) no code duplication.

Closing this PR. Moved to #10108 which moved to #10513 .


view message in panels wastes lots of space

See attach screen capture 👇
The message "N result in M files" takes up a whole row of which there aren't many
IMO the space between panel-title and actions is the better place for the message

Is there any progress? An extension I'm currently working on also needs this new contribution point.

Is there any progress? An extension I'm currently working on also needs this new contribution point.

I also need that,Is there any progress?

i also need

Currently, we have to show information messages to notify users about updates in our extension, which is quite distracting. In many cases, we just want to provide a subtle cue to users when things got updated. Being able to contribute a number badge next to the extension name/icon would help improve user experience greatly. Any updates on this would be appreciated!


Respect column name in Parquet writer

Description
Current implementation of parquet writer use exportToArrow with RowVector's rowType to construct ArrowSchema, and Type::name will be write to parquet schema as column name, It would bring wrong parquet schema.
Suppose we have tables and sqls like below
create table stu(id int, name varchar);
create table stu_distinct like stu;

insert into stu_distinct as select t1.id, t1.name from stu as t1, stu as t2 where t1.name == t2.name;

most optimizer will use alias or unique expr id to distinguish name field, and Velox may write parquet file with
message schema {
  optional int32 t1.id;
  optional binary t2.id (STRING);
}

then if we want run select id, name from stu_distinct, it will return all nulls, cause Velox will check field name between outputType and fileType
https://github.com/facebookincubator/velox/blob/14dd4fc2b1420e67a1c86bb50dbf459675a6baa2/velox/connectors/hive/HiveDataSource.cpp#L539-L541
Solution
Pass RowType to parquet writer and let it be parsed as ArrowSchema.

How does community feel about this? CC @Yuhta @majetideepak

Yes I think it's a bug and we should fix it in parquet writer

already fixed by https://github.com/facebookincubator/velox/pull/6074


High CPU Utilization

Describe the issue
CPU usage is high, ranging from 60-100% of 1 x vCPU.  This occurs after a full chain sync and with an empty wallet.
Expected behavior
CPU while the wallet is idle should be under 2%.  My experience is it uses onder 1%.
Screenshots

What platform are you using (Linux, Windows, Mac)
Linux Ubuntu 16.04 64-bit.with

Again, this is because the DNS seeders are throwing themselves in an infinite self referantial loop when they refer to themselves as the seed of themselves. Haha reminds me of Godel's Proof.
An easy and short term fix would to just add hard coded seed nodes and scrap the faulty DNS seeders (Sorry Dennis) and the other unreachable ones that I put up.
Then we need to do a quck and dirty fork of a Go codebase and use the Go seeder that can seed both silk and darksilk on it's own.

But for users to remove this problem, simply delete your peers.dat and add some addnodes to your silk.conf file in the data directory. Fixed it for me right away.

Deleting peers.dat (with silkd stopped) helped initially, but immediately after the full sync it went up again and peers.dat was recreated. (>100% according to top on RPi3).
Shall I delete peers.dat while the server is running?

Have I now resolved this with the v<IP_ADDRESS> branch?

Resolved in v<IP_ADDRESS>


Added Coin Change Problem [GoLang]

Fixes #415
By submitting this pull request I confirm I've read and complied with the below declarations.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.
[x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.

Review again @Monal5031

@Monal5031 You are supposed to change labels.


[BUG] Default directories in notebooks don't exist by default

Describe the bug
Some of the example notebooks have a BASE_DIR variable that points at /raid/data/ml/, which won't exist by default on most systems. Changing it in each notebook gets cumbersome now that examples are split into multiple notebooks
Steps/Code to reproduce bug
Run the MovieLens example notebooks on a system that doesn't have a /raid/data/ml/ directory.
Expected behavior
Once I have the proper dependencies installed, I should be able to select Cell->Run All and have the notebook execute successfully without having to perform manual configuration steps.
Environment details (please complete the following information):

Environment location: Bare-Metal
Method of NVTabular install: conda

Additional context
N/A

This is partially addressed by #709  - but we should verify other examples (and be consistent across them)

This is handled with the movielens / outbrains / rossmann examples now.
The only example that still expects code in /raid is the criteo example


Complementary paper

Hello!
Great stuff! I saw this paper and thought it was a natural extension of your work. https://arxiv.org/pdf/2310.02989.pdf
Didn't see any emails on your preprint and wanted to share.
Best,

Logan Hallee

Hi @StellaAthena . Been thinking about this integration a bit. I think it would be possible to extend your model with this paper through vocabulary extension, which my lab developed strategies for. This would require minimal training. If you are interested please reach out to<EMAIL_ADDRESS>If not, no worries. All the best.


Register Page TSX

Jira Ticket: https://broadworkbench.atlassian.net/browse/[Ticket #]

Summary of changes:

What

Why

Testing strategy

[ ]

Given the minimal scope of this PR, I believe the staging pr tests are red herrings and unrelated.

Thanks for breaking out some of the individual components-- that definitely helps with readability!

Given the minimal scope of this PR, I believe the staging pr tests are red herrings and unrelated.

registerUser has been failing A LOT recently. Will IdentiTeam be able to tackle that test soon?

@cahrens I believe we are tackling that now in a separate PR

@cahrens I actually ended up fixing a bug in the register screen where the user attributes were getting loaded from Sam before the user had registered. Eek!

really nice work here,
I would update the PR description to note some of the other bits being affected:

moved out of src/pages - YAY!
broke out sub-controls = YAY!


menuOptions callback not returning rows after column sort

My callback function works properly until I sort on a column header.  After sorting, the callback function parameter 'rows' is an empty array even though table rows have been selected.  Tried setting event breakpoints for mouse click in Chrome debugger, but that's not helping (just runs through the jQuery code).  I'm using this with jQuery 2.1.3.

Is there code available, or some type of example that reproduces this issue?
That would help.

https://labs.mbrooks.info/demos/Tidy-Table/demo.html

Select a row or rows and click one of the callback options.  The number will correctly show how many rows were selected.
Sort on a column and the selected rows will automatically uncheck.
Then, select a row or rows (or leave unchecked - just make sure it's a different number of rows than previous) and click a callback option again.  This time the row count will incorrectly show the same number as what was selected before sorting.

Seems that the table passed into _getCheckedAsObj is the previous version of the table before sorting?

Sorry for the delay on this.  Work has required a lot of my attention lately.
This issue is now resolved.

Thank you for the fix... Tidy-Table works great!

Hi nuxy, this seems to be related but may be a separate issue.  I am using a jQuery each to write two Tidy-tables to the page.  Before this fix, the callbacks correctly distinguished between the two tables, but now it only seems to reference either:  1) the last table created, or 2) the last table sorted.
https://jsfiddle.net/ce74nh6v/9/

The issue you are experiencing (a result of a recent bug fix) has been resolved in the 2.1.2 release.
Cheers.

Fantastic!  Thanks for the quick response and great code!


react-dev-utils: fix openBrowser

The "open" package had a breaking change in v8: https://github.com/sindresorhus/open/commit/8c00bd89d4604f9ec70568dce466a2162b30bcb1
The react-dev-utils dependency on this package was updated in https://github.com/facebook/create-react-app/commit/3afbbc0ab922fb982bb275ccb3fe5beecdf5f889 without taking this into account.
This updates the call to open() in openBrowser.js to use the new options properties.
Without this change, the BROWSER environment variable is ignored when running yarn start.
This has been tested by manually editing my local install with the same change.
Fixes #12275

Duplicate of #11878


[fix:compatibility #3374]grpc plugin compatible with low version and output standard format json

Fixes #3374
Compatible with low version and output standard format json
Make sure that:

[x] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

output standard format json
before

after

defaultInstance field compatible
before, grpc low version have no defaultInstance field.

### after
                if (requestMarshaller instanceof MethodDescriptor.PrototypeMarshaller) {
                    MethodDescriptor.PrototypeMarshaller<?> prototypeMarshaller = (PrototypeMarshaller<?>) requestMarshaller;
                    if (Objects.isNull(prototypeMarshaller.getMessagePrototype())) {
                        throw new ShenyuException(String.format("can not get defaultInstance Field of %s", requestMarshaller.getClass()));
                    }
                    grpcRequestParamClass = prototypeMarshaller.getMessagePrototype().getClass();
                }

serviceName field compatible
before
Lower versions do not have this field serviceName to throw exceptions
after
No exception is thrown if the field is empty, and the service name is set if the field is not empty.

Codecov Report

Merging #3379 (7473662) into master (b485752) will decrease coverage by 0.08%.
The diff coverage is 0.00%.

:exclamation: Current head 7473662 differs from pull request most recent head 99ea72c. Consider uploading reports for the commit 99ea72c to get more accurate results

@@             Coverage Diff              @@
##             master    #3379      +/-   ##
============================================
- Coverage     65.41%   65.33%   -0.09%
+ Complexity     5266     5257       -9
============================================
  Files           761      761
  Lines         21251    21255       +4
  Branches       1931     1933       +2
============================================
- Hits          13902    13886      -16
- Misses         6063     6078      +15
- Partials       1286     1291       +5

Impacted Files
Coverage Δ

...apache/shenyu/plugin/grpc/proto/MessageWriter.java
56.25% <0.00%> (-18.75%)
:arrow_down:

...e/shenyu/plugin/grpc/proto/ShenyuGrpcResponse.java
66.66% <ø> (ø)

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
77.23% <0.00%> (-6.51%)
:arrow_down:

...ng/rocketmq/rocketmq/RocketMQLogCollectClient.java
72.00% <0.00%> (-4.00%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
70.14% <0.00%> (-1.50%)
:arrow_down:

Continue to review full report at Codecov.

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


FormFlowBundle for tabbed forms?

Wondering if CraueFormFlowBundle would make sense for complex tabbed forms that don't require an input order.  For example, a complex "Contact" form with different tabs/pages for personal and work details.
Or would FormFlow be overkill perhaps?

Interesting use case. At least it should work with dynamic step navigation enabled. ;)


Get to HELLO WORLD

Get the live editor to the point where it can execute an immediate-mode HELLO WORLD.

[x] LIVE mode

[x] Screen autosizing to fit
[x] Divide screen into character cells
[x] Intro message
[x] Cursor
[x] Key entry
[x] Line limited to 160 chars
[x] Backspace
[x] Arrows left/right
[x] Insert at cursor
[x] Ctrl left/right - SOL/EOL
[x] Ctrl-I toggle insert/overwrite mode
[x] Overwrite mode
[x] Alt left/right - start of/end of current/prev/next word
[x] Enter for new prompt
[x] Scroll to fit new command input
[x] Highlight error (wavy underscore)
[x] Allow typeover of error

[x] Interpreter

[x] String literal
[x] PRINT
[x] Auto-capitalize reserved words
[x] Update command line on interpret to show auto-cap
[x] Get parsing error
[x] On error, reproduce line and show error

[x] Live interpret PRINT "Hello World"

Reached basic hello world status, marking done.


Add the AssetChanged query filter

Objective

Closes #5069
Blocked on: #5105

Solution

Add the AssetChanges<T> resource.
Add the AssetChanged<T> world query
Add the AssetOrHandleChanged<T> world query type alias

AssetChanges<T> resource does the following:

It is a HashMap<HandleId, Tick>
If AssetChanges<T> is present, each AssetEvent<T> emitted in Assets::<T>::asset_event_system will also update the relevant entry in the AssetChanges hash map.

AssetChanged<T> does the following:

It acts like &Handle<T> with one difference:
Its init_state adds the AssetChanges<T> resource in the world if not present
Its init_fetch fetches the AssetChanges<T> resource in addition to the &Handle<T>. (panics if the resource was removed)
It checks if the handle was updated since last time the system ran, and filters on it

Design decisions
Performance

AssetChanges<T> is a fairly costly operation, since it does a hashmap lookup per entity iterated.
We do not maintain and update an AssetChanges<T> for assets that do not have a AssetChanged<T> world query.
The fact that AssetChanged both accesses (and locks) a component Handle<T> and a resource AssetChanges is unique and might come off as surprising. But I don't see how this could introduce a soundness issue.
If using "Single arc tree" in #8624 turns out to be impossible for change tick, a few optimizations are possibles:

bloom filters seem promising
a coarse-grained asset tick, that we could compare directly instead of fetching individual asset change ticks.

Relation with Asset v2 (#8624)
The "Single Arc tree" bullet point in "Bevy Assets v2" section mentions we could attach metadata to handles. Using this for change ticks would make the implementation much more performant, and simplify the implementation.
AssetChanges Update time
I chose to update the change_ticks hash map during asset event
propagation rather than when accessing the asset, because we need access
somehow to the current change_tick. Updating the tick hash map during
modification would require passing the change_tick to all methods of
Assets that accepts a &mut self. Which would be a huge ergonomic
loss.
As a result, the asset change expressed by AssetChanged is only
effective after asset_event_system ran. This is in line with how
AssetEvents currently works, but might cause a 1 frame lag for asset
change detection.
Alternatives

#4944  (reverted due to perf issues)
Potentially (not confirmed) #8624 using the single arc tree as mentioned
Using a component (I will explore this)

Changelog

Added AssetChanged<A> world query, it filters Handle<A> for which the underlying asset got modified since the last time the system ran.
Added AssetOrHandleChanged<A>, a type alias for Or<(Changed<Handle<T>>, AssetChanged<T>)>, which accounts for case where the Handle changed instead of the underlying asset.

Can we do the same thing for AssetLoaded ala Added filters? If so, that would be incredibly valuable. I'm not sure if we should make that part of this PR, but I'm curious to hear your thoughts.

I'm a bit nervous at how much of the change detection code is duplicated.

Well, fault of ECS for not newtyping a Tick(u32) and define the difference checks as methods on those :P  I guess I could abstract the checks as extension methods on u32 and use them instead. What do you think?

Can we do the same thing for AssetLoaded ala Added filters?

Very likely, I'll check and add if possible.

AssetChanged<T> is incompatible with ResMut<Assets<T>>

Currently it is! But I can make it not so by splitting change_ticks out of Assets.

This needs tests

I agree. I'll see to it. What do you think of benchmarks as well? I think this filter might be particularly slow due to the 2 levels of indirection at each iteration

In discord, an alternative design where ResMut<Assets<T>> is replaced by AssetsMut<T> was proposed. This in combination with the "mutating methods all require a tick parameter" would ensure same-frame update detection. However it would require a lot of user code change and might make it impossible to conciliate AssetMut with AssetChanged.

My preference would be to newtype a Tick(u32) to reduce duplication. IMO we should do this as a seperate uncontroversial PR and then rebase to make this easier to review. It's a good idea regardless.

The "Single Arc tree" bullet point in "Bevy Assets v2" section mentions we could attach metadata to handles. Using this for change ticks would make the implementation much more performant, and simplify the implementation.

I believe we could store change ticks on Handles, if we're willing to store ticks as something like Arc<AtomicUsize>. Whether we should is a bit of an open question (ill need to spend more time with the problem). We could also consider "smart pointer" change detection that bumps the tick on mutate (much like we do for components). Not (yet) advocating for it, but it would be compatible with going down the Assets as Entities route (see the section in the Asset V2 pr for details on that).
In general the current approach in this PR should be compatible with the Asset V2 effort.
And I do like that this is currently a "only pay the price if you use it" abstraction. Probably worth waiting to merge until after Asset V2 lands though and then updating this. This isn't the kind of port I'd block an Asset V2 merge on, so it might get lost in mix if we merge it now.

Thank you for the feedback. I agree with you, I think waiting is the good idea. I'll put the PR back into draft mode.

Currently the "can't detect changes predating the system first run" is a tradeoff to avoid having to pay the price for assets that don't have a AssetChanged<A> filter. But I think it should be possible to fix.

We were discussing uniformizing components and assets change detection under Mut<T> on Discord here, for the sake of being able to handle both with Mut<T> alone generically without having to know that the thing is a component or an asset (something I've been trying to do for example for several releases in Bevy Tweening, because animating doesn't care where the object to animate comes from, but currently needs 2 duplicates codepaths only because of different change detection mechanisms).
This PR was linked as a related work, however it looks from my untrained eye like it's going in the opposite direction and making assets and components even more different. I think it would be useful if possible to explain how this change detection mechanism differs from the one of components (based on ticks and Mut<T>), and why it's not possible to use that proven system for assets. I personally don't know enough to see the obstacles, and therefore any solution not going in that direction feels wrong. From a first quick reading it looks like the work does use ticks, but possibly differs in where those ticks are stored (?).
I understand that the objective of this change is more about query filtering, however if we could converge asset change detection toward Mut<T> then we would have an existing familiar pattern for users and would immediately benefit I think (?) from existing query filtering mechanisms like Added<T> which as far as I know are based on ticks like Mut.

@djeedai
All the changes relevant to your question are in the crates/bevy_asset/src/assets.rs file.
Ticks for components are stored in Column. Tick filters are the Added<T> and Changed<T> world queries. Tick filters read the tick from the tick storage of the column. Each time the query matches a component, the tick filter will fetch the tick in the column and compare it with the SystemChangeTick. The tick filter will skip entities with incompatible change ticks.
Unlike the ECS, an Assets<A> is a HashMap<AssetId, A>. Assets v2 allows for some additional metadata per assets. The "single arc tree" — mentioned in the PR description — let you get metadata from Handle<A>. But the change tick is not part of those metadata.
In bevy_assets, change ticks are events. They are stored in the queued_events field of the Assets struct. The asset_events system pushes those events to an EventWriter. Normally, you would access the asset events through the EventReader<AssetEvent<A>> system parameter. This PR simply modifies the asset_events system to update an additional resource: AssetChanges<A>.
Consider reading the "Solution" section of the PR description to get the rest of the story.
The design you describe
I'm not sure I follow you, but I gather you want an Assets SystemParam with a Assets::get_mut(…) -> Option<Mut<A>> method, rather than get_mut that always marks the asset as changed. Maybe you are also thinking of a sort of WorldQuery that let you access a Mut<A> instead of the current Handle<A>?
I think it would be possible. You say that this PR makes "assets and components even more different". But I don't think that's true. It would move forward the design space toward an unified query API for assets and components IMO.
Though I think, indeed, most of the energy required to be spent for an unifying design would be spent in orthogonal sections of the code; Notably, by system-paramifying Assets, so that its methods would have access to SystemChangeTick, though this isn't an exhaustive list of changes required to accomplish unification. Even then, already, if this PR gets merged, we would have started to move toward this unified design.

Thanks @nicopap for the detailed answer. I was skeptical about whether the change goes in the direction of uniform component/asset handling because of the various new Asset-prefixed types, which make it look like everything is duplicated. However I do get that this moves the cursor in the direction where both assets and components have a similar query filter mechanism, which could be in the future merged together, so from that perspective I guess it does improve the situation compared to the current version where asset change detection is only event based. So no objection for that change. Reviewed as best as I could; this is a bit out of my knowledge area.

@cart

I believe we could store change ticks on Handles, if we're willing to store ticks as something like Arc<AtomicUsize>.

I see that Handle<T> is an Arc to a StrongHandle, which as I understand is where any metadata, including change detection ticks, goes. Why would we need another Arc? Can't we just store an AtomicUsize as a field of StrongHandle?

Whether we should is a bit of an open question (ill need to spend more time with the problem).

Looking at this PR it looks like this would help a few things like query filters and change detection via smart pointer. This also makes the mental model for change detection consistent between assets and components (even if we don't immediately use exactly the same types). Is there any catch you can think of already? Or is it just about due diligence before diving into that path?

We could also consider "smart pointer" change detection that bumps the tick on mutate (much like we do for components).

The ideal for me (for Bevy Tweening, but I'm sure there are other uses) would be if we can use exactly Mut itself, so code handling mutations can deal with assets and components uniformly/generically without having to care about the kind of mutated object nor having to carry around Assets<T> like is needed at the minute.

Backlog cleanup: from what I can tell, this 2022 PR could still prove valuable and probably should be adopted. I'll close the PR but mention as much on #5069.


Release 2.0.1 mistagged

Hey :wave: Arch Linux maintainer here.
Release 2.0.1 seem to have been mistagged as release- instead of release-2.0.1.

Thank you for noticing (I wouldn't have). I have delete the release- tag and added release-2.0.1.


Let's Encrypt failure to start

I am beginning to see these error messages
April 4, 2016 8:31:41 AM GMT+7level=info msg="Starting Let's Encrypt Certificate Manager v0.2.5 a31b992"
April 4, 2016 8:31:51 AM GMT+7level=fatal msg="Rancher client: Get https://my.rancher.api.host/v1: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"

Before that rancher-letsencrypt has been working normally for me. What could be the reason for the error?

Looks like a Rancher issue. It can't reach my.rancher.api.host. So either the private network isn't working at all or it's not available immediately on container start. You could troubleshoot by starting the container then immediatley get a shell and ping the Api host.
Meanwhile i have changed the code to make it retry the API connection when there is some error: https://github.com/janeczku/rancher-letsencrypt/commit/5dbb48c5374514806de8a694af0ee0693965bb4f

After leaving it for a while, everything is okay now. I guess it was networking issue with Rancher.

Great! I am closing this.

I got the same problem. The rancher server was indeed reached because all of services are displayed under the stacks. However, no service starts and the status of all of them are "inactive". A bug in rancher?


Tweak renderer selection messages in the Project Manager (3.x)

Check the GLES2 option automatically if GLES3 is unavailable.
Mention the WebGL version corresponding to each renderer.
Mention that OpenGL ES 3.0 support may be unavailable due to not using supported hardware (instead of drivers).
Use bullet points for list items.
Use a string constant for the driver_name metadata name.
Backport cosmetic changes from the master branch.

(Someone asked on Discord which renderer they should pick to target WebGL 1.0.)
Preview
GLES3 available

GLES3 unavailable

Hm, too bad this went under the radar until now. It's a bit late now to change these strings as translations will break. We could consider merging for 3.6 but after the 3.5 release I might eventually switch the translation target in Weblate to the actual 4.0 strings, so I'm not sure we'll be able to update translations further for 3.x.
So this might be best kept for master only?

So this might be best kept for master only?

I guess this needs to be redone for master once OpenGL is more ready to be exposed there.


fix: update submission date when adding a new connection

TIS21-5015: Update submission date using gmc tryadddoctor response data when connecting a doctor

Does this do what it says on the tin? Initiated by an unhappiness at the use of a java.util.Date, I went looking for where GmcConnectionResponseDto.submissionDate is populated.

Just going by what is already used for the response object from GMC client 🤷 Otherwise:
Disconnect: set submission date to null
Connect: update submission date


Keyboard navigation in column view randomly changes focus out of column view

Description
When I use keyboard navigation in column view, the focus seems to randomly go to the tab list as the top. I can not figure out what is causing this but it semi-reliably will happen when navigating through a deep folder hierarchy within one to two minutes. This change in focus makes it impossible to reliably use the keyboard to navigate folders.
Steps To Reproduce

Set view to Column view.
Use up/down to switch selected file
Once you've selected a older, use right to go to its contents
Repeat steps 2 and 3 as needed. At some point the focus will switch to the tab list at the top.

Requirements
I expect keyboard focus to stay in the column view unless I hit TAB or click the mouse.
Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.2715
Log File
debug.log

Thanks for the report, this issue is being tracked in #13813.


Add Cache of Dreams

Please add Cache of Dreams, itemid 215364 to the open list.
Thanks!

Hey @mergele4 ,
I don't play SoD, but I did get around to adding the items. I'd love it if you could kick the tires and let me know how it works. Cheers mate!


Feeds public view should not be language-filtered

Describe the bug

When feeds are displayed to a non-logged user, a language filter applies instead of showing all the posts of the feed. It can make the feed almost empty and different from what the user intended to show when sharing the feed publicly.
To Reproduce
Steps to reproduce the behavior:

Log out of Bluesky or open a private browser window
Open a feed that contains posts in multiple languages, for instance https://bsky.app/profile/did:plc:fb3iwxg23jziddgbtsixx3zu/feed/aaaksqxbolgou
At the time of writing this report, the feed shows a different number of posts based on the language selected: 2 posts in English, 15 in German, 12 in Japanese.

Expected behavior
The public view of feeds should not be filtered based on language given the very few posts that this view exposes (looks like it's around 15). For art feeds it's also completely unexpected.
Details

Platform: Desktop Firefox
Platform version: Firefox 124.0.2
App version: 1.77.0

This actually should be better now. If the language filter causes the entire thing to show as empty, it doesn't apply the filter.

This actually should be better now. If the language filter causes the entire thing to show as empty, it doesn't apply the filter.

That was already the case when I reported it 3 days ago, selecting a language that didn't appear in the feed made all the posts appear (that's why I selected German).
It still doesn't work for promoting feeds outside of bluesky, in my case if I share those feeds saying 'check the great art' and people see only 2 posts out of 15 or 20, I'd feel stupid. That's actually why I checked its behavior, because initially I thought the public view was just broken or shown only a couple of posts by choice.


so no work.

I tried nodepay login to get captcha token, it doesn't work.
result = await get_turnstile_token(
headless=True,
url="https://app.nodepay.ai/login",
sitekey="0x4AAAAAAAx1CyDNL8zOEPe7"
)
print(result)
[discord.cyberious.xyz] [04:19:30] [Solving captcha...] ⣯[discord.cyberious.xyz] [04:19:47] [Failure] -> Failed to retrieve Turnstile value.
[discord.cyberious.xyz] [04:19:30] [Solving captcha...] ⢿
{'turnstile_value': None, 'elapsed_time_seconds': 17.074, 'status': 'failure', 'reason': 'Max attempts reached without token retrieval'}

set the headless to False and it will work

set the headless to False and it will work

Yes it works, but it will be very annoying if it displays the browser.

set the headless to False and it will work

Yes it works, but it will be very annoying if it displays the browser.

can't do anything about that, setting headless to true makes you get caught to turnstile


Getting started exposing our API...

I am starting to expose our API to Lua with sol2. I am using LutJIT 2.05 and Visual Studio 2017.
Here I set the first function:
lua = new sol::state();
lua->open_libraries();
lua->set_function("CreateWindow", static_cast<shared_ptr<Window>(*)(const std::string&, const int, const int, const int, const int, const int, shared_ptr<Window>)>(&CreateWindow));// differentiates between the Unicode and ANSI versions of the command

This is the function declaration in C++:
extern shared_ptr<Window> CreateWindow(const std::string& title, const int x = 0, const int y = 0, const int width = 1024, const int height = 768, const int style = WINDOW_TITLEBAR, shared_ptr<Window> parent = NULL);
Then I load and execute this script:
print("Starting...")
local window = CreateWindow("My Game",0,0,1024,768)
print("OK!")

When I run this I get a crash "Exception Unhandled", probably occurring inside the LuaJIT DLL:

Unhandled exception at 0x00007FF8AD8D4008 (KernelBase.dll) in Leadwerks.exe: 0xE24C4A02.

The script works fine if I remove the call to CreateWindow(). I am guessing there is something else I have to do to make sol recognize those classes as arguments and as the return value?

Have you stepped into CreateWindow to see what is going wrong there?

Not sure if this is the cause, but note that sol2 doesn't handle default parameters on its own (you need to bind overloads for each variation), so shared_ptr<Window> parent might be getting an unexpected value, since you don't provide that via the Lua call.

What @squeek502 said is true, too. That'll probably fix it for you!

This is the way you can get errors:
		try 		{ 			lua->safe_script(source); 		}		 		catch (const std::exception& e) 		{ 			Print(e.what()); 		}


Occasionally doesn't recognise swipe when swiping rapidly many controllers from one to another, one direction.

Occasionally doesn't recognise swipe when swiping rapidly many controllers from one to another, one direction.
It's just for some parts of a second.
But when you want to swipe rapidly many screens that might be annoying.

Looks like there is an issue with the EMPageViewController library I'm using. If you swipe very fast it doesn't seem to recognize some of the swipes. I'm planning to place that library with a custom implementation, but it might take a while before that's ready.

Got it. Thanks for the answer!
Looking forward for the update.
2017-02-09 17:36 GMT+01:00 Martin Rechsteiner<EMAIL_ADDRESS>
Looks like there is an issue with the EMPageViewController library I'm
using. If you swipe very fast it doesn't seem to recognize some of the
swipes. I'm planning to place that library with a custom implementation,
but it might take a while before that's ready.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rechsteiner/Parchment/issues/26#issuecomment-278696671,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APbj6RMh6-6tzimv81l4GZhxvkXR_RdLks5ra0CZgaJpZM4L240w
.

Closing in favour of this #80. It's quite hard to create a page view controller that works really well, so it might take while before this is ready.


To fix or standardize the kuma.db file based on version to allow bulk import of sites via a script regardless of age of the existing program.

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
Other
🔖 Feature description
To fix or standardize the kuma.db file based on version to allow bulk import of sites via a script regardless of age of the existing program.
Problem: A base install via docker has a different database structure then a database which had a monitor added or a tag or a status page. This appears to be because Uptime Kuma relays on patching SQL files located in the db directory to bring the kuma.db data structure up to current version.
This causes bulk import of sites via scripts into the kuma.db file to be overly complex and forces the response of "It is not recommended" when someone asks if the kuma.db can be used for bulk import of sites via scripts.
✔ Solution
Could you change the kuma.db files based on the available versions instead of SQL based patching files.
db/
kuma.db
kuma-1.6.db
kuma-1.7.db
kuma-1.9.db
kuma-1.13.db
kuma-2.0.db
The kuma.db would have the complete database structure, so additional SQL based patching files are not needed and will not cause issues for later versions.
You would still need to have a way to export and import the data from one kuma.db database to the next version. This would allow for a step upgrade process, even on older version of Uptime Kuma.
If someone had version 1.6 and needed to upgrade to version 1.13. The upgrade process would simply run the upgrade-1.7, then upon completing, they can run the upgrade-1.9, and continue the process until the desired version has been reached.
If there is a concern about maintenance around the different versions of the database or transferring of data and you want to keep the current patch a base kuma.db file. See Alternatives.
❓ Alternatives
Can you clean up the .sql patching files so the upgrades or patches do not remove the existing data unless the column or table are being removed for the latest version.
Example - Adding maxredirects appear to be introduced in patch6.sql
File: db/patch6.sql
This patch creates a temporary monitor table, then drops the monitor table and renames the temporary monitor table as the monitor table.
The drop of the monitor table removes all of the existing monitors. If this was needed for something in the past, ok. Can you go back and do a cleanup of the patch sql files to use an alter table to just add the missing column to monitor to be less destructive.
📝 Additional Context
If none of these suggestions will work, then can you provide a suggestion on what I can do in order to bulk import of sites via a script?

You would still need to have a way to export and import the data from one kuma.db database to the next version. This would allow for a step upgrade process, even on older version of Uptime Kuma.

Sorry, but your solution will be a disaster. The script that moving data from one database to another database is hard to write. Also it will be super slow, because it keep writing/inserting data to the next database, even if the table is no change.
Patching the database by changing the schema directly is the most common way and easiest way as far as I know. At least I have seen other famous projects sush as Jellyfin, Wordpress are doing this.
You should check "Schema migration" in Google.
Close as not practical.


chore(demo): Adding a large demo

Now the user can try the module using a large:demo option where a lot of images are going to be
downloaded, just to be sure that it is going to work for that kind of cases. In the future, this
should be covered by our tests but for now I'm going to add this.

Current coverage is 95.83% (diff: 100%)

Merging #53 into master will not change coverage

@@             master        #53   diff @@
==========================================
  Files             4          4
  Lines            96         96
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits             92         92
  Misses            4          4
  Partials          0          0

Powered by Codecov. Last update aa33b00...2dcfce0

Do you still having that problem with big amounts of images where it stopped unexpectedly or it was fixed with the latest changes?

@baldore Let me check right now with 15000 to see what happen.

I just checked again the issue with a large number of urls, and apparently the problem was a different thing.
From my investigation, pizza-guy is behaving how it is expected and the 'problem' that we saw about passing a large set or urls and the module missing a few was basically happening because of duplicated entries inside that collection (I was getting data from the tumblr-lks-downldr module but it seems that the Tumblr API is returning duplicated urls).
I need to work in a fix from that side but I can say for now, that pizza-guy is working like a charm. I'm going to create a PR where we can tell via logs when the data set that's being passed has duplicated entries.

Awesome!

I have a small question.
Is there a problem using a json file instead?
One can easily export a list to a JSON file instead of a JS file.
Tho both works same way in this example, but wouldn't it be better to use a JSON list instead?
From there, we can go on with a txt list too.

@entrptaher Well, we don't have any problem about using a JSON file, but for the demo purposes it doesn't matter. Why do you say it would be better to use a JSON file?

The only thing came into my mind was,
you can use JSON with pretty much every language. And it's pure data that can be updated with external tools.
JS exports are better in many cases, but we are dealing with downloads here.


Process flow Page - When adding trigger it goes outside on screen by Suresh sir

Describe the bug
https://www.berrycast.com/conversations/94494c36-596a-522f-9167-2105c2ba8f31

https://www.berrycast.com/conversations/338fa457-e0bd-56e6-a044-5f783b680119


Test suite

Add in a test suite. It may be that I just have an integration test suite on the qux project rather than unit tests here.

This needs to be broken down into smaller tasks.

Broken down into #30, #31, #32, #33 and #34.


Repeating alarm sound is easy to tune out

Try generating a new tune every time and playing until prompted to stop (at increasing volume over ~30 seconds?)

alternatively, have the pomodoro timer generate a unique melody for every input string, with longer melodies for longer timers (so a tea timer sounds different from a laundry timer sounds different from the pomodoro units)


navbar items color changed

changed navbar text color. so that it can be visible always.

Please see the conflicts . Resolve the conflicts . Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!


Addition of tests for ArchivalConfigStateMachine in common/domain

This update introduces a comprehensive suite of unit tests for the getNextState method in the domain archival configuration state machine, enhancing coverage for various state transitions and validation logic.
It covers scenarios including enabling/disabling archival with valid/invalid URIs, immutability of URIs once set, and error handling for invalid states and events.
Addition of test files for increasing the coverage and to future self to not break any change while coding something in domain folder.
Added unit tests
No potential risks.

Pull Request Test Coverage Report for Build 018df8d1-9e64-463d-82d7-32f8b947638f
Details

0 of 0   changed or added relevant lines in 0 files are covered.
92 unchanged lines in 16 files lost coverage.
Overall coverage decreased (-0.04%) to 62.861%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
1
89.05%

tools/cli/admin_db_decode_thrift.go
1
71.79%

client/history/client.go
2
38.1%

common/peerprovider/ringpopprovider/config.go
2
81.58%

common/persistence/historyManager.go
2
66.67%

common/task/fifo_task_scheduler.go
2
85.57%

service/history/execution/mutable_state_util.go
2
37.63%

service/history/handler/handler.go
2
49.59%

service/matching/taskReader.go
2
83.55%

common/persistence/nosql/nosqlplugin/cassandra/workflow.go
3
61.45%

Totals

Change from base Build 018df723-a9b1-4bc8-8fcb-531607223dca:
-0.04%

Covered Lines:
92912

Relevant Lines:
147806

💛  - Coveralls


Eric s geo coder

alright this branch is ready to be checked for a merge

this is ready to be check again

:+1: Looks good. I'll let @rraub check it in, but he is out today (Wednesday).

:+1:


next-tinacms-cloudinary: fix wrong accept property on input

Hi,
FYI today we noticed that in next-tinacms-cloudinary currently the accept property for the upload input contains the following string:
"text/*,  application/*, image/*"
The spaces included in the string lead to the arbitrary situation that when you click the upload button in the media manager (in Windows and on MacOSX) it is interpreted as "text/*" - basically only allowing text files to be uploaded.
We used patch-package to circumvent this behavior (as we did not find out how to overwrite this in the tina config). As we don't have the tina project checked out locally, I am submitting the below patch file so somebody can make a "correct" PR for it.
Here is the diff that solved my problem:
diff --git a/node_modules/next-tinacms-cloudinary/dist/index.js b/node_modules/next-tinacms-cloudinary/dist/index.js
index ef6e7fe..a520960 100644
--- a/node_modules/next-tinacms-cloudinary/dist/index.js
+++ b/node_modules/next-tinacms-cloudinary/dist/index.js
@@ -52,7 +52,7 @@
       this.fetchFunction = (input, init) => {
         return fetch(input, init);
       };
-      this.accept = "text/*,  application/*, image/*";
+      this.accept = "text/*,application/*,image/*";
       this.previewSrc = (publicId) => {
         if (typeof publicId === "string")
           return publicId;

This issue body was partially generated by patch-package.

@Perni1984 Thanks for the report, just pushed up a fix.


Fixture options

Follow-up to How to pass parameters to a decorator? https://github.com/react-cosmos/react-cosmos/issues/1234 by @frankandrobot

Need
Cosmos provides a flexible way of creating fixture decorators, but it doesn't provide a way to parametrize decorators per fixture. This was possible in Cosmos Classic (albeit in an unsafe way), and the request has already been raised before by multiple people. There is even a channel on Slack dedicated to this issue.
The official solution for parametrizing decorators at the moment is basically to not use Cosmos decorators and use wrapper components directly in fixtures. This is not a bad solution per se, but it falls short in this situation: What if you have 100 fixtures wrapped by one decorator, and you only want to parametrize the decorator in 10 fixtures? By having to manually add a wrapper component in all fixtures, you change 100 fixtures instead of 10. Ideally, 90 fixtures would use the decorator defaults, and only the other 10 fixtures provide custom decorator params.
Solution
An optional options fixture export. This option represents "fixture options" and can be annotated with a TypeScript/Flow/etc type.

The reason why these options are called "fixture options" and not "decorator params" is because I envision these options to be also used in other places besides decorators, like in a visual regression test suite that, for example, can have its viewport configured through fixture options.

The fixture options are passed as fixtureOptions in decorator props. Currently, decorator props only contain the fixture element as children.

The examples below feature TypeScript, which is 100% optional.

Here's a Redux example, because it's possibly the most popular use case that would benefit from fixture options.
// fixtureHelpers/fixtureOptions.ts (you can put this anywhere in your codebase – only for TS users)
export type FixtureOptions = {
  reduxState: MyReduxState;
};

// cosmos.decorator.tsx
type DecoratorProps = {
  children?: ReactNode;
  fixtureOptions: FixtureOptions;
};

export default ({ children, fixtureOptions }: DecoratorProps) => {
  const { reduxState = defaultReduxState } = fixtureOptions;
  return <Provider store={configureStore(reduxState)}>{children}</Provider>;
};

// MyComponent1.fixture.tsx (uses default Redux state)
export default <MyComponent foo="bar" />;

// MyComponent2.fixture.tsx (uses custom Redux state)
export options: FixtureOptions = {
  reduxState: {
    // ...
  }
}

export default <MyComponent foo="bar" />;

I believe this is a feature that will have a large impact for React Cosmos users. Let me know if you have any feedback. New ideas, as well as examples of other use cases that fixture options can address are more than welcome. Thanks!

This was implemented in https://github.com/react-cosmos/react-cosmos/pull/1649.


SA1000 doesn't handle 'target-typed' new expressions with parameters

This issue was previously reported and closed; however, SA1000 is still being incorrectly reported whenever the expression contains a parameter.
For example, let Dog be a class defined with a constructor that takes one parameter, numPaws.
public class Dog
    {
        public Dog(int numPaws) { }
    }

Then the following invocation of the constructor will incorrectly report SA1000.
Dog dog = new (3);

The issue you refer to was about SA1000 triggering when there were no spaces.
The behaviour you are seeing is by design. If you try Visual Studio's built in formatting (Ctrl K D), you will se that it removes the space between new and the parenthesis. At least if you are using the default formatting settings. This is the expected formatting according to SA1000:
Dog dog = new(3);


Additional methods: waitAndType() waitAndCheck()..

When dealing with forms, especially wizards, a common use case is to wait for an element to be visible and later type text to it.
It would be great to have  waitAndType() method (and probably other counterparts like tap check etc) similar to waitAndClick() without need to write helper functions.

Other alternatives to consider could be to have a setting in the already existing methods, or even using it a "wait" as the default behavior.

The following methods should be implemented and tested for this issue:

waitAndType(selector, text, timeout=500)
waitAndTap(selector, timeout=500)
waitAndCheck(selector, timeout=500)


Add GRR legacy names.

Add back in some artifacts that were removed in:
https://github.com/ForensicArtifacts/artifacts/pull/152
but are required for GRR interrogate to work.

This change is

@joachimmetz

Please fix bug in this CL and I opt to revert the white space changes.


Include oauth authentication information on request

@jmcs can you check this? Hardcoding the "uid" scope does not look right, maybe we can use tokeninfo.get('uid') and/or allow defining a function to get the "user" from the token info data


corrected typos

corrected typos

I will close this pull request as it only seems to have spacing changes, please create a new pull request with changes to your profile


New York Port

Is it possible for New York city to have a port?

One port per state, but will add the possibility to build that in New York City.


thread_parent not returned in some cases

When I curl https://webnews.csh.rit.edu/csh.flame/7606 it doesn't return a thread_parent object in the post. From cursory glancing over other results I've been given, this might also happen whenever the parent object is null.

don't care anymore

This is not applicable going forward anyway, since the v1 API has a completely different structure. Need to clean up some of these old issues, if I ever get around to launching that.

https://github.com/issues was just shown to me, and I'm working on cleaning up all of the old stuff I have.

Whoah, cool, I didn't know about that either. Nice find.


Fix retaining existing pod annotations in GSAC

How to categorize this PR?

/area control-plane
/kind bug
/priority normal
What this PR does / why we need it:
This PR fixes the patch calculation for pods belonging to a test shoot in the GSAC. These pods are supposed to be annotated with "fluentbit.io/exclude": "true" (see #2320). However, the previously calculated patch caused any existing annotations of a Pod to be dropped if an update (create) request didn't already contain the "fluentbit.io/exclude" annotation.
Release note:

An issues has been resolved which caused missing annotations for control plane pods of test shoots (`.spec.purpose: testing`).

/invite @vlvasilev

@timuthy How can reproduce it? No pods initially are set with this annotation although the pods get annotate successfully keeping the other annotation. I have create a busybox pod with annotation without "fluentbit.io/exclude": "true" and after creation the pod kept his initial annotation plus the fluent-bit related one.

@vlvasilev The problem is that if other annotations exist already then your old code will overwrite the whole annotations section of the pod. You can try creating a pod with an annotation foo=bar. After your webhook kicks in then the foo=bar will be removed. @timuthy change fixes this. :)
/assign @vlvasilev

@rfranzke Sorry. I guess I was looking the automatically added annotations during the test and since in the documentation says that add works as an insert operation I didn't notice the bug.

@vlvasilev Only code owners may change review labels.

@vlvasilev Only code owners may change review labels.

Nice catch @timuthy . Thank you for fixing!


Why only last token used in datasets for training?

Dear maintainers,
Thank you for your awesome paper and open-source project. I recently ran into the detail of dataset pre-processing, which i can not understand properly.
In the processing of datasets you ignore all the labels exept the last one (as it is in https://github.com/Vahe1994/AQLM/blob/bf84f39c24ad1fe4eabccc22bfe9145e0c2b7d93/src/datautils.py#L51). This seems a bit odd as long as transformers perform causal masking inside forward and during training LM model we want to propagate loss through all of the tokens and not the last one.
Could you please explain this detail?

@VityaVitalich  actually is an artifact from GPTQ code. tar is never used in our code (as well as in the original repository).


Beautified and corrected clock

Thank you
On Sat, Oct 3, 2020 at 12:48 PM Craig<EMAIL_ADDRESS>wrote:

Merged #876 https://github.com/geekcomputers/Python/pull/876 into
master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geekcomputers/Python/pull/876#event-3836314717, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQLG5GEGGTYZ3HDAE2IYP6DSI3F3ZANCNFSM4R77MENA
.


ENH: filters to time frequency plots

We should also apply the filter setting to the time-frequency plots

closing as this repo is deprecated


[NRE] Explosive props don't explode

Title

Error details for when I recreated this issue.

Fixed


Migrate build from Groovy to Kotlin DSL

Fixes #222

Could use a rebase, sorry @AlexCzar

Will probably have to wait for the weekend.

Rebased and addressed the comment about the buildScan checks.
Please, do not apply any renovate bot changes before merging this.

Please, do not apply any renovate bot changes before merging this.

oh no, sorry! I missed this and just merged several

I will fix merge conflicts...

thanks @AlexCzar!


shallow serialize arrays

@lob/api-engineering-team

LGTM

LGTM

Coverage remained the same at 100.0% when pulling 27d15e74987ff078f6ee986392a9b7da431185af on add-array-serializer into<PHONE_NUMBER>3410601d132d5b3507feb7deec79dd on master.


rename directory from details/components to details/tabs

also moving common utils to src/utils
📝 Description

Add a brief description

🎥 Demo

Please add a video or an image of the behavior/changes

/lgtm


[Expo] NativeStripeSdk in StripeProvider.tsx is undefined using initStripe

Describe the bug
initStripe({
  publishableKey: 'pk_test_xxx',
}).then(r => console.log(r)).catch(e => console.error(e));

Using the preceding code to initialize stripe in a componentDidMount in an expo project causes a:
TypeError: Cannot read property 'initialise' of undefined (StripeProvider.tsx:42) error.
To Reproduce
import { initStripe } from '@stripe/stripe-react-native';

class App extends Component {
  state = {};

  componentDidMount = () => {

    initStripe({
      publishableKey: 'pk_test_xxx',
    }).then(r => console.log(r)).catch(e => console.error(e));
  };

  // render() {...}
}

Expected behavior
NativeStripeSdk to be compiled and working in the package import.
Desktop (please complete the following information):

OS: Ubuntu desktop
Browser [e.g. chrome, safari]
Version: 20.04

Smartphone (please complete the following information):

Device: Android emulator
OS: Android Pixel 4 API level 30

stripe-react-native version:
0.1.1

How are you running your expo project? Expo support is still quite limited, see https://github.com/stripe/stripe-react-native#expo
We're working with the Expo team to make this smoother, you can follow along here: https://github.com/stripe/stripe-react-native/issues/3

hi @carl-passnfly ! Good news for you- Expo managed workflow support for @stripe/stripe-react-native has landed 😄
If you download the newest versions of Expo Go from the stores, you should be good to go


ui-select-search has invalid ARIA (aria-expanded) attribute

When using the selectize theme with multiple='true', the aria-selected attribute is applied to the hidden <input type='search' class='ui-select-search....'
This is according to the google chrome accessibility extension developer tool.

My workaround is to remove the (line 2426) in select.js. is this a valid workaround? It seems to get rid of the accessibility error at least....I'm happy to submit a PR.

I don't think this is a valid workaround as you are removing from the template cache (correct me if I'm wrong).
I'm not a aria expert so maybe you can have a look if this problem is only in newer version of the library? Or have some alternative ideas to fix this?
Sent from my Samsung SM-A310F using FastHub

The same accessibility error [This element has an unsupported ARIA attribute] occurs with the single select element in the bootstrap theme.  I believe aria-expanded="true" should be removed from the single select template (select.tpl.html) for the bootstrap and select2 themes.

I´m also interested on this issue


[Feature Request] add -o "path" argument

hi, old udemy-dl had -o "path" property. But your modumdey-dl is not available either.

this was added in https://github.com/Puyodead1/udemy-downloader/commit/8ab48230ed996dcd0c56d184deb0f7cdba2f1846


Log eth address from server logs

Is your feature request related to a problem? Please describe.
Hard to track down what logs correspond to what parties on the network, eth_address is a public piece of information attached to each request, should be included in request log
Describe the solution you'd like
Add eth_address to request_log

Closed by #86


error:  while accessing https://github.com/erikdubbelboer/phpRedisAdmin.git/info/refs

Operating system and version:

nvm debug output:

nvm ls output:

How did you install nvm? (e.g. install script in readme, Homebrew):

What steps did you perform?

What happened?

What did you expect to happen?

Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?

I have no idea why any nvm operation would attempt to access a random git repo. Perhaps you're using npm install, and that repo is listed in your package.json?


Local storage not set after sign in

After a successful call to _tokenService.signIn, the local storage is left untouched, so the following calls to get/post/etc. never send the authentication headers.
It seems the signIn method is just missing a call to _setAuthData.

@implicitdef did you add :expose  => ['access-token', 'expiry', 'token-type', 'uid', 'client'] to your CORS configuration? Otherwise Rails doesn't add the Access-Control-Expose-Headers to the sign-in response in which case the service can't access the headers and doesn't set the local storage.
Thanks for your feedback!

Right, I missed that, thanks.

thanks @neroniaky for your answer!!


Update Point.js

add three methods to this class:normalize interpolate polar toPorlar.

Hi @pyluyuan ,
Thanks for submitting pull request.
Is there reason why those methods should be in Leaflet core?
Did you consider creating a plugin?


Broken soundboard? Fix?

Failed playing the sound: soundboard.playSound: timeout waiting for voice make sure you put a proper audio file, and did not for example link to a youtube video.
Not sure what they did while I was gone but I came back to the serve giving this message after it had been working for about a week. Now the bot just sits in afk since it doesn't leave voice.

Yeah its been a bit fucky lately, been putting it up since the voice code is a bit spaghetti-ish, probs gonna do a full rewrite


Move workflow code into functions and write unit tests for them

💡 Summary
Write unit tests for all the code in the workflows.
Motivation and context
All code should be tested to prevent unknown problems from biting us unexpectedly (which has happened).
Implementation notes
Look through all the workflows.
Pull out any code.
Put them into functions in "utils/workflow".
Write Pester unit tests for them.
Verify that the workflows still work and that the unit tests pass.
Acceptance criteria
How do we know when this work is done?

[ ] Workflow could is successfully unit tested.

TODO:  I need to create individual issues for each workflow that needs to be modified and add them to this epic.