Update My token Information

I wanna update our Token Information : Website , Twitter
Token : GGupQCMnyEmHKcqFu72qCTm6yEYpVyhouY9dSAMEXLsC
name: Dogecoin Cash
symbol: DOGEC
I wannan add the website :
https://www.dogecoincash.info
Twitter
https://twitter.com/dogec_cash
Please check My MR :
https://github.com/solana-labs/token-list/pull/8591

Our token already verified on Nomics, you can check it .
https://nomics.com/assets/dog5-dogecoin-cash

can you please link the commit where you added DOGEC?

can you please link the commit where you added DOGEC?

Hi here is my comit its mereged for longtime
https://github.com/solana-labs/token-list/pull/3847

Can you help me check this one today ?

merged


Nit object instanciation from C in FFI

There seems to be an issue when dealing with instanciation of Nit objects from C code in some cases.
For instance in this code:
redef class SDLSurface
    fun dimensions: Couple[Int, Int] import Couple[Int, Int] `{ return new_Couple_of_Int_Int(self->w, self->h); `}
end

var x = new SDLSurface.load("image.png".to_cstring)
var dim = x.dimensions
print "Dimensions are ({dim.first}, {dim.second})"

The output is always (0, 0) since both attributes are not initialized, it seems the new call in C does not call the init from Couple in this case, though the object is properly created.

I confirm the bug. the FFI just call the init not the whole initialization mechanism because the initialization mechanism is a mess.

This issue also affects SDLKeyEvent::name which is not set when instantiated from C. Thus breaking some games, including Action Nitro and WBTW. Action Nitro crashes when pressing wasd and escape.
More precisely, the recent cleanup in commit 44d68d54280e3b31b53d2e73b5e58cb9e0a28df0 changed an old style constructor into an automated one, which appears to cause this bug.


figure out what to about the shapeless code in the parsing module

Unlike #1, there is no decision to remove the shapeless code yet.
it could be that if #1 is merged, that we no longer need the shapeless code (I haven't checked if the parboiled2 code is the only code using the shapeless code)
shapeless3 exists for Scala 3 but does include HList - I guess the logic is that Scala 3 tuples can do the task
so if we do use HLIst or the other shapeless code in pekko-http (after #1 is merged or deferred) then we might want to keep the shapeless code
if we keep it, we will need to consider updating our LICENSE and NOTICE.

https://github.com/milessabin/shapeless has no NOTICE
it is Apache licensed so we may need to document it in our license (this needs to be verified)

relates to #62

Regarding Scala 3, Scala has apparently added HLists and other datastructures which shapeless has historically been used for (see https://www.scala-lang.org/2021/02/26/tuples-bring-generic-programming-to-scala-3.html), so one thing we can do is to remove shapeless for Scala 3 specifically

this code was removed alongside the parboiled code


Remove Swift & Kotlin binding binaries

Applies required changes of:

https://github.com/breez/breez-sdk/pull/742

Removes pre-built Swift & Kotlin binaries.

Advised to merge before we re-publish v0.2.14.
@roeierez How will we handle the re-publish btw? Remove from history and force-push? 🤔

Remove from history & tags and force-push on main?

If we remove the tags on GitHub, running just publish-flutter workflow in isolation should be able to just run through and push the tag again if I'm not mistaken. Force pushing would work as well of course.


user agent generator

Pull Request Test Coverage Report for Build 96

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Totals

Change from base Build 82:
0.0%

Covered Lines:
0

Relevant Lines:
2

💛  - Coveralls


New sticky partition strategy for Kafka rebalancing (works for all kafka clients versions)

Fixes #2202
See https://github.com/knative-sandbox/eventing-kafka-broker/issues/2202#issuecomment-1142333099

Proposed Changes

Changes partition strategy for rebalancing from default (RangeAssignor) to StickyAssignor which causes less number of duplicate messages to be received in sink due to less disrupting partition assignments to consumers. Customers on newer clusters with Kafka v2.4+ can use a sticky + incremental protocol CooperativeStickyAssignor instead.

/retest-required

/retest-required

My duplicates scenario tests do show decrease in duplicates with this new assignor. @aslom and IBM Code Engine tests in CE shards @cr22rc can confirm
ok to merge? @pierDipi

/retest-required

/test unit-tests_eventing-kafka-broker_main
/test upgrade-tests_eventing-kafka-broker_main

/test unit-tests_eventing-kafka-broker_main

@pierDipi @matzew why do these two specific CLI tests fail most of the time (not just in this PR) but in some cases pass?
[ERROR] Errors:
[ERROR]   RecordDispatcherTest.shouldCallFailedToSendToDeadLetterSinkIfValueMatchesAndSubscriberSenderFailsAndNoDeadLetterSinkSender:274->assertEventProcessingLatency:418 ? ConditionTimeout
[ERROR]   RecordDispatcherTest.shouldSendToDeadLetterSinkIfValueMatchesAndSubscriberSenderFails:193->assertEventProcessingLatency:418 ? ConditionTimeout

/test unit-tests_eventing-kafka-broker_main

/test unit-tests_eventing-kafka-broker_main

/approve

/test channel-integration-tests-ssl_eventing-kafka-broker_main


domains: creating new domain fails if flagged is not set

Package version (if known): v12.0.0b3.x
Describe the bug
When creating a domain via the administration panel, the "Flagged" checkbox must be clicked otherwise it leads to validation error.
Expected behavior
The checkbox is not required, thus it should be able to omit ticking it. Moreover, the required properties seem to be more than the "Domain" input. This needs to be verified and adapt the UI accordingly e.g add red asterisks to the corresponding fields.
Screenshots (if applicable)

short notice:
following lines: https://github.com/inveniosoftware/invenio-administration/blob/main/invenio_administration/assets/semantic-ui/js/invenio_administration/src/formik/AdminForm.js#L29-L34  have to be backported ontop of v2.2.3 of invenio-administration
ontop of v2.2.3 is necessary because v2.3.0 increases the dependency to invenio-records-resources and therefore introduces a version conflict with the uses invenio-rdm-records version in invenio-app-rdm

fixed by https://github.com/inveniosoftware/invenio-administration/releases/tag/v2.2.4


want to add a floating back to top icon

Is your feature request related to a problem? Please describe.
I noticed that back to top icon is currently situated at the footer and to jump to top we need to reach the footer to access this icon.
Describe the solution you'd like
I'd like to add a floating back to top icon which will be triggered or displayed after scrolling a particular offset from the top of the web page.
please assign me this issue under #GSSoc'23

I can solve this issue very easily and fast.Please assign this to me under GSSOC'23 so i can start working on this


lkrg: 0.9.5 -> 0.9.6

Description of changes
Version bump
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

lgtm! :)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2637

Obsoleted by #263950


getResource missing

Query
   fragment entireJoin on Join {
        id
        sourceOwner
        sourceTable
        sourceColumn
        targetOwner
        targetTable
        targetColumn
    }

    fragment entireInputColumn on InputColumn {
        id
        owner
        table
        column
        script
        staticValue
        joins {
            ...entireJoin
        }
    }

    fragment a on Attribute {
        id
        comment
        name
        mergingScript
        isProfile
        type
        inputColumns {
            ...entireInputColumn
        }
    }

    query {
        getResource (database: Crossway, resource: Patient) {
            id
            name
            attributes {
                ...a
                attributes {
                    ...a
                    attributes {
                        ...a
                        attributes {
                            ...a
                            attributes {
                                ...a
                                attributes {
                                    ...a
                                    attributes {
                                        ...a
                                        attributes {
                                            ...a
                                            attributes {
                                                ...a
                                                attributes {
                                                    ...a
                                                    attributes {
                                                        ...a
                                                        attributes {
                                                            ...a
                                                            attributes {
                                                                ...a
                                                                attributes {
                                                                    ...a
                                                                    attributes {
                                                                        ...a
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

Bug encountered
{
  "error": {
    "errors": [
      {
        "message": "Cannot query field \"getResource\" on type \"Query\". Did you mean \"resource\"?",
        "locations": [
          {
            "line": 36,
            "column": 3
          }
        ]
      }
    ]
  }
}

This should be solved with #10
You should then replace
...
query {
  getResource(database: DBNAME, resource: Patient) {
...

with something like
...
query {
  resources(where: {database: {name: DBNAME}}) {
...

This will output all FHIR resources linked to a source (and not just Patient). You can then select the one that suits your needs :slightly_smiling_face:
Don't forget you need to add a token to your header to hit these endpoints!

Hey, presumably it doesn't work that easy...
Would it be possible to just have a working end point where we can request all the ressources of a database using its name?
Would be super useful for the pipe!


Error message while selecting "Empty" directory

There can be an error dialog box while selecting a empty directory in odk-x-suitcase instead of letting suitcase select the empty directory.
Steps to reproduce :

login into suitcase
using the browse button select an empty directory

could this be a valid issue @wbrunette  @linl33

This is a valid issue, thank you for finding issues to work on! It's good to see initiative in improving ODK-X 🥇

Thankyou, I will be working over it then.


Exception at creating System.Net.Http.HttpClient without libcurl3 in ubuntu-16.04

Steps to reproduce

create minimum ubuntu-16.04 env with vagrant
do https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#ubuntu-1604
run powershell
execute New-Object System.Net.Http.HttpClient

Expected behavior
output the following text
DefaultRequestHeaders BaseAddress Timeout  MaxResponseContentBufferSize
--------------------- ----------- -------  ----------------------------
{}                                00:01:40<PHONE_NUMBER>

Actual behavior
occured following exception
New-Object : Exception calling ".ctor" with "0" argument(s): "The type
initializer for 'System.Net.Http.CurlHandler' threw an exception."
At line:1 char:1
+ New-Object System.Net.Http.HttpClient
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvoca
   tionException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
   Shell.Commands.NewObjectCommand

and do not work the PowerShellGet module commands(Find-Module,Install-Module,etc)
Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
PSEdition                      Core
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.9
CLRVersion
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

Finally,I resolved it by installing libcurl3 package by apt-get.
I guess it is caused by dependency of System.Net.Http.CurlHandler.

I think libcurl3 should be added in powershell's  requirements when executing http related command in ubuntu


⚠ BeyondHD has degraded performance

In 0f0affc, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 2261 ms

Resolved: BeyondHD performance has improved in 0b0d59a.


Indecisive user, two dependent questions with same name, wrong output

Are you requesting a feature, reporting a bug or ask a question?
Reporting a bug (on an awesome set of tools!)
What is the current behavior?
To navigate a wide tree of response options, we're using the response to an initial question to conditionally (visibleIf) show one of two dependent questions. We only ever want one answer from the dependent questions, so both have the same name (not sure if this approach is recommended, but it's possible and doesn't throw any errors, except for this bug!)
Currently, there's a difference between what's displayed using the visibleIf logic, and what's collected in the survey output. This happens if you change your mind a couple of times filling in the survey.
In the sample below, click 'true' on first Q, 'trueA' on second Q, then back to 'false' on first Q, now 'falseA' on second Q, and finally back to 'true' on first Q.

What you see on the survey interface is 'true' and 'trueA'.
When you complete, the response is  {"initial_question":"true","dependent_question":"falseB"}
The response should be {"initial_question":"true","dependent_question":"trueA"}`

Provide the test code and the tested page URL (if applicable)
Sample survey code (also published as this)
{
 "pages": [
  {
   "name": "page1",
   "elements": [
    {
     "type": "radiogroup",
     "choices": [
      "true",
      "false"
     ],
     "name": "initial_question",
     "title": "True or false"
    },
    {
     "type": "dropdown",
     "choices": [
      "trueA",
      "trueB"
     ],
     "name": "dependent_question",
     "title": "Show this if true",
     "visible": false,
     "visibleIf": "{initial_question} = 'true'"
    },
    {
     "type": "dropdown",
     "choices": [
      "falseA",
      "falseB"
     ],
     "name": "dependent_question",
     "title": "Show this if false",
     "visible": false,
     "visibleIf": "{initial_question} = 'false'"
    }
   ]
  }
 ]
}

Specify your

browser: Chrome 58
surveyjs platform (angular or react or jquery or knockout or vue): SurveyJS editor online, survey-vue
surveyjs version: ?? for editor online, 0.12.15 for survey-vue

@onlyjsmith hello! Questions should not have the same name. @andrewtelnov @tsv2013 may be we need to add this info into docs.

@dmitrykurmanov First of all, thank you for creating a great library.
I work with @onlyjsmith, we have and issue where a dependent question’s options needs to change in response to another question.
An example of this would be choosing a state in the first question and a city name in the second question.  The city names would change depending on which state you choose.
Our current approach has multiple questions called “city” and are shown with visibleIf depending on the state selected. What is the recommended way to achieve this without having questions with the same name?
Using the examples provided we tested our form with multiple questions with the same name. We found that the Vue version did not work with questions with the same name, but the jQuery version did.

@Nicolaidavies yes, I see the problem. @andrewtelnov could you help with it please?

@onlyjsmith  @Nicolaidavies  as @andrewtelnov says we could use same name for questions, so it is bug. We'll fix it. Thanks for your interest.

@Nicolaidavies They bug is in the vue version and it should be fixed.
However, I have a question to you guys. Are you going to use some kind of restful API to get the list of countries -> states -> cities ?
I want to introduce a feature, for restful API: http://surveyjs.org/examples/jquery/questiontype-dropdownrestfull.html, where a question value can be used in a parameter in the url.
for example: myapiwebsite.com/getAllCities/state={stateQuestion}. If the stateQuestion is empty, the city question choices is empty, as soon as the state is changed, the library will call the restful service to get cities for this state.
Do you need this functionality?
Thank you,
Andrew

@andrewtelnov Thank you very much.
Right now I don't think we are in need of such functionality, as we are building an offline application. I definitely can see how that functionality would be useful in other contexts.

@Nicolaidavies I am afraid we will not be able to fix this issue in vuejs.
Here is what happens: The value is changed in the 'dependent_question' dropdown and survey is sending the notification about value changing to all questions with this name 'dependent_question'. When another 'dependent_question' dropdown gets the notification it looks in it's choices, finds no item for it and as result set the value to null. The survey get notification that 'dependent_question' becomes null and again sends a notification about value changed to all question with the 'dependent_question' name. As result the initial question will get a null value as well.
In other platforms, we wrote a code that will not allow to call set value in the question object twice (recursive). Vuejs doesn't call the change immediately, like knockout for example, and the second set value is called after the initial set value call has completely finished it's work.
Anyway here is my suggestion: onValueChanged assign to 'dependent_question' dropdown question a different choices based on the "initial_question" like:
survey.onValueChanged.add(function(survey, options) {
  if(options.question.name !== "initial_question") return;
  var q = survey.getQuestionByName("dependent_question");
  if(options.question.value == "true") q.choices = ["trueA", "trueB"];
  if(options.question.value == "false") q.choices = ["falseA", "falseB"];
});

Thank you,
Andrew

@Nicolaidavies We have the question.valueName property now. If it is set then this property use instead of question.name. It means you may have questions with different names, but they may share the same data if they have the same valueName.
Thank you,
Andrew


Assets are not being reloaded with new content. Getting 304 response

While using the framework in Windows 7, new assets are not being loaded. If any changes are made in  any JS file present in assets, the changes are not downloaded. After numerous refresh requests, still getting 304 response for JS and CSS files after editing them.

Hello,

While using the framework in Windows 7
You mean you lifting from W7 or browsing from W7 ? Both ?
If browsing, which browser it is ? Did you try another ?

While doing both. Happens in Google Chrome Version 41.0.2272.101. No I haven't tried on another browser.

Sounds like something is preventing the Grunt "watch" task from running.  You can lift your app with:
sails lift --verbose

then change a file in your assets folder and see if Grunt responds.
Without more info on this (or other reports of users seeing similar behavior) there's not much that can be done.  If more info comes to light, please re-open.


multiply defined symbols when use hdf5

I have been able to install successfully hdf5 using vcpkg install hdf5.
Using VS2017 I attempt to compile the following program
https://support.hdfgroup.org/ftp/HDF5/current/src/unpacked/examples/h5_crtdat.c
During compilation I get the many errors similar to
LNK2005	_H5open already defined in hdf5_D.lib(hdf5_D.dll)
LNK2005	_H5check_version already defined in hdf5_D.lib(hdf5_D.dll)	etc.
and at the end
LNK1169	one or more multiply defined symbols found
I have used the vcpkg integrate install
Any ideas what's wrong here?

try defining H5_BUILT_AS_DYNAMIC_LIB if you are using x64-windows

That worked!
Just for completeness this link shows how to set the variable under VS and not only

Thanks for posting this issue. This issue has been fixed. So I am closing this issue for now.


Task object is None?

I am trying to retrieve a Task object from my tasks so that I can wait for multiple tasks at the same time. My current code setup is something like this:
@db_task(queue='new_queue')
def function_wrapper():
    print('task is running')
    return True  # must return something for blocking to work

@db_task(queue='new_queue')
def sync():
    product_tasks = [
            function_wrapper(),
            function_wrapper(),
            function_wrapper(),
            function_wrapper(),
        ]
    results = [task_result.get(blocking=True) for task_result in product_tasks]

However, it seems that the function_wrapper() returns None instead of a task object. The print function is shown correctly in the outputs when running the queue.

Hi, I've tested this code and if check the results variable I get [True, True, True, True]. What are you expecting?


docs: add tracking sections

adds tracking to all relevant READMEs

@lukas-reining @beeme1mr lol sorry, I failed on this one.
I will re-release serv/web/react


[SPARK-43971][CONNECT][PYTHON] Support Python's createDataFrame in streaming manner

What changes were proposed in this pull request?
In the PR, I propose to transfer a local relation from the Python connect client to the server in streaming way when it exceeds some size which is defined by the SQL config spark.sql.session.localRelationCacheThreshold. The implementation is similar to https://github.com/apache/spark/pull/40827.  In particular:

The client applies the sha256 function over the proto form of the local relation;
It checks presents of the relation at the server side by sending the relation hash to the server;
If the server doesn't have the local relation, the client transfers the local relation as an artefact with the name cache/<sha256>;
As soon as the relation has presented at the server already, or transferred recently, the client transform the logical plan by replacing the LocalRelation node by CachedLocalRelation with the hash.
On another hand, the server converts CachedLocalRelation back to LocalRelation by retrieving the relation body from the local cache.

Why are the changes needed?
To fix the issues of creating a large dataframe from a local collection:
pyspark.errors.exceptions.connect.SparkConnectGrpcException: <_MultiThreadedRendezvous of RPC that terminated with:
	status = StatusCode.RESOURCE_EXHAUSTED
	details = "Sent message larger than max (134218508 vs. 134217728)"
	debug_error_string = "UNKNOWN:Error received from peer localhost:50982 {grpc_message:"Sent message larger than max (134218508 vs. 134217728)", grpc_status:8, created_time:"2023-06-09T15:34:08.362797+03:00"}

Does this PR introduce any user-facing change?
No.
How was this patch tested?
By running new test:
$ python/run-tests --parallelism=1 --testnames 'pyspark.sql.tests.connect.test_connect_basic SparkConnectBasicTests.test_streaming_local_relation'

Merging to master. Thank you, @HyukjinKwon for review.


state_hold_false not working properly in task.wait_until

Hello,
I like the project and appreciate all the work that was put into it, however I must say that all the logic changes are getting very confusing. After the latest master update, state_hold_false=0 stopped working when used for task.wait_until triggers. Here's the example:
trig_info = task.wait_until(
                        state_trigger="binary_sensor.door_basement == 'off'", state_hold_false=0,
                        timeout=60
                    )

The door is closed when the function kicks in, so I want some things to happen only after the door is open and THEN closed again, however it doesn't work as expected (and as it did just before I updated pyscript) and instead fires off immediately. It looks like it ignores the state_hold_false parameter and since the state_check_now is True by default (which again is confusing since it's False by default when used in a decorator, but True when used in wait_until), it sees the door is already closed and sets off.
What am I doing wrong? How do I make it work as expected? Thanks!
Here's the full function if that helps:
def media_room_overhead_exit_logic():
    """Turn on media room light when motion is detected."""
    log.info(f"triggered; turning on media room light")
    if light.media_room_overhead != "on":
        light.media_room_overhead.turn_on()
        trig_info = task.wait_until(
                        state_trigger="binary_sensor.door_basement == 'off'", state_hold_false=0,
                        timeout=60
                    )
        if trig_info["trigger_type"] == "state":
            log.info(f"door closed; turning off media room light.")
            light.media_room_overhead.turn_off()

and here's what I see in the logs (note the same timestamp):
2020-12-08 16:02:18 INFO (MainThread) [custom_components.pyscript.file.lighting.media_room_overhead_exit_logic] triggered; turning on media room light
2020-12-08 16:02:18 INFO (MainThread) [custom_components.pyscript.file.lighting.media_room_overhead_exit_logic] door closed; turning off media room light.

I set the state_check_now to False and now it works again:

Ah, sorry - when I first implemented state_hold_false that's how it worked at startup.  But after some discussion in #95, we decided to change the startup behavior when both state_hold_false and state_check_now are specified.
I forgot to update the documentation for task.wait_until.  The documentation for @state_trigger was correctly updated.  Thanks for catching that.

Thanks for the quick response! I checked the #95 thread and it does make sense to me, I agree it seems to be more logical to do it this way, so as long as the decorator and task.wait_until behave identically and the documentation is updated that shouldn't cause be causing any confusing in the future.
Thanks again!


Error: 1540, ArangoError, usage of unknown function 'GRAPH_NEIGHBORS()

My installation on ArangoDB just got updated, and now I'm getting this error:
Error: 1540, ArangoError, usage of unknown function 'GRAPH_NEIGHBORS()' (while parsing)
I didn't find anything in docs/CHANGELOG.
I'm doing this kind of query:
{ query: 'FOR g in GRAPH_NEIGHBORS(@v0, @v1, @v2) RETURN g',
  values:
   { v0: 'follows',
     v1: 'auths/2cdaf8c2-c2f8-4c54-8e5c-717fab8b01d9',
     v2: { direction: 'outbound' } } }

Hi @ile,
with ArangoDB v3 graph functions are replaced:
https://docs.arangodb.com/cookbook/AQL/MigratingGraphFunctionsTo3.html
https://docs.arangodb.com/cookbook/AQL/MigratingEdgeFunctionsTo3.html
https://docs.arangodb.com/cookbook/AQL/MigratingMeasurementsTo3.html
You have to use the traversal syntax.

OK, thanks!
(I didn't look at the right place, I tried this: https://docs.arangodb.com/Installing/Upgrading.html).


Be able to create a spectrum from a ranges object

We should be able to create a spectrum from scratch. This could be achieved by filling a table in which we create AB, ABC, AB3, A2B3, etc system or from ranges.
This would be a new accordeon panel on the right for the simulation and would generate for a specific frequency, specific line width, peak shape, etc.

You may get inspired by:
https://github.com/NPellet/visualizer/blob/master/src/modules/types/science/spectra/nmr/webservice_nmr_spin/view.js
and mainly the simulation.SpinSystem method:
https://github.com/NPellet/visualizer/blob/master/src/modules/types/science/spectra/nmr/webservice_nmr_spin/controller.js
https://www.npmjs.com/package/nmr-simulation

Hello,
I would like to advocate an approach of spectral simulation where the link with the properties of the molecules (not just a set of 1H) is taken into accout. The reason is that if we want to fit parameters to spectra we may have an approach able to include the following situations:

Consider the 1% natural abundance in 1H spectra (carbon satelllites). This may  be "just" to avoid to take 13C satellites as impurities, but also to determine 1JCH coupling, isotopic shifts which may all be interesting to extract (in particular in a world with very high-dynamic range spectrometers. We could get residual dipolar couplings from 1D 1H spectrum... (instead of complex processing of 2D HSQC).
If you have a silicone, you have a major signal and satellites... (a bit like 13C satellites -but more intense).
If you have a Sn, you have pairs of satellites (in carbon spectra).
If you have Cl, Br, also, there are (small) but sometimes usefull isotopic effects that can be used for identification - this not very common and important, but just to say that these effects are occuring with many types of common heteroatoms.
We want to include effects of partial deuteration.

My proposition is to consider the development of a general spin system generator for organic compounds. It would allow non-natural abundance, allow simulations of 1H but also 13C, 19F, 2H, etc... taking into account all NMR active isotopes.
In many situations, the simulation of the spectrum would require to include multiple isotopomers. Typically for a 1H spectrum, take :

the protons only system (with 31P, 19F, etc) and
the n isotopomers with one 13C for each C.
the number of systems will be multiplied by 3 for each Sn found. Rules defining how the parametes are linked (not always exactly equal - remember isotopic shifts).

With this approach, we could feed the table of coupling, chemical shfits with expected values, the coupling would be assigned!!! This interesting because one could then replace these expected values with the experimental chemical shifts and coupling constants.

When a set of signals are highlighted from the 1H spectrum  or one signal is enlaged before the use clicks on "spin simulation" the table could be pre-filled with the available data...
But here again, assignment of coupling is necessary... We realy need a tool for this! See https://github.com/cheminfo/nmr-displayer/issues/156

I agree with that. But considering our resources, I would propose to develop the 'sophisticated' version of such a simulator as a branch, and a 'rough' version for the every-day visualizer. The main intention is to (initially at least) comply with the need of an organic chemist (but leaving an option for experts, too).


W-08_N-14: noteheads 94, 89, 83 are Db instead of D

Possible causes:

The natural 365, misapplied?
Problem with inline clef change?

The code for handling clef change in pitch inference was not fully implemented.


Cannot see code from runtime packages when "includeSourceInSymbolFile": true

1. Describe the bug
Cannot see code from runtime packages when "includeSourceInSymbolFile": true
2. To Reproduce
I started from AL:Go and created a codeunit and a table with messages on different triggers.
app.json has this policy:
"resourceExposurePolicy": {
"allowDebugging": true,
"allowDownloadingSource": false,
"includeSourceInSymbolFile": true
}
I used this command to get the runtime package
Get-NavAppRuntimePackage -ServerInstance $ServerInstance -Name $appname -Version $appversion -IncludeSourceInPackageFile $true -Path $outfile
Then published and installed on a new environment.
When downloading symbols there is no code in the package.
3. Expected behavior
Code should be included in the symbols of a downloaded runtime package when the package was created with -IncludeSourceInPackageFile $true parameter
4. Actual behavior
After the runtime package is published, when downloading symbols the objects are missing the code.
5. Versions:

AL Language: v9.0.615906
Visual Studio Code:1.67.1
Business Central: <IP_ADDRESS>
List of Visual Studio Code extensions that you have installed:
AL Language

This is by design. Runtime packages do not contain AL code. The IncludeSourceInPackageFile parameter only applies to extensions published from VSCode, it does not apply to runtime packages.
https://docs.microsoft.com/el-gr/dynamics365/business-central/dev-itpro/developer/devenv-creating-runtime-packages

Reading the documentation I see:
"If you set the showMyCode flag to true when running the Get-NavAppRuntimePackage cmdlet, you can enable debugging and you thereby also allow viewing the source code."
On the Get-NavAppRuntimePackage command documentation:
https://docs.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.apps.management/Get-NAVAppRuntimePackage?view=businesscentral-ps-20
there is a parameter:
-IncludeSourceInPackageFile
Specifies to include source code in the package.
How can the IncludeSourceInPackageFile parameter not apply to runtime packages if the name of the command is Get-NAVAppRuntimePackage

Oh wait, that's my bad. I misread the original issue, I thought you were using the resource exposure policy only. Sorry, yes. This looks like an issue.

Are you debugging on a docker container or OnPrem/Cloud installation?

You cannot install a runtime package on Cloud.
I have tried to debug both in a docker container and OnPrem installation.

We have more customers not able to debug our code in onprem installations because of this issue.
Is someone looking into this?

It's in our backlog, but we can't give an estimate on when it will be completed. If this is urgent, I suggest raising a support request through customer support, those get prioritized differently (i.e. quicker) from general issues that we get through github.

This has been fixed through Microsoft Support - Case<PHONE_NUMBER>001155 TrackingID#2206100010001155
Cause:
Product defect in BC 19.x and BC 20.x
Resolution:
Fix provided in BC 19.10 and BC 20.4.


Quick Fix contains incorrect offsets in LinkedEditGroups

Originally reported in WebStorm's issue tracker.
Consider this code:
import 'dart:html';

class Foo {
  foo() {
    Element e;
    bar = e.onClick.listen(listener);
  }

  void listener(MouseEvent event) {
  }
}

Analysis server reports an error Undefined name 'bar' and suggests a quick fix Create field 'bar'. Corresponding SourceChange has one SourceFileEdit with two SourceEdits:

one SourceEdit inserts field declaration StreamSubscription<MouseEvent> bar;
another one adds required import directive import 'dart:async';

Also this SourceChange contains two LinkedEditGroups:

one suggests to stop at field type StreamSubscription<MouseEvent>
another one stops at field name bar

The problem is that offsets in these LinkedEditGroups are calculated against file text that we get after applying only the first SourceEdit. And when IDE starts live template (LinkedEditGroups) after applying both - all ranges are shifted by import 'dart:async'; text length and we get:

I believe that this has been fixed.


Add quickstarter installation/uninstallation scripts

This adds installation and uninstallation scripts for quickstarter, and improves/fixes the readme.

This change is

/assign @swiftdiaries

/lgtm
/approve


【错误反馈】拒绝访问 防火墙已开启

运行环境
almalinux9.4
NB插件及版本号
nonebot cli version 1.4.1
MC插件及版本号
1.21.1 QueQiao-spigot+1.13-0.0.2
错误描述
看不懂wiki文件配置🙌😭
报错日志（如果有）
08-20 15:27:57 [INFO] uvicorn | Shutting down
08-20 15:27:58 [INFO] uvicorn | Waiting for application shutdown.
08-20 15:27:58 [INFO] nonebot_plugin_apscheduler | Scheduler Shutdown
08-20 15:27:58 [INFO] uvicorn | Application shutdown complete.
08-20 15:27:58 [INFO] uvicorn | Finished server process [1336779]
Using python: /root/bot/mc_bot/.venv/bin/python
08-20 15:27:59 [SUCCESS] nonebot | NoneBot is initializing...
08-20 15:27:59 [INFO] nonebot | Current Env: dev
08-20 15:27:59 [DEBUG] nonebot | Loaded Config: {'driver': '~fastapi+~httpx+~websockets', 'host': IPv4Address('<IP_ADDRESS>'), 'port': 8080, 'log_level': 'DEBUG', 'api_timeout': 30.0, 'superusers': set(), 'nickname': set(), 'command_start': {'/'}, 'command_sep': {'.'}, 'session_expire_timeout': datetime.timedelta(seconds=120), 'environment': 'dev', 'qq_is_sandbox': False, 'qq_bots': [{'id': '102066486', 'token': 'ciCflpUsu5nvEWGV3WkUyIvlfII3sibx', 'secret': 'WMC2tkbSJA1tldVNF81ungZTNHB5zupk', 'intent': {'c2c_group_at_messages': True}}], 'minecraft_ws_urls': {'Server': ['ws://<IP_ADDRESS>:8089']}, 'minecraft_server_rcon': {'Server': {'enable_rcon': True, 'rcon_port': 55521, 'rcon_password': '147159123aA@'}}, 'mc_qq_server_dict': {'Server': {'guild_list': [{'guild_id': '8976366802301288313', 'channel_id': '632231017', 'adapter': 'qq', 'bot_id': '102066486'}], 'rcon_msg': True, 'rcon_cmd': True}}}
08-20 15:27:59 [DEBUG] nonebot | Succeeded to load adapter "QQ"
08-20 15:27:59 [DEBUG] nonebot | Succeeded to load adapter "OneBot V12"
08-20 15:27:59 [DEBUG] nonebot | Succeeded to load adapter "Minecraft"
08-20 15:27:59 [SUCCESS] nonebot | Succeeded to load plugin "echo" from "nonebot.plugins.echo"
08-20 15:27:59 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_status"
08-20 15:27:59 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_apscheduler"
08-20 15:27:59 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_guild_patch"
08-20 15:27:59 [SUCCESS] nonebot | Succeeded to load plugin "nonebot_plugin_mcqq"
08-20 15:27:59 [SUCCESS] nonebot | Running NoneBot...
08-20 15:27:59 [DEBUG] nonebot | Loaded adapters: QQ, OneBot V12, Minecraft
08-20 15:27:59 [INFO] uvicorn | Started server process [1337128]
08-20 15:27:59 [INFO] uvicorn | Waiting for application startup.
08-20 15:27:59 [INFO] nonebot_plugin_apscheduler | Scheduler Started
08-20 15:27:59 [DEBUG] nonebot | QQ | QQ run in sandbox mode: False
08-20 15:27:59 [DEBUG] nonebot | QQ | QQ api base url: https://api.sgroup.qq.com/
08-20 15:27:59 [DEBUG] nonebot | QQ | Bot 102066486 calling API shard_url_get
08-20 15:27:59 [INFO] uvicorn | Application startup complete.
08-20 15:27:59 [INFO] uvicorn | Uvicorn running on http://<IP_ADDRESS>:8080 (Press CTRL+C to quit)
08-20 15:27:59 [DEBUG] nonebot | Minecraft | WebSocket Connection to ws://<IP_ADDRESS>:8089 established
08-20 15:27:59 [INFO] nonebot | Minecraft | Connecting RCON for Bot Server
08-20 15:27:59 [ERROR] nonebot | Minecraft | Error while setup websocket to ws://<IP_ADDRESS>:8089. Trying to reconnect...
Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 46, in connect
    self._reader, self._writer = await asyncio.wait_for(
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 48, in open_connection
    transport, _ = await loop.create_connection(
  File "uvloop/loop.pyx", line 2039, in create_connection
    raise exceptions[0]
  File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
    await waiter
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 256, in _connect_rcon
    await rcon.connect(timeout=server.timeout)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 54, in connect
    raise RCONConnectionError("The remote server refused the connection.", e)
aiomcrcon.errors.RCONConnectionError: The remote server refused the connection.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
    uvicorn.run(
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
> File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 153, in _forward_ws
    rcon = await self._connect_rcon(server_name, url.host)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 262, in _connect_rcon
    raise RCONConnectionError(e.message, e.error)
nonebot.adapters.minecraft.exception.RCONConnectionError: <NetWorkError message=The remote server refused the connection.>
08-20 15:28:00 [DEBUG] nonebot | QQ | WebSocket Connection to wss://api.sgroup.qq.com/websocket established
08-20 15:28:00 [INFO] nonebot | QQ | Bot 102066486 connected
08-20 15:28:00 [SUCCESS] nonebot | QQ 102066486 | [EventType.READY]: {'event_id': None, 'version': 1, 'session_id': '08aa0183-9192-4181-9911-b2beac2acbf7', 'user': {'id': '11855412983536797411', 'username': '萱雪酱的机器人', 'avatar': None, 'bot': True, 'union_openid': None, 'union_user_account': None}, 'shard': (0, 1)}
08-20 15:28:00 [DEBUG] nonebot | Checking for matchers in priority 1...
08-20 15:28:00 [DEBUG] nonebot | Checking for matchers in priority 4...
08-20 15:28:00 [DEBUG] nonebot | Checking for matchers in priority 5...
08-20 15:28:00 [DEBUG] nonebot | Checking for matchers in priority 10...
08-20 15:28:00 [DEBUG] nonebot | Checking for matchers completed
08-20 15:28:02 [DEBUG] nonebot | Minecraft | WebSocket Connection to ws://<IP_ADDRESS>:8089 established
08-20 15:28:02 [INFO] nonebot | Minecraft | Connecting RCON for Bot Server
08-20 15:28:02 [ERROR] nonebot | Minecraft | Error while setup websocket to ws://<IP_ADDRESS>:8089. Trying to reconnect...
Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 46, in connect
    self._reader, self._writer = await asyncio.wait_for(
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 48, in open_connection
    transport, _ = await loop.create_connection(
  File "uvloop/loop.pyx", line 2039, in create_connection
    raise exceptions[0]
  File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
    await waiter
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 256, in _connect_rcon
    await rcon.connect(timeout=server.timeout)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 54, in connect
    raise RCONConnectionError("The remote server refused the connection.", e)
aiomcrcon.errors.RCONConnectionError: The remote server refused the connection.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
    uvicorn.run(
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
> File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 153, in _forward_ws
    rcon = await self._connect_rcon(server_name, url.host)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 262, in _connect_rcon
    raise RCONConnectionError(e.message, e.error)
nonebot.adapters.minecraft.exception.RCONConnectionError: <NetWorkError message=The remote server refused the connection.>
08-20 15:28:05 [DEBUG] nonebot | Minecraft | WebSocket Connection to ws://<IP_ADDRESS>:8089 established
08-20 15:28:05 [INFO] nonebot | Minecraft | Connecting RCON for Bot Server
08-20 15:28:05 [ERROR] nonebot | Minecraft | Error while setup websocket to ws://<IP_ADDRESS>:8089. Trying to reconnect...
Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 46, in connect
    self._reader, self._writer = await asyncio.wait_for(
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 48, in open_connection
    transport, _ = await loop.create_connection(
  File "uvloop/loop.pyx", line 2039, in create_connection
    raise exceptions[0]
  File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
    await waiter
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 256, in _connect_rcon
    await rcon.connect(timeout=server.timeout)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 54, in connect
    raise RCONConnectionError("The remote server refused the connection.", e)
aiomcrcon.errors.RCONConnectionError: The remote server refused the connection.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
    uvicorn.run(
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
> File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 153, in _forward_ws
    rcon = await self._connect_rcon(server_name, url.host)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 262, in _connect_rcon
    raise RCONConnectionError(e.message, e.error)
nonebot.adapters.minecraft.exception.RCONConnectionError: <NetWorkError message=The remote server refused the connection.>
08-20 15:28:08 [DEBUG] nonebot | Minecraft | WebSocket Connection to ws://<IP_ADDRESS>:8089 established
08-20 15:28:08 [INFO] nonebot | Minecraft | Connecting RCON for Bot Server
08-20 15:28:08 [ERROR] nonebot | Minecraft | Error while setup websocket to ws://<IP_ADDRESS>:8089. Trying to reconnect...
Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 46, in connect
    self._reader, self._writer = await asyncio.wait_for(
  File "/usr/local/lib/python3.12/asyncio/tasks.py", line 520, in wait_for
    return await fut
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 48, in open_connection
    transport, _ = await loop.create_connection(
  File "uvloop/loop.pyx", line 2039, in create_connection
    raise exceptions[0]
  File "uvloop/loop.pyx", line 2016, in uvloop.loop.Loop.create_connection
    await waiter
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 256, in _connect_rcon
    await rcon.connect(timeout=server.timeout)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/aiomcrcon/client.py", line 54, in connect
    raise RCONConnectionError("The remote server refused the connection.", e)
aiomcrcon.errors.RCONConnectionError: The remote server refused the connection.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 25, in <module>
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/__init__.py", line 335, in run
    get_driver().run(*args, **kwargs)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
    uvicorn.run(
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
> File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 153, in _forward_ws
    rcon = await self._connect_rcon(server_name, url.host)
  File "/root/bot/mc_bot/.venv/lib/python3.12/site-packages/nonebot/adapters/minecraft/adapter.py", line 262, in _connect_rcon
    raise RCONConnectionError(e.message, e.error)
nonebot.adapters.minecraft.exception.RCONConnectionError: <NetWorkError message=The remote server refused the connection.>

既然防火墙开启了，关闭就行

防火墙对应端口开启了也还是报这个

链接问题解决了

QQ   ---> MC 又有新的问题了

08-20 21:02:30 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_mcqq.minecraft_msg, lineno=14) failed.
Traceback (most recent call last):
File "", line 25, in
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/init.py", line 335, in run
get_driver().run(*args, **kwargs)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/drivers/fastapi.py", line 186, in run
uvicorn.run(
File "/root/bot/mc/.venv/lib/python3.12/site-packages/uvicorn/main.py", line 577, in run
server.run()
File "/root/bot/mc/.venv/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/message.py", line 476, in check_and_run_matcher
await _run_matcher(

File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/message.py", line 428, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 850, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 825, in simple_run
await handler(
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/dependencies/init.py", line 94, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot_plugin_mcqq/minecraft_msg.py", line 29, in handle_mc_msg
await send_mc_msg_to_qq(event.server_name, msg_result)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/mcqq_tool/send_to_qq.py", line 46, in send_mc_msg_to_qq
await bot.send_to_channel(
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 365, in send_to_channel
return await self.post_messages(
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 122, in call_api
raise exception
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 97, in call_api
result = await self.adapter._call_api(self, api, **data)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/adapter.py", line 423, in _call_api
return await api_handler(bot, **data)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/utils.py", line 64, in call
return await self.func(inst, *args, **kwds)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 1004, in post_messages
return type_validate_python(GuildMessage, await self._request(request))
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 551, in _request
return self._handle_response(response)
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 540, in _handle_response
raise ActionFailed(response)
nonebot.adapters.qq.exception.ActionFailed: <ActionFailed: 500, code=304023, message=push message is waiting for audit now, data={'message_audit': {'audit_id': '6a0cf516-e04a-43b4-9716-0e82cb0eb979'}}, trace_id=2d650b0efeda737ea8298d40a65b470c>

这是QQ适配器的异常，push message is waiting for audit now 意思为：推送消息正在等待审核

不会是因为这个吧

感谢已解决！

请问一下能否像"/say 你好"这样的格式 不然其他命令无法使用

不能，泛命令可能会阻断其他插件的信息

互通导致其他命令无法使用

暂未解决，等待更新，或者手动更新插件命令的优先级

如何更改该插件的优先级呢？

更改插件的__init__.py?


Count processed tuples monotonically

We were emitting them as gauges before, but that's incorrect - the tuples come in as a total over the lifetime of the topology (which means we probably want monotonic counters). This PR adjusts that.
(Also, fix error reporting as my tests in QA revealed that the cache job can in fact error out (-:)

R, @gphat? I think this behaves correctly in QA now (my super weird screenshots from yesterday notwithstanding): https://stripe.datadoghq.com/dash/97836/monster-consumer?live=true&page=0&is_auto=false&from_ts=1466510422465&to_ts=1466524822465&tile_size=m&tpl_var_host_env=qa&tpl_var_monster_consumer=*&fullscreen=false
I'm still super unsure about whether we realllllly want a monotonic count here, but it seems correct for this thing?

👍
I think we do want them here. Amusingly this follows a regular patter for me too:

Ship an integration
Look at metrics
Send a follow-up PR converting things to monotonic_count

I wonder why we always miss them? :)
Also, insert joke here about using a dict of MONOTONIC_COUNTERS and then you :tableflip:ing about metaprogramming. :)

ahaha, :flipitsquirrel:


gccgo: building non-empty struct with zero-sized trailing fields failed

What version of Go are you using (go version)?

go version go1.13 gollvm LLVM 10.0.0svn linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/hostname/.cache/go-build"
GOENV="/home/hostname/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/hostname/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/hostname/gollvm-master/install"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/hostname/gollvm-master/install/tools"
GCCGO="/home/hostname/gollvm-master/install/bin/llvm-goc"
AR="ar"
CC="/usr/bin/cc"
CXX="/usr/bin/c++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build409229965=/tmp/go-build -gno-record-gcc-switches -funwind-tables"

What did you do?
https://play.golang.org/p/9QxcZb4KPJh
Build and run the above code with gccgo (gcc backend) and gollvm go (llvm backend)
What did you expect to see?
Nothing output.
What did you see instead?
For gollvm go, the error messages are as follow:
llvm-goc: ./gollvm-master/llvm/tools/gollvm/bridge/go-llvm-materialize.cpp:860: Bexpression* Llvm_backend::materializeComposite(Bexpression*): Assertion `vals.size() == numElements' failed.
For gccgo, the error messages are as follow:
go1: internal compiler error: in return_statement, at go/go-gcc.cc:2168
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions.
A simple profiling:
For non-empty struct with zero-sized trailing fields, we add an extra field "_" to it in gofrontend/go/types.cc:get_backend_struct_fields. But the Bexpression of the results has the same element size with the original results sequence. So the assert failed. I didn't dig into the gccgo code, but I guess the cause of this issue should be the same. There are multiple such assertions in gollvm code, simply removing them don't work. I don't know how gc go handles this case, but gc go can really handle this case.
CC @ianlancetaylor @thanm @cherrymui

Thanks for reporting this.  I'll take a look.


Utility Classes from Stacked Architecture

Is your feature request related to a problem? Please describe.
I don't know if you've heard about the stacked architecture, its awesome.
As part of the package, you get these very nice utility classes like one that runs a future immediately the view is created, sets the view to busy while the data is being fetched, and then back to idle when the data is ready, and a lot more.
The package uses provider under the hood and so I tried my hands at making a version for Get. You can find it here.
Describe the solution you'd like
I'd like to know if these classes could be added to Get.
You could run the entire app to see how this works and if you do consider it I'm available to help any way I can.

I'm really impressed, you did a good job!
I do know Stacked, I have already made some PRs in the Stacked Services repository (which uses Get), but I never had the opportunity to use it personally, however much I wanted to try, because of the use of the Provider.
I can try to support Stacked, especially in the version you created, but I think it would be better to keep it maybe in a separate package, but anyway, that looks good.

Thanks for the feedback, FilledStacks also advised creating a separate package.

Hello,
Believe the link provided is wrong
"You can find it here https://github.com/Prn-Ice/get_only_example/blob/master/lib/core/viewmodels/base_view_model.dart.”
Regards,
Niranjan G Mandan

On 03-Jul-2020, at 7:58 AM, Prince Nna<EMAIL_ADDRESS>wrote:
Is your feature request related to a problem? Please describe.
I don't know if you've heard about the stacked https://pub.dev/packages/stacked architecture, its awesome.
As part of the package, you get these very nice utility classes like one that runs a future immediately the view is created, sets the view to busy while the data is being fetched, and then back to idle when the data is ready, and a lot more.
The package uses provider under the hood and so I tried my hands at making a version for Get. You can find it here https://github.com/Prn-Ice/get_only_example/blob/master/lib/core/viewmodels/base_view_model.dart.
Describe the solution you'd like
I'd like to know if these classes could be added to Get.
You could run the entire app to see how this works and if you do consider it I'm available to help any way I can.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/jonataslaw/getx/issues/337, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACHCLQU7VZ7YM2OHYPQ7PULRZU65FANCNFSM4OPM7S7Q.

Yeah, I changed it.

Well, if you want to work on it, you can create something like get_stacked, and I can even link it later in the readme.
I have no time to be able to dedicate myself to side projects for now, so I leave the possibility for you to continue with this, since you have done the job.
For now I'm closing this, but if you have any questions, I'll answer.
Perhaps other communication channels such as the gitter are more appropriate to discuss these issues as well. Thanks for working on it, it looks promising.

get_stacked, Just the name I was considering, I'll add the link here after I'm done publishing.

Its up now here

Its up now here

Amazing work! Thanks


Add notification preference to simplified report object

@thienlnam please review
Details
Just start adding the notificationPreference to the simplifiedReportObject for a user if they have one set on a default chat room.
Fixed Issues
For https://github.com/Expensify/Expensify/issues/161781
Tests

Added a notificationPreference to a report for a user, made sure that the particular preference was shown in the report object in the local storage for the app:

Checked the local storage for a chat without any preference, made sure it defaulted to daily:

Checked the local storage for a DM, made sure it had nothing under notificationPreference

QA Steps

None

Tested On

[x] Web
[ ] Mobile Web
[ ] Desktop
[ ] iOS
[ ] Android

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging in version: 1.0.73-4🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production in version: 1.0.74-0🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Add extra tracking modifier for inputs

This adds a --extra-tracking modifier for inputs which increases the tracking, and turns on tabular numbers.
The idea is that this modifier would be used for inputs asking for e.g. reference or phone numbers, where the user would be checking back one character at a time.
This was inspired by https://github.com/alphagov/notifications-admin/pull/1545
Without modifier

With modifier

Questions…

is this useful?
is there a better name than --extra-tracking?
is it an issue that the width modifiers behave differently, because 1ex has a different width?

Is this useful?

I could raise this on the backlog as a suggestion, since this could be quick for service teams to implement and try out?

Thanks for picking this up, I’d be really happy to see it go into the Design System. Couple of thoughts:
Naming things
Would --extra-letter-spacing or --more-letter-spacing be better names? Although ‘tracking’ means the same thing (in a typography context) it is ambiguous. Letter spacing is also a commonly-used term; letter-spacing is the name of the CSS property.
Spaces
Something that came up discussing this with @tombye
Should there be/is there some associated guidance about being forgiving about spaces being typed in these kinds of field? There’s some discussion on the phone numbers issue in the backlog already, but it feels like a wider thing than that.
People often use spaces to ‘chunk’ long numbers (phone numbers, credit card numbers, licence numbers) to make them easier to transcribe. Services should be forgiving of this and not respond with validation errors.

Closing this for now as it's been deprioritised.

Noticed a nice example of this from Amazon the other day:

@36degrees @timpaul any chance of resurrecting this? I think it could be useful for a number of patterns asking for numerical codes, including security (2FA) codes.


ARROW-15989: [R] rbind & cbind for Table & RecordBatch

Summary of Changes

Added rbind and cbind for Table
Added cbind for RecordBatch. rbind just redirects the user to use Table$create
Changed c.Array() implementation to use either concat_array() or ChunkedArray$create() depending on whether the user wants a single array or zero-copy.
Implemented c.ChunkedArray

cc @jonkeane @paleolimbot

@paleolimbot For the column filling, should that be the behavior of rbind, or an alternative row binding function? For example, I think tibble has separated behavior for each:
> library(dplyr)
> rbind(tibble(x = 1:2), tibble(y = 2:4))
Error in match.names(clabs, names(xi)) :
  names do not match previous names
> bind_rows(tibble(x = 1:2), tibble(y = 2:4))
# A tibble: 5 × 2
      x     y
  <int> <int>
1     1    NA
2     2    NA
3    NA     2
4    NA     3
5    NA     4

But it is really useful and difficult to replicate if there's a good way to do it here!

I 100% agree. However, there seems to be an issue on the C++ side blocking this. I've created a new issue to tackle that. https://issues.apache.org/jira/browse/ARROW-16085

Got the cbind implementation to work with more types, so it's now more analogous to base cbind.

Seems that S3 dispatch isn't behaving nicely in R 3.6 for cbind.Table:
> do.call(cbind.Table, inputs)
Table
2 rows x 5 columns
$z <int32>
$a <int32>
$b <int32>
$c <dictionary<values=string, indices=int8>>
$d <int32>
> do.call(cbind, inputs)
          b c d
 [1,] ? ? ? 1 1
 [2,] ? ? ? 2 1
 [3,] ? ? ? 1 1
 [4,] ? ? ? 2 1
 [5,] ? ? ? 1 1
 [6,] ? ? ? 2 1
 [7,] ? ? ? 1 1
 [8,] ? ? ? 2 1
 [9,] ? ? ? 1 1
[10,] ? ? ? 2 1
[11,] ? ? ? 1 1
[12,] ? ? ? 2 1
[13,] ? ? ? 1 1
[14,] ? ? ? 2 1
[15,] ? ? ? 1 1
[16,] ? ? ? 2 1
[17,] ? ? ? 1 1
[18,] ? ? ? 2 1
[19,] ? ? ? 1 1
[20,] ? ? ? 2 1
[21,] ? ? ? 1 1
[22,] ? ? ? 2 1
[23,] ? ? ? 1 1
[24,] ? ? ? 2 1
[25,] ? ? ? 1 1
[26,] ? ? ? 2 1
[27,] ? ? ? 1 1
[28,] ? ? ? 2 1
[29,] ? ? ? 1 1
[30,] ? ? ? 2 1
[31,] ? ? ? 1 1
[32,] ? ? ? 2 1
[33,] ? ? ? 1 1
[34,] ? ? ? 2 1
[35,] ? ? ? 1 1
[36,] ? ? ? 2 1
Warning message:
In (function (..., deparse.level = 1)  :
  number of rows of result is not a multiple of vector length (arg 2)

The reason for the odd dispatch is that R 3.6 looks for a cbind implementation for each argument, and if it finds multiple then it falls back to the built-in cbind. Our cbind.RecordBatch test only has one input with a cbind method (the record batch), but our cbind.Table test has two (record batch + table).

That is wild! A way around that would be to define our own arrow_rbind() and arrow_cbind() and error for built-in rbind() and cbind() since it's harder to predict exactly which method will get called.

That's a good point. I think the R 4.0+ behavior works well, and not sure how much longer we are supporting 3.6, so what I've done for now is just modify the tests to not enforce that particular case in R < 4.0.

FYI @paleolimbot this is ready for re-review

I've improved the error messages and added support for data.frame in cbind.
library(arrow, warn.conflicts = FALSE)

# Concatenating chunked arrays returns a new chunked array containing all chunks
a <- chunked_array(c(1, 2), 3)
b <- chunked_array(c(4, 5), 6)
c(a, b)
#> ChunkedArray
#> [
#>   [
#>     1,
#>     2
#>   ],
#>   [
#>     3
#>   ],
#>   [
#>     4,
#>     5
#>   ],
#>   [
#>     6
#>   ]
#> ]

# RecordBatch doesn't support rbind
rbind(
  RecordBatch$create(a = 1:10),
  RecordBatch$create(a = 2:4)
)
#> Error in `rbind()`:
#> ! Use `Table$create()` to combine record batches

# Array no longer supports c()
a <- Array$create(c(1, 2))
b <- Array$create(c(4, 5))
c(a, b)
#> Error in `c()`:
#> ! Use `concat_arrays()` or `ChunkedArray$create()` instead.
#> ℹ `concat_arrays()` creates a new Array by copying data.
#> ℹ `ChunkedArray$create()` uses the arrays as chunks for zero-copy concatenation.

# cbind() for Recordbatch handles a variety of input types
cbind(
  record_batch(a = 1:2),
  record_batch(b = 4:5)
)
#> RecordBatch
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  record_batch(a = 1:2),
  data.frame(b = 4:5)
)
#> RecordBatch
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  record_batch(a = 1:2),
  b = Array$create(4:5)
)
#> RecordBatch
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

# ...with nice errors for invalid arguments
cbind(
  record_batch(a = 1:2),
  b = Array$create(4:6)
)
#> Error in `cbind_check_length()`:
#> ! Non-scalar inputs must have an equal number of rows. ..1 has 2, ..2 has 3

cbind(
  record_batch(a = 1:2),
  b = c(1 + 4i, 2 + 3i)
)
#> Error in `cbind()`:
#> ! Error occured when trying to convert input ..b to an Arrow Array
#> Caused by error:
#> ! Cannot infer type from vector

# cbind() for Table works the same
cbind(
  arrow_table(a = 1:2),
  arrow_table(b = 4:5)
)
#> Table
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  arrow_table(a = 1:2),
  data.frame(b = 4:5)
)
#> Table
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  arrow_table(a = 1:2),
  b = Array$create(4:5)
)
#> Table
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

# ...with nice errors for invalid arguments
cbind(
  arrow_table(a = 1:2),
  b = Array$create(4:6)
)
#> Error in `cbind()`:
#> ! Error occured when trying to convert input ..b to an Arrow Array
#> Caused by error in `cbind_check_length()`:
#> ! Non-scalar inputs must have an equal number of rows. ..1 has 2, ..2 has 3

cbind(
  arrow_table(a = 1:2),
  b = c(1 + 4i, 2 + 3i)
)
#> Error in `cbind()`:
#> ! Error occured when trying to convert input ..b to an Arrow Array
#> Caused by error:
#> ! Cannot infer type from vector

# ...rbind works for Tables with a common schema
rbind(
  arrow_table(a = 1:2),
  arrow_table(a = 3:4)
)
#> Table
#> 4 rows x 1 columns
#> $a <int32>

# ...with nice errors for Tables with non-unifiable schemas
rbind(
  arrow_table(a = 1:2),
  arrow_table(b = 3:4)
)
#> Error in `rbind()`:
#> ! Schema at index 2 does not match the first schema
#> ℹ Schema 1:
#> a: int32
#> ℹ Schema 2:
#> b: int32

Errors now show cbind() or rbind() as calls instead of showing internal helper functions.
# Concatenating chunked arrays returns a new chunked array containing all chunks
a <- chunked_array(c(1, 2), 3)
b <- chunked_array(c(4, 5), 6)
c(a, b)
#> ChunkedArray
#> [
#>   [
#>     1,
#>     2
#>   ],
#>   [
#>     3
#>   ],
#>   [
#>     4,
#>     5
#>   ],
#>   [
#>     6
#>   ]
#> ]

# RecordBatch doesn't support rbind
rbind(
  RecordBatch$create(a = 1:10),
  RecordBatch$create(a = 2:4)
)
#> Error in `rbind()`:
#> ! Use `Table$create()` to combine record batches

# Array no longer supports c()
a <- Array$create(c(1, 2))
b <- Array$create(c(4, 5))
c(a, b)
#> Error in `c()`:
#> ! Use `concat_arrays()` or `ChunkedArray$create()` instead.
#> ℹ `concat_arrays()` creates a new Array by copying data.
#> ℹ `ChunkedArray$create()` uses the arrays as chunks for zero-copy concatenation.

# cbind() for Recordbatch handles a variety of input types
cbind(
  record_batch(a = 1:2),
  record_batch(b = 4:5)
)
#> RecordBatch
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  record_batch(a = 1:2),
  data.frame(b = 4:5)
)
#> RecordBatch
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  record_batch(a = 1:2),
  b = Array$create(4:5)
)
#> RecordBatch
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

# ...with nice errors for invalid arguments
cbind(
  record_batch(a = 1:2),
  b = Array$create(4:6)
)
#> Error in `cbind()`:
#> ! Non-scalar inputs must have an equal number of rows.
#> ℹ ..1 has 2, ..2 has 3

cbind(
  record_batch(a = 1:2),
  b = c(1 + 4i, 2 + 3i)
)
#> Error in `cbind()`:
#> ! Error occurred when trying to convert input ..b to an Arrow Array
#> Caused by error:
#> ! Cannot infer type from vector

# And can make up names for vector input types

cbind(
  record_batch(a = 1:2),
  b = Array$create(4:5),
  c("a", "b")
)
#> RecordBatch
#> 2 rows x 3 columns
#> $a <int32>
#> $b <int32>
#> $X.1 <string>

# cbind() for Table works the same
cbind(
  arrow_table(a = 1:2),
  arrow_table(b = 4:5)
)
#> Table
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  arrow_table(a = 1:2),
  data.frame(b = 4:5)
)
#> Table
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

cbind(
  arrow_table(a = 1:2),
  b = Array$create(4:5)
)
#> Table
#> 2 rows x 2 columns
#> $a <int32>
#> $b <int32>

# ...with nice errors for invalid arguments
cbind(
  arrow_table(a = 1:2),
  b = Array$create(4:6)
)
#> Error in `cbind()`:
#> ! Non-scalar inputs must have an equal number of rows.
#> ℹ ..1 has 2, ..2 has 3

cbind(
  arrow_table(a = 1:2),
  b = c(1 + 4i, 2 + 3i)
)
#> Error in `cbind()`:
#> ! Error occurred when trying to convert input ..b to an Arrow Array
#> Caused by error:
#> ! Cannot infer type from vector

# ...rbind works for Tables with a common schema
rbind(
  arrow_table(a = 1:2),
  arrow_table(a = 3:4)
)
#> Table
#> 4 rows x 1 columns
#> $a <int32>

# ...with nice errors for Tables with non-unifiable schemas
rbind(
  arrow_table(a = 1:2),
  arrow_table(b = 3:4)
)
#> Error in `rbind()`:
#> ! Schema at index 2 does not match the first schema
#> ℹ Schema 1:
#> a: int32
#> ℹ Schema 2:
#> b: int32

FYI, on second thought, I'd rather do the integration work with the S3 generics in a follow-up PR.

@github-actions crossbow submit -g r

@nealrichardson can we merge this?


sweepAll priority parameter is int, not TransferPriority enum

The priority parameter for transfer() is a TransferPriority enum. It would be nice if all the payment methods were consistent.

Hi @jasonestewart , thanks for creating this issue, the sweepAll and sweepSingle methods will now also accept a TransferPriority enum.


verifying module: checksum mismatch

github.com/wI2L/jsondiff<EMAIL_ADDRESS>verifying module: checksum mismatch
	downloaded: h1:BCzyP6xQWeF7XSPMNeVJNzxUEJ4BBeMn2KQxNuozyWU=
	sum.golang.org: h1:xS4zYUspH4U3IB0Lwo9+jv+MSRJSWMF87Y4BpDbFMHo=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

@grandeto
github.com/wI2L/jsondiff v0.5.1 h1:xS4zYUspH4U3IB0Lwo9+jv+MSRJSWMF87Y4BpDbFMHo=

This is indeed what I get when I get this exact version.
Could you try to clean your modules caches and see if it happens again ?

github.com/wI2L/jsondiff v0.5.1

tested both go clean -modcache and GOSUMDB="sum.golang.org" go get<EMAIL_ADDRESS>on a brand new machine, never downloaded the pkg before
no change.
on the contrary, no issue with v0.5.0

Usually this kind of shenanigans happens when the tag is replaced/repushed, and the proxy had the time to cache the version, but I don't remember messing with this tag in particular, nor can I replicate the issue on machine with the official Go proxy.
Could you please confirm that the GOPROXY env var points to the office proxy.golang.org ?
I'll dig a bit more about this issue, but I bet that pushing a new tag and retracting this one will probably be the way to go.

Could you retry with:
GOPROXY=https://proxy.golang.org,direct in env, and go clean -modcache followed by a go mod tidy ?

https://proxy.golang.org did the trick
in my case GOPROXY was just direct
thanks. closing...


Add initial test suite

This is a very initial test suite that tests mostly the script's entrypoint.
The DownloadManager class is entirely mocked, so it not tested.
All the HTTP communication is mocked, the responses are stored within tests/cassettes directory (everything there is auto-generated).
I did also some minor changes in imports to make testing easier.
I can't see any good place to put a description of how to run tests, so I've created a README.md within the tests directory for now.
Given the fact that I've focused only to test a single module, the code coverage is decent:
----------- coverage: platform win32, python 3.8.3-final-0 -----------
Name                                  Stmts   Miss  Cover
---------------------------------------------------------
spotdl\__init__.py                        1      0   100%
spotdl\__main__.py                       41      4    90%
spotdl\download\__init__.py               1      0   100%
spotdl\download\downloader.py           107     88    18%
spotdl\download\progressHandlers.py      85     53    38%
spotdl\patches\__init__.py                1      1     0%
spotdl\patches\pyTube.py                 90     90     0%
spotdl\search\__init__.py                 1      0   100%
spotdl\search\provider.py               111     12    89%
spotdl\search\songObj.py                 70     25    64%
spotdl\search\spotifyClient.py           13      1    92%
spotdl\search\utils.py                   38     10    74%
---------------------------------------------------------
TOTAL                                   559    284    49%

If you are OK with what's already done, I think it could be merged and then I'll work further on extending the suite.

Well, as embarassing as this is, I have never written up tests before. Any things unique about test code that i should know?
I'll look through your code on a general basis and let you know by the end of this week.

Most of the tests are quite similar. First I fake sys.argv to simulate different command-line arguments.
Then I call the entry point function and see what is happening. I test if the valid message is printed to the console and if the correct method from DownloadManager has been called. The download methods are not executed as I mock them within patch_dependencies() fixture.
The tests are written with pytest framework, which is the best framework available for python, and one of the best testing frameworks in general. I recommend reading a bit about it, especially about fixtures which are very useful while testing.
And, well, practice makes perfect - start small and grow :)

cool. Thanks for the "well, check this out and this too" - a little head start helps a lot. Thanks again.

@aklajnert Thanks a ton for getting this in motion. I, like @Mikhail-Zex , have never officially used tests but I see the need for them. Also thanks for documenting use in the readme.
Question, would the monkey patches be needed for asyncio?

Question, would the monkey patches be needed for asyncio?

It depends on the test, what you want to achieve with it. Probably some mocks will be needed to make the tests faster.
If you merge this, I'll build on it to extend the tests and add some more. Preferably on the DownloadManager class after #994 will be merged.

We're definitely merging this. Hey @phcreery review this. I will too.

Looks good to go for me.

Should I also change a branch here, or can it go to master? If yes, then I think it could go to both actually.

Change the branch. I'll merge it.

@Mikhail-Zex - I've just rebased the changes to the new branch, should be good to go

Cool.


Update pos-get-started.md

Fixed broken link under Retaining the Device.  It now correctly links to section at end titled #sharing-a-device-between-apps

@GrantMeStrength : PR passed checklist review. Please evaluate the change and approve/merge if appropriate. Note also that the YAML metadata (author and ms.author) for this article is out of date. Thanks!


fix: Tasks scheduled through 'SchedulerBinding.instance.scheduleTask' were not executed

Related Issues
#82016
Description
This PR is for solving that tasks scheduled through 'SchedulerBinding.instance.scheduleTask' were not executed.
Before modification, if a task has a priority of idle, it will not be scheduled when the on-screen animation ends.
The problem is that once the 'handleEventLoopCallback()' returns false, the _TaskQueue will not be scheduled again until the next scheduleTask.
Therefore, when 'handleEventLoopCallback()' returns false, it is determined whether the queue is empty or not to continue scheduling.
To avoid frequent scheduling, wait until the next frame when 'handleEventLoopCallback() 'returns false (because I assume that by default the return value of 'handleEventLoopCallback()' does not change within the same frame).
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@googlebot I signed it!

SomeThing wrong, I will commit again


Question on Virtual IP

In your post you mentioned the below steps for workers.
on all kubernetes worker nodes: set the /etc/kubernetes/bootstrap-kubelet.conf server settings, make sure this settings use the keepalived virtual IP and nginx load balancer port (here is: https://<IP_ADDRESS>:16443)
does keepalived needs to be installed on workers too? without that how would the workers reach the virtual up?

@epasham sorry for reply late, keepalived needs to installed on masters only. keepalived will create a virtual ip, workers just connect this vip.

@cookeem  thanks for the reply.
I have installed keepalived on all the masters. the virtual ip is also working fine across the master servers.
but i cant reach the Virtual IP from workers? any changes to be done on worker to be able to reach the virtual ip enabled on masters?

I see that you have used below network interface
local machine keepalived network interface name config, for example: eth0
export K8SHA_KA_INTF=nm-bond
am using eth0. would that make a difference?

@epasham nm-bond is my network interface name, if yours is eth0, just set eth0 in file create-config.sh and run it again.
keepalived will create a virtual ip, this ip can access by other nodes, if not just check your workers route settings. Make sure your masters and workers and vip is the same subnet.

@cookeem  hi，our company used aliyun vps . no slb ,no vip. can use this repo to implement api-server HA?

@motecshine 阿里云有专门的负载均衡，可以直接购买的。
或者你看看这篇文章，关于HAVIP的，不过是2016年的，不知道现在还是否支持。
https://yq.aliyun.com/articles/24155

@cookeem  谢谢啦 我的英文是不是贼烂 😁

@motecshine 是因为我英文差

keepalived vip works perfectly in masters. but it doesnt work on nodes though
masters and nodes are in same subnet

@epasham nodes can't connect the masters vip? Can you show me the command result on nodes?
curl -k -v https://vip:6443` on

nginx is running on all masters on port 8443 for load balancing api servers.
when i hit vip http on master
[root@kha-lab-node1 keepalived]# curl -k https://<IP_ADDRESS>:8443
{
"kind": "Status",
"apiVersion": "v1",
"metadata": {
},
"status": "Failure",
"message": "forbidden: User "system:anonymous" cannot get path "/"",
"reason": "Forbidden",
"details": {
},
"code": 403
}
and here is the output from one of the node
[root@kha-lab-node5 ~]# curl -k https://<IP_ADDRESS>:8443
curl: (7) Failed connect to <IP_ADDRESS>:8443; No route to host
it seems to be a routing issue that am not able to figure it out.


Add further example parameters to the UMI section of the manual.

As suggested by @drpatelh on the nf-core Slack, I have added example configurations for two more kits with inline UMIs to the documentation.
However, most library preparation kits require external preprocessing of the UMIs to move them to the read header prior to a pipeline run. I am working on a tool and potentially a subworkflow for this step, but it is likely more reasonable to keep this separate from the main pipeline.
PR checklist

[x] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs- [ ] If necessary, also make a PR on the nf-core/rnaseq branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[x] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Thanks @MatthiasZepper !


[fixed] fixed click collector online offline button error

What's changed?

When you click the collection cluster menu to perform offline and online operations on the collector, a window will pop up to prompt interface 404, because there is an “/” in front of the calling interface/online/and/offline/interface in the collector.service.ts code, and these two interfaces are removed here “/”
Checklist

[ ]  I have read the Contributing Guide
[ ]  I have written the necessary doc or comment.
[ ]  I have added the necessary unit tests and all cases have passed.

Add or update API

[ ] I have added the necessary e2e tests and all cases have passed.

@all-contributors please add @miki-hmt for code


Allow for workers to be more specific in what they dequeue

Instead of all workers dequeueing all roles all the time, which essentially means that queue_name has to be 1:1 to a worker, allow for workers to be more specific in what type of work they dequeue.
Each EMS has their "queue_name" link, I believe it was intended that this ems-queue-name + the role would indicate which worker would dequeue the work.  With all workers dequeueing for all roles though, this means that the ems.queue_name is only valid for a single worker.
This happens to be the RefreshWorker since it is the only queue_worker that operates PerEmsWorker.  The other QueueWorker is the metrics collector but it is PerEmsType so its queue_name is e.g. "vmware".  If we add more PerEmsWorker workers we are going to start having a bad time.
E.g. I added a Vmware::InfraManager::OperationsWorker and when I queued something for role: ems_operations, queue_name: ems.queue_name I was surprised to find that the Vmware::InfraManager::RefreshWorker picked it up.
The alternative would be to actually make the queue_name 1:1 to a worker, in which case we should change ems.queue_name to something like queue_name_for_refresh and change the queue_name to refresh_ems_#{id}.

LGTM, I'm not exactly sure why this hasn't been a problem yet. Is it because queue_name + roles is preventing queue messages from being picked up by the wrong worker?

I'm not exactly sure why this hasn't been a problem yet.

We just so happened to only have one PerEmsWorker that was also an MiqQueueWorker using ems.queue_name and it was the refresh worker.  The metrics collector is PerEmsTypeWorker and everything else isn't a queue worker.

@jrafanie interestingly the drb dequeue method seems to work as expected,
next unless w[:class].required_roles.blank? || msg[:role].blank? || w[:class].required_roles.to_miq_a.include?(msg[:role])
But for some reason the refresh_worker doesn't use the drb dequeue method.  Either way I think drb and sql dequeue methods should behave the same way.


How do I use this?

Examples would be much appreciated :)

haha indeed :D, basically pass in these fields: https://github.com/tj/go-ses/blob/master/ses.go#L17-L21, and ses.New(session.New(aws.NewConfig())) to https://github.com/tj/go-ses/blob/master/ses.go#L12

Thanks @tj! Figured it out :)


upload file problem when using  with autoform

hi , i just find demo upload file , i have problem when using with autoform . it's stop work !
please , help correct it , thank you for advance .
here demo :
http://meteorpad.com/pad/zzpdePANFghRbGGmD/File Upload with Submit

problem fixed !


Not working (PgDn to Right arrow) on emoji panel (WIN +. )

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
Key Management -> PgDn to Right
Win + . opens Emoji Windows 11 keyboard and Clipboard
Trying no navigate with arrows is impossible due problem explained before
✔ Expected Behavior
Key Management -> PgDn to Right
Win + . opens Emoji Windows 11 keyboard and Clipboard
Navigate with arrows Left, Up, Down and Right changed to PgDn
I haven't noticed about other issues like this.
❌ Actual Behavior
Not working properly only in Emoji Keyboard
Other Software
No response

Duplicate of #14328

Thanks for reporting this. This issue is a duplicate.
I'm linking this issue to #14328 to centralize the discussion thread for tracking.
Thanks for your help to make PowerToys a better piece of software!


Simple example fails with No module named 'llama_cpp'

After installing the dependencies (adjusted per #5 and #8), and attempting to run an example such as the one from the readme, it fails on the first line when llama_cpp isn't installed.

I do see that after addressing #10 by installing jupyter, I'm able to launch the jupyter notebook, and it provides instructions on how to install llama_cpp. Those should probably be moved to the readme instead, since the examples rely on it outside of the jupyter example.


new youtuber added

New Youtuber Added In Music Section

@kdp-alpha - thanks for the contribution!


Added the amount of resources

Issue https://github.com/awslabs/cfn-python-lint/issues/75
Add the amount of resources so it's clear how many resources there are
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Good one, I'll clarify

We should probably do this for all limit rules (parameters, mappings, resources, and outputs).
@fatbasstard  -- do you want to add them to this commit, or shall I merge this one then update the others?

I'll add then, on it

#78 should give you all the files that need changing.


skiplist_test fails on Debian mips

==== PASSED 6 tests
***** Running skiplist_test
==== Test SkipTest.Empty
==== Test SkipTest.InsertAndLookup
==== Test SkipTest.ConcurrentWithoutThreads
==== Test SkipTest.Concurrent1
Run 0 of 1000
db/skiplist_test.cc:243: failed:<PHONE_NUMBER>261 <=<PHONE_NUMBER>877 should not go
backwards
make[1]: *** [check] Error 1

Full buildlog is available here:
https://buildd.debian.org/status/fetch.php?pkg=leveldb&arch=mips&ver=0%2B2012053
0.gitdd0d562-2&stamp=1342539098

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Jul 2012 at 8:24

My first guess is that the atomic pointer implementation for mips is incorrect.
 There isn't a custom one in the leveldb distribution, so either you added one
or you are using the <cstdatomic> version.  Please check which one and try to
figure out who should fix the problem.

Original comment by<EMAIL_ADDRESS>on 12 Oct 2012 at 8:30

Here is the patch we used to apply to provide a custom implementation for MIPS:
http://goo.gl/i19xp

I'm going to drop it and try to build the package with the <atomic>
implementation, I'll keep you informed about the progress.

Original comment by<EMAIL_ADDRESS>on 15 Oct 2012 at 10:33


Lower specificity use case

Been using sheetify recently and really liking it!
Was thinking it would be really nice to be able to support a use case that allows for lower specificity selectors.
basically now you need to do:
Input
:host > .link {
  color: indigo;
}

output
._39jen2 > .link { color: indigo;}

What I'd like to do is:
Input
:host-link {
  color: indigo;
}

output
._39jen2-link { color: indigo; }

thoughts?

Interesting - you could totes create a transform for this. Right now we're
piggy backing on the :host keyword which was introduced for shadow DOM
stuff, think your proposal wouldn't be spec compliant :/
On Tue, Jan 10, 2017, 00:18 kj<EMAIL_ADDRESS>wrote:

Been using sheetify recently and really liking it!
Was thinking it would be really nice to be able to support a use case that
allows for lower specificity selectors.
basically now you need to do:
Input
:host > .link {
color: indigo;
}
output
._39jen2 > .link { color: indigo;}
What I'd like to do is:
Input
:host-link {
color: indigo;
}
output
._39jen2-link { color: indigo; }
thoughts?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stackcss/sheetify/issues/114, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWlerDXPZpvzCFdy74Bz-0-gv9n_rg_ks5rQsAzgaJpZM4Le2Ts
.

totally.
Maybe this is incongruous to what sheetify is trying to do.
Not necessarily wanting to use :host, just wanting access to the unique id that it generates.

Hmm, yeah that can only be done through host at the moment. I think a
transform which mashes up host + following class into a new class should do
the trick tho 😁
On Tue, Jan 10, 2017, 01:12 kj<EMAIL_ADDRESS>wrote:

totally.
Maybe this is incongruous to what sheetify is trying to do.
Not necessarily wanting to use :host, just wanting access to the unique
id that it generates.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/stackcss/sheetify/issues/114#issuecomment-271448675,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleo9ULp6RFolfkLry7VZc91NFRLk6ks5rQs0GgaJpZM4Le2Ts
.


Fix request_space_hardware name in manage spaces guide

Was request_hardware, but should be request_space_hardware.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Oops yes. Thanks for noticing and making a PR :)


HTTPlug Maturity Model

Background
On Slack, while talking about PluginClientFactory documentation, I suggested refactoring the library developer documentation to make it a tutorial. Then @Nyholm suggested a HTTPlug Maturity Model inspired from Richardson Maturity Model.
Introduction
The idea is to write the  HTTPlug Maturity Model as a tutorial, to guide library developer to go from a library depending on Guzzle to a decoupled library decoupled from the HttpClient implementation, decoupled from the Message implementation which use the discovery and use a PluginClient created using PluginClientFactory for zero config profiling.
HTTPlug Maturity Model
Level 0: hard dependency on guzzlehttp/guzzle
That's our starting point. The library is hardly depending on guzzlehttp/guzzle. We have to tell why it's bad and get the user continue reading to the next level.
Level 1: use of HttpClient interface
Here, the user will use the HttpClient interface to allow usage of any compatible library through adapters.
Level 2: use of factories
At this level, the user will use php-http/message to decouple from any message implementation.
Level 3: use of discovery
In 3rd level, the user will learn using the discovery for a better DX.
Level 4: use of PluginClient (with PluginClientFactory and Builder pattern)
At this level, we teach to the library developer how to support extra features like authentication using plugins. We also explain why he should use the PluginClientFactory to enable
zero config profiling when used in a Symfony application which use HttplugBundle.
Each level would expose a situation with a few code examples and at it's end expose the problem which will be solved in the next level (or tell we achieved our journey and have a mature HTTP decoupled library).
I also think we could create a 5th level split out from the 4th. This level could be dedicated to improving the DX by including the PluginClientFactory and builder pattern.
Conclusion
By writing this guide, I think we can teach developers how to write something awesome and can covers in a consolidated doc everything the library developer should know and also promote nice HTTPlug features.
Do you think it worth to be written?

👍  And also, It is fine to stay at each level. Maybe Im happy with my package just reaching level 2. That is very fine.

Nice. 👍
Personally I would leave discovery out, it's a convenience layer, breaks Inversion of Control, so mostly an anti-pattern. In any case, that should be the last level if not left out.

@sagikazarmark we can use discovery and still allow IoC (https://github.com/m4tthumphrey/php-gitlab-api/blob/master/lib/Gitlab/HttpClient/Builder.php#L65-L73). Maybe this could live in the DX level.

i disagree with level 3. it should talk about dependency injection instead, and then lead to level 4, to handle when you need specific plugins to be available. discovery is an antipatern in my eyes (though a popular one, see laravel). maybe have level 3 a and level 3 b to explain the two alternative approaches?

@fbourigault yes, but in this case discovery is a fallback. By default people should use dependency injection, and if they really-really want to put this extra thing into their package, they can make the constructor arguments optional (eg. allow null), and use discovery. It does not break the API.
So I would say, using discovery should always be a last step, one should not start writing software using discovery by default.
For example: when writing an API client to an internal API will probably never require that.


Add util methods related with eta memory management

To achieve #604

To avoid break existing uses of MemoryManager i am writing some tests on several of its methods, in this branch.

I've implemented tests on several methods of MemoryManager
Some of them ara Ignored, i'll add comments for them

Thanks for the careful review, i am afraid i've not checked all the files enough