[Feature Request] Components Direct Connection: Displaying Connectable Components in Sidebar on Drag Actions

Reasons for Suggestion
Enhancing user experience by providing a visual aid during the component connection process can significantly simplify workflow design. When users drag an input or output of a widget, showing potential connectable components in the sidebar would streamline the design process and reduce the time spent searching for compatible components.
Content of the Proposal
Introduce a feature where, during a drag action of a widget's input or output, the system automatically displays a list of connectable components in the sidebar. Users can then easily select from these options to establish a connection, improving workflow efficiency.
Technical Considerations

Modify the UI to dynamically update the sidebar with connectable components based on the widget's connection points being dragged.
Implement logic to filter and display only those components that are compatible with the selected widget's input or output.
Ensure the interface remains responsive and intuitive under various user interactions.

Potential Use Cases

Streamlined Workflow Design: Reduces complexity and time taken to find and connect relevant components within a design environment.
Enhanced User Training: New users can quickly learn how to build and modify workflows by easily seeing and connecting compatible components.

to

Even though currently, double-clicking on an available handle displays it in the side menu, many users are more familiar with drag-and-drop actions. It would be beneficial to add this action to the drag functionality as well.
When disconnecting an already connected component, the current method involves selecting the connected handle and releasing it into the air. It might be better to add a hover effect to these handles to make them easier to select and display a more visible button.
Adding a highlight to the line currently being edited when hovered over would also be a great feature. This would enhance the visibility and usability of the editing process.

We primarily use N8N, but honestly, Langflow seems to have more sophisticated design elements, such as the component groups.

@YamonBot
Do you need any assistance with this case? If not, please let us know if this issue can be closed.


Add example: results tracker

Add a heatmap of points scored for each driver in each race, following #325.

This looks good, and the documentation build mostly works as expected. (If you want to take a look at it, you can download the doc build as an artifact from the test runs.)
The only minor problem is, that no thumbnail is generated for the gallery.

In theory, static thumbnails can be generated (https://sphinx-gallery.github.io/stable/auto_plotly_examples/plot_0_plotly.html#sphx-glr-auto-plotly-examples-plot-0-plotly-py). I just gave it a try, but I couldn't get it to work.
If you feel like spending some more time on this to try and figure out how to get thumbnail generation working, feel free to do so. Else, I'm happy to merge this as it is. I don't want to spend too much time on this, for a relatively minor visual problem.

Yes I noticed the same issue when I built the doc locally. I will have a try on the thumbnail over the weekend and let you know how things go

Awesome, looks perfect now. Thank you for adding this!


Task 20

Convert letter from lower case to uppercase

@Khantil12
Task -19
Code verified.
Task -20
Code verified.
Task -22
Code verified.
Task -23
Code verified.
Task -24
Code verified.


QBFT Consensus Algorithm Documentation

Hello Team,
I dont think this would qualify as an issue but this is a more general request. Please excuse.
I would like to know if there would be any documentation or a paper describing your proposed QBFT consensus algorithm.
Please would like to also know the differences at algorithm level between IBFT2.0 and QBFT although I have seen your documentation on comparison of different PoA algorithms.
Thanks for your help,
Cyril

Hey Cyril, you're right that the documentation needs a bit of refreshing here. QBFT is still in early access - but you can find the presentation we gave to the EEA here. We need to have a think about which pieces of this content need to come over to our docs. If you could let us know which characteristics in particular you're curious about please let us know!


title screen to switch between maps

Combined the graphs from Madhuri and Jon.
Please update if others have completed their graphs.
Once done, we can find an optimised way of reusing the actors from all the graphs in order to minimise the number of actors

Added Graph 6 to the main menu. And updated.
But faced problems while integrating my color palette into the main menu.

Title screen created and all the graphs are integrated.
**Need to add number of players section in the title page.


Benchmarks for LCCF Proposal

From 6/23/2021 Benchmark Work Plan:

POMP model scaling with time is most important:

run model for 1 month and 4 months with the standard parameters
fit to 1 and 4 months of data, then project for the standard duration of 3-4 weeks
ignore contact matrix size for now; will be important later on

ATX granular model scaling with mixing matrix size is most important:

run model with small mixing matrix and large populations to reflect city-to-city contacts → this mixing matrix would need to be created; we can mock up data for it (doesn’t need to be empirical, just needs to be realistic-ish)
run model with large mixing matrix and small populations to reflect within-city contact by zip code → this mixing matrix has been created from safegraph data
Run for 4 months (first wave dynamics)

As of 26433cd on branch 26-lccf:

The following installs dependencies into Lmod Python 3.7, and runs a partitioning model for 2 days. The model ingests contacts.csv, travel.csv, and a census.csv.

$ module list

Currently Loaded Modules:
1) intel/19.1.1   3) git/2.24.1      5) python3/3.7.0   7) pmix/3.1.4      9) xalt/2.10.13  11) cuda/10.0  (g)  13) cudnn/7.6.2 (g)  15) tacc-singularity/3.7.2
2) impi/19.0.9    4) autotools/1.2   6) cmake/3.20.3    8) hwloc/1.11.12  10) TACC          12) nccl/2.4.7 (g)  14) ooops/1.4

Where:
g:  built for GPU

module load gsl/2.6
python3 -m pip install --user --upgrade pip
python3 -m pip install --user cython numpy==1.20.3 scipy xarray dask "dask[dataframe]" "dask[distributed]" matplotlib xarray-simlab bokeh
python3 setup.py build_ext --inplace
$ PYTHONPATH='.' python3 scripts/20210623_lccf.py
# ...
DEBUG:root:'intra_city' took 93.72 seconds

User can set a limited number of parameters via the script CLI: PYTHONPATH='.' python3 scripts/20210623_lccf.py --help
Dask is profiling asynchronous processes and CPU/mem usage. It generates HTML reports using Bokeh and saves them in logs
No tacc-stats profiling yet

 LCCF - Perform benchmarking runs

 LCCF - Define benchmarking parameters

Added parameter n_cores_partition to script on branch 26-lccf. With the following data files:
$ md5 data/lccf/*.csv
MD5 (data/lccf/census_pop1_rows1.csv) = de88f392822b23ad60955d4acb15fbaf
MD5 (data/lccf/contacts_pop1_rows1.csv) = fb05dc85c3a27617a768cf0efbf176e7
MD5 (data/lccf/travel_pop1_rows1.csv) = 54ff96b54e9cab46f39ca28a9748fbb2

Invoke the script, specifying file paths and 8 threads:
poetry run python scripts/20210623_lccf.py \
    --config-fp scripts/20210625_lccf.yaml \
    --travel-fp data/lccf/travel_pop1_rows1.csv \
    --contacts-fp data/lccf/contacts_pop1_rows1.csv \
    --census-counts-csv data/lccf/census_pop1_rows1.csv \
    --n-cores-partition 8

As of a66924c, can now pass a comma separated list of integers for argument --n-cores. Will run the given function once for each integer value in the list:
poetry install
poetry run python scripts/20210623_lccf.py --config-fp scripts/20210625_lccf.yaml --travel-fp data/lccf/travel_pop1_rows1.csv --contacts-fp data/lccf/contacts_pop1_rows1.csv --census-counts-csv data/lccf/census_pop1_rows1.csv --n-cores 1,2,4,8

As of 4e2d8ee, there is an SBATCH script for running the model with 1, 2, 4, 8, 16, and 32 threads on a single-node Frontera job:
sbatch -A COVID19-Portal -p development -t 15 scripts/sbatch/20210624_lccf.sh
tail -f logs/esl_lccf.*

On commit 3b228be (branch 26-dask-debug), Dask profiler points to Dask operations in Partition2Contact. This allows us to profile only this task, and view the forked threads:

poetry install
poetry run python scripts/20210623_lccf.py \
    --config-fp scripts/20210625_lccf.yaml \
    --travel-fp data/lccf/travel_pop1_rows1.csv \
    --contacts-fp data/lccf/contacts_pop1_rows1.csv \
    --census-counts-csv data/lccf/census_pop1_rows1.csv \
    --n-cores 32

LCCF benchmarks submitted, closing for now.


Correctly merge Recipe Fix into 1.20.4 branch

Merges (and fixes minor import issue with @KrystilizeNevaDies 's PR), into the 1.20.4 branch

I rebased that branch instead.


Add kilowatthour 2

Second PR due to weird Pipeline behavior from #1944
Fixes #1514 .
Description of the changes:

Added Kilowatt-hour to energy units
Added display name for english and german

I didn't added Ws because Joule is already implemented.
How changes were validated:

Added unit test

Closing this redundant PR since the pipeline issue is resolved in its original.


mne.events_from_annotations returns events that barely overlap with annotation

I noticed that mne.events_from_annotations sometimes returns events that barely even overlap with an actual annotation when chunk_duration is used. I think this might have been the actual reason behind the issue https://github.com/mne-tools/mne-python/issues/5684#issuecomment-438211200.
The issue seems to arise when an annotation has a duration that is only slightly over chunk_duration. A first event will cover almost the entire annotation, but a second annotation will be created that might start within the annotation, but will barely overlap with it. Because of that, in some rare cases, the second event is identical to the next annotation - causing mne.Epochs to throw an error due to duplicate events.
Steps and/or code to reproduce
import mne
import numpy as np

# Create fake data with annotations
data = np.random.randn(2, 16000)
info = mne.create_info(
    ch_names=['EEG1', 'EEG2'], ch_types=['eeg', 'eeg'], sfreq=256)
raw = mne.io.RawArray(data, info)

onset = [0, 30]
duration = [30.1, 30]
description = ['0', '0']
annots = mne.Annotations(onset, duration, description)
raw = raw.set_annotations(annots)

# Extract epochs
events, event_ids = mne.events_from_annotations(raw, chunk_duration=30)
epochs = mne.Epochs(
    raw, events, tmin=0, tmax=30, baseline=None, on_missing='warning')

Expected results
I would have expected events to contain two events only: one for the first annotation [0, 30.1] and one for the second [30, 60]. An option would be to have an argument that lets the user decide whether events need to completely overlap with the annotation to be returned.
Actual results
events is:
array([[   0,    0,    1],
       [7680,    0,    1],
       [7680,    0,    1]])

Because of the duplicate row, mne.Epochs returns RuntimeError: Event time samples were not unique.
Additional information
Platform:      Linux-4.17.13-041713-generic-x86_64-with-debian-buster-sid
Python:        3.6.6 |Anaconda, Inc.| (default, Jun 28 2018, 17:14:51)  [GCC 7.2.0]
Executable:    /home/hubert/miniconda3/envs/dl-eeg/bin/python
CPU:           x86_64: 4 cores
Memory:        15.6 GB

mne:           0.18.dev0
numpy:         1.16.0 {blas=openblas, lapack=openblas}
scipy:         1.1.0
matplotlib:    2.2.3 {backend=TkAgg}

sklearn:       0.20.2
nibabel:       Not found
mayavi:        4.6.2 {qt_api=pyqt5, PyQt5=5.11.3}
cupy:          Not found
pandas:        0.23.4
dipy:          Not found

@massich can you have a look? thx

I see how that is counter-intuitive and even wrong when one uses the events for epoching using chunk_duration as epoch length. The general question is: what degree of error for the chunks do we allow by default. If none then some may also find it surprising that having an annotations of duration 29.9 and requesting chunk duration of 30. they get no events.
The simplest scenario is to add something like min_chunk_duration and after this:
https://github.com/mne-tools/mne-python/blob/master/mne/annotations.py#L870
check the last event distance from annotation onset + duration. This would have to be <= min_chunk_duration to be retained.

A temp fix is to add something like:
good_events = annot['onset'] + annot['duration'] - _onsets >= annot['duration']
if good_events.any():
    _onsets = _onsets[good_events]

before https://github.com/mne-tools/mne-python/blob/master/mne/annotations.py#L873

Thanks for looking at this @mmagnuski!

@mmagnuski @agramfort Thanks again!


Unable to install key-db on Windows Server 2019 using WSL

Hi Team,
I am trying to install key-db using WSL on windows server 2019, but i get the following error
Error

Windows Server Version

Commands used for installation
$ echo "deb https://download.keydb.dev/open-source-dist $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/keydb.list
$ sudo wget -O /etc/apt/trusted.gpg.d/keydb.gpg https://download.keydb.dev/open-source-dist/keyring.gpg
$ sudo apt update
$ sudo apt install keydb

Can you provide the distribution you've installed on top of WSL?
@benschermel This appears to be a packaging issue

Error running sudo apt install keydb after adding the ppa:

I am running Ubuntu 20.04.4 LTS

Is there anyone still experiencing this issue, will be helpful to understand how to prioritize this.

Closing as there has been no response in 30 days


.Net Hot Reload not working

I have Visual Studio 16.11.3 and a .NET 5.0 Application. The Hot Load does not appear to be working.
What are the minimum requirements for .NET Hot Reload?

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

ID: 41ab3e64-1abc-987b-13db-4e49f2d68ff3
Version Independent ID: 41ab3e64-1abc-987b-13db-4e49f2d68ff3
Content: .NET Hot Reload support for ASP.NET Core
Content Source: aspnetcore/test/hot-reload.md
Product: aspnet-core
Technology: aspnetcore-test
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

It requires .NET 6


System.NotSupportedException exception in CorsPolicyService

Hi,
I'm getting and exception System.NotSupportedException in CorsPolicyService when calling the token endpoint directly from postman. This can be reproduced by starting the host project and call the token endpoint using this setup
POST /connect/token HTTP/1.1
Host: localhost:1941
Authorization: Basic Y2xpZW50OnNlY3JldA==
Origin: *
Content-Type: application/x-www-form-urlencoded
Cache-Control: no-cache
Postman-Token: c5627d4f-41bc-4b11-d9fd-82ecc3e78ebe

grant_type=client_credentials&scope=api1

And the exception details

An exception of type 'System.NotSupportedException' occurred in MongoDB.Driver.dll but was not handled in user code
Additional information: Unable to determine the serialization information for the collection selector in the tree: aggregate([]).SelectMany(x => x.AllowedCorsOrigins.Select(y => y.Origin))

Hi, @matand! It's really a bug. It seems to be inside MongoDB driver. I'm going to release a patch. Thank you!


Add a delay for pages with transitions

Using AJAX, I can't take screenshots of a website because there is a 1 second delay between the pages.
Should there be an option to add a delay to the page before a screenshot?

There is now in the source. Sorry it took so long and the implementation was sloppy, but, there's now a --delay parameter that you can apply to every page load, after the document reports complete for its readyState.

Fantastic – Thank you!
On 1 October 2015 at 05:23, Andie Leaf<EMAIL_ADDRESS>wrote:

There is now in the source. Sorry it took so long and the implementation
was sloppy, but, there's now a --delay parameter that you can apply to
every page load, after the document reports complete for its readyState.
—
Reply to this email directly or view it on GitHub
https://github.com/ClockworkNet/watircats/issues/1#issuecomment-144605563
.


Error syncing Laravel Versions

Ah, ok, the problem is that we don't appropriately handle errors.

Ah, ok, the problem is that we don't appropriately handle errors.

Solved in 8682723b340d338d9c87849c61a1b1976ba75119

Solved in 8682723b340d338d9c87849c61a1b1976ba75119


Remove deprecated APIs

In #4021 we deprecated cert-manager.io/v1alpha2, cert-manager.io/v1alpha3, cert-manager.io/v1beta1, acme.cert-manager.io/v1alpha2, acme.cert-manager.io/v1alpha3, acme.cert-manager.io/v1beta1 APIs.
The next steps are to gradually remove the deprecated APIs.
This issue is to keep track of what needs to be removed and in which cert-manager versions.

[x] Stop serving the deprecated API versions (set served: false for each deprecated version for each CRD). In v1.6?
* https://github.com/jetstack/cert-manager/pull/4482
[ ] Remove the deprecated APIs (remove from spec.versions for each CRD). In v1.7?

[ ] https://github.com/jetstack/cert-manager/pull/4636
[ ] https://github.com/jetstack/cert-manager/pull/4635

[ ] Remove the auto-generated conversion code. In v1.7?
[ ] Switch webhooks.rules.apiVersions for mutating and validating webhook * -> v1. In v1.5? (See comment here)
[ ] Garbage collection issue k/102641

We told users that the deprecated APIs will be removed in v1.6. This means we should not stop serving them before v1.6. I think it might make sense to stop serving them in v1.6, but only remove the actual code in v1.7 as that gives the users one release where any leftover deprecated versions would error, but it would be possible to recover from that and update the versions by manually changing a few CRD fields (this is not a replacement for a migration strategy).
By the time we start cutting releases with any of the above changes, we should have upgrade tests (from previous release to master) in CI. Downgrade too should be considered.
/kind cleanup

Added to 1.5 milestone because some of the tasks (above) are expected to be done for the 1.5 release.

It looks like there are two steps outlined in the description that need to be done in 1.5, is that correct?
Do you have an estimate of how much work will be needed in 1.5?

It looks like there are two steps outlined in the description that need to be done in 1.5, is that correct?
Do you have an estimate of how much work will be needed in 1.5?

It should be those two steps + some extra (manual) testing to see if anything else needs to be done + the garbage collection issue may need some attention.
I would say about a day or maximum two.

Thanks, would you create an issue specifically for 1.5 as it will help with the tracking please?

Thanks, would you create an issue specifically for 1.5 as it will help with the tracking please?

👍🏼 created #4113

/reopen

/lifecycle frozen

I've added this to the v1.9 milestone from the v1.7 - I don't think this is happening in 1.8 but it seems a candidate for 1.9 :+1:

I think that this is all finished and can be closed.


Added binary clock example.

I made a binary clock and I thought it would be nice to have it as an example.

Done!

I’ve created a new pull request for my own version of the binary clock example, I’ve even included an alarm feature

For future reference, I'd rather have finished this PR first as a learning experience for @IDF31, but since @Pyroseza has implemented the requested changes and improved upon the code, while keeping credit in place I'll have to close this PR and switch over to: https://github.com/pimoroni/unicorn-hat/pull/115


Fares assigned to flights not working/overwritten by Subfleet

Fares are usually derived from a route, not from the aircraft operated within that route. While some airlines may charge a small premium to, say, fly the wide body or superjumbo flight from kjfk-egll, its safe to say that route has a somewhat standard price that is slightly modified by the aircraft chosen.
Currently it seems the value of the fare placed in the subfleet overrules the value assigned to the flight. it also seems to be impossible to assign fares to a route that has fares attached to it, if the aircraft does not.

This was done to simplify things, since a lot of airlines have hundreds of flights, but there is flexibility to derive from fares, or set fixed amounts. This does seem like a bug.
http://docs.phpvms.net/concepts/finances
Does the wording make sense in the above docs?

It makes sense.

Merged this into dev, lemme know how it looks


Incorrect instruction in Doc - correct one tested and provided here

This part in the doc is inaccurate:
https://docs.microsoft.com/en-us/azure/app-service/environment/app-service-app-service-environment-custom-settings#use-azure-resource-explorer-to-update-an-app-service-environment
Modification:
(modifications shown as bold)
Use Azure Resource Explorer to update an App Service Environment
Alternatively, you can update the App Service Environment by using Azure Resource Explorer.
1. In Resource Explorer, go to the node for the App Service Environment (subscriptions > your_subscription >resourceGroups > your_resourceGroup > providers > Microsoft.Web > hostingEnvironments). Then click the specific App Service Environment that you want to update.
2. In the right pane, click Read/Write in the upper toolbar to allow interactive editing in Resource Explorer.
3. Click the blue Edit button to make the Resource Manager template editable.
4. Scroll to the bottom of the right pane. The clusterSettings attribute is at the very bottom, where you can enter or update its value.
5. Type (or copy and paste) the array of configuration values you want in the clusterSettings attribute.
6. Click the green PUT button that's located at the top of the right pane to commit the change to the App Service Environment.

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

ID: a33935ea-4a40-ce49-e722-72fed9379da7
Version Independent ID: 72f8ba14-f0b5-4904-9e4c-4e5422f3d180
Content: Configure custom settings - Azure App Service Environment
Content Source: articles/app-service/environment/app-service-app-service-environment-custom-settings.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@TinaHanTH Thanks for the feedback. We shall evaluate and update the document as appropriate.

@TinaHanTH Thanks again for the feedback. I have submitted a PR to fix the issue that's in review. The changes should reflect post the merge.


fix example code in README

Probably due to some API updates, the example embedded in the README will not compile. This PR fixes that.

Thanks for the quick merge!


Suggestion: Chat config options

The option to disable the chat entirely. (Do not process ChatEvents)
The option to not show the chat to players, but still process the ChatEvent internally (for BC configs like BungeeChat's)
(unsure) Potentially a very basic chat formatting option?
(unsure) Potentially an in-built method to prevent players from executing /pl /version etc.

The plugin and version commands can be easily blocked by negating their permission. A patch dedicated to those wouldn't really be deserved. I'll look into the other suggestions when time comes.

The option to disable the chat entirely. (Do not process ChatEvents)

Just create a plugin to cancel the chat events on lowest priority..

The option to not show the chat to players, but still process the ChatEvent internally (for BC configs like BungeeChat's)

Just create a plugin that removes the recipients from the chat event on lowest priority

(unsure) Potentially a very basic chat formatting option?

the chat events are there for editing the chat formatting...

(unsure) Potentially an in-built method to prevent players from executing /pl /version etc.

as stated, these are already behind permission nodes..


Fully qualify podman example

Podman is more agnostic than Docker in regard to the default container registry. As such, we should specify it to be docker.io explicitly.

@svenstaro Thank you for updating the documentation.


misc CSS

I still couldn't figure out how to get the footnote hover over the text input bar. I tried z-index<PHONE_NUMBER>7 and it didn't work.

good job I did it for you, then


[Native Share] Implement Native Share for IOS

Description
This is a tracking issue for the IOS implementation of the Native Share project. This section of the project will be handled separately but merged alongside the Android issue.
Project
https://docs.google.com/document/d/14C1VifxvIXeyLAf0XstbC-wvyAb5SQZ0AOw0-jLRyZs/edit
Tracking
https://github.com/Expensify/App/issues/36613

Hey, I'm from SWM, I'd like to take care of this issue.

Bumped for update / steps for unblocking permissions

I am focusing on split navigation atm. I'll try to check the setup whenever it's applied and try to continue whenever the navigation is ready.

Taking care of this atm. I've checked the groups before the weekend and they seemed to work as expected.

Working on the files processing - they are being saved correctly from the share extenbsion, but there's something wrong with retrieving them on the react native side. This might be something related to the permissions, but I'll try to confirm it tomorrow.

Thanks @BrtqKr- do you have a draft PR up for your branch?

Not yet, wired it up though and the files are being passed to the react native wihthout any issues, so happily there's no need for the additional set-ups. I'll be verifying the scanning/sending with the passed files tomorrow, so this would probably be the initial version for the ios. I'll share more details next evening.

Moving forward with that - wired up most of the js parts - I'll continue working on that and the files cleanup after sharing tomorrow

Sounds great, thanks @BrtqKr

Still working on the JS part - today it was mostly persistence and onyx-related things, which are necessary for removing files - it's not done yet though

Continued the topic from yesterday. I've found some edge cases about the cleanup part - there's an issue when the share attempt gets cancelled and the file isn't removed properly, but we can handle this by performing cleanups for the files older than a week. Besides I had to slightly modify the model for the image, but apply small updates to the doc when I'm sure everything works.

@grgia, I've finished wiring up the core version for the ios today. Also, @filip-solecki mentioned that there wasn't much left regarding the Android native part, so I'd say that the remaining things before the PR would be:

Adjust the data format on Android to match the ios (I had to slightly change the format to handle some cases on the react-native side)
Finish the file removal
Adjust the display for the files
Pass to @staszekscp and @war-in to apply the hybrid app-related changes and test it properly

The first three points shouldn't take much time since those are just the follow-ups to the already existing parts (the second point is a bit troublesome to test though). I'm not sure about the fourth point. As long as everything goes as expected on the hybrid part we should be able to send the final version sometime at the beginning the next week, but this is something @staszekscp or @war-in would need to estimate when they start applying the changes.
https://github.com/user-attachments/assets/5c5bfd4a-4b0e-4537-94d5-cefc8d6b3cca

Hi! Quick update - I took the issue from @BrtqKr and I'll work on both right now as JS part will be shared for both Android and iOS

@BrtqKr This update looks great, thank you! Cool to see this start to take form

Hi! Quick update - I took the issue from @BrtqKr and I'll work on both right now as JS part will be shared for both Android and iOS

@filip-solecki great, could you give me an update of where you're at with this for the week?

Also @filip-solecki (cc @BrtqKr ) do you have a rough ETA for when we can get the PR up for these?

Hi! Still working on Submit page which is a little bit tricky as it combines a lot of logic. I am going to be OOO from tomorrow till the end of the week, so the realistic ETA for PR is Wednesday/Thursday of the next week, maybe earlier(Monday/Tuesday) if there will be someone available to continue current work

Hi, since Filip is going to be OOO for the rest of this week I'll be taking over the share flow tasks for that timeframe.

Hey, quick update. I've got into the project and finished the Submit flow for IOS. I've also fixed the issue with the images sometimes not displaying properly on the receipt page. I'm now looking into merging the Android branch for the native share flow into the IOS one to consolidate it into one.

@cdOut @filip-solecki Could you post a current update?

Sure, @cdOut is fixing image displaying issues which happen sometimes and he also finished Submit flow so we have to finish Android and merge it here and we can push it to review and tests

@filip-solecki cc @cdOut mind posting a quick update here as well?

Great thank you! @cdOut

@cdOut do you have an EOW update?

@grgia I was just a side helper on this issue during Filip's OOO, if any updates on the state of it are in order you should ping @filip-solecki as he's more informed on the state of it and is the main person behind the feature.

Hi @grgia, so on the iOS side most of the issues have been resolved, now we need to block sharing for unsupported file formats and address some minor JS issues

Great @filip-solecki could you give me an update on when you think we could get a draft PR up?

Hi! So I think that the realistic date may be Wednesday/Thursday in the next week

Great, keep me posted @filip-solecki

Hi @grgia ! Unfortunately I was sick most of this week and we won't be able to prepare PR today, it should be ready in the mid of next week I hope

@filip-solecki sorry to hear that, hope you're feeling better! How's this week for you?

This is much better - both with health and this issue, I've already finished Submit flow process, it just needs a little polishing while @Guccio163 is working on Attachment Preview and styling all pages across the flow. We also have to make sure we won't let user go back to sharing process after submitting message or transaction and block unsupported files sharing on iOS which is a little bit tricky moreover there are a few smaller polishes that we have to work on

there are a few smaller polishes that we have to work on

@filip-solecki great update! I tagged the design team to get this answered. Could you confirm if there's anything else blocking from getting the PR up? Could we tackle polish type issues as follow ups?

Hey @filip-solecki, could we get a draft PR up for this?

Hey @filip-solecki could we go back to daily updates?

Hi @grgia ! Of course, So today @Guccio163 was working on displaying AttachmentModal when clicking on thumbnail in Share flow, while I was fixing PDF uploading and investigating possible solutions for sharing aspectRatio for videos from native module, we are really close to prepare Draft PR and allow you test everything

Hi, implementing AttachmentModal logic is going smoothly; I've stumbled upon a problem with handling PDF thumbnail on android and @filip-solecki still have to figure out a couple of native issues, but it looks like it's on a good way to PR soon 👌

@Guccio163 how's that going? Can we get a PR up this week or next?

Hi! @Guccio163 is working on fixes suggested by design team and I am working on Submit flow for not existing user and these are our latest bigger issues, it is hard to say the exact day, we hope we will be ready tomorrow to prepare draft PR, but it may be also early next week

In the meantime I got access to Hybrid app today and I'll try to connect the new Share flow there

Hi!
Today's update is that we didn't succeded with preparing draft PR, we are still working on submit flow to unknown user, also I was checking how we can connect our new share flow with the old one in Hybrid App

@filip-solecki how's the hybrid app flow going?

Hi! I am working on this, I have to merge modules for processing files cause they are a little bit different as we support other types than only images right now in ND and then I'll have to find the best place to redirect users to ND if they are using it or to stay in OD and process files here. Additionally I have one concern about supported media types. In OD we supported only images and it was easy job. Right now we have a few more media types that we can share to chats in ND. Android allows us to specify exact type of data we want allow user to share, but iOS groups it in specified groups like: images, videos, text, files and attachments. So my questions are:

What should we do if someone is not using ND and tries to share video. In OD we don't support it, should we redirect user to ND despite all or display toast message in OD that this type of file is not supported?
We are also not able to block e.g. CSV files sharing (AFAIK this type was not in scope) on iOS as it is part of NSExtensionActivationSupportsFileWithMaxCount group. Should we then process it where it is possible? Or block and display some generic message that this type is not supported? (Allowing users to share shouldn't require any additional work)

What should we do if someone is not using ND and tries to share video. In OD we don't support it, should we redirect user to ND despite all or display toast message in OD that this type of file is not supported?

@filip-solecki by this do you mean that they don't have the ND app?

We are also not able to block e.g. CSV files sharing (AFAIK this type was not in scope) on iOS as it is part of NSExtensionActivationSupportsFileWithMaxCount group. Should we then process it where it is possible? Or block and display some generic message that this type is not supported? (Allowing users to share shouldn't require any additional work)
AFAIK this type was not in scope

given it's not in scope, we can likely just block CSV file sharing and show users a message that such files are not supported
@JmillsExpensify could you confirm this

@filip-solecki by this do you mean that they don't have the ND app?

I mean they have Hybrid App installed, but never used ND, only working on OD

Hi! Quick update:
I am still working on merging methods for files processing as it is much more complicated than I thought before seeing OD method. And @Guccio163 finished navigation issues and will be working on adding message for users while sharing unsupported media type

@filip-solecki do you have a rough estimate on ETA?

Here is the draft PR for both iOS and Android! We are still working on some really minor polishes, but it would be good if you can test it in your free time and send us some feedback. Today we also want to send it to our internal review  🚀


Static noise on play mode in XR

I keep hearing static noise from Quest's speakers when playing the experience on XR
Weird bug I think

That is weird. we don't currently have audio integration so it could be something to do with your headset?

Could be could be
I will check again

Can't reproduce this so I'm closing it. I'm quite certain it's the fan in the headset. passthrough is expensive so the headset will warm up.


Undefined array key

When I attempted to input the query "Canadian university scholarships for international students 2023," I encountered an error.
Warning: Undefined array key 3" error in Bard.php on line 86

works fine for me, try increasing timeout.


correct the indentation

While uploading the code initially there was some problem which disturbed the indentation.
fix it so that the code runs properly.

Hey shubh, can i work on this issue?


Using AngularJs ng-repeat to create Html Template

I usually create an Html Template using ng-repeat for a list of data and 2-way binding using $scope.treeData.
I tried to use ngJsTree and put put the ng-repeat inside div tag of jstree, but nothing shows up. I checked the generated Html, anything inside the div tag does not being generated.
Any idea how to use jstree in Angular way.

The js tree directive is painting the nodes.. no need for the ng-repeat.
You can not write anything inside the jsTree element.
Look on the demo code


Server-side vendor prefixing?

Presumably the vendor prefixing is detecting browser version on the client side. This is great and all, but it means that React complains upon client render, since it's rendering something slightly different than the server did.
Warning: React attempted to reuse markup in a container but the checksum was invalid.
This generally means that you are using server rendering and the markup generated on
the server was not what the client was expecting. React injected new markup to
compensate which works but you have lost many of the benefits of server rendering.
Instead, figure out why the markup being generated is different on the client or server:
 (client) ient(#dfdfdf, #eee);-webkit-box-shadow:0
 (server) ient(#dfdfdf, #eee);box-shadow:0 2px 6px

What's the best way around this? Could a flag be passed to do all vendors or something?

I just realized that media queries would have the same problem, so this is a fundamental problem with doing inline styles in this way. Unless something in the build process could extract the styles out to a css file, there's no real way around this. Oh well.

Duplicate of #201.
We can solve prefixing on the server by changing to a useragent based solution. Unfortunately, media queries can only be solved by extracting to CSS.


”Scoarța”, ”Bobu”, "Budieni", "Cerătu de Copăcioasa", "Câmpu Mare", "Colibași", "Copăcioasa", "Lazuri", "Lintea", "Mogoșani", "Pișteștii din Deal" are listed in the drop-down menu

Description:
”Scoarța”, ”Bobu”, "Budieni", "Cerătu de Copăcioasa", "Câmpu Mare", "Colibași", "Copăcioasa", "Lazuri", "Lintea", "Mogoșani", "Pișteștii din Deal" are listed in the drop-down menu alongside their corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Scoarța"

Expected results
The location appears in the drop-down menu as "Sat Scoarța, GORJ (Scoarța)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Bobu"

Expected results
The location appears in the drop-down menu as "Sat Bobu, GORJ (Scoarța)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Cerătu de Copăcioasa"

Expected results
The location appears in the drop-down menu as "Sat Cerătu de Copăcioasa, GORJ (Scoarța)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Câmpu Mare"

Expected results
The location appears in the drop-down menu as "Sat Câmpu Mare, GORJ (Scoarța)".

Step 10
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 11
Write in the search bar "Colibași"

Expected results
The location appears in the drop-down menu as "Sat Colibași, GORJ (Scoarța)".

Step 12
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 13
Write in the search bar "Copăcioasa"

Expected results
The location appears in the drop-down menu as "Sat Copăcioasa, GORJ (Scoarța)".

Step 14
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 15
Write in the search bar "Lazuri"

Expected results
The location appears in the drop-down menu as "Sat Lazuri, GORJ (Scoarța)".

Step 17
Write in the search bar "Lintea"

Expected results
The location appears in the drop-down menu as "Sat Lintea, GORJ (Scoarța)".

Step 18
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 19
Write in the search bar "Mogoșani"

Expected results
The location appears in the drop-down menu as "Sat Mogoșani, GORJ (Scoarța)".

Step 20
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 21
Write in the search bar "Pișteștii din Deal"

Expected results
The location appears in the drop-down menu as "Sat Pișteștii din Deal, GORJ (Scoarța)".


Timeout always set to 5 seconds

I tried setting the timeout from the timeout input box to 60, but my queries are still running with a timeout of 5s.

Setting the timeout should work.
Let's set the default timeout to 60 seconds.

Fixed in c38d8165f268264e3faec47bcc14ce0ffbbae638


Information imprinting for MOMA alignments

[ ] Add aminoacid conservation values to pair of proteins aligned
[ ] Implement selection of aminoacid pairs within 1A to show as sticks
[ ] Implement aminoacid coloring by physicochemical type

Conservation could be showcased as putty size, as shown in the following example:


Invalid location requirements unclear

The instructions specified to select one intersection to build a city, but I sometimes received an invalid move notification

@hoangj21 thank you for reporting this issue! We will look into this.


KAFKA-8760; New Java Authorizer API (KIP-504)

New Java Authorizer API and a new out-of-the-box authorizer that implements the new interface.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@omkreddy Thanks for the review, updated the PR.

@rajinisivaram Thanks for the PR.  LGTM.

@omkreddy Thanks for the review, merging to trunk.


question

I've encountered a new issue where my program is throwing a segmentation fault when I integrate 12 cores. I'm curious if there's a limit to the number of cores supported by the software for a single cluster. Your guidance would be greatly appreciated, and I look forward to your reply.

Hi @jjl1075337132
Unfortunately, we never really tested for more than 9 cores so far. The original Snitch cluster used 9 (1 for DMA + 8 compute cores). Moreover, we don't really extend to more than 4 cores for now since the number of connections to the memory starts to increase as well.
You have to (1) increase the memory and number of banks, and (2) increase the instruction cache size too.
However, based on the log, what you could do is indeed increase the instruction cache and see if that does something.
https://github.com/KULeuven-MICAS/snax_cluster/blob/c2e597f4a649dbcc738d2a5c9bc2c8d0378a8f60/target/snitch_cluster/cfg/snax_alu.hjson#L75-L79
Probably try to bump it up to 16kB to see if it works.
Let us know if something happens with this.

It's still a segmentation fault, and I've also observed that in this architecture, adding more accelerators means more parallel port connections to the interconnect. So, this cluster is probably not well-suited for integrating a multi-core architecture, right?

Hi @jjl1075337132
How unfortunate. We shall try on our side but we're not sure if he have the bandwidth to fix this now since we're all working on a project.

So, this cluster is probably not well-suited for integrating a multi-core architecture, right?

This is a good question.
The compute cluster was meant to be a multi-accelerator cluster. The entire cluster itself is like "one compute core" essentially.
There are many who confuse that our system is a multi-core architecture, but technically it is more like a "multi-sub-core" architecture packed into one compute cluster. But the entire compute cluster itself is can be treated like one big core.
This cluster is just the "base" computing core but not necessarily a whole big multi-core connecting through the network.
Our architecture has an AXI network that is meant to expand into a multi-core (or multi-compute cluster) architecture. That's where it becomes to become like a "multi-core" system.
I hope this makes sense!
But absolutely the parallel connections are the price to pay for higher bandwidth. There is a trade-off between having to pay so much bandwidth and the area it consumes.

Thank you for your reply, I now have a deeper understanding of this project.

@jjl1075337132
If you are interested in going for a more scalable system, we have the extended part in here:
https://github.com/KULeuven-MICAS/HeMAiA
Take note though, just like this SNAX project, everything is still a work in progress 😄
Again, thanks for your interest in our work!
I will close this issue now.


Performance graph data with filter too slowly

My Environment

ArangoDB Version:        3.12.0-NIGHTLY.20231219
Deployment Mode:       Single Server
Deployment Strategy:   Manual Start
Infrastructure:               own
Operating System:         Windows 10
Total RAM in your machine:        32Gb
Disks in use:       SSD

Component, Query & Data
Affected feature: AQL query using web interface
AQL query (if applicable):
for v,e,p in 0..3 outbound 'nodes/data' edges
  filter v.name == 'td_1'
return p

AQL explain and/or profile (if applicable):
Query String (81 chars, cacheable: false):
 for v,e,p in 0..3 outbound 'nodes/data' edges
   filter v.name == 'td_1'
 return p

Execution plan:
 Id   NodeType        Calls   Par   Items   Filtered   Runtime [s]   Comment
  1   SingletonNode       1     -       1          0       0.00000   * ROOT
  2   TraversalNode       1     0       1    3089006      21.93566     - FOR v  /* vertex */, p  /* paths: vertices, edges */ IN 0..3  /* min..maxPathDepth */ OUTBOUND 'nodes/data' /* startnode */  edges /* order: dfs */
  5   ReturnNode          1     -       1          0       0.00000       - RETURN p

Indexes used:
 By   Name   Type   Collection   Unique   Sparse   Cache   Selectivity   Fields        Stored values   Ranges
  2   edge   edge   edges        false    false    false        0.00 %   [ `_from` ]   [  ]            base OUTBOUND

Traversals on graphs:
 Id  Depth  Vertex collections  Edge collections  Options                                              Filter / Prune Conditions
 2   0..3                       edges             uniqueVertices: none, uniqueEdges: path, order: dfs  FILTER (v.`name` == "td_1")

Optimization rules applied:
 Id   Rule Name                                  Id   Rule Name
  1   optimize-traversals                         3   remove-unnecessary-calculations-2
  2   remove-filter-covered-by-traversal          4   async-prefetch

Query Statistics:
 Writes Exec      Writes Ign      Doc. Lookups      Scan Full      Scan Index      Cache Hits/Misses      Filtered      Peak Mem [b]      Exec Time [s]
           0               0                 0              0         6177018                  7 / 0       3089006         295600128           21.93601

Query Profile:
 Query Stage                Duration [s]         Query Stage                Duration [s]         Query Stage                Duration [s]
 initializing                    0.00000         loading collections             0.00003         instantiating executors         0.00005
 parsing                         0.00009         instantiating plan              0.00004         executing                      21.93571
 optimizing ast                  0.00000         optimizing plan                 0.00013         finalizing                      0.00004

Dataset:
Amount of nodes: 3.104.008
Amount of edges: 3.242.008
Problem:
I see graph traversal > 1M edges too slowly. How to search with a condition faster with graph > 1M edges ?. solr do it with 1s.
@jsteemann.

This is tree data for the above usecase.

@Redmen2679 I think ArangoDB must a Algorithmics Graph use index to filter nodes faster.

Hello son2408,
Perhaps we can set up a call to discuss this in more detail?  One of my
Solution Architects would like to review this on a call with you if
possible.
Best Regards
Mark Hedderman
Vice President, Sales
Email: @.***
Phone: +353 861701914
On Thu, Jan 25, 2024 at 8:25 AM son2408 @.***> wrote:

@Redmen2679 https://github.com/Redmen2679 I think ArangoDB must a
Algorithmics Graph use index to filter nodes faster.
—
Reply to this email directly, view it on GitHub
https://github.com/arangodb/arangodb/issues/20532#issuecomment-1909641970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFMPOVLHWSKDSBMTKN46SWTYQIJF7AVCNFSM6AAAAABCIPUUZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGY2DCOJXGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@jsteemann Do you any solution for this usecase ? thanks

Hello son2408,
I do not have access to Yalo or Skype but could call you via Zoom?  Can you
send me your email address?
On Fri, 26 Jan 2024, 09:18 son2408, @.***> wrote:

@jsteemann https://github.com/jsteemann Do you any solution for this
usecase ? thanks
—
Reply to this email directly, view it on GitHub
https://github.com/arangodb/arangodb/issues/20532#issuecomment-1911723823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFMPOVPDHMWYJR5DC2QMTVDYQNYF5AVCNFSM6AAAAABCIPUUZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRG4ZDGOBSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Redmen2679 My email<EMAIL_ADDRESS>Can I chat with you to resolve it more conveniently for different time, plz? thanks you

Richard
Can you organise a meeting here due to my travel commitments this week?
Thanks,
Mark
On Sat, 27 Jan 2024, 05:53 son2408, @.***> wrote:

@Redmen2679 https://github.com/Redmen2679 My email
@.*** Can I chat with you to resolve it more
conveniently for different time, plz? thanks you
—
Reply to this email directly, view it on GitHub
https://github.com/arangodb/arangodb/issues/20532#issuecomment-1912990114,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFMPOVN5D6TRM2KCBV7QL2TYQSB5LAVCNFSM6AAAAABCIPUUZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJSHE4TAMJRGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello @Redmen2679
I will describe full use case that i using graph ArangoDB is slowly, your team will suggest this ? or how do you want this meeting organise?
Thanks

Hello @son2408
My colleague Richard in copy has emailed you (Gmail) trying to schedule a
meeting.  Can you check your Spam folder in case it ended up in your spam
folder?
Perhaps you can reply to Richard directly or here and between you both, a
meeting can be arranged.
Best Regards
Mark Hedderman
Vice President, Sales
Email: @.***
Phone: +353 861701914
On Tue, Jan 30, 2024 at 5:16 AM son2408 @.***> wrote:

Hello @Redmen2679 https://github.com/Redmen2679
I will describe full use case that i using graph ArangoDB is slowly, your
team will suggest this ? or how do you want this meeting organise?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/arangodb/arangodb/issues/20532#issuecomment-1916044340,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFMPOVNOU537P2RWX3SEFHLYRBX2FAVCNFSM6AAAAABCIPUUZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGA2DIMZUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Redmen2679 I only use version community. I'm testing on local and I see with usecase graph ArangoDB is too slowly.

@jsteemann Can you have any option for this usecase to speedup graph ? thanks you


Error 'Invalid URI: master' occurred when running :PlugUpdate on Windows

The command :PlugUpdate showes error message 'Invalid URI: master` for every plugins
Updated. Elapsed time: 39.204868 sec.
[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]

- Finishing ...

I tried :PlugClean and then :PlugInstall, vim-plug deleted and reinstalled all plugins correctly without any error. But after that, :PlugUpdate still showed the same error as above.
I do not set any global options of vim-plug in my vimrc.
This happens in both GVim 8.1 2102 and NeoVim 0.4.2 with Python 3.7.3 64bit on Windows 10 1903 x64 18362.418
I use Git version 2.23.0. The command
git rev-parse --abbrev-ref HEAD 2>&1 && git config -f .git/config remote.origin.url

returns, for example,
master
<EMAIL_ADDRESS>

NVIM v0.4.2
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe /DWIN32 /D_WINDOWS /W3 /MD /Zi /O2 /Ob1 /DNDEBUG -DMIN_LOG_LEVEL=3 /W3 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -D_WIN32_WINNT=0x0600 -DINCLUDE_GENERATED_DECLARATIONS -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -IC:/projects/neovim/build/config -IC:/projects/neovim/src -IC:/projects/nvim-deps/usr/include -IC:/projects/neovim/build/src/nvim/auto -IC:/projects/neovim/build/include
Compiled by appveyor@APPVYR-WIN

Features: -acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files/nvim/share/nvim"

Run :checkhealth for more info

Type:

[x] Bug
[ ] Enhancement
[ ] Feature Request
[ ] Question

OS:

[ ] All/Other
[ ] Linux
[ ] OS X
[x] Windows

Vim:

[ ] Terminal Vim
[x] GVim
[x] Neovim

same as #876, fails since https://github.com/junegunn/vim-plug/commit/226d6abeb2f02bcd8f5b11288543259fa2e02962.

same as #876, fails since 226d6ab.

I think they may be different problems. #876 is caused by powershell, but here I use cmd

@IceNature Do you have custom shell settings for cmd.exe?

@janlazo No, but you remind me that I am using the Git in MSYS2 with a batch wrapper to make it run conveniently under cmd.
@ECHO OFF
setlocal enableextensions enabledelayedexpansion
SET MSYS2=%~dp0%..\usr\bin
FOR %%i IN ("git.exe") DO SET GIT=%%~$PATH:i
IF NOT EXIST "%GIT%" (
    SET "PATH=%MSYS2%;%PATH%"
)

if "%1" equ "rev-parse" goto rev_parse
git.exe %*
goto :END_LOCAL
:rev_parse
for /f "delims=" %%1 in ('git.exe %*') do cygpath -w "%%1"

:END_LOCAL
endlocal
@ECHO ON

I tried to run
:echo system('git rev-parse --abbrev-ref HEAD 2>&1 && git config -f .git/config remote.origin.url')

in a git repo or
run the temp file created by vim-plug in my temp directory directly with cmd /c. Both of them work correctly. It returns two line, one is master, the other is the URI
But if I use the system() to run the temp batch file, just as s:system() in plug.vim do, it only returns one line, and I do not know why the second line is missing


Allow additional configurations to manually extend the crontab execution command

Right now, the configuration only allows to adjust the following two parameters:

Config item
Description
Default value

CRONTAB_EXECUTABLE
The absolute path of crontab
/usr/bin/crontab

CRONTAB_LOCK_JOBS
Whether lock jobs when running
False

However, it would be great if there are two additional configuration variables that allow to add a prefix and a suffix to the command. For example, this could look like the following (taken from the django-crontab project):
CRONTAB_COMMAND_PREFIX

something you want to do or declare, before each job gets executed. A good place for environment variables.
default: '' (empty string)
example: 'STAGE=production'

CRONTAB_COMMAND_SUFFIX

something you want to do after each job was executed.
default: '' (empty string)
example: '2>&1'

That would allow me to redirect the output stream with the suffix and set important environment variables with the prefix configuration.

Thanks for the quick reply! Unfortunately, I don't completely understand that. Could you maybe provide an example how I could possibly add a prefix to my function?

I mean it is not supported, but we may have more options on how to do it.

I mean it is not supported, but we may have more options on how to do it.

Alright, gotcha! Thanks for the clarification. I might provide a PR for the feature in case I find the time for it.


Disabling the gray color highlighting on click in iOS devices

When any graph is opened in iOS devices, clicking on it highlights the whole graph with gray color briefly. This hinders the interactivity as it does it for the whole graph area.
The commit adds a css style that will disable this.
See this for more information:
https://developer.apple.com/library/mac/documentation/AppleApplications/Reference/SafariWebContent/AdjustingtheTextSize/AdjustingtheTextSize.html#//apple_ref/doc/uid/TP40006510-SW5

Creating another pull request with a specific branch for this change


NaCl is deprecated in favor of WebAssembly

Description of the problem or steps to reproduce
micro sources reference to NaCl a few times, but NaCl is deprecated.

I'm still going to leave the mention of NaCl because it is a platform that Go technically supports. I have added a note about NaCl being deprecated in the readme and I have removed it from the heading for that section.

a9b14d4c :+1:


Feature/release 13 1

Critical Changes
Changes
Remove FeedItem.RypplePost from Lead layout
Issues Closed

@davidmreed had to make a change due to an error with upload beta so I needed to make a second change.  Getting an error due to the cla cert.  Mind doing the magic you did earlier again?

@davidmreed had to make a change due to an error with upload beta so I needed to make a second change. Getting an error due to the cla cert. Mind doing the magic you did earlier again?

Just a head up @Nickers3 that ideally the CLA bot message would be cleared, but it's not required for merging. Looks like the review requirement is what's holding this one up.

@coriobriensfdo good catch.  I'll have someone approve.

@lauraetzler mind reviewing/approving this one?  I had to make a page layout tweak based on an upload beta issue.

@mkolodner you can review/approve this too.  Removed a page layout button that the packaging org didn't like.


Upgrade rubocop to 0.34.0 from 0.33.0

Does this fix https://github.com/mbj/devtools/issues/81? So will the cache feature be used automagically, or do we have to configure it?

Cache is enabled by default

@backus thx.

Since the PR fixed #81, we would generally add [Fix #81] to the description so that when this is merged github automatically closes the related issue. This can also work in individual commits.

Ah well I included closes #81 in the commit body.  That didn't close it?

I just remove it from the description when github fills that in because I don't like the duplicate references it clutters the issue with

@backus Oh sorry, I missed that.

No problem. I can leave it in the issue description too if that is preferred

No problem. I can leave it in the issue description too if that is preferred

I don't have a strong preference on it. Typically what I do is put it in the PR description if a set of commits fixes an issue, and put it in the individual commit if I could cherry-pick just that commit into master to fix the issue. I sometimes screw up and forget though. The most important thing is that it be referenced somewhere.


Does it still work ?

Hello,
Sorry to bother, I know that this is an old project but do you think it still works ? I don't know how It works internally and I don't really want to get into it if it's outdated. Hope it's not though, it would be very useful for me.
Thank you

You probably don't want to use this approach and it's a little outdated. Resequencer disassembles an apk to smali, then runs some clever regex & replace & insert on the smali, then rebuilds the apk. This approach is robust, but I haven't used this in years and assume it would take at least a few hours to get working again, especially if you want to update some of the dependencies. Resequencer fine when you want to patch an apk and have it run anywhere, but if it's just for your own device, it's better to use frida.
I'm closing the issue, but feel free to carry on the discussion here.


Setting initial structure of site

Simple landing page
Links to get involved in community
Basis for future Docs
Blog setup, and a copy of the original announcement post from CNCF blog

We will need to set up the build and publish to github pages, and I've got the domain envoyaigateway.io for us to use.
Related to https://github.com/envoyproxy/ai-gateway/issues/29

See https://docusaurus.io/docs/migration/v2/manual#gitignore

Are the images site/static/img/undraw_docusaurus_*.svg used? Otherwise, we can also remove them from this PR


Improve keyframe selection

Opening this issue since I've heard it from multiple sources now, keyframe selection is currently not as ideal as it probably could be.
Key problems right now:

Keyframes can only be selected through box selection, not individually
Box selection is hidden behind a modifier key
Box selection cannot be initiated anywhere in the dope sheet area, only on a track

Suggestions for improvements:

Display available modifiers in a status bar (#69)
Have separate drag areas for the sequence position and the box selection (many examples of this in other software)
Fix the box selection start area

It would also be nice to be able to use cmd-a / ctrl-a to select all keyframes in a sheet. Often I'm nudging groups of keyframes around and this would be a helpful addition


[add] gitignore files

Thanks for the great project ;)
I made a file with general python and editor settings since I didn't have an ignorefile
(using gitignore.io https://www.gitignore.io/api/code,linux,macos,python,pycharm,windows,jupyternotebooks)

Thanks for the PR! , @nyk510

I made a file with general python and editor settings since I didn't have an ignorefile
(using gitignore.io https://www.gitignore.io/api/code,linux,macos,python,pycharm,windows,jupyternotebooks)

I didn't know that!
It LGTM, so I'll merge them.
Thank you so much!


code refactor

change the ruby data file to the yaml data file.
autoload the yaml db file under the yaml dir.

What's the benefit of this? I'm not sure I see a benefit in defining something in a special serialization format when it's just as readable in executable code.

More maintainable

Separate the data files from the source file, no noise
Separate category by file name, convention than the configured

More expansible

Add or change symbol to the data file
Add or change new function to the source file

More reusable

Using the data without the source file, you can do new DSL, if you like,even other language, such nodejs...
Using the source file without the data file, you can define the symbol in different environment, em.., tick: ✔(windows) and √(linux,Mac)

More and more
At least do no harm...

remove multiple codepoints function
500-times increase in efficiency than the original

I don't get it. You've now removed a bunch of tests and claim huge gains in efficiency without posting the benchmarks here.  And you've extracted the set of items into a YAML document that needs to be parsed into a data structure anyway.
None of these things make much sense to me. We can discuss each one of these changes in a separate PR but none of them appear justified.

None of these things make much sense to you, but me.

I just want use the rumoji data by nodejs, but nodejs can't use the format of ruby file.
So, I must maintain the data files myself.
When I coding with nodejs, I'm not sure the multiple codepoints make much sense to me.

But,thanks a lot.:smile:


I should be able to not show the new "Plugin keywords" section in Run

Description of the new feature / enhancement
I like the new look of PowerToys Run, but I don't love this new "Plugin keywords" guide at the bottom of it. It's fine, but I wish I could turn this off.
Scenario when this would be used?
Every time it is used.
Supporting information
No response

Coming with the next release.
/dup #30200


Error: IlegalInputValue when run cairo program.

Describe the bug
I have a cairo program that performs a few pedersen hashes and check if a leaf is part of a merkle tree
The program work successfully with scarb cairo-run, but fail to run with the cairo1-vm, with the same parameters
To Reproduce
scarb cairo-run '[10, 11, "1129815197211541481934112806673325772687763881719835256646064516195041515616", "2786116088662035069066189777680990419908396521409751409107279532930231316343", "1715556295878999972957474070461491436465516895623517391664966219403971354436", 1, 8, ["1953494062994346031473676762198846975365628378496072945247633132004575093152", "126113334767614658176188594640568076708777092902948464648204141774749582367"], ["2786116088662035069066189777680990419908396521409751409107279532930231316343", "3144957507973559441671210571674558258320337923190994230670584137810138721781"]]'

Run completed successfully, returning []

./tools/cairo1-run ./target/dev/starkswirl.sierra.json \                                                                          git:(main|…1
    --layout recursive \
    --air_public_input public_input.json \
    --air_private_input private_input.json \
    --trace_file trace \
    --memory_file memory \
    --proof_mode \
    --args '10 11<PHONE_NUMBER>211541481934112806673325772687763881719835256646064516195041515616<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>878999972957474070461491436465516895623517391664966219403971354436 1 8 [1953494062994346031473676762198846975365628378496072945247633132004575093152<PHONE_NUMBER>67614658176188594640568076708777092902948464648204141774749582367] [2786116088662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>973559441671210571674558258320337923190994230670584137810138721781]'

Error: IlegalInputValue

The repo is public
Expected behavior
generate the artifacts
What version/commit are you on?
latest from main branch, 8b5d1c6
Additional context
I try it with the v1.0.0-rc3 and the error is different

Error: VirtualMachine(Memory(AddressNotRelocatable))

Running in proof_mode only allows Array<felt252> as input and output value, as stated in the crate's documentation. This is currently necessary to make cairo 1 programs provable

Sure. The program requires 2 span as input, so should be fine

Running in proof_mode only allows Array<felt252> as input and output value, as stated in the crate's documentation. This is currently necessary to make cairo 1 programs provable

Sure. The program requires 2 span as input, so should be fine

From how the cli command looks like it seems like the program receives 7 integer values followed by an array/span. The program should only receive a single array of felt values in order to be run in proof_mode

Running in proof_mode only allows Array<felt252> as input and output value, as stated in the crate's documentation. This is currently necessary to make cairo 1 programs provable

Sure. The program requires 2 span as input, so should be fine

From how the cli command looks like it seems like the program receives 7 integer values followed by an array/span. The program should only receive a single array of felt values in order to be run in proof_mode

ok, so I got it wrong. Now I understand.
I create a struct that represent my input
#[derive(Serde)]
pub struct Input {
    secret: felt252,
    nullifier: felt252,
    nullifier_hash: felt252,
    commitment: felt252,
    root: felt252,
    index: usize,
    last_pos: usize,
    peaks: Span<felt252>,
    proof: Span<felt252>
}

but how can I specify the two arrays from CLI ? In order to get deserialized I should mention the length, I think.
If I just send the same input as before without square brackets the deserialisation will fail, obviously

--args '10 11<PHONE_NUMBER>211541481934112806673325772687763881719835256646064516195041515616<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>878999972957474070461491436465516895623517391664966219403971354436 1 8<PHONE_NUMBER>994346031473676762198846975365628378496072945247633132004575093152<PHONE_NUMBER>67614658176188594640568076708777092902948464648204141774749582367<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>973559441671210571674558258320337923190994230670584137810138721781'

I figure it out, I have to prepend the arrays with their length. The deserialisation work but now I have another error
./tools/cairo1-run ./target/dev/starkswirl.sierra.json \                                                                        git:(main|✚2…5
    --layout recursive \
    --air_public_input public_input.json \
    --air_private_input private_input.json \
    --trace_file trace \
    --memory_file memory \
    --proof_mode \
    --args '[10 11<PHONE_NUMBER>211541481934112806673325772687763881719835256646064516195041515616<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>878999972957474070461491436465516895623517391664966219403971354436 1 8 2<PHONE_NUMBER>994346031473676762198846975365628378496072945247633132004575093152<PHONE_NUMBER>67614658176188594640568076708777092902948464648204141774749582367 2<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>973559441671210571674558258320337923190994230670584137810138721781]'

Error: VirtualMachine(Memory(AddressNotRelocatable))

Hi @FilipLaurentiu !
We will take a look at the error

Hi @FilipLaurentiu !
I was trying to recreate to error you were having, so I ran the same command.
cargo run ../../StarkSwirl/target/dev/starkswirl.sierra.json \
    --layout recursive \
    --air_public_input public_input.json \
    --air_private_input private_input.json \
    --trace_file trace \
    --memory_file memory \
    --proof_mode \
    --args '[10 11<PHONE_NUMBER>211541481934112806673325772687763881719835256646064516195041515616<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>878999972957474070461491436465516895623517391664966219403971354436 1 8 2<PHONE_NUMBER>994346031473676762198846975365628378496072945247633132004575093152<PHONE_NUMBER>67614658176188594640568076708777092902948464648204141774749582367 2<PHONE_NUMBER>662035069066189777680990419908396521409751409107279532930231316343<PHONE_NUMBER>973559441671210571674558258320337923190994230670584137810138721781]'```

Though this time I got a different error:

`Run panicked with: [1 (''),<PHONE_NUMBER>006189670479869870450564906403592805 ('Fail to deserialize')]`

Which seems to be an error thrown by the cairo code at lib.cairo, am I correct?

Done a little research about the error that got. Seems like the args used in the commands that README suggests in the main branch of your repo might be outdated. Your Input struct has 10 attributes be the number of args passed are 9, so there's a mismatch and fail's to deserialize.

Talking about the actual issue, try running the same command you've use but using --layout starknet_with_keccak. The thing is that there are some builtins not supported by the recursive layout which starknet_with_keccak do actually support.

Hey @FrancoGiachetta Thank you for taking a look. Yes, I added one more parameters in the last commit, probably this is why you get that error.
To make things clear, I can reproduce the error in one of your example from the repo
cd cairo1-run &&
 cargo run -r ../cairo_programs/cairo-1-programs/serialized_output/bytes31_ret.cairo \
 --air_public_input public_input.json \
 --air_private_input private_input.json \
 --trace_file trace \
 --memory_file memory \
 --proof_mode

Error:

VirtualMachine(Memory(AddressNotRelocatable))

Talking about the actual issue, running the same command you've used but using --layout starknet_with_keccak, with main's version 0145e17, returns an empty array as expected. The thing is that there are some builtins not supported by the recursive layout which starknet_with_keccak do actually support.

This seems to be the case, changing the layout to starknet_with_keccak will run without an error. But changing the layout of the program require changes to the verifier ? In my use case the proof will be verified on-chain by the herodotous integrity verifier

Exactly, I recommend you to get the sierra out of you .cario and check which builtins it is using, then you may want to check this this to see which of the layouts might fit to your use case. Talking about the verifier, it really depends on how complete you have it

Hi @FilipLaurentiu!
Regarding the verifier, I am not entirely sure of the current state of the Herodotus Integrity Verifier. The prover and verifier need to implement certain constraints to verify each built-in. I really don't know if the Herodotus verifier implements those built-in constraints, but it should. Maybe you can ask them directly.

To finish, here are the layouts that you could use:

starknet
starknet_with_keccak
recursive_large_output
recursive_with_poseidon
all_cairo

I would recommend you to use recursive_with_poseidon since it supports just the builtns you need.

@FilipLaurentiu If you don't mind I will pass this error as solved
Any problem just ping us

Thank you @pefontana @FrancoGiachetta for taking your time and help me. I think I am good now and I got a good understanding of what I should change for this to work.
Thanks !


Conflicting browserlist setup

Just a note, the sample configuration supports both:

.browserslistrc
inline configuration for Autoprefixer plugin

I'm not sure, if inline configuration is recommended one: https://github.com/postcss/autoprefixer#browsers
Thanks!

feel free to send a PR to solve the issue.


🤖 Front Door - take over all the office routes

Once all the consulting pages are migrated, ensure all traffic to /offices is served by v3

Frontdoor config deployed to prod


set_cookie is returning Cookie object for attribute instead of passed in value

Hey all,
We're trying to set an id as a cookie using:
page.driver.set_cookie(:developer_id, developer.id) where developer.id equals<PHONE_NUMBER>77969111 in this test.
After setting the cookie, page.driver.cookies equals
{
"developer_id" =>
#<Capybara::Poltergeist::Cookie:0x007f847c4c1d70 @attributes={"domain"=>"<IP_ADDRESS>", "httponly"=>false, "name"=>"developer_id", "path"=>"/", "secure"=>false, "value"=>"5.9240003697796915e+17"}>
}

The id is there, but the developer_id cookie value is the entire Cookie object.
Any tips would be greatly appreciated!
Running:
Poltergeist 1.9.0
PhantomJS 2.1.1
Capybara 2.7.1
Rails 4.2.6
Ruby 2.1.4
macOS Sierra

Any tips what for?

Hey sorry. I didn't explain it clearly enough.
Is this the normal behavior for setting a cookie? We're having an issue logging in the user during tests when running page.driver.set_cookie(:developer_id, developer.id) where developer.id is<PHONE_NUMBER>77969111.
Just wondering if what is being returned for page.driver.cookies (below) is correct.
{
"developer_id" =>
#<Capybara::Poltergeist::Cookie:0x007f847c4c1d70 @attributes={"domain"=>"<IP_ADDRESS>", "httponly"=>false, "name"=>"developer_id", "path"=>"/", "secure"=>false, "value"=>"5.9240003697796915e+17"}>
}

Or should the returned cookie be
{
"developer_id" => "592400036977969111"
}

Trying to figure out if the issue is with Poltergeist or somewhere else.

As returned is correct - the cookie needs to store the domain and  other than the fact the value attribute of the cookie may not actually be what you're setting due to numeric conversion.  Try
page.driver.cookies['developer_id'].value

and see if that matches what you expect and if it doesn't then you probably want to be calling
page.driver.set_cookie(:developer_id, developer.id.to_s)

or something like to make sure it gets set correctly.

Excellent! I'll test this out. Thanks for your help.


Thinning down docker image

Start from node:4-slim image instead of big node:4 image

@alexandre-merle: Indeed this can have side effect but you only need to add missing dependencies in docker file to fix it.
I build my docker image with this docker file and my s3 server works but I can't test all features.
Can you test https feature with this docker file ?
You can see all removed dependencies here:
https://raw.githubusercontent.com/docker-library/buildpack-deps/master/jessie/scm/Dockerfile
https://raw.githubusercontent.com/docker-library/buildpack-deps/master/jessie/Dockerfile

Please note that we are not documenting how to use HTTPS with the S3
support, although feasible (I once did a side support in the company on
this, this takes a bit of effort).
Also, this dockerfile is only used for the public S3server, and we have a
slightly different build for our private version (no code change, but a few
bits of slightly different docker configuration and so on)
On Wed, Nov 2, 2016 at 11:42 AM, aperigault<EMAIL_ADDRESS>wrote:

@alexandre-merle https://github.com/alexandre-merle: Indeed this can
have side effect but you only need to add missing dependencies in docker
file to fix it.
I build my docker image with this docker file and my s3 server works but I
can't test all features.
Can you test https feature with this docker file ?
You can see all removed dependencies here:
https://raw.githubusercontent.com/docker-library/buildpack-
deps/master/jessie/scm/Dockerfile
https://raw.githubusercontent.com/docker-library/buildpack-
deps/master/jessie/Dockerfile
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/scality/S3/pull/243#issuecomment-257830114, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ANpZZ8e6RoXqJkahwUegAsnwl1-8Z5kxks5q6GksgaJpZM4KMcdI
.

--
David Pineau
Scality R&D Engineer
--
http://go.scality.com/acton/fs/blocks/showLandingPage/a/18585/p/p-0102/t/page/fm/0?utm_campaign=TEI&utm_medium=Email&utm_source=signatures

@aperigault - Thanks for the comment.
We incorporated the concept so you should be able to pull a slimmer s3 server now :)


Prefix gets doubled when restoring a backup so archive not copied

When restoring a backup using a prefix this function causes the prefix to get doubled so the aws s3 cp command fails.
get_archive(){
  if [[ -s $_restore_file ]]; then
    return
  else
    # Download the latest archive from S3
    set_up_s3
    _restore_file="$(get_latest_s3_archive)"

    if [[ -n "$_restore_file" ]]; then
      aws s3 cp "${_aws_s3_path}/${_restore_file}" "$_restore_file"
    fi
  fi
}

With a prefix of "myprefix" the script attempts to copy the backup from: "myprefix/myprefix/hourly..."
The issue is that aws_s3_path has the prefix at the end, and restore_file has the prefix at the start.

Thanks for reporting this @danimbrogno
I will take care of it.

Let me know if this take care if the issue.
At this point you should be able to specify AWS_S3_BUCKET and AWS_S3_PREFIX, and you'll end up with a path like s3://bucket/prefix/hourly/file.tar.xz.gpg

That fixed it, it works beautifully now. Thanks for this super useful container!


Dev question: how did you add a logo to the integration?

Sorry for misusing issues.
I'd like to add an integration logo to my own custom integration, but found no documented way of doing that. How did you do it?
Thanks in advance.
(Closing the issue to reduce my pollution)

See details on the HA brands repo
[https://github.com/home-assistant/brands(url)


Create genrule target to make release jars

There should probably be two release jars:

plugin deploy jar, which has a file at META-INF/services/javax.annotation.processing.Processor with the class name of the processor implementation
annotations-only jar, which lets you use the @CallBuilder and @BuilderField annotations in your app.

The former can be added to the processor_path while the latter can be added to the compile-time and run-time classpath, OR the former can be added to all three if you are not concerned about the size of your release jar.
It doesn't have to be a genrule necessarily - just some automated, reproducible method for creating the jars.

The annotations-only jar is probably not necessary because I was able to run a small demo with an auto-generated builder without the annotation jar in the classpath.

Fixed


Added support for java.io.OutputStream as dest

#15
I like you plugin very much, but sometimes I'm downloading files wich I directly would need in memory, therefore its not the best to save it on the disk an read it after downloading, so i think to support OutputStreams as "dest" would resolve all my problems..
in addition i tried to execute the plugin with gradle 2.2 and fixed the unit tests

I'm doing a spring cleanup of my projects at the moment and I stumbled upon this one here. After thinking this through carefully I have decided to not implement such a feature. It doesn't really fit in this plugin (due to the points discussed above).
I'm sorry that I cannot accept your pull request.
If anyone else has the same feature request please feel free to open this issue again.


Move dataset pull from DDL to DML section where its used.

This had bugged me for a while, so opening a PR for it. Just moving the wget of the data files we use from DDL to DML where they are actually used in the COPY example.  The previous location was in the DDL section, where those files are never used.

Aside from the nitpick this LGTM.


Minor updates to 1QBit solver documentation

Make the casing of booleans consistent throughout
Copy to all solvers the note that all parameters should be strings

@Mobius5150 Should we tag you in our PRs?

@Mobius5150 just following up with this PR!


Update Test Expectations?

I think this commit introduced a number of compiler test failures. Not sure of background, but I thought I'd at least register it. Since the commit message was Stop union types in parameters from generating precode, perhaps the fixtures are just out of date?
E.g. duplicate-type-params seems to have dropped:
type union_of_number_or_string =
  | Number float
  | String string;

type number_or_string;

external number_or_string : union_of_number_or_string => number_or_string =
  "Array.prototype.shift.call" [@@bs.val];

I broke the test case a little while ago 😅 I was in the middle of a feature I was finishing up and thought I'd push soon, then other things came up - I'll fix them tonight

Tests should be all fixed 😄


Add custom execution editor for InlineServicePureExecutionState

Summary
InlineServicePureExecution does not have any context so we should remove that window to have bigger space for users to view the query in a glance

How did you test this change?

[ ] Test(s) added
[X] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

@MauricioUyaguari @akphi can you please review when you get a chance


Client.send doesn't return a response

During the synchronized main Chat List and the specific chat, I am trying to send a request to get information about the current user.
It looks like this: client.send(new TdApi.GetMe(), new resultHandler () { ... };), but I don't get any response to the request. Please tell me what could be the problem?

All updates and request responses are processed in a dedicated thread. You need to ensure that this thread isn't blocked.

I think I figured out what the problem was. I was sending a new request inside the processing of the current request. That is, the following hierarchy was obtained:
client.send(new GetUser(), new ResultHandler() {
client.send(new GetMe(), new ResultHandler(){ ... });
});
Do I understand correctly that with this request structure, the internal request will not be executed?

All requests will be executed. But all requests are asynchronous. You can't expect immediate response or even a response while another ResultHandler is running. The issue is not in the request itself, but in a try to synchronously wait the response somewhere in your code.

I understand, thank you!


$cordovaOauth.twitter doesn't work : it seems to be undefined

Hi,
I tried (and succeed) using this ngCordova plugin with Google Plus.
But with the twitter method nothing happened as if it didn't exist.
There is my minimal code which doesn't as described by the doc (The alert "Ready" is shown, but not the alert "After cordovaOauth.twitter") :
$ionicPlatform.ready(function() {
alert("Ready");
$cordovaOauth.twitter("<myConsumerKey>", "<myConsumerSecret>");
alert("After cordovaOauth.twitter");
});
Thanks in advance for helping me through this.

https://github.com/nraboy/ng-cordova-oauth#support


Cross-reference "NFL_Scorigami" Twitter bot source code

https://twitter.com/NFL_Scorigami is neat, but I'm not sure where its source code is. If someone knows, cross-referencing that information in this repository's README would be really nice.

I talked to the guy that made the bot, he gave me a very brief (tweet-length) rundown of how it works (you can see the conversation here).
Long story short, I would like to add a feature like that, but I have no idea how he made it and I'm too afraid to dig further.

Ah, okay. Thanks for the info. I searched around for "dpmattingly" and "scorigami" on GitHub a bit, but didn't find much. There's https://github.com/aphung/scorigami for what it's worth.
I hadn't seen the conversation you linked, but I did find these messages:

https://twitter.com/NFL_Scorigami/status/911089531130077184
https://twitter.com/NFL_Scorigami/status/911090864826466304
https://twitter.com/NFL_Scorigami/status/911091854921285632
https://twitter.com/NFL_Scorigami/status/911099233645637632

This is all pretty off-topic, though. Please feel free to close this issue if there's nothing actionable here.


[iOS] Fix discover peripheral issue

help you discover the ble device whose device name you just modified.

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


synchronisation bug in VRCX

Hello,
I see a weird synchronisation bug into VRCX this 2 week
(same after a VRCX reboot)
I see people disconnect in VRCX but connected in "Private" world
or people in private world but offline in VRCX
or some "feed" who aren't showed, so weiiirdly... (like people begin online but not appear on "feed" list)
I don't know if you have the same problem as me

This is vrchat itself its API has been a bit spotty recently its not an issue caused by VRCX its an issue caused by VRChats own servers

ok, thank you for your answer ^^
it was just for know if I were alone with this problem or not.


issue805, Improve code coverage listener in soul-admin for ZookeeperDataChangedListener

…ataChangedListener
// Describe your PR here; eg. Fixes #issueNo

Make sure that:

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

Codecov Report

Merging #855 (5acbb04) into master (79ce5f7) will increase coverage by 0.17%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #855      +/-   ##
============================================
+ Coverage     71.46%   71.63%   +0.17%
- Complexity     1630     1646      +16
============================================
  Files           283      283
  Lines          6532     6558      +26
  Branches        746      750       +4
============================================
+ Hits           4668     4698      +30
+ Misses         1467     1463       -4
  Partials        397      397

Impacted Files
Coverage Δ
Complexity Δ

.../dromara/soul/plugin/base/cache/BaseDataCache.java
100.00% <0.00%> (ø)
29.00% <0.00%> (+4.00%)

.../plugin/base/cache/CommonPluginDataSubscriber.java
85.96% <0.00%> (+1.34%)
21.00% <0.00%> (+8.00%)

...stener/zookeeper/ZookeeperDataChangedListener.java
98.59% <0.00%> (+8.45%)
25.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

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


docs: update access section

docs: update access section

Rebased, and merged.
Thanks for your contribution !


preprocessor/plugin: catch panics in execute and start functions

@kris-watts-gravwell we needed to get that error in start out in a different way and I removed the println. PTAL

Fixes #1200


Use a template in 'body' method

It would be great, if the 'body' method could receive a template, like that:
.body('./user-enable-disable.modal.html')

+1

require('template.html').
Not compression friendly if I remember well.


OpenFX

Vote for renewal to take place offline.

Vote sent via email on 6/13

Approved via TAC vote.


Fix bug where deleted service validation errors stayed at top of AppConfig page.

Previously, if you create a service then delete it immediately after creating (or have a service with validation errors that you delete) the validation warning at the top of the page would stay there. This did not affect submission, since clicking Submit would re-run the form validation discounting the deleted service, but was a bad customer experience. This commit forcibly removes both the deleted service from the Formik errors object and Formik values object, which allows us to remove the unnecessary and complicated 'tombstone' concept.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Closing this in favor of a new PR to fold in changes not pointed to by the current commit message.


Could we use saga to synchronizly update the store?

Description
Say I have a saga like this
function* goToProfile(action) {
    const { id } = action
    try {
        yield put(Creators.setSelectedPerson(id))

        // I want to navigate to another page in react native. this is an imperative call I am afraid. I eed to trigger it using something like this.props.navigation.navigate("nextpage") where this is the class of a page.
    } catch(e) {
        console.tron.log(e)
    }
}

Say Creators.setSelectedPerson(id) will update the selectedPersonId in the redux store. I want to make sure this value is updated before the navigation happens.
Could you guys please suggest me a good way to write this? I am new to saga. I would like to see how to solve this asynchronize store update thing in saga, if it is possible.

Lines after put are guaranteed to run only after put (so basically dispatch) is executed, so you should be able to query the state AFTER the update. Keep in mind that this is guaranteed only if your actions always hit reducers synchronously. If you have some async middleware which delays, batches or whatever before passing them to reducer then we can't guarantee that.

If you are using reactnavigation in your react-native project, you can see https://reactnavigation.org/docs/en/navigating-without-navigation-prop.html
The add code like this:
`javascript
// NavigationService.js
import { NavigationActions } from 'react-navigation';
let _navigator;
function setTopLevelNavigator(navigatorRef) {
_navigator = navigatorRef;
}
function navigate(routeName, params) {
_navigator.dispatch(
NavigationActions.navigate({
routeName,
params,
})
);
}
// add other navigation functions that you need and export them
export default {
navigate,
setTopLevelNavigator,
};
// In you saga.js
import NavigationService from '...../NavigationService';
function goToProfilePage() {
NavigationService.navigate('App')
}
function* goToProfile(action) {
const { id } = action
try {
yield put(Creators.setSelectedPerson(id))
yield call('goToProfilePage')
// I want to navigate to another page in react native. this is an imperative call I am afraid. I eed to trigger it using something like this.props.navigation.navigate("nextpage") where this is the class of a page.
} catch(e) {
console.tron.log(e)
}
}
`

Thanks for the great suggestions! @Andarist and @zeayal. I will close the issue now.


Responsive layout

I suggest not to change number of columns according to the viewport width. Isn't it better to change item proportions if viewport width changes? I imagine it like Bootstrap columns, but allow user to change height too. For example:
    $(".js-mason").mason({
        itemSelector: ".item",
        columns: 12,
        prefixes: [
              [0,767,'xs-'],
              [768,920,'sm-'],
              [921,1200,'md-'],
              [1200,999999,'lg-'],
        ],
    });

Columns have to change due to the nature of Mason. It calculates everything around there being columns. Sizes can be tweaked based around the ratio that is provided.


Statically build source-controller

What does the PR do?

Statically builds source-controller.
Uses debian:bookworm-slim as final base image.
Adds ATTRIBUTIONS.md providing information about open source components, their origin and copyrights.
Automate the generation of ATTRIBUTIONS.md.
Enable the use of make e2e to run E2E tests locally.
Add execution of E2E tests on GitHub actions to test the linux/arm64 arch.

Why is this important?

Migrates sid dependencies into bookworm, which are more stable/reliable.
Statically build and link libgit2 main dependencies to decrease surface of target image.
The attributions is a requirement imposed by some of our dependencies' licenses. In the future, some of them could be auto generated via SBOM.

 Further tests, including armv7 are required before this can be merged.
The PR has been created mostly for initial feedback.

I am aware and looking at the libgit2 issues on the e2e tests.

Temporary image available: quay.io/paulinhu/source-controller:base-distroless.

I didn't test this on armv7 today but I will definitely be able to do so tomorrow 👍

@kingdonb I managed to run an initial test on armv7 and noticed it is crashing on start. I will get the initial problem fixed and once it is I let you know so you can test with a fully running version.

After further tests, it was detected that the previous image with these changes was not running on armv7.
A new tag is now available which fixes the issue: quay.io/paulinhu/source-controller:static-distroless2.
The image above has been tested on amd64 with make e2e. On armv8 (Raspberry PI4) and armv7 (Raspberry PI 2 Model B) by deploying the large-repo.yaml test data.

I tested this on macOS arm64 and it seems to be working fine.

Rebased the PR now against main.

hold
pending re-test on armv7.

hold pending re-test on armv7.

Test confirmed this is working on Raspberry PI 2 Model B:
Linux k8s-worker1 5.4.0-1047-raspi #52-Ubuntu SMP PREEMPT Wed Nov 24 08:19:14 UTC 2021 armv7l armv7l armv7l GNU/Linux

Rebased changes after merges.


🐛 [Plex NAS] Plex server not starting

Which addon?

Addon name : Plex NAS
Addon version : <IP_ADDRESS>16-f4cdfea9c-ls139-3

Describe the bug
I installed the plugin to HA OS after adding your repo to the addons store. I configured network drive and cifs. But it fails to start the Plex server complaining about invalid option.
To Reproduce

Full addon log

[custom-init] No custom services found, skipping...
[migrations] started
[migrations] no migrations found
cont-init: info: running /etc/cont-init.d/00-aaa_dockerfile_backup.sh
cont-init: info: /etc/cont-init.d/00-aaa_dockerfile_backup.sh exited 0
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------
 Add-on: Plex NAS
 Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices.
-----------------------------------------------------------
 Add-on version: <IP_ADDRESS>16-f4cdfea9c-ls139-3
-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid:    0
User gid:    0
-------------------------------------
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.2  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2022.10.4
 Home Assistant Supervisor: 2022.10.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/21-folders.sh
Database stored in /share/plex
... creating /symlink
cont-init: info: /etc/cont-init.d/21-folders.sh exited 0
cont-init: info: running /etc/cont-init.d/90-create_links.sh
Using existing config
cont-init: info: /etc/cont-init.d/90-create_links.sh exited 0
cont-init: info: running /etc/cont-init.d/92-local_mounts.sh
cont-init: info: /etc/cont-init.d/92-local_mounts.sh exited 0
cont-init: info: running /etc/cont-init.d/92-smb_mounts.sh
Mounting smb share(s)...
Using PUID 0 and PGID 0
[14:21:09] INFO: ... //<IP_ADDRESS>/SKYELAB.NAS/PLEXMEDIA successfully mounted to /mnt/PLEXMEDIA with options
cont-init: info: /etc/cont-init.d/92-smb_mounts.sh exited 0
Temporarily starting Plex Media Server.
Waiting for Plex to generate its config
/bin/bashio: line 26: source: -c: invalid option
source: usage: source filename [arguments]

Full addon config

PGID: 0
PUID: 0
cifspassword: abc
cifsusername: abc
claim: claim-abcdefghjiklmn
networkdisks: //<IP_ADDRESS>/SKYELAB.NAS/PLEXMEDIA

System

Supervisor version: 2022.10.0
Host system version: Home Assistant OS 9.2  (aarch64 / raspberrypi4-64)

I see why, issue corrected

Working now! Thanks! That was a quick fix!


Add CI to publish beta versions

In this PR:

Adds a specific Beta testing CI to ensure the tests passes on the specific docker image of Meilisearch containing the feature
Adds a versions checker for the Beta
Adds a publish condition to publish with the beta tag

fixes: #590

bors merge