text:
UnityFramework/UnityFramework.h file not found

Hi, I have these issue for days, and I couldn't solve it. I am trying to run the ios version of the react native, and it keep saying UnityFramework.h is not found. I have tried Pod Install, Yarn Install. It still failed. Any insights on this? Thanks in advance.
Laptop: M1 Macbook
Error:
fatal error: 'UnityFramework/UnityFramework.h' file not found
#include <UnityFramework/UnityFramework.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/fredjackyong/Library/Developer/Xcode/DerivedData/kebunapp-fhugorrhcqzaaadcodjvwotasrsq/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNUnity.build/Objects-normal/arm64/UnityResponderView.o /Users/fredjackyong/Documents/kebunapp/app/kebunapp/node_modules/react-native-unity-play/ios/RNUnity/UnityResponderView.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNUnity' from project 'Pods')
(1 failure)
Dependencies:
"react": "17.0.2",
"react-native": "0.66.4",
"react-native-unity-play": "^0.1.6"
node version: v16.13.1
Xcode version: v13.1

Hi
https://drive.google.com/file/d/1D3oaHstzlmIAvIqzbwfSTwlonxJev7Yh/view?usp=sharing
you can download an example and see if it will work for you on M1
I have not tested on M1

IOS TEST
Hello, I tested your example project in m1 MacMini.  Build is successful however it stuck for about 1 minute in splash screen
shows error given below
2022-01-04 11:47:23.442410+0900 mytest[91520:19866765] Task <D0D80521-ECAA-4CB6-9C97-B583D23F78BC>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x281c0fcc0 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <D0D80521-ECAA-4CB6-9C97-B583D23F78BC>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(     "LocalDataTask <D0D80521-ECAA-4CB6-9C97-B583D23F78BC>.<1>" ), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=http://10.0.0.214:8081/status, NSErrorFailingURLKey=http://10.0.0.214:8081/status, _kCFStreamErrorDomainKey=4}
After another one minute stuck it runs application successfully.
When closing app and opening again app termination after several seconds.

repo: azesmway/react-native-unity-play


text:
anchor links, plaintext->html

likely will have to use Xmlm (couldn't make it work without it)

done, not using Xmlm

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
feat: add new gastby blog template

Add new preset to gastby. (mode deliver)

I think you should use the mountSSG hook and not mountSPA for Gatsby. Test your project locally with Vulcan Dev to be sure.

Narciso feedback was done and tested locally.

:tada: This PR is included in version 2.4.0-stage.5 :tada:
The release is available on:

npm package (@stage dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

source: gharchive/pull-request

authors: hendriksoares jotanarciso tiagokrebs

repo: aziontech/vulcan


text:
Enter key doesn't work to go to result

'j' and 'k' work great to select the next/previous result.  But when I press the  key, it doesn't go to that file and line number.  Nothing happens.

Same for me. BetterFindBuffer stopped working a couple of days ago. I haven't installed any new plugins. Sublime Text v. is 3.1.1.

This suddenly happened for me as well. It has been working fine since I started using it with some version of Sublime Text 3, and I'm pretty sure it worked fine with build 4121 (dec 2021). Recently updated to build 4142 and now I noticed that Enter or 'o' doesn't open the file. Double clicking a row opens the file though.

See #35 and #37

authors: LeEnno certainlyakey gabeplaysdrums jocke76

repo: aziz/BetterFindBuffer

license: mit

license_source: bigquery


text:
Delete executions directory on executor shutdown to reclaim disk space

The execution directory can bloat to be relatively large, which could lead to problems if the executor is shutdown and stale executions remain sitting on the executor occupying disk space.
This change deletes the execution directory on executor shutdown. The directory itself is created on executor initialization, so the directory isn't necessary to reset the executor later.
Note that the execution directory will not be deleted until AFTER all flows are done if the executor is brought down via shutdown() - so it will not delete partially-written logs before they are uploaded to the database.

@reallocf did you find out why the triggerManager.shutdown is not called in azkaban.execapp.FlowRunnerManager#shutdown?

@HappyRay it turns out the shutdownInternal method in AzkabanExecutorServer which invokes the orderly shutdown process for FlowRunnerManager ends with System.exit(0) which calls the shutdown hook - so the orderly process calls the disorderly process. So the deletion will happen under all shutdown conditions.

authors: HappyRay reallocf

repo: azkaban/azkaban


text:
Refactor loggings in FlowContainer and add Kafka log4j appender support

Before my change, FlowContainer assumes log4j.properties file is using "logs/azkaban-execserver.log" as the log file and further uploads that local file into MySQL. The assumption can easily break if we upgrade our log4j.properties or when open source users start using containerized azkaban.
After my change, following things will be done:

Check if log4j rootLogger has FileAppender integrated, if yes, use FileAppender.getFile() as the log file and uploads to MySQL when process ends.
If not, create FileAppender internally and attach it into log4j rootLogger. Use FileAppender.getFile() as the log file and uploads to MySQL when process ends.
Add Kafka log4j appender support into FlowContainer b/c FlowRunner's kafka log4j appender support is disabled when flow is running in containerization.

Pull Request Test Coverage Report for Build 6942

29 of 61 (47.54%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.07%) to 45.378%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-exec-server/src/main/java/azkaban/container/FlowContainer.java
29
61
47.54%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/jobcallback/JobCallbackRequestMaker.java
3
80.21%

azkaban-exec-server/src/main/java/azkaban/container/FlowContainer.java
3
28.26%

Totals

Change from base Build 6939:
0.07%

Covered Lines:
18159

Relevant Lines:
40017

💛  - Coveralls


text:
10/22 Extracting Mod Contents

Wabbajack install is stuck at "10/22 Extracting Mod contents".
I've waited over an hour and also tried restarting Wabbajack.

Hey, it's better if you could join discord to talk through - either Wabbajack or Emporium.
Wabbajack log file would be the most helpful. But meanwhile you could try to delete D:\downloaded_mod_lists\serenity.wabbajack and re-download it. On other hand, you probably want to have Wabbajack installed into a separate folder instead of root of disk D: --- that is another potential reason of problem.

Thank you for the response.
I left the installer running for about three hours and it finished; from what I've learned online it may have just taken a very long to process a particular mod, likely high res textures. I'm closing this ticket.

authors: JackBNimble azraerl

repo: azraerl/serenity


text:
fixed resolving of backend address pool name for application gateway path rule

This PR addresses issue #586. I took the minimalistic approach for now.

thanks for your PR @swilkodev - moving to integration branch!

authors: arnaudlh swilkodev

repo: aztfmod/terraform-azurerm-caf


text:
check visitor methods signatures according to production rules

the goal is to avoid visitor not being call as in  https://github.com/b3b00/csly/issues/192#issuecomment-678603534
for Parser<IN,OUT>

return type must be OUT
parameters can be

List<Group<IN, OUT>>
Group<IN, OUT>
ValueOption<Group<IN, OUT>>
ValueOption<OUT>
List<Token<IN>>
Token<IN>
List<OUT>
OUT

add a naw checker in ParserBuilder.CheckParser

solved with release 2.6.0.4


text:
WS90 (Wittboy) + GW2000A: datetime error

ecowitt2mqtt version
2022.04.1
Describe the bug
Hi,
I have 2 ecowitt stations (WS80 with GW1000A gw and the new WS90 (Wittboy) with the GW2000A gateway) with a lot of extra sensors (T&H, soil, lightning, etc.). I'm trying to use ecowitt2mqtt with the Wittboy+GW2000A, and I'm using the following docker compose file to run ecowitt2mqtt:
version: "3"

services:

  ecowitt2mqtt:
    image: bachya/ecowitt2mqtt:latest
    hostname: ecowitt2mqtt
    container_name: ecowitt2mqtt
    restart: unless-stopped
    environment:
      PORT: "8080"
      INPUT_UNIT_SYSTEM: "imperial"
      OUTPUT_UNIT_SYSTEM: "metric"
      LOG_LEVEL: "DEBUG"
      MQTT_BROKER: "mqtt.axel.dom"
      MQTT_PORT: "1883"
      MQTT_USERNAME: "mqtt_pass"
      MQTT_PASSWORD: "mqtt_user"
      MQTT_TOPIC: "ecowitt2mqtt/GW2000A"
      ENDPOINT: "/data/report"
      # HASS_DISCOVERY: "False"
      # HASS_DISCOVERY_PREFIX: homeassistant
    ports:
      - "8880:8080"

When it receives data from the GW2000A, I see the following error in the log:
INFO:aiohttp.access:10.1.10.160 [20/Apr/2022:19:13:46 +0000] "POST /data/report HTTP/1.1" 500 244 "-" "-"
DEBUG:ecowitt2mqtt:Received data from Ecowitt device: {'PASSKEY': 'CYYYXXXXX057B', 'stationtype': 'GW2000A_V2.1.4', 'runtime': '436796', 'dateutc': '2022-04-20 19:14:47', 'tempinf': '72.9', 'humidityin': '56', 'baromrelin': '29.870', 'baromabsin': '29.509', 'tempf': '59.7', 'humidity': '65', 'winddir': '327', 'windspeedmph': '2.24', 'windgustmph': '3.80', 'maxdailygust': '17.45', 'solarradiation': '0.00', 'uv': '0', 'rainratein': '0.000', 'eventrainin': '0.000', 'hourlyrainin': '0.000', 'dailyrainin': '0.000', 'weeklyrainin': '0.000', 'monthlyrainin': '0.736', 'yearlyrainin': '3.909', 'rrain_piezo': '0.000', 'erain_piezo': '0.063', 'hrain_piezo': '0.000', 'drain_piezo': '0.075', 'wrain_piezo': '0.075', 'mrain_piezo': '0.941', 'yrain_piezo': '4.114', 'ws90cap_volt': '5.2', 'ws90_ver': '115', 'temp1f': '71.2', 'humidity1': '61', 'temp2f': '71.2', 'humidity2': '58', 'temp3f': '70.5', 'humidity3': '61', 'temp4f': '73.0', 'humidity4': '58', 'temp5f': '70.7', 'humidity5': '69', 'temp6f': '72.7', 'humidity6': '58', 'temp7f': '67.1', 'humidity7': '54', 'temp8f': '68.0', 'humidity8': '56', 'soilmoisture1': '53', 'soilmoisture2': '57', 'soilmoisture3': '59', 'soilmoisture4': '49', 'soilmoisture5': '52', 'pm25_ch1': '21.0', 'pm25_avg_24h_ch1': '16.3', 'tf_co2': '62.2', 'humi_co2': '61', 'pm25_co2': '4.9', 'pm25_24h_co2': '7.5', 'pm10_co2': '6.1', 'pm10_24h_co2': '7.8', 'co2': '455', 'co2_24h': '473', 'lightning_num': '13', 'lightning': '1', 'lightning_time': '1650475037', 'wh80batt': '3.28', 'batt1': '0', 'batt2': '0', 'batt3': '0', 'batt4': '0', 'batt5': '0', 'batt6': '0', 'batt7': '0', 'batt8': '0', 'soilbatt1': '1.4', 'soilbatt2': '1.3', 'soilbatt3': '1.3', 'soilbatt4': '1.3', 'soilbatt5': '1.3', 'pm25batt1': '3', 'wh57batt': '3', 'co2_batt': '6', 'wh90batt': '3.22', 'freq': '868M', 'model': 'GW2000A'}
DEBUG:ecowitt2mqtt:Wind Chill Temperature is only defined for temperatures at or below 50 F and wind speeds above 3 mph. (temperature: 59.7, wind speed: 2.24)
DEBUG:ecowitt2mqtt:Publishing entire device payload to single topic: ecowitt2mqtt/GW2000A
DEBUG:ecowitt2mqtt:Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b''
DEBUG:ecowitt2mqtt:Received CONNACK (0, 0)
DEBUG:ecowitt2mqtt:Sending DISCONNECT
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/src/ecowitt2mqtt/mqtt.py", line 116, in async_publish_payload
    await _async_publish_to_topic(client, data, topic)
  File "/usr/src/ecowitt2mqtt/mqtt.py", line 73, in _async_publish_to_topic
    await client.publish(topic, _generate_payload(data))
  File "/usr/src/ecowitt2mqtt/mqtt.py", line 19, in _generate_payload
    return json.dumps(data).encode("utf-8")
  File "/usr/local/lib/python3.9/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/local/lib/python3.9/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/lib/python3.9/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/usr/local/lib/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type datetime is not JSON serializable
INFO:aiohttp.access:10.1.10.160 [20/Apr/2022:19:14:47 +0000] "POST /data/report HTTP/1.1" 500 244 "-" "-"

I used INPUT_UNIT_SYSTEM: "imperial" because I noticed from the raw data that the gw always sends imperial. Might the problem be the date/time format?
Thanks for any help on this.
Alessandro

I'm not entirely sure where the issue is coming from. Your 2nd log line shows the raw data received from your device; when I run a snippet of code equivalent to the code that currently throws the TypeError:
import json

data = {
    "PASSKEY": "CYYYXXXXX057B",
    "stationtype": "GW2000A_V2.1.4",
    "runtime": "436796",
    "dateutc": "2022-04-20 19:14:47",
    "tempinf": "72.9",
    "humidityin": "56",
    "baromrelin": "29.870",
    "baromabsin": "29.509",
    "tempf": "59.7",
    "humidity": "65",
    "winddir": "327",
    "windspeedmph": "2.24",
    "windgustmph": "3.80",
    "maxdailygust": "17.45",
    "solarradiation": "0.00",
    "uv": "0",
    "rainratein": "0.000",
    "eventrainin": "0.000",
    "hourlyrainin": "0.000",
    "dailyrainin": "0.000",
    "weeklyrainin": "0.000",
    "monthlyrainin": "0.736",
    "yearlyrainin": "3.909",
    "rrain_piezo": "0.000",
    "erain_piezo": "0.063",
    "hrain_piezo": "0.000",
    "drain_piezo": "0.075",
    "wrain_piezo": "0.075",
    "mrain_piezo": "0.941",
    "yrain_piezo": "4.114",
    "ws90cap_volt": "5.2",
    "ws90_ver": "115",
    "temp1f": "71.2",
    "humidity1": "61",
    "temp2f": "71.2",
    "humidity2": "58",
    "temp3f": "70.5",
    "humidity3": "61",
    "temp4f": "73.0",
    "humidity4": "58",
    "temp5f": "70.7",
    "humidity5": "69",
    "temp6f": "72.7",
    "humidity6": "58",
    "temp7f": "67.1",
    "humidity7": "54",
    "temp8f": "68.0",
    "humidity8": "56",
    "soilmoisture1": "53",
    "soilmoisture2": "57",
    "soilmoisture3": "59",
    "soilmoisture4": "49",
    "soilmoisture5": "52",
    "pm25_ch1": "21.0",
    "pm25_avg_24h_ch1": "16.3",
    "tf_co2": "62.2",
    "humi_co2": "61",
    "pm25_co2": "4.9",
    "pm25_24h_co2": "7.5",
    "pm10_co2": "6.1",
    "pm10_24h_co2": "7.8",
    "co2": "455",
    "co2_24h": "473",
    "lightning_num": "13",
    "lightning": "1",
    "lightning_time": "1650475037",
    "wh80batt": "3.28",
    "batt1": "0",
    "batt2": "0",
    "batt3": "0",
    "batt4": "0",
    "batt5": "0",
    "batt6": "0",
    "batt7": "0",
    "batt8": "0",
    "soilbatt1": "1.4",
    "soilbatt2": "1.3",
    "soilbatt3": "1.3",
    "soilbatt4": "1.3",
    "soilbatt5": "1.3",
    "pm25batt1": "3",
    "wh57batt": "3",
    "co2_batt": "6",
    "wh90batt": "3.22",
    "freq": "868M",
    "model": "GW2000A",
}

print(json.dumps(data).encode("utf-8"))

...everything works as expected:
b'{"PASSKEY": "CYYYXXXXX057B", "stationtype": "GW2000A_V2.1.4", "runtime": "436796", "dateutc": "2022-04-20 19:14:47", "tempinf": "72.9", "humidityin": "56", "baromrelin": "29.870", "baromabsin": "29.509", "tempf": "59.7", "humidity": "65", "winddir": "327", "windspeedmph": "2.24", "windgustmph": "3.80", "maxdailygust": "17.45", "solarradiation": "0.00", "uv": "0", "rainratein": "0.000", "eventrainin": "0.000", "hourlyrainin": "0.000", "dailyrainin": "0.000", "weeklyrainin": "0.000", "monthlyrainin": "0.736", "yearlyrainin": "3.909", "rrain_piezo": "0.000", "erain_piezo": "0.063", "hrain_piezo": "0.000", "drain_piezo": "0.075", "wrain_piezo": "0.075", "mrain_piezo": "0.941", "yrain_piezo": "4.114", "ws90cap_volt": "5.2", "ws90_ver": "115", "temp1f": "71.2", "humidity1": "61", "temp2f": "71.2", "humidity2": "58", "temp3f": "70.5", "humidity3": "61", "temp4f": "73.0", "humidity4": "58", "temp5f": "70.7", "humidity5": "69", "temp6f": "72.7", "humidity6": "58", "temp7f": "67.1", "humidity7": "54", "temp8f": "68.0", "humidity8": "56", "soilmoisture1": "53", "soilmoisture2": "57", "soilmoisture3": "59", "soilmoisture4": "49", "soilmoisture5": "52", "pm25_ch1": "21.0", "pm25_avg_24h_ch1": "16.3", "tf_co2": "62.2", "humi_co2": "61", "pm25_co2": "4.9", "pm25_24h_co2": "7.5", "pm10_co2": "6.1", "pm10_24h_co2": "7.8", "co2": "455", "co2_24h": "473", "lightning_num": "13", "lightning": "1", "lightning_time": "1650475037", "wh80batt": "3.28", "batt1": "0", "batt2": "0", "batt3": "0", "batt4": "0", "batt5": "0", "batt6": "0", "batt7": "0", "batt8": "0", "soilbatt1": "1.4", "soilbatt2": "1.3", "soilbatt3": "1.3", "soilbatt4": "1.3", "soilbatt5": "1.3", "pm25batt1": "3", "wh57batt": "3", "co2_batt": "6", "wh90batt": "3.22", "freq": "868M", "model": "GW2000A"}'

What's especially odd: that data contains only string values – there isn't a datetime object anywhere.
I'm curious if the data still gets published to the ecowitt2mqtt/GW2000A topic in your MQTT broker?

I'm curious if the data still gets published to the ecowitt2mqtt/GW2000A topic in your MQTT broker?

No, I already checked that when I opened the issue. Looks like it stops at the error, it's not a warning.
Please let me know what else I can do to help debugging this.

Okay, I see what's happening: the lightning strike epoch (which comes in as an int) gets converted to a datetime before the publish chokes. I'll address.

Glad you found it. So I'm the only one using the WH57? :)

@alexdelprete Alright, I've confirmed this fixes your issue. The dev Docker image is building now.

Ok, I'll test it and let you know. Thanks.

It looked like it was working fine:
INFO:ecowitt2mqtt:Published to ecowitt2mqtt/GW2000A: {'runtime': 1050395, 'tempin': 23.6, 'humidityin': 52, 'baromrel': 1017.813, 'baromabs': 1005.589, 'temp': 14.2, 'humidity': 69, 'winddir': 351, 'windspeed': 4.7, 'windgust': 6.5, 'maxdailygust': 16.78, 'solarradiation': 0.0, 'uv': 0, 'rainrate': 0.0, 'eventrain': 0.0, 'hourlyrain': 0.0, 'dailyrain': 0.0, 'weeklyrain': 0.0, 'monthlyrain': 36.8, 'yearlyrain': 117.4, 'rrain_piezo': 0.0, 'erain_piezo': 0.0, 'hrain_piezo': 0.0, 'drain_piezo': 0.4, 'wrain_piezo': 2.0, 'mrain_piezo': 76.2, 'yrain_piezo': 156.8, 'ws90cap_volt': 5.1, 'ws90_ver': 115, 'temp1': 22.3, 'humidity1': 61, 'temp2': 22.9, 'humidity2': 57, 'temp3': 21.9, 'humidity3': 65, 'temp4': 23.7, 'humidity4': 55, 'temp5': 21.5, 'humidity5': 66, 'temp6': 23.5, 'humidity6': 55, 'temp7': 20.6, 'humidity7': 48, 'temp8': 20.2, 'humidity8': 52, 'soilmoisture1': 53, 'soilmoisture2': 58, 'soilmoisture3': 60, 'soilmoisture4': 47, 'soilmoisture5': 47, 'pm25_ch1': 0.0, 'pm25_avg_24h_ch1': 0.0, 'tf_co2': 62.6, 'humi_co2': 58, 'pm25_co2': 4.9, 'pm25_24h_co2': 4.8, 'pm10_co2': 5.3, 'pm10_24h_co2': 5.2, 'co2': 497, 'co2_24h': 483, 'lightning_num': 98.2, 'lightning': 0.6, 'lightning_time': datetime.datetime(2022, 4, 27, 19, 1, 23, tzinfo=datetime.timezone.utc), 'wh80batt': 3.28, 'batt1': 'OFF', 'batt2': 'OFF', 'batt3': 'OFF', 'batt4': 'OFF', 'batt5': 'OFF', 'batt6': 'OFF', 'batt7': 'OFF', 'batt8': 'OFF', 'soilbatt1': 1.3, 'soilbatt2': 1.3, 'soilbatt3': 1.2, 'soilbatt4': 1.3, 'soilbatt5': 1.3, 'pm25batt1': 'ON', 'wh57batt': 'ON', 'co2_batt': 'ON', 'wh90batt': 3.22, 'dewpoint': 8.6, 'feelslike': 14.2, 'heatindex': 13.5, 'solarradiation_lux':0.0, 'solarradiation_perceived': 0.0, 'windchill': None}

Then I enabled HA discovery and got an error, and it stops sending data to MQTT. If I disable HA discovery, I can see updates in the MQTT topic again.
DEBUG:ecowitt2mqtt:Using arguments: Namespace(log_level='DEBUG', mqtt_broker='mqtt.axel.dom', mqtt_port=1883, mqtt_username='xxxxxx', mqtt_password='xxxxx', mqtt_topic='ecowitt2mqtt/GW2000A', hass_discovery=True, hass_discovery_prefix='homeassistant', endpoint='/data/report', port=8080, raw_data=None, input_unit_system='imperial', output_unit_system='metric')
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:ecowitt2mqtt:Received data from Ecowitt device: {'PASSKEY': 'XXXXXXX', 'stationtype': 'GW2000A_V2.1.4', 'runtime': '1050700', 'dateutc': '2022-04-27 21:46:16', 'tempinf': '74.5', 'humidityin': '52', 'baromrelin': '30.056', 'baromabsin': '29.695', 'tempf': '57.6', 'humidity': '69', 'winddir': '353', 'windspeedmph': '4.92', 'windgustmph': '7.16', 'maxdailygust': '16.78', 'solarradiation': '0.00', 'uv': '0', 'rainratein': '0.000', 'eventrainin': '0.000', 'hourlyrainin': '0.000', 'dailyrainin': '0.000', 'weeklyrainin': '0.000', 'monthlyrainin': '1.449', 'yearlyrainin': '4.622', 'rrain_piezo': '0.000', 'erain_piezo': '0.000', 'hrain_piezo': '0.000', 'drain_piezo': '0.016', 'wrain_piezo': '0.079', 'mrain_piezo': '3.000', 'yrain_piezo': '6.173', 'ws90cap_volt': '5.1', 'ws90_ver': '115', 'temp1f': '72.1', 'humidity1': '61', 'temp2f': '73.0', 'humidity2': '57', 'temp3f': '71.4', 'humidity3': '65', 'temp4f': '74.7', 'humidity4': '55', 'temp5f': '70.7', 'humidity5': '65', 'temp6f': '74.3', 'humidity6': '55', 'temp7f': '68.9', 'humidity7': '48', 'temp8f': '68.2', 'humidity8': '52', 'soilmoisture1': '53', 'soilmoisture2': '58', 'soilmoisture3': '60', 'soilmoisture4': '47', 'soilmoisture5': '47', 'pm25_ch1': '0.0', 'pm25_avg_24h_ch1': '0.0', 'tf_co2': '62.4', 'humi_co2': '59', 'pm25_co2': '3.9', 'pm25_24h_co2': '4.8', 'pm10_co2': '4.1', 'pm10_24h_co2': '5.2', 'co2': '476', 'co2_24h': '482', 'lightning_num': '158', 'lightning': '1', 'lightning_time': '1651086083', 'wh80batt': '3.28', 'batt1': '0', 'batt2': '0', 'batt3': '0', 'batt4': '0', 'batt5': '0', 'batt6': '0', 'batt7': '0', 'batt8': '0', 'soilbatt1': '1.3', 'soilbatt2': '1.3', 'soilbatt3': '1.3', 'soilbatt4': '1.3', 'soilbatt5': '1.3', 'pm25batt1': '2', 'wh57batt': '3', 'co2_batt': '6', 'wh90batt': '3.22', 'freq': '868M', 'model': 'GW2000A'}
DEBUG:ecowitt2mqtt:Wind Chill Temperature is only defined for temperatures at or below 50 F and wind speeds above 3 mph. (temperature: 57.6, wind speed: 4.92)
DEBUG:ecowitt2mqtt:Publishing according to Home Assistant MQTT Discovery standard
DEBUG:ecowitt2mqtt:Sending CONNECT (u1, p1, wr0, wq0, wf0, c1, k60) client_id=b''
DEBUG:ecowitt2mqtt:Received CONNACK (0, 0)
INFO:ecowitt2mqtt:No entity description found for key: runtime
INFO:ecowitt2mqtt:No entity description found for key: runtime
DEBUG:ecowitt2mqtt:Sending DISCONNECT
ERROR:aiohttp.server:Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/src/ecowitt2mqtt/mqtt.py", line 114, in async_publish_payload
    await _async_publish_to_hass_discovery(client, data, discovery_manager)
  File "/usr/src/ecowitt2mqtt/mqtt.py", line 36, in _async_publish_to_hass_discovery
    _generate_payload("online"),
  File "/usr/src/ecowitt2mqtt/mqtt.py", line 77, in _generate_payload
    return value.encode("utf-8")
UnboundLocalError: local variable 'value' referenced before assignment
INFO:aiohttp.access:10.1.10.160 [27/Apr/2022:21:46:16 +0000] "POST /data/report HTTP/1.1" 500 244 "-" "-"
/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py:449: RuntimeWarning: coroutine 'Client.publish' was never awaited
  reset = await self.finish_response(request, resp, start_time)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

authors: alexdelprete bachya


text:
🐛 Bug Report: missing webpack loader for webp imports

📜 Description
Webpack configuration is missing a loader for handling imports of *.webp images.
👍 Expected behavior
It should be possible to import webp images from typescript srouce files.
👎 Actual Behavior with Screenshots
Webpack error is thrown.

👟 Reproduction steps
Create a .webp image and try importing it into a source file.
📃 Provide the context for the Bug.
No response
🖥 Your Environment
Current master branch of the backstage repo.
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

I hope you don't mid me reporting this as a bug. It could be considered a new feature request, as I think this never worked. I opened it as a bug because I noticed there is some config for webp in asset-types.d.ts, so I guess that there is assumption that it should work.

Thank you for reporting!
This would require fixes in these areas:

bundling: https://github.com/backstage/backstage/blob/e4125fb698cd361086918a5acd4f21727126c001/packages/cli/src/lib/bundler/transforms.ts#L144-L152
building: https://github.com/backstage/backstage/blob/ea1663376eb45753c0de4722a0e25e2faefbd82f/packages/cli/src/lib/builder/config.ts#L165-L174
testing: https://github.com/backstage/backstage/blob/6819f8cef2ad79583750ebb893073159c67b1007/packages/cli/config/jest.js#L216

Would you like to contribute a fix?

authors: Antolius Rugvip

repo: backstage/backstage


text:
Feature request: Custom notifier message/stats

I would find it useful if backup can return some stats after the backup such as:

file size (for storages where it is possible)
size of the archive folder/bucket
checksum of the file
duration of backup run

Depending of the notifier they can be pushed in different ways, either as a text or as separate metrics that a user can select to receive.

You can already customize the notifier messages to include some of this since v4.2.0, see also #698.
The things you're asking for:

File size

Currently not recorded. Planned for the next major release

Size of the archive folder

Currently not supported. Not sure if we would want to ask the remote storage for this or should just return a sum of all registered backups.

Checksum

Currently not supported
See also https://github.com/backup/backup-features/issues/29

Duration

see Model.duration

Thanks!
I will take a look at the things you pointed out. Feel free to close this issue.

authors: itatabitovski tombruijn

repo: backup/backup


text:
file_path cop seems to produce wrong snake_case

The current "camel case to underscore" logic of the file_path cop produces for "S3MailRoom" -> "s_3_mail_room*_spec.rb", which is quite strange.
Rails/ActiveSupport produce "s3_mail_room" instead.
irb(main):007:0> include ActiveSupport::Inflector
irb(main):006:0> underscore('S3MailRoom')
=> "s3_mail_room"

I think is is a bug on the cop, if the issue is confirmed I can fit it with a PR :)

I think @bquorning fixed this in #195 but we haven't released it yet. Can you try master and see if it works?

Oh great, this is fixed on master! :+1: Instead I have now 224 new offenses, but hey ^__^

repo: backus/rubocop-rspec


text:
Cop idea: it without description

RSpec allows for auto-generated descriptions, based on the expectation used. I personally don't like this style. But even if used, I've seen people put an empty string as description, instead of omitting it completely. So I propose cop that detect this and removes the empty string, as well as having an option to completely disable usage of it without a description

Agreed. I've been thinking about adding this for a while but haven't gotten around to it.

authors: Darhazer dgollahon


text:
Fixed 1.16+ lore NPE errors.

Fixed the NPE errors with item.getItemMeta().

Was there a reason for it to be closed? Just wondering haven't looked at it yet just saw it got closed.

Sorry about that, I shouldn't have opened that when i did. Should be good now.

Thanks a lot <3

Thanks a lot <3


text:
Autoselect badge link when clicking it on the homepage

Personally I found it kinda annoying when manually selecting thm

Interesting! Thanks a lot!
I think we can deal the same treatment to the menu that appears when we click on the badge. Clicking on the markdown code should select it. Right now, they're not <code>, they're <input>, because it was easier to style and prevent them from taking all the space while easily allowing people to ctrl+a to select it all, but with that patch, it becomes possible to switch them to <code>. Or, if you want, we can keep them as <input> and select them when we click it.
However, your event listener never gets called because we do stopPropagation() in the markup dialog.
Do you want to add that in, or fix this in any way?

Switched the last 2 inputs with code fields and fixed binding, should be working now (tested it, it works).

Looks good! :+1:

Thanks. It doesn't quite work right, as now updating the text fields don't update the contents of the markup fields in the dialog box.
I didn't dig into why it fails, since your commits seem to erase the whole file, making the diff unreadable. Please don't do that. Please remove the commit that “fixes” the markup (8878252). Such an operation would deserve a separate pull request. As an aside, a PR with that commit would not be accepted, as there are only a handful of things that make the page fail HTML validation, and adding a <head> or increasing indentation is not it — in fact, your changes double the number of validation errors.
In a pull request, do one thing, and do it well.
Therefore, I'd also like you to squash your commits together with a git rebase -i 9ffba57^^.

authors: WouterDS espadrine jenssegers

repo: badges/shields


text:
Support git hash in [nexus] SNAPSHOT version

The SNAPSHOT version pre-check wouldn't match a SNAPSHOT version that includes a hash (git hash, a default convention when using sbt-dynver). Incidentally, it would match versions with hashes that end with 0-9, but not with a-f.
There was a test in nexus.tester.js that tested a version with a hash that passed because the hash ended with 0-9.
i.e.)
Match
7.0.1+19-8844c122-SNAPSHOT

No match
7.0.1+19-8844c12a-SNAPSHOT

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @seglo!

  Generated by :no_entry_sign: dangerJS against 74dd8a148402c9c3ee1da21439e2a106dee4b010

This improvement has been deployed to production! 🍾

Confirmed it works. Thanks!

authors: PyvesB seglo shields-ci


text:
Simplify and gut some features

I think stripping things back and aiming for simplicity,
less code, more info about how to create cards,
and aiming at beginners to intermediates.[^1]

Issues should be handled better, keeping them simple enough to not scare beginners off (think kids) and ones that are "for my eyes only" kept hidden somehow. Try to encourage some kind of interaction for those who use the tool regularly.
Simplify initial README so it's easier to digest. Show it, don't say it! Remember some of the books you've read that are too fussy worded and academic. Reduce!
Add some gifs and videos. User pain points. Easy install. Ditch the professional docs.

[ ] Make sure you've got a demo of the best feature in the documentation!

#110 (for intermediate users 🧑🎓)

[ ] Potentially (but no guarantees) make some "reveals" more standout (subtly)

#125 (at the very least, blur the "question" (code block) and highlight the "answer" (code block)
#129
In general cards should created in a simple way that makes the answer obvious (isn't always easy)

[x] Remove solved issues

Add a note in the documentation where appropriate
#118
#132 Add a very specific note about selecting text right to the end of the line in docs.
#81 Run through these quickly and do the easy stuff where necessary.
#89 Salvage any useful thoughts from here (such as bold don't {{cloze::...}})
#12 Add a "note to self" for using fonts in the future. Especially variable fonts.

[x] Remove advanced documentation — if they really need it, it isn't so hard to figure out. We can leave that there for posterity in a previous commit.

Keep things simple wherever possible
Have a simple section on compiling the data files with Pandoc
Keep the CSS styling section simple too, they can use one of the other Skylighting themes if they prefer.
Make sure they know they'll have to create their own config file for css if they want to keep any changes for future updates.

[x] Data folder (compiled files)

Currently shows Pandoc's default css, not our custom css
The Anki Child Theme's *-stripped.html output files are useful, but when rendered in the browser they won't render proper utf-8 characters.
I'm thinking to take the hit on nicely formatted "preview" data files and just stick with the *-stripped.html output files for speed of adding cards.
#98
Remove the data-Anki classes

[x] Converting "data" from Markdown to HTML (with Pandoc) comes with some problems

You have to make sure you don't copy/paste the surrounding tags[^2]
I don't see anyway around this and you'll just have to use common sense (and a little prompting) to copy/paste the data

[x] Anki Child Theme seems defunct

I'm reasonably confident the majority of people using this are "rip and run" types.
I'm hazarding a guest

[x] Simplify the code colours

Start with one of the defaults, for instance — and they're really quite basic — and look at some simple examples of dark and light themes with other code highlighters, compare and contrast. It doesn't have to be Solarized or Monokai — but get it right!! Simplify!
#134 (just do your best)
Apart from --color-code-light-background all the css variables underneath #2 can go.
Explore the possibility to use pygmentize with Pandoc. It might be slighly better colour tokens.

[x] #79 Give night mode a quick try (wait until other CSS changes are done)

It's best I think this out a bit first, the colour palette needs some consideration.

[^1]: The problem with using Anki for advanced stuff is that there's a whole lot more code involved. It's still possible to use it, but you have to be quite careful with your card creation. It needs to be to-the-point, only hold the specific problem, with specific code, that can be viewed in 30 seconds or less. When you get to that point, sometimes a file with comments is better.
[^2]: For instance, with missing-stripped.md, the ★ Title mentions in the comments auto wrapped in a h1 tag, meaning **only the code inside the h1 tag is needed to copy/paste.

Closing this out

repo: badlydrawnrob/anki


text:
I installed the package by composer,but it couldn't include by composer?

When debugging into composer,I found the composer.json not including “autoload” config! Is there any wrong?

@zhushengwen, could you provide more details, for example, do you use phpunit?
If not how you require vendor/autoload.php.
Also could you provide soft-mocks install-log though composer?

@zhushengwen, looks like you run tests not through vendor/bin/phpunit.
So you should modify your run script, you can details in Usage in readme:

The thing that sets SoftMocks apart (and also limits their usage) is that they need to be initiated at the earliest phase of the app launch.

Close, because there is no answer for long time.

authors: mougrim zhushengwen

repo: badoo/soft-mocks


text:
Seems not working with sdk versions from 30 or above

When I perform the build of the project after follow install as is detailed in readme I got this error:
The specified Android SDK Build Tools version (29.0.3) is ignored, as it is below the minimum supported version (33.0.1) for Android Gradle Plugin 8.1.1. Android SDK Build Tools 33.0.1 will be used. To suppress this warning, remove "buildToolsVersion '29.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
my build.gradle:
`buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34
ndkVersion = "25.1.8937393"
kotlinVersion = "1.8.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}
}
apply plugin: "com.facebook.react.rootproject"`

I also found this for more info:

repo: baekgol/react-native-alarm-manager


text:
Cover aspect ratio

Hi.
It is not a big deal but will be better if use portrait cover instead of current landscape version for epub cover.
Most of the ebook manager and ebook reader use that image in library(in portrait mod)

I don't know how to control that. I use pandoc to generate the epub.

authors: Monirzadeh bagder

repo: bagder/uncurled


text:
There is some extra space between the product image and add to cart button in the mobile view

Bagisto Version: Master
Steps To reproduce--
1. Log in as a user with the default theme
2. View the products list in the mobile view.
Expected result: There should not be any extra space between the product image and add to cart button in the mobile view.
Actual result: There is some extra space between the product image and add to cart button in the mobile view. Please find the screenshot Here

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.

repo: bagisto/bagisto


text:
Clear ALL button issues #6778

Issue Reference
#6778

@papnoisanjeev
Please resolve the conflicts.

@Sanjaybhattwebkul
Resolved,  please check.

authors: Sanjaybhattwebkul papnoisanjeev


text:
Min:{length} not working

Versions:

VueJs: 2.5.3
Vee-Validate: 2.0.0-rc.21

Description:
Hi there,
I am unable to make my validation working when I have a min:{lenght} or max:{length} inside. Basically, all works fine with a simple "required" - but with something else, as soon as I start to type, my input get cleared out.
I'm afraid this comes from the @keyput.enter, but I need it.
Any recommendation?
Gist here: https://gist.github.com/bdebever/85b978653895c7b1db1f17d5b1b0d674
Thanks;

You need to re-create the issue in a fiddle or codesandbox, I tried a minimal example and it works fine:
https://jsfiddle.net/logaretm/c0w1wja1/
So it should be a specific issue with your app or example.

https://jsfiddle.net/rm1dyw84/
with this validation 'required|min:1' it is valid when 0

authors: bdebever logaretm uncleGena

repo: baianat/vee-validate


text:
Use original protostr for unittest of trainer_config_helper

Currently, the unittest at python/paddle/trainer_config_helper/tests/configs/run_tests.sh compares the generated protostr with the desired protostr using md5sum. The problem is that once something is changed in a PR, it is very hard for the code reviewers to figure out the changes to the original protostr.

如果github上的单测可以过，说明改过的protostr是没有问题的。

We thought that to add the generated protostr into git is too noising, but it is very hard to code review. We should change them ASAP.

@wen-bo-yang Could you help us to fix this issue? Just a good chance to learn how to use git, submit PR,  and Paddle unittest process.

@wen-bo-yang 我说一下我们目前单测配置文件的一些上下文。
Paddle配置文件解析
目前Paddle的配置文件通过在Python端一并序列化成 protobuf 的二进制格式，然后再交由C++端进行处理。配置文件的解析使用python，这样可以方便用户去配置网络格式，而不用手写繁杂的protostring
具体示意图如下:

Paddle目前的配置文件单元测试
目前Paddle的配置文件单测在 这里。它首先将这个目录的配置文件，转换成protostring文件，然后对比这个protostring文件的md5是否和原来记录的md5一致。
这样做就有一个问题是，我们在版本库里记录了md5值，而没有记录protostring应该是什么样子。导致我们写一个新的配置，或者修改了原来的配置，只能看到md5的变更，而看不到protostring的变更，这样不利于被code review。
这个issue想要更换的单测格式
我们想要先将每一个配置的protostr生成出来，然后保存到git版本管理中。
然后，再对比每一次单测时候，新生成的配置与在git中的配置是否一致即可。是否一致的对比我们还可以用md5来做。
比如，对于一个配置 test_fc.py。我们先用paddle生成一个配置文件 test_fc.protostr，保存在git中。在单测的时候，我们再生成一个文件 test_fc.protostr.unittest， 然后对比这两个文件的md5值一致即可。
整体的设计思路如上，请 @wen-bo-yang 确认一下

@reyoung  明白，我先了解下整体流程。

@reyoung  https://github.com/baidu/Paddle/pull/362

增加了对当前配置文件的protostr文件，并保存与protostr文件夹下，该文件夹是新创建的。
如对test_fc.py生成的protostr文件名为test_fc.protostr，同时保存在porotsrt文件夹下。
后续将生成的新的protostr文件保存在protostr下，并命名为xxx.protostr.unitest。
如对test_fc.py进行单侧是，会产生test_fc.protostr.unitest，并也将该文件保存在protostr文件夹下
修改了check.md5 中第二列的，指定了生成unitest的路径和文件名。

@reyoung https://github.com/baidu/Paddle/pull/363

添加了新路径protostr用于保存以当前配置文件生成的protostr，同时将每次生成的protostr.unitest也保存在该路径下，路径名为：“Paddle/python/paddle/trainer_config_helpers/tests/configs/protostr”
如，test_fc.py 当前生成的protostr文件问test_fc.protostr，每次单侧生成的文件名问test_fc.protostr.unitest
修改了check.md5文件第二列，检测生成文件的路径
修改了generate_protostr.sh 将每次生成的protostr重新命名为xxx.protostr.unitest并保存在protostr路径下

authors: emailweixu luotao1 reyoung wen-bo-yang

repo: baidu/Paddle


text:
Change INFURA env to INFURA_API_KEY

This is more explicit

On Infura.io, this is called PROJECT ID, so I could name this INFURA_PROJECT_ID -- this also distinguishes it from the PROJECT_SECRET

repo: balancer-labs/balancer-sdk


text:
Retry of PR #3 - use real port instead of static 1337

Retry of PR #3
Github does not allow me anymore to edit my PR since I've deleted my patch-1 fork.

Thanks @fibric!

repo: balderdashy/sails-generate-views


text:
Put the new Mongo Pool Size config in sails-mongo

Node version: 16.20.2
Sails version (sails): - (NestJS App)
ORM hook version (sails-hook-orm): -
Sockets hook version (sails-hook-sockets): -
Organics hook version (sails-hook-organics): -
Grunt hook version (sails-hook-grunt): -
Uploads hook version (sails-hook-uploads): -
DB adapter & version (e.g. sails-mysql@5.55.5): "sails-mongo": "2.1.0"
Skipper adapter & version (e.g. skipper-s3@5.55.5):  -
mongodb version :  "mongodb": "6.3.0"

First I want to thank you very much for updating sails-mongo 🚀❤
Here is the problem :
Error happen when server is starting.
[Nest] 269955   - 03/04/2024, 4:25:33 PM   Invalid configuration for datastore `mongo`:  Unrecognized options (`maxPoolSize`) specified as config overrides.
This adapter expects only whitelisted properties.
--
See http://sailsjs.com/config/datastores#?the-connection-url for info,
or visit https://sailsjs.com/support for more help. +132ms
Error: Invalid configuration for datastore `mongo`:  Unrecognized options (`maxPoolSize`) specified as config overrides.
This adapter expects only whitelisted properties.
--
See http://sailsjs.com/config/datastores#?the-connection-url for info,
or visit https://sailsjs.com/support for more help.
    at Object.registerDatastore (/home/app/application/node_modules/sails-mongo/lib/index.js:209:58)
    at /home/app/application/node_modules/waterline/lib/waterline.js:717:27

See with @DominusKelvin, mongo parameter poolSize is now deprecated, I've replace it by maxPoolSize wich is not reconized by the new release of sails-mongo.
Regards 😃

Thanks @marecatg for this detailed PR. I'll look to providing a patch release of sails-mongo to add maxPoolSize connection option.
Also I'll further investigate what other configs were deprecated as well and what else to add.

Hey @marecatg I just opened a PR to add the maxPoolSize config. This will be merged as soon as possible. Thanks for your patience on this one. cc @eashaw

Thank you @DominusKelvin 🚀

Hello, any news about the PR ? Thank you?

Hey @marecatg the PR has been merged that added the new pool size config to sails-mongo. There is also a new patch release as well.

authors: DominusKelvin marecatg

repo: balderdashy/sails


text:
VK_Counters failures due to small runtime rounded to 0

Description
The test VK_Counters seems to time how long it takes to draw a single triangle (GPU Duration of draw).
On modern hardware, this test can run so fast that it reports taking 0 time, which causes the test to fail.
At least, that is my assumption of what is happening.
Perhaps the issue can be resolved by rendering more geometry?
Steps to reproduce
This is just running the VK_Counters test on an Nvidia GTX 1060.
Environment

RenderDoc version: 1.20
Operating System: Windows 10
Graphics API: Vulkan

Bug reports should only be opened for bugs on RenderDoc itself. The tests are only intended for RenderDoc developers, and are not for general users so not in scope for bug reports.

Granted, this is not a RenderDoc bug.  Still, it would probably make lives easier for RenderDoc developers if this issue were resolved.

authors: baldurk meup

repo: baldurk/renderdoc


text:
MiniQtHelper: Add getter and setter for CollapseGroupBox;

A CollapseGroupBox is basically a checkable widget, but there is not support to get the collapsed state for this type of widget.
Here adds the support to get or set a CollapseGroupBox collapsed status in MiniQtHelper, for better extension writting experience.

This looks good, but can you please tidy up the commit history? As in the CONTRIBUTING documentation you should not have merge commits in your history and every commit should compile and comply with the formatting rules.

Sure, the commits have been merged into one commit: https://github.com/baldurk/renderdoc/commit/ac357ea5bc3a8ed750d0e67eb45fc51c46f0bbf0


text:
Captive portal does not work on BalenaOS 2.46.1 (Supervisor 10.x)

I had this project working nicely with my other projects, but recently the captive portal no longer comes up.  When my phone connects to the wifi portal, it indicates "connected", then "obtaining ip address", then "no internet", but never brings up the captive portal.  This was working a few weeks ago, trying to debug but can't figure out what has changed to stop this working.
Any hints how to debug this?

Hi it seems like I having the same problem on this distribution balenaOS 2.44.0+rev3
I have clone this repo, built it for rpi3 with balena and deployed in a multi-container application with network_mode: host privileged: true
It generate the AP, but never open the portal, I am using for testing an rpi3 as hardware, a xiaomi and a macBook Pro for the portal.

authors: marclennox matteopeluso

repo: balena-io/wifi-connect


text:
layers/meta-balena: Update to v5.1.58

Update meta-balena from 5.1.55 to 5.1.57
Changelog-entry: Update meta-balena from v5.1.55 to v5.1.57

lgtm

@resin-jenkins retest this please

@resin-jenkins retest this please

@resin-jenkins test this please

@resin-jenkins retest this please

@resin-jenkins test this please

Passed:

test-raspberrypi3
test-raspberrypi3-64

@resin-jenkins test this please

test-raspberrypi3-64 failed the preload test and is likely a fluke
jenkins-leviathan-v2-template-54011-client-1  | Retrying (count=10) /sbin/losetup -f --show --offset 4194304 --sizelimit 41943040 /img/balena.img False
jenkins-leviathan-v2-template-54011-client-1  | Hint: If using a Virtual Machine, consider increasing the number of processors.
jenkins-leviathan-v2-template-54011-client-1  | If using Docker Desktop for Windows or macOS, it may require restarting.

test-raspberrypi  failures:
HUP:
jenkins-leviathan-v2-template-54013-client-1  | [2024-06-18T15:09:54.145Z][7c68847-hup]         not ok 1 - Should detect cd6682b.local on local network and establish tunnel

OS:
jenkins-leviathan-v2-template-54013-client-1  | [2024-06-18T15:34:17.837Z][fe2b1d3-os]     not ok 2 - Device 5a26794.local should be reachable over local SSH connection

Cloud:
jenkins-leviathan-v2-template-54013-client-1  | [2024-06-18T15:52:24.535Z][fe2b1d3-cloud] 500 - "<!DOCTYPE html><html><head><meta charset=\"utf8\"><title>balena.io Device Public URLs</

None of them actually started running tests on device so there might be something wrong with the device in the rig. We should run an e2e test on it.

I re-ran test-raspberrypi3

Re-ran all individual tests

@resin-jenkins test this please

Restarted the tests.
Also, marked the builds in Jenkins as to be kept forever so we don't have to keep restarting the builds after 24 hours. When this PR is merged we should unmark these builds as to be kept forever,

Passed:

test-raspberrypi3
test-raspberrypi3-64
test-raspberrypi4-64

Just re-tried test-raspberrypi that failed to see the device after programming.
Please do not retest all as we just need the RPI to pass.

I removed the keep this build forever from the builds.

authors: alexgg floion jakogut klutchell

repo: balena-os/balena-raspberrypi


text:
Orange pi zero install problem

please help
Error in plugin: [url=http://sensor:7575]: Get "http://sensor:7575": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
sensor_bitter-resonance-06.06.21_17_14_43_(+0400).txt
C:\Users\lasur\Downloads\balena-sense-2.0.0\balena-sense-2.0.0>balena push g_laska/sensor
[Info]       Starting build for sensor, user g_laska
[Info]       Dashboard link: https://dashboard.balena-cloud.com/apps/1834675/devices
[connector]  [=========================================================] 100%
[sensor]     [=========================================================] 100%
[dashboard]  [=========================================================] 100%
[Info]       Uploading images
[Success]    Successfully uploaded images
[Info]       Built on arm02
[Success]    Release successfully created!
[Info]       Release: f286d4819eb0e6a6be56996fcb6e0c6a (id: 1822551)
[Info]       ┌───────────┬────────────┬────────────┐
[Info]       │ Service   │ Image Size │ Build Time │
[Info]       ├───────────┼────────────┼────────────┤
[Info]       │ influxdb  │ 252.34 MB  │ 21 seconds │
[Info]       ├───────────┼────────────┼────────────┤
[Info]       │ dashboard │ 205.47 MB  │ 19 seconds │
[Info]       ├───────────┼────────────┼────────────┤
[Info]       │ sensor    │ 278.12 MB  │ 25 seconds │
[Info]       ├───────────┼────────────┼────────────┤
[Info]       │ connector │ 278.84 MB  │ 28 seconds │
[Info]       └───────────┴────────────┴────────────┘
[Info]       Build finished in 1 minute, 39 seconds

\
\
>/7
.-(6'
(=./\                                 )  \ |                                /   / |                               /    > /                              j    < _\                          _.-' :      ``.                          \ r=._\       .
<\\_  \         .-.
\ r-7  -. ._  ' .
`,      -.7  7)   )
/         |  '  / `-.
||    .'
\  (
>\  >
,.-' >.'
<.'_.''
<'
::::::::::::::::::sensr error
File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
sensor      self.run()
sensor    File "/usr/local/lib/python3.9/threading.py", line 892, in run
sensor      self._target(*self._args, **self._kwargs)
sensor    File "/usr/src/app/sensor.py", line 64, in background_web
sensor      balenasense = balenaSense()
sensor    File "/usr/src/app/sensor.py", line 30, in init
sensor      self.device_count = idetect.detect_iio_sensors()
sensor    File "/usr/src/app/idetect.py", line 81, in detect_iio_sensors
sensor      bus = SMBus(bus_number)
sensor    File "/usr/local/lib/python3.9/site-packages/smbus2/smbus2.py", line 280, in init
sensor      self.open(bus)
sensor    File "/usr/local/lib/python3.9/site-packages/smbus2/smbus2.py", line 310, in open
sensor      self.fd = os.open(filepath, os.O_RDWR)
sensor  FileNotFoundError: [Errno 2] No such file or directory: '/dev/i2c-1'

It looks like the Orange Pi Zero does not use the hard-coded I2C bus number 1. I'm testing an addition to the sensor block so that you can specify a different bus. I'll post more information here when that is available.

@lasuridze can you try pulling the latest version of the sensor block and setting the BUS_NUMBER service variable to 0 (or whichever bus you are using?)

repo: balenalabs/balena-sense


text:
Empty stack when a large array is defined in-line

Description:
Sample:
import ballerina/io;

public function main() {
    int[] array = [8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4, 8, 3, 6, 9, 1, 0, 7, 2, 6, 4,
                   8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5, 8, 3, 6, 9, 1, 0, 7, 2, 4, 5,
                   3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5, 3, 6, 9, 1, 0, 7, 2, 6, 4, 5,
                   8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5, 8, 3, 6, 9, 1, 0, 2, 6, 4, 5,
                   8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5, 8, 3, 9, 1, 0, 7, 2, 6, 4, 5];
    io:println(array);
}

Error in ballerina-internal.log:
java.lang.IllegalStateException: Expression stack cannot be empty in processing an ExpressionList
	at org.wso2.ballerinalang.compiler.parser.BLangPackageBuilder.addExprToExprNodeList(BLangPackageBuilder.java:1523)
	at org.wso2.ballerinalang.compiler.parser.BLangPackageBuilder.endExprNodeList(BLangPackageBuilder.java:1518)
	at org.wso2.ballerinalang.compiler.parser.BLangParserListener.exitExpressionList(BLangParserListener.java:1988)
	at org.wso2.ballerinalang.compiler.parser.antlr4.BallerinaParser$ExpressionListContext.exitRule(BallerinaParser.java:10640)
	at org.antlr.v4.runtime.Parser.triggerExitRuleEvent(Parser.java:430)
	at org.antlr.v4.runtime.Parser.exitRule(Parser.java:646)
	at org.wso2.ballerinalang.compiler.parser.antlr4.BallerinaParser.compilationUnit(BallerinaParser.java:478)
	at org.wso2.ballerinalang.compiler.parser.Parser.generateCompilationUnit(Parser.java:129)
	at org.wso2.ballerinalang.compiler.parser.Parser.parse(Parser.java:101)
	at org.wso2.ballerinalang.compiler.PackageLoader.parse(PackageLoader.java:504)
	at org.wso2.ballerinalang.compiler.PackageLoader.loadEntryPackage(PackageLoader.java:394)
	at org.wso2.ballerinalang.compiler.Compiler.lambda$compilePackages$1(Compiler.java:165)
	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
	at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
	at org.wso2.ballerinalang.compiler.Compiler.compilePackages(Compiler.java:167)
	at org.wso2.ballerinalang.compiler.Compiler.compilePackage(Compiler.java:178)
	at org.wso2.ballerinalang.compiler.Compiler.compile(Compiler.java:93)
	at org.wso2.ballerinalang.compiler.Compiler.build(Compiler.java:101)
	at org.ballerinalang.packerina.task.CompileTask.execute(CompileTask.java:51)
	at org.ballerinalang.packerina.TaskExecutor.executeTasks(TaskExecutor.java:38)
	at org.ballerinalang.packerina.cmd.BuildCommand.execute(BuildCommand.java:395)
	at java.util.Optional.ifPresent(Optional.java:159)
	at org.ballerinalang.tool.Main.main(Main.java:59)

Affected Versions:
ballerina v1.0

When we fix this error in the compiler front end, a second one, Java out of memory error pops up in JVM codegen. And when we reduce the array literal size until OOM goes away method too large error pops out.

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/19286

authors: SupunS hasithaa rdhananjaya

repo: ballerina-platform/ballerina-lang


text:
Identity for xml:Text is wrong

Identity (===) for xml:Text items is like string: they are === if they contain the same characters.
But if I try:
 xml`abc` === xml`abc`

in the shell, I get false. I should get true.

Reproducible even outside the shell,
import ballerina/io;

public function main() {
    io:println("Should get true: ", xml `abc` === xml `abc`);
}

will output Should get true: false.

Reproducible even outside the shell,
import ballerina/io;

public function main() {
    io:println("Should get true: ", xml `abc` === xml `abc`);
}

will output Should get true: false.

authors: jclark kdsuneraavinash


text:
Quotes are getting skipped when calling toString() of literals

Description:
Currently, when we get the toString() (java) of the literals, we skip ". Is this correct?
Let's say we have an example like this
function test() {
    map<anydata> mm = {s1: "hello", s2: 123};
}

When we get the toString() of the value of the field we get hello instead of "hello". Moreover, when we get the toString() of the first and second fields, we get s1: hello and s2: 123.
This affects when we log diagnostics as well.
Another example for this is
map<"string"|"boolean"> po = {q: 123};

This produces an error incompatible types: expected 'string|boolean', found 'int' (without quotes even though they are string values)
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Same as https://github.com/ballerina-platform/ballerina-lang/issues/34361. Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/34534 for 2201.0.1.

authors: MaryamZi dulajdilshan


text:
Inavlid suggestions when try outside a function

Description:
When try to get the suggestions for a stdlib module outside a function it gives invalid results. Inside the functions it gives correct suggestions.

Steps to reproduce:
Refer to the video
https://user-images.githubusercontent.com/16300038/142380671-dd346c35-64f6-4fbf-9e8b-197b2ec351bf.mov
Affected Versions:
Tested with Beta4 RC2

This has been fixed on master. Hence, closing the issue.
Please refer the video below,
https://user-images.githubusercontent.com/27485094/142801329-3394c13a-bf4f-4528-b358-5f8cba10aa0b.mov

authors: TharushiJay anupama-pathirage


text:
[Improvement]: Improve strand dump output when strand metadata fields are null

Description
$title
Instead of showing them as null, need to show them in another way. eg: n/a
Describe your problem(s)
No response
Describe your solution(s)
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Discussed this is not necessary. Hence closing the issue.


text:
Enable failover and circuit breaker tests

$subject
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #15728 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #15728      +/-   ##
============================================
+ Coverage       6.9%    6.93%   +0.03%
  Complexity     1785     1785
============================================
  Files          1384     1378       -6
  Lines         70611    70470     -141
  Branches       9076     9060      -16
============================================
+ Hits           4878     4890      +12
+ Misses        65236    65068     -168
- Partials        497      512      +15

Impacted Files
Coverage Δ
Complexity Δ

.../ballerinalang/compiler/BIRPackageSymbolEnter.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...va/org/ballerinalang/stdlib/task/service/Stop.java
0% <0%> (-31.58%)
0% <0%> (-2%)

...a/org/ballerinalang/stdlib/task/actions/Pause.java
0% <0%> (-29.42%)
0% <0%> (-2%)

.../org/ballerinalang/stdlib/task/actions/Resume.java
0% <0%> (-29.42%)
0% <0%> (-2%)

...ang/stdlib/task/objects/ServiceWithParameters.java
46.42% <0%> (-17.86%)
4% <0%> (ø)

...allerinalang/stdlib/task/objects/AbstractTask.java
56.66% <0%> (-15%)
7% <0%> (-3%)

...lang/stdlib/task/impl/TaskServerConnectorImpl.java
42.85% <0%> (-14.29%)
2% <0%> (-1%)

...a/org/ballerinalang/stdlib/task/objects/Timer.java
74.13% <0%> (-12.07%)
12% <0%> (-1%)

...rg/ballerinalang/stdlib/task/service/Register.java
30% <0%> (-10%)
1% <0%> (-1%)

...g/messaging/artemis/ArtemisTransactionContext.java
0% <0%> (ø)
0% <0%> (ø)
:arrow_down:

... and 13 more

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 32844e6...324cac1. Read the comment docs.

authors: arukshani codecov-io


text:
Introduce http error types

Purpose

Currently HTTP module only have the built-in error type. With this PR we are introducing new error types for HTTP module.
The errors are categorized as unions, hence can be used as sets.
Following are the types of errors introduced.

http:ClientError

http:ResiliencyError

http:FailoverAllEndpointsFailedError
http:FailoverActionFailedError
http:UpstreamServiceUnavailableError
http:AllLoadBalanceEndpointsFailedError
http:AllRetryAttemptsFailed
http:IdleTimeoutTriggeredError

http:ClientAuthError

http:AuthenticationError
http:AuthorizationError

http:OutboundRequestError

http:InitializingOutboundRequestError
http:WritingOutboundRequestHeadersError
http:WritingOutboundRequestBodyError

http:InboundResponseError

http:InitializingInboundResponseError
http:ReadingInboundResponseHeadersError
http:ReadingInboundResponseBodyError

http:GenericClientError

http:ListenerError

http:GenericListenerError
http:InboundRequestError

http:InitializingInboundRequestError
http:ReadingInboundRequestHeadersError
http:ReadingInboundRequestBodyError

http:OutboundResponseError

http:InitializingOutboundResponseError
http:WritingOutboundResponseHeadersError
http:WritingOutboundResponseBodyError
http:Initiating100ContinueResponseError
http:Writing100ContinueResponseError

These errors have the following structure:
error<Reason, Detail>

The Reason is a constant string, which defines the error type. The Detail record is defined as follows:
public type Detail record {
    string message;
    error cause?;
}

The message field holds the specific error message.
If this particular error is occurred due to another error (probably from another module) will be held in cause field.
This is an open record, hence there can be other fields as well.

Fixes #16145
Approach

Error types are defined using constant reasons. i.e.: The reason differentiates error types. Then categories are formed by unionizing error types.

Samples

var result = someFunction();
if (result is http:ClientError) {
    // User can handle ClientError or go into sub errors
    if (result is http:GenericClientError) {
            // User can handle generic http client error or see the cause
            var cause = result.detail().cause;
            if (cause is io:Error) {
                // Handle io:Error or go into subsets
            }
        } else if (result is http:SecurityError) {
            io:println(result);
        }
    } else {
        io:println("ConnectionTimedOutError Error received.");
    }

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

This is merged with #16672


text:
Sync lang changes for beta

Purpose

Describe the problems, issues, or needs driving this feature/fix and include links to related issues.

Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Closing this since the sync will be done with https://github.com/ballerina-platform/ballerina-lang/pull/18391


text:
Fix code action, pull module not working in windows

Purpose

Fix code action, pull module not working in windows

Fixes #19065
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #19066 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #19066   +/-   ##
=======================================
  Coverage    15.8%    15.8%
=======================================
  Files          47       47
  Lines        1259     1259
  Branches      196      196
=======================================
  Hits          199      199
  Misses       1047     1047
  Partials       13       13

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 8beed20...90fb2ed. Read the comment docs.

authors: codecov-io rasika


text:
Sync master with transaction branch

Purpose

$subject.

Codecov Report

Merging #23493 into new-transaction-impl will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           new-transaction-impl   #23493   +/-   ##
=====================================================
  Coverage                 14.59%   14.59%
=====================================================
  Files                        51       51
  Lines                      1411     1411
  Branches                    219      219
=====================================================
  Hits                        206      206
  Misses                     1189     1189
  Partials                     16       16

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 dfa0be6...dfa0be6. Read the comment docs.

authors: codecov-commenter mohanvive


text:
[Do not merge] Enable mutual ssl test case

Purpose
$subject.

:white_check_mark: Build ballerina-lang 366 completed (commit https://github.com/ballerina-platform/ballerina-lang/commit/a1297f0256 by @Bhashinee)

authors: AppVeyorBot Bhashinee


text:
Add a load test to websocket

Purpose
$subject.
Related issue: https://github.com/ballerina-platform/ballerina-standard-library/issues/1956
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the changelog
[ ] Added tests

I think we need to add the headers in the csv file

authors: Bhashinee dilanSachi


text:
Sample Syntax of First Ballerina Program

The first Ballerina program defines the following action:
    action getTemperature(location) (int) { ...}

"location" is defined as
type location{
    int int lon;
}

But we invoke the action by
        float temperature = wc.getTemperature(new location(lat, lon));

Thus, the type definition of "location" must be fixed (or I don't get it).

Hi Frank,
The grammar has evolved a bit more and the new syntaxes are a bit different now. You can find the latest samples from here:
https://github.com/ballerinalang/ballerina/tree/master/samples/getting_started
Closing the issue as the issue mentioned above is no longer there. Please do reopen if you came across any issues in the samples.

authors: FrankLeymann SupunS

repo: ballerinalang/ballerina


text:
Specify program name in project template CLI

Turns out you need prog_name, not name: https://click.palletsprojects.com/en/7.x/api/?highlight=prog_name#click.BaseCommand.main
Fixes #71

Codecov Report

Merging #74 (7c124a1) into master (6710d88) will decrease coverage by 0.59%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   84.87%   84.28%   -0.60%
==========================================
  Files          47       47
  Lines        2751     2736      -15
  Branches      280      279       -1
==========================================
- Hits         2335     2306      -29
- Misses        327      341      +14
  Partials       89       89

Impacted Files
Coverage Δ

ballet/compat.py
27.27% <0.00%> (-42.43%)
:arrow_down:

ballet/cli.py
91.11% <0.00%> (-0.89%)
:arrow_down:

ballet/util/testing.py
63.04% <0.00%> (-0.79%)
:arrow_down:

ballet/project.py
86.71% <0.00%> (-0.37%)
:arrow_down:

ballet/transformer.py
83.95% <0.00%> (-0.20%)
:arrow_down:

ballet/validation/gfssf.py
93.75% <0.00%> (-0.10%)
:arrow_down:

ballet/feature.py
100.00% <0.00%> (ø)

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 6710d88...7c124a1. Read the comment docs.

authors: codecov-commenter micahjsmith

repo: ballet/ballet


text:
homeassistant.turn_on/off only if device is currently the opposite state

This is a question/issue.
I currently have a device that uses the same command for on and off. This is a command line switch. This calls a pilight command to turn on a 433MHz light which unfortunately uses the same command for on and off. The problem I have is when running my Good Night script which turns all lights off, it will turn this one device on if it is off. I believe this would be a simple change in the command_switch.py turn_on and turn_off function to only run if the current state is the opposite of what is trying to be run.
So... my question is would this be a benefit in any other "switch" component? I don't think it would be but I am just checking.

What about https://github.com/balloob/home-assistant/pull/911 ?

Sounds like this will turn the device on if it is off and off if it is on. What I am suggesting, is only call turn_off if the device is on and only call turn_on if the device is off. Basically I don't want my command to be called if it doesn't need to be.

As a workaround, you can add a condition to your script, to only run the action if the state is on.

I thought about that, but I assume I would have to query the HA API for the state? Can the current state of a device be passed as a parameter to a command line script? Maybe using templates?

@w1ll1am23 , this is in line with #1198, that's exactly why I am trying to set the state externally, so it doesn't run the turn_off script, which will actually effectively turn the device on...

@Kernald is right here. Use a condition in your automation.
You shouldn't call turn_on if you don't want the turn_on logic to run.

My automation runs homeassistant.turn_off for a group called every_light. This includes all of my lights and switches that are lights. I guess I could call a script and do condition checks? The work around is checking the api for the state. Here is my python script http://pastebin.com/K6PQbH6q that is called with the below switch command.
    Kitchen Cabinet lights:
      oncmd: /usr/bin/python3 /home/w1ll1am/.homeassistant/kitchen_light.py on
      offcmd: /usr/bin/python3 /home/w1ll1am/.homeassistant/kitchen_light.py off

repo: balloob/home-assistant


text:
Usage with neovim

Has anyone used this with neovim? If so, can yall point me to instructions on how to set it up?

Unfortunately, it appears to be not supported by the lspconfig plugin https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md

Most of the functionalities of this language server relies on custom methods.
So it won't work on neovim even if you have the server set up.
We're trying to replace these custom capabilities with the standard protocol as much as possible though.

authors: DieracDelta Mechap banacorn

repo: banacorn/agda-language-server