Cover API/url in a class

Would be nice to have class to cover the base URL to avoid having to repeat it.
E.g.
api=rest-client::API.new('https://some-example.com/some-rest-api')
api.get('/somefunction')
api.put('/another')

Use a variable:
@URL = https://webhook.site/e4bd09f2-4bbd-4c48-a41f

GET {{URL}}/?arg1=00000012345

Which means passing the URL for every single call? Would be poor programming.

``'
@URL = https://webhook.site/e4bd09f2-4bbd-4c48-a41f

GET {{URL}}/somefunction

GET {{URL}}/anotherfunction
'''
I don't know what you mean by "parsing the URL for every single call", the above looks very similar to the code you provided

Well, then maybe this issue should be handled by someone who knows the difference.
URLs are usually parsed by regular expressions, which are expensive in cpu time. If you do a string expansion and URL parsing for every single call (which could mean a million calls per day) you are wasting a lot of cpu time (any maybe battery power). If you put things into a class, it can have class variables to store the result of parsing. It's a matter of efficiency to store and reuse computation results instead of computing them every time from scratch.
And, btw., things are not similar just because the somewhat look similar.

This is a Ruby Gem and not a VSCode plugin. I'm not using VS at all.
This is to call REST APIs, and there are APIs you need to call a million times a day.
Is it, by any means, possible that you don't really understand what this is about?
And no, your proposals on beginner's level are no help at all.

I'm sorry, I've got myself confused with a different project with similar names.
I've deleted my comments as they don't help.


[test] #703: List addressing bug, &33:~ bails

can't repro the hanging one actually.
@cgyarvin do we have any good test harness for libnoun that doesn't involve booting a pill?

…whoops
This PR should not in fact pass CI, if you look at the test log it totally bailed, looks like my scripts' attempt to pass on the urbit process exit code is unsuccesful.

@ohAitch You working on fixing this?

I have a fix for this on my machine at home.  It’s a C bug, very simple.
Sent from my iPhone

On Apr 11, 2018, at 12:22 PM, Anton Dyudin<EMAIL_ADDRESS>wrote:
Hm fair, this PR is in a state of "document reproducibly that #703 is a problem", but actually it's an urbit/urbit issue. It's not something to deploy rn definitely; I can probably tweak the test framework so it warns instead of being run by default, otherwise you tell me what to do with it :3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Neat, once that's on master vere and released as presumably 0.5.2, I can slot the updated .deb into travis and this can get merged as a passing test ^-^

@cgyarvin, bumping this

I could swear I had a fix for this in a branch but looked and didn't find.
It may be on one of my machines at home.  I don't recall it being hard
anyway -- it's a very basic error in fragmentation access.
(I told Ben to fix this just as a fun exercise.)
On Tue, Nov 13, 2018 at 11:05 AM Joe Bryan<EMAIL_ADDRESS>wrote:

@cgyarvin https://github.com/cgyarvin, bumping this
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/urbit/arvo/pull/704#issuecomment-438396613, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AALyAfeltvRsHaw-j8Oy448j6Wjhb0Koks5uuxfpgaJpZM4TKdB-
.

Is the basic error "check for indirect atoms when implementing nock 0"?

superseded by #889


WIP: Enable auto-discovering plugins

What was wrong?
Need to enable auto-discovery of plugins.
Issue: https://github.com/ethereum/py-evm/issues/1230
How was it fixed?
Populating the plugin registry by plugins who have mentioned in their entrypoint as 'trinity.plugins'

https://packaging.python.org/guides/creating-and-discovering-plugins/#using-package-metadata

Question
Do you want an approach where we can select/deselect discovered plugins through a config.ini file? Maybe as mentioned in the issue, not needed to be implemented in this PR.
Things to be done

Need to write tests.
Need to update the docs

Cute Fictional Animal Picture

@cburgdorf @ankitchiplunkar if we need to actually install another package to test this, lets create one and build the wheel/tarbal version and we can include it here in the repository.  Should be able to directly install it from the filesystem path using pip in our tox environment.

I have added a very basic test to check discovery of plugin but it is flaky. The test passes when the package is installed before the test, but fails when the package is installed during the process, this is because the plugin modules are not available if the package is installed during the test. Surprisingly when I recreate the process in a python terminal (outside of pytest) the test passes.
What do you guys suggest?

The test passes when I install the package before running the test.
a. Installing package

$ pip install tests/trinity/integration/trinity_test_plugin/ # installing package
Processing ./tests/trinity/integration/trinity_test_plugin
Building wheels for collected packages: trinity-test-plugin
  Running setup.py bdist_wheel for trinity-test-plugin ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-e_hqtuyy/wheels/79/be/8d/1ff10dad7414152ddf8c7cec65ed8861b0dc3cd6bb8b1a7a58
Successfully built trinity-test-plugin
Installing collected packages: trinity-test-plugin
  Found existing installation: trinity-test-plugin 0.0.0
    Uninstalling trinity-test-plugin-0.0.0:
      Successfully uninstalled trinity-test-plugin-0.0.0
Successfully installed trinity-test-plugin-0.0.0

Now running tests
(venv) doo@kajal-Latitude-5480:~/projects/py-evm$ pytest tests/trinity/integration/test_autodiscovery_plugins.py
========================================================================= test session starts =========================================================================
platform linux -- Python 3.6.5, pytest-3.6.4, py-1.6.0, pluggy-0.7.1
rootdir: /home/doo/projects/py-evm, inifile: pytest.ini
plugins: xdist-1.18.1, cov-2.5.1, asyncio-0.9.0, asyncio-network-simulator-0.1.0a2, hypothesis-3.69.5
collected 1 item

tests/trinity/integration/test_autodiscovery_plugins.py .                                                                                [100%]

====================================================================== 1 passed in 1.74 seconds =======================================================================

The test fails when installing the plugin package during the test process.

$ pytest tests/trinity/integration/test_autodiscovery_plugins.py
========================================================================= test session starts =========================================================================
platform linux -- Python 3.6.5, pytest-3.6.4, py-1.6.0, pluggy-0.7.1
rootdir: /home/doo/projects/py-evm, inifile: pytest.ini
plugins: xdist-1.18.1, cov-2.5.1, asyncio-0.9.0, asyncio-network-simulator-0.1.0a2, hypothesis-3.69.5
collected 1 item

tests/trinity/integration/test_autodiscovery_plugins.py F                                                                                [100%]

============================================================================== FAILURES ===============================================================================
_____________________________________________________________________ test_autodiscovery_plugins ______________________________________________________________________

manage_plugin_install = None

    def test_autodiscovery_plugins(manage_plugin_install):
>       from trinity_test_plugin import TestPlugin
E       ImportError: cannot import name 'TestPlugin'

manage_plugin_install = None

tests/trinity/integration/test_autodiscovery_plugins.py:14: ImportError
------------------------------------------------------------------------ Captured stdout setup ------------------------------------------------------------------------
Processing ./tests/trinity/integration/trinity_test_plugin
Building wheels for collected packages: trinity-test-plugin
  Running setup.py bdist_wheel for trinity-test-plugin: started
  Running setup.py bdist_wheel for trinity-test-plugin: finished with status 'done'
  Stored in directory: /tmp/pip-ephem-wheel-cache-8e8009ac/wheels/79/be/8d/1ff10dad7414152ddf8c7cec65ed8861b0dc3cd6bb8b1a7a58
Successfully built trinity-test-plugin
Installing collected packages: trinity-test-plugin
Successfully installed trinity-test-plugin-0.0.0
---------------------------------------------------------------------- Captured stdout teardown -----------------------------------------------------------------------
Uninstalling trinity-test-plugin-0.0.0:
  Successfully uninstalled trinity-test-plugin-0.0.0
====================================================================== 1 failed in 1.76 seconds =======================================================================

Recreating the process in a python terminal:

$ python
Python 3.6.5 (default, May  3 2018, 10:08:28)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from trinity_test_plugin import TestPlugin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'trinity_test_plugin'
>>> from subprocess import call
>>> path_plugin = 'tests/trinity/integration/trinity_test_plugin/'
>>> call(['pip', 'install', path_plugin])
Processing ./tests/trinity/integration/trinity_test_plugin
Building wheels for collected packages: trinity-test-plugin
  Running setup.py bdist_wheel for trinity-test-plugin ... done
  Stored in directory: /tmp/pip-ephem-wheel-cache-50fj3x2k/wheels/79/be/8d/1ff10dad7414152ddf8c7cec65ed8861b0dc3cd6bb8b1a7a58
Successfully built trinity-test-plugin
Installing collected packages: trinity-test-plugin
Successfully installed trinity-test-plugin-0.0.0
0
>>> from trinity_test_plugin import TestPlugin
>>> from trinity.plugins.registry import ALL_PLUGINS
>>> assert TestPlugin in ALL_PLUGINS
>>>

I took this one over. Thank you @ankitchiplunkar very much for pushing it this far!
https://github.com/ethereum/py-evm/pull/1450


Initiating release of 0.17.0-rc0

Looks like the krew-index step of the release job failed:

level=fatal msg="GITHUB_REF expected to be of format refs/tags/ but found "refs/heads/devel""

https://github.com/submariner-io/releases/actions/runs/7642633479/job/20822713341
It doesn't seem like it impacted the rest of the release.


Add projection.Project

export type Project<T extends types.Type, P extends types.Infer<FromType<T>>> = types.Infer<ProjectedType<T, P>>

Feel free to rename it.
bonus: implement it in order to skip the double transformation (ProjectedType and Infer)

Closing this with fa76425

The projection.Infer does not accept a projection P. In ad383a2b9a6637bd78acbe52b767d0ea0cc2bb8d i've implemented is as projection.Project

This is still needed but only by module package. I would implement it directly inside this package.


Http full endpoint table hidden and csv

Ready for code review

Looks good, can you rebase? Ill merge after.

Squashed, rebased and ready to merge

LGTM


Fix Bower semver ranges

This change is

Pull Request Test Coverage Report for Build 988

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-10.7%) to 83.929%

Files with Coverage Reduction
New Missed Lines
%

src/vaadin-tabs.html
4
82.61%

Totals

Change from base Build 986:
-10.7%

Covered Lines:
32

Relevant Lines:
38

💛  - Coveralls


Fix hammingDistance

There is currently a method called hammingDistance that lives in /lib/hammingDistance.js.
It is incomplete and needs to be fixed!
The function expects two strings of equal length and calculates the hamming distance between them.
Acceptance Criteria:

Running yarn test hammingDistance results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!
Optional: write one or two more tests surrounding the method you are solving to account for potential edge cases.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

@BlakeGuilloud  I would like to work on this


The resource type could not be found in the namespace 'Microsoft.NetApp' for api version '2017-08-15'

I get the same error while trying to create a "Azure Netapp Files" account using Azure portal
Raw Error on Portal
{
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.",
"details": [
{
"code": "NotFound",
"message": "{\r\n "error": {\r\n "code": "InvalidResourceType",\r\n "message": "The resource type could not be found in the namespace 'Microsoft.NetApp' for api version '2017-08-15'."\r\n }\r\n}"
}
]
}
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.","details":[{"code":"NotFound","message":"{\r\n "error": {\r\n "code": "InvalidResourceType",\r\n "message": "The resource type could not be found in the namespace 'Microsoft.NetApp' for api version '2017-08-15'."\r\n }\r\n}"}]}
Template file
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "<IP_ADDRESS>",
"parameters": {
"accountName": {
"type": "String"
},
"location": {
"type": "String"
}
},
"variables": {
"apiVersion": "2017-08-15"
},
"resources": [
{
"type": "Microsoft.NetApp/netAppAccounts",
"apiVersion": "[variables('apiVersion')]",
"name": "[parameters('accountName')]",
"location": "[parameters('location')]"
}
]
}
Same error when I try Azure CLI - using the template
"error": {
"code": "InvalidResourceType",
"message": "The resource type could not be found in the namespace 'Microsoft.NetApp' for api version '2017-08-15'."
}
}
az provider show --namespace Microsoft.NetApp
"id": "/subscriptions/subid/providers/Microsoft.NetApp",
"namespace": "Microsoft.NetApp",
"registrationState": "Registered",
"resourceTypes": [
{
"aliases": null,
"apiVersions": [
"2017-08-15"
],
"locations": [
"East US",
"East US 2",
"South Central US",
"West Central US",
"West Europe",
"West US 2"
],
"properties": null,
"resourceType": "operations"
}
]
Following this doc - https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-register

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

ID: 239bd058-aaf2-e8d8-9073-abd6e90ae803
Version Independent ID: 42a61480-d284-0189-4548-383a3833f930
Content: Register for Azure NetApp Files
Content Source: articles/azure-netapp-files/azure-netapp-files-register.md
Service: azure-netapp-files
GitHub Login: @b-juche
Microsoft Alias: b-juche

@SriHarsha001 Thanks for the question! I've routed this to the appropriate Team to investigate and update.

I also have this error.

FYI, Lichun.
~Julie
Sent from Outlookhttps://aka.ms/qtex0l for iOS

From: just paul<EMAIL_ADDRESS>Sent: Monday, April 8, 2019 2:52 PM
To: MicrosoftDocs/azure-docs
Cc: Chen, Julie; Assign
Subject: Re: [MicrosoftDocs/azure-docs] The resource type could not be found in the namespace 'Microsoft.NetApp' for api version '2017-08-15' (#28882)
NetApp Security WARNING: This is an external email. Do not click links or open attachments unless you recognize the sender and know the content is safe.
I also have this error.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/28882#issuecomment-481021974, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkEOZTPPXnSJjJcs0yLCCNXMG_FZy8AWks5ve7n6gaJpZM4cfyS-.

+1 on this error.

@MicrosoftDocs/azure-cxp-triage Triage Driver administrative note: Moving to Azure Storage bucket in WT as a holding place, as the azure-netapp-files service does not seem to fall within a particular area.

Hi all,
Azure NetApp Files is a whitelist-only service at the moment. You must waitlist for the service and receive an email from Azure NetApp Files team confirmation that you have been granted access before attempting to create any Azure NetApp Files resource. Unfortunately, you will be able to successfully register the NetApp Resource Provider even without being granted access for service. However, without access authorization, any Azure portal or API request to create a NetApp account or any other Azure NetApp Files resource will be rejected with the deployment failure error "The resource type could not be found in the namespace 'Microsoft.NetApp' for api version...".
Apologies for the confusion and the inconvenience. We have updated our documentation to explain the cause of this error. You can follow the documentation below to submit a waitlist request.
https://docs.microsoft.com/en-us/azure/azure-netapp-files/azure-netapp-files-register#waitlist
Microsoft and NetApp review submissions periodically and will respond as soon as we can. If you have not heard from us long after you submitted your request, you can email us at<EMAIL_ADDRESS>Thanks,
Lichun

See explanation provided by @lichunli-ms above.
#please-close this issue.

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Error on updating menu item with different type and same data field

Greetings, I have custom menu types which extend BaseMenuItemType. Each of them has the same pull of data fields, for example:
public static function getFields(): array
    {
        return [
            Text::make('Icon', 'icon'),
        ];
    }

On creating a new item everything is ok. But on updating if I want to change the menu item type and keep or change icon value I get an error:

After some researching my temporary solution was to change this line (:key="i") to :key="`${linkType.class}_${i}`". Seems like nova extends field object with fill method only on mounted hook so we need to completely redraw a component. Maybe you'll find a better solution

Hi! Thank you for this report. :) I implemented the fix you described as the fields do need re-rendering. It's now released in version 6.0.2 along with some other fixes (both by you and other contributors).


Clean Dockerfile content and features

We have now a layered system for Docker images... Let's do another pass to move things around:
1/ alpn configurable easily in the jdk image
2/ cloud debugger/profiler setup in the jdk image
3/ keep the dor open to things like jrebel or newrelic agents
4/ pure jetty9 image with logs in correct location? (/var/log/app_engine)?
5/ other?

2/ has been done in #105


DNS capture in Network Interfaces

As part of the network interface script can you have it pull DNS information too?

You'll need to create a separate module for that, you could use the output of
scutil –dns

and store that

Ok cool!  Thanks for the tip and amazing product and amazing support!

From: Arjen van Bochoven<EMAIL_ADDRESS>Sent: Thursday, August 20, 2015 11:30 AM
To: munkireport/munkireport-php
Cc: Bill McIlhargey
Subject: Re: [munkireport-php] DNS capture in Network Interfaces (#302)
You'll need to create a separate module for that, you could use the output of
scutil -dns
and store that

Reply to this email directly or view it on GitHubhttps://github.com/munkireport/munkireport-php/issues/302#issuecomment-133051706.


feat: add support for make it mine and deploy via cloudbuild trigger …

…for load balanced vms

/gcbrun

/gcbrun


How can I take a Window screenshot?

I'm in a research to find a way to take screenshot of a window using nodejs, and I'm trying to do this with node-ffi, but I don't know how... at time I'm stuck here:
var ffi = require('ffi');

var user32 = new ffi.Library("user32", {
      FindWindowA: [ 'uint32' , [ 'string', 'string' ]]
    , PrintWindow: [ 'int32'  , [ 'int32', 'string', 'int32' ]]
});

var IMG;
var windowHandle = user32.FindWindowA(null, "Calculator");
var printWin = user32.PrintWindow(windowHandle, IMG, 0);

console.log(printWin);
console.log(IMG);

The result:

$ node get-print.js
1
undefined

Anyone can help-me?

Was this project abandoned?

Not at all. I just don't think anybody watching the issues knows the Windows API enough to answer your question. Maybe try Stack Overflow?
If you have some actual C code that you need help converting to node-ffi code, then I could take a look at that.

I need to something like that
Bitmap bm = new Bitmap(1024, 768);
Graphics g = Graphics.FromImage(bm);
IntPtr hdc = g.GetHdc();
Form1.PrintWindow(this.Handle, hdc, 0);
g.ReleaseHdc(hdc);
g.Flush();
g.Dispose();
this.pictureBox1.Image = bm;

can you help me?

@drachehavoc you can use C_HWndToBmpFile(hWnd) in this repo: https://github.com/wuyuedefeng/node-ffi-funcs


Validation: Added Unique Alt Text

Category

[x] Content fix
[ ] New article

Related issues
This PR is part of the Validation cleanup efforts.
What's in this Pull Request?
Added Unique alt text to resolve duplicate alt text descriptions.

Docs Build status updates of commit c2892de:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/spfx/web-parts/guidance/supporting-section-backgrounds.md
:warning:Warning
View
Details

docs/spfx/web-parts/guidance/use-existing-javascript-libraries.md
:warning:Warning
View
Details

docs/spfx/web-parts/guidance/supporting-section-backgrounds.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

docs/spfx/web-parts/guidance/use-existing-javascript-libraries.md

Line 2, Column 1: [Warning: ms-prod-and-service - See documentation] Only one of the following attributes can exist: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

The Content & Learning team is fixing build validation errors on docs.microsoft.com for the rest of H2. This will eliminate potential accessibility, security, and usability issues. This PR includes only build validation fixes and does not change other content. Please review within five business days and merge or comment in the PR with any changes you’d like to see. Thank you!


Global Message Handler adjustments

This pull request intends to set the stage to adjust the Command Bus, Event Bus, Event Processor, and Query Bus to use the new Unit of Work, as introduced in #2953.
As we aim to keep what's currently there working so we can do the work in chunks, this means methods are added that:

Return a CompletableFuture<?> or MessageStream<R> instead of void/Object/R,
have a dedicated ProcessingContext parameter,

The MessageStream<R> interface clarifies to users that the object returned can contain 0, 1, or N results, depending on the message handler being invoked.
For example, an Event Handler would have a result stream of 0, whereas a Query Handler would have a result stream of 0..N.
Several convenience methods reside on the MessageStream to map it to other types that correspond with 0, 1, or N results.
Lastly, as an interface, it provides as an approach to build a "pure" JVM solution and for example a Project Reactor version.
Furthermore, these "async native" methods, when possible, invoke the deprecated "regular/old" methods.
The main classes that have been adjusted as stated above are:

The MessageHandler interface
The MessageHandlingMember interface
The HandlerDefinition interface

However, these changes introduce a lot of adjustements as they're arguably the core of Axon Framework (a part from the Unit of Work, of course).

We deem the current solution a good way forward through internal discussion.
Furthermore, reviewing the adjusted message-handling interfaces and the MessageStream have taken place in a multitude of consecutive meetings to form, adjust, and fine-tune the current API.
Note that we do not rule out changes may still occur on these core components within the development cycle of Axon Framework 5; we simply feel this is very close to what it should be.
As such, I will be merging this pull request.


[cxx-interop] Conform std::map to ExpressibleByDictionaryLiteral

This adds an automatic conformance for std::map and std::unordered_map to Swift's ExpressibleByDictionaryLiteral protocol.
This makes it possible to pass a dictionary literal as an argument to a function that takes a std::map as parameter.
rdar://137126474

@swift-ci please smoke test


Large DMN files cause Errno::E2BIG: Argument list too long

When passing large DMN files(100KiB+), the commands error with
Errno::E2BIG: Argument list too long

This looks to be caused by the way we're handling data passing to the decision_evaluator.js which seems to use args for everything.
https://github.com/connectedbits/process_pilot/blob/c340b99e70e43b6db83a30f5b2973602b893e48a/lib/process_pilot/services/decision_evaluator.rb#L18


Missing transcript IDs in cytoplasm section of PMID:32032353 page

https://www.pombase.org/reference/PMID:32032353

The missing transcript IDs are for genes that have only one transcript.  That makes sense because that's how I wrote the code.  :-)
Do any of these options appeal?:

leave the fields blank (maybe that looks like there is missing data?)
use: "All"
"Single transcript"
transcript ID "SPCC1183.10.1"
"SPCC1183.10.1 (single transcript)"

Is something a bit wrong here?

I thought that only one isoform localized to the epiplasm?
Are we inferring this one?

SPCC162.04c.1
ISS with wtf4

In answer to the question, I think my preference would be  that if the annotation applies to all isoforms we do not need to add isoforms, but we can if we think it makes things less confusing (which it might for wtfs when the isoforms are so radically different).
So, I would leave it blank unless if we felt there was no  need to  specify a particular isoform.

Is something a bit wrong here?
I thought that only one isoform localized to the epiplasm?

I think it's gone weird because there are some non-transcript specific annotations in the legacy GAF file:
PomBase SPCC1620.02     wtf23   GO:0072324      PMID:32032353   ISS     PomBase:SPCC548.03c     C       wtf meiotic drive poison Wtf23          protein taxon:4896      20200914        PomBase
PomBase SPCC1906.03     wtf19   GO:0072324      PMID:32032353   ISS     PomBase:SPCC548.03c     C       wtf meiotic drive poison Wtf19          protein taxon:4896      20200914        PomBase
PomBase SPCC162.04c     wtf13   GO:0072324      PMID:32032353   ISS     PomBase:SPCC548.03c     C       wtf meiotic drive poison Wtf13          protein taxon:4896      20200914        PomBase

Sorry about that.  I thought I'd sorted that out but clearly not.  I'll try again tomorrow.

I guess they just need an isoform adding.  The need to be done in the legacy GAF because they are ISS.

also noted here

Sorry about that. I thought I'd sorted that out but clearly not. I'll try again tomorrow.

I've removed the annotation from legacy_go_annotations_from_contigs.txt for multi-transcript genes that I coped there from the contig files by mistake.  Hopefully that will fix some of the oddities by the morning.

Hopefully that will fix some of the oddities by the morning.

The nightly load failed because it was unable to download from BioGRID.  I'll check the transcript fixes on Friday morning.

The nightly load failed because it was unable to download from BioGRID. I'll check the transcript fixes on Friday morning.

It failed again.  This time because the GOA GAF couldn't be downloaded.  I'll keep an eye on the next load(s).

The load worked and the GO sections for multi-transcript genes are looking much better.


WIP Add Rendering

very naive attempt at #8, @jdegoes can you please review?

no escaping for sql injection
values not rendered correctly
no group by
no order by
selects in joins aren't qualified by the table they're from (which is a problem if the same column name exists in both tables being joined)

issues discovered:

aggregations go boom at runtime (unimplemented implicit defs)
offset doesn't seem to be supported by sql server or oracle unless you use fetch first/next. In sql server this is considered part of order by and mysql doesn't support fetch first. I think we need a dialect as part of the signatures for render and renderBuilder to deal with dialect specific issues like top vs. limit vs. rownum (line 353)
in an update statement, set isn't required to be non-empty. I've partially fixed this with UpdateBuilder but it's still possible to create an invalid Update

got the following output for the examples
select first_name as first, last_name as last from users
select first_name as first_name, last_name as last_name from users limit 3, 2
update users set first_name = Fred where true and first_name = Terrence
delete from users where first_name = Terrence
select first_name as first_name, last_name as last_name, order_date as order_date from users left join orders on usr_id = usr_id

need implementations for Aggregation implicit defs
Exception in thread "main" scala.NotImplementedError: an implementation is missing
	at scala.Predef$.$qmark$qmark$qmark(Predef.scala:347)
	at zio.sql.Sql$Features$IsAggregated$.AggregatedIsAggregated(Sql.scala:711)

@unclebob418 Looks like the right track! Did you want to keep working on this, and keep it open, or merge now and fixup later?
The one thought I had: it would be quite useful to have a SqlBuilder data type that can be used to accumulate SQL strings, instead of a StringBuilder. This would allow, at least, a notion of indentation, which would be useful in pretty printing SQL strings.

@jdegoes RenderMode.Pretty has the concept of indentation, I'm just ignoring it at the moment. I think eventually an option for syntax highlighting may be nice but probably the most important thing would be getting something that can run against a db. I've added implementations for the aggregation defs but I think the rest of the issues I've noted above are still valid.
I'm not convinced having everything extend renderable is the correct approach. We don't yet have the concept of dialects but once we do I think this may be better represented in the individual dialect modules. Can we merge this for now so people have something to work with? cc @lemastero


Investigate supporting DFDL schema inspection

First, we have to make sure DFDL extensions won't change any actual element and/or attribute. If it does, we can't achieve this. If not, just forward it to XML schema inspection and it's done.
Following should not be required if DFDL extensions don't affect element and/or attribute.
DFDL schema itself has DFDL exntesions that should not appear as a real field. Once we strip all of them, we can feed it into XML schema inspection directly.
Maybe with having a namespace filtering feature in XML schema inspection?

A fact: As per DFDL v1.0 spec, DFDL doesn't use attribute. Good.

At least version 1.0 doesn't have capability to modify element declaration. Good to go.


File Search in Run Not Working v0.18.1

Environment
Windows build number: Windows 10 Home Single Language 1909
PowerToys version: 0.18.1
PowerToy module for which you are reporting the bug (if applicable): Run

Steps to reproduce
The v0.18.1 is only able to search for programs but not individual files, even when running in administrator mode.
Expected behavior
The v0.18.0 could search for all files and programs. The same was expected of the update.
For the sake of complete reporting, I went back and installed v0.18.0 and did not experience the issue, which would rule out any problem caused by settings on the device.
Actual behavior

Screenshots

Having the same issue, please fix.

Having the same issue, please fix.

Can we get a screenshot?

A quick demo. windsock.svg is present in C:\Users\Harsh\Documents\SVGs
No results.

Do you have indexer enabled?

Try changing the WIndows Search indexer to "Enhanced":
https://www.onmsft.com/how-to/how-to-enable-enhanced-search-in-windows-10
What I wanted didn't show up until I changed it to enhanced.
But it would need quite some time to index the files.

Iron, trying to verify what the permutations are to cause this. It should have found a file, may be not indexed the inside of it but found it.
More so off a c drive

I was trying to find a .lnk shortcut that is not in the Start Menu folders.
Used to have a most of the filetypes opted out from the indexer.
But made sure .lnk was in but Windows Search NEVER found it since the first version of Windows 10.
Its until I enabled ALL filetypes and switched to 'Enhanced' that the shortcut finally show up in Windows Search and by extension PT Run.
I feel that the 'Classic' indexer seems to be restricted by certain rules even if you specify the index locations.
Rules that overrule the locations.
It says "search only your libraries and desktop" for 'Classic'.

This issue seems to depend on whether PowerToys is running as an Admin or not. In Admin run mode, I can search for programs but not files. If I exit PowerToyS and then restart in non-admin mode, then search works again for both files and programs. I can flip back and forth and reproduce 100% of the time.
More troubling though is that if run in Admin mode and try a file search in PT first, it will sometimes kill file search working in the start menu as well from that point on. A log out/in is required to restore Start menu searching again.

I had not tried running it without Administrator mode. However, that should not have affected what was already working in the previous version.

Have the same issue.
https://github.com/microsoft/PowerToys/issues/3732

Using #3646 to track this issue. Closing this as a duplicate.


[REQUEST] Snap windows, rename labels, unit change, # of decimal digits

https://discord.com/channels/1078696971088433153/1080340366995239004/1091808070855831612

[ ] Snap windows to each other

[ ] Click labels to edit/rename
Ex) Horizontal Vel. → Velocity (H)

[x] Click units to change it
Ex) m → km → Mm → Gm

[x] Click values to change # of decimal digits to display
Ex) 100.012 → 100.01  → 100.0
... can maintain alignment with other values by leaving an empty space for each digit not shown

Partially fulfilled in https://github.com/Micrologist/MicroEngineer/pull/23 (unit change, # of decimal digits)

Fully filfilled with https://github.com/Micrologist/MicroEngineer/pull/28 (snapping, renaming)


Automatically keep Intl enums in sync

Went down a bit of a macro rabbit hole while investigating another bug in Intl; this approach is a (theoretically) safer version of what we were already doing. Also, I just really wanted yet another bytecode-format-changing PR opened.

Apparently this breaks a ton of TTD, and also some intl stuff:
Test threw exception: ReferenceError: 'NumberFormatStyle' is not defined
4>	at test (Collator.js:14:17)
4>	at body (Collator.js:18:13)
4>	at runTest (UnitTestFramework.js:261:17)
4>	at runTests (UnitTestFramework.js:185:21)
4>	at Global code (Collator.js:8:1)

I think you missed some usages of these properties, e.g. https://github.com/Microsoft/ChakraCore/blob/b8c68078156e510b1e122163a64bf777d7baaafd/lib/Runtime/Library/InJavascript/Intl.js#L3000-L3005

Yeah, as always I forget that Intl-WinGlob exists. Ill fix those along with the rebase.

closing in favor of a slightly more expansive PR to minimize number of bytecode regens.


import collections (dynamic class targeting EASY FIX)

Context:
I am using Transcrypt to convert the code in this repository:
https://github.com/deepmind/pysc2
to javascript.
Problem:
I can't import collections, therefore I cant target the classes that are generated by collections, for example:
class Feature(collections.namedtuple(
    "Feature", ["index", "name", "layer_set", "full_name", "scale", "type",
                "palette", "clip"])):

Solution:
Create a local copy of 'collections' module in a file named collections.py. Modify the namedtuple function to print the class or write the stringified class template to a target directory. I took the code from collections (python version 2) to make the following method:
def print_class(typename, field_names):
    numfields = len(field_names)
    argtxt = repr(field_names).replace("'", "")[1:-1]   # tuple repr without parens or quotes
    reprtxt = ', '.join('%s=%%r' % name for name in field_names)
    template = '''class %(typename)s(tuple):
        '%(typename)s(%(argtxt)s)' \n
        __slots__ = () \n
        _fields = %(field_names)r \n
        def __new__(_cls, %(argtxt)s):
            'Create new instance of %(typename)s(%(argtxt)s)'
            return _tuple.__new__(_cls, (%(argtxt)s)) \n
        @classmethod
        def _make(cls, iterable, new=tuple.__new__, len=len):
            'Make a new %(typename)s object from a sequence or iterable'
            result = new(cls, iterable)
            if len(result) != %(numfields)d:
                raise TypeError('Expected %(numfields)d arguments, got %%d' %% len(result))
            return result \n
        def __repr__(self):
            'Return a nicely formatted representation string'
            return '%(typename)s(%(reprtxt)s)' %% self \n
        def _asdict(self):
            'Return a new OrderedDict which maps field names to their values'
            return OrderedDict(zip(self._fields, self)) \n
        def _replace(_self, **kwds):
            'Return a new %(typename)s object replacing specified fields with new values'
            result = _self._make(map(kwds.pop, %(field_names)r, _self))
            if kwds:
                raise ValueError('Got unexpected field names: %%r' %% kwds.keys())
            return result \n
        def __getnewargs__(self):
            'Return self as a plain tuple.  Used by copy and pickle.'
            return tuple(self) \n\n''' % locals()
    for i, name in enumerate(field_names):
        template += "        %s = _property(_itemgetter(%d), doc='Alias for field number %d')\n" % (name, i, i)

    print(template)

The function print_class is called inside the namedtuple method inside of the collections.py file.
This way, anytime a class is dynamically generated at run time, I can then go back and target the classes that the collections module would have been using internally. Easy peasy.
I know its hacky as hell, but it got the job done. And I believe that this approach could be used to ease the burden of developers utilizing Transcrypt to develop javascript projects from existing python projects.

I'll leave this issue open in case you want to triage it or something, but I'm giving up on using transcrypt for my project. Not being able to make use of a number of core python modules has made this basically impossible. Being able to use operator.py (import operator) would be a huge step for this project imo.
Cheers!


October Version 420 issues

We recently updated to version 419, the next version of October will upgrade to Laravel 5.5 which requires PHP 7. Last I heard, our provider is still using PHP5. So, In order to get future updates, we'll have to switch from PHP 5 to 7. We should also be aware not to update October anymore in case for some reason there aren't any safety measures put in place for those of still running PHP 5.

Thanks for the notice; I guess October knew itself that it should not update, as when I did the auto-upgrade 423 was already out and still we got only 419. https://github.com/octobercms/october/releases

For the reference, details on the currently php version we have TuxFamily: http://hack.tuxfamily.org/phpinfo.php

Here is more info regarding the update. We'll be fine, but we should make any effort we can to update.

As discussed with the TuxFamily devs, we'll have the required PHP7 version when they upgrade the current Debian 8 infra to Debian 9, which was released a couple months ago. There is no ETA on the upgrade, but as long as there are no big security vulnerabilities announced in our current October version, we should be fine.

PHP 5.6 security support will end December 31, 2018.

I believe this now solved, as we've upgraded the PHP version to 7.2 to run the latest October version (this was required to fix the Patreon plugin).


Add ability to have visibility logic that allows ranges/iterations of answers

Is your feature request related to a problem? Please describe.
Arkansas wants to ask questions such as "Are you registered for Selective Services?" This question should not appear if a user is a) under 18 b) over 64 or c) female.
Currently, visibility logic does not allow you to create two different age ranges.
Usability of the entire flow could be improved.
Describe the solution you'd like
Advanced visibility logic that can handle multiple age ranges (or other answer ranges or combinations)
UX design and writing involvement on the visibility screens
Additional context
Add any other context or screenshots about the feature request here.
Done when
What conditions need to be met before this issue can be closed?

Chatted offline - current workaround is using the "age is between" option, but this could definitely be improved.


What version of nativescript-vue is used in playground?

Is there a way to choose a specific version?

Package versions are shown in device tab for selected devices:

The current nativescript-vue version is 1.3.1.
In the moment there is no option to select different versions.
We are updating the packages version regularly when we plan a new release.
Hope this helps.
Best Regards,
Vasil Hristov

Thanks @vhristov5555


ion-checkbox two way binding doesn't work with ngModel

Ionic version:  (check one with "x")
[x ] 3.7.1
I'm submitting a ...  (check one with "x")
[X] bug report

I have a list of checkboxes and the user has a max limit to select. Exemple: Select 3 of 5 options.
I want to give him a warn when he try to select the fourth checkbox and unselect it.
I'm tryng something like that to unselect:
<ion-checkbox [(ngModel)]="teste" (ionChange)="updateTest()">
updateTest(){
console.log(this.teste); //true
this.teste = false;
console.log(this.teste); //false
}
But on screen the checkbox continue checked (true).
I'm doing something wrong?
Tks,
Filipe

Hello! Thank you for opening an issue with us!
The Ionic Framework issues list is designated for the reporting of bugs with the Ionic Framework or for requesting new features. As this seems like more of a support question I am going to close this issue.
I urge that you ask future questions like this on our forum or on our slack channel.
In your particular case, the following "two way" binding:
<ion-checkbox [(ngModel)]="teste"></ion-checkbox>
is actually short-hand for this:
<ion-checkbox [ngModel]="teste" (ngModelChange)="teste = !teste"></ion-checkbox>
See this post for a pretty good write-up on how two-way bindings work in Angular.
Then you add your updateTest() binding on top of that, and you have the equivalent of:
<ion-checkbox [ngModel]="teste" (ngModelChange)="teste = !teste" (ionChange)="updateTest()"></ion-checkbox>
So now you have two things mucking with the value of teste, and perhaps even firing each other in an infinite loop.
If you just want the teste to toggle, then only use the two-way binding:
<ion-checkbox [(ngModel)]="teste"></ion-checkbox>
If you are trying to do something fancier, then you should post a question with exactly what you are trying to do on our forum or on our slack channel.
Thanks for using Ionic!


Usage with async/interpreter

Hey @davidkpiano,
New to this library (xstate) and relatively new to Durable Entities (but big fan of both!). Wondering the recommended way of running an interpreter with Durable Entities that has some async actions. Specifically:

When entering/exiting a state invoke an external api call which should return ok/error
Possibly update context/complete an automatic transition
Persist state to entity

This question is related to this issue. As I currently understand there are 2 options:

Create a service and add a listener to be notified of changes
"Poll" the service until state is settled

Not sure how/if option #1 would work, however option #2 "works" at least with this simple case (shown below). Just wondering if there is a better/advised pattern for this?
export default entity(async (context) => {
  const currentValue = context.df.getState(
    () => donutMachine.initialState
  ) as typeof donutMachine.initialState;

  switch (context.df.operationName) {
    case 'send':
      const eventObject = context.df.getInput() as EventObject;
      const state = donutMachine.resolveState(State.create(currentValue));

      const service = interpret(donutMachine);
      service.start(state);
      service.send(eventObject)

      // Additional "hack" to wait for state to settle
      do {
        await new Promise((r) => setTimeout(r, 1000));
      } while (Object.entries(service.state.activities).some((v) => v[1]));

      context.df.setState(service.state);
      service.stop();
      break;
    default:
      break;
  }
});

To paste into xstate viz (slightly modified to add async invoke + back):
function invokeTest(context) {
  console.log("invoking 1");
  return new Promise(resolve => {
    setTimeout(resolve, 1000);
  });
}

const donutMachine = Machine({
  id: 'donut',
  initial: 'ingredients',
  states: {
    ingredients: {
      on: {
        NEXT: 'directions',
      },
    },
    directions: {
      initial: 'makeDough',
      onDone: 'fry',
      states: {
        makeDough: {
          on: { NEXT: 'mix' },
        },
        mix: {
          type: 'parallel',
          states: {
            mixDry: {
              initial: 'mixing',
              states: {
                mixing: {
                  on: { MIXED_DRY: 'mixed' },
                },
                mixed: {
                  type: 'final',
                },
              },
            },
            mixWet: {
              initial: 'mixing',
              states: {
                mixing: {
                  on: { MIXED_WET: 'mixed' },
                },
                mixed: {
                  type: 'final',
                },
              },
            },
          },
          onDone: 'allMixed',
        },
        allMixed: {
          type: 'final',
        },
      },
    },
    fry: {
      initial: "loading",
      states: {
        loading: {
          invoke: {
            id: "test-call",
            src: invokeTest,
            onDone: 'done'
          }
        },
        done: {
          type: 'final'
        }
      },
      onDone: 'flip'
    },
    flip: {
      on: {
        NEXT: 'dry',
        BACK: 'fry'
      },
    },
    dry: {
      on: {
        NEXT: 'glaze',
      },
    },
    glaze: {
      on: {
        NEXT: 'serve',
      },
    },
    serve: {
      on: {
        ANOTHER_DONUT: 'ingredients',
      },
    },
  },
});

Great insights - it would be nice to use DE with an interpreter to ensure that actions get executed.
I'm thinking it might be simpler than waiting for a promise, though. Currently, the service.send() method is synchronous, and the next state is "settled" immediately, but it should be treated as asynchronous (or more accurately, a () => void function). This is because in statecharts, transitions are always zero-time.
So what might make more sense is to have some sort of synchronous interpreter that both returns the next state and actions. This doesn't need to be as complex as the current interpreter, since it's just a matter of doing two things:

Returning the next state based on current state and event
Executing actions

So it can look like this:
function execTransition(machine, state, event) {
  const nextState = machine.transition(state, event);

  nextState.actions.forEach(action => {
    // execute each action
  });

  return nextState;
}

I'll think about this more. It's definitely an important use-case for serverless workflows.

Thanks for the response! My understanding then is:

Actions are side effects and as long as they are called we are happy. In which case a simple custom interpreter could be used
Invoking services (like the example "invoking promises") however create a situation where the state is not synchronous.

For a concrete example using the "invoking promises" code (below). We want to:

Signal our entity to "FETCH"
OPTION A (synchronous): update entity state immediately (but is not "settled" state, such that our entity state would not be in the correct "success" or "failure" state, and when we try to rehydrate from that state we will be stuck)
OPTION B (asynchronous): wait until state has "settled" then update entity state

It makes sense to me to "wait" in this case (OPTION B) as long as the invoked services are guaranteed to resolve, however it seems a little questionable.
// Function that returns a promise
// This promise might resolve with, e.g.,
// { name: 'David', location: 'Florida' }
const fetchUser = (userId) =>
  fetch(`url/to/user/${userId}`).then((response) => response.json());

const userMachine = Machine({
  id: 'user',
  initial: 'idle',
  context: {
    userId: 42,
    user: undefined,
    error: undefined
  },
  states: {
    idle: {
      on: {
        FETCH: 'loading'
      }
    },
    loading: {
      invoke: {
        id: 'getUser',
        src: (context, event) => fetchUser(context.userId),
        onDone: {
          target: 'success',
          actions: assign({ user: (context, event) => event.data })
        },
        onError: {
          target: 'failure',
          actions: assign({ error: (context, event) => event.data })
        }
      }
    },
    success: {},
    failure: {
      on: {
        RETRY: 'loading'
      }
    }
  }
});

Ah, so you basically want something like Promise.allSettled(...)?

Yeah I think so! But very new to xstate so just kind of feeling out how this would work.


Autocomplete trigger

Newbie question:
What triggers the autocomplete menu for the classes? For example, if my cursor is after the b in class below how do I make a menu pop up?
<button type="button" class="b">

(Snippets work fine for me.)
Thanks.

Hi,
Type b- and you should see hints, add any character via keyboard to trigger hint to specific class e.g. b-p could trigger btn-primary hint.
Thanks!


Refactor/rename TabNav component for list of links

After talking about the Search navigation, we decided that what we thought would be tabs should actually behave like a list of links.
We want to redo this component, scrapping about 90% of the TabNav code; we just need to replicate its look and behaviour (scrollable). The original version won't be used anywhere else after we:

Ensure we support the new component in /concept instead of TabNav;
Change the links in contributor pages to have the "By" tabs pre-selected;

So TabNav can then be deleted in favour of the new component (PageNavigation?)

I'm not sure if we want to link directly to the "by" tab from contributors. There's a trade off between consistent experience and implying intent. Maybe something to test, possibly during any future user testing by @alicerichmond of new concepts/search/works?

We've decided to keep them separate for now. The version in Concept does not need routing (it could get complicated quickly), so we've made the second one, but will look into making visual changes to help differentiate.


"Trial Version" banner at login screen

Xcreds 2.4 (3504) currently displays a "Trial Version" banner.
It's my understanding that the new paid licensing only applies to version 3.0 and above, so one assumes that there should be a way to remove this "trial version" banner in 2.4.

Hi! Is there any update on this? Can the "Trial" banner be removed in 2.4?

The trial banner is 2.4 can be removed by setting a preference key. Set shouldShowSupportStatus to false.


[Anime|Manga] Return null for no synopsis

e.g

https://myanimelist.net/anime/37937/Wan_Jie_Xian_Zong
https://myanimelist.net/manga/35545

Instead of null, I would return a plain string as they do:
"No synopsis provided yet"
Returning null would be a wrong approach here, we could handle that at the API side.

This is what's currently returned when there's no synopsis/backround: https://api.jikan.moe/anime/37937
No synopsis information has been added to this title. Help improve our database by adding a synopsis here.
null would be the the correct approach here. Would allow client-side to serve their custom response by checking for null.


haml-rails forces cache_template_loading = false in development

While this is almost always the right choice as a default, it ignores any explicitly chosen configuration by the developer (e.g. if trying to check how something in the application is working when templates and digests are cached). Could we consider allowing other values if explicitly set in the development configuration?

Allowing config seems fine. (In the meantime, just use bundle edit haml-rails to temporarily change the gem.)
On Sat, Jul 4, 2015 at 9:47 AM, Travis Pew<EMAIL_ADDRESS>wrote:

While this is almost always the right choice as a default, it ignores any explicitly chosen configuration by the developer (e.g. if trying to check how something in the application is working when templates and digests are cached). Could we consider allowing other values if explicitly set in the development configuration?
Reply to this email directly or view it on GitHub:
https://github.com/indirect/haml-rails/issues/101


chore: bump some deps

Closes #
✅ Checklist

[ ] I have followed every step in the contributing guide (updated 2022-10-06).
[ ] The PR title follows the convention we established conventional-commit
[ ] I performed a functional test on my final commit

Changelog
[Short description of what has changed]

Screenshots
[Screenshots]
💯

Current dependencies on/for this PR:

main

PR #1666

PR #1667   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 19, 7:56 AM: @juliusmarminge started a stack merge that includes this pull request via Graphite.


How can I setup cusPreferredLanguage

Hi,
so we have a situation where we need to set language for the subscriber. In the same table where we can find cloid ID, registration token, etc., there is a field Language (cusPreferredLanguage). How to set this field from react-native programmatically (and update it if language changes)?

Hi @inpendio , I can't understand your question. Can you provide further information on how you use our React Native SDK within your project? And, which SDK extension/package is causing the language issue?

Nothing is causing the language issue. I just want to set up the preferred language for the user.
The integration is basic, we followed the docs. Registration token and cloud ID are created automatically. But we want to set a preferred language for the user (subscriber), so that we can send notifications in the correct form.

Oh, I see. Which Adobe solution UI are you referring to? I can forward your question to the solution expert.

This one, AEP.
We had some support, but even they didn't know. I thought maybe developers know...

Hi @swarna04, this question seems to be related to a campaign. Can you help to provide some suggestions?
cc @dsoffiantini

@inpendio You can set up a launch rule with Send PII action (post body as shown below):
{
"marketingCloudId":
"{%%mcid%%}",
"cusPreferredLanguage":
"{%contextdata.preferredLanguage%}"
}

For details, see https://experienceleague.adobe.com/docs/campaign-standard/using/administrating/configuring-mobile/configuring-rules-launch.html?lang=en#pii-postback. In the app, invoke Mobile Core's collectPii API and pass the desired preferredLanguage value in the dictionary.
MobileCore.collectPii({preferredLanguage: '<preferred-language>'});

Hope this helps! Please let us know if you run into any issues. Thanks.

@inpendio Thanks for your reply. Not sure I understand when you say that MobileCore.collectPii doesn't work! Do you not see the request made to ACS server with the configured post body? Have you verified the rule is configured as per the docs and published to the environment from where you select the environment file ID for your app? Do you have SDK logs to share (probably redacted) so that we can investigate this further? Please let us know. Thanks.

@inpendio You can get the SDK logs from the native IDEs Debug Windows.

Use MobileCore.setLogLevel and set the level to VERBOSE/TRACE, and call this API before any other SDK API call, even before extensions registration. See sample code here.

iOS: In Xcode dev console (View → Show Debug Area)
Android: Android Studio >  logcat windows
Run the test steps and copy all the content in the log window to a text file and share with us.

Closing the issue due to low activity.  Please open a new issue if you have any other questions.

Hi. Well, I don't know if you manage to solve it. We currently use Pii URL for this. And we don't have much time to debug it.


Python Debugger not showing numpy array values after update

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.83.1
OS Version: Windows 11 22H2 build 22621.2428

Steps to Reproduce:

Create a simple Python script that generates a numpy array, such as:
`import numpy as np
test = np.zeros((3, 3))`

Set a breakpoint below the above code and run debug.

Expand the 'test' variable in the locals section of the 'Debug and Run' window.

Observe that below 'function variables' now no longer shows each row of the first axis of the array as it did in older versions.

If the new 'T' item that's below 'function variables' is expanded, this just loops the information from the root level.

For reference, this is what it looked like with version 1.80.2:

I'm having the same issue using WSL2 (Ubuntu) on Windows 11.
VS Code Version: 1.83.1
Python extension version: v2023.18.0

I am having the same issue using linux manjaro with VSCode information, see below and Python 3.11.3
Version: 1.83.1
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:45:31.402Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.128-1-MANJARO

Please file this on the debugpy repo, thanks


dhcpcd doesn't restore the oringinal value of addr_gen_mode when exiting

dhcpcd sets addr_gen_mode=1 explicitly in function if_disable_autolinklocal() (src/if-linux.c).
The initial commit of if_disable_autolinklocal shows this is to avoid potentially duplicate link local addresses.
commit 78a67110452aade468f1bd13fd2cb409d0003b98
Author: Roy Marples<EMAIL_ADDRESS>Date: Mon Aug 11 20:52:39 2014 +0000
Set IFLA_INET6_ADDR_GEN_MODE to IN6_ADDR_GEN_MODE_NONE
for supporting kernels to avoid potentially duplicate
IPv6 link-local addresses.
But it doesn't restore the original value of addr_gen_mode when exiting. So the kernel can not set link local address to the network interface after dhcpcd exits. Here is the test case:
$ dhcpcd -6 -b --inform6 --noconfigure -Q dhcp_message_type -f /etc/dhcpcd.conf eth0
$ ifconfig eth0
$ sleep 90
$ dhcpcd -6 -k eth0
$ echo -n 1 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6
$ ifconfig eth0
$ sleep 90
$ echo -n 0 > /proc/sys/net/ipv6/conf/eth0/disable_ipv6
$ sleep 90
$ ifconfig eth0
kernel can not generate IPv6 Link Local address. There are no inet6 entry such as fe80::dea6:32ef:ffc0:4567.
After set addr_gen_mode to 0, it works, kernel can generate IPv6 Link Local address.
$ echo 0 > /proc/sys/net/ipv6/conf/eth0/addr_gen_mode

dhcpcd is designed to be running all the time and addressing this would impact how I personally develop as then LL addresses would unexpectedly appear for me.
What is your use case for fixing this in a production environment?

Thanks. So far as I know, this is only a test case.


Fix update TaskDefinition error

Purpose of the pull request

Filter the task definitions which doesn't change, will not insert into DB.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

Codecov Report

Merging #12060 (3a4cfcb) into dev (e1b55db) will decrease coverage by 0.03%.
The diff coverage is 26.70%.

@@             Coverage Diff              @@
##                dev   #12060      +/-   ##
============================================
- Coverage     38.65%   38.62%   -0.04%
+ Complexity     4004     4003       -1
============================================
  Files          1002     1002
  Lines         37215    37259      +44
  Branches       4251     4245       -6
============================================
+ Hits          14386    14391       +5
- Misses        21195    21233      +38
- Partials       1634     1635       +1

Impacted Files
Coverage Δ

...er/api/service/impl/TaskDefinitionServiceImpl.java
22.84% <25.71%> (+0.43%)
:arrow_up:

...nscheduler/service/process/ProcessServiceImpl.java
31.83% <33.33%> (+<0.01%)
:arrow_up:

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
55.12% <0.00%> (-1.29%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...heduler/api/service/impl/ResourcesServiceImpl.java
51.68% <0.00%> (-0.47%)
:arrow_down:

...eduler/api/service/impl/DataSourceServiceImpl.java
29.14% <0.00%> (ø)

...cheduler/server/master/utils/DependentExecute.java
0.00% <0.00%> (ø)

.../dolphinscheduler/plugin/task/datax/DataxTask.java
0.00% <0.00%> (ø)

...phinscheduler/plugin/task/chunjun/ChunJunTask.java
0.00% <0.00%> (ø)

... and 10 more

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

this pr close #12065

@ruanwenjun @ruanwenjun I attempted to cherry-pick this PR to 3.0.2-prepare, but the conflicts were too many to be resolved. It contains some features and refactoring related to permission check and testFlag. I'm afraid that cherry-pick this one may cause several potential bugs, therefore, I suggest not doing this in 3.0.2. BTW, it seems this PR has been picked in 3.1.x.


Why driver library is not generic c library?

It is great that Melexis is offering driver library for MLX90621 but I do not understand why it implemented as mbed library and NOT as generic c library.
E.g. for MLX90632 is offered as generic c library: https://github.com/melexis/mlx90632-library

Hi,
C syntax is being used and there should be no problem to compile the code in C environment. Do you think there is a problem with that?
The only 'mbed specific' part is the I2C communication. This one should anyways be re-written for a specific MCU, so it is just sort of an example that happens to be for MBED. I always thought that an example is better than just a comment of the sort /write your code here/. Plus this can be useful for someone that wants to have something up and running without modifying anything.
Best regards

Hi,Thanks for your prompt reply. I agree with code can be compiled wihtout issue in c. I would like to be able to include external drivers as git submodule - without need to modify it.
With MLX90632 driver I can do that. Another example could be e.g. driver of BME280.

I see your point - haven't thought about it from that perspective.


Adding AzimuthConstraint

Adding a proposed azimuth constraint.  The constraint is very similar to the existing AltitudeConstraint, but constraints azimuth instead of altitude.  This constraint can be used to limit targets based upon their azimuth, such as in the downwind direction to reduce wind buffeting.   This helps in scheduling during marginal observing conditions that result from high winds.

Thanks @jdgibson! You'll need to write a test before we can merge this. You might want to look at the test for the AltitudeConstraint to see an example for a similar constraint.
Also, to avoid the complications that can arise from the problem you mention in your note, I think you could use astropy's Angle object to wrap angles that are not within 0 < theta < 2 pi. If you construct an Angle for any min/max angle submitted by a user, you can use Angle.wrap_at to wrap it into the bounds.

AzimuthConstraint has been modified to handle azimuth inputs more robustly.  Tests have been added for the new constraint and have passed for both Python 2.7 and Python 3.5.

@jdgibson, can I ask how many targets you have total that you are queue scheduling?

@jdgibson - I wonder why you decided to close this before it was merged?

@ejeschke:  We're on our third queue scheduling run using astropy/astroplan with several additional new constraints.  The first run was limited in scope, perhaps 20-30 targets.  The second run was around two weeks long and had around 120 targets/observing blocks with six different programs/principal investigators (PI's).  The current run has around 90 targets/observing blocks with seven different programs/PI's and is for ten nights.  We run a daily long-term schedule (the "scheduler") for the remainder of the run, typically up to two weeks.  This can take 1-2+ hours on a fast computer.  We use this to make sure that targets can be scheduled, identifying parts of the night that are over- or under-subscribed for telescope time, etc.  The queue observer runs a short-term schedule (the "dispatcher") that provides ranked scores for all the unobserved observing blocks.  They run this after finishing an observing block and would typically choose the highest ranking observing block for the next observation.  This dispatcher takes 1-2 minutes to run.  Hope this helps.
@bsipocz:  A major factor is, unfortunately, a lack of time on my part.  (Also, I need to learn the Github workflow better).  We are not currently actively using the AzimuthConstraint as one of our constraints.  We're using other new constraints (e.g., TimeAllocationConstraint, MeridianConstraint, PIPriorityConstraint, RotatorConstraint, etc) for our ranking of observing blocks.  These would be more valuable to the astroplan community.

@jdgibson We've talked at length in some other places about the speed-ups made possible by calculating rise/set times using a simplified trigonometric solver, rather than the currently implemented grid search over the "full" altitude solutions including atmospheric refraction. Would your use case be a good test case for the trigonometric solver, given that the computations will be much faster but the accuracy of the rise/set times may decline on the order of ~minutes?

@bmorris3.  Yes, I think we've got a good test case here at the MMTO.  We don't need highly accurate rise/set times.
We are using a new MeridianConstraint where the score is 1.0 on the meridian and 0.0 on the antimeridian.  I use the Observer.target_meridian_transit_time() function to get a time_to_transit_in_hrs.  The constraint score is 1 - (time_to_transit_in_hrs/12_hrs).  This constraint essentially doubles the overall computing time.  I've not had time to do a lot of optimization yet.  We commonly have targets that are low in the sky and this constraint helps us schedule those targets near their highest altitude.  I'm not sure if there is a way to speed up this meridian transit calculation.

@jdgibson, thanks, that's useful knowledge.  Do you think the bottleneck is in the target position calculation or elsewhere?  I'd really like to transition to using astroplan for our queue scheduling, but at the current level of efficiency it is not tenable.  We can schedule a two week queue run in a few minutes, with quite a few more targets and observers than you described.  We are using pyephem for the ephemeris calculations.
It would be interesting to profile the current code to see where the low-hanging fruit for optimization might be.  If it is in fact in the target position calculations, I'm wondering (@bmorris3, @bsipocz) whether it might be useful to add a module to cache rise/set times.  One could compute the positions of all the targets ahead of time (for a run, or a month), to a user-configurable interval (e.g. 5 min), then just use the cache for different scheduling runs that very the constraints or subset of targets.  This could all be added as a kind of layer on top, or on the side, or hidden. What do you think?

@ejeschke.  I'll try to get some profiling done to see where time is being spent.  We were using PyEphem in a previous version of our queue scheduling code.  That earlier version was much faster but didn't have all of the functionality that we needed and that the current code has.  I was attracted to the overall approach of Astroplan.  It's necessary to discuss scheduling strategies with managers and observers.  The object-oriented approach of Astroplan has greatly helped in discussing and refining our preferred strategy for scheduling and in getting user/management by-in.
Caching would certainly help to speed things up.  It would help in varying constraints and in using subsets of targets for scenario testing, as you mention.  I don't know how astropy and PyEphem compare in speed for equivalent calculations.  Both are very good astronomy libraries.

@ejeschke.  I'm relatively new to the astroplan community and don't know what others have already done in profiling the astroplan library.  I've included some profiling information below of two case studies, using our current queue software.  77 observing blocks are being scheduled in both cases.  The cumulative time is the time to schedule the first observing block.  Only the top 20 items in the profile output are included for each case.  In Case 1, I am using AtNightConstraint, AltitudeConstraint, AirmassConstraint,and TimeConstraint constraints.  In Case 2, I use these four constraints and add a MoonSeparationConstraint.  Total time for Case 1 is 21 seconds.  Total time for Case 2 is 56 seconds.  So, adding one constraint, a MoonSeparationConstraint in this case, more than doubles the total computing time.  I've only included constraints in the existing astroplan library in this profiling, not any of our custom constraints.   In my opinion, each constraint could potentially benefit from caching or other optimizations.  In Case 2, the majority of time is spent in calculating moon positions and moon-target separation angles.  The moon position at a specific time could be cached, for example.
Hope this helps.  Comments are welcome.
+++
Case 1:  Constraints: AtNightConstraint,AltitudeConstraint,AirmassConstraint,TimeConstraint
Output of: "python -m cProfile -s cumtime mmtscheduler.py":
     29118377 function calls (28260115 primitive calls) in 21.341 seconds

Ordered by: cumulative time
ncalls  tottime  percall  cumtime  percall filename:lineno(function)
1    0.001    0.001   21.343   21.343 mmtscheduler.py:82()
1    0.086    0.086   18.813   18.813 mmtscheduler.py:1545(main)
1    0.000    0.000   15.467   15.467 mmtscheduler.py:830(run)
1    0.000    0.000   15.460   15.460 scheduling.py:436(call)
1    0.024    0.024   15.459   15.459 mmtscheduler.py:178(_make_schedule)
326    0.016    0.000   12.720    0.039 sky_coordinate.py:329(transform_to)
98    0.003    0.000   10.314    0.105 observer.py:397(altaz)
304    0.002    0.000   10.259    0.034 constraints.py:181(call)
76    0.002    0.000    8.885    0.117 constraints.py:326(compute_constraint)
152    0.002    0.000    8.704    0.057 constraints.py:35(_get_altaz)
1202501/571385    0.598    0.000    8.447    0.000 {getattr}
76    0.007    0.000    8.414    0.111 observer.py:345(_transform_target_list_to_altaz)
6357/3773    0.040    0.000    7.229    0.002 sky_coordinate.py:411(getattr)
183404    0.638    0.000    6.408    0.000 collections.py:50(init)
144231    0.239    0.000    6.341    0.000 baseframe.py:628(get_frame_attr_names)
283065/283064    0.235    0.000    5.873    0.000 baseframe.py:201(get)
8155    0.244    0.000    5.762    0.001 sky_coordinate.py:37(FRAME_ATTR_NAMES_SET)
183477    0.479    0.000    5.552    0.000 _abcoll.py:548(update)
632/326    0.007    0.000    4.810    0.015 transformations.py:897(call)
82121    0.299    0.000    4.600    0.000 baseframe.py:302(convert_input)
+++
Case 2: Same as Case1 + MoonSeparationConstraint:
Output of: "python -m cProfile -s cumtime mmtscheduler.py":
    76436724 function calls (74697234 primitive calls) in 56.455 seconds

Ordered by: cumulative time
ncalls  tottime  percall  cumtime  percall filename:lineno(function)
1    0.011    0.011   56.457   56.457 mmtscheduler.py:82()
1    0.049    0.049   53.794   53.794 mmtscheduler.py:1545(main)
1    0.000    0.000   50.442   50.442 mmtscheduler.py:830(run)
1    0.000    0.000   50.436   50.436 scheduling.py:436(call)
1    0.026    0.026   50.435   50.435 mmtscheduler.py:178(_make_schedule)
380    0.003    0.000   45.187    0.119 constraints.py:181(call)
76    0.006    0.000   35.104    0.462 mmtscheduler.py:1362(compute_constraint)
228    0.002    0.000   28.190    0.124 solar_system.py:354(get_moon)
228    0.005    0.000   28.188    0.124 solar_system.py:308(get_body)
228    0.001    0.000   20.588    0.090 solar_system.py:259(_get_apparent_body_position)
228    0.007    0.000   20.584    0.090 solar_system.py:177(get_body_barycentric)
228    1.266    0.006   19.830    0.087 orbital_elements.py:176(calc_moon)
5030568/3722118    2.312    0.000   19.148    0.000 {getattr}
554    0.024    0.000   18.364    0.033 sky_coordinate.py:329(transform_to)
2684/1238    0.029    0.000   16.270    0.013 transformations.py:897(call)
501404    2.745    0.000   14.447    0.000 quantity.py:291(array_prepare)
3314/1868    0.013    0.000   13.918    0.007 transformations.py:705(call)
566930/566929    0.471    0.000   13.552    0.000 baseframe.py:201(get)
2130/804    0.019    0.000   12.381    0.015 baseframe.py:807(transform_to)
360000    1.240    0.000   11.769    0.000 collections.py:50(init)

@jdgibson, thanks for taking a close look at this!


Fix bug in package claiming when address verified

When the address is already verified and the user starts a package claim twice, we aren't clearing out old nonces properly.

Rebased, was 11dabce20246d6ba5d04e1f85034609911d4df68.

Ready for review, @rohitpaulk, et al.!


how to create alwaysontop window?

I have been looking for a solution to top the window, just like by electron setAlwaysOnTop, Of course, I hope to be compatible with macos and linux-gnome, these are the two development desktops that I usually use.
Thank you

https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-keep-above is probably what you want.

https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-keep-above is probably what you want.

Could you please tell me how to operate it? I do n’t know how to operate this interface parameter

If were to apply this to simple example in https://github.com/gotk3/gotk3-examples/blob/master/gtk-examples/simple/simple.go, you might add this after creating the window (perhaps around line #37).
	win.SetKeepAbove(true)

If we were to apply this to the simple example in https://github.com/gotk3/gotk3-examples/blob/master/gtk-examples/simple/simple.go, you might add this after creating the window (perhaps around line #37).
	win.SetKeepAbove(true)

Very well, thank you


Add baixo by .

Song Name
baixo
Artist Name
.
Source
Youtube
Youtube Link
SaNQiEH6JO4
Direct File Link
No response
Song ID
3
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 3150
Downloaded: Yes

.

.


bugfix - opencv broke my import

Description
Please include a summary of the change and which issue is fixed or implemented. Please also include relevant motivation and context (e.g. links, docs, tickets etc.).
List any dependencies that are required for this change.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?
YOUR_ANSWER
Any specific deployment considerations
For example, documentation changes, usability, usage/costs, secrets, etc.
Docs

[ ] Docs updated? What were the changes:

realized this doesn't fix it, closing this PR


roslyn2famix should not export contained elements

For example a class should not have the list of methods. This is because each method already knows it's class.

this will also reduce the size of the mse file a bit


chore: update dependencies and tools

Before turning on dependabot and generating tons of PRs, this change updates all the dependencies in one PR.
The only major manual changes:

Changes to support moving to eslint v9

These changes have already been deployed to staging. Once approved, I will deploy to prod.


502 http error when try to delete checks

I'm currently using four (!) Cabot VMs (Ubuntu 12.04) in different regions worldwide. It works great for over a long time, except one annoying issue:
When try to delete checks (mostly graphite checks) - it fails over and over again. 99% of the time.
Did anyone see this already? Any suggestions?
Thanks

@go-online we have also seen this issue, I assume it's because it's trying to delete the child CheckResult objects too.
On our instance we have a period job which cleans the db of old checkresults which isn't really a solution but is a workaround.
I'm not sure if there's a general Django or Postgres solution to this issue; I would love it if someone could look into it.

Thanks, @dbuxton .
Can you point to to where/how can I delete old results?
I don't mind to do it manually every week or so.
I succeed to login to the postgres db using "sudo -i -u postgres" and "psql" commands (ubuntu 12) - but not sure how to go from there.
Thanks.

Ok, let's try another path...
Can I truncate all check results with a command?
Currently I have more than 2 million... and they grow by ~100 every 5 minutes..
10x.

Hello,
Seems like there is a table cabotapp_statuscheckresult in the index database that stores all the check results.
You could easily delete old data in this table with a simple query, either on the id or on the "time" column.
I just tried to delete one entry by specifying an ID, it works.
$ psql (with postgres)
$ \connect index
$ \d cabotapp_statuscheckresult # to check the table structure
$ select count(0) from cabotapp_statuscheckresult; # to check number of lines
$ select * from cabotapp_statuscheckresult order by id DESC limit 50; # to check 50 last values
$ delete from cabotapp_statuscheckresult where id < XXXXX; # to delete entries with certain ids, you could do the same with the time column
Hope this helps, and thanks for the hard work on Cabot guys :)

I have the same issue. Whenever deleting a check (ping check, graphite check, etc), it takes a long time and then ends up with giving me "502 http error" with "bad gateway" on the webpage. I tried restart cabot and postgresql, and even the machine, but it doesn't help. Any fixes?


Focus on search field on document ready

Allow visitors to instantly use the search bar

Hey @acburst! Why is this enhancement not accepted? :)


Xcode 14 beta gives Failed Security assessment error

Describe the bug
After downloading, unxipping, and moving to /applications folder Xcode gives  an error:
Unable to install Xcode

Failed Security assessment with the following output:

/applications/Xcoce-14.0.0-beta.app: rejected (invalid destination for symbolic link in bundle)

Xcodes is failing the call of spctl --assess --verbose --type execute /applications/Xcoce-14.0.0-beta.app
To Reproduce
Download Xcode 14 beta 1 - Xcode gives error
Expected behavior
Security assessment passes without error
Screenshots
Version

OS: 12.4
Xcodes: 1.6

This just happened to me as well.

Submitted a bug report feedback FB10049201 (spctl assess fails on Xcode 14.0-Beta)

Yep, installing beta 2 worked perfectly for me.


small and small, .small

I notice that a small element first sets the font-size of 80%, but is then superseeded later to be a font-size of 85%
declaration of small
https://github.com/twbs/bootstrap/blob/049e86f47e90b35eeaf97d6b735f2fd3d62c0d1c/dist/css/bootstrap.css#L71-L73
declration of small, .small
https://github.com/twbs/bootstrap/blob/049e86f47e90b35eeaf97d6b735f2fd3d62c0d1c/dist/css/bootstrap.css#L1305-L1308
Seems a bit redundant. Should the small part of the second declration be removed, or is the intension for the second declaration to be correct, and therefore the first should be removed?

We can consolidate that stuff in v4, but for now we'll leave it as-is to avoid any backward incompatibility or unexpected changes.

@mdo Sure. In which case, wouldn't you want to add it to a 4.0 milestone or such? Otherwise, won't it simply get lost / forgotten about?

We're tracking a lot of stuff in a separate list.

Also, looking at this again, this is a won't fix. That first small is coming from Normalize.

Fair enough! =]


add documentation

There is so far no documentation in the code on how to use functions and what they do.
Ideally we want to setup a doxygen (alternative is also possible) for each functions which details the following features:

name
parameter : name, type, default value
return : type,
categories : list of strings
priority : value (what is it?)
resume : what does it do
url : clij documentation

The documentation should be standardized for the functionalities to be easily portable to the Java and Python wrapper, as well as be used for auto-generation

I set a PR for documentation using doxygen:

#183

This setup a documentation build with the cmake option BUILD_DOCUMENTATION (default is ON).
And I made two example of doc block for some tier1 functions here
/**
 * @name absolute
 * @brief Compute the absolute value of each pixel value x in a given image.
 * @category 'filter', 'in assistant'
 *
 * @param device Device::Pointer
 * @param src Array::Pointer
 * @param dst Array::Pointer (=nullptr)
 *
 * @return Array::Pointer
 *
 * @link https://clij.github.io/clij2-docs/reference_absolute
 */

OR
/**
 * @name add_images_weighted
 * @brief Computes the sum of pairs of pixels x and y from images X and Y weighted with factors a and b.
 * @category 'combine', 'in assistant'
 *
 * @param device Device::Pointer
 * @param src0 Array::Pointer
 * @param src1 Array::Pointer
 * @param dst Array::Pointer (=nullptr)
 * @param factor0 float (=1.0)
 * @param factor1 float (=1.0)
 *
 * @return Array::Pointer
 *
 * @link https://clij.github.io/clij2-docs/reference_addImagesWeighted
 */

Questions:

add an authors field: most of the kernels comes from clij but a few a now getting added by other collaborators.
default value: may be a cleaner way to do so?
brief: here brief a short, what if we have a more complex brief field?
alternative to doxygen?
missing field?

WARNING:
As the auto generation would depend on the documentation, it will be very important that it corresponds properly to code and that no discrepancies happens during future development.

After a quick local test, no issue with a more complex brief descriptions, nor default values parsing.
@haesleinhuepf  (:wave:) if you have any feed back on the topic before we start writing the doc, that would be great

add an authors field: most of the kernels comes from clij but a few a now getting added by other collaborators.

I'd say we could track authorship using git history. Thus, I would not duplicate this information in the code (even though I did so earlier).
Otherwise it looks pretty clear to me!

Note to self: I should help on this branch: https://github.com/clesperanto/clic_prototype/tree/doxygen
I will add documentation to < 10 functions from tier3/4 to see if fields are missing

One more note to myself: do this!

We could maybe add a field with the suggested data type to use for the documented filter?
e.g. gaussian_blur should use float type
e.g. binary_or should use uint8 type
etc.

the doxygen blocks become now the source for the code autogenerator for python (and java on the long run i guess).
It is now IMPORTANT to respect the format!


trainning new data and test error, help please

hi, the SINet.pth you give work normal.
but when i train the sinet using myown data ,  use my pth, but it occured

the layer name in my pth is not same with yours, some layer have no "encoder."
thank you for the nice work and hope for your reply.

have you solved? the same question.

@YAwei666 NO , have not

have you solved? the same question.

I think this is the weight problem


rake cucumber  does not work as "0 scenarios"

Summary
Seeing https://travis-ci.org/cucumber/cucumber-ruby/builds
After this commit https://github.com/cucumber/cucumber-ruby/commit/5f811ce3b6bd46a89a06e4441a2463450f83fb60 ,  all the cucumber tests are skipped as "0 scenarios".
Expected Behavior
cucumber tests work.
Current Behavior
My local environment
$ bundle exec rake cucumber
/usr/local/ruby-2.4.0/bin/ruby -S bundle exec cucumber

0 scenarios
0 steps
0m0.000s

Travis
Also same issue in Travis.
Look this. All the Ruby versions's builds have "0 scenarios".
https://travis-ci.org/cucumber/cucumber-ruby/builds/201999195
Possible Solution
I have no idea right now.
Steps to Reproduce (for bugs)
$ bundle exec rake cucumber

Context & Motivation
Your Environment

Version used: ruby 2.4.0
Operating System and version: Fedora 24
Link to your project:

I think this issue is urgent, isn't it?

It's a false positive. #1054 is dependent on cucumber/cucumber-ruby-core#116, but the cucumber-ruby-core change was merged 10 minutes after the cucumber-ruby change. Look at the Travis jobs after I've restarted them.

@brasmusson
Your travis job's Ruby 2.4.0 is still 0 scenarios. Is this false positive?
https://travis-ci.org/cucumber/cucumber-ruby/jobs/202000363

Your travis job's Ruby 2.4.0 is still 0 scenarios. Is this false positive?
https://travis-ci.org/cucumber/cucumber-ruby/jobs/202000363

@junaruga When I follow the link I see:
207 scenarios (11 failed, 196 passed)
1217 steps (11 failed, 6 skipped, 1200 passed)
1m10.102s

Yes, it is a false positive, until you find a job that both has 0 Scenarios and under the bundle install writes Using cucumber-core 2.0.0 from https://github.com/cucumber/cucumber-ruby-core.git (at master@1dcf049) (which is when cucumber/cucumber-ruby-core#116 is included)

Your travis job's Ruby 2.4.0 is still 0 scenarios

This was my mistake. Maybe. I must see wrong Travis job.
Yes it is the result that you mentioned above now for Ruby 2.4.0 too.
OK, thanks for your explanation.

My bad, I did the merges in the wrong order after testing it locally.
This could confuse others too. Note that until we do a release of core, you'll need an up-to-date copy of that project locally to avoid seeing this result when working on the main cucumber gem.


fix: open recent projects crashed

Description

Screencast

Checklist

[y ] I read the extension guidelines
[y ] I read the documentation about publishing
[ y] I ran npm run build and tested this distribution build in Raycast
[ y] I checked that files in the assets folder are used by the extension itself
[ y] I checked that assets used by the README are placed outside of the metadata folder

We're fixing it in #9448 instead by adding better error handling and also checking if there is a bug in the API that can cause this 🙂


Page transitions for React Router

Since navigation happens via api requests, the browser doesn't show a spinner while pages load. I find this makes the site feel nonresponsive (did my click actually do anything?) even though it's actually faster. I think we should add our own spinner somewhere on the page (in place of the logo the toolbar?)

@davisagli I fully agree. I changed the title, hope you are ok with that. It shouldn't be too hard to hook some animation into react router.

does this issue still exist or it's fixed?


PR6 Add analytics

Add gtag analytics, via gatsby-plugin-google-gtag .
As a side benefit, we also get click-away tracking when we use the OutboundLink component.

👷 Deploy Preview for bongosian-press processing.

Name
Link

🔨 Latest commit
8fcc9591dfec29caf1036563fe5f8e5b72687f4e

🔍 Latest deploy log
https://app.netlify.com/sites/bongosian-press/deploys/658372f2cf62e60008b9c1ea

So, we have to deploy to find out if our data is being properly connected or not. It looks like the events are firing okay, but analytics isn't showing any data yet. It takes a while, since they batch the data out.


issue when swap from wNEAR to USDC and USDT

NEAR Wallet: kentphan.near
Aurora Wallet: 0x5445b27EeEA00F196bB933dA26937C809746a003

Please check the rainbow bridge repos for these kind of issues.


[bug] cannot market sell

I think because 0 isn't being accepted as a price within the program. Could we use Number.MIN_VALUE or something similar?

In fact the only accepted value I can pass is 10 for the transaction to even accept and remove a base token from the wallet (in simulation).

Just FYI the market order for buy side works fine (or is working as expected). Is it because we truly don't need to pass in anything besides a correct value for maxQuoteLotsIncludingFees
If I set this up for the sell side of a market order
if (!limitOrder && ask) {
        priceLots = new BN(1);
        maxQuoteLotsIncludingFees = new BN(Math.floor(10 / QUOTE_LOTS));
      }

It accepts and works with any amount value I send it. Anything below 10/ QUOTE_LOTS fails.

This is tentatively closeable, not sure on the one pending ^^^ ? above.

It accepts and works with any amount value I send it. Anything below 10/ QUOTE_LOTS fails.

Are you able to submit the transaction to see what failure it comes up with? The logic looks right to me, although I don't know why you're getting this error

I guess my question is does maxQuoteLotsIncludingFees need to be related to the amount * price? or can it just be the minimal accepted value by the struct? On the market buy side it uses priceLots.mul(quoteLots) just didn't know if there was some acceptable value for "marketOrder" type.

I don't think it does, it's just if maxQuoteLotsIncludingFees < amount*price that maxQuoteLotsIncludingFees matters


Features/component style theme

trying out the componentstyle improvements

Is it better now?

@Eweol No, it doesn't.   Every StateHasChanged call on a component causes a re-render for GlobalCS and then the Rules prop is updated... which invokes the PropertyChanged event.

I tried adding a check to only raise the event if the new value is different.
public ICollection<Rule> Rules
        {
            get => _rules;
            set
            {
                if (_rules != value)
                {
                    _rules = value;
                    PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Rules"));
                }
            }
        }

This doesn't work because either:

You're creating a new List after every parameter change and it's always different.  My UI is very slow.
You're just clearing the current List and it's never different.  My UI is fast, but the styles don't apply.

I've tried just creating the List in OnInitialized ... but it doesn't update the UI with the new rules if I do it there.
There's a lifecycle problem here I think.  I'll think about it more tomorrow.  The OnThemeChanged event is nice, but maybe we should standardize our own lifecycle for Fabric components and do something like I did before:  the base component fires a style creation method and the derived components just need to override it.  Not sure yet.


Feature: when defining questions, assign arrow key positions randomly

Because the writer of the question must decide which answer is on the left, right, and up position, a bias could creep in where correct answers are assigned to a certain position more often.
Would it be better to randomly assign a cursor position to answers?

Alternative question syntax:
{
  "question": "1 == '1'",
  "answers": [ "false", "true", "undefined"] // assume the first answer is the correct one, but randomize the display
}

This makes it briefer, and possibly easier, to contribute questions, and removes the chance for bias when writing the question.

Thanks for the suggestion @SimplGy!
Yes, you're right, the questions' model is way too complex and it's painful to add new ones. I like the simplicity of yours. However, I think players shouldn't have to spend too much time searching for the right button. It's probably better if the answers are ordered "logically" rather than randomly.
Maybe a gulp task could parse the simplified file and build the proper json by searching for the right answer using eval("'foo' || 'bar'"). What do you think?

You could do the eval, either at build time (or, since your app is not a perf hog, run time). It has a few downsides:

If the answer is a blank string, it's easier to communicate that with (blank string) than '' sometimes. There are other cases that might be better explained that represented with syntax.
Array and object equality...
Other cases I'm not thinking of

I'd suggest keeping the question contribution streamlined and parse question.answers for when you want to make sure certain answers are always in certain positions. You could make sure that if the answers are true/false, they're always put on the left and right.  Then it's in the app layer, which is maybe the better place for it.

Thanks for the suggestions @SimplGy! I've included many of them in the last release (randomly displayed answers, simplified structure for the questions and so on). I've moved to a "dynamic" calculation of the result of the questions so you don't need to indicate which answer is correct. After some tests and updates, it seems to work properly so I'll stick with it for now.
Also, you are right about the restriction to "logical operators". I've removed it as I was already running out of questions. I'll probably include questions about some other topic in a near future, adding back the ones you submitted. If you have some others in mind, feel free to submit it :)

Sounds awesome, can't wait to play it!


This package is still maintained?

Hello!
I wonder if this library is still maintained or not?
I ask because there are some bugs and also the readme file is missing the installation steps for RN 0.60+.
For example, there are two issues regarding flickering on android, but nobody answered:
https://github.com/wix/react-native-keyboard-input/issues/98
https://github.com/wix/react-native-keyboard-input/issues/94
It would be great if this package would be maintained, because I did not found other similar packages.
Thank you!

Hey @ggunti
We're in the process of migrating this library to rnulib
There we plan to maintain it.
I hope in the next month we'll have some progress with it.

@ethanshar
It sounds great! I'm waiting for updates.

Updates?

Hi all,
This component already exist in https://github.com/wix/react-native-ui-lib
You can import it like this
import {Keyboard} from 'react-native-ui-lib';
const {KeyboardRegistry} = Keyboard;

We will post an official update in this repo in the near future.

@ethanshar react-native-ui-lib is more than double the size of react-native-keyboard-input 😔 will there really not be a maintained version aside from react-native-ui-lib?

Our goal is to provide sub modules for our components in RNUILib so you can import only what you need without ending up with a huge bundle size or need to install irrelevant dependencies


Data restructure: Track pages aren't showing album cover art when the track doesn't have art

Could also (maybe more likely) be that they aren't inheriting the "doesn't have track art" property from the album. (26 Feb 2022)

Fixed in a7281f12ee5fc52f8b748bb1fb555a057e8e6677. (26 Feb 2022)


Elaborate on how to create a custom command

The docs mention that something like:
:vsplit | Nman! 3 printf

is enough
But if I define that as a command, I won't have the cool tab completion. Anyway I can recover that?

@rgrinberg
command! -bang -complete=customlist,neoman#Complete -nargs=* Vnman vsplit | call neoman#get_page(<bang>0, <f-args>)

I'll update the readme as well, thanks!

@rgrinberg I've updated the docs and commands now. What do you think?

that's perfect, thanks.


types-publisher is crashing during indexing

The assert in getDownloads is failing.

Indexing is only to support TypeSearch, and this is just the download count, so...?

npm's download count API returns a different shape of reply when requesting download counts for 1 vs more than 1 packages. HA HA.
There is a workaround for this problem, but it's not correct. Should be inside the loop, not outside.

Fixed by ae0c0e2d110b319db7357bebf77e6de64d2af3e4


Bug in run main.py

Describe the bug

A clear and concise description of what the bug is.
When running the main.py in Colab, I met a error: can't import utils in "from hydra import utils". And I tried to comment the the code "from hydra import utils", the next error---"module 'hydra' has no attribute 'main'" in line 29, which is " @hydra.main(config_path='conf/config.yaml')"

Environment (please complete the following information):

OS: [e.g. mac / window]
Python Version [e.g. 3.6]

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

I ran it on Google Colab, the version of python is 3.6.9, and the OS should be Linux. I have fixed the former error, however, I met another problem as the following:
`ValueError                                Traceback (most recent call last)
 in ()
77
78 if name == 'main':
---> 79     main()
2 frames
/usr/local/lib/python3.6/dist-packages/hydra/_internal/utils.py in detect_task_name(calling_file, calling_module)
71             task_name = calling_module
72     else:
---> 73         raise ValueError()
74
75     return task_name
ValueError: `


[Docs] Resove issue #3293. Update link to Git Screencasts

Update link from the now unavailable gitcasts.com to the videos on the official Git website.

:+1: