[FLINK-20998][docs] - flink-raw.jar no longer mentioned + prettier maven xml dependencies

What is the purpose of the change
fix documentation mistake: the raw format is a built-in format distributed with blink-table-planner but was documented as a separate jar.
Brief change log

removed flink-raw.jar reference from site-connector.yml
update the raw format documentation: no longer loads the sql-connnector-download-table.html snippet
added maven xml format to connectors and format documentation for user convenience

Verifying this change
I manually ran ./build_docs.sh -p  , the format seems ok now.
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Hi,
Do you need more input from me on this one?

Hi,
Do you need more input from me on this one?

@sv3ndk , sorry, I do think I missed to merge this PR.
Could you help to open a pull request for release-1.12 ?

@sv3ndk , sorry, I do think I missed to merge this PR.
Could you help to open a pull request for release-1.12 ?

Thanks for the merge @wuchong

Could you help to open a pull request for release-1.12 ?

Gladly. I'm new here so I want to make sure I do this correctly: all I should do is open another PR with the same commits to the branch called release-1.12, is this correct?

Thanks for the merge @wuchong

Could you help to open a pull request for release-1.12 ?

Gladly. I'm new here so I want to make sure I do this correctly: all I should do is open another PR with the same commits to the branch called release-1.12, is this correct?

Yes, you are right. You can just cherry pick the merged commit to your dev branch based on latest release-1.12 branch. But you may need to resolve conflicts if there are conflicts.

Yes, you are right. You can just cherry pick the merged commit to your dev branch based on latest release-1.12 branch. But you may need to resolve conflicts if there are conflicts.

There you go: https://github.com/apache/flink/pull/14723

There you go: https://github.com/apache/flink/pull/14723


Array of vectors

Hey there!
Do you support arrays of vectors? I am wondering how to perform a similarity search when I have a list of keywords/tags. They vary a lot so I probably want to avoid text or stringArray search and use similarity search instead.
Is aggregation the only option here, or there's a way to actually search semantically for a specific keyword within a larger list?
Thanks

Hmm, there isn't arrays of vectors type since each vector would have to be indexed individually. You can have multiple vectors per point but they are separate indices, mostly used for multi-modal stuff, for example image embedding and text embedding side-by-side. The stringArray type is text based search often used for things like filtering categories etc.
One option would be to embed each keyword / tag individually and then set the point's vector to the average of those. This would be like a vector based bag-of-words model. So a search containing similar words embedded in the same way would retreive the closest points.
Alternatively, I've seen people concatenate the words into a single string like "car black SUV" and then embed that directly.

Okay, thank you very much!


Controlled of Adjoint does not work with decompose_with_registers

Code to reproduce issue:
from qualtran.bloqs.qsp.generalized_qsp import GeneralizedQSP
from qualtran.bloqs.qubitization_walk_operator_test import get_walk_operator_for_1d_ising_model

W = get_walk_operator_for_1d_ising_model(2, 1e-4)
gqsp = GeneralizedQSP.from_qsp_polynomial(W, (0.5, 0, 0.5), negative_power=1)
cbloq = gqsp.decompose_bloq()

produces
...
ValueError: Cannot control channel with non-unitary operators: Adjoint(subbloq=QubitizationWalkOperator(...))

Triggered by this line
https://github.com/quantumlib/Qualtran/blob/c78dd0b5639b7fb4f471b47d59ff13042ca044c4/qualtran/bloqs/qsp/generalized_qsp.py#L379

On more investigation, it turns out the issue is here:
https://github.com/quantumlib/Qualtran/blob/c78dd0b5639b7fb4f471b47d59ff13042ca044c4/qualtran/_infra/gate_with_registers.py#L397-L403
Although this code is only used to compute the ctrl_spec, the cirq.Controlled.__init__ first does this:
        _validate_sub_object(sub_gate)

which fails.


Update tests for pragma additions

I need the original patch, too, please. I reverted the original PR.  I'd like to have this all in one.

I'll have to come back to this tomorrow.  I'm getting some weird test failures at my end.


Some unit tests fail for non-english locale

The following unit tests fail on my local machine (which is located in Austria):

membersInDifferentTimeZonesGetCustomizedEnsembleScheduledEmail
memberWithEmailWhenEnsembleScheduledThenCustomEmailSentToMember
memberWithEmailAcceptsThenEmailSentToMemberWithEnsembleDetails

Here's an example of one of the assertion errors:
java.lang.AssertionError:
Expecting actual:
  ["Ensembler: New Ensemble Scheduled for 2021-12-17 at 1:00pm (GMT-08:00)",
    "Ensembler: New Ensemble Scheduled for 2021-12-17 at 4:00pm (GMT-05:00)"]
to contain exactly (and in same order):
  ["Ensembler: New Ensemble Scheduled for 2021-12-17 at 1:00PM (PST)",
    "Ensembler: New Ensemble Scheduled for 2021-12-17 at 4:00PM (EST)"]
but some elements were not found:
  ["Ensembler: New Ensemble Scheduled for 2021-12-17 at 1:00PM (PST)",
    "Ensembler: New Ensemble Scheduled for 2021-12-17 at 4:00PM (EST)"]
and others were not expected:
  ["Ensembler: New Ensemble Scheduled for 2021-12-17 at 1:00pm (GMT-08:00)",
    "Ensembler: New Ensemble Scheduled for 2021-12-17 at 4:00pm (GMT-05:00)"]

	at com.jitterted.mobreg.adapter.out.email.EmailToSendEnsembleScheduledNotifierTest.membersInDifferentTimeZonesGetCustomizedEnsembleScheduledEmail

Possible fix
The tests pass if I change the DateTimeFormatter setup in EmailNotifier to contain a specific locale:
private static final DateTimeFormatter LONG_DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("LLLL d, uuuu 'at' h:mma (zzz)", Locale.ENGLISH);
private static final DateTimeFormatter SHORT_DATE_TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd 'at' h:mma (zzz)", Locale.ENGLISH);

However, I don't know how you would like to approach this. I suppose, you might want to hard-code English for now?

Thanks! The locale effect on the time zone is interesting. I suppose when I add "locale" to a Member's profile, I should add another test for times with time zones outside the USA along with those locales.
For now, hard-coding the Locale makes sense, which would be Locale.US in my case.


Confused with the statement mentioned in “With failover groups” section and should needs to be corrected

Confused with the statement which is mentioned in “With failover groups” section. Link below.
https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/replication-transactional-overview#with-failover-groups
As highlighted below, in the first line it had mentioned, geo replication is not supported with a SQL Managed instance using transactional replication and in the next paragraph it’s mentioned if geo replication is enabled.

The concern here is, if the geo replication is not supported how it would get enabled?
Does this need to be corrected or my understanding is incorrect?

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

ID: 61e3252e-e065-c6e7-042f-c3a7c1be5364
Version Independent ID: c708bb0b-9e56-7ce3-8055-7335a0adec97
Content: Transactional replication - Azure SQL Managed Instance
Content Source: articles/azure-sql/managed-instance/replication-transactional-overview.md
Service: sql-managed-instance
Sub-service: data-movement
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@rarandiv We are looking into this and will get back to you.

@rarandiv Thank you for your feedback
@MashaMSFT  Please see feedback above from customer. Do we need to make any changes in this doc

Hi @rarandiv , the full sentence is that "if geo-replication is enabled in a failover group". Auto-failover groups are an implementation of geo-replication, so when you enable auto-failover groups, you're enabling the geo-replication of the MI in the failover group. This is saying that if your MI is in a geo-replicated failover group, then there are additional actions you must take.
However, I can see how the wording can be confusing. I'm processing a change to clarify that should be live later this week. I'll go ahead and close out this Git Issue but please feel free to comment should you need anything further.
Thanks again for reaching out and improving our docs! I hope you have a wonderful rest of your day :)
Masha from the SQL Docs team
#please-close

Hi @MashaMSFT , Thank you very much for the clarification and considering the recommendation. Really appreciate!
Looking forward for the updated doc.


Add Scott to @batch group

Terraform Format and Style 🖌success
Terraform Initialization ⚙success
Terraform Validation 🤖success
Validation Output

Success! The configuration is valid.

Terraform Plan 📖failure
Show Plan

terraform

Pusher: @sjpb, Action: pull_request, Working Directory: ``, Workflow: Terraform GitHub


chore: sample code in readme

Fixed typo in destructuring in code example in Readme.md

@Qudusayo could you please change your commit message from "fix: ..." to "chore: ..." because a "fix" would trigger a new release. Thx 🙏

Done that @fabianbormann 🙌🏽


The value of file and file list does not show when you are on the details view read mode

When a record has attachments on a file and file list, the information does not show when you land on the details view of the record. It only shows when the form gets into edit mode
Steps to reproduce the behavior:

Go to 'https://function-adminportal-test.shesha.dev/dynamic/TestModule/entityPicker-details?id=3e8ad044-d3bc-4a74-bf5c-26b7577fd184'
Check file and file list fields
Actual Results: The attachments does not show
Click on 'edit' pencil
Actual Results: The attachments shows

Expected behavior
When you navigate to the details view, if the record has file attachments, the files show should same as how the other form fields values are showing. Example of where it is working: https://function-v0-32-adminportal-test.shesha.dev/dynamic/Shesha/test-cascade-behavior-details?id=a59b78d0-c2fa-4219-ac2a-003f12718f28

Related item
#579

Fixed with another changes


[SPARK-49628][SQL] ConstantFolding should copy stateful expression before evaluating

What changes were proposed in this pull request?

It's possible that a logical plan instance is being shared by multiple DFs and these DFs are executed in parallel. Spark always copy stateful expressions before evaluating them, but one place is missed: ConstantFolding can also execute expressions. This PR fixes it.
Why are the changes needed?

avoid concurrency issues.
Does this PR introduce any user-facing change?

no
How was this patch tested?

Not able to write a test for it, but this concurrency issue is quite obvious
Was this patch authored or co-authored using generative AI tooling?

no

cc @viirya @yaooqinn

Merged to to master, 3.5 and 3.4


"NoMethodError: undefined method `[]' for nil:NilClass" Showing up in Queues

Since upgrading from 3.0.1 to 4.1.6, suddenly I'm seeing dead/retry jobs in my sidekiq queues of a strange nature that seem to coincide with scheduled runs of FediFetcher
In the ingress queue, I get jobs that show as:

ActivityPub::ProcessingWorker - <18 digit number here>, "null", nil, "Account" - NoMethodError: undefined method `[]' for nil:NilClass

No errors like this before updating the script and changing the arguments to the new style from the old style, not sure what would be causing it but since it started happening exactly as soon as I changed the script and no other changes have been made, I'd suppose it has to do with the script making a bad call?
Curious whats going on here... I see later releases today but nothing in the patch notes that seems to denote this problem?

Thanks for the report @Xipherisroot
I do have to say that I cannot imagine how this could possibly be a problem with FediFetcher:

FediFetcher uses only endpoints that provide synchronous results. AFAIK it shouldn't involve sidekiq at all.
I'm not seeing the error in my sidekiq logs, and noone else has reported this.
FediFetcher is not pulling in any accounts, only posts, so the reference to accounts would be weird too.

Finally, FediFetcher doesn't touch mastodon code directly. It merely uses the Mastodon API. As such, even if it did cause this behaviour, it would be a bug that would need to be fixed within Mastodon, as we are using the API as documented.
As such I'll close this for now.
If you or anyone else has any further insight, I'm more than happy to revisit this though.

This happened to me when running 4.1.3 but I haven’t seen it since updating to 4.1.9.

I've updated to 4.1.9 myself and so far on a few runs... its gone away, if it happens again during a run I'll report back? Glad I'm not the only one that noticed it though how it was caused... dunno'
I do know that I get a ton of "Got context for toot None" messages when run, not sure how it can get context for "None"...?

Yep every run has many of these:
2023-04-05 20:51:48.154387 UTC: Got context for toot None
2023-04-05 20:51:48.526278 UTC: Got context for toot None
2023-04-05 20:51:49.855136 UTC: Got context for toot None
2023-04-05 20:51:50.181248 UTC: Got context for toot None
2023-04-05 20:51:50.775495 UTC: Got context for toot None
2023-04-05 20:51:51.658244 UTC: Got context for toot None
2023-04-05 20:51:52.012641 UTC: Got context for toot None
2023-04-05 20:51:52.284524 UTC: Got context for toot None
2023-04-05 20:51:53.069537 UTC: Got context for toot None

Haven’t looked into it yet but I also want to confirm what the script does when LOCAL_DOMAIN≠WEB_DOMAIN.

This happened to me when running 4.1.3 but I haven’t seen it since updating to 4.1.9.

This is very strange, as I cannot think of anything that could cause this. But I'm glad it's gone now. Hoping it'll stay gone.

if it happens again during a run I'll report back?

Please do.

Got context for toot None

This is expected to happen when FediFetcher can't parse a toot URL, and therefore we cannot fetch context / replies to those posts. I'm happy to accept PRs that would expand the parsing capabilities for both profiles and posts

Haven’t looked into it yet but I also want to confirm what the script does when LOCAL_DOMAIN≠WEB_DOMAIN.

It will pull in context/replies just fine, but it will likely fail backfilling profiles. I've opened #38 to track this.


New version: Omniscape v0.1.4

Registering package: Omniscape
Repository: https://github.com/Circuitscape/Omniscape.jl
Created by: @vlandau
Version: v0.1.4
Commit: 9c6c4f37b46a3cf8f8f68c4025e7c5bfec2c9031
Reviewed by: @vlandau
Reference: https://github.com/Circuitscape/Omniscape.jl/commit/9c6c4f37b46a3cf8f8f68c4025e7c5bfec2c9031#commitcomment-36680302

TagBot tag


Chore/ddw 65 update terms of use for ETC version

This PR introduces update for ETC version of terms of use.

I have added special text for Terms-of-use acceptance page checkbox in case user has selected Japanese language and we have Terms-of-use only in English. In this case the label will show Japanese version of I understand that the terms of use are only available in English and agree to the terms of use. This text is used for ETC Terms-of-use acceptance page under Japanese locale while normal version I agree with terms of use is used for Cardano.
FYI @darko-mijic @DominikGuzei @tomothespian

Reviewing this now …


2024.06.20 experiment log

10:30 arrived at the beamline workstation. Still not ready.

14:30ish - heard that should check in the morning on the 21st

@DiamondJoseph  is there anything substantial missing?

plan for 27.06.2024 after discussion with @callumforrester

try scans with the xrays
use the simple chemical samples
iterate on the nxs filewriting schema and metadata parsing
use the beamtime to the fullest

afterthought:
experiment was a success, especially the panda plans reloading.
We wrote some nxs files.


init_bench

I worked in Centos7.6 and had successfully exec “pip3.11 install vector-bench”

IS anything wrong in my operation? by the way I install vector-bench offline

@XuanYang-cn Could you help~

I  found It was me forgot to set init_bench bin path in env variable $PATH.  Maybe can consider add this in the install readme~

Thanks for reply!


Draft: Add contributing docs

A draft guide for contributors

Open to review @steffenkrogmann @Mutinda-Kioko @Allen-Muhani @Alphonce-Mutebi.

@Mutinda-Kioko wouldn't recommend merging for now until I make CODE_OF_CONDUCT.md file.
I'll make some changes for installation and and repository structure under README file.
I found they're better suited under that file.


Clarification on /v1/provide-list-of-network-element-interfaces-on-path-in-generic-representation

/v1/provide-list-of-network-element-interfaces-on-path-in-generic-representation, the operation, input, and output are not clear.
Can we have a more detailed description?

Hi Valentina,
you already implemented /v1/provide-list-of-network-element-interfaces-on-path. So I think your question is the how the input and output in generic representations is handled?
When the GUI of the generic representation is opened (with /v1/start-application-in-generic-representation) you have to add an additional field for the MATR application. The content of the field is described in the profile instance list:
From MacAddressTableRecorder+profileInstances.yaml

profile-name: 'ActionProfile'
uuid: 'matr-1-0-0-action-p-003'
capability:
operation-name: '/v1/start-application-in-generic-representation'
label: 'List network element interfaces on path to target MAC address'
input-value-list:
- field-name: 'TargetMacAddress'
display-in-new-browser-window: false
configuration:
consequent-operation-reference: '/core-model-1-4:control-construct/logical-termination-point=matr-1-0-0-op-s-is-004/layer-protocol=0/operation-server-interface-1-0:operation-server-interface-pac/operation-server-interface-capability/operation-name'

If the user enters a valid MAC Address ('TargetMacAddress') the MATR applications collects the same data as in /v1/provide-list-of-network-element-interfaces-on-path and provides the data to the user in generic representation as described below:
From MacAddressTableRecorder+profileInstances.yaml

profile-name: 'GenericResponseProfile'
uuid: 'matr-1-0-0-response-p-008'
capability:
operation-name: '/v1/provide-list-of-network-element-interfaces-on-path-in-generic-representation'
static-field-name: 'listOfNetworkElementInterfacesOnPath'
description: 'Calculated mount names and interfaces of devices on the path to the MAC address. Mount names and interfaces are separated by colons. Value pairs are are separated by semicolons.'
datatype: 'string'
configuration:
value-reference: 'from ElasticSearch'

Have I understood the problem correctly, otherwise please contact me again.
Best Regards
Markus

Thank you for the response, but I still need clarification to proceed.

When the GUI of the generic representation is opened (with /v1/start-application-in-generic-representation) you have to add an additional field for the MATR application. The content of the field is described in the profile instance list:
From MacAddressTableRecorder+profileInstances.yaml

- profile-name: 'ActionProfile'
uuid: 'matr-1-0-0-action-p-003'
capability:
operation-name: '/v1/start-application-in-generic-representation'
label: 'List network element interfaces on path to target MAC address'
input-value-list:
- field-name: 'TargetMacAddress'
display-in-new-browser-window: false
configuration:
consequent-operation-reference: '/core-model-1-4:control-construct/logical-termination-point=matr-1-0-0-op-s-is-004/layer-protocol=0/operation-server-interface-1-0:operation-server-interface-pac/operation-server-interface-capability/operation-name'.
<<<<<<<
Where should the matr-1-0-0-action-p-003 field be inserted? It's already existing in the MacAddressTableRecorder+profileInstances.yaml and when i call /v1/start-application-in-generic-representation the result alrady contains the information related to provide-list-of-network-element-interfaces-on-path-in-generic-representation,
{
"consequent-action-list": [
    {
      "label": "Inform about Application",
      "request": "http://<IP_ADDRESS>:8080/v1/inform-about-application-in-generic-representation",
      "display-in-new-browser-window": false,
      "input-value-list": []
    },
    {
      "label": "List network element interfaces on path to target network element",
      "request": "http://<IP_ADDRESS>:8080/v1/provide-list-of-network-element-interfaces-on-path-in-generic-representation",
      "display-in-new-browser-window": false,
      "input-value-list": [
        {
          "field-name": "TargetMacAddress"
        }
      ]
    }
  ],
  "response-value-list": [
    {
      "value": "MacAddressTableRecorder",
      "datatype": "string",
      "field-name": "applicationName"
    }
  ]
}
If I understood correctly and if that's what you meant.

The final result of the correct operation, the one that would return 200 as an HTTP code, should be something like this?
{
  "consequent-action-list": [
    {
      "label": "Release History",
      "request": "http://<IP_ADDRESS>:8080/v1/provide-list-of-network-element-interfaces-on-path-in-generic-representation",
      "display-in-new-browser-window": false,
      "input-value-list": [
       {
      "field-name": "TargetMacAddress",
      "field-value": "01:01:01:01:01:01"
       }
      ]
    }
  ],
  "response-value-list": [
    {
      "value": "513250009:01:01:01:01:01:01",
      "datatype": "string",
      "field-name": "listOfNetworkElementInterfacesOnPath"
    }
    {
      "value": "513250008:01:01:01:01:01:01",
      "datatype": "string",
      "field-name": "listOfNetworkElementInterfacesOnPath"
    }
  ]
}


Issue #227: make clear that compatibility is just for on-the-wire format

This is the second half of #227 (the first one is #241).

:+1:

👍


eslint: Expected a "break" statement before "case"  no-fallthrough - why?

Why is this an eslint error that stops testing?

Fixed. Imho.


URI escaping in page.rb/links

URIs can contain invalid characters if they are built by the website using article titles or similar. That does work when clicked in a browser, it does however result in an invalid link when crawled by Anemone.
I added URI.escape to avoid that. Tested on about 20 websites without issues.

Merged into next.


Update pod-lifecycle.md

Description
This Chinese translation is not smooth and needs to be optimized.
English describe as below
A container in the Terminated state began execution and then either ran to completion or failed for some reason.
Current Chinese describe as below
处于 Terminated 状态的容器已经开始执行并且或者正常结束或者因为某些原因失败。
Suggest change Chinese describe as below to read smoothly
处于 Terminated 状态的容器已经开始执行，并且正常结束或者因为某些原因失败。
Issue
#47883

/lgtm
/approve


[ERROR] 103 package(s) installed from unsupported YUM repo 'centos7-els' from /etc/yum.repos.d/centos7-els.repo

How can I correct this error to continue upgrading CloudLinux7 to 8?
[ERROR] 103 package(s) installed from unsupported YUM repo 'centos7-els' from /etc/yum.repos.d/centos7-els.repo
I have already upgraded Centos7 to CloudLinux7.
Can I simply remove /etc/yum.repos.d/centos7-els.repo ?
Would it cause any problems? It is not enabled though...

Hi Tim,
ELS for CentOS 7 is new and not required on CloudLinux. However, they've not yet adjusted cldeploy to remove it when you convert to CloudLinux. This is somewhat rightly angering elevate-cpanel, which knows how to handle ELS for C7 but not if you're on cloudlinux.
It's a little overkill, but to solve your current problem in the cleanest way possible, I would recommend disabling that repo and then running yum reinstall ... on all of the rpms that are currently coming from that repo. That should convert them to cloudlinux provided packages, which will assure the safest conversion to 8 for you.
you should be able to do yum list all |grep '@centos7-els
Good luck!

Hi Todd,
Thank you very much for your detailed reply.
There are 103 packages in that repository. How can I find the ones used by CloudLinux? Or I will have to install all one by one?
Regards,
Tim

Are these @cloudlinux-x86_64-server ones the ones I need to reinstall?
There are also a couple @updates like;
rpm-python.x86_64                          4.11.3-48.el7_9             @updates


Add different metas for osx plugins

Problem
The OSX native plugin for ARM doesn't exist and calls to x64 break the file selection
Solution
Build tinyfiledialogs for ARM64 and upload them
It's also necessary to create .meta files for OSX native plugins as the Editor, by default cannot get which one is correct

Фантастика! Спасибо


"adalFrame style height = 106px" cannot set property 'height' of undefined or null reference

Category

[ ] Question
[ 1 ] Bug
[ ] Enhancement

Expected or Desired Behavior
So I see in other threads that the following line was added to fix a token renewal timeout error WebPartAuthenticationContext.js:
adalFrame.style.width = adalFrame.style.height = '106px';
However, for me in IE11, I'm getting an error on this line:
"TypeError: Unable to set property 'height' of undefined or null reference"
This is occurring in /_layouts/15/workbench.aspx

Can you confirm that the ADAL frame is being added to the page?

I don't think it is and I have a feeling it's got something to do with my company's trusted sites. We have our tenant added to the trusted sites, I'm thinking I also need to add login.microsoftonline.com to that is that correct?

Correct

oh wonderful, I gotta go through this lengthy process of getting something added to trusted sites this will be a joy (I work for a bank, you can imagine :))
I'll close this as soon as I have it verified. thanks Waldek!

 Hope it's going to work for you and don't hesitate to reach out if you have any questions!

That was it, was able to get the following added to the trusted zone and we're all good now.

login.microsoftonline.com
.sharepoint.com

@sohotra thank you for confirming!


Death chest

options to grab extra supplies as a sub task
Extra supplies should be saved in a chest at current spawn point
Discord username (Das_search)
Developer Notes (leave this blank)
Difficulty: __
Estimated Time Required: __
Once development starts.

that would be interesting, unfortunately, the bot does not have a "base" feature, it tends to go full nomad...

we could add this and it isn't a bad idea. However, it is designed for speed runs and speed runs do not need bases. This is a fun project for a contriuter, but not for maintainer. Consider forking the repository and trying your hand at adding this!


Issue updating database to v2

Hi there,
With the newest commits on master, when I invoke the chat window with gpa, I get this error:
10:57:05 msg_show Updating conversation database to v2
   Error  10:57:05 msg_show.rpc_error Error detected while processing function gpt#Assist[4]..gpt#chat#register[40]..gpt#chat#Prepare[3]..provider#python3#Call:
10:57:05 msg_show line   18:
10:57:05 msg_show >  Error invoking 'python_eval' on channel 3 (python3-script-host):
error caught in request handler 'python_eval ["gpt.check_and_update_db(vim.eval('g:gpt#plugin_dir'))"]':
Traceback (most recent call last):
  File "/path/to/home/.local/lib/python3.8/site-packages/pynvim/plugin/script_host.py", line 167, in python_eval
    return eval(expr, self.module.__dict__)
  File "<string>", line 1, in <module>
  File "/path/to/home/.local/share/nvim/plugged/gpt-vim/python3/gpt.py", line 345, in check_and_update_db
    conversations = extract_conversations_v1(path)
  File "/path/to/home/.local/share/nvim/plugged/gpt-vim/python3/gpt.py", line 385, in extract_conversations_v1
    cursor.execute(f"SELECT * FROM {table_name}")
sqlite3.OperationalError: no such table: conversations

Any idea what's wrong?

Without looking too much into the code, I reckon the table is only created when this function is called:
https://github.com/kamou/gpt-vim/blob/master/python3/gpt.py#L290
Which never happens implicitly, I think.

oh right, fixed

there is still a problem, let me have a look

now it's fixed

oops, I forgot to commit the database, now it's really fixed 😅


Type issue with Router children

<Router>
    {['/', '/foo'].map((r) => (
        <Route path={r} component={Example} />
    ))}
    <Route path="/bar" component={Example} />
</Router>

This should be valid but the expression returns the following error:
Type 'Element[]' is missing the following properties from type 'VNode<{}>': type, props, key(2739)

(Weirdly enough, without the additional <Route>, no error is returned at all)
Route returns a VNode, not quite sure how in the world that becomes an Element[]. Expanding the children type to be a union of VNode[] | JSXInternal.Element[] allows for some invalid children that will break routing, so that's seemingly a no-go.
Not quite sure what the correct type is meant to be here.

You should destructure the mapped array otherwise there will be a nested array in the VNode[]:
<Router>
    {...['/', '/foo'].map((r) => (
        <Route path={r} component={Example} />
    ))}
    <Route path="/bar" component={Example} />
</Router>

You should destructure the mapped array otherwise there will be a nested array in the VNode[]:

Passing an array of children is completely valid. Or should be, rather.

Passing an array of children is completely valid. Or should be, rather.

Yes, passing an array of children is completely valid.
However, the implementation of createElement() wraps children into a single array when there is more than one.
So,
<Router>
    <Route path="/" component={Example} />
    <Route path="/foo" component={Example} />
    <Route path="/bar" component={Example} />
</Router>

is equivalent to:
<Router>
    {[
        <Route path="/" component={Example} />,
        <Route path="/foo" component={Example} />,
        <Route path="/bar" component={Example} />,
    ]}
</Router>

whereas, in your case,
<Router>
    {['/', '/foo'].map((r) => (
        <Route path={r} component={Example} />
    ))}
    <Route path="/bar" component={Example} />
</Router>

is actually equivalent to:
<Router>
    {[
        [
            <Route path="/" component={Example} />,
            <Route path="/foo" component={Example} />,
        ],
        <Route path="/bar" component={Example} />,
    ]}
</Router>

VNode is just another name of JSX.Element in the Preact world.
The problem is that you are nesting an array in another array.

...you might want to take a peek at my GH profile, I'm very well aware of what Preact does and how it works here 😅
This was an issue opened on behalf of user, and for types -- I certainly don't need someone to explain Preact internals.
If you have a solution for the types, then great! I'd love to see a PR.

Sorry, I didn't expect that the Router can accept nested children of any depth (That's surprising for me 😅)
I'll try to figure out this one :)


[R] Unable to activate badges

Expected: Click on activate to activate badge in view https://dho.hypha.earth/#/documents-proposal/badgeAssignment
Actual: Transaction error occurs
dao.hypha_closedocprop
assertion failure with message: Content value is not of expected type

dao-dev.hypha.earth-1612476786402.log

console_log.log


feat: add ability to remove padding in the right split for split slides

First off, thank you for this amazing library--it is super, super handy.
I'm currently trying to make a split slide with an interactive view in the right split:

The padding present around my widget in the right split is proving to be a bit problematic and I didn't find any API to disable it on a slide-by-slide basis.
For normal text, the current behavior is fine. However, for images/interactive content like I have here, it limits the usable real estate and can clip content you wouldn't expect (see the image above).
I came up with a workaround using a Stack/Positioned with a negative offset to "eliminate" the left/right padding, but the top/bottom padding depends on screen size and the title, which there is no easy way to workaround. Thus, it'd be nice if there was something at the library level to remove this.
I looked into this briefly, but this looks like it could be challenging based on the current FlutterDeckSlideBase:
    return Stack(
      children: [
        ConstrainedBox(
          constraints: const BoxConstraints.expand(),
          child: backgroundBuilder?.call(context) ?? background,
        ),
        Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: [
            if (headerBuilder != null) headerBuilder!(context),
            Expanded(
              child: contentBuilder?.call(context) ?? const SizedBox.shrink(),
            ),
            if (footerBuilder != null) footerBuilder!(context),
          ],
        ),
      ],
    );

Any ideas on what I can do?

Well, I was able to modify my existing approach with a LayoutBuilder to calculate the header height:
      return LayoutBuilder(
        builder: (context, constraints) {
          const footerHeight = 80.0;
          const imposedSlidePadding = 16.0;
          final imposedTopPadding = MediaQuery.of(context).size.height -
              constraints.maxHeight -
              footerHeight;
          return Stack(
            clipBehavior: Clip.none,
            children: [
              Positioned(
                top: -imposedTopPadding,
                bottom: -footerHeight,
                left: -imposedSlidePadding,
                right: -imposedSlidePadding,
                child: YourWidgetHere(
// ...

But the header/footer are still absorbing input events. I can probably find another workaround for that too but it'd be nice to not need such an extravagant workaround regardless.

Hey @GregoryConrad, thanks for your feedback. Indeed, it would make more sense to make the padding configurable for the templates (all of them, by the way). Maybe there are any other parameters that you would like to have as configurable properties?

Thanks for the quick reply! Padding is the only thing that immediately comes to mind. Perhaps it can be set via the FlutterDeckConfiguration/FlutterDeckSlideConfiguration like other global and slide-specific properties?
I just wonder about the implementation since this isn't just "padding;" the header/footer take up some vertical space and cause the clipping that you can see in the image in the issue description. Perhaps a Stack could be used instead of the current Column, and then wrap each slide component (header, footer, content) in a Positioned to emulate the padding supplied from the configuration?
If we go the route I laid out in the preceding paragraph, another good configuration option would actually be to specify the layering/ordering of the header, footer, and content in the stack. Example: in my situation, I want the content (the graph in my picture) to be at the top of the stack so it receives input events. However, a more common situation may be placing images on the slide and the ideal behavior there may be to have the image laid out below the header and/or footer.


Connect to unix socket instead of tcp?

Is there a possibility to connect to unix socket instead of tcp?

PHP-Resque uses Credis to communicate with Redis, so if Credis supports sockets, so does Resque.  Be sure to use dev-master, though.  There are some untagged changes to how the server address is handled that will probably be the difference between it working and not.

See #298


issue #568 fix

suggested fix for issue #568

Coverage decreased (-0.6%) to 99.412% when pulling eafb4bd65e1f2b3884be3b4c77d4855ec78cb43c on sm0nster:issue-568-fix into 20027b26364d6f95dec061ba30a6dfd96540f72c on thephpleague:master.


Feature Req: Search feature in Alias UI

Referenced from #5240
Ability to search aliases and return a list of any alias URIs that contain the search query

Why is it targeted to 1.8.x milestone? It's deprecated.


Visibility behaviour does not work when using sdk

I'm trying to test Visibility in my code, but I can't get elasticMQ to work in the same way as I would expect from AWS.
If we take this example:
    // 1. create queue
    const queue = await sqs.createQueue({ QueueName: 'my-queue' }).promise();

    // 2. send message
    await sqs
      .sendMessage({
        MessageBody: "my message",
        QueueUrl: queue.QueueUrl
      })
      .promise();

    // 3. wait for message to be in queue. It doesn't take this long, but just in case
    await new Promise(resolve => setTimeout(resolve, 1000));

    // 4. get message
    const poll1 = await sqs
      .receiveMessage({
        QueueUrl: queue.QueueUrl
      })
      .promise();

    // 5. change visibility
    await sqs
      .changeMessageVisibility({
        QueueUrl: queue.QueueUrl,
        ReceiptHandle: poll1.Messages[0].ReceiptHandle,
        VisibilityTimeout: 1
      })
      .promise();

    // 6. wait for message to be available again
    await new Promise(resolve => setTimeout(resolve, 1500));

   // 7. poll again
    const poll2 = await sqs
      .receiveMessage({
        QueueUrl: queue.QueueUrl
      })
      .promise();

   // poll2 has no messages!!

poll1 contains the message published. However, after changing the Visibility of the message to 1 second, I would expect the message would be available again after the time has elapsed. However, it isn't.
Different variations I've tried generate same result:

Different visibility times (including using the strategy of VisibilityTimeout 0)
Creating queue with default visibility

{
  QueueName: 'new-hires',
  Attributes: {
    DelaySeconds: '0',
    VisibilityTimeout: '1',
   }
}

Trying to getQueueAttributes returns
{
      ResponseMetadata: { RequestId: '00000000-0000-0000-0000-000000000000' }
}

so I don't know what's going on this case.

Different mixes of the three options above

This is all tested using node sdk. I've not tried using the docker config file as I need to create queues on the fly

@cortopy How did you solve this issue?
I'm having the same. Have a DefaultVisibilityTimeout as 30s and after calling ChangeMessageVisibility to 1s it still waits the 30 seconds to appear again.


Portfolio Mob Menu Review

Work completed:

JS generated menu
functional hamburger and close icon
anchor for each specific section associated with a corresponding menu item
bgr blurring

I’m sorry I mixed up the days and applied uncomplicated project. This
should be for mob menu. I apologise. I tried to cancel submission but
failed.
Вт, 10 мая 2022 г. в 00:50, Yassine Omari @.***>:

@.**** requested changes on this pull request.
Hi @petushka1 https://github.com/petushka1 ,
Good job so far!
There are some issues that you still need to work on to go to the next
project but you are almost there!
Highlights
✔ No linter error
Required Changes ♻
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
if you still didn't understand the requirements please don't hesitate to
mention me in the comments or reach out to me on slack
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In script.js
https://github.com/petushka1/microverse-m1-w1-d3-portfolio-production/pull/11#discussion_r868498944
:

+function opened() {

div.style.display = 'block';

+}

+function closed() {

div.style.display = 'none';

+}

+div.className = 'extended';

+img.className = 'icon';
+img.src = './img/close.svg';
+div.appendChild(img);
+img.addEventListener('click', closed);

+ul.className = 'menu-extended';
+div.appendChild(ul);

+a.href = '#about';

I think there is a misunderstanding here you should make the project
cards generated dynamically using Javascript
by storing projects information in an array and display that each
project information and in more detail when the user click on the See
the project button
project card
[image: image]
https://user-images.githubusercontent.com/61790587/167504112-ee50562d-5b9e-4fa4-b997-57c0a190aee1.png
window popup for more detail
[image: image]
https://user-images.githubusercontent.com/61790587/167504170-67fc4d48-f8ea-4aba-8e46-f68beca53d52.png
and don't forget the design for mobile also
—
Reply to this email directly, view it on GitHub
https://github.com/petushka1/microverse-m1-w1-d3-portfolio-production/pull/11#pullrequestreview-966865641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKWIJY4T3PKNK7MTVOBGEN3VJGCCDANCNFSM5VPM7PQA
.
You are receiving this because you were mentioned.Message ID:
<petushka1/microverse-m1-w1-d3-portfolio-production/pull/11/review/966865641
@github.com>

--
Sincerely,
Nadezhda Levina

@petushka1  it's okay then just try to submit again the correct Pull Request


Document implicit assumption about GameApplication.launch

The caller of GameApplication.launch must be a method in the same class that extends GameApplication. This is due to how ReflectionUtil looks up the stacktrace. Lost a bunch of hours chasing red herrings when trying to reproduce basic game example using clojure and calling App.launch directly from clojure code.

Thanks for this. I'll see if I can find a suitable place to document this.

This issue is merged into #677 regarding general documentation overhaul.


Use context.tf and latest null-label module

what

Use context feature and latest null-label module

why

The module should have context feature due to it is used by another modules like ecs-web-app

/test all

/rebuild-readme

/test all

@okgolove please inspect the test failure: https://github.com/cloudposse/actions/runs/1426441484?check_suite_focus=true

@joe-niland seems I should remove the failed test because of https://github.com/cloudposse/terraform-aws-ecs-alb-service-task/pull/52/files

@okgolove I had a quick look. I think that's fair enough. The terraform-aws-ecs-alb-service-task module should ideally have a test for non-awsvpc network mode.

/test all

/test all

Thank you @okgolove !


nuget-client repo uses the VMR package cache instead of repo local

All other repos in the VMR use a separate repo specific package cache.

cc @mthalman as this could result in build order issues with the now enabled parallel builds

@ViktorHofer I inadvertently 'fixed' this by adding <ItemGroup><EnvironmentVariables Include="NUGET_PACKAGES=$(ProjectDirectory)artifacts/sb/package-cache/"... to repo-projects/nuget-client.proj, while I was trying to get packages in consistent locations for dependency gathering (#4333).

this could result in build order issues with the now enabled parallel builds

I think that's exactly what I discovered and attempted to fix here:
https://github.com/NuGet/NuGet.Client/pull/5756
I don't think it's related to parallel builds, but I think these missing packages were restored by previous repos when using a shared packages dir.

I think this already got fixed by https://github.com/NuGet/NuGet.Client/pull/5749, cc @mmitche


perf: replace react-dom with react-dom/client and use React 18

https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-client-rendering-apis

Codecov Report

Merging #874 (c88774d) into master (0d1ca57) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #874   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           75        75
  Lines          812       813    +1
  Branches       122       122
=========================================
+ Hits           812       813    +1

Impacted Files
Coverage Δ

src/index.tsx
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


json files not found

where should i download the json files? i mean is this github for developers? if so, why installation document ambiguous?

Hi, sorry for the confusion. The json files of VideoChat2-IT data can be found at https://github.com/OpenGVLab/Ask-Anything/blob/main/video_chat2/DATA.md.
Part of the video data can be found directly in markdown. Others can be found at https://github.com/OpenGVLab/Ask-Anything/issues/223

Appreciate your help. I have a quick question, based on my observation, videochat1 provides all pretrained model, but for videochat2, we have to train ourself right? since the videochat2 pretrained model is not provided.

Sorry for the misunderstanding, the model of videochat2  can be found here https://github.com/OpenGVLab/Ask-Anything/tree/main/video_chat2#model


Loading bid for mixed banner/native adUnitId

Hello,
My team is working on integrating Criteo on an iOS and an Android app, using Google Ad Manager as the ad server.  We encountered an issue where we are not sure on how to proceed. I will be referring to the iOS SDK but this also applies to Android.
The advertising team provided us with several GAM adUnitIds and some of them supports both native and banner ads. Using Criteo we should load a bid using one of this "combined" (native & banner) adUnitIds with the expectation that, after enriching the GAMRequest with the returned bid from loadBid(for:responseHandler:) and using that for requesting an ad from Google, Google will return a single ad, that might be either banner or a native, depending on the winner of the bid.
The issue we encountered is that Criteo  only exposes CRBannerAdUnit and CRNativeAdUnit, it seems that there is no object that combines both of them.
Ideally we should be able to bid both for a banner and a native at the same time, with only the highest bid to be returned (not two different bid returned).
Can you point us to the right way to solve this issue? We should load two different bids (using CRBannerAdUnit and CRNativeAdUnit) and then enriching the GAMRequest twice? Or we can use one those two class as the default and the result bid will be valid for both types of ads?
Thank you in advance!

Hello @hispanico94
We would like to highlight that Criteo SDK currently doesn't support loading bids for multiple ad formats at the same time.
Usually, we would advise publishers to choose one format that works best for them. However, you could choose to implement custom logic that loads bids for CRBannerAdUnit and CRNativeAdUnit asynchronously, compare the bid's price on your side, and then enriching GAMRequest for just one of the bids (e.g. the highest CPM).

Hello @irwansetiawan,
Thank you for the quick reply! We must be able to request bids for both formats at the same time, so we'll probably going to implement the custom logic you mentioned.


Possible memory leak at concatenation

Could be memory cache, files are all heathy. Difficult to replicate.

Logs:
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="server did not return a valid playlist" maxTries=10 try=0
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2_websocket.go:129 > ws fully connected url=wss://us-west-1-media-worker1058.live.fc2.com/control/channels/[REDACTED: ChannelID]?control_token=[REDACTED: control-token]
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=1
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=2
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=3
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=4
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=5
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=6
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=7
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not available" maxTries=10 try=8
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:705 > requested quality is not available, will do... available_playlists=[{"Latency":3,"Quality":30},{"Latency":2,"Quality":30},{"Latency":1,"Quality":30},{"Latency":3,"Quality":20},{"Latency":2,"Quality":20},{"Latency":1,"Quality":20},{"Latency":3,"Quality":0},{"Latency":2,"Quality":0},{"Latency":1,"Quality":0},{"Latency":3,"Quality":0},{"Latency":3,"Quality":90},{"Latency":2,"Quality":90},{"Latency":2,"Quality":0},{"Latency":1,"Quality":0},{"Latency":1,"Quality":90}] channelID=[REDACTED: ChannelID] expected_latency=mid expected_quality=3Mbps got_latency=mid got_quality=1.2Mbps
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:155 > try failed error="requested quality is not expected" maxTries=10 try=9
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/utils/try/try.go:160 > failed all tries error="requested quality is not expected"
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:385 > quality is not expected, will retry during download channelID=[REDACTED: ChannelID]
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:509 > received new HLS info channelID=[REDACTED: ChannelID] playlist={"mode":32,"status":0,"url":"https://us-west-1-media.live.fc2.com/a/stream/[REDACTED: ChannelID]/32/playlist?[REDACTED: unknown params]"}
2:01PM INF github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:125 > downloading channelID=[REDACTED: ChannelID]
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:509 > received new HLS info channelID=[REDACTED: ChannelID] playlist={"mode":52,"status":1,"url":"https://us-west-1-media.live.fc2.com/a/stream/[REDACTED: ChannelID]/52/playlist?[REDACTED: unknown params]"}
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:519 > QUALITY UPGRADE! Wait for new stream to be ready... channelID=[REDACTED: ChannelID]
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:415 > stream not ready channelID=[REDACTED: ChannelID]  method=GET response.body="Not found." response.status=404 url=https://us-west-1-media.live.fc2.com/a/stream/[REDACTED: ChannelID]/52/playlist?[REDACTED: unknown params]
2:01PM WRN github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:415 > stream not ready channelID=[REDACTED: ChannelID]  method=GET response.body="Not found." response.status=404 url=https://us-west-1-media.live.fc2.com/a/stream/[REDACTED: ChannelID]/52/playlist?[REDACTED: unknown params]
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:535 > switching downloader seamlessly... channelID=[REDACTED: ChannelID]
2:01PM INF github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:361 > canceled hls read channelID=[REDACTED: ChannelID]
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:564 > downloader canceled channelID=[REDACTED: ChannelID]
2:01PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:538 > downloader switched
2:01PM INF github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:125 > downloading channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:352 > ws listen finished channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:466 > cancelling... channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:419 > download stream canceled channelID=[REDACTED: ChannelID]
4:33PM ERR github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:352 > a packet failed to be downloaded, skipping error="Get \"https://us-west-1-media-worker1096.live.fc2.com/a/stream/v3/[REDACTED: ChannelID]/52/data/9103.ts?time=1720715640&hash=9181d237cc2350c36225fc813f4c51b1bc561aebaa538c23205c01ddd28a020e\": context canceled" channelID=[REDACTED: ChannelID] error.count=1 error.max=20
4:33PM INF github.com/Darkness4/fc2-live-dl-go/hls/hls_downloader.go:361 > canceled hls read channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:336 > healthcheck canceled channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:468 > cancelled. channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:224 > post-processing... channelID=[REDACTED: ChannelID]
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:263 > concatenating stream... channelID=[REDACTED: ChannelID] output="/output/[REDACTED: output]/[REDATED: video-title].combined.mp4" prefix="/output/[REDACTED: output]/[REDATED: video-title]"
4:33PM INF github.com/Darkness4/fc2-live-dl-go/video/concat/concat.go:94 > concat inputs=["/output/[REDACTED: output]/[REDATED: video-title].ts"] options={} output="/output/[REDACTED: output]/[REDATED: video-title].combined.mp4"
Input 0, mapping stream 0 (video) to output stream 0
Created output stream (video)
Input 0, mapping stream 1 (audio) to output stream 1
Created output stream (audio)
input#0, stream #0 discontinuity, last.dts=2787000, pkt.dts=531000, new offset=2259000
input#0, stream #1 discontinuity, last.dts=1486848, pkt.dts=283344, new offset=1204528
4:33PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:564 > downloader canceled channelID=[REDACTED: ChannelID]
4:36PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:280 > concatenating audio stream... channelID=[REDACTED: ChannelID] output="/output/[REDACTED: output]/[REDATED: video-title].combined.m4a" prefix="/output/[REDACTED: output]/[REDATED: video-title]"
4:36PM INF github.com/Darkness4/fc2-live-dl-go/video/concat/concat.go:94 > concat inputs=["/output/[REDACTED: output]/[REDATED: video-title].ts"] options={} output="/output/[REDACTED: output]/[REDATED: video-title].combined.m4a"
Blacklisted stream #0 (video)
Input 0, mapping stream 1 (audio) to output stream 0
Created output stream (audio)
input#0, stream #0 discontinuity, last.dts=1486848, pkt.dts=283344, new offset=1204528
4:38PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:301 > done channelID=[REDACTED: ChannelID]
4:38PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2.go:68 > watching channel channelID=[REDACTED: ChannelID] params={"AllowQualityUpgrade":true,"Concat":true,"CookiesFile":"/config/cookies.txt","CookiesRefreshDuration":86400000000000,"DeleteCorrupted":true,"EligibleForCleaningAge":10800000000000,"ExtractAudio":true,"KeepIntermediates":false,"Labels":{"EnglishName":"Kagura Maimai"},"Latency":3,"OutFormat":"/output/{{ .ChannelName }} {{ .Labels.EnglishName }}/{{ .Date }} {{ .Title }}.{{ .Ext }}","PacketLossMax":20,"PollQualityUpgradeInterval":10000000000,"Quality":50,"Remux":false,"RemuxFormat":"mp4","ScanDirectory":"/output","WaitForLive":true,"WaitForQualityMaxTries":10,"WaitPollInterval":10000000000,"WriteChat":false,"WriteInfoJSON":false,"WriteThumbnail":false}
4:38PM INF github.com/Darkness4/fc2-live-dl-go/fc2/fc2_livestream.go:56 > waiting for stream channelID=[REDACTED: ChannelID]

Update:
Memory cleared itself after memory dumping.

The program became unhealthy and kubernetes decided to kill it.

Issue is being traced with Pyroscope (release v1.8.0-alpha.1).

Memory leaks were found at the wrapper function: calling cstr = C.CString(gostr) without calling C.free(unsafe.Pointer(cstr)). Commit c8dc8bc533571721507dfec1fc186513e7045f05.
This only proves "slight" memory leakage, but not the big memory chunk seen in the screenshot.

Profiling report:
Container memory usage

Goroutines

Alloc objects

Alloc space

Inuse objects

Inuse space

CPU usage via pprof

Overshooting of the limit could be cause be GC cache + mem leak. Closing until further proof.


game fix feature ?

game fix is empty

replicated issue with #565
Please find help in #565 and this issue will be closed.
Thanks for your understanding.


mention slow query log overhead

Fixes #7348.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c82a7c32fa26f8cbfc61f3b22563c369c406f07d/
Edited pages:

v20.1/query-behavior-troubleshooting.md


v9.1.0: python-f5-sdk_1.5.0-1_1404_all.deb wrongly depends on python-f5-icontrol-rest (= 1.0.9-1)

OpenStack Release
Mitaka
Description
Hi
When installing the phython-f5-sdk using the files indicated in the release notes of v9.1.0 I find the following problem.
root@node-5:~# sudo dpkg -i python-f5-sdk_1.5.0-1_1404_all.deb
(Reading database ... 111336 files and directories currently installed.)
Preparing to unpack python-f5-sdk_1.5.0-1_1404_all.deb ...
Unpacking python-f5-sdk (1.5.0-1) over (1.5.0-1) ...
dpkg: dependency problems prevent configuration of python-f5-sdk:
 python-f5-sdk depends on python-f5-icontrol-rest (= 1.0.9-1); however:
  Version of python-f5-icontrol-rest on system is 1.1.0-1.

dpkg: error processing package python-f5-sdk (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-f5-sdk

Seems that the version of the dependencies have not been updated.
A new .deb file solving this would be greatly appreciated
Thanks
    Ulises

Agent Version
9.0.1
Operating System
Mirantis 9

When I start the lbaas plugin I also find similar dependencies:
su - neutron -c /usr/bin/f5-oslbaasv2-agent -- --config-file /etc/neutron/services/f5/f5-openstack-agent.ini --config-file /etc/neutron/neutron.conf --log-file=/var/log/neutron/f5-oslbaasv2-agent.log
Traceback (most recent call last):
  File "/usr/bin/f5-oslbaasv2-agent", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3141, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3127, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 642, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 655, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 828, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'f5-icontrol-rest==1.0.9' distribution was not found and is required by f5-sdk

Which f5-icontrol-rest package is expected the 9.1 release should be running?

Hi,
The version that should be running is 1.0.9 of icontrol rest.  You need
to uninstall 1.10.0 of the icontrol-rest and reinstall based on these
instructions:
http://f5-openstack-agent.readthedocs.io/en/mitaka/index.html#home
Please refresh your screen if this still says the version is 1.10.0.
Rich
On Fri, Oct 14, 2016 at 12:17 PM, alonsocamaro<EMAIL_ADDRESS>wrote:

When I start the lbaas plugin I also find similar dependencies:
su - neutron -c /usr/bin/f5-oslbaasv2-agent -- --config-file /etc/neutron/services/f5/f5-openstack-agent.ini --config-file /etc/neutron/neutron.conf --log-file=/var/log/neutron/f5-oslbaasv2-agent.log
Traceback (most recent call last):
File "/usr/bin/f5-oslbaasv2-agent", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3141, in
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3127, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3154, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 642, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 655, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 828, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'f5-icontrol-rest==1.0.9' distribution was not found and is required by f5-sdk
Which f5-icontrol-rest package is expected the 9.1 release should be
running?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/F5Networks/f5-openstack-agent/issues/390#issuecomment-253881007,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIVe0dcALLxyRwbYI78yn5HgoJJ5x1sNks5qz8dOgaJpZM4KW51r
.

Many thanks Richard
It looks fine now

Fixed documentation


Add Kino.Controls for user interactions

For the Livebook counterpart see https://github.com/livebook-dev/livebook/pull/710.
Introduces UI controls that allow the user to feed events into any process that subscribes. I built a multiplayer Pong as a driving showcase, but we already have some cooler things in mind :smile_cat:
Basic usage
https://user-images.githubusercontent.com/17034772/142630044-f16867de-3772-4b6d-ad9c-fcdf426336f6.mp4
Notebook preview
https://user-images.githubusercontent.com/17034772/142630078-4b0eead5-2919-411e-acd5-f3a8aa40eb9a.mp4
The game
https://user-images.githubusercontent.com/17034772/142630120-ed86c652-87a5-40d9-bc96-863a62de1915.mp4

Here is the current notebook. I think that's something we could have in the Explore section.

This is absolutely amazing!
My only comment for now is, instead of having a control with different kinds of inputs, we should have different controls and find a mechanism for rendering multiple elements in the same frame. Perhaps it could be as simple as allowing a list in frame? Some elements could be inline-block by default and others block, which means they also get nicely formatted.

I split it into individual controls and implemented subscription for controls and inputs. There is still a number of things, like anonymous functions and un-sync, but I've just pushed the changes, so let me know what you think of the API.
In particular I made it so that the event name is specified when subscribing, like Kino.Control.subscribe(button, :hello), while previously it would be a part of the button. The primary reason is that otherwise we would need to pass event name when creating inputs for consistency, which feels backwards and in many cases unnecessary.
https://user-images.githubusercontent.com/17034772/143957419-73890e2a-fcfd-4ee1-a60f-72808565f9f6.mp4

I've updated the Pong notebook to match the new design.


[625] - Update Content strings.

closes 625
Description of Work
Updated some strings suggested by content designer.

Testing on this branch, I found a few typos/errors in the implementation.
I am pasting the parent ticket's description here with the original vs expected test, that now includes my notes on what does not pass verification.
We had a content writer (Julia Powers) review all of Vocable content and these were the edits she provided.

Original Text
Updated Text
Notes
Test Verified

"Not sure what to suggest. Please repeat or use the rest of Vocable to respond."
Not sure what to suggest. Please repeat or use the Vocable keyboard or the phrases in categories to respond.
Changed to add more context to the "the rest of vocable"
Implemented string does not match expected: "Not sure what to expect. Please use the keyboard or select an existing phrase to reply." I am not sure if this was already discussed; no trace of it here. Also, I think it would be better to still ask the user to repeat. ❌

Vocable uses ARKit head tracking to detect the user's face as seen in the device's TrueDepth front camera feed for the purpose of controlling an on-screen pointer, allowing users with limited mobility to interact with the app. Head orientation and position data is used expressly for controlling the on-screen pointer. This data is not stored or transmitted in any way. Vocable needs permission to use the camera for this purpose.
Vocable uses your device's front camera to detect minimal changes in head orientation and position. This allows users with limited mobility to control an on-screen pointer to interact with app. Camera data is used expressly for controlling the on-screen pointer. This data is not stored or transmitted in any way. Vocable needs permission to use the camera for this purpose.
Reworked to remove run on sentence at the beginning
Typo found: "to interact with app." should be "to interact with the app." ❌

Tested and verified. As soon as the CircleCI job completes, this PR can be merged.


import issue

I am trying to import using "@ui/lib/utils" but instead its making me import using this, both the tsconfig and components files are the same as the original project

@bernardstein How did you resolve this?


Import PropTypes package separately

More recent versions of React Native are using React 16 beta, which has removed PropTypes from the main package. You have to use the separate prop-types package now.

I also updated the components to inherit from React.PureComponent, since it results in better performance, and based on my quick analysis the component is compatible with it.

thank you for the prop-type fix.
I will consider the PureComponent update as it might really help the performance for busy applications - although there is a slight chance that it won't work for some users as color property can be a object.

Ah! I didn't consider that. I can revert that change if you'd like, or you can edit this PR, or you can just push your own PropTypes fix - whatever works :)

No problem. Just give me a time to think about it. But I  like the idea.
On 13 Sep 2017 23:55, "Ashoat Tevosyan"<EMAIL_ADDRESS>wrote:

Ah! I didn't consider that. I can revert that change if you'd like, or you
can edit this PR, or you can just push your own PropTypes fix - whatever
works :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/instea/react-native-color-picker/pull/6#issuecomment-329308166,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF2SI99CVVyNq8iPEYkZNi2CUNjcdPHJks5siE9RgaJpZM4PWpi3
.


Allow grouping of describe blocks using @Test annotations so IDEs can provide selective test running at suite level

How about supporting this hybrid approach? This way there won't be too much need of fit, fdescribes etc and people will be able to use Spectrum without losing anything - Not sure if this is related to #79
    @Test
    public void something_suite() {
        describe("something",() -> {
            it("somethning", () -> {
                Assert.assertEquals(1, 1);
            });
        });
    }

If this can be done somehow I will migrate all my tests to use Spectrum!

@zifnab87 this is the opposite paradigm to Spectrum. The idea with Spectrum is that you create a single map of your specification using describe, it and in the about-to-be-released version, given,when,then,feature and scenario.
So, grouping your tests into suites is already supported your something_suite above would just be another describe.
In the about-to-be-released version, you can use ignore as a keyword to mark suites or tests ignored, rather than xdescribe or xit. You can also tag the hierarchy and use either system properties or a call within the code to focus or disable tests with certain tags.
Migrating all your tests to use Spectrum has to have an advantage, and your suggestion must come from something you feel you can't presently do.
If your tests are really behavioural, then Spectrum is a good language for expressing them.
Perhaps you could post a snippet of the sort of tests you'd like to improve and we could see how they would expressed in native Spectrum style.

Hi @ashleyfrieze! Thanks for the quick response! What I am trying to do is integrate it with IntelliJ so I can select and run a specific test without changing the code at all. So I was seeking a way to annotate specific describes.. As far as I know @Test can be put only over methods that's why I proposed this hybrid approach.. Could you foresee the implementation possibility of an intelliJ plugin that can detect all the describe/it blocks and run them hierarchically with a click?

Well well well :)
You've picked on the thing which these sorts of custom test runners can't do. You'd have the same trouble using Cucumber and all the other RSpec/Jasmie clones out there.
So your request is something like - Could there be a specialist runner for Spectrum which is compatible with selective test running in IntelliJ at suite level
It kind of looks like this:
@RunWith(SpectrumMagicRunner.class)
public class MyTests {
    @Test
    public void suite1() {
        describe("one", () -> { ... });
    }

    @Test
    public void suite2() {
        describe("two", () -> {
           it("has a spec", () -> { ... });
        });
    }

}

And you'd expect that the JUnit tree, when looking at this in IntelliJ or Eclipse, might have the tree in it:
MyTests
  suite1
     ...
  suite2
    has a spec

And your IDE UI would let you run MyTests but also re-run suite1 or suite2.
@greghaskins would this be a desirable twist on Spectrum for you? I can think of where to start to try to make it.

I hope other people share the same view with me :) Otherwise one would have to split those suits to two seprate Test Classes which already are a grouping factor of our tests no matter what the test paradigm :) So with that suggestion people are free to be as pure BDD as Java currently supports or be more integrated with JUnit capabilities that if not be there could pose difficulties in the upper management level to incorporate similar BDD Runners like Spectrum.

it could discourage the use of BDD Runners like Spectrum due to upper management objections

If your upper management are deciding how you unit test, you're in more trouble than a choice of test runner :)
Have you considered using JUnit to group your specs?
Here's a solution
@RunWith(Enclosed.class) // junit native runner
public class GroupOfSpecs {

   @RunWith(Spectrum.class)
   public static class Group1 {{
       describe("...", () -> {}); //etc
   }}

   @RunWith(Spectrum.class)
   public static class Group2 {{
       describe("...", () -> {}); //etc
   }}
}

Unless I'm wrong, I think you can selectively run each of the inner classes. The Enclosed runner is a JUnit trick for composing suites from static inner classes.
Does that help?

@ashleyfrieze 's suggestion should get part of the way there @zifnab87, and it works out of the box. I've used it myself to only run a subset of tests at a time from my IDE. It may not even require the @RunWith(Enclosed.class) on the outer class depending on your setup (mine quick test didn't need it).
JUnit5 (#68) is probably a better long-term solution for this, since that platform provides better support for alternative test runners, whereas JUnit4 very much wants a class name and a method name (which are used both for display and filter/re-run purposes). At least IntelliJ has started on proper IDE support for JUnit5.

Ha! I am not under any management myself, not now :) I am just saying that this would happen in the majority of cases in the industry considering rewriting their tests that can be modeled with BDD.. Let me try the suggestion and see if that causes any problems I will let you know :)

@greghaskins, @ashleyfrieze  so I tried doing what you suggested.. Unfortunately a lot of my dependencies that are private would need to be put as public everywhere.. Also I have dependencies that can't be accessed from a static context.. Worse @Before doesn't make sense anymore since I have to have the same logic in each inner class.. This approach that you suggested, unfortunately doesn't seem to scale for real applications like mine.

You can't expect the instance properties of the outer class to have meaning when you're using it as a suite. Each inner class would need to be a fully functioning test, and should, therefore, have its own properties and @Before method etc. However, all of those could be put into an abstract base class, even one within the parent.
Warning - you're expecting @Autowired to work, which it won't in the release version of Spectrum. In the latest code (soon to be released), you could make it work by also adding the Spring JUnit @Rule and @ClassRule to your class.

I am able to make @Autowired dependencies work already.. you mean they will stop working in next releases? I already have parent classes and it seems that things get very hacky.. @Before in each of the inner classes would have the same code which I believe is bad..if they were methods instead @Before would make sense..

Which version are you using now? Support for spring will improve not reduce as we move forward. Can you provide the code from your base classes? This feels hacky now because you are trying to push native junit features into Spectrum rather than use its own approach. E.g @Before vs beforeEach or let

sure!  Keep in mind that have 130+ tests currently that are integration tests due to the fact that I run against an in memory graph database instead of disk-based one.. Unfortunately graph databases are not really unit testable..Regardless they are behavior oriented and I really liked the way that the tests can be written and grouped together compared to the old approach I have still..I am running 1.0.2. Below are the two parent classes. These are the global @Autowired dependencies to minimize the initialization clutter in all of my tests, I also have @Autowired dependencies per test..
@RunWith(SpringRunner.class)
@Ignore
@SpringBootTest
public class BaseTest {

    private static boolean offlineTests = true;
    @Autowired
    protected DbC conf;
    @Autowired
    protected IGraphService graphService;
    @Autowired
    protected StorerProvider storerProvider;
    @Autowired
    protected FetcherProvider fetcherProvider;
    @Autowired
    protected EntityFixtureBuilder entityFixtureBuilder;
    @Autowired
    protected DateFixtureBuilder dateFixtureBuilder;
    @Autowired
    protected UserFixtureBuilder userFixtureBuilder;
    @Autowired
    protected NumberFixtureBuilder numberFixtureBuilder;
    @Autowired
    protected UrlFixtureBuilder urlFixtureBuilder;
    @Autowired
    protected TextFixtureBuilder textFixtureBuilder;
    @Autowired
    protected AttributeFixtureBuilder attributeFixtureBuilder;
    @Autowired
    protected ClauseListFixtureBuilder clauseListFixtureBuilder;
    @Autowired
    protected AttrGroupListFixtureBuilder attrGroupListFixtureBuilder;
    @Autowired
    protected ClauseFixtureFactory clauseFixtureFactory;
    @Autowired
    protected AttrGroupFixtureBuilder attrGroupFixtureBuilder;
    @Autowired
    protected GraphEdgeStepFixtureBuilder graphEdgeStepFixtureBuilder;

    @Before
    public void beforeTest() {

        if (offlineTests) {
            conf.setupOfflineEnvironment();
        } else {
            conf.setupTestEnvironment();
        }

        graphService.setupTestUsers();
     }
    @After
    public void afterTest() {
        graphService.deleteAllData();
    }

@RunWith(Spectrum.class)
@Ignore
@SpringBootTest
public class BDDTest {

    private static boolean offlineTests = true;

    @Autowired
    protected DbC conf;
    @Autowired
    protected IGraphService graphService;
    @Autowired
    protected StorerProvider storerProvider;
    @Autowired
    protected FetcherProvider fetcherProvider;
    @Autowired
    protected EntityFixtureBuilder entityFixtureBuilder;
    @Autowired
    protected DateFixtureBuilder dateFixtureBuilder;
    @Autowired
    protected UserFixtureBuilder userFixtureBuilder;
    @Autowired
    protected NumberFixtureBuilder numberFixtureBuilder;
    @Autowired
    protected UrlFixtureBuilder urlFixtureBuilder;
    @Autowired
    protected TextFixtureBuilder textFixtureBuilder;
    @Autowired
    protected AttributeFixtureBuilder attributeFixtureBuilder;
    @Autowired
    protected ClauseListFixtureBuilder clauseListFixtureBuilder;
    @Autowired
    protected AttrGroupListFixtureBuilder attrGroupListFixtureBuilder;
    @Autowired
    protected ClauseFixtureFactory clauseFixtureFactory;
    @Autowired
    protected AttrGroupFixtureBuilder attrGroupFixtureBuilder;
    @Autowired
    protected GraphEdgeStepFixtureBuilder graphEdgeStepFixtureBuilder;

    @Before
    public void beforeTest() {

        if (offlineTests) {
            conf.setupOfflineEnvironment();
        } else {
            conf.setupTestEnvironment();
        }
        graphService.setupTestUsers();
     }
    @After
    public void afterTest() {
        graphService.deleteAllData();
    }

    private TestContextManager testContextManager;

    public BDDTest() {
        try {
            this.testContextManager = new TestContextManager(getClass());
            this.testContextManager.prepareTestInstance(this);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}

Ok....
In the current code (i.e. head of master) there are two ways you could integrate BDDTest as a base class so you wouldn't need to do much to have the spring test framework stuff in there. Your constructor of BDDTest is hacking Spring wiring into the class by using TestContextManager, which you're only setting up, not clearing down...
Here's how you can do it in the latest version (soon to be released).
h2. Method 1
Remove your constructor from BDDTest and add both the Spring class rule and method rule to the class. See https://github.com/greghaskins/spectrum/blob/master/src/test/java/specs/SpringSpecJUnitStyle.java for an example.
Then make each of your test classes inherit BDDTest and the latest Spectrum will automagically use the @Before, @After and spring stuff.
h2. Method 2
Consider your test eco system as an object. It's an object you want to be used by each of your tests. So rename BDDTest as something like GraphDBEcoystemMixin and make it have all the objects, rules, setup etc you'd want to be able to use it in tests.
Then use junitMixin as demonstrated here - https://github.com/greghaskins/spectrum/blob/master/src/test/java/specs/SpringSpecWithRuleClasses.java - which allows you to compose the object into your tests.
Both of the above are the way to bridge from JUnit boilerplate to Spectrum. This only solves the how do I have my JUnit and Spring stuff everywhere question. The answer to how do I selectively run suites is still break it into classes. Arguably, with the above techniques, you could have smaller spec classes, rather than lots in a single parent suite, but that's up to you.

About h2 Method what happens when someone doesn't have any config like my case.. Spring / Spring Boot / Spring Boot Test is moving towards removing config files and going towards auto-detection of injectables  based on the locaton of the SpringBootApplication

h2

Sorry - used wrong markup h2 == ##
The example shown is a classic configure by config object Spring example. Don't focus on that. The SpringClassRule of your version of Spring Test should be able to cope with the way you want to configure your test object.

I recommend that we close this @greghaskins as I think it goes against the nature of Spectrum.


[Unbelievaboat] Addmoneyrole not working

Describe the bug
I tried the addmoneyrole from unbelievaboat because i was going to add money to all members in a specific role. when i use the command, a checkmark reaction appears, but when i try to check the balance either wallet or bank, the value doesn't change at all.
Output of [p]help CogName and [p]debuginfo
DEBUGINFO
Debug Info for Red
Red version
3.4.7
Python version
3.8.7 (64bit)
Discord.py version
1.6.0
Pip version
21.0.1
System arch
x86_64
User
mkurisu069
Storage type
JSON
Disabled intents
None
OS version
Ubuntu 18.04
Python executable
/home/mkurisu069/redenv/bin/python
Data path
/home/mkurisu069/.local/share/Red-DiscordBot/data/Redbot
Metadata file
/home/mkurisu069/.config/Red-DiscordBot/config.json
HELP
Unbelievaboat Commands.
Cog Version: 0.5.7

Commands:
addmoneyrole Add money to the balance of all users within a role.
cooldowns List your remaining cooldowns..
crime Commit a crime, more risk but higher payout.
deposit Deposit cash from your wallet to your bank.
removemoneyrole Remove money from the bank balance of all users...
rob Rob another user.
rouletteset Manage settings for roulette.
unbset Manage various settings for Unbelievaboat.
wallet Wallet commands.
Commands: (continued)
withdraw Withdraw cash from your bank to your wallet.
work Work for some cash.
Type !help  for more info on a command. You can also type !help  for more info on a category.

I cannot replicate your issue, it works as intended on multiple bots.

as you can see here, i tried again to verify again if it worked or not. but it still doesn't. be it the bank or the wallet

I've added two debug logs, launch the bot with --debug and try again. Any errors will be printed in the console.

I've added two debug logs, launch the bot with --debug and try again. Any errors will be printed in the console.

i'm kinda noob to linux stuff. i don't know how to do that lol. any specific steps?

Launch the bot with the --debug flag. Google flags if you don't know what
they are cause I will not assist in that regard. The only way it can fail
is if the amount is not an integer or so.
I've tried in 5 different bots all with different setups and all work as
intended.

any other way i can fix it? i tried uninstalling but didn't work
On Mon, 5 Apr 2021, 19:53 Jamie @.***> wrote:

Launch the bot with the --debug flag. Google flags if you don't know what
they are cause I will not assist in that regard. The only way it can fail
is if the amount is not an integer or so.
I've tried in 5 different bots all with different setups and all work as
intended.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flaree/flare-cogs/issues/109#issuecomment-813356805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQDKDQURF5QZ4GPXG75RMNLTHGQCLANCNFSM42MRZFPA
.

The problem is something on your end.
Either nobody is in that role or your bot isn't picking up role members and
I cannot do anything about that.

The problem is something on your end. Either nobody is in that role or your bot isn't picking up role members and I cannot do anything about that.

that's too bad. i guess i can close this now


fix: make it to be ok when argc == 1

Changelog

if you don't pass number to argument, now its ok to omikuji


Debug file logger is not working inside a container

It appears the debug file logger is not working inside a container.  Using app\2.2\outproc from https://github.com/mikeharder/ancm-docker, either of the web.config files should work:
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="true">
  <handlerSettings>
    <handlerSetting name="debugLevel" value="file" />

<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" forwardWindowsAuthToken="false" stdoutLogEnabled="true">
  <handlerSettings>
    <handlerSetting name="debugLevel" value="file" />
    <handlerSetting name="debugFile" value="C:\share\2.2\outproc\logs\debug.txt" />

However, the debug log file is not written in either case.  The issue may be related to filesystem permissions inside the container, however the stdoutlog can be written to C:\share\2.2\outproc\logs, so permissions should not be the issue for the second web.config.
Possibly related: https://github.com/aspnet/IISIntegration/pull/1149

Unable to repro with latest ProdCon build of HostingBundle (dotnet-hosting-2.2.0-preview3-35364-win.exe).  I'm not sure if an issue was fixed in product code, or I was previously doing something wrong when trying to repro.


Very High Token Consumption

Hi, there first of all this is an amazing project which you have built
But it seems that for each query even the basic ones token usage is in 40-50k
fopr queries based on personal .csv data (.csv data record contains 30 records only0
Any suggestions on how to reduce  the token usage

I am glad you like it :-)
The high token use is due to a few things. Please see the below breakdown.

To ensure that the models respond accurately and with properly formatted output the prompts are quite lengthy. The prompts are located in prompts.py module if you want to explore them.
For models to remember the context of previous conversations bamboo ai needs to include them in the api messages. Each message by default can have up to 4 pairs of question/response included in it.
Each execution consists of several llm calls:
Call 1: Based on the question, llm selects an expert to best address it,
Call 2: Question is broken down to a list of individual tasks (pseudo code)
Call 3: llm generates code based on the task list
Call 4: Code executes and the output is summarized. If code execution fails the llm is called again for the code correction.
Call 5: llm ranks the final solution

There is a few ways to reduce the token cost:

For simple tasks choose the default model gpt-3.5 which is 10 time less expensive than gpt-4.
I have recently added a support for local open source models like CodeLlama 7B,13B and 34B or WizardCoder. The answers are not as accurate as gpt-4 but are very close to gpt-3.5.
You can reduce the number of previous conversation that are included in messages by setting the 'max_conversations' parameter to a lesser number. For example if you set it to  max_conversations=2 it will half the token usage.
I have modified a few things related to error correction in the last release (0.3.20) aiming at token usage reduction. Try to upgrade to this version and you should see some reduction in the token usage.

Please note that bamboo ai only sends the headers and the first row of the dataset to the llm, so the very large datasets will incur the same cost as the small ones.
I am aware that the token usage is quite high and am planning to do a thorough review of the prompts and the flow soon. The prompts have been designed to work with the march versions of the openai models and some sections might no longer be necessary with the current models. I hope it helps.

I forgot to mention one more thing. You can set the exploratory=False. BambooAI will skip the break down of the question into task list and will go straight to code generation. This will result in significant token usage reduction particularly if you also reduce the max_conversations.

@pgalko Your code runs like a charm, it sometimes feels like I'm using OpenAI's own CI API it is soo damn good,
Thanks for all the steps I will follow them and keep you updated. (Regarding High Token Usage)

Also Id love to contribute in your project as I'm working on a similar Use-Case.

@Murtuza-Chawala great to hear that :-).
I frequently use OpenAI Ci as a benchmark. The CI is much faster and the outputs formatting is so much nicer, but often bamboo ai succeeds when CI fails, particularly on multifaceted and complex tasks. You also have a full control of the compute and libraries that it can use, not to mention internet access and google search capabilities and also vector db as a knowledge base to provide in-context learning. The biggest drawback at this point in time is the token cost as you have rightfully pointed out :-(.

Feel free to contribute, I would very much appreciate it. The project definitely needs a pair of fresh eyes.

@Murtuza-Chawala
I have identified the issue that was leading to excessive token usage. The problem stemmed from the way the default example code was incorporated into the prompt template. Specifically, each line of the default example code had a leading space. This led the language model to interpret the pattern as intentional, ultimately causing code execution to fail due to an indentation error. This failure, in turn, triggered an unnecessary automatic error correction call, which led to token usage ballooning after several iterations.
The issue has now been resolved, and the fix has been committed to the repository. A new version, 0.3.21, has been pushed to PyPi. You can install this updated version via pip, and you should experience significantly improved performance and reduced token usage.
Thanks for bringing this to my attention :-)

Wow that's great !
So this also would mean that the code generated would have a higher chance of success rather than it going in a loop again right?

Yes, that is correct. You should see a lot less error corrections, hence reduced token usage.

use this https://twitter.com/raunakdoesdev/status/1700215444542750923
or ZEP memory https://www.getzep.com/

Thanks mate I will take a look.
I would like the code preserved in the messages in it entirety, but it could definitely help with the text.


Multiply

Where's multiply?

Multiply can be achieved through Unity's default blend mode src and destination.
Blend SrcAlpha OneMinusSrcAlpha // Traditional transparency
Blend One OneMinusSrcAlpha // Premultiplied transparency
Blend One One // Additive
Blend OneMinusDstColor One // Soft Additive
Blend DstColor Zero // Multiplicative
Blend DstColor SrcColor // 2x Multiplicative

Take a look at this page from Unity manual to find more about it.


docs: update info for community plugin docusaurus2-graphql-doc-generator

Update the link and name of plugin edno/docusaurus2-graphql-doc-generator to graphql-markdown/docusaurus in the page Awesome Resources .

Pre-flight checklist

[x] I have read the Contributing Guidelines on pull requests.
[ ] If this is a code change: I have written unit tests and/or added dogfooding pages to fully verify the new behavior.
[ ] If this is a new API or substantial change: the PR has an accompanying issue (closes #0000) and the maintainers have approved on my working plan.

Motivation
The plugin (package) name and organization has been changed from edno/docusaurus2-graphql-doc-generator to graphql-markdown/docusaurus. This PR ensures that the page is up to date.
Test Plan

Test links

Deploy preview: https://deploy-preview-_____--docusaurus-2.netlify.app/
Related issues/PRs
none

thanks 👍


[v0.9] Backport touchpad intertial scrolling

Resolves: https://github.com/neutrinolabs/xorgxrdp/issues/265
v0.9 had only a workaround for too fast scroll issue by environment variable XRDP_XORG_TOUCHPAD_SCROLL_HACK=yes however the hack is not working on some environments. I think we can backport inertial scrolling as a fundamental solution now.

For the record, the original PR with commentary is at #2364
Do we also need the relevant bits of #2423 / #2424 / #2425 ?

Definitely, thank you!


AtlasEngine: Text rendering differences between Direct2D and Direct3D

The Direct3D based text renderer is the default, but the Direct2D based on is used when the device has a GPU without support for shader model 4 (usually GPUs below feature level 10.1), or no GPU at all (for instance when connecting to headless, GPU-less servers over RDP).
In that case the following differences occur, because the Direct2D text renderer is less feature-complete:

[ ] The margins around the viewport ("gutters") are drawn in the same background color as the nearest cell and not in the overall background color of the terminal. This is because Direct2D lacks support for D3D11_TEXTURE_ADDRESS_BORDER which we'd need when drawing the background bitmap.
[ ] Text on top of the cursor is not always visible / readable. Intersecting glyphs with the cursor rectangle was deemed too difficult and CPU intensive to implement for now. Direct2D doesn't expose the boundaries of each individual glyph in a glyph run after all.
[ ] Ligatures spanning cells with different foreground colors are drawn in the color of the first cell. Same as for the previous point, intersecting and splitting up glyphs is non-trivial with Direct2D and might hurt performance.
[ ] Box drawing glyphs are not clipped to their cells, and so they might overlap to produce unsightly results like this:
This has the same problem as cursors/ligatures.
[ ] Soft font support. This would be easy to add in a future version if need be.

Does it mean ▁▂▃▄▅▆▇█ should look like ▁▂▃▄▅▆▇▇ because otherwise it is leaking? That is indeed how it looks like in Directx3D AtlasEngine, last two symbols look the same.

Yes, this was made intentionally to fix the overlap issue, as seen in the GIF above. But we're now thinking about reverting that change, because it leads to other issues like this: https://github.com/microsoft/terminal/issues/15489#issuecomment-1573398827

No. You are correct, glyphs should be hard bounded.

No. You are correct, glyphs should be hard bounded.


[AddToken] SYMBOL on NETWORK

Network
MAINNET
Token Symbol
OETH
Token Name
Origin Ether
Decimals
18
Address
0x856c4Efb76C1D1AE02e20CEB03A2A6a08b0b8dC3
Image URL
https://github.com/OriginProtocol/origin-website/blob/master/static/img/coins/oeth.svg
Reason
OETH is a new LSD aggregator token, with millions of dollars in liquidity already. Its front end is hosted on oeth.com.
You know it is not a scam because I am contacting you from<EMAIL_ADDRESS>

Hey @sumpg41
Please use the direct link to the img.
In your case it should be https://raw.githubusercontent.com/OriginProtocol/origin-website/master/static/img/coins/oeth-256x256.png
Unfortunately the script is not smart enough to find the image inside GH web pages

will do, thanks


fix(api-server): application meta list reads from application crd

Fix #1129
Since we use Application CRD to generate ApplicationConfiguration, the ListApplications method should get ApplicationMeta from Application rather than ApplicationConfiguration.
The dashboard will also be able to delete Application as expected.

@kinsolee  Hi， would you like to rebase this PR?

@wonderflow  Done.


Monkey patching node http can conflict and is error prone

The moment you require('passport') the node http module is monkey patched. This is not cool.
This
https://github.com/jaredhanson/passport/blob/07bff37406241b0cf8db35986788d2dadbf93763/lib/index.js#L13
eventually calls
https://github.com/jaredhanson/passport/blob/07bff37406241b0cf8db35986788d2dadbf93763/lib/framework/connect.js#L29
There is no attempt to ensure it is not clobbering an existing method.
Monkey patching is fine, if control on when it occurs is controlled by the user. This way the user understand the monkey patching is happening.
I almost introduced a bug when removing passport, but one of my tests caught this issue.

This is something I am planning to remove, and simply extend the req object as it passes through middleware, in the same way Express does.
Can you provide details about any issues or bugs this is currently causing, so that a fix can be tested and verified?

@jaredhanson  has this been removed ?

Here's the scenario which will cause production bugs:
http.IncomingMessage.prototype.login =
http.IncomingMessage.prototype.logIn = IncomingMessageExt.logIn;
http.IncomingMessage.prototype.logout =
http.IncomingMessage.prototype.logOut = IncomingMessageExt.logOut;
http.IncomingMessage.prototype.isAuthenticated = IncomingMessageExt.isAuthenticated;
http.IncomingMessage.prototype.isUnauthenticated

I'm having this issue as well.  As soon as I require passport I get the error in my ionic app as follows:
TypeError: Cannot read property 'prototype' of undefined
at Function.exports.__monkeypatchNode (http://localhost:8100/build/vendor.js:99498:24)
Line 99498 in vendor.js is as follows:
exports.__monkeypatchNode = function() {
var http = webpack_require(252);
var IncomingMessageExt = webpack_require(259);
http.IncomingMessage.prototype.login =
http.IncomingMessage.prototype.logIn = IncomingMessageExt.logIn;
http.IncomingMessage.prototype.logout =
http.IncomingMessage.prototype.logOut = IncomingMessageExt.logOut;
http.IncomingMessage.prototype.isAuthenticated = IncomingMessageExt.isAuthenticated;
http.IncomingMessage.prototype.isUnauthenticated = IncomingMessageExt.isUnauthenticated;
};

This is an extremely bad thing to trip over. Is there any chance this could get removed?

Monkey patching has been removed in<EMAIL_ADDRESS>(by way of #848).
For more information, see the announcement on the blog and details in the CHANGELOG.


LACT OpenRC support

LACT daemon can work standalone on non-systemd distribution.
This is the example of service that is run in init environment similar to what is required for sddm / gdm which usually start the desktop session. It is possible to remove some of dependencies in case different configuration is required.

Thanks


rw_pass_cell: add custom drop to write_pass

#177  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @gabriele-0201 and the rest of your teammates on  Graphite


Refactor amqp proxy creation from Configuration into Util class

Description
The code to create proxyOptions from configuration values is duplicated in both eventhubs and servicebus. This change is to move it to Core-AMQP as a Util class method
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check for com.azure:azure-core-amqp
API changes have been detected in com.azure:azure-core-amqp. You can review API changes here
API changes
+     public final class ProxyUtil {
+         // This class does not have any public constructors, and is not able to be instantiated using 'new'.
+         public static ProxyOptions getDefaultProxyConfiguration(Configuration configuration)
+     }