Fix typo in NOTICE.txt

Description of Changes
"Sphinixfy" should be "Sphinxify" twice in NOTICE.txt.  This patch corrects this typo.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin, clauses (a) and (d),
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct:
Julian Gilbey

Actually, it turns out that there are lots and lots of changes required to the current NOTICE.txt, so I'm going to close this pull request, work through the file to check that every file listed is still current, and submit a new pull request to address the whole thing.


Include the network mask in k8s.ovn.org/host-addresses (cont.)

Fix unit tests affected to include mask

/close


Updating Zipkin settings in readme

Correcting properties name to reflect the code: https://github.com/spring-cloud/spring-cloud-sleuth/blob/master/spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/sampler/SamplerProperties.java#L36

@kubamarchwicki Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@pivotal-issuemaster This is an Obvious Fix

@kubamarchwicki Thank you for signing the Contributor License Agreement!


Arrow extends over rounded corner

Hi,
after running the example app and trying out the standard showroom I've noticed the following:

The arrow extends over the rounded corner. Looking at the code it is supposed to be fixed by using an "arrowSidePadding" but I guess something isn't working correctly?
I also see this issue when I integrate it into my app.
When changing the padding to 2.0 from 1.8 the issue is fixed. Maybe something has changed in the layout at some point?
Version: 1.3.2
Xcode 13.4
iOS 15.5

Indeed, when I was making this template I ran into the exact same problem, hardcoding a padding of 1.8...

Not sure what I might have changed to cause this, I'll investigate. Maybe a device size issue?

Just noting that I found exactly the same bug using Popovers on iOS 15.5
Adjusting the arrowSidePadding fixed the issue for me
(in fact - I have tweaked things to make that a configurable option - it's nice to be able to adjust to fit the layout)


should use growZoneFlow.mapLatest

should the code snippet 'growZone.mapLatest' be 'growZoneFlow.mapLatest' in section
https://developer.android.com/codelabs/advanced-kotlin-coroutines#13?

as so far, it still writes 'growZone.mapLatest' not 'growZoneFlow.mapLatest'
https://developer.android.google.cn/codelabs/advanced-kotlin-coroutines#13


query --name does not find a specific pic/filename

osxphotos, version 0.44.4
Describe the bug

While trying to dump into a csv file the full contents of the Photos database with command osxphotos query --in-album > RKMaster.csv
I later found a particular filename was missing: IMG_20190805_154316.JPG
I've then went in with sqlite3 on the Photos.sqlite file and compared with result of osxphotos query --name IMG_20190805_154316 (see below)
Either:

I'm doing something wrong
or there is some particular status on this asset which prevents the query to find that pic
or something else is preventing the query to find the file?

let me know how I can add more debug into it.

$ sqlite3 /Users/Shared/Pictures/iPhoto\ Shared\ Library.photoslibrary/database/Photos.sqlite
SQLite version 3.36.0 2021-06-18 18:58:49
Enter ".help" for usage hints.
sqlite> select * from zasset where zfilename like "%IMG_20190805_154316%";
88668|3|8|0|0|0|0|0||||||0|0|1|0|0|1|9570462743920721|0|0|0|2316|0|0|0|0|3|8163062088925207|0|5911215031779371|1|0|10|0|88468|0|0|0|0|0|0|0|3088|88669||83666||||||88666|3834|3834||3834|2692||||83574|3772||||||663089676.296619||663096491.984218||||0.5|586708996.3|0.0||0.0|0.0||40.4994466666667|-3.881295|663096520.119894|0.400390625|0.0|586708996.3||3E27CC3C-2362-436F-B2B6-6AD6E421980D|||||/Users/Shared/Pictures/Pictures/iPhoto/2019-08-31-0007-00/JSP|IMG_20190805_154316.JPG||Display P3|public.jpeg|6DD669E7-176C-4109-9922-50CC8D8A1ED5|?n	|??M???D@??d?
                                                                                ??("???@??1ىz"@|0
sqlite> .exit
$ osxphotos query --name IMG_20190805_154316
Using last opened Photos library: /Users/Shared/Pictures/iPhoto Shared Library.photoslibrary
uuid,filename,original_filename,date,description,title,keywords,albums,persons,path,ismissing,hasadjustments,external_edit,favorite,hidden,shared,latitude,longitude,path_edited,isphoto,ismovie,uti,burst,live_photo,path_live_photo,iscloudasset,incloud,date_modified,portrait,screenshot,slow_mo,time_lapse,hdr,selfie,panorama,has_raw,uti_raw,path_raw,intrash
(venv)
$

To Reproduce
Steps to reproduce the behavior:

What' the full command line you used with osxphotos? A: osxphotos query --name IMG_20190805_154316
What was the error output? A: see above.

Expected behavior
Would expect the row pointing to that file to be listed.
Screenshots
See log above.
Desktop (please complete the following information):

OS: [e.g. which version of macOS]> Mac OS 12.1(Monterey)
osxphotos version (osxphotos --version): osxphotos, version 0.44.4

Additional context
N/A

I'm not sure what would cause this.  Every photo in ZASSET is loaded by osxphotos and should be searched.
What happens if you select the photo in Photos and do a osxphotos query --selected?

Curiously enough MAC OS prompted with the following message when running osxphotos query --selected

I said OK.
Output is still empty for this particular pic.
Tried selecting another pic on Photos and ran osxphotos query --selected again, and this time around it did produce an output.
So there is something fishy with this pic

Very strange.  From the SQL output you included, it appears the UUID of this photo is 6DD669E7-176C-4109-9922-50CC8D8A1ED5.  Try this to see if osxphotos is even loading the data associated with this photo:
osxphotos debug-dump --dump photos --uuid 6DD669E7-176C-4109-9922-50CC8D8A1ED5

Here's the output. IT seems it found it.

Simply removed filed  'reverse_geolocation': <>

osxphotos debug-dump --dump photos --uuid 6DD669E7-176C-4109-9922-50CC8D8A1ED5
Using last opened Photos library: /Users/Shared/Pictures/iPhoto Shared Library.photoslibrary
Opening database: /Users/Shared/Pictures/iPhoto Shared Library.photoslibrary
Done; took 28.88 seconds
_dbphotos['6DD669E7-176C-4109-9922-50CC8D8A1ED5']:
{'UTI': 'public.jpeg',
 'UTI_original': None,
 'UTI_raw': None,
 '_uuid': '6DD669E7-176C-4109-9922-50CC8D8A1ED5',
 'added_date': datetime.datetime(2022, 1, 5, 15, 34, 36, 296619),
 'adjustmentFormatID': None,
 'adjustmentUuid': None,
 'albums': ['29584506-2147-44CC-85FC-336930074BB1'],
 'alt_master_uuid': None,
 'burst': True,
 'burstPickType': 0,
 'burstUUID': '3E27CC3C-2362-436F-B2B6-6AD6E421980D',
 'cloudAssetGUID': None,
 'cloudAvailable': None,
 'cloudLibraryState': None,
 'cloudLocalState': None,
 'cloudStatus': None,
 'cloudbatchpublishdate': None,
 'cloudownerhashedpersonid': None,
 'countryCode': None,
 'customRenderedValue': 0,
 'datastore_subtype': None,
 'depth_state': 0,
 'directory': '/Users/Shared/Pictures/Pictures/iPhoto/2019-08-31-0007-00/JSP',
 'extendedDescription': None,
 'favorite': 0,
 'filename': 'IMG_20190805_154316.JPG',
 'fok_import_session': None,
 'hasAdjustments': 0,
 'hasAlbums': 1,
 'hasKeywords': 0,
 'hasPersons': 1,
 'has_raw': False,
 'hdr': False,
 'height': 2316,
 'hidden': 0,
 'imageDate': datetime.datetime(2019, 8, 5, 16, 43, 16, 300000, tzinfo=datetime.timezone(datetime.timedelta(seconds=7200))),
 'imageDate_timestamp': 586708996.3,
 'imageTimeZoneOffsetSeconds': 7200,
 'import_session': 2692,
 'import_uuid': 'BC75C1A7-2199-40FA-A160-5F6A53FC9674',
 'incloud': None,
 'intrash': False,
 'isMissing': 0,
 'isreference': True,
 'keywords': [],
 'lastmodifieddate': None,
 'lastmodifieddate_timestamp': None,
 'latitude': 40.499446666666664,
 'live_photo': False,
 'localAvailability': 1,
 'longitude': -3.8812949999999997,
 'masterFingerprint': 'AVZPqiSWqcpbTGnKXqgVdKbfi1oQ',
 'masterUuid': None,
 'modelID': None,
 'momentID': 3772,
 'name': None,
 'non_raw_master_uuid': None,
 'orientation': 3,
 'originalFilename': 'IMG_20190805_154316.JPG',
 'original_filesize': 1413404,
 'original_height': 2316,
 'original_orientation': 3,
 'original_resource_choice': 0,
 'original_width': 3088,
 'panorama': False,
 'persons': [445, 461],
 'pk': 88668,
 'placeIDs': None,
 'placeNames': None,
 'portrait': False,
 'raw_data_length': None,
 'raw_info': None,
 'raw_is_original': False,
 'raw_master_uuid': None,
 'remoteAvailability': 0,
 'resource_type': None,
 'reverse_geolocation':
<<REMOVED FOR PRIVACY REASONS>>
 'saved_asset_type': 10,
 'screenshot': False,
 'selfie': True,
 'shared': False,
 'slow_mo': False,
 'subtype': 0,
 'time_lapse': False,
 'trasheddate': None,
 'trasheddate_timestamp': None,
 'type': 0,
 'visibility_state': 0,
 'visible': True,
 'width': 3088}

Simply removed filed 'reverse_geolocation':

Yeah, I've got plan to add a --privacy flag to the debug-dump command that would hash any private info like location, names, etc. just haven't gotten to it.
The only thing that seems strange I see is that this photo appears to be a burst image (a group of photos taken in rapid succession by holding down the button on your phone).  In burst images, Photos selects a "key image" that is the one that's shown in the library then allows you to select other images.  osxphotos doesn't export or query non-selected burst images nor does Photos -- they're treated as if they don't exist until you select them. For example, in Photos, if you search for the filename of a non-selected burst image, it won't be shown.  The photo in question has a 'burstPickType' of 0 which I've never seen in testing.  'burstPickType' is a bit flag that can hold multiple values but I've never seen 0.  For example, "not selected" has a value of 2.
 'burst': True,
 'burstPickType': 0,
 'burstUUID': '3E27CC3C-2362-436F-B2B6-6AD6E421980D',

osxphotos is acting as designed by filtering out this image:
        if self._dbphotos[p]["burst"] and not (
                self._dbphotos[p]["burstPickType"] & BURST_SELECTED
                or self._dbphotos[p]["burstPickType"] & BURST_KEY
         ):
                # not a key/selected burst photo, don't include in returned results
                continue

So some questions are "is this photo somehow corrupted in the database?" and "is 'burstPickType' 0 valid and how should osxphotos handle this?"
I guess another question is "is the current osxphotos behavior, which ignores non-selected burst-images, correct (and what users would expect) or should osxphotos query/export all burst images?" Or maybe should osxphotos add a --non-selected-bursts flag that also queries/exports non-selected-bursts?
Can you export this photo from Photos using the File | Export command?
This photo appears to be a reference (not copied to Photos library): 'isreference': True,  Is the original file on disk? (e.g. if you search your photos directory for the filename do you find the image?)

Thanks for the prompt reply!

So further to this, I found the explanation to have:I've looked around and these pics were possibly part of a burst sequence from an iPhone.
Given that exiftool reports a Burst UUID field,

# exiftool IMG_20190805_154316.JPG | grep -i uuid
Burst UUID                      : 3E27CC3C-2362-436F-B2B6-6AD6E421980D

But my workflow of importing iPhotos

It should be easy to include 'ZAVALANCHEPICKTYPE=0' photos in the results returned by osxphotos as this appears to the only use case of this. (non-seleected = 2).  I think I'll also add a --non-selected-bursts filter that filters only the non-selected bursts and a --all-bursts filter that includes the non-selects in other search results.

I think v0.44.6 will allow you to query/export this photo now as I fixed it to include burst images with pick type == 0. (Normal images have ZAVALANCHEPICKTYPE=0 but the code was filtering out burst images with this same pick type).  I've opened a new issue (#574) to add the --non-selected-bursts and --all-burst filters.  Let me know if you're able to now query/export the photo(s) in question.

Worked like a charm.

osxphotos --name finds the pic
osxphotos query --in-album includes such pics in the resulting file.

And the counts add up: photo_count + movie count = 89646 (total lines exported).

item
count
total (photo+movie)

photo_count
87777

movie_count
1869
89646

hidden_photo_count
4904

Thanks again! Super Work!


Send a message to Discord when new "good-first-issue" was added

Issue #120
The code worked on my channel.
It is required that a secret be created for a discord webhook and be named"DISCORD_WEBHOOK"

Image from my discord channel.


fix(accel_brake_map_calibrator): rviz panel type

Update the rviz panel type
This PR contains the modification of "InitialPoseButtonPanel" in rviz/occupancy.rviz given the change of rviz_plugin name in common/tier4_localization_rviz_plugin.
Also this PR contains a minor update of "How to calibrate" part in README.md. I think running the launch file with use_sim_time:=true flag is better than settting ros2 param set /use_sim_time true when replaying the bug file, because the flag is not passed to accel_brake_calib node if we set use_sim_time from command line. Actually I encountered TF_OLD_DATA error when I followed the current instruction.
Pre-review checklist for the PR author

[X] I've confirmed the contribution guidelines.
[X] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers

[X] The PR follows the pull request guidelines.

Post-review checklist for the PR author

[X] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

I also added another commit for service name for "update_map_dir" used in the callback of rviz_panel.
@yukkysaito @taikitanaka3

LGTM

@soblin
can you write this change to release note?


How install it?

Hi!
I try it install to my test Kubernetes cluster.
I see to do
kubectl apply -f bundle.yaml
Ok I push it. I see prometheus-operator = Deployments and Pods and ReplicaSets in default Namespace.
packet@KUBERNETES1:/opt/prometheus-operator$ kubectl get pods
NAME                                  READY   STATUS    RESTARTS   AGE
prometheus-operator-c4b75f7cd-khwg5   1/1     Running   0          19m
Where is Readme about how install Prometheus and Grafana and Alert ?
I found the following examples:
kubectl create ns monitoring
git clone https://github.com/coreos/prometheus-operator.git
cd prometheus-operator
helm install --name prometheus-operator \
--set rbacEnable=true --namespace=monitoring helm/prometheus-operator
helm install --name prometheus --set serviceMonitorsSelector.app=prometheus \
--set ruleSelector.app=prometheus --namespace=monitoring helm/prometheus
helm install --name alertmanager --namespace=monitoring helm/alertmanager
helm install --name grafana --namespace=monitoring helm/grafana
helm install --name kube-prometheus --namespace=monitoring helm/kube-prometheus
for it output is errors:
Error: found in requirements.yaml, but missing in charts/ directory: alertmanager, prometheus, exporter-coredns, exporter-kube-controller-manager, exporter-kube-dns, exporter-kube-etcd, exporter-kube-scheduler, exporter-kube-state, exporter-kubelets, exporter-kubernetes, exporter-node, grafana
But this installs work only without kubectl apply -f bundle.yaml   (need clear cluster without prometheus-operator)
I can't see this install readme! Where can I see it?

Sorry, yes the bundle.yaml is only meant for a quickstart, the helm or jsonnet based installation includes what is in the bundle.yaml as well, so you want to delete the bundle.yaml if you want the full stack. I opened #2087 to clarify this in the readme.

Since there  has not had any activity for some time, closing this issue, feel free to open a new one if you are still facing this problem.


Session missing after restart

When restart my system cant find the session.
The socket is also missing.
I use abduco + dvtm and setting $ABDUCO_SOCKET_DIR to ${XDG_CONFIG_HOME:-$HOME/.config}/abduco.
I installed abduco by cloning and following build instructions
I don't know if this is an intended feature

By the way is the session supposed to exist after system restart?
I don't see any session file anywhere, so can I assume there are no issues?


Insecure Storage: Unspecified Keychain Access Policy

We have used the  Firebase Podfile For our need. Here we  have attached the Screenshots for your reference. Kindly help us asap.
Step 1: Describe your environment

Xcode version:  11.3.1
Firebase SDK version: 6.3.1
Firebase Component:  FirebaseInstanceID
Installation method: `CocoaPods '

Step 2: Describe the problem
On line 100 of FIRInstanceIDKeychain.m, the method ^{}() stores data in the Keychain without specifying an accessibility level.The identified method stores data in the Keychain without specifying an accessibility level.

Please label with the correct version and check the current sources at https://github.com/firebase/firebase-ios-sdk before filing issues like this.

FIRInstanceIDKeychain is a utility used by other parts of the code, and those callers are responsible for specifying this attribute. For example, here. If you have a specific concern about a caller that's not specifying the attribute, please let us know.


Fix some bugs and vulnerabilities detected by sonar cloud

Quality gate show 11 level bugs than before, good job


Revise documentation on hyperparameter search

Right around the time that I stumbled upon dask-searchcv, scikit-learn 0.19 was released where pipelines now support the memory parameter:
http://scikit-learn.org/stable/whats_new.html#version-0-19
As such, perhaps this section of the docs should be revised:

With the regular scikit-learn version, each stage of the pipeline must be fit for each of the combinations of the parameters, even if that step isn’t being searched over.

I'd be interested to hear if any work was done to compare/contrast dask-searchcv vs scikit-learn's changes in 0.19. Presumably dask-searchcv allows you to more easily harness multiple machines, but perhaps some rudimentary benchmarks could/would be interesting/appropriate.
From:
http://dask-ml.readthedocs.io/en/latest/hyper-parameter-search.html#efficient-search

Perhaps it would also make sense to change the benchmarks below to iterate over a small fixed set of values for random_state so that the benchmark is as apples to apples as possible?

@jimmywan it would be great to get updated benchmarks.  Is this something that you would feel comfortable contributing?

My primary environment is a Ubuntu 14.04 VM running on a Windows 10 host so I was thinking you might want less variables involved, but if that's not a concern, I'd be happy to try and help out a bit. From what I have read, I like what you guys have been doing and/or the direction you're trying to go with dask-* so happy to help.

so I was thinking you might want less variables involved

I presume the differences would cancel eachother out, but perhaps not. Either way, I'd be happy to run the benchmark as well if you're able to put one together.
Also, this issue may interest you: https://github.com/scikit-learn/scikit-learn/issues/10068

Took a stab at this and here were the results. Hope this helps.
Results
scikit-learn GridSearchCV took 5.26 seconds for 16 candidate parameter settings.
scikit-learn GridSearchCV took 5.23 seconds for 16 candidate parameter settings.
scikit-learn GridSearchCV took 4.96 seconds for 16 candidate parameter settings.
scikit-learn GridSearchCV with memory took 5.55 seconds for 16 candidate parameter settings.
scikit-learn GridSearchCV with memory took 5.40 seconds for 16 candidate parameter settings.
scikit-learn GridSearchCV with memory took 4.90 seconds for 16 candidate parameter settings.
dashk-searchcv GridSearchCV took 6.63 seconds for 16 candidate parameter settings.
dashk-searchcv GridSearchCV took 5.59 seconds for 16 candidate parameter settings.
dashk-searchcv GridSearchCV took 5.96 seconds for 16 candidate parameter settings.
scikit-learn RandomizedSearchCV took 86.75 seconds for 250 candidates parameter settings.
scikit-learn RandomizedSearchCV with memory took 83.36 seconds for 250 candidates parameter settings.
dashk-searchcv RandomizedSearchCV took 75.33 seconds for 250 candidates parameter settings.

Benchmark code
I started with this, and made some modifications that I thought would make the benchmarks more comparable:

For the grid searches, I ran them 3 times. For the random searches, I upped the count a bit.
Actual target of the search was changed from a Regressor to a pipeline containing a StandardScaler so it would have "something" that could theoretically be cached. Not entirely sure my scaling task makes sense.
Added fixed values for random_state to the searches and the regressor so that each task was theoretically evaluating the exact same thing.

I didn't put a whole lot more effort into changing the pipeline. I'm not super familiar with classification tasks or this dataset.
if __name__ == '__main__':
    from dask_searchcv import GridSearchCV, RandomizedSearchCV
    from distributed import Client
    from scipy import stats
    from shutil import rmtree
    from sklearn import model_selection as ms
    from sklearn.datasets import load_digits
    from sklearn.linear_model import LogisticRegression
    from sklearn.pipeline import Pipeline
    from sklearn.preprocessing import StandardScaler
    from tempfile import mkdtemp
    from time import time

    def get_clf(random_state, memory_dir=None):
        clf = Pipeline(
                [
                    ('scaler', StandardScaler()),
                    ('clf', LogisticRegression(random_state=random_state)),
                ],
                memory=memory_dir
        )
        return clf

    client = Client()

    # get some data
    digits = load_digits()
    X, y = digits.data, digits.target

    # use a full grid over all parameters
    param_grid = {
        "C": [1e-5, 1e-3, 1e-1, 1],
        "fit_intercept": [True, False],
        "penalty": ["l1", "l2"]
    }
    param_grid = dict([('clf__' + x, y) for x, y in param_grid.items()])

    # scikit-learn
    for i in range(3):
        sk_grid_search = ms.GridSearchCV(get_clf(i), param_grid=param_grid, n_jobs=-1)
        start = time()
        sk_grid_search.fit(X, y)
        print("scikit-learn GridSearchCV took %.2f seconds for %d candidate parameter settings."
              % (time() - start, len(sk_grid_search.cv_results_['params'])))
        del sk_grid_search

    # scikit-learn w/ memory
    for i in range(3):
        tmp_dir = mkdtemp()
        try:
            sk_grid_search_with_memory = ms.GridSearchCV(get_clf(i, tmp_dir), param_grid=param_grid, n_jobs=-1)
            start = time()
            sk_grid_search_with_memory.fit(X, y)

            print("scikit-learn GridSearchCV with memory took %.2f seconds for %d candidate parameter settings."
                  % (time() - start, len(sk_grid_search_with_memory.cv_results_['params'])))
            del sk_grid_search_with_memory
        finally:
            rmtree(tmp_dir)

    # dask
    for i in range(3):
        dk_grid_search = GridSearchCV(get_clf(i), param_grid=param_grid, n_jobs=-1)
        start = time()
        dk_grid_search.fit(X, y)
        print("dashk-searchcv GridSearchCV took %.2f seconds for %d candidate parameter settings."
              % (time() - start, len(dk_grid_search.cv_results_['params'])))
        del dk_grid_search

    param_dist = {
        "C": stats.beta(1, 3),
        "fit_intercept": [True, False],
        "penalty": ["l1", "l2"]
    }
    param_dist = dict([('clf__' + x, y) for x, y in param_dist.items()])

    n_iter_search = 250

    # scikit-learn randomized search
    sk_random_search = ms.RandomizedSearchCV(get_clf(42), param_distributions=param_dist, n_iter=n_iter_search, n_jobs=-1, random_state=42)
    start = time()
    sk_random_search.fit(X, y)
    print("scikit-learn RandomizedSearchCV took %.2f seconds for %d candidates"
          " parameter settings." % ((time() - start), n_iter_search))
    del sk_random_search

    # scikit-learn randomized search with memory
    tmp_dir = mkdtemp()
    try:
        sk_random_search_with_memory = ms.RandomizedSearchCV(
                get_clf(42, tmp_dir), param_distributions=param_dist, n_iter=n_iter_search, n_jobs=-1, random_state=42
        )
        start = time()
        sk_random_search_with_memory.fit(X, y)
        print("scikit-learn RandomizedSearchCV with memory took %.2f seconds for %d candidates"
              " parameter settings." % ((time() - start), n_iter_search))
        del sk_random_search_with_memory
    finally:
        rmtree(tmp_dir)

    # dask randomized search
    dk_random_search = RandomizedSearchCV(get_clf(42), param_distributions=param_dist, n_iter=n_iter_search, n_jobs=-1, random_state=42)
    start = time()
    dk_random_search.fit(X, y)
    print("dashk-searchcv RandomizedSearchCV took %.2f seconds for %d candidates"
          " parameter settings."  All rights reserved.

VM details:
VBoxManage.exe --version
5.1.24r117012

Guest OS details:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:        14.04
Codename:       trusty

Thanks @jimmywan! That'll be very helpful.
I'd like to add a "Benchmarks" or "Performance" section to docs/source/hyper-parameter-search.rst with

a link to the benchmark code (which will be included in benchmarks/
a high-level summary of the differences
a table or graph of the results

Are you interested in making a PR with that? Otherwise, I'll get to it by the end of the week.

@TomAugspurger I don't think I have time to put more work into it this week. Feel free to take and modify as you see fit.


Rianhughes/sequencer

Merging https://github.com/NethermindEth/juno/compare/main...feature/sequencer into main, by cherry-picking

Note: the token contract should be updated to remove the assertions that the permissioned_minter can't be the zero address (when calling the token constructor blockifier, the sender address is the zero address - I currently get around this by passing the sender address into blockifier - which is a bit hacky).


useParams does not fully work when Route has an array of path's

Version
^5.2.0
Test Case
https://codesandbox.io/s/lucid-keldysh-yewiz
Steps to reproduce
Have an array of paths in Route in a Switch:
<Route path={["/", "/:id"]}>
    <Component />
</Route>

if you try to navigate to /123 for example, when using the params hook: useParams, id will be undefined.
If you swap "/" and "/:id" in the array, it will work.
My Expected Behavior
No matter the order of the array, it should pickup all the params.
Is this expected?

Using an array for your paths is really just a hack to support path-to-regexp's array support. It's not recommended for reasons such as this. This is an expected bug.

@timdorr what is the recommended approach? Would it be this?
<Route path="/">
    <Component />
</Route>

<Route path="/:id">
    <Component />
</Route>

Yep. You can .map over an array of paths to put out multiple Routes as well, if you prefer the old style.


Maximizing window doesn't work properly when using WaylandWindowDecorations

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

VS Code Version: 1.77.2
OS Version: Fedora Linux 37 GNOME 43 Wayland

Steps to Reproduce:

Open terminal on GNOME
Execute code --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland --disable-extensions
Maximize the window

Here's a video of the bug

Can you check if the issue happens with our insiders version https://code.visualstudio.com/insiders/ that comes with an updated version of the runtime.

@deepak1556 It doesn't.
But now the bug seems different. The screenshot is from an instance of vscode-insiders executed with code-insiders --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland and then maximized. It seems that the problem has something to do with WaylandWindowDecorations arg, when I run vscode without it, the maximization problem is gone .

I have what looks like the same issue but not on full screen maximization but maximizing to the side in Gnome.

Looks like as mentioned by @pwr22 the WaylandWindowDecorations are triggering this bug, a temporal fix would be to change, in configuration, Window: Title Bar Style to Custom instead of Native

Please check if the issue is present in latest insiders that has updated version of the runtime, if it still does can you try to repro the issue with https://www.electronjs.org/fiddle

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Clicking on test running in ios simulator does not show finders

flutter run -t test/my_test.dart
See it run in your ios simulator.  Click on it.  No logs?
Maybe I'm holding it wrong.  @Hixie

If you stick a breakpoint in event handling code, does it break when you tap?

This seems to be working fine  using default widget_test.dart on iPhone 11 simulator

logs
taha@Tahas-MacBook-Pro dev_flutter % flutterd run -t test/widget_test.dart -d iphone
Launching test/widget_test.dart on iPhone 11 in debug mode...

Running Xcode build...

 └─Compiling, linking and signing...                        21.7s
Xcode build done.                                           38.1s
Waiting for iPhone 11 to report its views...                         3ms
flutter: 00:00 +0: Counter increments smoke test
Syncing files to device iPhone 11...                               284ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on iPhone 11 is available at: http://<IP_ADDRESS>:64781/qsMS8DUjLi8=/
flutter: 00:00 +1: All tests passed!
flutter: Some possible finders for the widgets at Offset(451.2, 302.9):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: Some possible finders for the widgets at Offset(449.3, 289.4):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: No widgets found at Offset(320.8, 256.5).
flutter: No widgets found at Offset(203.9, 320.3).
flutter: No widgets found at Offset(530.4, 350.2).
flutter: No widgets found at Offset(452.2, 338.6).
flutter: No widgets found at Offset(287.0, 252.7).
flutter: No widgets found at Offset(372.9, 251.7).
flutter: Some possible finders for the widgets at Offset(354.6, 320.3):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: Some possible finders for the widgets at Offset(355.6, 313.5):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: No widgets found at Offset(436.7, 326.1).
flutter: Some possible finders for the widgets at Offset(377.8, 302.9):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: Some possible finders for the widgets at Offset(419.3, 312.6):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: Some possible finders for the widgets at Offset(465.7, 321.3):
flutter:   find.text('Test finished.')
flutter:   find.byType(Center)
flutter:   find.byType(Container)
flutter: No widgets found at Offset(487.9, 326.1).
flutter: No widgets found at Offset(513.0, 328.0).

flutter doctor -v
[✓] Flutter (Channel dev, 1.21.0-1.0.pre, on Mac OS X 10.15.6 19G73, locale en-GB)
    • Flutter version 1.21.0-1.0.pre at /Users/taha/Code/flutter_dev
    • Framework revision f25bd9c55c (6 days ago), 2020-07-14 20:26:01 -0400
    • Engine revision 99c2b3a245
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 20bf2fcf56)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.6, Build version 11E708
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.47.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.2

[✓] Connected device (5 available)
    • SM M305F (mobile)      • 32003c30dc19668f          • android-arm64  • Android 10 (API 29)
    • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 13.6
    • macOS (desktop)        • macos                     • darwin-x64     • Mac OS X 10.15.6 19G73
    • Web Server (web)       • web-server                • web-javascript • Flutter Tools
    • Chrome (web)           • chrome                    • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

Closing as not reproducible issue. If you disagree, please write in the comments and I will reopen it.
Thank you


Third-party Provider Auth

Add third-party providers auth to templates and Auth component.

[x] Google
[x] Microsoft
[x] Github
[ ] ~Apple~
[ ] ~Facebook~
[x] Error message when user already registered
[x] Setup providers through client id on the component and secret (when needed) as based secrets.

Secondary third-party auth providers moved to another ticker


App Setup Issue

Hi Team,
I am not able to check to see the new design view as you showing in the docs. please help

like admin page .....

You need to follow the installation guidelines.


Add new methods to keithley 2450 driver

Changes proposed in this pull request:
(still need to add code examples to the notebook)
The following features are added:
Sense:
(new param) auto_zero
(new param) auto_zero_once
(new param) count
(new method) fetch
add buffer name and extra elements for measurements (both single measurement and sweep)
(new method) make and delete buffer
(new method) number of readings in the buffer
(new method) choose which buffer to read from and the data fields
(new method) reset and get buffer size
(new method) trigger trace
Source:
(new param) read_back
added more inputs var to the sweep arguments
modified the sweep_start
Main class:
(new param) power_line_frequency
@sohailc

@liangosc Good work!

Please put this PR on hold because the author wants to double check the backwards compatibility of the new driver, with physical access to the Keithley 2450.

Please put this PR on hold because the author wants to double check the backwards compatibility of the new driver, with physical access to the Keithley 2450.

Oops I closed it by accident... (I was going to cancel the comment, but didn't realize it's "close and comment" not "cancel the comment"). So I had to reopen it.
Anyway, I tested the driver in this PR and everything works including the examples in the notebook. Please review.


Wrong Comment: priority of Add and Remove in tags.TagChange

User-guide says "remove is precedence".
Commnents in opst/knitfab-api-types wrong. Fix it.

In implementation of Knitfab, Tags are add-first, but Annotations are remobe-first.
We should choice.
If remove-first, "replace" operations can be done with knit data tag --remove-key KEY --add KEY:VALUE KNIT_ID.
But if add-first, there are no way to express "replace" operation.
And, if we do replaceing in add-first way, we should do...
knit data tag --remove-key KEY ...
knit data tag --add KEY:VALUE ...

then, it kicks nomination twice because there are two commands.
Annotations are more subtle. Between remove and add, Lifecycle Hook can read the Plan (in Run). That may not match user's intent.
Updating Tag can be done in atomic operation. Remove-first is right.


Forward port v0.5.6 fixes and use dplyr from CRAN.

Forward porting a couple new tests and the top_n fix to from https://github.com/rstudio/sparklyr/releases/tag/v0.5.6 and removing dplyr devel dependency and workarounds in travis.

Travis does not seem to pick on dbplyr 1.0 probably CRAN mirror not fully propagated, will retry in a day or so.


fix bug ModelPatcher returns empty outputs

When model's output is tuple or list, filtered_outputs doesn't get assigned and hence always a empty dict
What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Who can review?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

there's also a typo in the lines that come after (and the function's return) where filtered_outputs is written as filterd_outputs


Can't deliver ipa "Missing or invalid signature"

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
I'm using fastlane sigh to generate the provisioning profiles:
fastlane sigh --username username --app_identifier pl.emarketing.ios --provisioning_name  app_name --filename appname_appstore.mobileprovision --output_path fastlane/certs  --skip_fetch_profiles

I'm unable to upload the .ipa to the App Store. I get the same error using fastlane deliver or the Application Loader.
The error I'm getting:
[19:46:00]: Going to upload updated app to iTunes Connect

[19:46:00]: This might take a few minutes. Please don't interrupt the script.

[19:46:28]: [Transporter Error Output]: ERROR ITMS-90034: "Missing or invalid signature. The bundle 'pl.emarketing.ios' at bundle path 'Payload/eMarketing.pl.app' is not signed using an Apple submission certificate."

[19:46:28]: Transporter transfer failed.

[19:46:28]:

[19:46:28]: ERROR ITMS-90034: "Missing or invalid signature. The bundle 'pl.emarketing.ios' at bundle path 'Payload/eMarketing.pl.app' is not signed using an Apple submission certificate."

[19:46:28]: ERROR ITMS-90034: "Missing or invalid signature. The bundle 'pl.emarketing.ios' at bundle path 'Payload/eMarketing.pl.app' is not signed using an Apple submission certificate."
Return status of iTunes Transporter was 1: ERROR ITMS-90034: "Missing or invalid signature. The bundle 'pl.emarketing.ios' at bundle path 'Payload/eMarketing.pl.app' is not signed using an Apple submission certificate."
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
✅ fastlane environment ✅
Stack

Key
Value

OS
10.12.1

Ruby
2.2.4

Bundler?
false

Git
git version 2.10.1 (Apple Git-78)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.12.1 (16B2657)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.5.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

CFPropertyList
2.3.4

activesupport
<IP_ADDRESS>

addressable
2.5.0

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.13.6

claide
1.0.1

colored
1.2

commander
4.4.2

domain_name
0.5.20161129

dotenv
2.1.1

excon
0.54.0

faraday
0.10.0

faraday-cookie_jar
0.0.6

faraday_middleware
0.10.1

fastimage
2.0.1

gh_inspector
1.0.2

google-api-client
0.9.20

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.7.0

io-console
0.4.3

json
1.8.1

jwt
1.5.6

libxml-ruby
2.9.0

little-plugger
1.1.4

logging
2.1.0

memoist
0.15.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

multi_json
1.12.1

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.3

nokogiri
1.5.6

os
0.9.6

plist
3.2.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.4

rake
10.4.2

rdoc
4.2.0

representable
2.3.0

retriable
2.1.0

rouge
1.11.1

rubygems-update
2.5.2

rubyzip
1.2.0

security
0.1.3

signet
0.7.3

slack-notifier
1.5.1

sqlite3
1.3.12

terminal-notifier
1.7.1

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.5

tzinfo
1.2.2

uber
0.0.15

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.1.2

word_wrap
1.0.0

xcodeproj
1.4.2

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2017-01-04

If I create the Provisioning profile in developers.apple.com everything works fine. I guess either there's something wrong with fastlane sigh or there's something new with fastlane 2.0 that's creating invalid provisioning profiles.
I'll keep researching.

Trying to reproduce the same issue with a different project and everything works fine. The only difference between both projects is the following:
App name in the crashing project: myapp.com
App name in the working project: myappcom
fastlane produce detects the point in the crashing project as an invalid character and handles the issue. In any case, the resulting .ipa is not valid.


use ALIAS library for Drogon::Drogon

This change allows meson to find Drogon.

Nevermind, I missed something. Sorry for the noise.


[1.8.9] Armors on armor stand not protected

Armors on armor stand not protected.
Interact-entity-secondary is false on both admin and basic claims and yet players are still able to take another's display armor. This has been an issue before flags were implemented, a player without trust can steal armor as well.

This is not an issue with 1.10.2

This seem to have been reintroduced - it is currently possible in 1.10.2 to take items away from the vanilla Minecraft armor stand


[WIP] encapsulate and forward udp packets from parent instance to child

Commit Message: encapsulate and forward udp packets from parent instance to child
Additional Description: During hot restart, forward UDP packets as delivered to HotRestartingParent (from ActiveQuicListeners) to HotRestartingChild, for delivery to the appropriate listener in the new instance.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/coverage

Awaiting #29454 to facilitate this.


Include the prefer_relative_imports

According to Dart guidelines, prefer_relative_imports prefer relative imports inside lib folder, this request is to enable it by default in this package of tools

Hi @ffgiraldez 👋
Thanks for opening an issue!
We made the decision to prefer package imports because:

Package imports make it easier to move files/directories without needing to adjust imports
By using package imports within lib we have a consistent imports style everywhere and you don't need to think about when to use one or the other.

The reasoning provided for relative_imports in the guidelines is "they're shorter" which doesn't seem to outweigh the benefits of using package imports consistently listed above in my opinion.
If you prefer relative imports feel free to override the rule in very_good_analysis:
include: package:very_good_analysis/analysis_options.yaml
linter:
  rules:
    prefer_relative_imports: true

Let me know what you think and hope that helps 👍

thanks


Changes to the locale force components to mount again

If I enter this code in HomePageindex.js:
  constructor(props) {
    super(props);
    console.log('enter constructor');
  }

  componentWillMount() {
    console.log ('enter willmount')
  }

I can see the HomePage component is mounted again everytime I change the locale.
It's a problem as my component is in a state and then, after changing locale all the state setting got initialized again. I can move my state to redux state, but is there a better way?

I believe here is described a workaround: https://github.com/yahoo/react-intl/issues/695#issuecomment-254612200, please try it and tell us about the result.


Improvements for the director web interface

The director landing page is still fairly lackluster -- I think we have more information "under the hood" that we could expose.
Some additional UI elements I'd like to see:

A status indicator for the service, based on the current health test results.  If the cache/origin is in downtime, we should be able to filter on that via checkbox.
Ability to click on the box for a given service and have it expand with information about the service.  This information should include:

Service hostname/port.  If it's a Pelican cache, we already include a link to the web interface.  Non-Pelican services shouldn't include a clickable link.
The results of latest tests (expanded from the inline information).
The namespace(s) that the origin supports.
Link to the registration page.

The fuzzy search should include any information about the service, not only the site name.
A filter box that we can turn on/off only the pelican services.
An indication of how many entries there are in the table.

@haoming29 I can find most of this information in the apis, can you help me find/confirm the remaining?

Downtime indicator
Test Results ( pelican_director_total_ftx_test_runs? )

@haoming29 I can find most of this information in the apis, can you help me find/confirm the remaining?

Downtime indicator
Test Results ( pelican_director_total_ftx_test_runs? )

They should be all in the /api/v1.0/director_ui/servers

[
  {
    "name": "Test Origin",
    "auth_url": "https://example-origin.com:8443",
    "broker_url": "https://example-origin.com:8447",
    "url": "https://example-origin.com:8443",
    "web_url": "https://example-origin.com:8444",
    "type": "Origin",
    "latitute": 0,
    "longitude": 0,
    "enableWrite": false,
    "enableFallbackRead": false,
    "filtered": false,
    "filteredType": "",
    "status": "Unknown",
    "namespacePrefixes": [
      "/foo",
      "/bar"
    ]
  }
]

Status is the test result,  filtered is the downtime indicator


Default submit handler gets html, not json from Sveltekit page endpoints

Describe the bug
With Sveltekit page endpoints, the default submit handler receives HTML from the page (ie: the form itself) and not json from the endpoint (ie: the response on the submit).
Page endpoints have the page and the endpoint on the same URL. You will need to include an Accept: application/json header to get JSON from the endpoint rather than HTML from the page.
Which package/s are you using?
felte (Svelte)
Environment

OS: Windows 11
Browser: Chrome
Version: 101.0.4951.54

To reproduce
Page login.svelte with a form:
<script lang="ts">
  import { createForm } from 'felte';

  const { form } = createForm({
    onSuccess(response, context) { console.log(response.status) } // <-- logs 200 from page, but want 401 from endpoint
  })
</script>

<form use:form method="post">
  <button type="submit">Go</button>
</form>

Endpoint login.ts with a request handler:
import type { RequestHandler } from '@sveltejs/kit'

export const post: RequestHandler = async ({ request }) => {
  return {
    status: 401 // <-- return 401 Not Authorized
  }
}

The page and the endpoint have the same url (/login). An Accept header should distinguish between page or endpoint.
Small reproduction example
No response
Screenshots
No response
Additional context
Sveltekit page endpoints (docs):

If an endpoint has the same filename as a page (except for the extension), the page gets its props from the endpoint — via fetch during client-side navigation, or via direct function call during SSR.
Because the page and route have the same URL, you will need to include an accept: application/json header to get JSON from the endpoint rather than HTML from the page.

Workaround:

You can also get the raw data by appending /__data.json to the URL, e.g. /items/[id]/__data.json.

Here is what the workaround looks like, with the /__data.json suffix:
<script lang="ts">
  import { createForm } from 'felte';

  const { form } = createForm({
    onError: async (error) => {
      const body = await error.response.json();
      // shape response body into errors
    }
  });
</script>

<form use:form method="post" action="/users/login/__data.json">
  <button type="submit">Go</button>
</form>

This might be on SvelteKit as far as I understand! Although I'm not sure how it handles server endpoints and components called the same?
I've always made a point of adding .json to my server endpoints when using SvelteKit. E.g. Having a /users/login.svelte for the page and a /users/login.json.js for the API endpoint. But if this is something SvelteKit should support now, I'll check if there's something I can do on my end (maybe missing headers?).

Can you test the latest version? Just pushed a patch that sends the headers appropriately. Feel free to close this if it works as expected.

I just tested with version<EMAIL_ADDRESS>and the request works OK now.
But the page is not getting its props from the response. With Sveltekit page endpoints (ie: page and endpoint with same name), this is done automatically. I can do it manually in onSuccess though:
let msg: string;

const { form } = createForm({
  async onSuccess(response, context) {
    msg = (await response.json()).msg;
  }
})

It works with a workaround, but I think it doesnt fully support Sveltekit page endpoints. Want to keep this one open to look at that? If there are no plans (I'm not planning myself), then I can close.

Sorry for the delay, @janwicher. But yeah, there's no plans for that currently. Page endpoints don't work because the request is being done with JS, not the native submit event. This API was thought before SvelteKit's form handling.
This is something I'll give thought to, since the way I see it might require an API change (so maybe for Felte v2?). But maybe there's a way to handle it without introducing breaking changes. Anyway, it's okay to keep this closed. I'll just keep a note about this.

With Sveltekit v1.0.0, it seems that getting any usable error message back from the server is....very close to impossible. Is there plans for further development with the latest update? I took a look at the docs myself, but, I am not a smart person.

@dlamon1 try this:

  import { deserialize } from '$app/forms';

	const { form, errors, touched, isSubmitting } = createForm({
		async onSuccess(response, context) {
			const res = await response.text();

			console.log({ res: deserialize(res) });
		},
	});


Query editor don't work in Grafana 2.5

Hi Alex
I use your last devel version and the latest grafana git version (v 2.2.0-pre1).
Now if i try to add an query (click on "+ Query"), nothing happens.
It is apparently query.editor.html not open, but i see this on website source code.
--snip--
"query":"app/plugins/datasource/zabbix/partials/query.editor.html
--snap--
any idea ?
thx / spasiba.
Stefan

Hello! Can you try last Grafana 2.1 version (2.1.3)?

I have similar bug in latest version built from sources.

@StefanSa try to use fix-query_editor_in_2.5 branch.

Hi  Alex,
yes this should work.
spasiba


Add test for transpose when axes is not none

I added a test case when axes argument is not None. It causes ValueError.

Would you add the same tests for CSC and COO formats, because they are independently implemented?

OK, i updated it.

LGTM!


No page loaded eror

I just got started with partia. I am running portia locally and when I type the a url in the url box I get no page loaded error
some of ther urls I tried include

www.google.com
google.com
https://medium.com/

@ruairif

I'm going to need logs from your console, portia server and what commit you're on to help you.
It works for me for medium and google.

Where are the logs located?
I'm getting the same issue after a new installation with Vagrant.
No errors in the Chrome developers console.
wget google.com works after ssh'ing in the vagrant VM...
I this the only process that needs to be running?
$ ps aux | grep slyd
root     14818  0.2  7.9  62900 40448 ?        Ssl  21:22   0:02 /usr/bin/python /usr/local/bin/twistd -n slyd -p 8000

commit: e9a80777339a84a34579dc3f68918cd216dc907f

Did you try clicking on the link in the start pages on the left to get the page to load?

@ruairif  yes you are right. that did work! thanks


Add the text article Infinite Loop to my article

The article  "##Infinite Loop by opposite iteration##" gives an example to new java programmer as to how a program can go into infinite loop if we increment the value of i instead of decrementing it and vice-versa. It is a basic but an important example for new coders.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closing and reopening to reset CI

Looks good to me, and congratulations on your first Pull Request!  🎉🎉🎉
We look forward to future contributions!


retry json rpc request when expired

We have seen more expired errors than ever. And these errors could usually be resolved by retrying the request.

already been fixed, just need to release


Make example notebook

In case it helps, here's a minimal code snippet I extracted from the notebook you sent me last year. It still depends on importing scivision to access the data though, so I guess that needs to be updated to use empiarreader utilities anyway. Not sure if it still works with updates to empiarreader though

import scivision
import logging

import numpy as np
import matplotlib.pyplot as plt

from matplotlib.colors import LogNorm
from matplotlib.patches import Rectangle

# The repository containing this notebook itself provides a Scivision datasource, describing some synthetic data, which we use in the first example.
cat = scivision.load_dataset("./")
list(cat.keys())

cat.synthetic_soup.description
# We now look at the second entry in the catalog, one_empiar_dataset, which points to an entry in the EMPIAR archive.
# In this example, we load the entry 10050, which has the micrographs (i.e., the EM-acquired images) of the small protein complex Prx3.

keys = list(cat.one_empiar_dataset.keys())
keys

empiar_10050 = cat.one_empiar_dataset["VPP_Prx3_7.3res"]
empiar_10050

image = empiar_10050.read_partition(0)
image_part = image.sel(frame=0)[512:, 512:]

plt.imshow(
    np.clip(image_part, 0, 100)
)


agouti.saucelabs error in Package

In the below function the capabilities for Browser should take parameter browser rather than name, so that SauceLabs can access the name as a test file name.
func SauceLabs(name, platform, browser, version, username, accessKey string, options ...Option) (*Page, error) {
url :=<EMAIL_ADDRESS>username, accessKey)
capabilities := NewCapabilities().Browser(name).Platform(platform).Version(version)
capabilities["name"] = name
return NewPage(url, append([]Option{Desired(capabilities)}, options...)...)
}
SauceLabs Configuration:
Base config
"platform": "macOS 10.12",
"browserName": "e2e_suite_test:webpage_test:testing-golang",
"version": "58.0",
"acceptSslCerts":true,
"name": "e2e_suite_test:webpage_test:testing-golang"

Resolved in #118.


Crash reporting?

How does one report crashes and errors?
https://firebase.google.com/docs/crash/android

#134


Skip gateway.istio.io/controller-version annotation message in analyzer

Please provide a description of this PR:
It is not created by users, should not send any messages.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
ad1c45b10faf0a8a73d7985aa08a38b6c482a5c7
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-ambient_istio
ad1c45b10faf0a8a73d7985aa08a38b6c482a5c7
link
true
/test integ-ambient

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn Also, what do you think about adding a new analyzer to warn users that some of the gateways become unmanaged by Istiod after a version mismatch due to a downgrade?

/test integ-ambient


Autoop with op levels

Description
Luckperms does already offer the ability to set the users op status with autoop and permissions, so it would be very nice to add permission nodes for every 4 op permission level.
Proposed Behaviour
You could add the number of the permission level at the end of the autoop permission like:
Op Level 1 = "luckperms.autoop.1"
Op Level 2 = "luckperms.autoop.2"
...
"luckperms.auttop" without any number would gain level 4.
Extra Details
No response

I suspect this is for platforms like fabric or forge where permissions are still a relatively new thing in the ecosystem, and most mods still rely on things like op level checks.
I hope at least anyways, since on platforms like Bukkit, op is basically a binary system as far as plugins are concerned, either a player is opped, or they aren't.

As I tried to implement this myself, I found no way to add this with the spigot api. I think creating presets of permissions would be possible like lp.autoop.1 would add the permissions op level 1 normally has access to. This would help some new users or modded servers that worked with the levels to improve the setup process.

Like I said, Bukkit is a binary system when it comes to OP. Either a player doesn't have OP, or they do.
Creating preset permissions would be a mess since there's no nice source of truth for what should be granted with what OP level, meaning error-prone manual maintenance. Additionally, that wouldn't take into account the many plugins that have permissions set to default to true for opped users.
Personally IMO this feature doesn't make sense for Bukkit. Every plugin under the sun supports permissions, there's no reason not to just set them manually. The only time this feature makes sense in my mind is platforms like Forge which haven't yet fully adopted permissions, and thus manual OPing might make sense as a stopgap bridge.


flutter 3.0.0 detecting issue in the library

/D:/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.dartlang.org/keyboard_dismisser-2.0.1/lib/keyboard_dismisser.dart(418,22): warning G1E0FE241: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. [D:\FlutterProjects\billz_cashier_desktop\build\windows\flutter\flutter_assemble.vcxproj]

/D:/flutter_windows_3.0.0-stable/flutter/.pub-cache/hosted/pub.dartlang.org/keyboard_dismisser-2.0.1/lib/keyboard_dismisser.dart(418,22): warning G1E0FE241: Operand of null-aware operation '?.' has type 'WidgetsBinding' which excludes null. [D:\FlutterProjects\billz_cashier_desktop\build\windows\flutter\flutter_assemble.vcxproj]

Same happening to me after flutter upgrade to 3.0.0 stable.

@romreed please open a PR with your changes to this repo
https://github.com/drogel/keyboard_dismisser/pull/12
Merging can be performed automatically with 1 approving review.

@drogel Can you review the PR please and publish a new version?

Hi all,
Thanks a lot for using the package and for coming up with a solution to the warning. I really appreciate it.
I have just pushed a new version of the package, v3.0.0, that solves the warning as per your PRs. 🥳
Have a good day!


[BACKLOG-16168] - workaround for batik 1.8 not including support SVG-…

…wrapped PNG files anymore
Known batik issue with suggested workaround solution that we implemented...
https://issues.apache.org/jira/browse/BATIK-1125
cherry-pick of https://github.com/pentaho/pentaho-kettle/pull/3823

@pentaho/2-1b, @dkincade @mdamour1976 please review

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -f ui/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  ui/src/org/pentaho/di/core/SwtUniversalImageSvg.java

License header violations

:heavy_exclamation_mark: Copyright year is not the current year on ui/src/org/pentaho/di/core/SwtUniversalImageSvg.java. Found 2015. Was expecting 2017

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f ui/build.xml clean-all resolve jacoco && ant -f ui/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  ui/src/org/pentaho/di/core/SwtUniversalImageSvg.java


Multiselect example doesn't work: selection is never re-rendered

Rust: 1.70
Dialoguer: 0.10.4
Env:  Windows Terminal + WSL2 + Ubuntu + Bash
How to reproduce:
cargo run --example multi_select

Select any item with arrows up and down, then try to select with a space bar: check-marks are always there.

Alright, so it somehow depends on the font used in the Terminal.
Not working: FiraCode NFM (not rendered correctly, also with many other fonts)
Working: DejaVu Sans Mono

Alright, so it seems to be a Windows Terminal rendering bug for a heavy check mark (\u2714, ✔), however, I also found that another checkmark symbol (\u2713, ✓) renders more consistently across the terminals.


East Asian Ambiguous Width are broken

Windows Terminal version
1.15.3466.0
Windows build number
Microsoft Windows [Version 10.0.22000.1455]
Other Software
No
Steps to reproduce
type ※ and some ASCII characters.
Expected Behavior
※ should be rendered with 2 cells.
Actual Behavior
※ is always rendered with 1 cell. And following ASCII characters are rendered with wrong position.

We're intentionally treating all ambiguous width glyphs as narrow. The reason for this is explained in detail in #2066, but boils down to: TUI applications don't know what font the terminal uses, so it's unknown whether any such glyphs are 1 or 2 cells wide. To allow the TUI application to place glyphs accurately on the screen other terminal emulators have opted to treat all ambiguous width glyphs as narrow and we've followed suit.
#153 contains a request to allow a user to override this default choice we make. Adding a simple override to treat all such glyphs as wide instead of narrow is rather easy to implement, which is why I've added it to the near(er) term backlog just now. But adding an override that polls the user's font instead is unfortunately a bit difficult to implement right now due to our architecture, because both WindowsTerminal.exe as well as OpenConsole.exe (a subprocess that (in basic terms) implements the TTY) need to know about the user's font choice in order for both the terminal and "TTY" (OpenConsole) to agree on the position of all glyphs on the screen.
I'd close this issue as a dup of #153. Would you agree with that?

Yea I'll call it /dup #153. Thanks!


adds hotfix for django 1.8

Basically django 1.8 no longer needs the onclick() action so if rendered then it causes the list endpoint to be called twice and create a race condition in multi-thread environments.

LGTM

looks good, does that include the admin js?

LGTM

@czpython Could you please explain that?  I actually had issues with the 1.8 hack in template and had to remove that 1.8 check logic in order to get it work again with django-widgy.  And I didn't observe the race condition as mentioned.


Hitomi, Tsumino, etc does not rip now

Ripme version: 1.7.51
Java version:  N/A
Operating system:  Windows 10

Hitomi, Tsumino, ehentai does not rip now, it only rips the urls and opens a text with url to each picture instead of the pictures itself.

You have the option "Save urls only" in the configuration menu checked. Uncheck it everything should go back to normal


Remove h5py recipe

The h5py recipe version 2.9.0 for power only we added as a potential
workaround to a 1.5.4 issue. This workaround was never used and now
having h5py version 2.9.0 is causing a conflict with 1.7.0 if using
strict channel priority as 1.7.0 references h5py 2.8.0, which is not
available in this channel.
This will remove it from the conda-recipes, but it needs to be manually
removed from the powerai channel

Note this PR leaves .travis.yaml untouched, and that's currently pointing to fairseq, which may not build successfully. So the CI build result won't indicate the wholesomeness of this change.
Looks good to me!


Add a default migrationsDirectory to box.json

We're using commandbox-migrations to apply migrations that aren't in the default migrationDirectory and rather than enter the new directory every time we use a command, I've made the command line the override.
By adding this key to the cfmigrations section of the box.json, we're also making it more obvious to those who use it where there scripts are going to be.  This is also handy if we need to change it in another environment.
I also refactored some repeated code from the actions  to the base class.
This change shouldn't affect existing users.

This is a really nice addition.  Thanks!

Published as 3.1.0


internal: Add more tests for ide functionality in attributed items

cc https://github.com/rust-analyzer/rust-analyzer/issues/9868

bors r+


[DX] The output from lakectl auth groups policies list is not as easy to read as it could be

(lakectl version 0.96.1)
This output is not particularly easy to read.
$ lakectl auth groups policies list --id "Data Scientists"
AuthManageOwnCredentials	0001-01-01 00:00:00 +0000 UTC	%!s(int=0)	arn:lakefs:auth:::user/${user}	allow	auth:CreateCredentials, auth:DeleteCredentials, auth:ListCredentials, auth:ReadCredentials
FSBlockAccessToSensitiveData	2023-03-02 10:57:48 +0000 UTC	%!s(int=0)	arn:lakefs:fs:::repository/drones03/object/sensitive*	deny	fs:*
FSBlockMergingToMain	2023-03-06 12:22:01 +0000 UTC	%!s(int=0)	arn:lakefs:fs:::repository/*/branch/main	deny	fs:CreateCommit
FSReadWriteAll	0001-01-01 00:00:00 +0000 UTC	%!s(int=0)	*	allow	fs:ListRepositories, fs:ReadRepository, fs:ReadCommit, fs:ListBranches, fs:ListTags, fs:ListObjects, fs:ReadObject, fs:WriteObject, fs:DeleteObject, fs:RevertBranch, fs:ReadBranch, fs:ReadTag, fs:CreateBranch, fs:CreateTag, fs:DeleteBranch, fs:DeleteTag, fs:CreateCommit
RepoManagementReadAll	0001-01-01 00:00:00 +0000 UTC	%!s(int=0)	*	allow	ci:Read*, retention:Get*, branches:Get*, fs:ReadConfig

It would be useful to do some/all the following:

Add column headings
List output in aligned columns
Offer a JSON output that could be parsed and pretty-printed by something like jq.

@rmoff Totally agree about the json output - I think it should a the main feature for this request.
The output in the issue description is the output when lakectl output is identified as non TTY - it uses tab (\t) to separate between fields to make the output easy to capture.
For example lakectl auth groups policies list --id "Data Scientists"  | cut -d$'\t' -f1,5.
You can use LAKECTL_INTERACTIVE=1 to force the standard output and still capture it.


Retrofit sample

Adding a retrofit sample which uses the OkHttpObservationInterceptor for metrics and traces

Thank you for the PR!
I'm making this more similar to the micrometer-samples-boot3-* samples (e.g.: micrometer-samples-boot3-web) since those are closer to be integration tests and they test logs, the prometheus endpoint and the data in zipkin. I'm going to update this PR and merge it soon.


Mashup with minecraft

Very good work. Anyone fancy mashing this together with my Minecraft micro:bit simulation? The visualisations would be much nicer. Button presses could be done by hitting the buttons, as could pin inputs.
https://github.com/whaleygeek/mc_microbit

I am afraid I am unlikely to be able to do much more work on this for  the time being but I am happy for anyone else to take what I have done for other projects.


edited the prompt of the feedback to be less generic

makes the response feel more human and natural

Before:
Person B is building a website using AI for personalized recommendations. Suggested a hybrid filtering approach for better accuracy with limited data.
After:
you're adding AI for recommendations? definitely try that hybrid approach—better accuracy even with limited data! sounds like a solid plan!


Fix stack traces

This PR should fix the stack traces when simulations crash.

bors r+

cref: #1176, #1175, #1170.


Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

i'm using react-quill with react-hooks .I got this warning
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

Move data fetching code or side effects to componentDidUpdate.
If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: Quill
here is my code
import React, { useState } from "react";
import ReactQuill from "react-quill";
import "react-quill/dist/quill.snow.css";
function TextEditor() {
const [text, setText] = useState("");
const handleChange = value => setText(value);
return (
  <ReactQuill value={text} onChange={handleChange} />

);
}
export default TextEditor;

same issue for me too.
Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

The author says it's fixed in the quillv2 beta.
https://github.com/zenoamaro/react-quill/issues/564

In my case, the problem was happen because I'm trying to load a qr code inside the Storybook. So, I created a boolean state to identify when the scenario is a SB and apply a fake qr code (a generated image) and when it's in production, the real qr code will be called. Works great for me.

I'm using quillv2 beta and still have this problem

With the latest version (1.3.5), this appears to still be an issue.

yes, I also faced this warning in stable version, use beta version


[BUG] Not load ipa

Describe the bug
Can't load ipa
Instructions to reproduce
dlsym(RTLD_DEFAULT, bd_requestURLParameters): symbol not found
What version of LiveContainer are you using?
Version 2.1.2-release (main/d074394)
Other info
No response

What ipa


[Feature Request] Make Runtime support Kernel + Initrd VM configuration instead of requiring miniOS

Description of problem
Based from the documentation, you need a rootfs, kernel, and the agent. However, in a related work by HyperHQ, their runtime only requires initrd and the kernel - hence their immutable VM design. The init system also resides within the VM. All in all, this looks like this:

This usually results in a equally-functionable VM Kata Containers provides, albeit in a more economical fashion.
There is advantages of using just initrd and kernel:

Size reduction: I'm not quite certain how large Kata is when installed, but in practice, a Hyper Containers package only costs about 12MB of space for the package itself excluding the installed package.

We remove the requirement of an agent since the Docker daemon will control the lifecycle (via kata-shim and kata-proxy).

Hi @sr229
This is Xu from hyper.sh, and Thanks for mention our work. And we are now member of the Kata Containers project.
For Kata Containers

Kata Containers supports both an initrd and rootfs based minimal guest image.

We could use the initrd image without a standalone rootfs in Kata.
And on

We remove the requirement of an agent since the Docker daemon will control the lifecycle

Actually, the kata-agent may stand in the same position as hyperstart. The difference is the kata-agent is written in go with libcontainer imported.

Ah. Thanks for clarifying hyperstart. However, it seems the default distribution has the miniOS preincluded. I think a kernel + initrd combination would do for most cases since:

Some people who wants to use Kata may have considered the package sizes. Hyper Containers maintained that 12MB size which allowed it to be used when storage is prime estate.

And regarding Kata supporting Kernel+Initrd:

I think it wasn't stated clearly in the docs. It was worded that the three was worded as a requirement IMHO, might be a oversight from me.

That's my input for now.


Lots of errors printed when running integration tests

[3085:0420/082748.525181:INFO:CONSOLE(78)] "Error: Unable to read file '/Users/bpasero/Development/Microsoft/monaco/extensions/markdown-language-features/notebook-out/index.js' (Error: Unable to resolve non-existing file '/Users/bpasero/Development/Microsoft/monaco/extensions/markdown-language-features/notebook-out/index.js')", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/contrib/webview/browser/resourceLoading.js (78)
[3085:0420/082748.525226:INFO:CONSOLE(78)] "Error: Unable to read file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/katex.js' (Error: Unable to resolve non-existing file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/katex.js')", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/contrib/webview/browser/resourceLoading.js (78)
[3085:0420/082748.525245:INFO:CONSOLE(78)] "Error: Unable to read file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/emoji.js' (Error: Unable to resolve non-existing file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/emoji.js')", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/contrib/webview/browser/resourceLoading.js (78)
[3085:0420/082748.532076:INFO:CONSOLE(78)] "Error: Unable to read file '/Users/bpasero/Development/Microsoft/monaco/extensions/markdown-language-features/notebook-out/index.js' (Error: Unable to resolve non-existing file '/Users/bpasero/Development/Microsoft/monaco/extensions/markdown-language-features/notebook-out/index.js')", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/contrib/webview/browser/resourceLoading.js (78)
[3085:0420/082748.534350:INFO:CONSOLE(78)] "Error: Unable to read file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/katex.js' (Error: Unable to resolve non-existing file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/katex.js')", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/contrib/webview/browser/resourceLoading.js (78)
[3085:0420/082748.536220:INFO:CONSOLE(78)] "Error: Unable to read file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/emoji.js' (Error: Unable to resolve non-existing file '/Users/bpasero/Development/Microsoft/monaco/extensions/notebook-markdown-extensions/notebook-out/emoji.js')", source: file:///Users/bpasero/Development/Microsoft/monaco/out/vs/workbench/contrib/webview/browser/resourceLoading.js (78)

This makes it very hard for me to use notebooks running out of sources with all the errors printed:

I feel there is something missing from the extensions compile task here:
https://github.com/microsoft/vscode/blob/9bacf617b24b948e8d109e19756a1721d287be85/build/gulpfile.extensions.js#L33-L33

Duplicate of #120213

I see this without running tests, just by running out of sources.

How are you building VS Code?

This also may have been fixed by 6d308e6293e25e14b631c3b61d33ba7a8d4dc4ac
I have not been able to reproduce it locally after building with yarn run watch and then running the tests with ./scripts/test-integration.sh

@mjbvz I still reproduce this, steps:

macOS (ARM)
git clean -xfd
yarn
yarn gulp mixin-server
hit Cmd+Shift+B in VSCode to trigger default build tasks (maybe this is the problem?)
scripts/test-integration.sh

Ah thanks. I always use yarn watch to build so don't see this. Update the task to also build the extension media

@mjbvz thanks, but why exactly does this need a third build task and cannot be run as part of the second one?


Does this repo still being maintained?

Just found this repo.
@mohae are you still maintaining this?

add support for go module?
release a versioned tag?

It just works beautifully as is.

It looks like this commit on September 29th, 2017 is @mohae's last contribution on GitHub, not just on this project but on any of his other projects: https://github.com/mohae/deepcopy/commit/c48cc78d482608239f6c4c92a4abd87eb8761c90


Possibility to use in  node.js app

Hi, is there some possibility to use this library in node.js desktop app (electron)  with npm or as an  external library ?  Thank you very much

There is not.  You can see in the README.md where it says the node lib is in development.


Simulations get super slow and consume 100% cpu

Hi,
Im on node v8.0.0.
When starting a simulation it's starts very swiftly and runs through the first batch of periods quickly. However, soon after it starts grinding to a very slow pace of about a period per second while consuming 100% cpu.
It also depends on the used strategy. E.g. macd runs smoothly but srsi_macd is dead slow.
Any ideas?

After digging around in the indicator and strategy code I think this slow perf has to do with the lookback and/or/in the for loops?

I also have this issue when simulating for more than 40 days, regardless of period (between 100 seconds and 30m) with a custom strategy. Changing keep_lookback_periods does not seem to affect this.
If I simulate for 60 days and let it run slowly, after about 10 minutes the program crashes and it says it cannot allocate any more memory:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

same for me

add memory option to your command-line or insert it in zenbot.sh file
Inviato da iPhone

Il giorno 22 ott 2018, alle ore 12:17, Alex Kozlov<EMAIL_ADDRESS>ha scritto:
In my case I can't run simulation of MACD strategy on gdax.BTC-USD for more than 60 days, then it goes very slowly, about 1 day period a minute.
@DeviaVir any thoughts why is that?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

@leozzo The problem is not the memory, my CPU get's 100% load from the process.

I was trying to run a long simulation (more than a month) of my custom strategy on gdax.BTC-USD at 1m period and I faced this same problem, after 15 days the simulation turned very slow and cpu went to 100%.
And then tried the fix above and it worked perfectly (which by the way must be done in engine.js, not sim.js), however limiting the size of s.lookback and s.trades affects the final simulation graph (which for me was not a problem)
So, it seems the size of these two arrays are a problem for long simulations, and I think it will be a problem as well for long live trading.
Is it neccessary to keep all the past information? Can this be implemented as a permanent fix? How can it be done for simulations for the final chart to be complete?

Reading issue #440, I saw that live trading limits the amount of data through the keep_lookback_periods param, so I answed myself that in live trading it shouldn't be a problem.
Maybe a similar parameter can be added for simulation, or some option to avoid the final graph in the sim's results so that data can be discarded for long simulations?

It seems s.trades is not useful at all for simulations.
It's only used in exitSim() in:
options_output.simresults.last_assest_value = s.trades[s.trades.length-1].price
which I think can be replaced by:
options_output.simresults.last_assest_value = s.period.close
and save a lot of memory in sims.
To get rid of s.trades, it can be done with:
if (so.mode !== 'sim' && conf.output.api.on) {
What do you think?

I've tried running the two month sim again without the size limitation on s.lookback and it worked well, so the speed problem was mainly caused by s.trades.
The fix I've proposed should improve sim performance a lot. I'll PR the changes.


Add AkkaClusterOperator - Community

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

Updates to existing Operators

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Have you tested an update to your Operator when deployed via OLM?

Your submission should not

[x] Modify more than one operator
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Basic Tests:
    Spec Block Exists: 1/1
    Status Block Exists: 1/1
    Writing into CRs has an effect: 0/1
OLM Tests:
    Provided APIs have validation: 1/1
    Owned CRDs have resources listed: 1/1
    CRs have at least 1 example: 1/1
    Spec fields with descriptors: 2/2
    Status fields with descriptors: 4/4

Total Score: 86%

/ok-to-test


update DirectURL tutorial

due to switch from send to SimpleHTTPServer, need a couple of tweaks to the details.

Aah, missed them. Thanks buddy


Fix: Navigating using left/right arrows in ColumnView no longer crashes Files

Resolved / Related Issues
Items resolved / related issues by this PR.

Closes #10109

What has been done

Programmatically handling the change of focus between the columns.
Minor refactoring.

Validation
How did you test these changes?

[X] Built and ran the app

Screenshots

The work for this PR is not complete yet, but I have an hard time finishing it.
There are several limitations currently preventing it to be considered fully functional:

When moving from the left or right, it will always refocus the first element of the FileList. When returning to the preview folder, it should focus the parent folder.
When moving the focus, the item is not "fully focused", as you can see on the gif. The user needs to press the down arrow to fully select the item.

If anyone fancy giving it a shot, I'll gladly take the help! In any case, I'm still looking into it.

The work for this PR is almost done, but I cannot find a cleaner way to refresh the selection when backing up to the previous folder between line.222 and line.226 in ColumnViewBrowser.xaml.cs. If anyone has an idea, I'll gladly take it.

The work for this PR is almost done, but I cannot find a cleaner way to refresh the selection when backing up to the previous folder between line.222 and line.226 in ColumnViewBrowser.xaml.cs. If anyone has an idea, I'll gladly take it.

Cannot find a cleaner way to solve this problem, so I'm opening it for review.

I may have found a bug but I'm not sure if it's related to this PR and the way we focus a blade.
Sometimes, while navigating between columns, it happens that the focus bounces between the last two blades.
I post here a video to show what happens.
https://user-images.githubusercontent.com/102259289/201199645-6e1243e5-e200-4a0f-b79c-511233a5e7e7.mp4

I may have found a bug but I'm not sure if it's related to this PR and the way we focus a blade. Sometimes, while navigating between columns, it happens that the focus bounces between the last two blades. I post here a video to show what happens.

I'm going to investigate this. It is probably linked to this PR, since beforehand we would not even move between the blades.

After messing around a bit with the feature, I think it's not linked to the PR at all. Moving up and down with the arrows messes the display as well. I did not touch those. I propose to open another issue about this<
Thoughts @ferrariofilippo ?

I propose to open another issue about this

I'll do so.


[Storage] arb_existent_kvs_and_nonexistent_keys should create at least one key

Motivation
The output of this function is given to init_mock_db, which asserts that there should be at least one key.
Have you read the Contributing Guidelines on pull requests?
?
Test Plan
No.
Related PRs
None.

@bors-libra land


fix bug in FswavedecnResult.setitem and improve docstrings

There was a bug in the dtype check in the setitem method of FswavedecnResult that prevents assigning modified coefficients. I think this probably warrants a 1.0.1 release to address.
The issue is that the user is supposed to be able to do something like:
dkey = (1, 2)
result[dkey] = modified_coeffs

A workaround in 1.0.0 is to do:
result.coeffs[result._get_coef_sl(dkey)] = modified_coeffs

This PR also improves testing of the FswaverecnResult and makes a few docstring improvements.

It looks like numpy 1.9 did not support using assert_warns the way I had done in one of the new tests.

closes #424

quick question: the dict -> list change is doc-only (was a doc error), and then sl -> tuple(sl) change is for clarity? I.e. neither is a backwards compatibility break?

I don't think there is a backcompat issue.  The tuple(sl) is just to avoid numpy 1.15+ FutureWarnings that weren't caught previously. That method should be private, so I don't think it is an issue to change the return type there.

Okay thanks @grlee77 . LGTM, merged.

I think this probably warrants a 1.0.1 release to address.

From a few days from now till the end of October I have almost no bandwidth. Feel free to just push some commits through if you want to get a bug fix release out.

Thanks. I will probably create 1.0.x branch starting from the tag for 1.0.0 and then cherry pick the commits from this PR and #427. I will then plan to make a 1.0.1 release in the next week or so.


added the contribution guide in the repository

Hey there,
I just saw that the contribution guide was missing. So I added it. It will help the contributors to easily contribute into it.
Thank you!

@ibilalkayy I appreciate your time and effort but there is a PR opened before you for the same contribution guide.

@shyamtawli I thought that maybe the PR is not sent before. Compare the two PRs, if you liked anyone of them then merge that one.


padding around Hexagon in HexagonOffsetGrid

Is it currently possible to add padding around HexagonOffsetGrid children?  I see you put Margins between tiles in HexagonOffsetGrid in Road Map and it's probably referring to that.
If you haven't started on this feature, I would like to contribute. Are you open to contributions via Pull Request?

Ok, I opened the pull request https://github.com/rSquared-software/flutter-hexagon/pull/2

Ok, I opened the pull request https://github.com/rSquared-software/flutter-hexagon/pull/2


Fix minor typos

LGTM.
In the future, make sure to never edit the DOCUMENTATION.md file from hand. We have a script that automates its creation.


Breaklines on ion-textarea in Android v7.0

From @memphis23 on October 24, 2017 9:3

Ionic version:  (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[X] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request
Please do not submit support requests or "How to" questions here. Instead, please use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
After installing apk on an Android v7.0 device, breaklines on ion-textarea are not working. Meanwhile, it works properly when running on debug mode.

This is shown as
{{user.address}}\r\n{{user.postalCode}} {{user.city}}\r\n{{user.province}}
Expected behavior:
Breaklines should work on production mode. It should not show any \r\n.
It should be shown as
{{user.address}}
{{user.postalCode}} {{user.city}}
{{user.province}}
Steps to reproduce:
Insert this line in a html and generate a release of the apk

Related code:

insert short code snippets here

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
insert the output from ionic info here

Copied from original issue: ionic-team/ionic#13220

Hello! Thank you for opening an issue with us!
As this appears to be an Ionic App Scripts issue and not an Ionic Framework issue, I am moving this to the Ionic App Scripts repo. Please follow-up to this issue using the new issue over there.
Thank you for using Ionic


Add dynamic meta images based on page content

ListenNotes.com – founded by a friend of the freeCodeCamp community, Wenbin Fang (@wenbinf) – has dynamic Twitter preview images that show up based on the page contents. We should do something similar with non-/news routes within freeCodeCamp, such as our /learn landing pages, or forum threads.
Here's an example of what this looks like when linking on Twitter:

The full URL with params: https://www.listennotes.com/search/?q=%22quincy%20larson%22&sort_by_date=1&scope=episode&offset=0&language=Any%20language&len_min=0
I asked Wenbin how he does this, and this was his reply:

It's a dynamically generated image. There's an image template, and Python's pillow library adds text on top of the image template: https://fedingo.com/how-to-add-text-to-image-in-python/

You can change the last word of the url to any texts -
https://cdn-images-2.listennotes.com/images/topics/startup/
https://cdn-images-2.listennotes.com/images/topics/something/

You can also use serverless function (eg, aws lambda ) to generate such image and cache the image in s3. This could become a general purpose service to use internally , eg, generating different styled images for different pages on your site. It’s a self contained project, which is ideal for summer intern or new contributor to work on :)

This is an awesome idea! I'm just a little too new to do this because I'm a little confused! But I would be willing to make an image in photoshop we could use for this. Just let me know if anyone would want that if you end up working on this feature.

dylan

@DylanDevelops, Thank you for your interest.
I would appreciate it if you could research dynamically generating social images and let us know of the best practices.
Ideally we would not need an third party service.

As for third party, this website seems to do exactly what we want to very easily. I believe you have to make an account though so I'm not sure if that would be something we would want to do.
As for built-in, this is an article explaining how to build this into your own website. As I am not a member of freecodecamp staff, this would be something I probably can't work on because you have to host on your website and all of that.
If this is something that I could add to the website, let me know because I would love to help but might need a bit of assistance implementing it as I am generally new to this sort of thing.

@DylanDevelops thanks for doing the research. Talked to the dev team, and going with the third party option seems to be feasible.
For learn we optimally want a few different types of templates. Block completion, certification, blocks, superblock, etc.
Could you do a research among different providers, compare features and pricing  and let us know if there are better options than mugshotbot?

I'll hop on this first thing tomorrow!

So sorry I had something come up. Here are some of the options:
MugShotBot:
Mugshot Bot automates link preview images for your entire blog or website. • Automate every page on your site with one line of HTML • Host your images on Mugshot Bot's CDN • Create unlimited images with the free plan
Piar.io:
Optimize link preview for any social networks and messengers. Use A/B tests and a get full statistic report. ⠀ Upload your image → Enter a title and description → Get a new link with a beautiful preview → Receive insights about who are clicking and when
Linkz.ai:
Install Linkz.ai in 2 minutes and instantly enrich your website with immersive hyperlink previews. Linkz.ai previews help your visitors to get context from linked content without bouncing between browser tabs, and most importantly, without leaving your site.
Overall:
I think these are great options but obviously, it is up to you guys what you choose. Let me know how it goes. I'm not a super skilled programmer yet but I would love to see how we implement this kind of thing so just keep me updated!

@DylanDevelops Thanks for doing the research. It would not require a lot of programing. It would mostly be uploading some templates and adding an html tag. I will update this issue once we evaluate the options and land on a service.

I'm totally willing to help with this when you guys are ready. I could help make the templates and also would love to learn exactly how you guys implement this!

I'm not sure if you are still working on this issue @ahmadabdolsaheb, but I found this. This could be something beneficial! Heres a video  explaining some of the stuff with it.

@DylanDevelops, thanks for the update. Really appreciate it.


Make "ts" and "level" values optional

Hi!
In my case I use the Serilog.Sinks.Grafana.Loki sink to send logs to Grafana Loki.
This sink uses a Loki API to send records and it sends timestamps as a standalone value according to the API specification. Duplicating timestamps in logs with ts is useless and makes logs bigger.
I suggest making ts and level values optional through configuration. I can make a PR for that if you wish.

Hi @AntonPetrov83!
Sorry for long time to answer.
I feel this is a great idea, feel free to submit a PR if you still are interested in having this. If not, just let me know to add this feature anyway in a near future :)

Hi @eiximenis!
Honestly I switched to JSON formatter for Loki it turned out to be more useful in my case.
Thank you for openness and good luck!


test plan for rotary encoder

[ ] on startup, check digital position is 0   (note that position defaults to digital unless stated otherwise)
[ ] from 0, turn clockwise, check position is > 0
[ ] from 0, turn counter-clockwise, check < 0
[ ] from 0, turn one complete rotation clockwise, check N (N = 12)
[ ] from 0, turn one complete rotation counter-clockwise, check N (N=-12)
[ ] from 0, turn slowly clockwise one complete rotation until N, check sequence of values [0...N]
[ ] from 0, turn slowly counter-clockwise one complete rotation until N, check sequence of values [0...-N]
[ ] from 0, mark physical position, turn quickly as possible clockwise, check N, observe same physical position
[ ] from 0, mark physical position, turn quickly as possible counter-clockwise, check -N, observe same physical position

thanks. Yes. I am going to start creating a file to do the steps above.


add support for disabling telemetry exporter

Description
This PR adds support for disabling OpenTelemetry GRPC exporter when tracing is enabled.
This is useful for logging trace IDs but not wanting them to export to OTEL collector.
PR to documentation: https://github.com/openfga/openfga.dev/pull/897
References

Review Checklist

[ ] I have clicked on "allow edits by maintainers".
[ ] I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
[ ] The correct base branch is being used, if not main
[ ] I have added tests to validate that the change in functionality is working as expected

If you haven't done so yet, we would appreciate it if you could star the OpenFGA repository. :)

Thanks @kullanici0606 .  Can you update CHANGELOG.md to reflect the change?

Thank you @adriantam for reviewing, I did the updates you suggested, are they good?

Thank you @adriantam for the approval. Do I need to do anything else to make this PR be merged?

@kullanici0606 are you propagating trace contexts into openfga and would like to have trace_id in logs to correlate?

@kullanici0606 are you propagating trace contexts into openfga and would like to have trace_id in logs to correlate?

@jpadilla yes, that’s exactly the our use case, we propagate the trace id to openfga and want to correlate it as you described.