Finishing the ConSet

Finishing the ConSet
This PR is the work-in-progress related to https://github.com/vorner/contrie/issues/2.

p.s. the Iterator traits are a draft and the tests are still missing

Thanks for your time in reviewing this.
Would you prefer just a couple of "clear" commits, one for the impl Iterator and a second only with the tests?
I think that this PR should cover the 2 points in this issue; I humbly added a TODO to add the Debug implementation for ConSet and eventually I was thinking of including a metric for the code coverage if you think it would make sense.

Would you prefer just a couple of "clear" commits, one for the impl Iterator and a second only with the tests?

That would be nice, I quite prefer clean history :-). Shall I wait with merging for a rebase, then?
(Tip: if you often do these kinds of rewrites+squashing just before merge, I'd point out the commit --fixup=OLDER-COMMIT and git rebase --interactive --autosquash trick)

I think that this PR should cover the 2 points in this issue; I humbly added a TODO to add the Debug implementation for ConSet and eventually I was thinking of including a metric for the code coverage if you think it would make sense (not in this PR tho).

As for the debug: I've only initially created two good-first-issue/easy tasks because I didn't want to get too many contributions at once out of fear of not being able to keep up. But I plan on adding more (and probably some more interesting ones too, eventually). So yes, of course, Debug impl is one of the things that needs to be done (no matter if it is written down as an issue or not).
I'm fine with code coverage. I've just never felt the motivation is high enough to invest the time myself, but if you like to have it, I have no objections (it doesn't really provide something like feature coverage/corner-case coverage).

... wait with merging for a rebase, then?

Yes, please (it's gonna happen at EOD).

As for the debug: I've only initially created two good-first-issue/easy tasks because I didn't want to get too many contributions at once out of fear of not being able to keep up. But I plan on adding more (and probably some more interesting ones too, eventually). So yes, of course, Debug impl is one of the things that needs to be done (no matter if it is written down as an issue or not).

Thanks; interesting...

This is better now.

Thank you :-)

I'm thinking that we have sets now it would be worth a new release. Do you want to be included in the crate's authors field? If yes, will you send a PR adding yourself?

"we" is a very inclusive and generous way to put it. ^_^
I will; with pleasure, thank you for the opportunity. I'm planning to schedule more time in "contributing & improving" and this is a very nice incentive.


Correction for raw affiliation French National Institute for Agriculture, Food, and Environment, University of Montpellier, LBE, INRAE, 102 Avenue des Etangs, F-11100 Narbonne, France

Correction needed for raw affiliation French National Institute for Agriculture, Food, and Environment, University of Montpellier, LBE, INRAE, 102 Avenue des Etangs, F-11100 Narbonne, France
raw_affiliation_name: French National Institute for Agriculture, Food, and Environment, University of Montpellier, LBE, INRAE, 102 Avenue des Etangs, F-11100 Narbonne, France
new_rors: 003vg9w96;051escj72;022m8c549
previous_rors: 003vg9w96;051escj72
works_examples: W4318049677
contact: db5eb6d301f464a4b29f1c561342f6b2:e0764718cf40fcc43cc45c1a91146a2cc222 @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-09. The new affiliations should be visible within the next 7 days.


unable to send media on DM

So I successfully uploaded media using tweepy, and made a new method in API object to send media as an attachment in DM.
This is the method:
@property
def send_media(self):
""" :reference: https://dev.twitter.com/rest/reference/post/direct_messages/new
:allowed_param:'user', 'screen_name', 'user_id', 'text'
"""
return bind_api(
api=self,
path='/direct_messages/new.json',
method='POST',
payload_type='media',
allowed_param=['user', 'screen_name', 'user_id', 'text','type','media_id'],
require_auth=True
)
I call this :
api.send_media(user_id =status.direct_message['sender_id'], text =response, attachment={'type':'media','media_id': mediaID})
after sending message i get this response in my terminal.
Media(_api=, recipient_id_str=u'2956391868', sender={u'follow_request_sent': False, u'has_extended_profile': False, u'profile_use_background_image': True, u'default_profile_image': False, u'id': 106111046, u'profile_background_image_url_https': u'https://abs.twimg.com/images/themes/theme15/bg.png', u'verified': False, u'translator_type': u'none', u'profile_text_color': u'333333', u'profile_image_url_https': u'https://pbs.twimg.com/profile_images/839688948360216576/95sFtYJs_normal.jpg', u'profile_sidebar_fill_color': u'C0DFEC', u'entities': {u'description': {u'urls': []}}, u'followers_count': 38, u'profile_sidebar_border_color': u'A8C7F7', u'id_str': u'106111046', u'profile_background_color'.......
Whats wrong?

I'm not sure what you mean. It seems to have successfully sent and returned the Media object?
Regardless, this is issue is now stale due to #1081.
For code block usage, see https://help.github.com/articles/creating-and-highlighting-code-blocks/.


add link to docker images on quay to readme

https://quay.io/repository/gogatekeeper/gatekeeper
if these are the official ones?

@dseynaev in the README is example quay.io/gogatekeeper/gatekeeper, so i thinkg it is quite explicit


Fix compatibility with PG15

spi.c: parse_variable_parameters -> setup_parse_variable_parameters
spi_1.out: Accept "ERROR:  cursor can only scan forward" and differing portal numbers
time.c: interval2tm -> interval2itm
horology_1.out: Accept "ERROR:  unit "dow" not supported for type time without time zone"
Close #10.

I reworked this a fair bit, so I'm putting it in as a separate commit with you as coauthor rather than merging this.


finish tools dev

The preparation work for the project has been completed. The next step is to start implementing the main modules of the project.

see title


Test against Kafka 2.6

Proposed Changes

Test against Kafka 2.6

Worked, retesting
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests

GKE error
/retest

/test pull-knative-sandbox-eventing-kafka-broker-integration-tests

/lgtm
/approve


feat: optional build option to limit chunks size

Often when people add an external vendor, they are faced with a "too big" warning from webpack perfs hint.
The following webpack plugin offer the capability to limit the size of each chunk : https://webpack.js.org/plugins/aggressive-splitting-plugin/
My proposal is to add a new optional build parameter to add a custom limit on nuxt build process.
  build: {
    vendor: ['axios', 'moment', 'chart.js', 'vue-chartjs'],
    maxChunkSize: 300000 // value in octet
  },

ex. with the examples/vue-chartjs on npm run build
without limit:
pages/contributors.509ed7a1ecd667cadf53.js    1.91 kB       0  [emitted]         pages/contributors
       pages/index.2fb0de0a459665463f90.js    1.79 kB       1  [emitted]         pages/index
   layouts/default.a1055a6d2a62b5ec9661.js    1.22 kB       2  [emitted]         layouts/default
            vendor.3914c893fb716952ee68.js     765 kB       3  [emitted]  [big]  vendor
               app.1216e8c163f13b4a3b1a.js    26.7 kB       4  [emitted]         app
          manifest.c5c352259037bc222559.js    1.58 kB       5  [emitted]         manifest
                                  LICENSES  843 bytes          [emitted]
 + 3 hidden assets

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (300 kB).
This can impact web performance.
Assets:
  vendor.3914c893fb716952ee68.js (765 kB)

with 300kB limit:
                                     Asset       Size  Chunks             Chunk Names
                 6.b8035634b249b67f6c95.js     127 kB       6  [emitted]
               app.890503dc54a916bd4c2f.js    26.8 kB       0  [emitted]  app
       pages/index.8394af00f47ad2c92ce8.js    1.79 kB       2  [emitted]  pages/index
   layouts/default.48a52768147345153b3b.js    1.22 kB       3  [emitted]  layouts/default
                 4.2723a779df98c6c8e1c5.js     141 kB       4  [emitted]
                 5.3dcf86b3370d0e13c489.js     140 kB       5  [emitted]
pages/contributors.51190855c2b7d384e9a2.js    1.91 kB       1  [emitted]  pages/contributors
                 7.61a55d8ea47b7acef379.js    22.9 kB       7  [emitted]
                 8.9f9d13074cf7f9a86855.js     131 kB       8  [emitted]
                 9.ee1276223ccd0cfff6a1.js     111 kB       9  [emitted]
            vendor.c92d33fd924fb5efdb1f.js    92.5 kB      10  [emitted]
          manifest.51ab9689410a36830e2e.js    1.73 kB      11  [emitted]  manifest
                                  LICENSES  843 bytes          [emitted]
 + 3 hidden assets

good work ;
but the names are :
72.0e10cd18261fbe07087e.js
72.f1525dae9d530adddcef466465123a63.css
74.206b40711c0066c6a0fc.js
75.c32c21c8a2ae14bab761.js
73.18090657982d172030d6.js
77.5b0abf4ecbc85bc6277d.js
can i rename them ?

Hey, @NicoPennec . I tried adding maxChunkSize to the config. It worked and I got an output just like the one you posted above. However, when I got to the browser, everything seems to be ok in the network tab of the inspector, but the application doesn't bootstraps. It simply remains a white screen with the Nuxt loader in center. Strip the maxChunkSize of the config and everything works fine again... =/

I'm seeing that if I use this with the mode set to spa then the manfiest.js gets rendered after the app js into my HTML:
...

As a result, I get Uncaught ReferenceError: webpackJsonp is not defined JS errors.
Without this setting, the manifest comes first:
...

Anyone have any sugestions on a fix?  I'd love to use this on my SPA rendered site.


Sort DocService Modules Alphabetically by artifactId

Motivation:
Fix defect #2117
Modifications:
Use 'localeCompare' to sort before rendering table.
Result:
Modules are now sorted alphabetically.

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

@rcsalome Thanks for contributing! Could you sign for CLA? 😀

Please make sure the e-mail address in your commit is registered and validated in your GitHub account.

Thanks for your contribution!
I was kind of imagining sorting the version in DocService which is at here and passing the values. So we don't have to sort it right before rendering. What do you think? @trustin, @ikhoon

@minwoox Ah, that's also a good idea. Yeah, how about sorting at the server side once and for ever, @rcsalome?

Sorting of Version is meaningful itself because the API can use at other places. 👍 But I think how to display is a little bit client-side logic. 🧐

Hello. Thanks for the feedback!
I agree with @ikhoon, that since we want to modify the display, the client should handle that.
However, I see your points @minwoox and @trustin. Sorting on the server allows other areas of the code to make use of the sorted results.
I will make a PR today or tomorrow with sorting on the server, and we can compare. Need to set up my IDE first.
Also, I will sign the CLA and update my email. Thanks again!

I have just pushed a new approach. Feedback welcome.
However, if you do not want me to modify the Version class, that is fine. I will move the comparison logic to the DocService itself.

I created a new PR https://github.com/line/armeria/pull/2145 . I hope that is ok.
I am having trouble signing the CLA, since my first commit was using an incorrect gitconfig file.

Shall I close this PR, or do you want to preserve the frontend-side changes?

@trustin, You can close this PR. I will work on #2145. Thanks.

Thanks, @rcsalome !


[TransformStrategies] NFC: Harden matmul strategy defaults

The existing flag approach for configuring matmul strategies from the
command line is difficult to maintain as we generalize to other matmul
shapes/parameters and targets. This moves the default strategy values
from the flag defaults to hard-coded constants while making the flag
defaults represent "optional" values.
This creates seemingly two places where matmul strategies are
configured, but the roles are slightly different. Defaults should be
independent of problem shape and make sense for the compilation target,
while externally configured values are driven by known performance.
Rebased on top of #14221.

@qedawkins LGTM but maybe wait for @MaheshRavishankar or @nicolasvasilache for a final approval.


Broken styles using CDN

Hello
I started having this issue recently where everything is broken (css, js). I'm not sure why this is happening since even my production version has the same problem and i haven't pulled any new changes for a few days before this issue.
Things like the carousel slider with indicators and offcanvas aren't working, and i think it's conflicting with tailwind classes that's breaking other styles as well.
Has there been any new updates that cause this problem? I'm quite new so any pointers will be helpful

Solved it. There was an update 2 days ago and apprently there has been a major code change to the components code. I just removed the CDN link and installed the previous version using npm and it's working again.


Add "Move All" tool

After selecting an entire design, it would be helpful if the user could move all selected components throughout the window

@dpmcintyre7 we have the ability to center the design with a keyboard shortcut, do we still need to have the ability to move the entire design ?


Microsoft. Web/sites: Unable to deploy function app with clientCertMode 'Allow'

Resource Type
Microsoft. Web/sites
Api Version
2022-09-01
Issue Type
Type is unavailable
Other Notes

Allow should be an option in bicep code.

Bicep Repro
No response
Confirm

[X] I have read the troubleshooting guide and looked for duplicates.

I've done some more testing.
Apparently, the mode "OptionalInteractiveUser" checks the box for "Optional" in the portal.
The mode "Optional" checks the box "Allow".
This is pretty confusing and the documentation is not clear on this.


fix Fix s3 load replay after restart fe

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


settings: handling compatibility between different versions

As raised by @nibanks in #1423, we need to establish some method for handling different versions of settings stored using the otPlatSettings* API.  This issue is solicit thoughts around what method to use.
As a starting point, it seems like backward compatibility is required to allow migration from an older version of OpenThread to a newer version.  However, is forward compatibility also required - to allow migration from a newer version of OpenThread back to an older version?
If both forward and backward compatibility is required, I'd argue that in most cases, settings structures are only allowed to add fields by appending to the end.  Fields should generally not be removed.

We can never be sure what the life cycle of a product will require, but I think its fair to imagine that some product will have a need for forward compatibility. Perhaps it needed to revert a distribution and that might entail forward compatibility support.  I think your rule about never removing structures is spot on. If we are storing sequence numbers we may also need to store those in multiple locations for the sake of forwards compatibility.  Also, we should ensure that the NVM code can safely traverse any records that it doesn't recognize.

While my personal preference is to use explicit version numbers, but I am fine if we decide to use the model of "only add properties" and update the code to account for a variable being missing, and set some default.
But if we do encounter a scenario where we have to delete, then our only recourse will be to start using a new ID, right? How do we go about migrating the data from the previous ID to the new one?

After thinking about this issue for some time, here is my proposal:

Modifying existing otPlatSettings*  key values MUST only be done by appending new fields.  Existing fields MUST NOT be deleted or modified in any way.
To support backward compatibility (rolling back to an older software version), code reading and processing key values MUST process key values that have longer length.  Additionally, newer versions MUST update/maintain values in existing key value fields.
To support forward compatibility (rolling forward to a newer software version), code reading and processing key values MUST process key values that have shorter length.
New Key IDs may be defined in the future with the understanding that such key values are not backward compatible.

Once we stabilize, the persistent settings required by Thread should be very infrequent.  Given that, I don't think we need to have a more involved versioning mechanism.
Thoughts?

I'm fine with this design. I would also recommend someone doing a pass on all existing settings to make sure they are in an acceptable state going forward. Anything unnecessary should be removed now, so we have no need to remove anything in the future.

@jwhui, I totally agree with the proposal, and I also agree with @nibanks that we have to refine the settings to make sure we don't need to remove any fields in the future.
After going through all existing settings, I think ChildInfo and ParentInfo needs to be refined. I will reopen #1572 which has already addressed ChildInfo, I will also refine ParentInfo and push the PR soon.
Please let me know if you have any other suggestions, thanks.


Link for PDF of the Color Images is not working.

I am working through the book I purchased from Amazon.  Although the text and examples are good so far, the images are very difficult to see.  To be able to look at the pictures is necessary to complete the projects and the link given here on gitHub (same address as in the book) does not work.  This issue needs to be resolved.

Hi @paulpersad
We checked and found the link of the Color Images is working fine. If you still not able to open it you can check the README.md file from the Github repository and you can find the link to the color images there too.
Also I'm posting the link for your reference you can check the following link.
https://static.packt-cdn.com/downloads/9781789612561_ColorImages.pdf
Regards,


feat [IDP-1670] :  Added Docs and Tutorials for OPA

Harness Developer Pull Request
Added Docs and Tutorials for OPA
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6583cc0b2473eba95787ebca--harness-developer.netlify.app

Can we mention that these sample policies are rendered behind IDP_ENABLED FF ?


AWS ECR crash: AttributeError on permissions issue

Description:

What issue is being seen?  Describe what should be happening instead of the bug, for example: Cartography should not crash, the expected value isn't returned, the data schema is wrong, etc.

A permissions issue leads to an AttributeError.
To Reproduce:

Steps to reproduce the behavior.  Provide all data and inputs required to reproduce the issue.

Run ECR sync on repo your role does not have permissions.
Logs:

If applicable, copy and paste your console log with the failing stack trace.

Traceback (most recent call last):
  File "/PATH/python3.6/site-packages/cartography/intel/aws/ecr.py", line 76, in get_ecr_image_scan_findings
    'imageTag': image_tag,
  File "/PATH/python3.6/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/PATH/python3.6/site-packages/botocore/client.py", line 676, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDeniedException) when calling the DescribeImages operation: User: arn:aws:sts::{ACCOUNT_NUMBER}:assumed-role/{ROLE_NAME}/botocore-session-{SESSION_NUNBER} is not authorized to perform: ecr:DescribeImages on resource: arn:aws:ecr:us-east-1:{ACCOUNT_NUMBER}:repository/{REPO_NAME}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/PATH/python3.6/site-packages/cartography/sync.py", line 71, in run
    stage_func(neo4j_session, config)
  ...
  File "/PATH/python3.6/site-packages/cartography/intel/aws/__init__.py", line 98, in _sync_multiple_accounts
    _sync_one_account(neo4j_session, boto3_session, account_id, sync_tag, common_job_parameters)
  File "/PATH/python3.6/site-packages/cartography/intel/aws/__init__.py", line 46, in _sync_one_account
    ecr.sync(neo4j_session, boto3_session, regions, account_id, sync_tag, common_job_parameters)
  File "/PATH/python3.6/site-packages/cartography/util.py", line 58, in timed
    result = method(*args, **kwargs)
  File "/PATH/python3.6/site-packages/cartography/intel/aws/ecr.py", line 263, in sync
    for image_vuln_data in images_with_vulns:
  File "/PATH/python3.6/site-packages/cartography/intel/aws/ecr.py", line 256, in <genexpr>
    transform_ecr_scan_finding_attributes(v)
  File "/PATH/python3.6/site-packages/cartography/intel/aws/ecr.py", line 79, in get_ecr_image_scan_findings
    except boto3_session.client.exceptions.ImageNotFoundException:
AttributeError: 'function' object has no attribute 'exceptions'

Please complete the following information::

Cartography release version or commit hash [e.g. 0.12.0 or 95e8e11913e2a44a4d4682506d8364a638ceac69]

fa85ee88c026af636fd6c5c42b6799424507a04e

I believe that except line should be
except client.exceptions.ImageNotFoundException:
instead of
except boto3_session.client.exceptions.ImageNotFoundException:
The client is already generated using the boto3_session.client() function


One apple account for two apps - match doesn't work on second app

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I have two apps and one apple account. Run match nuke development and match nuke distribution on both apps. Then run match on the first app, everything's ok. Run match on the second app and now I get Could not create another Development certificate, reached the maximum number of available Development certificates.. Isn't it possible to use the same account for both apps?
Apps use separate git repos for each app.
Complete output when running fastlane, including the stack trace and command used

Could not create another Development certificate, reached the maximum number of available Development certificates.

Environment

### Stack

Key
Value

OS
10.13.4

Ruby
2.2.4

Bundler?
false

Git
git version 2.15.1 (Apple Git-101)

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

Host
Mac OS X 10.13.4 (17E199)

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

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

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

Xcode Version
9.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane gems

Gem
Version
Update-Status

fastlane
2.93.1
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.2

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.4

xcodeproj
1.5.7

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.3

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.2

json
1.8.1

mini_magick
4.5.1

multi_json
1.12.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.1.0

simctl
1.6.3

uber
0.0.15

declarative
0.0.9

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

little-plugger
1.1.4

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.13.4

emoji_regex
0.1.1

libxml-ruby
3.0.0

@jaroslavas Sounds like you need to use the git_branch option on match to use a different branch per development team - https://docs.fastlane.tools/actions/match/#important-use-one-git-branch-per-team

The thing is, I'm using different repos. And the team is the same, just two different apps.


On Android, allow PRAGMA statements that assign when invoked via exec

Fixes the following error on Android
{"error": {"error": [Error: unknown error (code 0): Queries can be performed using SQLiteDatabase query or rawQuery methods only.], "insertId": undefined, "rows": undefined, "rowsAffected": undefined}}

when accessing exec directly to try to run assigning PRAGMA statements, such as PRAGMA journal_mode = WAL.

Would you add some tests to https://github.com/craftzdog/react-native-sqlite-2/blob/master/test/app.js?

Ah, will add.

Added some tests and also tested them on Android & iOS.


added missing migration with django 1.11.4 and wagtail 1.12

With a new installation with Django 1.11.4 and wagtail 1.12
I get a missing migration warning after manage.py migrate
root@fb9f28500739:/opt/app/mysite# ./manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, blog, contenttypes, home, sessions, taggit, wagtailadmin, wagtailcore,     wagtaildocs, wagtailembeds, wagtailforms, wagtailimages, wagtailredirects, wagtailsearch, wagtailusers
Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.

After manage.py makemigrations I get the following changes:
migrations.AlterField(
    model_name='blogpage',
    name='author',
    field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='author_pages', to=settings.AUTH_USER_MODEL, verbose_name='Author'),
),
migrations.AlterField(
    model_name='blogpage',
    name='body',
    field=wagtail.wagtailcore.fields.RichTextField(blank=True, verbose_name='body'),
),

Fixed


Schema not propagated when querying for array of structs

Environment details

Specify the API at the beginning of the title. For example, "BigQuery: ...").    implementation("com.google.cloud:google-cloud-bigquery:2.41.0")

OS type and version: MacOS
Java version: 21

Steps to reproduce

Create a table with a repeated struct schema.
Query the same table, try to access the nested record fields by name. This fails because no schema is attached.

Code example
Reproduced here: https://github.com/FredrikMeyer/bigquery-bug/blob/main/src/test/java/no/fredrikmeyer/MainTest.java
        var query = "select * from my_dataset.my_table";

        QueryJobConfiguration queryJobConfiguration = QueryJobConfiguration.newBuilder(query).setUseLegacySql(false).build();

        var res2 = bigQuery.query(queryJobConfiguration);

        res2.iterateAll().forEach(r -> {
            // Prints true
            System.out.println(r.hasSchema());
            // Prints false, even though the schema is defined above
            System.out.println(r.get("arr").getRepeatedValue().getFirst().getRecordValue().hasSchema());
        });

Any additional information below
When having an array of structs, the schema does not seem to be propagated to the fields. Thanks!

Hi @FredrikMeyer ,
Schemas are stored in TableResult and not necessarily FieldValueList. FieldValueList is used for table rows and the schema is not assessable. The schema in FieldValueList is for indexing by field name.
To get the schema for your table, you can simply:
var res2 = bigQuery.query(queryJobConfiguration);

// Read query table schema.
System.out.println(r.hasSchema());
// Get the schema for the field "arr"
System.out.println(r.getSchema().getFields().get("arr"));

res2.iterateAll().forEach(r -> {
    // Read table row results.
});

I hope this helps,

Thanks for the answer @PhongChuong
My main problem is that since the schema is not in the FieldValueList, I cannot get the fields by name. So now my code looks like this:
    private fun periodeFromFieldValue(periodeRecord: FieldValue) = Periode(
        fraDato = LocalDate.parse(periodeRecord.recordValue[0].stringValue),
        tilDato = LocalDate.parse(periodeRecord.recordValue[1].stringValue),
    )

Which seems to rely on the order the fields appear - which seem to coincide with the order they were defined in the table schema (by accident or by construction?).

The field will appear as they are defined in the table schema by construction.
If you want, it is possible to provide the schema manually providing the schema by creating FieldValueList. However, it's not pretty and probably not worth the effort.


Miner measure

Hashrate
Performance (Tokens Mined)
Costs (ETH spent)
Failed txn count

I'm going to look into logging some stats on the hash rate. I found this place in the code where it might make sense to measure it: https://github.com/tellor-io/TellorMiner/blob/e9eb6811a597221c4c3f098663a9b2f80c0d4f15/pow/powWorker.go#L266
Inside solveChallenge there is that four loop. I was thinking of marking the time before the loop starts and then using i to keep track of the number of cycles, when it finds a solution or when it just stops (challenge changes). I could mark time again and use  i / the time delta to get cycles per second and just log that out.
Do you think that could work? Any references for how I could mark start and end time?

P.S. if someone could point out where those other metrics are in the codebase, I can take a look at surfacing those as well.

Is there any progress on this one? I am particularly interested in hashrate.
cc @mikeghen


Add Docker Engineering blog

Proposed changes
Added the new Docker Engineering blog to the footer.

Deploy preview for docsdocker ready!
Built with commit 67e4a6e69527518d7280ebc3b671270f4bf7bad4
https://deploy-preview-8361--docsdocker.netlify.com


[New] jsx-handler-names: add checkInlineFunction option

Add checkInlineFunction option for jsx-handler-names rule
PR resolve #2586

If you end up submitting a new PR, please reopen and reuse this one, rather than creating a new one and leaving this one untouched. Thanks!

@ljharb Could you review this PR?

What's left to do on this PR?

I'm trying this out on the new release and I don't think it identifies arrow functions without curly braces correctly - should I open a new issue?

Thanks, a new issue, or a PR with failing test cases, would be great.


Github.io Page - basic setup with i18n functionality

I'd like to set up a Github.io page to share our work in the open. We can go live before perfection, but we should aim for Accessibility and Bilingualism as much as possible.
The GCDevOpsLeage page can be used as an example (created by Guillaume Charest). Deepl was used for french translations.
https://gcdevops.github.io/

Following this guide to setup a local Jekyll environment for dev.
Had to install Ruby from the 7z archive and set the PATH manually, but so far, it appears to be working.

Looking at Jekyll themes, and I think this will be a good base we can build on:
https://github.com/rohanchandra/type-theme

I spoke too soon.  I've been fighting with a locked down laptop all afternoon and still don't have a local dev environment setup 👎

As expected, in less than 5 minutes on my computer, everything's setup and working just fine 🙄

Alrighty, first version deployed to gh-pages:
https://ssc-cio-digitaltaskforce.github.io/home/
Let me know what you think!   The content is pretty much a copy/pasta of your deck.
Things I still want to do:

play with the fonts/spacing.
fix the landing page style
add a Contact page
add a build process
beef up the README.md with info on the features and how to manage the site.

One note - I had to change the repo name so it would work as an organization gh-pages site.


Use custom resolver for libcoreclr.so also for .NET 6.0

Running into the same issue as in #889, I noticed the custom resolver code was not included for .NET 6.0 . This patch fixes the System.DllNotFoundException for single-file mode also in .NET 6.0

@henrikx I'm still having the System.DllNotFoundException error even with the .NET 5.0. How can I run it successful?

@BDisp I am not sure about .NET 5.0, but this patch definitely fixed it for .NET 6.0

But I'm still having the same error with the .Net 6.0. If I run my app from the /net6.0/linux-x64/ with dotnet ./myapp.dll it runs without errors. But if I run it from /net6.0/linux-x64/publish/ with ./net6.0/linux-x64/publish/myapp it gaves me the System.DllNotFoundException error.

@ henrikx, sorry, it working now. The reason for not working with .Net 5.0, was because the Terminal.Gui project doesn't include the .Net 5.0
Include this change in the Terminal.Gui on your PR:
<TargetFrameworks>net472;netstandard2.0;net5.0;net6.0</TargetFrameworks>

@BDisp Please check now. I have implemented the suggested changes.

@BDisp Please check now. I have implemented the suggested changes.

That is great @henrikx, thanks. Perhaps in the future, be better to keep the last two versions of the .NET in the projects to supports the two latest versions.

Perhaps in the future, be better to keep the last two versions of the .NET in the projects to supports the two latest versions.

Not sure what you mean by this or in which projects you mean. This PR is good for merge now, right?

Not sure what you mean by this or in which projects you mean. This PR is good for merge now, right?

Forget what I have said before, please. The most important is to change this every time the Terminal.Gui project is updated with the last .NET version. Your PR is good to merge but you have to wait for the approval and merging by @tig, because I'm only a contributor.


[release 2.2] update kubernetes/client-node

Related Issue:  open-cluster-management/backlog#10977
Description of changes

Updated package version

/hold

/retest

/retest

@jlpadilla Please review package update for 2.2 branch.

Reverted changes as 2.2.2 is closed. Will merge to 2.2.3 when it opens


Solution for The-Clockwork-Town-of-Tempora

Very first one :) :
repo: https://github.com/aramovic79/CopilotAdventures  ,
branch: https://github.com/aramovic79/CopilotAdventures/tree/I540731-the-clockwork-town-of-tempora

Love it! Thanks for submitting @aramovic79. 🎉


URL with Macro argument

Hi there,
I just discovered this fantastic tool.
The following commands are working:
sonos Chambre sharelink "https://open.spotify.com/track/6cpcorzV5cmVjBsuAXq4wD" start
sonos Chambre play_from_queue 1

Then I put this commands into a macro. It's working with
play_chambre = Chambre sharelink "https://open.spotify.com/track/6cpcorzV5cmVjBsuAXq4wD" start : Chambre play_from_queue 1
Then I tried to add an argument into the URL provided using:
play_chambre = Chambre sharelink %1 start : Chambre play_from_queue 1
When I tried: http://<IP_ADDRESS>:8000/macro/play_chambre/https://open.spotify.com/intl-fr/album/4V9BgSnwEMP5yRnZE5flSP
It's not working. I also tried to URL encode the spotify link. It's not working either.
Do you have any idea?

Hi. This is somewhat tricky to solve in its full generality, but v0.4.76 adds a play_sharelink action that appends a sharelink to the end of the queue and starts playback. This may provide you with what you need -- i.e., you can use:
http://<IP_ADDRESS>:8000/Chambre/play_sharelink/https://open.spotify.com/intl-fr/album/4V9BgSnwEMP5yRnZE5flSP
Let me know if this helps.

Thanks for your answer, that was exactly what I was looking for.


code divergence in getMultiStarts

The code for options.comp_type = parallel/sequential has substantially diverged although it should to the same thing. This will become even worse if the latest PR is merged.

This is the topic of #151 already. There are many differences between those two, I hope that the current format (optimization outsourced to other routines) will help to cure this.


/usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found

🐛 Bug

In some slurm environments or business client nodes, the version of libstdc++.so.6 is not so up-to-date, with strings /usr/lib64/libstdc++.so.6 | grep CXXABI_1.3., it (tested in two different slurms) gives:
CXXABI_1.3.1
CXXABI_1.3.2
CXXABI_1.3.3
CXXABI_1.3.4
CXXABI_1.3.5
CXXABI_1.3.6
CXXABI_1.3.7

however, after following the readme's setup, it seems that the environment needs the support for 'CXXABI_1.3.9'. Do you have any idea why it requires such higher CXX? or was it possible to somehow downgrade the environment's requirement?
Steps to Reproduce
Steps to reproduce the behavior:

Expected behavior

Additional context

Hi thanks for reaching.
This has been fixed when I turn to one workstation with sudo right. As I stated in Issue


missing db

would it be possible to get copy of demo site db with login?

No, but there is no real value in it. Mostly just the Umbraco StarterKit, which you can install yourself very easily:
Clear "Umbraco.Core.ConfigurationStatus" and the <connectionStrings> in Web.config, then run the site you will be prompted to install Umbraco. You can just press "Next/Continue" a few times and you are set.
The DemoSite will create an example header/example block through code (like in README) so if you then just add the datatype to some doctype it should work. Views are already present there as well.


Added kincl as member of the CoP

Added kincl as member of the CoP to resolve #604

/approve
/lgtm


Running the project - front-end not loading on localhost

We are trying to run the project via "npm run dev". (Licenses key provided)

But the "localhost:3000" never actually load anything out even after a very long time.

Can you help us with this issue?

Hey @ThinhMaiQuoc
Thanks for reporting an issue.
I've looked into it and there might be something wrong with your NR configuration.
Are you getting anything dumped into newrelic_agent.log file? (it should be automatically created on NR agent start)
What stops the page from displaying on the front-end side is this condition
It checks whether the New Relic agent collector is connected (when it is connected properly it resolves and moves on)
If you comment this condition out (the entire code block), you should be able to see the page loading as expected (although it might mean there is something wrong with your configuration)

Hi Mat,
Thanks for the response,
By commenting out the front end code block, the app has been able to start.
Really appreciated!
And about the newrelic_agent.log file. It seems that my license key appears
to be invalid.
This is the key that I took directly from the Application settings, so I'm
not sure why it's invalid.
Is there any other license key that I might have mistaken it with?
Cheers,
Thinh Mai.
On Wed, Feb 1, 2023 at 8:22 PM Mat Wilk @.***> wrote:

Hey @ThinhMaiQuoc https://github.com/ThinhMaiQuoc
Thanks for reporting an issue.
I've looked into it and there might be something wrong with your NR
configuration.
Are you getting anything dumped into newrelic_agent.log file? (it should
be automatically created on NR agent start)
What stops the page from displaying on the front-end side is this
condition
https://github.com/newrelic-experimental/newrelic-nextjs-integration/blob/main/pages/_document.tsx#L24
It checks whether the New Relic agent collector is connected (when it is
connected properly it resolves and moves on)
If you comment this condition out (the entire code block), you should be
able to see the page loading as expected (although it might mean there is
something wrong with your configuration)
—
Reply to this email directly, view it on GitHub
https://github.com/newrelic-experimental/newrelic-nextjs-integration/issues/11#issuecomment-1412051537,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKYG3HDKRE46IIZQZZV6V6DWVJPQ3ANCNFSM6AAAAAAUKTMLBI
.
You are receiving this because you were mentioned.Message ID:
<newrelic-experimental/newrelic-nextjs-integration/issues/11/1412051537@
github.com>

{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.027Z","msg":"Using New Relic for Node.js. Agent
version: 9.8.1; Node version: v16.18.0."}
{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.251Z","msg":"Using LegacyContextManager"}
{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.263Z","msg":"Adding destroy hook to clean up
unresolved promises.","component":"async_hooks"}
{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.378Z","msg":"Agent state changed from stopped
to starting."}
{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.396Z","msg":"Not adding native metric sampler.",
"component":"sampler","error":{"message":"Cannot find module
@.\native-metrics\build\Release\_newrelic_native_metrics-9_0_0-native_metrics-93-win32-x64.node'\nRequire
stack:\n-
@.\native-metrics\lib\pre-build.js\n-
@.\native-metrics\index.js\n-
C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\lib\sampler.js\n-
C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\lib\agent.js\n-
C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\index.js\n-
@.\next\index.js\n-
internal/preload","stack":"Error: Cannot find module
@.\native-metrics\build\Release\_newrelic_native_metrics-9_0_0-native_metrics-93-win32-x64.node'\nRequire
stack:\n-
@.\native-metrics\lib\pre-build.js\n-
@.\native-metrics\index.js\n-
C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\lib\sampler.js\n-
C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\lib\agent.js\n-
C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\index.js\n-
@.\next\index.js\n-
internal/preload\n    at Function.Module._resolveFilename
(node:internal/modules/cjs/loader:985:15)\n    at
Function.wrappedResolveFilename [as _resolveFilename]
(C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\lib\shimmer.js:297:42)\n
at Function.Module._load (node:internal/modules/cjs/loader:833:27)\n
at Function.wrappedLoad [as _load]
(C:\Users\ACER\Desktop\nextjs\newrelic-nextjs-integration\node_modules\newrelic\lib\shimmer.js:313:24)\n
at Module.require (node:internal/modules/cjs/loader:1057:19)\n    at
require (node:internal/modules/cjs/helpers:103:18)\n    at Object.load
@.\native-metrics\lib\pre-build.js:52:10)\n
at Object.
@.\native-metrics\index.js:11:26)\n
at Module._compile (node:internal/modules/cjs/loader:1155:14)\n    at
Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)"}}
{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.396Z","msg":"Starting New Relic for Node.js
connection process."}
{"v":0,"level":30,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:53:58.397Z","msg":"Agent state changed from starting
to connecting."}
{"v":0,"level":40,"name":"newrelic","hostname":"DESKTOP-P6B26HM","pid":768,
"time":"2023-02-02T03:54:00.481Z","msg":"Your license key appears to be
invalid. Reattempting connection to New Relic. If the problem persists,
please contact @.*** (status code 401)","component":
"collector_api"}

Message ID:

<newrelic-experimental/newrelic-nextjs-integration/issues/11/1412051537@
github.com>

Hi @ThinhMaiQuoc,
If you're instrumenting the app using the newrelic module as it is recommended for Next.js instrumentation for most scenarios please use the Ingest License key.
Here you can find a little bit more descriptive explanation.
In the NR UI it will look like this:

You can also create your own Ingest License key in the UI if you wish your app to use a different key.
Hope this helps.

Hi @ThinhMaiQuoc
Let me know if this solved your issue, if I don't hear from you for a few days I'll close the issue as resolved.


Travis builds fail for tip version - use stable instead

All recent builds fail in a weird way:
$ staticcheck $(go list ./... | grep -v vendor)
/home/travis/gopath/src/github.com/jessfraz/reg/vendor/github.com/docker/docker/registry/session.go:572:32: cannot use tarsumLayer (variable of type github.com/jessfraz/reg/vendor/github.com/docker/docker/pkg/tarsum.TarSum) as io.Reader value in argument to io.TeeReader: missing method Read
couldn't load packages due to errors: github.com/jessfraz/reg/vendor/github.com/docker/docker/registry
The command "staticcheck $(go list ./... | grep -v vendor)" exited with 1.

I was not able to reproduce it locally. But from what I can gather, tip == master:
https://github.com/travis-ci/gimme/issues/110
https://github.com/travis-ci/travis-build/commit/b114b18b3e762b9661d080eca2b5942d70b39c34#diff-fe52d3b67e8fe283d39c20d2b87d82f8
Moreover, the docs doesn't mention tip at all, there's only 1.x and master.
So IMHO something like this would be better / more stable, e.g.:
...
go:
  - 1.x
  - master
matrix:
  allow_failures:
    - go: master
  fast_finish: true
...
    on:
      go: 1.x
...

I've reproduced it locally:
docker run --rm -v "$PWD":/go/src/github.com/jessfraz/reg --workdir /go/src/github.com/jessfraz/reg -v /tmp:/tmp reg-gimme:latest make init staticcheck
go version devel +07f0f09563 Fri Feb 16 15:37:57 2018 +0000 linux/amd64
+ init
go get -u honnef.co/go/tools/cmd/staticcheck
+ staticcheck
/go/src/github.com/jessfraz/reg/vendor/github.com/docker/docker/registry/session.go:572:32: cannot use tarsumLayer (variable of type github.com/jessfraz/reg/vendor/github.com/docker/docker/pkg/tarsum.TarSum) as io.Reader value in argument to io.TeeReader: missing method Read
couldn't load packages due to errors: github.com/jessfraz/reg/vendor/github.com/docker/docker/registry

With a custom gimme image set to tip version.

I've tried the 1.x with mixed results: https://travis-ci.org/pawelprazak/reg/jobs/342529887
Deployment hasn't triggered:

Skipping a deployment with the releases provider because this is not on the required runtime

Using the undocumented stable version (resolved to go1.9.4) gives the expected result:
https://travis-ci.org/pawelprazak/reg/jobs/342534715

@jessfraz any thoughts on this?

Thanks for going into so much detail, ya this happening on like 30 of my projects because I share the same travis config. I will fix

fixed by https://github.com/jessfraz/reg/commit/533d292bfbb0de9e7763e5222a40ba744b5006ae

I hate when CI is red ;) also reverse-engineering is so much fun


Obvious fix: replace lint download action with curl

Description
Obvious fix
Partially resolves this warning:

The following actions use a deprecated Node.js version and will be forced to run on node20<EMAIL_ADDRESS><EMAIL_ADDRESS>For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Types of changes

[ ] 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 change)
[x] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[x] I have read the CONTRIBUTING document.
[X] I have run the pre-merge tests locally and they pass.
[x] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[x] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

I just approved this but now want to know if this works as designed on Windows as well?

@johnmccrae I'm not sure if you removed your comment, but the jobs in this workflow only run on Ubuntu.

Windows issues in chef-oss are known issues.


queueMarkAsRead: Resend messages on failure

@chrisbobbe ready for another review :)

Thanks, @WesleyAC! Merged.

Adding a cross-reference: this is part of #4559 .
I was just looking at that issue a few minutes ago because it came up for a different reason, and didn't see this. Which illustrates why I always want cross-references :slightly_smiling_face:

Thanks @WesleyAC !
Two comments I'd like to see followup fixes for: one just above, and https://github.com/zulip/zulip-mobile/pull/4620#discussion_r612044658 in the earlier thread.


Add /getcontext command for debugging

Add /getcontext command for debugging
Enable simultaneous prompts
Catch all errors in handle_message
Reply to prompt message

Thanks for the PR!
I created new branch for debugging and testing: dev.
/getcontext will be moved there.

Debugging can also be useful while in regular use, not just development. Because it's not very obvious of what the chat context is just by seeing the chat history on telegram.

0376c52 also has the changes for response as reply to the message.
I don't think maintaining branches like this will be practical. Instead, you should use python logging module and use the logging levels along with an environmental variable like LOG_LEVEL. This way it can be easily set in env file.
Two different branches diverge unexpectedly and create a merge conflict very soon, which will be a huge problem. Dev branch is not for dev purposes like this, instead it is the changes 'in development'.


feat(core): move ipex history items to keria

Description

Updated functionality to store new history items in the cloud.
The key used for IPEX history items is updated to history:ipex:<saidOfIpexExnMessage>
The key used for credential revocation history items is updated to history:revoke:<saidOfCredential>
Returns history items based on the specified prefix.
Removed local related ipex history items

Checklist before requesting a review
Issue ticket number and link

[x] This PR has a valid ticket number or issue: DTIS-1409

Testing & Validation

[x] This PR has been tested/validated in IOS, Android and browser.
[x] The code has been tested locally with test coverage match expectations.
[x] Added new Unit/Component testing (if relevant).

Security

[x] No secrets are being committed (i.e. credentials, PII)
[x] This PR does not have any significant security implications

Code Review

[x] There is no unused functionality or blocks of commented out code (otherwise, please explain below)
[x] In addition to this PR, all relevant documentation (e.g. Confluence) and architecture diagrams (e.g. Miro) were updated

once tests are fixed, can merge


⚠ Samsung has degraded performance

In 184f9c8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2699 ms

Resolved: Samsung performance has improved in 42d78af.


✨ feat: add fediverse creator metadata support

Summary
Add Fediverse author meta tag to header through variable fediverse_creator.
Related issue
#408
Changes

Added conditional insert of meta tag to header template

Accessibility
Meta-element, should not impact accessibility?
Screenshots
Live at https://www.richtman.au
Type of change

[ ] Bug fix (fixes an issue without altering functionality)
[x] New feature (adds non-breaking functionality)
[ ] Breaking change (alters existing functionality)
[ ] UI/UX improvement (enhances user interface without altering functionality)
[ ] Refactor (improves code quality without altering functionality)
[ ] Documentation update
[ ] Other (please describe below)

Checklist

[ ] I have verified the accessibility of my changes
[ ] I have tested all possible scenarios for this change
[ ] I have updated theme.toml with a sane default for the feature
[ ] I have made corresponding changes to the documentation:

[x] Updated config.toml comments
[x] Updated theme.toml comments
[x] Updated "Mastering tabi" post in English
[x] (Optional) Updated "Mastering tabi" post in Spanish
[x] (Optional) Updated "Mastering tabi" post in Catalan

This is going to fail on the Sumi lint, could be handy if there was something to help construct commits that adhered, I can see rules in sumi.toml

Thank you so much! I'll change the format of the variable to snake case, to match the rest of the config.

This is going to fail on the Sumi lint, could be handy if there was something to help construct commits that adhered, I can see rules in sumi.toml

No problem at all. I'm happy to edit titles/commit messages. The PR title rules are explained in CONTRIBUTING.md (except the length limit, as it's not a hard limit).

Thanks again!
If you prefer, for future PRs like this (small, extremely likely to get merged), feel free to skip issue creation, unless you want to discuss first.


Unable to use Mobile Devices settings in Windows 11 Moment 5

Describe the bug
If I apply tweaks using WinUtil I'm unable to enable Windows integration with my phone. I can enable standalone phone link but I'm still unable to use the feature whish allows my computer co access my mobile device which I use to download pictures from my phone to my PC. This feature will also be used for connecting your Android smartphone as a webcam for your computer. Moment 5 should be available in build 22631.3235 which was installed by update KB5034848, link for downloading MSU of the update from Microsoft update catalog
To Reproduce
Steps to reproduce the behavior:

Install clean Windows 11 Moment 5 image
Go to Settings > Bluetooth & devices > Mobile devices
Features are now allowed
Run tweaks using winutil
Check again Settings > Bluetooth & devices > Mobile devices
Features are now inaccessible with message settings are managed by your organization

Expected behavior
I want to still be use this feature if I choose to. So probably the best resolution would be adding a check box to tweak tab for enabling and disabling this feature.

I had to create this issue once again because the original issue (https://github.com/ChrisTitusTech/winutil/issues/1670) was closed way too fast because the repo was dormant at that time.

This most likely is the result of oo-tweaks. Winutil simply applies all recommended tweaks of oo-software when running the simple tweak. This tweaks a lot of settings which are not really recommended for privacy reasons.
To be able to use the feature you have two options:
Easy way: simply undo the simple OO tweak
Smart way: open OO Shutup via the button under advanced tweaks and search for the setting that disabled the phone functionality

I haven't run OO tweaks. I only ran disable telemetry tweak and it disabled the mobile devices settings and says that it is managed by your organization. If I undid the telemetry tweak he mobile devices settings started to work.

Just pinging this issue to avoid it being closed for inactivity.

Hello.
After some testing. i found what makes the Mobile Devices settings go inaccessible after disabling telemetry using WinUtil
to fix this ...
1-  just go ahead and use the tool as normal to minimize telemetry
2- Press Win + R and type regedit into the Run box.
3- Open the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager.
4- Then , modify the 32-bit DWORD value SilentInstalledAppsEnabled. Set its value data to 1.
(it was desabled by WinUtil to Disable automatic installation of unwanted apps in Windows 11)
5- Restart to apply the change.
Hope this can help 😊

Oh thanks, that's quite a d**k move from MS because automatic installation for example of HPs garbage software just when it detects HP printer in network is quite annoying.

@Dr-DANTRO OK just tried this and it's still disabled, after enabling SilentInstalledAppsEnabled

try this and let me know :
Navigate to this key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced.
Find the Start_IrisRecommendations in the right pane and double-click it.
Change its value data from 0 to 1

@krystofkrticka I've also taken a look at this. The message settings managed by your organization disappears and the settings become accessible again when setting the following registry key.
HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent\DisableWindowsConsumerFeatures -> 0
Does this also work for you?

@krystofkrticka I've also taken a look at this. The message settings managed by your organization disappears and the settings become accessible again when setting the following registry key. HKEY_LOCAL_MACHINE:\SOFTWARE\Policies\Microsoft\Windows\CloudContent\DisableWindowsConsumerFeatures -> 0 Does this also work for you?

@Marterich Yes, this helped. From the text settings are managed by your organization I immediately knew that this has something to do with GPO.

Setting for this would be nice so user can choose if they want to use mobile devices settings.

I agree with most settings winutil does but it's quite annoying if it breaks some features which are useful but that's subjective opinion if the feature is useful or not easy setting would be nice.

I agree with most settings winutil does but it's quite annoying if it breaks some useful features but that's a subjective opinion if the feature is useful or not easy setting would be nice.

That's fair. All in all, I think the vision for the tool should be to break up the chunks of undocumented changes (like the recommended OO which we recently completely removed) and the telemetry tweaks and rather split them up into separate tweaks that are applied by default when selecting a preset.

I agree with most settings winutil does but it's quite annoying if it breaks some useful features but that's a subjective opinion if the feature is useful or not easy setting would be nice.

That's fair. All in all, I think the vision for the tool should be to break up the chunks of undocumented changes (like the recommended OO which we recently completely removed) and the telemetry tweaks and rather split them up into separate tweaks that are applied by default when selecting a preset.

Yes this would also help with troubleshooting why is some feature not working, because trying to figure out what caused some issue by digging in tools code is very time consuming.

BTW this also helped with phone link crashing on one of my computers. Phone Link is genuinely useful tool when you sometimes do helpdesk routines, because I'm much faster in controlling computer when I have both hands on keyboard instead of one hand on keyboard and other holding a phone.

BTW this also helped with phone link crashing on one of my computers. Phone Link is genuinely useful tool when you sometimes do helpdesk routines, because I'm much faster in controlling computer when I have both hands on keyboard instead of one hand on keyboard and other holding a phone.

Yea, the only annoying part it seems to me is, that Microsoft Bundles quite a lot functionality in this one Registry Key / GPO . Example: This key not only disables Phone Link, but disables the App Recomendations in the Start Menu as well, so as far as I can tell, you cannot disable the recommendations but keep Phone Link

Yep that's quite dumb on Microsoft's part. Cause disabling recommendations is also one of the tasks I do when installing fresh copy of Windows

It's shame that I can't dump Windows all together and switch to using Linux based OSes instead because I have HW and some SW which works only on Windows.


SIOPV2 and OIDC4VP : error message returned by wallet to overifier

Depending the case of error, wallet must return a message to verifier
user_cancelled: End-User cancelled the Authorization Request from the RP.
registration_value_not_supported: the Self-Issued OP does not support some Relying Party parameter values received in the request.
subject_syntax_types_not_supported: the Self-Issued OP does not support any of the Subject Syntax Types supported by the RP, which were communicated in the request in the subject_syntax_types_supported parameter.
invalid_registration_uri: the client_metadata_uri in the Self-Issued OpenID Provider request returns an error or contains invalid data.
invalid_registration_object: the client_metadata parameter contains an invalid RP parameter Object.
invalid_request_uri
The request_uri in the Authorization Request returns an error or contains invalid data.
invalid_request_object
The request parameter contains an invalid Request Object.
request_not_supported
The OP does not support use of the request parameter defined in Section 6.
request_uri_not_supported
The OP does not support use of the request_uri parameter defined in Section 6.
registration_not_supported
The OP does not support use of the registration parameter defined in Section 7.2.1.

The error response is sent with a POST application/json to the redirect endpoint
For example:
 HTTP/1.1 POST
 Content-Type: application/json;charset=UTF-8
 Cache-Control: no-store
 Pragma: no-cache

 {
   "error":"invalid_request"
 }


docs(modal): add docs for using nav in modal

Short description of what this resolves:
I added documentation on how to use a modal container component in an Ionic app. This has had a lot of discussion in #8151, and is minimally documented, so I took a stab at documenting it.
Changes proposed in this pull request:

add documentation on navigating inside modal

Ionic Version: 1.x / 2.x / 3.x
Fixes: #8151

Yay!


Cannot use four byte unicode

When I try to use a four byte unicode string I get this exception:
import pyodbc
cs = 'DRIVER=MSSQL;SERVER=%s;PORT=1433;UID=%s;PWD=%s;DATABASE=%s;TDS_Version=7.2' \
                % ('server', 'user', 'password', 'database')
conn = pyodbc.connect(cs)
cursor = conn.cursor()
r = cursor.execute('INSERT INTO Table (Column) VALUES (?)', (u'a\U0001f185c'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Cannot convert from Unicode 127365 to SQLWCHAR.  Value is too large.

Followed this guide to install msodbcsql driver v11, using unixODBC-2.3.2 built from source with:
./configure --enable-gui=no --enable-stats=no \
 --enable-drivers=no --enable-iconv --with-iconv-char-enc=UTF8 \
--with-iconv-ucode-enc=UTF16LE --libdir=/usr/lib/x86_64-linux-gnu \
--prefix=/usr --sysconfdir=/etc

$ cat /etc/odbcinst.ini
[MSSQL]
Description=Microsoft ODBC Driver 11 for SQL Server
Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-11.0.so.2270.0
Threading=1
UsageCount=1

Since this is Unicode related, I'm going to link to #112 which will allow different encodings over the wire.

Actually, I'm going to close this since I believe that #112 will fix it.  Please subscribe to that issue for updates.  Thanks.

Does #112 actually fix this?
Since here the char size is defined as max 2, unicode characters requiring more than 2 bites will be doomed, resulting in errors like this one. I think they might be different issues.


SSL verification is Running - [BRIEF DESCRIPTION]

App Id: d3qwyc2tlh1a4w
Region: us-west-2
Step: SSL verification
Status: Running

Note: Do not include information that is sensitive in nature such as your domain name, company etc.

Issue/question
A clear and concise description of what the issue/question is.
Error message
If there is an error message, please include it here.
Note: Be sure to check the message for sensitive information.
Additional information
Please add any other relevant information. Please feel free to include screenshots.

Looks like your domain is available. Let me know if you still have the issue


The target package with version

I want to know, how to specify the version of the target package?
For example, go-callvis -format=png -file=docker -limit github.com/docker/docker -ignore github.com/docker/docker/vendor github.com/docker/docker/cmd/docker, how to call<EMAIL_ADDRESS>

The current version does not allow this, but seems like it definitely should be supported.


Added Route Table Association

feat: Added RouteTable, Route, & RouteTableAssociation for Public & Private Subnet

Verified. Acknowledged Pull Request.


AniAPI just gives ads

I don't know how it's work but definitely I am dam sure above the chapter

Not sure what you mean

Thanks for this issue @dalekvim, but this is a duplicate: #3376


how to change language?

how to change the language using your repo?
i just use window.iframe["PDFViewerApplicationOptions"].set("locale",“en-US”) with the repo of pdf.js

#37

@htian88 , does the solution proposed by @kingyue737 suite you?


mouseCapture is not using explicit annotation

Hello
I get this error on angular 1.4.7
function($scope, $element, $attrs, mouseCapture is not using explicit annotation and cannot be invoked in strict mode

Any idea how to fix it?

yes, i fixed it and sent you a pull request

I accepted your pull request. Thank!


Integration Test - Release - 2019/05/08 12:32:59

Auto create for integration test. DocfxAuthorMetadataFlow

@bharney-msft : Thanks for your contribution! The author, @bharney, has been notified to review your proposed change.


rfc: Preload Realm for Service Workers

Reopened from #4 as my fork somehow became unlinked

Preload realms provide an isolated context to run JavaScript prior to code evaluating in another
context. This expands functionality of Electron's preload scripts to provide new context targets.
This proposal intends to target Service Worker contexts with potential plans for new contexts (web
workers, shared workers) in future proposals.

Read rendered document
Recommended prerequisite readings:

Design of V8 bindings
ShadowRealms explainer

If you're curious, there's a very rough wip prototype being written in https://github.com/samuelmaddock/electron/tree/feat/preload-realm

Todo:

[ ] Try to get a better understanding of where ShadowRealm is at in the TC39 process.
[x] Call out the option of landing the API as experimental until ShadowRealm is stable

Recent changes:

ipcMain no longer receives SW IPC messages in favor of handling them on ServiceWorkerMain.ipc.
"Main world" is now used by contextBridge instead of the added "initiator world" to simplify reusing preload scripts between frames and service workers.

Regarding ShadowRealm TC39 proposal status, there's been a couple updates this year.

February: https://github.com/tc39/notes/blob/main/meetings/2024-02/feb-7.md#shadowrealms-update
June: https://github.com/tc39/notes/blob/main/meetings/2024-06/june-12.md#shadowrealm-update

Before the proposal is able to move forward, more work is needed on confirming the selection of APIs to be included within the new realm. Also, more test coverage is needed with WTP mentioned.
The good news is that the V8 implementation seems to be stable according to the February slides and I added a WPT test as part of this RFC :)
Assuming no major changes regarding Blink's implementation, we may see more built-in APIs exposed within the ShadowRealm which would be beneficial for Preload Realms as well.


How skip N rows

I am facing the problem of skipping N lines
i have int wich indicate how much row i need skip
at first i try use EmptyColumnNamePrefix = "Column"
but when read i see empty column with name Column0, Column1...

using (var stream = File.Open(filePath, FileMode.Open, FileAccess.Read))
            {
                //  - Binary Excel files (2.0-2003 format; *.xls)
                //  - OpenXml Excel files (2007 format; *.xlsx, *.xlsb)
                using (var reader = ExcelReaderFactory.CreateReader(stream))
                {
                    return reader.AsDataSet(new ExcelDataSetConfiguration
                    {
                        ConfigureDataTable = _ => new ExcelDataTableConfiguration
                        {
                            **EmptyColumnNamePrefix = "Column",**
                            UseHeaderRow = true,
                        }
                    });
                }
            }

then i try use FilterRow = rowReader => rowReader.Depth > firstRowNumber-1,
but result same
Is this a bug or am I doing something wrong?

Hi!
If you need to skip lines before the header row, use the ReadHeaderRow callback. If you need to skip rows after the header row, use the FilterRow callback.


No screenshot, Siri with side button

After installing Little11, I am not able to take a screenshot, invoke Siri by holding the side button, and voice to text cuts off about one second after I start speaking.
Uninstalling Little11 fixes these issues, reinstalling brings them back.
iPhone X, iOS 13.3.1, checkra1n.

Every, but every tweak that imitates HomeGesture for iOS 13.3 has this issue, except for Gestures13 1.1 (but you have to use it in combination with ClassicKeyboardXS because of the ugly keyboard typing pad on older devices).
There is a problem with screenshot somehow... standard screenshot stops working (Home/Power) so I tried your beta key combination (Power/volume) and nothing happens. It acts as if unbinded.
iPhone 6s, 13.3, checkrain


stat: --printf option does not support precision in certain format strings

The --printf argument to stat does not seem to correctly support precision specifiers in format strings.
For example, after creating a file with touch f...
GNU stat:
$ stat --printf='%.1Y\n' f
1646795086.4

uutils stat:
$ ./target/release/stat --printf='%.1Y\n' f
1

From the documentation

The ‘%W’, ‘%X’, ‘%Y’, and ‘%Z’ formats accept a precision preceded by a period to specify the number of digits to print after the decimal point. For example, ‘%.3X’ outputs the access timestamp to millisecond precision. If a period is given but no precision, stat uses 9 digits, so ‘%.X’ is equivalent to ‘%.9X’. When discarding excess precision, timestamps are truncated toward minus infinity.

-- https://www.gnu.org/software/coreutils/manual/html_node/stat-invocation.html

@jfinkels, err… Where did you find stat in this package?
That's what I see on Windows 7 x64 upon launch of coreutils 0.0.16
$ coreutils.exe
coreutils 0.0.16 (multi-call binary)

Usage: coreutils [function [arguments...]]

Currently defined functions:

    [, arch, b2sum, b3sum, base32, base64, basename, basenc, cat, cksum, comm, cp, csplit, cut,
    date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, factor, false, fmt,
    fold, hashsum, head, hostname, join, link, ln, ls, md5sum, mkdir, mktemp, more, mv, nl,
    nproc, numfmt, od, paste, pr, printenv, printf, ptx, pwd, readlink, realpath, relpath, rm,
    rmdir, seq, sha1sum, sha224sum, sha256sum, sha3-224sum, sha3-256sum, sha3-384sum, sha3-
    512sum, sha384sum, sha3sum, sha512sum, shake128sum, shake256sum, shred, shuf, sleep, sort,
    split, sum, sync, tac, tail, tee, test, touch, tr, true, truncate, tsort, unexpand, uniq,
    unlink, vdir, wc, whoami, yes

$ coreutils.exe stat
stat: function/utility not found

@sergeevabc It's not available on Windows. If you're on unix, you can compile with --features unix or --features stat to access it.

Even though it was supposed to be only a refactor, https://github.com/uutils/coreutils/pull/4150 solves part of this:
$ cargo run --quiet -- stat --printf='%.1Y\n' f
1668645806

At least it shows some useful info and not just 1 😄

I've dug into this issue and found that the implementation of stat does not care about type float. Furthermore, the function used to get meta info of files fs::symlink_metadata or fs::metadata returns values no more than type integer or unsigned in the first place.


[Question] Do I need to care about the log "Error: status is pending return the pending future" on iOS ?

Please fill in the following fields:

Unity editor version: 2020.3.19f1
Firebase Unity SDK version: 8.5.0
Source you installed the SDK: .tgz
Problematic Firebase Component: Messaging
Other Firebase Components in use: Core, Analytics
Additional SDKs you are using: none
Platform you are using the Unity editor on: Windows, Mac
Platform you are targeting: iOS
Scripting Runtime: IL2CPP

Please describe the question here:
I always get the log Error: status is pending return the pending future when I call FirebaseMessaging.RequestPermissionAsync in the continuation function of Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread.
Except this error log, everything works fine.
The prompt to request permission to receive notifications was shown as expected. The notification also received as expected.
Is there any way to fix it? Or I can ignore this error log?
(Related issue: #821)
(It can be 100% reproduced from cloud messaging quickstart.)

Hi @william821114.
Thanks for reporting this. While I try to replicate this issue, could you verify if this behavior persists using the latest version of the SDK (8.6.2)? Could you also confirm if your Xcode project is properly configured?

@paulinon
I tried SDK (8.6.2) and same problem as before.

Thanks for letting us know, @william821114. I have also encountered this issue with our quickstart using the latest SDK version. Let me discuss this with the team, and we'll get back to you once we have updates.

Hi @william821114 can you please share your code snippet and logs for this issue? Thanks!

This log seems to be from Firebase C++ SDK, specifically for iOS platform.
https://github.com/firebase/firebase-cpp-sdk/blob/6946d8a470545758b55abde8d6ec84a8e2235e0f/messaging/src/ios/messaging.mm#L183
The error message occurs if RequestPermission() is called again before the previous request is finished.
Another note is that setting the listener can trigger this function as well.
https://github.com/firebase/firebase-cpp-sdk/blob/6946d8a470545758b55abde8d6ec84a8e2235e0f/messaging/src/ios/messaging.mm#L175
My assumption is that you registered a callback function to FirebaseMessaging.MessageReceived along with your RequestPermissionAsync() call. If that is the case, I think the error message is, though annoying, but harmless.
Otherwise, I wonder how you reach to this error.  As @cynthiajoan mentioned, it would be great if you can offer the code snippet around your call to RequestPermissionAsync() and the logs.
Thanks,
Shawn

My code is the same as cloud messaging quickstart.
https://github.com/firebase/quickstart-unity/blob/86f5b37cf8f643089c6302c9cb2add423cb0a5e6/messaging/testapp/Assets/Firebase/Sample/Messaging/UIHandler.cs#L78-L93
I registered a callback function to FirebaseMessaging.MessageReceived before RequestPermissionAsync() called.

I was able to reproduce this as well.  I don't think that there's an actual issue here. As previously noted, setting a listener kicks off an asynchronous call to RequestPermission.  In this case MessageReceived and TokenReceived are configuring listeners.
The log is simply saying that implementation hasn't resolved the first attempt to request permission before the explicit operation of RequestPermissionAsync is invoked.
I'm going to mark this as a bug since I've been able to reproduce this, and the log states that an error has occurred.  However, I believe that this isn't an error condition and that the correct resolution of this issue is to simply remove the log.


spicetify-cli: 2.18.0 -> 2.18.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/spicetify-cli/versions.
meta.description for spicetify-cli is: Command-line tool to customize Spotify client
meta.homepage for spicetify-cli is: https://github.com/spicetify/spicetify-cli/
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.18.1 with grep in /nix/store/yg6ri1xfgfg507pzxsc4q5a10sxczc2d-spicetify-cli-2.18.1
found 2.18.1 in filename of file in /nix/store/yg6ri1xfgfg507pzxsc4q5a10sxczc2d-spicetify-cli-2.18.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
spicetify-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yg6ri1xfgfg507pzxsc4q5a10sxczc2d-spicetify-cli-2.18.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A spicetify-cli https://github.com/r-ryantm/nixpkgs/archive/85d235bdca5a8ea1a1f1b915612dccf118f97b64.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/yg6ri1xfgfg507pzxsc4q5a10sxczc2d-spicetify-cli-2.18.1
ls -la /nix/store/yg6ri1xfgfg507pzxsc4q5a10sxczc2d-spicetify-cli-2.18.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

spicetify-cli

Maintainer pings
cc @jonringer for testing.

Result of nixpkgs-review pr 232164 run on x86_64-linux 1

1 package built:

spicetify-cli


VPack as block storage

Has anyone thought about trying other low-level storage backends to experiment with efficiency & performance? Perhaps something like VPack could be interesting to test.
I'm asking despite seeing libmdbx's internals being rather more tightly bound to the current format (which seems nearly identical to LMDB).

MDBX treat user's keys and data as opacity byte strings, except the MDBX_INTEGERKEY and MDBX_INTEGERDUP features. So nothing prevents you from using any serialization format, including noted VelocyPack.
On the other hand, using custom format for keys requires "custom comparators" which entails certain restrictions. Therefore, it is planned to implement minimal support for MessagePack.
However, I do think it is NOT reasonable to do same for VPack, since it is used rarely in comparison with MsgPack.

Oh, pardon me for not being clear with my question.
I'm asking whether someone has tried to exchange the memory layout (and thus also the on-disk data layout) libmdbx uses internally for VPack or anything similar.

Suggest to close since no answer is expected.


Add default values for priority and description

By this pull request, user will not need to enter priority, description and tags, priority will by default be set to low and the description be set to empty string

Coverage decreased (-0.8%) to 85.461% when pulling 05714051ac2e24a8945ad366d097d0c120d06516 on V0.3_relax_task_required_inputs into 8c9f5562bd75e97d7daf56fa8defa907516b7033 on V0.3_MainBranch.

Coverage increased (+0.4%) to 86.626% when pulling cbba62d8b7bad47c4f5083ec8c314c85215aac80 on V0.3_relax_task_required_inputs into 8c9f5562bd75e97d7daf56fa8defa907516b7033 on V0.3_MainBranch.

Coverage increased (+0.4%) to 84.855% when pulling bba2b34d64d214e9150ffaac818b034c5669f27c on V0.3_relax_task_required_inputs into edfb3960ed775d560dda4a2e20896d94ba4802a6 on V0.3_MainBranch.


Some questions about GPU acceletarion

Hello, I am very curious about GPU acceletarion. I have noticed that GPU acceleration has not yet been implemented in many mainstream fully homomorphic encryption libraries. Now, I have the following questions:

Why can't GPU acceleration be implemented in those mainstream libraries now?
What are the technical challenges of using GPU to accelerate homomorphic encryption?
Compared to other mainstream FHE libraries, what are the advantages of your library?
Looking forward to your reply, thank you!

We built GPU acceleration for SEAL a long time ago, but never polished it up enough for public release. The problem was that while we got significant performance improvement, we did some calculations that indicated that, due to the higher power consumption of GPUs, in almost all cases one would have been better off just getting another or a more powerful CPU. The situation may have changed now since GPUs have evolved a lot.


Data Snapshot Exporter task finished filter error

Describe the bug
When I want to create a snapshot to export project data, if the param finished for task_filter_options is given the export is failing with error django.core.exceptions.FieldError: Cannot resolve keyword 'is_labled' into field. Choices are: annotations, cancelled_annotations, 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, locks, meta, overlap, predictions, project, project_id, total_annotations, total_predictions, updated_at, updated_by, updated_by_id. On checking the code it looks like the place where the tasks are filtered the name of the column seemed to be misspelled.
To Reproduce
Steps to reproduce the behavior:

Create a sample project.
Hit the rest endpoint for snapshot export with the payload {"task_filter_options": {"finished": "only"}}.
The above error would be present in the log and the export task would have failed.

Expected behavior
The export should go through without failure.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: Ubuntu 20.04.4 LTS
Label Studio Version: 1.5.0

Additional context
I checked the code the problem seems to the be in the mixin.py file in the data_export module (code_line) where the column name seems to be misspelled.

Sorry, This is my first issue let me know if I need to add any more info, also I could raise a PR fixing the column name in the above mentioned file.

@drreddy thank you for your findings!
There is a fix: https://github.com/heartexlabs/label-studio/pull/2929
Could you please check if it works?

I've verified the above fix it works.


chore(jsx-renderer): fix typo in JSDoc

The author should do the following, if applicable
The following does not apply.

[ ] Add tests
[ ] Run tests
[ ] bun run format:fix && bun run lint:fix to format the code
[ ] Add TSDoc/JSDoc to document the code

@taga3s Thanks!


Exchange pandas for polars for much better performance

Since polars is much better with utilizing parallelization we expect a lot of speed improvements for larger data sets.
https://www.pola.rs/

Reading:

collect scan_csv
post-processing afterwards?


Add a new PodOption to override default container name

Change Overview
Add a new PodOption to override default container name
Pull request type
Please check the type of change your PR introduces:

[ ] :construction: Work in Progress
[x] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[ ] :sunflower: Feature
[ ] :world_map: Documentation
[ ] :robot: Test

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

$ go test -v -check.f="PodSuite" .
=== RUN   Test
found pod
OK: 4 passed
--- PASS: Test (41.18s)
PASS
ok      github.com/kanisterio/kanister/pkg/kube 41.188s

LGTM


Fix qt resources call in cmake

Fix call to add qt resources, see documentation for qt_add_resources https://doc.qt.io/qt-6/qt-add-resources.html
Refs https://github.com/contour-terminal/contour/issues/1466
i was getting same error

I can confirm this is what fixes it for me.


pass through sourceMap option to stylus, and also inherit source-map option from devtool

This solves two issues I ran into.
The first is that I wanted to pass sourcemap options directly to stylus for greater control over the output. This allows that, while defaulting to stylus-loader?sourceMap => sourcemap = true.
The second is that when using css-loader and ExtractTextPlugin, you get two source map URLs in the output, one of which is to a nonexistant compiled .css file with the same name as your main stylus require. Since css-loader already inherits the source-map option from your webpack config, it seems that would make sense here too, and avoids the duplicate sourcemap issue, leaving only [name].css.map and a URL reference to it.
I think this is a possibly breaking change from 1.0.0 in the sense that stylus-loader?sourceMap currently results in sourcemap = { comment: true, inline: true }. I believe that inlining source maps is probably not the desired default behavior, but if you want to avoid the BC break I understand and can revise the PR. What do you think?

Seems reasonable. I'll publish as 1.1.0. Thanks!


Return error codes to indicate problems initialising the screen

#20 removed all serial logging from this (and the other) libraries. Whilst this is a good to tidy up, since libraries shouldn't be spamming the serial port, it would be good to have some sort of error codes returned indicating if there were any problems.
This would mean documenting these error codes somewhere as well.

See https://github.com/OXRS-IO/OXRS-IO-MQTT-ESP32-LIB/pull/14 and https://github.com/OXRS-IO/OXRS-IO-MQTT-ESP32-LIB/pull/15 for something similar done recently in the MQTT library.


Update load_fixtures.sh and create create_fixtures.sh

This PR updates a script used to load data into the database and creates a new script to make it simpler to export data from a running instance of CantusDB.
It updates load_fixtures.sh, by:

removing indexer_fixture.json from the list of fixtures to import (we no longer have an indexer model)
adding article_fixture.json (this had not been updated following the introduction of the articles app and the Article model)

It adds a new file, create_fixtures.sh. If one is exporting data from an existing instance of CantusDB, this script can be used to ensure all the fixtures necessary for running load_fixtures.sh are created.
(Hopefully, once we have all the instances of CantusDB running the same version of postgres, these changes will be somewhat moot, since we'll be able to export and install the postgres database in toto, but the changes in this PR will at least ensure that the "The beaten path (done many times, surely works)" detailed in the Wiki are up-to-date and working.)
(Note to future Jacob: It seems that the change to docker-compose.yml came along for the ride too, so probably best to wait on merging this PR until #590 has been merged.)

tl;dr: load_fixtures.sh doesn't work. It's probably because CantusDB's chants have a field, next_chant, that wasn't present when load_fixtures.sh was written.

Just looking at the traceback and doing some googling and I suspect your suspicion about the cause is correct.
A few other thoughts:

I feel like it would make sense to backup the database using the second method in addition to the first. Since as I understand them the fixtures are serializing tables in the db one by one it would make sense to me for the purposes of having a good archive of the entire database.
For the purposes of upgrading versions of Postgres, it seems like more recent versions of Postgres offer a nice utility for that, and at the very least it would be worth checking out this page (https://www.postgresql.org/docs/current/upgrading.html). There's also some interesting and potentially useful tidbits (eg: "It is recommended that you use the pg_dump and pg_dumpall programs from the newer version of PostgreSQL, to take advantage of enhancements that might have been made in these programs.")
Finally, it looks like for the fixtures route, this page would be useful (https://docs.djangoproject.com/en/4.0/topics/serialization/), especially the bits on forward references and dependencies during serialization...it looks like these mostly deal with foreign key relations, so not sure how they will translate when the references are "domestic" as in this case. I would be wary of doing some other sort of modification of the fixtures in the interim -- it feels like a recipe for having something happen that destroys a needed backup!

What do we think - should this pull request be closed, because the load_fixtures.sh script doesn't work? Should we merge it, because it's closer to working than it was before (e.g. we're not going to have an indexer fixture, because we no longer have an indexer table in the database)?

I think merging it makes sense. Just add a note somewhere saying that it needs to be updated to address the next_chant field.


python.pkgs.pyglet: Fix missing libraries

Add the paths for Xext, fontconfig and freetype to the hardcoded library
paths in load_library.

Motivation for this change
Pyglet currently throws an exception if one of these libs cannot be found by load_library(). fontconfig and freetype seem to be missing at least since 446ac90e055b40a38cda81987e4170d5b281b574. The Xext dependency was introduced by 24c913778097d8d9b693b3940ef24b0b352f7fba.
Things done
Modified postPatch to make load_library find these three libraries.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I can confirm that this commit fixes an issue with pyglet that prevented gym (see demo) from working. On current master I get this error message:
Traceback (most recent call last):
  File "simple.py", line 5, in <module>
    env.render()
  File "/nix/store/m09msp90g7xf1rxk8df6azl37lk34pmz-python3.7-gym-0.15.3/lib/python3.7/site-packages/gym/core.py", line 233, in render
    return self.env.render(mode, **kwargs)
  File "/nix/store/m09msp90g7xf1rxk8df6azl37lk34pmz-python3.7-gym-0.15.3/lib/python3.7/site-packages/gym/envs/classic_control/cartpole.py", line 150, in render
    from gym.envs.classic_control import rendering
  File "/nix/store/m09msp90g7xf1rxk8df6azl37lk34pmz-python3.7-gym-0.15.3/lib/python3.7/site-packages/gym/envs/classic_control/rendering.py", line 27, in <module>
    from pyglet.gl import *
  File "/nix/store/slipi43p97wjjf2ni43c3shs3phfrzb6-python3.7-pyglet-1.4.2/lib/python3.7/site-packages/pyglet/gl/__init__.py", line 237, in <module>
    import pyglet.window
  File "/nix/store/slipi43p97wjjf2ni43c3shs3phfrzb6-python3.7-pyglet-1.4.2/lib/python3.7/site-packages/pyglet/window/__init__.py", line 1883, in <module>
    from pyglet.window.xlib import XlibWindow as Window
  File "/nix/store/slipi43p97wjjf2ni43c3shs3phfrzb6-python3.7-pyglet-1.4.2/lib/python3.7/site-packages/pyglet/window/xlib/__init__.py", line 62, in <module>
    from pyglet.libs.x11 import xsync
  File "/nix/store/slipi43p97wjjf2ni43c3shs3phfrzb6-python3.7-pyglet-1.4.2/lib/python3.7/site-packages/pyglet/libs/x11/xsync.py", line 52, in <module>
    _lib = pyglet.lib.load_library('Xext')
  File "/nix/store/slipi43p97wjjf2ni43c3shs3phfrzb6-python3.7-pyglet-1.4.2/lib/python3.7/site-packages/pyglet/lib.py", line 19, in load_library
    raise Exception("Could not load library {}".format(names))
Exception: Could not load library ('Xext',)

It works without any issues when applying this fix. I also did not experience any other issues and the changes look good to me.

@FRidh is there anything that I can do to help you with the review of this pr?

Thanks. I've pushed fa2909bf51c29d568dd9ce5c27cdbf7393644909.

backported to 19.09 in 5e0ad55c2710f646bf3bc22fb7dc26f5d8209cec


Devices: Hierarchy of devices

Problem: For the validation component of a device, one often works with a standard connectivity of the device.  Currently these are hidden away in specific device implementations like ion trap, neutral atoms, contrib’s hypergraph devices, and the Google hardcoded devices and Google serializable device specifications.  Many of them couple durations with gate specifications.  This feature would be to commonize and systemize the base constructions for the geometric constraints of these devices and move them into Cirq proper.  Placement codes then could be specialized to work with particular versions of these types of devices, providing the necessary hooks to understand the geometric constraints of these systems.
Depends on feature: Separate concerns in devices (#3244)
Rough requirements:

Define line device, grid device, graph device, and hypergraph device
These should be easily definable from common data structures, i.e. for grid devices from text diagrams, for graph devices from networkx or adjacency matrices, etc.  It should also be possible to get these from the devices.

related #3020

This has been resolved by the device refactor. Adding the metadata.nx_graph items alongside the device placement functionality in cirq workflow tools broadly captures the functionality here. We can re-open new issues if we have more specific concerns going forward.


Observability Platform: Cost Comparison

Motivation
We sell our platform as cheaper then other solutions - and we believe that it is the cheaper option. It might not have the feature set that other providers have, but do you always need that big feature set? Now we just need to prove that our solution is actually cheaper than other providers by creating a comparison of the estimated cost of our solution compared to competition.
Todo

[ ] Create a cost comparison between the GS Observability Platform and other observability solutions

[x] Compare a relative small and a big use case
[x] calculate the cost for both cases for the GS solution
[ ] create a dashboard for the cost calculation
[x] calculate the cost for both cases for the grafana cloud solution
[ ] calculate the cost for both cases for datadog
[ ] calculate the cost for both cases for dynatrace
[ ] calculate the cost for both cases for instana
[ ] calculate the cost for both cases for honeycomb

[ ] Document the comparison in an easy to use format for sales

Outcome

We have numbers supporting our claim, that we are cheaper (and how much cheaper we are) then typical competition.

On going calculations and reasoning behind costs can be found in https://miro.com/app/board/uXjVLbk4oqc=/

Documentation of the cost comparison summary in this PR: https://github.com/giantswarm/giantswarm/pull/32129

Cost comparison now available here: https://intranet.giantswarm.io/docs/observability/o11yp-product/o11yp-cost-comparison/