support graph import of JSON v3 data files

JSON v3 format is missing some information which was previously available, such as flight plan revision numbers. Graph import currently relies on that information, so it needs to be adapted in order to fully support JSON data files.

Differences observed so far:

ATC stations no longer have coordinates
observing pilots appear as ATC_CONNECTED
"last updated" timestamp (now alias getControllerMessageLastUpdated()) has unknown meaning:

no longer reflects time of controller message update
available for prefiles and pilots as well
appears to be related to data file update (age of data snapshot?), not content updates

flight plan revision has been removed
effective client type = raw client type?
protocol revision has been removed

Check if compatibility with legacy data files can be maintained using one solution for legacy and JSON formats which might actually solve #1 and #12 as a by-product.

Flight plan revision has been readded without notice: #19
Graph import could most-likely work as before without changes.


How to put the Desktop project into a jplane

Because I want to make a plugin of IDEA,so how to put the Desktop project into a jplane?
thanks.

https://github.com/libgdx/libgdx/wiki/Issue-Tracker


Relax transaction size constraint for May 15 th, 2019 network upgrade.

This is now obsolete, this change did not it into the May Upgrade so I will remove the Pull request


PDF Page Persistence

It would be really nice if it was possible have the PDF viewer automatically open the last opened pdf and open to the last viewed page. A persistent history of the page number last opened by all PDFs opened by the viewer (with a way to clear the history,) would be great. Especially if this last page number viewed persisted across a file path change. Possibly as a toggleble feature.

There is a workaround for page persistence. If you do not terminate the PDFViewer, you will have the last page. Even if you sign in to another user and back to the previous account.
The PDFViewer creates new processes every time opening a PDF file so you can read multiple file concurrently. Each instance has different last page.


Github link

Right now you have to scroll to the footer or navigate a long way to get from the homepage. It would be good to have a link to the repo right at the top and maybe also add the github star badge (https://buttons.github.io/)

Hello:)
I would like to work on this

@Bashamega, could you add "GitHub" in the navbar, linking to https://github.com/pybamm-team/? The best place is maybe after "Documentation" and before "Learn".

The GitHub star and fork buttons are present on https://pybamm.org/about/. We could add them to the index page below the changes that will be introduced by #172.

@Bashamega, could you add "GitHub" in the navbar, linking to https://github.com/pybamm-team/? The best place is maybe after "Documentation" and before "Learn".

Sure


Add manual push option if push fails - generate_projects_page.py

Fixes

Related to #30 by @kgodey
Description
The original code fails at the pushing step. So I decided to add a manual push command which would execute only when the current fails!
Tests
The test that ran on my repo, with the manual push snippet only.
https://github.com/sp35/ccos-scripts/runs/558989418?check_suite_focus=true
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

I'll merge and see if this works.


Grafana integration

An adjunct to telemetry.

Figure out Grafana JSON data source format.
Create a grafana-data-source crate a bit like substrate-telemetry crate that can take key-value pairs (a bit like telemetry! macro) and serve/output in a format that grafana likes.
Create awesome grafana visualisations.

This can be closed now! :D


chore: bump versions

:tada: This PR is included in version 0.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Form font styles

Moved some font-related styles to the right place, and fixed a bad call to sans-serif() mixin where line-height is set as "normal".

Already resolved this in the 2.0-wip branch.


fix: restores getStaticProps functionality (#4096)

Releases the following to doorway:
fix: reading a listing shouldn’t be protected
fix: restores getStaticProps functionality

The diff here doesn't look like it reflects the two changes


Fix docs for #286

Hey 👋
Thank you!
Does #290 solve #286 ?

@igalklebanov, #290 solves only one of the issues in #286.

@KostyaTretyak This is why having a separate issue for each problem works. 😄
Let's remove the things #290 does, and focus on what it doesn't OK?


'overflowchanged' event is deprecated and may be removed. Please do not use it.

When i access this url  :  http://chotis2.dit.upm.es/room?id=52949225f4094e6e6c00001b.  I get the following error , 'overflowchanged' event is deprecated and may be removed. Please do not use it.
            I do not know the exact cause

Note that it's gone completely from Chrome 43. It looks like you were using it here:
https://github.com/ging/licode/blob/ad9d53587cf9e1d187e2bed6e066f4b89ebb62cd/erizo_controller/erizoClient/src/utils/L.Resizer.js#L245
I'd be very interested to learn what the user-facing impact of this was. Is there now some UI that fails to work entirely, or is entirely the wrong size?


Why main_supcon

Hi! I have some problems about the Supcon, in Ln. 209 in main_supcon.py.Why do you only take two pictures?  Is there a dimension mismatch when you put "images" inside "model"? The same problem occurs with the "split" step below.And what are the dimensions of "images", "f1", "f2" and "Features"?

I'm looking forward to your answer.Thanks.

Sorry,that is correct.I don't read it very carefully.


Ensure that LdHeapArguments is the first thing in the bytecode after recording constants

The Jit stack args optimization assumes that there will be no bailout before a LdHeapArguments (or equivalent) opcode. In this case, we had some class constructor related opcodes emitted before LdHeapArguments and when stressing bailouts, we were crashing. Note that the class constructor related opcodes will not get bailouts associated with them without any stress flag. But, its still good to maintain the jit assumption

:shipit:

:shipit:


Rotation Issue

Just portrait orientation is working; Landscape orientation is not working if entire project is in portrait and want this YouTube Player in both orientation. Any fix? Thanks

Landscape orientation works fine in XCDYouTubeVideoPlayerViewController, you need to properly configure your app to support landscape orientation.


Permissions on Git Operations

Hello, I noticed that Synapse Administrator Role is needed to do Git configuration on a Synapse Workspace. But there is no permission documented related to those actions. I‘d like to create a custom role to allow users to do a overwrite live mode action. Could this be included in the document what permissions are required for that?
Thanks, Roger

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

ID: 49a5eb79-6b7b-c217-36cd-b38c32dd1404
Version Independent ID: 0e54e680-a48e-97d0-abd2-25c7a4051d6b
Content: Azure Synapse RBAC roles - Azure Synapse Analytics
Content Source: articles/synapse-analytics/security/synapse-workspace-synapse-rbac-roles.md
Service: synapse-analytics
Sub-service: security
GitHub Login: @meenalsri
Microsoft Alias: mesrivas

@rogerknecht
Thanks for your feedback! We will investigate and update as appropriate.

@meenalsri
could you please review this, add your comments and update as appropriate.

@rogerknecht
I've delegated this to @meenalsri , a content author, to review and share their valuable insights.

This is mentioned in https://learn.microsoft.com/en-us/azure/synapse-analytics/security/synapse-workspace-access-control-overview#develop-and-execute-code-in-azure-synapse.

Hello @meenalsri thanks a lot. I see the documentation has improved a lot! However I still can't find the information what permission is needed to execute the "overwrite live-mode" in Synapse Studio. Do I miss something?

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


scripts install VEN agent

Could I get a tip for how to install the agent with scripts install style? (not modular volttron) I also did a pip install inside the VOLTTRON venv prior to this and noticed some error in the crypto library:
vctl install volttron-openadr-ven \
--tag openadr \
--agent-config volttron-openadr-ven/config_example1.json

Errors out on:
(volttron) geb@volttron:~/volttron$ vctl install volttron-openadr-ven \
> --tag openadr \
> --agent-config volttron-openadr-ven/config_example1.json
Traceback (most recent call last):
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 3.4.8 (/home/geb/volttron/env/lib/python3.8/site-packages), Requirement.parse('cryptography==37.0.4'), {'volttron'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/geb/volttron/env/bin/vctl", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cryptography==37.0.4' distribution was not found and is required by volttron

Hi Ben, this looks like a cryptography depdency issue which recently got resolved in a PR I submitted to openleadr that got merged last month. I recommend installing the latest from openleadr, 0.5.27 which should have the fix. Once you have that version of openleadr, you should be able to install the agent without running into this error.

Hi Mark, I did a pip install openleadr --upgrade
Which did a appear to update openleadr, this is a pip list on my machine:
aiohttp              3.8.3
aiosignal            1.3.1
APScheduler          3.9.1.post1
argon2-cffi          21.3.0
argon2-cffi-bindings 21.2.0
async-timeout        4.0.2
attrs                22.1.0
autopep8             2.0.0
bacpypes             0.16.7
certifi              2022.9.24
cffi                 1.15.1
chardet              3.0.4
charset-normalizer   2.1.1
cryptography         3.4.8
eight                1.0.1
frozenlist           1.3.3
future               0.18.2
gevent               21.12.0
greenlet             1.1.3.post0
grequests            0.6.0
idna                 2.10
Jinja2               3.1.2
lxml                 4.9.1
MarkupSafe           2.1.1
modbus-tk            1.1.2
multidict            6.0.2
openleadr            0.5.27
passlib              1.7.4
pip                  20.0.2
pkg-resources        0.0.0
ply                  3.11
psutil               5.9.1
pycodestyle          2.9.1
pycparser            2.21
PyJWT                1.7.1
pymodbus             2.5.2
pyOpenSSL            19.1.0
pyserial             3.5
python-dateutil      2.8.2
pytz                 2022.1
PyYAML               6.0
pyzmq                22.2.1
requests             2.23.0
setuptools           44.0.0
signxml              2.10.1
signxml-openadr      2.9.1
six                  1.16.0
tomli                2.0.1
treelib              1.6.1
tzlocal              2.1
urllib3              1.25.11
volttron             8.2         /home/geb/volttron
watchdog             2.1.9
watchdog-gevent      0.1.1
Werkzeug             2.2.1
wheel                0.30.0
ws4py                0.5.1
xmltodict            0.13.0
yarl                 1.8.1
zope.event           4.5.0
zope.interface       5.5.0

But when I run afterword's :
vctl install volttron-openadr-ven --tag openadr --agent-config volttron-openadr-ven/config_example1.json
This will still throw an error about the cryptography library:
Traceback (most recent call last):
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 3.4.8 (/home/geb/volttron/env/lib/python3.8/site-packages), Requirement.parse('cryptography==37.0.4'), {'volttron'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/geb/volttron/env/bin/vctl", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3252, in <module>
    def _initialize_master_working_set():
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside
    f(*args, **kwargs)
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/home/geb/volttron/env/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'cryptography==37.0.4' distribution was not found and is required by volttron

Thanks for any tips to try

@bbartling We have a prerelease version that was released last week that addresses this issue. Please try installing that version using pip install volttron-openadr-ven==1.0.1a0. See https://pypi.org/project/volttron-openadr-ven/1.0.1a0/

Hi Mark,
Was this ever fixed? Am running into the same problem 'cryptography==37.0.4'

@bbartling This was fixed in monolith volttron (see this PR). However, the modular volttron equivalent (i.e. this repo) didn't get the change. I can look into this. In this meantime, to get over this issue, you can update the pyproject.toml file with this change:
# Current
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
volttron = "^10.0.2rc0"
openleadr = "0.5.27"
cryptography = ">=36.0.1,<37.0.0"

# Updated
[tool.poetry.dependencies]
python = ">=3.8,<4.0"
volttron = "^10.0.2rc0"
openleadr = "0.5.27"
cryptography="37.0.4"

See this [line of code(https://github.com/eclipse-volttron/volttron-openadr-ven/blob/main/pyproject.toml#L45)].


Battery Level in the Overview dashboard is entirely red

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Since 6615acb, the Battery Level gauge on the Overview dashboard is entirely red:

I am running v1.30.1 on FreeBSD 13.3 with grafana 10.4.5.
Expected Behavior
It should be green at 62%.  It used to have red/yellow/green around the outside like https://docs.teslamate.org/docs/screenshots/#overview
Steps To Reproduce
No response
Relevant log output
2024-08-29 11:24:21.052 [info] System Info: Erlang/OTP 25 (jit)
2024-08-29 11:24:21.052 [info] Version: 1.30.1
2024-08-29 11:24:21.602 [info] POST https://auth.tesla.com/oauth2/v3/token -> 200 (416.511 ms)
2024-08-29 11:24:21.602 [info] Refreshed api tokens
2024-08-29 11:24:21.626 [info] Scheduling token refresh in 6 h
2024-08-29 11:24:21.642 [info] Running TeslaMateWeb.Endpoint with cowboy 2.10.0 at <IP_ADDRESS>:4000 (http)
2024-08-29 11:24:21.715 [info] Access TeslaMateWeb.Endpoint at http://localhost
2024-08-29 11:24:21.950 [info] Starting logger for ''
2024-08-29 11:24:23.606 car_id=1 [info] Start / :offline

Screenshots
No response
Additional data
No response
Type of installation
Manual
Version
v1.30.1

Have you considered upgrading your Grafana instance?
Running latest on both TeslaMate and Grafana, I do not see an issues with the dashboard with both the LFP and non-LFP battery toggled.

Yes, but unfortunately the FreeBSD ports tree doesn't have Grafana 11 yet.

Yes, but unfortunately the FreeBSD ports tree doesn't have Grafana 11 yet.

No issue with TelsaMates recommended Grafana version.
I understand it is dissapointing it stopped working for you, even if you use an old grafana version. We are keen to use the latest version of grafana for performance reasons and improved features. We cannot support older versions.


Replace keccak256 with blake2

Blake2 Intro Slide
Blake2 Introduced by one of the Author
@luhuimao
please do research on Keccak256 Keccak512
under crypto/to/crypto.go, ch, check where they are used, and we are going to replace keccak256/Keccak512 with th blake at golang.org/x/crypto/blake2b
Sample Codes

import (
	"hash"

	"golang.org/x/crypto/blake2b"
)

// NewBlake2b return blake2b-256 hash.
func NewBlake2b() hash.Hash {
	hash, _ := blake2b.New256(nil)
	return hash
}

// Blake2b computes blake2b-256 checksum for given data.
func Blake2b(data ...[]byte) (b32 Bytes32) {
	hash := NewBlake2b()
	for _, b := range data {
		hash.Write(b)
	}
	hash.Sum(b32[:0])
	return
}

@luhuimao
My thoughts, create a new go file containing the above function(modify if necessary) and replace all occurrences of existing keccak256/512.

@caesarchad
After my investigation, Blake2 offers better security and performance compared to  keccak256,  reasons as below:

SHA256 was based on SHA1 (which is weak). BLAKE was based on
ChaCha20 (which is strong).
SHA256 has realistically feasible attacks against 31 out of 64
rounds. BLAKE2 has no feasible attacks against more than 2 out of 10
(BLAKE2s) or 2 out of 12 (BLAKE2b) rounds.
BLAKE2 has security features which could be useful for us, such as
protection against length-extension, a standard method of keying,
"personalization tags" to guarantee domain separation, etc.
BLAKE2 is more efficient than SHA256 in software on most
platforms. For example, on ARM chips, it is usually about twice as
efficient as SHA256 when hashing 64 bytes.
BLAKE2 is the de facto standard hash function used by all of the
skilled symmetric cryptographers working on things like Password
Hashing Competition, new Proofs-of-Work such as Equihash,
etc. Whatever Proof-of-Work function we choose, it'll probably turn
out to come defined to use BLAKE2.

@luhuimao excellent work!
I have updated the code https://github.com/Bitconch/BUS/issues/11#issuecomment-418029397
, will do some unit test to check.

golang src files use sha3.NewKeccak256 addition:

#No
Go file
package
others

1
accounts\abi\abi_test.go

2
accounts\abi\bind\topics.go

3
accounts\abi\event.go

4
accounts\abi\event_test.go

5
accounts\abi\method.go

6
accounts\keystore\keystore_passphrase.go

7
cmd\clef\main.go

8
cmd\ethkey\utils.go

9
cmd\utils\cmd.go

10
contracts\chequebook\cheque.go

11
contracts\ens\ens.go

12
contracts\ens\ens_test.go

13
core\state\statedb.go

14
core\state\state_object.go

15
core\state\state_test.go

16
core\state\sync_test.go

17
core\types\bloom9.go

18
core\types\bloom9_test.go

19
core\types\transaction_signing.go

20
core\vm\contracts.go

21
core\vm\evm.go

22
core\vm\instructions.go

23
core\vm\runtime\runtime.go

24
eth\handler_test.go

25
internal\ethapi\api.go

26
les\handler_test.go

27
les\protocol.go

28
les\request_test.go

29
light\nodeset.go

30
light\odr_util.go

31
light\trie.go

32
node\api.go

33
p2p\discover\database.go

34
p2p\discover\node.go

35
p2p\discover\table.go

36
p2p\discover\table_test.go

37
p2p\discover\udp.go

38
p2p\discover\udp_test.go

39
p2p\discv5\database.go

40
p2p\discv5\net_test.go

41
p2p\discv5\node.go

42
p2p\discv5\ticket.go

43
p2p\discv5\udp.go

44
p2p\discv5\udp_test.go

45
signer\core\api.go

46
swarm\api\config.go

47
swarm\network\protocol.go

48
tests\vm_test_util.go

49
trie\proof.go

50
trie\proof_test.go

51
trie\secure_trie_test.go

52
trie\trie.go

53
trie\trie_test.go

54
whisper\mailserver\server_test.go

55
whisper\whisperv5\api.go

56
whisper\whisperv5\envelope.go

57
whisper\whisperv5\filter.go

58
whisper\whisperv5\filter_test.go

59
whisper\whisperv5\message.go

60
whisper\whisperv6\api.go

61
whisper\whisperv6\envelope.go

62
whisper\whisperv6\filter.go

63
whisper\whisperv6\filter_test.go

64
whisper\whisperv6\message.go

@luhuimao
Push to BUS005 branch.


Updater fails

Whenever I try to update via the standalone (and any other ui way) I get a 403. Is anyone else seeing this?

Hi,
maybe some web server setting is blocking it ,
can you to to run from the command line
php artisan microweber:update

Looks like duplication of #1049.

Hi, this was issue from .htaccess
please add the following lines on .htaccess after rewrite rules

    RewriteCond %{REQUEST_URI} ^/userfiles/standalone-update/.*\.php$ [NC]
    RewriteRule ^ - [L]

This issues if fixed for version 2.0.13

Hi, fore me, even these two .htaccess lines didn't work (Standalone update from 2.0.10 to 2.0.12), but hope that the 2.0.13 will be lucky version about this problem

Works from 2.0.13 to 2.0.14 :)


Expand error logging

Configure all the logging handlers and formats for module loggers
Drive context objects through call chains so execution has proper context
Add context aware logging statements

Logging setup in #46


Option retry_policy is dismissed on start_workflow.

I was trying to set a retry policy by passing a retry_policy hash in the options hash when calling start_workflow but it didn't work.
I went digging in the code and realized it is indeed omitted: even if the execution options are built with the policy, they are not used on the underlying call to start_workflow_execution at https://github.com/coinbase/temporal-ruby/blob/master/lib/temporal/client.rb#L43.
The only way I was able to actually set a policy was by calling retry_policy in an activity, but that leaves the caller powerless on setting a retry policy, and it seems it doesn't apply to workflows either.
Is this a regression? Was it always a bug? The readme states you can pass this option.

Im facing the same issue, and would really appreciate if it can get fixed 🙏


Data Ingestion Stage

[x] Update config.yaml
[x] analysis or research
[x] Update the entity
[x] Update the configuration manager in src config.
[x] Update the components
[x] Update the pipeline

Dry run successful for stage 01


new feature: change private fields/methods to public if run as tests

Hi
Is it possible to do so?
And then test like this
public class MyClass {
	@TestAsPublic
	private SomeType field;

	public void someMethod() {
	//...
	}
}

public class MyClassTest extends MyClass {
	public void someMethod() {
		field = ... // use it here
	}

	public static void main(String[] args) {
		MyClassTest var = new MyClassTest();
		var.someMethod()
	}
}

If you need such functionality it's probably something bad with your code. You should be able to mock it somehow (Mockito maybe) or to set it indirectly in your @Before method. If this is still impossible to do the one of the following could be true:

Your private field is a dead code
there is a design smell near the class that you are testing
the field you are trying to test should not be private
Make your class as simple and as independent as it could be.

IMHO I would not want this functionality to be part of Lombok because it's encouraging bad design

I see nothing bad here. Is it bad to make everything private unless it should be relaxed? no. Is it bad to test? no again.
This code was not written with tests in mind - yes it wasn't. Should it be refactored? Maybe. Because java does not provide tools for testing as it is. But once  we have right tool - everything is fine again. Lombok could be this tool.

AFAIK, Lombok works at compile time and not at runtime. So I'm not sure Lombok can generate code that behaves differently between test and non-test cases. And more, how to determine the test case?

how to determine the test case?

env var, system property, cli arg, etc.

Just make field protected and keep the test in the same package as the tested class. I mean different folders (main/test), but same package hierarchy.

@stepio I do agree with you on this protected solution. We are using it on our legacy code tests cases.

I think it isn't a solution, but a workaround. Private modifier is the best marker saying 'do not touch me'. When protected is like "you can touch me, if you want". I do not want to confuse my API's users.
Another option is docs, but nobody reads them.
*Gone RTFM on powermock


Adds a Lua filter example

Adds a complete example with an echo server where a lua filter is used
to add headers to request and respons messages.
Fixes: #2152
Co-authored-by: Alex Buchanan<EMAIL_ADDRESS>Co-authored-by: Robert Carosi<EMAIL_ADDRESS>Signed-off-by: Mohammad Banikazemi<EMAIL_ADDRESS>

This is awesome, thanks. Can we add the new config to config tests? You will need to add here:
https://github.com/envoyproxy/envoy/blob/master/examples/BUILD
And bump the config count here:
https://github.com/envoyproxy/envoy/blob/master/test/config_test/example_configs_test.cc
Thank you!


nixosTests.pantheon, nixosTests.budgie: Fail the test when coredump happens

Description of changes
Both tests succeed for me when a gsettings-desktop-schemas key removal crashes the desktop (see the GNOME 45 PR)
Make these tests fail like this when coredump happens:
subtest: Check if gala has ever crashed
machine: must fail: coredumpctl --json=short | grep gala
Test "Check if gala has ever crashed" failed with error: "command `coredumpctl --json=short | grep gala` unexpectedly succeeded"
cleanup
kill machine (pid 8)
machine # qemu-kvm: terminating on signal 15 from pid 6 (/nix/store/jhflvwr40xbb0xr6jx4311icp9cym1fp-python3-3.10.12/bin/python3.10)
(finished: cleanup, in 0.07 seconds)
kill vlan (pid 7)
error: builder for '/nix/store/3316fqf7vsbmm69py64wxar33zlr1wga-vm-test-run-pantheon.drv' failed with exit code 1;

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.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.

@ofborg test budgie pantheon

Since Pantheon blocks the channel, I manually grepped dump in the recent hydra runs [^1] and don't aware of any coredumps.
[^1]: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.pantheon.x86_64-linux and https://hydra.nixos.org/job/nixos/trunk-combined/nixos.tests.pantheon.aarch64-linux/


Supporting job dependency/chaining?

Hey all,
I am curious if kbatch has the ability to implement job dependencies (e.g. submit job_b only once job_a has finished)? sbatch does implement this and I think this would be a tremendous feature (if not already possible).

I think this would definitely be useful. It is a significant increase in scope, though, because it would mean implementing a scheduler inside kbatch-proxy because kubernetes doesn't itself have this concept, as far as I know. kbatch would need the following functionality it doesn't currently have:

store jobs (somewhere) to be submitted later (big change because kbatch-proxy is no longer stateless)
watch jobs for when they finish (big change because kbatch has an always-running task to take actions when jobs finish)
evaluate and submit dependents upon job completion (needs dependency resolver / task DAG logic, introduces concurrency challenges if run with multiple kbatch-proxy replicas)

Thanks for the explanation here @minrk! This seems indeed like quite the increase in scope. Lets bench this for now.


Feature Request: Cast (Actor) Thumbnails for TV Shows

What TMM version are you using?
<IP_ADDRESS>
Your Operating system? (win/mac/linux? version?)
Windows 10 Pro x64
Been using TMM for over a year now, and I love it. The only feature I wish it included would be the automatic downloading of cast (actor) thumbnails for TV shows. It works wonderfully for movies, but I have to manually create an ".actors" folder and download each thumbnail individually if I desire the same for TV shows, which can be time consuming.

has been done for v3


iZotope.ProductPortal version 1.4.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

#43594 (comment)

Is it okay now?


Indentation

Everything, but python should be tabs
Tabs should look like 2 spaces

nope, spaces, I've changed so much


context.tf & Terraform 0.14 upgrade

what

Upgrade to use context.tf, support Terraform 0.14, and bring up to current Cloud Posse standard

why

Support advanced null-label features (some work still to be done)
Support Terraform 0.14

notes

The subnets are tagged with a "Name" tag that does not conform to null-label standards. It is left for backwards compatibility.

Closes #21, closes #29, closes #30

/test all

/test all

thanks for all the help on this @Nuru


Upgrade Apache Maven to 3.9.6

The NOTICE file should have been updated in #1643 -- Eclipse Sisu should have been NOTICEd.

Thanks!


[WIP] Test out heroku PR builds

Last one, I think. Sorry for all the noise.

Forking the repo so I stop emailing everyone.


Fix camera /image_raw topic

Describe the Bug
Topic image_raw/compressed publishes compressed image, however, there is a problem with image_raw. In order to be published, the image has to be converted from YUV to RGB and optionally resized. Unfortunately, the GPU block for image conversion is SISO (Single Input Single Output) and therefore, GPU cannot facilitate image_raw/compressed and image_raw simultaneously. Currently, it tries to use CPU for the conversion, but this approach is CPU intensive and OpenCV fails to perform the conversion.
There are two possible solutions:

optimise conversion algorithm and use CPU or
allow only one of the topics to be used at the time (image_raw/compressed or image_raw ).

I would prefer the second option since it is unlikely both topics will be used simultaneously. Furthermore, using the two topics simultaneously can cause very high CPU usage.
Steps to Reproduce
Subscribe to image_raw topic
Expected behavior
User should be able to receive an image from image_raw topic.

I agree the second solution is the best. It should however be clearly documented that only one topic can be used at a time and possibly display a warning or an error if the user tries to use two topics simultaneously.

Just for the note, a new node for the raspberrypi camera was released (ROS1), it would be nice to see if we are close to it (topics names, open parameters, etc): https://discourse.ros.org/t/raspberry-pi-camera-node/1388
For example, it would be interesting to publish the camera_info topic.

Just for the note, a new node for the raspberrypi camera was released (ROS1), it would be nice to see if we are close to it (topics names, open parameters, etc): https://discourse.ros.org/t/raspberry-pi-camera-node/1388

Yes, raspicam_node is available for ROS2 as well (https://github.com/christianrauch/raspicam2_node), we have already considered it. But, the camera on e-puck2 doesn't use Raspberry Pi Camera (OV760 instead) and it is not connected through standard CSI port (but through onboard MCU). All this makes raspicam_node unusable for our use case. We also confirmed this with GCtronic.

For example, it would be interesting to publish the camera_info topic.

Sure, it will add it to this issue. It is already implemented in webots_ros2_epuck2 (https://github.com/cyberbotics/webots_ros2/blob/64d48a40b6b687f7759a1ec4ec45c6cbd703d252/webots_ros2_epuck2/webots_ros2_epuck2/driver.py#L372)

Yes, raspicam_node is available for ROS2 as well (https://github.com/christianrauch/raspicam2_node), we have already considered it. But, the camera on e-puck2 doesn't use Raspberry Pi Camera (OV760 instead) and it is not connected through standard CSI port (but through onboard MCU). All this makes raspicam_node unusable for our use case. We also confirmed this with GCtronic.

Yes of course I am not saying we should use it, but just to be 'compatible' with it as much as possible.


ENH: Define instance attributes in __init__ method

Define instance attributes in __init__ method.
Fixes:
Instance attribute _datashape defined outside __init__

and similar warnings.

I'm surprised - is this a problem despite them being listed in __slots__?
Happy to merge if this is not just the face of a deeper problem

Looks like it is still recommended to initialize the values in the __init__ method:
https://wiki.python.org/moin/UsingSlots
If the above ref is not enough, the below does not say they are a substitute for the __init__ initialization:
https://docs.python.org/3/reference/datamodel.html#object.__slots__
And pylint has a warning for this as well:
https://pylint.readthedocs.io/en/latest/user_guide/messages/warning/attribute-defined-outside-init.html
Not sure whether there are other aspects that make the behavior to be different in some cases.


Admin UI unresponsive/crashing when Firehose traffic is high

Hi,
we are running the Administration UI as application in our Cloud Foundry deployment. We have observed high CPU and memory usages which make the application unresponsive or even cause frequent reboots by the health manager. After some CPU and memory profiling, we have found out that the high event traffic (around 15000 events/sec) on the CF Firehose is responsible for the problems. Here is an excerpt from the CPU profiling:
==================================
 Mode: cpu(1000)
 Samples: 147470 (0.05% miss rate)
 GC: 38668 (26.22%)
==================================
    TOTAL    (pct)     SAMPLES    (pct)     FRAME
   125132  (84.9%)       40882  (27.7%)     AdminUI::Doppler#doppler_message
    11344   (7.7%)       11344   (7.7%)     #<Module:0x0055cb7f3460e8>.read_varint
    99359  (67.4%)        4765   (3.2%)     WebSocket::Driver::Hybi#emit_frame
     6907   (4.7%)        4299   (2.9%)     block (2 levels) in define_setter
    56245  (38.1%)        3210   (2.2%)     #<Module:0x0055cb7f3460e8>.decode
    92739  (62.9%)        2719   (1.8%)     WebSocket::Driver::Hybi#emit_message
     3529   (2.4%)        2528   (1.7%)     Protobuf::Message.get_field

When we disable event processing by commenting out Doppler#doppler_message, the CPU usage drops from 100% to 20%-60%. On test landscapes with lower event traffic the CPU usage is also fine.
We have already scaled the app vertically as much as possible (runs in Diego). We have tried to run the app on JRuby instead of MRI to make better use multiple CPU cores, but some dependencies (mysql2) do not seem to be compatible.
Another solution would be to offload the Firehose event processing to a separate Nozzle process. We have some Nozzles implemented in Go (similar to the example-nozzle) which are performing fine. The Nozzle could handle the event parsing and filtering. The Admin UI could connect to a Websocket interface the Nozzle provides. To realize this solution, we would need a new configuration option to overwrite the default Doppler Websocket URL.
What do you think of this approach? Or do you see another solution?
Thanks and Best Regards,
Jochen.

I would prefer the loggregator supported some filtering on the firehose per https://github.com/cloudfoundry/loggregator/issues/155 and then the Admin UI would take advantage of it.

@rboykin We have plans to enable filtering of the firehose with our new gRPC/http2 API. It will be some time before we have http2 support in gorouter that would allow external clients like the admin-ui to use this feature.

Hello @rboykin , while waiting for the loggregator features to be available we are implementing a nozzle to filter the unnecessary data before it reaches the admin-ui.
At the moment, admin-ui gets the doppler endpoint directly from the CF API.

What is your plan to secure this alternative doppler endpoint? It feels like a security exposure to me to pass the admin UI's admin-enabled token to this alternative doppler endpoint. Alternative to that is to provide credentials for the alternative doppler endpoint itself. If this is done, what would be needed to secure the alternative for your scenario? This is all assuming wss in my mind.
Also, would this alternative doppler endpoint include the capability of the client requesting the types of the records to be provided? Or, would the alternative doppler endpoint automatically just provide the correct filtering? The Admin UI needs ContainerMetrics and ValueMetrics only.
The alternative doppler endpoint would have to follow the exact protocol of the actual doppler endpoint.
I am also not sure how I would automate testing for this proxy.
Given this would add a dependency outside of CF, this seems further questionable to me.
I recommend a private fork.

Hi @rboykin, sorry for my late reply but I wanted to have some concrete results before continuing the discussion.
I agree on the fork suggestion, we could continue the discussion if the loggregator API will not come in the near future as planned or if they won't provide the same
advantages.
Scenario: Admin-ui and nozzle deployed as CF applications on special space with access to all necessary endpoints.
I implemented the switch to allow to override the doppler endpoint on the admin-ui and a Golang doppler nozzle.
The nozzle is simply a 'proxy' that forwards the subscriptionID and authToken received from the admin-ui and use it to connect to the real doppler;
this happens when the admin-ui connects to the websocket server the nozzle provides.
On the nozzle we also filter out some useless metrics to send less nose to the admin-ui.
The following are some statistics for the nozzle to give you an idea of the volume of data and % of filtering.
2017-04-13T10:55:00.75+0200 [APP/PROC/WEB/0] OUT In the last 10 seconds
2017-04-13T10:55:00.75+0200 [APP/PROC/WEB/0] OUT sent messages:18691
2017-04-13T10:55:00.75+0200 [APP/PROC/WEB/0] OUT discarded messages:201300
2017-04-13T10:55:10.75+0200 [APP/PROC/WEB/0] OUT sent messages:14784
2017-04-13T10:55:10.75+0200 [APP/PROC/WEB/0] OUT In the last 10 seconds
2017-04-13T10:55:10.75+0200 [APP/PROC/WEB/0] OUT discarded messages:207937
2017-04-13T10:55:20.75+0200 [APP/PROC/WEB/0] OUT In the last 10 seconds
2017-04-13T10:55:20.75+0200 [APP/PROC/WEB/0] OUT discarded messages:203586
2017-04-13T10:55:20.75+0200 [APP/PROC/WEB/0] OUT sent messages:18273
2017-04-13T10:55:30.75+0200 [APP/PROC/WEB/0] OUT In the last 10 seconds
2017-04-13T10:55:30.75+0200 [APP/PROC/WEB/0] OUT discarded messages:198090
2017-04-13T10:55:30.75+0200 [APP/PROC/WEB/0] OUT sent messages:17675

While profiling the cpu usage of the admin-ui, the bottleneck has been moved from the doppler client to the database:
==================================
  Mode: wall(1000)
  Samples: 411474 (31.39% miss rate)
  GC: 92870 (22.57%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
    152008  (36.9%)       54039  (13.1%)     Sequel::Postgres::Dataset#fetch_rows
    197892  (48.1%)       39277   (9.5%)     #<Module:0x0055e42b8d5080>.run
    151724  (36.9%)       38305   (9.3%)     AdminUI::Doppler#doppler_message
     16109   (3.9%)       16109   (3.9%)     #<Module:0x0055e42b3e52c8>.read_varint
    154493  (37.5%)       13321   (3.2%)     AdminUI::CC#select
     13125   (3.2%)        7956   (1.9%)     block (2 levels) in define_setter
    139323  (33.9%)        6642   (1.6%)     WebSocket::Driver::Hybi#emit_frame
    157323  (38.2%)        5679   (1.4%)     WebSocket::Driver::Client#parse
     81618  (19.8%)        5651   (1.4%)     #<Module:0x0055e42b3e52c8>.decode
     10896   (2.6%)        5448   (1.3%)     AdminUI::EventsViewModel#do_items
      4701   (1.1%)        4701   (1.1%)     block (2 levels) in define_getter
      6024   (1.5%)        4500   (1.1%)     Protobuf::Message.get_field
    128828  (31.3%)        4391   (1.1%)     WebSocket::Driver::Hybi#emit_message
      8721   (2.1%)        4091   (1.0%)     AdminUI::ApplicationsViewModel#do_items
      8157   (2.0%)        4006   (1.0%)     AdminUI::ServiceBindingsViewModel#do_items
      3658   (0.9%)        3658   (0.9%)     Protobuf::Field::BaseField#repeated?
      7030   (1.7%)        3515   (0.9%)     AdminUI::RoutesViewModel#do_items
      9058   (2.2%)        3352   (0.8%)     AdminUI::SpacesViewModel#do_items
      7185   (1.7%)        3290   (0.8%)     AdminUI::UsersViewModel#do_items
      5453   (1.3%)        3016   (0.7%)     Protobuf::Message#clear!
      5640   (1.4%)        2856   (0.7%)     Faye::WebSocket::API::Event#initialize
      2757   (0.7%)        2757   (0.7%)     WebSocket::Extensions#valid_frame_rsv
      2707   (0.7%)        2707   (0.7%)     Protobuf::Field::StringField#decode
      5380   (1.3%)        2690   (0.7%)     AdminUI::ServiceInstancesViewModel#do_items
      2454   (0.6%)        2454   (0.6%)     WebSocket::Driver::Hybi::Message#initialize
      4684   (1.1%)        2342   (0.6%)     Sequel::Postgres::Adapter#execute_query
      7204   (1.8%)        2330   (0.6%)     Protobuf::Message#initialize
      4654   (1.1%)        2327   (0.6%)     AdminUI::SpaceRolesViewModel#add_rows
      3463   (0.8%)        2284   (0.6%)     WebSocket::Driver::StreamReader#read
      6152   (1.5%)        2243   (0.5%)     WebSocket::Driver::Hybi#parse_opcode

I still see spikes to 100% cpu usage on the patched admin-ui behind the nozzle, but not all the time like the vanilla one. It also feels faster while navigating through the tabs.
I cannot immediately share the code with you due to long and funny legal processes, but if anyone shows interest this might speed up the thing.

Workaround provided by this PR:  https://github.com/cloudfoundry-incubator/admin-ui/pull/173


Direct Line App Service Extension

🚨 The issue tracker is not for questions 🚨
If you have a question, please ask it on https://stackoverflow.com/questions/tagged/botframework
Is Direct Line App Service Extension available in python sdk?
ref: https://docs.microsoft.com/en-us/azure/bot-service/bot-service-channel-directline-extension?view=azure-bot-service-4.0

Hi @jakeatmsft, unfortunately the Direct Line App Service Extension is not available in the Python SDK at this time, due to Linux App Services not supporting WebSockets.
(FYI @DDEFromOR)

Small update for this issue, Linux App Services support WebSockets, and thus the Python SDK supports the Direct Line Speech channel (which uses WebSockets as its transport mechanism).
Unfortunately the Direct Line App Service Extension (DL-ASE) is available on only Windows App Services, not Linux App Services. The Bot Framework SDK for Python does not support DL-ASE at this time.


Update Setup-Windows-Binary-Script.md

correct path

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/Setup-Windows-Binary-Script.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Add External Network configuration in docker-compose.yml.template

The PR, if merged, will add the external network for Nginx serving in the template docker-compose.yml
This needs to be served in conjunction with https://github.com/grapheo12/ingress

@grapheo12 Please suggest what other changes would be required if we are using external_network.

This looks great to me. Just one thing, we don't really need the port export 8001:8001 now, do we?
It doesn't cause any harm to keep it like that though.
So I guess there will be a corresponding PR in wiki and ingress too.
Will you do it or shall I complete the rest? @thealphadollar


machines 0.6

machines-0.6 depended on by:

[x] codex-<IP_ADDRESS> (>=0.2 && < 0.6). Alois Cochard<EMAIL_ADDRESS>@aloiscochard. @aloiscochard
[ ] machines-directory-<IP_ADDRESS> (>=0.2.4 && < 0.6). Alois Cochard<EMAIL_ADDRESS>@aloiscochard. @aloiscochard
[x] machines-io-<IP_ADDRESS> (>=0.2 && < 0.6). Alois Cochard<EMAIL_ADDRESS>@aloiscochard. @aloiscochard
[ ] machines-process-<IP_ADDRESS> (>=0.2 && < 0.6). Alois Cochard<EMAIL_ADDRESS>@aloiscochard. @aloiscochard

Also note:
distributive-<IP_ADDRESS> depended on by:

[ ] machines-0.6 (< 0.5). Edward Kmett<EMAIL_ADDRESS>@ekmett

+1
Also needed by sarsi.

All machines-* packages should be good to good now.

I just realize machines-directory is still outdated, updating now.

Released as machines-directory-<IP_ADDRESS>

The only thing holding this issue back is the outdated dependency on distributive < 0.5.

Issue closed in the GHC 8 release. If packages have been removed temporarily, please sent a pull request to update build-constraints.yaml (search for GHC 8 or BLOCKED).


[BUG] shadows are not updated on onliners change

In case when viewModel refernce some onliner object that is change during runtime, shadows are not updated.

/cib

Branch 314-_BUG_shadows_are_not_updated_on_onliners_change created!


error

ils.DownloadError: ERROR: Sign in to confirm you’re not
a bot

guess ip has  been blocked by youtube....there is nothing wrong for now 👍

thanks

it really appears that YouTube is now blocking downloads, updating the youtube-dl version may mitigate the problem


Multiple GPS Support Question

Hello,
I've been using this driver and it's pretty cool but I wanted to use 2 GPS units with this driver. The problem I have is when I run one driver, the other GPS driver turns off. Is there a way to have 2 GPS nodes and have them publish on their own separate topics? For example, nmea_node1 publishes to topic fix1 and nmea_node2 publishes to topic fix2. How would I go about in order to achieve this?
Thank you

This is a basic ROS question, suitable for http://answers.ros.org. Please ask it there.
For a start, please look up the ROS methods for renaming nodes and remapping topic names. The basic tutorials are a good place to begin.


Cannot compile with gradle

Error:Execution failed for task ':app:dexDebug'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2

Are you using Android Studio?
Try Build > Clean Project
and then
Build > Rebuild Project

@idanbar134 the proposed solution work for you?

I had the same issue in andorid studo, i try to clean and rebuild, it could build successful. but when i debug project on device it will report the same error.

I just import java source code to my project,it works well.

Hey )
Thanks. i fixed it) have great day bro
On Thu, Mar 12, 2015 at 8:51 AM, foodyi<EMAIL_ADDRESS>wrote:

I just import java source code to my project,it works well.
--
Reply to this email directly or view it on GitHub
https://github.com/alexbbb/android-upload-service/issues/22#issuecomment-78431950
.

--
Idan Ayalon

Hi Alex,
How are you?
I'm trying to upload pictures in ssl to my server and i get an exception:
i use this line inside my uploadFileToServer method where i do all Requests.
03-16 09:59:01.582  24782-24903/com.nuro E/com.newrelic.agent.android﹕
Failed to detect New Relic instrumentation.  Something likely went wrong
during your build process and you should contact<EMAIL_ADDRESS>03-16 09:59:27.094  24782-24782/com.nuro E/CliptrayUtils﹕
hideClipTrayIfNeeded() TextView is focused!! hideClipTray()
03-16 10:00:08.093  24782-24782/com.nuro E/CliptrayUtils﹕
hideClipTrayIfNeeded() TextView is focused!! hideClipTray()
03-16 10:00:16.895  24782-24782/com.nuro W/art﹕ Attempt to remove local
handle scope entry from IRT, ignoring
03-16 10:00:16.925  24782-24782/com.nuro W/chromium﹕
[WARNING:resource_bundle.cc(304)] locale_file_path.empty()
03-16 10:00:16.926  24782-25935/com.nuro W/AudioManagerAndroid﹕ Requires
BLUETOOTH permission
03-16 10:00:17.004  24782-24914/com.nuro W/OpenGLRenderer﹕ Trying to scale
down bitmap for texture (2880x5120 -> 2304x4096)
03-16 10:00:35.519  24782-24782/com.nuro W/TouchFlickNoti﹕
CAPP_TOUCH_FLICK: UP vectorVelocity:-9048 signal:-1
03-16 10:00:46.539  24782-24914/com.nuro W/OpenGLRenderer﹕ Trying to scale
down bitmap for texture (2880x5120 -> 2304x4096)
03-16 10:00:47.806  24782-24782/com.nuro E/ChatFragment﹕ Error in upload
with ID: 12fc87f6-8e5f-48e9-8d8b-85058d4629ce. Write error: ssl=0x9a2e1200:
I/O error during system call, Broken pipe
javax.net.ssl.SSLException: Write error: ssl=0x9a2e1200: I/O error
during system call, Broken pipe
at com.android.org.conscrypt.NativeCrypto.SSL_write(Native
Method)
at
com.android.org.conscrypt.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:740)
at com.android.okio.Okio$1.write(Okio.java:70)
at
com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at
com.android.okio.RealBufferedSink.write(RealBufferedSink.java:44)
at
com.android.okhttp.internal.http.HttpConnection$ChunkedSink.write(HttpConnection.java:330)
at
com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at
com.android.okio.RealBufferedSink$1.write(RealBufferedSink.java:131)
at
com.alexbbb.uploadservice.UploadService.uploadFiles(UploadService.java:298)
at
com.alexbbb.uploadservice.UploadService.handleFileUpload(UploadService.java:169)
at
com.alexbbb.uploadservice.UploadService.onHandleIntent(UploadService.java:139)
at
android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
On Thu, Mar 12, 2015 at 4:13 PM, idanbar134<EMAIL_ADDRESS>wrote:

Hey )
Thanks. i fixed it) have great day bro
On Thu, Mar 12, 2015 at 8:51 AM, foodyi<EMAIL_ADDRESS>wrote:

I just import java source code to my project,it works well.
—
Reply to this email directly or view it on GitHub
https://github.com/alexbbb/android-upload-service/issues/22#issuecomment-78431950
.

--
Idan Ayalon

--
Idan Ayalon

Hello Alex,
I'm trying to upload file to my server and i get an exception:
Error in upload with ID: 7a31894d-342e-4bfc-99be-4bbf4c0ae0c8. sendto failed: EPIPE (Broken pipe): java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:546)
at libcore.io.IoBridge.sendto(IoBridge.java:515)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:504)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:37)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
at com.android.okio.Okio$1.write(Okio.java:70)
at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at com.android.okio.RealBufferedSink.write(RealBufferedSink.java:44)
at com.android.okhttp.internal.http.HttpConnection$ChunkedSink.write(HttpConnection.java:334)
at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at com.android.okio.RealBufferedSink$1.write(RealBufferedSink.java:131)
at com.alexbbb.uploadservice.UploadService.uploadFiles(UploadService.java:290)
at com.alexbbb.uploadservice.UploadService.handleFileUpload(UploadService.java:163)
at com.alexbbb.uploadservice.UploadService.onHandleIntent(UploadService.java:133)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)

Hey Alex,
The problem solved thank
On Mar 4, 2015 12:37 PM, "Alex Gotev"<EMAIL_ADDRESS>wrote:

Are you using Android Studio?
Try Build > Clean Project
and then
Build > Rebuild Project
--
Reply to this email directly or view it on GitHub
https://github.com/alexbbb/android-upload-service/issues/22#issuecomment-77132725
.

@venvear and @idanbar134 please open a new issue if you experience a problem rather than posting in existing issues like this, which has nothing in common with your problem and only adds confusion :) Thank you!

@alexbbb  hi, I'm lost...
Error:Execution failed for task ':app:dexDebug'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2    I clean, build  but  the  issue  continue.

Right now, to use Upload Service in Android Studio, I've simply imported the source code and the manifest in a new Android library project. I'm considering to migrate the library in android studio and publish it to jCentral. Please check issue #10. I'm closing this issue as the answer given by @foodyi works also for me.
@aliceresponde I'm using a Mac also, and I think your problem has to do with your java system settings.


fixed some bug

如果set choice != 5 case5會冇辦法返去game menu，我捻唔到點set condition，補救方法可以係case 0加個彩蛋？

Changed return type of exit() to int, and do a condition check against the return value of it. If it is 0, change the choice to 1 so that the program can continue.


update README.md point to a more specific page

Signed-off-by: xichengliudui<EMAIL_ADDRESS>What this PR does / why we need it:
update README.md point to a more specific page
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

Hello contributor, thanks for submitting a PR for this project!
I am the bot who triggers "standard-CI" builds for this project.
As a security measure, I will not run automated tests on PRs that are not from white-listed contributors.
In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:

Type ci test please on this PR to trigger automated tests for it.
Type ci add to whitelist on this PR to trigger automated tests for it and also add you to the contributor white-list so that your future PRs will be tested automatically. ( keep in mind this list might be overwritten if the job XML is refreshed, for permanent whitelisting, please follow #3 option )
If you are planning to contribute to more than one project, maybe it's better to ask them to add you to the project organization, so you'll be able to run tests for all the organization's projects.

ci test please

@ovirt-infra Yes, I plan to continue to contribute to multiple projects. How can I join the project organization? easy to run test.

Hey @xichengliudui, thanks for your contribution!
I'm unsure if we want to replace the generic k8s url, but I like the idea of adding a link to the blog post. Can you change it so that it's an additional link?
And because this is a doc only change, there is no need to trigger CI :)

I didn't know that I didn't need a CI test because I submitted it for the first time. Sorry.


Add labels for missing media types

Adapt to mediatypes missing from Kolibri like 'h5p'.
Resolves #560

This is the query I did in Kolibri's kolibri manage shell to obtain all the media types:
In [1]: from kolibri.core.content.models import ContentNode

In [2]: k = next(f for f in ContentNode._meta.fields if f.attname == 'kind')

In [3]: k.choices
Out[3]:
(('topic', 'Topic'),
 ('video', 'Video'),
 ('audio', 'Audio'),
 ('exercise', 'Exercise'),
 ('document', 'Document'),
 ('html5', 'HTML5 App'),
 ('slideshow', 'Slideshow'),
 ('h5p', 'H5P'),
 ('zim', 'Zim'),
 ('quiz', 'Quiz'))

LGTM, confirmed by running the same kolibri command. I wonder if eventually it would be worth adding fallback code in the play button components, so that if no string or icon is available, it returns a generic icon and label. But this is a separate thought!

Good point, let me add that now that I'm near this code.

@GeorgesStavracas ready for review again. I also used the same icon for the new media types as the other "interact" types use.


Hydro traveller is missing

In the "Characters" tab, there's no Hydro traveler, even though it's already version 4.1

Version 4.5 drops tomorrow and still no Hydro Traveler lmao

Its 2024, Natlan is, still no Hydro Traveler ;-;


Add a README.md for Problem Of The Day | 14 January 2023

Comment below if you're interested in working on this issue and would like to be assigned to it.

Please assign this issue to me


Mismatch between macro name definitions

Looking through the master grammar I found that it accept names for macros with this definition:
https://github.com/BenHanson/gram_grep/blob/2a50c84fff154f8ea464ac06af52c565e3d23782/parser.cpp#L911-L912
But accepts a different name definition for it's usage:
https://github.com/BenHanson/gram_grep/blob/2a50c84fff154f8ea464ac06af52c565e3d23782/parser.cpp#L936-L937

Done


Trying to query ArtsData SPARQL end-point fails

Description of the problem
End-point: http://kg.artsdata.ca/sparql/
# Upcoming events in Artsdata.ca

PREFIX schema: <http://schema.org/>
SELECT DISTINCT  ?start ?status ?mode (sample(?label) as ?name)  (sample(?url) as ?webpage)
WHERE {
  ?e a schema:Event ;
     schema:startDate ?start ;
     schema:name ?label ;
     schema:url ?url ;
     schema:eventStatus ?status ;
     schema:eventAttendanceMode ?mode .
  FILTER(?start > '2022-08-10T01:47:07.569Z'^^xsd:dateTime)
}
GROUP BY ?start ?status ?mode
LIMIT 1000

This will trigger an error: « Unable to parse preview ».

From the console logs it seems the query didn't return a valid json string.
Exception::{}com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
Am looking into it

@antoine2711 The correct enpoint has to be provided which is http://kg.artsdata.ca/query not http://kg.artsdata.ca/sparql/
http://kg.artsdata.ca/sparql/ is used by the provided YASGUI user interface  while remote sparql clients use http://kg.artsdata.ca/query

@antoine2711 The correct enpoint has to be provided which is http://kg.artsdata.ca/query not http://kg.artsdata.ca/sparql/
http://kg.artsdata.ca/sparql/ is used by the provided YASGUI user interface while remote sparql clients use http://kg.artsdata.ca/query

Oups. Good catch. Thanks. Antoine

But still @WaltonG, we could improve the error message.
A.

@antoine2711 Since an error can be caused by any type exception  I think a generalised error message Unable to parse preview is ideal rather than displaying backend error message. Any suggestions ?


set date by calendar object

Hi
I want to set the date of RTC by calendar object. It seems that it doesn't have any lv_calendar_set_action function which then we can get the touched day number and decide to set it as the day of the date.
so now what should we do? Is there any other way to do this?

Hi,
lv_calendar is an "output object" right now and not supports touch and actions. However, it would be useful to add support for it! The contribution is very welcome in it. I kindly help if you want to add this feature.

OK. I'm ready and working on it.

Awesome! :)
These lines refer to the "buttons" on the header to change to the next/prev months.
To select a new day you should do something similar: search the pressed day, and change to it on release.
Note that the position of the days depends on the styles of the calendar. Maybe you should check draw_days function to see how the coordinates are calculated.

we call the lv_obj_invalidate function to redraw the object.
As much as I understand from codes, going to the next or previous month will happen on LV_SIGNAL_RELEASED.
So then why do we call  lv_obj_invalidate  in other places? for example in
        if(lv_area_is_point_on(&header_area, &p)) {
            if(p.x < header_area.x1 + lv_area_get_width(&header_area) / 2) {
                if(ext->btn_pressing != -1) lv_obj_invalidate(calendar);
                ext->btn_pressing = -1;
            } else {
                if(ext->btn_pressing != 1) lv_obj_invalidate(calendar);
                ext->btn_pressing = 1;
            }
        }

why it shouldn't be like this:
        if(lv_area_is_point_on(&header_area, &p)) {
            if(p.x < header_area.x1 + lv_area_get_width(&header_area) / 2) {
                ext->btn_pressing = -1;
            } else {
                ext->btn_pressing = 1;
            }
        }

When the next/prev buttons are pressed the invalidation is required to redraw with the pressed state.
Due to the invalidation, draw_header will be called and will draw the buttons with their current style (pressed/released).

you are right but here I don't see any changes between pressed and released state. I mean there is no pressed state of header button in default. do you mean we can set it in some other places?

The LV_CALENDAR_STYLE_HEADER and LV_CALENDAR_STYLE_HEADER_PR styles set the style of the arrows. So:

LV_CALENDAR_STYLE_HEADER gives the released arrow color and the header style
LV_CALENDAR_STYLE_HEADER_PR gives the style of the arrow (only style.text attributes are used)

By default, the pressed arrow should be a little bit grayer.

As the PR is merged I close this issue! #460
Thank you for the contribution!


Stable

Doneness:

[X] Build is okay - I made sure that this change is building successfully.
[ ] No Bugs - I made sure that this change is working properly as expected. It doesn't have any bugs that you are aware of.
[X] Branching - If this is not a hotfix, I am making this request against the master branch

DO NOT MERGE. Test fails. I'll check it later.


Add Warning about SQLite Limitations

I think it would be a good idea to add a warning with a link to the SQLite limitations towards the top of the documentation about Testing with SQLite.  What do you think?
My reason is, as the developer, I don't want to start the guide only to find out later on that I won't be able to use this w/o writing more code.
We have a fairly basic database, 25 tables, some PKs, Some FKs, nothing fancy but we do use schemas to organize stuff.  I probably wouldn't have started the guide if knew about this limitation.
Btw, I'm happy to make the edit to the docs 😃

Triage: Add more guidance about what provider to use for testing to: https://docs.microsoft.com/en-us/ef/core/miscellaneous/testing/


[Doc Improvement][SEO meta description update][3939747]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/bot-v3/bots-message-format.md
96
1
link
:white_check_mark:

msteams-platform/resources/bot-v3/bots-text-formats.md
92
2
link
:white_check_mark:

msteams-platform/resources/faqs.md
94
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/create-extensions.md
91
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/messaging-extensions-overview.md
94
3
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/search-extensions.md
90
36
link
:white_check_mark:

msteams-platform/resources/moodleInstructions.md
88
31
link
:white_check_mark:

msteams-platform/resources/schema/localization-schema.md
99
2
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema-dev-preview.md
83
131
link
:white_check_mark:

msteams-platform/resources/team-chat-member-api-changes.md
90
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/bot-v3/bots-message-format.md
96
1
link
:white_check_mark:

msteams-platform/resources/bot-v3/bots-text-formats.md
92
2
link
:white_check_mark:

msteams-platform/resources/faqs.md
94
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/create-extensions.md
91
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/messaging-extensions-overview.md
94
3
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/search-extensions.md
90
36
link
:white_check_mark:

msteams-platform/resources/moodleInstructions.md
88
31
link
:white_check_mark:

msteams-platform/resources/schema/localization-schema.md
99
2
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema-dev-preview.md
83
131
link
:white_check_mark:

msteams-platform/resources/team-chat-member-api-changes.md
90
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/bot-v3/bots-message-format.md
96
1
link
:white_check_mark:

msteams-platform/resources/bot-v3/bots-text-formats.md
92
2
link
:white_check_mark:

msteams-platform/resources/faqs.md
94
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/create-extensions.md
91
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/messaging-extensions-overview.md
94
3
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/search-extensions.md
90
36
link
:white_check_mark:

msteams-platform/resources/moodleInstructions.md
88
31
link
:white_check_mark:

msteams-platform/resources/schema/localization-schema.md
99
2
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema-dev-preview.md
83
131
link
:white_check_mark:

msteams-platform/resources/team-chat-member-api-changes.md
90
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/resources/bot-v3/bots-message-format.md
96
1
link
:white_check_mark:

msteams-platform/resources/bot-v3/bots-text-formats.md
92
2
link
:white_check_mark:

msteams-platform/resources/faqs.md
94
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/create-extensions.md
91
10
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/messaging-extensions-overview.md
94
3
link
:white_check_mark:

msteams-platform/resources/messaging-extension-v3/search-extensions.md
90
36
link
:white_check_mark:

msteams-platform/resources/moodleInstructions.md
88
31
link
:white_check_mark:

msteams-platform/resources/schema/localization-schema.md
99
2
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema-dev-preview.md
83
131
link
:white_check_mark:

msteams-platform/resources/team-chat-member-api-changes.md
90
8
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Update kusto.plist to include kql extension

It is very common to use also .kql for kusto scripts as seen at the az cli Documentation
--resource-group "kustorptest"
--workspace-name "kustoWorkspaceName"
--kusto-pool-name kustopooltest
--kusto-database-name kustodbtest
--file C:\samples\KqlScript.kql
--name "kustoScript1"
`

Thanks for contributing this, and sorry for the delay in me seeing it! I'll update the extension with this PR later today.


Gitmoji error generating changelog.md

The issue happens when I try to execute the maven command mvn jreleaser:changelog . The comand works fine, but the issue relies on the changelog.MD generated file. I already have the gitmoji preset value on my config.yml  and when changelog.md is generated, the emojis don' t appear, instead, it shows "?"
Did I miss any configuration?
Steps to Reproduce
create a repository on windows
Use maven configuration
Config the config.yaml
release:
  gitlab:
    enabled: true
    connectTimeout: 20
    readTimeout: 60
    owner: rminana
    host: http://git.odecgandia.es/rminana/jreleaseproject2
    username: rafa
    token: __DO_NOT_SET_HERE__
    apiEndpoint: http://git.odecgandia.es

    tagName: 1.0.4-SNAPSHOT
    previousTagName: 1.0.3-SNAPSHOT

    overwrite: true
    update:
      enabled: true
      sections:
        - ASSETS
    skipTag: false
    skipRelease: false
    sign: false
    branch: main
    uploadAssets: ALWAYS
    files: true
    artifacts: true
    checksums: true
    signatures: true

    identifier: 1411

    commitAuthor:
      name: rminana
      email<EMAIL_ADDRESS>

    # CHANGELOG CUSTOMIZATION

    changelog:
      formatted: ALWAYS
      preset: 'conventional-commits'
      format: '- {{commitShortHash}} {{commitTitle}}'

      hide:
        categories:
          - 'merge'

      labelers:
        - label: 'feature'
          title: 'Resolves #'
          body: 'Resolves #'
        - label: 'issue'
          title: 'Fixes #'
          body: 'Fixes #'
        - label: 'issue'
          title: 'Relates to #'
          body: 'Relates to #'
        - label: 'task'
          title: '[chore]'
      categories:
        - title: '🚀 Features'
          key: 'features'
          labels:
            - 'feature'
        - title: '✅ Issues'
          key: 'issues'
          labels:
            - 'issue'
        - title: '🧰 Tasks'
          key: 'tasks'
          labels:
            - 'task'
      replacers:
        - search: '\[chore\] '

Expected Behaviour
Show gitmojis on the final changelog.md
Actual Behaviour
Shows "?" instead of gitmojis icons
Environment Information

Just checking, do you see any emojis at all on the terminal? This is unrelated to CHANGELOG.md.
What happens if you open the file with another editor? Can you see the emojis?
Also, what's your current environment looking like?

Also FWIW your configuration shows the use of "conventional-commits", not gitmoji. Some default values are also explicitly configured which leads to more verbose configuration.

Hi @aalmiray, I can't see any emoji on the terminal, I also tried to open the CHANGELOG file with other editors but the issuestill remains. When it comes to generate the changelog with the comand with maven, my IDE (IntelliJ IDEA notifies me that UTF-8 is not the encoding format on the file, it suggests me windows-1252 encoding). As I see it, the problem may be caused by te ñ letter, maybe is not supported. Abut the conventional commits configuration, I also tried with gitmoji, but there was no result.

I see. File encoding should be set to UTF_8. I wonder if JReleaser should force that encoding for you.

Closing as there has been no further input.


⚠ St. Lawrence Global Observatory CKAN has degraded performance

In 0671434, St. Lawrence Global Observatory CKAN (https://catalogue.ogsl.ca/en/) experienced degraded performance:

HTTP code: 200
Response time: 10724 ms

Resolved: St. Lawrence Global Observatory CKAN performance has improved in e5c9d46 after 7 minutes.


Delegate main process to CLI object

WHY
WHAT
REF

Coverage increased (+1.7%) to 75.202% when pulling c02b5a1a1d294bb7b351d920f471f9a11b77c723 on izumin5210/cli into f420532c4339854efdd2416cb35bbd4a91d66fee on master.