Support for right to left language

Description
Support for right to left languages. Example translation file:
{
  "language": "ar",
  "languageDirection": "rtl",
  "id": "udir-elevundersokelsen-ar",
  "org": "udir",
  "resources": []
}

To test the code you will need to build the nuget package from these PR:
https://github.com/Altinn/altinn-storage/pull/70
Manual tests:
I have tested some, but not all components. All components used by Elevundersøkelsen is tested. Other apps should not be impacted by this upgrade. Some screen shots from tests (Some translation are not added):
Left to right example 1:

Right to left example 1:

Left to right example 2:

Right to left example 2:

Related Issue(s)

#473

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

The proposed extra metadata in the resources.xx.json file is a bit unfortunate. We are intending to make a change to the structure of this file, so that the end result is a flat key/value structure with the content of the resources array.
{
  "language": "ar",
  "languageDirection": "rtl",
  "id": "udir-elevundersokelsen-ar",
  "org": "udir",
  "resources": []
}

We already should know the language code, so from that info we should be able to tell if the language is RTL or LTR, unless I have missed something. I dont really have any experience with RTL languages, so that may very well be the case 😅

As a slightly unrelated sidenote/observation/question, I cannot remember having seen the id or org fields in a resource file before - what are those fields used for?

The proposed extra metadata in the resources.xx.json file is a bit unfortunate. We are intending to make a change to the structure of this file, so that the end result is a flat key/value structure with the content of the resources array.
{
  "language": "ar",
  "languageDirection": "rtl",
  "id": "udir-elevundersokelsen-ar",
  "org": "udir",
  "resources": []
}

We already should know the language code, so from that info we should be able to tell if the language is RTL or LTR, unless I have missed something. I dont really have any experience with RTL languages, so that may very well be the case 😅

Da kan jeg endre til at frontend finner ut om det rtl basert på en liste med predefinert liste av språk. Fant denne listen online: https://lingohub.com/academy/best-practices/rtl-language-list

As a slightly unrelated sidenote/observation/question, I cannot remember having seen the id or org fields in a resource file before - what are those fields used for?

This could be some extra fields we by mistake have added 😅

@haakemon I am not sure why the cypress tests are failing and i don't have the cypress test app locally to debug it (where can i clone the test app?). I see that the formatting test is testing text-align property, maybe that is an issue 😟

@lasseklovstad regarding the cypress tests, its located here https://github.com/Altinn/app-frontend-react/tree/main/test/cypress, and by following the readme you should hopefully get it up and running. If not, let me know what you get stuck on and we can improve the docs together 🙂
Looking at the summary of the cypress testrun, it seems to be failing when checking formatting of numbers, so hopefully that may give you a clue: https://github.com/Altinn/app-frontend-react/actions/runs/3061478165/jobs/4941293976#step:7:458
If you get totally stuck, just let me know and I'll try and help out

@haakemon Da har jeg refakturert såpass bra at cypress testen fikk lyst til å fungere uten at jeg trengte å gjøre noe 😄
Det er som nevnt noe margin og padding som ikke reverseres, men er ikke krise i første omgang (tenker jeg). Så lenge man husker på å kunne støtte RTL så vil dette ordne seg med nytt design system og mui blir fjernet i fremtiden.


Tomb Raider 3 Support

Feel Free to close this if you do not have the time but I was wondering if there was any way to test support for Tomb Raider 3 or maybe 4?

I just tested Tomb Raider 3.  It uses Direct3D version 2, which dxwrapper does not have good support for yet.

I tested this game and the issue is that the textures in this game are all blank.  I enabled DdrawFillSurfaceColor and you can see that the game is working, but all the textures are blank.  I need to figure out why the game is not able to load the correct texture here.

Ok. Tomb Raider 3 should be working with the latest build:  dxwrapper.zip

This build should fix all issues I could find with Tomb Raoder 3: dxwrapper.zip

This is fixed with the latest release. You can reopen it if you are still having issues.


How to install

Hi, sorry for that generic question,
but I'm new to abap development and would like to try out your plugin, but have no Idea what to do with this repo.
Is there any guide on how to install this in to the backend?
Thanks.

Hi @wojoeraf,
This repository is to be installed with the help of abapGit. Please consult the following guide to install abapGit. On the same page, you will also find instructions on how to install an abapGit repository like this one.
Hope this helps
Regards
Ludwig
P.S.: choose the correct branch for your SAP NetWeaver version, otherwise you may not be able to fully activate all the objects in the repository


Disallow using sr25519 addresses for evm send and other funcs

Describe your changes and provide context
Similar to https://github.com/sei-protocol/sei-cosmos/pull/495/files, priv, err := legacy.PrivKeyFromBytes([]byte(localInfo.PrivKeyArmor)) only works with secp256k1 algo, so we should disallow using sr25519 addresses
Testing performed to validate your change
root@ip-172-31-4-247:/home/ubuntu/sei-chain# printf "12345678\n" | seid tx evm send 0xF87A299e6bC7bEba58dbBe5a5Aa21d49bCD16D52<PHONE_NUMBER>00000000 --from sei-foundation
Error: can only use addresses using secp256k1

Codecov Report
Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 61.10%. Comparing base (28c621d) to head (50a4977).

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1605      +/-   ##
==========================================
- Coverage   61.11%   61.10%   -0.01%
==========================================
  Files         365      365
  Lines       26104    26107       +3
==========================================
  Hits        15953    15953
- Misses       9148     9149       +1
- Partials     1003     1005       +2

Files
Coverage Δ

evmrpc/utils.go
76.04% <0.00%> (-1.21%)
:arrow_down:

... and 4 files with indirect coverage changes


Where is the Log file?

According to settings.py, it looks like the log file will be output,
Where can i find the exported log file?
mac os M1 max
Sonoma 14.3.1

PLUGIN_LOGS_DIR_PATH: Path = Path(os.environ["PLUGIN_LOGS_DIR_PATH"])
PLUGIN_NAME: str = os.environ["PLUGIN_NAME"]

LOG_FILE_PATH: Path = PLUGIN_LOGS_DIR_PATH / Path(f"{PLUGIN_NAME}.log")
LOG_LEVEL: int = logging.DEBUG

IMAGE_SIZE = 144
LOREM_FLICKR_URL = "https://loremflickr.com"

I want to use pyautogui when I have it keydown, but after adding just a few lines, the exclamation mark appears all the time from the icon.
The readme says it's because it hasn't finished loading, but I'm wondering if it could be due to some other issue. I would like to read the error log for that.
import requests
from streamdeck_sdk import (
    StreamDeck,
    Action,
    events_received_objs,
    events_sent_objs,
    image_bytes_to_base64,
    logger,
)

import settings

import pyautogui

class LoremFlickrError(Exception):
    pass

def get_image_from_lorem_flickr(
        category: str,
        union_type: str = "or",
        grayscale_flag: bool = False,
        timeout: float = 5,
) -> str:
    url = settings.LOREM_FLICKR_URL
    if grayscale_flag:
        url += "/g"
    url += f"/{settings.IMAGE_SIZE}/{settings.IMAGE_SIZE}/{category}"
    if union_type == "and":
        url += "/all"
    logger.info(f"{url=}")
    response = requests.get(url, stream=True, timeout=timeout)
    if not response.ok:
        raise LoremFlickrError(f"Bad response. Status code: {response.status_code}")
    image_binary = response.content
    image_mime = response.headers["Content-Type"]
    image_base64 = image_bytes_to_base64(obj=image_binary, image_mime=image_mime)
    return image_base64

class SetKeyImage(Action):
    UUID = "com.ggusev.loremflickr.setkeyimage"

    def on_key_down(self, obj: events_received_objs.KeyDown):
        screenWidth, screenHeight = pyautogui.size()
        category = obj.payload.settings.get("category", screenWidth)
        union_type = obj.payload.settings.get("union_type", "or")
        grayscale_flag = obj.payload.settings.get("grayscale_flag", False)

        logger.info(f"{category=}, {union_type=}, {grayscale_flag=}")
        try:
            image_base64 = get_image_from_lorem_flickr(
                category=category,
                union_type=union_type,
                grayscale_flag=grayscale_flag,
            )
        except Exception as err:  # noqa
            logger.error(str(err))
            self.show_alert(context=obj.context)
            return

        self.set_image(
            context=obj.context,
            payload=events_sent_objs.SetImagePayload(
                image=image_base64,
                target=0,
                state=obj.payload.state,
            )
        )

if __name__ == '__main__':
    StreamDeck(
        actions=[
            SetKeyImage(),
        ],
        log_file=settings.LOG_FILE_PATH,
        log_level=settings.LOG_LEVEL,
        log_backup_count=1,
    ).run()

    print("hello")

@KazukiOmata Hello, the log files is located in the directory of the plugin installed in Stream Deck.
Example for Mac OS: /Users/gri-gus/Library/Application Support/com.elgato.StreamDeck/Plugins/com.ggusev.loremflickr.sdPlugin/logs/
init.log: log of the initialization of the project (creating venv, installing dependencies, etc.).
com.ggusev.loremflickr.sdPlugin.log: log of the plugin and the libraries that are used in it.

@gri-gus
Hello,
thank you for answering. I found the log file init.log.
maybe, com.ggusev.loremflickr.sdPlugin.log was not generated yet.
I checked the contents of venv and noticed that pyatuogui was not pip installed.
I fixed requirements.txt and it works fine.
thank you very much

@gri-gus
Am I correct that init.py is only called the first time I load the plugin?
and, Is it possible to turn this python into an executable file?
I would like to be able to use the streamdeck plugin on machines that do not have python natively installed, such as M1 macs.

@KazukiOmata
How does it work?
Stream Deck does not have the ability to run Python files, but it does have the ability to run .bat and .sh files.
But it all starts with the manifest.json file, which contains "CodePathMac": "run.sh" and "CodePathWin": "run.bat". These are scripts that are run depending on the system.
Files run.sh for MacOS or run.bat for Windows: startup scripts, entry points. They set environment variables, check whether Python is installed (if not, an error window pops up), and run the init.py script. Based on the result from init.py, if everything is fine, then the main.py file is launched and the plugin is launched, and if not, then an error window pops up. This happens every time you restart the Stream Deck application and when you reinstall/update the plugin.
What is the init.py file? This is a script that is responsible for the virtual environment and dependencies. Why can't we immediately add venv to the built version of the plugin? Because a user with a system/hardware different from the one on which venv was made may encounter compatibility problems. Therefore, for Python, everyone should have their own virtual environment for each project. The init.py file is responsible for creating the virtual environment, installing dependencies from requirements.txt, and checking that everything is installed correctly. It also runs every time you restart the Stream Deck application and when you reinstall/update the plugin. But if the virtual environment has already been created and the dependencies are installed, then init.py simply checks that everything is installed correctly.
Later, the main.py file comes into play, which contains the plugin logic.
Answers on questions.
Am I correct that init.py is only called the first time I load the plugin?
Not entirely true. It is called every time the Stream Deck application is restarted and when the plugin is reinstalled/updated, but if the virtual environment has already been created and the dependencies are installed, then init.py simply checks that everything is installed correctly.
Is it possible to turn this Python into an executable file?
I would like to be able to use the streamdeck plugin on machines that do not have Python natively installed, such as M1 macs.
In theory it is possible, but I have not done this. In this case, if everything works out, you will need to specify it in manifest.json and build the plugin. But other users may encounter Python libs compatibility issues.

Hello
if main.py call send_to_property_inspector() like below
main.py

        self.send_to_property_inspector(
            action=self.UUID,
            context=obj.context,
            payload=_payload
        )

How Property inspector does receive payload data?
your sample project doesn't contain like that code?

@KazukiOmata
How to use documentation if there is none?
Let's look at an example of how the self.send_to_property_inspector method works.
Let's look at the documentation from Elgato:
Here is the object sent from the plugin when calling self.send_to_property_inspector: click
Here is the resulting object in the Property inspector when calling self.send_to_property_inspector: click
Here is the method source code for the self.send_to_property_inspector method:
def send_to_property_inspector(
         self,
         action: str,
         context: str,
         payload: dict
):
     message = events_sent_objs.SendToPropertyInspector(
         action=action,
         context=context,
         payload=payload
     )
     self.send(message)

As we can see, it accepts function parameters and transfers them to the object events_sent_objs.SendToPropertyInspector:
class SendToPropertyInspector(BaseModel):
     action: str
     context: str
     payload: dict
     event: str = "sendToPropertyInspector"

Next in the method self.send the pydantic object is converted to json and sent to Property Inspector.
What is payload?
It's any dict you want. But there is a condition, it must be convertible to json.
Answers on questions.
How Property inspector does receive payload data?
To answer this question, you need to look at the source code streamdeck-javascript-sdk. As I understand, in their sdk there is a method onSendToPropertyInspector and most likely it should be used like this:
$PI.onSendToPropertyInspector("com.ggusev.keyboard.write", jsn => {
     payload = jsn.payload; // I'm not sure about this, you need to test it
     ...
});

Instead of "com.ggusev.keyboard.write" you need to substitute the name of your action.


Add tests to cover changes in #30576

Description:
$title.
Describe your task(s)
Related Issues (optional):
#30576

No longer valid, since we've removed TaintAnalyzer. ref:#30981


Make canonical chain materialized view more efficient

Confirmation

[X] I have checked for similar issues.

Problem
There is good news and bad news.
Bad news
The btc_blocks_can materialized view is scaling inefficiently.  We're at about 237k blocks and it takes roughly ~2.5 seconds to finish.
Good news
This materialized view, thanks to #120 , only gets refreshed when processing a new btc block (it does not get processed in request/responses).
This is still not great, but can be made better.  I believe the correct approach here is to make the query more efficient.
Suggested solution
Given the current query plan
                                                                                QUERY PLAN
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 CTE Scan on bb  (cost=14558.58..14561.20 rows=131 width=72) (actual time=77.295..2761.650 rows=237755 loops=1)
   CTE bb
     ->  Recursive Union  (cost=12725.27..14558.58 rows=131 width=122) (actual time=77.293..2630.715 rows=237755 loops=1)
           ->  Index Scan using height_idx on btc_blocks btc_blocks_2  (cost=12725.27..12733.29 rows=1 width=122) (actual time=77.289..77.291 rows=1 loops=1)
                 Index Cond: (height = $1)
                 InitPlan 1 (returns $1)
                   ->  Aggregate  (cost=12724.84..12724.85 rows=1 width=8) (actual time=77.273..77.275 rows=1 loops=1)
                         ->  GroupAggregate  (cost=0.42..12709.97 rows=1190 width=16) (actual time=0.022..67.273 rows=237746 loops=1)
                               Group Key: btc_blocks.height
                               Filter: (count(*) = 1)
                               Rows Removed by Filter: 5
                               ->  Index Only Scan Backward using height_idx on btc_blocks  (cost=0.42..8544.88 rows=238005 width=8) (actual time=0.017..20.721 rows=237756 loops=1)
                                     Heap Fetches: 13091
           ->  Nested Loop  (cost=9.34..182.40 rows=13 width=122) (actual time=0.009..0.010 rows=1 loops=237751)
                 ->  WorkTable Scan on bb bb_1  (cost=0.00..0.20 rows=10 width=40) (actual time=0.000..0.000 rows=1 loops=237751)
                 ->  Bitmap Heap Scan on btc_blocks btc_blocks_3  (cost=9.34..18.21 rows=1 width=122) (actual time=0.008..0.008 rows=1 loops=237755)
                       Recheck Cond: ((substr(bb_1.header, 5, 32) = hash) OR (hash = (SubPlan 2)))
                       Filter: (((substr(bb_1.header, 5, 32) = hash) AND (bb_1.height > height)) OR (hash = (SubPlan 2)))
                       Heap Blocks: exact=237754
                       ->  BitmapOr  (cost=9.34..9.34 rows=2 width=0) (actual time=0.008..0.008 rows=0 loops=237755)
                             ->  Bitmap Index Scan on btc_blocks_hash  (cost=0.00..4.43 rows=1 width=0) (actual time=0.003..0.003 rows=1 loops=237755)
                                   Index Cond: (hash = substr(bb_1.header, 5, 32))
                             ->  Bitmap Index Scan on btc_blocks_hash  (cost=0.00..4.91 rows=1 width=0) (actual time=0.001..0.001 rows=1 loops=237755)
                                   Index Cond: (hash = (SubPlan 2))
                                   SubPlan 2
                                     ->  Limit  (cost=0.42..0.48 rows=1 width=41) (actual time=0.003..0.003 rows=1 loops=237828)
                                           ->  Index Scan using height_idx on btc_blocks btc_blocks_1  (cost=0.42..4588.11 rows=79335 width=41) (actual time=0.003..0.003 rows=1 loops=237828)
                                                 Index Cond: (height < bb_1.height)
 Planning Time: 0.257 ms
 Execution Time: 2779.645 ms
(30 rows)

it seems that the largest inefficiency is here
Index Scan using height_idx on btc_blocks btc_blocks_2  (cost=12725.27..12733.29 rows=1 width=122) (actual time=78.338..78.340 rows=1 loops=1)
                 Index Cond: (height = $1)
                 InitPlan 1 (returns $1)
                   ->  Aggregate  (cost=12724.84..12724.85 rows=1 width=8) (actual time=78.321..78.323 rows=1 loops=1)
                         ->  GroupAggregate  (cost=0.42..12709.97 rows=1190 width=16) (actual time=0.021..68.294 rows=237746 loops=1)
                               Group Key: btc_blocks.height
                               Filter: (count(*) = 1)
                               Rows Removed by Filter: 5
                               ->  Index Only Scan Backward using height_idx on btc_blocks  (cost=0.42..8544.88 rows=238005 width=8) (actual time=0.017..20.868 rows=237756 loops=1)

which I believe comes from getting the "highest" block where there exists only one at that height (i.e. the tip)
SELECT MAX(height) as height
				FROM __highest
				WHERE c = 1
....
__highest AS (
			SELECT height, count(*) AS c
			FROM btc_blocks
			GROUP BY height
		)

if this is the issue, find a better way to determine the tip, remembering our business logic here:
We define the tip as the highest block with a count of 1 at that height.
Additional Information
No response

closing in favor of #135


Add link to developer docs in contributing.md

@enahum Please help merge if that looks okay? I don't have permissions.


[Draft][TIR][Schedule] Transform layout quality of life

Draft PR, seeing whether some of the TE-specific interface features can be pulled over into the TIR-based schedules.  These are implemented as Schedule.transform_layout_sugared, which wraps around the existing Schedule.transform_layout.

Specify buffer by name, rather than by access_type/index.
Optional specify block by name, rather than needing a separate call to Schedule.get_block.
Enable *args in the index mapping function.

Additional things to add:

Allow AXIS_SEPARATOR in the index mapping function, delegate to Schedule.set_axis_separators

@vinx13 A draft of some ease-of-use changes I'd been experimenting with this afternoon.  These are python-only, and unpack to the same C++ calls, so it (hopefully) shouldn't cause issues elsewhere.

This is super cool, thanks for the PR. Shall we consider the naming with details of what's being sugared. For example, axis_separators are related to physical layout, do you think something like transform_to_physical_layout would be more meaningful? Feel free to come up with better names

I'd definitely be up for a better name, as transform_layout_sugared definitely leaves the reader uncertain what is being done.  My one concern with having a completely different name is that it may not be clear to a reader that this is the same underlying schedule primitive in C++.
Another alternative would be to merge this as the input handling of Schedule.transform_layout.  There's already some handling, such as the conversion from Callable to IndexMap, so this would be similar python-only handling.  This would also avoid the issue of having multiple functions that aren't immediately obvious as wrappers around each other.

#11289 should resolve the type-checking annotation issue with Tuples, if we want to go forward with the other changes here.

Current CI failures due to Scipy URL change, should restart CI after #11399 lands.

CI failure this time was due to CUDA version in Docs: GPU.  Looks like the docker image was recently updating, merging main into the dev branch and retriggering CI.

Retriggering CI following #11456.


GoogleMaps plugin: avoid reload of the current gpx track loaded

The reload of the same gpx file can cause issues when using reset="true" in configuration file

@bbaudel-gpsw I updated the reset method of each plugin, let me know if it's okay with you.


Property description are missing

Hello,
First of all I´m not 100% sure if I understand it correctly:
Before you had a called "Model" in Swagger, here an example from an API which is available in the internet:

And now it called "Schema" ?

What I´m missing in the "Schema" are the "description", "possible values", "examples..." etc.
I´m trying to do this:
@ApiModel(value = "Customer", description = "Model for Customers")
public class SalutationDto {

	@ApiModelProperty(value = "Number for the customer")
	private String customerNumber;

I´ve tried also that:
@Schema(description = "Model for Customers")
public class SalutationDto {

	@Schema(value = "Number for the customer")
	private String customerNumber;

But it will be not considered in the Swagger UI / in the swagger.json....

I´m using those libs:
<dependency>
			<groupId>io.swagger.core.v3</groupId>
			<artifactId>swagger-jaxrs2</artifactId>
			<version>2.1.9</version>
		</dependency>
		<dependency>
			<groupId>io.swagger.core.v3</groupId>
			<artifactId>swagger-jaxrs2-servlet-initializer-v2</artifactId>
			<version>2.1.9</version>
		</dependency>

Any idea what is wrong?

you are using Swagger Core 2.x (2.1.9) so you need 2.x Annotations (e.g. @Schema), please check wiki.
Also your UI result seems to refer to a different schema (CustomerDTO) than the one annotated

Unfortunatelly it´s not working for me:
I´ve tried that:
@Schema(name="Customer",  description = "Model for Customer")
public class CustomerDto {

	@Schema(description = "Number from the customer", example = "123456")
	private String customerNumber;

But seems not visible:

Ok, found it... I have to add it in the jax-rs function like this:
	@Path("/")
	@Produces(MediaType.APPLICATION_JSON)
	@Operation(summary = "Get customers", description = "Get list of customers", responses = {

			@ApiResponse(responseCode = "200", description = "Successful, returning the value", content = @Content(mediaType = MediaType.APPLICATION_JSON, schema = @Schema(implementation = CustomerDto.class))),
			@ApiResponse(responseCode = "401", description = "Authentication required"),
			@ApiResponse(responseCode = "404", description = "Not found"),
			@ApiResponse(responseCode = "500", description = "Internal Server Error")
	})

	public Response findAllCustomers(@Context HttpServletRequest request,
			@HeaderParam(ConstantsWebservice.X_API_KEY) String apiKey,
			@DefaultValue(ConstantsWebservice.STARTING_AT_DEFAULT) @QueryParam(ConstantsWebservice.STARTING_AT) int startingAt,
			@DefaultValue(ConstantsWebservice.ENDING_AT_DEFAULT) @QueryParam(ConstantsWebservice.ENDING_AT) int endingAt,
			@DefaultValue(ConstantsWebservice.LIMIT_DEFAULT) @QueryParam(ConstantsWebservice.LIMIT) int limit) {

Thanks for your help


HTTPSConnectionPool(host='www.google.com', port=443): Read timed out. (read timeout=None)

See this error in Logs. I have no proxy, VPN. Direct Internet.
Expected Result
No errors
Actual Result
Log Details (ERROR)
Wed Apr 25 2018 17:13:39 GMT+0300 (RTZ 2 (зима))
Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.6/ssl.py", line 1009, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.6/ssl.py", line 871, in read
return self._sslobj.read(len, buffer)
File "/usr/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
TimeoutError: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 389, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 320, in _raise_timeout
raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='www.google.com', port=443): Read timed out. (read timeout=None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/device_tracker/google_maps.py", line 67, in _update_info
for person in self.service.get_all_people():
File "/usr/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 292, in get_all_people
return self._get_data()
File "/usr/lib/python3.6/site-packages/cachetools/init.py", line 46, in wrapper
v = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/locationsharinglib/locationsharinglib.py", line 281, in _get_data
response = self._session.get(url, params=payload)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 521, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.6/site-packages/requests/adapters.py", line 521, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='www.google.com', port=443): Read timed out. (read timeout=None)
Reproduction Steps
import requests

System Information
Home Assistant
0.67.1

Hi @allmoney, google isn’t responding in time which is why you’re getting a timeout. If you’re positive you’re not behind a vpn or proxy, I’d suggest following up with HomeAssitant first. There isn’t anything here that suggests a defect in Requests.

I met the question too, can you tell us how to solve this problem?


Adapt to PyTorch 2.0 version

Type of Change
Adapt to PyTorch 2.0 version
No API changed
Description
Since PyTorch 2.0 changed some quantization API name, so we need to change code to adapt to it.
JIRA ticket: #2762
Expected Behavior & Potential Risk
quantization successful with PyTorch 2.0.
How has this PR been tested?
Local tested

/Azurepipeline run UT-Basic

extension test


spelling issue in repository labels

Labels have incorrect spelling it should say hacktoberfest not hactoberfest.

How can I help you on this? Has the spelling changes have been made?

Issue resolved closing this


Updating instructions to make them easier to follow and implement

There were several pieces of this article that did not work well for someone following instructions, such as brackets (<>) around values that broke expressions, and also there was no guidance given for the options when creating new inbound and outbound synchronization rules when syncing altternativeSecurityId. This should make the article easier for someone to go through and implement the changes.

@Justinha - can you review the proposed changes?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off @pamcdo thanks so much!


Reduced locks; return all blocks on threadpool

+2.2% RPS
Before

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     7.33ms   17.59ms 405.46ms   96.27%
Req/Sec    64.45k    12.84k  285.58k    95.19%
61601385 requests in 30.10s, 7.57GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2046559.00
Transfer/sec:    257.63MB

After

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     6.75ms   14.52ms 317.89ms   95.90%
Req/Sec    65.88k    13.12k  296.29k    95.27%
62983504 requests in 30.10s, 7.74GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2092477.44
Transfer/sec:    263.41MB

@benaadams How consistent is your +2.2% RPS improvement. I'm not seeing it. Here are my results:
Baseline
Running 15s test @ http://<IP_ADDRESS>:5001/plaintext
  32 threads and 256 connections
  Thread Stats Avg      Stdev Max   +/- Stdev
Latency     5.80ms   17.00ms 249.43ms   93.34%
    Req/Sec    33.34k     2.20k   57.17k    77.32%
  15991564 requests in 15.10s, 1.97GB read
Requests/sec: 1059041.87
Transfer/sec:    133.32MB

Running 15s test @ http://<IP_ADDRESS>:5001/plaintext
  32 threads and 256 connections
  Thread Stats Avg      Stdev Max   +/- Stdev
Latency     7.45ms   21.99ms 275.67ms   93.93%
    Req/Sec    33.27k     2.48k   64.91k    79.76%
  15951890 requests in 15.10s, 1.96GB read
Requests/sec: 1056468.96
Transfer/sec:    132.99MB

Running 15s test @ http://<IP_ADDRESS>:5001/plaintext
  32 threads and 256 connections
  Thread Stats Avg      Stdev Max   +/- Stdev
Latency     5.26ms   15.34ms 564.73ms   93.62%
    Req/Sec    33.09k     2.47k   56.42k    82.68%
  15874838 requests in 15.10s, 1.95GB read
Requests/sec: 1051359.66
Transfer/sec:    132.35MB

Merged (benaadams/less-locks)
Running 15s test @ http://<IP_ADDRESS>:5001/plaintext
  32 threads and 256 connections
  Thread Stats Avg      Stdev Max   +/- Stdev
Latency     4.80ms   14.29ms 458.54ms   94.09%
    Req/Sec    32.87k     2.69k   78.74k    92.08%
  15743555 requests in 15.10s, 1.94GB read
Requests/sec: 1042681.82
Transfer/sec:    131.26MB

Running 15s test @ http://<IP_ADDRESS>:5001/plaintext
  32 threads and 256 connections
  Thread Stats Avg      Stdev Max   +/- Stdev
Latency     3.21ms    7.80ms 246.94ms   97.32%
    Req/Sec    32.89k     1.86k   59.79k    89.33%
  15773770 requests in 15.10s, 1.94GB read
Requests/sec: 1044694.97
Transfer/sec:    131.51MB

Running 15s test @ http://<IP_ADDRESS>:5001/plaintext
  32 threads and 256 connections
  Thread Stats Avg      Stdev Max   +/- Stdev
Latency     4.08ms   11.60ms 254.96ms   95.84%
    Req/Sec    32.85k     2.35k   73.91k    88.72%
  15746137 requests in 15.10s, 1.94GB read
Requests/sec: 1042768.91
Transfer/sec:    131.27MB

Hmm; lets leave this for now then - threadpool


Use service API to get topo cache

Resolves #2832

Add issue about tracking class local exceptions through inheritance rather than through error message strings which may change.
Create a "legacy-dev" branch prior to merging this PR since it will be the first time we require the GEOPM service to get basic functionality
Fix up missing doxygen and unit tests as specified in comments.


Make an application server

How can we Generate MQTT certificate and also make The MQTT integration forwards events to a MQTT broker.
when I push the "Generate certificate" I have this error:
Read gateway ca_cert: No such file or directory (os error 2)

thank you for your help, But I have this problem with this docs :
In the chirpstack.toml I can't find the [gateway] section and also [integration.mqtt.client] section

https://www.chirpstack.io/docs/chirpstack/configuration.html#example-chirpstacktoml-configuration


Global "use strict" false positive

TSLint says "use strict" is missing in the following code:
"use strict";

module A { // Complains here
}

The "use strict" goes inside the module block.
module A {
    "use strict";
}

This behaviour is consistent with check-function.
// fails
"use strict";
function foo() {}

// passes
function foo() {
 "use strict";
}

well, we should probably still find a way to make this work if users don't want to use internal modules (which are now called namespaces)

use-strict was removed in TSLint 4.0.0. That makes this issue obsolete


EC2 tag UI issues

Rancher versions: v1.6.8-rc5
Results:

[x] Rename Tags (EC2) to EC2 Tags

[x] Add more space between Tags section and IAM Profile sections

[x] Make the Tags section full width like Labels is below it

[x] Should not allow comma in the EC2 Tag sections (no commas in Tag or Value sections)

Version - v1.6.8-rc6
Verified fixed


for the people error occured about "pip install -v -e ."

I used cuda 11.7 torch 1.10 (stable version)
but I got error in that version
i reinstall torch 1.7.1 version not cuda change
it's not stable version torch and cuda but it's working !!!!

sorry.. it's reinstall torch 1.1.0 in pip install -v -e .

you can approach in docker ubuntu
and you have to install conda and it will resolve

Is there some solution to this issue ?

不要按照这个安装环境，直接按照mmdetetction的安装环境再运行pip install - v - e .


Error "No appropriate version found" when installing

"No appropriate version found" error notice when trying to install from Community Plugins list and plugin fails to install.
With BRAT it's fine - no errors, installation successful, settings page is available.
I am unsure what is this about, since there are no new messages in devtools console when installing this plugin via Community Plugins list.

Thank you for reporting this bug. I have now fixed the issue.


nullable string parameters

Some Gtk functions take string parameters that can be null, such as the one below.
GtkWidget * gtk_frame_new (const gchar *label);

Creates a new GtkFrame, with optional label label . If label is NULL, the label is omitted.

In the above case we are unable to omit/disable the label widget, as we are unable to pass NULL to the C function.
Gobbi's implementation currently does'nt take into account the nullable string parameters.
func FrameNew(label string) *Frame {
	c_label := C.CString(label)
	defer C.free(unsafe.Pointer(c_label))

	retC := C.gtk_frame_new(c_label)
	retGo := FrameNewFromC(unsafe.Pointer(retC))

	return retGo
}

The Gotk3 library handles this correctly.
func FrameNew(label string) (*Frame, error) {
	var cstr *C.char
	if label != "" {
		cstr = C.CString(label)
		defer C.free(unsafe.Pointer(cstr))
	}
	c := C.gtk_frame_new((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapFrame(obj), nil
}

The Gir files do indicate nullable parameters (nullable="1"). So code generation should be possible.
<parameter name="label"
           transfer-ownership="none"
           nullable="1"
           allow-none="1">
  <doc xml:space="preserve">the text to use as the label of the frame</doc>
  <type name="utf8" c:type="const gchar*"/>
</parameter>

Would appreciate if you could get this working and a possible workaround if possible until then :)

I'm not sure that treating an empty string as a special case is the best approach. It may work for gtk_frame_new, but perhaps there are other situations were it wouldn't have the desired effect?
Maybe a better approach would be honour the nullable attribute in the in api, and stay closer to the C function signature.
So the signature would change from
FrameNew(label string) *Frame

to
FrameNew(label *string) *Frame

Maybe a better approach would be honour the nullable attribute in the in api, and stay closer to the C function signature.

I agree. This indeed would be a better approach.


Add link to new ICS file

Add link to the new ICS file staged in scitt-community/scitt-web#23.
NOTE: Do not merge until the issue ☝ is reviewed and merged. If not merged and deployed to website, do not approve this PR, do not merge.

@SteveLasker with the related blocking PR merged can we do this one too.


77/112 themes do not use filter |raw

After again a post on the forum from someone bumping into a theme which does not use filter |raw, I decided to run a quick test on all themes.
It seems that 77 themes out of 112 do not use filter |raw on {{ *.content }}, {{ *css() }}, or {{ *js() }}.

Of these, 56 do not use the filter on assets.
And consider that the Grav team hosts 36 themes, which I guess are all updated...

Is there some way to:

Notify developers that their theme needs to be updated?
Notify users that these themes are outdated and will not work correctly without intervention?
Add a warning banner to these themes in the theme repository?

They can still be used, though. Those themes just need some configuration changes to work.

True, they can be used with some config changes, however, many users picking a theme are new users who are not aware of auto-escaping and have no clue how to fix it.
Or do we want to:

warn the user upfront about the compatibility issue
offer the steps how to fix it
and explain why the fix is a security risk

To fix themes I put |raw in all lines like:
{{ page.content|raw }}
{{ assets.*|raw }}


🐛 ANDROID: 3.9.0-beta.3 stop recording with flash -  app shutdown

What's happening?

Reproduceable Code
demo app

Relevant log output
nothing

Camera Device
nothing

Device
android 13
VisionCamera Version
3.9.0-beta.3
Can you reproduce this issue in the VisionCamera Example app?
I didn't try (⚠ your issue might get ignored & closed if you don't try this)
Additional information

[X] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

maybe is problem on ios..but i dont know..

Author did not post required information, closing issue.

Created a PR for this anyways sicne I know how to fix it: https://github.com/mrousavy/react-native-vision-camera/pull/2548


Design Issue - Brainstorm and Conceptualize Different Offers for Customer Attraction

Description:
This design issue is raised to facilitate a collaborative brainstorming session within the team to generate innovative and attractive offers for the salon website. The objective is to create enticing and appealing offers that not only attract customers but also align with the salon's brand positioning. The outcome of this brainstorming will serve as the foundation for crafting effective promotional content.
Tasks:

Initiate a collaborative brainstorming session involving team members from marketing, sales, and design.
Explore various promotional offers that can be presented to customers, considering both tangible and experiential benefits.
Ensure that the proposed offers align with the salon's brand identity and resonate with the target audience.
Document the brainstormed ideas and concepts for further discussion and refinement.

Added new offers and complimentary offers as well to attract new customers and also integrate methods of persuation


instanceof?

Now that objects are returned from Symbol(), could we make Symbol() instanceof Symbol be false, but Object(Symbol()) instanceof Symbol be true? It'd require wrapping Object itself, and some prototype chain reorganization so that {} instanceof Object remained true, but it should be doable. You maybe could even make Symbol() instanceof Object be false, but that's probably harder.

wrapping the Object ... doesn't seem to be a very good idea to me, not sure for which concrete gain. I will think about it.
P.S. right now Symbol() instanceof Symbol already returns false

True enough - added that check in https://github.com/ljharb/object.assign/commit/59b94e0f7604d0d934d695a9362bfbba1eaf6f09 but I'll wait on the Object() check :-)

uhm ... it might be a long wait ... 'cause I want to see how this ends up:
https://github.com/zloirock/core-js/issues/16
they have instanceof Symbol returning true, but if they'll wrap the Object I might do the same.
I just don't fancy too much the idea of wrapping the Object 'cause if I do that, everyone else might have similar thoughts resulting in a proper mess everyone is responsible for ...
I should change the Object.prototype.constructor too and be sure there's no way to retrieve it in any other way ... I honestly rather avoid this approach the more I think about it.

I'm fine leaving this open as long as necessary :-)
The way es6-shim wraps RegExp, it's bulletproof (as far as I know) and also could be wrapped multiple times with no ill effects. I don't see why Object couldn't work the same way.

can I have a use case for this request, beside the aim to the perfect shim that we know already is not possible?

Wrapper for Object isn't bulletproof - by ES6 many other methods should convert primitives to objects. For example, Object.getPrototypeOf(Symbol()) === Symbol.prototype  should be true.

actually, I've got this result in here ...

That's a spec error in Chrome - Object.getPrototypeOf should convert to object in step 1 of https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.getprototypeof, which is new in ES6.

The primary use case is to eliminate as many caveats as possible, so the list is both exhaustive and small. If it ends up being impossible, so be it, but I still believe it is :-)

sorry but I've asked for a use case ... I see most of the things I am putting in completely pointless for the real-world, and since it's clear this is a sham I wonder why should I pollute and wrap the global Object for something useless.
In order to retrieve Symbols you need special methods, accoridngly what is the point to have that Object(Symbol()) instanceof Symbol behavior?
What is the use case for having it, besinde spec compliant for a thing that is not compliant anyway?

Object(foo) is a universal mechanism of ensuring that objects remain objects, and primitives become boxed forms of the primitive. isObject(foo) ? Object(foo) === foo : Object(foo) !== foo (where function isObject(x) { return x !== null && (typeof x === 'object' || typeof x === 'function'); }) is a universal truth in JS.
Any type-checking library, or polymorphic function, which needs to check its arguments may use this approach - many of my shims do.
I'm not obsessively attached to instanceof behavior, since it's long since been unreliable in JS, but var sym = Symbol(); Object(sym) !== sym is something that I feel very strongly must be true. I'll be happy to update the object.assign symbol test to use that instead of instanceof if that seems more sensible.

I've tried already twice to wrap the global Object resulting in any sort of problems in every devce I could test ... so to me it's not sensible to wrap the global Object, it's a thing I haven't even thought about since those times where wrapping global Array was giving you access to defined properties in order to hack security here and there ... I don't know if I'd personally would ever trust a library that swaps natives ... that being said ... Symbol are a different beast than regular ES5 obejcts and patterns.
I don't think anyone would ever pass symbols around just for fun because these cannot be used as objects.
I'd arguably say that typeof foo === 'object' && foo instanceof foo.constructor or typeof foo === 'object' && foo instanceof Foo are equivalently valid checks that do not need the Object wrap with potential pointless primitive wrap creation so ... again ... since you cannot reach Symbols unless:

you hold the value 'cause you created it, you know it's a Symbol
you are using Object.getOwnPropertySymbols(obj) and you won't check those values 'cause you know those are Symbols
since typeof cannot be symbol you might want to retrieve all own properties and symbols and do the typeof prop === 'string' to distinguish

can you please think about a real-world use case that would make me think it's a good idea to wrap native Object contrcutor, beside a common practice that I believe has nothing to do with Symbols 'casue symbols aren't something you pass around without knowing what you are doing?
Sorry for being difficult but I hate messing up natives, I feel already guilty enough here with all the hacks I've created already ...

There's tons of use cases for passing around Symbols and not using them as object keys at all - I'd use them as signal values/semaphores, as constants (better than strings), as placeholders, things like that.
It's fine if you aren't willing to do it, or if it turns out not to be practical, but I still think it's important to bring it up, and attempt it.

I'd use them as signal values/semaphores

meaning you know these are Symbols .. you don't accept/use random signals you are not aware of, right?

as constants (better than strings)

again, you need to know which constant you are referencing
In both cases you don't/won't need the Object(whatConstantIsThis) check because that won't tell you anything useful, unless I am misunderstanding your use case.
If I search typeof === 'symbol'in the entire github I have mostly transpilers related code and checks againsttypeof Symbol === 'function'` which is all developers seem to need right now.
Accordingly, I'd like to see a real-world code where the check Object(obj) instanceof Symbol is used these days ... can you please provide that?

meaning, the code testing that it's the semaphore, and not something else, needs to be able to concretely determine that it's a Symbol, and not anything else.
I do not believe Object(sym) instanceof Symbol exists anywhere - because there's no need for it when typeof sym === 'symbol', or when you use this approach. However, if I'm going to begin writing Symbol code that accepts polyfilled Symbols, I want as many guarantees as I can get since the invariants in the linked code won't be available.

you cannot guard against sham ... if you want to deal with real Symbol you just do typeof obj === "symbol" but you leave the rest of the world that does not include third parts libraries beside a couple of polyfills to use Object.assign which should NOT fix Symbols ... I hope we don't have to start again this discussion

however, if you want to create a "loosey" isSymbol function that trust any Symbol sham the check is straight forward:
function isSymbol(o) {
  return typeof o === "symbol" || (
    typeof o === "object" && o in Object.prototype
  );
}

There is no possible other way to polyfill them in ES5 so that would be a good way without going to dirty ... then if sooomebody wants to play bad games in there, you already have a problem: you have bad libraries in your core, get rid of them ... right ? :D

actually updated the check, so it's more duck-type centric ;-)

Right, this is what I'm saying - I'm saying that if I want to start making my code not depend on native Symbols, I need other checks that I know your sham (or another reputable one) will provide.
The o in Object.prototype part in your isSymbol check is the part I don't like - I understand that's how the Symbol shims work, but I wouldn't want any code to be coupled to that assumption.

btw, I'm going to sleep now ... I'll leave this bug open waiting to see what happens around ... if these are must have requirements for real-world needs I'll find a way to sqeeze changes in.
Or maybe I'll wake up tomorrow and push all the changes ... who knows, right now I'm using Symbols for a side project and these works great. I understand also concerns of best possible poly ever to filer ... but again I'm not concerned about other polyfills for symbols and I always know what code runs in my projects.

I wouldn't want any code to be coupled to that assumption.

so drop that line and trust that if a typeof variable is an object and its constructor is Symbol and its not an instanceof its own constructor then, by specs, that's a symbol.
Even thenables are that easy to assume ;-)

I don't currently have Object(Symbol()) instanceof Symbol anywhere yet. If you're not convinced to add it, I simply won't add that test.

OK, sorry I'm late here for an answer. But reading recent update on redefining Promise and the fact it's consider future hostile, I think I won't overwrite the global Object in here so I'll close this as won't fix.
https://github.com/jshint/jshint/issues/1747#issuecomment-94525407
Apologies for any inconvenience.

That comment thread applies to replacing the global Promise with a non-standard Promise implementation - that's not what you'd be doing here. Nobody on TC39 (afaik) considers the es6-shim's overriding of RegExp future-hostile, since it brings it into spec compliance.

I think is generally considered a future hostile practice to overwrite any global. I don't want to do that and I won't do that because there are more caveats and possible x-platforms problems than benefits.
Until I'll see the usage of Object(sym) instanceof Symbol in the wild I won't fix this so it's OK to keep it closed for now.


Fix tooltip to behave more correctly on mobile

Discussion started at https://github.com/google/material-design-lite/issues/1461#issuecomment-148042964
It fixes tooltip behavior on mobile (works fine on latest iOS Simulator and latest Android, probably needs wider testing on a real iOS device and wider testing on Android versions/browsers, not sure about needed browser support).
Also stopPropagation is not needed anymore.
A few notes:

touchmove and scroll removed as hide triggers because I'm pretty sure there's no way to scroll without touch on mobile. So touchstart is used instead.

touchstart listener for window is bound/unbound on upgrade/downgrade respectively.

blur is actually fired on Android, but not on iOS so it doesn't help here.
Actually Android just fires mouseenter/mouseleave so no need to fix anything.

tabindex left here because without it icon selected as text on Android. Probably it's not needed at all.

click is not handled anymore because it doesn't make sense to handle it instead of or together with touchstart.

On capturing: capture phase used on touchstart on window to hide previously shown tooltip on and then if another tooltip is touched by the same event it's shown. Works like magic :-)

Pretty sure that it's enough and should not break backwards compatibility, plus it won't break event delegation.

Awesome work, @faergeek :clap: Thanks for the effort.
Ran the cross-browser check:
:white_check_mark: Chrome
:white_check_mark: Chrome on Android
:white_check_mark: Android WebView
:white_check_mark: Safari
:white_check_mark: iOS Safari
:white_check_mark: OS X WebView
:white_check_mark: iOS WebView
:white_check_mark: Firefox
:white_check_mark: Opera
:white_check_mark: IE11
:white_check_mark: IEdge (although the icons are not showing in Edge, but that’s unrelated)
So, this get’s a “LGTM” from me :star:
Waiting for a few others to look over this.

Cool, thanks @surma

LGTM2. Thanks for working on this @faergeek! (and thanks to @surma for the thorough testing) :stars:

Thanks @addyosmani
Just wanted to know in which branch will it go now? v1 or v2?

master is currently for v1.1. No work on V2 is happening yet.

Great :+1:


Use ERC-55 and remove duplicates

as discussed in https://github.com/ethereum-lists/tokens/pull/58 - the move to ERC-55
This also uncovered some duplicates - FYI: I did not check the content there - was a first come - first serve.

@ligi all I need is to migrate old the images.
iOS and Android mobile client call this url: /images/tokens/0x006bea43baa3f7a6f765f14f10a1a1b08334ef45.png to fetch an image. I wish there is a way for CloudFlare to covert into ERC-55 format.
I'm thinking to move this folder into /old and add new endpoint for all the new images and in that case we don't break any functionality for whoever uses it


Why AP so low?

I use my own datasets training model, but the AP always so low, I have I have nearly 300 training sets，Is it because I have too little training set？

Hi @BibibNanana, sorry for the late reply. The data set is too small for training, and I suggest using the trained model on COCO as the pre-trained model.


No validation message for "block to" with planneritem to planneritem

No validation message for "block to" with planneritem to planneritem
There is no such validation for  that user cannot link planner item blocks to planner items.
API response :
{"errors":[{"code":"bad_parameter","detail":"Bad value for parameter 'source work item type': 'system.planneritem'","status":"400","title":"Bad parameter error"}]}

@almighty/uxd  can you please look at this issue and advise.


Updates to "Load and Analyze" and "Integrate, Analyze & Act" workshops

Lots of cleanup to two workshops:
Load and Analyze for ADB:  WMS: 141
Integrate, Analyze and Act on all data: WMS: 8081

please check the folder structure in PR  and confirm, that there are 3 main folders which are getting impacted

building-blocks: This folder has been migrated to the common repo. It should be removed from the adb repo
The other two folders are being updated. They represent the two workshops that I'm working on.
Thanks!


Updated to latest imgui and windows crate instead of winapi

I don't know if I'm doing some things here that make sense, the api for the windows crate is a bit different.

A final step here would be to apply rustfmt, which I held off on that because it would obviously mess with any ability to see what changed. If you are okay with that I can do that as a final step.

We are ready to roll I believe @Veykril

Thanks!


Officially support the Intel C++ compiler

ICPC 17 passes 90% of test cases when compiling as if GCC 4.7. The failing test cases are related to language compliance issues. The test cases need to be configured to account for this.
Add documentation for the features that are supported.
Consider filing bugs with Intel for the failing tests.

Won't support -- Latest version fails too many tests to be worth the effort.


fix: ordered transaction get when queue empty

When queue empty getOrderedTransactions would return an invalid transactions instead of 0 transactions. Fixed

prnet cleaned-up successfully


Update README.md for zabbix 3.0

Added script parameters in Media types part for compliance with Zabbix 3.0.

Good one. Thanks!

Zabbix 3.0 is really strange, took me couple of hours before I have figured out how to do it properly.


NuGet.org package statistics not uploading

Describe the bug
Packages download count is still 0 after 3 days.
To Reproduce
Steps to reproduce the behavior:

On this URL

https://www.nuget.org/packages/Cake.Tool/
https://www.nuget.org/packages/Cake
https://www.nuget.org/packages/Cake.Common

Perform this operation

Look at "Version history"

See error

0.38.1 zero downloads
0.38.0 zero downloads

Expected behavior
We've confirmed several people are using the latest version, so we would expect download counts to increase a bit each day, at least be more than zero.
Screenshots

Hi, thanks for bringing it up, I see the download counts are non-zero now, but detailed data is not available for those versions yet, we are looking into it.

The issues with statistics pipeline were mitigated. We are working on addressing the performance issues with statistics pipeline.


Move phpunit from require to require-dev

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets
-

Documentation
-

License
MIT

This must be a typo.

Hello @dbu !
I don't know the correct workflow to create a new version. This change might lead to huge dependencies in user projects because it embed PHPUnit in the wrong place… Maybe we can plan to release a 3.0.2 soon ?


Allow lazy imports in templates tsconfigs

@frandiox would this conflict with all the ts upgrades you have?

I'm adding the same field to our packages. This adds it for templates, so it shouldn't conflict.


"Page not found" shows when loading operationId URL

Hi there,
when loading an operationId by URL directly, a "Page Not Found" is shown for an instant. You can check that behaviour here https://developers.quaderno.io/api/#tag/Invoices/operation/createInvoice
Not sure if this comes from Redocusaurus, Redoc, or Docusaurus 🙏

For more info, I'm using the "Custom Page" way, like in:
import React from 'react';
import Layout from '@theme/Layout';
import Redoc from '@theme/Redoc';
import useSpecData from '@theme/useSpecData';

function CustomPage() {
  const specData = useSpecData('openapi');
  return (
    <Layout
      title="..."
      description="..."
    >
      <Redoc {...specData} />
    </Layout>
  );
}

export default CustomPage;

Also, all crawlers are getting 404 so this is bad for SEO :-/

all crawlers are getting 404 so this is bad for SEO :-/

that sucks 😕
I see that the link now works without JS and returns 200 in the network tab, did you find a solution to this?

Yes! The key is that Gh-pages need trailingSlash to true, or the 404 will
happen
El mar, 18 abr 2023 0:01, Rohit Gohri @.***> escribió:

all crawlers are getting 404 so this is bad for SEO :-/
that sucks 😕
I see that the link now works without JS and returns 200 in the network
tab, did you find a solution to this?
—
Reply to this email directly, view it on GitHub
https://github.com/rohit-gohri/redocusaurus/issues/282#issuecomment-1512138770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADTIHBXQIEEYEKI43JOZXTXBW4VJANCNFSM6AAAAAAWM6IH3M
.
You are receiving this because you authored the thread.Message ID:
@.***>

Cool, closing this then. Thanks for sharing


Check for values modified in deserializeAccessToken

When you only set a value in a service, the token did not get updated in the gateway.
This was because the valueModified was only set after a token change, not just a value change.
This PR improves the check to fix that.

Cool, can you add a changeset file? pnpm changeset ?


Hotfix/remove search hamburger

Replaced the hamburger slide out mobile menu with a menu button and fade in mobile menu.

Looks good. Nice that the "menu" is text and able to be translated.


Fetch latest build in case of multiple version-codes per version

Hi! First of all, thanks for your work!
Sometimes apkmirror.com has more than one build per version. Imho it makes sense to fetch the most up to date one. For an example see the ovpn-connect app:
https://www.apkmirror.com/apk/openvpn/openvpn-connect/openvpn-connect-3-4-0-release/
Best solution would probably be to include a functionality to handle version-codes. However, here's a quick fix to at least return the most up to date package.

Great fix, Thanks.


Updated documentation regardign declaring fields.

Missing attribute in documentation. Thought others might want to know.

Is it needed when the name is not changing?

Yes it is!


select from many tables

Hi,
it may be possible to select more than one field of the table?


Query parameters support

Per #10, the changes are aimed at supporting supporting query parameters.
Changes

Simplify the code to make it more reusable
Introduction of overloads for Service Post() Get() Put() and Delete() to have a IDictionary<string,string> parameters
Addition of a new unit test case

Client usage
On top of the regular usage, to use query parameters in your request, you must set a IDictionary<string, string> listing all the parameters and add it to your request.
Here's an example:
// Arrange
string language = "en";
int wordLength = 5;
string controller = "word";

Dictionary<string, string> parameters = new Dictionary<string, string>
{
    { "length", $"{wordLength}" },
    { "lang", language }
};

// Act
string result = await _serviceWord.Get(controller, jsonBody: null, parameters: parameters);

Closes #10

I'm going to add more cases in unit testing


✨ Add bill.

Description
As an user when I open the app I should be able to see an primary action to add new bill.
I must see this action even if I haven't added a bill yet.

Closed by #57


Create 0000-01-02-KelBoy71.md

created a branch, created a file and made a commit, and opened a pull request


feat(collector): add ratelimit source label to metrics

This adds a source_ip label to the two existing metrics in order to differentiate which egress IP a ratelimit pertains to.
In our use-case, we want to run docker-hub-rate-limit-exporter as a daemonset on nodes that run across AZ boundaries. In this case, each AZ has its own egress IP, and therefore, it's own ratelimit.
With the status quo, if I am to run this exporter across two AZs, such as us-east-1a and us-east-1b, there's no way to differentiate which pod is reporting for which egress ip. If one AZ's limit starts being exhausted, and I were graphing the results, it would also be very confusing, as one would be reporting 100, while the other would start reporting, say, 60.
Adding the source ip as an additional label should not affect existing metrics and dashboards, but gives another dimension so that we can differentiate which ratelimit is which within our environments.

No, that's equivalent. Daemonset is just easier to get going. We do similar in other deployments. You don't need to hardcode the AZs if you do a mix of antiAffinity and podSpreadConstraints, like so:

  topologySpreadConstraints:
    - maxSkew: 1
      topologyKey: failure-domain.beta.kubernetes.io/zone
      whenUnsatisfiable: DoNotSchedule
      labelSelector:
        matchLabels:
          app.kubernetes.io/instance: ${release_name}

  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchExpressions:
          - key: app.kubernetes.io/name
            operator: In
            values:
            - ${app_name}
          - key: app.kubernetes.io/instance
            operator: In
            values:
            - ${release_name}
          - key: app.kubernetes.io/component
            operator: In
            values:
            - controller
        topologyKey: "kubernetes.io/hostname"

Something similar to this should keep you having a pod per AZ, but you'll have to make sure you match replicas to the # of AZs. Perhaps that's what you meant...

Thanks for clarification! Can you allow me to update your fork or alternatively update your Pull Request with the latest upstream changes? Since those changes fix one of the checks, it is necessary before I can merge you changes.
Otherwise your changes look good! Thanks for contributing! If you have other suggestions of how we can improve the exporter I would be glad to hear them.


Test Update of AFJ to latest 0.20-alpha

alpha70 has some blocking bugs

Tested against BC Wallet Demo [ ]
Tested against LSBC Demo [ ]


[FEATURE] Event tooltip on calendar

I suggest a feature that allows you to see a tooltip with the names of the events when you hover the mouse on the day on the calendar that have an event. Now we have to click on the day to see it.

I can do more advanced tool tips, though I think I will have to limit it to the first 2-3 event names rather than all. Just incase someone has loads of events on one date and not spawning a giant tool tip as a result.

Good!


Is reuse.enable supported?

We have a heavy container setup, and would like to be able to reuse the same containers for all of our tests. I notice that the java lib provides testcontainers.reuse.enable, but when I try to turn on reuse via config file, it fails silently.
Using testcontainers-scala 0.38.4, which should pull in testcontainers-java 1.14.3, which has reusable containers
My .testcontainers.properties
#Modified by Testcontainers #Wed Mar 10 17:36:09 CST 2021 docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy testcontainers.reuse.enable=true
I've tried setting the property by ~/.testcontainers.properties, Classpath, and Env per docs, but with no log warnings or errors re reuse, I'm not sure how I should proceed from here.
Thank you in advance!

Hi @nacorti, you can check this for more details https://github.com/testcontainers/testcontainers-scala/issues/160


chore(main): release 1.21.0

:robot: I have created a release beep boop
1.21.0 (2024-06-04)
Features

DTFS-7049: added POST /emails endpoint for sending emails using GOV.UK Notify service (#820) (3a1bf0e)
DTFS2-7049: fixed tests caused by removal of global transformer and allowing extra params (71e44ff)
DTFS2-7049: fixing PR issues (e0e099e)
DTFS2-7049: removed BadRequestException tests moving payload to object instead of array (3bb8d71)
DTFS2-7049: return error message as string instead of array (86b5b4d)
DTFS2-7049: test unknown Gov.UK Notify responses (c14fa49)
DTFS2-7121: create Companies House endpoint (#821) (7860528)

Bug Fixes

eslint: reverted back to eslint 8.57.0 (#905) (75ca97c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/UK-Export-Finance/mdm-api/releases/tag/v1.21.0 :sunflower:


Stuff

Codecov Report

Merging #19 (febfcbe) into main (787d7f6) will increase coverage by 0.20%.
The diff coverage is 12.00%.

@@           Coverage Diff            @@
##            main     #19      +/-   ##
========================================
+ Coverage   5.93%   6.14%   +0.20%
========================================
  Files         10      10
  Lines       1095    1091       -4
========================================
+ Hits          65      67       +2
+ Misses      1030    1024       -6

Impacted Files
Coverage Δ

concertista/AboutDialog.py
0.00% <ø> (ø)

concertista/DeveloperAlbumsWindow.py
0.00% <0.00%> (ø)

concertista/DeveloperWindow.py
0.00% <0.00%> (ø)

concertista/MainWindow.py
0.00% <0.00%> (ø)

concertista/PieceNameDialog.py
0.00% <0.00%> (ø)

concertista/PreferencesWindow.py
0.00% <0.00%> (ø)

concertista/StationSearchDialog.py
0.00% <0.00%> (ø)

concertista/consts.py
100.00% <ø> (ø)

concertista/server.py
0.00% <0.00%> (ø)

concertista/DB.py
90.32% <92.30%> (+0.32%)
: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 787d7f6...febfcbe. Read the comment docs.


Special characters

Non-standard characters (such as Mac quotes and probably emojis) are rejected by both the Worker and Comlink. A way must be found to handle a broader set of characters.
Example trace:
SyntaxError: invalid character '“' (U+201C)
comlink.ts:544Unhandled Promise Rejection: DataCloneError: The object can not be cloned.
After some research, it seems the DataCloneError only occurs on Safari. Chrome handles it just fine.

Non-standard = Unicode? The latter is pretty standard nowadays.

The real issue is the shape of the error on Safari and not the characters themselves as I originally thought. Should be solved in #12


Window focus misbehaving

Since installing this on Ubuntu 17.10 I have experienced that the code is correctly sent to Stata, but when focusing back on Atom, it actually brings another window in focus. It could be any active window, but it never picks the Stata one (see gif below). I have tried turning on/off the 'Focus Window' option, but it seems to have no effect. This happens whether I send a few lines or execute the whole do-file.

I'm not sure what's causing that. I never experienced that on Ubuntu 16.04 or Ubuntu 18.04.
I'm assuming it's an Autokey issue.
You can test out the Autokey script in linux/stata-exec.py and run it line by line in the Python interpreter and see what happens.

Still not sure what the issue is, but it won't happen if you use the Stata Jupyter kernel :grinning:

haha, I will try it out tonight!
how's nber without the latino gang? quieter?

From: Kyle Barron<EMAIL_ADDRESS>Sent: Tuesday, August 21, 2018 3:14 PM
To: kylebarron/stata-exec
Cc: Alvaro Carril; Author
Subject: Re: [kylebarron/stata-exec] Window focus misbehaving (#38)
Still not sure what the issue is, but it won't happen if you use the Stata Jupyter kernelhttps://kylebarron.github.io/stata_kernel/ 😀
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/kylebarron/stata-exec/issues/38#issuecomment-414789789, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJUg7Cok5fZBEmrEbjJvLYTIi4B2A9mCks5uTFwLgaJpZM4UXrlG.

Haha yes, a bit quieter. Hope you had a good trip!


GenerateReleaseNotes causing Cannot bind argument to parameter 'Message' because it is null error

VSTS Extension you are using
GenerateReleaseNotes - powershell script version
Where are you running it?
VSTS using custom build server
Version of Extension/Task
2.7.2
Expected behavior and actual behavior
Expecting to generate a set of release notes, actually getting the following error:
Cannot bind argument to parameter 'Message' because it is null
The full log for the task from VSTS is:
2017-04-21T14:30:55.4522015Z ##[section]Starting: Generate release notes
2017-04-21T14:30:55.4688301Z ==============================================================================
2017-04-21T14:30:55.4688301Z Task         : Generate Release Notes
2017-04-21T14:30:55.4688301Z Description  : Generates a release notes file in a format of your choice
2017-04-21T14:30:55.4688301Z Version      : 2.7.2
2017-04-21T14:30:55.4688301Z Author       : Black Marble
2017-04-21T14:30:55.4688301Z Help         : Version: 2.7.2. More Information
2017-04-21T14:30:55.4688301Z ==============================================================================
2017-04-21T14:30:55.4834366Z Preparing task execution handler.
2017-04-21T14:30:56.3892761Z Executing the powershell script: f:\builds_tasks\GenerateReleaseNotes_661bc005-61be-430f-b994-065bf08c0f39\2.7.2\GenerateReleaseNotes.ps1
2017-04-21T14:31:24.6906656Z ##[error]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
2017-04-21T14:31:24.6906656Z    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame) 2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2017-04-21T14:31:24.6906656Z ##[error]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null. 2017-04-21T14:31:24.6906656Z    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) 2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)
2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-04-21T14:31:24.6906656Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-04-21T14:31:25.0940039Z ##[error]PowerShell script completed with 2 errors.
2017-04-21T14:31:25.0940039Z ##[section]Finishing: Generate release notes
My task is set up as:

My template file has the format:
Release notes for build $defname
build: $($build)
Note that if the is a single associated item then then size is empty, but the item is returned
If there are multiple associated items then the size is >0  but you need to use an index to see each item
workitems: [Size $($workitems.length)] $($workitems)
workitems: [Size $($workitems.length)] $($workitems[0])
changesets:[Size $($changesets.length)] $($changesets)
changesets:[Size $($changesets.length)] $($changesets[0])
Associated work items (Dump of all fields)
@@WILOOP@@

widetail: $($widetail)
widetail.fields: $($widetail.fields)
widetail.links: $($widetail.fields)
@@WILOOP@@

Associated change sets/commits (Dump of all fields)
@@CSLOOP@@

csdetail: $($csdetail)
@@CSLOOP@@

I have tried changing to not use default credentials however that got an error about not being able to get any work items or changesets.
What do I need to do in order to fix this issue?

Are you seeing anything in the output file?, The 'message' error usually means you are trying to access an invalid field name.
I would cut bits out the template (I use an inline template to debug) until I get some output then add line back in one by one.
I would also set the build variable system.debug = true so you get a more verbose log, helps us see where it actually got to

@rfennell sorry for the delay in getting back to you but I have been away. I have tried using an inline template with the same details as my file template and they work ok. It appears to be when I try to use a file template that the problem happens. I will continue to use the inline template for now but it would be good to understand why the file template fails.

I have seen a similar report to this in the past, it was down to file encoding. The template text in the file had replace double quotes with localised characters. Also stray hidden characters seemed an issue.
Try recreating the template file with notepad and see if the problems persist

Hey @jsharland did this fix your issue?
I have the same problem, I created a new file in Visual Studio and copied the markdown template off Github and I have the same exception being thrown about message.  Here is my template
@@BUILDLOOP@@

# Release notes for build $($build.definition.name)
**Build Number**  : $($build.buildnumber)
**Build started** : $("{0:dd/MM/yy HH:mm:ss}" -f [datetime]$build.startTime)
**Source Branch** : $($build.sourceBranch)

###Associated work items
@@WILOOP@@
* **$($widetail.fields.'System.WorkItemType') $($widetail.id)** [Assigned by: $($widetail.fields.'System.AssignedTo')]\s     $($widetail.fields.'System.Title')

@@WILOOP@@
### Associated change sets/commits

@@CSLOOP@@
* **ID $($csdetail.changesetid)$($csdetail.commitid)** $($csdetail.comment)

@@CSLOOP@@

----------

@@BUILDLOOP@@

Hey @chris-eaton I didn't manage to get it work using a file template, instead I had to use an inline template. I recreated the file template using notepad as suggested by @rfennell however that didn't solve the problem. To be honest I haven't looked at it in a few weeks as the inline template is working.

Interesting, so it works for an inline template, but fails for a file based template?
Do wonder if we have an encoding file lurking in the file load code.
I would say I do tend to always use inline myself, so this issue might have been around a while

I'm hitting this error as well with an inline template (copied from GitHub)
2017-05-23T15:13:02.9811352Z ##[section]Starting: Generate release notes
2017-05-23T15:13:02.9811352Z ==============================================================================
2017-05-23T15:13:02.9811352Z Task         : Generate Release Notes
2017-05-23T15:13:02.9811352Z Description  : Generates a release notes file in a format of your choice
2017-05-23T15:13:02.9811352Z Version      : 2.9.2
2017-05-23T15:13:02.9811352Z Author       : Black Marble
2017-05-23T15:13:02.9811352Z Help         : Version: 2.9.2. [More Information](https://github.com/rfennell/vNextBuild/wiki/GenerateReleaseNotes%20-Tasks/)
2017-05-23T15:13:02.9811352Z ==============================================================================
2017-05-23T15:13:02.9821349Z Preparing task execution handler.
2017-05-23T15:13:03.4521353Z Executing the powershell script: d:\a\_tasks\GenerateReleaseNotes_661bc005-61be-430f-b994-065bf08c0f39\2.9.2\GenerateReleaseNotes.ps1
2017-05-23T15:13:03.4611536Z **Release Number**  : $($release.name)
2017-05-23T15:13:03.4611536Z **Release completed** $("{0:dd/MM/yy HH:mm:ss}" -f [datetime]$release.modifiedOn)
2017-05-23T15:13:03.4611536Z
2017-05-23T15:13:03.4611536Z ## Builds
2017-05-23T15:13:03.4611536Z @@BUILDLOOP@@
2017-05-23T15:13:03.4611536Z ### $($build.definition.name)
2017-05-23T15:13:03.4611536Z **Build Number**  : $($build.buildnumber)
2017-05-23T15:13:03.4611536Z **Build completed** $("{0:dd/MM/yy HH:mm:ss}" -f [datetime]$build.finishTime)
2017-05-23T15:13:03.4611536Z **Source Branch** $($build.sourceBranch)
2017-05-23T15:13:03.4611536Z
2017-05-23T15:13:03.4611536Z ### Associated work items
2017-05-23T15:13:03.4611536Z @@WILOOP@@
2017-05-23T15:13:03.4611536Z * **$($widetail.fields.'System.WorkItemType') $($widetail.id)** [Assigned by: $($widetail.fields.'System.AssignedTo')] $($widetail.fields.'System.Title')
2017-05-23T15:13:03.4611536Z @@WILOOP@@
2017-05-23T15:13:03.4611536Z
2017-05-23T15:13:03.4611536Z ### Associated change sets/commits
2017-05-23T15:13:03.4611536Z @@CSLOOP@@
2017-05-23T15:13:03.4611536Z * **ID $($csdetail.changesetid)$($csdetail.commitid)$($csdetail.id)** $($csdetail.comment)
2017-05-23T15:13:03.4611536Z @@CSLOOP@@
2017-05-23T15:13:03.4611536Z
2017-05-23T15:13:03.4611536Z ----------
2017-05-23T15:13:03.4611536Z @@BUILDLOOP@@)
2017-05-23T15:13:09.5545197Z ##[error]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
2017-05-23T15:13:09.5545197Z    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
2017-05-23T15:13:09.5545197Z    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
2017-05-23T15:13:09.5545197Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.5545197Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.5545197Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.5545197Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.6195201Z ##[error]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
2017-05-23T15:13:09.6205201Z    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
2017-05-23T15:13:09.6205201Z    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
2017-05-23T15:13:09.6205201Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.6205201Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.6205201Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.6205201Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-23T15:13:09.7565188Z ##[error]PowerShell script completed with 2 errors.
2017-05-23T15:13:09.7565188Z ##[section]Finishing: Generate release notes

Task configuration

Thanks for the responses, interestingly if I use an inline template I get a host of weird errors on my Visual Studio task as per the screenshot

Are you using a task group?
As that is not supported - stuff beyond my control in the underlying VSTS apis

I am not using task group
tis 23 maj 2017 kl. 18:16 skrev Richard Fennell<EMAIL_ADDRESS>
Are you using a task group?
As that is not supported - stuff beyond my control in the underlying VSTS
apis
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rfennell/vNextBuild/issues/110#issuecomment-303452738,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAay9Hrsy1Jm4e9rHxmhcnga1Dis7ukjks5r8wZlgaJpZM4NEY5f
.

--
Vänliga hälsningar / Regards
http://www.webfish.seJoakim Carselind http://www.carselind.se

@rfennell I am using a Task Group I guess thats the issue!  I guess I'll just have to repeat the task in each release deployment.
Would you be able to elaborate how the release notes are generated? What times does it look between to find changesets etc? I havent been able to figure it out :) Wondering if I should do this step as part of my build or part of the release process? Ideally itd generate release notes only between Production releases not CI.  Note that we create a single build and deploy to a Continuous Deployment server after testing we then promote to a Staging Server and then finally onto a Production server.

Ok, I removed the Task from the Task Group. And then added it to each of my deployment Release definitions and I still get the 'Message' error

2017-05-24T12:39:15.8469476Z ##[error]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
2017-05-24T12:39:15.8469476Z ##[debug]Processed: ##vso[task.logissue type=error;]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
2017-05-24T12:39:15.8469476Z    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
2017-05-24T12:39:15.8469476Z    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
2017-05-24T12:39:15.8469476Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-24T12:39:15.8469476Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-24T12:39:15.8469476Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2017-05-24T12:39:15.8469476Z    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

@chris-eaton This task works out the release notes as follows when used within a release pipeline (as opposed to a build)

get a list of all builds/artifacts between the current release and the last successful one in the same stage (or specified stage)
for each build found get the associated work items and commits/changesets
loop across this list of associated items to build the release notes.

Now I am the first to admit this not perfect. I have also create a XPaltGenerateReleaseNotes extension that tries to work the same way as the VSTS UX - this used undocumented REST API calls to get the list of changes. So you might find that a better match to your needs

@chris-eaton @jsharland the error
Cannot bind argument to parameter 'Message' because it is null.
in the past has always ended up being that a variable/or property on a variable cannot be evaluated/is null. Unfortunately like most null exceptions it is hard to get the name of the item that failed. However looking at the detailed event log set a global build/release variable to system.debug = true the logging should at least show the last line that work.
The issue can be a template is asking for a value that is only on changesets, but you are using git and vice version.
Lets have a look at detailed logs, and may be remove lines from the template one by one to isolate the issue

Sorry hit the wrong button, meant to comment not close

I'm also facing this issue.  With debug on it indicates this error might be coming from missing data on the task but not sure:
Processing template
There are [1] builds to process
System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
Processed: ##vso[task.logissue type=error;]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.
at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) Starting block BUILD 1 items Getting first build 139 System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null. **Processed: ##vso[task.logissue type=error;]System.Management.Automation.ParameterBindingValidationException: Cannot bind argument to parameter 'Message' because it is null.**    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)    at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Starting block WI

After some trial and error and reviewing some VSTS documentation, it appears the names used in the template are not correct based on names from https://www.visualstudio.com/en-us/docs/build/concepts/definitions/release/variables.  For example, release.Name is now release.ReleaseName.  After stripping the template to bare minimum and then changing some of the values I was able to get past the errors.
Now to rebuild the template...

Glad you got unblocked, the lack of a detailed error message saying which tag in the template is the issue is a problem. You tactic of 'process of elimination' best way to tackle the problem, especially as the available tag do evolve over time the the APIs change

As I have heard nothing more on this for a few months I cam closing it, if the problem is still an issue please reopen it with up to date details

(https://github.com/rfennell/vNextBuild/pull/241 referenced above made it much easier to identify the template line that caused a rendering error .)


WIP: Create tests

Hello @obetomuniz,
First for all, congrats for slush package. It's very useful :)
This PR has some changes finished and another are in progress, like:

[x] Update version of dependencies
[x] Create tests for default task
[ ] Create tests for repo task

I plan to finish the job soon but wanted to share what I'm doing for you can see if have something to improve :)

@obetomuniz OMG, I see only now the current versions at continuous integration. Do you have any idea do upgrade that? If not, let me know because I go fix this Pull Request 👍

Hey @ceasbz, nice job with the tests, so please, go ahead to fix it, just keep in mind that before I accept this PR you'll need sync yours insertions in the webcomponents/generator-element project too.


Multi-Arch Support

This pull request does the following:

swap to 84codes/crystal image for acceptance tests
swap to 84codes/crystal image for builder images
supports x86 and arm64 platforms via pre-built Docker images

Going to merge and hope the new packages work on a Raspberry Pi and Linux x86 machines :crossed_fingers:


How to exclude specific types of files from the checker?

Hi,
I am setting this up for Godot and wondering if you have a method implemented for ignoring specific file patterns?
We have unicode translation files in our project which get triggered so I was testing this out and hit the errors with our translation files and some .png assets.
I would like to ignore some files by default.
Here is an example :)
https://github.com/godotengine/godot/runs/4557890721?check_suite_focus=true
Thanks,
Gordon

Hi Gordon, apologies for the delay, I haven't had much time to implement any improvements.
v1.7 now contains this feature, which is a simple regex passed as the environment variable IGNORE
You can see an example of this in use here:
https://github.com/HL7/fhir-ig-publisher/blob/master/.github/workflows/bidi-checker.yml


Add Riviera-PRO from Aldec to the list

Thank you.

Please share a link to the website/product. Thanks

Hello – See product page here
https://www.aldec.com/en/products/functional_verification/riviera-pro
Thanks,
[image: Logo, company name Description automatically generated]
https://www.linkedin.com/company/aldec/    [image: A picture containing
text Description automatically generated] https://twitter.com/AldecInc
http://www.aldec.com/
Louie De Luna
Director of Marketing
Aldec, Inc.
[image: Telephone with solid fill]
702-852-4038
[image: Smart Phone with solid fill]
702-592-9916
[image: Envelope with solid fill]
@.***
Connect with me https://www.linkedin.com/in/louiedeluna/
From: Martin Barnasconi @.>
Sent: Wednesday, April 12, 2023 11:57 PM
To: accellera-official/systemc.org @.>
Cc: Louie @.>; Author @.>
Subject: Re: [accellera-official/systemc.org] Add Riviera-PRO from Aldec
to the list (Issue #30)
Please share a link to the website/product. Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/accellera-official/systemc.org/issues/30#issuecomment-1506447448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHYDSDI2C2LDOHOJPI5YZPTXA6PSZANCNFSM6AAAAAAW4DFYKU
.
You are receiving this because you authored the thread.Message ID: <
@.***>

Thanks!
From: Martin Barnasconi @.>
Sent: Thursday, April 20, 2023 9:58 AM
To: accellera-official/systemc.org @.>
Cc: Louie @.>; Author @.>
Subject: Re: [accellera-official/systemc.org] Add Riviera-PRO from Aldec
to the list (Issue #30)
implemented in 01b7ed8
https://github.com/accellera-official/systemc.org/commit/01b7ed86587ce8c9dd279a6bd539b57cdd2f359a
—
Reply to this email directly, view it on GitHub
https://github.com/accellera-official/systemc.org/issues/30#issuecomment-1516657907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHYDSDOGDYOPMPFPVC7FFUDXCFTJDANCNFSM6AAAAAAW4DFYKU
.
You are receiving this because you authored the thread.Message ID: <
@.***>


Dockerized: minimal footprint

Added Dockerfile with multi-stage build to create an optimized and minimal build for the next app. Quickly deploy to your home servers, nginx, or any of the cloud providers.
Commands to build and run the docker container:

docker build -t <username>/<hub-repo>:<tag> .
docker run --name <container-name> -d --publish 8080:3000 <username>/<hub-repo>:<tag>

Example:

docker build -t johndoe/portfolio:prod .
docker run --name portfolio -d --publish 8080:3000 johndoe/portfolio:prod

Resolves #54

hi @1hanzla100 please review, thanks!

hi @1hanzla100 please review, thanks!

Okay I will review it


Agents with different tools not working on bedrock

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangGraph/LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangGraph/LangChain rather than my code.
[X] I am sure this is better as an issue rather than a GitHub discussion, since this is a LangGraph bug and not a design question.

Example Code
from langchain_aws import ChatBedrockConverse

llm = ChatBedrockConverse(
        model=AWS_BEDROCK_MODEL,
        region_name=AWS_BEDROCK_REGION,
    )

orchestration_tools = [choose_action]
orchestration_tool_node = ToolNode(orchestration_tools)
orchestration_model = llm.bind_tools(orchestration_tools)

conversation_model = llm

products_tools = [get_products, get_product_details]
products_tools_node = ToolNode(products_tools)
products_model = llm.bind_tools(products_tools)

purchase_tools = [make_purchase, get_user_data]
purchase_tools_node = ToolNode(purchase_tools)
purchase_model = llm.bind_tools(purchase_tools)

Error Message and Stack Trace (if applicable)
botocore.errorfactory.ValidationException: An error occurred (ValidationException) when calling the Converse operation: The toolConfig field must be defined when using toolUse and toolResult content blocks.

Description
Some agents have tools binded and others doesn't. When the chat history with tool calls is received in an agent without tools (or don't know if same would happen in one that has tools but different ones), the specified error appears
System Info
"boto3>=1.35.29",
"fastapi>=0.115.0",
"langchain-aws>=0.2.1",
"langgraph>=0.2.28",
"pydantic-settings>=2.5.2",
"pydantic>=2.9.2",
"python-multipart>=0.0.11",
"uvicorn>=0.31.0"

Same issue for me, without using langchain - just using bedrock sdk. So it's a bedrock issue unfortunately

Can somebody please transfer this issue to langchain-ai/langchain-aws?


(453) Use page headings as titles and other such niceties

Context
We set page heading and page titles separately, but generally the heading can be reused in the title. There were some other unDRY patterns within the views
Changes in this PR

Default to applicationName and pageHeading if pageTitle is not set
Remove some custom pageTitles
Use nameAndAlternateName in one place it wasn't being used
DRY up setting of mainClasses
DRY up h1 creation

Screenshots of UI changes
Before
After
Release checklist
Release process documentation
As part of our continuous deployment strategy we must ensure that this work is
ready to be released once merged.
Pre-merge

[ ] There are changes required to the Accredited Programmes API for this change to work...

[ ] ... and they been released to production already

Post-merge

[ ] This adds, extends or meaningfully modifies a feature...

[ ] ... and I have written or updated an end-to-end test for the happy path in the Accredited Programmes E2E repo

[ ] This makes new expectations of the API...

[ ] ... and I have notified the API developer(s) of changes to the contract tests (Pact), or the API is already compliant

[ ] Manually approve release to preprod
[ ] Manually approve release to prod

 Use pageHeadings as pageTitles