Check changelog entries on CI

Improve check-files.py to enumerate files with git rather than exclude some ad hoc directory names.
Tighten check-files.py to check all files except ones that are explicitly excluded.
Fix whitespace and line ending in some files, especially two changelog entries.
Run assemble_changelog.py in all.sh so that we know it'll work at release time.

* Improve `check-files.py` to enumerate files with git rather than exclude some ad hoc directory names.

\o/

Unfortunately the new all.sh component failed in the pr-merge job with a LostContent exception. I didn't investigate but this needs to be understood and fixed.

A second file with a missing final newline appeared in development after I made this PR, that's why the pr-merge job failed. I rebased on top of development to be able to fix this file.

Two more files with non-compliant whitespace, another rebase :frowning_face:

I've looked at the CI results and the failure in the ssl-opt.sh "reconnect from the same port" test is not a resurrection of the failure we used to have in this test: the timeout/resend happens in the initial handshake, so it's quite unrelated to that particular test and could happen in any DTLS test (that asserts no retransmission is expected). The log doesn't really contain enough information to tell, but it could really just be that the server was very slow. I have an item on my list to create a PR that will enhance logging so that we have more information next time this happens.
Anyway, the failure looks entirely unrelated to the present PR and should not block it.

I've looked at the CI results and the failure in the ssl-opt.sh "reconnect from the same port" test

@mpg I observed this on another PR and filed https://github.com/ARMmbed/mbedtls/issues/3377. I haven't looked at the log because some parts of Jenkins are not responding this evening.


DBeaver display NULL instead of data for fields of custom data type

System information:

Linux Mint 19.1
DBeaver version 6.0.0

Connection specification:

PostgreSQL 10.4
Do you use tunnels or proxies (SSH, SOCKS, etc)?  NO

Describe the problem you're observing:

Steps to reproduce, if exist:
Try to select data using table or table.* syntax for custom data types:
CREATE TYPE zzz AS ( id int, name TEXT );

;
SELECT z::zzz, (z::zzz).* FROM (
	SELECT * FROM ( VALUES ( 1, 2 ), (NULL, 3) ) t
) z;

There one warning exists:
z                                          |id|name|
-------------------------------------------|--|----|
1,2                                        | 1|2   |
NumberFormatException: For input string: ""|  |3   |

seems this is related to DBeaver, because psql does not return any warnings for same query:
   z   | id | name
-------+----+------
 (1,2) |  1 | 2
 (,3)  |    | 3
(2 rows)

This bug was already fixed in 6.1. please download some recent version.

v6.1.1 still does not work:

Yep, in fact this was fixed only in 6.1.2 and can be tested only in Early Access version (https://dbeaver.io/files/ea).

=)

huh... still does not display correct data. see examples below:

How can I reproduce this?
Some DDL would be helpful.

try this data:
?column?                                           |dt                                                                                |id   |agreement_id|docn    |package_id|period_id|service_level_id|suma                |billed_to             |vm_id|docdate   |comment|app_period                                         |agreement_docn|bill_range                                         |checked|current|current_suma|
---------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|------------|--------|----------|---------|----------------|--------------------|----------------------|-----|----------|-------|---------------------------------------------------|--------------|---------------------------------------------------|-------|-------|------------|
["2019-04-09 03:00:00+03","2019-05-09 03:00:00+03")|10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 03:00:00+03",,,2004-04-09,этот,10,795,"[-infinity,infinity)","[""2019-06-26 23:52:55.299016+03"",""2019-07-05 19:07:21.518204+03"")"   |10805|        1752|20190102|        26|       10|               1|0.000000000000000000|2019-04-09 03:00:00+03|     |2004-04-09|этот   |[-infinity,infinity)                               |20190102      |["2019-04-09 03:00:00+03","2019-05-09 03:00:00+03")|    109|false  |     445.804|
empty                                              |10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 03:00:00+03",,,2004-04-09,этот,10,3307,"[-infinity,""2019-04-01 00:00:00+03"")","[""2019-07-05 19:07:21.518204+03"",)"                 |10805|        1752|20190102|        26|       10|               1|0.000000000000000000|2019-04-09 03:00:00+03|     |2004-04-09|этот   |[-infinity,"2019-04-01 00:00:00+03")               |20190102      |["2019-04-09 03:00:00+03","2019-05-09 03:00:00+03")|    109|false  |            |
["2019-05-01 00:00:00+03","2019-05-09 03:00:00+03")|10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 03:00:00+03",,,2004-04-09,этот,10,3308,"[""2019-05-01 00:00:00+03"",infinity)","[""2019-07-05 19:07:21.518204+03"",)"                  |10805|        1752|20190102|        26|       10|               1|0.000000000000000000|2019-04-09 03:00:00+03|     |2004-04-09|этот   |["2019-05-01 00:00:00+03",infinity)                |20190102      |["2019-04-09 03:00:00+03","2019-05-09 03:00:00+03")|    109|false  |            |
["2019-04-09 00:00:00+03","2019-05-01 00:00:00+03")|10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 00:00:00+03",,,2004-04-09,этот,10,3309,"[""2019-04-01 00:00:00+03"",""2019-05-01 00:00:00+03"")","[""2019-07-05 19:07:21.518204+03"",)"|10805|        1752|20190102|        26|       10|               1|0.000000000000000000|2019-04-09 00:00:00+03|     |2004-04-09|этот   |["2019-04-01 00:00:00+03","2019-05-01 00:00:00+03")|20190102      |["2019-04-09 00:00:00+03","2019-05-09 00:00:00+03")|    109|false  |     448.352|

and query
SELECT t0.* FROM ( select app_period * bill_range, *,
  upper( bill_range ) <@ app_period() as current,
  order_total_suma( id, app_period * bill_range ) AS current_suma
from (
  SELECT ROW( o.* )::"order_bt" AS dt, o.id, o.agreement_id, o.docn, o.package_id, o.period_id, o.service_level_id,
    o.suma, o.billed_to, o.vm_id, o.docdate, o.comment,
    o.app_period,
    a.docn as agreement_docn,
    tstzrange(
      NULLIF( o.billed_to, 'infinity' ),
      NULLIF( o.billed_to +p.interval, 'infinity' )
    ) as bill_range,
    c.id as checked
  FROM "order_bt" o
  LEFT JOIN agreement a    ON a.id = o.agreement_id
  LEFT JOIN period p       ON p.id = o.period_id
  LEFT JOIN xcheck c      ON c.doc_id = o.id and c.doctype = 'OrderDetail'
  where o.id = 10805
) t )
 t0 WHERE ( ( bill_range && app_period() AND (NOT billed_to = 'infinity' ) ) ) ORDER BY agreement_docn, period_id

another problem for:
;CREATE TYPE zzz AS ( q int, x int, y tstzrange, z tstzrange );

;
SELECT k.* FROM ( SELECT row(t.*)::zzz FROM ( VALUES(
     10, 795, tstzrange( '-infinity', 'infinity'), tstzrange( '2019-06-26', '2019-07-01' ) )
 ) t ( q, x, y, z ) ) k

Here is OK:

but for next k.* becomes row, but first column should be a row:

;CREATE TYPE zzw AS ( q int, x int );

;
SELECT b FROM ( SELECT row(t.*)::zzw AS b FROM ( VALUES(
     10, 795 )
 ) t ( q, x ) ) k

but psql result is:

Still can't reproduce problem with sid/interval columns as I don't know what source table data types are.
In regards to struct data types visualization. Generally this is controlled by context menu->View/Format->Structurize complex types option. However it doesn't work in case of PG structures (because of bug). I'll push the fix after 6.1.2 release.

ok. thank you. I will retest after release.

Some more data for testing. For next data NULL is not displayed:
qty|price|cost|suma  |o                                                                                |c                                                                                |p                                                          |ic                                                                                |
---|-----|----|------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
   |     |    |      |10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 00:00:00+03",,,2004-04-09,этот,10,3707,"[""2019-04-01 00:00:00+03"",""2019-05-01 00:00:00+03"")","[""2019-07-08 22:05:29.742893+03"",)"                              |                                                                                |                                                           |"(,,,,,)",,                                                                                |
   |     |    |      |10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 00:00:00+03",,,2004-04-09,этот,10,3707,"[""2019-04-01 00:00:00+03"",""2019-05-01 00:00:00+03"")","[""2019-07-08 22:05:29.742893+03"",)"                              |24852,10805,7,2048,,,,,7373,"[""2019-04-09 00:00:00+03"",infinity)","[""2019-06-04 12:01:17.227807+03"",infinity)",1                                                                   |                                                           |"(,,,,,)",,"[""2019-04-09 00:00:00+03"",""2019-05-01 00:00:00+03"")"                                                          |
  2|    9|  18|  13.2|10805,1752,"2019-06-04 11:58:56.180046+03",20190102,26,1,0.000000000000000000,"2019-04-09 00:00:00+03",,,2004-04-09,этот,10,3707,"[""2019-04-01 00:00:00+03"",""2019-05-01 00:00:00+03"")","[""2019-07-08 22:05:29.742893+03"",)"                              |24849,10805,5,2,,,,98,7360,"[""2019-04-09 00:00:00+03"",infinity)","[""2019-06-04 12:00:05.879421+03"",infinity)",1                                                                    |12,1,98,9.000000000000000000,1,1,,10,                      |"(8,1,2019-03-01,1,1,""[-infinity,infinity)"")",0.733333333333333282,"[""2019-04-09 00:00:00+03"",""2019-05-01 00:00:00+03"")"|

This is suggestion only. Does DBeaver try to display truncated data?

Still able to reproduce this problem with zero date shown up as NULL in results.   Is there a configuration to solve this issue?


Fix 'npm run clean' breaking (#1185)

-Added a constants.js file to templates with the DEFAULT_LOCALE export
-Added a line in clean.js to copy the templates/constants.js file to containers/App/
This resolves the issue of npm run clean breaking because of constants.js not being found since it was being deleted on npm run clean.

Awesome, thank you so much!

Coverage remained the same at 98.605% when pulling 0ae26008553f9649387e81ed3f581ad8beddcd19 on adjnor:fix-issue-#1185 into 98f2d0d931ad0945961b66047b47f519734c9db2 on mxstbr:dev.


New GCE machine series T2A

See also: https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator/issues/31
If official then delete from clean_up.sql.

It will be a new machine type with "Ampere Altra" ARM CPU.

https://gcloud-compute.com/arm.html


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.16 to before v5.16.10",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=17f09d3f619a7ad2d2b021b4e5246f08225b1b0f",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9482ab4540f5bcc869b44c067ae99b5fca16bd07"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "17f09d3f619a7ad2d2b021b4e5246f08225b1b0f",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "9482ab4540f5bcc869b44c067ae99b5fca16bd07",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "SUNRPC: lock against ->sock changing during sysfs read\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.16.10 by commit 9482ab4540f5bcc869b44c067ae99b5fca16bd07, it was introduced in version v5.16 by commit 17f09d3f619a7ad2d2b021b4e5246f08225b1b0f. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000509


Update entrypoint scripts and document to align with new CLI

Update entrypoint scripts for k8s, docker v2plugin to align with
new CLI, update documents, k8s config yaml.
Drive by update vagrantfile, kubeadm_test, utils/configs.go to make
codes more readable.
Signed-off-by: Wei Tie<EMAIL_ADDRESS>

Build PR

Build PR

build PR

build PR

build PR

build PR

build PR

build PR

build PR

build PR

build PR

build PR

build PR

build PR


priv_call doesn't show a revert message, but "invalid params"

Description
As an user, I want to see revert messages on priv_call so that I can see errors.
Acceptance Criteria
I run priv_call on a private contract, the call reverts, and I see the revert reason.
Steps to Reproduce (Bug)

Create a contract wih a revert in it in a public transaction.
Trigger a revert using eth_call.
Notice that the revert reason is there.
Create the same contract in a private transaction.
Call it using priv_call
Notice that the revert reason isn't there

^ Is that expected or actually a bug?
I do see the revert reason when the tx gets mined, but I get "invalid params" when I just call it using priv_call.
This is very impractical when simulating calls to see if they'll work before sending them out.

@macfarla - related to RPC cleanup/invalid params? maybe add to #5098 ?

Hey @macfarla , are you working on this issue in your draft PR - https://github.com/hyperledger/besu/pull/5241 ?

@NickSneo that PR won't help private transactions, and it's only to expose more details about the "invalid params".
This issue is about the revert reason being hidden for private tx. So I think it's unrelated. Feel free to pick this one up!

@macfarla okay cool, thanks! Will pick this up!

Closing ticket as issue fixed with MR - https://github.com/hyperledger/besu/pull/5369


v1.0.5 seems to return undefined for every file.

ember new foo
ember build
cat dist/assets/foo.js
~~~~ snip ~~~~

define('foo/router', function () {

        'use strict';

        undefined

});
define('foo/app', function () {

        'use strict';

        undefined

});

I believe that this is because https://github.com/stefanpenner/broccoli-persistent-filter/blob/7f1de507ed6d952daa8a21e2e67720b7f834b534/index.js#L221-L231 does not return the outputString (so it returns undefined).

@rwjblue i totally tested this locally and all appeared fine... I blame NPM

Published v1.0.6

thanks

more tests++

Released v1.0.7 with https://github.com/stefanpenner/broccoli-persistent-filter/commit/6a15d52b83fd2ee798eb3843201363dd02520e3d


Support to RTL

is there any chance to support RTL in swiping and start week day to be switched in Arabic or any RTL view.

This was merged in and will be available in the next release. closing


Tabbar animation doesnt work

Hi , @lkzhao !
I enabled hero for all tabs screen in TabBarViewController, but it doesn't work.
Any ideas how to solve it? Maybe someone has an example tabbar usage with hero?

Hi, @EgorkZe
Try to create a subclass of UITabBarController and add this lines in viewDidLoad
hero.isEnabled = true
hero.tabBarAnimationType = .autoReverse(presenting: .slide(direction: .left))

Hi, @khoren93 It didn't help(
FYI i created tabbar view controller programmatically


error while installing on windows

Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [74 lines of output]
Compiling av\buffer.pyx because it changed.
[1/1] Cythonizing av\buffer.pyx
Compiling av\bytesource.pyx because it changed.
[1/1] Cythonizing av\bytesource.pyx
Compiling av\descriptor.pyx because it changed.
[1/1] Cythonizing av\descriptor.pyx
Compiling av\dictionary.pyx because it changed.
[1/1] Cythonizing av\dictionary.pyx
Compiling av\enum.pyx because it changed.
[1/1] Cythonizing av\enum.pyx
Compiling av\error.pyx because it changed.
[1/1] Cythonizing av\error.pyx
Compiling av\format.pyx because it changed.
[1/1] Cythonizing av\format.pyx
Compiling av\frame.pyx because it changed.
[1/1] Cythonizing av\frame.pyx
performance hint: av\logging.pyx:232:5: Exception check on 'log_callback' will always require the GIL to be acquired.
Possible solutions:
1. Declare 'log_callback' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on 'log_callback' to allow an error code to be returned.
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
  cdef const char *log_context_name(void *ptr) nogil:
      cdef log_context *obj = <log_context*>ptr
      return obj.name

  cdef lib.AVClass log_class
  log_class.item_name = log_context_name
                        ^
  ------------------------------------------------------------

  av\logging.pyx:216:22: Cannot assign type 'const char *(void *) except? NULL nogil' to 'const char *(*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to type 'const char *(void *) except? NULL nogil'.

  Error compiling Cython file:
  ------------------------------------------------------------
  ...

  # Start the magic!
  # We allow the user to fully disable the logging system as it will not play
  # nicely with subinterpreters due to FFmpeg-created threads.
  if os.environ.get('PYAV_LOGGING') != 'off':
      lib.av_log_set_callback(log_callback)
                              ^
  ------------------------------------------------------------

  av\logging.pyx:351:28: Cannot assign type 'void (void *, int, const char *, va_list) except * nogil' to 'av_log_callback'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (void *, int, const char *, va_list) except * nogil'.
  Compiling av\logging.pyx because it changed.
  [1/1] Cythonizing av\logging.pyx
  Traceback (most recent call last):
    File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
      return hook(config_settings)
             ^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-y7svsln0\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-y7svsln0\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
      self.run_setup()
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-y7svsln0\overlay\Lib\site-packages\setuptools\build_meta.py", line 480, in run_setup
      super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-y7svsln0\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 157, in <module>
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-y7svsln0\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1154, in cythonize
      cythonize_one(*args)
    File "C:\Users\HP\AppData\Local\Temp\pip-build-env-y7svsln0\overlay\Lib\site-packages\Cython\Build\Dependencies.py", line 1321, in cythonize_one
      raise CompileError(None, pyx_file)
  Cython.Compiler.Errors.CompileError: av\logging.pyx
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.

This issue can be fixed by update faster-whisper to the newest version. Now faster-whisper use PyAV 11 instead of PyAV 10.


Add failback logic when working on k8s 1.16+

It would fail due to the server could not find the requested resource which access a non-valid versioning namespace for deployment

Hey @syhan, looks as if this project is kinda dead. If you need a vault operator, might I suggest: https://github.com/banzaicloud/bank-vaults

Hey @syhan, looks as if this project is kinda dead. If you need a vault operator, might I suggest: https://github.com/banzaicloud/bank-vaults

Thanks @srleyva for letting me know the news, sad. I'll check the repo later:)


Getting 500 error for non-existant REPLs

curl -H "Accept: application/json" https://svelte.dev/repl/test.json
{"message":"Internal Error"}

https://svelte.dev/repl is down. Getting 500 error there too

Should be working again.

Can confirm. https://svelte.dev/repl is working again now 👍


Add ARM build support and enhance test documentation

Pull Request: Add ARM Build Support and CLI Tool
This pull request introduces support for building the project for ARM architecture and adds a command-line interface tool for interacting with Hanover flipdot signs. Additionally, it revises parts of the existing interface and documentation to better accommodate these changes.
Why these changes were made:

ARM Architecture Support: Growing interest in deploying on ARM devices necessitates a straightforward way to compile for the ARM architecture.
CLI Tool: A command-line interface allows users to send commands and interact with the flipdot signs more conveniently without needing to modify code.
Documentation Improvements: Enhancements in the documentation provide clearer guidance on testing with actual hardware, as well as improve the usability of the provided tools.

Changes Made:

Makefile:

Added build-arm, cli, and example targets to support ARM architecture builds.

README.md:

Updated the "Testing" section to provide detailed instructions for testing with actual Hanover flipdot hardware.

cmd/example/main.go:

Refactored the example code to use the new controller and sign packages.
Improved image creation and sending logic.

cmd/flipdot-cli/main.go:

New file added for the CLI tool, enabling users to send commands to the flipdot signs over a serial connection.

go.mod and go.sum:

Added dependencies for the github.com/tarm/serial library to facilitate serial communication.

internal/controller/controller.go:

Revised the NewHanoverController function to accept a serial port string and open the port.
Enhanced methods to write commands and read responses from the hardware.

internal/packet/packet.go:

Updated logic for constructing packets sent to the flipdot signs, including managing image data more effectively.

internal/sign/sign.go:

Cleaned up the HanoverSign structure by removing unnecessary flags and methods for flipping images.

pkg/goflipdot/goflipdot.go:

Adapted the controller interface to accommodate the new capabilities.

Closed Issues:

None identified in this pull request.

This set of changes significantly enhances the usability and functionality of the project, especially for users looking to deploy on ARM platforms and those requiring an easy-to-use command-line tool.
Please review the changes and provide feedback!

@coderabbitai review


mismatch bug for  external datasets

adds check for None when fixing data mismatches.

When running niffler on the CBIS-DDSM dataset a strange error occurs caused by the fix_mismatch function.  Some tags have a VR (Variable representation usually string, IntegerString, DecimalString ) as None instead of IS, PN, DS. When attempting to fix the mismatch the original approach tried to apply the translation using the tags VR. Since it is None an error occurs.   Pydicom is able to handle these cases by itself so instead of forcing a fix I add a simple check that "skips" dealing with VRS that are None.


Clarification on folder structure

Hello. I am reviewing the recommended folder structure hierarchy in cloud adoption framework/cloud scale analytics.
The example below shows the recommended folder structure layout for the landing container in the storage account. In the Log and Telemetry folders, it is recommended to include a folder per "Application Name" and "Application". It is a litle bit unclear what it is ment by application in this context. Does it map to one for each source aligned ingestion data application? Or what is the right interpretation? Please provide some examples:)

Cloud scale analytics documentation found here:
https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/cloud-scale-analytics/best-practices/data-lake-zones

#assign:mboswell

@Siglangf The internal application or ingestion name is what we are point to here. For example, you could have a SAP General Ledger Import - we would use this as a the application name OR you could have a SAP Purchase Transformation.
Use what makes sense to you as a company but make sure that it is something that your data engineering can understand,

#please-close


Build Acceptance API

Whenever a consumer is provided a new image by a user, it POSTs that image to Watchdog, along with callback URIs for positive and negative cases, an optional free-text notes field, and an optional email address to which reports of positives should be sent.  An example request:

POST /submit HTTP/1.1
Host: watchdog.mozilla.org
Accept: application/json
Authorization = Watchdog AKIAIOSFODNN7EXAMPLE:4643978965ffcec6e6d73b36a39ae43ceb15f7ef8131b8307862ebc560e7f988
Content-Type: multipart/form-data; boundary=---------------------------012345677890
-----------------------------012345677890
Content-Disposition: form-data; name="negative_uri"
https://screenshots.firefox.com/watchdog/verify/negative?file_id=012345677890&nonce=abcdefghij
-----------------------------012345677890
Content-Disposition: form-data; name="positive_uri"
https://screenshots.firefox.com/watchdog/verify/positive?file_id=012345677890&nonce=abcdefghij
-----------------------------012345677890
Content-Disposition: form-data; name="positive_email[]"
<EMAIL_ADDRESS>-----------------------------012345677890
Content-Disposition: form-data; name=“notes”
Uploaded on 2018-01-01 at 12:00:00 PM by<EMAIL_ADDRESS>from <IP_ADDRESS>0
-----------------------------012345677890
Content-Disposition: form-data; name="image"; filename="image_name.png"
Content-Type: image/png
Content of image_name.png
-----------------------------012345677890--

Watchdog will return a response confirming receipt of the submission, including a Watchdog request identifier (a UUID version 4) that the consumer can use to associate with future requests from Watchdog:

HTTP/1.1 201 Created
Host: screenshots.firefox.com
Content-Type: application/json
{
"negative_uri": "https://screenshots.firefox.com/watchdog/verify/negative?file_id=012345677890&nonce=abcdefghij",
"positive_uri": "https://screenshots.firefox.com/watchdog/verify/positive?file_id=012345677890&nonce=abcdefghij",
"positive_email"<EMAIL_ADDRESS>"id": "5a416211-f09e-4183-a8e1-4137acfa10f2"
}

The Acceptance header here will be detailed in a separate issue.
This issue includes checking user input to make user it's reasonably well-formed
Valid user input is stored in the queue (SQS)

Would a positive match be automatically removed? Or does it need to go through some sort of manual verification?

On the consumer side, and I can only speak for Screenshots, the image will no longer be accessible as soon as Watchdog reports a positive match.  The image and related data will be retained for further review.

FWIW, got a start on this as a Lambda function triggered from an API Gateway endpoint
https://github.com/mozilla/watchdog-proxy/blob/master/functions/accept.js


python/kernal_tests/linalg/tridiagonal_solve_op_test.py test fail

Click to expand!
Issue Type
Bug
Source
binary
Tensorflow Version
tf 2.9.1
Custom Code
No
OS Platform and Distribution
Ubuntu 18.04.5 LTS (on colab)
Mobile device
N/A
Python version
3.7.13
Bazel version
N/A
GCC/Compiler version
N/A
CUDA/cuDNN version
CUDA V11.1.105
GPU model and memory
No response
Current Behaviour?
6 tests in python/kernel_tests/linalg/tridiagonal_solve_op_test.py fail, the error is:
AttributeError: 'TridiagonalSolveOpTest' object has no attribute 'pivoting'.

 Kindly find the gist of it here.

I'm able to run the test successfully internally, Could you please test again by matching Git version and Tensorflow version.
Else, you can also try with nightly version against master branch. Thanks!

@sachinprasadhs Please find the gist here using nightly version against the master branch, the tests fail as before.
I noticed the last commit of this test file is on 1 Nov 2021, so perhaps it is not caused by a version mismatch?

May be it is because of the flag mentioned here.
# Flag, indicating that test should be run only with partial_pivoting=True
FLAG_REQUIRES_PIVOTING = "FLAG_REQUIRES_PIVOT"

Thank you so much for your response, it seems I missed the flag while running the tests. I'm closing the issue.


Recommendation: Change "Delete Folders" to "Move Folders to Trash"

Not sure how most Mac users interpret "Delete", but I think of destroy. It would clearer to state the completed items are moved to trash in case the user needs to recover them.

You are correct. I changed to move to trash in latest build.


Added benchmarks for kRing

Coverage remained the same at 100.0% when pulling c436114001faba7bf49955a08293f7750499a64d on temporalparts:benchmarks into 5ae3ae5899d6646e47ebabe5c30d32590d07b81c on uber:master.


branching pipeline in YAML

ALL software version info
lumen 0.5.0a64
Description of expected behavior and the observed behavior
I'm trying to branch a pipeline in YAML. I may be misunderstanding the API, but I would have expected the code below to run. The traceback is complaining about the pipeline branch ('branch_sort') not having a 'source'... but it should be inheriting the source from the pipeline that it's branching from.
Complete, minimal, self-contained example code that reproduces the issue
sources:
  penguin_source:
    type: file
    tables:
      penguin_table: https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-07-28/penguins.csv

pipelines:
  penguin_pipeline:
    source: penguin_source
    table: penguin_table
    filters:
      - type: widget
        field: island
  branch_sort:
    pipeline: penguin_pipeline
    transforms:
      - type: columns
        columns: ['species', 'island', 'bill_length_mm', 'bill_depth_mm']

targets:
  - title: Penguins
    sizing_mode: stretch_width
    views:
      - type: table
        pipeline: penguin_pipeline
        show_index: false
        height: 300
      - type: table
        pipeline: branch_sort
        show_index: false
        height: 300

Stack traceback
lumen serve penguin.yml
KeyError: 'source'
Traceback (most recent call last):
  File "/Users/droumis/src/lumen/lumen/dashboard.py", line 362, in _render_dashboard
    self._materialize_specification()
  File "/Users/droumis/src/lumen/lumen/dashboard.py", line 407, in _materialize_specification
    state.load_pipelines(auto_update=self.config.auto_update)
  File "/Users/droumis/src/lumen/lumen/state.py", line 161, in load_pipelines
    for name, source_spec in self.spec.get('pipelines', {}).items()
  File "/Users/droumis/src/lumen/lumen/state.py", line 161, in <dictcomp>
    for name, source_spec in self.spec.get('pipelines', {}).items()
  File "/Users/droumis/src/lumen/lumen/pipeline.py", line 221, in from_spec
    source = spec['source']
KeyError: 'source'

It seems that the transform on the pipeline branch is not being applied to the view that references it. In the image below, I would expect to see only the selected columns (['species', 'island', 'bill_length_mm', 'bill_depth_mm']) in the second table


Test Ubuntu 22.04

@ktbarrett this is ready for review. The relevant CI checks pass, the other ones will be fixed in #36 .


retrieveMessageContent is not returning the correct buffer

I have found that if I pass any different picture, the buffer is always return
<Buffer ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 01 00 01 00 00 ff db 00 43 00 03 02 02 03 02 02 03 03 03 03 04 03 03 04 05 08 05 05 04 04 05 0a 07 07 06 ... >
So I have try use node fetch to fix this problem for my project.

Hi @mybaseball52, if we set everything up fairly, there shouldn't be any difference between using node fetch or axios. If you can provide more info such as the whole buffer you keep receiving, it would be very helpful for us to target down the real problem here.

Hi @mybaseball52, I finally found that this is a bug we introduced in this commit and it misses the responseType: 'arraybuffer' setting:
https://github.com/Yoctol/messaging-apis/commit/a4a0479f784ddfbc6fa48f4e86365be00e35f5a0#diff-678a1f28cbda070ea9f76ab2e5aadf6aR568
I'm going to add a fix and release a v0.8.3 version. Thanks for your information.
BTW, when we do console.log to the buffer, it only shows some bytes that usually represent the header of the file, so you can see the same <Buffer xxx ...> output but files are actually different.
<Buffer ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 01 00 01 00 00 ff db 00 43 00 03 02 02 03 02 02 03 03 03 03 04 03 03 04 05 08 05 05 04 04 05 0a 07 07 06 ... >

@mybaseball52, v0.8.3 has been released. You can try it out:
https://github.com/Yoctol/messaging-apis/releases/tag/v0.8.3


refactor suggestions fetching

Change Log

Separate helper function for username fetching instead of relying on leaderboard data.

Please review the changes and merge @Swastik19Nit.

https://github.com/ashutosh-rath02/git-re/issues/329


Add option to include tests

BUILD_TESTING option is used whether to include and enable testing or not.
It's an already existing option that can be set beforehand and to OFF by default, so users of the library do not need to include tests.
See: enable_testing

@kenanmarasli Thanks for the PR.
Can you modify .github/workflows/build.yml to enable this option, since it is off by default?
Same for conanfile.py when the CONAN_RUN_TESTS env flag is enabled (can be set with cmake.definitions["BUILD_TESTING"] = True).

Thanks for the information. I will do that and update the PR.


Plugin support (with Home Assistant)

A couple of weeks ago I created a pull request to merge my branch which added support for controlling Home Assistant. It was suggested that this should not be a core feature of streamdeck-linux-gui but would be a useful plugin. At this time, there was no plugin support present so I played around with it myself. Only now do I realize there is already a pull request by @G4PLS for plugin support. But since that PR has been stale for almost two months I thought I would put my ideas up for discussion.
My design is heavily influenced by the needs of my plugin for Home Assistant so it is probably not fully fletched but should be a good starting point.

My implementation loads all plugins from the plugins folder (if you want to try it out, you can clone or copy my repository mentioned above to the folder) and lists them in the new menu item "Plugins". If a plugin provides a layout for plugin settings (in contrast to button settings), it can be accessed via this menu:

A button can now also have settings for each plugin - just select a plugin from the Combobox and click the gear button to enter them.

This is different from the other plugin PR where only one plugin could be selected per button. It's probably a minor use case to configure multiple plugins for one button, but it might be nice to have.
My main issue were the UI files. Generated code is usually terrible and this is no exception. I cannot fathom why anyone would want to generate these files - I find it much easier to edit them manually, which is what I did. This is also why I don't expect this PR to be merged as is, but I'm putting it out there to get some feedback and get a discussion going.
Thanks.

hi @gensyn  I really appreciate your tremendous effort with this!!!
However a new player showed up in town: StreamController I have been talking with the main developer and we are actually considering joining forces, and focus our effort into that one. It was build from ground up, has plugin implementation in mind and seems to have a more modern software development approach.
Maybe your time would be better spent adding your plugin there. what you say?

hi @gensyn I really appreciate your tremendous effort with this!!!
However a new player showed up in town: StreamController I have been talking with the main developer and we are actually considering joining forces, and focus our effort into that one. It was build from ground up, has plugin implementation in mind and seems to have a more modern software development approach.
Maybe your time would be better spent adding your plugin there. what you say?

If you think the other repository is gonna take over then I'm gonna give it a try.

yes, we have started already testing and working on it, and its indeed a much better solution than this one. and I have already created a discussion/feature request.
Also good thing is that you can host the plugin on your own GitHub account instead of submitting it into the repository and have it completely independent from the main application :)

If you think the other repository is gonna take over then I'm gonna give it a try.

Hey, If you need help you can join the StreamController Discord.

Hey, If you need help you can join the StreamController Discord.

Thanks, I will try that. I can't get StreamController to work. It keeps insisting that the Xdp namespace is not present, even though all necessary packages should be installed. Maybe someone on Discord had that problem before me.

It keeps insisting that the Xdp namespace is not present, even though all necessary packages should be installed

You can find the installation instructions here. Probably one of the following packages is missing on your system: xdg-desktop-portal xdg-desktop-portal-gtk libportal libportal-gtk4.


Show impact stats on results page

impact stats are now part of Home component state
Move parsing gogen output from writeSummaryReportUtils to gogenUtils since we need it for updating state as well as writing summary report

[#167710546]

looks good! I think it just needs a version bump—we can stay on 0.4.0-rcx even though I think we're targeting 1.0.0!


iOS autolink module is Null

I'm using RN autolink feature.
As i can see, EmarsysSDK and RNEmarsysWrapper has installed during pod process. But, unfortunately, i can't find libRNEmarsysWrapper.a inside Pod's products folder, so i can't use native module, because its null

Hi,
Sorry for the late reply. The right process is to open a ticket in Emarsys’ official support system so we can keep track of it. Please create a ticket in the help portal if it's still an issue.
Thank you,
Edu


[Snyk] Upgrade gatsby from 5.11.0 to 5.13.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade gatsby from 5.11.0 to 5.13.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 25 versions ahead of your current version.
The recommended version was released a month ago, on 2023-12-22.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Denial of Service (DoS) SNYK-JS-GRAPHQL-5905181
372/1000  Why? Proof of Concept exploit, CVSS 5.3
Proof of Concept

Denial of Service (DoS) SNYK-JS-MSGPACKR-6140431
372/1000  Why? Proof of Concept exploit, CVSS 5.3
No Known Exploit

Heap-based Buffer Overflow SNYK-JS-SHARP-5922108
372/1000  Why? Proof of Concept exploit, CVSS 5.3
Mature

Denial of Service (DoS) SNYK-JS-SOCKETIOPARSER-5596892
372/1000  Why? Proof of Concept exploit, CVSS 5.3
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes

Package name: gatsby

5.13.1 - 2023-12-22

5.13.0 - 2023-12-18

5.13.0-next.3 - 2023-12-04

5.13.0-next.2 - 2023-11-16

5.13.0-next.1 - 2023-08-22

5.13.0-next.0 - 2023-07-25

5.13.0-alpha-fix-pnpm.21 - 2023-12-20

5.13.0-alpha-fix-pnpm.17 - 2023-12-15

5.13.0-alpha-fix-pnpm.16 - 2023-12-14

5.13.0-alpha-alt-image-cdn.38 - 2023-11-03

5.12.12 - 2023-12-07

5.12.11 - 2023-11-22

5.12.10 - 2023-11-21

5.12.9 - 2023-10-26

5.12.8 - 2023-10-20

5.12.7 - 2023-10-17

5.12.6 - 2023-10-09

5.12.5 - 2023-09-27

5.12.4 - 2023-09-05

5.12.3 - 2023-08-28

5.12.2 - 2023-08-28

5.12.1 - 2023-08-24

5.12.0 - 2023-08-24

5.12.0-next.1 - 2023-07-03

5.12.0-next.0 - 2023-06-15

5.11.0 - 2023-06-15

    from gatsby GitHub release notes

Commit messages

Package name: gatsby

366b54c chore(release): Publish
4b892c5 chore(gatsby-cli,gatsby-source-wordpress): bump clipboardy (#38775) (#38776)
2c0622c chore(release): Publish
5d6bb65 fix(docs): update remote url docs (#38768) (#38770)
18ffcfa chore(release): Publish
1953e5c fix(gatsby): allow<EMAIL_ADDRESS><=1.0.3" for<EMAIL_ADDRESS>(#38758)
4a780fb feat: image and file cdn url generator adapter implementation (#38685)
f8c207b chore: move gatsby-plugin-netlify-cms to deprecated-packages (#38755)
6d1d97e chore(gatsby-plugin-netlify-cms): add deprecation notice  (#38753)
7a7fa5f chore(deps): update dependency @ types/jscodeshift to ^0.11.11 for gatsby-codemods (#38595)
8919982 fix(deps): update dependency gatsby-plugin-webpack-bundle-analyser-v2 to ^1.1.32 (#38722)
d148295 chore(deps): update [dev] minor and patch dependencies for gatsby-cli (#38592)
37f2288 chore(deps): update dependency rimraf to ^5.0.5 (#38596)
0faf0fe chore(deps): update dependency rimraf to ^5.0.5 for gatsby-telemetry (#38597)
31272e9 chore(deps): update dependency rimraf to ^5.0.5 for gatsby-worker (#38598)
edcb035 chore(deps): update dependency start-server-and-test to ^2.0.3 (#38599)
956e30c chore(deps): update dependency wait-on to ^7.2.0 (#38724)
c1138ad chore(deps): update dependency fs-extra to ^11.2.0 (#38723)
aa60f1c chore(changelogs): update changelogs (#38749)
649a5a0 fix(deps): update starters and examples gatsby packages to ^5.12.12 (#38748)
268a640 chore: update gatsby-adapter-netlify version manifest (#38745)
5e8d2bb fix(deps): update starters and examples - gatsby (#38582)
0d7d6af chore(changelogs): update changelogs (#38743)
7f349ff chore(release): Publish next

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for radiant-beignet-d1e2e7 processing.

Name
Link

🔨 Latest commit
fa302945129f4cd04edc05621721b15d567b88ea

🔍 Latest deploy log
https://app.netlify.com/sites/radiant-beignet-d1e2e7/deploys/65a8a307f3a97b0007e28b7c


DataLabel 'rotation' and 'allowOverlap' properties added

DataLabel 'rotation' and 'allowOverlap' properties added. Please note: if rotation <> 0, 'dataLabelAllowOverlap' will not work - this is a bug in HighCharts (https://github.com/highcharts/highcharts/issues/7362)

is the rotation of DataLabel  really very useful?

I think it is once that bug is fixed... :o)

It does not hurt if you leave that in unless that bug is fixed... However, if you prefer to remove it, it's OK... :o)

I've always avoided over-scaling a class file, so I tried to just add really useful or frequently used attributes to a class object, so forgive me for asking this question

No problem. It always is difficult to decide what might be useful and what not... I sometimes prefer rotated labels, as that gives more room. However, that requires that overlapping is prevented, but that's not the case at the moment with that bug. Anyway - it's OK if you remove that again and we will then wait for the bug to be fixed... But on the other side: it does not hurt to leave that in. However - I leave it up to you. :o)

I sometimes prefer rotated labels, as that gives more room.

more room is very important for the little size phone screen, so I think you are right,I am not to going to do that.😝hahah

:o) Problem is really that this overlapping bug is nasty. It makes the whole rotation property useless. But: once that has been fixed, rotated datalabels will make labeling much better and easier, as rotated by -45 degrees (for example), gives much more room for more labels. At the moment, non-rotated labels are difficule to read sometimes, as they are so close together that it is hard to tell where one label ends, and where the other starts. I tried padding them, but that does not seem to work either (but I only tried that quickly and did not have a closer look).

By the way: there should be something like a 'DataLabelInterval' property: so that only every 10th label or so is shown... That would make it easier to read the labels if there are a lot of them...

There is no DataLabelInterval in Highcharts seemingly...

Yes, I know. I thought you had an idea how to achieve that differently. Maybe with a custom function...


Kotlinx Serialization annotation line included in the coverage report

Describe the bug
Recently, I updated the Kover version in my KMM project from 0.8.1 to 0.8.3, and I noticed my data classes annotated with @Serializable were not fully covered. The annotation line looks yellow in the HTML report, stating it is partially covered.
I've tried excluding "*.*serializer*" from coverage report (as mentioned in some previous issue reported 1 or 2 years ago), but it didn't help.
Errors
N/A
Expected behavior
Data class should be fully covered, ignoring the @Serializable annotation line. I don't want to exclude the whole data class to solve this issue, just the annotation part. Am I doing something wrong or Kover needs to consider updating itself after Kotlin 2.0 update (I'm using v2.0.20)?
Reproducer
N/A
Reports
This is my data class in the Kover report:

This is the coverage summary:

Environment

Kover Gradle Plugin version: 0.8.3
Gradle version: 8.7
Kotlin project type: Kotlin/Multiplatform
Coverage Toolset (if customized in build script): Kover
Other context important for this bug: Kotlin version - 2.0.20

Hi,
do you have the option to exclude companions ("*\$Companion") for serializable classes from the report?
If so, does it fix your issue?

I tried excluding it from the coverage report. The Companion object's coverage disappears, but main data class's 'Branch' and 'Instruction' coverage still has some coverage left. The same is reflected in our SonarQube report, so the ultimate aim is to fix the Sonar report coverage.

Similiar issue with android's @Parcelize

@shanshin , we have this problem too! This is very disturbing.
We left with Jacoco to Kotlin, because it has the same problem, but Kover also had the same problem after Kotlin update to 2.0
When is it planned to be fixed?


PROGRAMMES-6525 Avoid entity promoting itself

https://jira.dev.bbc.co.uk/browse/PROGRAMMES-6525

Test this please


[Chunk] Add "path" and "start_end_idx" at chunk return

close #684

@bwook00 And will you allow semantic chunking?? It will not work properly yet.


Mimir VFS Rewrite

Ripped out the things.  Put in the new ones.  Integration may or may not pass.  Will fix.
https://gist.github.com/djspiewak/2dcb767e52ea1106a2776cc730805d2b
Fixes #2320
Fixes #2251

Error on travis in a spec that this PR adds:
[error]   x list the contents of a directory
[error]    List(FileIn(Current,FileName(test1)), FileIn(Current,FileName(test3)), FileIn(Current,FileName(test2)))
[error]
[error]     is not equal to
[error]
[error]    List(FileIn(Current,FileName(test1)), FileIn(Current,FileName(test2)), FileIn(Current,FileName(test3))) (RealPOSIXSpecs.scala:105)

@alissapajer Well that's not weird or anything…
I'll look at that.  I'm also adding a moveDir function to the vfs, since I forgot to do that and the integration tests rely on that functionality.

And then the mimir build failed with:
unimplemented value of type quasar.mimir.Mimir.Backend[slamdata.Predef.Unit] at Mimir.scala:435

@djspiewak also, can we make all the integration tests for mimir "pending" instead of "skip" in this PR? That way they will all be run on travis.

@alissapajer Agreed, though I have no idea how to do that. Will you be around to pair a bit on Monday?

@djspiewak I'm around all of Monday!
Re "skip" to "pending" it's just a matter of a search and replace of all the integration test json. I'd be happy to PR that to this branch.


Update README.md

Add Azure option for students

The purpose of future recommendations is to improve upon the past and to plan the way forward. Recommendations detail how the results should be used to revise. Update  and improve the assistance and support provided. They are based on the careful analysis of the data during the analysis phase and are numbered in the report. These recommendations are written for a specific target audience and when preparing the report you need to be sensitive as to who your target audience is.

An instructional evaluation project will usually end in an instructional evaluation report. The Purpose of the evaluation report is to inform readers of the aspects managed. The Methods used. The results obtained and the conclusions drawn. This report usually forms the basis for a number of revisions. Corrections and refinements. It is Therefore a very useful document and without it the value of an evaluation project would be significantly reduced.


[keys] State argument for keys

This allows use to key sorting based on state/data (ie with order).
Keys would have to be passed state if available, which isn't very nice.
Keys are used in each etc. so need to take care of that.
Option for not extending .keys(), would be to clearKeys on state update, create a "keys cache" which is what the original .keys() would return.

probably have to add some stuff to base -- seems a pretty common usecase

after 6th of june


Interesting behaviour from sub-devices that go offline, then back online

Past week I've wondered why I would come home and the garage door was open. Weirdness. But then I discovered this -
[02/01/2021, 4:20:30 pm] [eWeLink] [Garage west wall button 1] reported [offline] via WS.
[02/01/2021, 4:20:30 pm] [eWeLink] [Garage west wall button 2] reported [offline] via WS.
[02/01/2021, 4:20:39 pm] [eWeLink] [Garage west wall button 1] reported [online] via WS.
[02/01/2021, 4:20:39 pm] [eWeLink] [Garage west wall button 2] reported [online] via WS.
[02/01/2021, 4:20:40 pm] [eWeLink] [Garage west wall button 1] current state [single press].
[02/01/2021, 4:20:40 pm] [eWeLink] [Garage west wall button 2] current state [long press].
Now the button is 2 metres from the bridge, but i think Zigbee stuff goes in to power save mode I guess.
Is it possible to make the default state of a device that comes back online be idle? Not sure how else to address this problem..
Many thanks!

When any device comes back online, the plugin requests it's last state to update the HomeKit status. In the case of the zigbee button, ewelink will report the last "way" the button was pressed (by "way" i mean single, double, long), how ever long ago the button was pressed. This is why you can see this in the logs:
[02/01/2021, 4:20:39 pm] [eWeLink] [Garage west wall button 1] reported [online] via WS.
[02/01/2021, 4:20:39 pm] [eWeLink] [Garage west wall button 2] reported [online] via WS.
[02/01/2021, 4:20:40 pm] [eWeLink] [Garage west wall button 1] current state [single press].
[02/01/2021, 4:20:40 pm] [eWeLink] [Garage west wall button 2] current state [long press].

From a plugin perspective the zigbee button is like a sensor - it cannot send commands to it, it just reports information.
More likely you have a ghost in your house that is opening the garages :p
Is it possible that another device that actually opens and closes the garages is being affected by going online/offline?

When any device comes back online, the plugin requests it's last state to update the HomeKit status. In the case of the zigbee button, ewelink will report the last "way" the button was pressed (by "way" i mean single, double, long), how ever long ago the button was pressed. This is why you can see this in the logs:
[02/01/2021, 4:20:39 pm] [eWeLink] [Garage west wall button 1] reported [online] via WS.
[02/01/2021, 4:20:39 pm] [eWeLink] [Garage west wall button 2] reported [online] via WS.
[02/01/2021, 4:20:40 pm] [eWeLink] [Garage west wall button 1] current state [single press].
[02/01/2021, 4:20:40 pm] [eWeLink] [Garage west wall button 2] current state [long press].

From a plugin perspective the zigbee button is like a sensor - it cannot send commands to it, it just reports information.
More likely you have a ghost in your house that is opening the garages :p
Is it possible that another device that actually opens and closes the garages is being affected by going online/offline?

Ah ok, no no, thats good. Thanks for clarifying that point that the plugin does not send a command. Yes, it must be a ghost! Gotta find that ghost now :-)

Ah ok, no no, thats good. Thanks for clarifying that point that the plugin does not send a command. Yes, it must be a ghost! Gotta find that ghost now :-)


Errors while running Translate.py sample code with multiple GPUS

GitHub issues are for bugs / installation problems / feature requests.
For general support from the community, see StackOverflow.
To make bugs and feature requests more easy to find and organize, we close issues that are deemed
out of scope for GitHub Issues and point people to StackOverflow.
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System: Ubuntu
Installed version of CUDA and cuDNN: 7.5 and 7
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

Which pip package you installed.
The output from python -c "import tensorflow; print(tensorflow.__version__)". 0.8

If installed from sources, provide the commit hash:
Steps to reproduce

running the translate.py example
2.Crashes while creating models after tokenizing the training data.

The sample code seems to run fine with single GPU of 4 GB memory. I am using AWS GPU instances. But it works fine for basic values, ie vocab size of 40000 and size of 512. I want to train on a vocab size of 500000 and size of 1024. This is the reason why I opted to go for 4 GPUs now.
(In AWS terms, g2.2xlarge to g2.8xlarge).

Logs or other output that would be helpful
(If logs are large, please upload as attachment).

@lukaszkaiser Can you give me any inputs?

In order to understand what is happening here, you will at least need to provide the command lines you are using and the full output of the commands which are failing.  (e.g. There is not enough information in the two screenshots above)
@lukaszkaiser  Are there any known issues with running this model multi-GPU?

I don't know of any issues. Could you provide a text log with full error message? (The screens don't seem to include it all, a text file with the whole error message would be more helpful.)

logs.txt
Sorry for reporting this issue, I feel this is not a bug but a problem related to my system memory.
I tried running with varied size parameter. it runs for size 256 and 512 but for 1024 there is a crash. I am giving 22M sentences, and vocab size of 1M.  When I checked the logs for 1024, I saw that the crash is because of unavailability of memory. This is on a AWS instance with 4 GPU's of 4Gb each. I have attached the logs.


Help URL output when using DefaultAzureCredential 404s

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
If using DefaultAzureCredential with Azure provisioning, the following log message is output:
https://github.com/dotnet/aspire/blob/2249f7d4d114784ed4f117a60b1b2963d971bd92/src/Aspire.Hosting.Azure/Provisioning/Provisioners/AzureProvisioner.cs#L324-L326
The aka.ms link given does not go to the intended documentation and instead lands the browser at bing.com.
Expected Behavior
The link directs the user to the appropriate documentation.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
No response

cc @IEvangelist

cc @IEvangelist

@davidfowl - I don't own that aka.ms link. Are you thinking that we should update the source to point to some new docs about this or something? @scottaddie, would you like this to point to your docs for the details on the DefaultAzureCredential?

@IEvangelist Yes, please. See https://aka.ms/azsdk/net/identity/credential-chains#defaultazurecredential-overview.

See #6342


Update dependencies and fix remainder of imports not conforming to import style

Issue number: #770
Description of change
Updates various dependencies, and gets the remainder of the imports conforming to the more stricter checks in the current version of flake8-import-order.
Checklist

[x] Have any relevant search models been updated?
[x] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[x] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[x] Has the admin site been updated (for new models, fields etc.)?
[x] Has the README been updated (if needed)?

Codecov Report

Merging #843 into develop will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           develop     #843   +/-   ##
========================================
  Coverage    96.67%   96.67%
========================================
  Files          159      159
  Lines         4657     4657
  Branches       452      452
========================================
  Hits          4502     4502
  Misses          96       96
  Partials        59       59

Impacted Files
Coverage Δ

datahub/search/company/signals.py
100% <ø> (ø)
:arrow_up:

datahub/search/contact/signals.py
100% <ø> (ø)
:arrow_up:

datahub/search/management/commands/sync_es.py
89.13% <ø> (ø)
:arrow_up:

datahub/search/event/signals.py
100% <ø> (ø)
:arrow_up:

datahub/search/investment/signals.py
100% <ø> (ø)
:arrow_up:

datahub/search/dsl_utils.py
100% <ø> (ø)
:arrow_up:

...gement/commands/update_company_headquarter_type.py
91.66% <ø> (ø)
:arrow_up:

...ment/commands/update_investment_project_company.py
96.87% <ø> (ø)
:arrow_up:

...ent/commands/update_investment_project_comments.py
93.75% <ø> (ø)
:arrow_up:

datahub/search/signals.py
75% <100%> (ø)
:arrow_up:

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 3caf940...39c6daa. Read the comment docs.


Specifying a path with "" that ends with \ leads Dogscepter to escape the quote

For example, having  .\DogScepterCLI.exe dump "data.win" -o "longPath\foobar\" -v --textures --strings --code --rooms will cause dogscepter to use longPath\foobar -v --textures --strings --code --rooms as the path instead.

This is actually normal behavior of the command line, so I don't think DogScepter has any control over it. However, it might be a good idea to properly validate the path.

Hmm, that is strange.
Other command line tools (like dir) don't interpret the last backslash as an escape character.

Upon further inspection, this is an issue of CliFX and not of DogScepter. Thus closing.


Update prerequisites-standard-costs.md

The Inventory parameters page was changed to the Inventory accounting policies setup > Parameters page as the Cost breakdown and Variances to standard fields are not available on the Bill of materials tab.

Hi @AndersGirke, Is there any issue with this pull request?


Parse application.properties and load properties upon initialization

There are several ways you can provide custom properties to the framework:

hibernate.properties
hibernate-types.properties

Spring Boot and Quarkus use application.properties instead, so we should support that as well.

Fixed.


Add modal window for transferring data between computers

Inspired by #28
Adds a modal window allowing for a token to be copied between computers, restoring the current state on target machine.
Pictures
Modal window

The copy button has a tooltip

And the modal validates strings that aren't base64...

...as well as base64 strings that aren't JSON payloads

The token is comprised of a base64 encoded JSON object containing the key value pairs from application storage.
For example:
eyJyczNkYWlseS11cGRhdGVkIjoiMTcxNDMyMDU0Nzc3MiIsInJzM2RhaWx5c2hvcHMtdXBkYXRlZCI6IjE3MTQzMjA1ODQ5ODQiLCJtZW5hcGhvcy1vYmVsaXNrIjoidHJ1ZSIsInRyZWFzdXJlLWh1bnRlci1rZXlzIjoidHJ1ZSIsInNlc2lvbl90b2tlbl91c2VyIjoibnVsbCIsInNob290aW5nLXN0YXIiOiJ0cnVlIiwic2VyZW5pdHktcG9zdCI6InRydWUiLCJ0cmF2ZWxpbmctbWVyY2hhbnQiOiJ0cnVlIiwiY2hha3JhLXVpLWNvbG9yLW1vZGUiOiJsaWdodCIsIkFNUF91bnNlbnRfMDY3YjliMDdjOCI6IltdIiwiZ29yYWpvLWNhcmQiOiJ0cnVlIiwiZGFpbHktY2hhbGxlbmdlIjoidHJ1ZSIsInJ1bmVzcGhlcmUiOiJ0cnVlIn0=

Is equivalent to
{"rs3daily-updated":"1714320547772","rs3dailyshops-updated":"1714320584984","menaphos-obelisk":"true","treasure-hunter-keys":"true","sesion_token_user":"null","shooting-star":"true","serenity-post":"true","traveling-merchant":"true","chakra-ui-color-mode":"light","AMP_unsent_067b9b07c8":"[]","gorajo-card":"true","daily-challenge":"true","runesphere":"true"}

I tried to pick a suitable colour palette based on the existing colour scheme. Please let me know if you have suggestions for different colours.
I've also changed a number of paths that failed to load locally, these were mostly the rsdata paths as these are in a separate repository. I found a mix of fully qualified URLs and relative paths, and where applicable I've changed these to be the fully qualified URL dailyscape.github.io/rsdata. Please do let me know if you'd rather I undo these changes.

Cool contribution! Thank you.
Would you be able to remove the code styling and changing the paths on resources from this PR please? It would be easier for me to review and get it merged in quicker if the changes are isolated to just the specific goal here.
I'm open to discussing those but as a separate PR.  One, I saw you had changed some opengraph URLs which need to be a full URL so services can look up the thumb etc, but reverted, thank you.  For the relative paths, I have it set up this way for local testing if I need it (use symlinks to the other repo(s) being referenced)

Sorry about that! That was mostly a very opinionated IDE's auto format (and one that isn't HTML friendly). I've removed the formatting changes, it should be much easier to review now :)

Cool stuff, it seems to work well here. I'm going to go for it and add that icon instead


the reactive can't use in deep object the vue2 can use $forceUpdate() to render the view bug the vue3 do not support

Version
3.0.2
Reproduction link
https://jsbin.com/tizawixizi/edit?html,css,js
Steps to reproduce
  let defaultData=reactive({
        name:undefined,
    })

   defaultData.subItem=reactive([]);

function addSub(item,i,root,index) {
data.subItem=reactive([]);
data.parent=root
let arr=[...item,data]
root.subItem=arr
let father=root
if(father.parent){
father.subItem=[...father.subItem]
console.log(father)
}
}

What is expected?
i want addsub then in deep level can render
What is actually happening?
can render view in deep level

bug the vue3 do not support

but the vue3 do not support?
I don’t understand the point from your reproduction link, but $forceUpdate is also supported in Vue3.

Please open a new issue with a boiled down reproduction using the jsfiddle link provided on the issue helper and proper reproduction steps. Remember to use the forum or the Discord chat to ask questions!


Fix #19344 - Use a single class name for opened/expanded/shown state of widgets

Use only .active when a widget is opened/expanded/shown
Widgets :

[x] Alert
[x] Collapse
[x] Dropdown
[ ] Modal
[x] Popover
[x] Tooltips

PR in progress
Close : #19344

😻
(Woof, we gotta fix Hound. I know we have to either rewrite those tests or do something else, but maybe there's a fix for Hound itself or another JS validator?)

I read a bit on HoundCi and I didn't found any option to lint differently JavaScript from js/tests/ folder unless to ignore them with .eslintignore see :
https://houndci.com/configuration#eslint
http://eslint.org/docs/user-guide/command-line-interface#ignoring-files-from-linting
About my PR, I have to change exemples in the documentation and visual tests

Everything is done @mdo 💪

This. Is. AWESOME.

One thing I didn't think about was the differences between .open and .active for selected nav links. If a dropdown link in a nav is active, it might not necessarily open as well. I might have to change that state to .selected or something similar.


Instrument delayed_job

Time to instrument this (slightly) older background job processing gem.

[x] Add to TV::Config with defaults; test coverage
[x] DJ plugin wrap enqueue
[x] DJ plugin wrap perform
[x] DJ plugin, capture errors
[x] Add DelayedJob to test suite
[x] Add tests to validate DJ client instrumentation
[x] Add tests to validate DJ worker instrumentation
[x] Add tests to validate error capture/reporting
[x] Detect/handle fork; re-init reporter
[x] Backtest to determine min version supported (>= 3.0.5 from Jan 2013)
[x] Fix broken WorkerName reporting
[x] Smart entry layer tracing
[x] Add tests to validate smart tracing
[x] Fix TV::Config discrepancy with plugin architecture

This has been released in gem 3.4.0.

This has been released in gem 3.4.0.


Backup settings

Hi,
Can you please add the possibility to backup all settings? Also it would be nice if the backup could be triggered by an external program to a certain folder.
Thanks and best regards,
Hyper

Use Exec command, Enter the following and execute
mkdir /sdcard/Documents/Brevent
cp /data/user_de/0/com.android.shell/me.piebridge.brevent.* /sdcard/Documents/Brevent


Touchring module: Cannot set cursor_size or cursor_offset in config.ini

When using the touchring module, setting cursor_size or cursor_offset in config.ini causes all subsequent Kivy apps to crash.  Tested on both a Windows machine and on a Raspberry Pi:
Windows log:
[INFO              ] Logger: Record log in C:\Users\Paul\.kivy\logs\kivy_14-12-01_0.txt
[INFO              ] Kivy v1.8.0
[DEBUG             ] Cache: register <kv.image> with limit=None, timeout=60s
[DEBUG             ] Cache: register <kv.atlas> with limit=None, timeout=Nones
[INFO              ] Image: Providers: img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
[DEBUG             ] Cache: register <kv.texture> with limit=1000, timeout=60s
[DEBUG             ] Cache: register <kv.shader> with limit=1000, timeout=3600s
[INFO              ] Factory: 157 symbols loaded
[DEBUG             ] Cache: register <kv.lang> with limit=None, timeout=Nones
[DEBUG             ] App: Loading kv <C:\Users\Paul\Desktop\Kivy\kivy\examples\application\test.kv>
[INFO              ] Text: Provider: pygame
[DEBUG             ] Window: Ignored <egl_rpi> (import error)
[INFO              ] Window: Provider: pygame(['window_egl_rpi'] ignored)
[DEBUG             ] Window: Display driver windib
[DEBUG             ] Window: Actual window size: %dx%d
[DEBUG             ] Window: Actual color bits r%d g%d b%d a%d
[DEBUG             ] Window: Actual depth bits: %d
[DEBUG             ] Window: Actual stencil bits: %d
[DEBUG             ] Window: Actual multisampling samples: %d
[INFO              ] GL: OpenGL version <3.3.11672 Compatibility Profile Context>
[INFO              ] GL: OpenGL vendor <ATI Technologies Inc.>
[INFO              ] GL: OpenGL renderer <ATI Mobility Radeon HD 4650>
[INFO              ] GL: OpenGL parsed version: 3, 3
[INFO              ] GL: Shading version <3.30>
[INFO              ] GL: Texture max size <8192>
[INFO              ] GL: Texture max units <16>
[INFO              ] Shader: fragment shader: <Fragment shader was successfully compiled to run on hardware.>
[DEBUG             ] Shader: Fragment compiled successfully
[INFO              ] Shader: vertex shader: <Vertex shader was successfully compiled to run on hardware.>
[DEBUG             ] Shader: Vertex compiled successfully
[INFO              ] Shader: program: <Vertex shader(s) linked, fragment shader(s) linked.
 >
[DEBUG             ] ImagePygame: Load <C:\Users\Paul\Desktop\Kivy\kivy\kivy\data\glsl\default.png>
[DEBUG             ] Modules: Start <touchring> with config {u'cursor_size': u'(10', u'show_cursor': u'true', u'scale': u'.2', u'10)': True, u'cursor_offset': u'(-10'}
[DEBUG             ] Atlas: Load <C:\Users\Paul\Desktop\Kivy\kivy\kivy\data\..\data\images\defaulttheme.atlas>
[DEBUG             ] Atlas: Need to load 1 images
[DEBUG             ] Atlas: Load <C:\Users\Paul\Desktop\Kivy\kivy\kivy\data\..\data\images\defaulttheme-0.png>
[DEBUG             ] ImagePygame: Load <C:\Users\Paul\Desktop\Kivy\kivy\kivy\data\..\data\images\defaulttheme-0.png>
[INFO              ] Window: virtual keyboard not allowed, single mode, not docked
[INFO              ] OSC: using <thread> for socket
[DEBUG             ] Base: Create provider from mouse
[DEBUG             ] Base: Create provider from wm_touch
[DEBUG             ] Base: Create provider from wm_pen
[INFO              ] Base: Start application main loop
[INFO              ] GL: NPOT texture support is available
[INFO              ] Base: Leaving application in progress...
[WARNING           ] stderr: Traceback (most recent call last):
[WARNING           ] stderr:   File "C:\Users\Paul\Desktop\Kivy\kivy\examples\application\app_with_kv.py", line 19, in <module>
[WARNING           ] stderr:     TestApp().run()
[WARNING           ] stderr:   File "C:\Users\Paul\Desktop\Kivy\kivy\kivy\app.py", line 792, in run
[WARNING           ] stderr:     runTouchApp()
[WARNING           ] stderr:   File "C:\Users\Paul\Desktop\Kivy\kivy\kivy\base.py", line 481, in runTouchApp
[WARNING           ] stderr:     EventLoop.window.mainloop()
[WARNING           ] stderr:   File "C:\Users\Paul\Desktop\Kivy\kivy\kivy\core\window\window_pygame.py", line 381, in mainloop
[WARNING           ] stderr:     self._mainloop()
[WARNING           ] stderr:   File "C:\Users\Paul\Desktop\Kivy\kivy\kivy\core\window\window_pygame.py", line 299, in _mainloop
[WARNING           ] stderr:     self.mouse_pos = x, self.system_size[1] - y
[WARNING           ] stderr:   File "properties.pyx", line 345, in kivy.properties.Property.__set__ (kivy\properties.c:3524)
[WARNING           ] stderr:   File "properties.pyx", line 377, in kivy.properties.Property.set (kivy\properties.c:3979)
[WARNING           ] stderr:   File "properties.pyx", line 431, in kivy.properties.Property.dispatch (kivy\properties.c:4547)
[WARNING           ] stderr:   File "C:\Users\Paul\Desktop\Kivy\kivy\kivy\modules\touchring.py", line 106, in _mouse_move
[WARNING           ] stderr:     size=size)
[WARNING           ] stderr:   File "vertex_instructions.pyx", line 665, in kivy.graphics.vertex_instructions.Rectangle.__init__ (kivy\graphics\vertex_instructions.c:18163)
[WARNING           ] stderr:   File "vertex_instructions.pyx", line 716, in kivy.graphics.vertex_instructions.Rectangle.size.__set__ (kivy\graphics\vertex_instructions.c:18809)
[WARNING           ] stderr: TypeError: a float is required

Raspberry Pi log:
[INFO              ] Logger: Record log in /home/pi/.kivy/logs/kivy_14-12-01_9.txt
[INFO              ] Image: Providers: img_tex, img_dds, img_pygame, img_gif (img_sdl2, img_ffpyplayer, img_pil ignored)
[INFO              ] Kivy v1.9.0-dev
[INFO              ] Python: v2.7.3 (default, Mar 18 2014, 05:13:23)
[GCC 4.6.3]
[INFO              ] Factory: 172 symbols loaded
[INFO              ] Window: Provider: egl_rpi
[INFO              ] GL: OpenGL version <OpenGL ES 2.0>
[INFO              ] GL: OpenGL vendor <Broadcom>
[INFO              ] GL: OpenGL renderer <VideoCore IV HW>
[INFO              ] GL: OpenGL parsed version: 2, 0
[INFO              ] GL: Shading version <OpenGL ES GLSL ES 1.00>
[INFO              ] GL: Texture max size <2048>
[INFO              ] GL: Texture max units <8>
[INFO              ] Shader: fragment shader: <Compiled>
[INFO              ] Shader: vertex shader: <Compiled>
[INFO              ] Window: virtual keyboard not allowed, single mode, not docked
[INFO              ] Text: Provider: pygame
[INFO              ] OSC: using <multiprocessing> for socket
[INFO              ] ProbeSysfs: device match: /dev/input/event0
[INFO              ] HIDInput: Read event from </dev/input/event0>
[INFO              ] ProbeSysfs: device match: /dev/input/event1
[INFO              ] HIDInput: Read event from </dev/input/event1>
[INFO              ] Base: Start application main loop
[INFO              ] HIDMotionEvent: using <Logitech USB Optical Mouse>
[INFO              ] HIDMotionEvent: using <CHICONY HP Basic USB Keyboard>
[INFO              ] GL: NPOT texture support is available
[WARNING           ] stderr: Exception in thread Thread-1:
[WARNING           ] stderr: Traceback (most recent call last):
[WARNING           ] stderr:   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
[WARNING           ] stderr:     self.run()
[WARNING           ] stderr:   File "/usr/lib/python2.7/threading.py", line 505, in run
[WARNING           ] stderr:     self.__target(*self.__args, **self.__kwargs)
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py", line 589, in _thread_run
[WARNING           ] stderr:     process_as_mouse_or_keyboard(*infos)
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py", line 429, in process_as_mouse_or_keyboard
[WARNING           ] stderr:     process([point])
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py", line 480, in process
[WARNING           ] stderr:     Window.mouse_pos = points[0]['x'] * Window.width, points[0]['y'] * Window.height
[WARNING           ] stderr:   File "kivy/properties.pyx", line 377, in kivy.properties.Property.__set__ (kivy/properties.c:4351)
[WARNING           ] stderr:   File "kivy/properties.pyx", line 409, in kivy.properties.Property.set (kivy/properties.c:4866)
[WARNING           ] stderr:   File "kivy/properties.pyx", line 460, in kivy.properties.Property.dispatch (kivy/properties.c:5442)
[WARNING           ] stderr:   File "kivy/_event.pyx", line 1055, in kivy._event.EventObservers.dispatch (kivy/_event.c:10974)
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/modules/touchring.py", line 108, in _mouse_move
[WARNING           ] stderr:     c.pos = pos[0] + cursor_offset[0], pos[1] - c.size[1] + cursor_offset[1]
[WARNING           ] stderr: TypeError: unsupported operand type(s) for +: 'float' and 'unicode'
[WARNING           ] stderr:
[WARNING           ] stderr: Exception in thread Thread-2:
[WARNING           ] stderr: Traceback (most recent call last):
[WARNING           ] stderr:   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
[WARNING           ] stderr:     self.run()
[WARNING           ] stderr:   File "/usr/lib/python2.7/threading.py", line 505, in run
[WARNING           ] stderr:     self.__target(*self.__args, **self.__kwargs)
[INFO              ] Base: Leaving application in progress...
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py", line 589, in _thread_run
[WARNING           ] stderr:     process_as_mouse_or_keyboard(*infos)
[WARNING           ] stderr: Traceback (most recent call last):
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py", line 429, in process_as_mouse_or_keyboard
[WARNING           ] stderr:     process([point])
[WARNING           ] stderr:   File "textinput.py", line 59, in <module>
[WARNING           ] stderr:     runTouchApp(root)
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/input/providers/hidinput.py", line 480, in process
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/base.py", line 484, in runTouchApp
[WARNING           ] stderr:     Window.mouse_pos = points[0]['x'] * Window.width, points[0]['y'] * Window.height
[WARNING           ] stderr:   File "kivy/properties.pyx", line 377, in kivy.properties.Property.__set__ (kivy/properties.c:4351)
[WARNING           ] stderr:     EventLoop.window.mainloop()
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py", line 77, in mainloop
[WARNING           ] stderr:     self._mainloop()
[WARNING           ] stderr:   File "kivy/properties.pyx", line 409, in kivy.properties.Property.set (kivy/properties.c:4866)
[WARNING           ] stderr:   File "kivy/properties.pyx", line 460, in kivy.properties.Property.dispatch (kivy/properties.c:5442)
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_egl_rpi.py", line 72, in _mainloop
[WARNING           ] stderr:     EventLoop.idle()
[WARNING           ] stderr:   File "kivy/_event.pyx", line 1055, in kivy._event.EventObservers.dispatch (kivy/_event.c:10974)
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/base.py", line 324, in idle
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/modules/touchring.py", line 108, in _mouse_move
[WARNING           ] stderr:     Clock.tick()
[WARNING           ] stderr:     c.pos = pos[0] + cursor_offset[0], pos[1] - c.size[1] + cursor_offset[1]
[WARNING           ] stderr: TypeError: unsupported operand type(s) for +: 'float' and 'unicode'
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 461, in tick
[WARNING           ] stderr:
[WARNING           ] stderr:     usleep(1000000 * (sleeptime - sleep_undershoot))
[WARNING           ] stderr:   File "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 267, in usleep
[WARNING           ] stderr:     _default_sleep(microseconds / 1000000.)
[WARNING           ] stderr: KeyboardInterrupt

My config.ini line:
[modules]
touchring = show_cursor=true,scale=.2,cursor_size=(10,10),cursor_offset=(-10,10)

All other options work correctly, just the two options that use tuples are causing trouble.  Setting negatives or positives results in the same error, as well as either adding a space or not (i.e (10,10) vs (10, 10)).
In addition, hard coding the values to get around the config problem works correctly in Windows, but even the hard coded values are ignored on the Pi.  That is probably a separate issue, however.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6659096-touchring-module-cannot-set-cursor_size-or-cursor_offset-in-config-ini?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F42681&utm_medium=issues&utm_source=github).

Hi, this issue is quite old, so someone probably already found a solution. However, I just had the same problem and the following worked for me.
In the file <kivy>/modules/touchring.py I changed the lines 126 and 129 form
if isinstance(cursor_size, str):
if isinstance(cursor_offset, str):
to
if (isinstance(cursor_size, str) or isinstance(cursor_size, unicode)):
if (isinstance(cursor_offset, str) or isinstance(cursor_offset, unicode)):
Afterwards using cursor_size=10x10,cursor_offset=-10x10 worked for me on linux desktop (fedora) as well as on Raspberry PI 3 (raspbian jessie).

hi,
have the same problem on rpi3 here. i do not want to change kivy modules because update trouble. i not like it to change touchring.py on each update. is there a method to set own cursor and options for them inside the kivy application?
/g
wolke


use go 1.22 to build nexttrace

This project is meant to be build on Go 1.22 instead of any later versions
References:

https://github.com/nxtrace/NTrace-core/issues/270
https://github.com/nxtrace/NTrace-core/issues/257

Things done

New to Nix - not sure how to test, would love help on it

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build nexttrace

https://github.com/ofborg build nexttrace

@ofborg build nexttrace

Built on aarch64-darwin


[Feature](Added flutter SDK method to retrieve product identifiers from Chargebee system)

The same code changes has been merged with other PR. hence closing this PR.