feat: handle user-defined types in Isthmus

BREAKING CHANGE: TypeConverter no longer uses static methods

Change Summary
Updated the TypeConverter to accept a UserTypeMapper, an interface which implements type conversions between Substrait and Calcite. The existing code made heavy use of the static TypeConverter.convert method, which didn't work well for allowing users to include their own UserTypeMapper. I've updated all call sites to use an instance of TypeConverter, and most of the this code in this PR is for propagating the TypeConverter through the system.
As part of this change, I renamed convert to toSubstrait and toCalcite for improved clarity (the original method had an overload for each side of the conversion).
Additionally, I've simplified the resolution of URIs for types by injecting the URI directly into the ObjectMapper. This came up because types in FuncArgs were being created without URIs, and propagating the resolution to them was harder than just getting rid of it entirely.

Feels like it is better to get this in and iterate if we figure out it needs improvements later.

On my end, I'm more than happy to make any fixes and improvements as the need arises 🙇


the data link have been lost by baidu

Hi, same to the title of the title link.  the data of the model has been block by baidu. Could you reload the data again?

链接: https://pan.baidu.com/s/1Ixtfrf9Wii-1OChvuIQ1HA 提取码: whki
Please fetch the data as soon as possible or it will fail again

lost again

链接: https://pan.baidu.com/s/1Ixtfrf9Wii-1OChvuIQ1HA 提取码: whki
Please fetch the data as soon as possible or it will fail again

Can u seed it again?

ok， please refer to the #10

ok， please refer to the #10
已申请~


add runtime reload for TLS Certificate update

Add runtime reload support for TLS Certificate update.
Should be useful with letsencrypt.
Send SIGUSR1 to trigger.
HAVE NOT test on windows!!

Thanks your PR! But why do we need this?

When using "Let's Encrypt" with automatically renew certificates,
this could let gogs reload certificate without restart the service.

Thanks, but I don't think this is a particular useful feature for Gogs because although Gogs supports basic HTTPS if you expose Gogs directly in the public domain, but have a front proxy (NGINX, Apache2) is more recommended.


implement tests

Unit tests:

chatbot
add land (the 5 or six steps until finish)

Integration tests:

chatbot with landing
chatbot with dashboard
add land element with dashboard/home

End to end tests:

Visit landind -> get started -> Login -> show dashboard -> add land -> visit your land -> log out


Add CPE for some JavaScript-based techologies

Added CPEs for AngularJS, Backbone.js, ExtJS, Handlebars, Moment.js, Prototype, TinyMCE, YUI.

Thank you!


NO ACCESS error

Hi
In Firebase crashlytics I observe the Fatal Exception: FlutterErrorPlatformException(NO ACCESS, null, null, null). Error thrown null. After investigating I found that the reason is denied camera permission. Could you please provide a way to handle this error?
Log attached
stacktrace.txt

Which version of the plugin are you using?

I used 2.0.0 and 2.1.0

In mobile_scanner_controller.dart file you can find the start method that throws this error. Method start is calling in the MobileScannerController constructor, didChangeAppLifecycleState and switchCamera but in all cases the error is not handled
Future<void> start() async {
   ensure('startAsync');
   if (isStarting) {
     throw Exception('mobile_scanner: Called start() while already starting.');
   }
   isStarting = true;
   // setAnalyzeMode(AnalyzeMode.barcode.index);

   // Check authorization status
   if (!kIsWeb) {
     MobileScannerState state = MobileScannerState
         .values[await methodChannel.invokeMethod('state') as int];
     switch (state) {
       case MobileScannerState.undetermined:
         final bool result =
             await methodChannel.invokeMethod('request') as bool;
         state = result
             ? MobileScannerState.authorized
             : MobileScannerState.denied;
         break;
       case MobileScannerState.denied:
         isStarting = false;
         _throw PlatformException(code: 'NO ACCESS');_
       case MobileScannerState.authorized:
         break;
     }
   }

https://github.com/juliansteenbakker/mobile_scanner/blob/5ebc65e96e8de7224e3a7265d388a8d5d00ee3fd/lib/src/mobile_scanner_controller.dart#L195
The code has already been changed in the latest version v3.0.0-beta.4. With this version you can catch the error, and you can provide a widget to display if an error occurs.
https://github.com/juliansteenbakker/mobile_scanner/blob/5ebc65e96e8de7224e3a7265d388a8d5d00ee3fd/lib/src/mobile_scanner.dart#L29


connecting to MS SQL server: generated SQL not compatible?

Latest version used from Protégé-bundled
jdbc connection tested: OK
importing R2RML: OK
starting reasoner: OK
doing a query:
SELECT ?x
WHERE {?x ?y ?z.}
LIMIT 5

Error thrown:
it.unibz.inf.ontop.model.OBDAException: Error executing SQL query:
Incorrect syntax near '`'.
SQL query:
 SELECT *
FROM (
SELECT
   1 AS `xQuestType`, NULL AS `xLang`, CONCAT('http://id.vlaanderen.be/id/adres/', REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(CAST(QVIEW1."AdresID" AS CHAR(8000) CHARACTER SET utf8), ' ', '%20'), '!', '%21'), '''', '%22'), '#', '%23'), '$', '%24'), '&', '%26'), '(', '%28'), ')', '%29'), '*', '%2A'), '+', '%2B'), ',', '%2C'), '/', '%2F'), ':', '%3A'), ';', '%3B'), '=', '%3D'), '?', '%3F'), '@', '%40'), '[', '%5B'), ']', '%5D'), '#id') AS `x`
 FROM
"dbo"."Adres" QVIEW1
WHERE
QVIEW1."AdresID" IS NOT NULL
) SUB_QVIEW
LIMIT 5

The same done using MySQL: OK

Hi,
it seems to be a problem related to the jdbc driver. Are you using the standard sql driver com.microsoft.sqlserver.jdbc.SQLServerDriver ?
In the SQL query the reasoner seems like it is still using the syntax for the mysql driver.

I have in my [SourceDeclaration]
sourceUri	datasource1
driverClass	com.microsoft.sqlserver.jdbc.SQLServerDriver
And I get now a different SQL dialect meaning my config was obviously wrong.
But with the corrections made I still get errors:
it.unibz.inf.ontop.owlapi.OntopOWLException: it.unibz.inf.ontop.model.OBDAException: Error executing SQL query:
Incorrect syntax near 'OFFSET'.
SQL query:
 SELECT *
FROM (
SELECT
   1 AS "xQuestType", NULL AS "xLang", (CAST ('http://id.vlaanderen.be/id/adres/' as varchar(8000)) + CAST(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(CAST(QVIEW1."AdresID" AS VARCHAR(8000)), ' ', '%20'), '!', '%21'), '''', '%22'), '#', '%23'), '$', '%24'), '&', '%26'), '(', '%28'), ')', '%29'), '*', '%2A'), '+', '%2B'), ',', '%2C'), '/', '%2F'), ':', '%3A'), ';', '%3B'), '=', '%3D'), '?', '%3F'), '@', '%40'), '[', '%5B'), ']', '%5D') as varchar(8000)) + CAST('#id' as varchar(8000))) AS "x"
 FROM
"dbo"."Adres" QVIEW1
WHERE
QVIEW1."AdresID" IS NOT NULL
UNION ALL
SELECT
   1 AS "xQuestType", NULL AS "xLang", (CAST ('http://id.vlaanderen.be/id/adres/' as varchar(8000)) + CAST(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(CAST(QVIEW1."AdresID" AS VARCHAR(8000)), ' ', '%20'), '!', '%21'), '''', '%22'), '#', '%23'), '$', '%24'), '&', '%26'), '(', '%28'), ')', '%29'), '*', '%2A'), '+', '%2B'), ',', '%2C'), '/', '%2F'), ':', '%3A'), ';', '%3B'), '=', '%3D'), '?', '%3F'), '@', '%40'), '[', '%5B'), ']', '%5D') as varchar(8000)) + CAST('#id' as varchar(8000))) AS "x"
 FROM
"dbo"."Adres" QVIEW1
WHERE
QVIEW1."AdresID" IS NOT NULL
) SUB_QVIEW
OFFSET 0 ROWS
FETCH NEXT 5 ROWS ONLY

	at it.unibz.inf.ontop.owlrefplatform.owlapi.QuestOWLStatement.executeTuple(QuestOWLStatement.java:109) ~[na:na]
	at it.unibz.inf.ontop.protege.views.QueryInterfaceView$2.executeQuery(QueryInterfaceView.java:194) ~[na:na]
	at it.unibz.inf.ontop.protege.views.QueryInterfaceView$2.executeQuery(QueryInterfaceView.java:161) ~[na:na]
	at it.unibz.inf.ontop.protege.gui.action.OBDADataQueryAction$1.run(OBDADataQueryAction.java:152) ~[na:na]

Hi @PaulZH ,
It seems Ontop is getting confused about which DB engine is connecting to.
Can you provide the the following information:

the version of MS SQL Server
the JDBC driver of SQLSever and version
what is your JDBC url

Hi,
the problem seems to be related to our sql translation of limit in sql server.
You can temporary fix the issue adding order by to your SPARQL query.
So for example:
SELECT ?x
WHERE {?x a :Person.}
ORDER BY ?x
LIMIT 5

Thanks for the workaround.


Instructions on Tutorial on how much to read

Tutorial ...
Flow is not correct need to instruct user to check or correct the flow


[Automation] Generate Fluent Lite from confidentialledger#package-preview-2023-06

[Automation] Generate Fluent Lite from confidentialledger#package-preview-2023-06

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure.resourcemanager:azure-resourcemanager-confidentialledger


dmlc.mk file missing from release 0.6

For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System: OS X El Capitan
Compiler:$ g++ -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-8<IP_ADDRESS>)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Package used (python/R/jvm/C++): C++
xgboost version used: 0.6 release version
If installing from source, please provide

The commit hash (git rev-parse HEAD)
Logs will be helpful (If logs are large, please upload as attachment).

If you are using python package, please provide

The python version and distribution
The command to install xgboost if you are not installing from source

If you are using R package, please provide

The R sessionInfo()
The command to install xgboost if you are not installing from source

Steps to reproduce

Download 0.6 release and untar/gz.
cd  xgboost-0.60
build.sh

What have you tried?

Cloned the current repository and got the same error.
Typed "make".
$ find . -name dmlc.mk in the cloned repository.

This version works
https://github.com/dmlc/xgboost/releases/tag/0.47

Found the install documents. Sorry.


docs: add a colab for BiT in video search

focus more on how to use BiT to get frame-wise video representation

@googlebot I signed it!


Update services.md

Change 'correcty' to 'correct way'

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @leonstrand :)


Revert "Portfolio mobile vision"

Reverts kal2944/personal-portfolio#1

i have updated the style.css file


change blending level

Hi! If I want to modify the blending level, for instance, only blend 25% of the source image to the destination image, is there a way to do that? Thanks in advance.

Do you mean mask0.25src + (1-mask*0.25)*dst ? If so, you can achieve this by modifying the corresponding code for compositing the image.

On Nov 13, 2021, at 12:01 AM, hliu549 @.***> wrote:
Hi! If I want to modify the blending level, for instance, only blend 25% of the source image to the destination image, is there a way to do that? Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/wuhuikai/GP-GAN/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABULPVLVIRAU3BO47EAG3SDULU26ZANCNFSM5H5FCENA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Update matrix-js-sdk

Our version of matrix-js-sdk is outdated, and the new major versions have some breaking changes to it cannot be done automatically.
Also, we can remove @types/matrix-js-sdk because it appears that matrix-js-sdk is TS-based now.

done :)


v0.3 - Code Refactoring

Updated everything that could be updated and deleted what could be deleted

Thank you.
Could you maybe describe a bit more what the changes are in detail, and why they were needed? The PR as is is quite a lot to review.

@ankon

This commit closes https://github.com/Collaborne/cordova-gallery-api/issues/3 issue
Due to the lack of versioning, an error was mixed into the JSON. Because of what the JS part could not read JSON Object
I have simplified the Android dev folder structure
Removed all unnecessary to make it easier for developers to open it in Android Studio right away

@ankon
.iml file is auto-generated.
cordova.jar does not exist in the repository at all, you need to download/build it yourself, so as not to violate copyright. once the user adds this file to the "libs" folder and clicks "sync Gradle project" in .iml everything will be automatically changed. This file should be added to .gitignore

.iml file is auto-generated.

That's fair, but then we can also drop it completely, couldn't we?

@ankon

Typo "ibs"?

check second commit. this line should not be at all

.iml file is auto-generated.

That's fair, but then we can also drop it completely, couldn't we?

as i also said This file should be added to .gitignore

The minimum API level needed for Google Play seems to be 28 (https://developer.android.com/distribute/best-practices/develop/target-sdk), so I think it would be good to also keep this in this library -- unless there's reasons to require something higher, of course.

??? targetSdkVersion = 29
https://github.com/fax1ty/cordova-gallery-api/blob/d9286792ec14478ce7c7eb63a48b103b1284b630/dev/android/app/build.gradle#L9

I updated all dependencies and properties to be up-to-date

@ankon
The new version of Cordova changed the import packages
I'll leave the assembled version of cordova-8.1.0 here
cordova-8.1.0.jar.zip
Also check last commit


Fixing text clash with title on ThankYou page

Related issues
https://github.com/DivanteLtd/vue-storefront/issues/1814
Short description and why it's useful
It fixes the clash between a multiline text and the title in "Type your opinion" textarea of the ThankYou page. It's a UI fix.
Screenshots of visual changes before/after (if there are any)
before:

after:

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and curently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and refactoring plan for them

Thanks @akbarik !


whisper-peft model to onnx

@pacman100
hi,thanks for your excellent work
is there any way to convert a peft model to onnx?
i saw a pull request but it isn't merged.it is in the following link:
https://github.com/huggingface/peft/blob/smangrul/add-lora-model-to-onnx-conversion-notebook/examples/inference/convert_lora_model_to_onnx.ipynb

and using the code gives the following error:
AttributeError: 'str' object has no attribute 'detach'
any help is really appreciated.

Using the bigscience/bloom-560m base model and finetuning with PEFT / LoRA, I was able to export to ONNX and perform inference, but the model predictions are degraded 🤔 Details: https://github.com/huggingface/peft/issues/670
Not sure whether ONNX export after PEFT / LoRA finetuning is actually supported yet.


Restore NOTICE file to this repository

@tapika The NOTICE file (which you can find here: https://github.com/chocolatey/choco/blob/develop/NOTICE) has been removed from this repository.
Can I please ask that this is restored.

That was restores in develop, now also restored in master.

Ah, makes sense. Thanks for fixing that!


network: fix vm can be deployed on L2 network of other accounts

Description
This PR fixes a bug with integration test test_storage_policy.py
https://github.com/apache/cloudstack/blob/<IP_ADDRESS>/test/integration/smoke/test_storage_policy.py#L191-L208
in the test, root admin deploys a vm for another account on root admin's L2 network, it should fail but test passes.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[x] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1911

@blueorangutan test

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2662)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31028 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5784-t2662-kvm-centos7.zip
Smoke tests completed. 91 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File

this PR needs more love.
related to #2420

@nvazquez
the issue fixed by #2420  is not a real issue in my opinion.
#3158 has reverted part of #2420, this PR reverts rest of #2420.
could you please review it ?

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 1987

@blueorangutan test

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2041

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_multiplication_x: debian :heavy_check_mark: suse15. SL-JID 2055

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2065

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 2068

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_multiplication_x: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2107

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2114

@blueorangutan package

@blueorangutan package

@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_multiplication_x: suse15. SL-JID 2142

@blueorangutan package

@sureshanaparti a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 2153

@weizhouapache can you check unit test error
[ERROR] addUserAccountFail(org.apache.cloudstack.cloudian.CloudianClientTest)  Time elapsed: 9.42 s  <<< ERROR!
org.apache.cloudstack.api.ServerApiException: Operation timed out, please try again.
	at org.apache.cloudstack.cloudian.CloudianClientTest.addUserAccountFail(CloudianClientTest.java:145)

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@sureshanaparti it is not related to this PR. let me rebuild the package

Packaging result: :heavy_multiplication_x: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2155

@blueorangutan package

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 2160

@blueorangutan test

@sureshanaparti a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2840)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33006 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5784-t2840-kvm-centos7.zip
Smoke tests completed. 92 look OK, 0 have errors
Only failed tests results shown below:

Test
Result
Time (s)
Test File


Rpiplay

Motivation for this change
Added new package RPiPlay.
It is an open-source implementation of an AirPlay mirroring server
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 121117 at 70c30643 run on x86_64-linux 1

1 package built successfully:

rpiplay

1 suggestion:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/servers/rpiplay/default.nix:15:5:
   |
15 |     (fetchpatch {
   |     ^

@ofborg eval


Excalibrain.md file never created

After installing, the excalibrain file was never created. I reinstalled but it didn't fix the issue. I created the excalibrain.md file myself but it's just a blank note. I do have excalidraw and dataview installed and enabled and i did not change the filepath setting. What am i doing wrong?
Thank you for what looks like a really promising plugin!

I suspect this may have to do with the document properly handling. Is there anything I should be looking for in particular when inspecting my properties for the culprit? Unfortunately, it's not one I've added recently because I tried to use your plugin months ago and experienced the same issue. Thanks for any help you can provide!
John


retdec very confused about switch statement

When playing around with retdec, I've discovered that it gets very confused about switch statements. Here's an example:
[0x00400a3f]> pdzo
                  |//
                  |// This file was generated by the Retargetable Decompiler
                  |// Website: https://retdec.com
                  |// Copyright (c) Retargetable Decompiler<EMAIL_ADDRESS>                  |//
                  |
                  |#include <stdint.h>
                  |#include <stdio.h>
                  |#include <stdlib.h>
    0x004007ed    |
    0x004007ed    |void fcn_004007ed(void);
    0x0040098d    |void fcn_0040098d(void);
    0x004009cf    |void fcn_004009cf(void);
    0x004009fd    |void fcn_004009fd(void);
                  |
                  |// --------------------- Global Variables ---------------------
                  |
                  |int64_t g1;
                  |int32_t g2;
                  |
                  |// ------------------------ Functions -------------------------
    0x00400a3f    |
    0x00400a3f    |// Address range: 0x400a3f - 0x400af0
    0x00400a3f    |int main(int argc, char ** argv) {
    0x00400a53    |    // 0x400a3f
    0x00400a53    |    fcn_004009cf();
    0x00400a5d    |    fcn_004009fd();
    0x00400a67    |    fcn_0040098d();
    0x00400a71    |    fcn_004007ed();
    0x00400a82    |    g1 = &g2;
    0x00400ab5    |    if ((int64_t)&g2 == 4) {
    0x00400ab5    |        // 0x400ab0
    0x00400ab5    |        puts("Reading is not allowed before checkout");
    0x00400abf    |        exit(0);
    0x00400abf    |        // UNREACHABLE
    0x00400ab5    |    }
    0x00400ada    |    // 0x400ad5
    0x00400ada    |    puts("Hey! what do you think you are doing?");
    0x00400ae4    |    exit(0);
    0x00400ae4    |    // UNREACHABLE
    0x00400a3f    |}
                  |
                  |// --------------- Dynamically Linked Functions ---------------
    0x004006f0    |
    0x004006f0    |// void exit(int status);
    0x00400660    |// int puts(const char * s);
                  |
                  |// --------------------- Meta-Information ---------------------
                  |
                  |// Detected compiler/packer: gcc (4.8.5)
                  |// Detected functions: 1

The more correct interpretation can be seen with Ghidra:
                  |
                  |// WARNING: Variable defined which should be unmapped: var_4h
                  |// WARNING: [r2ghidra] Failed to match type int for variable argc to Decompiler type: Unknown type identifier int
                  |// WARNING: [r2ghidra] Failed to match type signed int64_t for variable var_4h to Decompiler type: Unknown type
                  |// identifier signed
                  |
                  |undefined8 main(undefined8 argc, char **argv)
                  |{
                  |    undefined4 uVar1;
                  |    int64_t var_20h;
                  |    int64_t var_14h;
                  |    int64_t var_4h;
                  |
    0x00400a53    |    fcn.004009cf();
    0x00400a5d    |    fcn.004009fd();
                  |    do {
    0x00400a67    |        fcn.0040098d();
    0x00400a71    |        uVar1 = fcn.004007ed();
                  |    // switch table (6 cases) at 0x400d38
    0x00400a8a    |        switch(uVar1) {
                  |        default:
    0x00400ada    |            sym.imp.puts("Hey! what do you think you are doing?");
                  |    // WARNING: Subroutine does not return
    0x00400ae4    |            sym.imp.exit(0);
                  |        case 1:
    0x00400a91    |            fcn.0040087c();
    0x00400a96    |            break;
                  |        case 2:
    0x00400a9d    |            fcn.0040093a();
    0x00400aa2    |            break;
                  |        case 3:
    0x00400aa9    |            fcn.004008ec();
    0x00400aae    |            break;
                  |        case 4:
    0x00400ab5    |            sym.imp.puts("Reading is not allowed before checkout");
                  |    // WARNING: Subroutine does not return
    0x00400abf    |            sym.imp.exit(0);
                  |        case 5:
    0x00400ac9    |            sym.imp.puts("Come again :)");
    0x00400aef    |            return 0;
                  |        }
                  |    } while( true );
                  |}

Thank you for the input I have looked at it and found out an interesting fact. The file can be found in https://github.com/avast/retdec-r2plugin/issues/12 (file).
I've tried to decompile the binary as a whole with the RetDec alone and got expected result with switch:
  int64_t function_400a3f(int64_t a1, int64_t a2) {
      // 0x400a3f
      function_4009cf();
      function_4009fd();
      while (true) {
          // 0x400a62
          function_40098d();
          int64_t v1 = function_4007ed(); // 0x400a71
          g9 = v1 & 0xffffffff;
          switch ((int32_t)v1) {
              case 1: {
                  // 0x400a8c
                  function_40087c();
                  // break -> 0x400ae9
                  break;
              }
              case 2: {
                  // 0x400a98
                  function_40093a();
                  // break -> 0x400ae9
                  break;
              }
              case 3: {
                  // 0x400aa4
                  function_4008ec();
                  // break -> 0x400ae9
                  break;
              }
              case 4: {
                  // 0x400ab0
                  puts("Reading is not allowed before checkout");
                  exit(0);
                  // UNREACHABLE
              }
              case 5: {
                  // 0x400ac4
                  puts("Come again :)");
                  return 0;
              }
              default: {
                  // 0x400ad5
                  puts("Hey! what do you think you are doing?");
                  exit(0);
                  // UNREACHABLE
              }
          }
      }
      // 0x400ad5
      puts("Hey! what do you think you are doing?");
      exit(0);
      // UNREACHABLE
  }

The first difference that you may see is that the function fcn_004007ed does not return. This is because radare2 provided info about calling conventions that were used during decompilation. radare2, however, provided info that mentioned function does not return anything (returns void). This was used in RetDec and because of the optimization of LLVM and ours the switch was not detected/was discarded.
So I have provided info/renamed the function fcn_004007ed:
[0x00400a3f]> s fcn.004007ed
[0x004007ed]> afn chooser
[0x004007ed]> "afs int chooser();"

Then the output is following:
[0x00400a3f]> pdzo
                  |//
                  |// This file was generated by the Retargetable Decompiler
                  |// Website: https://retdec.com
                  |// Copyright (c) Retargetable Decompiler<EMAIL_ADDRESS>                  |//
                  |
                  |#include <stdbool.h>
                  |#include <stdint.h>
                  |#include <stdio.h>
                  |#include <stdlib.h>
    0x004007ed    |
    0x004007ed    |int32_t chooser(void);
    0x0040087c    |void fcn_0040087c(void);
    0x004008ec    |void fcn_004008ec(void);
    0x0040093a    |void fcn_0040093a(void);
    0x0040098d    |void fcn_0040098d(void);
    0x004009cf    |void fcn_004009cf(void);
    0x004009fd    |void fcn_004009fd(void);
                  |
                  |// --------------------- Global Variables ---------------------
                  |
                  |int64_t g1;
                  |
                  |// ------------------------ Functions -------------------------
    0x00400a3f    |
    0x00400a3f    |// Address range: 0x400a3f - 0x400af0
    0x00400a3f    |int main(int argc, char ** argv) {
    0x00400a53    |    // 0x400a3f
    0x00400a53    |    fcn_004009cf();
    0x00400a5d    |    fcn_004009fd();
    0x00400a67    |    while (true) {
    0x00400a67    |        // 0x400a62
    0x00400a67    |        fcn_0040098d();
    0x00400a71    |        int64_t v1 = chooser(); // 0x400a71
    0x00400a82    |        g1 = v1;
    0x00400a67    |        switch (v1) {
    0x00400a67    |            case 1: {
    0x00400a91    |                // 0x400a8c
    0x00400a91    |                fcn_0040087c();
    0x00400a91    |                // break -> 0x400ae9
    0x00400a91    |                break;
    0x00400a67    |            }
    0x00400a67    |            case 2: {
    0x00400a9d    |                // 0x400a98
    0x00400a9d    |                fcn_0040093a();
    0x00400a9d    |                // break -> 0x400ae9
    0x00400a9d    |                break;
    0x00400a67    |            }
    0x00400a67    |            case 3: {
    0x00400aa9    |                // 0x400aa4
    0x00400aa9    |                fcn_004008ec();
    0x00400aa9    |                // break -> 0x400ae9
    0x00400aa9    |                break;
    0x00400a67    |            }
    0x00400a67    |            case 4: {
    0x00400ab5    |                // 0x400ab0
    0x00400ab5    |                puts("Reading is not allowed before checkout");
    0x00400abf    |                exit(0);
    0x00400abf    |                // UNREACHABLE
    0x00400a67    |            }
    0x00400a67    |            case 5: {
    0x00400ac9    |                // 0x400ac4
    0x00400ac9    |                puts("Come again :)");
    0x00400aef    |                return 0;
    0x00400a67    |            }
    0x00400a67    |            default: {
    0x00400ada    |                // 0x400ad5
    0x00400ada    |                puts("Hey! what do you think you are doing?");
    0x00400ae4    |                exit(0);
    0x00400ae4    |                // UNREACHABLE
    0x00400a67    |            }
    0x00400a67    |        }
    0x00400a67    |    }
    0x00400ada    |    // 0x400ad5
    0x00400ada    |    puts("Hey! what do you think you are doing?");
    0x00400ae4    |    exit(0);
    0x00400ae4    |    // UNREACHABLE
    0x00400a3f    |}
                  |
                  |// --------------- Dynamically Linked Functions ---------------
    0x004006f0    |
    0x004006f0    |// void exit(int status);
    0x00400660    |// int puts(const char * s);
                  |
                  |// --------------------- Meta-Information ---------------------
                  |
                  |// Detected compiler/packer: gcc (4.8.5)
                  |// Detected functions: 1

Right now the r2plugin only blindly imports info from radare2 console. This has its pros and cons. The main pros are that info about functions that a user specifies is propagated to RetDec and used. This, however, means that the default conventions detected by radare2 when a user does not specify the info will be used as the default (and those conventions are not that great).
This, however, is planned to be solved in the next release of r2plugin when we plan to provide an option for users to specify what kind of info should be used from RetDec analysis (or to analyze and import info from RetDec beforehand).

If you have any other questions feel free to ask in this thread. But as this is solved by manually providing info about calling convention I am closing this issue for now.


Odd placing of opening brace after reformatting long where clause

When rustfmt reformats long where clauses it puts the opening brace on a newline.
pub fn refresh_workshops<'a, T>(workshops: T)
    where T: Iterator<Item = &'a Workshop>
{

I would have expected this
pub fn refresh_workshops<'a, T>(workshops: T)
    where T: Iterator<Item = &'a Workshop> {

This can be customised with some the option fn_brace_style.

Sorry, I should have made myself more clear. This happens with BraceStyle::SameLineWhere. All functions have their opening brace on the same line as the rest of the signature except that one where it broke down the signature into multiple lines.

SameLineWhere means that we try to put the brace on the same line unless there is a where clause, in which case it goes on a new line. The exception (iirc) is that if the whole function decl fits on one line, then we keep the brace on that line, overriding the fn_brace_style. I think that can also be customised with an option. Does that fit your observations?

Ah, yes you're right. PreferSameLine is what I want :)

One follow up question: Why would PreferSameLine actually not be an AlwaysSameLine? Am I right to assume that it will force it to a new line only when the length of the line is exactly one over the max_width?

I think that is true and also the reason it is Prefer (not 100% sure though).


claim search results with duplicate reposts (consolidating by default)

By default, claim search should handle duplicate results (squash) of reposted claim ids and return whichever record would otherwise come first.  The problem becomes when multiple channels repost the same content, app users will have duplicate displays of the same content.
For example, if you are sorting by effective amount, show the repost record with the highest effective amount. If you are sorting by release time, show the earliest record. If you are sorting by trending, show the record with the highest trending value.
It should also be possible to add a flag that would return the full result.
Eventually, it would also be nice to return multiple channels in the single result that combine into the squashed result so that the app can show "this was reposted by x, y, z and...".
Another scenario to consider is a single channel that reposts the same claim under multiple URLs - we'd only want to see this once - probably with the same rules as above.

the PR for limiting is on #3301 with status being updated there.

It should also be possible to add a flag that would return the full result.

I did it following the pattern from limit_claims_per_channel, so it preserves order but acts globally instead of per page. Currently it is a flag, but we can make some number the default if desired.

Eventually, it would also be nice to return multiple channels in the single result that combine into the squashed result so that the app can show "this was reposted by x, y, z and...".

the hub already knows how many times it was reposted, but doesn't return that on any API yet. I think is is a candidate for another issue maybe? Also, telling who reposted each claim while preserving order requires a more convoluted query, but can be done too.. I think it deserves its own issue so we can clarify how many to return and which criteria to use?
note if we create an issue: picking X channels who reposted can probably be done on index time, so we remove query penalties.

Another scenario to consider is a single channel that reposts the same claim under multiple URLs - we'd only want to see this once - probably with the same rules as above.

I believe this is covered but will add this to the integration tests.

This will be available in the next release on be deployed on web apis asap.


added new file chris-jones.txt

Hey chris! Looks awesome. I see you were able to fork, clone, and follow the git flow. You added a text file and completed part one of your objective for the day. If you have not yet, please follow these steps for UI II & UI III. You're doing awesome!


Request parameters not obtained in springboot2.2.0

When content-type is x-www-form-urlencoded,springboot2.2.0.RELEASE,logbook-spring-boot-starter1.13.0, request parameters could not be obtained.

Have you read this at https://github.com/zalando/logbook#servlet?

The LogbookFilter will, by default, treat requests with a application/x-www-form-urlencoded body not different from
any other request, i.e you will see the request body in the logs. The downside of this approach is that you won't be
able to use any of the HttpServletRequest.getParameter*(..) methods. See issue #94 for some more
details.
As of Logbook 1.5.0, you can now specify one of three strategies that define how Logbook deals with this situation by
using the logbook.servlet.form-request system property:

Value
Pros
Cons

body (default)
Body is logged
Downstream code can not use getParameter*()

parameter
Body is logged (but it's reconstructed from parameters)
Downstream code can not use getInputStream()

off
Downstream code can decide whether to use getInputStream() or getParameter*()
Body is not logged

sorry,it's my problem


Non metric (US) Paper size support

It would be useful to add additional paper size support, specifically the US Letter/Legal sizes.

@dBitech good idea, feel free to fork the repo and make a pull request for adding other paper sizes.


Testing, please ignore. (qffeqi)

This is a bug bounty test - please ignore.. Please DO NOT APPROVE THIS! (qffeqi)

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


Hyperlink for target

The hyperlink for target points to the entity filter list and not a list of target types like  self/other/item/etc...

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

ID: b59bde4e-6c76-2042-9c2c-45abf98001cb
Version Independent ID: 912bfae8-25e5-f427-a474-5fc8efa690ac
Content: Block Documentation - damage
Content Source: creator/Reference/Content/BlockReference/Examples/BlockEvents/minecraftBlock_damage.md
Product: gaming
GitHub Login: @mammerla
Microsoft Alias: v-bbortree

Thank you for your feedback; the errant link will be removed with the next release.


docs(closures): fix typo

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Hello I was doing the tutorial and notice (imo) a typo between "hello" and "good-bye".
If it's done one purpose, i'll close the PR ^^
Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

Thanks @Nico385412 !


Provide a working YAML example for building and testing an iOS app.

Can you please provide a full WORKING example for iOS?
I've seen examples for Android, but I'm building also an iOS app and there seems to be no proper documentation. Note that there are some instructions that actually work (https://docs.microsoft.com/en-us/appcenter/test-cloud/preparing-for-upload/xcuitest), but the Azure DevOps step is fundamentally different. Or at least the documentation is not at all helpful. For example, should I provide an IPA file or a app file? The appcenter-cli requires the app from the DerivedData directory, but the documentation of the build steps requires:

App IPA to test
Test IPA file
Build directory

which is confusing as hell!
I've tried something like:
- task: Xcode@5
  inputs:
    actions: 'build-for-testing'
    configuration: 'Debug'
    sdk: 'iphoneos'
    xcWorkspacePath: 'MyProject/MyProject.xcworkspace'
    scheme: 'MyProject'
    packageApp: false
    args: '-derivedDataPath $(build.artifactStagingDirectory)/DerivedData'

- task: AppCenterTest@1
  inputs:
    appFile: '$(build.artifactStagingDirectory)/DerivedData/Build/Products/Debug-iphoneos/MyProject.app'
    artifactsDirectory: '$(build.artifactStagingDirectory)/AppCenterTest'
    frameworkOption: 'xcuitest'
    xcUITestBuildDirectory: '$(ProjectDir)/Build/Products/Debug-iphoneos'
    xcUITestIpaFile: '$(build.artifactStagingDirectory)/DerivedData/Build/Products/Debug-iphoneos/MyProjectUITests-Runner.app'
    credentialsOption: 'serviceEndpoint'
    serverEndpoint: 'MyCustomer AppCenter Deployment'
    appSlug: 'MyCustomer/MyProject-iOS'
    devices: 'iphoneDevices'
    localeOption: 'en_US'
    skipWaitingForResults: true

but all I'm getting is that the paths are incorrect. Something similar to ##[error]Error: Cannot find any file based on /Users/runner/runners/2.163.1/work/1/a/DerivedData/Build/Products/Debug-iphoneos/MyProject.app.
And what's with this the artifactsDirectory? I expected this step to only upload the build to AppCenter and kick off the tests. What artifacts is it producing?

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

ID: ad0bff55-744d-06c4-d6da-595e6d5d6e94
Version Independent ID: 4fc5c777-ec33-38fd-0c56-6c6038e9ac40
Content: App Center Test task - Azure Pipelines
Content Source: docs/pipelines/tasks/test/app-center-test.md
Product: devops
Technology: devops-cicd
GitHub Login: @PBoraMSFT
Microsoft Alias: pbora

@apacha -- Alexander, thank you for your feedback.  You may find additional information here:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

@PBoraMSFT -- Prachi, please look into this issue.

@PBoraMSFT Bump!


Undefined symbols for architecture arm64

Describe the bug
NOt able to build ionic application after updating the plugin.
Console Logs
Undefined symbols for architecture arm64:
"_GULLoggerInitializeASL", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_GULLoggerEnableSTDERR", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"OBJC_CLASS$_GULSwizzler", referenced from:
objc-class-ref in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o)
objc-class-ref in FirebasePerformance(FPRSelectorInstrumentor_43661c322536eae9342dbd4edb53bf7b.o)
objc-class-ref in FirebasePerformance(FPRProxyObjectHelper_cae8c79ce5179c4587d285c87421f26f.o)
"_GULLogInfo", referenced from:
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o)
"_GULLoggerForceDebug", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_kGULNetworkHTTPStatusCodeNotModified", referenced from:
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"_kGULNetworkHTTPStatusCodeNotFound", referenced from:
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"_kGULNetworkHTTPStatusCodeCannotAcceptTraffic", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"_GULLogWarning", referenced from:
-[APMUserDefaults objectForKey:] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o)
-[APMUserDefaults setObject:forKey:] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o)
-[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o)
+[APMMeasurement sharedInstance] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
___44+[UIViewController(APMScreenClassName) load]_block_invoke in GoogleAppMeasurement(UIViewController+APMScreenClassName_bb34840e14481f32c5ecb9ffcac15bff.o)
"_kGULNetworkHTTPStatusNoContent", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"_GULLoggerRegisterVersion", referenced from:
___FIRLoggerInitializeASL_block_invoke in FirebaseCore(FIRLogger.o)
"_kGULNetworkHTTPStatusCodeUnavailable", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"_kGULNetworkHTTPStatusOK", referenced from:
-[APMMeasurement networkUploadCompletionHandlerWithResponse:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
-[APMMeasurement networkRemoteConfigFetchCompletionHandler:data:error:] in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"_GULLogBasic", referenced from:
-[APMASLLogger logMessage:logTag:messageCode:withLogLevel:] in GoogleAppMeasurement(APMASLLogger_b06c35e24aea4d3ad666632e11e79ef6.o)
_FIRLogBasic in FirebaseCore(FIRLogger.o)
"OBJC_CLASS$_GULObjectSwizzler", referenced from:
objc-class-ref in FirebasePerformance(FPRObjectInstrumentor_e851288d6b6849d0b0294fa10cb31cfe.o)
objc-class-ref in FirebasePerformance(FPRNetworkTrace_f6900b74cf65074de701b7de7866f471.o)
objc-class-ref in FirebasePerformance(FPRNSURLConnectionInstrument_e1f5d400ad96be0ff646f570493cefd7.o)
"OBJC_CLASS$_GULAppEnvironmentUtil", referenced from:
objc-class-ref in FirebaseInstanceID(FIRMessagingLog_831659faf16f8906538fbfc3d5822ecc.o)
objc-class-ref in FirebaseCoreDiagnostics(FIRDiagnostics_afb9975b7573ce8caa0e4380e6bfbe31.o)
objc-class-ref in FirebaseAuth(FIRAuth.o)
objc-class-ref in FirebaseAuth(FIRAuthAPNSTokenManager.o)
objc-class-ref in FirebaseAuth(FIRAuthAppDelegateProxy.o)
objc-class-ref in FirebaseAuth(FIRAuthDefaultUIDelegate.o)
objc-class-ref in FirebaseRemoteConfig(RCNConfigSettings_32ebbc1ad7e48275f60b4ddc4a3b6e39.o)
...
"OBJC_CLASS$_GULMutableDictionary", referenced from:
objc-class-ref in GoogleAppMeasurement(APMRemoteConfig_a87cea1e5d19294f87a4448795cd24c6.o)
objc-class-ref in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
"OBJC_CLASS$_GULNetwork", referenced from:
objc-class-ref in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o)
objc-class-ref in GoogleAppMeasurement(APMMeasurement_a76ff61c6b4ca85ef91462a646f323a0.o)
objc-class-ref in GoogleAppMeasurement(APMAppDelegateInterceptor_d25c2dc381ddbd5008199366846aae05.o)
objc-class-ref in FirebaseCoreDiagnostics(FIRClearcutLogger_45763904baa6658ff86b47cac2ab23e7.o)
"_GULIsLoggableLevel", referenced from:
-[APMMonitor isLoggableLevel:] in GoogleAppMeasurement(APMMonitor_405c5a637e87914c89c37652996d219d.o)
"_GULLogError", referenced from:
+[APMAnalytics startWithAppID:origin:options:] in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o)
-[APMUserDefaults synchronize] in GoogleAppMeasurement(APMUserDefaults_cec267d1ff21df5a0ffda1a71af1431f.o)
"_GULSetLoggerLevel", referenced from:
-[APMMonitor setDebugModeEnabled:] in GoogleAppMeasurement(APMMonitor_405c5a637e87914c89c37652996d219d.o)
_FIRSetLoggerLevel in FirebaseCore(FIRLogger.o)
"OBJC_CLASS$_GULReachabilityChecker", referenced from:
objc-class-ref in FirebaseMessaging(FIRMessaging.o)
"OBJC_CLASS$_GULAppDelegateSwizzler", referenced from:
objc-class-ref in GoogleAppMeasurement(APMAnalytics_f5f2b01aed09e7d23917a3e8a400242e.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/apatwari/Library/Developer/Xcode/DerivedData/bmarket-giuanehfaxrymsdqdnepmubahtpm/Build/Intermediates.noindex/ArchiveIntermediates/bmarket/IntermediateBuildFilesPath/bmarket.build/Debug-iphoneos/bmarket.build/Objects-normal/arm64/bmarket normal arm64
Plugin Version
cordova-plugin-firebase 2.0.5 "Google Firebase Plugin"
Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: ios 12

Additional context
Plugin was working fine before updating.
Please help.

Same issue here:
Undefined symbols for architecture armv7:
  "_FIRAuthStateDidChangeInternalNotificationUIDKey", referenced from:
      -[FIRAuth possiblyPostAuthStateChangeNotification] in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponent", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponentType", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
  "_OBJC_CLASS_$_FIRComponentContainer", referenced from:
      objc-class-ref in FirebaseAuth(FIRAuth.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

cordova 8.1.2<EMAIL_ADDRESS>cordova ios 4.5.0
xcode Version 10.1 (10B61)

I have been having the same issue, what version of the plugin was working for you previously? Does it still work if the version is reverted?

I've tried 2.0.0 and I have the same issue

alright- in my case this plugin was conflicting with another plugin:

removed that one and this one worked just fine. It looks like I don't need that one anymore anyways since this one handles push notifications as well

what other plugin were you using that conflicted?

what other plugin were you using that conflicted?

oh! forgot to mention it- duh!
https://github.com/phonegap/phonegap-plugin-push

How did you manage to find out which plugin conflicted with this one ? I'm facing the same issue but i don't use phonegap-plugin-push

@dwolner I am on 2.0.5. I have tried reverting back to many previous versions but none of them work now.
@misterjojo I am also not using phonegap-plugin-push and i am still facing the issue.

Same here … not using phonegap-plugin-push

How did you manage to find out which plugin conflicted with this one ? I'm facing the same issue but i don't use phonegap-plugin-push

Since both plugins do the same (they both require firebase) I just though it'd make sense to remove the other plugin.

Found out that cordova-plugin-googleplus causes the conflict. After removing it build on iOS works.

Interesting, I was able to fix this by reverting the plugin version back to v1.1.4 which I had used on a previous project. I am also using cordova-plugin-googleplus and cordova-plugin-code-push but did not try experimenting with removing them.

I just went back to version 1.05 … this is working again. But rather not the version we want to use :(

Yeah agreed, now running into some API issues requiring a setTimeout that I am not happy about and are most likely fixed in 2.0:
                        setTimeout(() => {
                            window.FirebasePlugin.subscribe('general')
                        }, 2000)
                    })```
Need to pinpoint the build issue in 2.0 but I am not sure where to start, maybe with the major changes.

what other plugin were you using that conflicted?

oh! forgot to mention it- duh!
https://github.com/phonegap/phonegap-plugin-push

thanks, life saver !!!

In my case it was the Google Plus add-on, I just needed to update and the problem was solved. I think maybe the problem is related to this: https://developers.google.com/android/guides/releases#may_23_2018, so if you have more than one add-on that uses Google Play services, you should update all or maybe if it's your case for your convenience you need to make a downgrade

I hate this bug, no solution

ugin, I just needed to update and the problem was solved. I think maybe the problem is related to this: https://developers.google.com/android/guides/releases#may_23_2018, so if you have more than one plugin that uses Google Play services, you should update all your plugins, or maybe if it's your case for convenience

Hi Andres, to which versions did you upgrade exactly?

FYI, SO question for workaround created

I got same problem when use "cordova-plugin-firebase" and "cordova-plugin-googleplus".
what is solution?

Just remove phonegap-plugin-push and run again


Feature request: realsense 2.40.0 support

2.39 is not showing up for me in intel's apt repo. Any reports yet on whether 2.40 works with realsense-rust?

I got it to build on Ubuntu 18, realsense 2.40 from intel's apt repo.
On an L515 with out of date firmware that realsense 2.40 is failing to update, I'm hitting:
Error: RealSense error: Couldn't resolve requests
Not sure yet if that's the camera, or a driver issue.

I just needed to adjust the resolutions. Now the example runs. Haven't examined the data yet.

Regarding to your issue, it's likely the resolution is not supported by the sensor, or you're plugging the device on a USB2 socket.. A relevant issue can be found on librealsense's page (link).
BTW, I re-generated the bindings with librealsense 2.40.0 and now it's on master. You can import it in your Cargo.toml and run cargo update occasionally to make sure it tracks the most recent commit. The update will be in crates.io as soon as it is ready.
[dependencies]
realsense-rust = { git = "https://github.com/jerry73204/realsense-rust.git" }

If it still fails for you. You can try to regenerate the bindings on your own.
realsense-rust = { git = "https://github.com/jerry73204/realsense-rust.git", features = "buildtime-bindgen" }


Add jclouds AzureComputeRateLimitModule to support provisioning retry for Azure ARM

Thanks @tbouron - LGTM. Once jenkins has finished running the tests, I'll merge this.
I've created https://issues.apache.org/jira/browse/BROOKLYN-430 to track this in brooklyn, which just links to jclouds https://issues.apache.org/jira/browse/JCLOUDS-1229.

The test failure is unrelated, and should be investigated/fixed separately:
java.lang.AssertionError: entity=Application[802qtu86]; attribute=Sensor: service.state (org.apache.brooklyn.core.entity.lifecycle.Lifecycle) expected [running] but found [on-fire]
	at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.assertHealthContinually(ApplicationLifecycleStateTest.java:196)
	at org.apache.brooklyn.core.entity.ApplicationLifecycleStateTest.testStartsThenChildFailsButWithQuorumCausesAppToSucceed(ApplicationLifecycleStateTest.java:170)

@tbouron can you trigger jenkins to build again please, e.g. by doing git commit --amend; git push -f

@aledsage done


Upgrade Bomb and Auth Flow Refactor

This PR:

Upgrades us to Next 11, React 17, Typescript 4.3 and Eslint 7
Refactors authentication flow to make use of getServerSideProps and Redirect support from Next 11

Some issues I realized:

withAuthComponent might actually not be necessary - we can just accept user props for components with transformed getServerSideProps


Add a modified version of v4-lite-20241118 with impassive language guidelines

Modified custom instructions by incorporating suggestions in #41.
All changes are made under the section EMOTIONAL LANGUAGE GUIDELINES

LGTM! will restructure to have some XML tags.


catch error when passing empty list to xu.merge_partitions()

When passing [] to xu.merge_partitions() it raises KeyError: 'pop from an empty set':
>> xu.merge_partitions() with 0 partition(s): Traceback (most recent call last):

  File ~\Anaconda3\envs\dfm_tools_env\Lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
    exec(code, globals, locals)

  File c:\data\dfm_tools\dfm_tools\untitled0.py:29
    uds = xu.merge_partitions(partitions)

  File ~\Anaconda3\envs\dfm_tools_env\Lib\site-packages\xugrid\ugrid\partitioning.py:336 in merge_partitions
    obj_type = types.pop()

KeyError: 'pop from an empty set'

This is a bit of a silly issue, but the usecase is using a file pattern that is expanded to a list of files. If there is no connection to P, or there is a typo in the file pattern, glob will generate an empty list. This is not catched in xu.merge_partitions(). Might be useful to add it, although I think this is the first time in a few years I have encountered it. So feel free to close this as "won't do".

Raising a ValueError is perfectly justified here, since the KeyError is difficult to understand for a typical user.


Gold Tests for successful examples

This PR uses tasty-golden to generate gold tests for every passing example from Examples.hs (as marked in #25). It also pulls some of the testing utils out into their own Miscellany module, so that Examples.hs and BasicTests.hs can share them. The new tests are exposed in their own cabal entry, so it shouldn't affect any existing workflows.
It takes about 10 minutes on my machine to build this module. I suspect we could pull better compilation performance out of it if we separated it into several smaller modules, and compiled with -j, but that's a job for another PR.
Gold tests are written to examples/test/gold/, and can automatically regenerated via stack test :gold-tests --test-arguments="--accept" should they become out of date.
This PR doesn't merge yet; wanted to get some feedback on its mergeability before I go through the effort of merging.

Thanks for this work! Some discussion points:

I ran several examples from Examples.hs yesterday, finding that many of those marked "failed" or "timeout" worked fine.
I wonder if a single module can serve both for somewhat-systematic testing (e.g., gold tests) as well as my ad hoc use for experimenting with transformations in the plugin (correctness and efficiency of generated computations). My impression of where you're going here is to move working examples from Examples.hs to BasicTest.hs. I may need to copy and re-tweak some of those tests back to Examples.hs, hopefully in way that's easy to do.
Perhaps we're better off separating example categories from testing and maybe manual, ad hoc testing from automated, systematic testing. Now, all three are in concat/examples.
If we're to factor automated testing into several modules, we may want test modules to correspond to categories or combinations of categories (e.g., AD + circuit). And maybe be able to select subsets of examples to compile per module, e.g., by having groups of examples with CPP conditionals. For instance, we could organize examples into groups numbered from zero upward, and there could be CPP flags for lower and upper bounds of which groups get compiled. Then various testing scripts could choose test modules and example ranges within those modules.

tl;dr: What would we do with Examples in an ideal world? What should we do with Examples today?

Curious about the failed tests. Some of them failed for missing imports, so I wonder if there's been an environmental change that fixed them. The timeout ones are likely just tests that were too slow for me -- I set a timeout of 30 seconds for them compile (some seem to take exponential time, which really adds up when you're compiling a couple hundred of these things). The good news is that the tooling in #25 should allow me to update the statuses of these tests quickly.
My plan here is indeed to move the tests out of Examples. I'm OK leaving them there as well, but there's going to be a cognitive burden in terms of which set of tests are canonical. We could also just say Examples is Conal's playground and leave it unmolested while working on systematizing the testing in other modules. IMO the real solution here is to figure out why the plugin doesn't work in GHCI and fix that, rather than doing REPL-like things with modules.
I agree strongly with your last two points, but would prefer to work towards them incrementally. The amount of work involved in sorting out Examples is already nigh overwhelming :)

Thanks for the thoughts.

IMO the real solution here is to figure out why the plugin doesn't work in GHCI and fix that, rather than doing REPL-like things with modules.

Amen to getting the plugin working with GHCi! It'd still be problematic to byte-compile a module that contains many examples if they're not mostly disabled, since the time-consuming compilation would happen when loading (byte-compiling) a module rather than performing a test. For Emacs, I guess I'd write some elisp code that zaps #if-hidden examples to the repl.

@capn-freako Any thoughts on this PR and issues of testing?

Hi all,
Full disclosure: I don't really know much about proper software testing methodologies, at all. :(
(Hoping you guys can educate me.)
My experiences/hopes/frustrations/opinions are all largely in line w/ what I read above, specifically (and, so that you can check my understanding):

I would REALLY love to be able to run plug-in dependent code from the GHCI command prompt!!!

I agree with the need to maintain a testing "play" area that is allowed to live outside the rules we adopt to govern the process of changing our developing canonical regression suite. The situation is still much too dynamic to get rid of that, now. That said, I'd love an alternative to the commenting/uncommenting of code we've been doing. That has always seemed fraught with peril to me.

I love the idea of extracting the more stable tests from the play area, above, to form our "golden", or "canonical", regression suite. I think having such a suite for, for instance, gating source code pushes will prove valuable, as more contributors join the effort.

Sorry I really can't do much other than reaffirm what you guys have already said.
If something new, or contrary, occurs to me, I'll post here so we can discuss.
Thanks for driving this forward, Sandy!
-db

If nobody has any concrete solutions, I'll suggest the following:

We merge this PR with the explicit goal of uncommenting as many lines of code as possible. Code that runs is >>>> code that can rot because it's a comment.
We continue pushing to remove all comments from Examples, but continue to use Examples as a place for interactively working on concat. Working on improving specific, old examples is done by yanking the relevant example from the tests.
Instead of commenting out new examples in Examples, they are instead moved into the gold testing framework.

I continue splitting out tests, sorting them by which categories they test (or by whatever criteria y'all would prefer).

If you are happy with (2) and (3), I don't mind continuing to fight with the tests and setting up CI.
Thoughts?

Thanks, for the comments, @capn-freako. I don't have much experience or insight about testing either, so I'm glad for the perspectives.

Thanks for the articulation, @isovector! I'm happy with this plan. Please do continue, and I'll merge.

After syncing to ba63b7ea8dda55d8807815533cda001bdcdc305c, all of these tests seem to timeout or fail at runtime. This strikes me as a major regression -- is it something we'd expect?


Demo account is not working

Hi!
I login by admin: http://democms.writesdown.com/admin/site/login superadmin/superadmin, but it not working...

You have to register first with your own username and password. User: superadmin and pass: superadmin used for newly installed applications through the composer.

Thanks for your response. I live this cms like wordpress + yii2. It's awesome


ISPN-15200 RENAME RENAMENX

RENAME RENAMENX commands
https://issues.redhat.com/browse/ISPN-15200
~TODO: missing tests on different data types~ added, comment below

I added a fix to some general commands to handle non-string type

@rigazilla for me this is fine, squash in a single commit 🙏🏻

@rigazilla for me this is fine, squash in a single commit 🙏🏻

ok done


Check if recording is possible only if test fails

Instead of starting the recording immediately, we could do the following:

Run the test,
Test failed, start recording
Retry the test
Stop recording

This would speed up all passing tests as we don't need to wait for the recording to start/finish

Not feasible, as it might mess up with other rules and delay test execution if a great number of tests are failing


WriteNWSRFSESPTraceEnsemble filename case issues need to be fixed

The TSTool old command is WriteNWSRFSESPTraceEnsemble but the documentation sometimes uses WriteNwsrfsEspTraceEnsemble.  The old name is inconsistent but needs to be fixed.  Windows Git Bash is case-independent on the file system but MkDocs is case-specific.  So, to avoid confusion, need to rename to a distinct name, commit to the repository, and then rename back to the desired name.

I renamed files so that they had new names, committed, and then renamed back to old names but with the correct case.  Now MkDocs does not complain and the files are properly linked.  Close this issue.


Investigate OAuth functionality in Streaming scenarios

.NET issue with additional context: https://github.com/microsoft/botbuilder-dotnet/issues/4673
.NET PR to main: https://github.com/microsoft/botbuilder-dotnet/pull/4680
.NET tl;dr - In R10 the TokenResolver class was refactored which resulted in a polling operation blocking the thread and causing disconnections in streaming scenarios (Direct Line ASE, Direct Line Speech)
This issue tracks investigating the OAuth and Streaming intersection in the JS SDK. It's unclear if this issue also exists or if the functionality currently works in JS.

@mrivera-ms and @JuanAr, any updates on this?

If this isn't going to land for R11, @mrivera-ms can you remove the milestone? Thanks!

We investigated the issue and concluded that it is unlikely that this issue is present in JS.
First, the issue was introduced in BotBuilder-DotNet by the PR#4141 the 2020-06-25 and it wasn't ported to BotBuilder-JS. Also, note that the latest update in tokenResolver.ts at 2020-03-06.
Also, the issue in BotBuilder-DotNet was caused by blocking on polling operations when using Task.waitAll(), and we did not find any part of code in tokenResolver.ts that we think could block the thread.
At last, tokenResolver.ts unit tests for getting the token, getting it on a second try, ending the polling, and changing the polling interval, pass.

We tried to test the class with a streaming scenario such as Direct Line ASE or Direct Line Speech, but we could not make a bot sample work with these tools. Direct Line ASE documentation refers to use the .bot file of the bots, that is deprecated. Also, the Direct Line Speech documentation only has information on how to implement it to a C# bot.
If you can point us to any resource with instructions on how to set up these test scenarios we would be happy to try again.

@denscollo can you send us a link to the Directline ASE documentation that references .bot files? We would like to get that updated.

@denscollo can you send us a link to the Directline ASE documentation that references .bot files? We would like to get that updated.

Hi @joshgummersall , this is the link to the documentation that references the .bot files.
Thanks.


Make clickable area larger, while keeping sliding line thin?

We're trying to make the area around the line activate the slider so it can slide left or right.  When on a mobile device or even desktop, the mouse has to click exactly on the sliding line for the range to slide.
Researching online, some people suggested creating a transparent div with lots of padding, and having that be the pointer region, giving more cushion to people who don't touch the line (or dot) perfectly. Here is an example: https://stackoverflow.com/questions/46091938/input-range-with-increased-clickable-area.
I was not able to get this solution to work within react-input-range.  Your help would be much appreciated!

Workaround, use the ::before pseudo-element:
.input-range__track--active::before {
    position: absolute;
    content: ' ';
    left: 0;
    right: 0;
    top: -6px;
    bottom: -6px;
  }
}

(all credits to my colleague, BAA).


Handling Exception on first user input

If user puts in a none integer, the program crashes.

Fixed in new version


Avoid computing the derivative of the activation function during inference.

The fprop() function computes the derivative of the activation function. This is unnecessary during inference.

Does this occur for all models?  Which model specifically were you attempting to run inference on (not that it matters, just would like to start from a known path to scope out breadth of the issue)?

This occurs at the activation, not overall model (or layer) level.  As a result, it impacts any models that utilize these activations.
You can see the behavior in neon/transforms/logistic.py in fprop_func for instance.  To speed up computation during the training phase we update the input buffer with the derivative in that call instead of having to make a separate bprop_func call with additional calculations.
In situations where we just want to generate predictions without training, this additional computation is unnecessary so we should add a skip_derivative parameter and set it accordingly in these cases.  We did exactly this for neon/transforms/softmax.py but need to apply it consistently to some of the other activations.


Fix headers on readme

What it says on the tin^. There were some missing spaces for this readme.

What’s this about?
On Wed, Apr 15, 2020 at 11:55 PM Marty Kausas<EMAIL_ADDRESS>wrote:

What it says on the tin^. There were some missing spaces for this readme.
You can view, comment on, or merge this pull request online at:
https://github.com/ResearchKit/mPower/pull/13
Commit Summary

Fix headers on readme

File Changes

M readme.md
https://github.com/ResearchKit/mPower/pull/13/files#diff-0730bb7c2e8f9ea2438b52e419dd86c9
(6)

Patch Links:

https://github.com/ResearchKit/mPower/pull/13.patch
https://github.com/ResearchKit/mPower/pull/13.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ResearchKit/mPower/pull/13, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7DRFTF6YX6QZXUTDSYFSTRMZ6R3ANCNFSM4MJDVNSA
.

Noticed an issue with the readme! I thought I'd offer a fix :D


Rename dotnet folder to dotnet cli to workaround corefx #24402

Temporary workaround for https://github.com/dotnet/corefx/issues/24402 (related: https://github.com/dotnet/cli/issues/7726)

Renaming the folder from dotnet to dotnetcli (following corefx).
Making generic Reverse API private (since it is not used anywhere else).

This will unblock:
https://github.com/dotnet/corefxlab/pull/1787

Failure to restore a package: Failed to restore packages.

@dotnet/corefxlab-contrib

@dotnet-bot test Innerloop Windows_NT Debug Build and Test


hint error in resourcemanage

Has any plugin can hint/mark error file in resource manage?looks like below

Sounds to me like error overlays in the explorer.

https://github.com/Microsoft/vscode/issues/782


single sequence input fails with IndexError

Hi - I saw your MLCB talk and was hoping to try out fastism. I was working through the code in your tutorial, as below:
        model = tf.keras.models.load_model("deepseabeluga.h5")
        chr3_enhancer = "CCGGTGATTTTCTGGAGTCTATATCCTTCATCAGATTTTCCAAGGGGTGTCTGTCCCCTCAAAAGAATGATTGTCATTATTTGAAAGACTAG" \
                        "TTCCAGACAGATATTTTATACAAATTTTCCCAGCATTGACATCCCTGAACCAAACTGTTTTTCTTCCCAACATTACTGTTTTCTTCCTTTCT" \
                        "GTCGAGTTTGTTGTTTTGTAATATCAGAATCTCCAGCTCACCTGAGTAAATGGTAACAAGGTGCCACCACCTTTGAATTCTCCCAGAATCCA" \
                        "CCCCACCCTCCGTCAGAGCCACTGCCAAGGCACTCTTACTGATTTCTCCCACACTGCTGGCTCATTGCAAGTGGGAAGACAGCATGTGGAGT" \
                        "GGGTGTGCGGCTTATTAAAGTGAGAACTCAGGGTCAGGGCAGAACCAGGAAGAGAGCAGTGAGATATCCTGCTACCTAATCCAATTCTCCTT" \
                        "TTTGTGCATTTAGCACCCTCCCCTCCGCCTGCATAACAATGGAAGGAAAGAGGAAGTGGGAAAAAAGAAAGTCATGTAATTGAGTTAGAAGA" \
                        "GGTAATGACCAAGACCCTGGAGCAGAGGGAAAGCGGGTTACAAAAGGTGGGTTAAAGAAATCACAAGAGTATGAAGAGCTGGGAAATTACTA" \
                        "ACAAATATTTGCTTGTGTGGGAAAGCAAAAAAGTAAAAACTTCAGTGCTGAATTGGGGCGCTGAGCCACCAGGGAAATTTGAGATTGGCATC" \
                        "AAGGACCGTGTTGAAGCAGGGTGGGCGGAGAAGGAGGGAAAACTACCAGCCAGCTGAGATTTTGCAGCTAGGCTGTGGCCTGATACCGAGTA" \
                        "TCGATGCCGCAAGGGAGGGATGAGTCAGTCCTAGCACGTCCAAGTTTAGAATAATAGACTGTTTGCCACTGGGAAGGCAAACACCTTTCCTG" \
                        "TGAGAGGGCTTGCTGACAGTTCCAATGTCCAAAGTCCAATGCCGACCCAGAAAACTGAGGAGGCCCTGGCCCCTGCAGGAAGGGCTCATTTA" \
                        "CATGGAGACTGAGTAAAGTGCTGTCTTAAACCCTCCTTCCTTCCCCCACTGGGAGGTTTCAGCCAGATATGCCACCCTTTGTAGGATTTCAT" \
                        "AGGGTTGTCTAAAGCCAGGGTTGGCACAGAGCAGAAGCCACAGGGCTAAGTACCAGATTATAATTGTCAATGTCACACCTTACTGCAGAAGC" \
                        "CAGGGAAGGGAGCTAGGAAACTGAAGAGCTTTCTTGGTTATGGGCGGGGCTGTAAATGCAGAGTGTGCCCTGGTGACTCATGGGAGACAGTG" \
                        "AGAAACACTGTGGGGATCTGGTCAACCGGGTACTGATTCCTTTGAGGAAGGTATACTCCACATGCCAACCTGATACTCATGGCTAGTGAAGA" \
                        "GATGGCAGGATTGGGTTGCATCAGCCAGCCTAACTCGACTTGGAAACACAGAAAATAACCCAGAGCAGGTCTCAAGCACTGTGTAACTTTAT" \
                        "TAGTTCATAGTGGCTGAACAGCCATGTTTAGGGCCTCTCAGAAGAAAGAGTTTCATCTTTGGGAAGAAATTTGTGTTGGGTGATTTTGTTCA" \
                        "TATAATTTTGTGTTTTTTGTTTTGTTTTGGTGTTTGAGACAGGGCCTCACTCTCTCACACAGGCTGGAGTGCAGTGGCACCATCTTAGCTCA" \
                        "CTGCAACCTCTACCTTCCTGCCTCAAGCGATCCTCCTACTTCAGCCTCCTGCATAGCTGGGACTACAGGCACGTATCACTCAACCCAGCTAA" \
                        "TTTTTTTTTTTTCGAGATGCAGTCTTGCTCTGTCACCCAGGCTGGAGAGCAATGGCACTATCTTGGCTCACTGTAACCCCCGCCTCCCAGTC" \
                        "TCTGCCTCCTGAGTAGCTGGGATTACAGGCTCCTGCCACCACCCCCGGCTCAGCTAATTATTTCTTTCTTTCTTTTTTCTGAGATGAAGTTT" \
                        "CACTCTTGTTGCCCAGGCTGGAGTGCAATGGCACGATCTCAGCTCACTGCAATGTCTGCTTCTGGGGT"

        sequences = [chr3_enhancer]*1

        #We define a function to do the one-hot encoding
        onehot_mapping = {
            'A': [1,0,0,0],
            'C': [0,1,0,0],
            'G': [0,0,1,0],
            'T': [0,0,0,1],
            'N': [0,0,0,0],
            'a': [1,0,0,0],
            'c': [0,1,0,0],
            'g': [0,0,1,0],
            't': [0,0,0,1],
        }
        def one_hot_encode(sequence):
            return np.array([onehot_mapping[x] for x in sequence])

        onehot_sequences = np.array([one_hot_encode(x) for x in sequences])

        x = tf.constant(onehot_sequences, dtype=model.input.dtype)
        mutations = [[1,0,0,0],
                     [0,1,0,0],
                     [0,0,1,0],
                     [0,0,0,1]]

        from fastism import FastISM

        fast_ism_model = FastISM(model, test_correctness=False)

        fast_ism_out = [fast_ism_model(x, replace_with=mut) for mut in mutations]

It runs fine when I supply 5 x chr3_enhancer but if I make it a batch of 1 sequence I get the following error:
Traceback (most recent call last):
  File "...test.py", line 328, in test_example
    fast_ism_out = [fast_ism_model(x, replace_with=mut) for mut in mutations]
  File "...test.py", line 328, in <listcomp>
    fast_ism_out = [fast_ism_model(x, replace_with=mut) for mut in mutations]
  File "...python3.7/site-packages/fastism/ism_base.py", line 78, in __call__
    ism_ith_output = self.get_ith_output(inp_batch, i, idxs_to_mutate)
  File "...python3.7/site-packages/fastism/fast_ism.py", line 68, in get_ith_output
    fast_ism_inputs = self.prepare_ith_input(self.padded_inputs, i, idxs_to_mutate)
  File "...python3.7/site-packages/fastism/fast_ism.py", line 73, in prepare_ith_input
    num_to_mutate = idxs_to_mutate.shape[0]
  File "...python3.7/site-packages/tensorflow/python/framework/tensor_shape.py", line 887, in __getitem__
    return self._dims[key].value
IndexError: list index out of range

Hi Kira, thanks for trying fastISM out! You're right, it seems to be bugging out for a batch size of 1. I'll look into it.
fastISM runs optimally when GPU memory is maxed out and is run on the most sequences possible in a batch. For small batch sizes it is quite possible it would end up being slower than a standard implementation (due to overheads). If you could describe your use case roughly I may be able to offer more help.

Thanks Surag. I'd expect mostly I'd be running with larger batch sizes anyway, and could fall back on the standard implementation if a small batch was required. I was using the single sequence (with my own model etc) just as a check that I had my input and output processing set up correctly, so then went back to the tutorial when I was getting an error to see if I had done something wrong.

Sounds good! Please don't hesitate to reach out if you get stuck. I'll get to the batch size 1 case soon.

Hi Surag, I also get the same error if I input 2 sequences which are not identical e.g. if I set chr3_enhancer_a to chr3_enhancer but with the first base set to G instead, and have sequences = [chr3_enhancer, chr3_enhancer_a].

Hi Kira, I've pushed some fixes to v0.4.2. Please give it a try and let me know if it works. Thanks!

Thanks Surag - that seems to have fixed it!

Thanks Surag - that seems to have fixed it!

Great, thanks!

Great, thanks!


[Feature]: Media Library Page

Closes #199

(These should have been finalised beforehand, sorry 🙂)

Lets rename Media -> Gallery in navbar.
Lets change url from /media-library -> /gallery

This is unrelated to this PR but we can add these changes in this only as these are minor.
I see inconsistency between headings of different pages. This doesn't look good from user perspective.
I think we should change all off them to:
size and orientation(left aligned): same as of event snapshot
color: same as of contact us.
we can also remove that horizontal line below contact us. And the font of text below the main heading should also be of same size.

The text in sidebar is not looking good when we are closing and opening it. Can we do something about it?
https://github.com/user-attachments/assets/ae941111-4c30-4164-9142-67922140c715

2 more things, Rest looks AMAZING.

need to make it responsive
need to add a button or some redirect icon to media library on each event page .


validators now shown for neutron

https://restake.app/ shows 4 REStake operators for Neutron, but https://restake.app/neutron says No validators found. In the validator-registry, there are 7.
$ grep -R "\"name\": \"neutron\"" | wc -l
7

@vchong unfortunately Neutron is not supported right now, ICS doesn't fit great with REStake since there's no native staking, proposals etc. #58 will disable Neutron entirely from the UI.
I'll make sure support is added in the future if it makes sense.


Replace userInfo with user and pass

Uri::getUserInfo will still return the expected strings but $this->userInfo no longer exists.
This was done to allow for people to have access directly to either the
user or pass attributes without having to explode on ':' and selecting
either the first or last of the resultant entries.
This change is recommended due to the response of parse_url returning separate keys for 'user' and 'pass' and I believe that this library should do the same.
The use case is that whenever someone might need to strip the password out they would need to
$x = explode(':', $uri->getUserInfo())
$x[0] // should always user, but is implicit
$x[1] // should be password, unreliable and implicit

The one test is failing =>
There was 1 failure:

1) GuzzleHttp\Tests\Psr7\UriTest::testUriComponentsGetEncodedProperly with data set #1 ('/€?€#€', '/%E2%82%AC', '%E2%82%AC', '%E2%82%AC', '/%E2%82%AC?%E2%82%AC#%E2%82%AC')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'/%E2%82%AC'
+'/%E2_%AC

But this seems to be a pre-existing problem in master and I'm not entirely sure why/how it's failing.

I'm 👎 on this because getUser and getPass are not part of the PSR-7 standard: https://www.php-fig.org/psr/psr-7/
So relying on these methods would bind the code to a certain implementation. Would could be possible is to provide utility class/methods to split the userInfo. But that would need to be outside the Uri class.

I agree with @Tobion , when using a PSR-7 implementation, people should still rely on the interface.


@inherits in _ViewImports.cshtml dont work on asp.net core 2

I am trying to make a base page class in Razor Pages, this is my basepage
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace BaseWeb.Web
{
    public abstract class BasePage:Page
    {
        public string Test(string str) {

            return str;
        }
    }
}

then in Index.cshtml,  I inherit my page from this class this is how I do it
@inherits BaseWeb.Web.BasePage
But I can't inherit all my pages from my BasePage class by putting this line in _ViewImports.cshtml
If I put the same line in ViewImports,, I get this kind of error
An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately

Thanks for contacting us, @HolyOne.
@pranavkm can you please look into this? Thanks

@HolyOne this seems to work fine. See https://github.com/pranavkm/7454/blob/master/Pages/_ViewImports.cshtml#L2
Could you get me a app that reproduces the problem you're running in to?

Sorry you are right
This works perfectly, I think I forgot to put abstract when derieving from
page or something :(
On Sat, Mar 17, 2018 at 2:53 AM, Pranav K<EMAIL_ADDRESS>wrote:

@HolyOne https://github.com/holyone this seems to work fine. See
https://github.com/pranavkm/7454/blob/master/Pages/_ViewImports.cshtml#L2
Could you get me a app that reproduces the problem you're running in to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aspnet/Mvc/issues/7454#issuecomment-373874504, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAR64ZlLXI3cvHLbDvKjspFJtPelPF5Uks5tfFBegaJpZM4SiKHb
.


amazon cloud drive: retry more errors in listing

In long directory listings we are seeing these errors
2016/01/31 19:14:17 Amazon cloud drive root 'XXX': Couldn't list files: Get https://cdws.us-east-1.amazonaws.com/drive/v1/nodes?filters=parents%3AXXX: EOF

The token expires every hour and sometimes we get errors immediately afterwards
2016/01/31 20:34:07 Amazon cloud drive root 'XXX: Couldn't list files: HTTP code 401: "401 Unauthorized", reponse body: {"message":"Token has expired"}
...
2016/01/31 20:34:20 XXX: Saving new token in config file

2016/01/31 23:22:31 Amazon cloud drive root 'XXX: Couldn't list files: HTTP code 400: "400 Bad Request", reponse body: {"logref":"XXX","message":"Next token is expired"}

Low level retry of these errors would be a good idea to make listings more reliable.  This should work even for the "Next token is expired" case.

I attached a log that may be useful.  Includes the following
Couldn't list files: HTTP code 504: "504 Gateway Time-out"
Failed to copy: HTTP code 409: "409 Conflict", reponse body: {"logref":"76d6f051-cd7a-11e5-99f9-7f579230a7d3","message":"Node with the name 11 - flying home.mp3 already exists under parentId SM69om9rQDWtUlgSBg1mBg conflicting NodeId: _BN4PfD2QQi5z7gUbZGjgQ","code":"NAME_ALREADY_EXISTS","info":{"nodeId":"_BN4PfD2QQi5z7gUbZGjgQ"}}
rclone-log-2016-02-07.txt

Here is a beta for you to try: http://pub.rclone.org/v1.27-23-ga3b4c8aβ/


Fix call to window data update

In commit https://github.com/hyprwm/hyprland/commit/a443902abca6549839910720b80bd01faf10f387, the call was renamed. In some places they switched to pWindow->unsetWindowData(PRIORITY_LAYOUT); instead, for optimization I assume.

Thank you! I will merge this one as soon as Hyprland tags v0.42, and it will also close #37

0.42 has now released, but it introduces more breaking changes regarding fullscreen

Yes, I am working on it, but I cannot push it until Arch updates the package, or I cannot do proper testing of the build etc. because this time there have been too many changes to hyprland and its dependencies. They will probably do it in a few days.

This is included in the update for Hyprland's API v0.42.0 (82b333c7548c279c11ede3878e59c9909cd64e53)


fix(apps/prod/tekton/configs/triggers): fix version set

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Update documentation to Helm 3.0

The Helm chart and install documentation should be updated for Helm 3.x. For instance the helm init command is no longer needed.

@nicknezis If you have some time it would be great if you could help update the docs.  All of the website files are now located in the website2 directory.  There is a README that should help with building and serving the site locally for development.

@joshfischer1108 Hopefully this effort is completed with #3430 .


Add RDFType

Looks like I missed adding RDFType.  It is an enumeration of supported RDF binding types, for which toString() creates the appropriate REST parameter.  Here are the supported types: http://www.w3.org/TR/rdf11-concepts/#xsd-datatypes

Any reason why we have
INTEGER            ("integer"),

and
 INT                ("int"),

These come from http://www.w3.org/TR/rdf11-concepts/#xsd-datatypes and those are two different datatypes.  xsd:int is 32-bit (like Java's int) whereas xsd:integer is arbitrary-sized (like Java's BigInteger).

Binding tests have been modified.


add a change log @coderabbitai

updates CI triggers
adds a workflow to bump version numbers and create a GitHub release

The new changelog is hosted in docs, but it is not updated until bumping version numbers (and creating a release). The intention is to keep merge conflicts minimal among simultaneous PRs.

Summary by CodeRabbit
Release Notes

New Features

Implemented a new changelog configuration for better tracking of changes.
Added a comprehensive changelog to document notable changes.
Created a link to the changelog in the documentation for easier access.

Bug Fixes

Enhanced spell checker configuration to recognize additional terms.

Documentation

Updated documentation structure to include a link to the changelog.

Chores

Various updates to GitHub Actions workflows for improved automation and management.

@coderabbitai resolve

@coderabbitai help

@coderabbitai update this PR's title.


Named Parameter with underscore '_' character does not work

I'm using DBeaver 3.6.3 and noticed something weird that I don't remember to see in older releases. When I'm using a named parameter with DB2 10.5 and the named parameter has underscore character "_", the parameter is not recognized and is bypassed as an SQL object, raising an error.
Example:
SELECT * FROM syscat.tables WHERE tabname = :TABLENAME
runs ok
SELECT * FROM syscat.tables WHERE tabname = :RA_NAME
raises an error
Is there some workaround to do?
I'm using SQL from an ERP software which has some queries with more than 200 named parameters and most of them uses an underscore.

BTW, I'm changing all parameter names, and the error is this:
DBCException: SQL Error [07004]: The number of variables in the EXECUTE statement, the number of variables in the OPEN statement, or the number of arguments in an OPEN statement for a parameterized cursor is not equal to the number of values required.. SQLCODE=-313, SQLSTATE=07004, DRIVER=4.19.26
com.ibm.db2.jcc.am.SqlException: SqlException: The number of variables in the EXECUTE statement, the number of variables in the OPEN statement, or the number of arguments in an OPEN statement for a parameterized cursor is not equal to the number of values required.. SQLCODE=-313, SQLSTATE=07004, DRIVER=4.19.26

Thanks for report


Use font descriptors to preserve font attributes in headers.

Fixes #1. 🎉

Thanks again for your work on this, @mikepulaski. I'm working to cut a new release with these changes now.

 Sorry I never got around to removing the typealias. Thanks for finishing that up 😄

No worries at all! 😊 (I was unintentionally blocking anyway by not having CI setup to run PRs, so I'm glad that's now sorted)


Implement climbing up ladders

I've had to introduce a few new things here:

The ability to disable keyframe interpolation for animations. The transition from climbing up to top out is exact and the interpolation was messing things up. Add a state option to disable this.
Add a new runtime flag to signify if Twinsen is colliding with a wall. Gate starting the ladder climbing based on Twinsen actually running into it.
Add the ability to execute a callback after an animation has played a single time. This allows us to exit climbing once the top out animation has played because by that point you're no longer in the ladder zone and so can't control anything from that code anymore. There might be a better way of doing this though.

I couldn't work out how to identify if Twinsen was facing ladders on islands because the zone box can be at an arbitrary angle, left a TODO for this.
This also doesn't implement climbing down backwards yet (but who ever did that anyways :D)

I didn't even remember you could climb down ladders...


docs CI job does not correctly generate the docs

For some reason the CI job does correctly generate the docs, while they are correctly generated locally. For this reason docs currently need to be updated locally. The job should be fixed somehow. The following diff shows how it currently generates the docs in a broken way:
https://github.com/maxbachmann/RapidFuzz/compare/gh-pages-test...gh-pages

This is caused by the change to scikit-build, which currently does not add docstrings. This is fixed in https://github.com/scikit-build/scikit-build/pull/519 which will hopefully soon be released as version 0.13.0 of scikit-build. This is a blocker for the release of v2.0.0!

This is fixed with scikit-build v0.13.0


fix: more robust cost tracking/stop button behaviour

Currently, hitting the Stop button in the AI Assistant stops output, but does not display costs. On the backend, by the time the client-side generator object is created, the model deployment has already done everything. Thus, we get the full cost without actually tracking it. This PR changes that in a few ways:

Changes to htmx_stream. If the user hits Stop mid-stream, it will stop displaying more tokens as before. However, the generator now exhausts in the background, allowing the full cost to be calculated and displayed.
Changes to responses.py. In any context that requires multiple generators (summarizing or translating multiple documents, per-doc or per-source Q+A), it actually is possible to prevent some model-side generation if you hit the stop button REALLY fast (before all the generators are made). The output will be empty, but after a moment you will see only the costs for what was actually charged (i.e. whichever generators were created before hitting the Stop button). This one may be hard to test without breakpoints and/or great reflexes.

Thanks, this is working well in terms of reporting the cost later, when the response is done!
The stop button should disappear as soon as the response stops, even if it is still processing in the background.
I don't like the large stop button with all the text in it. Alternative:

keep stop button the same as before
when response is stopped, append to its text, in user's language and in italics, etc. Response stopped early. (Costs may still be incurred after stopping.)

Also, please disable the stop button when stopping is impossible (file translation, adding files to Q&A library).

Regarding disabling the stop button:
The stop button doesn't appear until the file uploads are done, at which point it's possible to prevent some of them for being translated/summarized if you're quick enough. It'll prevent you from getting any of the results since the Stop message will appear instead, but there is the potential to save some costs.
The same applies to Q+A upload, although all you'd be missing there is the "ready for Q+A" message.


Simple wizard migration is not setting fill size

STR

Create a map of points (1 layer).
It will redirect you to the map, and simple wizard will set by default (our orange color will appear).
Go to new editor.
Being there, click over the data layer and go to the style tab.
Check that fill size is not present and it should be there.

It's not at the specs:
{
 type: 'simple'
 properties: {
   fill: {
      color: {
        fixed: '...', // marker-fill or polygon-fill
        opacity: 1
      }
   }
 }
}

I guess that I should take fill.size from marker-width, isn't it?

yes, sorry to not be specified in the specs :(.

@xavijam not a problem, I'm not blaming, I just wanted to know why it isn't done and what should I do :-) Thanks!


Make alpha theme work better with international characters

https://plus.google.com/u/0/112291415367699653309/posts/bopD9xRimpP

We released the Pagekit Beta today. I close this issue because the code base completely changed. Please open a new issue if it still exists.


wrapFish: add fish shell wrapper package

Motivation for this change
This adds a wrapper for fish which allows creating shells pre-initialised
with some completions, functions, and configuration scripts from given paths
or from fish plugin packages (pkgs.fishPlugins.*).
This is especially handy when one wants to try a plugin in an ephemeral shell.
GitHub: see https://github.com/NixOS/nixpkgs/pull/107834#discussion_r550612519
Things done

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

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

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

CC
CC @rnhmjoj

Looks good, thank you. Can you write a small chapter in the Nixpkgs manual that documents how to add and use plugins? Something along the line of weechat or urxvt.

Looks good, thank you. Can you write a small chapter in the Nixpkgs manual that documents how to add and use plugins? Something along the line of weechat or urxvt.

@rnhmjoj Documentation added.

@rnhmjoj Documentation added.

@cole-h wrote:

Do we also want to define a fish-unwrapped package and redefine fish = wrapFish fish-unwrapped { }; as we do with e.g. neovim? Right now, I don't think there's much point, but in the future it might be more beneficial (and e.g. we might want to get this in at the same time we introduce the wrapper).

I don't see any use case currently either. I think this would be prone to breakage since we would mess-up with environment initialisation, so I think that a proper, separate pull request would be needed to get that done properly.

@cole-h wrote:

Do we also want to define a fish-unwrapped package and redefine fish = wrapFish fish-unwrapped { }; as we do with e.g. neovim? Right now, I don't think there's much point, but in the future it might be more beneficial (and e.g. we might want to get this in at the same time we introduce the wrapper).

I don't see any use case currently either. I think this would be prone to breakage since we would mess-up with environment initialisation, so I think that a proper, separate pull request would be needed to get that done properly.


Autocomplete by Ajax

Hi there
I'm using the autocompletamiento in using ajax and receive this error "Option 'ajax' is not allowed for Select2 When attached to a  element", I read that you need to put a hidden field with the same id of the select field, and did returns me the same error. Can you help me?
I am using ajax to connect to a file which returns me json.
Thank you

Is it specific to only select2 v3.x or Should we also use input element instead of select in select2 v4.x while implementing auto-complete with ajax?