Some good suggestions.

Hello,
Big fan of your project, thanks so much for creating it!
Just some suggestions that wouldn't be hard to implement, but would enhance this so much (In order of importance):

A "Forgot Password" Function. Sends an email with the ability to the user to follow the link and reset their password.

A "Remember Me" check box which is pretty evident what it does.

Encrypted Passwords (Perhaps use bcrypt, sha256 or md5?)

While I'm not great with Backend, I would be happy to help you with frontend if it's ever needed (Especially a Material design which would make this look even more beautiful).
Thank-you!
Eddie

Hey Eddie, I'd definitely be open to some help with the visual side of things. I actually have already added all of those features (password hashing is more secure than encryption, which is what was already implemented in the version that you're using) in the current version I'm working on (plus lots and lots more).
One idea I was actually thinking of implementing was a sort of theme generator that would allow the user to use color pickers to create their color scheme and alter the CSS automatically... what do you think about that as an idea?

Hi @eddiethejibson,
Just so you know "Forgot Password" and "Remember Me" both exist in the dev branch.

@VA7NFH @therecluse26 Sorry about that, I haven't actually checked the recent version recently, I was using an older version - I didn't realise how much had been added! Next time, I'll make sure to check over before submitting suggestions.
Regarding your Color scheme idea, I think that would be a very good enhancement. However, I think it would look even better with a Material theme? If you'd like, I could fork this and customise the front-end with the Materialize framework. If you like it maybe you could include it in your main repository?
On discovery of how much had been changed, I tested out trying to install it on my test server (http://eddiej.pw) but user accounts aren't being created? I have created the database along with installing PHPMailer - any ideas?
Thanks again and apologies once again for my initial mistake.
Eddie

@eddiethejibson, no problem! And I'd love to see it it with a different framework than bootstrap. I could even allow the user to switch between them during the installation process, which would give them more development options. I think it's an awesome idea!
As for the dev branch, I'm still tweaking some things up on it (such as tightening down the mail functionality), so the one you pulled may be slightly out of date with what I have, but not in any huge way. You should be able to navigate to the install folder in the root of the application (so like, localhost/PHP-Login/install/index.php ) and run through the installer that way. That'd be the easiest way to go about it, currently. I'm writing up documentation currently on how to go through the manual process, but it's slow going, as I have 10 different irons in the fire right now, as I'm sure you can relate :P
Getting there, I promise! I'm definitely looking forward to hearing some more suggestions

@eddiethejibson, I'm also planning on moving what's in the dev branch currently over to my page and taking more ownership over the project, since I've been the primary developer on this, so I can establish some sort of branding to it. If you want to help me out with that aspect, I'd be very appreciative. I'm trying to think of a fitting project name, and my creativity is running dry. Once I figured something out, I was planning on designing a logo and eventually a website for the project, so if you wanted to help in that regard, I could definitely use it.

@therecluse26, very good idea I will try and think of something and get back to you.

Thanks @VA7NFH !

@therecluse26 Definitely! When it comes to names, I'm pretty awful. However, Front-End development and would be more than happy to help you out with that. I'll fork this tomorrow and start on the Material design. Expanding on the color customisation idea, perhaps the user only can choose a list of colors which suit the page the best? Maybe from http://flatuicolors.com? Some gradients (http://uigradients.com) would make the page look very clean depending on it's use. I actually have a good idea for a sort of clean Dashboard feature which I'll try and add on my "forked" version too. I've got a few servers handy, and would be more than happy to host the project website on them? It would save you both time and money.
Let me know your thoughts.
Thanks Again,
Eddie

@eddiethejibson , to clarify, when I'm saying "user" in this context, I'm really meaning the admin. I don't know fi you've noticed, but there is a "site settings" option in the drop down menu of a superadmin, which allows them to edit most of their website's configuration settings. I could include a link to the style generator in the same way and restrict access to only the superadmin.
But yeah, we could definitely have it generate recommended color schemes as well, that would be awesome.
And thanks for offering the server! I was thinking of just doing it as a github page and using it to link to releases and host documentation, mostly, so that would save us both the need to worry about hosting it ourselves. I believe you can generate them with jekyll, so we'd just need to write up the content and sass code.

@therecluse26 Right - sounds good. I'm still having issues trying to install the newer version on my server. I tried on two very different servers - If you'd like to see them yourself, go to https://eddiejibson.com/PHP-Login/install/ and http://eddiej.pw/PHP-Login/install/ . Any ideas? I've tried manually installing them too, but as I said before, they don't create the users - just load in an infinite loop. A much older version worked fine for me.
Thanks.

Huh, are there any errors being logged in your php_errors.log file?
On Mon, Feb 13, 2017 at 2:36 PM, Eddie Jibson<EMAIL_ADDRESS>wrote:

@therecluse26 https://github.com/therecluse26 Right - sounds good. I'm
still having issues trying to install the newer version on my server. I
tried on two very different servers - If you'd like to see them yourself,
go to https://eddiejibson.com/PHP-Login/install/ and
http://eddiej.pw/PHP-Login/install/ . Any ideas? I've tried manually
installing them too, but as I said before, they don't create the users -
just load in an infinite loop. A much older version worked fine for me.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fethica/PHP-Login/issues/66#issuecomment-279498364,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH24Ahx6IgPhxk_cYUOBMj0qhNEyMEzDks5rcLDVgaJpZM4L_lRf
.

@therecluse26 No, that's the first thing I checked.
All server's PHP and SQL versions are up to date.

Try adding this to the top of the php code of the index.php page within the
install folder
error_reporting(E_ALL);
ini_set('display_errors', 1);
On Mon, Feb 13, 2017 at 2:46 PM, Eddie Jibson<EMAIL_ADDRESS>wrote:

@therecluse26 https://github.com/therecluse26 No, that's the first
thing I checked.
All server's PHP and SQL versions are up to date.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fethica/PHP-Login/issues/66#issuecomment-279501020,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH24AgAlYHYMpualjmh3xooGFpvQDvGCks5rcLL9gaJpZM4L_lRf
.

This will be helpful for me in trying to try to iron out some of these compatibility issues and issues with the installer.  Both CentOS. One running cPanel installation (which is what a lot of people will be using to install on, I assume) and the other Sentora as I don't need to manage loads of clients on that one.
Thanks again.

Okay, yeah I haven't tested this on cPanel, but I'll try it out. I'm hoping
that it doesn't limit some of the necessary functionality too much. For
example, this script uses shell_exec features for certain things, which may
be disabled with some hosting providers, it's hard to say. The requirements
will be outlined in my upcoming readme docs
On Mon, Feb 13, 2017 at 3:02 PM, Eddie Jibson<EMAIL_ADDRESS>wrote:

@therecluse26 https://github.com/therecluse26 Of course! Both CentOS.
One running cPanel installation (which is what a lot of people will be
using to install on, I assume) and the other Sentora as I don't need to
manage loads of clients on that one.

Odd. I'm hosting both panels myself and haven't put any restrictions on that...

Yeah, I dunno for sure.. were you able to get errors to output?

@therecluse26 Could do, briefly looked over earlier but nothing stood out. I can look further tomorrow. Just seems a bit coincidental that two different panels, on two different servers, on two different versions of CentOS have the same error...
What were/are you using to test it on?

I'm developing primarily on mac, but I've tested it extensively on Gentoo and Ubuntu with no issues, and am working on Windows compatibility.

I'll push my changes tonight and you can pull the newest updates to see if any of that helps also.

@therecluse26 Great, thank-you. I'll keep you updated. I think I have a few ideas for names by the way, but haven't finalized them yet. I'll be happy to buy the .com or something that redirects to GitHub pages or whatever you plan to use.

Sweet! Bounce some ideas off of me and we'll see what we can do. If you
want to discuss this elsewhere, I made a gitter channel for collaborators
to chat on here https://gitter.im/PHP-Login/Lobby
On Mon, Feb 13, 2017 at 3:17 PM, Eddie Jibson<EMAIL_ADDRESS>wrote:

@therecluse26 https://github.com/therecluse26 Great, thank-you. I'll
keep you updated. I think I have a few ideas for names by the way, but
haven't finalized them yet. I'll be happy to buy the .com or something that
redirects to GitHub pages or whatever you plan to use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fethica/PHP-Login/issues/66#issuecomment-279509569,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH24AsV_ZUb5zdvP3prHe9VH5CvLIS8gks5rcLpjgaJpZM4L_lRf
.

Here, rather:
https://gitter.im/PHP-Login/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link
On Mon, Feb 13, 2017 at 3:42 PM, Brad Magyar<EMAIL_ADDRESS>wrote:

Sweet! Bounce some ideas off of me and we'll see what we can do. If you
want to discuss this elsewhere, I made a gitter channel for collaborators
to chat on here https://gitter.im/PHP-Login/Lobby
On Mon, Feb 13, 2017 at 3:17 PM, Eddie Jibson<EMAIL_ADDRESS>wrote:

@therecluse26 https://github.com/therecluse26 Great, thank-you. I'll
keep you updated. I think I have a few ideas for names by the way, but
haven't finalized them yet. I'll be happy to buy the .com or something that
redirects to GitHub pages or whatever you plan to use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fethica/PHP-Login/issues/66#issuecomment-279509569,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH24AsV_ZUb5zdvP3prHe9VH5CvLIS8gks5rcLpjgaJpZM4L_lRf
.


That model does not exist'

status: 404,
json: {
error: {
message: 'That model does not exist',
type: 'invalid_request_error',
param: null,
code: null
}

OpenAI disabled access to the models via the official API. If you still want to use them, you can use the reverse proxy/private API server as documented in the readme.

i use the example reverse but ,reply this
status: 429,
json: {
status: false,
error: 'You are rate-limited Rate-limited or API key is invalid'
}

i use the example reverse but ,reply this
status: 429, json: { status: false, error: 'You are rate-limited Rate-limited or API key is invalid' }

the same error. But it was fine five minutes ago

it's OPENAI_API_KEY setting error ,
Set the OpenAI API key to your ChatGPT session's access token instead of your actual OpenAI API key. You can find your ChatGPT session's access token by logging in to [ChatGPT](https://chat.openai.com/) and then going to https://chat.openai.com/api/auth/session (look for the accessToken property). Fetching or refreshing your ChatGPT session's access token is not currently supported by this library.
but the other question is, reverse endpoint reply this
"model":"text-davinci-002-render"}
so i can't use text-davinci-003 when i set the model text-davinci-003-render

i use the example reverse but ,reply this
status: 429, json: { status: false, error: 'You are rate-limited Rate-limited or API key is invalid' }

the same error. But it was fine five minutes ago

solved. I missed a letter in the token. The error message is a bit confusing.

so i can't use text-davinci-003 when i set the model text-davinci-003-render

Right, if you're trying to use non-ChatGPT models then don't use the private API server.


Automatically remove garbage-collected objects from TF graph

Setting up tensorflow graphs in python feels strange since the graph keeps old and unused parts.
Would it be possible to remove garbage-collected operations/tensors from the Tensorflow graph?
When I tried to create my first graphs, I very soon ran into the problem of leftover placeholders when simply re-entering code parts.
I still have to reset my whole graph in order to change it without side effects.
Programming with tensorflow would feed way more "pythonic", if I could add and remove parts to the graph by creating and deleting python objects.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 1.9.0
Python version: 3.6.5
Bazel version (if compiling from source): none
GCC/Compiler version (if compiling from source): none
CUDA/cuDNN version: none
GPU model and memory: none
Exact command to reproduce: none

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Mobile device

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 30 days with no activity and the awaiting response label was assigned. Is this still an issue?

@Hoeze Resetting graph is recommended to avoid undesired effects.

@wt-huang Yes i know that.
This is a proposal how to improve this rather than a question how to circumvent it :)

As of TensorFlow 2.0:
Thank you for picking this up!


How do I hide just the info/accuracy bar in LUA?

Describe your problem here.
How do I hide just the info/accuracy bar in lua? (the thing with the ratings, accuracy, score and misses)
I dont want to hide anything else.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

setProperty('scoreTxt.visible', false)

thanks it worked


iPhone 6 10.2 rebooted on beta 5

Just tried to delete the downloaded ota file as my iPhone freezes and rebooted

{"bug_type":"115","timestamp":"2017-01-30 05:57:22.44 +0100","name":"Reset count","os_version":"iPhone OS 10.2 (14C92)","incident_id":"3160C870-4AFD-4DAD-B8CC-E03BEAD3D8F5"}
Incident Identifier: 3160C870-4AFD-4DAD-B8CC-E03BEAD3D8F5
CrashReporter Key:   853de4af2f2b17c71b562c36dacb31f27a1e52b3
Date: 2017-01-30 05:57:22.38 +0100
Reset count: 0
Boot failure count: 1
Boot faults: wdog
Boot stage: 255
Boot app:<PHONE_NUMBER>

New commit.

dupe


How can I report location even when user stand STILL and has no activity

Hi
Thanks for great plugin.
I am using android + ionic 2.
I found out in some cases I see "Detected Still Activity" and in this case call back function doesn't called also it doesn't send data to server, after that if I start moving it will work again.
I was wondering if is there any option to make it call callback and sending data to server, even when there is no activity?

Did you try setting this? stopOnStillActivity: false

Or use changePace function.

Notice: this issue has been closed because it has been reported for branch 2.x or later. It could be already fixed in v3 or is not relevant anymore. You may reopen this issue if it has been closed in error.


Feature/GitHub ci

This adds build check to PR using github actions.

@raniejade and @chippmann ready to review !


Dry simple writer

Hey there!
Since all the class names of simple writers can be easily inferred from a slug, how about DRY them out with some metaprogramming?
The same pattern can be observed in the autofix writer as well, but it is a bit trickier because there are multiple slugs reusing the same autofix class.
Thoughts?

I will close the PR for now but as I said above, please feel free to share your thoughts on the topic. Maybe I miss something.


File header code fix should only replace the copyright element

An XML file header may contain additional elements, including the following:

Horizontal bars (the series of ----------------- characters)
A <summary> element
Other XML elements
Other text outside of XML elements

Expected behavior
When the file header code fix corrects the <copyright> element, each of these other elements should be preserved.
Actual behavior
When the file header code fix corrects the <copyright> element, the entire header is replaced (each of the items is lost).

Going to have a look at this as I got burnt by it today.

Fixed and pull request issued.


22 cannot connect through xrdp

launch xrdp-sesman
override the default xrdp config
add codemaze user and set default password

after fix


Polymorphism when deriving drop allows discarding arbitrary values

impossible : Handle R -> ()
impossible x = drop@(Handle R) x

This function typechecks (incorrectly, but this problem is already known, see https://github.com/granule-project/granule/issues/175) but attempting to use it to drop a handle at runtime throws an exception.
However, this function:
impossible : forall {a : Type} . a -> ()
impossible x = drop@a x

also typechecks, but in this case succeeds at runtime regardless of the type a, allowing things such as file handles and arrays to be dropped even though this is unsound behaviour.

Fixed by PR https://github.com/granule-project/granule/pull/220


Issues related to subsetting a VectorListSxp, particularly, a StrSxp

@simonbyrne
I notice that when I subset a StrSxp object with multiple indexes, it returns a julia array of CharSxp's. I think most users (at least myself) is expecting a StrSxp object with the corresponding indexes.
Is there any reasons for this implementation?
julia> a = RObject(["a", "b", "c"])
RCall.RObject{RCall.StrSxp}
[1] "a" "b" "c"

julia> a[1:2]
2-element Array{Any,1}:
 RCall.RObject{RCall.CharSxp}
<CHARSXP: "a">

 RCall.RObject{RCall.CharSxp}
<CHARSXP: "b">

Also, when only one element is being extracted from the StrSxp, the element of type CharSxp is returned to the user
julia> a[1]
RCall.RObject{RCall.CharSxp}
<CHARSXP: "a">

To mirror the R behavior, should it be wrapped inside a StrSxp object and then returned to the user? This may be less important.

This seems like a good idea.


Possible upstream update

Dongle_id 7748c5efc634eb13

Thanks,
I updated with route reference.
Le sam. 7 janv. 2023 à 18:41, Shane Smiskol @.***> a
écrit :

Merged #26895 https://github.com/commaai/openpilot/pull/26895 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/pull/26895#event-8175115667, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATISGGQB7ROZCEH73FXJT33WRGTDBANCNFSM6AAAAAATT3EBZQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Pass native WRF output to MET tools

Enhancements to the MET tools are needed to complete this task. Please see dtcenter/MET#2547 for this enhancement.
Describe the Enhancement
Once MET has been enhanced to support WRF output, test that changes work using containers. Remove UPP processing as it will not be needed if MET can read the WRF output directly.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority
[ ] Select requestor(s)

Projects and Milestone

[ ] Select Repository and/or Organization level Project(s) or add alert: NEED PROJECT ASSIGNMENT label
[ ] Select Milestone as the next official version or Future Versions

Enhancement Checklist

[ ] Complete the issue definition above, including the Time Estimate and Funding Source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

Issue dtcenter/MET#2547 was completed by @georgemccabe to add support for reading WRF output into MET tools. Testing was performed using the Plot-Data-Plane and Grid-Stat MET tools to confirm that these data can be read into MET.


[Refactor] Remove old parser for partition-related statements

What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[x] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_admit_test

run starrocks_admit_test


Chunking causes unrelated non-dimension coordinate to become a dask array

What happened:
Rechunking along an independent dimension causes unrelated non-dimension coordinates to become  dask arrays.   The dimension coordinates do not seem affected.
I can stick in a synchronous compute on the coordinate to recover, but wanted to be sure this was the expected behavior.
What you expected to happen:
Chunking along an unrelated dimension should not affect unrelated non-dimension coordinates.
Minimal Complete Verifiable Example:
import xarray as xr
import dask.array as da

def print_coords(a, title):
    print()
    print(title)
    for dim in ['x', 'y', 'b']:
        if dim in a.dims or dim in a.coords:
            print('dim:', dim, 'type:', type(a.coords[dim].data))

arr = xr.DataArray(da.zeros((20, 20), chunks=10), dims=('x', 'y'),
                   coords={'b': ('y', range(100,120)),
                           'x': range(20),
                           'y': range(20)})

print_coords(arr, 'Original')

# The following line rechunks independently of b or y.
# Removing this line allows the code to succeed.
arr = arr.chunk({'x': 5})

print_coords(arr, 'After chunking')

arr = arr.sel(y=2)

print_coords(arr, 'After selection')

print()
print('Scalar values:')
print('y=', arr.coords['y'].item())
print('b=', arr.coords['b'].item())  # Sad Panda

Original
dim: x type: <class 'numpy.ndarray'>
dim: y type: <class 'numpy.ndarray'>
dim: b type: <class 'numpy.ndarray'>

After chunking
dim: x type: <class 'numpy.ndarray'>
dim: y type: <class 'numpy.ndarray'>
dim: b type: <class 'dask.array.core.Array'>

After selection
dim: x type: <class 'numpy.ndarray'>
dim: y type: <class 'numpy.ndarray'>
dim: b type: <class 'dask.array.core.Array'>

Scalar values:
y= 2

<stack trace elided>
NotImplementedError: 'item' is not yet a valid method on dask arrays

Environment:
Output of xr.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.7.6 | packaged by conda-forge | (default, Jun  1 2020, 18:57:50)
[GCC 7.5.0]
python-bits: 64
OS: Linux
OS-release: 4.19.112+
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
libhdf5: 1.10.4
libnetcdf: None
xarray: 0.15.1
pandas: 1.0.5
numpy: 1.18.5
scipy: 1.4.1
netCDF4: None
pydap: None
h5netcdf: None
h5py: 2.10.0
Nio: None
zarr: 2.4.0
cftime: None
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: 2.19.0
distributed: 2.19.0
matplotlib: 3.2.2
cartopy: None
seaborn: None
numbagg: None
setuptools: 49.1.0.post20200704
pip: 20.1.1
conda: 4.8.3
pytest: 5.4.3
IPython: 7.16.1
sphinx: None

I have the same problem in xarray 2022.3.0.
The issue is that this creates unnecessary dask tasks in the graph and some operations acting on the coordinates unexpectedly trigger dask computations. "Unexpected" because the coordinates at the beginning of the process where not chunked. So computation that was expected to happen in the main thread (or not happen at all) is now happenning in the dask workers.
An example:
import numpy as np
import xarray as xr
from dask.diagnostics import ProgressBar

# A 2D variable
da = xr.DataArray(
    np.ones((12, 10)),
    dims=('x', 'y'),
    coords={'x': np.arange(12), 'y': np.arange(10)}
 )

# A 1D variable sharing a dim with da
db = xr.DataArray(
    np.ones((12,)),
    dims=('x'),
    coords={'x': np.arange(12)}
)

# A non-dimension coordinate
cx = xr.DataArray(np.zeros((12,)), dims=('x',), coords={'x': np.arange(12)})

# Assign it to da and db
da = da.assign_coords(cx=cx)
db = db.assign_coords(cx=cx)

# We need to chunk along y
da = da.chunk({'y': 1})

# Notice how `cx` is now a dask array, even if it is a 1D coordinate and does not have 'Y' as a dimension.
print(da)

# This triggers a dask computation
with ProgressBar():
    da - db

The reason my example triggers dask is that xarray ensure the coordinates are aligned and equal (I think?). Anyway, I didn't expect it.
Personally, I think the chunk method shouldn't apply to the coordinates at all, no matter their dimensions. They're coordinate so we expect to be able to read them easily when aligning/comparing dataset. Dask is to be used with the "real" data only. Does this vision fit the one from the devs?  I feel this "skip" could be easily implemented.

It makes sense to me that chunking along a dimension dim should not chunk variables that don't have that dimension.
@shoyer what do you think


Add a Gitter chat badge to readme.md

PrismarineJS/prismarine-viewer now has a Chat Room on Gitter
@rom1504 has just created a chat room. You can visit it here: https://gitter.im/PrismarineJS/prismarine-viewer.
This pull-request adds this badge to your readme.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

thanks no


Unable to create Feature flag with ARM template

Hi, please provide better documentation of how to create feature flags via ARM templates. I am not able to figure it out.
The only documentation I found for feature flags is this
For feature flag, the value should be application/vnd.microsoft.appconfig.ff+json;charset=utf-8. For Key Value reference, the value should be application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8. Otherwise, it's optional.
But even after setting content type as above its creating key-value pair instead of Feature Flag

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0000e043-0717-23d4-5d63-c5728919cda8
Version Independent ID: b8726c93-69e0-07d5-5bff-0b875dec00ab
Content: Create an Azure App Configuration store by using Azure Resource Manager template (ARM template) - Azure App Configuration
Content Source: articles/azure-app-configuration/quickstart-resource-manager.md
Service: azure-resource-manager
GitHub Login: @ZhijunZhao
Microsoft Alias: zhijzhao

@Kitwradr Thanks for the feedback!
Assigning to content owner @ZhijunZhao for visibility, review and document enhancement consideration as appropriate.

@Kitwradr Thanks for the feedback! For now, please check whether below chat thread could help you.
https://github.com/Azure/AppConfiguration/issues/268#issuecomment-687107342

yes I am able to create Feature flags now thanks @ZhijunZhao

#please-close


Bug in --maxovershoot

I got this report from Mason Ng:

I did encounter an error with using “—maxovershoot”:
"UnicodeDecodeError: 'ascii' codec can't decode byte 0xa9 in position 1: ordinal not in range(128)”,
which if I read correctly, originated from line 324 of the script on reading the number of rows of the GTI file. It’s an odd error. I wrote in a different line [len(fits.open(gtiname3)[1].data)] just for a temporary fix, but I don’t think the flag actually made the right cuts (wanted overonly_range=0-2.0)? Anyways, on my end (locally), I just added a new “—nooverfilt” argument similar in structure to “—nounderfilt”.

The maxovershoot implementation has been completely changed. I think this can be closed.


Add CI configurations

Signed-off-by: Sascha Grunert<EMAIL_ADDRESS>None

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: saschagrunert
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [saschagrunert]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/test ?

/ok-to-test


Add WPM over time graph to the results

We can use tui's chart widget for this.
This shouldn't be too difficult to implement as the necessary data is already present in the Results struct. There's also already space budgeted for this feature in the results UI.

I'm interested in working on this, but I'm curious about what exactly the Cps struct is holding and how you're calculating WPM (I see some constants in ui.rs that I am confused about). Do you mind explaining?


Add terminal output

Currently paleofetch does not detect what terminal you're using. Note that $TERM is not necessarily a reliable way to get this information- I use alacritty but my $TERM is set to xterm-256color.
Neofetch examines the parent process to get this; that might be a good approach to take.

I think we can actually do one better than neofetch here. Parsing /proc/$PPID/comm is nice and easy, but it returns the name of the terminal's executable, which isn't quite the same as the name of the terminal emulator itself. I could repurpose the code for getting the window manager to instead get the name of the active window. I don't know under what circumstances this would fail to return the correct value, but I think it would work in the vast majority of cases.

I just quickly added reading $TERM for sake of completeness, but this sounds like it could lead to more accurate results.

I think we can actually do one better than neofetch here. Parsing /proc/$PPID/comm is nice and easy, but it returns the name of the terminal's executable, which isn't quite the same as the name of the terminal emulator itself. I could repurpose the code for getting the window manager to instead get the name of the active window. I don't know under what circumstances this would fail to return the correct value, but I think it would work in the vast majority of cases.

Don't some terminals show the name of the currently executed program in the window title?(assuming this is equivalent to the name of the active window)

Don't some terminals show the name of the currently executed program in the window title?(assuming this is equivalent to the name of the active window)

Some terminals do indeed do that, but thankfully it's not the same thing.

It looks like neofetch uses the current application in the terminal name. I'm on Manjaro KDE:
When I use neofetch on kitty, my $TERM is "xterm-kitty" and it lists my Terminal as "kitty".
When I use neofetch on Konsole, my $TERM is "xterm-256color" and it lists my Terminal as "konsole".
When I use neofetch on alacritty, my $TERM is "alacritty" and it lists my Terminal as "alacritty".
@sam-barr your $TERM stays constant as "xterm-256color" in all terminals? Just double checking that $TERM doesn't associate with a particular terminal. If my scenario is normal, then maybe you have a "Default Application" or similar set somewhere on your DDE?

I only use alacritty, which I've specifically configured to set $TERM to xterm-256color. Currently I'm satisfied with the solution that @allisio wrote, and don't think that reading $TERM is the correct solution.

Ah, missed that post. Got it.


feat: 新增RSA加密相关工具链（使用jsencrypt）。已测试ok

General

✏ Mark the necessary items without changing the structure of the PR template.

[x] Pull request template structure not broken

Type

ℹ What types of changes does your code introduce?

👉 Put an x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

ℹ Check all checkboxes - this will indicate that you have done everything in accordance with the rules in CONTRIBUTING.

👉 Put an x in the boxes that apply.

[x] My code follows the style guidelines of this project
[x] Is the code format correct
[x] Is the git submission information standard?
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

👍，目前项目还没有用到rsa的地方。所以暂时不会合并。但是会保留，有需要的人可以找到这个pr来进行集成

ok，正好我项目有需要就做了，顺手一个pr不碍事。


remove settings

Why

Swinging for the fences to keep specificity low is noble and all, but we have some opinions on how to do things (e.g. setting font-size on body for using rem units) and they do not need to be customizable. It just overcomplicates things.

This PR:

Ditches the settings

:octocat: :rocket: :ship:


Condition text on Token's HUD

The module Monk's Little Details adds a setting to display the conditions' names on the token's HUD. This works as it is for PF2e and helps to find conditions without memorizing icons or having to search through all the conditions for the obscure ones.
Example:

I believe this would be a nice UX improvement (And will allow me to uninstall that module 😄 )

I think MLD's implementation works well, and you'll notice it's already supported by Dorako UI.
As long as MLD is maintained (which I have no reason to believe is changing anytime soon) I think it does its job.


Crate details page: show whether a build failed in the Versions list

Implements second change related to #516.
I was planning to rebase these commits on top of the commits in #543 if that PR gets approved & merged. But this can be merged indepedently.
This pull request changes the Crate Details page to display whether a build failed in the Versions list.
Current design:

Page after these commits:

I performed the changes in two commits, this should make it a bit easier to reason about them. Hopefully...
521b8ae

I added an extra test case for CrateDetails::versions.
Most code is the same as 0a56ff7 from PR #543, this was necessary to create the test. This code should be removed from the commits when doing a rebase.

da358f8

In CrateDetails I replaced the field versions with releases. The type changed from a raw String to Release, which holds a version string and a build_status boolean.
I create a fn versions() which has the same behaviour as the removed versions field.
I set releases in CrateDetails::new but I took care to change as little code as possible. Hence the introduction of map_to_release. This entire function can be refactored to be more efficient / perform less queries on the database, but that's for a later PR.
Lastly, I edited crate_details.hbs to use the additional information and show a ⚠  sign when appropriate.

I have simplified the versions display by using a tooltip:

I'm really looking forward to having this, thanks again for your hard work!


Volume encryption support

Volume encryption support is a host-based encryption using LUKS tool called cryptsetup. During node-stage flow, cryptsetup tool is used on the discovered device to enable encryption. For details about the approach please refer to https://rndwiki.corp.hpecorp.net/confluence/display/storageecosystem/Volume+encryption+support+in+CSI+Driver
@rgcostea , @raunakkumar , @wdurairaj , @sneharai4 - please review the changes

Please address the review comments and update the log levels to trace.

Requested changes have been addressed. Please have a look.


Cant preview the uploaded image

Package
filament/filament
Package Version
v2.10.21
Laravel Version
v9.2
Livewire Version
v2.10.4
PHP Version
8.1.2
Bug description
After the new update of filament, i cant preview the uploaded image.

Steps to reproduce
No response
Relevant log output
No response

What is the latest Filament version that works correctly for you?

2.0.0

v2.0.0 is not an admin panel version. It started at v2.5.0 I think. Please check the actual version where the preview breaks.

Oh sorry my mistake.
My current version v2.10.21.. and the previous version was v2.10.11
The current version where the preview is not displayed.

@mohamedmoussasoli I would suggest checking your dev tools ,If there is a 404 (Not Found). error for the image , you might want to run php artisan storage:link to link your storage.

Yeah neither. Unfortunately this is an issue with your environment.


Testokey dokey

Hi @KinaMarie -
Feel free to send us a pull request with more content later.

Boo


Wien2k support

Support of wien2k code added to phono3py with this fork.
Changes have been made to the following files:
    modified:   phono3py/cui/create_force_sets.py
    modified:   phono3py/interface/calculator.py
    modified:   phono3py/phonon3/dataset.py

Also, new interface have been added:
phono3py/interface/wien2k.py
Define constant force_to_eVperA for wien2k in phonopy needs (the corresponding pull request was made in the phonopy repository):
        units["force_to_eVperA"] = 0.001 * Rydberg / Bohr

get_displacements_fc3 looks almost the same as get_displacements_and_forces_fc3. Why did you make the former?

In this stage of calculations disp1 from get_displacements_and_forces_fc3 doesn't contain "forces" key and error occurs.

Yes, that I could see from the code.
Could you make an example? Existing examples for other calculators (e.g., QE) are in the example directory.

Okey

Sorry, After adding an example, should I make a new pull request?

Ah, my apologies, that was my mistake. Typically, you don't need to open a new pull request. I was working on the for-win branch temporarily but ended up not needing it, so I removed it. Unfortunately, I didn't realize your merge request was targeting the for-win branch. So could you make a new pull request to develop branch? I apologize for the inconvenience.

I didn't know this PR was closed automatically, but it was done so because I removed the for-win branch.

Okey, I will prepare example and then will do new pull requsest

Please let me know if you encounter any issues.


Add Android integration

https://app.asana.com/0/0/1202939051866215/f

@jonathanKingston I've updated the build script and added the built JS file. Please re-check!


the text view in Expandable Relative Layout is not Showing the Complete text.

I am having the same issue, expandable relative layout does not expand to full height, i.e. text of text view is not visible fully.

same

Same here!

Same Here

same


Adding unit test for key auth plugin with valid api key

Fix for #942

Hi, the change does not involve invalid-service.t and this only fails in the tengine, but the same test case passes in my local Travis build. (https://travis-ci.com/sshniro/incubator-apisix/builds/140770007?utm_medium=notification&utm_source=email)
Test Summary Report
-------------------
t/node/invalid-service.t             (Wstat: 256 Tests: 12 Failed: 1)
  Failed test:  9
  Non-zero exit status: 1
Files=84, Tests=2253, 559 wallclock secs ( 0.72 usr  0.09 sys + 62.88 cusr


fix: change time range gt 7day lack column

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


setup.py is broken on latest release

the extras_require portion of setup.py for rq just contains the string "0.6".

thanks for raising, in the meantime please install the SDK without the extra.


Scraping WA bills

Beginning work on WA Bill scraping

Currently all_bills returns a list of dicts, each dict is a bill with the following data:

Originating chamber
Short title
Link
ID

Data that is yet to be scraped/processed/formatted:

Introduction to house date
Passed house date
Introduction to senate date
Passed senate date
Assent date
Act number

These fields were based off data that was available for federal though and not all the data is immediately available for all bills on one page in the same way for WA.
There is a field for 'Date Introduced' which we could reference with the Originating chamber data to determine whether this date relates to the house or the senate.
As for the remaining fields, there is a 'Bill status' field which contains various strings. Of note:

If assented, the assented date
If a private members bill, the name of the introducing member
Along with several others, but this only shows the current state of the bill, so dates of past status' are not exposed.
(Each field does include a data relating to the content)

Personally, I think the All_Bills class should only return very minimal data. Such as a link to the bill and the ID, derived from the link (that has been the case for Federal and WA, at least) and maybe the title of the bill.
All other data isn't likely to be as guaranteed in one view of all bills and it would likely be much better to obtain this data from the specified bills own page.

I'll let you make that call on that, but remember we can include extra (not needed) data; just not document them.
In the federal Parliament implementation, I wanted the user to have a quick lite-bulk option with the  All_Bills object and a detailed slow option with the Bill object.

I'm really sorry @connorhsm -- I've accidentally worked on this today, too. I didn't realise you were working on this too


Added minPulseDuration to detectPulses() and updated tests

Also made change so that tests can be run from any working directory instead of the working directory having to be the tests folder, and the amount of pulses detected is printed to the console along with the results.

Many thanks for these fixes. I've merged them into master now.


Improve generate log method

Problem
What problem have you solved?

generate logs method use too many queries to generate log entries

Solution
How did you solve the problem?

use bulk_create method to create all log entries in One query

Acceptance Criteria

test is already exist

Coverage decreased (-0.05%) to 96.686% when pulling a777b7b3a84a39522afd037b3248d67761729e15 on farajim25:speed_up_log_creation into b367e106794ef3a029f933702644b4f81453a0be on django-import-export:master.

Thanks for the contrib. Im going to convert this to a draft since it is lacking test coverage and documentation.


[VS Code] Joining collaboration session: Unable to join the host due to an authentication error. Verify the host is online, then sign out and sign in again and retry.

Error:
Joining collaboration session: Unable to join the host due to an authentication error. Verify the host is online, then sign out and sign in again and retry.
Steps to Reproduce:

signed into github
getting authentication issues from VScode

Version Data

extensionName
VSLS

extensionVersion
0.3.1011

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.29.1

platformName
MacOS

platformVersion
16.7.0

@megstav thank you for reporting the issue. Would you give us some more information to investigate?. Is it persistent ? what happened when you signed out and signed in again ? Also , it would be great if you can attach your logs by running "live Share : Export logs from VS Code command line.

As of 11/2/2020 the error persists, has it been resolved, if yes how can I fix it for myself?


Adding cat pit segments models

Description
Adding this models:
cat.all_pit_segments: GET _cat/pit_segments/_all
cat.pit_segments: GET _cat/pit_segments

My first time working with Smithy. I'm ready to listen any suggestions
Issues Resolved
[#99]
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@VachaShah
I seem to have fixed everything that you said, if anything, I'm waiting for more feedback on the work.
Thanks for reviewing my work!


Treesitter

I've build my (building) nvim based on your "template" and trying to make sense of things. However treesitter will not work, it install the parsers with :TSInstall but they are not there. How do you link them, or how do you install them to get treesitter highlights working?

Hello, you could llo on how I solve this problem: https://github.com/zoedsoupe/copper/blob/main/lib.nix and https://github.com/zoedsoupe/copper/blob/main/modules/treesitter.nix

Hey, thank you so much for trying to help me.  I tried doing what you have done, but It will not install the parsers, I know I am doing it wrong, if you would be so kind to have a look, i would appreciate it.
https://github.com/Gako358/nvimFlakes/tree/3af5ac1a044a5094248e475eba654cc74feed327

Hey,
Sorry for taking so long to get back to you. I have found I have had to run :TSUpdate to get them to install and update every now and then. I kinda wish there was a nicer way to integrate them as part of the flake.

Hey will, there is. I got it working, look at my flake 😊


When using positionCaretOnClick: select and press end or right can't add number to the end

I added a test as a PR.
It's possible to add a number at the begin of masked input, but can't add at the end(after radix point on latest beta.
I'll make an example soon as I got home again.

@adlerdias ,
For the unittests. I updated the simulator in the tests to correctly handle HOME, END, RIGHT, LEFT keys.
I will push a fix for this soon.

@adlerdias,
Can you have a try with 5.0.0-beta.316

@RobinHerbots,
It's working flawlessly for every positionCaretOnClick.
We can definitely close this issue.
thank you


Create RC for v0.29.1

Before submitting
Please complete the following checklist when submitting a PR:

[ ] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
tests directory!

[ ] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[ ] Ensure that the test suite passes, by running make test.

[ ] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[ ] Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Release branch created as v0.29.1_release and subsequent tag v0.29.1.
The above changes are already on main, and so will close this PR.


Adding trigonometric calculator

I would like to add a calculator for finding sin, cos, tan, cosec, sec, cot value when angle in degree is given.
Please assign this issue to me @sairish2001

it's already there in Calculator


0.3.0 broke something on macOS 10.10

In FontGoggles, clicking on the "Variations" tab makes the whole tab move to the bottom of the parent, rendering it unusable.
0.3.0:

0.2.4:

This does not seem to happen on macOS 10.15.
It may not be worth fixing this, but I thought I could at least document it.

macOS 10.10 is released in 2014....
I guess a more clear statement of vanilla support over different macOS version could help here...
We should consider that we cannot keep up supporting the latest macOS with losing older macOS versions.

no idea...
things to consider:

py3.9 EOL is October 2025
switch between intel M1
M1 is only Monterey+

does it happens for each tab view? or only a tab view inside a splitview?
maybe a small example?
the change in vanilla was a move for the tab view to a NSTabViewController

Hard to say, I but I'll try to make a small reproducer.

Related: SegmentedButton doesn’t respect posSize for me on Mac OS 12.3.1
Screenshot:

Test case:
import vanilla

def run():
    w = vanilla.Window(
        (400, 400),
    )
    w.btn = vanilla.SegmentedButton(
        (10, 10, -10, 20),
        [
            dict(title="Very Long Title"),
            dict(title="Another Long Title"),
            dict(title="Long Title Indeed"),
        ],
    )

    w.open()
    w.center()

run()

Same code executed with executeVanillaTest works fine:

could you test with the latest vanilla from the repo?
the vanilla version on pypi is behind

@typemytype Not sure I follow, I am using vanilla v0.3.0 which looks like the latest version here on GitHub Releases also

true, but the latest commit is newer and already fixed this issue, sorry for being lazy on the releases
pip3 install git+https://github.com/robotools/vanilla to install the latest from this repo


[Backport 2.x] [Segment Replication]  Backport PR's : #3525  #3533  #3540 #3943 #3963 From main branch

Description
This PR backports following 5 PR's from main branch:

#3525.
#3533.
#3540.
#3943
#3963

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #4181 (4b60a68) into 2.x (7062283) will increase coverage by 0.13%.
The diff coverage is 78.24%.

@@             Coverage Diff              @@
##                2.x    #4181      +/-   ##
============================================
+ Coverage     70.45%   70.58%   +0.13%
- Complexity    56690    56882     +192
============================================
  Files          4563     4569       +6
  Lines        273024   273348     +324
  Branches      40059    40083      +24
============================================
+ Hits         192364   192951     +587
+ Misses        64521    64231     -290
- Partials      16139    16166      +27

Impacted Files
Coverage Δ

.../main/java/org/opensearch/index/engine/Engine.java
74.51% <ø> (+1.29%)
:arrow_up:

...va/org/opensearch/index/engine/InternalEngine.java
74.46% <ø> (+1.17%)
:arrow_up:

...rg/opensearch/indices/recovery/RecoveryTarget.java
70.80% <ø> (-0.03%)
:arrow_down:

...search/indices/recovery/RecoveryTargetHandler.java
100.00% <ø> (ø)

...rch/indices/recovery/RetryableTransportClient.java
56.81% <ø> (-25.00%)
:arrow_down:

.../replication/checkpoint/ReplicationCheckpoint.java
42.42% <0.00%> (+6.06%)
:arrow_up:

...ckpoint/SegmentReplicationCheckpointPublisher.java
100.00% <ø> (ø)

...replication/common/ReplicationFailedException.java
12.50% <12.50%> (ø)

...s/replication/SegmentReplicationSourceService.java
56.81% <44.00%> (-24.27%)
:arrow_down:

...s/replication/SegmentReplicationTargetService.java
71.92% <60.00%> (-6.12%)
:arrow_down:

... and 521 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Flaky test:
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.indices.replication.OngoingSegmentReplicationsTests.testMultipleReplicasUseSameCheckpoint" -Dtests.seed=A0971E691B2879E0 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ms-MY -Dtests.timezone=Asia/Kolkata -Druntime.java=17
  2> java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([A0971E691B2879E0:A4046FDAE5B7632]:0)
        at org.opensearch.index.shard.IndexShard.getProcessedLocalCheckpoint(IndexShard.java:2711)
        at org.opensearch.indices.replication.OngoingSegmentReplicationsTests.setUp(OngoingSegmentReplicationsTests.java:73)

Flaky test:
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.indices.replication.OngoingSegmentReplicationsTests.testMultipleReplicasUseSameCheckpoint" -Dtests.seed=A0971E691B2879E0 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ms-MY -Dtests.timezone=Asia/Kolkata -Druntime.java=17
  2> java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([A0971E691B2879E0:A4046FDAE5B7632]:0)
        at org.opensearch.index.shard.IndexShard.getProcessedLocalCheckpoint(IndexShard.java:2711)
        at org.opensearch.indices.replication.OngoingSegmentReplicationsTests.setUp(OngoingSegmentReplicationsTests.java:73)

https://github.com/opensearch-project/OpenSearch/pull/4041 also has one flaky failure due to this.

Flaky test:
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.opensearch.indices.replication.OngoingSegmentReplicationsTests.testMultipleReplicasUseSameCheckpoint" -Dtests.seed=A0971E691B2879E0 -Dtests.security.manager=true -Dtests.jvm.argline="-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m" -Dtests.locale=ms-MY -Dtests.timezone=Asia/Kolkata -Druntime.java=17
  2> java.lang.AssertionError
        at __randomizedtesting.SeedInfo.seed([A0971E691B2879E0:A4046FDAE5B7632]:0)
        at org.opensearch.index.shard.IndexShard.getProcessedLocalCheckpoint(IndexShard.java:2711)
        at org.opensearch.indices.replication.OngoingSegmentReplicationsTests.setUp(OngoingSegmentReplicationsTests.java:73)

Another appearance in #4041. Created #4184 to track it as it is failing more oftenly on CI.

Sorrt @dreamer-89 , I thought this is a flaky test but not. This happened because of adding "assert statement" back that we discussed in above comments. I will remove the assert to fix this


Create additional info section (like extra skills)

Some information about the person that contains some interesting facts, preferable things, hobbies, plans, etc.

Professional skills:
Software for simulating electromagnetic field:

FEMM (http://www.femm.info)
Comsol (https://www.comsol.ru/ )
Maxwell(http://www.ansys.com/products/electronics/ansys-maxwell)
ELCUT (http://elcut.ru)

Courses:
● Foundations of programming (offline course based on Harvard CS50 course),
BrainBasket Foundation
● .Net technologies (offline course), AltexSoft Lab
● Basics of Web UI Development (online course provided by a teacher of Lviv IT School),
Prometheus (prometheus.org.ua)
● CS50: Programming Fundamentals (online course)
Other experience:
● Participating in practice for foreign students (Studienpraktika) in TU Braunschweig,
Germany 2011
● Participant of Leonhard Euler scholarship program (Germany) 2012
● Participant of month internship program of Ministry of Education and Science in TU
Braunschweig 2013


typo

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

#sign-off


Error

I am getting the following error
\app\build\intermediates\ exploded-aar\com.github.orangegangsters\lollipin\1.2.1\res\layout\view_keyboard_button.xml
Error:(2) No resource identifier found for attribute 'rv_centered' in package 'com.example.findmychild'
Error:(2) No resource identifier found for attribute 'rv_rippleDuration' in package 'com.example.findmychild'
Error:(2) No resource identifier found for attribute 'rv_ripplePadding' in package 'com.example.findmychild'
Error:(2) No resource identifier found for attribute 'rv_color' in package 'com.example.findmychild'
You can help me solve?

I think there is a few post about this. You need to import a library.
Please look at:
https://github.com/OrangeGangsters/LolliPin/issues?q=is%3Aissue+is%3Aclosed

i'm importing
compile 'com.github.traex.rippleeffect:library:1.2.4'
compile 'com.github.orangegangsters:lollipin:1.2.2@aar'
but not working


ResponseHandlers need a better method of responding to frames which they don't intend to act on

Currently, implementers of ResponseHandler must respond either with None (which results in no response being sent) or a bytes object ready for transmission. This poses a problem with responders when they receive data that they have no intention of acting on.
The current best practice is to just respond with the same data that we received, but that is non-ideal for a lot of reasons.
A simple solution would be to implement a client-response message type which simply acknowledges that the message was received. The server would not be expected to act on that response.

I have 'by convention' been generating a response that just contains:
{
   "type": "ACK"
}

And this seems to work well, because the server just sees this, says 'not a frame' and moves on, so when the socket server is expecting a response this is a nice short way to indicate you got the message but don't intend to act on it yet.
Probably just need to do a bit more testing with this and then document it (or look into whether I need to officially do anything).


Default output should show summarized stats that auto-refresh

Provide "live stats" of the number of threads and the status of each connection (using channels? being refreshed every second [configurable]) rather than each thread informing its status (thats just for debug - too close to the implementation)

Covered by the linked PR


Function privacy returns "[Array]"

Description:
Store.privacy function is not returning words/phrases like "Email Address", "Phone Number" as shown in the provided example in Readme, now it returns "[Array]" under "dataCategories" and "purposes" sections (see example below).
Example code:
var store = require('app-store-scraper');

store.privacy({
  id: 324684580,
})
.then(console.log)
.catch(console.log);

Error message:
{
  managePrivacyChoicesUrl: null,
  privacyTypes: [
    {
      privacyType: 'Data Used to Track You',
      identifier: 'DATA_USED_TO_TRACK_YOU',
      description: 'The following data may be used to track you across apps and websites owned by other companies:',
      dataCategories: [Array],
      purposes: []
    },
    {
      privacyType: 'Data Linked to You',
      identifier: 'DATA_LINKED_TO_YOU',
      description: 'The following data, which may be collected and linked to your identity, may be used for the following purposes:',
      dataCategories: [],
      purposes: [Array]
    }
  ]
}

Looks to me like this is just because of the console.log function? Try calling JSON.stringify first.

Has anyone improved the code to return the Arrays content i.e. "Email Address", "Phone Number" rather than the work [Array]?


Add hive as a backend storage of Trino

Is your feature request related to a problem? Please describe.
Add hive backend storage for Trino. Ad of today, only in-memory backend is supported for the test suites.
Describe the solution you'd like
This hive backend storage should also accept config parameters so that the end user has lots of flexibility
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This got merged part of https://github.com/Shopify/feast-trino/pull/29


allow to parse error responses from fetch API

This PR introduces errorResponse parser so that we don't need to parse e.g. JSON errors in the user space.

Found a bug in this PR. Closing for now before I find a fix.


Add a min-max heap implementation that can be used to back a priority queue

Description
This is an extraction of the heap implementation hammered out in #51.
Detailed Design
One of the big advantages of using a min-max heap is that we don't need to bifurcate into a min heap or max heap and keep track of which kind is used — you can pop min or max, as needed. This makes it very useful as the backing storage for a double-ended priority queue.
public struct Heap<Element: Comparable> {
    public var isEmpty: Bool
    public var count: Int

    // Read-only view into the underlying array
    public var unordered: [Element]

    // Initializers
    public init()
    public init<S: Sequence>(_ elements: S)

    // Mutations
    public mutating func insert(_ element: Element)
    public mutating func insert<S: Sequence>(contentsOf: S)
    public func min() -> Element?
    public func max() -> Element?
    public mutating func popMin() -> Element?
    public mutating func popMax() -> Element?
    public mutating func removeMin() -> Element
    public mutating func removeMax() -> Element
}

// Array literal
extension Heap: ExpressibleByArrayLiteral {
    public init(arrayLiteral elements: Element...)
}

// Iteration
extension Heap {
    public struct Iterator: Sequence, IteratorProtocol {}

    public var ascending: Iterator
    public var descending: Iterator
}

Future Directions

Add replaceMin and replaceMax (@timvermeulen has a branch of this already)
Implement a priority queue on top of this (that work will be picked back up in #51)

Documentation
The public APIs have largely been documented. An overview document has been added to the Documentation directory that is adapted from the API review and code comments.
Testing
There are unit tests for the added Heap type.
Performance
Performance tests have been added (including comparable tests against a CFBinaryHeap). We may want to revisit the library JSON to ensure we have the desired comparisons defined. (Can somebody with a better understanding of how all of that works/is structured take a look? Maybe @lorentey?)
Source Impact
This is purely additive. No existing APIs were changed, deprecated, or removed.
Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[X] I've added tests covering all new code paths my change adds to the project (to the extent possible).
[X] I've added benchmarks covering new functionality (if appropriate).
[X] I've verified that my change does not break any existing tests or introduce unexpected benchmark regressions.
[x] I've updated the documentation (if appropriate).

OK, Heap.md has been added to the Documentation directory. This should be ready for a full review.

I've updated the CFBinaryHeap benchmark. Using raw integers instead of NSNumbers significantly altered the performance comparison. Beyond 256 elements, CFBinaryHeap is faster than Heap for popMin.

I've updated the CFBinaryHeap benchmark. Using raw integers instead of NSNumbers significantly altered the performance comparison. Beyond ~256 elements, CFBinaryHeap is faster than Heap for both popMin and popMax.

Thanks a lot, interesting!
I’d just want to (very shortly) make the point here that it’s always faster, CF only has a higher constant creation time (I know you know, but it was related to the point of how to display performance numbers in the related PR) - this conflation of numbers leads to unprecise characterizations of perf at times. Anyway, I’ll be silent about that now :-).

@kylemacomber How do you want to handle this? The code was already mostly reviewed in the other PR; should @timvermeulen take another look?
Also, do we want to merge this into main or into a priority-queue branch?

@lorentey is the final boss 😉

@lorentey Any update on when you might be able to look at this? 🙏

I'm on it! It's slow going, but I'll submit the review soon! (Things are looking good.)

Quick update on our plans: I'd like to release version 1.0 of this package relatively soon with the existing three types (to signal that we're committing to source stability), then quickly follow it up with version 1.1 that includes this work as well as anything else that's ready.
However, we don't need to wait on the 1.0 tag to merge new work to main -- we can just tag 1.0 from a release branch, like we do for Swift releases. So we can land this as soon as I get my act together and finish the review. :-)

OK, updated things. I think the only things left from the "need to fix before merging this" bucket are the documentation changes.

The doc updates we can also do as followup work. Let's land this! 🚀
Do you need me to help resolve the conflicts?

The doc updates we can also do as followup work. Let's land this! 🚀

Sounds good!

Do you need me to help resolve the conflicts?

I can do it. Do you want me to rebase on main or pull it in to resolve the conflicts?

Merge conflicts have been resolved. We should be good to go! 🚀
Do you want me to create GitHub issues for the follow-up changes?

@swift-ci test

Do you want me to create GitHub issues for the follow-up changes?

Oh, that's a good idea -- let me do that though; it seems unfair to ask you to file issues for my loosely explained FIXMEs. 🙈

19:05:20 /home/buildnode/jenkins/workspace/pr-swift-collections-linux/branch-main/swift-collections/Benchmarks/CppBenchmarks/src/BinaryHeap.m:12:9: fatal error: 'Foundation/Foundation.h' file not found
19:05:20 #import <Foundation/Foundation.h>
19:05:20         ^~~~~~~~~~~~~~~~~~~~~~~~~
19:05:20 1 error generated.

Ah, this makes sense -- I think we'll need to add #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) around these benchmarks.
(Which is super annoying, as it makes the benchmark library json platform dependent. Argh -- this is another FIXME for later.)

OK, I filed issues for all my FIXMEs:
https://github.com/apple/swift-collections/issues?q=is%3Aissue+is%3Aopen+label%3AHeap
As usual with these, some of them are suggestions for optimizations that may turn out to be unnecessary or even harmful. The benchmarks will be the judge. 😝

@swift-ci test


Prevent mtcnn logging

When I test mtcnn with huge number of images, it shows long logs:
1/1 [==============================] - 0s 11ms/step
1/1 [==============================] - 0s 12ms/step
1/1 [==============================] - 0s 12ms/step
1/1 [==============================] - 0s 11ms/step
1/1 [==============================] - 0s 11ms/step
1/1 [==============================] - 0s 11ms/step
3/3 [==============================] - 0s 1ms/step
1/1 [==============================] - 0s 11ms/step
1/1 [==============================] - 0s 10ms/step
1/1 [==============================] - 0s 12ms/step
1/1 [==============================] - 0s 12ms/step
1/1 [==============================] - 0s 11ms/step
1/1 [==============================] - 0s 10ms/step
1/1 [==============================] - 0s 10ms/step
1/1 [==============================] - 0s 10ms/step

and I think this process consumes more time. So, is there any way to prevent showing logs and testing faster?

您的邮件已接收！

Yes please!

您的邮件已接收！

@freedom9393 the only thing that worked for me is to surpress everything those methods output...
@contextmanager
def suppress_stdout_stderr():
with open(os.devnull, "w") as devnull:
old_stdout = sys.stdout
old_stderr = sys.stderr
sys.stdout = devnull
sys.stderr = devnull
try:
yield
finally:
sys.stdout = old_stdout
sys.stderr = old_stderr
And use like
with suppress_stdout_stderr():
results = detector.detect_faces(rgb_frame)

is it originating from the mtcnn library or any other supporting library? I tried to dig in but didn't find it in the mtcnn library.

您的邮件已接收！

is it originating from the mtcnn library or any other supporting library? I tried to dig in but didn't find it in the mtcnn library.

I think it's from an underlying library. I found no output whatsoever from this one.

is it originating from the mtcnn library or any other supporting library? I tried to dig in but didn't find it in the mtcnn library.

I think it's from an underlying library. I found no output whatsoever from this one.

Yes. The issue can be solved manually here. However, verbose flag should be added in the MTCNN library too.
#121
https://github.com/ipazc/mtcnn/issues/121


feat: add tag component

And thanks for the little refactor on accordion-item, looks much cleaner! 👏🏻


Build Process for Walking a User Through the Steps for Requesting Court Records

Goal: Design a process for walking a user through each step in the process of requesting the records necessary to determine whether they are eligible for expungement, and generate an expungement request form. If users will be expected to fill in their case information themselves, we will need to develop instructions to help them find:

Their case number
The charges they were arrested for and convicted/diverted of
The statute number of their charges
Their date of arrest/conviction/diversion
Their date of discharge
Their arresting agency
Their convicting/diverting authority

Key Resources

KS District Court Records Search - provides information about where to look up records for different KS district courts
Miro board where we will outline the steps and support given to walk users through the records request process
Miro board containing the questions that users will be asked to fill out based on their records

To Do

[x] #16
[ ] Determine whether it is possible to pull up those record request pages within the app, or if the user will have to navigate away and then back @zmon
[ ] List all of the necessary pieces of data in the Miro board that users will need to obtain from their records @wdcrumpler-kcdd
[ ] For each record entry point, look up a random individual and find each key data point, screenshotting and highlighting the relevant location and saving this information in the Miro board
[ ] For each record entry point, build a flow chart for the steps a user should take
[ ] Once the first clinic date is set, @wdcrumpler-kcdd to build a model of the record lookup process for that jurisdiction
[ ] @wdcrumpler-kcdd to draft explanatory language based on the lookup process for the target county
[ ] @scott-stockwell to review the explanatory language
[ ] team to discuss the best way to deliver the lookup instructions to users within the app

Current Status:
To Do

[ ] Come up with a list of all the different tools a user may need to use to request records (the court access points for the different counties, records from the prison system)
[ ] Determine whether it is possible to pull up those record request pages within the app, or if the user will have to navigate away and then back
[ ] List all of the necessary pieces of data in the Miro board that users will need to obtain from their records
[ ] For each record entry point, look up a random individual and find each key data point, screenshotting and highlighting the relevant location and saving this information in the Miro board
[ ] For each record entry point, build a flow chart for the steps a user should take

Status as of 12/21/21:

Began outlining the process of gathering required data from the Johnson County court system here

Work towards this as the priority of the three options for retrieving case info (others: send incomplete form to KLS attorney to fill out; send request to court records office), as individual lookup will be valid both in a clinic environment and in a fully pro se environment.


MULTIARCH-4654: Enabled the Security Profiles Operator for ppc64le

What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR enables the Security Profiles Operator for the ppc64le architecture, providing support for managing seccomp and SELinux profiles. The changes have been tested and verified using logenricher to ensure functionality and compliance.
Which issue(s) this PR fixes: https://issues.redhat.com/browse/MULTIARCH-4654
Does this PR have test?
N/A
Special notes for your reviewer:

Tested for compatibility with seccomp and SELinux profiles on the ppc64le architecture.
Verified functionality using logenricher.

Does this PR introduce a user-facing change?
Enabled the Security Profiles Operator for ppc64le architecture with support for seccomp and SELinux profile management.

Thank you for the PR @pranitaT, do you mind signing the CLA?

Hey @saschagrunert I shared with Pranita how our team signs the CLA. We'll get this done a.s.a.p. Thank you for the time, Paul

Please rebase to fix the CI

/ok-to-test


Manually capturing an order in v67

[This is just a question, not an issue, I will close this after getting feedback]
Hi, it seems to be oudated with the Capture service which is emplementing v46 of the capture endpoint.
Is this right? And is there any problem if I want to implement it and do a contribution?

Hi @deepu105
Thank you for your quick reply!
I see that the problem is capture API is not updated to the latest version with PHP API library (https://github.com/Adyen/adyen-php-api-library), I was requested to do capture manually instead of automatically.
So I'm closing this issue now.


[WebKitBrowser] Updating methods deprecated since 2.42 WebKit API

consoleMessageSentCallback() has to be marked as DEPRECATED, since webkit_console_message_get_text() has been deprecated in version 2.40 of WebKit in this PR: https://github.com/WebKit/WebKit/pull/6784. It seems like at the moment there is no other way to get the console messages: https://bugs.webkit.org/show_bug.cgi?id=247791#c4.

@emutavchi , can you review this PR?


List of projects can't scroll

Project folder sometimes can't scroll to the left of the tree!Can the old version, the new the emergence of the problem!

I'm still having this issue. Is someone looking into it?

Did you guys update to Material UI 2.0?

OMG that was the issue! Didn't notice there was an update. Sorry about that.

No problem 😃 Enjoy the new Material UI! @Ivorzk did updating solve your problem? By the looks of your screenshot it seems you're still on 1.3.x

I still have this issue on version 2.0.4


Unhandled missing pvid in LLDP VLAN data

Some servers only have tagged VLANs available and no un-tagged VLAN, so there is no pvid in the LLDP data, and we get the following error:
Traceback (most recent call last):
  File "/opt/netbox_agent_venv/bin/netbox_agent", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/opt/netbox_agent_venv/lib/python3.13/site-packages/netbox_agent/cli.py", line 50, in main
    return run(config)
  File "/opt/netbox_agent_venv/lib/python3.13/site-packages/netbox_agent/cli.py", line 43, in run
    server.netbox_create_or_update(config)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/opt/netbox_agent_venv/lib/python3.13/site-packages/netbox_agent/server.py", line 413, in netbox_create_or_update
    self.network.create_or_update_netbox_network_cards()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/opt/netbox_agent_venv/lib/python3.13/site-packages/netbox_agent/network.py", line 448, in create_or_update_netbox_network_cards
    ret, interface = self.reset_vlan_on_interface(nic, interface)
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/opt/netbox_agent_venv/lib/python3.13/site-packages/netbox_agent/network.py", line 250, in reset_vlan_on_interface
    pvid_vlan = [key for (key, value) in lldp_vlan.items() if value['pvid']]
                                                              ~~~~~^^^^^^^^
KeyError: 'pvid'

A proposed fix was submitted in https://github.com/Solvik/netbox-agent/pull/326 .

Hello @TiagoTT  and thank you for your contributions !
We're currently adding CI tests, so we were waiting for them to release everything together


Winding River

coords.txt

This one is quite difficult, even though it's small, as so many cliffs are inaccessible.

My friend, you need to learn the secrets to getting into the "back of beyond". ;)

Haha! I'm going to spend this evening trying to figure out how you got up there

Well, I wasn't able to figure out how you reached that mountain, but I did find another "secret" area that took me to the edge of the map lol

Is that on winding river?

Yea. I think I figured out how you got on top of the dam too now - although may have to start a new game as it's autosaved in a weird location and I think I'm trapped

Sweet! Congratulations, your officially a "Back of Beyonder". On to Pleasant Valley!


Edit current committed code to remove hard coded english strings

Might be a few left. once lang support is more done this may just require user feedback to track down

If any others are found (not leftover from awakened) reopen this issue


Add .atom-socket-secret-* to .atom's .gitignore

Fixes #19334, but only for clean installs (no existing ~/.atom folder).

Specs are flaky.


feat: dark mode

add next-themes package
create ThemeProvider
set tailwindcss  config  darkMode to class
fix eslint errors

Description

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[x] 🎨 Style
[x] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Fixes #56
Mobile & Desktop Screenshots/Recordings

Light Mode
Dark Mode

Steps to QA

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Thanks for the PR @rodgersgitau! Please check out the contributing guidelines as the issue this fixes is currently being triaged still. We're still discussing with our designer this issue. See https://github.com/open-sauced/app/issues/56#issuecomment-1776989817.

Sure thing @nickytonline the PR is closed. I wondered if it had been forgotten and slightly cringed every-time new styling was added


Adds reset_session_after_each config option

Closes issue #418.
Allows user to set Capybara.reset_session_after_each = false.
This will prevent the session from being cleared after each rspec test.

I would also like this to be reconsidered.  There are times when it would be preferable to not have the session reset after each spec.

+1
User may want to use other mechanism to make sure that tests are relatively independent (https://github.com/rspec/rspec-core/issues/1811)

Migrating from page-object to site-prism, getting into the same issue. Monkey patching again is my tool, that's pity.

One of scenarios when having such an option can really help:
I have pages with loading time about 30 seconds or even more (search results pages) and this would hardly be improved. So instead of loading the page every time I just reset its state. And the only option I have with capybara is to monkey patch it =(


Extension not sending notifications for new form chats

Steps to reproduce:

Open a new chat through a form in livehelperchat
I receive the open chat message correctly on Mattermost
Clear my cookies and attempt to open another chat
On livehelperchat the client gets back to a page with the messages from the previous chat (I am guessing somehow livehelperchat still remembers this client and keeps using the same chat instance?)
No new chat is started on mattermost and the old chat no longer works (new messages from the client & the operators are not being sent/received)

Any idea what I am doing wrong or if there's a way to make livehelperchat not reuse same chat sessions when you send a new form?

Just disable old chat reopen.
https://doc.livehelperchat.com/docs/chat/configuration#reopen-chat-functionality-enabled


expirationSeconds checks

(Implement and) document checks on the .spec.expirationSeconds field for a kubelet CertificateSigningRequest

for example, only allow certificates to be issued with a duration of 86400 seconds (24 hours) by default
maybe a command line option to allow issuing certificates that last longer than this?

Interesting suggestion, however before implementing it I'd like to understand whether this is common practice to have the kubelet-serving certificates set to expire after one day. According to the K8s doc,

By default, these serving certificate will expire after one year.

I couldn't find an option to configure the expirationSeconds field of kubelet certificate requested with serverTLSBoostrap option, so I'm not sure whether this is common practice or not. digging more into this, as it would permit to make sure certificate rotation will happen after a year

OK, how about a 367 day maximum for duration? (a year plus a day, even if it's a leap year)

The kubelet might not request a duration and instead leave that to the default signer to decide. Having this code available (on an opt in basis) would help the kubelet / kubeadm authors prepare to switch to having the kubelet request a specific duration.

have implemented this, there still misses the documentation.
I took the liberty to hardcode an upper limit on the maximum expiration time (368 days per default), users can then use an env variable to reduce that duration.
Any opinion on that? shouldn't I be doing that ?

I took the liberty to hardcode an upper limit on the maximum expiration time (367 days per default), users can then use an env variable to reduce that duration.

Sounds good to me.
If I make time for it, I'll open a PR to update the docs.

https://github.com/postfinance/kubelet-csr-approver/blob/feat/expirationSec/README.md
I have already updated the documentation, can you quickly check whether it's clear for the user what is happening here?

Looks great. I think this is done!


Array to string conversion during eloquent sync

I just installed the 3.0 update. I have a sizeable filesystem with lots of folders in digitalocean spaces.
After installation the eloquent:sync-assets command throws an exception when it reaches the end of processing the root folder and trying to move on to nested folders.
local.ERROR: Array to string conversion {"exception":"[object] (ErrorException(code: 0): Array to string conversion at /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Stringable.php:33)
[stacktrace]
#0 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(254): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'Array to string...', '/var/www/html/v...', 33)
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Stringable.php(33): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(2, 'Array to string...', '/var/www/html/v...', 33)
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Str.php(68): Illuminate\\Support\\Stringable->__construct(Array)
#3 /var/www/html/vendor/statamic/cms/src/Support/Str.php(314): Illuminate\\Support\\Str::of(Array)
#4 /var/www/html/vendor/statamic/eloquent-driver/src/Assets/AssetContainerContents.php(75): Statamic\\Support\\Str::__callStatic('of', Array)
#5 [internal function]: Statamic\\Eloquent\\Assets\\AssetContainerContents->Statamic\\Eloquent\\Assets\\{closure}(Array, 0)
#6 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Arr.php(869): array_filter(Array, Object(Closure), 1)
#7 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(387): Illuminate\\Support\\Arr::where(Array, Object(Closure))
#8 /var/www/html/vendor/statamic/eloquent-driver/src/Assets/AssetContainerContents.php(76): Illuminate\\Support\\Collection->filter(Object(Closure))
#9 /var/www/html/vendor/statamic/cms/src/Assets/AssetContainer.php(354): Statamic\\Eloquent\\Assets\\AssetContainerContents->filteredDirectoriesIn('', false)
#10 /var/www/html/vendor/statamic/eloquent-driver/src/Commands/SyncAssets.php(87): Statamic\\Assets\\AssetContainer->folders('')
#11 /var/www/html/vendor/statamic/eloquent-driver/src/Commands/SyncAssets.php(46): Statamic\\Eloquent\\Commands\\SyncAssets->processFolder(Object(Statamic\\Assets\\AssetContainer))
#12 /var/www/html/vendor/statamic/eloquent-driver/src/Commands/SyncAssets.php(37): Statamic\\Eloquent\\Commands\\SyncAssets->processContainer(Object(Statamic\\Assets\\AssetContainer))
#13 /var/www/html/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(236): Statamic\\Eloquent\\Commands\\SyncAssets->Statamic\\Eloquent\\Commands\\{closure}(Object(Statamic\\Assets\\AssetContainer), 0)
#14 /var/www/html/vendor/statamic/eloquent-driver/src/Commands/SyncAssets.php(37): Illuminate\\Support\\Collection->each(Object(Closure))
#15 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Statamic\\Eloquent\\Commands\\SyncAssets->handle()
#16 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#17 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure(Object(Closure))
#18 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod(Object(Illuminate\\Foundation\\Application), Array, Object(Closure))
#19 /var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\\Container\\BoundMethod::call(Object(Illuminate\\Foundation\\Application), Array, Array, NULL)
#20 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\\Container\\Container->call(Array)
#21 /var/www/html/vendor/symfony/console/Command/Command.php(326): Illuminate\\Console\\Command->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#22 /var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php(181): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Illuminate\\Console\\OutputStyle))
#23 /var/www/html/vendor/symfony/console/Application.php(1063): Illuminate\\Console\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#24 /var/www/html/vendor/symfony/console/Application.php(320): Symfony\\Component\\Console\\Application->doRunCommand(Object(Statamic\\Eloquent\\Commands\\SyncAssets), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#25 /var/www/html/vendor/symfony/console/Application.php(174): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#26 /var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(201): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#27 /var/www/html/please(37): Illuminate\\Foundation\\Console\\Kernel->handle(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))
#28 {main}
"}

When I try to access the container through the CP it's empty. I also don't see any of the processed assets in my database. Just the ones that were already there (the only assets that had meta data)

Interesting. Can you share a dd of $this->directories() inserted somewhere around line 69 of that file? You seem to be getting a nested directory list, which shouldn't be the case and I just want to confirm.

I've opened a PR here with the changes I think are required. Can you test it and let me know if it works for you?

Hi @ryanmitchell ,
Thanks for the quick response. It does continue now but gets stuck into a recursive loop. It's been processing - re-processing the same folder for quiet some time now.
It processed a couple of folder and then got stuck on a double nested folder.
root > events > event-name > file.png
it keeps processing folder event, then event-1, event, event-1 and so on.
Also I still don't see any new entries in my assets_meta table. It's supposed to enter any processed items into the table right? This is what will give the performance gains in terms of not having to talk to digitalocean?

Does this change help? https://github.com/ryanmitchell/eloquent-driver/commit/b7dc24eadc7a9cf3c1abdfee9f6b6bad54a5475f
Laravel can try to be clever with database inserts and batch them, so it's possible youre not seeing updates due to that. Also do make sure you've got assets set to eloquent in the eloquent-driver config.

Initially it throws an exception because $folder isn't accessible for the if statement on line 89
->each(function ($subfolder) use ($container, $folder) {
When I added it, it got stuck on the first folder (not the double nested folder) in the same manner as before.

@GioChocolateBro I've pushed an update which should fix that.

Hi @ryanmitchell ,
Yes this seems to work, thanks a bunch 🌟 ! It's been running for some time now. It will be a while before it finishes syncing.
But it has definitely synced over 3K assets already and there has been no batch insert yet. I checked my config again and it is set to eloquent
    'asset_containers' => [
        'driver' => 'file',
        'model'  => \Statamic\Eloquent\Assets\AssetContainerModel::class,
    ],

    'assets' => [
        'driver' => 'eloquent',
        'model'  => \Statamic\Eloquent\Assets\AssetModel::class,
        'asset'  => \Statamic\Eloquent\Assets\Asset::class,
    ],

Should I still be holding out for a batch insert or is there something else going on?

Im not sure on that, its inserting fine on my side so you'd need to debug it a bit yourself to see why its not inserting.

@ryanmitchell , I've been digging around but I don't see where inside the SyncAsset writeMeta() should be getting called?
Inside the ImportAsset command it's very clearly creating the database records, but inside SyncAsset I can't find any reference to it.

it happens inside the asset class. I dont have any further time to work on this today (sorry).

No worries, your work is greatly appreciated.

I added some code to prevent .meta folders being processed - maybe that helps your error as well.

@GioChocolateBro can you pull down the latest version of the PR and see if the changes resolve the issues you have experienced?

Hi @ryanmitchell ,
Sorry, I had a busy week and lost track of this PR. I will be checking it out next week and try to upgrade my app to 3.x again.
Thanks so much for your quick assistance and all your work on the eloquent driver 🙏 ❤ .


[Backtracing] Add an indication that we're working on a backtrace.

When we crash, emit a message straight away that says we're working on a backtrace.  If starting the backtracer fails, report that also.
Finally, add a duration to the messages output by the backtracer, so that we can see how long it took.
rdar://118055527

Explanation: Generating backtraces can take a significant amount of time, particularly for statically linked binaries on Linux, because it involves scanning through all of the debug information, which means parsing DWARF data, which is just slow. This is particularly problematic in Kubernetes, because pods often have health check timeouts set such that Kubernetes will kill the pod if it doesn't respond within a certain time; if a container crashes, it won't be responding to the health checks, and if the backtrace takes longer than the timeout, it'll be killed before it completes. Previously we output the entire backtrace at the end, so in that case you'd get no useful information about the crash. This PR changes things so that (a) we output the crash location itself straight-away along with a message indicating that we're backtracing, and (b) we say at the end how long it took, to give people something they can use to tell if their timeouts are close to the time it'll take to generate a trace.
Risk: Low. Backtracing is only active on Linux, by default, and this just adds two messages.
Original PR: 69697
Reviewed by: @mikeash
Resolves: rdar://118055527
Tests: Adds new tests for the two new messages.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test


Adopt the split run/debug button

Install the Insiders version of the Python extension using Python: Switch to Insiders weekly command.
A play button and a drop down button should appear on the top right when a python file is opened. This is how it appears when the dropdown is clicked:

Check both options in the dropdown runs the python file as expected.
Play button should denote the last action performed.

If the last action is debugging, then it should be the debug icon.

If the last action is running, then it should be the run icon.

If no last actions exist, it should be the run icon.


initial code for PR#77

This is the initial code for PR #77

Figured out the main issues

The assets being added in the body instead of the head ..
Needed to update the CustomParser.js and add the assets tag there . This was causing it to be pushed to the body
The addition of the assets twice was a test case issue fixed that.

Working on the types and the test cases now

Looks good! There is one more test case I'd like to see - one where renderApplication returns an object with content + assets promises, but the assets promise resolves after the content promise. I want to verify that the order of the HTML is still correct in that case. Roughly like this:
sendLayoutHTTPResponse({
  renderApplication() {
    return {
      assets() {
        return new Promise(resolve => {
          setTimeout(() => resolve('<link rel="stylesheet">'), 200);
        }
      },
      content() {
        return `<button>App</button>`
      }
    }
  }
})

I'll merge this PR as-is though and add this test myself before publishing a new version.


[RFC] Authentication for restricted images from the Image API

What is this PR trying to achieve?
Provide a mechanism to restrict access to certain images in the collection based on their rights status.
Who is this change for?
📖 🏹

I wonder if it makes sense to broaden this out beyond images. We'll have to also serve pdfs, videos and other binary file types in addition to images through Loris.
The origin for that could be the derivatives S3 bucket?


cmd/go: go list -e does not assign missing import errors to correct package

See TODO in testdata/script/mod_lists_bad_import.txt.

It's complicated. The current behavior might even be almost correct. Leaving for Go 1.12.

@bcmills, @matloob, and I discussed this last week in the context of #36188. There's currently some ambiguity about whether import errors should be attached to the importing package or the imported package in go list -e -json output.
Here's what we came up with:

If the package being imported cannot be built, for example, because it doesn't exist or has no .go files, the error should be attached to the imported package. The error may still have a position in a file in the importing package. If multiple packages import an unbuildable package with the same path, multiple packages with errors should be listed.
If the package can be built but the importing package is not allowed to import it, for example because it's an internal package, a main package, or has a different canonical path, the error should be attached to the importing package, and the imported package should be listed normally without error. If the importing package has multiple import errors, we'll only include the first one in go list -e -json output.

the error should be attached to the imported package. The error may still have a position in a file in the importing package. If multiple packages import an unbuildable package with the same path, multiple packages with errors should be listed.

I don't think that's quite right: if the error for a given package is not dependent on the importer, the Error field of the go list -e -json entry for that package should not itself include information about importers. (However, the information in the DepsErrors field of each of those importers should populate the Pos field with the position of the corresponding import line.)

If the package can be built but the importing package is not allowed to import it, … the error should be attached to the importing package, and the imported package should be listed normally without error.

The details of this part are a bit subtle. I think in that case the error should be encoded in the Error field for the importing package (rather than the DepsErrors field), because the error did not strictly occur in the course of “loading” the dependency.

@matloob, is this fixed by your recent import-stack CL?
I think the relevant TODO is here:
https://github.com/golang/go/blob/6f52790a20a2432ae61e0ec9852a3df823a16d40/src/cmd/go/testdata/script/mod_list_bad_import.txt#L55-L58

I just checked, and this isn't fixed at head. I'll take a more in-depth look tomorrow.

There is a CL out for this issue but nobody has reviewed it.  Is this still expected for 1.15, or should we push it to 1.16?  Thanks.

Michael tagged the CL as wait-release shortly after it was mailed, so looks like 1.16.

Moving to Backlog.