infinite loops on circular include/import references

The following wsdl creates an infinite loop
https://gmdealerservices.gm.com/DCDEService/2.0?wsdl

I got an error when trying to load the WSDL with SoapClient due to, at the least, an invalid URL https://gmdealerservices.gm.com/ssg/wsdl/STARWSDLDataTypes4.xsd?serviceoid=f5893f4d9b48115f8744cc885591fdf8&servdocoid=f5893f4d9b48115f8744cc885591fe41:
Invalid service requested

OH sorry try this one.
https://gmdealerservices.pp.gm.com/DCDEService/2.0?wsdl

Probably due from this "looping" declaration:
  <xsd:simpleType name="CurrencyCodeContentType">
    <xsd:union memberTypes="clm54217:CurrencyCodeContentType"/>
  </xsd:simpleType>

Is that a loop its another namespace?

Namespaces are not taken into account by the parsers currently, which by the way has never been an issue yet.
So currently, the CurrencyCodeContentType is considered as having an union with itself wich fails while generating the sources.
I just found a fix, try the feature/issue-202 branch please then let me know how it goes using the generated sources.

I guess I can change the xsd to this and avoid the union
<xsd:simpleType name="CurrencyCodeContentType">
<xsd:restriction base="xsd:normalizedString">
<xsd:enumeration value="USD">
xsd:annotation
xsd:documentation
US Dollar
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>

Is you fix just to ignore the union even though its importing valid values?

Currently the targetted namespace points to an invalid URI so I can't say there are valid values in this particular case.

Can you generate a phar file for me?
Download the content from either one of the two URLs depending on your PHP version:

https://phar.wsdltophp.com/wsdltophp-feature-issue-202-php5.phar
https://phar.wsdltophp.com/wsdltophp-feature-issue-202-php7.phar

I guess I can change the xsd to this and avoid the union
<xsd:simpleType name="CurrencyCodeContentType">
<xsd:restriction base="xsd:normalizedString">
<xsd:enumeration value="USD">
xsd:annotation
xsd:documentation
US Dollar
</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>

The declaration below

  <xsd:simpleType name="CurrencyCodeContentType">
    <xsd:union memberTypes="clm54217:CurrencyCodeContentType"/>
  </xsd:simpleType>

is from the CodeLists_1.xsd file.

Changing the wsdl didn't seem to fix it.
I noticed there are these references to unqualified data types using the udt: prefix could this be an issue?
<xsd:complexType name="AmountType">
xsd:simpleContent
<xsd:extension base="udt:AmountType"/>
</xsd:simpleContent>
</xsd:complexType>

I personnally succeeded to generate the package with the latest fix, didn't you?

Thank You for your help I really appreciate it.
Yes I guess I had been tweaking my local copy and the updated version broke but the remote copy of the WSDL worked.
Is you change skipping all unions where the member class name = the simple type name?
As far as the qualified uri in the original WSDL
<xsd:union memberTypes="clm54217:CurrencyCodeContentType"/>
The prefix clm54217 was defined at the top and pointed to the following. Is that not valid?
xmlns:clm54217="http://www.openapplications.org/oagis/9/currencycode/54217:2001"

Thank You for your help I really appreciate it.
Yes I guess I had been tweaking my local copy and the updated version broke but the remote copy of the WSDL worked.
Is you change skipping all unions where the member class name = the simple type name?

I'm not 100% sure of what you're saying but I would say yes.

As far as the qualified uri in the original WSDL
<xsd:union memberTypes="clm54217:CurrencyCodeContentType"/>
The prefix clm54217 was defined at the top and pointed to the following. Is that not valid?
xmlns:clm54217="http://www.openapplications.org/oagis/9/currencycode/54217:2001"

Did you try loading http://www.openapplications.org/oagis/9/currencycode/54217:2001 with your browser ? :wink:

Namespace uris are rarely valid for example  xmlns:star="http://www.starstandard.org/STAR/5"

merged a while ago :)


Type definition file uses Wrappers instead of Primitive types for strings, booleans, numbers etc

Issue description
Try to use this library with typescript, in the code example below, the arguement passed into the "get" method will be flagged as its defined as a type String instead of string.
Code sample
this.lavalink = new Riffy(this, lavaNode, {
            send: (payload) => {
                const guild = this.guilds.cache.get(payload.d.guild_id);
                if (guild) guild.shard.send(payload);
            },

        })

Versions
<EMAIL_ADDRESS>Issue priority
Medium (should be fixed soon)

Issue description
Try to use this library with typescript, in the code example below, the arguement passed into the "get" method will be flagged as its defined as a type String instead of string.
Code sample
this.lavalink = new Riffy(this, lavaNode, {
            send: (payload) => {
                const guild = this.guilds.cache.get(payload.d.guild_id);
                if (guild) guild.shard.send(payload);
            },

        })

Versions
<EMAIL_ADDRESS>Issue priority
Medium (should be fixed soon)

In typescript both string & String are seen as valid types it's one of either ways.
But if you compare it, ts will error.

Right, but this is exactly the issue and makes it a pain to use Riffy with Typescript. Because you are not using primitive types (the default type that typescript associates with strings, numbers, booleans etc) I will have to cast any time I pass data to and from your library. It would make sense to just change the type definitions to primitives which I believe is the practice recommended by Microsoft anyway.

try using riffy beta version npm i riffy@beta as it's totally written in ts

Still having the same issue on riffy@beta, any changes in that topic?


CUPS rotates printed image

I'm using PPD from http://www.openprinting.org/printer/HP/HP-DesignJet_500. It works fine, but I noticed it rotates landscape images to portrait. It doesn't rotate PDFs which are already in portrait orientation. I've tried to figure out where the problem comes from by running cupsfilter directly.
/usr/sbin/cupsfilter -p /etc/cups/ppd/test.ppd -m application/pdf in.pdf > out.pdf

For PDF output orientation isn't changed.
/usr/sbin/cupsfilter -p /etc/cups/ppd/test.ppd -m application/vnd.cups-raster in.pdf > out.ras

Raster gets rotated. So, I think there is a problem in gs. Cupsfilter gives the following gs command:
gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -r300x300 -dDEVICEWIDTHPOINTS=1584 -dDEVICEHEIGHTPOINTS=2448 -dcupsBitsPerColor=1 -dcupsColorOrder=0 -dcupsColorSpace=3 -scupsPageSizeName=AnsiD -I/usr/share/cups/fonts -c '<</.HWMargins[14.170000 34.020000 14.170044 14.169922] /Margins[0 0]>>setpagedevice' -f -_

PPD uses foomatic-rip filter, however changing FoomaticRIPCommandLine in PPD changes nothing in gs command line while calling cupsfilter. (Maybe I'm doing something wrong?). Passing orientation-requested option to cups doesn't have any effect as well.

Hi @tillkamppeter. Thanks for such a detailed explanation. Could you also suggest any option to do that without changing paper size in PPD. The problem is that HP Designjet 500 we used got broken and we replaced it with a newer Cannon imagePROGRAF TM-200, but still experience the same issue with rotation. The problem is that is uses Canon proprietary software called CPrint in conjunction with CUPS, and paper sizes are predefined, so I'm not sure if same trick works. Also could you suggest any good documentation on how to approach CUPS, where such tricky things are revealed, or maybe a reference software which handles rotation properly.
Many thanks!

Hi @tillkamppeter. Thanks for such a detailed explanation. Could you also suggest any option to do that without changing paper size in PPD. The problem is that HP Designjet 500 we used got broken and we replaced it with a newer Cannon imagePROGRAF TM-200, but still experience the same issue with rotation. The problem is that is uses Canon proprietary software called CPrint in conjunction with CUPS, and paper sizes are predefined, so I'm not sure if same trick works. Also could you suggest any good documentation on how to approach CUPS, where such tricky things are revealed, or maybe a reference software which handles rotation properly.
Many thanks!


Fix jumpy view zoom on touch devices

Fixes two issues:

When pinch gesture is fast, view zooms, pans and sometimes jumps back to initial zoom level.

If only the last processed touch drag event contained zoom, inertia was not reset, causing an unnecessary animated pan after touches ended. The change removes inertia as soon as zoom is detected.

When multiple pinches are done by lifting only one finger, zoom level jumps when starting subsequent pinches.

If there was no drag events between lifting one finger and setting it down at another place, the gesture start position was not reinitialized. The change reinitializes start position as soon as any new touch happens (and therefore touches count changes) instead of waiting for a drag event.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

You need to run rush extract-api

GitHub checks passed. iTwin builds queued.

iTwin builds passed.

@pmconne Could this be backported to 2.19.x by a bot or would it need to be manually cherry picked?

@EimantasMorkunas there will be conflicts the bot cannot fix, easier just to cherry-pick manually.


Fix bug when serializing DynamicData in net461

If you call JsonSerializer.Serialize() on a JsonDocument in net461, it will add a RootElement member to the top-level JSON object, which is incorrect because RootElement is not a member in the underlying JSON.  This behavior was changed in later releases of JsonSerializer.  This causes serialization of DynamicData to fail when it calls through to JsonSerializer.Serialize() on a JsonDocument type.
This PR fixes this issue by creating the JSON buffer from the reader via JsonDocument without passing it through JsonSerializer.

API change check
API changes are not detected in this pull request.


Dedup dispatch regions pass must consider regions of the operation

It seems like the dedup of dispatch regions pass does not consider the region of the op. For example
  flow.executable @iota_dim0_ex_dispatch_0 attributes {sym_visibility = "private"} {
    flow.dispatch.entry @iota_dim0_ex_dispatch_0
    module  {
      func @iota_dim0_ex_dispatch_0() -> tensor<2x3xf32> {
        %0 = linalg.indexed_generic {indexing_maps = [#map], iterator_types = ["parallel", "parallel"]} {
        ^bb0(%arg0: index, %arg1: index):  // no predecessors
          **%1 = index_cast %arg0 : index to i32**
          %2 = sitofp %1 : i32 to f32
          linalg.yield %2 : f32
        } -> tensor<2x3xf32>
        return %0 : tensor<2x3xf32>
      }
    }
  }

and this
  flow.executable @iota_dim1_ex_dispatch_0 attributes {sym_visibility = "private"} {
    flow.dispatch.entry @iota_dim1_ex_dispatch_0
    module  {
      func @iota_dim1_ex_dispatch_0() -> tensor<2x3xf32> {
        %0 = linalg.indexed_generic {indexing_maps = [#map], iterator_types = ["parallel", "parallel"]} {
        ^bb0(%arg0: index, %arg1: index):  // no predecessors
          **%1 = index_cast %arg1 : index to i32**
          %2 = sitofp %1 : i32 to f32
          linalg.yield %2 : f32
        } -> tensor<2x3xf32>
        return %0 : tensor<2x3xf32>
      }
    }
  }

seem to be deduped even though they arent the same. The regions of the op have different index_cast operations.
This happens with PR #4074 which moves MHLO -> Linalg conversion before dispatch region creation (and therefore introduces Linalg operations at Flow Dialect level itself). To repro use PR #4074
iree-opt -iree-flow-transformation-pipeline -iree-enable-linalg-on-tensors test/e2e/xla_ops/iota.mlir

Blocker for #1354

Does https://github.com/google/iree/pull/4000 fix this?

#4000 should fix this

havent had a chance to check. Will do so in a bit


[GatewayAPI] - Moving SuiJson to core and use it in the GatewayAPI

Summary
Move SuiJson to sui_core package and use SuiJsonValue in GatewayAPI move_call to simplify the input arg.
Using SuiJsonValue instead of raw bytes inputs for move call args, making it more JSON-RPC friendly and remove needs of multiple rpc calls from client side to resolving the SuiJsonValue into pure args.

Markdown LGTM.

Ok so SuiJson doesn't support type arg yet..... I will fix that and start the review again, converting this PR back to draft

Latest changes:

SuiJson now work with type arg
fixed a bug in adapter.rs which prevent fn<T>(T) move function working. (example move function : NFTs::SharedAuction::create_auction)
Changed JSON-RPC server to accept TypeTagString instead of TypeTag struct, the RPC move call method now works with the following input:

{ "jsonrpc": "2.0",
              "method": "sui_moveCall",
              "params": [
                  "78997C327D1D988AA137D58F4D1B42013417C0B2",
                  "0000000000000000000000000000000000000002",
                  "Coin",
                  "transfer_",
                  ["0x2::SUI::SUI"],
                  ["0x24A29C109C0544AF60BE8FB0AFD583E90E37346D",10000, "0x78997C327D1D988AA137D58F4D1B42013417C0B2"],
                  "72A3A6194E9584C07C5CB6226E61F91C9FBE3A4B",
                  2000
              ],
              "id": 1 }

TypeArg works with Wallet as well, example

sui>-$ call --package 4F19C4340079853D08343CE121A1AE100AAECF64 --module SharedAuction --function create_auction --type-args 0x2::Coin::Coin<0x2::SUI::SUI> --args "0xF0BF03BA5AF54E72DFB6A43D45915DF7C0F8852E" --gas 24A29C109C0544AF60BE8FB0AFD583E90E37346D --gas-budget 1000
----- Certificate ----
Signed Authorities : [k#d94696e0e3f442c32a1576a87598dafbfe29cf356600aee5c4827b527f69028a, k#2a3d4563387b4b17099531ce8d9f120f8e17848a49ca5e734d8aa70d66edb7cf, k#273c0b969d2d2c89edc3aaed85c0e9a8a377d18577826e735475548535960cd4]
Transaction Kind : Call
Package ID : 0x4f19c4340079853d08343ce121a1ae100aaecf64
Module : SharedAuction
Function : create_auction
Arguments : [ImmOrOwnedObject((F0BF03BA5AF54E72DFB6A43D45915DF7C0F8852E, SequenceNumber(0), o#8b46bb02cf487fc0bc98f367ca6e8e39efb769a5e2a2064a825967d894abb4ee))]
Type Arguments : [Struct(StructTag { address:<PHONE_NUMBER>000000000000000000000000000002, module: Identifier("Coin"), name: Identifier("Coin"), type_params: [Struct(StructTag { address:<PHONE_NUMBER>000000000000000000000000000002, module: Identifier("SUI"), name: Identifier("SUI"), type_params: [] })] })]

----- Transaction Effects ----
Status : Success { gas_cost: GasCostSummary { computation_cost: 200, storage_cost: 39, storage_rebate: 15 } }
Created Objects:
1C7D02886E78322F62CEF301BB71D58A1A86B0FF SequenceNumber(1) o#71e0c8f271a9cfae0ba4b38a83264b8b0f6436e380cb3e7be1ca9bcc12dd638f
Mutated Objects:
24A29C109C0544AF60BE8FB0AFD583E90E37346D SequenceNumber(2) o#8be5c554b64f5711957fb1218afff003da51231b5a3bc1fc2f119c553851eab5

I have also started working on inferring function type args using the argument objects, I will finish that in another PR as it's not critical for DevNet release

This PR need more tech review 🙏

@patrickkuo this is great, thank you. LGTM but will wait for Xun to give feedback on the adapter concern.
Is there a potential perf cost to using SuiJSON over raw bytes though?

@patrickkuo this is great, thank you. LGTM but will wait for Xun to give feedback on the adapter concern.
Is there a potential perf cost to using SuiJSON over raw bytes though?

I think the perf impact is not huge (although I don't have perf data to back this up :) ), also the perf impact will be on the gateway, which doesn't affect the overall network perf, the SuiJsonValue -> move pure value conversion uses object data and package data, which is located on the gateway already, so we don't need to retrieve data over the network, unlike when this is done in the client side before this PR, which pulls packages and objects from gateway every time, I believe there will be a perf gain (between client and gateway) after the changes because of this.
Also I think perf of gateway can be more relax as we can always load balance.

I am keen to merge this in soon if this looks ok to everyone? @oxade , @lxfind , @tnowacki ?


Support Templating / Other Architectures Other than Static HTML

Issue raised by @tommyskalberg on Web Fundamentals: https://github.com/google/WebFundamentals/issues/711
This could be addressed by a documentation / recipe.
To make it easier to do, remove the dependency between HTML and JS.

Folding this issue into https://github.com/google/web-starter-kit/issues/425. I think it would be nice to have a recipe about this.


portusctl: add exec subcommand

This is handy for starting arbitrary scripts via bunndler exec (i.e. portusctl exec rails c production)

LGTM, just fix rubocop :)


Speedup tests/vm-migration a little

The failures in tests/vm-migration are unrelated to the changes in that PR AFAIK.


Add custom template for _sync

To fix compiling error with 'arch=compute_75,code=[sm_75,compute_75]'
Add

shfl_down_custom
ballot_custom

and replace some calls to use these

@yuntai Hi, Thanks!
Did you check it for both Windows (MSVC) and Linux (GCC)?

No, only on GCC. w/ & w/o arch=compute_75,code=[sm_75,compute_75]. Don't have Windows(MSVC) handy so will take some time to have a test on it.

Yes, I was able to compile on Windows (VS2015).


rustfmt breaks short lines when max_width is less than 100

When max_width is set to 80, lines that are shorter than 80 characters and would not be broken up with the default settings are broken up. For example with the default 100 characters I get
fn foo(e: Enum) {
    match e {
        Enum::Var { element1, element2 } => {
            return;
        }
    }
}

But with max_width set to 80, I get
fn foo(e: Enum) {
    match e {
        Enum::Var {
            element1,
            element2,
        } => {
            return;
        }
    }
}

I think the reasoning behind that is that if users want narrower lines, give them narrower blocks too. But I really don't think that is good reasoning. If I use a max width of 80, it's not because I want to have more lines, but because I want my lines to fit in 80 characters. I still want my lines to be as close to 80 characters as possible without hurting readability, and in this example, the first case reads better than the second.
Are there any users who actually expect blocks to be narrower as well when using an 80 maximum? If anything, I would expect 80 characters to be more old-terminal-friendly, where you would actually like less lines, not more lines, as long as the lines fit within the limit.

This is due to our 'small' heuristic being specified as a percentage of the max width. Note that the change in formatting is only whether we use the more compact form or not.
This was changed in https://github.com/rust-lang-nursery/rustfmt/pull/2428, there wasn't much discussion of whether this was a good idea or not. I can see arguments in both directions.
@topecongiro what's your opinion on this?

I too ran in to this problem. Sounds to me like there are two distinct uses cases at work here, and rustfmt is doing a poor job of covering both cases because it's overloading one option to denote two different things.

A hard limit on line length, e.g., an 80-column length limit.
A “heuristic width” option as a general hint to rustfmt for the width of all lines.

 Overloading max_width for use case 2 needlessly wastes space by splitting lines that are already shorter than the maximum. This further exacerbates the problem of having a small monitor because it can cause fewer logical lines to fit on one screen. It's not just the columns that are precious on a small monitor; rows are precious too.

I originally proposed to use relative values in #2206. IIRC the original motivation was to provide a good width heuristic when the max width is larger than the original value, because otherwise the heuristics may be too strict.
From my experience, using relative values to the max width for width heuristic performs well when the max width is slightly larger than the default (e.g. 120), though it may perform poorly in some extreme cases (e.g. when the max width is set to 200, too long function calls get put in a single line). I have not used the max width smaller than the default, so have not noticed this issue.
I think that the downside of using relative width is bigger than the upside. I think we should switch back to use fixed values, or use relative values only when the max width is larger than the default.

I like the idea of using relative values only when the max width is larger than the default.


I get an "undefined method, 'checkout!'" error when executing "DoExpressCheckoutPayment"

Hello, @ianfleeton
I get the following error when executing my success callback code

what info exactly do I include in that variable "payment_request"?

Hello, @ianfleeton
I get the following error when executing my success callback code

what info exactly do I include in that variable "payment_request"?

It looks as though you haven't created a PayPal Express request in that action.
There happens to still be a variable called request that is available through your controller, and it's this one that is complaining. (There's also another called response!) There's a clue to this in the class name ActionDispatch::Request in the error.
Using request and response as local variables in your Rails controller action will shadow those provided by the controller. You can remove confusion by naming your variables something like paypal_request and paypal_response.

Thank you so much!
For anyone who sees this... It is necessary to pass the credentials and the amount in the second confirmation request that gets sent from the success action.


feat: refactor globalsAllowList.ts to use a more comprehensive list of globally allowed values

close https://github.com/vuejs/core/issues/9027

I think our goal is not to make it as comprehensive as possible, but sufficient to meet actual needs. I don't think there are actual use cases for most of the added globals here.

Wait PR https://github.com/vuejs/core/pull/7018 to be merged first.


Worked on tests

See commit list, basically skipping offending tests, made Travis run all tests (obviously except the skipped ones), and started fixing some of them.

gr 🎱


Add "standard" ruby linter

Add 'standard' as another option for linting ruby code
Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

'Standard' is a ruby linter built on top of rubocop. It's meant to be a ruby version of StandardJS.
I have no affiliation with the project - I heard about it at a ruby conference recently, and noticed it wasn't in your list, when I searched for a similar project for Python & Java.

Yeah, I noticed that just after I did it, so I pushed a subsequent change
to the same branch which puts the list into the correct state.
On Tue, 21 May 2019 at 15:43, Justin Kenyon<EMAIL_ADDRESS>wrote:

@kenyonj requested changes on this pull request.
Looks like you moved the standard/standard entry as well. Can you revert
that change?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/explore/pull/739?email_source=notifications&email_token=AAAASIU6SWV3KM6YJRQBNTDPWQC7NA5CNFSM4HMRPFXKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZHY2VQ#pullrequestreview-240094550,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAASIT722SLGY4GR5EPRPLPWQC7NANCNFSM4HMRPFXA
.

The current state of this branch is incorrect, so it still needs to be fixed.

How's this?
On Tue, 21 May 2019 at 16:54, Justin Kenyon<EMAIL_ADDRESS>wrote:

The current state of this branch is incorrect, so it still needs to be
fixed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/explore/pull/739?email_source=notifications&email_token=AAAASITS2ECBVTJ7OFICEFDPWQLLXA5CNFSM4HMRPFXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV4LRFA#issuecomment-494450836,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAASIRXYJMJDYYWEKMOLSTPWQLLXANCNFSM4HMRPFXA
.


Remove support for Named Options

Middleware will no longer use IOptions and always use their own instances of options.

c623fbc3c6a8b037ed191da950587d6fa884bcac


[Docs] Error Codes Categories not Mobile

Current State

In mobile the categories table is getting cut off.
Desired State
The entire table should be visible

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation
Layer5 Community Slack

Can I work on this issue?

Sure @debo19 go ahead.

yeah sure! @debo19

@debo19, you're no slo-poke.
and apparently, neither is @warunicorn19 or @sayantan1413. 😁


Broking RLN API on /sendpayment though routing node with no in/out liquidity

During our work on RGB OS/Thunderstack Cloud we faced an issue with RLN API critical error. Below we're attaching exact steps to reproduce the issue.  Next steps expects to have up and running and initialized a 3 nodes: A,B,C.
Send BTC to Nodes
Run the following command on your server:
./regtest.sh sendtoaddress <address> <amount>

Example:
./regtest.sh sendtoaddress bcrt1qnc5y6j6dmejrkwy93farhvpezk0lf46gk7aecs 10

then
./regtest.sh mine 10

do it for A, B, C
Node B:
1. Issue TUSD asset (200 tokens) (RGB on-chain API)
1.1 Create Asset
Call the /createutxos endpoint:
{
  "up_to": false,
  "num": 4
}

Call the /issueassetnia endpoint with the following example body:
{
  "amounts": [200],
  "ticker": "USDT",
  "name": "Tether",
  "precision": 0
}

rgb:2RCNGGK-SPo4jJYWx-uBR5XwQd4-mUAfzyten-gzxMLo1vG-7Ktxsxp
/assetbalance node B
{
 "settled": 200,
 "future": 200,
 "spendable": 200,
 "offchain_outbound": 0,
 "offchain_inbound": 0
}

2. Open channel with Node A with 50 tokens (Channels API)
/assetbalance balance Node B
{
 "settled": 200,
 "future": 150,
 "spendable": 0,
 "offchain_outbound": 50,
 "offchain_inbound": 0
}

after mine
   {
     "settled": 150,
     "future": 150,
     "spendable": 150,
     "offchain_outbound": 50,
     "offchain_inbound": 0
   }

/assetbalance balance Node A
   {
     "settled": 0,
     "future": 0,
     "spendable": 0,
     "offchain_outbound": 0,
     "offchain_inbound": 50
   }

3. Open channel with Node C with 50 tokens (Channels API)
/assetbalance balance Node B
{
 "settled": 150,
 "future": 150,
 "spendable": 150,
 "offchain_outbound": 100,
 "offchain_inbound": 0
}

after mine
{
 "settled": 100,
 "future": 100,
 "spendable": 100,
 "offchain_outbound": 100,
 "offchain_inbound": 0
}

/assetbalance balance Node C
{
 "settled": 0,
 "future": 0,
 "spendable": 0,
 "offchain_outbound": 0,
 "offchain_inbound": 50
}

4. Write down inbound/outbound liquidity state for A,B,C here:

Action
A set
A fut
A spen
A out
A in
B set
B fut
B spen
B out
B in
C set
C fut
C spen
C out
C in

1. Issue TUSD asset (200 tokens)
0
0
0
0
0
200
200
200
0
0
0
0
0
0
0

2. Check asset balance after issuing TUSD
0
0
0
0
0
200
200
200
0
0
0
0
0
0
0

3. Open channel with Node A (50 tokens)
0
0
0
0
50
200
150
0
50
0
0
0
0
0
0

4. After mining
0
0
0
0
50
150
150
150
50
0
0
0
0
0
0

5. Open channel with Node C (50 tokens)
0
0
0
0
50
150
150
150
100
0
0
0
0
0
50

6. After mining
0
0
0
0
50
100
100
100
100
0
0
0
0
0
50

5. Send 50 tokens to Node A  (Payment API)
call /keysend on node B and sent 50 assets to Node A
{
 "dest_pubkey": "02498860e5a6bb3bf740e1789116e9444bc514b3986cbfee7120b77cafefec07e4",
 "amt_msat": 3000000,
 "asset_id": "rgb:2RCNGGK-SPo4jJYWx-uBR5XwQd4-mUAfzyten-gzxMLo1vG-7Ktxsxp",
 "asset_amount": 50
}

call /assetbalance for node B
{
 "settled": 100,
 "future": 100,
 "spendable": 100,
 "offchain_outbound": 50,
 "offchain_inbound": 50
}

call /assetbalance for node A
{
 "settled": 0,
 "future": 0,
 "spendable": 0,
 "offchain_outbound": 50,
 "offchain_inbound": 0
}

6 Send Send 50 tokens to Node C  (/keysend)
Node B
{
 "settled": 100,
 "future": 100,
 "spendable": 100,
 "offchain_outbound": 0,
 "offchain_inbound": 100
}

Node C
{
 "settled": 0,
 "future": 0,
 "spendable": 0,
 "offchain_outbound": 50,
 "offchain_inbound": 0
}

7. Write down inbound/outbound liquidity state for A,B,C here:

Action
A set
A fut
A spen
A out
A in
B set
B fut
B spen
B out
B in
C set
C fut
C spen
C out
C in

1. Issue TUSD asset (200 tokens)
0
0
0
0
0
200
200
200
0
0
0
0
0
0
0

2. Check asset balance after issuing TUSD
0
0
0
0
0
200
200
200
0
0
0
0
0
0
0

3. Open channel with Node A (50 tokens)
0
0
0
0
50
200
150
0
50
0
0
0
0
0
0

4. After mining
0
0
0
0
50
150
150
150
50
0
0
0
0
0
0

5. Open channel with Node C (50 tokens)
0
0
0
0
50
150
150
150
100
0
0
0
0
0
50

6. After mining
0
0
0
0
50
100
100
100
100
0
0
0
0
0
50

7. Send 50 tokens to Node A (/keysend)
0
0
0
50
0
100
100
100
50
50
0
0
0
0
50

8. Send 50 tokens to Node C (/keysend)
0
0
0
50
0
100
100
100
0
100
0
0
0
50
0

Payment Flow Test: Node A to Node C
8.1 Try to do /sendpayment from A to C (should fail)
Node C calls /lninvoice
Request:
{
  "amt_msat": 3000000,
  "expiry_sec": 620,
  "asset_id": "rgb:2RCNGGK-SPo4jJYWx-uBR5XwQd4-mUAfzyten-gzxMLo1vG-7Ktxsxp",
  "asset_amount": 25
}

Response:
{
  "invoice": "lnbcrt30u1pngczqhdqud3jxktt5w46x7unfv9kz6mn0v3jsnp4q2tw7akr7jwqatjv5rs0nvn6lqgq0ggkn4354nq3r2gw2vr8ms84gpp5lyx53922gn97qxqlqq8cxmptfutf32nqlkvx3kqhtxpsmj0stumssp5q5hg5346ks4kljf0xry3v99y9fyn0jc8hk6fg9yw47nl88kg9ejs9qyysgqcqpcxqznvlzlwfnkyw3j2fp5u368fvk4x5r0x34y5k2h0qkh2sjjx4v8w5tyxskk642pvea8jar9dckkw7ncf4xx7vtkguknwjm50pehsuq7qpe70kkw9vd36emvxd6hakezp3wpjxktmcaafcl3t74vs0qtgrmapa9eqlrfvl5vuyxflxwuzs44q4yfuv3r4a2qmn39h6t6ch52v2nm7spfz9kze"
}

Node A decodes the invoice
Request:
{
  "amt_msat": 3000000,
  "expiry_sec": 620,
  "timestamp":<PHONE_NUMBER>,
  "asset_id": "rgb:2RCNGGK-SPo4jJYWx-uBR5XwQd4-mUAfzyten-gzxMLo1vG-7Ktxsxp",
  "asset_amount": 25,
  "payment_hash": "f90d48954a44cbe0181f000f836c2b4f1698aa60fd9868d81759830dc9f05f37",
  "payment_secret": "052e8a46bab42b6fc92f30c91614a42a4937cb07bdb494148eafa7f39ec82e65",
  "payee_pubkey": "0296ef76c3f49c0eae4ca0e0f9b27af81007a1169d634acc111a90e53067dc0f54",
  "network": "Regtest"
}

Node A sends the payment (/sendpayment)
Request:
{
  "invoice": "lnbcrt30u1pngczqhdqud3jxktt5w46x7unfv9kz6mn0v3jsnp4q2tw7akr7jwqatjv5rs0nvn6lqgq0ggkn4354nq3r2gw2vr8ms84gpp5lyx53922gn97qxqlqq8cxmptfutf32nqlkvx3kqhtxpsmj0stumssp5q5hg5346ks4kljf0xry3v99y9fyn0jc8hk6fg9yw47nl88kg9ejs9qyysgqcqpcxqznvlzlwfnkyw3j2fp5u368fvk4x5r0x34y5k2h0qkh2sjjx4v8w5tyxskk642pvea8jar9dckkw7ncf4xx7vtkguknwjm50pehsuq7qpe70kkw9vd36emvxd6hakezp3wpjxktmcaafcl3t74vs0qtgrmapa9eqlrfvl5vuyxflxwuzs44q4yfuv3r4a2qmn39h6t6ch52v2nm7spfz9kze"
}

Response:
{
  "payment_hash": "f90d48954a44cbe0181f000f836c2b4f1698aa60fd9868d81759830dc9f05f37",
  "payment_secret": "052e8a46bab42b6fc92f30c91614a42a4937cb07bdb494148eafa7f39ec82e65",
  "status": "Pending"
}

Node B API Issues
After the above operations, some APIs on Node B stop working. For Nodes A and C, the following endpoints work:
Endpoint: /listchannels

Error:Network error communicating with endpoint
Request failed with status code 504

Endpoint: /listassets and /assetbalance

Error:Request failed with status code 405

Node logs
2024-07-08T15:51:29.092327Z  INFO request{method=POST uri=/assetbalance version=HTTP/1.1}: sqlx::query: summary="SELECT \"txo\".\"idx\", \"txo\".\"txid\", \"txo\".\"vout\", …" db.statement="\n\nSELECT\n  \"txo\".\"idx\",\n  \"txo\".\"txid\",\n  \"txo\".\"vout\",\n  \"txo\".\"btc_amount\",\n  \"txo\".\"spent\",\n  \"txo\".\"exists\"\nFROM\n  \"txo\"\n" rows_affected=0 rows_returned=27 elapsed=318.154µs elapsed_secs=0.000318154
thread 'tokio-runtime-worker' panicked at /rust-lightning/lightning/src/ln/channelmanager.rs:2518:67:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }

Thanks for finding and reporting this issue. We addressed this in https://github.com/RGB-Tools/rust-lightning/commit/30b9e301e0621b05abcd26af9d87bc36279c165a and https://github.com/RGB-Tools/rgb-lightning-node/commit/c309fbaecd891485b45b5c829ad12788ef269564.
Note that /sendpayment will not fail, since the API doesn't wait for the payment to be completed. The API will create a new payment with status Pending and after discovering there are no available routes the payment status will become Failed.
Please let us know if the fix works for you.

Thanks for finding and reporting this issue. We addressed this in RGB-Tools/rust-lightning@30b9e30 and c309fba.
Note that /sendpayment will not fail, since the API doesn't wait for the payment to be completed. The API will create a new payment with status Pending and after discovering there are no available routes the payment status will become Failed.
Please let us know if the fix works for you.

Many thanks for rapid response and fast fix! We just verified that bug was fully resolved and now this payment scenario works as expected!


Fix pr and post-pr workflow

Workflow pr

Add test case scheduler based on test instruction cycle count

Workflow post-pr

Fix perf case report
Fix unpassed testcase run and report job

This PR is relied on branch fpu_ci. Please merge fpu_ci into master first, then I can change the PR destination branch to master.


Enhancement Construct output tuple in join node

Proposed changes
Closed #7901
Problem Summary
In a vectorized scenario, the query plan will generate a new tuple for the join node.
This tuple mainly describes the output schema of the join node.
Adding this tuple mainly solves the problem that the input schema of the join node is different from the output schema.
For example:

The case where the null side column caused by outer join is converted to nullable.
The projection of the outer tuple.

Since this function is unavailable for non-vectorized code,
the new attributes vOutputTupleDesc and vSrcToOutputSMap accompanying this function are unique to vectorization.*

Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Could you add some ut for this?

Fixed in #10323

The contents of this pr are merged into the new pr#10437  and submitted together


0.4.3 promise issue

https://github.com/esvit/ng-table/blob/master/src/scripts/03-params.js#L396
What is the purpose of the $defer passed to getData if we're using the pData promise instead ?
If it's not a bug and is part of a revamp, it should not have been tagged as a patch but as a minor since it breaks the current api :)

@QuentinFchx can you help to investigate what was broken by example?

In our projects, we're using coffeescript and the last statement is returned by default.
Before the change, it wasn't an issue since the return value of the getData function was not used.
Now that it is used as the data promise and that it overrides the $defer one, we had trouble with displaying data.

Plunkr example will be great

// Considering this snippet of code
var table = new ngTableParams({}, {
    total: 0,
    getData: function($defer, params) {
        return resource.get({
            page: params.page()
        }).$promise.then(function(data) {
            params.total(data.total);
            return $defer.resolve(data.coupons);
        });
    }
});

// v4.0.2 will pass a defer to get data that will just be resolved
this.reload = function () {
    var $defer = $q.defer();
    settings.getData($defer, this);
    $defer.promise.then(function (data) {
        // I used $defer.resolve(data.coupons);
        // which works perfectly
    });
};

// v4.0.3
this.reload = function() {
    var $defer = $q.defer(),
        pData = null;
    pData = settings.getData($defer, this); // Because I return something here
                                            // that is a promise (return resource.get[...])
    if (!pData) { // It does not use the $defer promise anymore (which is completely confusing)
        // By the way, if getData returns an object that does not have a `then` property: BOOM = API Breaking change
        pData = $defer.promise;
    }
    return pData.then(function(data) {
        // Unluckily, my custom function returned a promise
        // which resolve into '$defer.resolve(data.coupons)'
        // and this statement returns 'undefined'
        // hereby data is undefined
    });
};

The current documentation says nothing about the type of the returned object by getData
Now that it's taken into account, it's an API change and the release should have been a minor and not a patch (aka 0.5.0)
BUT, now that we are discussing the change in the code:
IMO, we should not allow 2 'use-cases' for getData.
Let's pick one and update the documentation accordingly :)

@ccrowhurstram what do u think?

It's a tough decision.
Breaking backwards compatibility is not something to be taken lightly. So this is why iyel choose the route he did ie support the two use-cases.
Obviously there are cases where the change still breaks the API (QuentinFchx's scenario). So clearly keeping compatibility is not really an option if the library is to move forward to perhaps a better design.
I think here and now the project is at a place where breaking changes are a little more palatable as enhancements need to be made (eg: https://github.com/esvit/ng-table/commit/60de2066b9be1a33210767783354c11004d5e042)
So I would go with introducing a breaking change:

Force getData to return either an array (for in memory collections) or a $q promise for async
reload should always return a promise - either the one returned by getData or a $q.when(data) where getData returns an array

How about it @iyel?
Christian

@ccrowhurstram you're absolutely right - breaking changes usually not what is taken lightly. I also was thinking the way you are after @QuentinFchx raised this issue.
These changes the best option to stick with.

Let's go for the breaking change then :)
What needs to be done:

remove the parameter $defer passed to getData
update documentation / tests / examples
tag the next release as 0.5.0(minor) and not 0.4.4(patch) :)

I would also like reload  to be smart enough to allow getData to return either an array containing the data or a promise.

@QuentinFchx
Why do u cannot rewrite ur code from this:
var table = new ngTableParams({}, {
    total: 0,
    getData: function($defer, params) {
        return resource.get({
            page: params.page()
        }).$promise.then(function(data) {
            params.total(data.total);
            return $defer.resolve(data.coupons);
        });
    }
});

to this
var table = new ngTableParams({}, {
    total: 0,
    getData: function($defer, params) {
        resource.get({page: params.page()}, function(data) {
            params.total(data.total);
            $defer.resolve(data.coupons);
        });)
    }
});

If u do this way it has to work

Yep, this is what I did in the end :)

@QuentinFchx thanks for bringing this up, was also hitting the same issue, since I'm using CoffeeScript with implicit returns

You're welcome.
Closing the issue now. It's not a bug but an evolution of the api.


Add support for the KMM (Kotlin Multiplatform Mobile) project

Why
The library currently does not support the KMM (Kotlin Multiplatform Mobile) project.

Error:

Who Benefits?
KMM Developers
Thanks

Hi @suho and thanks for your elaborate feedback.
Unfortunately, we have noticed the same issues with the lib in KMM projects, and the fix requires a significant amount of time. However, we do plan on supporting KMM in one of the future releases. Now, I can't tell exactly when that might happen due to high amount of work we have elsewhere.
Rest assured that we will handle this in due time!


poor quality traceback / useful stack frames not present when exceptions raised in sync dependencies

Privileged issue

[X] I'm ~@tiangolo or he asked me directly to create an issue here~ a liar, but the discussion template was crazy onerous, and I'm confident I can write a decent, succinct issue description that's worth reading here ;-)

Issue Content
If I apply this diff to the full-stack-fastapi-template:
diff --git a/backend/app/api/deps.py b/backend/app/api/deps.py
index c2b83c8..c99cdb2 100644
--- a/backend/app/api/deps.py
+++ b/backend/app/api/deps.py
@@ -19,6 +19,7 @@ reusable_oauth2 = OAuth2PasswordBearer(

 def get_db() -> Generator[Session, None, None]:
+    raise Exception("error")
     with Session(engine) as session:
         yield session

...and issue a GET to http://<IP_ADDRESS>:8000/api/v1/users/, the traceback shown in the console is really unhelpful:
  File "...3.11/lib/python3.11/contextlib.py", line 650, in enter_async_context
    result = await _enter(cm)
             ^^^^^^^^^^^^^^^^
  File "...3.11/lib/python3.11/contextlib.py", line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File ".../full-stack-fastapi-template/backend/.venv/lib/python3.11/site-packages/fastapi/concurrency.py", line 35, in contextmanager_in_threadpool
    raise e
Exception: error

There are no frames from the actual site of the exception, and, on the face of it, potentially no way to go back from the exception to the source of the error.
I first noticed this doing test driven development on a new FastAPI project, having not done any FastAPI dev for a couple of years, and was pretty shocked.
What I don't understand is why the exception being re-raised appears to have no traceback of its own?

Did you try the last FastAPI version?

Close enough:
$ uv tree | grep -i fast
Resolved 81 packages in 0.92ms
├── fastapi[standard] v0.115.0
│   ├── fastapi-cli[standard] v0.0.5 (extra: standard)
├── sentry-sdk[fastapi] v1.45.1
│   └── fastapi v0.115.0 (extra: fastapi) (*)

Dropped a breakpoint, does indeed appear that __traceback__ is None, but why?
> .../python3.11/site-packages/fastapi/concurrency.py(36)contextmanager_in_threadpool()
-> raise e
(Pdb) !e
Exception('error')
(Pdb) !e.__traceback__
(Pdb) !e.__traceback__ is None
True

Can you try on the really latest?

I don't really have the power or motivation to do that. I don't maintain FastAPI.
If you want, you can create a GitHub issue about the "8 checks on the discussion". I'll not close it, so @tiangolo can see later.

Anyway, confirmed fixed in 0.115.6


Try EfficientSpeech

https://flashspeech.github.io/
https://github.com/roatienza/efficientspeech

Not as fast as promoted, most of the parameters are in hifigan

Using HiFiGAN as vocoder, it runs at an RTF of 1.7
for voice generation on RPi4. Without the vocoder overhead,
the mel spectrogram generation is at RTF speed of 104.3


Provide anatomical homologies

In GitLab by @marcrr on Oct 15, 2015, 11:48
Provide ancestral_taxa_homology_annotations.tsv file on Bgee homepage.
Provide small file with only multiple-entity annotations, under name such as "non trivial homologies".

In GitLab by @marcrr on Jun 17, 2019, 17:03
closing because of https://bgee.org/?page=anat_similarities

In GitLab by @marcrr on Jun 17, 2019, 17:03
closed


Documentation don't work properly

Hello.
I'm trying to use documentation for every function, but just some works.
For example: When I call F2on def, works ok with this console output:
[Server] DOCL { "def", "/tmp/vyjxlfpd8", 10 } server-process.coffee:149
When I call on String.duplicate, nothing happens and console logs this:
[atom-elixir] %FunctionClauseError{arity: 2, function: :do_lookup_docs, module: Code} server-process.coffee:55
In time, I would like to ask if you can use F2 key to open docs and after called a second time, close the panel.

Same issue.

There's a new version v0.2.1. Please, update and check if the problem is gone. Also remember to restart Atom after update or hit CTRL+ALT-CMD-L on mac.
Thanks for reporting the issue.


Calculate the mouse focus inverse transform only when needed

Revival of #49158
Supersedes #49158
fix #69593
Co-authored-by: Marcel Admiraal<EMAIL_ADDRESS>madmiraal did the heavy lifting, I just fixed merge conflicts.
Orignal description:
Currently, gui.focus_inv_xform is used to determine the location of an event within a Control. Viewport::_gui_find_control() has the side-effect of updating gui.focus_inv_xform. This would be fine if _gui_find_control() was just used to assign gui.mouse_focus, but it's not. The result is, when a mouse button release event happens, sometimes gui.focus_inv_xform does not provide the location of the event inside the Control where the mouse button press event happened.
Instead of calculating the mouse_focus's Control's inverse transform every time _gui_find_control() is called and storing the result for later use, this PR calculates the required inverse transform only when it is needed. This will not only prevent the wrong inverse transform sometimes being used, but should result in better performance too.
Edited 2023-01-09: Fix merge conflict

Thanks!


lmdb: use 31-bit lengths when on 32-bit architectures

Fixes #81
The package detects architecture bit-width using techniques from the
runtime package to avoid duplication and omission of code for various
architectures.
The architecture detection hacks are moved to their own internal package
to avoid golint complaining about weird looking constant formulae.

Retried on target device (ARMv7, 32bit) and compilation succeeds.


Need license

People have been asking for a license.
The code contains code taken from this blog post (you'll need to use archive.org to find it.)
http://nathanvangheem.com/news/moving-to-picasa-update
That code does not have a license.
I notice that Nathan Van Gheem is now on github as vahgheem. I'll email him to see what license he used for the original code.

Contacted Nathan, got permission to use whatever license I wanted, chose Apache 2.0, added license file.

Thanks, I'll put up my version shortly? Do you prefer a pull request or just a fork? Again, don't expect too much, the APIs have gone down the drain AFAIK.

A pull request would be nice. But you're welcome to fork if you prefer....
I don't have any easy way of testing the script any more, so I'll be
reading the code, but taking your word on its functionality.
On Thu, Feb 23, 2017 at 3:01 PM, pjv<EMAIL_ADDRESS>wrote:

Thanks, I'll put up my version shortly? Do you prefer a pull request or
just a fork? Again, don't expect too much, the APIs have gone down the
drain AFAIK.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/jackpal/picasawebuploader/issues/15#issuecomment-282150122,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKt1xti6syWcyStyk0_rCHvDgMP9XhQks5rfg_KgaJpZM4L_dpL
.

Pull request created.


Django 1.10 populate_history

python manage.py populate_history --auto
System check identified some issues:
WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_DIRS.
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/core/management/init.py", line 367, in execute_from_command_line
utility.execute()
File "/home/trusty/django/local/lib/python2.7/site-packages/django/core/management/init.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/trusty/django/local/lib/python2.7/site-packages/simple_history/management/commands/populate_history.py", line 68, in handle
self._process(to_process)
File "/home/trusty/django/local/lib/python2.7/site-packages/simple_history/management/commands/populate_history.py", line 106, in _process
if history_model.objects.count():
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/models/query.py", line 369, in count
return self.query.get_count(using=self.db)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 476, in get_count
number = obj.get_aggregation(using, ['__count'])['__count']
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/models/sql/query.py", line 457, in get_aggregation
result = compiler.execute_sql(SINGLE)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 835, in execute_sql
cursor.execute(sql, params)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "/home/trusty/django/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 110, in execute
return self.cursor.execute(query, args)
File "/home/trusty/django/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
self.errorhandler(self, exc, value)
File "/home/trusty/django/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
raise errorclass, errorvalue
django.db.utils.ProgrammingError: (1146, "Table 'mydjango.pyfyp_historicalaccidents' doesn't exist")

As the error message says, the table doesn't exist. Registering a model to have its history tracked will define a shadow model which will need to be added to your migrations. So, makemigrations, and migrate, and your DB should be updated with the new shadow tables.

You are absolutely right 😊
Thank you

The need to do makemigrations is actually not listed in the docs... and tripped me up until I found this.  It would be helpful to have a note about this in the Quick Start, maybe right after the models section.  (Yes, in hindsight it's obvious...)


Support ARM JVM builds

What happened?

I was trying to run a spring built image on a Raspberry Pi and realized that it can't run on ARM Devices.

I thought it should be possible to configure the buildpack to use ARM builds of the JVM.

Build Configuration

What platform (pack, kpack, tekton buildpacks plugin, etc.) are you
using? Please include a version: org.springframework.boot 2.4.1

What buildpacks are you using? Please include versions.

paketo-buildpacks/ca-certificates   2.1.0
paketo-buildpacks/bellsoft-liberica 7.1.0
paketo-buildpacks/executable-jar    5.0.0
paketo-buildpacks/dist-zip          4.0.0
paketo-buildpacks/spring-boot       4.1.0

Hi, so the issue of ARM support is much bigger than just swapping in the JRE/JDK ARM binaries. All of the buildpacks themselves as well as the lifecycle, which runs the buildpacks, are binaries that need to be built for ARM. That way the buildpacks can run in an ARM container, to install your ARM binaries, which will eventually run your ARM app. Plus we need ARM-based CI support so we can test & validate that platform. Full support for ARM is on the Buildpacks roadmap, but not something we can implement in the Java-related buildpacks at this time.
I would suggest following https://github.com/buildpacks/lifecycle/issues/435 for updates (and of course 👍'ing that issue to show your interest/support).
I'm going to close this one out until things progress with the lifecycle. That domino needs to fall first. Rest assured we on the Java buildpacks team are watching that issue as well and plan to support ARM when it's feasible.

I checked libjvm and was thinking about adding an architecture environment in order to support running images built with buildpacks. Of course the buildpack could only be built on x86 until the linked issue will be done.
But as a first step it shouldn't be too much work to get this working. Additionally this would allow to build images cross platform.

https://github.com/GoogleContainerTools/jib/tree/master/jib-maven-plugin#platform-object supports platform arm64

We have preliminary support for arm64 available. Please see https://github.com/dmikusa-pivotal/paketo-arm64 for more details. This is the first step in arm64 support & we'd like folks to try it out and give us feedback on what works/doesn't work for you. Thanks


Any plans on a build release?

Just wondering if there will be a build release, like a .ipa file or something.

This repository contains an example project.
You can open VRMKit.xcodeproj and run the app of Example scheme 👍

Sorry, i don't have a mac

I have no plans for release so far...
You can also see example app on the web: https://appetize.io/app/y64jp9pb85f3txmezmx66ezbkc?device=iphone6s&scale=75&orientation=portrait&osVersion=11.4
But this site is very slow🐢

I'll close this issue. If you have some problems, you can reopen the issue.


Camera calibration

I want to try just the camera calibration (on one image) to check how it works. Can you please tell me, what is coarse_mask?
As stated here coarse_mask = self.get_mask_from_detectron(0) it's some mask from Detectron? But Detectron is used here for human detections?
P.S. Actually I tried to build the whole project but failed - too much dependencies, conflicts, etc. So now I'm trying to use only calibration part. But without Detectron I just can't check what is this coarse_mask Thanks.

Detectron mask used during calibration step for removing of detected edges of players.


Misplaced caret on tooltip at right

Bug description:
After upgrading from 0.13.3 to 1.3.3, some tooltips positioned at right were appearing wrongly as if their width does not fit.
Link to minimally-working plunker that reproduces the issue:
Behaviour is observed on UIBS page: https://angular-ui.github.io/bootstrap/#/tooltip
Here's a plunker: http://plnkr.co/edit/ureLc8K03P6pTUoMsvx5?p=preview

Version of Angular, UIBS, and Bootstrap
Angular: 1.5.3
UIBS: 1.3.3
Bootstrap: 3.3.6

@RobJacobs is this a bug in the positioning service?

This is because the tooltip element grows vertically when the text wraps (it's not just the caret that's off, the tooltip itself is not centered vertically).  The text wrapping occurs at some point in the render cycle after the tooltip has been positioned.  @wesleycho worked on this recently on PR #5959

@RobJacobs awesome.  thanks.  @brunomperes, this is already fixed in master and there was already an issue for this.  in the future, please be respectful of our time by searching both open and closed issues prior to entering a new one.


chore(STADTPULS-524): add more sensor types

This PR adds icons for Helligkeit and Sonstige.
(Also updates the types.)

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Invalid STDF File, Cannot determine endianness

Tried to run example script with several of my STDF files (generated by probers, all valid and checked with other software) and got "Invalid STDF File, Cannot determine endianness" for each of them. Unfortunately can't provide example of files due to IP. What can go wrong and how can I fix this issue?

Did you find a solution to your problem? I am having the same issue even with the demo STDF file provided in the repo.
Using a debugger, we encounter the error when the code tries to determine the endianness based on the REC_LEN of the initial FAR record. In this case, the REC_LEN is somehow parsed as 19280 instead of either 2 (LE)  or 512 (BE).

@noonchen-ni thank you for your response. On closer inspection, I was using a corrupted/invalid STDF file which is what was causing the issue. Also, note my edit to my previous comment. The demo STDF files do not encounter this error. That was a mistake.


[HybridApp][Fire Clean Up] send HybridApp build instructions in an Action Required Email

See https://expensify.enterprise.slack.com/canvas/C085GD1ET8A
Context

Very few internal engineers had a working local HybridApp build due to multiple issues. We suggest resolving the issues and then sending an action required email to set up HybridApp on all internal engineer machines.

Problem
fix dotenv
npm caches
Once we fix build issues, send an action required email to set up HybridApp on all internal engineer machines.
cc @AndrewGable @Julesssss

Adding the Fire-Cleanup label here. From #fireroom-2024-12-17-hybridapp-crash


Inability to use tf.Session()

Hi, I am new to tensorflow and I am still learning on what to do for printing. I've seen that I should be using tf.Session() but whenever I do that(like Sess = tf.Session() or just tf.Session()) i get the error >>
module 'tensorflow' has no attribute 'Session'
I've learned that I should also use tf.compat.v1 but it doesn't provide the same for my lessons as i cannot use .run or any of the things that session uses. I also use tf.print() or print() which is standard but doesn't run the same as .Session(). Are there any alternatives to run the same thing in Tensorflow 2.1.0 or if there was a way, is there a page that can help me do so?

@BattleTaco
Request you to share colab link or simple standalone code to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

You should install TF 1.15 if you want to use Session. In 2.0 world, the entire API is eager, there is no more Session.
This is a question better suited for StackOverflow as it is not about a bug in the implementation. Hence, closing.


Remove Kyma and Manifest finalizers if no access secret is found and they are being deleted

Description
Changes proposed in this pull request:

Remove Kyma and manifests finalizers if no secret is found and they are being deleted

Related issue(s)
Resolves #640

As we discussed that we need either to not use the cyclop golang linting or refactor the code in order to solve the code complexity.
I don't want to approve it until we pick one solution described above.

@medmes  the extra cyclop linting was not introduced in this PR, that's why I believe we should address this in a separate PR since it's not within this PR's scope

/retest


Import ERROR superset

Make sure these boxes are checked before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if any
[x] I have reproduced the issue with at least the latest released version of superset
[x] I have checked the issue tracker for the same issue and I haven't found one similar

Hey maybe this question is a little stupid, but I am trying to use superset sql editor and it does not work out. When I start a query it shows pending ... . Okay what did I do: I used redis in the standard configuration how it is presented in docs. But when I start the REDIS-SERVER and the SUPERSET-SERVER and I want to start the worker, but it doesn't work. It shows an Import Error 'superset'.
Superset version
0.20.6
Expected results
No Error and the SQL Editor works.
Actual results
When starting the superset worker:
Loaded your LOCAL configuration at [C:\Users******\venv\Scripts\superset_config.py]
[2017-12-01 23:14:15,769: DEBUG/MainProcess] | Worker: Preparing bootsteps.
[2017-12-01 23:14:15,847: DEBUG/MainProcess] | Worker: Building graph...
[2017-12-01 23:14:15,847: DEBUG/MainProcess] | Worker: New boot order: {Beat, Timer, Hub, Queues (intra), Pool, Autoscaler, Autoreloader, StateDB, Consumer}
[2017-12-01 23:14:15,941: DEBUG/MainProcess] | Consumer: Preparing bootsteps.
[2017-12-01 23:14:15,941: DEBUG/MainProcess] | Consumer: Building graph...
[2017-12-01 23:14:15,972: DEBUG/MainProcess] | Consumer: New boot order: {Connection, Agent, Events, Mingle, Tasks, Control, Heart, Gossip, event loop}
-------------- celery@****** v3.1.25 (Cipater)
---- **** -----
--- * ***  * -- Windows-10-10.0.14393-SP0
-- * - **** ---

** ---------- [config]
** ---------- .> app:         main:0x18c5a8b44a8
** ---------- .> transport:   redis://localhost:6379//
** ---------- .> results:     redis://localhost:6379/
*** --- * --- .> concurrency: 32 (prefork)
-- ******* ----
--- ***** ----- [queues]
-------------- .> celery           exchange=celery(direct) key=celery

[tasks]
. celery.backend_cleanup
. celery.chain
. celery.chord
. celery.chord_unlock
. celery.chunks
. celery.group
. celery.map
. celery.starmap
. superset.sql_lab.get_sql_results
[2017-12-01 23:14:16,003: DEBUG/MainProcess] | Worker: Starting Pool
Traceback (most recent call last):
File "", line 1, in
File "C:\Users.....\venv\lib\site-packages\billiard\forking.py", line 430, in main
Traceback (most recent call last):
File "", line 1, in
File "C:\Users.....\venv\lib\site-packages\billiard\forking.py", line 430, in main
Traceback (most recent call last):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users.....\venv\lib\site-packages\billiard\forking.py", line 430, in main
File "", line 1, in
prepare(preparation_data)
File "C:\Users.....\venv\lib\site-packages\billiard\forking.py", line 557, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
File "C:\Users.....\venv\lib\imp.py", line 297, in find_module
prepare(preparation_data)
File "C:\Users.....\venv\lib\site-packages\billiard\forking.py", line 557, in prepare
file, path_name, etc = imp.find_module(main_name, dirs)
File "C:\Users.....\venv\lib\imp.py", line 297, in find_module
prepare(preparation_data)
File "C:\Users.....\venv\lib\site-packages\billiard\forking.py", line 557, in prepare
raise ImportError(_ERR_MSG.format(name), name=name)
ImportError: No module named 'superset'
superset_config.py
class CeleryConfig(object):
BROKER_URL = 'redis://localhost:6379/0'
CELERY_IMPORTS = ('superset.sql_lab', )
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_ANNOTATIONS = {'tasks.add': {'rate_limit': '10/s'}}
CELERY_CONFIG = CeleryConfig
from werkzeug.contrib.cache import RedisCache
RESULTS_BACKEND = RedisCache(
host='localhost', port=6379, key_prefix='superset_results')
LOG_LEVEL = 'DEBUG'
Steps to reproduce
Use the shell in pythonfolder and type: python superset worker

Superset is not supported on windows. Contribution to fix that are more than welcome though.


you have to create a iso to boot this thing on VM

just create a ISO of this project and boot this on a VM, bro,
will by nice!

There is no need for an ISO, if you wish to use it in a virtual machine, you can just add your boot loader and kernel of choice to the disk image and then boot the disk image directly.


No idea how to make a pull request, but here is the data of the 3DJake rPLA spool

I only use GIT to get stuff, not to contribute so I have no idea how to make a pull request. Simply pressing the 'pull request' button leads me to questions and choices I can't answer. I really think you should create an easier way to contribute to the Spoolz database because I suspect this GIT stuff is scaring people off... :)
But I'd like to contribute a spool:
Brand: 3DJake
Type: rPLA
Spool type: Cardboard
Empty weight: 209gr
Outer diameter: 200mm
Inner diameter: 56mm
Width: 72mm
Foto: https://www.dropbox.com/s/xilq42yrrmua7oj/3DJake%20rPLA%20cardboard%20spool.jpg?dl=0

That's good enough, thanks!
y.
On Tue, Apr 25, 2023 at 1:24 PM bvkrieken @.***> wrote:

I only use GIT to get stuff, not to contribute so I have no idea how to
make a pull request. Simply pressing the 'pull request' button leads me to
questions and choices I can't answer. I really think you should create an
easier way to contribute to the Spoolz database because I suspect this GIT
stuff is scaring people off... :)
But I'd like to contribute a spool:
Brand: 3DJake
Type: rPLA
Spool type: Cardboard
Empty weight: 209gr
Outer diameter: 200mm
Inner diameter: 56mm
Width: 72mm
Foto:
https://www.dropbox.com/s/xilq42yrrmua7oj/3DJake rPLA cardboard spool.jpg?dl=0
http://url
—
Reply to this email directly, view it on GitHub
https://github.com/jtrmal/spoolz/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUKYXY3MRLVVC5TIYGT5FLXC6X7HANCNFSM6AAAAAAXK3PBMM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Published: https://www.onlyspoolz.com/portfolio/?

Thank you for your contribution!


net/bitcoin_module

Description:
Create a new module in Barknet named bitcoin to house all the Bitcoin-specific data availability functions and structures. The goal is to have parity with other da's
Tasks:
1 - Merge https://github.com/keep-starknet-strange/madara/pull/1021 into net (only issue that can be merged to dev directly)
2 - Create a new directory and module named bitcoin and initiate the same architecture as the other da's.
3 - Include the necessary imports from the Bitcoin-da crate.

Can I try this one ?

already done by @0xEniotna , to fast for us ;)

ok I'm going to finish


Incorrect webhook message and icon for rtd.com (not .org)

Details

Read the Docs username (if applicable): brsnyder

I imported a private repo -- product-docs-private -- as a project. Eric Holscher is a collaborator.
Expected Result
I wanted it to build.
Actual Result
I see the message "webhook created" etc., but in fact, for rtd.com, you have to manually go and add a separate webhook. So either that webhook should be added automatically, or the import should end with a message telling me to go add it, along with all the settings I need to use.
After adding it manually, builds are working but the webhook shows an error icon, although some OK icons are also there.

I'm not sure if I understand the issue. Is this a problem on https://readthedocs.com? If so, you can contact to support for that.


Revisit decision around mapping function selectors to resources vs directly to systems

Instead of mapping to a resource, the function selector could map direcly to a system function, which would save one sload per call, but add some complexity to upgrading systems. See WorldRegistrationSystem.registerFunctionSelector

If we wanted to map function selectors directly to system addresses we'd introduce a lot of additional complexity:

duplicating the access control logic: if a system is not registered as openAccess, we'd have to load the resource selector from storage and perform access control checks based on it.
duplicating the logic when to call a system via delegatecall or call (which is currently determined based on the resource selector). Probably would have to store it as a flag in the function selector table, so there is not a single source of truth anymore for whether a system is a root system.
increased complexity for upgrades: instead of just pointing the resource selector to a new address, we now would have to set up a reverse mapping for which function selectors are registered for a given address, and change all those references to the new address too
increased "conceptual complexity" - instead of once concept for systems (resource selector) we would have two concepts and two sources of truth (ie "a system is a root system if it is registered in the root namespace or if there is a flag in the function selector table saying so")

To avoid all of this complexity I think it's a worthwhile tradeoff to accept a single additional sload and keep pointing function selectors to resource selectors.


Inconsistent metadata makes the CLI fail when upgrading hasura-auth from v0.3.2

Since Hasura Auth v0.4.0, the auth.provider_requests.redirect_url column has been removed.
But as this column is still mentioned in the local metadata in nhost/metadata/databases/default/tables/auth_provider_requests.yaml, the Nhost CLI will fail to apply metadata. It is worth mentioning this error will most likely hamper the ability to use hasura-auth versions above v0.3.2.
To run hasura metadata inconsistency drop before running hasura metadata apply will likely solve the issue
In the meantime, it is possible to manually solve the problem in modifying the local file nhost/metadata/databases/default/tables/auth_provider_requests.yaml:
Before:
...
configuration:
  custom_column_names:
    redirect_url: redirectUrl
...

After:
...
configuration:
  custom_column_names: {}
...

To reproduce:
Nhost CLI version: v0.6.2

Create an empty Nhost project
Start the project
Stop the project
Upgrade Hasura Auth in nhost/config.yaml:

services:
  auth:
    version: 0.5.0

Start the project again

This issue was almost fixed here (https://github.com/nhost/cli/pull/170) but I think what we need to do is remove the check for inconsistent metadata (https://github.com/nhost/cli/blob/main/environment/environment.go#L233-L238).
This will lead to the following behavior:

Start Nhost app
Hasura, auth, and storage starts and runs their migrations and metadata
Nhost applies local db migrations and metadata, potentially overriding metadata from Auth and Storage in step 2.
Auth and Storage is restarted, applying their metadata again (overriding metadata in step 3)
The latest metadata applied (step 3 + step 4) is exported to the file system

This should allow us to create metadata updates in auth and storage and let those be applied automatically when running the CLI.

I'll have a closer look.
In general terms, the use of hasura metadata export could also lead to problems as I think it replaces the entire local metadata directory by the ones in the Hasura+postgres servers. I am not sure it is a real problem here, but we have to keep that in mind

If the CLI could run the following commands in this order, it will likely solve our problems:

start Hasura
wait for its health check
hasura metadata apply
hasura metadata inconsistencies drop
start hasura-auth and hasura-storage
wait for their health check
hasura metadata apply

The last step (7) will apply local Hasura metadata which might include outdated custom columns configuration (like redirect_url => redirectUrl). This is the problem.
We do however need to apply local metadata. But we should not apply any configuration for tables in the auth and storage schema.
Instead, Hasura Auth and Hasura Storage are responsible for that.
I think we can keep most of the current logic and just not apply configuration for auth and storage schemas.

nhost dev (same)
Start Hasura, Auth, and Storage (same)
hasura metadata apply (same). But skip configuration for the auth and storage schemas (new).


Error "Sendbird Connection failed", after changing the appID in sample basic-javascript sample

This happens on clicking login button. I can see that user is created on dashboard, however it still gives this error.

same issue.

I think we need to add 'API token'' however unable to find that,

same issue

Hey @rahulgupta999 let me check into this, and see if I can reproduce this. As far as your API token you can find that on your dashboard.

Hey @rahulgupta999, just wanted to give you an update, I was able to reproduce the issue. I'll let you know when it is fixed.

Same issue. Any way for a quick fix? Or checking out any previous version would help?

Hey @stevengpwc you should be able to use previous versions without any issues.

Any update on this? Same issue here and this is what is being logged to my console.....I also don't see
main.js?cdd5:112 TypeError: L.get(...).GroupChannelListQuery is not a constructor
    at new value (SendBird.min.js?e6dc:3571)
    at SendBirdAction.getGroupChannelList (SendBirdAction.js?873d:290)
    at ChatLeftMenu.getGroupChannelList (ChatLeftMenu.js?b234:200)
    at eval (main.js?cdd5:110)

I got same issue

"TypeError: Cannot add property url, object is not extensible" when using sb.connect()

Should be resolved with recent sendbird package version update -> 3.0.111


Remove deprecation warnings introduced by Ocean 4

Fixes #19

Does it need a rebase to fix failing tests?

Does it need a rebase to fix failing tests?

I don't think so, the tests are failing because of no API token


Shows a dialog instead of a new activity when adding or editing a task

As you can see in this video, adding an empty task shouldn't show the '...saved' confirmation message.


Patch damage and healing types config, add color, label, isPhysical properties

Bruh.

Well, for the separate PR we can consider using the Color type (:

<too-many-cooks.gif>


Dragging an element cause all other drag sources to render

Dragging an element cause all other element that act as drag sources to render, it happens because all elements that act as a dragSoure are updated with the props defined in their collect function. Is
Is there a way to prevent this behaviour ? Or am i doing something wrong ?
Also, this issue does not affect 'lower-level' components ( = component that produces DOM element), as they do not have the props injected by the collect function, which is fine, and i can understand the use case of injecting the props in all dragSources ( = lyou may want to drag all/multiple drag sources in some situations ), but it can be quite bad on performance ( let's say you have 500 drag-sources elements, then they will be 500 method call .. ).
One workaround i was thinking is to create a draggable element on the fly, when the user click.

@chabb did you come up with an approach?

this is happening to me also, any idea?

shouldComponentUpdate or PureComponent will help!


Remove space from #voluntary_self_quarantine in FAQ EN

This PR corrects the issue https://github.com/corona-warn-app/cwa-website/issues/2476 "Bad link in EN FAQ to #voluntary_self_quarantine"
An extra space in the hyperlink to #voluntary_self_quarantine is removed.
Verification
Manual check
In Firefox:

Open the FAQ article https://www.coronawarn.app/en/faq/#red_card_how_to_test "Red Card? How to go through Corona testing"
Click on the link "Why is voluntary self-quarantine recommended?"
Confirm that the correct article is opened

Cypress automated check
Execute
npm run test:prepare
npm run test:firefox

Confirm that all tests run without error.
√  All specs passed!

@MikeMcC399 Thanks for fix!


CSV export of RDS instances does not contain reserved cost

The UI renders prices correctly, but the CSV says "unavailable" for all cases.

CSV export is known to be quite limited right now. Please track #274 for details. Sorry for the confusion


[FLINK-31747] Remove Confluent Avro formats from externalized Kafka connector repo

This PR removes again the Confluent Avro related formats from the externalized Kafka connector repo.
This was a result of a discussion with @twalthr. The formats will remain in the core apache/flink repo, as they can be commonly used by various different connectors and not just the Kafka connector.

Good point @mas-chen. Following along the same logic for how other tests in apache/flink that depend on the Kafka connector handle this (i.e. pinning to a specific Kafka connector version), I guess we would do the same here for flink-confluent-schema-registry-e2e-tests.

Looks good aside from the CI error

Seems to be a flaky test. I'll re-run to be sure and open a ticket for that.


Corrupt ip plugin

add logic to make corrupt IP packets a first class citizen-- publlish its SPI data to elastic in order for downstream tool to access/process
Clearly describe the problem and solution
Relevant issue number(s) if applicable
Did you run npm run lint from the viewer or parliament directory (whichever you are making changes to) and correct any errors
NA
Did you Ensure that all tests still pass by navigating to the tests directory and running ./tests.pl --viewer
yes
License
I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

wrong branch


Document case-sensitivity rules for identifiers

Re: https://forum.cockroachlabs.com/t/relation-table-name-does-not-exist-issue/2097/2
I expected to find docs for the case-sensitivity rules on https://www.cockroachlabs.com/docs/stable/keywords-and-identifiers.html#identifiers, but they weren't there (I couldn't find them elsewhere in the docs, but didn't look very hard). Postgres has them on their corresponding page (although less prominently than I think the issue deserves). We should at least add this information to our keywords and identifiers section, and maybe in a FAQ too.

Related issue: https://github.com/cockroachdb/docs/issues/5382

Related issue: https://github.com/cockroachdb/docs/issues/5382

We have closed this issue because it is more than 3 years
old. If this issue is still relevant, please add a comment and re-open
the issue. Thank you for your contribution to CockroachDB docs!

I think the forum post still has more info than our docs, reopening


Could this awesome library be also available via CDN?

Basically title, I love the library but in my current use-case (due to some limitations) I would like to inject it into a plain HTML site.
Thanks in advance.

Hi @MartinStrekelj 👋 I think that's a great idea! I did the work to update the project to build the output files for CDN. After that's merged I'll put it on a CDN -- not sure which one yet 🤔

I've updated our build/ci to build cdn ready files. Just need to do a release (planning for tonight). After the release you'll be able to use jsdeliver. We're working on cdnjs (#1392) so hopefully have that setup soon as well.

Ok, so took a bit to get a release ready change together but it's out and so is our first cdn available version 🎉
<script<EMAIL_ADDRESS>


Maven problem

Execution failed for task ':react-native-file-access:compileDebugKotlin'.

Could not resolve all files for configuration ':react-native-file-access:kotlinCompilerClasspath'.
Could not download kotlin-reflect-1.6.10.jar (org.jetbrains.kotlin:kotlin-reflect:1.6.10)
Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.6.10/kotlin-reflect-1.6.10.jar'.
Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-reflect/1.6.10/kotlin-reflect-1.6.10.jar'.
Connect to repo.maven.apache.org:443 [repo.maven.apache.org/<IP_ADDRESS>] failed: Read timed out

Try:

In order to investigate, I will need the details listed in the bug report template:

react-native version
react-native-file-access version
Explanation of how to trigger this bug

@alpha0010 System:
OS: Windows 10 10.0.22621
CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-1260P
Memory: 2.05 GB / 15.73 GB
Binaries:
Node:
version: 18.17.0
path: D:\SDK\node.EXE
Yarn:
version: 1.22.19
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 9.6.7
path: D:\SDK\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 17.0.8
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: 0.72.4
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found


Add button support

This PR adds support for a "button" overlay (technically a UIImageView, but alas).
I added three possible buttons - play, pause and restart - along with the necessary method to toggle their visibility.
The icons are from Oxygen's Icon Set and are under the GNU Lesser General Public License.

hey @NSMyself thanks for the contribution. we're going to leave the UI elements out of the example for now but your fork would be helpful for other folks to see. ✌


The difference between parameters : connection timeout and dial timeout

I test them in my PC.
I find that the parameter (dial timeout) is the controller of connection timeout  but the parameter (connection timeout)  can not control connection timeout.
Is there something wrong in the Introduction for the parameter connection timeout?

dataSourceName := fmt.Sprintf("sqlserver://%v:%v@%v:%v?database=%v&dial+timeout=%v",
service.Username, service.Password, service.Ip, service.Port, "master", timeout)
db, err := sql.Open("mssql", dataSourceName)


Error while running nx generate @mands/nx-playwright:project command

Describe the bug
Error while running nx generate @mands/nx-playwright:project command.
To reproduce
Run the command yarn nx generate @mands/nx-playwright:project <app>-e2e --project <app>
Expected behaviour
Generation of playwright project in the apps directory.
Screenshots

Hi @dipushrestha ,
Could you please provide more details (e.g. version of node, yarn, etc) and an sample project where we can reproduce this issue?
I've quickly tried here and it seems fine with the latest version

Here is the nx report
>  NX   Report complete - copy this into the issue template

   Node : 16.17.1
   OS   : linux x64
   yarn : 1.22.17

   nx                      : 15.7.2
   @nrwl/jest              : 15.8.6
   @nrwl/linter            : 15.6.3
   @nrwl/workspace         : 15.6.3
   @nrwl/cli               : 15.7.2
   @nrwl/cypress           : 15.8.5
   @nrwl/detox             : 15.7.2
   @nrwl/devkit            : 15.8.6
   @nrwl/eslint-plugin-nx  : 15.6.3
   @nrwl/js                : 15.8.6
   @nrwl/next              : 15.8.6
   @nrwl/react             : 15.8.6
   @nrwl/react-native      : 15.8.6
   @nrwl/tao               : 15.7.2
   @nrwl/vite              : 15.8.6
   @nrwl/webpack           : 15.8.6
   typescript              : 4.9.5
   ---------------------------------------
   Community plugins:
   @mands/nx-playwright  : 0.2.4
   @nx-extend/e2e-runner : 2.3.1
   @nx-extend/playwright : 1.2.0
   ---------------------------------------
   The following packages should match the installed version of nx
     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>     -<EMAIL_ADDRESS>

Did you follow the steps on the sample PR I shared? Can you provide a project where this issue can be reproduced please?

The link is not accessible. The repo is private so I can't share the project.

Please check again

Hey @dipushrestha, we will close this issue because we haven't gotten a response yet. Happy to reopen it once you have shared more details with us.


CB-13999: (browser) - Reading config.xml respects base href

Platforms affected
Browser
What does this PR do?
Link to config.xml using the base href instead of the root (removed the trailing /)
What testing has been done on this change?
Manual testing in an Ionic/Cordova project
Checklist

[x] Reported an issue in the JIRA database
[x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[x] Added automated test coverage as appropriate for this change.

closing as https://github.com/apache/cordova-browser/pull/52 was merged


cilium_agent_bootstrap_seconds metrics are missing due to race condition between daemon/cmd/root.go & pkg/metrics/metrics.go

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In the 1.13 branch the cilium_agent_bootstrap_seconds metrics are not getting exported from the metrics port.
init() from daemon/cmd/root.go calls registerBootstrapMetrics and init() from pkg/metrics/metrics.go calls ResetMetrics just a bit later and hence the bootstrap metrics are not recorded.
Solutions could be:

Invoke registerBootstrapMetrics from RegisterDefaultMetrics in pkg/metrics/metrics.go
Invoke registerBootstrapMetrics in updateMetrics in daemon/cmd/metrics.go
Is there a way to specify dependency between the 2 libraries or can the registration code be moved out of the init functions?

Cilium Version
1.13
Kernel Version
Linux gke-metrics-test-default-pool-47945f99-qjk7 6.1.42+ #1 SMP PREEMPT_DYNAMIC Sun Oct  8 14:23:56 UTC 2023 x86_64 Intel(R) Xeon(R) CPU @ 2.20GHz GenuineIntel GNU/Linux
Kubernetes Version
1.28
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@aojea @akhilles

cc: @aanm


bug: Anti-aliasing not working

Type: bug
Platform: android 4.2 webview
- See question in stackoverflow for screenshot: http://stackoverflow.com/questions/24692554/weird-pixels-everywhere-in-phonegap -
The thing is that I have one device - HP Slate 8 Pro - that's showing weir d pixels everywhere on the app. By then, as I wasn't sure "who's fault is it" I posted that in stackoverflow.
But today I just tried to create a new cordova project (without ionic) and it was working fine. I checked the viewport metatags and bam!
"target-densitydpi=device-dpi"
Put that in my ionic project and the bug is gone. But! my application now is unusable, because the header it's less than a quarter inch, everything is just "scaled down".
So it looks like, for some reason in this device, dpi resizing doesn't work properly. And it looks like an anti-aliasing problem.
And this only happens in hybrid app mode, if I open the project with chrome (in the device), it gets scaled properly and without the pixel glitch.

Hmm, looking into this more, I had something similar in older android webviews (4.1-4.3) adding crosswalk did fix the issue. It may just come down to the older webview.

IMO, "Adding crosswalk did fix the issue" is no reason to close it.
I just assume that you won't fix it, and I can understand because it doesn't happen that much, so spending resources in this is useless.
Just keep in mind that crosswalk is not the ultimate solution to all Android 4.3- devices. Adding almost 40MB to an apk is not really useful, as PlayStore limits apk sizes to 50MB (then you have to use an expansion apk). Then why don't you just say "Ionic only supports iOS 7+ and Android 4.4+"?
If you can't fix an issue, just please, don't say that the fix is adding crosswalk. Crosswalk is awesome, yes, but it's just a workaround.
Also, as I demonstrated, this bug also happens in desktop chrome. Who knows if in the next version of Chromium this doesn't reappear?

Oh for sure, crosswalk isn't a solution, but it does at least mend the issue.
I did switch to use native scrolling (which is what doing for android moving forward) and it helped a bit, but there were still some scrolling artifacts.
So while I scroll-view could cause issues, switching to native scrolling still produces the issue.

I had the same issue with android 4.1.2 and 4.2.2 and adding ion-content overflow-scroll="true" resolved the issue:

...
Hope it helps you.


Refused to set unsafe header "user-agent", "content-length"

(regression of #73)
Doing some recent testing with the googleapis package here, I noticed the following errors in the JS console of the browser:
Refused to set unsafe header "user-agent"
forEach	@	linked_hash_map.dart:21
send	@	browser_client.dart:52

[...]

Refused to set unsafe header "user-agent"
forEach	@	linked_hash_map.dart:21
send	@	browser_client.dart:52

It seems that this code is no longer working as expected:
https://github.com/google/googleapis.dart/blob/516dbc59b675d0b15a214e06924876a9939f653c/discoveryapis_commons/lib/src/api_requester.dart#L318-L324
Because _forbiddenHeaders seems to always be the empty Set.

I wonder if the compiler feature that sets dart.library.html changed.

This only happens when compiling in debug mode:
flutter run -d chrome
But not when compiling in release mode:
flutter run -d chrome --release (or flutter build web)

The fix for this has landed in flutter master already.


Miscellaneous stability improvements.

Introduce the archiverTimeout parameter;
The archiverTimeout causes the routine that archives deltas for a table to
close and archive the current file if it receives no changes since the last
one for the duration of the timeout.
Previously, a particular routine of the logical backup called closeOldFiles
was responsible for closing all open files after the hard-coded interval of 3h
(that value now servers as a default for the archiverTimeout).
Unfortunately, it was doing it in a way that was not concurrency-safe, causing
errors on subsequent writes to that closed file. The tentative fix was to
check if the file was still “active”; this patch implements a more long-term
one of archiving such files on a timeout by the archiver routine. The archiver
employs a new DeltaFileAccessMutex to avoid archiving a file that the delta
handler writes.
Make sure the archiver doesn’t block senders to the  archiveFiles channel
under load by splitting the archiver code into two routines; the listener one
that puts tasks into the queue, and the worker routine that reads from the
queue and archives files accordingly;
The changes above related to the archiverTimeout added some extra work to the
archiver, and by design, the archiver shouldn't execute any non-trivial tasks
synchronously to be able to read the next filename from the channel without
blocking writers. The changes split the archiver into two parts: one listens
to a channel, puts the filenames into the queue and occasionally (every 10
minutes) wakes up to check if it should close the current file due to the
timeout; the worker part reads delta filenames from the queue and does the
heavy lifting of moving them to the final directory. That split also allows to
handle the archiverTimeout nicely: the main routine closes the file and puts
its name to the queue to archive it later. Also, that allows retrying the
archiving action several times if an error occurs without blocking the writes
to the archiveFiles channel.
Close a basebackup transaction when trying to backup a table with no rows;
Previously, the code bailed up without any cleanup, leaving the dump
transaction open and preventing any further backups on the corresponding
tables.
Prevent archiving deltas that precede the latest backups;
The original basebackup code removed those deltas; however, at leat two issues
were present:
The deletion code only considered deltas the final directory, leaving some
files in the temp intact; those deltas would be archived in a later point in
time, making its way to the final directory despite our promise to get rid of
them.
The dump had acquired the WAL log sequence number (lsn), used as a cutoff
point, at the beginning of the dump transaction. That cause deltas for
transactions started before the dump but not committed until after the dump
start to be removed, leading to a data loss. The new code takes the lsn of the
delta file before and after the starting point of the dump and sets the latest
of both that precedes the dump as a cutoff point (usually both should be the
same, unless there is a race condition where the delta is rotated during the
time the dump finds its lsn).
Avoid queuing multiple backups for a single table;
Introduce IsBasebackupPending, SetBasebackupPending and ClearBasebackupPending
methods on a to be used when the backup is queued and dequeued to avoid
queuing the same backup multiple times.

Sorry, this resulted in one rather long PR; in case it would be easier to review it in parts I can spend some time splitting it.


feat: improve the Analysis.Analytic.OfScalars API and implement it for geometric and exponential functions

Following PR #17455, in which the ofScalars API was defined, this PR cleans up the file, fixes typos, adds additional infrastructure and implements the API in Analysis.Normed.Algebra.Exponential and Analysis.Analytic.Constructions.

Thanks for the PR!

Thanks for the review I'll get back to it this weekend


TextEditor.getUri is deprecated.

Use ::getURI instead
TextEditor.getUri (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app.asar/src/text-editor.js:2866:7)
[object Object].goToLine (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/lib/LineMessageView.js:51:83)
HTMLPreElement.<anonymous> (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/node_modules/space-pen/lib/space-pen.js:214:36)
HTMLPreElement.jQuery.event.dispatch (/Users/haydenbleasel/.atom/packages/jslint/node_modules/atom-message-panel/node_modules/space-pen/vendor/jquery.js:4676:9)

what version is this.because that has already been updated
https://github.com/tcarlsen/atom-message-panel/commit/da8a98740c3358fd9e3d627a8eef4c47fd0c0037

Updated to the latest version, seems Atom needs a full restart to delete these deprecation warnings though. Sorry for the confusion.

np man :dancer:


(QENG-3181) Use beaker-hostgenerator instead of sqa-utils.

:see_no_evil:
@waynr Same question for all of these PRs: Did they run and pass?


Use smart-link SDK instead of custom made tag helper

Motivation
The project currently uses a custom-made tag helper that allows for opening Kontent UI after a click. It would be superb if it could leverage kontent-smart-link SDK and so Dancing Goat was made Web Spotlight ready.
Proposed solution
Use UMD bundle instead of currently used (EditLinkTagHelper)[ https://github.com/Kentico/kontent-sample-app-net/blob/master/DancingGoat/TagHelpers/EditLinkTagHelper.cs].
Additional context

https://github.com/Kentico/kontent-smart-link
https://docs.kontent.ai/tutorials/develop-apps/build-strong-foundation/set-up-editing-from-preview
https://docs.kontent.ai/tutorials/manage-kontent/projects/set-up-web-spotlight

Related branch: https://github.com/Kentico/kontent-sample-app-net/tree/webspotlight


dynamically discover smoke tests

When adding a new smoke test, we had to remember to also add it to this list of tests, which inevitably means we forgot.
This change pulls the list of tests from the smoke test so as long as it's on main it will be run!
It relies on convention that the "test" value in smoke-matrix.json matches the test name like so: smoke-$test-.yaml.
So I need to rename a few tests after merging this.

The smoke test failures are expected due to a recent change in the PR body.
There's a few tests missing which will be fixed by https://github.com/dependabot/smoke-tests/pull/153


Escape bytes when printing in STM

Same problem as in #281 for bytes (see for instance this run), so same solution.

Come to think of it: Can you add a Changes entry for this, similar to the one for string?
It would be nice to include in the release notes for the next version :pray:

Done.


InputHandler.js checkBoundsSprite() when fixedToCamera

InputHandler.js checkBoundsSprite() attempted to access a misspelled property when fixedToCamera.

Thanks for this. I can't merge your PR because it's against the wrong branch, but have made the update manually and credited you.


Add templates azure-functions plugin

Plugin name and version
azure-functions-maven-plugin
Add templates for rest of the supported triggers

Event Hub trigger
Service Bus trigger
Cosmos DB trigger
Event Grid trigger

cc: @asavaritayal
@jdneo - Can you please look into this?

Sure. But do we have a long-term plan about where to host those templates?

@pragnagopa We have added those templates in several PRs. You can still take a look at them and let us know if there is anything wrong.
The file is: https://github.com/Microsoft/azure-maven-plugins/blob/develop/azure-functions-maven-plugin/src/main/resources/templates.json


Integrate unpooled retirements

Rather than only including retirements made by our aggregator contract, we should also include raw retirements made on the underlying bridge contracts.
We should also rename the KlimaRetire field to just Retirement (note that this will break existing users so we need to either maintain backwards compatibility or notify the community ahead of time and make sure our systems are all updated).

[ ] Rename/add Retirement field
[ ] Include all retirements, with a convention like pool set to null to indicate whether a retirement was made directly from a pool

This is currently being handled in this way for the Polygon Digital Carbon subgraph

All retirements are recorded and stored in a Retire entity.
Zero addresses are used to denote whether a pool was utilized
If the retirement came through the Klima aggregator, a KlimaRetire entity is set up to capture the additional data, along with setting base values like retirement message and name on the Retire entity.


unknown filesize` error

Which patching process showed the unknown filesize error?
Please list which patching process showed the error (CP, SWAP, SWDL)
What is your firmware?
Please add your firmware-train like i.e. MST2_RoA_VW_ZR_P0138T
Attach the support-dump as .zip file
Go to Tools -> Dump necessary files to SD folder /dump/.../support and zip the support folder
support.zip

Added in https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip