SonarrPostConversion and Subtitle retrieval errors

I'm seeing two errors over and over in my mp4_automator log.
SonarrPostConversion error:

2019-10-27 20:03:46 - qtfaststart - INFO - Writing output...
2019-10-27 20:04:47 - SonarrPostConversion - ERROR - Sonarr monitor status update failed.
Traceback (most recent call last):
File "/Users/USERNAME/Scripts/sickbeard_mp4_automator/postSonarr.py", line 106, in
log.info("Sonarr response: ID %d %s." % (rstate['id'], rstate['state']))
TypeError: list indices must be integers, not str
2019-10-27 20:29:52 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2019-10-27 20:29:52 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2019-10-27 20:29:52 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2019-10-27 20:29:52 - readSettings - INFO -<EMAIL_ADDRESS>2019-10-27 20:29:52 - readSettings - INFO -<EMAIL_ADDRESS>2019-10-27 20:29:52 - readSettings - INFO -<EMAIL_ADDRESS>2019-10-28 00:03:29 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2019-10-28 00:03:29 - readSettings - INFO -<EMAIL_ADDRESS>2019-10-28 02:36:01 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2019-10-28 02:36:01 - readSettings - INFO -<EMAIL_ADDRESS>2019-10-28 11:46:09 - SonarrPostConversion - INFO - Sonarr extra script post processing started.
2019-10-28 11:46:09 - readSettings - INFO -<EMAIL_ADDRESS>
Subtitle error:

2019-10-26 16:23:27 - mkvtomp4 - INFO - Reading video stream.
2019-10-26 16:23:27 - mkvtomp4 - INFO - Video codec detected: h264.
2019-10-26 16:23:27 - mkvtomp4 - INFO - Pix Fmt: yuv420p.
2019-10-26 16:23:27 - mkvtomp4 - INFO - Profile: High.
2019-10-26 16:23:27 - mkvtomp4 - INFO - Reading audio streams.
2019-10-26 16:23:27 - mkvtomp4 - INFO - No audio streams detected in any appropriate language, relaxing restrictions so there will be some audio stream present.
2019-10-26 16:23:27 - mkvtomp4 - INFO - Audio detected for stream #1: ac3 [eng].
2019-10-26 16:23:27 - mkvtomp4 - INFO - Creating audio stream 0 from source stream 1.
2019-10-26 16:23:27 - mkvtomp4 - INFO - Reading subtitle streams.
2019-10-26 16:23:27 - mkvtomp4 - ERROR - Unable to verify subtitle languages for download.
Traceback (most recent call last):
File "/Users/USERNAME/Scripts/sickbeard_mp4_automator/mkvtomp4.py", line 597, in generateOptions
languages.add(Language(alpha3))
File "/usr/local/lib/python2.7/site-packages/babelfish/language.py", line 82, in init
raise ValueError('%r is not a valid language' % language)
ValueError: 'en' is not a valid language
2019-10-26 16:23:27 - mkvtomp4 - WARNING - Subtitle language array is empty.

Any suggestions for fixing these two errors?

What version of babelfish you have installed?

Also you may need to set your language to eng and en if memory serves

Babelfish version is 0.5.5. I changed the subtitle language in the autoProcess.ini to "eng" from "en". Now it seems to be working. Changing it back to "en" triggers the error message again. Weird.
I'm still seeing the SonarrPostConversion error and also seeing a mkvtomp4 tagging error:

Does the TV show you’re tagging have posters? That appears to be what the error is
The other error seems to be the script having a hard time talking to your sonarr API. Do you have all those settings configured appropriately in autoProcess.ini? What version of sonarr are you running

I'm running Sonarr 3.x (latest version <IP_ADDRESS>2). Both Sonarr and mp4_automator are on the same computer.
In Sonarr, under "Completed Download Handling",
"Automatically import completed downloads from download client" is enabled and "Remove imported downloads from download client history" is disabled
In my autoProcess ini, Sonarr is set up as follows:

[Sonarr]
host = localhost
port = 8989
web_root =
ssl = False
apikey =

You need to put the API key in there
Sent from my iPhone

On Oct 28, 2019, at 8:44 PM, strafer<EMAIL_ADDRESS>wrote:

I'm running Sonarr 3.x (latest version <IP_ADDRESS>2). Both Sonarr and mp4_automator are on the same computer.
In Sonarr, under "Completed Download Handling",
"Automatically import completed downloads from download client" is enabled and "Remove imported downloads from download client history" is disabled
In my autoProcess ini, Sonarr is set up as follows:
[Sonarr]
host = localhost
port = 8989
web_root =
ssl = False
apikey =
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

You need to put the API key in there
…

I do have the API key there. I just removed it before posting my setting here.

I wonder if maybe they changed around the API commands for version 3 (from 2). I haven’t switched over to version 3 yet sticking with stable 2 for now since it’s still on beta
Any capacity to see if your problem goes away on version 2?
Sent from my iPhone

On Oct 28, 2019, at 8:51 PM, strafer<EMAIL_ADDRESS>wrote:

You need to put the API key in there
…
I do have the API key there. I just removed it before posting my setting here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

I also wonder if maybe you switched these two lines we could get some useful debugging info
log.info("Sonarr response: ID %d %s." % (rstate['id'], rstate['state']))
log.info(str(rstate)) # debug
To
log.info(str(rstate)) # debug
log.info("Sonarr response: ID %d %s." % (rstate['id'], rstate['state']))
Sent from my iPhone

On Oct 28, 2019, at 8:51 PM, strafer<EMAIL_ADDRESS>wrote:

You need to put the API key in there
…
I do have the API key there. I just removed it before posting my setting here.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks. I'll switch those two lines and report back. And I'll try out Sonarr 2 tomorrow.

I'll keep an eye out, switching the lines should show us what sonarr is returning in full and why reading the ID and state is failing hopefully, so do that before the sonarr 2 downgrade cause it might just be they changed the packet in 3 though from what I understand the API should be generally untouched and any new API features are contained behind a /v3/ URL

Error is still there but with additional debugging info (I hope). I still haven't tried Sonarr v.2 since it's on another computer. Will try it tonight and report back.

2019-11-08 07:44:34 - mkvtomp4 - INFO - Relocating MOOV atom to start of file.
2019-11-08 07:44:34 - qtfaststart - INFO - Removing free atom at 32 (8 bytes)
2019-11-08 07:44:34 - qtfaststart - INFO - Patching stco with 32909 entries
2019-11-08 07:44:34 - qtfaststart - INFO - Patching stco with 33020 entries
2019-11-08 07:44:34 - qtfaststart - INFO - Patching stco with 469 entries
2019-11-08 07:44:34 - qtfaststart - INFO - Writing output...
2019-11-08 07:45:01 - SonarrPostConversion - INFO - [{u'body': {u'name': u'CheckForFinishedDownload', u'sendUpdatesToClient': False, u'completionMessage': u'Completed', u'updateScheduledTask': True, u'trigger': u'scheduled', u'lastExecutionTime': u'2019-11-08T15:42:34.877669Z', u'requiresDiskAccess': True, u'suppressMessages': False, u'isExclusive': False}, u'status': u'started', u'name': u'CheckForFinishedDownload', u'startedOn': u'2019-11-08T15:43:53.481571Z', u'started': u'2019-11-08T15:43:53.496571Z', u'sendUpdatesToClient': False, u'stateChangeTime': u'2019-11-08T15:43:53.496571Z', u'manual': False, u'id': 160992, u'priority': u'low', u'state': u'started', u'trigger': u'scheduled', u'lastExecutionTime': u'2019-11-08T15:42:34.877669Z', u'queued': u'2019-11-08T15:43:53.481571Z', u'updateScheduledTask': True}]
2019-11-08 07:45:01 - SonarrPostConversion - ERROR - Sonarr monitor status update failed.
Traceback (most recent call last):
File "/Users/strafe/Scripts/sickbeard_mp4_automator/postSonarr.py", line 107, in
log.info("Sonarr response: ID %d %s." % (rstate['id'], rstate['state']))
TypeError: list indices must be integers, not str
2019-11-08 08:46:50 - SonarrPostConversion - INFO - Sonarr extra script post processing started.

Error is occurring with Sonarr v.2, as well. It's on a different system and OS version.

2019-11-08 14:45:39 - mkvtomp4 - INFO - Starting conversion.
2019-11-08 14:45:44 - mkvtomp4 - INFO - /Volumes/mini/Users/Shared/MiniVideos/TV/TV Show/Season 03/TV Show - S03E06 - Season Finale [WEBDL-480p.x264.AAC].m4v created.
2019-11-08 14:45:44 - SonarrPostConversion - INFO - Tagging /Volumes/mini/Users/Shared/MiniVideos/TV/TV Show/Season 03/TV Show - S03E06 - Season Finale [WEBDL-480p.x264.AAC].mp4 with ID 55867 season 03 episode 6.
2019-11-08 14:47:06 - tvdb_mp4 - INFO - Tagging file: /Volumes/mini/Users/Shared/MiniVideos/TV/TV Show/Season 03/TV Show - S03E06 - Season Finale [WEBDL-480p.x264.AAC].m4v.
2019-11-08 14:47:07 - tvdb_mp4 - ERROR - Exception while retrieving poster 'NoneType' object has no attribute 'bannerpath'.
2019-11-08 14:47:07 - tvdb_mp4 - INFO - Trying to write tags.
2019-11-08 14:47:07 - tvdb_mp4 - INFO - Tags written successfully.
2019-11-08 14:47:07 - mkvtomp4 - INFO - Relocating MOOV atom to start of file.
2019-11-08 14:47:07 - qtfaststart - INFO - Removing free atom at 32 (8 bytes)
2019-11-08 14:47:07 - qtfaststart - INFO - Patching stco with 32185 entries
2019-11-08 14:47:07 - qtfaststart - INFO - Patching stco with 32185 entries
2019-11-08 14:47:07 - qtfaststart - INFO - Writing output...
2019-11-08 14:47:09 - SonarrPostConversion - ERROR - Sonarr monitor status update failed.
Traceback (most recent call last):
File "/Users/username/sickbeard_mp4_automator/postSonarr.py", line 106, in
log.info("Sonarr response: ID %d %s." % (rstate['id'], rstate['state']))
TypeError: list indices must be integers, not str

Alright that was very helpful
I just pushed an update that might address this, please give it a shot with the latest build

You update seems to have fixed the rstate error. Thank you.
I'm still seeing subtitle errors for addic7ed.com but I don't know if that is a website issue or a script issue.

2019-11-09 00:48:00 - subliminal.api - INFO - Listing subtitles with provider 'addic7ed' and languages set([<Language [en]>])
2019-11-09 00:48:00 - subliminal.api - INFO - Initializing provider addic7ed
2019-11-09 00:48:00 - subliminal.providers.addic7ed - INFO - Getting show ids
2019-11-09 00:48:02 - subliminal.providers.addic7ed - WARNING - Series not found in show ids
2019-11-09 00:48:02 - subliminal.providers.addic7ed - INFO - Searching show ids with {'search': u'Supernatural', 'Submit': 'Search'}
2019-11-09 00:48:02 - subliminal.api - ERROR - Unexpected error in provider 'addic7ed', discarding it
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/subliminal/api.py", line 116, in list_subtitles
provider_subtitles = self[name].list_subtitles(video, provider_languages)
File "/usr/local/lib/python2.7/site-packages/subliminal/providers/addic7ed.py", line 259, in list_subtitles
return [s for s in self.query(video.series, video.season, video.year)
File "/usr/local/lib/python2.7/site-packages/subliminal/providers/addic7ed.py", line 214, in query
show_id = self.get_show_id(series, year, country)
File "/usr/local/lib/python2.7/site-packages/subliminal/providers/addic7ed.py", line 208, in get_show_id
show_id = self._search_show_id(series)
File "</usr/local/lib/python2.7/site-packages/decorator.pyc:decorator-gen-4>", line 2, in _search_show_id
File "/usr/local/lib/python2.7/site-packages/dogpile/cache/region.py", line 1272, in get_or_create_for_user_func
should_cache_fn, (arg, kw))
File "/usr/local/lib/python2.7/site-packages/dogpile/cache/region.py", line 879, in get_or_create
async_creator) as value:
File "/usr/local/lib/python2.7/site-packages/dogpile/lock.py", line 186, in enter
return self._enter()
File "/usr/local/lib/python2.7/site-packages/dogpile/lock.py", line 93, in _enter
generated = self._enter_create(value, createdtime)
File "/usr/local/lib/python2.7/site-packages/dogpile/lock.py", line 179, in _enter_create
return self.creator()
File "/usr/local/lib/python2.7/site-packages/dogpile/cache/region.py", line 839, in gen_value
created_value = creator(*creator_args[0], **creator_args[1])
File "/usr/local/lib/python2.7/site-packages/subliminal/providers/addic7ed.py", line 156, in _search_show_id
r.raise_for_status()
File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)

That's one of the subtitle providers that appears to be failing, maybe they're down or not operating anymore
I would just turn them off in your autoProcess.ini and see if that helps
sub-providers = addic7ed, podnapisi, thesubdb, opensubtitles
sub-providers = podnapisi, thesubdb, opensubtitles

Also what version of subliminal do you have installed?

Subliminal 1.1.1.

The addic7ed failure shouldn't be a hard stop though either way

Their website is up and the search function works. So who knows? I’ll monitor it and if the errors continue I’ll just disable it.
Does your script use an api for addic7ed.com or does it just access their website search?

My script just uses subliminal which is an external project that handles the subtitles, its an older version of subliminal though so that may be why we're starting to see failures. I haven't had time to upgrade to the latest version which was a rewrite and not backwards compatible

Just found this:
https://github.com/Diaoul/subliminal/issues/964
Looks like addic7ed.com login authentication is broken and without authentication, they only allow a very limited number of searches. This is probably why I'm seeing this error.


custom NSDate format

Hi,
is there a way of setting a date formatter for parsing dates? In the JSON answer I'm getting, the dates are set as milliseconds since 1970 e.g.
"anniversary":<PHONE_NUMBER>064

cheers

Is that going to get merged in soon?

I can override - (NSDateFormatter *)defaultFormatter in my NSManagedObject subclass but some of the fields have different formats within the same model.  Any suggestions on overriding the date format per attribute?

@CaseyB Could you make your formats consistent? That would probably be ideal. If you need field-specific formats, you're best off overriding each attribute yourself and using the primitive getter/setters, etc.

Unfortunately I don't have control over the format from the server.  We were using MagicalRecord and it gave us the option to map a date format per attribute but it had a lot of other shortcomings.  So far ObjectiveRecord is great, this is the only real snag I've hit.


what is the execution time for one single frame?

@mrnabati ,
what is the execution time for one single frame?

With current implementation, the object proposals for all images in the dataset are generated first and then the Fast R-CNN method is used for object detection. The proposals are generated at a rate of 70-90 frames/second depending on the number of Radar detections, and the object detection frame rate is the same as Fast R-CNN.


Actually clean up bundler files

We currently clean up bundler's git-based gem directory in the chef software definition. However, the chef-appbundler software definition runs afterward and can put things back in there. To fix this, we now clean bundler's directories after chef-appbundler, in a separate step. We merged this with the chef-remove-docs step.

👍

👍


COMP: Declare ConvertSecondsToDHMS and GetCurrentDateAndTime inline

Allows these functions to be called from an executable that links against the elastix library.

This pull request follows C++ Core Guideline SF.2: A .h file may not contain object definitions or non-inline function definitions

This pull request is necessary for "Executable linked to elastix.lib, offering subset of elastix.exe functionality", pull request https://github.com/SuperElastix/elastix/pull/230 but also without PR 230, it's a good thing to add those two inline keywords.


Regarding Karpenter controller IAM role for Redhat Openshift

Description
How can the docs be improved?
We have a question regarding the below documentation. We are trying to enable Karpenter for Openshift. The service account token used within Openshift are stored in Hashicorp vault, and it doesn't use IRSA with OIDC endpoint. How do we implement that? Do you have the steps on how can this be done?
Now we need to create an IAM role that the Karpenter controller will use to provision new instances. The controller will be using [IAM Roles for Service Accounts (IRSA)](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) which requires an OIDC endpoint. If you have another option for using IAM credentials with workloads (e.g. [kube2iam](https://github.com/jtblin/kube2iam)) your steps will be different.

as long as you token (and other information) allows karpenter to assume the IAM role you should be good to go. Karpenter uses standard AWS authentication library.
AS for the way to provide these credentials to the pod. One way to do this would be vault csi driver https://developer.hashicorp.com/vault/docs/platform/k8s/csi


Add the support of generating JWT with list claims

Add the support of generating JWT with list claims
Add a sample JWT with list claims

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: wattli
If they are not already assigned, you can assign the PR to them by writing /assign @wattli in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

security/OWNERS [wattli]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Release process setup and documented

Description:
As a developer, I want to have a release process implemented and documented, so that I can deploy releases of the Reporting app
Implement release-it
Document release process
Acceptance Criteria:
Given I am a developer
When I want to cut a release
Then I have the step-by-step documentation
And following it creates a release
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Closing, this is unnecessary since we're not publishing packages


Add align_carets plugin

This plugin adds the commands:

doc:align-carets which will add spaces at the carets positions to align them
doc:left-align-selections which will add spaces in front of the selections to left-align them
doc:right-align-selections which will add spaces in front of the selections to right-align them

https://user-images.githubusercontent.com/2798487/165631951-532f8d24-d596-4dd0-9d21-ff53c71ed32f.mp4
(Transferred from lite-xl/lite-xl#962)

tested and working nicely


Not possible to pre-populate values

Given the following code:
    let form = FormDescriptor()
    let section1 = FormSectionDescriptor()
    var row: FormRowDescriptor!

    row = FormRowDescriptor(tag: type, rowType: .MultipleSelector, title: title)
    row.configuration[FormRowDescriptor.Configuration.Options] = content
    row.configuration[FormRowDescriptor.Configuration.AllowsMultipleSelection] = true
    row.configuration[FormRowDescriptor.Configuration.TitleFormatterClosure] = { value in

        for(var i=0;i<content.count;i++){
            if(value == content[i]){
                return "\(value)"
            }
        }
        return "-1"

        } as TitleFormatterClosure

    section1.addRow(row)

it doesn't seem to be possible to pre-populate the form with selected values.
This is important in the case of a filter view controller, where the user may dismiss the filter modal and then re-open at a later date.

@xcodewarrier you can just do
row.value = [ "some", "values" ]

So long as the row is a type that has multiple values


bring cart  back

Merge feature1 to main

Codecov Report

Merging #29 (500b410) into master (e224514) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master     #29   +/-   ##
========================================
  Coverage      7.06%   7.06%
  Complexity      573     573
========================================
  Files           328     328
  Lines         19412   19412
  Branches       2516    2516
========================================
  Hits           1372    1372
  Misses        17893   17893
  Partials        147     147

Flag
Coverage Δ

unittests
7.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


support 1.x version

Repos are not http://packages.elastic.co/elasticsearch/1.x/debian but
http://packages.elastic.co/elasticsearch/1.7/debian (for example).
Problem is version is now a string (actually more relevant) and breaks compatibility.

Test fail on Ruby: 2.1.7 job. with  gem update --system. I am not sur how to fix this.

Hi,
Sorry to say this, but this module won't support Elasticsearch version 1. Both version 1 and 2 are completely End-of-Life and unsupported.
Crucially, this patch only addresses Elasticsearch, but the purpose of this module is to provide an installation path for the entire Elastic Stack. That really only make sense for version 5 and later, when all the version numbers were unified across the stack. Version 5 is also the oldest version that is maintained, although that maintenance will be dropped before too long with the release of version 7.


2011 05 03

updated linux (ubuntu) docs + fixed k8s settings.

updated docs + k8s / k8s-pt yamls to work with Linux (Ubuntu) standalone entries.


Preselect ApplePay when unique Payment Method

Bug Description
When selecting Apple Pay as the only available payment method and setting skipListWhenSinglePaymentMethod to true, the payment method selection screen is still displayed instead of skipping directly to the Apple Pay payment sheet.
Expected Behavior
The Apple Pay payment sheet should be displayed directly, without requiring the user to click through the payment method selection screen.

Hi @Robert-SD ,
Thanks for the fast reply. Correct, we are using the Advanced Flow using Drop-In integration setting the skipListWhenSinglePaymentMethod to true.
We've managed to only show Apple Pay on the Payment Option Sheet when needed, but we want to Skip that previous screen and go directly to the Apple Pay native payment sheet.
Can we use Drop-In for CC and Components for Apple Pay in the same project?

Thanks for sharing your integration @alextarrago.
Showing the Apple Pay button is unfortunately required before launching the native Apple Pay payment sheet. Therefore, it is not possible to launch it directly.
In order to confirm your use case, I simulated the scenario and recorded a quick demo video. Does this flow look like yours?
I will also check the combination of Drop-In for CC and the Apple Pay Component. In theory it should be possible because they are independent from another. Nevertheless, we have not added this setup in the example app yet. Will reply with an update soon.
https://github.com/user-attachments/assets/3a63b724-d233-4073-b4d9-a06f10c7a4cd

Thanks @Robert-SD we will investigate on the Drop-In + CC implementation. If we get it working I'll update on that :)

Sure! Thank you very much 🙂
Will also investigate regarding an integration of both.

@alextarrago I just want to share with you a quick result after trying out the combination of Drop-In and Apple Pay. It looks promising and I am really curious about your feedback and update :)
The "Pay with Cards" button uses Drop-In where the Apple Pay button is the component. The payment methods list is filtered accordingly so that Drop-In is only populated with the "scheme" entry and the component with the "applepay" entry. Both use the same AdvancedCheckout object.
Please let me know if you have any questions 🙂
https://github.com/user-attachments/assets/4ffa1fe8-c12b-4d53-b2f4-781944356c36

Hi @Robert-SD , I was planning to do these tests tomorrow. I'll share the results with you. Can you share this PoC with us somehow?
Thanks!

Hi @alextarrago,
sure, I created a new branch. You can find the PoC here.
Please let me know if you have any questions. I'm very interested in your findings :)

Thanks @Robert-SD , we got the same results in terms of implementation. We are just facing an issue in our Components implementation, we are getting AdyenCheckout: Apple pay is not available on this device. when trying to render the Button... stuck there for today.

Hey @alextarrago, could you share if Apple Pay is available one the test device or do you use a simulator? The message appears when the Apple Pay availability fails. We could also analyze the Apple Pay component configuration and the provided paymentMethod.

Yes, that's the weird thing, it was working with drop-in implementation.
Widget _buildAdyenApplePayAdvancedComponent(
    BuildContext context,
  ) {
    final ApplePayComponentConfiguration applePayComponentConfiguration = ApplePayComponentConfiguration(
      environment: Environment.test,
      clientKey: "****",
      countryCode: "**",
      amount: Amount(value: ****, currency: "***"),
      applePayConfiguration: _createApplePayConfiguration(),
    );

    final AdvancedCheckout advancedCheckout = AdvancedCheckout(
      onSubmit: _checkoutBloc.onSubmit,
      onAdditionalDetails: _checkoutBloc.onAdditionalDetails,
    );
    PaymentMethodsResponse? paymentMethod = _checkoutBloc.paymentMethods();
    if (paymentMethod == null) {
      return SizedBox.shrink();
    }

    return Padding(
      padding: const EdgeInsets.fromLTRB(10, 0, 10, 0),
      child: AdyenApplePayComponent(
        configuration: applePayComponentConfiguration,
        paymentMethod: json.decode(
            '{"paymentMethods":[{"brands":["mc","visa","amex"],"configuration":{"merchantId":"***","merchantName":"****"},"name":"Apple Pay","type":"applepay"}]}'),
        checkout: advancedCheckout,
        style: ApplePayButtonStyle(
          theme: ApplePayButtonTheme.black,
          type: ApplePayButtonType.buy,
        ),
        width: double.infinity,
        height: 56,
        onPaymentResult: (paymentResult) {
          _checkoutBloc.evaluateResponse(paymentResult);
        },
      ),
    );
  }

  ApplePayConfiguration _createApplePayConfiguration() {
    return ApplePayConfiguration(
      merchantId: "merchant.***.***",
      merchantName: "***",
      allowOnboarding: true,
      applePaySummaryItems: _getApplePayItems()
    );
  }

Thanks for sharing your code @alextarrago.
I might spotted it so would be great if you could try a small adjustment. The paymentMethod parameter of the AdyenApplePayComponent expects the single Apple Pay payment method JSON instead of the paymentMethods array. Please let me know if this resolves the error message.
AdyenApplePayComponent(
        configuration: applePayComponentConfiguration,
        paymentMethod: json.decode(
            '{"brands":["mc","visa","amex"],"configuration":{"merchantId":"***","merchantName":"****"},"name":"Apple Pay","type":"applepay"}'),
        checkout: advancedCheckout,
        style: ApplePayButtonStyle(
          theme: ApplePayButtonTheme.black,
          type: ApplePayButtonType.buy,
        ),
        width: double.infinity,
        height: 56,
        onPaymentResult: (paymentResult) {
          _checkoutBloc.evaluateResponse(paymentResult);
        },
      )

You are absolutely correct. To summarize, we have successfully implemented both Apple Pay and Google Pay using Components, while the remainder of the payment methods were integrated using Drop-in. We are planning to launch in four countries next week. Thank you for your assistance 👍


Parser issue while importing AWS_Prowler report

Bug description
Getting parser issue while importing aws_prowler report
Import file type: csv
DefectDojo version: v. 1.15.0 ( release mode )
Steps to reproduce
Steps to reproduce the behavior:

Go to 'Product>>Findings>>Import scan result'
Upload the csv file obtained from prowler
see the error on screen "An exception error occurred during the report import:must be str, not NoneType"

Expected behavior
No error and successful import of report
Deployment method (select with an X)

[ ] Kubernetes
[ x] Docker
[ ] setup.bash / legacy-setup.bash

Environment information

Operating System: [e.g. macOS BigSur]

Sample scan files (optional)
Attached sample prowler report
Console logs (optional)
ginx_1         | 2021/05/05 07:02:21 [warn] 7#7: *759 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000003, client: <IP_ADDRESS>, server: , request: "POST /product/1/import_scan_results HTTP/1.1", host: "localhost:8080", referrer: "http://localhost:8080/product/1/import_scan_results"
uwsgi_1         | [05/May/2021 07:02:21] ERROR [dojo.importers.utils:27] must be str, not NoneType
uwsgi_1         | Traceback (most recent call last):
uwsgi_1         |   File "./dojo/importers/utils.py", line 16, in parse_findings
uwsgi_1         |     parsed_findings = parser.get_findings(scan, test)
uwsgi_1         |   File "./dojo/tools/aws_prowler/parser.py", line 49, in get_findings
uwsgi_1         |     description = "Region: " + region + "\n\n" + notes + "\n"
uwsgi_1         | TypeError: must be str, not NoneType
uwsgi_1         | [05/May/2021 07:02:21] WARNING [dojo.importers.utils:28] Error in parser: must be str, not NoneType
uwsgi_1         | [05/May/2021 07:02:21] ERROR [dojo.engagement.views:614] must be str, not NoneType
uwsgi_1         | Traceback (most recent call last):
uwsgi_1         |   File "./dojo/engagement/views.py", line 602, in import_scan_results
uwsgi_1         |     close_old_findings=close_old_findings)
uwsgi_1         |   File "./dojo/importers/importer/importer.py", line 248, in import_scan
uwsgi_1         |     parsed_findings = importer_utils.parse_findings(scan, test, active, verified, scan_type)
uwsgi_1         |   File "./dojo/importers/utils.py", line 16, in parse_findings
uwsgi_1         |     parsed_findings = parser.get_findings(scan, test)
uwsgi_1         |   File "./dojo/tools/aws_prowler/parser.py", line 49, in get_findings
uwsgi_1         |     description = "Region: " + region + "\n\n" + notes + "\n"
uwsgi_1         | TypeError: must be str, not NoneType
uwsgi_1         | [pid: 19|app: 0|req: 645/1035] <IP_ADDRESS> () {62 vars in 1422 bytes} [Wed May  5 07:02:21 2021] POST /product/1/import_scan_results => generated 65169 bytes in 212 msecs (HTTP/1.1 200) 7 headers in 369 bytes (1 switches on core 0)
Updated_prowler_ticket.csv

One column is missing and make the parser crash. I'm working on a patch.

Fixed in dev.


logo: use "static/images/logo.png" as default if no custom "layouts/partials/logo.html" exists

Currently, to use your own logo, you first have to define a custom partial "layouts/partials/logo.html" and reference an image or the like there (see https://mcshelby.github.io/hugo-theme-relearn/basics/customization/index.html#change-the-logo).
This works, but is rather cumbersome for users. Could a similar solution be implemented for logos like for favicons? I.e. as default, an image file called "logo.png" (or logo.svg) is searched for in the folder "static/images/" and if I have other needs, I need to create the extra partial?
This way, the logo and the favicon would be treated symmetrically.

I am hesitant.
For the logo this is rather difficult, because it's not only the logo to display but posibliy a title, too. This title may or may not be given in the logo image but as separate text.
While the first case often result in a rectangualar logo, the latter usually (but not always) results in a squarish logo.
Also, often there are font requirements for the logo title, if given as text - as well as color requirements if a light or dark style was selected.
This is only an incomplete list of some of the options. I could go on and on...
Even if only a stripped down solution is implemented in the theme itself, I bet it would end up in a lot of support questions.
It's not off the table, but I have to think about it.

Well, I see two use cases here: (a) I have just a logo (image), and (b) I need something fancier (e.g. logo plus text or some extra formatting).

In the first case (simple logo/image) it would be much easier for your users - they just need to store the image file to a certain location using a certain name. No need for extra custom partials ...
In the second case it's just the current way and users have to implement their custom partial.

I started working on this. But as I expected, this ends in some extensive (but backwards compatible) changes to do it "right".

While the groundwork was layed to make the icon configurable, the finishing step was postponed to a later release due to time constraints.


Plugins: add leaflet-calendar

Add leaflet-calendar info in plugins docs

I can't see leaflet-calendar in the plugins list in the web: leafletjs.com/plugins.html
what happened? Thank you.

An old version of the website deployed. The latest version is now live and it is visible again.
Thank you for reporting


[docs] Duplicate info of using C++ in Pulsar

Describe the bug
There are duplicated info of using C++ in Pulsar.
To Reproduce
Steps to reproduce the behavior:

Go to https://pulsar.apache.org/docs/en/next/client-libraries-cpp and https://pulsar.apache.org/docs/en/next/develop-cpp/
Some info are duplicate and distributed, we should integrate info and put info users care together, which is user-friendly

see 8919 in pulsar repo


Path parent directories not available in CloudLinux

Within the Path class, to fix the case the whole path must be readable. Within CloudLinux, the user is jailed to the home directory, so checking the case of the path / or /home is seen as permission denied.
Either provide configuration, or use a named constant set from go.php to indicate the project root, and never look above there.

Closing, because the extra work involved to change this functionality does not outweigh the edge case where you are not in control of your own server.


Silent thread like website feature on IOS

Silent thread like website feature on IOS

:bulb: Idea

:computer: Target components

IOS APP / ANDROID APP

Please provide more information


open two .ipynb files in two editor groups

Issue Type: Bug
Sometimes when I open two .ipynb files (file1 and file2) in two editor groups, that is, file1 in group1, file2 in group2, the two files just flashing alternately, I think maybe they are fast switching, and I can't edit them. Also, I can't change to other files, such as .py files in both editor groups, it just switch back to .ipynb files quickly.
Extension version: 2020.9.114305
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
19.91GB (9.65GB free)

Process Argv
--crash-reporter-id 3ae9254d-1956-4b69-96df-e3e84714db34

Screen Reader
no

VM
0%

Here is a repro that causes this to happen for me.

Open an interactive window session (i.e. execute some code)
Open an ipynb file so that the interactive window and the notebook are next to each other
In the interactive window invoke the Export to Script functionality

I was able to repro this problem twice in a row.


printBundledPlugins improvements

Describe the need of your request
The list of plugin IDs for bundled plugins does not make it very easy to locate the one you're interested in, as many IDs are not "intuitive".
Proposed solution

print the IDE information, e.g. "Bundled plugins for IntelliJ IDEA 224.2222.33"
output plugin.xml <name> in addition to plugin ID: $Plugin_ID$ ($Plugin_NAME$)

Alternatives you've considered
No response
Additional context
No response

The output after cee80d97284d29ebb5fe674949c29d0f294c617b is:
> Task :printBundledPlugins
Bundled plugins for IntelliJ IDEA 2023.2.6 (232.10300.40):
AntSupport
ByteCodeViewer
Coverage
DevKit
Git4Idea
HtmlTools
JUnit
PerforceDirectPlugin
Subversion
TestNG-J
XPathView
...

I can't print plugin names as the list of plugin IDs comes from the product-info.json

Name could be looked up via product-info.java layout and finding matching main plugin.xml


Custom Controller models dont dissappear when "Hide controller on grab" is checked

I made custom hands to replace the Vive controller models. And they are able to pick up items but, they dont get hidden even though the object has the option hide controller on grab check.

You need to set the Model Alias on the SDK Setups. Look at example scene 32 for more info


Download only a subset of a given product not working

When following the tutorial on computing NDVI with eodag: tut, it says, that:
"eodag-cube: This is a package that adds more capabilities to eodag, it allows to download only a subset of a given product (a sub extent for instance)"
However, when the subextent is used as in the provided code snippet 5, a message is provided:
Eodag does not support getting data from distant sources by now. Falling back to first downloading the product and then getting the data...
The same message is shown in the result of code snippet 5 in the tut.
I understood from the description of the tut, that it should be possible to download only a sub-extent of the given product.
Has this not been implemented yet, is it not available for certain data, or is there some way to use this functionality?

Thank you for pointing at this issue in the tutorial description.
In fact,

"eodag-cube: This is a package that adds more capabilities to eodag, it allows to download only a subset of a given product (a sub extent for instance)"

should be replaced with :

"eodag-cube": This package, still in early stage, adds pixel access capabilities to eodag, enabling getting data in a xarray

We will include the fix in the next release.
Downloading a sub-extent of the product is not yet possible, but we plan to add individual bands and COG sub-extent data access using eodag-cube


add access method for filed

add access method for filed

 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.tianbing.ytb 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.


Add net module

Move network stuff into net module!

net.listen() is similar to current env.listen

socket creation + bind + listen is very fast, could run sync and raise exceptions on error
we must still keep error callback, because that is how we deal with DB resume
means it will look rather different from net.connect, right?

net.connect() is similar to current env.connect

connect can take a long time, so it is reasonable that we have error callback, right?
can some errors occur early? i.e. can we use exceptions for error handling? we still need error callback for resume though

Connection & ListenSocket can have reconnect / relisten method

rather than having to create new Connection actor we can ask current one to reconnect
friendlier interface
I think it could play well with token auth, i.e. we only need token for initial connect, after that we are granted to have a connection - reconnecting does not change the basic notion of the connection and can thus be done on an existing instance rather than having to run net.connect again (which then requires auth token again)

potentially makes it easier to hand over a connection to an otherwise untrusted party

I think we should try to reuse the same interface for higher level protocols

like for netconf we will have a netconf.connect that is largely the same interface

token auth!

learn from pony - use specific tokens at call sites to prevent passing around the root token
for example, we have token "hierarchy":

root

NetAuth

TCPConnectAuth

net.connect() takes just the TCPConnectAuth token, using root token will not work
to create a TCPConnectAuth token you must have a root or NetAuth token
this pattern forces creation of low privilege tokens, which should encourage passing those arounds rather than the root token

I think this is pretty much done, so closing!


sequencer has bad data for transfer either it isn't updated or some other issue

Describe the bug
A clear and concise description of what the bug is.
The sequencer has bad data for transfer either it isn't updated or some other issue
Solution:
--- temp fix: wiping the cache for transferId
--- permanent fix: Pull the data of a transfer from subgraph instead of cache.
To Reproduce
Steps to reproduce the behavior:

Go to '...'

Additional context
Add any other context about the problem here.

Transfer:
https://connextscan.io/tx/0x10b611db8bc036318396877d93f756c474abfe974f735ed2f42bc917cc3e0daa

Investigated this, findings:
Sequencer already pulls the latest transfer info from subgraph, every time a fast or slow path request is received, and cache is updated (upserted) with the new data, if any transfer info changed.
For fastpath:
https://github.com/connext/monorepo/blob/eddd80448e6457d8d8ce5f097797dc79af81a1f0/packages/agents/sequencer/src/lib/operations/execute/fastpath.ts#L55
For slowpath:
https://github.com/connext/monorepo/blob/eddd80448e6457d8d8ce5f097797dc79af81a1f0/packages/agents/sequencer/src/lib/operations/execute/slowpath.ts#L51
Further I simulated a these scenarios in prod testnet:

zero relayer fee transfers, with user CTA, and user bumps fee, and sequencer executes this in fastpath
zero relayer fee transfers, with user CTA, and user bumps fee, and sequencer executes this in slowpath
Non-zero, but low, relayer fee transfers, with user CTA, and user bumps fee, and sequencer executes this in fastpath
zero relayer, but low,  fee transfers, with user CTA, and user bumps fee, and sequencer executes this in slowpath

Conclusion:
This is v likely not sequencer data issue.
Instead, this was caused by subgraph data for the transfer not reflecting the fee bump, reason for which is unknown.

we are still running into issues where the sequencer doesn't have the updated transfer data after bumping on relayerFee.
some transfers to debug logs:

0x3d722c2d99cf21861c7f2d10dbabd84c76200fc6075190e2093f7023bed2a536
0x9108303120c4fb07927ba8b1a334a5839200f41433a4c77ffd22caab26c39f11
0x2ee100186dbd12670ab7fda0cd0f3071508c67d9a42bda2f5d694f963ed87ebe

TempSolution: Cleaning up cache
Solution needed:

read the data from subgraph for transferId for each iteration.
At carto, we will need to reset backoff if we bump relayerFee and slippage(probably already in code, just need to confirm)

The root cause for this behavior is this issue:
https://github.com/connext/monorepo/issues/3644
Will move this to QA, as sequencer cache upsert on fee change does not seem to be the issue.

AFAIK this is not observed anymore.


Azure OAI Outage

Azure OAI Outage in EAST-US effecting emedding models
FYI
Your support case @####$#%$^#&%&$&&$ is related to an ongoing outage in your region.
STATUS: In-Progress 8/8/2023 4:43:29 AM UTC
SUMMARY OF IMPACT: You may experience sporadic issues accessing your resources. This could cause you to experience a 5xx error when calling Davinci model or Ada embedding model in EastUS region.
NEXT STEPS: Azure OpenAI feature team are urgently investigating the root cause and coming up with a plan to resolve as soon as possible. We'll send an update once we know more.

Thanks for noting this when it happened, closing now since they resolved the outage.


Fix jdk8 build issue due to missing pom dependency

This PR fixes a build failure.
The following command fails:
mvn clean install -DskipTests -Pbin-dist -Pbuild-shaded-jar -Ppresto-driver --no-transfer-progress -Djdk.version=8

With error:
Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project pinot-java-client-jdk8: Compilation failure: Compilation failure:
Error:  /home/runner/work/pinot-elr/pinot-elr/pinot/pinot-connectors/prestodb-pinot-dependencies/pinot-java-client-jdk8/src/main/java/org/apache/pinot/client/utils/ConnectionUtils.java:[28,37] error: package org.apache.pinot.common.config does not exist
Error:  /home/runner/work/pinot-elr/pinot-elr/pinot/pinot-connectors/prestodb-pinot-dependencies/pinot-java-client-jdk8/src/main/java/org/apache/pinot/client/utils/ConnectionUtils.java:[29,36] error: package org.apache.pinot.common.utils does not exist
Error:  /home/runner/work/pinot-elr/pinot-elr/pinot/pinot-connectors/prestodb-pinot-dependencies/pinot-java-client-jdk8/src/main/java/org/apache/pinot/client/utils/ConnectionUtils.java:[52,4] error: cannot find symbol
Error:    symbol:   class TlsConfig
Error:    location: class ConnectionUtils
Error:  /home/runner/work/pinot-elr/pinot-elr/pinot/pinot-connectors/prestodb-pinot-dependencies/pinot-java-client-jdk8/src/main/java/org/apache/pinot/client/utils/ConnectionUtils.java:[52,26] error: cannot find symbol
Error:    symbol:   variable TlsUtils
Error:    location: class ConnectionUtils
Error:  /home/runner/work/pinot-elr/pinot-elr/pinot/pinot-connectors/prestodb-pinot-dependencies/pinot-java-client-jdk8/src/main/java/org/apache/pinot/client/utils/ConnectionUtils.java:[54,4] error: cannot find symbol
Error:    symbol:   variable TlsUtils
Error:    location: class ConnectionUtils
Error:  /home/runner/work/pinot-elr/pinot-elr/pinot/pinot-connectors/prestodb-pinot-dependencies/pinot-java-client-jdk8/src/main/java/org/apache/pinot/client/utils/ConnectionUtils.java:[55,11] error: cannot find symbol
Error:    symbol:   variable TlsUtils
Error:    location: class ConnectionUtils
Error:  -> [Help 1]
Error:
Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:
Error:  For more information about the errors and possible solutions, please read the following articles:
Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Error:
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :pinot-java-client-jdk8

This is failing because a file ConnectionUtils.java was added as part of PR https://github.com/apache/pinot/pull/9230 to the pinot-java-client which is sym-linked in the pinot-java-client-jdk8 directory under pinot-connector. Compilation was failing because the pom file wasn't updated to add the new dependency on  the pinot-common file.
cc @siddharthteotia

Codecov Report

Merging #9351 (b194489) into master (9d76fcf) will decrease coverage by 2.27%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #9351      +/-   ##
============================================
- Coverage     28.43%   26.15%   -2.28%
+ Complexity       53       44       -9
============================================
  Files          1872     1872
  Lines         99911    99911
  Branches      15211    15211
============================================
- Hits          28408    26135    -2273
- Misses        68752    71152    +2400
+ Partials       2751     2624     -127

Flag
Coverage Δ

integration1
26.15% <ø> (-0.04%)
:arrow_down:

integration2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../apache/pinot/server/access/RequesterIdentity.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/core/plan/StreamingInstanceResponsePlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ore/operator/streaming/StreamingResponseUtils.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...server/starter/helix/SegmentReloadStatusValue.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../operator/blocks/results/MetadataResultsBlock.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ager/realtime/PeerSchemeSplitSegmentCommitter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...urces/ServerReloadControllerJobStatusResponse.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/broker/broker/BasicAuthAccessControlFactory.java
0.00% <0.00%> (-90.91%)
:arrow_down:

...t/plugin/minion/tasks/purge/PurgeTaskExecutor.java
0.00% <0.00%> (-90.91%)
:arrow_down:

...ator/streaming/StreamingSelectionOnlyOperator.java
0.00% <0.00%> (-90.00%)
:arrow_down:

... and 210 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks for fixing this!


Teams Logical Architecture

Is this architecture still current as of today?

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

ID: ddbbbdfb-c916-be79-2a91-5576d58a30e1
Version Independent ID: 793f2f73-6fbc-04e5-fa8a-54908d74d860
Content: Microsoft 365 productivity illustrations
Content Source: microsoft-365/solutions/productivity-illustrations.md
Product: microsoft-365-enterprise
GitHub Login: @samanro
Microsoft Alias: samanro

@BrendaCarter for detailed response, but yes, this page has our current guidance. Do you have a specific illustration you have questions on?

Thank you for the quick response. I just wanted to confirm before I deliver a workshop.

Optionally you can now have your videos saved to SharePoint, but the illustration is accurate for the current defaults.
https://docs.microsoft.com/en-us/stream/streamnew/new-stream#stream-classic-vs-stream-on-sharepoint

What kind of workshop are you presenting?


feat: added Same Energy

tried unsubscribing but i’m getting spammed daily, anyone help?
On Fri 13 Oct 2023 at 09:22, Ige Adetokunbo Temitayo <
@.***> wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/edoardottt/awesome-hacker-search-engines/pull/90
Commit Summary

06baa31
https://github.com/edoardottt/awesome-hacker-search-engines/pull/90/commits/06baa315c1ae415238dea7e801f15c00f61673ac
feat: added Same Energy

File Changes
(1 file
https://github.com/edoardottt/awesome-hacker-search-engines/pull/90/files
)

M README.md
https://github.com/edoardottt/awesome-hacker-search-engines/pull/90/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(1)

Patch Links:

https://github.com/edoardottt/awesome-hacker-search-engines/pull/90.patch
https://github.com/edoardottt/awesome-hacker-search-engines/pull/90.diff
—
Reply to this email directly, view it on GitHub
https://github.com/edoardottt/awesome-hacker-search-engines/pull/90, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AQGOGQKNFIRW4MCYPVDLERDX7D24XANCNFSM6AAAAAA56Y4MNM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@NeilPayne69 unwatch the repo


The quality parameter does not work for PNG file output

Describe the bug
We are not able to use quality parameter to generate png file.
It does not work when we consume a png passing quality filter or when we consume webp or jpg file and try to generate png file with quality parameter.
To Reproduce
Any of link below returns same file:
https://i.cinemaja.com.br/filters:quality(10)/1013/background/8751.png
https://i.cinemaja.com.br/filters:quality(50)/1013/background/8751.png
https://i.cinemaja.com.br/filters:quality(90)/1013/background/8751.png
Or converting from other format to png with compression like this:
https://i.cinemaja.com.br/filters:format(png)/filters:quality(10)/1013/backgrounds/8920.jpg
https://i.cinemaja.com.br/filters:format(png)/filters:quality(50)/1013/backgrounds/8920.jpg
https://i.cinemaja.com.br/filters:format(png)/filters:quality(90)/1013/backgrounds/8920.jpg
Expected behavior
All returns from these url should respect the quality parameter and compress the PNG final image.
Please complete the following information about the solution:

[x] Version: v6.0.0
[x] Region: us-east-1
[x] Was published using automated deployment in aws cloud formation about 1 month ago.
[x] Error from cloudwatch:
2022-04-18T20:23:13.341Z	a9c3335f-551c-43af-9ab2-efb523626d20	ERROR	ImageHandlerError: The image request you provided could not be decoded. Please check that your request is base64 encoded properly and refer to the documentation for additional guidance.
at ImageRequest.decodeRequest (/var/task/image-handler/image-request.js:293:23)
at ImageRequest.parseRequestType (/var/task/image-handler/image-request.js:241:18)
at ImageRequest. (/var/task/image-handler/image-request.js:33:53)
at Generator.next ()
at fulfilled (/var/task/image-handler/image-request.js:7:58) {
status: 400,
code: 'DecodeRequest::CannotDecodeRequest'
}

@paulofloresjunior thank you for your feedback. We will look into it and add it to our backlog.

Hello, any news?

We are currently reviewing this and will update with more detail shortly.

@paulofloresjunior using the current v6.1.0 release made today I tried requests for a png image using quality values of 10, 50, and 90. Each returned different file size values for the quality setting which I am assuming are correct.
I then tried the jpg to png conversion and it worked as expected.
Can you deploy the new version in a test configuration and retry your test cases and let us know if there is still an issue?

Hi @dougtoppin thanks! I will try for sure and will bring the results here.

Hi, I already tested here and the problem was solved in this latest version! Thank you very much!


Remove link formatting after space.

When i apply any styling to a word or a set of words i notice that the style does not remain if i continue writing after the styled words, and this is the expected behavior.
What i don't expect is that the link styling remains when i continue to write, ideally after a space the style should be gone as in this editor or any other text editor.
The steps to reproduce this issue are:

write a sentence
link the complete sentence to an url
move the cursor to the last word of the sentence, and press space
write something

Eventually you will see that all the test is linked to the url, ideally text written after pressing space should be excluded from that.

Duplicate of #37


Haruki omits documentation for @typedef

Input code
/**
 * Foo is cool.
 * @typedef Foo
 */

JSDoc configuration
jsdoc foo.js -t templates/haruki -d console -q format=json
JSDoc debug output
N/A
Expected behavior
JSON output should contain description of typedef. In general, the JSON output should capture all comment documentation, so that useful documentation can be generated.
Current behavior
JSON does not contain description of typedef and possibly other annotations as well.
Your environment

Software
Version

JSDoc
3.2.2

Node.js
9.5.0

npm
5.6.0

Operating system
OSX

Fixed by #1507.

The Haruki template no longer exists on GitHub master, and it won't be included in the next major release. It had many, many problems beyond this one.


Problems with "How to: running a stand alone worker" example

By following the steps exactly as described in How to: running a stand alone worker, I'm having a few issues.
First, there are some requires that seem to be missing, namely:
require 'sneakers'
require 'sneakers/metrics/statsd_metrics'

Without those requires, I get uninitialized constant Sneakers::Metrics and undefined method 'configure' for Sneakers:Module errors when running foreman start. Since I'm new to Sneakers I preferred to open an issue first rather than simply editing the wiki.
After those modifications, I still get the following error when running foreman:
$ foreman start
14:19:29 myworker.1 | started with pid 6152
14:19:29 myworker.1 | 2016-01-18T17:19:29Z p-6152 t-ovl0dc9w8 WARN: Loading runner configuration...
14:19:29 myworker.1 | /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/sneakers-2.3.5/lib/sneakers/configuration.rb:94:in `inspect_with_redaction': undefined method `sub' for nil:NilClass (NoMethodError)
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/sneakers-2.3.5/lib/sneakers/runner.rb:62:in `reload_config!'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/sneakers-2.3.5/lib/sneakers/runner.rb:11:in `block in run'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/serverengine-1.5.11/lib/serverengine/config_loader.rb:39:in `reload_config'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/serverengine-1.5.11/lib/serverengine/config_loader.rb:32:in `initialize'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/serverengine-1.5.11/lib/serverengine/daemon.rb:29:in `initialize'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/serverengine-1.5.11/lib/serverengine.rb:51:in `new'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/serverengine-1.5.11/lib/serverengine.rb:51:in `create'
14:19:29 myworker.1 | 	from /Users/leonardobrito/.rvm/gems/ruby-2.3.0/gems/sneakers-2.3.5/lib/sneakers/runner.rb:11:in `run'
14:19:29 myworker.1 | 	from bin/myworker.rb:19:in `<main>'
14:19:29 myworker.1 | exited with code 1
14:19:29 system     | sending SIGTERM to all processes

Other than the two mentioned requires, all the rest is exactly the same from what is indicated in the how-to (except that I added the extension to bin/myworker.rb in the Procfile).
Are there any additional steps I'm supposed to do before trying to run this example? I'm guessing something needs to be filled in the Myworker model (lib/myworker.rb).

You need define ENV['AMQP_URL'] .


Update development status to 3

This is a reminder that before releasing an initial version, we should update the trove classifier in setup.cfg to Development Status :: 3 - Alpha.

This should also involve updating the repostatus.org badge in the README file.

...actually, on a more careful reading of repostatus.org, I don't think we should necessarily update that badge until after the initial release comes out and has gotten a bit of real-world use. So I'll leave that for a separate issue.


Youtube Music not scrobbling to lastfm

The title says it all I think =P

It's been an issue since June :( https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/issues/3174

@restinginlove OMG I didn't know that. In this case, sorry for opening a duplicated here


Worker tasks should use a locally instantiated DB session maker

Following the work done in #1140 and #1147, I've noticed that worker tasks currently use the global AsyncSessionLocal to open DB sessions.
While practical, it gives us less control about how/when the database engine is opened/closed. Besides, it makes it harder to implement unit tests; as it's difficult to swap the session with the fixture test session. The solution now is to monkey-patch  AsyncSessionLocal on a per-module basis, like I mention here:
https://github.com/polarsource/polar/blob/41b3210a97cd9d60e6121578708f289e10b6bfe5/server/tests/integrations/github/tasks/test_webhook.py#L37-L56

It would be a great improvement if we could store the DB engine instance and the associated session maker inside the WorkerContext, like we already do for the Redis instance. All we need is to add some logic to the startup/shutdown events of the worker to add those ones.
Then, in unit tests, it would be trivial to build a context with the test session and run the task with it.

Ultimately, my goal would be to get rid of those global AsyncEngineLocal and AsyncSessionLocal entirely.

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog :^)

Love it! That would be a super nice enhancement


@angular-devkit/build-angular:application not resolve the @use import in sass with  the sourceRoot as prefix

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description

Config the source root in the angular.json,    "sourceRoot": "src",

in the *.scss files when we import other file like using   @use '/src/css/Front'; it failed  run build with
 "builder": "@angular-devkit/build-angular:application",

it works fine with relative import  @use './css/Front';

Minimal Reproduction

To reproduce this, use ng   cli creata a basic workspace,
add a scss file, then use the @use import with source root as prefix in other files like "@use '/src/css/Front';"
run ng build

Exception or Error
No response
Your Environment
win11,
node 20.10,
ng 17.10

Anything else relevant?
No response

This is expected and can also be reproduced using the Sass compiler directly.
npx sass src/styles.scss
Error: Can't find stylesheet to import.
  ╷
1 │ @use '/src/testFroint'

Under webpack this used to work because webpack sass-loader will internally add additional includePath to support this form of imports.
To restore the behaviour when using the esbuild pipeline use the stylePreprocessorOptions option.
"architect": {
  "build": {
    "builder": "@angular-devkit/build-angular:application",
    "options": {
      ...
      "stylePreprocessorOptions": {
        "includePaths": [""]
      },


heroku login fails on OS X

heroku login
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x30845f, 0x21)
	/usr/local/go/src/runtime/panic.go:566 +0x95 fp=0x7fff5fbffa30 sp=0x7fff5fbffa10
runtime.goenvs()
	/usr/local/go/src/runtime/os_darwin.go:88 +0xa0 fp=0x7fff5fbffa60 sp=0x7fff5fbffa30
runtime.schedinit()
	/usr/local/go/src/runtime/proc.go:450 +0x9c fp=0x7fff5fbffaa0 sp=0x7fff5fbffa60
runtime.rt0_go(0x7fff5fbffad0, 0x2, 0x7fff5fbffad0, 0x0, 0x2, 0x7fff5fbffc10, 0x7fff5fbffc43, 0x0, 0x7fff5fbffc4b, 0x7fff5fbffc67, ...)
	/usr/local/go/src/runtime/asm_amd64.s:145 +0x14f fp=0x7fff5fbffaa8 sp=0x7fff5fbffaa0
fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x30845f, 0x21)
	/usr/local/go/src/runtime/panic.go:566 +0x95 fp=0x7fff5fbffa20 sp=0x7fff5fbffa00
runtime.goenvs()
	/usr/local/go/src/runtime/os_darwin.go:88 +0xa0 fp=0x7fff5fbffa50 sp=0x7fff5fbffa20
runtime.schedinit()
	/usr/local/go/src/runtime/proc.go:450 +0x9c fp=0x7fff5fbffa90 sp=0x7fff5fbffa50
runtime.rt0_go(0x7fff5fbffac0, 0x3, 0x7fff5fbffac0, 0x0, 0x3, 0x7fff5fbffc08, 0x7fff5fbffc3b, 0x7fff5fbffc44, 0x0, 0x7fff5fbffc4b, ...)
	/usr/local/go/src/runtime/asm_amd64.s:145 +0x14f fp=0x7fff5fbffa98 sp=0x7fff5fbffa90
 !    error getting commands pid 12706 exit 2

OS X 10.11.6

@malafeev is the environment variable $DYLD_INSERT_LIBRARIES set, or do you have a product called Websense installed?

I have installed Forcepoint TRITON AP-ENDPOINT.
From the same company I suppose as Websense

I getting this exact error too


Compute the execution path from a starting entry

This implementation still needs more complex tests to be validated, and then need to be optimize avoid redundant computations.

This PR needs more work to be compatible with the recent changes on master

At the moment, this implementation loose the semantic of method calls, it is not satisfying, but its all we got...


add a string writer

Sorry, but this PR can't be merged in its current form. The implementation doesn't have tests or documentation, doesn't match existing coding style and is substantially slower and more error-prone than a string writer that already exists in example code (see samples/save_custom_writer.cpp). While these issues can likely be fixed, for now it makes most sense to close this.


Revert "Fix YAML merge conflict"

Reverts Azure/azure-sdk-tools#4219

@chidozieononiwu: Why are you reverting #4219?  #4219 looks correct to me, it was reverting an incorrect change in https://github.com/Azure/azure-sdk-tools/pull/3989/files#diff-0afa1882538b0258aab7855d56c567cac98a77307c37b0aace25b0e088b2ae43.


[fix] adds back support for falsy front matter values e.g. eof_last

In reference to #146 and #165

Thanks!

Don't think this made it into the 5.0.2 release. I didn't do a dist build in my commit, I only changed the src file. Sorry for the confusion!

got catch. should be fixed now (build is in progress)

Fantastic, thanks!


Wax amount shown does not follow token precision.

Either make it just "100 WAX" or "100.00000000 WAX", the incorrect precision makes it look wrong.

It just looked off; I remembered from last time you preferred GitHub issues over a telegram msg, so figured I'd oblige 😅
I wrote a small script that trims off any trailing zero's (and the final period if need be) that I use to display values in a friendly way; optionally introducing thousand separators for readability (I use space but can be anything), if you want, I can link it when I get back to a PC; I just wrap any Assets I want to display on a site in it.


fix: unit test warnings and code style lint issues

Description

Resolved warnings in ChatHistoryButton unit test
Changed from space to tab indentation in ChatBotButton unit test

Related to these issues:

ChatHistoryButton unit test - #146
ChatBotButton unit test - #145

What change does this PR introduce?
Please select the relevant option(s).

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (changes to docs/code comments)
[x] Resolve unit test warnings
[x] Fix lint issue

What is the proposed approach?

Warning: Removing a style property during rerender (borderColor) when a conflicting property is set (border) can lead to styling bugs. fixed this warning by spliting border css to border and borderColor
Change ChatBotButton unit test intentation from space to Tab

Checklist:

[x] The commit message follows our adopted guidelines
[x] Testing has been done for the change(s) added (for bug fixes/features)
[ ] Relevant comments/docs have been added/updated (for bug fixes/features)

This PR fixes this issue.

and this issue


[Sortable] Fix issue with position synchronization after multiple deletes

In the postFlush method of the SortableListener the position of objects get updated via $this->setFieldValue() after applying the relocation. The problem is that $this->setFieldValue() creates a change set for the passed object and that will prevent from other relocations being executed on this object.
I have added a unit test that tests this case and extended the behaviour of postFlush so that all relocations for one object will get applied.

thanks, I thing that was bugging some users for a while

@naitsirch Im using sortable for many2many relation and I have exactly the same problem. However your fix is not properly working for me - maybe you can shed a light on what can be improved to fix it completely.
When I delete and add items in one operation (select2 form element), order becomes corrupted, because for every removed item update position query is executed. For 3 removed items and 2 added items these queries are used:
INSERTs... (2x)
UPDATE `table` SET `position` = `position` - 1 WHERE `position` >= 1 AND `group` = 1234;
UPDATE `table` SET `position` = `position` - 1 WHERE `position` >= 2 AND `group` = 1234;
UPDATE `table` SET `position` = `position` - 1 WHERE `position` >= 3 AND `group` = 1234;
DELETEs... (3x)

Is it possible to fix it, or this sortable extension is not intended for such usage?
(drag'n'drop approach to sort the set is used, once relations are added using select2)

After some digging it seems to be resolvable. Deletion relocations just have to be aware of newly created entities.
Dirty hack would be adding following lines:
} elseif (-1 == $val['delta'] && 1 == $needle['delta']) {
    $val['exclude'] = array_merge($val['exclude'], $needle['exclude']);
}

at https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/lib/Gedmo/Sortable/SortableListener.php#L582
@l3pp4rd  I'm not sure this would be accepted as general solution, so I guess anyone with extension knowledge can come up with something more accurate.

Hi I think you can open PR @jkabat if it passes tests and users do not spot issues it is good enough, either way they will submit another fix if there is something wrong. I was not working with extensions like few years now, just trying to get it to the stable point, so that would definitely help


android on_resume: _process called before enter_vr_mode()

I currently have the issue that when the app is paused and then resumed again that
gdscript _process() is called once before ovr is initialized again (via OvrMobileSession::enter_vr_mode()
This means that for one frame all calls to the gdns api functions are invalid.
Since ovr is recreated on app resume all settings need to be set again as they are initialized with the defaults. I would like to set them for example in a gdscript function that reacts on app resume:
func _notification(what):
	if (what == NOTIFICATION_APP_PAUSED):
		pass;
	if (what == NOTIFICATION_APP_RESUMED):
		set_all_app_settings(); # problem: ovr invalid at this point

A workaround would maybe be to set on NOTIFICATION_APP_RESUMED a counter; wait for >= frame in _process() and then set the settings; but then one frame would be rendered with "wrong" settings; and also all game logic would need to check if accessing gdns vrApi functions is valid.
Another Idea is maybe to call enter_vr for each exposed api function when not initialized?

I also just noticed that _process() is called once after NOTIFICATION_APP_PAUSED before the app is actually paused.

@NeoSpark314 Do you have the latest from upstream for both the oculus mobile plugin and the godot engine?
The logic in GodotRenderer#onDrawFrame should enforce that NOTIFICATION_APP_RESUMED is invoked before _process since GodotLib.onRendererResumed is invoked beofre GodotLib.step(). If you're seeing them out of order, that would indicate a bug in the way that logic is handled in the godot engine.
What you mention about NOTIFICATION_APP_PAUSED is possible however. Do you see it happening all the time, or randomly?

@m4gr3d Thanks; that was part of the problem; I just redid the test with the master from 1 hour ago: c11ccb7e6
I noticed that I need to call
./gradlew build before ./gradlew generateGodotTemplates; else it just takes the previously build libs instead of calling scons to build the changed cpp files again.
The second problem I mentioned seems to be gone now; process is not called after NOTIFICATION_APP_PAUSED; The first problem is almost gone; when process is called after resume ovr is initialized; but it is not initialized inside the _notification() yet when APP_RESUMED is notified.
The problem is visible in line 09-30 21:00:59.891 of the adb logcat below. I use the call to get_supported_display_refresh_rates() to check if calls to ovr are valid.

But with this now it is possible to reset all settings at the beginning of _process() after an APP_RESUMED notification without affecting the game logic.

@NeoSpark314 I removed the logic that used to call scons automatically in PR #32269 based on feedback in that pull request.
So for the proper behavior, you now have to manually call scons to generate the desired native shared library before invoking gradlew generateGodotTemplates.
I've added more information in that PR description, and have PR #2796 in flight to update the official documentation.
Regarding the second observation, it's correct but it's working as intended as the plugin uses the NOTIFICATION_APP_RESUMED event to reinitialize ovr, ensuring that it's valid whenever invoked within the _process callback.
A workaround to the logic you have would be to trigger a flag whenever you receive the NOTIFICATION_APP_RESUMED event and check that flag in _process to figure out when is a good time to reset the settings.

Ok; thanks a lot for the clarification! I will use the flag then for re-setting settings at the beginning of _process.


gflags_LIBRARIES set in gflags-config.cmake invalid

The gflags_LIBRARIES variable is set to "gflags" in gflags-config.cmake. However, the imported targets are "gflags-static", "gflags-shared", "gflags_nothreads-static", and "gflags_nothreads-shared".

This has been resolved and the user is provided with gflags-config options to choose between the available library targets, i.e., gflags_SHARED and gflags_NOTHREADS.


What I think is a good idea for spiffs

Must be hierarchical
Must be able to read a single byte/write a single byte in any location in a file
Must be able to defragment, format, and if you feel like it, optional file checksums
pls. i need these things badly. i have can only use the internal flash of my esp32 because i don't have enough free pins to use an sd card.

:/


LC should also support arm64

What would you like to be added/modified:
LC should also support be scheduled to arm64 devices.
Why is this needed:
Many edge nodes are arm64 devices(e.g., atlas500)

already merged, close.


feat: tokens page update

Proposed changes
Changes to tokens page:

Replaced utilities card, link to getinvolved section in homepage
Added Learn more section under supply
Changed "Olas Tokenomics Core Technical Doc" -> "Tokenomics Whitepaper"
Layout and responsiveness fixes

Screenshots/Recordings

Responsiveness before:

After:

great contains everything we asked for, text and links correct. hover on roles looks great.
minor: would be great if clicking on roles image it takes us just slightly higher so top of screen aligns with top of role boxes, but shouldn't block us


using_linuxkit causes dind-cluster-*.sh to fail on Docker for Windows 10

After using_linuxkit was introduced, it causes dind-cluster-*.sh to fail on Docker for Windows 10 with error mount: mount point /lib/modules/ does not exist:
sava@DellXPS:/mnt/c/k8s/kubeadm-dind-cluster/fixed$ ./dind-cluster-v1.8.sh up
* Making sure DIND image is up to date
* Removing container: c623f6231d2a
c623f6231d2a
* Removing container: 8cbd948ca416
8cbd948ca416
* Removing container: 9046fa7bd8cf
9046fa7bd8cf
* Restoring master container
* Restoring master container
* Restoring node container: 1
* Restoring node container: 2
* Starting DIND container: kube-node-2
* Starting DIND container: kube-node-1
* Starting DIND container: kube-master
* Node container restored: 1
* Node container restored: 2
* Master container restored
mount: mount point /lib/modules/ does not exist

Fix that worked for me was not to use linuxkit on Docker for Windows, by adding additional check if ! docker info|grep -s '^Operating System: .*Docker for Windows' > /dev/null 2>&1 ;   as shown below:
# In case of linuxkit / moby linux, -v will not work so we can't
# mount /lib/modules and /boot. Also we'll be using localhost
# to access the apiserver
using_linuxkit=
if ! docker info|grep -s '^Operating System: .*Docker for Windows' > /dev/null 2>&1 ; then
    if docker info|grep -s '^Kernel Version: .*-moby$' >/dev/null 2>&1 ||
         docker info|grep -s '^Kernel Version: .*-linuxkit-' > /dev/null 2>&1 ; then
        using_linuxkit=1
    fi
fi

Could this fix be worth adding onto main branch, please?

Fixed in #84


Error creating a list

Code to re-create:

Attempting to define a list based on an undeclared variable should cause a compile error, but not a crash.

This isnat actuallt an undeclared variable. 'head' is a function and it is perfectly valid to have a list of functions. If you replace head with a undeclared variable you get the expect 'is undefined' error.
The issue is that head is a generic function and so using a generic function without parameters to work out the generic types means we can't work out the type of the array.
Not currently sure how to handle this case.

Allow generic parameters as long as they match
all reference to extension but test it cannot be used (directly or indirectly)

complete (some fixes accidentally against #623)


Test "ruff check --output-format=github"

tox.ini contains a call to ruff check. Documentation talks about --output-format=github option that apparently might enable inline comments in github...
We should test this:

add --output-format=github to the "ruff check" call
in another temporary commit, introduce some linting errors (maybe by removing the whole tool.ruff.lint.per-file-ignores section in pyproject.toml)
make a draft PR to check if the error messages are visible inline in GitHub
if they do, remove the temporary commit and force push (and make PR ready for review)

This might be a little more complicated as we likely don't want --output-format=github when running outside github...
Potential solution is that tox uses that if GITHUB_ACTIONS env variable is set

I'll have a look at this, I'm interested


OpenGov. Delegations. Change track names, chips, columns

Update track info tooltips according mockups
Update input error according mockups
Update track selection according mockups. Chips should be: Select all, Admin, Governance, Treasury, Fellowship.

Status verification: ✅
What has been verified:

Tooltips
https://github.com/novasamatech/nova-spektr/issues/2222
Errors
Track selection


I am having problems with PostBatchAsync batch updates:   should be two '\r\n' between sub-request

"Incomplete request, Please check if the sub-request has complete request content and there should be two '\r\n' between sub-request header and content!"
using B1SLayer;
var serviceLayer = new SLConnection("https://***:10000/b1s/v2", "***", "***", "***");

List<SLBatchRequest> batchReq = new List<SLBatchRequest>();

batchReq.Add(new SLBatchRequest(new HttpMethod("Patch"), $"Items('{"$creation"}')", new
{
    ItemCode = "$creation",
    ItemName = "Test Item1"
})); batchReq.Add(new SLBatchRequest(new HttpMethod("Patch"), $"Items('{"$creation2"}')", new
{
    ItemCode = "$creation2",
    ItemName = "Test Item2"
}));
HttpResponseMessage[] batchResult = await serviceLayer.PostBatchAsync(batchReq);

I also get an error when I use the README example.
B1SLayer.SLException: 'Content ID should be specified in each change set request.'

Hi, @ByYogi.
When using OData V4 protocol (indicated by the 'v2' in your Service Layer URL), you are required to specify the content ID in all requests within a batch, even if you don't use it. Check the Service Layer User Manual regarding this topic.
Try changing your URL to 'v1' or specify the content ID in each request object (optional constructor parameter for the SLBatchRequest class).


MacOS: phpsab picking up wrong version of PHP for Composer platform check

I'm getting the following error pop up in VS Code on almost every file save:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.29. in /(...path/to/project...)/site/vendor/composer/platform_check.php on line 24

I'm running macOS Catalina, for which the system PHP is 7.3.29. I have PHP 7.4.27 installed via Homebrew, on my $PATH, and hooked into VS Code as tightly as I could manage. Various checks and settings:

php -v returns PHP 7.4.27
composer diagnose shows PHP version: 7.4.27 and PHP binary path<EMAIL_ADDRESS>In my Code user settings, I have defined "php.validate.executablePath"<EMAIL_ADDRESS>which Homebrew has symlinked to the binary above.
my composer.json includes:

    "platform": {
      "php": "7.4"
    }

composer.json is in a subdirectory site/, but in my workspace .vscode/settings.json I have these defined:

  "phpsab.composerJsonPath": "site/composer.json",
  "phpsab.executablePathCS": "site/vendor/bin/phpcs",
  "phpsab.executablePathCBF": "site/vendor/bin/phpcbf",

Have I missed something, or is this a bug?

I finally got it working properly, and it looks like my own config was to blame. My zsh setup adds the correct PHP to $PATH in .zshrc. For some reason, VS Code didn't seem to pick it up. I added the PHP $PATH rule to .zprofile as well, and after a restart the error disappeared. Hasn't shown up again.

Please share the file(s) you used to fix this error. Thanks.


(1.20.1) Strange game crash in the world selection menu with no report but found "Stopping!" in the log

latest.log

Not related to this mod


Adds electrum v2 root seed extract (from mnemonic)

Requires pbkdf2 library.
There is no way to extract the masterprivkey or root seed from Electrum 2.0.x, be it by GUI or Electrum daemon

Why was this closed?


--max-chat-history-tokens not respected

Issue
I started 'aider' with
aider --max-chat-history-tokens 8192
and
/tokens
shows
$ 0.0323   10,783 chat history                                                              use /clear to clear
P.S - Claude Sonnet is the best model for me but is expensive. I tracked the ever growing  chat history  as one of the main culprits of the high costs with sonnet so I added  --max-chat-history-tokens 8192 to limit the history.
However I find the chat history more than the limit I gave it.
Version and model info
Latest version of aider with Claude sonnet

Thanks for trying aider and filing this issue.
--max-chat-history-tokens controls when aider will try and summarize the chat history. It is not a hard limit.

Hi Paul,
aider is the only AI code agent I find myself using it again and again. Others I install, try a bit but none sticks for longer time usage.
Coming back to max-chat-history-tokens
I find the history 4x times bigger than the configuration I gave. Is this expected? I understand it could be 10%, 20% or even 50% bigger than the configuration but 4x times? The reason I use that argument is to save on Claude costs

Another tangential related thing
For me caching seems to increase costs much more because I see lots
of "write cache" for thousands of tokens each but almost no "cache hits"
(or very few)
so I commented out # aider --cache-prompts --no-stream
and tried with
--max-chat-history-tokens


⚠ Bofrost.be has degraded performance

In 906db35, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 832 ms

Resolved: Bofrost.be performance has improved in cfa45c9 after 6 minutes.


Backend v0

@Andrei-Dolgolev : Coordinage with @peersky to understand what endpoints he needs on the backend.
Coordinate with @kompotkot to understand how to read data from blockchain database.
Coordinate with @Yhtiyar to understand how to expose smart contract decompilation metadata to @peersky on the frontend.

@Andrei-Dolgolev , @kompotkot : I suggest to create a db/ folder in which we define models and alembic migrations for the blockchain database.
Folder structure:
moonstream
|-- frontend
|-- backend
|-- db
|-- crawlers
    |-- ethereum
    |-- etherscan

Add subscription limit on create subscriptions


Build first iteration of action-publish-cpan

🤔 What's the problem you're trying to solve?
We need this github action so that we can add a release-cpan.yml to https://github.com/cucumber/messages/pull/27
✨ What's your proposed solution?
Port the code over from https://github.com/cucumber/common/blob/main/.templates/perl/default.mk
Ideally, add a test package and a github workflow to this repo to test that it actually works. See the npm action for an example.
📚 Any additional context?
https://github.com/cucumber/common/issues/2029

This text was originally generated from a template, then edited by hand. You can modify the template here.

@ehuelsmann can you help?

Note that CPAN uses a .pause file to authenticate, so we'll probably need to write this file from a secret.

@ehuelsmann I've got somewhere, but it's currently failing to find the dzil binary in the PATH on the GitHub Action container. How do we find out where cpanm has installed it?

OK I figured that out too. If you want to use a semver-style version number you need to prefix it with a v

Nope, that didn't work. I can only seem to make the dzil we get on the GitHub Actions container accept a "numeric" version like 0.003. It works fine on my kicak machine.

In order to try and work out why it was different on my machine, I added some version number printing.
The GHA container has perl v5.30.0, wheras I have v5.34.0 locally.
They both end up with dzil 6.025 though.

dzil is compatible with any Perl 5.20.0 or up; so the version difference shouldn't be a problem.

I've modified it to use the same mechanism we use in the monorepo, leaning on [Hook::VersionProvider] to read the version in from a VERSION file. That seems to be working. I think I'm almost there!

I wish I'd done this in a branch now, rather than cluttering up main

OK I reset the main branch back to the beginning and you can now follow along in #2


[WIP] Feedback mechanism

refactor server.ts,
add in feedback mechanism,
make redirects work locally,
add new debug task,
add a test for the feedback mechanism

@thisisjofrank did the majority of the styling and refactoring I intended to do PTAL

it seems like maybe the cancel button doesn't work yet. Also the github link wasn't working but maybe that's just a local problem?


cannot sign in with google account

I sign up in leetcode with my google account rather than creating a new acount. When I sign in with this vscode-leetcode, I cannot sign in.

Can you edit your account in the setting page of LeetCode and try again?

Thanks very much and my problem solved.


Upgrade to latest JetStream SDK

Problem
We're using a legacy SDK for interacting with NATS, I have been observing some performance issues in our environment, and although I'm not 100% certain the issue is in this repo, things got slightly better after restarting the dispatcher. I believe it's still to do with the number of goroutines we have running, and the new SDK makes it much easier to control how many messages we fetch in parallel.
I'm proposing this as a feature rather than a bug, because as I said, I'm not actually 100% certain there is a performance issue.
I already have some WIP changes which use the new SDK whilst fixing some other minor issues, any PR is probably going to come addressing multiple issues (sorry! but doing all the things I want to do in separate PRs is going to take too long and I'm pushed for time in this repo)
Persona:

System Integrator
System Operator

Exit Criteria
Library is updated and performance is improved.
Time Estimate (optional):
1 day
Additional context (optional)
My WIP code makes changes so that we use the new FetchNoWait(batchSize) method, and convert the jetstream.Msg to a new struct which implements binding.Message (since the CE SDK doesn't support this library yet). This struct also contains a Context() method which is configured with a timeout based on AckWait so that we can successfully cancel requests as soon as they expire.
We then write this Message implementation to a local channel which we handle in a fixed number of goroutines, rather than spawning a new goroutine for every message.
I think this will make things much easier to tweak for performance issues, and should be more performant out of the box.

We then write this Message implementation to a local channel which we handle in a fixed number of goroutines, rather than spawning a new goroutine for every message.

Still wondering whether this is the right approach... The request volume I'm seeing in my environment shouldn't have any impact on performance with respect to the number of goroutines

/remove-lifecycle stale


Prepare brew formula PR for 1.4.1

Requires a bit of manual work
(Need to figure out sha256 sums of all updated dependencies)

Ref https://github.com/kontena/kontena/issues/2979

Fixed in https://github.com/Homebrew/homebrew-core/pull/21014


Specify a function as a recursive module loader

It seems very common (w/ Nevermore, Knit, and a lot of custom solutions I've seen) for people to use custom module loaders that recursively search for a module given a string.
This is how you'd get intellisense for a module w/ Nevermore:
local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))

---@module src.modules.Utility.Maid
local Maid = require("Maid")

-- Now intellisense finds :GiveTask() / :Destroy() etc...

However, it can get cumbersome to add a statement for each module. This could be fixed by searching for Nevermore, or checking for using require with a string, etc. However this isn't versatile.
A good solution could be a tag like this, which only applies to functions that are passed strings.
---@moduleloader <list of relative source directories, searched recursively>
local loader = function(inString) end

---@moduleloader src.modules src.more_modules
local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))

local Maid = require("Maid")
-- Now intellisense finds :GiveTask() / :Destroy() etc...

---@moduleloader src.modules src.more_modules
local loader = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))

local Maid  = loader("Maid")

This could cause some weird conflicts. For example, several modules with the same name. To fix this, you could allow ---@module to override any assumptions made by ---@moduleloader.
This seems like a pretty good compromise between ease of use and control?

That's a cool idea, and is definitely possible, but this problem already has a solution that will be available soon when I update the language server, a feature called plugins that you can already try in sumneko's lua-language-server, there is a wiki for it https://github.com/sumneko/lua-language-server/wiki/Plugin.
With this you can automatically add the comment ---@module on top require functions with string patterns, only for the language server to read it.
I have already updated Roblox LSP but I have not released it yet because I am implementing some cool features.


about KeyError: 'seq5\00060_class1.png/00060.png'

In the eval_endovis function in surgicalSAM/utils.py
for file_name, prediction in endovis_masks.items():
full_mask = gt_endovis_masks[file_name]
"KeyError: 'seq5\00060_class1.png/00060.png'" appears
As far as I know, gt_endovis_masks: {'seq15/00000.png': is such a dictionary,
And endovis_masks: {'seq5\00060_class1.png/00060.png' is such a dictionary
, they should not be able to correspond to，
I directly downloaded the processed endovis_2018 data set provided by you.

Hi,
Thanks for your interest in our work.
The keys in your endovis_masks appear to have an issue; it shouldn't include "\00060_class1.png" in the middle, in your example.
Below I present the keys of gt_endovis_masks and endovis_masks for your reference.