[CI test, do not merge] [MGDOBR-111] Adding bearer token to shard invocations to manager

Insert JIRA Issue number and update link
Please make sure that your PR meets the following requirements:

[ ] Your code is properly formatted according to this configuration
[ ] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[ ] All new functionality is tested
[ ] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

Hey @sutaakar , can this be closed?

Sure

Thanks, great work with the keycloak thing!


ANF backup use existing snapshot

Hi team,
It seems like this section:
https://docs.microsoft.com/en-us/azure/azure-netapp-files/backup-configure-manual#create-a-manual-backup-for-a-volume
Is some missing information around using an existing snapshot for a manual backup and has an outdated screenshot at item #4.
This screenshot shows the missing 'Use existing snapshot' checkbox option: https://ibb.co/g7b52Nk
When this checkbox is selected, the Name field has to match with the existing snapshot name that is being targetted for backup.
Gr. Rutger

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

ID: 9ae18cd8-7883-dc7b-b349-f90d4471cef3
Version Independent ID: a51f5766-f25e-46b1-42b8-d9692f863045
Content: Configure manual backups for Azure NetApp Files
Content Source: articles/azure-netapp-files/backup-configure-manual.md
Service: azure-netapp-files
GitHub Login: @b-juche
Microsoft Alias: b-juche

@RutgerKosters
Thanks for your question. We are checking on this and will respond to you soon.

Thanks again @RutgerKosters - Doc has been updated per discussion with the ANF team.
#please-close


[Error Analysis]: add prediction and true label in the table view

If we happen to do this perhaps adding these as the first cols would be more useful

closing as part of #304


[Feature]

Is your feature request related to a problem? Please describe.
many users have multi-gpu matchine, such as 3090, 2080ti, the individual Vram of these GPUs is insufficient to deploy complete model, if model parallel is supported, it can cover many many users.
Solutions
support model paralel
Additional context
No response

我自己解决了...
fork代码： https://github.com/ChuangLee/ChatGLM-6B-multiGPU


Ideas for loading GRIB data as fast as possible

Are we confident that it's even possible to go faster than kerchunk when reading a petabyte-scale GRIB dataset on cloud object storage?! (If not, then there's not much point in hypergrib existing!)
In particular, when reading GRIB files, do we think kerchunk would saturate a 200 Gbps network connection on a VM connected in the same cloud region as the GRIB data? (Saturating a 200 Gbps NIC probably requires a few hundred GET requests to be in flight at any moment). My understanding is that Zarr-Python version 2 (without David's joblib patch to Zarr) definitely wouldn't saturate a 200 Gbps NIC. But maybe Kerchunk combined with Zarr-Python version 3, and/or Zarr-Python v2 with David's patch, would saturate a 200 Gbps NIC?
And, in terms of latency, how long would it take kerchunk to figure out which GRIB to read, if kerchunk has to look through a huge manifest (let's say 20 years of GRIBs)?

One thing I've been worrying about: Are we confident that it's even possible to go faster than kerchunk when reading a petabyte-scale GRIB dataset on cloud object storage?! (If not, then there's not much point in hypergrib existing!)

Having experimental POCs turn into useful production code is the path I am all about. We won’t know until we try.

In particular, when reading GRIB files, do we think kerchunk would saturate a 200 Gbps network connection on a VM connected in the same cloud region as the GRIB data? (Saturating a 200 Gbps NIC probably requires a few hundred GET requests to be in flight at any moment). My understanding is that Zarr-Python version 2 (without David's joblib patch to Zarr) definitely doesn't perform very well. But maybe Kerchunk combined with Zarr-Python version 3, and/or Zarr-Python v2 with David's patch, would saturate a 200 Gbps NIC?

Well, I think the following points are certainly tractable (referencing @mpiannucci’s replies and our earlier conversations)

only read the data section/payload of a given message; this saves a roughly constant byte size from each read, so the fractional improvement will vary from dataset to dataset, but it will also free up unnecessary CPU cycles doing parsing
we implement slicing for SIMPLE (zeroth-dimension sub chunking), COMPLEX (group offsets) and some compressions (maybe JPEG). For COMPLEX, it means figuring out if the parameters (group size, order) are always the same for a given message throughout the dataset - I bet that are.
zarr 3 bringing async combined reads across multiple variables; I don’t think there’s any plan for this, but it’s possible to reduce the number of reads, depending on whether latency or throughput is the killer
seeing if we can persuade gribberish's rust implementation to do true multithreading for decode; probably this is a "yes". eccode cannot, as it’s known to have global state that’s not thread safe.

And, in terms of latency, how long would it take kerchunk to figure out which GRIB to read, if kerchunk has to look through a huge manifest (let's say 20 years of GRIBs)?

This is fast! Parquet files can easily store millions of references, each partition loading fast and not taking up too much memory so that you can keep many in memory. Of course, some tuning could be done and there are alternative storage mechanism like DB or even Redis, but I think very likely parquet is good enough. Currently we store references in the same order as data (C-ordering), and this could be changed or configured if it becomes a problem.

zarr 3 bringing async combined reads across multiple variables; I don’t think there’s any plan for this, but it’s possible to reduce the number of reads, depending on whether latency or throughput is the killer

It would be great to get a benchmark that proves latency (IO) or throughput (CPU) is the limiter and we can optimize from there

seeing if we can persuade gribberish's rust implementation to do true multithreading for decode; probably this is a "yes". eccode cannot, as it’s known to have global state that’s not thread safe.

This is possible, there is no global state in gribberish.

Of course, some tuning could be done and there are alternative storage mechanism like DB or even Redis, but I think very likely parquet is good enough

I have a serverless weather app using dynamo db thats stores my references and its very fast to get what you need on demand.
All in all, I think the biggest killer to perf is that grib is always 1 time chunk with possibly large spatial dimensions. If you want to extract a timeseries it will always be slow, you can speed it up through threading or async but its always going to have to unpack more data than it needs to if the data is complex coded. Though that should be very easy for me to confirm

I think the biggest killer to perf is that grib is always 1 time chunk with possibly large spatial dimensions.

Since we can request >>1000 items concurrently, latency ought not to be too big a deal in most cases. However, throughput of bytes and memory (storing/decoding those bytes) will be, unless we can split the "large" dimension on at least one axis. This is the basis of my pushing for partial reads of COMPLEX. Data description shows that the parameters are written up front (where is Code Table 5.4??). Are the same parameters used consistently?

The essence of the complex packing method is to subdivide a field of values into NG groups, where the values in each group have similar sizes. In this procedure, it is necessary to retain enough information to recover the group lengths upon decoding. The NG group lengths for any given field can be described by Ln = ref + Kn * len_inc, n = 1,NG, where ref is given by octets 38-41 and len_inc by octet 42. The NG values of K (the scaled group lengths) are stored in the Data Section, each with the number of bits specified by octet 47. Since the last group is a special case which may not be able to be specified by this relationship, the length of the last group is stored in octets 43-46.

So is it a unique vector for each message of a given type, or always the same (e.g., one group per line)?

However, throughput of bytes and memory (storing/decoding those bytes) will be

Agree this is probably the case.

So is it a unique vector for each message of a given type, or always the same (e.g., one group per line)?

I think to test this, we can grab say 5 random GFS or HRRR data files, grab 2 meter temperature for each grib file, and then just dump the data representation section. I may need to add a way to serialize a given section or template to gribberish core but that should be easy enough

This is a great discussion!
On the topic of decoding in parallel... I'm guessing that the low-hanging-fruit is that gribberish stays single-threaded. But hypergrib can request, say, 1000 grib messages in parallel, and decompress them in parallel by calling gribberish from multiple threads. Does that sound sane?
And, yes, I fully agree, @mpiannucci: If the user wants a timeseries for a single geographical point then they're going to have a bad time if the data is in GRIB! But, a bunch of ML use-cases do need 2D images per timestep. And my hope is that we can support those better.
(BTW, I should also flag up that I won't get much coding done over the next few weeks... kids on holiday etc.!)

hypergrib can request, say, 1000 grib messages in parallel, and decompress them in parallel by calling gribberish from multiple threads.

Yes, I expect that gribberish releases the GIL and allows this; but also see @emfdavid 's notes on moving the parallel decoding into the inner loop of zarr.

Sounds good!
For my first "throw-away prototype" i was (cheekily) thinking of implementing everything in Rust. And having a Python API which plugs directly into xarray (skipping Zarr). Just so I have full control over the parallelism. But maybe that's a bad idea?! I haven't looked into what's required to plug directly into xarray.

implementing everything in Rust

I don't have a strong opinion here. In python you'll have more code help, so it depends on your comfort level. I would say that interfacing between asyncio (zarr 3 or in fsspec) and tokio, while possible, is probably tricky (especially in multiple threads).

I already have an app written that does this in rust using AWS lambda so I'd be happy to reuse some of that code to just make a local example if you'd like.
I can also use the service that runs on lambda to compare fetching multiple chunks vs just one because that's kinda how it operates anyways.

I'd be happy to reuse some of that code to just make a local example if you'd like

Ooh, that could be great! (But please don't worry if it's any effort. TBH, I'm also quite eager to force myself to learn more about GRIB by implementing some code myself. But, of course, it'd be great to learn from your code, too!)

I can also use the service that runs on lambda to compare fetching multiple chunks vs just one because that's kinda how it operates anyways.

That would be great, too! It'd be interesting to see whether it can saturate the network interface card. (Although maybe it's not easy to find out the NIC speed of a lambda instance?)

Hi @emfdavid. This slide is in your excellent ESIG presentation:

Please may I ask three quick questions about this slide:

Just to confirm: Is the y-axis in the lower plot giga-bytes per second? (Not giga-bits per second?) (I assume the uppercase "B" means "bytes" but I thought I should check!)
Do you know the speed of the network interface card on the VM that was running your code? How close is 2GB/s to saturating the NIC?
Please remind me: Does the lower plot show the total network bandwidth to a single VM?

Also, when you say

The parallel processing
overhead is much higher for
the short prediction tasks.
Observed read rates are
typically 50-100 Mb/second.

Is the slowdown due to extracting a timeseries "churro" from the GRIB dataset? (i.e. needing to extract a timeseries for a single geographical point)?

Just to confirm: Is the y-axis in the lower plot giga-bytes per second? (Not giga-bits per second?) (I assume the uppercase "B" means "bytes" but I thought I should check!)

The GCP metrics units are a bit opaque via the grafana api but the metric name does specify bytes.

Do you know the speed of the network interface card on the VM that was running your code? How close is 2GB/s to saturating the NIC?

Very difficult to pin down with a kube autopilot cluster. I think we are most of the way there, but we should definitely start with GCE instance, not kube for benchmarking.

Please remind me: Does the lower plot show the total network bandwidth to a single VM?

That is showing total bytes received for a kube pod.

Is the slowdown due to extracting a timeseries "churro" from the GRIB dataset? (i.e. needing to extract a timeseries for a single geographical point)?

I am extracting a block - something like 50 x 100 by time steps since I am running the forecast for a group of ~2000 meters in one geographic area.
I think the slow down is due to the number of time steps being small, so the overhead associated with the way I implemented the parallelization is pretty high. Joblib's lokey backend is pretty expensive starting the parallel processes - it just doesn't work very well for short time series. It is still a big improvement over what I was getting before, but I was pretty focused on the training use case where I want ~40k time steps rather than ~36 for the forecast.


Add env vars to configure CNI config path and template

Add env vars CNI_CONFIG_PATH and CNI_CONFIG_TEMPLATE to allow overriding the default CNI config path and template.
This makes it easier to test CNIs that support delegated IPAM (such as Cilium) using the host-local plugin.

sorry, didn't see this until today, the goal of kindnet is not to be an installer for other cnis, I'm going to work in a pluggable architecture, based on functionalities, but CNI templates and plugins are not flexible enough to handle well modern networking


Release fix for pyqt6?

Just came to help submit a fix for PyQt6 ... but see that it was already done in June #283
Would it be possible to cut a new release with that fix?

Yes, I guess this makes sense 👍

Let's see if we can get #284 in first, because it fixes an existing bug.


imageistruecolor false positive resulting in big filesizes

As decribed in issue #63, when resizing a non-truecolor image to a truecolor image, it can result in significantly bigger filesizes. The pull request #65 adding the quality_truecolor parameter was supposed to fix this, but the line that determines whether the new image should be truecolor or not is; if (!$this->quality_truecolor && !imageistruecolor($this->source_image)), and in my case imageistruecolor(...) always seem to return true. Simply replacing && with || fixed this for me, and I suggest this be set in the code as well, as I can't think of a case where you after having set quality_truecolor to false would want to possibly end up with a truecolor image anyways.
I can create a PR if need be, but I figured as it's simply replacing two characters it might be easier to just create an issue.

It looks great and please go ahead with that :).

@peter279k PR #167 created.

Is tests passed for small and big files?

Yes. It should be good to add the file to be tested on tests folder.


Packaging OPENED modules for framework use

Given a ebpf networking code,

Run Bumblebee to generate user level read-writes for the maps in the code.

Start with mptm module packaging.

@dushyantbehl take a look at this https://github.com/sdsen/opened/tree/main/clientSDK/README.md and update the plan here ?


SetModeStyle - Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference

Description
Hi, thank you for the great library. Only way I was able to set the theme in the Android app status bar and navigation bar.
I am running into this crash lately.
I am calling this in my code:
SystemNavigationBar && SystemNavigationBar.setBarMode && SystemNavigationBar.setBarMode(isDarkMode ? 'light' : 'dark');
I added the checks because I wanted to see if that would fix it, but it did not.
Here is the crash I am seeing:
Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference com.reactnativesystemnavigationbar.SystemNavigationBarModule.setModeStyle (SystemNavigationBarModule.java:472) com.reactnativesystemnavigationbar.SystemNavigationBarModule.lambda$setModeStyle$8$SystemNavigationBarModule (SystemNavigationBarModule.java:521) com.reactnativesystemnavigationbar.-$$Lambda$SystemNavigationBarModule$7c9Wq1aEzZlZVxbqz80nWTlUwis.run (Unknown Source:8) android.os.Handler.handleCallback (Handler.java:942)
I am not able to reproduce the issue, but I am seeing it in crashlytics.
Here are some of the devices it is happening on:
Android 14 Pixel 6
Android 14 Galaxy S22
Android 13 Oppo Reno8 5G
Android 11 Realme C3
Android 10 Galaxy Note9
Android 10 Note3
Please let me know if there is anything else that would be helpful. Thank you!
react-native-system-navigation-bar version
2.6.3
React Native version
0.62.2
Snack, code example, screenshot, or link to a repository
import SystemNavigationBar from 'react-native-system-navigation-bar';
SystemNavigationBar && SystemNavigationBar.setBarMode && SystemNavigationBar.setBarMode(isDarkMode ? 'light' : 'dark');

Hi @SanKlein, I released a new version. Can you check again in the latest version?

@kadiraydinli Hi, it still happens on version 2.6.4

Normally, I replicated the issue and then fixed it and raised the PR, this issue should not arise. I think the fix by @efstathiosntonas will work


Clean up Feature::set_field_null

[x] I agree to follow the project's code of conduct.
[x] I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

CC https://github.com/georust/gdal/issues/427#issuecomment-1865113102

r? @metasim, @nms-scribe


Cannot enable EpollChannelOption.SO_REUSEPORT for a client

Hi,
I am trying to enable SO_REUSEPORT option for a client Bootstrap. But I am getting the following problem. It seems that EpollChannelOption.SO_REUSEPORT is implemented for ServerBootstrap only. Could you please add this feature for client sockets as well?
Sep 07, 2016 12:34:06 AM io.netty.bootstrap.Bootstrap init
WARNING: Unknown channel option: io.netty.channel.epoll.EpollChannelOption#SO_REUSEPORT=true

Can you explain why this option is useful for a client?

Am 07.09.2016 um 09:44 schrieb hbli<EMAIL_ADDRESS>Hi,
I am trying to enable SO_REUSEPORT option for a client Bootstrap. But I am getting the following problem. It seems that EpollChannelOption.SO_REUSEPORT is implemented for ServerBootstrap only. Could you please add this feature for client sockets as well?
Sep 07, 2016 12:34:06 AM io.netty.bootstrap.Bootstrap init
WARNING: Unknown channel option: io.netty.channel.epoll.EpollChannelOption#SO_REUSEPORT=true
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Trying to implement a peer to peer communication via TCP, where the same port will be used for both  client sockets and a server socket for hole punching purpose.

@hbli I tried to even doing this in pure c and it seems like SO_REUSEPORT not works there. So are you sure its even possible ?

@hbli ping

Looks like it is not possible. I can't get it to work neither... We may close this issue. Thanks a lot.


Copilot-No error message after entering the wrong code multiple times

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v9.0.58
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: https://github.com/Expensify/App/pull/51588
Issue reported by: Applause Internal Team
Action Performed:
Add copilot

Go to settings > security
Add copilot
Enter wrong code multiple times
Verify you see error like "too many attempts"

Update copilot role

Go to settings > security
Click a copilot > update role
Enter wrong code multiple times
Verify you see error like "too many attempts"

Expected Result:
An error like "too many attempts" is displayed after entering the wrong code multiple times.
Actual Result:
The "too many attempts" error message is not displayed after entering the wrong code multiple times.
Workaround:
Unknown
Platforms:

[x] Android: Standalone
[x] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/d0d6816c-518f-4cf1-9508-4d9d97ea2ca2

View all open jobs on GitHub

cc @rushatgabhane @Ollyws @dangrous - looks like this came from https://github.com/Expensify/App/pull/51588. Can you please review?

I am checking with the team on some backend behavior here, stay tuned!

okay so short version, the "too many attempts" will only be encountered on successful calls - we don't throttle for incorrect codes, etc.

I think that means we can close this?


Could not find zls in PATH

get this error repeatedly after reinstalling the extension for several times:

using v0.5.9 on macOS 15.1, vscode output:
Version: 1.94.2
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 24.1.0

Is zig.zls.path set to anything?

Is zig.zls.path set to anything?

it seems to be set up a wrong path:

Something probably went wrong during the setup (related #230), setting that to a proper path should fix your problems. One way to do that should be using the zig.zls.install command.

Something probably went wrong during the setup (related #230), setting that to a proper path should fix your problems. One way to do that should be using the zig.zls.install command.

Cool. It works now. Thanks for the quick response :)
For anyone who getting the same issue, please try:

toggle command panel with cmd+shift+p
type zig.zls.install, then enter

Thanks for the solution. Unfortunately it doesn't work for me as the command doesn't have any effect. After running that, nothing happens. Is there a way to look at some form of logs left behind by the command so that I can get an idea of what the error is?

I have released #230 in a pre-release 0.5.10, you should see a "Switch to Release Version" button if you go to the extension page in vscode. Could you try if it works for you?

Thanks for the solution. Unfortunately it doesn't work for me as the command doesn't have any effect. After running that, nothing happens. Is there a way to look at some form of logs left behind by the command so that I can get an idea of what the error is?

@stefanobaghino Could you paste your vscode output like I mentioned above: Help -> About -> Copy

@stefanobaghino Could you paste your vscode output like I mentioned above: Help -> About -> Copy

Version: 1.95.3 (Universal)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.1.0

I have released #230 in a pre-release 0.5.10, you should see a "Switch to Release Version" button if you go to the extension page in vscode. Could you try if it works for you?

Switching to the pre-release version 0.5.10 did have an effect, thank you for the help. 🙇🏻


WriteAt methods and changes to work with Unity3D

I needed this methods to use less bandwith when sending an unknown number of objects:
WriteAt of byte (I don't know how to make the sbyte version) and WriteRangedIntegerAt.
Also there are some small changes to make Unity3d work again. I wrote in the wiki how to use this library with Unity but didn't send this changes (the tutorial, therefore, doesn't work). I forgot that the version of the library I am using is slightly different. :(
Thank you, I hope this helps!

The method WriteRangedIntegerAt is wrong. I don't know how to do it. I will request a pull only with the changes that make this work with Unity.
I am sorry


FeinCMS and django-tinymce 4+ and TinyMCE 5, 6 ... 7 ?

FeinCMS's support for TinyMCE only goes up to version 4.
django-tinymce now supports TinyMCE 6. This includes new UI with AI and Accessibility plugins, making it modern web editor.
I have not been able to make FeinCMS 23.1.0 work with django-tinymce 4.1.0 using the previous methods that worked for  TinyMCE versions 3 to 4 as described in feincms/templates/admin/content/richtext/init_tinymce4.html
I can sort-of get it to work, but not with the FeinCMS content ajax elements of the form.
Do you intend on supporting TinyMCE 6 and django-tinymce 4+ ? and keeping it in sync with Django in general, or is it abandoned ?
Many thanks

Hi @jowan
I think the best would be to ship an updated init_tinymce6.html template or something? If I understand the tinyMCE API docs correctly, using tinymce.init() in the init and richify handler and tinymce.remove() in the poorify handler should work?

I can sort-of get it to work, but not with the FeinCMS content ajax elements of the form.

Or maybe you already got so far, but the reordering doesn't work? The reordering requires move handlers which remove the editor before dragging and attach it again afterwards, see https://github.com/feincms/feincms/blob/a9cb72cd502adad8645bc276bab88dc9bd546192/feincms/templates/admin/content/richtext/init_tinymce4.html#L55-L65 -- the reason for this is that the DOM doesn't support moving nodes around without losing event handlers at this time. This could change in the near future, but I don't know if the jQuery sortable libraries will be updated for this.

Do you intend on supporting TinyMCE 6 and django-tinymce 4+ ? and keeping it in sync with Django in general, or is it abandoned ?

I wrote down my thoughts here https://406.ch/writing/the-future-of-feincms/ and despite the fact that this post is more than 6 years old it's still current. The only thing which has changed is that most of the sites we have are running on feincms3/django-content-editor instead of FeinCMS.
By the way, django-content-editor uses flex ordering to avoid the poorify/richify problem -- nodes aren't actually moved around in the DOM, they are only reordered visually. This means that we can basically use all Django form field plugins without having to add our own handlers.
That being said, I'd be very happy if we found a way to keep FeinCMS working with newer tinyMCE versions.


Whisper support

What was wrong?
Shh delegations were not implemented.
How was it fixed?
Added missing implementations and basic tests.
Cute Animal Picture

@pipermerriam How do I configure Travis to run Shh related testcases?

@pipermerriam Not sure why https://travis-ci.org/pipermerriam/web3.py/jobs/167550202 is failing.

Yeah, that's weird - just checked it out locally and it's worked for me - was hoping I'd be able to contribute. 🎱

@andylockran Thanks for checking!

This just happens sometimes.  Been meaning to increase that timeout.  I restarted the run.  Should pass and I'll get this merged.

Doh, ok, one more hoop if you're willing to jump through it.  Can you add/update the docs @ docs/web3.shh.rst with basic explanations of how to use these methods?
Bonus points for functional example code for a common use case 😈

Sure.Will update soon.

@pipermerriam Am I missing anything?

This looks great.  Thank you for doing this.  Very well rounded PR.  Going to get this merged now but likely not released until early next week.

@pipermerriam Thanks to you!


"error": "client: etcd cluster is unavailable or misconfigured"

i get the bellow error

2018-01-10T15:10:36.576Z    ERROR   keeper/keeper.go:648    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:36.576Z    INFO    postgresql/postgresql.go:264    stopping database
pg_ctl: directory "/stolon-data/postgres" does not exist
2018-01-10T15:10:36.596Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:41.610Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:46.623Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}
2018-01-10T15:10:51.639Z    ERROR   keeper/keeper.go:838    error retrieving cluster data   {"error": "client: etcd cluster is unavailable or misconfigured"}

but this is healthy
kubectl get cs
NAME                 STATUS    MESSAGE              ERROR
scheduler            Healthy   ok
controller-manager   Healthy   ok
etcd-0               Healthy   {"health": "true"}
etcd-1               Healthy   {"health": "true"}
etcd-2               Healthy   {"health": "true"}

i have my etcd endpoints defined in the valyes.yaml like so
endpoints: "https://<IP_ADDRESS>:2379,https://<IP_ADDRESS>:2379,https://<IP_ADDRESS>:2379"
what else can i check or do about this issue ?
thanks

closing due to inactivity


Full pug support

Will this plugin fully support pug syntax like mixins, for example?

Sorry, I've been mistaken. Closing...


iOS Build fails in Phonegap build cli-9.0.0

Expected Behaviour
install the plugin
Actual Behaviour
plugin installation fails in iOS.
Reproduce Scenario (including but not limited to)
Try to install the plugin via phonegap build
Steps to Reproduce
Add this to your config.xml file of your phonegap project:
<preference name="phonegap-version" value='cli-9.0.0' />
<plugin name="phonegap-plugin-push" source="npm" />

and try to build your app via Phonegap build.
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS, phonegap build
(Android) What device vendor (e.g. Samsung, HTC, Sony...)
Cordova CLI version and cordova platform version
PhoneGap (iOS / Android / Windows)
cli-9.0.0 (5.0.1 / 8.0.0 / 7.0.0)
Plugin version
Latest version via:

<plugin name="phonegap-plugin-push" source="npm" />
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem
I get the following error under iOS section of phonegap build.
Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "phonegap-plugin-push" via npm Installing "phonegap-plugin-push" at "2.2.3" for ios "framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag. Running command: pod install --verbose Failed to install 'phonegap-plugin-push': Error: pod: Command failed with exit code 1 at ChildProcess.whenDone (/private/tmp/gimlet/XXXXXXXX/project/cordova/node_modules/cordova-common/src/superspawn.js:135:23) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe._handle.close (net.js:611:12) pod: Command failed with exit code 1 - You can fix this

Same error, I tested moving back down to ios 4.5.5 and it worked again, I read something about plugin push using a firebase tool that's out of date? Can't find the post again though, will try to find it and repost here.

Same error. Even with Phonegap cli-8.1.1 & 8.0.0 & 7.1.0
with cli-7.0.1 builds without error, but does not work.

I am having the same problem.  I can't get a build to succeed using this plugin so I am moving to a different plugin.

Same error. Even with Phonegap cli-8.1.1 & 8.0.0 & 7.1.0
with cli-7.0.1 builds without error, but does not work.

Works fine with cli-8.1.1

I am having the same problem. I can't get a build to succeed using this plugin so I am moving to a different plugin.

this plugin has many conflicting issues with other plugins. so you issue might be other plugins that you use not this plugin.

Today, I managed to build successfully with cli-9.0.0 and this plugin. so i reckon the developers have done some changes. Thanks boys and gals...

Any more news on this? I'm still getting the same error, now managing about 25 apps with Android sitting on Cordova 9 and iOS on Cordova 8, it's getting a bit messy 😢   Android has to be on Cordova 9 for Android 28 support. Any help would be very very much appreciated 😄

Any more news on this? I'm still getting the same error, now managing about 25 apps with Android sitting on Cordova 9 and iOS on Cordova 8, it's getting a bit messy 😢   Android has to be on Cordova 9 for Android 28 support. Any help would be very very much appreciated 😄

Have you tried to build recently?  Builds started working again for me a few weeks ago with no changes on my side.  I don't know what was changed, or where, but I am glad it is working again.

Also having issues with this...

Same here.

Any update for this issue?


c2patool build is failing for linux

Hello Team,
@sven2718 and I (Both are adobe employees<EMAIL_ADDRESS>&<EMAIL_ADDRESS>have been trying to build the c2patool on linux (as a docker image) using brew and it has recently started failing. It used to work well before.
We suspect that recent change in the linuxbrew might be causing this failure.
You should be able to reproduce the error by trying to build the tool on ubuntu:20.04 by doing brew install c2patool
Here are the full logs.
` ERROR [stage-2 27/31] RUN brew install c2patool                                                                                22.2s

[stage-2 27/31] RUN brew install c2patool:
#42 4.290 ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:fc45ee6eddf4c7a17f4373dde7b1bc8a58255ea61e6847d3bf895225b28d072a
#42 4.290 Already downloaded: /root/.cache/Homebrew/portable-ruby-2.6.8_1.x86_64_linux.bottle.tar.gz
#42 4.978 ==> Pouring portable-ruby-2.6.8_1.x86_64_linux.bottle.tar.gz
#42 8.759 Running brew update --auto-update...
#42 15.54 ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:fc45ee6eddf4c7a17f4373dde7b1bc8a58255ea61e6847d3bf895225b28d072a
#42 15.54 Already downloaded: /root/.cache/Homebrew/portable-ruby-2.6.8_1.x86_64_linux.bottle.tar.gz
#42 15.91 ==> Pouring portable-ruby-2.6.8_1.x86_64_linux.bottle.tar.gz
#42 22.10 Error: No available formula with the name "python" (dependency of contentauth/tools/c2patool). Did you mean ipython, bpython, wxpython, pythran, jython, cython or ptpython?
#42 22.10 In formula file: /home/linuxbrew/.linuxbrew/Library/Taps/homebrew/homebrew-core/Aliases/python
#42 22.10 Expected to find class Python, but only found: PythonAT310.

executor failed running [/bin/bash -c brew install c2patool]: exit code: 1
make: *** [build] Error 1`
Please let me and Sven know how to proceed. Please let us know if you need more details from us.

We are updating our build system to create pre-built binaries for different platforms. The brew installation will be updated to support installing those binaries once that is ready. In the mean time we have removed brew install from our documentation
you can use:
cargo install c2patool
to build a new c2patool on your platform.
You should make sure is is in your path with something like this:
export PATH=$PATH:/root/.cargo/bin

Hmm.  Just doing a simple cargo install c2patool inside a ubuntu:20.04 base image still didn't work for us.  After a little missing around with packages, I found this config, which does appear to build and run in docker:
FROM ubuntu:20.04 as c2pa_builder

SHELL ["/bin/bash", "-c"]

RUN apt-get update -y && apt-get upgrade -y && apt-get install -y clang curl build-essential git libssl-dev && \
 curl https://sh.rustup.rs -sSf | bash -s -- -y && \
 source "$HOME/.cargo/env" && \
 cargo install c2patool

I'm not entirely sure if all those apt packages are necessary on ubuntu, but I was seeing some strange gcc errors before I switched to clang.


SocketException

Thank you about sentinel, but I have another issue:
When I try to connect to Redis, SocketException is thrown. Redis service is stopped.
redis.windows-service.conf
port 6379

loglevel notice
logfile "Logs/redis_log.txt"

slave-serve-stale-data yes
slave-read-only yes

repl-diskless-sync no
repl-diskless-sync-delay 5
repl-disable-tcp-nodelay no

maxmemory 256mb
appendonly no
maxmemory-policy allkeys-lru

Application error in Event Viewer
Faulting application name: redis-server.exe, version: <IP_ADDRESS>, time stamp: 0x621adc90
Faulting module name: redis-server.exe, version: <IP_ADDRESS>, time stamp: 0x621adc90
Exception code: 0xc0000005
Fault offset: 0x000000000007b578
Faulting process id: 0x5040
Faulting application start time: 0x01d82c9f89ec08e7
Faulting application path: C:\Redis\redis-server.exe
Faulting module path: C:\Redis\redis-server.exe
Report Id: 6818c6c1-176e-40da-aa21-22a02f4c6484
Faulting package full name:
Faulting package-relative application ID:

Fault bucket<PHONE_NUMBER>791133116, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: redis-server.exe
P2: <IP_ADDRESS>
P3: 621adc90
P4: redis-server.exe
P5: <IP_ADDRESS>
P6: 621adc90
P7: c0000005
P8:<PHONE_NUMBER>07b578
P9:
P10:

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER728B.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7328.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER7338.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER733A.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER736A.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_redis-server.exe_c749f1588964366085baee65654c61d83964911_d8653adc_dd74f9f3-c5b9-4110-a534-34aef3f71470

Analysis symbol:
Rechecking for solution: 0
Report Id: 6818c6c1-176e-40da-aa21-22a02f4c6484
Report Status: 268435456
Hashed bucket: eb7f41269b79617fcd0b4a94555763bc

My code uses StackExchange.Redis
var connection =ConnectionMultiplexer.Connect("localhost");
Thank you in advance.

My code is connecting well with version redis-windows-<IP_ADDRESS>, but sentinel is not working at all.

in fact,i tested it via redis tools,python and java,it work fine

you can pull  and test it again

can you send your test demo  to me?i want to use it to test. i used some third part tools to test,it also work fine

My code is connecting well with version redis-windows-<IP_ADDRESS>, but sentinel is not working at all.

<IP_ADDRESS> is OK，it's so weird,connect code is as same as before

Hello.
redis-cli.exe works as expected. Another Redis Desktop Manager - works too. My application is a part big web solution. I try to prepare test demo.
I found that error thrown in my asp.net 5.0 0application
services.AddStackExchangeRedisCache(o =>
            {
                o.Configuration = redisConnectionString;
            });

And additional:
Logs do not work:
port 6379

loglevel debug
logfile "Logs/redis_log.txt"

In <IP_ADDRESS>  logs work as expected.

Super!!! It has helped! I start to testing all parts. Thank you very much!!!


can not build jetson-inference from source error accured at depthnet.cpp

[ 57%] Built target jetson-utils-python-27
/home/mrinmoy/jetson-inference/c/depthNet.h(190): error: identifier "COLORMAP_VIRIDIS_INVERTED" is undefined
/home/mrinmoy/jetson-inference/c/depthNet.h(180): error: identifier "COLORMAP_VIRIDIS_INVERTED" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_0000703e_00000000-8_depthNet.compute_72.cpp1.ii".
CMake Error at jetson-inference_generated_depthNet.cu.o.cmake:279 (message):
Error generating file
/home/mrinmoy/jetson-inference/build/CMakeFiles/jetson-inference.dir/c/./jetson-inference_generated_depthNet.cu.o
CMakeFiles/jetson-inference.dir/build.make:75: recipe for target 'CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_depthNet.cu.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_depthNet.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....[ 57%] Built target jetson-utils-python-27
/home/mrinmoy/jetson-inference/c/depthNet.h(190): error: identifier "COLORMAP_VIRIDIS_INVERTED" is undefined
/home/mrinmoy/jetson-inference/c/depthNet.h(180): error: identifier "COLORMAP_VIRIDIS_INVERTED" is undefined
2 errors detected in the compilation of "/tmp/tmpxft_0000703e_00000000-8_depthNet.compute_72.cpp1.ii".
CMake Error at jetson-inference_generated_depthNet.cu.o.cmake:279 (message):
Error generating file
/home/mrinmoy/jetson-inference/build/CMakeFiles/jetson-inference.dir/c/./jetson-inference_generated_depthNet.cu.o
CMakeFiles/jetson-inference.dir/build.make:75: recipe for target 'CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_depthNet.cu.o' failed
make[2]: *** [CMakeFiles/jetson-inference.dir/c/jetson-inference_generated_depthNet.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 58%] Building CXX object utils/display/gl-display-test/CMakeFiles/gl-display-test.dir/gl-display-test.cpp.o
[ 58%] Linking CXX executable ../../../aarch64/bin/gl-display-test
[ 58%] Built target gl-display-test
CMakeFiles/Makefile2:477: recipe for target 'CMakeFiles/jetson-inference.dir/all' failed
make[1]: *** [CMakeFiles/jetson-inference.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Hi @mrinmoy-sadhukhan, are you on the latest master branch?   It seems like your utils submodule is missing or outdated

sir today i once more download the repo and will rebuild it today I will send you report after the result comes.
thankyou

i sucessfully build the repo thanks for suggestion It works..


Release/v1.7.0 testnet

Purpose

Testnet:
aspen_hf_part1_block: 1000 -> generated rewards: 0x39005B1B4D8DCF0B3 (dec<PHONE_NUMBER>7764418739)
How does the solution address the problem

Changes made

prnet cleaned-up successfully


Failed transactions seen as success

Link: https://finder.terra.money/tx/E9B7F9FC2D73749A505CBD8D7CB47A3E60E6E5765283FD01867BFFACFECD2302
Above page shows Status: success but the transaction was actually failed. You can see it from: https://lcd.terra.money/txs/E9B7F9FC2D73749A505CBD8D7CB47A3E60E6E5765283FD01867BFFACFECD2302

It was hardcoded yet. I will fix it soon.

https://finder.terra.money/soju-0007/tx/E9B7F9FC2D73749A505CBD8D7CB47A3E60E6E5765283FD01867BFFACFECD2302


Items still dropping in PlayerDeathEvent when setKeepInventory set to true

Timings link
https://timings.aikar.co/?id=86cc39aae73546bf979ea5719ec4ae62
Expected behavior
Items are kept in the inventory and do not drop to the ground.
Observed/Actual behavior
Player keeps the items, but they also get dropped on the ground.
Steps/models to reproduce

Write small plugin listening to PlayerDeathEvent
event.setKeepInventory(true);
Die.

Purpur version
This server is running Purpur version git-Purpur-1393 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 3ff85ed on ver/1.17.1)
You are running the latest version
Agreements

[X] I am running the latest version of Purpur available from https://purpur.pl3x.net/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] My version of Minecraft is supported by Purpur.

Other
No response

You have to clear the dropped list in the event, too. This is a thing all the way up the fork chain to whoever wrote that API in the first place.


Improve usage of "pieces"

For things like a lime wedge or a cherry, we currently use the unit pieces. This makes the caption say something like "1 pieces of cherry", which sounds bizarre. To fix this, we should add a field to ingredients that indicates when it will always be a piece, and instead format it differently, to instead say something like "1 cherry".

While working on this, we should also take into account plurals as well. For example, it should say "1 cherry" or "2 cherries". If the ingredient is a "piece" ingredient, we should store that into the backend, just like #9 wants to do with units.

We should also probably restrict usage of custom ingredients to the user who created the ingredient. If an ingredient is common enough, we can make it a built-in ingredient. For now, we shouldn't redirect user content to a newly created built-in ingredient, but that is something we should consider.


Gitlab plugin

Example API request: https://gitlab.com/api/v4/projects/:id

Example call from glab: glab api projects/spenserblack%2Frepofetch
%2F instead of / is interesting...


MagicMirror: v2.3.1  pls update zu v2.4

I have just installed Magic mirror per docker. The config is not recognized. I can not install any other modules.
Can you help me.
have heard of the latest version should be fixed. Greeting Jan

The image gets updated every day by a cron job from Travis CI. It should already be the latest MagicMirror version. What exactly is your problem? Could you post some logs/error messages?

Starting MagicMirror: v2.3.1
Loading config ...
WARNING! Could not find config file. Please create one. Starting with default configuration.
ading module helpers ...
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: helloworld.
l module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: updatenotification
Sockets connected & modules started ...
Ready to go! Please point your browser to: http://localhost:8080

@Jan-2005 sorry for the late response. I just double checked with a fresh install of this docker image. Are you sure, that you did use the newest version?
I started the Docker container with the command provided in the README:
docker run  -d \
	--publish 80:8080 \
	--restart always \
	--volume ~/magic_mirror/config:/opt/magic_mirror/config \
	--volume ~/magic_mirror/modules:/opt/magic_mirror/modules \
	--name magic_mirror \
	bastilimbach/docker-magicmirror

I checked the logs using docker logs magic_mirror which stated that magic mirror started using the newest version: "Starting MagicMirror: v2.4.1"
I also got the error message "WARNING! Could not find config file. Please create one. Starting with default configuration." which is expected because I didn't create the config file yet. So I renamed the config.js.sample file in the config folder to config.js and edited the important bits according to the README:

address must be an empty string
port must be 8080
ipWhitelist must be an empty array

I saved the file and restarted the container using docker restart magic_mirror and everything worked as expected.
Could you please check if your config.js contains the following JavaScript code at the bottom of the file:
if (typeof module !== "undefined") {module.exports = config;}

Also please try to remove the docker image bastilimbach/docker-magicmirror and download it again.

I'm closing this issue, due to the lack of any response. I assume you fixed the problem. Feel free to reopen the issue.

Starting MagicMirror: v2.6.0
Loading config ...
WARNING! Could not find config file. Please create one. Starting with default configuration.
ading module helpers ...
Initializing new module helper ...
Module helper loaded: updatenotification
No helper found for module: helloworld.
l module helpers loaded.
Starting server on port 8080 ...
Server started ...
Connecting socket for: updatenotification
Sockets connected & modules started ...
Ready to go! Please point your browser to: http://localhost:8080
Config ist vorhanden.

2.6.0 appears to be the latest in the "latest build" for this repo, making it 2508 commits behind.
I suspect there is something preventing Travis from compiling your build properly -- an issue you had before in one of the other tickets.  Please try installing a new container and you'll see this problem persists with latest build here != latest build.
latest: Pulling from bastilimbach/docker-magicmirror Digest: sha256:90fcd76cd419bc3a2202294c6af5924b05812df8568e7dc15460a8e4e446aefa Status: Image is up to date for bastilimbach/docker-magicmirror:latest f0510aafdbbf7a88150c855de37d9baaa97ef587e0d0214b99dc6aad375a465b mmirror Starting MagicMirror: v2.6.0


Export linked icon open with "404, NOT Found" message

See https://github.com/ContinuumIO/anaconda/issues/635

Fixed in #31. Closing.


drivers: video: csi: Change sensor dev to source dev

The CSI can connect to either a camera sensor (as on i.MX RT10xx) or a MIPI CSI-2 receiver (as on i.MX RT11xx). To be generic, change the naming from sensor dev to source dev.
This PR is splitted from https://github.com/zephyrproject-rtos/zephyr/pull/69810 to ease the review process and from https://github.com/zephyrproject-rtos/zephyr/pull/72420 to avoid mutual dependency with https://github.com/zephyrproject-rtos/zephyr/pull/71859

Hi,
Could we merge this one in priority as the PR is rather trivial (just a renaming) and it is a dependency for several PRs ?

sensor is also causing confusion with the sensor driver API. Good to rename it.
sdev could be thought as stream-dev, or source-dev, or sink-dev or subdev (which conveniently mimicks Linux subdev API, which is kind of the purpose here...)
A sink could also be an associated device, such as the HDMI to MIPI bridges chips 1, 2, or HDMI CEC controllers 1.
An alternative is to use remote-endpoint for this, so that for instance, some source with many ports/endpoint, and different resolution per ports can get controls specific to every port declare. Probably not going to happen before one of such complex video device becomes supported by Zephyr though...
P.S.: There is a chat channel #pr-help dedicated to catching attention onto a PR.
There is currently no maintainer for the video subsystem, which means lower guarantee of response time.

Can we simply name it 'source'

Yes, done. But now, I need @danieldegrasse and @decsny approve the PR again ...


Implement 32 byte namespace IDs

https://github.com/celestiaorg/celestia-app/pull/1405 reached the accepted status so we can increase the namespace ID size to 32  bytes.
Related: https://github.com/celestiaorg/celestia-app/issues/1434

Closed by #1419


Ripcord Image loading fix (credit to u130b8 for strings)

fixes broken images on some peoples ripcord clients

Manually merged in 19cecdf08dde73f5d2e56c76b2ca487d7e0f9ed6


General Menu Features: File Sub Menu

The General Menu Features describes the menu system workflow for each item.
Common concepts:
Prompt Save Action:  "This should prompt user to save changed if flag is set via yes no cancel dialog.
Cancel means abort action. YES Means save changes, then continue action,  NO means do NOT save changes and proceed with the action.  May trigger Offer Save Dialog.
Offer Save Dialog: This  asks the user where to save something before continuing action.  User can abort action by canceling
File Menu:
#1 New File - Prompt Save Action,  action is reset to blank file.
#2 Open File- Prompt Save Action, action is open a new Unicode Text File
#3 Save- - Offer Save Dialog, if never saved before - action is save current file.
#4 Save As Offer Save Dialog ALWAYS.  Save to the user's choice.
#5  Exit - Prompt Save Action,  action is quit.
#6 (Toggle) AutoSave on Shutdown/Logoff - if true we save to a recovery place on exiting app by force WM_QUERYSESSON/ WM_END_SESSION

Closing as the menu works as states. The autosave isn't functional yet but the scope works i.e. it toggles ok.


[WIP] fix rspec failure for ruby 2.3

Ruby 2.3 fails due to issue reported in #34

@cantino Is it ok to disable the 1.9.3 build in travis. Rspec does not seem to work with that version any more.

This is ready to merge if you are happy removing ruby 1.9 from travis.

Yes, perfect!  Thanks!


Create SECURITY.md

 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.:x: ScapyArtGroup sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hello would

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Language Integrated Query In C#

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number
This closes #2995

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

@paulodhiambo can we get a status update on this PR??
cc @amosnjoro - not sure if you are working on the plagiarism report.

@hectorkambow I am working on it

plagiarism check done ✅

@amosnjoro
Good afternoon and thank you for submitting your topic to the EngEd program and jumping on your revisions.
As a rule of thumb - we can only accept articles (pull requests) that are fully polished and complete articles - articles that are ready to be published.
All revisions and edits should be completed on your own forked repo (as to not take up room in the queue).
@paulodhiambo  if it seems this PR is still quite a bit aways from being completed. We will be closing this PR to allow @amosnjoro the time to revise and polish the article to be published.
If closed - once it is completed (and ready to be published) go ahead and please re-submit as a new PR (and you can add the duplicate label) and ping the reviewer and myself.
👍

@hectorkambow I am working on the fixes but the main challenge was that my device had a serious problem but I have fixed it

@paulodhiambo is this PR in tech review? I saw that we had requested some changes from the author?

Any update? @amosnjoro

I think in order to avoid any confusion, I can just fix the lines of code in the program itself so that I can avoid the confusion that can be raised.
I can do that @ahmadmardeni1. Please allow me to do so.

@ahmadmardeni1 I will highly appreciate your feedback

Hey @amosnjoro Sorry for the delay.
Sure thing, go ahead and fix the code. But what feedback do you want from me?
cc @paulodhiambo

Thanks @ahmadmardeni1 for your reply. I just wanted to hear from you if I would fix the lines of code into the program

@ahmadmardeni1 I have done the changes. You can have a look now.

@ahmadmardeni1 I have done the changes. You can have a look now.

Good, I'm doing a final review.

@paulodhiambo any problem that have risen please?

@paulodhiambo  I have fixed the grammar, you can have a look now

@amosnjoro articles are always written in third person view, not the second person view. I am wondering why you reverted all the changes I made to your article.

@paulodhiambo I am much sorry I thought I was supposed to fix it.  I can undo them

@paulodhiambo  I have done as it was, sorry for the mistake.

Hi @amosnjoro
Please check your hero image to fit the required dimensions

.
You had checked that the photo had the required size but on rendering it shows up as shown

Fine @LinusMuema

@LinusMuema  I have fixed the hero image to the correct dimensions.

Hi @amosnjoro
Thank you for the article. Please go through the review comments and changes to improve your future articles. Also, you had uploaded your image to the wrong directory. Please check on that too.
cc: @paulodhiambo


trying to run a mongo query fails with Timeout

Repro steps:

Action: cosmosDB.executeMongoCommand
Error type: string
Error Message: Timed out executing MongoDB command "db.ingestion_queue.aggregate([{$match:{$and:[{"date_intended":{$gte:ISODate("2018-10-04")}},{"date_intended":{$lt:ISODate("2018-10-09")}}]}},{$project:{"_id":0,"date_intended":{$dateToString:{"date":"$date_intended","format":"%Y-%m-%d"}},"hr":{$hour:"$date_time"}}},{$group:{"_id":{"dt":"$date_intended","hr":"$hr"},"hourCt":{$sum:1}}},{$project:{"_id":0,"dt":"$_id.dt","hr":"$_id.hr","hourCt":"$hourCt"}},{$sort:{"dt":1,"hr":1}}])"
Version: 0.8.0
OS: win32

@smv-orrin Is it possible it really is hitting a timeout? (We have a small class of bugs we're working on where we're getting an incorrect time-out...  From quick inspection this bug doesn't seem to be in that category.)

This is a real bug.  Before I submitted the ticket, I confirmed the issue by running the same query in:
A) the mongo cli in a terminal window, and
B) VS Code
the mongo cli successfully returned results in a couple of seconds, VSCode failed with a TImeout

Sorry, forgot to mention, just confirmed it again by testing the same query in both the mongo cli (terminal) and VSCode, with the same results - cli succeeded, vscode failed.

@smv-orrin Thanks.  How long does the query take to execute in mongo console?

couple of seconds
I tried attaching a video so you could see that the cli was returning quickly, but I can't attach a video it seems.  I also don't see my comment history on this issue, I remember taking a closer look at this and noticing that it seemed to be tied to my use of the $hour function.  When I comment out the $hour function (and replace with a straight-up integer), the query runs in VSCode without issue.

Are you using the emulator by any chance?

#838 ?

Hey - not sure what you're asking... I'm not using any emulator that I'm aware of... I'm using the Azure Cosmos DB Extension against a real mongo DB server (running Mongo 3.6).

We support attaching to the COSMOSDB emulator (Mongo or SQL), just needed to rule that out, thanks.

@pspkshah @smv-orrin I'd love to hear if anyone tried the experimental build (it's easy to uninstall afterwards and reinstall the current version), and could let me know if they see more helpful error messages.
The link is here: https://dev.azure.com/ms-azuretools/AzCode/_build/results?buildId=2476
Instructions are here: https://github.com/Microsoft/vscode-azuretools/wiki/Install-Insiders-Build
Thanks!
Stephen

Hi All, just update your VS Code Cosmos db extension with latest version. This issue take care and no more exist. I just updated with latest version and time out error is not coming.

Thanks for letting us know.


[backport 2.9] rancher monitoring chart lacks Network Policy permission to collect metrics from GUI's ingress-nginx pods

Issue created for tracking the backport of https://github.com/rancher/rancher/issues/45603 to v2.9

Verified this with a CIS benchmarked cluster and was able to confirm the fix without any issues. Below are the verification steps:
Details :
Rancher: v2.9-head
Cluster: v1.29.11-rc2+rke2r1
Monitoring Chart Version: 104.1.3-rc.1+up57.0.3

Install Rancher with CIS enabled:
# cat /etc/rancher/rke2/config.yaml
cni: canal
secrets-encryption: "true"
profile: cis
pod-security-admission-config-file: /root/psa.yaml

Install Rancher Monitoring charts with the following configuration:
rke2IngressNginx:
  networkPolicy:
    enabled: true

Check the created NetworkPolicy:

# kubectl  get networkpolicy -n kube-system -l app.kubernetes.io/managed-by=Helm
NAME                                   POD-SELECTOR                                AGE
rancher-monitoring-coredns-allow-all   k8s-app=kube-dns                            8m46s
rke2-ingress-network-policy            app.kubernetes.io/name=rke2-ingress-nginx   8m46s

# kubectl get networkpolicy -n kube-system rke2-ingress-network-policy -o yaml
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  annotations:
    meta.helm.sh/release-name: rancher-monitoring
    meta.helm.sh/release-namespace: cattle-monitoring-system
    np.rke2.io/ingress: resolved
  creationTimestamp: "2024-12-05T09:34:46Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
  name: rke2-ingress-network-policy
  namespace: kube-system
  resourceVersion: "14580"
  uid: 009a177e-5a1f-4feb-aa27-cbbc94d55655
spec:
  ingress:
  - ports:
    - port: 10254
      protocol: TCP
  podSelector:
    matchLabels:
      app.kubernetes.io/name: rke2-ingress-nginx
  policyTypes:
  - Ingress

Attached is the screenshot for reference.


Sidebar reversed

Hello, I configured to use tailwind like this:
screens: {  'xl': {  'max': '1279px'},
'lg': { 'max': '1023px'  },
'md': { 'max': '767px' },
'sm': { 'max': '639px' },
https://tailwindcss.com/docs/breakpoints/#max-width-breakpoints
But now the site sidebar has reversed, in smartphone it shows the sidebar, and on desktop it disappears, what I have do to do change to work?
Thanks.

Hello there, @AndreSpecker ,
Thank you for your interest in working with our products.
At the moment we do not have a solution for your issue, please revert the changes to our original code.
Best,
Manu


Restart fails

Coming from https://github.com/gokrazy/gokrazy/issues/154.
Restarting doesn't work when run through qemu. This is stderr:
2022/11/20 18:01:38 gokrazy: attempt 0, starting ["/user/mkfs"]
2022/11/20 18:01:38 Found mountpoint "/"
2022/11/20 18:01:38 Found mountpoint "/dev"
2022/11/20 18:01:38 Found mountpoint "/tmp"
2022/11/20 18:01:38 Found mountpoint "/dev/pts"
2022/11/20 18:01:38 Found mountpoint "/dev/shm"
2022/11/20 18:01:38 Found mountpoint "/run"
2022/11/20 18:01:38 Found mountpoint "/proc"
2022/11/20 18:01:38 Found mountpoint "/sys"
2022/11/20 18:01:38 Found mountpoint "/sys/fs/cgroup"
2022/11/20 18:01:38 No /perm mountpoint found. Creating file system on /dev/vda4
2022/11/20 18:01:38 Writing self-contained mke2fs to /tmp/gokrazy-mkfs-204447501
2022/11/20 18:01:38 [/tmp/gokrazy-mkfs-204447501/mke2fs -t ext4 /dev/vda4]
mke2fs 1.46.5 (30-Dec-2021)
Post "http://localhost/reboot": dial tcp [::1]:80: connect: connection refused
2022/11/20 18:01:43 gokrazy: process should not be supervised, stopping
2022/11/20 18:01:43 gokrazy: exit status 125

@stapelberg I guess that's because I have moved the host application to :80 (and gokrazy is on :443). Would you like a PR for a command line option to change the port of mkfs or do you see a better approach?

@stapelberg I guess that's because I have moved the host application to :80 (and gokrazy is on :443). Would you like a PR for a command line option to change the port of mkfs or do you see a better approach?

There is a better approach indeed: like breakglass, we should read the parameters for loopback gokrazy API requests from the file system: https://github.com/gokrazy/breakglass/blob/2c1eed342dd4dc5ee4f00bbc1f7bd62fd49171c4/breakglass.go#L118
Feel free to copy this into mkfs and send a PR for now, but we should eventually have a package in gokrazy/internal which helps with this.

Fixed with PR #4


Miner's Fervor does nothing

Same as (closed) issue #44
Miners Fervor enchantment has no effect on mining speed.
Tested with diamond pick with and without enchantment.
Tested on andesite and obsidian.
Using Zenith v1.1.9 in the Prominence II RPG modpack.
A pack "staff" member suggested the enchant was "just bad" but i feel like it must be a bug.
Let me know if more information is needed.
Ty!

I'm also getting this. Miners Frevor AND Boon of the Earth are not working.

Tested it just now in the Promience II RPG modpack. Tested it at varying different y levels, comparing to an efficiency 4 and a basic netherite pick. There is no difference and think it is a bug.


HBASE-26869 RSRpcServices.scan should deep clone cells when RpcCallCo…

…ntext is null

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m 54s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 24s
master passed

+1 :green_heart:
compile
3m  5s
master passed

+1 :green_heart:
checkstyle
0m 53s
master passed

+1 :green_heart:
spotbugs
2m  3s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 19s
the patch passed

+1 :green_heart:
compile
3m  1s
the patch passed

+1 :green_heart:
javac
3m  1s
the patch passed

-0 :warning:
checkstyle
0m 41s
hbase-server: The patch generated 2 new + 165 unchanged - 0 fixed = 167 total (was 165)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
12m 28s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotbugs
2m  7s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 17s
The patch does not generate ASF License warnings.

40m 10s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4249

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 6db4fa50a634 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 53a7ca794a

Default Java
AdoptOpenJDK-1.8.0_282-b08

checkstyle
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/1/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
60 (vs. ulimit of 30000)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 18s
Docker mode activated.

-0 :warning:
yetus
0m  2s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 21s
master passed

+1 :green_heart:
compile
0m 54s
master passed

+1 :green_heart:
shadedjars
3m 41s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 13s
the patch passed

+1 :green_heart:
compile
0m 54s
the patch passed

+1 :green_heart:
javac
0m 54s
the patch passed

+1 :green_heart:
shadedjars
3m 34s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 29s
hbase-common in the patch passed.

+1 :green_heart:
unit
194m 56s
hbase-server in the patch passed.

213m 43s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4249

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux a1b2d92506c3 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 53a7ca794a

Default Java
AdoptOpenJDK-1.8.0_282-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/1/testReport/

Max. process+thread count
2816 (vs. ulimit of 30000)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 41s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 44s
master passed

+1 :green_heart:
compile
3m 31s
master passed

+1 :green_heart:
checkstyle
1m  0s
master passed

+1 :green_heart:
spotbugs
2m 17s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 45s
the patch passed

+1 :green_heart:
compile
3m 34s
the patch passed

+1 :green_heart:
javac
3m 34s
the patch passed

+1 :green_heart:
checkstyle
1m  1s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
14m 35s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotbugs
2m 37s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 19s
The patch does not generate ASF License warnings.

42m 32s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4249

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 53df18ad624d 5.4.0-1025-aws #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0d7638d66d

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
60 (vs. ulimit of 30000)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 19s
Docker mode activated.

-0 :warning:
yetus
0m  2s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 13s
master passed

+1 :green_heart:
compile
0m 55s
master passed

+1 :green_heart:
shadedjars
3m 36s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 15s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

+1 :green_heart:
shadedjars
3m 34s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 29s
hbase-common in the patch passed.

-1 :x:
unit
183m  6s
hbase-server in the patch failed.

201m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4249

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 36183669a566 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0d7638d66d

Default Java
AdoptOpenJDK-1.8.0_282-b08

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/testReport/

Max. process+thread count
2246 (vs. ulimit of 30000)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 15s
Docker mode activated.

-0 :warning:
yetus
0m  4s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 18s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 33s
master passed

+1 :green_heart:
compile
2m 20s
master passed

+1 :green_heart:
shadedjars
6m 32s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 11s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
4m 30s
the patch passed

+1 :green_heart:
compile
1m 52s
the patch passed

+1 :green_heart:
javac
1m 52s
the patch passed

+1 :green_heart:
shadedjars
6m 27s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 14s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
3m 40s
hbase-common in the patch passed.

-1 :x:
unit
337m 36s
hbase-server in the patch failed.

374m 34s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4249

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 13730a65ff56 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0d7638d66d

Default Java
AdoptOpenJDK-11.0.10+9

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/testReport/

Max. process+thread count
2481 (vs. ulimit of 30000)

modules
C: hbase-common hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4249/2/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Please fix the check style issue.


Update QR Code Example to produce well-formed png file

The FDK-Java QR Code example has been updated for the latest Fn and Java versions. See: https://github.com/fnproject/docs/blob/master/fdks/fdk-java/examples/qr-code/README.md
However, the .png file output from the service is not well-formed. You get a 47 byte file that is not recognized as a .png. Someone needs to troubleshoot the code and see what's up.

Hi Mike,
Please could you try again this function? I just did it and the png file with the QR was created. I didn't change anything.
Let me know what happens

I was able to confirm what Angie found. If you pass the example the correct parameters, it works. However if you don't, the Function crashes with a 502 Gateway error.
The source code it throwing a RunTimeException if any data is passed in an incorrect format. This  of course causes the function to exit with no response.
I will update the code and example to support triggers and fix it early next week.

Fixed with PR: https://github.com/fnproject/docs/pull/115. Problem we were having was with curl not Fn.


[wrt][xwalk-3320] Update one test for wrt-securitymanu-android-tests

Fail reason: xwalk-2498

Impacted TCs num(approved): New 0, Update 1, Delete 0
Unit test Platform: Android
Android test result summary: Pass 0, Fail 1, Block 0

LGTM


[DONOTLAND] add support for browser bar search keyword

Proof of concept of adding support for browser based keyword search. This will require additional templating to fill in the xml with the actual hostname
This will help with safari (and chrome), as it will add the hostname as a keyword search.
Easy to test out using: go run ./cmd/golink -dev-listen :8080
In the below example you could localhost test and it would resolve to localhost/test which would then golink to the configured place.

docs:
https://developer.mozilla.org/en-US/docs/Web/OpenSearch#autodiscovery_of_search_plugins

I think we can expand on it to get syntax completion ..

Since we recently added a hostname flag, I think we'd want to serve the opensearch document from the go binary so that we can insert the correct hostname.  Probably somethign like http://go/.opensearch.

That will be a bit above my currently non-existent golang skills. But I can try my hand at it if needed.

No worries, I'll take a pass at it today.  This was something that was mention internally at tailscale too last eeek, so I'm excited to try it.

If you don't mind, I'd like to keep this PR open, so I can just make the changes right here.

no i didn't mean to.  oops!


handle torznab limits - query and grab

handle torznab grab and api limits and back off rather than continuing to hammer
prowlarr
2022-10-23 14:42:53.1|Warn|ProwlarrErrorPipeline|API Error:
BadRequest: Grab limit reached

cross seed error
2022-10-23 16:42:59 error: error downloading torrent at http://localhost:9696/prowlarr/44/download?apikey=[REDACTED]&link=YnR4eWJMYW9iN2NXREJ1Q3dqL3k0YUErenhRQ3V2OVlrK2VwdUhqeTNzMzdVbld1YlBScXZmam14V0ZWRTAzNWdSaTlrczhJTHVlS283QitXdVRJaW8xUENtVml6NXBxY0JRZDNrRmJUTzdwVFdOSUdZR2g5ckVyZWlNSitCMmpTOWVKTXNqYXJzMktyYTJUMUZMdERBNDY0QUl5Qnc4Vy9VYlpUQy9takVhTDU4a3FsQ3hwUVZzdkpQV0lnQXR4&file=Blue+Bloods+S13E03+720p+AMZN+WEB-DL+DD%2B+5.1+H.264-NTb: 400 Bad Request
2022-10-23 16:42:59 debug: response: {
  "message": "BadRequest: Grab limit reached",
  "content": "Grab limit reached"
}
2022-10-23 16:42:59 debug: headers: {
  connection: 'close',
  'content-type': 'application/json',
  date: 'Sun, 23 Oct 2022 21:42:59 GMT',
  server: 'Kestrel',
  'cache-control': 'no-cache,no-store',
  expires: '-1',
  pragma: 'no-cache',
  'transfer-encoding': 'chunked'
}

Is this a prowlarr-specific api response?
Any way it could return 429?

Definitely agree that this is important work tho

https://github.com/Prowlarr/Prowlarr/pull/1168

Jackett has a cache, Prowlarr refuses to implement it for one reason or another... this is a Prowlarr issue.

prowlarr not having a cache has nothing to do with hitting per indexer query/grab limits?

I agree. Caching != respecting rate limits
Regardless, it's been implemented.

prowlarr not having a cache has nothing to do with hitting per indexer query/grab limits?

Of course it does, if you have 4 clients hitting the RSS feed you've increased the amplification factor by 4x. If you use Jackett, it's still 1x. Prowlarr is still not a good citizen in this regard.

4 clients hitting the RSS feed you've increased the amplification factor by 4x.

you have 4 clients making the exact same query to the exact same sites within X minutes of each other?  Seems extremely unlikely and that is the only scenario where a cache would make any sense.
Regardless has no relevance to this GHI at all and only serves to add spam.

Relevant GHI for Prowlarr HTTP 200 => HTTP 429
https://github.com/Prowlarr/Prowlarr/issues/1416

4 clients hitting the RSS feed you've increased the amplification factor by 4x.

you have 4 clients making the exact same query to the exact same sites within X minutes of each other? Seems extremely unlikely and that is the only scenario where a cache would make any sense.
Regardless has no relevance to this GHI at all and only serves to add spam.

Cross-Seed runs a RSS search every (min) 10 minutes. This, per indexer, runs 144 times per day. If you run 4 clients, you're now hitting that same indexer 576 times per day. More for more consumers, less for less. There's a lot of arrogance here for a well defined (and solvable) problem, and slamming trackers, adding backoffs in other products because of it doesn't further the cause. I am very surprised Prowlarr isn't banned on every tracker because of it.
I've seen a couple edits, and it looks like you're still missing the plot. I've brought it up a number of times with you guys, and have gotten similar responses. This is absolutely related not only to this issue, but every issue where Prowlarr continues to operate in bad faith.

@KyleSanderson  Please quit violating GitHub Community Guidelines and spamming this GHI with a completely unrelated topic.
If you wish Prowlarr to add a cache, then open a feature request for Prowlarr.
Again, Prowlarr caching has nothing to do with Cross Seed handling rate limits for torznab and has nothing to do with cross-seed.

Prowlarr pending PR to make the response a HTTP 429 (with the existing content)
https://github.com/Prowlarr/Prowlarr/pull/1417

Prowlarr master now responds with 429 and  Retry-After in headers


onvif not installing using pip

i also try to install onvif 0.4 using pip.
error:
pip install suds==0.4
Collecting suds==0.4
Using cached suds-0.4.tar.gz (104 kB)
ERROR: Command errored out with exit status 1:
command: /home/dip05/anaconda3/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lsy9asid/suds_55a5bbb1e4954c50bf56df351e6e7092/setup.py'"'"'; file='"'"'/tmp/pip-install-lsy9asid/suds_55a5bbb1e4954c50bf56df351e6e7092/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1gjn0vm8
cwd: /tmp/pip-install-lsy9asid/suds_55a5bbb1e4954c50bf56df351e6e7092/
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-lsy9asid/suds_55a5bbb1e4954c50bf56df351e6e7092/setup.py", line 20, in
import suds
File "/tmp/pip-install-lsy9asid/suds_55a5bbb1e4954c50bf56df351e6e7092/suds/init.py", line 154, in
import client
ModuleNotFoundError: No module named 'client'
WARNING: Discarding https://files.pythonhosted.org/packages/bc/d6/960acce47ee6f096345fe5a7d9be7708135fd1d0713571836f073efc7393/suds-0.4.tar.gz#sha256=d5524ae523bb9e09c57bcdbd1efae2c287d20603688ea31f6020ed180a489af0 (from https://pypi.org/simple/suds/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement suds==0.4 (from versions: 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.4)
ERROR: No matching distribution found for suds==0.4

i am trying to install onvif in my Django project.
it depends on suds.
i try to reinstall suds by pip, output -
Requirement already satisfied: suds in /home/dip05/anaconda3/lib/python3.7/site-packages (0.3.5)
how I can I solve it, and upgrade

works only with python2

@ThomasCr Thanks for your reply. I was trying onvif-zeep for ptz controling

@FardadAnsari You can try python-onvif-zeep with Python3


Conversion not working

Hi,
first: thank you for your great work!
Using your library I discovered that:
Measure.of(1, radians.per(seconds)).in(degrees.per(seconds)).toString() returns "1 rad / s"
I expected it to return ~"57 deg / s"
Did I do something wrong?
Best regards
Michael

Hey Michael, thanks for reaching out!
This is a reasonable question, the problem here is that the expression degrees.per(seconds) has no symbol associated with it since we can't infer symbols from expressions like this. As such, we can't properly format in terms of that unit so we call back to the underlying unit which is rad/s in this case.
To fix this you can make a degrees per second measure with a symbol and use it to format as follows:
const degreesPerSecond = degrees.per(seconds).withSymbol("deg / s");
const result = Measure.of(1, radians.per(seconds)).in(degreesPerSecond);

Side note: The in method returns a string, no need to call toString() afterwards.
Let me know if you have anymore issues. Also take a look at the docs here: https://jscheiny.github.io/safe-units/measures.html#symbols (see this section and the following one on formatting). Curious to know if these would have been sufficient to answer your question and if not, how could they be improved/fixed to help understand-ability.

Hi Jonah,
thank you for your fast reply.
The documentation itself is excellent! Though the main issue was that I wasn't able to find it when I was looking out for it. It would be nice if you could also add the link to the documentation to the Readme.md ;-)
Cheers,
Michael


Add Codespaces support

Proposed Changes

Added .devcontainer folder
Dockerfile to be used in codespaces
created setup script ( See the go packages to use or remove)

Types of Changes

Development environment

Testing
Linked Issues

https://github.com/rancher/ecm-distro-tools/issues/197

Let's use a recent version of Go.


Leaderboards (probably) should be over datasets, not tasks

Currently leaderboards are over datasets, but if the test sets are not from the same dataset it's probably not very useful to compare the different scores/systems. It would be best to have leaderboards dataset-by-dataset.

In the backend, we’ll get the metadata id of the dataset first and use it to filter and retrieve the relevant systems in the DB.
We also need to create a new section of dataset leaderboards (or perhaps replace the current one). The table listing the systems can be reused.
We should also create an index for dataset metadata id (perhaps compounded with create date) in the system metadata collection to speed up performance.

Some additional thoughts:

Since it's a leaderboard, we should by default sort the systems by their scores. The overall score is stored under analysis.results.overall, but every task has a different metric, e.g. bleu, accuracy, f1 score. I'm thinking the backend should keep a map of "a dataset to a default canonical metric", retrieved from the SDK. Every time a dataset leaderboard is requested, it first retrieves the matching systems and sorts them by the metric.

Thanks!

In the backend, we’ll get the metadata id of the dataset first and use it to filter and retrieve the relevant systems in the DB.

Sounds good.

We also need to create a new section of dataset leaderboards (or perhaps replace the current one). The table listing the systems can be reused.

I think we could have

featured leaderboards for individual datasets at the top of the leaderboard page
a browser where we can browse (or search?) dataset leaderboards by task type at the bottom of the leaderboard page

We should also create an index for dataset metadata id (perhaps compounded with create date) in the system metadata collection to speed up performance.

Yes, sounds good.

Since it's a leaderboard, we should by default sort the systems by their scores. The overall score is stored under analysis.results.overall, but every task has a different metric, e.g. bleu, accuracy, f1 score. I'm thinking the backend should keep a map of "dataset to its default canonical metric", possibly provided by the SDK. Every time a dataset leaderboard is requested, it first retrieves the matching systems and sorts them by the metric.

Yes, this sounds excellent. The TasksType class in ExplainaBoard already has a variable like supported_metrics, maybe we could just use the first metric in that list for now?

This is done, great work @OscarWang114 !


bug d'install

hello,
i'm french, sorry for my english
i have a problem
i have upload Metadata in the folder Plugins...
but there is an error
''Internal Error: Identifier "language" is not defined.''
help me please...

Hi,
which Kanboard Version do you have?
And which plugin version did you downloaded?
Regards,
Timo

kanboard : 1.0.27
plugin : Version: 1.0.3

If you have Kanboard Version 1.0.27 you need Metadata  1.0.2.
Metadata 1.0.3 => Kanboard 1.0.28
Metadata 1.0.2 => Kanboard 1.0.27
https://github.com/BlueTeck/kanboard_plugin_metadata/releases

thank you very much

Same here with Kanboard 1.0.30, Metadata <IP_ADDRESS>

Kanboard 1.0.30 => https://github.com/BlueTeck/kanboard_plugin_metadata/releases/tag/<IP_ADDRESS>


add conversion-metrics-docs

What are you changing in this pull request and why?

Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):

[ ] Add/remove page in website/sidebars.js
[ ] Provide a unique filename for new pages
[ ] Add an entry for deleted pages in website/static/_redirects
[ ] Run link testing locally with npm run build to update the links that point to deleted pages

@mirnawong1 should we add conversion metric hyperlink here

@mirnawong1 should we add conversion metric hyperlink here

bloody hell amazing catch @WilliamDee ! nice one and I'll add it there 🙏


Ability to only allow certain barcode types to scan?

I have an issue where I am trying to scan a barcode which is directly underneath another barcode.  One is a simple 1-D barcode (not the one I want) and the other is a 2-D PDF417 barcode.

This library uses zbar which is a library for both iOS and Android. I believe Zbar lets you specify which barcode types you want to read. The plugin could be extended to include that functionality. PRs welcome!

I'm not sure how to even begin that process!

See #169


[SPARK-48928] Log Warning for Calling .unpersist() on Locally Checkpointed RDDs

What changes were proposed in this pull request?

This pull request proposes logging a warning message when the .unpersist() method is called on RDDs that have been locally checkpointed. The goal is to inform users about the potential risks associated with unpersisting locally checkpointed RDDs without changing the current behavior of the method.
Why are the changes needed?

Local checkpointing truncates the lineage of an RDD, preventing it from being recomputed from its source. If a locally checkpointed RDD is unpersisted, it loses its data and cannot be regenerated, potentially leading to job failures if subsequent actions or transformations are attempted on the RDD (which was seen on some user workloads). Logging a warning message helps users avoid such pitfalls and aids in debugging.
Does this PR introduce any user-facing change?

Yes, this PR adds a warning log message when .unpersist() is called on a locally checkpointed RDD, but it does not alter any existing behavior.
How was this patch tested?

This PR does not change any existing behavior and therefore no tests are added.
Was this patch authored or co-authored using generative AI tooling?

No.

It is unclear to me what the value of adding this to unpersist is.
Use of local checkpoint'ing, irrespective of whether it was persist'ed or not, is risky.

It is unclear to me what the value of adding this to unpersist is.

I think it at least gives users an explict warning in first place rather than relying on the lazily triggered error msg in the case of the misuse of local checkpoint. And local checkpoint is still used by the public API today, Dataset#localCheckpoint(). So might be ok to add it.

My point is, use of persist/unpersist is orthogonal to this - so why special case only here ?
Better would be to add it when user invokes local checkpoint

My point is, use of persist/unpersist is orthogonal to this - so why special case only here ?

Yes, you are right that the use of persist/unpersist can be orthogonal to this. However, we special case because calling.unpersist() after local checkpointing will lead to job failure if any recomputation happens.  .unpersist() is usually a safe operation because the RDD can still be recomputed if unpersist() is called, but not in this case.

Better would be to add it when user invokes local checkpoint
When user invokes .localCheckpoint(), this is fine as long as they understand the risk of having no fault-tolerance, but the combo localCheckpoint() + unpersist() can happen when there is no executor failure, so this is just to make users aware of the potential consequences.

If there is no executor failure, whether unpersist is called or not, there should be no failure as there is locally checkpointed data on the node.
Are you seeing this not being the case ?

If there is no executor failure/loss, whether unpersist is called or not, there should be no failure as there is locally checkpointed data on the node. Are you seeing this not being the case ? (It has been quite a while since I looked at this though, so hopefully I am not misremembering)

You're right that when there is no executor failure, there is no failure when you call .localCheckpoint() and .unpersist() by themselves. However, if you perform any action on the RDD afterwards, it will lead to an exception. This happens because, after unpersisting, the lineage is cut, and the RDD cannot be recomputed. For example:
  val checkpointedDf = sql("select * from range(10)")
    .localCheckpoint(eager = false)
  val rdd = checkpointedDf.queryExecution.analyzed.asInstanceOf[LogicalRDD].rdd
  checkpointedDf.collect()
  rdd.unpersist()

// EXCEPTION HAPPENS HERE
    checkpointedDf.collect()

The last line results in an exception because the checkpointed RDD is evicted, even without node failure. Logging a warning after rdd.unpersist() would make it clearer to users what the consequence would be.

Ah, I see what you mean - sorry, I had forgotten that this is simply relying on storage level and not actually writing to the local disk (similar to hdfs for regular checkpoint).
Make sense to add this.

Merged to master, thanks for fixing this @mingkangli-db !
Thanks for the reviews @jiangxb1987 , @Ngone51 :-)
Also thanks to everyone for answering my queries - I really was misremembering how local checkpoint was happening.