FIlter query parameter fails

Have tried multiple ways of giving input to the filter query parameter, but the application throws different exceptions or does not change the response json.
Request url: /search?q=a&token={{token}}&resources=adresse&resources=postdistrikt&filter=praesentation like '%amager%'
Does not failed with an exceptions, but where clause is not used/does not change the json response.
Request url: /search?q=a&token={{token}}&resources=adresse&resources=postdistrikt&filter=IN ('id','praesentation')
Exception:
java.lang.RuntimeException: Must set primary key before trying to encode FIDFilters
Request url: /search?q=a&token={{token}}&resources=adresse&resources=postdistrikt&filter=praesentation IN ('Amager')
Exception:
java.lang.RuntimeException: Must set primary key before trying to encode FIDFilters
Request url: /search?q=a&token={{token}}&resources=adresse&resources=postdistrikt&filter=postnummer > '1000'
Exception:
org.jdbi.v3.core.statement.UnableToExecuteStatementException: org.postgresql.util.PSQLException: ERROR: operator does not exist: character varying > integer   Hint: No operator matches the given name and argument types. You might need to add explicit type casts.   Where: PL/pgSQL function api.postdistrikt(text,text,integer,integer) line 75 at RETURN QUERY [statement:"select (api.postdistrikt(:q, :where, 1, :limit)).*", arguments:{positional:{}, named:{q:a,limit:10,where:postnummer > 1000}, finder:[]}]
Request url: /search?q=a&token={{token}}&resources=adresse&resources=postdistrikt&filter=postnummer > ''1000''
Exception:
org.geotools.filter.text.cql2.CQLException: Encountered "1000" at line 1, column 16. Was expecting one of:     <EOF>      <AND> ...     "or" ...     "/" ...     "*" ...     "+" ...     "-" ...      Parsing : postnummer > ''1000''.
Request url: /search?q=a&token={{token}}&resources=adresse&resources=postdistrikt&filter=st_area(geometri) > 184339980
Exception:
org.geotools.filter.text.cql2.CQLException: Function not found. Parsing : st_area(geometri) > ''184339980''.
A sql query that returns data in the database:
SELECT (api.postdistrikt('lyn','postnummer > ''1000''', 1, 100)).*;

Need to investigate. But at the least it seems error handling should probably be reworked to not expose internal details of failures and instead give a more generic error.

And at least for some of your attempts the syntax is invalid. You cannot use raw SQL as if you was in the database directly, you must use ECQL which is an extension/variant of CQL. See https://docs.geoserver.org/stable/en/user/tutorials/cql/cql_tutorial.html and https://docs.geoserver.org/stable/en/user/filter/ecql_reference.html#filter-ecql-reference.

@Nobralyra do you have the application deployed somewhere I can try it out?

Another quick observation is that filtering is not compatible with requesting multiple resources at the same time.
I would actually advice to remove the capability to request multiple resources at the same time, It was implemented for compatibility reasons but I do not think it's a good idea.

Need to investigate. But at the least it seems error handling should probably be reworked to not expose internal details of failures and instead give a more generic error.

The exceptions I wrote here does not come out in the response because I changed the error handling to not expose those details. It just give a
{     "status": "BAD_REQUEST",     "message": "Not allowed input",     "errors": null }
Can you make an example of a URL with a filter that works?

@Nobralyra but we decided to not be backward compatible so why should we be in this case if we agree the feature is not something we want for the future? (it's bad practice because it both complicates the API contract and puts the parallelization in the wrong place - it should be in the client not server)

The user Septima has gained access to the service and the URL is https://api.dataforsyningen.dk/rest/gsearch/v1.0/search.

The ability to use multiple resources at the same time is retained to meet the need for simple implementation of search across registries. At a later stage, we can implement geographical filtering across registers if it is requested by the users. For now we will implement error handling in cases when using filtering searching across multiple ressources.

Make sense @DocDemar.
It looks like filtering does not work as well as intended but since it has passed so long time since I implemented it I'm not sure if it has regressed or it has been this way from the start. What I recall is that I tested it against the known use cases for filtering that the old geosearch supported and I had that working. But it looks like it doesn't work with equals at this time, at least not through your deployment and that is unexpected to me. Unfortunately it's not trivial for me to investigate deeper and provide better answers at this time.

What was your use cases for filtering you had been testing with?
The place in the code that transform the CQL to SQL and encode it to String has not change since your last commit and now:
Your last commit:
https://github.com/SDFIdk/gsearch/blob/25fb79a5479ff856f36ed7e481c80557ac27f4b7/src/main/java/dk/dataforsyningen/gsearch/Controller.java#L57
The latest commit:
https://github.com/SDFIdk/gsearch/blob/main/src/main/java/dk/dataforsyningen/gsearch/rest/Controller.java#L82

The old use case is this from the old docs:

I would expect fx. kommunekode IN ('0561') or kommunekode = '0561'  to work against resources adresse but it does not.
The only thing that appears working now is the like operator.
I'm pretty sure I've tested the first two cases a long time ago but I'm not sure because of the long time that has passed. I need to do a deeper investigation to provide better answers.
I would do the same tests locally but I don't have a working environment anymore. Could it possibly be that characters like = and ( gets mangled by the switchboard?

I can not get the like operator to work, the response is the same whether or not the filter with a like operator is present.
Example:
/search?q=Birk&token={{token}}&resources=sogn&filter=sognenavn LIKE %amager%
Same response as:
/search?q=Birk&token={{token}}&resources=sogn
The service does not come around the switchboard and behaves the same way when running it local.
It is very strange.

Ok, but it should not be strange - it is debuggable and testable since what it is doing is translating into sql.

And, since it's the same software component that does CQL filter for GeoServer it should absolutely be possible to make it work as intended.

What was the request you had that worked as intended with the like operator?

https://api.dataforsyningen.dk/rest/gsearch/v1.0/search?login=XXX&password=XXX&q=a&resources=adresse&filter=kommunekode%20like%20%270217%27

But something is clearly wrong and needs a harder look.

I've spent some time on this. The problem was that the ECQL would generate wrong SQL because it was not aware of the target schema. I've come up with a fix for it in referenced pull request, see more details there. Ping @Nobralyra.


Discrepancies with multiple addresses in a wallet

Current behavior
Using account to display an address's balance hides other balances within the wallet and makes them inaccessible. Here is what I see:
Wallet {
    "path": "neo-privnet.wallet",
    "addresses": [
        {
            "version": 0,
            "script_hash": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "99999900.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "74674.9999"
            },
            "is_watch_only": false
        },
        {
            "version": 0,
            "script_hash": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "100.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "4.995"
            },
            "is_watch_only": false
        },
        {
            "address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps",
            "script_hash": "10d951cc11ce0d3b562acd0c0bbb183707fff64c",
            "tokens": null
        }
    ],
    "height": 9572,
    "percent_synced": 100,
    "synced_balances": [
        "[NEO]: 99999900.0 ",
        "[NEOGas]: 74629.9999 "
    ],
    "public_keys": [
        {
            "Address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "Public Key": "031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a"
        },
        {
            "Address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR",
            "Public Key": "0322bea896b923fb37a80dcb79d22061af85751b7140878987110b988e9a3e353f"
        },
        {
            "Address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps",
            "Public Key": "031b790f7589069981e04e96fb072f5433bd7f5acc82d46a04a0040d4e8ee36834"
        }
    ],
    "tokens": [],
    "claims": {
        "available": "374.0",
        "unavailable": "999.999"
    }
}
neo> account AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps
{
    "version": 0,
    "script_hash": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps",
    "frozen": false,
    "votes": [],
    "balances": {
        "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "50.0",
        "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "5.0"
    }
}

neo> wallet
[I 180912 23:31:54 UserWallet:538] Script hash b'#\xba\'\x03\xc52c\xe8\xd6\xe5"\xdc2 39\xdc\xd8\xee\xe9' <class 'bytes'>
[I 180912 23:31:54 UserWallet:538] Script hash b'\xbf\xdc\x06,\x82\xde`S\x94C\xd2\x13\xa9\xae\xd8\x97q\xd1*\xe8' <class 'bytes'>
[I 180912 23:31:54 UserWallet:538] Script hash b'\x10\xd9Q\xcc\x11\xce\r;V*\xcd\x0c\x0b\xbb\x187\x07\xff\xf6L' <class 'bytes'>
Wallet {
    "path": "neo-privnet.wallet",
    "addresses": [
        {
            "version": 0,
            "script_hash": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "99999950.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "74674.9899"
            },
            "is_watch_only": false
        },
        {
            "address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR",
            "script_hash": "bfdc062c82de60539443d213a9aed89771d12ae8",
            "tokens": null
        },
        {
            "version": 0,
            "script_hash": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "50.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "5.0"
            },
            "is_watch_only": false
        }
    ],
    "height": 9573,
    "percent_synced": 100,
    "synced_balances": [
        "[NEO]: 100000000.0 ",
        "[NEOGas]: 74679.9899 "
    ],
    "public_keys": [
        {
            "Address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "Public Key": "031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a"
        },
        {
            "Address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR",
            "Public Key": "0322bea896b923fb37a80dcb79d22061af85751b7140878987110b988e9a3e353f"
        },
        {
            "Address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps",
            "Public Key": "031b790f7589069981e04e96fb072f5433bd7f5acc82d46a04a0040d4e8ee36834"
        }
    ],
    "tokens": [],
    "claims": {
        "available": "374.000552",
        "unavailable": "1007.999"
    }
}
neo> account AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR
Account AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR not found

Expected behavior
Balances of every address within a wallet should be displayed and using account to display an account state of a certain address should not affect other addresses within the wallet.
How to reproduce

Access the privatenet using np-prompt -p (or testnet if you'd like, I was using privatenet)
Open a wallet and use create_addr to create 2 (or more) addresses within the wallet
Send assets to both addresses
Using wallet, check to see if you can see all balances of every address within the wallet
Use account to display the balance of the address which has a hidden balance
Using wallet, check to see if you can see all balances of every address within the wallet
Try to use account to display the balance of the wallet that is now hidden and the address cannot be found

Your environment
Let us know in what environment you're running into the issue:

OS: Microsoft Windows 10 Pro 10.0.17134 Build 17134
neo-python version: neo-python v0.7.8-dev
Python version: 3.7.0

Upon further investigation, I found that this issue is actually what appears to be a glitch when running neo-privatenet. In the previous example, account did not affect the balance of the address. Instead, somehow the balance completely reset.
I saw a similar issue and asked @belane  about it, and we could resolve it. Below is the example case.
Here are the last three wallet tx shown when using wallet verbose in prompt on privatenet.
First tx
{
            "txid": "0x84e8b5f8a9c0ceaaacb324046d8047a9dc2fa7477ec9188b6196e6984ac2d05b",
            "size": 557,
            "type": "ContractTransaction",
            "version": 0,
            "attributes": [
                {
                    "usage": 32,
                    "data": "23ba2703c53263e8d6e522dc32203339dcd8eee9"
                }
            ],
            "vout": [
                {
                    "n": 0,
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "100",
                    "address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR"
                },
                {
                    "n": 1,
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "50",
                    "address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps"
                },
                {
                    "n": 2,
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "10",
                    "address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR"
                },

        {
                    "n": 3,
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "5",
                    "address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps"
                },
                {
                    "n": 4,
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "99999850",
                    "address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y"
                },
                {
                    "n": 5,
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "26058.995",
                    "address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y"
                }
            ],
            "vin": [
                {
                    "txid": "0x539084697cc220916cb5b16d2805945ec9f267aa004b6688fbf15e116c846aff",
                    "vout": 0
                },
                {
                    "txid": "0xaa2051096e7be45ed991279a1a4c2678eb886690829a2729f4caa82192ff7f34",
                    "vout": 0
                }
            ],
            "sys_fee": "0",
            "net_fee": "0.005",
            "scripts": [
                {

Second tx
{
            "txid": "0xd8c982b92941924fe93ba55b0313dade243ad96b74387b5510e35c419d8719fd",
            "size": 539,
            "type": "ContractTransaction",
            "version": 0,
            "attributes": [
                {
                    "usage": 32,
                    "data": "23ba2703c53263e8d6e522dc32203339dcd8eee9"
                }
            ],
            "vout": [
                {
                    "n": 0,
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "25",
                    "address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR"
                },
                {
                    "n": 1,
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "2.5",
                    "address": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR"
                },
                {
                    "n": 2,
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "25",
                    "address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y"
                },
                {
                    "n": 3,
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "2.5",
                    "address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y"
                }

Third tx
{
            "txid": "0x054bf85f03b05ff087f8b1255a963d4b7942762ba5ae856ad2e6582be3ee315f",
            "size": 487,
            "type": "ContractTransaction",
            "version": 0,
            "attributes": [
                {
                    "usage": 32,
                    "data": "23ba2703c53263e8d6e522dc32203339dcd8eee9"
                }
            ],
            "vout": [
                {
                    "n": 0,
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "50",
                    "address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps"
                },
                {
                    "n": 1,
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "5",
                    "address": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps"
                }
            ]

When using the wallet command, the wrong balance is displayed for AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR
Wallet {
    "path": "neo-privnet.wallet",
    "addresses": [
        {
            "version": 0,
            "script_hash": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "99999850.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "74664.9949"
            },
            "is_watch_only": false
        },
        {
            "version": 0,
            "script_hash": "AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "100.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "10.0"
            },
            "is_watch_only": false
        },
        {
            "version": 0,
            "script_hash": "AHJxoC87MMGJHw353SMzZQLLuhR5QZ5Jps",
            "frozen": false,
            "votes": [],
            "balances": {
                "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b": "50.0",
                "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7": "5.0"
            },
            "is_watch_only": false
        }
    ]

You can see that address AZGLHgV4sBsAQLYioetrJpTeSFNLsGzJdR is completely missing the 2nd tx and its balance should be 125 'neo' and 12.5 'gas'.
wallet rebuild does not solve the problem and there were several blocks between the first, second, and third txs. Also, all txs appear on the blockchain when queried by RPC. (these were all questions asked by @belane )
So, now I am thinking this issue may be related to #578 . Any thoughts @ixje @localhuman ?

is this still present in the latest dev branch?

I will check.

@ixje I just verified on the latest branch on privatenet that this behavior is still exhibited. I did exactly the same steps as previously mentioned here

@ixje Okay, I will try to re-create it again. Only on the refactor-prompt branch now.

While trying to re-create this issue, I have found that I am unable to use the sendmany function as before. I receive no errors, so I am unsure what is happening. Here is what I did. Please note the change in synced balances. If I try to send another transaction, I receive an "Insufficient Funds" error since I have no more available vouts. Here is what I did:
neo> wallet address create 2
Created 2 new addresses: ['AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV', 'AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm']

neo> wallet
[I 190105 13:37:50 UserWallet:480] Script hash b'#\xba\'\x03\xc52c\xe8\xd6\xe5"\xdc2 39\xdc\xd8\xee\xe9' <class 'bytes'>
[I 190105 13:37:50 UserWallet:480] Script hash b'\xd93\xc6@\xa2L\xf3JL\xc9V\xfa\xd4\xd0\xc9\xe1\x95@\x84\xe0' <class 'bytes'>
[I 190105 13:37:50 UserWallet:480] Script hash b'\xa6yRNsR(;\x81:p\x86#Q\x1b\xa0\x13\xc2?D' <class 'bytes'>
Wallet {
    "path": "neo-privnet.wallet",
    "addresses": [
        {
            "version": 0,
            "address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "script_hash": "e9eed8dc39332032dc22e5d6e86332c50327ba23",
            "frozen": false,
            "votes": [],
            "balances": [
                {
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "100000000.0"
                },
                {
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "16024.0"
                }
            ],
            "is_watch_only": false
        },
        {
            "address": "AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV",
            "script_hash": "d933c640a24cf34a4cc956fad4d0c9e1954084e0",
            "tokens": null
        },
        {
            "address": "AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm",
            "script_hash": "a679524e7352283b813a708623511ba013c23f44",
            "tokens": null
        }
    ],
    "height": 2013,
    "percent_synced": 100,
    "synced_balances": [
        "[NEO]: 100000000.0 ",
        "[NEOGas]: 16024.0 "
    ],
    "public_keys": [
        {
            "Address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "Public Key": "031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a"
        },
        {
            "Address": "AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV",
            "Public Key": "02c5f2741862553388dbaf40720cc11aff39b17a8abe5751f6e2e0fae221c5f320"
        },
        {
            "Address": "AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm",
            "Public Key": "03bc11c2769c736ade264845273567a695d82dee040588d70c77bb4c7e46359b8b"
        }
    ],
    "tokens": [],
    "claims": {
        "available": "0.0",
        "unavailable": "48.0"
    }
}

neo> wallet sendmany 4
Outgoing Number 1
Asset to send: neo
Address to: AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV
Amount to send: 500
Outgoing Number 2
Asset to send: gas
Address to: AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV
Amount to send: 100
Outgoing Number 3
Asset to send: neo
Address to: AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm
Amount to send: 250
Outgoing Number 4
Asset to send: gas
Address to: AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm
Amount to send: 50
sending with fee: 0.0
[Password]> ***
[I 190105 13:40:42 Transaction:619] Verifying transaction: b'bc2530f7705fc011ac28e234e548c4d01cd47b58aaac557604bd26fe4b763b2e'
Relayed Tx: bc2530f7705fc011ac28e234e548c4d01cd47b58aaac557604bd26fe4b763b2e

neo> show tx bc2530f7705fc011ac28e234e548c4d01cd47b58aaac557604bd26fe4b763b2e
Could not find transaction for hash bc2530f7705fc011ac28e234e548c4d01cd47b58aaac557604bd26fe4b763b2e

neo> wallet
[I 190105 13:41:33 UserWallet:480] Script hash b'#\xba\'\x03\xc52c\xe8\xd6\xe5"\xdc2 39\xdc\xd8\xee\xe9' <class 'bytes'>
[I 190105 13:41:33 UserWallet:480] Script hash b'\xd93\xc6@\xa2L\xf3JL\xc9V\xfa\xd4\xd0\xc9\xe1\x95@\x84\xe0' <class 'bytes'>
[I 190105 13:41:33 UserWallet:480] Script hash b'\xa6yRNsR(;\x81:p\x86#Q\x1b\xa0\x13\xc2?D' <class 'bytes'>
Wallet {
    "path": "neo-privnet.wallet",
    "addresses": [
        {
            "version": 0,
            "address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "script_hash": "e9eed8dc39332032dc22e5d6e86332c50327ba23",
            "frozen": false,
            "votes": [],
            "balances": [
                {
                    "asset": "0xc56f33fc6ecfcd0c225c4ab356fee59390af8560be0e930faebe74a6daff7c9b",
                    "value": "100000000.0"
                },
                {
                    "asset": "0x602c79718b16e442de58778e148d0b1084e3b2dffd5de6b7b16cee7969282de7",
                    "value": "16024.0"
                }
            ],
            "is_watch_only": false
        },
        {
            "address": "AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV",
            "script_hash": "d933c640a24cf34a4cc956fad4d0c9e1954084e0",
            "tokens": null
        },
        {
            "address": "AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm",
            "script_hash": "a679524e7352283b813a708623511ba013c23f44",
            "tokens": null
        }
    ],
    "height": 2025,
    "percent_synced": 100,
    "synced_balances": [
        "[NEO]: 0.0 ",
        "[NEOGas]: 0.0 "
    ],
    "public_keys": [
        {
            "Address": "AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y",
            "Public Key": "031a6c6fbbdf02ca351745fa86b9ba5a9452d785ac4f7fc2b7548ca2a46c4fcf4a"
        },
        {
            "Address": "AbaLJUY2FRfSkuudHAveSKL2htoGp1ugbV",
            "Public Key": "02c5f2741862553388dbaf40720cc11aff39b17a8abe5751f6e2e0fae221c5f320"
        },
        {
            "Address": "AWx79ueFWEd9Nc5jP99yeLRtQgNDaAPuRm",
            "Public Key": "03bc11c2769c736ade264845273567a695d82dee040588d70c77bb4c7e46359b8b"
        }
    ],
    "tokens": [],
    "claims": {
        "available": "0.0",
        "unavailable": "0.0"
    }
}


Build fails first time on symbol set up

Second build is fine.

Cannot reproduce in latest develop branch. Likely fixed by recent symbol fixes.


Create anonvpn.conf

added anonvpn udp end points as well as the remote-random setting for random server choice. This doesn't use the bash script included in the base package but instead is meant to be run when openvpn starts.
include file and custom login.conf file in /etc/openvpn/

Thanks for opening this, but I'm not looking to support anonvpn with this package. Totally fine with me if you fork this repo though for anon vpn support.
Also sorry I didn't see this sooner, totally missed the notification last year :-(


Consider providing more information when prompting about a new environment.

Type: Feature Request
VSCode Python extension presents this prompt:

We noticed a new environment has been created. Do you want to select it for the workspace folder?

I don't know what to do here. Please consider providing answers to some of these questions at the prompt:

Which environment?
Which folder?
What is the currently selected environment?
How do I revert this change if I make it?

Thanks!
Extension version: 2023.18.0
VS Code version: Code 1.83.1 (f1b07bd25dfad64b0167beb15359ae573aecd2cc, 2023-10-10T23:48:05.904Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.14.21-150400.24.28-default

@andrewspiers-csiro, thank you for reaching out, we'd like to point out that notification is intentionally kept cleaner as most of these questions are clarified if you check out the VS Code documentation: VS Code Python documentation.
Regarding your specific questions:

Which environment?

The notification is triggered when a new environment is created, and we assume that it's clear which environment you're prompted about because it's the one you just created.

Which folder?

In most cases, there's only one workspace folder, which is why we avoid mentioning it in the notification. You can learn more about workspace folders in the VS Code documentation.

What is the currently selected environment?
How do I revert this change if I make it?

These details are covered in the documentation as well, when describing Python: Select Interpreter command.
Overall these aspects are fundamental and readily accessible in our documentation, hence we'd like to avoid reiterating them in the notification again.


Udeler download half of videos

Hey, I'm using Udeler 1.8.2 on windows 10 and recently Udeler says the download is completed, But it's not actually, It creates a folder for them and also there are videos title but their sizes is 1kb.
Here i'm showing you with pictures:

Says it's completed

And this is what i get

I had that too... no idea why - I'm presuming my ISP packed in but the program kept going (thankfully the mark as done isn't implemented yet)

same!


Allow '@' in dependency string

That looks good to me. @llucax FYI!

This doesn't seem to have worked as desired:
nox > Session pytest_min raised exception RuntimeError('Minimum requirement is not set: frequenz-sdk@git+https://github.com/frequenz-floss/frequenz-sdk-python.git')
Traceback (most recent call last):
  File "/home/marenz/frequenz/fcr/.direnv/python-3.11.3/lib64/python3.11/site-packages/nox/sessions.py", line 761, in execute
    self.func(session)
  File "/home/marenz/frequenz/fcr/.direnv/python-3.11.3/lib64/python3.11/site-packages/nox/_decorators.py", line 75, in __call__
    return self.func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marenz/frequenz/fcr/.direnv/python-3.11.3/lib64/python3.11/site-packages/frequenz/repo/config/nox/session.py", line 140, in pytest_min
    session.install("-e", ".[dev-pytest]", *_util.min_dependencies())
                                            ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/marenz/frequenz/fcr/.direnv/python-3.11.3/lib64/python3.11/site-packages/frequenz/repo/config/nox/util.py", line 204, in min_dependencies
    raise RuntimeError(f"Minimum requirement is not set: {dep}")
RuntimeError: Minimum requirement is not set: frequenz-sdk@git+https://github.com/frequenz-floss/frequenz-sdk-python.git

Nevermind, I believe there was some version confusion on my end


Remove unused private attributes from TensorBoard callback

self._samples_seen, self._samples_seen_at_last_write and self._current_batch were used in version 1 of the TensorBoard callback, but are not necessary anymore.
This PR removes them.

@lgeiger Can you please resolve conflicts? Thanks!

bf2cda0f8d77cb20df252a48699483366a0e70b7 included these changes so this PR is not relevant anymore.


[TVFocusGuideView] Destinations prop is not working when Talkback is turned on

Description
When accessibility is turned on AndroidTV (Talkback) the focus is ignoring destinations prop of TVFocusGuideView.
Screenrecording:
https://github.com/react-native-tvos/react-native-tvos/assets/35492381/c241baa4-2d98-4f66-b02c-03cb28b489ed
React Native Version
0.72.5-0
Output of npx react-native info
System:
OS: macOS 13.5
CPU: (10) arm64 Apple M1 Pro
Memory: 2.52 GB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.6.0
path: ~/.nvm/versions/node/v18.6.0/bin/node
Yarn:
version: 1.22.19
path: ~/.nvm/versions/node/v18.6.0/bin/yarn
npm:
version: 8.13.2
path: ~/.nvm/versions/node/v18.6.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: ~/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK:
Android NDK: 21.3.6528147
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10406996
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.17
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: ~/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native: Not Found
react-native-macos: Not Found
react-native-tvos:
installed: 0.72.5-0
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Steps to reproduce
Add destinations prop on TVFocusGuideView to a specific element
Turn on Talkback
Notice that accessibility focus is ignoring destinations prop
Snack, code example, screenshot, or link to a repository
import React from 'react';
import {
  Pressable,
  StyleSheet,
  Text,
  TVFocusGuideView,
  View,
} from 'react-native';

const getPressableStyles = ({focused}) => ({
  backgroundColor: focused ? 'red' : 'transparent',
});

function App() {
  const [firstRef, setFirstRef] = React.useState();
  const destinations = [firstRef];

  return (
    <View style={styles.column}>
      <TVFocusGuideView destinations={destinations}>
        <Pressable ref={setFirstRef} style={getPressableStyles}>
          <Text>Test</Text>
        </Pressable>
        <Pressable style={getPressableStyles}>
          <Text>Test</Text>
        </Pressable>
        <Pressable style={getPressableStyles}>
          <Text>Test</Text>
        </Pressable>
      </TVFocusGuideView>

      <Pressable style={getPressableStyles}>
        <Text>Test</Text>
      </Pressable>
    </View>
  );
}

const styles = StyleSheet.create({
  column: {
    marginTop: 100,
    flexDirection: 'row',
    justifyContent: 'center',
    alignItems: 'center',
  },
});

export default App;

@lstoyanoff Thanks for reporting! Yes, focus feature are not well tested with accessibility features on and it's been bugging me. Will take a look whenever I can!

@yusufyildirim I'm going to treat all these accessibility issues as a feature request, since this has not been specfically implemented or tested on either TV platform. Will track this in https://github.com/react-native-tvos/react-native-tvos/discussions/611 .


Fixing x-default in /guides

Long thread, let me see if I can summarize it:

AHREFs identifies that the rel=alternate tags are not placed correctly
In the Hugo foruns, this guy solved the issue
However, when I implemented it with a partial in partials/head.html the old rel=alternate are still showing up (probably triggered by a partial that I cannot access):

@awennersteen can you help me on this?
Here is a good website to test the schema: https://technicalseo.com/tools/hreflang/
This is the official guide from Hugo for localization: https://gohugo.io/content-management/multilingual/

I think you had it correct, I made some changes whilst understanding but I think it was correct already:

However I noted that if you check tramitit.com without pointing to a post it doesn't pass.
I'll check if we can add something there

I think you had it correct, I made some changes whilst understanding but I think it was correct already:
However I noted that if you check tramitit.com without pointing to a post it doesn't pass. I'll check if we can add something there
Edit: It appears that https://tramitit.com doesnt pass but https://tramitit.com/en does, I don't know if that is correct or not?
It also complains about duplicate references and such, I don't fully understand what these tags are for how they should be set so let me have a look

@awennersteen the problem is the duplicate references indeed. I have an ongoing thread with Hugo's support, I also need to test these tags to see what matches what AHREF wants. But for the time being, I need to be able to remove the default ones.
See if my ticket to Hugo's support is clear, we can also have a call.

gotcha, now I understand the problem.
Is the last reply by the guy the answer, looks like it to me, I'll try

gotcha, now I understand the problem. Is the last reply by the guy the answer, looks like it to me, I'll try

Doesn't look like it, it still generates several rel=alternate:

Yeah, so that fixed the case for english.

I still don't understand what's wrong with the alternate ones tbh

https://github.com/gethugothemes/hugo-modules/blob/3af75203b2efa73a0d98a29d4ca7beb1f7ec563d/seo-tools/basic-seo/layouts/partials/basic-seo.html#L31C1-L38C10
The same piece of code is in a base hugo module we use

Issues fixed using the ongoing thread information. Thanks @awennersteen !


Support for GaLore for Memory-Efficient LLM Training

Recently GaLore has been released which can be used for memory efficient fine-tuning of llms. According to the paper,

Gradient Low-Rank Projection (GaLore) is a memory-efficient low-rank training strategy that allows full-parameter learning but is more memory-efficient than common low-rank adaptation methods, such as LoRA. As a gradient projection method, GaLore is independent of the choice of optimizers and can be easily plugged into existing ones with only two lines of code, as shown in Algorithm 1 below.

I think it would be nice to have this feature in Keras 3.
Reference

Code: https://github.com/jiaweizzhao/GaLore
Paper: https://arxiv.org/abs/2403.03507

Hi @awsaf49, since GaLore is relatively new, we will likely wait on integrating this into the core API, but you are welcome to prototype this as a subclass of EinsumDense or Dense layer and keep us updated! Thanks.


PDF extraction-to-model linking in knowledge-middleware

@brandomr please add a description and estimate the amount of work

The /link_amr endpoint is not complete and should follow the MORAE logic outlined here: https://github.com/ml4ai/ASKEM-TA1-DockerVM/blob/main/morae-demo/MORAE_demo.ipynb
probably a day or 2 to knock out

@enoriega @Free-Quarks i’m trying https://api.askem.lum.ai/docs#/metal/link_amr_metal_link_amr_post but getting a 500 error. Is that endpoint working yet? Is there an example AMR/extraction file I should use?
I’m currently trying with the basic examples here:

AMR
Extractions

@brandomr This is a simple bug. I will open a ticket and fix it. Thanks for finding out!

@brandomr There is a fix for this in https://github.com/ml4ai/skema/pull/443
It will trickle down into the docker image once CI finishes


Tracker game detection is a game behind

Tracker starts the recording of the first game at the end of the first game meaning that all recordings end up being a game behind

There is a situation I'm aware of that can cause the state to get out of sync and that's when a match is ended prematurely. Examples of this are from leaving a custom with multiple players or having someone dodge during agent select of a game.
Did either of these happen when you experienced the issue?

It might have. Although restarting the program doesn't seem to fix it. Is there another workaround?


Fix far2l version

Describe the bug
Repology reports:

far2l: WARNING: "far2l-2.1.unstable-2018-07-19.gitdceaa39": suspicious version "2.1.unstable-2018-07-19.gitdceaa39", worth rechecking

Expected behavior
Please follow the naming convention:

If a package is not a release but a commit from a repository, then the version part of the name must be the date of that (fetched) commit. The date must be in "YYYY-MM-DD" format. Also append "unstable" to the name - e.g., "pkgname-unstable-2014-09-23".

https://nixos.org/nixpkgs/manual/#sec-package-naming
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: far2l
# a list of nixos modules affected by the problem
module:

cc @volth

There is a lot of talking about that "unstable" and repology and still no consensus.
It is not a problem of a single package.
@ryantm

@volth can you give me a link to the discussion?

https://github.com/NixOS/nixpkgs/issues/68531 https://github.com/NixOS/nixpkgs/issues/68518 https://github.com/NixOS/nixpkgs/issues/61691


TypeError: Cannot read properties of undefined (reading 'length')

What
It seems that variables in repoData are sometimes undefined
https://github.com/CircleCI-Public/CircleCI-Env-Inspector/blob/f234e25b5b68d453379ccf14bab34d82ce25aac5/index.js#L136-L149
Log
file:///project/index.js:140
USER_DATA.projects = repoData.filter((repo) => repo.variables.length > 0);
                                                              ^

TypeError: Cannot read properties of undefined (reading 'length')
    at file:///project/index.js:150:63
    at Array.filter (<anonymous>)
    at file:///project/index.js:150:31
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v19.3.0

I patched it and got around it.
diff --git a/index.js b/index.js
index 7bc2df2..5b3ce33 100644
--- a/index.js
+++ b/index.js
@@ -146,6 +146,6 @@ const repoData = await Promise.all(
     };
   })
 );
-USER_DATA.projects = repoData.filter((repo) => repo.variables.length > 0);
+USER_DATA.projects = repoData.filter((repo) => (repo.variables || []).length > 0);

 console.dir(USER_DATA, { depth: null });


Call to API in Async function does nothing

If I take a working call / use of the API and wrap it in an async function and call the function with await, then the API call won't do anything. In order to make sure that I get results in certain orders, I'm trying to organize everything with async wait functions. No error codes are thrown or anything, it's just acting like it's physically not calling the API.
Works
client.get('followers/ids', twitter_params, function(err, data) {
    // code
}

Does not work
await getTwitterFollowers();

async function getTwitterFollowers() {
    client.get('followers/ids', twitter_params, function(err, data) {
        // code
    }
}

@engineertdog see https://github.com/Preposterous/twitter-lite


feat: Kinesis Data Streams support

Makes following changes to resolve #5

Add streams package for the Kinesis Data Streams output plugin
Updated plugins/firehose/main.go to also include the brand-new Streams plugin
Rename plugins/firehose to plugins/kinesis, and firehose.so to kinesis.so according to the scope of the plugin
Update README accordingly

Codecov Report

Merging #7 into master will increase coverage by 0.56%.
The diff coverage is 21.73%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
+ Coverage   21.17%   21.73%   +0.56%
==========================================
  Files           3        3
  Lines          85       92       +7
==========================================
+ Hits           18       20       +2
- Misses         64       67       +3
- Partials        3        5       +2

Impacted Files
Coverage Δ

streams/streams.go
0% <0%> (ø)

streams/config.go
100% <100%> (ø)

streams/client.go
16.9% <16.9%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1653a6a...457c557. Read the comment docs.

thanks, @mumoshu


adding LSP_Lines

instead of having virtual text behind the line, see https://git.sr.ht/~whynothugo/lsp_lines.nvim
dunno if you are interested. if not, just close it :D

Damn that looks sexy. 😮

Ah i didn't add the key mapping to toggle it. Maybe that makes sense

Should figure out what makes most sense.
IMHO, a Key mapping like <leader>D l makes sense. What do you think @luxus? D for Display, and then l for lsp_lines

@Uzaaft do u mean <leader>d l ? there is no <leader>D
I will add d l if @abzcoding is cool with it

@Uzaaft do u mean <leader>d l ? there is no <leader>D
I will add d l if @abzcoding is cool with it

sure why not

Does it make sense to have it under the debug section? Perhaps <leader>v l?


How to provide "Kundendaten" (customer reference) to a SEPA transfer?

When issuing a SEPA transfer via online banking, one can provide both a description as well as a customer/payment reference ("Kundendaten") value. The latter would be where one can insert the invoice number for example, which this transfer would be the payment for.
How can I provide this reference number with python-sempaxml via add_payment()?

Unfortunately I don't know which field your bank labels "Kundendaten". Maybe the End-to-End-ID?

🤷♂
You can have a look eg here:
https://www.hettwer-beratung.de/sepa-spezialwissen/sepa-glossar/
"Remittance Information" is the classic "Verwendungszweck". "End to end ID" might be what you are looking for, but I don't know for sure. My online banking does not have either
What bank are you using?

@raphaelm Thanks, it turned out you're right - it was the End-to-End ID :+1:


Search not working in docker

I got the docker container to start on my headless VPS, but the search doesn't work
this is the error log I get
Traceback (most recent call last):
  File "/app/main.py", line 1169, in update_searches
    PC = driver.find_element(By.XPATH, value='//*[@id="userPointsBreakdown"]/div                                                                                /div[2]/div/div[1]/div/div[2]/mee-rewards-user-points-details/div/div/div/div/p[                                                                                2]').text.replace(" ", "").split("/")
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdri                                                                                ver.py", line 830, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["va                                                                                lue"]
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdri                                                                                ver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorh                                                                                andler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Una                                                                                ble to locate element: {"method":"xpath","selector":"//*[@id="userPointsBreakdow                                                                                n"]/div/div[2]/div/div[1]/div/div[2]/mee-rewards-user-points-details/div/div/div                                                                                /div/p[2]"}
  (Session info: chrome=109.0.5414.119)
Stacktrace:
#0 0x556a21895303 <unknown>
#1 0x556a21669d37 <unknown>
#2 0x556a216a65b2 <unknown>
#3 0x556a216a66c1 <unknown>
#4 0x556a216e0b34 <unknown>
#5 0x556a216c69ad <unknown>
#6 0x556a216de88c <unknown>
#7 0x556a216c6753 <unknown>
#8 0x556a21699a14 <unknown>
#9 0x556a2169ab7e <unknown>
#10 0x556a218e432e <unknown>
#11 0x556a218e7c0e <unknown>
#12 0x556a218ca610 <unknown>
#13 0x556a218e8c23 <unknown>
#14 0x556a218bc545 <unknown>
#15 0x556a219096a8 <unknown>
#16 0x556a21909836 <unknown>
#17 0x556a21924d13 <unknown>
#18 0x7f6bd20f6b43 <unknown>

Message: no such element: Unable to locate element: {"method":"xpath","selector"                                                                                :"//*[@id="daily-sets"]/mee-card-group[1]/div/mee-card[1]/div/card-content/mee-r                                                                                ewards-daily-set-item-content/div/a/mee-rewards-points/div/div/span[1]"}
  (Session info: chrome=109.0.5414.119)
Stacktrace:
#0 0x556a21895303 <unknown>
#1 0x556a21669d37 <unknown>
#2 0x556a216a65b2 <unknown>
#3 0x556a216a66c1 <unknown>
#4 0x556a216e0b34 <unknown>
#5 0x556a216c69ad <unknown>
#6 0x556a216de88c <unknown>
#7 0x556a216c6753 <unknown>
#8 0x556a21699a14 <unknown>
#9 0x556a2169ab7e <unknown>
#10 0x556a218e432e <unknown>
#11 0x556a218e7c0e <unknown>
#12 0x556a218ca610 <unknown>
#13 0x556a218e8c23 <unknown>
#14 0x556a218bc545 <unknown>
#15 0x556a219096a8 <unknown>
#16 0x556a21909836 <unknown>
#17 0x556a21924d13 <unknown>
#18 0x7f6bd20f6b43 <unknown>

Message: no such element: Unable to locate element: {"method":"xpath","selector"                                                                                :"//*[@id="daily-sets"]/mee-card-group[1]/div/mee-card[3]/div/card-content/mee-r                                                                                ewards-daily-set-item-content/div/a/mee-rewards-points/div/div/span[1]"}
  (Session info: chrome=109.0.5414.119)
Stacktrace:
#0 0x556a21895303 <unknown>
#1 0x556a21669d37 <unknown>
#2 0x556a216a65b2 <unknown>
#3 0x556a216a66c1 <unknown>
#4 0x556a216e0b34 <unknown>
#5 0x556a216c69ad <unknown>
#6 0x556a216de88c <unknown>
#7 0x556a216c6753 <unknown>
#8 0x556a21699a14 <unknown>
#9 0x556a2169ab7e <unknown>
#10 0x556a218e432e <unknown>
#11 0x556a218e7c0e <unknown>
#12 0x556a218ca610 <unknown>
#13 0x556a218e8c23 <unknown>
#14 0x556a218bc545 <unknown>
#15 0x556a219096a8 <unknown>
#16 0x556a21909836 <unknown>
#17 0x556a21924d13 <unknown>
#18 0x7f6bd20f6b43 <unknown>

Message: no such element: Unable to locate element: {"method":"xpath","selector"                                                                                :"//*[@id="daily-sets"]/mee-card-group[1]/div/mee-card[2]/div/card-content/mee-r                                                                                ewards-daily-set-item-content/div/a/mee-rewards-points/div/div/span[1]"}
  (Session info: chrome=109.0.5414.119)
Stacktrace:
#0 0x556a21895303 <unknown>
#1 0x556a21669d37 <unknown>
#2 0x556a216a65b2 <unknown>
#3 0x556a216a66c1 <unknown>
#4 0x556a216e0b34 <unknown>
#5 0x556a216c69ad <unknown>
#6 0x556a216de88c <unknown>
#7 0x556a216c6753 <unknown>
#8 0x556a21699a14 <unknown>
#9 0x556a2169ab7e <unknown>
#10 0x556a218e432e <unknown>
#11 0x556a218e7c0e <unknown>
#12 0x556a218ca610 <unknown>
#13 0x556a218e8c23 <unknown>
#14 0x556a218bc545 <unknown>
#15 0x556a219096a8 <unknown>
#16 0x556a21909836 <unknown>
#17 0x556a21924d13 <unknown>
#18 0x7f6bd20f6b43 <unknown>

Traceback (most recent call last):
  File "/app/main.py", line 1066, in pc_search_helper
    pc_search(driver, EMAIL, PASSWORD, PC_SEARCHES)
  File "/app/main.py", line 1006, in pc_search
    driver.get(os.environ['URL'])
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
    self.execute(Command.GET, {"url": url})
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument
  (Session info: chrome=109.0.5414.119)
Stacktrace:
#0 0x556a21895303 <unknown>
#1 0x556a21669bbd <unknown>
#2 0x556a21654b89 <unknown>
#3 0x556a21652e5e <unknown>
#4 0x556a216532a4 <unknown>
#5 0x556a2166bc48 <unknown>
#6 0x556a216def15 <unknown>
#7 0x556a216c6982 <unknown>
#8 0x556a216de88c <unknown>
#9 0x556a216c6753 <unknown>
#10 0x556a21699a14 <unknown>
#11 0x556a2169ab7e <unknown>
#12 0x556a218e432e <unknown>
#13 0x556a218e7c0e <unknown>
#14 0x556a218ca610 <unknown>
#15 0x556a218e8c23 <unknown>
#16 0x556a218bc545 <unknown>
#17 0x556a219096a8 <unknown>
#18 0x556a21909836 <unknown>
#19 0x556a21924d13 <unknown>
#20 0x7f6bd20f6b43 <unknown>

Attempting to restart PC search in 500 seconds

Have you tried on any other headless machines, like VM for example?

Let it restart the code after 500 secs. It usually works after that.

same bug, searches not working in Docker headless


Add recent pandoc versions to testing in ci

New feature/Bug fix description
Add recent pandoc versions to testing in ci
Related issues
Close #84
Checklist

[ ] Tests have passed
[x] New code is covered with tests

Codecov Report

Merging #87 (927837a) into main (e6f0330) will decrease coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   97.22%   96.85%   -0.38%
==========================================
  Files           6        6
  Lines         540      540
==========================================
- Hits          525      523       -2
- Misses         15       17       +2

Impacted Files
Coverage Δ

jupyter_docx_bundler/converters.py
90.19% <0.00%> (-1.31%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us.


Change POST to PUT /user/game_states

Pull Request Test Coverage Report for Build 3143

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.921%

Totals

Change from base Build 3142:
0.0%

Covered Lines:
1448

Relevant Lines:
1494

💛  - Coveralls


Copy-paste of an STG implicit place within a page results in error message

create two STG transitions
create a connection between them
copy and paste it

error message occurs because the implicit place did not have a name

sgaflv at 2014-05-19T18:54:12Z:
To fix it:

not all nodes must have names
if there was no name of a place, do not try to assign it when the namespace is changed


Refactor person fields

This is a PR purely for minor changes that I had been planning on doing for a while.

Made NULL values of optional Person fields accessible through static methods only
Change of two word commands to include hyphens

batchadd to batch-add
addleave to add-leave
deleteleave to delete-leave
viewdepartment to view-department

Cleanup of coding standards and code quality
Fix mouse event bug leading to index out of bounds exception in log (terminal)
Fix exception thrown sometimes when data file is tampered/corrupted

As mentioned, these are a bunch of random changes altogether, many of these not really discussed with you all yet (whoops sorry). Please take a look through and give feedback and suggestions.

LGTM

Will fix #180 .


Revert "HybridWebView update"

Reverts dotnet/maui-samples#540

I don't see why this needs to be reverted. Thanks!


[Bug] Site does not work

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions

Reproduction link
https://univer.ai/guides/sheet/getting-started/quickstart
Expected behavior
Link is open without 404 error
Actual behavior
I click to link and get 404 error
System information
No response

Duplicate of #2400


Running example on Windows fails with attempt to pass additional trust anchors.

PS C:\src\grpc_cronet\example> C:\src\f\flutter\bin\flutter.bat run -v
...
[   +6 ms] flutter: bicronet_grpc: CronetGrpcClientConnection dispatchCall Instance of 'ClientCall<HelloRequest, HelloReply>'
[   +2 ms] [0713/143615.992:FATAL:multi_threaded_cert_verifier.cc(257)] Attempted to set a CertVerifier::Config with additional trust
anchors, but |verify_proc_| does not support additional trust anchors.
[        ] Backtrace:
[        ]      bidirectional_stream_cancel [0x00007FFA518C6282+1380610]
[        ]      bidirectional_stream_cancel [0x00007FFA51798C32+146098]
[        ]      bidirectional_stream_cancel [0x00007FFA517A73D5+205397]
[        ]      bidirectional_stream_cancel [0x00007FFA5193FA8B+1878283]
[        ]      bidirectional_stream_cancel [0x00007FFA51942446+1888966]
[        ]      bidirectional_stream_cancel [0x00007FFA5194316A+1892330]
[        ]      bidirectional_stream_engine_destroy [0x00007FFA51699284+2372]
[        ]      Cronet_RequestFinishedInfo_finished_reason_get [0x00007FFA5177184E+786446]
[        ]      Cronet_RequestFinishedInfo_finished_reason_get [0x00007FFA51773F7C+796476]
[        ]      bidirectional_stream_cancel [0x00007FFA518D2710+1430928]
[        ]      GetHandleVerifier [0x00007FFA51A43819+147417]
[        ]      GetHandleVerifier [0x00007FFA51A42B52+144146]
[        ]      GetHandleVerifier [0x00007FFA51A3F4AB+130155]
[        ]      GetHandleVerifier [0x00007FFA51A3CA95+119381]
[        ]      GetHandleVerifier [0x00007FFA51A44DEB+153003]
[        ]      bidirectional_stream_cancel [0x00007FFA518F0927+1554343]
[        ]      bidirectional_stream_cancel [0x00007FFA517CF5A0+369696]
[        ]      bidirectional_stream_cancel [0x00007FFA517CF8F0+370544]
[        ]      bidirectional_stream_cancel [0x00007FFA517E2119+446361]
[        ]      BaseThreadInitThunk [0x00007FFAB3DE7034+20]
[        ]      RtlUserThreadStart [0x00007FFAB3F22651+33]

additional trusted anchors are only supported on linux it seems, different mechanism to run test needs to be used on windows.


Update code to use isEmpty

Is not isEmpty better here?
Originally posted by @dvp-petrov in https://github.com/scalefocus/SFLoggingKit/pull/4#discussion_r562586416

Done


increase default fetch limits.

Surely this is wrong, and yet I'm not sure what the right approach would
be. This is a select list so we certainly don't want paging here; we want all the values.
Refs UIORG-61, UIORG-65.

Very nasty race-condition in GitHub's UI. Here. I wrote a long, interesting comment on why this is the right solution, and submitted it as an "Approve" review. But GitHub rejected it: "you can only approve unmerged PRs" -- and discarded my comment instead of downgrading it from an "Approve" review to a regular comment. That's just broken.

Anyway: this fix is good.

But if I want all the rows, there needs to be a parameter I can pass that indicates "all the rows", not
"up to 100 rows, which hopefully is all of them, but might not be".

Also, that is a nasty bug. Did you file a report at https://github.com/contact?

I did not. It's too late, my comment is gone.
But if it was here, you would see immediately that your fix is correct.

Aaaactually it's best not to put query parameters onto the path like that as that part of the path is managed by params property which'll do the urlencoding and &ing for you. No big deal here because you're not using params (or records which would be even more apropos) but it's best practice to use those as someone might come along later and add such a property which may get weird.


😥 [DO NOT MERGE] Correct default features key.

As a Rust newbie, this had me scratching my head for a good long while.

This change brings to light another problem: rust-lang/rust#44113 (global_allocator cannot be used in submodules). To fix this in my project I just dumped the cfg_if macro in lib.rs, but I'm not sure what you want for the template.
p.s. I ran into this while working through the Game of Life tutorial.

Thanks for sending a PR! I was just alerted to this the other day, and hadn't made a fix yet. I'll do a PR for everything in a second :)

No problem. Sorry I didn't implement the complete fix.

Closing in favor or #25 -- thanks again!


Keybase.service is not running error

@crcastle reported this issue here:
https://github.com/keybase/client/issues/2234#issuecomment-192750756
(moving into separate issue here since it seems unrelated to the borked version problem)

It seems like there maybe multiple keybase services running or conflicting.. maybe from a much older install..
Can you post output of:
launchctl list | grep keybase

To fix you could try pkill keybase to kill any (and all) running keybase services... and then restart the Keybase.app
If that doesn't work, it might be something weird with the pid lock file, you could try removing that with: rm /Users/crcastle/Library/Caches/Keybase/keybased.pid
Another option is there might be multiple launch agents installed, could you post output of:
ls -al ~/Library/LaunchAgents | grep keybase

Here is the output of those commands prior to killing any processes or removing lock file:
❯ launchctl list | grep keybase
-		0	keybase.service
60855	0	keybase.Electron.235232
59482	0	keybase.kbfs

❯ ls -al ~/Library/LaunchAgents | grep keybase
-rw-r--r--   1 crcastle  staff  1078 Mar  5 13:59 keybase.kbfs.plist
-rw-r--r--   1 crcastle  staff  1088 Mar  5 14:05 keybase.service.plist

Then when I try to pkill keybase processes I get an error:
❯ pkill keybase
pkill: signalling pid 953: Operation not permitted

So I was curious what keybase processes were running:
❯ ps aux | grep keybase
crcastle        59482   0.0  1.2 573430016  98668   ??  S     1:59PM   0:03.68 /Applications/Keybase.app/Contents/SharedSupport/bin/kbfs -debug /keybase
root              953   0.0  0.0  2482092    980   ??  Ss   Tue04PM   0:00.17 /Library/PrivilegedHelperTools/keybase.Helper
crcastle        68898   0.0  0.0  2445436    980 s000  S+    3:03PM   0:00.01 grep --color=auto keybase
crcastle        68880   0.0  0.2 573460096  20664   ??  S     3:02PM   0:00.13 /Applications/Keybase.app/Contents/SharedSupport/bin/keybase -d service

Should there be a root-owned process running?  Not sure so I didn't touch it.
Instead I killed the kbfs process and then started Keybase.app.  This time it loaded without showing the error dialog about keybase.service not running.  So the issue is resolved for me, but the root cause is not clear.  Sent logs again if you want to investigate further.  dc9e489a8cf7be6f98238f1c
Hope that helps!  Thanks for your help!

Thanks for posting info, and helping debug... I'll need to dig in a little more to the logs but I think a zombie keybase service was running preventing the launchd from starting up...
You can ignore the "Operation not permitted" on pkill and yes keybase.Helper running as root is us. (It's called a privileged helper tool and it's one of ways we integrate with the OS.)
Do you think you have ever run keybase ctl start or background forked keybase service?
Currently I think there are ways to bork an install like this (since keybase is very configurable), perhaps we might need to add protections for this.
Thanks again!

@gabriel, yes I did run keybase ctl start when I was previously experiencing the problems in #2234 (prior to this issue).  So maybe that started a duplicate process?

@gabriel if you start a second keybase service, it should die right away on attempting to acquire the pidfile lock.


ERR_SPDY_PROTOCOL_ERROR when using custom error handler

A few weeks ago I refactored my application to use a custom error handler instead of handling errors in the routes.
I added this below all my routers.
app.use(function(err,req,res,next) {
    console.log(err)
    if (res.headersSent === false) {
        res.sendStatus(400)
    }
   next(err)
})

It allows me to use next(err) in my routes and if a response hasn't been sent yet, return a 400 status code.
app.post("/do-something", function(req,res,next) {

    doSomething.test().then(() => {
        return res.sendStatus(200)
    }).catch((err) => {
        return next(err)
    })

 })

This all worked great when I initially tested it and is currently working in production.  However I am getting some odd behavior in development now.
Anytime that custom error handler is used I get a net::ERR_SPDY_PROTOCOL_ERROR 400  in the chrome console with an empty response (empty response breaks my app).
However, sending a 400 status code within the route itself works fine.
app.post("/do-something", function(req,res,next) {

    doSomething.test().then(() => {
        return res.sendStatus(200)
    }).catch((err) => {
        return res.sendStatus(400)
    })

 })

Removing the next(err) from the custom error handler also fixes the problem.
app.use(function(err,req,res,next) {
    console.log(err)
    if (res.headersSent === false) {
        res.sendStatus(400)
    }
})

I can't find much info on what could be causing this.... I have tried on 2 different machines.  Please let me know if more details are needed. I am happy to add the response from chrome, etc.
Thanks!

Most likely the issue is that you are calling next() even though you sent a response. Just like in normal middleware, only call next() if you didn't respond. Your top example should probably be written as such:
app.use(function(err,req,res,next) {
    console.log(err)
    if (res.headersSent === false) {
        res.sendStatus(400)
    } else {
        next(err)
    }
})


Blurry editor icons

Godot version: 4.0.rc2
Describe the bug
Editor icons seem to be blurry (I use 4K monitor with 200% editor scale). This might be related to the fact that the icons do not have editor scaling enabled in the import settings.

https://docs.godotengine.org/en/latest/development/editor/creating_icons.html#icon-optimization
Currently, even with that flag enabled icons are still blurry:
, see https://github.com/godotengine/godot/issues/73491 for details.

Still happening in Godot 4.0.2


SSH.PublicKey in user_vm_details overrides public key set by resetSSHKeyForVirtualMachine API.

ISSUE TYPE

Bug Report

COMPONENT NAME

API

CLOUDSTACK VERSION

master

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

When I call resetSSHKeyForVirtualMachine API, CloudStack updates vm metadata containing ssh public key. After, when I start the virtualmachine, it's overridden by the value of SSH.PublicKey in user_vm_details at<EMAIL_ADDRESS>

It seems to occur when the password management of the template is enabled and the public key is not RSA.


multiply symbols errors from: Win32Exception(const char* message)

Getting multiply symbol definition errors that appear to be a result of multiple includes from file:
vcpkg\installed\x64-windows\include\bond\ext\grpc\win_thread_pool.h
`    namespace detail
{
BOND_NORETURN void Win32Exception(const char* message)
{
throw std::system_error{
std::error_code{ static_cast(::GetLastError()), std::system_category() },
message };
}
} // namespace detail

`
I was able to correct by adding inline specifier to the header file code definition i.e.:
inline BOND_NORETURN void Win32Exception(const char* message)
I'm i missing something fundamental here?
building bond gRPC enabled C++ native app using Visual Studio 2019 Enterprise v16.11.4 using C++17 language standard

Nope, you're not missing anything. That function is indeed missing inline. Care to submit a PR with the fix?

@coinoperated0428 - I just sent a PR to fix this issue.
I think there needs to be a PR to update vcpkg port to pick up the latest changes after this is merged. https://github.com/microsoft/vcpkg/tree/master/ports/bond

Thanks for the PR! Looks good to me, with two minor things.


Can't use JPA.save() to create new objects with number as identifier

Item item = new Item();
JPA.save(item);

@Entity
@Table(name = "items")
public class Item {

    @Id
    private long id;

    // more code
}

Since an id with type byte,short,int,long is always 0 if it's only decalred, jpa always tries to update.
Because:
public <E> E save(E entity) {
	Object id = getIdentifier(entity);
	if (id == null) {
		return insert(entity);
	} else {
		return update(entity);
	}
}

I know there is the JPA.insert() method, but is it possible to get the JPA.save() method for new objects with numbers as identifier working too?

GeneratedValue caused the problem, indeed. I tested locally, didn't find other problems.


getCroppedImage Error

When I try to getCropInfo to get cropped results, it throws exception #ClassCastException FastBitmapDrawable to BitmapDrawable

@Naviloah
Hello.
Thank you for using this library.
I have a question.
If you load image as setImageResource or else, you should use setImageFilePath method.
You can refer #52 and sample code.
Thank you

I'm loading image with "glide" and it's loading perfectly but when I try to
getCropInfo or getCroppedImage Im getting ClassCastException...so I'm
asking how to get crop result
On Sun, 30 Aug 2020, 5:06 pm helloyako<EMAIL_ADDRESS>wrote:

@Naviloah https://github.com/Naviloah
Hello.
Thank you for using this library.
I have a question.
If you load image as setImageResource or else, you should use
setImageFilePath method.
You can refer #52
https://github.com/naver/android-imagecropview/issues/52 and sample code
https://github.com/naver/android-imagecropview/blob/develop/app/src/main/java/com/naver/android/helloyako/imagecropsample/crop/CropFragment.kt#L43
.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/naver/android-imagecropview/issues/54#issuecomment-683424890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7OORNU7RULPXICWYZ7KNLSDJMG3ANCNFSM4QO32XZQ
.

Yes. It's not supported by Glide.
please call setImageFilePath method.

Ok thanks by the way I appreciate the library.."Great job"❤
On Sun, 30 Aug 2020, 5:16 pm helloyako<EMAIL_ADDRESS>wrote:

Yes. It's not supported by Glide.
please call setImageFilePath method.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/naver/android-imagecropview/issues/54#issuecomment-683425991,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7OORM44EYYHNLDEOA7KTLSDJNLDANCNFSM4QO32XZQ
.


Unable to use the Aquarea web interface when the container is running

I'm running the software using the docker image. I've found that I cannot use the Aquarea web interface whenever the service is running because shorthly after login I get a
You have been logged out due to inactivity. Please log in again.
(1001-0001)

dialog that logs me out.

Yeah, I know that. Actually the solution uses the website interface which is closes out the paralell usage in the same time.
The solution righnt know, not closes the session. I have to redesign this section.

Any news for this problem?

Sorry guys, my daughter born at december, so I have a little few time. But right now, I will check. Sorry again for the late reply!

I made the changes.
Previously, the application logged in and stayed in.
After the changes, It logs in, and logs out after the data arrive. I happens in every refresh time.
Because, the https://aquarea-smart.panasonic.com/ could not handle multiple logins, If you browsing the webpage, meanwhile the app refreshes the data, you will be logged out from the web. There is no other solution right now :/.

It keeps failing for me. Cannot use the web app while the container is running even if logs mention that the last connection was 2h ago.
There are still errors showing up in the logs, for example

ERRO[2023-07-01T00:06:23Z]/Users/ronhks/dev/src/git/github/ronhks/panasonic-aquarea-smart-cloud-mqtt/main.go:78 main.getStatusData() <nil>
ERRO[2023-07-01T00:06:23Z]/Users/ronhks/dev/src/git/github/ronhks/panasonic-aquarea-smart-cloud-mqtt/main.go:79 main.getStatusData() Error while get DeviceData
INFO[2023-07-01T00:06:25Z]/Users/ronhks/dev/src/git/github/ronhks/panasonic-aquarea-smart-cloud-mqtt/src/login/login.go:64 github.com/ronhks/panasonic-aquarea-smart-cloud-mqtt/src/login.GetLogin() Login success
ERRO[2023-07-01T00:06:48Z]/Users/ronhks/dev/src/git/github/ronhks/panasonic-aquarea-smart-cloud-mqtt/main.go:78 main.getStatusData() <nil>
ERRO[2023-07-01T00:06:48Z]/Users/ronhks/dev/src/git/github/ronhks/panasonic-aquarea-smart-cloud-mqtt/main.go:79 main.getStatusData() Error while get DeviceData
INFO[2023-07-01T00:06:50Z]/Users/ronhks/dev/src/git/github/ronhks/panasonic-aquarea-smart-cloud-mqtt/src/login/login.go:64 github.com/ronhks/panasonic-aquarea-smart-cloud-mqtt/src/login.GetLogin() Login success

hmm, that's interesting :/ I check it


Sr v1 workspace integration tests

<!--
Hello, friend!
Remember to mention what sort of testing/verification you performed in the course of building this PR, i.e. checking functionality in the browser locally.
Thanks!
--!>

Can you give me a heads up when this is almost ready to merge so I can do a review pass? <3

@zarsky-broad it is almost ready to merge. Just waiting for another review from @gpolumbo-broad

@zarsky-broad I wouldn't expect time to double? Since don't we run tests in parallel? It might be a bit longer, but I would expect it to be small, not huge. (At least, integration-tests/yarn test runs them in parallel)

@zarsky-broad I wouldn't expect time to double? Since don't we run tests in parallel? It might be a bit longer, but I would expect it to be small, not huge. (At least, integration-tests/yarn test runs them in parallel)

The issue is that on circle we only have 2 cpu threads to work with, so our parallelism is very low; I'm working on another solution for that now. Comparing the time taken for the tests on this branch vs others, I'm seeing ~10 mins vs ~6:30


Illegal character code, failed to upload test results

Lately I get the following error:
Error during parsing test results: %!(EXTRA plist.plistParseError=plist: error parsing XML property list: XML syntax error on line 6074: illegal character code U+0008)
The build is shown as failed although it is actually successfully deployed and built, not sure what the error is about.

Hi @francescopretelli!
We're aware of the issue and currently working on the fix, thanks for your report!


POLLING_INTERVAL needn't be pub.

This is only used within the file watcher and is const, so it can't be configured.

This was another thing I noticed when building with --no-default-features since I was building for a WebAssembly target.


HUE-8982: [jobbrowser] 'YarnV2Attempt' object has no attribute 'finis…

…hedTime'

https://issues.cloudera.org/browse/HUE-8982
https://review.cloudera.org/r/14263/
'TEZ' and 'Oozie Launcher' job types use YarnV2 API that uses Resource Manager API for retrieving attempts that has no finishedTime property but it is trying to access it.
This problem could be solved by taking not particular finishedTime of attempt but finishedTime of the job. But this approach could lead to incorrect data if there were more than one attempt. Or we need to remove these properties from YarnV2Attempt class.

@MishaKysliuk, I'm trying this we with 'TEZ' right now and the property is present.
Can we check if the property is there, if it's not, check if startTime is present. If they're both not there, remove them, but if startTime is there, handle it like the job is not finished yet?

@jdesjean
We are using Resource Manage API in order to get attempts. In jobbrowser/api.py:
      if app['applicationType'] == 'Oozie Launcher' or app['applicationType'] == 'TEZ' or app['applicationType'] == 'yarn-service':         job = YarnV2Job(self.resource_manager_api, app)
We use method below for retrieving this attempts in resource_manager_api.py:
  def appattempts(self, app_id):     params = self._get_params()     return self._execute(self._root.get, 'cluster/apps/%(app_id)s/appattempts' % {'app_id': app_id}, params=params, headers={'Accept': _JSON_CONTENT_TYPE})
And here https://hadoop.apache.org/docs/r3.2.0/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html at the section Cluster Application Attempts API you can see what data this call returns and there is only startTime property, without finishedTime, but this does not mean that attempt is not finished yet. Actually, I do not why finishedTime property is not there. For jobs everything is ok. We can retrieve finishedTime with ResourceManager API, but for attempts no.

Any updates?


Integration with other inference platforms

Hi,
Can we integrate this parking application with other inference planform like Nvidia tritan inference server, I want to integrate the inference/detection/tracking  module, how i can achieve this?
Thanks,

Yes. I found the trt implementation in the latest release. Thank you nvidia team.


User personas and their priority

Since I don't have a better place to put this.
I'd like to put forward some user personas, and decide how important each user is to us, to help us guide priority on feature and release roadmap. After we settle on this, we can add it permanently to the project wiki.

Fuslie - She's our guaranteed user, after all. We know that Leslie will use the app as a tool to keep track of her games, which means we should continually make sure it's easy for her to use. We also know that she wants to put the app on the stream scene, so we should be mindful of that (considering what UI components should be shown to viewers or hidden in a second column, etc.)

Other streamers - Other streamers, like Cheery for example, have expressed some interest in the tool. We should apply the same considerations for Leslie to these other users, but be mindful we should not personalize the tool too much to Leslie by default.

General desktop users - Users playing Among Us without streaming the game. I'd like to know more about these users: are they playing with multiple displays? Are they satisfied with using the tool in the browser app or would be a standard program be enough of a benefit?

General mobile users - These users will play Among Us using their phone (or tablet?) as a second screen. I would like to know how common this practice would be. Creating a good experience for a small touch-based screen is a challenge.

I agree with all of this, I think we can also just remove the "title", to make it a bit more marketable.

As of right now most data is saved, so this means we could create a setup for first time users or just don't think this as an issue, you will only need to edit once and your data will be saved.

As mentioned on @francistse23's PR,  I think we can just make a mini version with just the main column of the project.

I think we could remove the "use player names" to make icons bigger, I did not see many mobile comments... also analytics show 23% of users to use mobile... so this could be pushed back, but I think having mobile friendly app is always good.

I currently have three biggish features in my head: imposter/crewmate mode for player tiles, standalone desktop app, and mobile friendly layout. Am I missing anything?

just sharing my opinions. I am very new at contributing to open source app/code base. I appreciate any suggestion/improvement and would definitely love to learn about new/better ways to do things as I have been collaborating with the team so far.
love that we are going for some sort of road map. that will make each version upgrade clearer and what we need to work on.

Fuslie - I personally was thinking of building this app around Leslie. Like you said, we know that she has been utilizing the app during gameplays. I mentioned to Kedyn (SykO) about getting Leslie a little bit involved in this. I am sure the team would love to hear if there are some features that she wants, but the team and the other users have not mentioned. I think she's only showing the leftmost column (MainContent) on stream via OBS. Depending on how many people actually uses the MainContent column only, we can create a version with just that (removing notes and maps).

2 - Other Streamers - Definitely can make it more generic by changing the title to Among Us Notes (like chilblane has it in his Figma design) or still keep a reference of Leslie in the work somehow. She was the inspiration/motivation behind this project after all. In terms of player data, we can remove the Leslie's default orange avatar and just leave it blank.
3 - General desktop users - We can perhaps get a feel of how many users own multiple displays and uses them for the notes. I think a lot of them are thinking of it as an overlay like the Discord bubbles so they don't have to Alt+Tab out of the game to make updates. That's a really nice to have and that might take some time to implement. I don't think the core team has much experience in developing in Electron and create anything like that, although I'd like to experiment with it and it'll be really awesome if we can get that to work.
4 - General mobile users - If the feedback returns that many users say that they only have 1 screen, say they are playing on a laptop or something, chances are they might be using their phone to run the app. In that case, I would like to push for the mobile layout as that would give them another option to use the app. While most people would like to see it on mobile, or at least usable, it is easy to vote Yes/No on the feedback form and generate a lot of work for the team. With that said, I don't mind implementing a version of it and see if that solves most users' problems.
Honestly speaking... I would like to see this app take off, but I don't want to invest more time in it than necessary. While the streamer groups are still playing Among Us frequently, I can see the popularity die off and whatever work and effort we are putting in might not be worth it.

I currently have three biggish features in my head: imposter/crewmate mode for player tiles, standalone desktop app, and mobile friendly layout. Am I missing anything?

I think that's it? For me I would like to see how can we condense some of the buttons/settings so the UI is less cluttered/minimalistic

One comment about mobile user is the game will disconnect them if you switch away from the game (e.g. switch to a messenger app). So it's very hard or impossible on iOS, while we can try some facebook chat-head pop up equivalent for Android.


Updates to sessions dates and date range calculations

Changes from co-dev session with Hugo resulting from GDXDSD-1209.

The commits here change operators on is_in_range, last_period and current_period due to adding date_start and date_end dimensions which provide correct timezones before the comparisons. Cleaned up comments from previous commit and formatted file in looker to tidy.
@danpollock please review.

@mark-walle : Looks good.
I haven't had a chance to do much testing on it yet. Is it safe to assume we've done the testing?

@danpollock I'm seeing some problems with this in testing now that I hadn't noticed in my co-dev last Monday. I will cancel this PR.
For instance:
 # current period identifies sessions falling between the start and end of the date range selected
  dimension: current_period {
    group_label: "Flexible Filter"
    type: yesno
    sql: ${session_start_date} >= ${date_start} -- inclusive of the start date
      AND ${session_start_date} <= ${date_end}  -- also inclusive, since date range filters are already "until (before)"
      ;;
  }

is resulting in the end date that's selected as part of a date range being included in the current_date.

Sure.
You can also leave the PR open and do fixes within the PR on subsequent commits if you like.

@a-ell and I reviewed this and we noticed that tests appear to be correct when we use session_start_time instead of session_start_date in the flexible filter dimensions. This actually corresponds closer to your cfms_poc model where you use welcome_time. Our thoughts are that the _date timeframe on session_start is truncating time (see reference) before converting the timezone, having an unexpected effect where some that occurred within pdt-utc delta being regarded by these comparisons as if they are on a wrong date. When we use _time, which does not truncate the time, the timezone conversion occurs and the pdt-utc delta resolves correctly.
This explore shows that where sessions date range is in range from 2018-10-03 until (before) 2018-10-05, the start times tagged with previous_period are those between 2018-10-01 00:00:00 and 2018-10-02 23:59:59, while those tagged with current_period are between 2018-10-03 00:00:00 and 2018-10-04 23:59:59, as expected.
This explore is the same ranges, but supressing the _time view, and showing session counts; just a less granular explore to show the expected output.
reference: https://docs.looker.com/reference/field-params/dimension_group


Synchronize all d3 date select boxes

Fixes: #2132

Instead of window, you might put this in the App.settings object instead.

Ok. Did that. 😄

Then each chart can listen for changes to that attribute and update their own date setting as needed:

That sounds a little redundant. Do you mean put this code in every chart so (merit_order_price_curve, merit_order_hourly_load and merit_order_flexiblity? I now trigger the change.update for every date select visible in the DOM when updating the merit_charts_date and is in my opinion the simplest, shortest code-wise way to achieving synchronized select boxes. I do agree that it's maybe not up to the date select to decide when a chart should refresh but hmmm...

That sounds a little redundant. Do you mean put this code in every chart so (merit_order_price_curve, merit_order_hourly_load and merit_order_flexiblity?

This would be the way Backbone recommends doing things. The idea is that you have a model (App.settings) and a view (the date <select>). Views listen for changes in the model and update themselves accordingly, rather than telling other views to update.
Here's how it would look:
diff --git a/app/assets/javascripts/d3/d3_chart_date_select.js b/app/assets/javascripts/d3/d3_chart_date_select.js
index d03c874..1e0490e 100644
--- a/app/assets/javascripts/d3/d3_chart_date_select.js
+++ b/app/assets/javascripts/d3/d3_chart_date_select.js
@@ -27,15 +27,6 @@ var D3ChartDateSelect = (function () {
         }
     }

-    function storeDate() {
-        App.settings.set('merit_charts_date', $(this).val());
-
-        $("select.d3-chart-date-select")
-            .not($(this))
-            .val(App.settings.get('merit_charts_date'))
-            .trigger('change.update');
-    }
-
     D3ChartDateSelect.prototype = {
         selectBox: undefined,
         weeks: [ [epoch, new Date(1970, 11, 30) ] ],
@@ -44,9 +35,15 @@ var D3ChartDateSelect = (function () {
                 App.settings.get('merit_chart_date') || '1');

             this.selectBox = $("<select/>").addClass("d3-chart-date-select");
-            this.selectBox.on('change.store_date', storeDate);
-            this.selectBox.on('change.update',
-                updateChart || function () { return; });
+
+            this.selectBox.on('change', function() {
+                App.settings.set('merit_charts_date', $(this).val());
+            });
+
+            App.settings.on('change:merit_charts_date', function(s, val) {
+                this.selectBox.val(val);
+                updateChart && updateChart();
+            }.bind(this));

             createOptions.call(this);

I really don't have a strong preference in this case, but listening for changes is more the Backbone way.

I really don't have a strong preference in this case, but listening for changes is more the Backbone way.

Sounds like valid reasoning to me 👍
I fixed it + cleaned up some of the code.


Measure distances and area tool bugging?

The measure distances and area tool appears to have a bug when used in Jupyter notebook, has anyone else experienced an issue?
When I click on the map to begin a measurement the screen shifts on each click? This video demonstrates the issue:
https://user-images.githubusercontent.com/93473831/202700247-cc343b03-d62a-4233-a035-2b9b76ae4346.mp4
This error occurs on the basemap, without having added additional layers, ruling out a projection issue.
I also created a new environment containing only Leafmap, to confirm it was not a package conflict, and the error still occurs.
The use of the measure tool is integral to my use of Leafmap, I thank you for any time, support and guidance you can offer.

This is likely an ipyleaflet issue. Try out the code example below to see if you have the same issue.
https://ipyleaflet.readthedocs.io/en/latest/controls/measure_control.html

Thank you Qiusheng for suggesting I check the above example code. You are correct, that the error is stemming from ipyleaflet. This is very helpful.
I have raised an issue on the ipyleaflet github issues page, however, based on your expertise, could offer any guidance on why this may be occurring and if it is a simple bug to fix? Thank you for your guidance and support.

Closing this one since the bug has been reported at https://github.com/jupyter-widgets/ipyleaflet/issues/1076. There is not much I can do about this. As a workaround, you can try the folium backend using import leafmap.foliumap as leafmap


#194: Support multipart PUT requests

This only adds support for PUT.  As noted in #194 do we want to expand to other methods?

Support for multipart PUT was added in https://github.com/twitter/finatra/commit/ec94853ed3791ab27180f8870010a0afd9a0a38b.


[Question] Prevent re-declare background-image

Hello, is there any way to prevent declaring background-image again and again?
.comment { background-image: url(images/sprite.png); background-position: 0 0; }
.bubble { background-image: url(images/sprite.png); background-position: 0 -50px; }

i expect just like these following lines.
.icon { background-image: url(images/sprite.png); }
.comment { background-position: 0 0; }
.bubble { background-position: 0 -50px; }

Thanks for built an amazing plugins :smile:

Hi,
You can use something like Data Packer or Merge Rules to achieve this. :smile:

Thanks @vvasilev- for those solutions although i'm not satisfied yet :cry:, because i think defining like these following html syntax would be better.
<i class="icon comment">

Can u convince me that repeating background-image a lot considered good practices?

Repeating of background-image is not a good practice but is necessary to use this plugin. The behavior that you want isn't in scope of this project so you can try to find an existing solution or create your own. :smile:

Again thanks @vvasilev- i'm satisfied now haha, really i'm not saying that this plugin is not good, i just need a reason to convince my team to use this plugin (for the sake of maintainability).


Strange missing auto-completion results

Example code that causes the issue:
--- test.lua ---
local TestBase = {
	test="test"
}
TestBase.__index = TestBase
return {
	TestBase=TestBase
}

--- foo.lua ---
local Test = require "test"
local Foo = setmetatable({}, Test.TestBase)
Foo.__index = Test.TestBase
return Foo

--- main.lua ---
-- require "test" -- Uncommenting this line will make it work for some reason
local Foo = require "foo"
local t = Foo.

The problem is that the item test is not showing up but It is supposed to be
adding require "test" to main.lua will make it show up but this should not be required
PS: I found this by accident trying to figure out another strange bug with sometimes missing auto-completion, but I can't figure out that bug to make an issue about it

Should be fixed.


minor: support flashinfer nightly

Motivation
Currently, it can only be triggered manually.

Modifications

Checklist

[ ] Format your code according to the Contributor Guide.
[ ] Add unit tests as outlined in the Contributor Guide.
[ ] Update documentation as needed, including docstrings or example tutorials.

ref https://github.com/sgl-project/sglang/pull/2179

ref https://github.com/sgl-project/sglang/actions/runs/12104687316
nightly flashinfer test cc @yzh119

/usr/local/lib/python3.10/dist-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
  warnings.warn(  # deprecated in 14.0 - 2024-11-09
/usr/local/lib/python3.10/dist-packages/uvicorn/protocols/websockets/websockets_impl.py:16: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
  from websockets.server import WebSocketServerProtocol
[2024-12-01 10:39:32 TP0] TpModelWorkerClient hit an exception: Traceback (most recent call last):
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/managers/tp_worker_overlap_thread.py", line 99, in forward_thread_func
    self.forward_thread_func_()
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/managers/tp_worker_overlap_thread.py", line 130, in forward_thread_func_
    logits_output, next_token_ids = self.worker.forward_batch_generation(
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/managers/tp_worker.py", line 149, in forward_batch_generation
    logits_output = self.model_runner.forward(forward_batch)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/model_executor/model_runner.py", line 664, in forward
    return self.forward_extend(forward_batch)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/model_executor/model_runner.py", line 633, in forward_extend
    return self.model.forward(
  File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/models/llama.py", line 336, in forward
    hidden_states = self.model(input_ids, positions, forward_batch, input_embeds)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/models/llama.py", line [28](https://github.com/sgl-project/sglang/actions/runs/12104687316/job/33748388459#step:4:29)8, in forward
    hidden_states, residual = layer(
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/models/llama.py", line 237, in forward
    hidden_states = self.self_attn(
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/models/llama.py", line 174, in forward
    attn_output = self.attn(q, k, v, forward_batch)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 17[36](https://github.com/sgl-project/sglang/actions/runs/12104687316/job/33748388459#step:4:37), in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/layers/radix_attention.py", line 58, in forward
    return forward_batch.attn_backend.forward(q, k, v, self, forward_batch)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/layers/attention/__init__.py", line 60, in forward
    return self.forward_extend(q, k, v, layer, forward_batch)
  File "/actions-runner/_work/sglang/sglang/python/sglang/srt/layers/attention/flashinfer_backend.py", line 2[42](https://github.com/sgl-project/sglang/actions/runs/12104687316/job/33748388459#step:4:43), in forward_extend
    o = prefill_wrapper_paged.forward(
  File "/usr/local/lib/python3.10/dist-packages/flashinfer/prefill.py", line 1144, in forward
    return self.run(q, paged_kv_cache, k_scale=k_scale, v_scale=v_scale)
  File "/usr/local/lib/python3.10/dist-packages/flashinfer/prefill.py", line 1211, in run
    _check_cached_qkv_data_type(
  File "/usr/local/lib/python3.10/dist-packages/flashinfer/utils.py", line 199, in _check_cached_qkv_data_type
    raise ValueError(
ValueError: The dtype of q torch.bfloat16 does not match the q_data_type torch.float16 specified in plan function.

nightly version issue cc @yzh119

This PR currently provides the option to manually enable nightly flashinfer, with the default still being the release version. There is an issue with dtype inconsistency in nightly flashinfer that needs to be fixed by flashinfer. This PR is safe to merge. cc @merrymercy @yzh119

For bf16 models, the data type needs to be specified explicitly in plan functions.


Report from devresourc.es - Indie Drops

Name: Indie Drops
URL: http://indiedrops.com/
Category: Indie Hacking/Utilities
Issue: Other
Message: Inappropriate. Advertising porn. Please remove, it's absolutely disgusting. I came here for resources and to be exposed to this type of material has me sick to my stomach.
This report was sent from devresourc.es.

Removed, thank you for spotting and reporting it.