Error when creating filter for storage filename

Describe the bug
When creating a new view filter based on storage filename, exception pops up.
To Reproduce
Steps to reproduce the behavior:

Go to Project view
Click on 'Filters', select "Storage filename" "contains"
Exception pop ups

Expected behavior
Expect to filter tasks by storage filename filter.
Screenshots

Environment (please complete the following information):

OS: Ubuntu 22.04, docker image tag 1.6.0
Label Studio Version 1.6.0rc5

Additional context
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1955, in add_fields
    join_info = self.setup_joins(name.split(LOOKUP_SEP), opts, alias, allow_many=allow_m2m)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1648, in setup_joins
    path, final_field, targets, rest = self.names_to_path(
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1562, in names_to_path
    raise FieldError("Cannot resolve keyword '%s' into field. "
django.core.exceptions.FieldError: Cannot resolve keyword 'storage_filename' into field. Choices are: annotations, cancelled_annotations, comment_authors, comment_count, created_at, data, drafts, file_upload, file_upload_id, id, inner_id, io_storages_azureblobimportstoragelink, io_storages_gcsimportstoragelink, io_storages_localfilesimportstoragelink, io_storages_redisimportstoragelink, io_storages_s3importstoragelink, is_labeled, last_comment_updated_at, locks, meta, overlap, predictions, project, project_id, total_annotations, total_predictions, unresolved_comment_count, updated_at, updated_by, updated_by_id

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/django/utils/decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "/label-studio/label_studio/data_manager/api.py", line 202, in get
    queryset = self.get_task_queryset(request, prepare_params)
  File "/label-studio/label_studio/data_manager/api.py", line 173, in get_task_queryset
    return Task.prepared.only_filtered(prepare_params=prepare_params)
  File "/label-studio/label_studio/data_manager/managers.py", line 630, in only_filtered
    return queryset.prepared(prepare_params=prepare_params)
  File "/label-studio/label_studio/data_manager/managers.py", line 451, in prepared
    queryset = apply_filters(queryset, prepare_params.filters, project, request)
  File "/label-studio/label_studio/data_manager/managers.py", line 326, in apply_filters
    value_type = type(queryset.values_list(field_name, flat=True)[0]).__name__
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 867, in values_list
    clone = self._values(*_fields, **expressions)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 835, in _values
    clone.query.set_values(fields)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 2272, in set_values
    self.add_fields(field_names, True)
  File "/usr/local/lib/python3.10/dist-packages/django/db/models/sql/query.py", line 1982, in add_fields
    raise FieldError("Cannot resolve keyword %r into field. "
django.core.exceptions.FieldError: Cannot resolve keyword 'storage_filename' into field. Choices are: annotations, cancelled_annotations, comment_authors, comment_count, created_at, data, drafts, file_upload, file_upload_id, id, inner_id, io_storages_azureblobimportstoragelink, io_storages_gcsimportstoragelink, io_storages_localfilesimportstoragelink, io_storages_redisimportstoragelink, io_storages_s3importstoragelink, is_labeled, last_comment_updated_at, locks, meta, overlap, predictions, project, project_id, total_annotations, total_predictions, unresolved_comment_count, updated_at, updated_by, updated_by_id

@nazikus Source filename is a column for displaying only, filters are not supported. If you could contribute, it would be great :)

Related: https://github.com/heartexlabs/label-studio/issues/2062

this is duplicate of https://github.com/heartexlabs/label-studio/issues/3076


Offer prefix search

Add "Starts with" criteria in vault for searching.
Place it at first place above "Contains".
Reason: lower database load.

The proper solution would be a text search db like EalsticSearch, but i guess that is overkill...

Yes, you are right, but we won't add another technology to faf, because we're lacking the man power.

Apart from what norraxx already stated I don't see how throwing  onto our stack magically integrates with our existing applications / frameworks.
So no it's not a "proper" solution. Without an actual concept it's just a buzzword.

Hyped? Elasticsearch is an almost boring standard solution for text search (its THE most popular solution), and its not that hard to utilize. But since i don't want to maintain sync to an additional db and you probably don't as well, it is, as i stated, overkill.

First of all:

there is no magic and we should to do more job, than we now imagine.
For example we should to have the way to synchronize data between databases, otherwise our integrity will fail, and we will show invalid results. It brings us some sort of queues + code.
We don't have man capacity, (I don't have my capacity for faf, sorry)
It was first thing that I've offered, but... see line above.

And YES! Lucene, or wrapper on Lucene called - Elasticsearch would solve fulltext problems - yes, but not other problems like: fulltext word + join on 4 tables ordered by 4th one.

Yeah its not as easy as "install ES and it magically works". Maybe at some point in the far future.

add a start inform and make search for IS


Replacing the type annotation "re.Match" with Match from the typing m…

Replacing the type annotation "re.Match" with type alias Match from the typing module in python
Reference:
https://docs.python.org/3.6/library/typing.html#typing.Match
Changes to be committed:
modified:   nbqa/main.py

Any reason, pylint is not included as part of .pre-commit-config.yaml.
I could see two hooks for mypy as part of the pre-commit configuration. Any reason for two mypy hooks?

I am planning to add pylint to pre-commit config and remove one of the mypy precommit hooks from the config. Your thoughts on these changes?

@all-contributors please add @girip11 for code


Added the Access tab link to the product page template

On all products, on the Overview tab, the text that used to say "see the ‘Access’ tab." is now a link that goes directly to the Access tab when clicked.

@benji-glitsos-ga I noticed that this PR doesn't seem to have taken effect. I wonder if one of the other PRs we merged at about the same time didn't pull this one in, and it got over written?

@CEKrause It seems to have taken effect. On this page, the Access tab is now a link:
For help accessing the data, see the Access tab.

I must have been looking at a demo site. Sorry!


Help with crash data in dashboard

Please fill in the following fields:
Unity editor version:  2019,2,12
Firebase Unity SDK version:  6.13.0
Source you installed the SDK (.unitypackage or Unity Package Manager): unitypackage
Firebase plugins in use (Auth, Database, etc.): Analytics+crashlytics
Additional SDKs you are using (Facebook, AdMob, etc.): no
Platform you are using the Unity editor on (Mac, Windows, or Linux): windows
Platform you are targeting (iOS, Android, and/or desktop): ios\android
Scripting Runtime (Mono, and/or IL2CPP): IL2CPP
i have strange crash deta in my dashboard. Can you help me to fix crashes?

Hi @marad747
Unfortunately, that isn't enough information to track down the problem.  My one assumption would be a problem with google play services on those devices, which can occasionally cause problems like that.  You can read a bit more about it, and how to do that check here: https://firebase.google.com/docs/unity/setup#confirm-google-play-version


App Size Challenge

Follow the directions found here: https://github.com/JonDouglas/AndroidPerformanceAndAppSizeChallenge#application-size

Application Size (Download Size)

Before Application Size Changes:

App download size: 43.9MB

After Application Size Changes:

App download size: 43.8MB

Any comments / feedback for how we can improve this experience?
Not to much difference... But the generated apk size is: 83.7MB

Let me attach you my terminal commands.
mookiefumi@robin:$ ./apkanalyzer -h apk download-size ~/Downloads/com.wecodeteam.wecatalog-Signed.apk
43.9MB

mookiefumi@robin:$ ./apkanalyzer -h apk download-size  ~/Downloads/com.wecodeteam.wecatalog-Signed.aab
43.8MB

Version Information (Help -> About Visual Studio -> Copy Information)
=== Visual Studio Community 2019 for Mac ===
Version 8.2.2 (build 21)
Installation UUID: ac36fa1b-04d0-4fff-864b-2eada556b0f8
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac <IP_ADDRESS> (d16-2-fix-mac-updates / 86973979)
Package version: 600000319

=== Mono Framework MDK ===
Runtime:
Mono <IP_ADDRESS>9 (2019-02/52203786470) (64-bit)
Package version: 600000319
=== NuGet ===
Version: <IP_ADDRESS>13
=== .NET Core ===
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.2.6
2.1.12
2.1.11
SDK: /usr/local/share/dotnet/sdk/2.2.401/Sdks
SDK Versions:
2.2.401
2.1.701
2.1.700
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Sdks
=== Xamarin.Profiler ===
Version: 1.6.11
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
=== Updater ===
Version: 11
=== Apple Developer Tools ===
Xcode 10.3 (14492.2)
Build 10G8
=== Xamarin.Mac ===
Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.
=== Xamarin.iOS ===
Version: <IP_ADDRESS> (Visual Studio Community)
Hash: c6691164
Branch: d16-2
Build date: 2019-07-29 15:54:05-0400
=== Xamarin Designer ===
Version: <IP_ADDRESS>9
Hash: 3f0652957
Branch: remotes/origin/d16-2
Build date: 2019-08-01 17:32:50 UTC
=== Xamarin.Android ===
Version: <IP_ADDRESS> (Visual Studio Community)
Commit: xamarin-android/d16-2/ebd65c9
Android SDK: /Users/mookiefumi/Library/Android/sdk
Supported Android versions:
8.0 (API level 26)
8.1 (API level 27)
SDK Tools Version: 25.2.3
SDK Platform Tools Version: 29.0.2
SDK Build Tools Version: 28.0.3
Build Information:
Mono: mono/mono/2019-02@e6f5369c2d2
Java.Interop: xamarin/java.interop/d16-2@d64ada5
LibZipSharp: grendello/LibZipSharp/d16-2@caa0c74
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.27.1@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-2@6f6c969
=== Microsoft Mobile OpenJDK ===
Java SDK: /Users/mookiefumi/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_<IP_ADDRESS>
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
=== Android Device Manager ===
Version: <IP_ADDRESS>
Hash: d03e3ea
Branch: remotes/origin/d16-2~1
Build date: 2019-07-30 21:29:36 UTC
=== Xamarin Inspector ===
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1
=== Build Information ===
Release ID: 802020021
Git revision: d2ffd09000c5d24a206b715b63d409e8e965689a
Build date: 2019-08-02 00:25:49+00
Build branch: release-8.2
Xamarin extensions: 4cc9cbbe68baaeb6bc654f36e057b1bd124f3f65
=== Operating System ===
Mac OS X 10.14.6
Darwin 18.7.0 Darwin Kernel Version 18.7.0
Thu Jun 20 18:42:21 PDT 2019
root:xnu-4903.270.47~4/RELEASE_X86_64 x86_64
=== Enabled user installed extensions ===
Xamarin.HotReload <IP_ADDRESS>10000

@MookieFumi Thank you so much for your submission! To claim your swag, please fill out this quick survey!
http://aka.ms/androidappchallenge


feat: add lifecycle rule for attachments

Expire files stored in the document download bucket after 3 days if they are stored in the tmp/ folder.
Trello: https://trello.com/c/wtkWVPcA/369-let-clients-attach-files-directly-to-emails-with-the-api

✅


Unicode Failure

sqlalchemy.exc.ProgrammingError: (sqlite3.ProgrammingError) You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. [SQL: u'SELECT "transaction".id AS transaction_id, "transaction".is_tombstone AS transaction_is_tombstone, "transaction".accepted AS transaction_accepted, "transaction".amount AS transaction_amount, "transaction".cash_amount AS transaction_cash_amount, "transaction".check_number AS transaction_check_number, "transaction".cleared AS transaction_cleared, "transaction".credit_amount AS transaction_credit_amount, "transaction".credit_amount_adjusted AS transaction_credit_amount_adjusted, "transaction".date AS transaction_date, "transaction".date_entered_from_schedule AS transaction_date_entered_from_schedule, "transaction".entities_account_id AS transaction_entities_account_id, "transaction".entities_payee_id AS transaction_entities_payee_id, "transaction".entities_scheduled_transaction_id AS transaction_entities_scheduled_transaction_id, "transaction".entities_subcategory_id AS transaction_entities_subcategory_id, "transaction".flag AS transaction_flag, "transaction".imported_date AS transaction_imported_date, "transaction".imported_payee AS transaction_imported_payee, "transaction".matched_transaction_id AS transaction_matched_transaction_id, "transaction".memo AS transaction_memo, "transaction".source AS transaction_source, "transaction".subcategory_credit_amount_preceding AS transaction_subcategory_credit_amount_preceding, "transaction".transfer_account_id AS transaction_transfer_account_id, "transaction".transfer_subtransaction_id AS transaction_transfer_subtransaction_id, "transaction".transfer_transaction_id AS transaction_transfer_transaction_id, "transaction".ynab_id AS transaction_ynab_id, "transaction".parent_id AS transaction_parent_id, budget_1.id AS budget_1_id, budget_1.is_tombstone AS budget_1_is_tombstone, budget_1.last_month AS budget_1_last_month, budget_1.first_month AS budget_1_first_month, budget_1.knowledge_id AS budget_1_knowledge_id \nFROM "transaction" LEFT OUTER JOIN budget AS budget_1 ON budget_1.id = "transaction".parent_id \nWHERE "transaction".imported_payee = ? ORDER BY "transaction".date DESC\n LIMIT ? OFFSET ?'] [parameters: ('Caff\xc3\xa8 Nero', 1, 0)]

String is Caffè Nero

https://github.com/scottrobertson/pynYNAB/commit/75431d8c3c549fc2da6fe8edd54186d86e191118
Seems to help, but i get:
/usr/local/lib/python2.7/site-packages/sqlalchemy/sql/type_api.py:359: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  return x == y

Sorry for the long delay. This is happening when inserting a transaction with a payee with that name I think ? Trying to build a minimal test case

interestingly, it's only failing for python 2.7
https://travis-ci.org/rienafairefr/pynYNAB/builds/288719975

Interesting...
I don't know enough about python to know why that would be the case, but i suspect they changed how they handle strings internally or something?

yep, unicode strings became the default for strings, that's probably why this fails. I have to chase out the remaining places where str are handled instead of unicode.

Do you have an idea where the offending string came from ? Was it in fintech-to-ynab ?

It's from a CSV from Monzo. I built a CSV import into fintech-to-ynab
On 16 Oct 2017 21:06, "Matthieu Berthomé"<EMAIL_ADDRESS>wrote:

Do you have an idea where the offending string came from ? Was it in
fintech-to-ynab ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rienafairefr/pynYNAB/issues/55#issuecomment-337021626,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAELCWO7Y1GQ_3L4vhBobZ9Z-7lOQDZ4ks5ss7c1gaJpZM4Pz-MM
.

yeah, that's why. In your import.py, you should use a unicode-ready csv reader or convert data to unicode before passing it to pynYNAB
I already built csv import into pynYNAB, once installed I think calling pynYNAB csvimport [some options] should work, or import  pynYNAB/scripts/csvimport.py . There might still be problems, the scripts ofximport/csvimport are not used a lot

Yeah, the csvimport did not work, so I just built my own. I also wanted to add some more logic down the road to keep things similar to how fintech-to-ynab does things.
I will have a look into a unicode-ready CSV reader :)
Thanks for the help. I come from Ruby land, so i am not used to having to do all of this stuff manually 😆


UML-998 automate twig text extraction

Purpose
Briefly describe the purpose of the change, and/or link to the JIRA ticket for context
Fixes UML-998
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the Refunds service
Checklist

[ ] I have performed a self-review of my own code
[ ] I have added relevant logging with appropriate levels to my code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] The product team have tested these changes

This PR is mad. Probs better to start again.


[SPARK-38281][SQL][Tests] Fix AnalysisSuite under ANSI mode

What changes were proposed in this pull request?
Fix the org.apache.spark.sql.catalyst.analysis.AnalysisSuite under ANSI mode.
With ANSI on, there won't be a type cast on string a / string b. Make the cast assertion only when ANSI is off.
Why are the changes needed?
To set up a new GA job to run tests with ANSI mode before 3.3.0 release.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Test locally with both ANSI on and off, both passed.

Can one of the admins verify this patch?

@gengliangwang ;)

Thanks, merging to master


Fix label comparison in voc format

Fixed labelmap generation for source label map in VOC  format

Closes #1379

Yes, I did.


⚠ Turnos 24x7 has degraded performance

In e138ae3, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 998 ms

Resolved: Turnos 24x7 performance has improved in 2cc52a3.


Default heartbeat payload complete

Fix Issue #666
This is for adding the remainder of the proposed default payload fields for the heartbeat feature.

[x] I ran Unit Tests locally. NOTE: 3 tests are failing in netcoreapp1.1.Tests due to version mismatch in System.Diagnostics.DiagnosticSource on my local machine. I will be investigating those after I see how the CI system runs...

For significant contributions please make sure you have completed the following items:

[x] Design discussion issue #666 & #636
[x] Changes in public surface reviewed
[ ] CHANGELOG.md updated with one line description of the fix, and a link to the original issue.

Note that the size of the payload can now be discussed, and we can sort out the best default to use for heartbeat delay.
Here is the JSON payload created by the SDK on my Linux VM in Azure (minified):
{"name":"Microsoft.ApplicationInsights.Metric","time":"2017-12-07T18:05:06.5941919Z","seq":"0","tags":{"ai.operation.syntheticSource":"HeartbeatState","ai.internal.sdkVersion":"dotnet:2.5.0-45161"},"data":{"baseType":"MetricData","baseData":{"ver":2,"metrics":[{"name":"HeartbeatState","kind":"Aggregation","value":0,"count":1}],"properties":{"osType":"Linux","baseSdkTargetFramework":"netstandard1.3","osVersion":"Linux 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017","runtimeFramework":".NET Core <IP_ADDRESS>","name":"dek-linux-2","sku":"17.10","vmSize":"Standard_E8s_v3","vmId":"3596acb8-43ef-4761-adfd-f90db3dc9dad","location":"centralus","offer":"UbuntuServer","platformUpdateDomain":"0","platformFaultDomain":"0","publisher":"Canonical","version":"17.10.201711220"}}}}
This is 785 bytes long, minified.
Let's take this as the minimum default size (it's not) and make the maximum 785 x 2=1570 bytes. Using those as the range, here's the storage cost of using different heartbeat delay values for a service running 24/7 in a month of 30 days:

Payload Size (JSON, bytes)
Heartbeat Rate (min)
% Daily Usage @ 1Gb/Month

785
0.5
6.32

785
5.0
0.63

785
10.0
0.32

785
15.0
0.21

1570
0.5
12.63

1570
5.0
1.26

1570
10.0
0.63

1570
15.0
0.42

Given this information, I think to leave the default at 15 minutes is fine, but it certainly could be increased as far as every 5 minutes and still have a fairly negligible effect. Thoughts?

what's the status of this PR? Time to review again? Please ping when you need review

@cijothomas I completed the PR suggestions you and I walked through yesterday. Let me know if we need any further fixes/updates. Would love for the base to be in for 2.6-beta1

Thanks @cijothomas and @Dmitry-Matveev for the feedback. I've addressed all concerns, please have a look and let me know if you want any other changes.

Looks OK, @cijothomas , any other comments?


Taxon change update header can't be translated properly

Currently looks like this:

That's coming from https://github.com/inaturalist/inaturalist/blob/master/app/helpers/application_helper.rb#L1128, where we're modifying the article based on English rules in code. That should be up to the translators.

Also 'replace with' is not translated in the update and the email with updates.

Also 'replace with' is not translated in the update and the email with updates.


Extend from AbstractHandlerContainer instead of AbstractHandler

Fixes #2455

Thanks @mattnelson, fixed!

AppVeyor failed with:
[ERROR] Errors:
5910[ERROR]   JerseyClientIntegrationTest.testBufferedGzipPost:111->postRequest:209 � Processing

Would it be possible to have this included in the 1.3.6 release?


Follow up on improvements applied to all sdks

@augustorsouza @miguelspe Hey guys! I hope you are doing well!
First of all, thank you for your efforts so far! I made this PR because recently, we have started working on a slightly big SDK improvement project that has an impact on our Swift SDK as well, which was the baseline for this repo.
During the holidays I had some free time and - I hope you don't mind - I decided to catch up on this SDK with these improvements, so you don't have to work twice on something that we will introduce in swift just in the near future. Also, I was already in the flow, so more or less everything was composed in my head already. :)
I have also added the remaining functionality that was untouched but yet missing from here. It's not 100% complete, but a good baseline for a first pre-release I think.
I would be glad if you could take a look and share your feedback with us! :) Thank you!

Hi @z4kn4fein, @mugbug will help here with the review :)


make tests pass

fix "use of deprecated item: renamed to send"

Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:

Commit: ecf678d2d39a72f744f7446ea3feda06355b8058
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

Thanks!


Add axis parameter to lax.scan

I have tried to add a bit more convenience on the scan function by specifying the axis to iterate over. It should basically get rid of the need of transposing the input before doing the scan without a performance loss.
Hoping it can partially fix #2509. I am still not getting the expected performance on #2491 but it think should be faster than working with transposes.  (Not really clear why it isn't in my tests)
The basic idea behind it is to get the correct index_array/dynamic_index_array of the appropiate axis instead of axis=0.
The current implementation is:
In [1]: import jax

In [2]: xs = jax.numpy.full((100, 100, 100), 42)

In [3]: f = lambda carry, x: (carry + x.max(), x.max())

In [4]: %timeit jax.lax.scan(f, 0.0, xs)
86.3 ms ± 1.15 ms per loop (mean ± std. dev. of 7 runs, 10 loops each)

In [5]: %timeit jax.lax.scan(f, 0.0, xs, axis=1)
86.2 ms ± 388 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

In [6]: %timeit jax.lax.scan(f, 0.0, xs, axis=2)
88.3 ms ± 753 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

So it does not seem to be any overhead on using axis > 0, and of course the results I have checked are correct. Although I guess there should be some unit tests to cover it.
In [14]: xs2 = jax.numpy.ones((5,10))

In [15]: jax.lax.scan(f, 0.0, xs2, axis=0)
Out[15]:
(DeviceArray(5., dtype=float32),
 DeviceArray([1., 1., 1., 1., 1.], dtype=float32))

In [16]: jax.lax.scan(f, 0.0, xs2, axis=1)
Out[16]:
(DeviceArray(10., dtype=float32),
 DeviceArray([1., 1., 1., 1., 1., 1., 1., 1., 1., 1.], dtype=float32))

Please, let me know if this is something you are interested in merging and if you have any ideas to improve it.

This look reasonable to me, but it needs some tests (probably in lax_control_flow_test.py).

Thanks for exploring this!
I think thorough tests are the top priority here. There are some things, like the scan batching rule, that assume the scanned-over axis is always the leading one, and so e.g. it's safe to place the batch axis as the second axis. I think some code with those assumptions will need to be revised. The only way to ferret out all such assumptions is to have really thorough tests.
Luckily I don't think there are any fundamental blockers to this generalization!

Hi @mattjj, could you show me some short snippets of user code that should work. That way I can extend them into unit tests and then check that everything is working, since Jax is a large project and I am having a hard time thinking of tests.
I am eager to get this properly tested and merged now that I can focus on it!

Just checking in what the latest on this PR is @mattjj. I have an open TODO to include this in Haiku link. Thanks!

Just checking in what the latest on this PR is @mattjj. I have an open TODO to include this in Haiku link. Thanks!

Is there anything blocking here? Would be great to get this one in. Happy to take it on myself. Cheers.

Thanks for the pings. Sorry for the 6+ month delay time!
The blocker is adding thorough tests. I think the ideal tests would cover cases like scanning over different axis indices (maybe making the current test a parametrized test?), autodiff, and vmapping. I'm especially concerned about vmapping, because I suspect the _scan_batching_rule function may still assume that the scanned-over axis is the leading axis (though that's just a suspicion!). The file lax_vmap_test.py has some examples for how to write thorough vmap tests, which cover lots of combinations of axes for different arguments.
Does that make sense?

Oh, I just realized I completely missed your message. That makes sense! I'll see if I can take a look at this next week. Thanks!

@hamzamerzic As it has been a while since I opened this PR, I cleaned a bit the commits and parametrized the current tests as Mathew suggested. Everything is currently working for the normal implementation, which is what I needed, but when I tried to parametrize the tests that deal with batching such as testScanLinearize and testScanGrad, I did get failing results which none of my attempts were able to fix. It seems that the reason is, as Mathews correctly guessed, the _scan_batching_rule function and its assumption of leading axis.
You are more than welcome to continue this PR or throw it all and start from scratch, whichever suits you better :smile:


nexus catalog tags or alias

Tags should have a key and a value (like project: testfeld)
Tags are good to find a group catalogs for a specific topic. Often this topic is a specific project and sometimes it is a specific location like a wind farm.
The currently used path becomes the name of the catalog. There should be an unlimited number of aliases and aliases should be hideable (deprecatable) so they can be removed somehow but old scripts continue to work.


Bump SBOM version so the file output is sbom-desktop-vX.Y.Z.json

Summary
Change SBOM file from sbom.json to sbom-desktop-vX.Y.Z.json
Ticket Link
https://mattermost.atlassian.net/browse/SEC-7235
Release Note
NONE

/cherry-pick release-5.9

Cherry pick is scheduled.

/cherry-pick release-5.10

Cherry pick is scheduled.


Extend Gslb CRD with additionalPrinterColumns

Use https://book.kubebuilder.io/reference/generating-crd.html#additional-printer-columns
to add additionalPrinterColumns exposing strategy and geoTag of Gslb CR
From the user perspective it looks like
kubectl -n test-gslb get gslb
NAME                 STRATEGY     GEOTAG
test-gslb            roundRobin   eu-west-1
test-gslb-failover   failover     eu-west-1

Signed-off-by: Yury Tsarev<EMAIL_ADDRESS>

While there, can we please have host as well?

There can be many hosts for the same Gslb also there is a representation type limitation of
 must be one of boolean,date,integer,number,string

So
k -n test-gslb get gslb test-gslb-failover
NAME                 GEOTAG      HEATHYRECORDS                                                            SERVICEHEALTH
test-gslb-failover   eu-west-1   map[failover.test.k8gb.io:[<IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>]]   map[failover.test.k8gb.io:Healthy]

doesn't look cool
So I don't know how to properly represent the object in the print column.


Bug: Spaces are inserted into Inline code blocks after linting when "Space between Chinese and English or numbers" turned on

Describe the Bug
I put Chinese characters in inline code blocks sometimes, like when I quote a code snippet containing a Chinese string: filepath = './知识_巴别图书馆.md'. I found that if I do the linting, spaces would be added between the underscore and backquote, which is not I want. Could you please fix this? Just keep them unchanged in inline code blocks will do.
I turned on the rule "Space between Chinese and English or numbers".
How to Reproduce
Here are some examples. None of them should add any space. Some of them work fine but some are not.
`test`
`test_case`
`test_case_here`
`test*case`
`test*case*here`
`测试`
`测试_一下`
`测试_一下_吧`
`测试-几个-才行`
`测试*一下`
`测试*一下*你们`
`测试一下**你们**所有人`
`测试this case`
`测试_this_case`
`this_测试-还*可以`
`filepath = './知识_巴别图书馆.md'`

Expected Behavior
Same as input.
Current Behavior
`test`
`test_case`
`test_case_here`
`test*case`
`test*case*here`
` 测试 `
` 测试 _ 一下 `
` 测试 _ 一下 _ 吧 `
` 测试 - 几个 - 才行 `
` 测试 * 一下 `
` 测试 * 一下 * 你们 `
` 测试一下**你们**所有人 `
` 测试 this case`
` 测试 _this_case`
`this_ 测试 - 还 * 可以 `
`filepath = './知识 _ 巴别图书馆.md'`

Device

[x] Desktop
[x] Mobile

This should not be too bad to update. I should have it updated on the master branch later this week. The next release will depend on how many changes happen and when. Hopefully this will resolve your problem for you.

This should be fixed on the master branch now. It should also be fixed in the next release. Please let us know if either is not the case. I hope to have a release ready this weekend for the bug fixes I am working on, but only time will tell how that goes.


fix(docs): change media page title

📝 Description
Original media page title was "Utilities".
🚀 New behavior
Rename media page title as "Media"
💣 Is this a breaking change (Yes/No): No

Codecov Report

Merging #620 (5a50960) into main (f5b7e59) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #620   +/-   ##
=======================================
  Coverage   74.82%   74.82%
=======================================
  Files         200      200
  Lines        3098     3098
  Branches      956      956
=======================================
  Hits         2318     2318
  Misses        765      765
  Partials       15       15

Continue to review full report at Codecov.

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


Would this work with Nuitka?

https://nuitka.net/
I'd be interested to know if the runtime provided by 3DS.py would work with Nuitka. If so, it would provide a mechanism to run python with better performance. I'd be interested in implementing this so that python could be used to speed up development on things that don't require as tight an integration as C/C++.

I've never used it before so I can't make an accurate statement about it. Since it's apparently open source (you can download the source tree), it shouldn't be unfeasible to get it to work.
I haven't checked the source code but here is some advice if you're planning to roll a customized backend for the 3DS:

The 3DS is running applications on an ARM11 processor, so you're going to need a cross compiler. devkitPro's devkitARM is the recommended choice due to the group having a strong focus on creating an ecosystem for console homebrew.

While devkitPro tries their hardest to provide POSIX-like environments to those proprietary architectures which have barely anything with POSIX in common. pthreads, for example, can't be used for the 3DS due to the incompatible nature of how 3DS threading works. Keep in mind that there are certain features of Python which, as a result of that, need to be reimplemented with native 3DS interfaces, as exposed by ctrulib.

As you might want to interface with 3DS services via IPC, it should be considered to roll Python bindings to ctrulib.

My fork of CPython is more recent than the patches in the 3DS.py repository. If you're looking for reference implementations of certain functionality, such as threading or condition variables, you're better off diffing the 3ds branch against the 3.6 branch (of my fork) and see what's been changed.

If you're running into issues, feel free to join the 3DS.py Discord server and mention Vale#5252 for more specific help.


Can not streaming rtmp with camera1 on OnePlus2

I try to live stream video with camera1 on oneplus2 device but the video cannot publish to server. The logs prints video packet size: 16.
D/RtmpConnection: wrote packet: RTMP Video, size: 16 D/RtmpConnection: wrote packet: RTMP Video, size: 16 D/RtmpConnection: wrote packet: RTMP Video, size: 16
It is working in oneplus6t. Can you guide me to fix this for oneplus2?
I'm using LightOpenGlView.

Size of 16 is probably because you only have the header in the packet. Also this could happens if you send a image totally black.
Do you have your screen totally black or you have preview?
Can you try with SurfaceView to discard a bug with OpenGl?

I have preview and it is displaying totally fine but video being sent over the server is totally black.
I can try with SurfaceView but I need to keep aspect ratio. Let's first see if it is working with SurfaceView or not.

Awesome. It worked with SurfaceView. How can I keep aspect ratio with SurfaceView? Face Detection is also not working. Is it something related to SurfaceView? How should I make sure that Face Detection works perfectly? I'm using Camera1 api. It is working with OnePlus6t but not OnePlus2.

If this work with surfaceview this is an OpenGl fail I will try fix it.
If you want keep aspect ratio you can try with texteview that should work because it doesn't use OpenGl.
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/app/src/main/java/com/pedro/rtpstreamer/texturemodeexample/TextureModeRtmpActivity.java#L185
Face detection is a feature that I never finished because it isn't working with camera2 and I can't find a solution so it can be bugged.

Awesome. I'll try with textureview.

Yes, It's working with textureview but aspect ratio is bad compare to OpenGl. If you can fix OpenGl than it would be great.

I did a fix in LightOpenGlView but I can't reproduce your case.
Can you test if this commit fix this issue?

sure

It's not working

Ok, I will try find the error.


ENH: add EEGLAB as valid coordinate system for EEG

closes https://github.com/bids-standard/bids-specification/issues/701

accompanying validator PR: https://github.com/bids-standard/bids-validator/pull/1268
relevant issue for the EEGLAB bids tools: https://github.com/sccn/bids-matlab-tools/issues/51

cc @arnodelorme @cll008 please check whether the details are correct

Thanks @sappelhoff, EEGLAB parts look good to me. Actually I'm wondering can we also make EEGLAB-HT legal, or if the dash character is problematic. If not,

EEGLAB-HJ : ALS orientation and the origin exactly between LHJ and RHJ.
For more information, see the
EEGLAB wiki page.

Actually I'm wondering can we also make EEGLAB-HT legal,

no objections from my side, I added it.

Hi Stefan,
We spotted some issues with our current model so are updating the definition. More in a week.
Cheers,
Arno

@arnodelorme @cll008 can we merge this now? Does this fit with the work you did from the EEGLAB side?

LGTM too!


Fix cabel-driver setting for helm deployments

Hi Alexey, the omission of helm testing was intentional since we don't want a huge matrix of tests. Even though GH Actions has more parallel slots (20 vs 5 in Travis), we still need to keep a reasonable amount of jobs.
I suggest that we can add one Helm + WG combination if you feel testing with Helm is of importance (as we already test WG with Operator).

Hi Mike, no problem, the WG helm deployment is not important, and can be put off.
But this PR fixes the helm deployment.
The parameter '--cable-driver ${{ matrix.cable_driver }}' format is wrong for helm, it should be '--set cable-driver=${{ matrix.cable_driver }}'

I'm addressing this as part of #613 I suggest we continue with that one (also supports libreswan) and close this one

based on @mkolesnik comment, I'm closing the PR.


Set correct Gensim licence

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Fixes #29. Not sure what the above check boxes are asking for (and no time / interest in investigating); I only fixed the incorrect licence as per #29.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

LGTM. I would wait for tests to pass before merging it in.

PR doesn't look good

The build number isn't bumped
Re-render not called (should be called after all changes applied)

Rerender is not needed to call for a small PR like this. I normally call it when there is a version update. As for the build bump, it needs to be done for the PR.

The PR is currently failing a test for translation matrix. Maybe a sporadic failure?

@conda-forge-admin, please rerender

@souravsingh  yes, this is "blinking test", sometimes it failed.

Should be good to merge after tests pass.


Delete nuspec files under src/nuget. They are not used anywhere anymore.

Fixes #4618

@rainersigwald Yes. I will push this to this fork and kick an official build off.

I did an official build of this branch and inserted into VS and everything worked. @rainersigwald any objections to merging this now?


iOS Release v2.13.2

Description
LEARNER-3942
iOS release v2.13.2

@salman2013 Need to update commit messages from 2.13.0 to 2.13.2

@saeed please review it again. Thanks


test_server_read_leader_with_unapplied_log failed

Bug Report
https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tikv_ghpr_test/runs/9888/nodes/153/steps/1185/log/?start=0

Duplicated with #7426.


Added dateTime for a single SoftwareUnitTestResult

Added dateTime to just UTR-1-1-1 to illustrate syntax and test RACK workflow. This works with dev version of RACK dated 1/28/2021/

@kquick : good catches! Not sure why the weird characters got introduced. Looking into the dateTime issue.

I'm working on update this PR against ontology changes. I'll push the updates soon.
There's definitely something wrong with the way the date times are being rendered to CSV, however. We should fix that, but it probably doesn't need to block this from being merged.

We'll want to re-run CSV generation with the ASSIST generated data in place. I'm not exactly sure how that works, yet.

OK, I found the issue. Don't use T in your dateTime literals, SADL doesn't like that. Use a space instead.

@glguy : Thank you very much! Here is what I see - want to confirm it with you.
In SADL I have has generatedAtTime "2017-03-23 10:03:16"
In OWL I see (note -4:00)
<j.0:generatedAtTime rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2017-03-23T10:03:16-04:00</j.0:generatedAtTime>
In csv I see Thu Mar 23 10:03:16 EDT 2017
In SemTK I see 2017-03-23T10:03:16-04:00

@AbhaMoitra as you pointed out the example wasn't specifying a timezone. Unfortunately SADL is rendering the results out in the local timezone, but I've updated the input to use UTC explicitly. We'll want people to specify timezones in their inputs times so that the semantics of their files don't depend on the current location, so this will make for an even better example.


[FEATURE] login page of bootstrap password

Describe the bug
There have two different pages to setup password, it's confusing.
To Reproduce
Steps to reproduce the behavior:

install Harvester
navigate to https://<VIP>/ - the general form
(and it actually redirect us to /dashboard/auth/setup)
navigate to https://<VIP>/dashboard/auth/login - this form requires user to do some docker/k8s commands

Expected behavior
Although we already redirect user to general form, but after setup password, we use 2nd's route path /dashboard/auth/login to show login page.
I think it would be nice that we change to use the same route path for setup password and login.
Environment:

Harvester ISO version: master-a4528869-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal DL360 single node

Additional context
[general form]

[command form]

Need @guangbochen to confirm if this is expected behavior. But good finding on the difference between the login pages @lanfon72 !

Alejandro asked in slack:

I am confused by the Dashboard setup on rc1 - after setting up my admin password, it’s asking for a bootstrap password. Is it talking about the Harvester cluster secret? Why does it want me running a docker command to find a password?

I report this as a reference.

Is the ui version v0.3.0?    I can't reproduce it at the moment, it may be an occasional problem.

reproduced on the version master-a4528869-head was released between v0.3.0-rc1 and v0.3.0-rc2.
I saw UI had many changes on v0.3.0, will try to reproduce this issue on it.

@lanfon72   The first login will automatically jump to dashboard/auth/setup. But at this time, you did not set a password, but entered the url to jump to /dashboard/auth/login ?

Not all users need to reset their passwords, and we don't know if we need to reset the initialized password before logging in.  So when the user enters the url to auth/login, we should not force the user to go to the setup/auth page to set the password.

Close as stale. Feel free to reopen if needed.


Make installation and tap instruction via Homebrew shorter

Instead of
$ brew tap flinesoft/bartycrouch
$ brew install flinesoft/bartycrouch/bartycrouch

it should look something like this:
$ brew tap flinesoft/formulae
$ brew install bartycrouch

This was fixed by adding BartyCrouch to Homebrew Core.


[🐞] server$ silently fails

Which component is affected?
Qwik Runtime
Describe the bug
import { component$ } from<EMAIL_ADDRESS>import {
  routeLoader$,
  Form,
  routeAction$,
  server$,
} from<EMAIL_ADDRESS>
const useDadJoke = routeLoader$(async () => {
  const response = await fetch("https://icanhazdadjoke.com/", {
    headers: { Accept: "application/json" },
  });
  return (await response.json()) as {
    id: string;
    status: number;
    joke: string;
  };
});

const useJokeVoteAction = routeAction$((props) => {
  console.log("VOTE", props);
});

export default component$(() => {
  const dadJokeSignal = useDadJoke();
  const favoriteJokeAction = useJokeVoteAction();
  return (
    <div class="section bright">
      <div
        onClick$={async () => {
          const joke = dadJokeSignal.value.joke;
          await server$(() => {
            console.log("CLICKED", joke);
          });
        }}
      >
        {dadJokeSignal.value.joke}
      </div>
      <Form action={favoriteJokeAction}>
        <input type="hidden" name="jokeID" value={dadJokeSignal.value.id} />
        <button name="vote" value="up">
          👍
        </button>
        <button name="vote" value="down">
          👎
        </button>
      </Form>
    </div>
  );
});

Click on the joke, notice that nothing prints on the server console.

switching from:
            console.log("CLICKED", joke);

to (remove joke var
            console.log("CLICKED");

and things work.
Reproduction
na
Steps to reproduce
No response
System Info
n/a

Additional Information
No response

@mhevery  this might be down to some confusion of what server$ is meant to do - Does it define a function that can be called later (used as a click handler for example), or does it immediately invoke the contained code?
If I switch it to:
        onClick$={async () => {
          const joke = dadJokeSignal.value.joke;
          const clickOnServer = server$(() => {
            console.log("CLICKED", joke);
          });
          await clickOnServer()
        }}

Then it works as expected, but is this the DX we want? This seems to be a mistake already made in discord: https://discordapp.com/channels/842438759945601056/1086280750770434069/1086358768234803292

yeah! i dont understand this issue either, the function is not being invocated!

Since it's a common issue, adding a eslint rule to close this issue:
https://github.com/BuilderIO/qwik/pull/3428


Runtime documentation

Is your feature request related to a problem? Please describe.
If we are having trouble using this plugin, we can only go to the web documentation pages to find out what happened. It will be convenient if we can check docs at runtime especially if you are a lazy guy.
Describe the solution you'd like
Add a help button at the topright corner.
Describe alternatives you've considered
Additional context
A help button at the topright corner.

No, I have to write better local documentation.


fix Reverse::reverse for Unicode surrogates

This is suboptimal solution, but it seems that iterating codepoints
right-to-left is hard. We still can do optimizations if proves
necessary.
Fixes #11

@ratijas thanks!


Create two sections of docs

This commit adds me geolock branch in to the Iris main branch, adding tabs and tab refs to the main line of the Iris docs. While this may be pre mature for f-stop, this needs doing before any f-stop structuring can begin if we want to retain auto merge on future pr's. Therefore, I am merging this now before we begin to plan the new structure. This update only adds one tab, but has support for far more that we can add in the near future. This also changes all urls to work again.

Looks good to me, I'm not a huge fan of the styling of the tabs and I think we need a better name than 'current' but am happy to merge for the moment.

sounds good, i dont love the name either but what else would we call it?


Sync community master into odh master

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Type of changes
Please delete options that are not relevant.

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

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

Unit tests are not passing... And it seems to be a lot of effort to fix.
Unless there is something urgent, I'd suggest to wait for my PR to be merged: https://github.com/kserve/kserve/pull/3316.
Once it is merged, we can revert some customizations on ODH fork which would make the sync much more seamless.

closed in favor of https://github.com/opendatahub-io/kserve/pull/151


gh-454 - Updated accumulo-store POM to ensure the resulting shaded JAR has the correct name

I think we are still missing these bits:
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>[insert name]</shadedClassifierName>

Once you have run a mvn clean install, if you look inside your repository in your .m2 folder, the jar names will still have 'shaded' appended.

Both of these elements are now included in the POM.  Does this ticket cover a specific shaded jar name?  Otherwise happy to approve.

I've corrected these issues now - the correct artifacts are created in the target/ directories and in the Maven repository.


[Datatable] Table row data is needlessly constrained by Up/Down Sort Icon

From https://jsw.ibm.com/browse/GRAPHITE-50211
when there's a table with sortable columns, the displayable area of the column EXCLUDES the vertical space taken up by the Up/Down sort icon.
See attached image... the red arrow points to the icon, and the braces show the area that should be available for displaying column data:
The App Name column has plenty of space to show the value of TECHMOBILE, but it shows "TECHMO...".  If you hover over the column header you will see the Up/Down sort icon appear and see that it is constraining the displayable width of the column text.

@JordanWSmith15 This seems to be a purposeful change that we are trying to undue in order to align with spec. See here. I have no opinions on this but by fixing one issue we are causing another. What is the preference here?


Endpoint to Extract User data

Can someone let me know what is the exact endpoint to pull User data ?
Like, for any given user , I want to extract following data

Username
name
Country
Region
City
Github Id
joining date
Last activity
Followers Count
Following count

The meta-kaggle dataset might have what you need. Does this help?
https://www.kaggle.com/datasets/kaggle/meta-kaggle?select=Users.csv
That table doesn't have everything you want, but there are other tables that have more.
The API does not have any support for querying user-related tables.

Isn't it possible to add Users class in https://github.com/Kaggle/kaggle-api/blob/main/kagglesdk/kaggle_client.py just like other classes and have implementation done using users.UsersService?


Uniform 32/64-bit support

The long_rel_ptrs feature adds support for 64-bit relative pointers, but we can do better. Anywhere usize is used, it should be replaceable with something like the Offset type.

Fixed by 05b09fdaad29210ede1aea6bb2db4da411328909


[CI] Fix: codecov update failure

Signed-off-by: Abhishek kr<EMAIL_ADDRESS>Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

All tests passes


updateCard() method not available

Hi community,
In recent versions of Cashier, updateCard() method was available on billable model but now I have found that it doesn't exist. Any help will be highly appreciated.

Seems like the method name has changed from updateCard to updateDefaultPaymentMethod: https://laravel.com/docs/5.8/billing#updating-the-default-payment-method

@Sti3bas Thank you! Looks like some massive changes are implemented.


48537 release process

What
Provide a release process for java-cloudant
Why
There are some bug fixes that need releasing and a simplified and more automated approach to the release will streamline this and future releases.
How

Add gradle for generating release artifacts:

client jar
source jar
javadoc jar
maven pom

Add gradle for signing these artifacts
Add gradle to upload artifacts to sonatype repositories

Testing
Local testing of gradle tasks.
reviewer @rhyshort
reviewer @mikerhodes

@rhyshort I addressed your comments in 5a7fff9

+1

ba33efd did not actually set the system properties correctly, 46d0ca5 fixes it

+1


Add ability to push element onto array

Scenario:
$manager = new Manager();
$manager->set('one.two', []);
$manager->push('one.two', 'three');
$manager->get('one.two'); // ['three']

// Currently would have to do something like, and only from inside class
array_push($this->items['meta']['templates'], $destination);

Should this be in a Collection or the basic manager?


Support for Null Values in mutations

According to the GraphQL spec, there should be a distinction between explicitly set nullvalues and just plain omitted values (spec here: http://facebook.github.io/graphql/draft/#sec-Null-Value).
It can be used to distinguish between ignoring a field and deleting the field value in a mutation fx.
Is there support for this already and I'm just missing it?

I am interested this as well.
It would be nice to support json.RawMessage for nullable fields in the schema and not require it to be a pointer..
or maybe use a struct tag to skip the runtime type checks against the schema?
I'll poke around and maybe work on a PR.
@neelance or @tonyghita any thoughts on this?

@derekpitt we had a pretty severe bug in our system, so I ended up forking and providing a pretty crude solution that enables you to add another argument to your resolver functions, that can tell you if a field was provided or not.

I second a solution on this. I have tried 2 different graphql projects written on go now and they both do not support null vs attribute not there. It would be really nice since this library has a pretty nice interface.

This issue is not something that I am actively looking at. Indeed it is mentioned in the spec that null and a missing value should be treated differently. PRs are welcome.

#430 resolved this

Following off of #430 if I wanted to handle the null vs omitted case for an array, e.g. [String!], do I need the below? Or am I overlooking a more straight forward approach?
type NullSliceString struct {
	Value *[]string
	Set   bool
}

func (NullSliceString) ImplementsGraphQLType(name string) bool {
	return name == "[String!]"
}

func (s *NullSliceString) UnmarshalGraphQL(input any) error {
	s.Set = true

	if input == nil {
		return nil
	}

	switch v := input.(type) {
	case []any:
		val := make([]string, len(v))
		for i := range v {
			val[i] = v[i].(string)
		}
		s.Value = &val
		return nil
	default:
		return fmt.Errorf("wrong type for [String!]: %T", v)
	}
}

func (s *NullSliceString) Nullable() {}

Hi @Slessi,
you don't need this since it's only for scalar types. In your case you could just have a pointer to an array and have the same effect:
package main

import (
	"fmt"
	"log"
	"net/http"
	"strings"

	graphql "github.com/graph-gophers/graphql-go"
	"github.com/graph-gophers/graphql-go/relay"
)

type query struct{}

func (query) Test(args struct{ Vals *[]string }) string {
	if args.Vals == nil {
		return "Got <nil> input"
	}

	res := fmt.Sprintf("Got a non-nil array: [%v]", strings.Join(*args.Vals, ", "))
	return res
}

func main() {
	s := `
        type Query {
				test(vals: [String!]):  In that case you need to implement the NullUnmarshaller interface.
type NullUnmarshaller interface {
	Unmarshaler
	Nullable()
}

Therefore your example above works fine:
package main

import (
	"fmt"
	"log"
	"net/http"
	"strings"

	graphql "github.com/graph-gophers/graphql-go"
	"github.com/graph-gophers/graphql-go/relay"
)

type query struct{}

func (query) Test(args struct{ Val NullSliceString }) string {
	if !args.Val.Set {
		return "Val is not set"
	}

	if args.Val.Value == nil {
		return "Got <nil> input"
	}

	res := fmt.Sprintf("Got a non-nil array: [%v]", strings.Join(*args.Val.Value, ", "))
	return res
}

type NullSliceString struct {
	Value *[]string
	Set   bool
}

func (NullSliceString) ImplementsGraphQLType(name string) bool {
	return name == "[String!]"
}

func (s *NullSliceString) UnmarshalGraphQL(input any) error {
	s.Set = true

	if input == nil {
		return nil
	}

	switch v := input.(type) {
	case []any:
		val := make([]string, len(v))
		for i := range v {
			val[i] = v[i].(string)
		}
		s.Value = &val
		return nil
	default:
		return fmt.Errorf("wrong type for [String!]: %T", v)
	}
}

func (s *NullSliceString) Nullable() {}

func main() {
	s := `
        type Query {
				test(val: [String!]): String!
        }
    `
	schema := graphql.MustParseSchema(s, &query{})
	http.Handle("/query", &relay.Handler{Schema: schema})
	log.Fatal(http.ListenAndServe(":8080", nil))
}

Then when I invoke that I got:
➜ curl -XPOST -d '{"query": "{ test1:test(val: null) test2:test(val: [\"val1\",\"val2\"]) test3:test }"}' localhost:8080/query | jq
{
  "data": {
    "test1": "Got <nil> input",
    "test2": "Got a non-nil array: [val1, val2]",
    "test3": "Val is not set"
  }
}

I'm not aware of a shorter way to implement this behavior.


Update JDC copy to match governance documents

The overview section of the governance docs has the relevant text, so I have just used the same copy here for consistency.
https://github.com/jupyter/governance/blob/8ea06d0d1620fcd8154129e69b2e93c2fa698adc/overview.md?plain=1#L22

Now that we've opened an issue to adjust the source wording, I'll merge this. We can then copy any new source wording back to here. Thanks again @JasonWeill - I think your text reads much better.


Read token contract decimals from on-chain

Is your feature request related to a problem? Please describe.
Since not all token contracts use 18 decimal places, https://github.com/SetProtocol/index-ui/pull/422 includes a HACKHACK that special cases the number of decimals for particular token contracts.
Describe the solution you'd like
Let's remove the HACKHACK and read decimals() from on-chain.
Additional context
In order to resolve this issue, we'll likely need to perform one Web3 request per product component. There are currently 18 (DPI) + 15 (MVI) + 3 (BED) + 2 (ETH2xFLI) + 2 (BTC2xFLI) + 7 (DATA) = 47 components. Will front-end performance degrade if we perform 47 Web3 requests? I don't think so but we'll see.

Resolved by https://github.com/SetProtocol/index-ui/pull/422


Fix pagination and sorting in Ontologies page

You can test this using all the testcases as follows:
./dev-testing/teststack.sh ./testcases ./output
which will load all the ontologies in the ./testcases  directory·

I will be creating a separate ticket for count per page and pagination UI


Fix or remove Travis

🐛 Bug description
https://github.com/rustwasm/wasm-pack/pull/966 has had "Test (linux-stable) Expected — Waiting for status to be reported" for almost a month now. As the issue name suggests, we should either fix the Travis build, or kill it entirely in favour of something else. I'm pro killing it entirely TBH, given the current state of Travis. I see @ashleygwilliams was looking at Github Actions for this about a year ago in https://github.com/rustwasm/wasm-pack/pull/772#issuecomment-589803455 ?
🤔 Expected Behavior
Build should be green
👟 Steps to reproduce
Open a PR!

Fixed in #947.


Add license command & embed fonts

@jwmza you can do your font embedding work off of this branch
Fixes #145

I believe this is now good to go and fixes #145
However, it should be noted that this includes all the WOFF files for both fonts, and we don't use the extreme/uncommon weights. It's around ~6 MB of font files. In theory if we want to be storage efficient we could remove some, but this doesn't seem high priority atm.

@brandonbloom please note: I've disabled ligatures by default for both logs and code as per discussion in the related issue.
We should certainly introduce this as user-preference config later on; however, I would strongly advocate for making ligatures default-on once there is a toggle to turn them off. I estimate that the net negatives of user preferences around ligatures for people who for whatever reason aren't aware or don't decide to use the manual toggle will tilt towards an overall preference for ligatures. (The ligature feature also controls some variable glyphs that aren't technically ligatures, e.g. the vertical placement of disjointed dashes and colons/semicolons depending on their surrounding concept is greatly improved with ligatures on, despite the glyphs not being visibly connected.

On the topic of ligatures: Let's leave them disabled for now, and we can revisit later when we have a more robust preferences system. If there is a growing list of preferences, feel free to collect those somewhere so we can make sure ligatures makes the list.
On the topic of file size: There are two separate concerns. (A) deployed binary size and (B) git repository size.
First, a break down of our existing binary size. Right now, our release binary size is 27MiB, which is not tiny, but not huge either. Adding an extra 6MiB puts us at 33MiB. From what I can tell, about 9MiB of that is "runtime" data from Go, which is a known problem with Go binaries growing pretty quickly due to debug info such as the program counter to line numbers table. There is also 6.6MiB of "unknown" data, which I don't have an obvious tool for investigating.
I don't see any reason to worry about binary size yet, though it is something we should keep an eye on.
Regarding repository size: If you add these files, they will be in the git tree forever. And anyone who ever clones exo will get every copy of every font file we've ever used. This is a major shortcoming of the design of Git, but it is unavoidable. The only things you can really do about it are to either avoid adding lots of binary files, or eventually give up and split up the repo, rewriting history, or move to Git "large file support" or a variety of other awkward, complexity-adding hacks.
The main issue to be aware of regarding repository size is frequently changing large files. Git's delta compression can help, but it's still a problem. Inter in particular seems to release new versions of the font every few months, where as Firacode looks a little more stable. As long as we don't track the latest releases of those regularly, we're good I think.
I'll go ahead and merge this.

Thanks for the detailed explanation @brandonbloom
I think we should be fine for now. I don't see a reason for concern around repository size, as I don't see a reason to frequently update fonts unless something major and unexpected about them changes - the most reasonable thing I can see happening within ~60 months is we might want to reduce the binary size by one or two MB by removing unused font files, but honestly I don't know if the binary even contains the unused ones to begin with so this might be a total non problem. Whatever is building the releases might already not include font files which aren't even imported into a used CSS file.
As for user preferences I'll make a doc

I don't see a reason for concern around repository size

Because I have personally experienced a lack of concern for this turn in to a major problem surprisingly quickly on several other project's I've contributed to :) This is just a limitation of Git that you have to pay attention to.

honestly I don't know if the binary even contains the unused ones to begin with so this might be a total non problem.

It absolutely does. Since arbitrary code can load arbitrary assets, dead code elimination for files in public is an undecidable problem, so essentially all JS build tools do the simplest possible thing: Just copy all the public files in to the build output directory. Then we embed the entire build output directory when we bundle the exo binary.

Re: /public/, yeah, that makes a lot of sense now that you put it that way. So, it is probably a good idea to remove the unnecessary font weight files at some point. For now, I think we should wait until our visual style (in this case regarding typography) is stable and well-liked by users, which also means waiting for some more traction and feedback.
Will probably end up being something like >300 and <700 for all weights.


cloudproc compile error

When I attempt to build trajopt with CLOUDPROC , I get the error message:
[ 86%] Building CXX object src/cloudproc/CMakeFiles/cloudproc.dir/mesh_simplification.cpp.o
In file included from /home/zxy/learning-code/trajopt-lfd/src/cloudproc/mesh_simplification.cpp:8:0:
/home/zxy/learning-code/trajopt-lfd/src/cloudproc/vtkQuadricDecimation2.h:64:49: error: expected initializer before ‘:’ token
 class VTK_GRAPHICS_EXPORT vtkQuadricDecimation2 : public vtkPolyDataAlgorithm
                                                 ^
In file included from /usr/include/boost/type_traits/has_operator.hpp:30:0,
                 from /usr/include/boost/type_traits.hpp:35,
                 from /usr/include/pcl-1.7/pcl/register_point_struct.h:65,
                 from /usr/include/pcl-1.7/pcl/point_types.h:44,
                 from /home/zxy/learning-code/trajopt-lfd/src/cloudproc/mesh_simplification.cpp:10:
/usr/include/boost/type_traits/has_logical_not.hpp:13:28: error: expected declaration before end of line
src/cloudproc/CMakeFiles/cloudproc.dir/build.make:110: recipe for target 'src/cloudproc/CMakeFiles/cloudproc.dir/mesh_simplification.cpp.o' failed
make[2]: *** [src/cloudproc/CMakeFiles/cloudproc.dir/mesh_simplification.cpp.o] Error 1
CMakeFiles/Makefile2:793: recipe for target 'src/cloudproc/CMakeFiles/cloudproc.dir/all' failed
make[1]: *** [src/cloudproc/CMakeFiles/cloudproc.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

I got the same error, did you by chance find a solution?


Add netlify functions

Deploy preview for ghapi ready!
Built with commit ef98d686ddc5dd1a3f0dcedaacbf7ca113b5e149
https://deploy-preview-122--ghapi.netlify.app


Added more translatable strings

Resolved / Related Issues

Closes #5580

Details of Changes

Added translatable strings for extracting files
Added keyboard shortcut translatable string for "New" icon on toolbar.

Validation
How did you test these changes?

[x] Built and ran the app
[ ] Tested the changes for accessibility

Screenshots (optional)
Those screenshots are from testing version, in this PR they will be on english as expected.

@BanCrash thank you!

@BanCrash thank you!

Glad to help!


fix: location issue with sending badges

Fixes #583

You should not change indentation unrelated to the fix

@fcartegnie it is handled by spotless. It takes care of the code indentation


spoof Nvidia GPU to fix Mirror's Edge Catalyst crash on radv

Would it be possible to apply dxgi.customVendorId = 10de for MirrorsEdgeCatalyst.exe and MirrorsEdgeCatalystTrial.exe by default? Without, the game won't start on radv.

Can you elaborate on what "won't start" means? Any hints on what might be going wrong?

The game starts windowed in 720p (like most  Frostbite engine games), but before it would switch into fullscreen, it just crashes.
MirrorsEdgeCatalyst_d3d11.log
MirrorsEdgeCatalyst_dxgi.log
backtrace.txt

Can you post the full wine log? I wonder if it's trying to load a DLL and fails.

Ah, dang. I forgot I turned Wine verbosity down. Sorry for not providing more information in the first place, I was under the false impression that there would be nothing more to it.
Going to post an update tomorrow.

Sorry, lots of clutter due to Origin.
Maybe this is interesting?

0022:fixme:nvapi:unimplemented_stub function 0xd44d3c4e is unimplemented!

wine.log

Can you try setting the DLL overrides for nvapi,nvapi64 to disabled?

That makes the warning go away, but unfortunately not the crash.
wine.log
(I btw. had to downgrade to Mesa 19 in the meantime due to big, general radeonsi regresssion, in case you wonder.)

Well, guess i'll add a config override then. I really dislike doing that and would rather figure out what's actually going on and fix that, but this doesn't seem to be directly dxvk-related and there's absolutely no useful clue in the logs whatsoever.


Populate organization field made in issue #27

Change field name to "attributes"
Populate with attributes

Right now, the goal is to print out "dataset-access" and "algorithm-access" based on the permission NFTs in the user's wallet.


Use .Release.Namespace instead of custom namespace value

You should use .Release.Namespace instead of a custom variable. Generally you would want to avoid using the default namespace, but helm also has standard variables for a lot of stuff, the namespace being one of them.
https://helm.sh/docs/chart_template_guide/builtin_objects/

You're absolutely right. We'll address this in the next release. Thanks!


Black screen when resuming playback

I'm submitting a ...

[X] bug report
[ ] feature request
[ ] support request

General information
Addon version used
0.14.6
Description
RPI3 + LibreELEC 9.0.2
Whenever I try to resume playback of a video I've partly watched so far, I only get the audio and a black screen.
Steps to Reproduce
1.Starting KODI
2.Starting Netflix-Addon
3.Resume playback of a video I've partly watched
Expected behavior: [What you expected to happen]
Get the stream video & audio.

Context (Environment)
RPI3 + LibreELEC 9.0.2
Installation

[X] I'm using this Netflix Repo
[ ] I'm using other Netflix Repo (Please specify which)
[ ] I'm using a different source (Please tell which)

Operating System

[ ] Linux (x86/x64)
[ ] OSX (x86/x64)
[ ] Windows (x86/x64)
[X] Linux (ARM)
[ ] Android

Additional informatin on the environment
Reset to factory/Reinstall  LibreELEC 9.0.2 didn't fix the issue.
Debug log
https://paste.kodi.tv/wedavoqoza.kodi
Other information
[e.g. detailed explanation, related issues, suggestions how to fix, links for us to have context, etc.]
Screenshots
[Please add a screenshot if that helps understanding your problem]
[You can erase any parts of this template not applicable to your Issue.]

Hi,
This is an issue I can confirm, and IMO it's not related to this addon nor InputStream.
I think (but may be wrong) it's related to some patches in Kodi for Raspberry, as I never could reproduce the issue under Windows, nor LibreELEC for x86.
But I had the same issue with OSMC and Kodi 18.2.
For now, the only way I could fix it was to revert to LE 9.0.1.
LE 9.2.0 beta has the same issue, no need to try ^^
I'll gonna investigate on LibreELEC forums/IRC and keep you in touch.

Thanks

Opened a thread on LE forum: https://forum.libreelec.tv/thread/17898-le-9-0-2-netflix-issue-on-rpi3-black-screen-when-resuming-a-video-sound-only/

After Updating the InputStream Helper to version 0.3.5 & updated the Widevine
The issue was fixed.
Thank You.

After Updating the InputStream Helper to version 0.3.5 & updated the Widevine
The issue was fixed.
Thank You.

That's good to know. Thanks!

Well, I have no idea why after upgrading it's necessary to install Widevine again. I confirm it fixes the issue.
My test process:

force install of Widevine on LE 9.0.1 (this should be the last version). Resume working.

upgrade to LE 9.0.2 (Widevine should still be latest). Resume not working.

force Widevine install again. Resume working.


ReadableStream not supported within jest-environment-miniflare

Description
ReadableStream is not available in the jest environment, despite being available in Miniflare.
This is also enabled in wrangler when wrangler.toml contains compatibility_flags = ["streams_enable_constructors"]

Using jest-environment-miniflare 2.4.0

To Reproduce

Install react-dom 18.0.0 or higher.
Attempt to call import { renderToReadableStream } from 'react-dom/server' in a unit test

Sample exception:
    TypeError: (0 , import_server.renderToReadableStream) is not a function

      15 |
      16 | export const renderToStream = (url: string, appPropState: AppPropState) =>
    > 17 |   renderToReadableStream(
         |   ^
      18 |     <StrictMode>
      19 |       <StaticRouter location={url}>
      20 |         <App {...appPropState} />

      at renderToStream (src/server/entry.server.tsx:17:3)
      at onHandleFetch (src/server/index.ts:97:32)
      at fetch (src/server/index.ts:172:24)
      at Object.<anonymous> (test/server/index.spec.ts:18:18)

Expected behaviour is exception does not occur.
See also

Only available in the environments with Web Streams (this includes browsers, Deno, and some modern edge runtimes).

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/627d07d73ca4aacd03382a6fc01e37a30923070e/types/react-dom/server.d.ts#L107-L115

Adding the following to your Jest configuration should fix the issue:
  moduleNameMapper: {
    "react-dom/server": "<rootDir>/node_modules/react-dom/server.browser.js",
  },

Thanks for the response! Unfortunately after I add the moduleNameMapper to my jest.config.js, I now observe that running my tests will exit ungracefully with a segmentation fault.
...
 RUNS  test/server/index.spec.ts
sh: line 1: 79881 Segmentation fault: 11  node --experimental-vm-modules node_modules/jest/bin/jest.js

Verified this behaviour in Node 18.2.0 and 16.15.0 at Jest ^27.5.0 using jest-environment-miniflare ^2.4.0.

Hey @mrbbot
somehow, I still got this issue in my test.
➜  api git:(master) ✗ NODE_OPTIONS=--experimental-vm-modules yarn test  --verbose
yarn run v1.22.19
$ jest --verbose
(node:92582) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Not injecting D1 Database for 'GIKI_SQLITE' as this version of Miniflare only supports D1 beta bindings. Upgrade Wrangler and/or Miniflare and try again.
(node:92582) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
 FAIL  graph/resolvers/api.test.ts
API
    ✕ create a record (102 ms)

  ● GikiAPI › create a talk

    To use the new ReadableStream() constructor, enable the streams_enable_constructors feature flag.

      160 |       )
      161 |
    > 162 |     await stmt.run()
          |                ^
      163 |     return this.getLastestOneOfUser(user_id)
      164 |   }
      165 |

      at Object.construct (node_modules/@miniflare/core/src/plugins/core.ts:100:13)
      at extractBody (node_modules/undici/lib/fetch/body.js:49:14)
      at new Request (node_modules/undici/lib/fetch/request.js:436:44)
      at new Request (node_modules/@miniflare/core/src/standards/http.ts:466:13)
      at D1DatabaseAPI.fetch (node_modules/@miniflare/d1/src/api.ts:196:21)
      at D1Database._send (node_modules/@miniflare/d1/src/d1js.ts:124:41)
      at D1PreparedStatement.run (node_modules/@miniflare/d1/src/d1js.ts:236:27)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        1.187 s, estimated 2 s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any suggestion for me debugging more?


Missing documentation: methods for \SignRequest\Models\Document

Can I request some documentation on the Document model? The examples use fileFromUrl but don't demonstrate how to use a local file stream.

I used
$data->setFileFromContent(base64_encode(file_get_contents($path_to_pdf )));
$data->setFileFromContentName($filename);

Rather than
$data->setFileFromUrl('https://docs.google.com/document/d/1oI2R1SxfMNZXiz3jCQvorpoklF9xq_dCJnOpkI-zo80/edit?usp=sharing');
Seem to work quite nicely, but more PHP examples would be great to get developers up and running quickly

I've made a more elaborate example here! Note that I'm no php expert ;)
https://github.com/michi88/signrequest-php-example


Howto disable/remove blank context menu — include ff actions?

I can wipe out all components in blank context menu and whenever I right click in an empty space, it'll create a dot (ff tries to create/open the context) and must left click to dismiss it to use other functions like scroll page.
How to completely remove blank context menu for even exist?
I tried to seach context and bank in ff config but don't find any options to disable it.

I don't think it's possible because it doesn't know that it's blank and the internal very big context menu doesn't differentiate.
You might just wipe out every context menu by
#mainPopupSet { display: none !important; }
if that is what you want.
If that doesn't work either, it's not possible with CSS and you need JS modifications.

I had the line but still the dot, so JavaScript needed.


How to refer output of ComputeAddress in Kubernetes Loadbalancer type Service

KPT apply-time-muatation works only if require dependencies are in the same resource group. ComputeAddress and Service resource are not in same resource group.
link - https://github.com/kubernetes-sigs/cli-utils/blob/ed4ec48b3405206c6c2200adbbc9606ea46b4257/pkg/object/graph/depends.go#LL242C7-L242C61

/cc @karlkfi

@Rahul1804 I think you might be confusing the ResourceGroup resource (aka package inventory) with K8s API Group.
The API group doesn't matter for depends-on/apply-time-mutation, as long as the two resource objects are in the same package/inventory/ResourceGroup.

If you actually meant to ask for cross-group dependencies as a feature request, please re-open with more details as to your use case. For now, that behavior is intentionally not allowed, because while it would work for creation ordering, it wouldn't work for deletion ordering, because there's not a good way to prevent deletion of something you don't manage.


fixed UnknownValueType("smalldatetime") error

Added SmallDateTime type.
Compiles and xmldb-to-fdb now runs without throwing an error

Thanks! Next time please run cargo fmt before submitting a PR.


Does AvroDesrializer support reference schema/multiple events for the same topic ?

Description
I'm using Reference avro schema for my project and facing the issue while deserializing encrypted message. As i'm using encryption before serializing to AvroSerializer, I have to deserialize it separately. everything is working fine if i use the single schema (WITHOUT REFERENCE SCHEMA) but when i try to desacralize with reference schema its not working. Any help would be much appreciated.
Thanks
How to reproduce
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

Hello,
Anything on this ?

Hi,
This is not supported as of now with the .NET client.


Fix lua plugin build

Fix #10318. We start using c++ compiler and the symbol log conflicts with math.h.
lua/ts_lua_log.cc:21:24: error: redefinition of 'log' as different kind of symbol
static TSTextLogObject log;
                       ^
/opt/brew/opt/llvm@16/bin/../include/c++/v1/math.h:827:1: note: previous definition is here
log(_A1 __x) _NOEXCEPT {return __builtin_log((double)__x);}
^

Relevant reading for <math.h> symbols in C++
https://developers.redhat.com/blog/2016/02/29/why-cstdlib-is-more-complicated-than-you-might-think
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89855


cephfs: replace with a different variable name for builtin cap attribute

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

/retest all

@mergifyio rebase


Cookbook is not setting up New Relic Yum Repo on Fedora 21

Makes no sense as this line should be setting up the repo but it appears to be skipped:
https://github.com/escapestudios-cookbooks/newrelic/blob/master/providers/server_monitor.rb#L16
Here is what I get:
[2015-09-16T11:44:25-03:00] INFO: Processing newrelic_server_monitor[Install] action install (newrelic::server_monitor_agent line 8)
[2015-09-16T11:44:25-03:00] DEBUG: Providers for generic newrelic_server_monitor resource enabled on node include: [LWRP provider newrelic_server_monitor from cookbook newrelic]
[2015-09-16T11:44:25-03:00] DEBUG: Provider for action install on resource newrelic_server_monitor[Install] is LWRP provider newrelic_server_monitor from cookbook newrelic
[2015-09-16T11:44:25-03:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::YumPackage, Chef::Resource::Package]
[2015-09-16T11:44:25-03:00] DEBUG: Resource for package is Chef::Resource::YumPackage
[2015-09-16T11:44:25-03:00] DEBUG: Resources for generic template resource enabled on node include: [Chef::Resource::Template]
[2015-09-16T11:44:25-03:00] DEBUG: Resource for template is Chef::Resource::Template
[2015-09-16T11:44:25-03:00] DEBUG: Resources for generic service resource enabled on node include: [Chef::Resource::Service]
[2015-09-16T11:44:25-03:00] DEBUG: Resource for service is Chef::Resource::Service
[2015-09-16T11:44:25-03:00] INFO: Processing yum_package[newrelic-sysmond] action install (/home/etucker/.chef/local-mode-cache/cache/cookbooks/newrelic/providers/server_monitor.rb line 35)
[2015-09-16T11:44:25-03:00] DEBUG: Providers for generic yum_package resource enabled on node include: [Chef::Provider::Package::Yum]
[2015-09-16T11:44:25-03:00] DEBUG: Provider for action install on resource yum_package[newrelic-sysmond] is Chef::Provider::Package::Yum
[2015-09-16T11:44:25-03:00] DEBUG: yum_package[newrelic-sysmond] couldn't match newrelic-sysmond in installed Provides, loading available Provides - this may take a moment
[2015-09-16T11:44:41-03:00] DEBUG: yum_package[newrelic-sysmond] checking yum info for newrelic-sysmond
[2015-09-16T11:44:41-03:00] DEBUG: yum_package[newrelic-sysmond] installed version: [nil] candidate version: (none)
[0m
================================================================================[0m
[31mError executing action `install` on resource 'yum_package[newrelic-sysmond]'[0m
================================================================================[0m

[0mChef::Exceptions::Package[0m
-------------------------[0m
No candidate version available for newrelic-sysmond[0m

https://github.com/escapestudios-cookbooks/newrelic/blob/master/attributes/repository.rb#L15
This may be related.  The repository attributes aren't set correctly for Fedora.
Also, the repository recipe has a similar issue (not handling Fedora):
https://github.com/escapestudios-cookbooks/newrelic/blob/master/recipes/repository.rb#L16

I've opened a PR to fix the Fedora handling issues in the attribute and recipe files.  I think it may be fixing the above issue.

Thanks @eric-tucker, I'll try and have a look at it over the next couple of days (out for a conference)
I'll keep you updated!
Kind refards,
David

Thanks for the PR @eric-tucker, merged!
Kind regards,
David


HTTP 400 error when using {vsn, git} in src/appname.app.src

It looks like hexer doesn't try and auto-resolve the version for the published package when reading the .app.src file.
Before publishing, please read Hex CoC: https://hex.pm/docs/codeofconduct
Proceed? [Y/n]: y
Error: {400,
        #{<<"message">> =>     <<"/tmp/build_f3222941c2fa0a473db5c3ef592b3f78/lib/hex_web/release.ex:184: value `\"git\"` in `where` cannot be cast to type HexWeb.Version in query:\n\nfrom r in HexWeb.Release,\n  where: r.package_id in ^[1406],\n  where: r.version == ^\"git\",\n  limit: 1\n\nError when casting value to `HexWeb.Release.version`">>,
          <<"status">> => 400}}

Either adding the rebar-like version info or having a command line override option would be acceptable I'd think.

@davisp good catch! I'll check how erlang.mk resolves such a thing and try to come up with a similar solution… stay tuned ;)

One thing I noticed was that hexer likes to include compiled code for NIFs by default. Perhaps if those include globs were tightened up a bit we could just rely on the app's build system to produce ebin/appname.app and read that.
Also, along those lines, something that probably deserves its own issue would be something like hexer test or hexer test -- make check that would create the package and then expand it and run make check in a different directory to ensure that the package builds properly with what's included.

Closed by #34


[Fix #9047] Fix deprecating set-env for GitHub Actions

Fixes #9047.
This PR fixes the following GitHub Actions error.
Run # set TMPDIR, git core.autocrlf
Error: Unable to process command '::set-env name=TMPDIR::D:\a\_temp'
successfully.
Error: The `set-env` command is disabled. Please upgrade to using
Environment Files or opt into unsecure command execution by setting the
`ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For
more information see:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

https://github.com/rubocop-hq/rubocop/pull/9062/checks?check_run_id=1409773152

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

❤


control service access

Allow access to control service of the VM device, servers device, and any other device (via role.control or similar) - set status light, reset, etc.

done


chansrv: dvc, check channel exists on get/remove api struct

This issue fixes a case when xrdpapi (WTS calls) is used in an unexpected way, there is a case which can lead chansrv to get an api struct which is already removed, then chansrv can crash with segfault.

+1
Please describe how this issue manifests itself. It's good to know in case if someone else reports it.

PR description updated.


Automated cherry pick of #6539: Build node-driver-registrar using our own builder

Cherry pick of #6539 on release-v3.24.
#6539: Build node-driver-registrar using our own builder

/sem-approve

/sem-approve


Added the grid spacing item decorator

Added the grid spacing item decorator, to be used when a GridLayoutManager is set to a RecyclerView
Related Trello cards:
Add the RecyclerViewDecorator from Lynkos with support for both Linear and Grid layouts
/cc @xmartlabs/android

@chacaa @michaelEllisUy please review 👮


[issues] Two CVE-Identifiers in one line

Steps to reproduce:
Browser: chromium 53.0.2785.116
Search  for CVE-2015-7554 in https://wiki.archlinux.org/index.php/CVE
Mark every CVE for this package. Right-click. Copy-it.
Then search for AVG-5 in security-tracker. Click on edit.
Search there for the CVE-2015-7554. Remove
CVE-2015-7554 and CVE-2015-8683 from the list.
Then paste the clipboard content in a free line and click on save.
Screencast: https://paste.archlinux.de/BnM/
I would guess it's a special character. But I've tried pasting the clipboard content in a vim. And there everything is normal. It's a normal whitespace between the two CVEs.

fixed via #13 in ea6a564718dbba7bc3b8056694c0210a73ab6481


Enable Secure Mode

This should address #15, allowing optional enabling of secure mode.

I think this can be achieved by using #30

@seawatts Hey that looks awesome! But I'm actually having problems with sending custom data through.
This is what I'm doing, what am I missing?

setUserInIntercom(user) {
  let props = {
    'user.name': `User ${user.get('name')}`,
    'user.user_id': user.get('id'),
    'user.email': user.get('email'),
    'user.createdAt': user.get('createdAt'),
    'user.userHash': user.get('intercomUserHash')
  }

  this.get('intercom').setProperties(props)
},

You have to call this.get('intercom').update(props) or this.get('intercom').start(props)

@seawatts Ah, thanks for that I'll try that soon and confirm it solves it ,then I'll close the issue and pr.

Alright @seawatts that seems to be working! The only change I had to make to make it work was the way I was creating props. It didn't respect the prop keys if they were "user.KEYNAME".
setUserInIntercom(user) {
  let intercom = this.get('intercom'),
      props = {
        name: user.get('name'),
        user_id: user.get('id'),
        email: user.get('email'),
        createdAt: user.get('createdAt'),
        userHash: user.get('intercomUserHash')
      }

  intercom.start(props)
},


Reference leak on timeout of async operations in 3.10.3+

Expected behavior
Timeouts of async operations should not produce reference leaks.
Actual behavior
Timeouts of async operations appear to produce a reference leak, in the form of a listener to the shutdown promise associated with the connection manager.
Steps to reproduce or test case
Perform async Redisson operation (e.g., BlockingQueue.pollAsync) with a short timeout in a loop (allowing the timout to expire). Observe growth in memory usage over time, and/or inspect with VisualVM or similar.
Redis version
5.0.3
Redisson version
3.10.6, issue appears to have been introduced in 3.10.3 in CommandAsyncService.handleBlockingOperations, around line 975. When the AtomicBoolean "skip" flag was introduced, a statement removing the listener from the shutdown promise on timeout was removed. I believe removing the listener would eliminate the leak. Here is a screenshot of visualvm inspecting a heap dump showing the reference chain.

Redisson configuration
val timeout = redisProperties.timeout?.toMillis()?.toInt() ?: 0
config.useSingleServer()
    .setAddress(prefix + redisProperties.getHost() + ":" + redisProperties.getPort())
    .setConnectTimeout(timeout)
    .setDatabase(redisProperties.getDatabase())
    .setPassword(redisProperties.getPassword())
config.codec = FstCodec()

Fixed in https://github.com/redisson/redisson/issues/2055


Update ui.md - enhanced /docs/pages/extensibility/ui.md

file changed ->  "https://github.com/meshery/meshery/blob/master/docs/pages/extensibility/ui.md"
changes -  "that allow for users to ..." -> "that allow users to ..."
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 463e3d26735e2588caed3f8f6b5bd06022ee8371 at: https://66703d9be452e521a3bece95--meshery-docs-preview.netlify.app


dataLayer.reset();

hi all,
i have a question.
sometimes i need call dataLayer.reset();
ref: https://www.lunametrics.com/blog/2016/03/21/removing-values-in-the-datalayer/
how do i call that method use by redux-beacon?

Hi @williesmithchen, thanks for taking the time to open up an issue.
Question for you: Under what conditions are you reseting the data layer? That is, what is triggering it? Do you want to reset the data layer based on a certain action type. Or is there some other trigger in your application?

Usually this kind of situation happens in e-commerce or use custom dimensions or custom metrics
spa, transaction complete, page view .....balabala....
yes
yes. but before send the event need to reset datalayer is required.

here is an sample
// buy a captain deadpool toy.
window.dataLayer.push({
  'product' : {
    'name' : 'captain deadpool',
    'eachPrice' : 199.99,
    'category' : 'toy'
  }
});
// then set a coupon from 3rd party or api response.
window.dataLayer.push({
  'product' : {
    'name' : 'coupon',
    'eachprice' : 0
  }
});
// and send transaction complete....

first dataLayer.push(), the gtm datalayer would return a object like
 {
    'name' : 'captain deadpool',
    'eachPrice' : 199.99,
    'category' : 'toy'
 }

After the coupon push, the contents will be
{
    'name' : 'coupon',
    'eachPrice' : 199.99,
    'category' : 'toy'
}

window.dataLayer.reset() anywhere you need it should do the trick


Code not being highlighted + can't submit pull request

I had a previous issue opened just 2 hours ago at:
https://github.com/withspectrum/draft-js-prism-plugin/issues/3
I had to make a new thread because it was closed and I cannot reply in it.
(Regarding that console.log issue tried to submit a pull request to remove that but the console.log() code wasn't found on the index.js file in the src folder. It seems to only exist in the index.js inside /dist/ ?
Also, code still isn't being highlighted even when starting out text with "```javascript"
Screenshot below:

It seems to be loading the styles from the .css style but keywords like "function" or "const" or etc aren't being highlighted with colors. Its just all white.
I am using the prism-okaidia.css stylesheet

The triple backtick thing only applies if you're using draft-js-markdown-plugin sorry! How are you creating those code blocks?
Essentially, you need to set data.language of the code block to the language you want to highlight as. (draft-js-markdown-plugin just does that when you do the triple backtick thing, that's why I mentioned it) Something like
const codeBlock = new ContentBlock({
    characterList: List(),
    depth: 0,
    key: 'somekey',
    text: "",
    type: 'code-block',
    data: Map({
      language: 'javascript'
    }),
})

Oh I see. I thought that was a little odd.
This is how my code blocks are being created:
// @flow
import { EditorState, Modifier, RichUtils } from 'draft-js';

const toggleBlockType = (getEditorState: Function, onChange: Function) => {
  const editorState = getEditorState();
  const selectionState = editorState.getSelection();
  const isCollapsed = selectionState.isCollapsed();
  if (isCollapsed) {
    return onChange(RichUtils.toggleCode(getEditorState()));
  }
  // Convert "selected" text to code-blocks
  return onChange(
    EditorState.push(
      editorState,
      Modifier.setBlockType(editorState.getCurrentContent(), selectionState, 'code-block'),
      'change-block-type',
    ),
  );
};

I am also binding a ctrl + , (comma) key binding to execute code blocks with RichUtils:
    if (command === 'toggle-code') {
      onChange(RichUtils.toggleCode(editorState));
      return 'handled';
    }

Both ways still generate the same output styling as seen above.
I'll take a look at the markdown source code and see if I can implement this.
p.s. Now I know I can reply to closed threads

You'll likely have to show users an input of some sort to let them input their desired language! Good luck :blush:


Release 0.3

[x] Bump version, and publish locally
[x] Upgrade Examples
[x] Release to bintray
[x] Bump version to SNAPSHOT again.

https://github.com/cassandra-scala/troy/pull/72


Change checkboard default colors to full opacity

It would be really useful if the default colors for the checkboard would have full opacity rather than being transparent. Currently, the provided pickers only support a white background, or else the checkerboard pattern for transparent colors is not visible.
https://github.com/casesandberg/react-color/blob/bc9a0e1dc5d11b06c511a8e02a95bd85c7129f4b/src/components/common/Checkboard.js#L21
For example, in my application I have added some custom styling to the ChromePicker, but the dark background leads to the checkerboard pattern becoming invisible. Would be nice to be able to make these kind of style changes, without having to write a completely custom picker 😞

Love the package btw!

Managed to get it to look right by doing some hacky styling, but I still think having the checkboard in full opacity would be preferable


Multithreading

This is in support of https://github.com/cal-itp/data-infra/pull/902; adds a configurable parallelization to executing the validation JAR. It also adds a better CLI entrypoint for local development and testing.
Example execution
python gtfs_rt_validator_api.py validate-gcs-bucket-many --param-csv=gs://gtfs-data-test/rt-processed/calitp_validation_params/2022-01-17.csv --threads=4 --limit=12

This PR also adds some pre-commit hooks, etc.

Oh whoops, didn't realize this was still in Draft! My bad. @atvaccaro you can ignore the above until it's ready 😅


Add cattle-elemental-system to list of system namespaces

This is needed to be able to backup Elemental resources.
This is a newer version/rebase of https://github.com/rancher/rancher/pull/39064.
Issue: https://github.com/rancher/elemental-operator/issues/9

Problem

Elemental Operator namespace needs to be included in the system namespaces in Rancher in order for Backup to properly work.
Solution

Add Elemental namespace to the list of system ones.
Testing

Tested manually on my lab.
Engineering Testing
Manual Testing
Manually added all resources needed to be able to backup Elemental resources and did the backup/restore test.
Automated Testing

It will be done in Elemental CI.
QA Testing Considerations

N/A.
Regressions Considerations

This change should be transparent, only a new namespace is added in the list.

@cbron I saw that you validated the first version made by @pgonin, could you validate the new rebased version? And is it possible to have this merged for v2.7.2?


Kap won't go away :(

I have two monitors. When bringing my computer out of standby, Kap appeared, and now it won't go away:

If I bring it forward and then press the close button, it goes, but the next time I open kap, it doesn't go away.
It's not that I don't like kap, it's just I don't feel ready for this kind of relationship at this time.
I'm guessing it was caused by https://github.com/wulkano/kap/pull/93

Thanks for the report @callumacrae. We'll work on fixing this immediately. 😰

thank you @CodeTheory, you are far quicker at replying to issues than @doot0

@callumacrae what do you mean by it doesn't go away? 🤔 When you detach the main window from the menubar, it'll behave like a standard macOS window – it'll not vanish when it loses focus 😅

@callumacrae what do you mean by it doesn't go away? 🤔 When you detach the main window from the menubar, it'll behave like a standard macOS window – it'll not vanish when it loses focus 😅

Ah, I understand now: in that case, this is a different bug. I didn't detach it, it detached itself when my macbook came out of hibernate with a secondary monitor plugged in (but it only does this sometimes).

I think experience issues come from our upstream usage of menubar. We don't really control the behaviour it provides for us and could require some custom logic to be up to standards of a native app. Maybe we'll have to implement our own menubar as I think @matheuss wanted to do.

This should be fixed on master, see also #188. Can you confirm @callumacrae?

i am experiencing this with 1.0.1 still :(

Related to #472

The problem is gone after mac os system upgrade to 10.13.5 in my case.
Are you guys still suffering the same problem?

Closed via #494