text:
ESP32 cannot connect to TPLink TL-WA855RE Wifi Extender (IDFGH-1853)

Environment

Development Kit:      [ESP32-Wrover-Kit|ESP32-DevKitC| Custom
Module or chip used:  [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]
IDF version (run git describe --tags to find it):
// AmazonFreeRTOS 2019-6.00
Build System:        CMAke
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
Operating System:   macOS
Power Supply:        external 5V

Problem Description
ESP32 cannot connect to TPLink TL-WA855RE Wifi Extender
Steps to repropduce

Provision the ESP32 to connect to an AP without the TP-Link powered on.
Configure the TPlink to extend the above network with the same SSID and Password and power on
Reboot the ESP32 - it will fail to connect
Remove the tplink from power
Reboot the ESP32 it will connect
Power on the TPlink extender
Confirm that other devices in proximity to the extender can join the network.

AmazonFreeRTOS 2019-6.00 seems to be based on esp-idf v3.1.3. Have you tried the station example from some of the esp-idf master or release branches to see whether it has been fixed by a recent update?  Do you have a log or sniffer capture of the failure?

Thanks for the reply.  I do not have a log or sniffer capture.  When I have a chance I can try to use one of the demos in the latest IDF.

I retested using the ESP-IDF iperf examples on version 3.1, 3.3 and 4.4 and have not been able to replicate the issue unless I am using AmazonFreeRTOS.  Are you able to build the AFR sample demo apps?

Thanks!  I will do that.  We are about to do a pre-release based on AFR 2019-06.  Can I simply replace the $AFR_ROOT/vendors/espressif/esp-idf folder or do I need to update to a later AFR revision?

@bgintz-rsc Please consider updating to latest AFR revision (probably there is no release yet, post 2019.08, hence you will have to try with their master branch)

Hello mahavirj
I updated our app to 20109.08 master commit df8d0e2f from yesterday and still not able to connect.

@bgintz-rsc

I am unable to find df8d0e2f commit in AFR repository, you might want to check IDF version that gets printed on bootup in device console log to match with, https://github.com/aws/amazon-freertos/blob/master/vendors/espressif/esp-idf/version.txt
Please help to shared detailed console log with make menuconfig -> component config -> log output -> debug enabled

Here is my pdf log message Mahavir:  it is in

It is the same as you referenced:

@bgintz-rsc Did you missed out on attaching detailed debug logs? If you would like you can also send it across at mahavir at espressif dot com (I suspect that it could be some issue in WiFi abstraction layer in AFR, since you are unable to reproduce it with release/v3.1 IDF branch, hence I may need additional information like credentials, security type of extender etc.)

Hello Mahavir,
We have extensive debug information in our logs at the moment.  I am going to try this using one of the demos provided by AFR in the release above and see if that also fails  I will send logs from that effort.  I may not get to this for a few days however.  The extender is being used with an xfinity (Comcast) router that has WPA2-PSK authentication.  The extender is TPLink TL-WA855RE

Hello Mahavirj,
So I built aws_demos (MQTT demo default enabled) with hardcoded wifi credentials.  The extender was configured to create an extended network with the SSID:  GINTZ07_EXT.  The ESP32 connects to the extender but does not receive an IP address Assigned event in the event loop.  The extender however indicates that it has assigned the device an IP address:
Here is the log:

Well freertos ip stack is different from lwip used by esp-idf so you might get better help by continuing the issue on their repo

@bgintz-rsc
Can you please help with one more experiment, i.e. to try with PR at (https://github.com/aws/amazon-freertos/pull/1519) and build application with -DAFR_ENABLE_LWIP=1 which will enable lwIP networking stack? Just trying to narrow down issue (this is not related to WiFi stack), and then we can follow up accordingly with AFR team.

I have not been able to try the above test but I do have some additional information to share.  As mentioned previously the failure is due characterized by "The ESP32 connects to the extender but does not receive an IP address"
We have been doing some interoperability testing with an independent lab and asked for their analysis. They have reported:
"Typically, the DHCP offer from the DHCP server is a unicast.  But with the range extender, the DHCP offer is a broadcast message."
This confirms that the TPLink extender is indeed assigning an IP address but the ESP32 is not recognizing it (and therefore no event is triggered in the ESP32 event loop).
Perhaps the ESP32 driver/stack is not recognizing the IP address assignment because it is a broadcast message.  I do not currently have the router and will not be able to replicate the issue as requested until I do receive it.

mahavirj
I had loaned my TPLink extender for testing and now have received it back.   There does not seem to be anything in the AFR repo (or esp-idf) that I found which references AFR_ENABLE_LWIP as a preprocessor define.   Where is this used please?

https://github.com/aws/amazon-freertos/commit/2733e906629a70af9ba58067e4b7d781eed1385e

@bgintz-rsc In addition to above reference pointer provided by @negativekelvin, you may also refer to https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html#build-and-run-example-espressif for full command to build with lwIP networking stack. If you still observe issue, please do post complete console log here.

Hello and Happy New Year Mahavirj!
I finally got the TPLink back and a chance to test this using LWIP.  This should be easy for you to reproduce.
Test Conditions

Code

AmazonFreeRTOS: was_demos default MQTT (hello world echo) project
Branch: Release
Tag 20191200 (commit8add5b911e3)

Hardware

ESP32 DevKitC

Results

Same behavior is exhibited using AFR stack or LWIP
The connection never proceeds because the wifi event loop does not detect that an IP address assignment.
Possible cause: Please review my note from November 2

Log (Identical with and without lwiop enabled)
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun  8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:7176
load:0x40078000,len:12620
load:0x40080400,len:6708
entry 0x40080778
I (73) boot: Chip Revision: 1
I (73) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot: ESP-IDF  2nd stage bootloader
I (39) boot: compile time 15:00:14
I (39) boot: Enabling RNG early entropy source...
I (43) boot: SPI Speed      : 40MHz
I (47) boot: SPI Mode       : DIO
I (51) boot: SPI Flash Size : 4MB
I (55) boot: Partition Table:
I (59) boot: ## Label            Usage          Type ST Offset   Length
I (66) boot:  0 nvs              WiFi data        01 02 00010000 00006000
I (74) boot:  1 otadata          OTA data         01 00 00016000 00002000
I (81) boot:  2 phy_init         RF data          01 01 00018000 00001000
I (89) boot:  3 ota_0            OTA app          00 10 00020000 00177000
I (96) boot:  4 ota_1            OTA app          00 11 001a0000 00177000
I (103) boot:  5 storage          WiFi data        01 02 00317000 00010000
I (111) boot: End of partition table
I (115) boot: ota rollback check done
I (120) boot_comm: chip revision: 1, min. application chip revision: 0
I (127) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x1d13c (119100) map
I (178) esp_image: segment 1: paddr=0x0003d164 vaddr=0x3ffbdb60 size=0x02c70 ( 11376) load
I (182) esp_image: segment 2: paddr=0x0003fddc vaddr=0x40080000 size=0x00234 (   564) load
I (185) esp_image: segment 3: paddr=0x00040018 vaddr=0x400d0018 size=0x7f584 (521604) map
I (376) esp_image: segment 4: paddr=0x000bf5a4 vaddr=0x40080234 size=0x001cc (   460) load
I (377) esp_image: segment 5: paddr=0x000bf778 vaddr=0x40080400 size=0x102e4 ( 66276) load
I (420) boot: Loaded app from partition at offset 0x20000
I (420) boot: Disabling RNG early entropy source...
I (421) cpu_start: Pro cpu up.
I (424) cpu_start: Application information:
I (429) cpu_start: Project name:     aws_demos
I (434) cpu_start: App version:      201912.00-2-g3c89631c5-dirty
I (441) cpu_start: Compile time:     Jan  6 2020 15:00:13
I (447) cpu_start: ELF file SHA256:  c5ac21db65659ab1...
I (453) cpu_start: ESP-IDF:
I (458) cpu_start: Single core mode
I (462) heap_init: Initializing. RAM available for dynamic allocation:
I (469) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (475) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (481) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (487) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (493) heap_init: At 3FFC7F60 len 000180A0 (96 KiB): DRAM
I (500) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (506) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (512) heap_init: At 400906E4 len 0000F91C (62 KiB): IRAM
I (518) cpu_start: Pro cpu start user code
I (201) cpu_start: Starting scheduler on PRO CPU.
0 1 [main] Initializing FreeRTOS TCP stack
I (225) PKCS11: Initializing NVS partition: "storage"
E (245) PKCS11: failed nvs get file size 4354 0
1 4 [main] Write certificate...
2 16 [iot_thread] [INFO ][DEMO][160] ---------STARTING DEMO---------
3 16 [iot_thread] [INFO ][INIT][160] SDK successfully initialized.
I (385) wifi: wifi driver task: 3ffb2388, prio:23, stack:3584, core=0
I (385) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (395) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (415) wifi: wifi firmware version: c94f3e6
I (415) wifi: config NVS flash: enabled
I (415) wifi: config nano formating: disabled
I (415) wifi: Init dynamic tx buffer num: 32
I (415) wifi: Init data frame dynamic rx buffer num: 32
I (425) wifi: Init management frame dynamic rx buffer num: 32
I (425) wifi: Init management short buffer num: 32
I (435) wifi: Init static rx buffer size: 1600
I (435) wifi: Init static rx buffer num: 10
I (445) wifi: Init dynamic rx buffer num: 32
I (535) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0
I (535) wifi: mode : sta (30:ae:a4:37:f3:d4)
I (535) WIFI: SYSTEM_EVENT_STA_START
I (1505) wifi: new:<8,2>, old:<1,0>, ap:<255,255>, sta:<8,2>, prof:1
I (2485) wifi: state: init -> auth (b0)
I (2505) wifi: state: auth -> assoc (0)
I (2515) wifi: state: assoc -> run (10)
I (2645) wifi: connected with GZ123_EXT, channel 8, 40D, bssid = b0:be:76:cb:f6:4d
I (2645) wifi: pm start, type: 1
I (2645) WIFI: SYSTEM_EVENT_STA_CONNECTED
4 401 [IP-task] vDHCPProcess: offer c0a80018ip

@bgintz-rsc Thanks for sending across log. Can you please help with one small request, please enable couple of debug statements from https://github.com/aws/amazon-freertos/blob/master/vendors/espressif/esp-idf/components/lwip/port/esp32/include/lwipopts.h#L823-L824 and help to share log?
Reason I am asking this is because, per your comment at https://github.com/espressif/esp-idf/issues/4060#issuecomment-532244623, when we enable lwip stack in AFR, application code is pretty much identical with whats there in IDF, hence bit surprised. Interim, I will try to replicate once I get access to TPLink TL-WA855RE at my end.

Just now checked back on this issue.  (Was not notified by email for some reason).  I cherry picked the #1696 commit and (also upgraded the extender code).  Confirmed that this fixes the issue.
Thank you!!!

authors: bgintz-rsc mahavirj negativekelvin


text:
Is there a plan to open-source the server side of ESP-RainMaker, so that it can be implemented or tailored? (MEGH-1518)

The title says it all, i wonder if there is plan to open source the server side so we could possibly implement it ourselves and tailor it to specific use case.
Thanks

What was the answer?

the answer is NO

source: gharchive/issue

authors: FBEZ Hoel

repo: espressif/esp-rainmaker

license_type: permissive

license_source: github-api


text:
Feat/conf file support

closes #9

Thanks for your review!

source: gharchive/pull-request

repo: espressif/idf-build-apps


text:
Update main.cpp

Added Eventhandler wifiOnStationModeGotIPHandler = WiFi.onStationModeGotIP(onWifiGotIP);
to resolve Lost mqtt connection after 3-4h

Can u explain how to modify and upload the file? I try to upload the 1.3.3 but my esp-rfid still on 1.0.4 thx! 👍

authors: ingeninge pol-henri

repo: esprfid/esp-rfid

license: MIT


text:
Potential fix for #85

This is just a suggestion for a fix for #85 .

Looks good, thanks -- I'll give it a try and if all good, merge it.

Thanks!

authors: GearsAD essenciary

license: mit

license_source: bigquery


text:
Added information about facebook login to README.md

I've added this, because I think it will make it easier to run Facebook login running on mobile, feel free to modify if you think it should be documented differently

Thank you!

authors: jvorcak steida

repo: este/este


text:
[FR] Some improvements for the mute feature.

This feature request stems from an issue with the mute function on the app.
Firstly, I expected that when I mute a user, the option that should be visible when I check that menu option again should be unmute.  But, right now, I still see the option to mute the user. This made me think that the mute function didn't work. I was almost reporting the issue as a bug until I decided to check my list of muted users on steemit and I found out that it actually worked.  Now it's a cool thing that I can mute a user directly from esteem mobile. What isn't cool is the fact that I can't unmute a user.
Another thing that would be nice to is if there was a list of mute users on the app. It would be great to be able to keep track of muted users on the app.
Here are my suggestions in details

Display a toast notification to indicate that I muted a user.
When I mute a user, let there be an icon on the profile to show that that user has been muted.
When I access the option menu to mute a user, when the user is already muted, it should be unmute instead. This means that I'm suggesting the ability to unmute a user.
Create a page on the app to access list of muted users.

Fixed

authors: HarryHeights ue

repo: esteemapp/esteem-mobile


text:
[bugfix] Always use $HOME for storing processor auto-detection results

Fixes #2072.

Codecov Report

Merging #2074 (58e5681) into master (e98078a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2074   +/-   ##
=======================================
  Coverage   86.74%   86.74%
=======================================
  Files          52       52
  Lines        9270     9267    -3
=======================================
- Hits         8041     8039    -2
+ Misses       1229     1228    -1

Impacted Files
Coverage Δ

reframe/frontend/autodetect.py
58.46% <100.00%> (-0.19%)
:arrow_down:

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 e98078a...58e5681. Read the comment docs.

@vkarak actually now looking also the documentation, you may have to adapt also the auto-detecting part.

authors: codecov-commenter teojgo vkarak

repo: eth-cscs/reframe


text:
Set up docker's host ip

New based pull request.
give the ability to specify the Docker's host IP for containers

There are a couple things I need to remove ... setting the value and NEW_VARS ... but those are small enough that I can handle them myself. Merging.

authors: romanoLT yorickdowne

repo: eth-educators/eth-docker


text:
Wrong folder structure

The skill doesn't work by cloning the repo in the skills folder since the skill is inside the demo folder. When the demo folder is moved into the skills folder it works fine. Just put the files directly in the root of the repo and it will work.

Resolved, thank you!

authors: ethanaward redadmiral


text:
R on WSL

R seems to work well on WSL

Does "may be numerically different from other systems" hold special meaning in R? I am not sure I understand what you mean by that.

R is often used for statistical or modeling computations which are typically floating-point intensive.  Microsoft/BashOnWindows#830 tracks a bug in WSL that results in floating-point computations having reduced precision.

Thanks for the clarification @aseering and thanks for the contribution @CrossD

Thanks @aseering for your clarification :) That is what I meant. Thanks for merging too @ethanhs !

authors: CrossD aseering ethanhs

repo: ethanhs/WSL-Programs


text:
Move l1 rpc url from superchain init to validation

Currently the superchain module checks for existence of env vars to determine if CI is running. If CI is running the l1 rpc url used for tests is changed.
This is test/ci logic and therefore it belongs in the test module (validation) instead of the superchain module that gets imported by downstream software

To be reassessed post SR 2.0 refactor.

authors: alfonso-op bitwiseguy

repo: ethereum-optimism/superchain-registry


text:
WIP: more descriptions/comments for everything

Adds descriptions and comments in many more places to make every part of the spec easier to understand and follow.

The annotated spec by @benjaminion (And credit to many others, @djrtwo in particular) cannot go without mention here. Annotations and insightful comments are great, and make the spec much more readable, and hopefully enables more people to understand and audit it.
The spec has been "minimal" for a long time, often with others reducing the non-code text, but I really do think this PR is a step back in the right direction. However, it raises the question, how far should we go? More text than code?
It's a spec, and even calling them comments is wrong, they could be the majority of the spec. With a note that the code is the decision-maker, since it's not ambiguous unlike text can be. Preserving exact testable definitions through code is great.
cc @JustinDrake You have been the main proponent of minimalism, and although it was valuable to the spec, the text does not have to be like that. What do you think? And can this be a step towards the "Transparent Paper" (if that's how Eth2 as spec document will be called?).

cc @JustinDrake You have been the main proponent of minimalism, and although it was valuable to the spec, the text does not have to be like that. What do you think? And can this be a step towards the "Transparent Paper" (if that's how Eth2 as spec document will be called?).

Agreed that comments should make the spec maximally readable :) I haven't been able to deliver on the transparent paper for 1+ year so I wouldn't hold my breath on it 😂

Replaced with #1824

authors: JustinDrake protolambda vbuterin


text:
Add GraphQL schema

The schema can be explored via https://s1na.github.io/graphql-schema-explorer/?url=https://raw.githubusercontent.com/s1na/execution-apis/7b57bc60a59dc5ac8d8bffc0e5df4a12134cf2ae/graphql.json
This was exported from geth which has some EIP-1559 related fields in addition to the eip.
Fixes #163
This is the script I used to generate this against a live node:
const { buildClientSchema, printSchema, getIntrospectionQuery } = require('graphql')
const { request } = require('graphql-request')

const endpoint = 'http://localhost:8545/graphql'

async function main() {
    const q = getIntrospectionQuery()
    const res = await request(endpoint, q)
    const types = []
    console.log(JSON.stringify(res, null, 2))
}

main().then().catch((err) => console.log(err))

Done. Re 2. I use the semantic validation offered by the graphql library itself, but it doesn't check other lint-ish rules like the one you linked. Happy to add that too if you think it helps

repo: ethereum/execution-apis


text:
docs: example codes url correction

What was wrong?
URL of Uniswap example codes reference other branch not master
How was it fixed?
Fix URL

Thanks!

authors: cburgdorf ray-themedium

repo: ethereum/fe


text:
Add a suggestion on how to verify recent headers

Adds the suggestion the verify recent headers (not yet part of the historical_summaries) by using the LightClientHeader data of the Portal beacon network (requires light client sync).
This does not resolve the issue when a node just gets started and needs to verify backtracking headers (headers between head of chain and the last header of the last period). In theory this could be resolved by doing a backwards sync of the headers, but it is probably not even an issue for the network in the first place?

If we are listing the Portal Beacon Network as a provider of these summaries we should also list a consensus client. The reason I think we should list both is to show it as different paths to accomplish the same thing.
Especially with all the confusion around this we have gotten from L1 teams.

If we are listing the Portal Beacon Network as a provider of these summaries we should also list a consensus client. The reason I think we should list both is to show it as different paths to accomplish the same thing.
Especially with all the confusion around this we have gotten from L1 teams.

The consensus client is used to bridge the historical summaries to the portal beacon network. IMO, listing a consensus client should be part of the portal beacon bridge specs.

If we are listing the Portal Beacon Network as a provider of these summaries we should also list a consensus client. The reason I think we should list both is to show it as different paths to accomplish the same thing.
Especially with all the confusion around this we have gotten from L1 teams.

I think it is pretty clear already as is written that it is part of the beacon state.
The only way to currently get it from a consensus client is to use a beacon REST API debug endpoint that grabs the whole state, not ideal. I'm planning on adding suggestion to add a different endpoint. But for the time being, I could adjust the text here a bit to refer to that as an additional option.

authors: KolbyML kdeme ogenev

repo: ethereum/portal-network-specs


text:
Prepare for Python 2 End of Life

Python 2 will be officially deprecated in 2020, probably during PyCon. This means that even security vulnerabilities will no longer be patched promptly (if at all).
We should ensure all of our dependencies support Python 3.5+ by 2019.

Let me know how I can contribute on this.

authors: Colbyter ofek

repo: ethereum/pyethereum


text:
Is Solc fixed?

Is solc fixed?
Also this removes some hanging whitespace.

Huzzah! it is.  Now just need serpent py3 to get a green test suite!

unfortunately it doesn't seem to be fixed as up now (at least not in the ppas)

authors: konradkonrad pipermerriam


text:
Architecture Diagram

What is wrong?
As a newcomer to the project, it's hard to understand all of the components of Trinity (and Py-EVM) and how they fit together.
How can it be fixed
Swarm has this really nice diagram

It shows:

Overall structure with high level groupings of APIs
Sub-components of the things in each group
color coding to indicate stability

Having this should help onboard new contributors as well as reasoning about how we structure the client.  The generated visuals would be nice assets to include in the documentation.
I think we could do this with graphviz via dotfile, making it easy to have as part of the repository (and easy to update as part of a pull request).

Structure diagram discussed in Denver.

Anyone have ideas on the right format for this to be converted to so that it's easy to edit/update?  Favorite tool for working with this type of thing?

so that it's easy to edit/update

I know it's not the answer you are looking for but creating this thing with Google Draw and just share it public would be pretty simple to edit/update (until Google shuts down Google Draw eventually :sweat_smile: )

http://diagramo.com/ might be a good open source option

it isn't free but you get ascii art for free: https://monodraw.helftone.com/

authors: cburgdorf mhchia pipermerriam ralexstokes

repo: ethereum/trinity


text:
Bee should support using multiple RPC endpoints

In relevance to the Trusted Operators Program, we are called to be able to support multiple RPC endpoints

related #4335

it's best to keep this complexity outside of the bee.
this issue can be tackled by a proxy service that monitors the health of the multiple endpoints and forwards requests coming from bee to the "healthy" endpoint.

also related - https://github.com/ethersphere/etherproxy/issues/16

nice, thanks.
I believe this is the cleanest approach.

Relevant discord discussion between community members: https://discord.com/channels/799027393297514537/811553590170353685/1168318756112568330

Support for multiple targets and seamless failover has been implemented and released in etherproxy 1.4.0.

closing issue, see solution above

authors: Cafe137 istae nikipapadatou rampall

repo: ethersphere/bee


text:
HitWindows Timing Bug

with this set of config
the code only record 1 sec instead of 2 sec for hitWindow
iniThreshold,1
iniBaseline,1
minDuration,30
hitWindow,2
hitThresh,40
hitThreshAdapt,False
hitThreshMin,
hitThreshMax,
leverGain,1
forceDrop,2
maxTrials,100
holdTime,1
holdTimeAdapt,False
holdTimeMin,
holdTimeMax,
saveFolder,
ratID,1

I can add even after passing the threshold the code always shows "FAIL"

I pushed a fix for the failure: the peak value was not being reset at the right spot.
For the recording, I am assuming that it was failing and going straight to the post trial, which is set to 1 second long, so the recording is the length of the trial until success or failure + the length of the post trial duration, which record a little longer afterwards.
In you case it only recorded the 1 second after the continuous failure

authors: rudy-saal siamakhaz

repo: ethierlab/Motopya


text:
feat: add sha256sum check when downloading from hashicorp

get the release checksum files from terraform_${version}_SHA256SUMS
calculate the sha256sum on the terraform zip file
delete the zip file from the temporary folder

left a minor comment about what we should do with an empty checksum, but otherwise LGTM!

thanks. I'll replace the find checksum logic with a regex match and add error handling logic in next PR.

repo: etsy/terraform-demux


text:
White screen is displayed when certificate options menu is opened

Environment
Android Samsung s20+
wallet app-tst-release-signed-1.0.4.apk
Steps to reproduce:

Create vaccination certificate per issuance web app
Claim certificate by wallet app
Click on claimed certificate and open it
Click on the 3 points for options screen

Expected result:
options menu is displayed
Actual result
white screen is displayed

PS. functional it works but I cannot see where and for what I have to click

The bug occurs further in Release 1.0.5

PR: https://github.com/eu-digital-green-certificates/dgca-wallet-app-android/pull/64

retestet in release 1.0.7


text:
Fine-tuning the model in 3_ft_usb_then_fib yields ValueError: Input contains NaN.

I'm getting an error ValueError: Input contains NaN. when running your notebook on a V100 in Colab. Any idea why?

Looks like using the latest versions of transformers/peft caused the error, pinning to the versions you used in your library causes this to work now. Still surprised by the error though.
%pip install -q transformers==4.35.0 accelerate bitsandbytes datasets==2.14.6 peft==0.6.0 watermark

I'm glad you got that fixed! I suspect it's due to the custom training code I have to reduce memory pressure during evals, as well as the custom code for evals. It should work fine without it.

authors: eugeneyan lawwu

repo: eugeneyan/visualizing-finetunes


text:
Code and related files for the dependency injection demos.

Hi Eugen,
This is just to let you know that my work is ready for review.
Kind regards,
rey malahay

Hey @reymalahay - jumping in here with a quick note (unrelated to the review) - I noticed the PR includes a lot of metadata files - let's get rid of these entirely. The goal is to keep things very clean and minimal in terms of changes - both to make the review easy as well as well as the work focused on what's actually going on in the article.
Cheers,
Eugen.

Hi @eugenp
I removed the metadata files and pushed to the server.
Kind regards,
rey malahay

@reymalahay Sounds good, but looking at the PR I still see 103 files changed - so it looks like either the PR isn't updated, or we still have a few files that we should remove from it.
Cheers,
Eugen.

@eugenp i've removed the .metadata files from my commit.

@reymalahay Down to 42 files? Are we really changing 42 actual files for the article?

@eugenp i excluded a lot of files that belong to the .metadata directory. those were generated by eclipse and not related to my contribution.

@reymalahay - yes, that's what I'm thinking as well, that most of these files are actually not related to the actual logic you're working on. So - everything that's unrelated needs to be excluded.
Basically - the PR should literally only have the changes that are actually part of the logic you're implementing.
Hope that makes sense.
Cheers,
Eugen.

@eugenp it makes sense. those metadata files were included when i checked out the code. i got the impression that i should leave as is. anyway, lesson learned.

@reymalahay So, the metadata files are generated by your IDE locally - that's why you see them as part of the PR.
The way to figure that out is - when you open the PR - have a look at the files that are in it. Usually you should only see 2-3 files in there.
OK, so, when you remove these, let me now and I'll have a look.
Cheers.

@eugenp I removed the metadata files from my commit and pushed to the remote repository.

Hey Rey - just to make sure I'm not seeing something different - how many files are you seeing as part of this PR?

@eugenp there are 42 files. aside from the .gitignore file, all the files are new.

@reymalahay OK, so we're seeing the same thing then.
My question is - why does the PR have 42 files?
I was thinking it should have 2-3 files, definitely not as many as 42.
As far as I see you're still including a lot of extra, metadata, generated files.

@eugenp i did a directory listing of my commit:
├── build.gradle
├── docs
│   ├── autowired-name-demo-classdiagram.dia
│   ├── autowired-name-demo-classdiagram.dia~
│   ├── autowired-name-demo-classdiagram.png
│   ├── autowired-type-demo-classdiagram.dia
│   ├── autowired-type-demo-classdiagram.dia~
│   ├── autowired-type-demo-classdiagram.png
│   ├── inject-demo-classdiagram.dia
│   ├── inject-demo-classdiagram.dia~
│   ├── inject-demo-classdiagram.png
│   ├── inject-name-demo-classdiagram.dia
│   ├── inject-name-demo-classdiagram.dia~
│   ├── inject-name-demo-classdiagram.png
│   ├── inject-qualifier-demo-classdiagram.dia
│   ├── inject-qualifier-demo-classdiagram.dia~
│   ├── inject-qualifier-demo-classdiagram.png
│   ├── resource-demo-classdiagram.dia
│   ├── resource-demo-classdiagram.dia~
│   ├── resource-demo-classdiagram.png
│   ├── resource-demo-usecase.dia
│   ├── resource-demo-usecase.dia~
│   ├── resource-method-byname-demo-classdiagram.dia
│   ├── resource-method-byname-demo-classdiagram.dia~
│   └── resource-method-byname-demo-classdiagram.png
└── src
└── test
├── java
│   └── com
│       └── baeldung
│           ├── autowired
│           │   ├── FieldAutowiredDemo.java
│           │   ├── FieldAutowiredNameDemo.java
│           │   └── FieldQualifierAutowiredDemo.java
│           ├── dependency
│           │   ├── AnotherArbitraryDependency.java
│           │   ├── ArbitraryDependency.java
│           │   └── YetAnotherArbitraryDependency.java
│           ├── inject
│           │   ├── FieldByNameInjectDemo.java
│           │   ├── FieldInjectDemo.java
│           │   └── FieldQualifierInjectDemo.java
│           └── resource
│               ├── FieldResourceInjectionDemo.java
│               ├── MethodByQualifierResourceDemo.java
│               ├── MethodByTypeResourceDemo.java
│               ├── MethodResourceInjectionDemo.java
│               ├── NamedResourceTest.java
│               ├── QualifierResourceInjectionDemo.java
│               └── SetterResourceInjectionDemo.java
└── resources
├── applicationContextTest-@Autowired-Name.xml
├── applicationContextTest-@Autowired-Qualifier.xml
├── applicationContextTest-@Autowired-Type.xml
├── applicationContextTest-@Inject-Name.xml
├── applicationContextTest-@Inject-Qualifier.xml
├── applicationContextTest-@Inject-Type.xml
├── applicationContextTest-@Resource-NameType.xml
└── applicationContextTest-@Resource-Qualifier.xml
basically, it includes the image files, integration test class files, xml files. All of these files are the code demos that are used in the article.

@reymalahay Sounds good.
So - here's a few of the files you can probably remove.
All the files ending with ~
build.gradle (all of the projects in the repo are using Maven, so unless Gradle is the topic of the article - it's better to use Maven)
I'm not sure we need the .dia files - the pngs should be enough
Also note that most articles on the site don't make a lot of use of images, so if you can, show the concepts via code only.
Cheers,
Eugen.

@eugenp, the dia files are the source files used to generate the png's. dia is an open source diagram tool, an alternative to visio, http://dia-installer.de/doc/en/index.html. i'll make the necessary modifications to change the build tool to maven (i moved to gradle many years ago)

Sounds good.

@eugenp I added the pom.xml file so that the demo code is accessible to Maven user. i left the build.gradle file.

@eugenp I added the pom.xml file so that the demo code is accessible to Maven users. i left the build.gradle file.

@reymalahay Sounds good

@eugenp i pushed revisions to the code as per discussion with Alex Theedom

authors: eugenp reymalahay

repo: eugenp/tutorials


text:
[BAEL-14274] - Fixed article code for https://www.baeldung.com/spring…

…-response-entity

this was fixed by a different PR


text:
Bugs when using Android Support 22.2.1

First, Thank you for your app, beautiful app than I use as my base project.
There is a bug when I change android support from version 22.2.0 to 22.2.1, scrolling recyclerview  up don't hide action bar menu like before. So now I'll stick with version 22.2.0.

Hi @joielechong .
You're welcome. Thank you for using.
Oh, Really? We will update 22.2.1 and check if our project is operational.
If we can fix a bug, citrus will be updated！
Thank you for contacting us.

Thank you for your hardworking.
The bug is happening if I use compile 'com.android.support:design:22.2.1' instead of compile 'com.android.support:design:22.2.0'.
btw, maybe you can add layout rotation handle to Citrus too.

@joielechong
OK. Thank you.
Yes, I can but it's too hard :-P
I'm waiting for your pull-request.

Well, I also a beginner with git too.
I really like to help you, maybe you could teach me one and two about git and pr :P..

Haha, it's too hard too :sunglasses:

I guest I must go on with the wind..:P.
I'll try to learn it and maybe trying to make a pr in a couple days.

Great ! :smile:

authors: gotokatsuya joielechong

repo: eure/citrus


text:
recyclerview点击时添加item选中样式时卡顿

大家是如何给recyclerview 的item点击时添加选中状态的，这边添加item选中状态会造成卡顿，严重掉帧。

数据源实体Bean继承BaseObservable
定义变量，用liveData
@get:Bindable
var checked = MutableLiveData(false)
data class BeanModel():androidx.databinding.BaseObservable(){
@get:Bindable
var checked = MutableLiveData(false)
}
在改变选中状态的时候直接设置
xx.checked.postValue(true/false)
or
xx.value = true/false

repo: evant/binding-collection-adapter


text:
Shelly negative if consumption from net

Describe the bug
I have a negative shelly value (e.g. -300W) if I consume from net.
Means my house is negative - if my house positive, I got positive values.
But I cannot specify this within the meter settings - therefore sadly evcc is not usable for me at the moment.
Is it possible to invert used values somewhere?
It is not possible within shelly. And I do not want to change the shelly sensors.
Configuration details
meters:
  - name: housemeter
    type: template
    template: shelly-3em
    usage: grid
    host: 192.168.78.60 # IP-Adresse oder Hostname

Log details
[site  ] DEBUG 2023/03/17 23:33:17 ----
[lp-1  ] DEBUG 2023/03/17 23:33:17 charge power: 4W
[site  ] DEBUG 2023/03/17 23:33:17 grid power: -306W
[site  ] DEBUG 2023/03/17 23:33:17 grid powers: [-146 -124 -36]W
[site  ] DEBUG 2023/03/17 23:33:18 grid currents: [-0.77 -0.83 -0.39]A
[site  ] DEBUG 2023/03/17 23:33:18 pv power: 310W
[site  ] DEBUG 2023/03/17 23:33:18 site power: -306W

What type of operating system are you running?
Docker container
Version
0.114.1

Are U sure U installed the shelly correctly? Its important to install the sensores in the correct direction!
See https://www.youtube.com/watch?v=OZ7dN7ccjwc&ab_channel=Technikdiebegeistert
To change the power values U can test  and use the following custom configuration, which is generated by evcc based on your template config. I added the scale: -1 parameter fpr all of the power values:
meters:
- name: housemeter
  type: custom
  power:
    source: http
    uri: http://192.168.78.60/status
    jq: .emeters | map(.power) | add
    scale: -1
  energy:
    source: http
    uri: http://192.168.78.60/status
    jq: .emeters | map(.total) | add
    scale: 0.001
  currents:
  - source: http
    uri: http://192.168.78.60/emeter/0
    jq: .current
  - source: http
    uri: http://192.168.78.60/emeter/1
    jq: .current
  - source: http
    uri: http://192.168.78.60/emeter/2
    jq: .current
  voltages:
  - source: http
    uri: http://192.168.78.60/emeter/0
    jq: .voltage
  - source: http
    uri: http://192.168.78.60/emeter/1
    jq: .voltage
  - source: http
    uri: http://192.168.78.60/emeter/2
    jq: .voltage
  powers:
  - source: http
    uri: http://192.168.78.60/emeter/0
    jq: .power
    scale: -1
  - source: http
    uri: http://192.168.78.60/emeter/1
    jq: .power
    scale: -1
  - source: http
    uri: http://192.168.78.60/emeter/2
    jq: .power
    scale: -1

thanks for your fast answer.

Are U sure U installed the shelly correctly? Its important to install the sensores in the correct direction!
I must admit I am not - but it is giving me good results and it works for me as expected. It is just the viewpoint - from grid (your house needs 300Watts) or from the house (the house is -300 watts low of energy) - but this is a philosophical question for me.

Regarding the solution you provided: perfect, seems to work perfectly!
Thanks a lot!!

repo: evcc-io/evcc


text:
Write unit tests for NamespaceScopedCache

Description
We need to add unit tests for the NamespaceScopedCache implemented in https://github.com/everettraven/telescopia/blob/main/pkg/cache/namespace_cache.go
If needed, some refactoring can be done to make the code easier to test, read, understand, and maintain.

@everettraven - Update link to this

authors: everettraven laxmikantbpandhare

repo: everettraven/telescopia


text:
DEVPROD-8356: Create scaffolding for new GitHub tabs on project settings page

DEVPROD-8356
Description
This PR creates an outline for the new tabs on the project settings page. The tabs don't have any functionality or real content yet, that will be added in follow up PRs.
The tabs will not be added for repos at this point in time.
Screenshots

(merging assuming the test will be fixed by Sophie's changes)

repo: evergreen-ci/ui


text:
to pod or not to pod

With recent issues opened regarding ios integration, I'm thinking about supporting projects not using cocoapods.
Pro of not using it

There is no extra workspace file and react-native run-ios will be working again
Less issue on installation
Cons
Official docs recomends cocoapods
Updating framework is more intrusive

Looks like supporting both of the approach is not possible, so what do you think?

No cocoapods
But why not two branches?

@alexanderniebuhr there will be a main branch which has versioning

good news! nopod branch works for cocoapod project

I am for easy onboarding and complex upgrades vs tricky onboading easy upgrades. > no-pods
Worst case, while upgrading is.. I remove the dependency (should not be an issue to reverse changes if the onboarding was clear) and then install the latest version.

good news! nopod branch works for cocoapod project

what does that mean?

it means the new version will support both integration approach

authors: ahmed1490 alexanderniebuhr evollu

repo: evollu/react-native-fcm


text:
Update sbt-scoverage to 1.7.3

Updates org.scoverage:sbt-scoverage from 1.7.1 to 1.7.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scoverage", artifactId = "sbt-scoverage" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #91.

Superseded by #93.

repo: evolution-gaming/cassandra-sync


text:
Missing generic types description in StepWriter methods

The problem
Missing generic types description in StepWriter methods. For example <T> and <TH> for writeFunctionStep
Environment

Xteps version 1.1

Done

repo: evpl/xteps


text:
Incorrect check for the existence of fromJson

https://github.com/exaby73/luthor/blob/cd5ef342599e1dd6ad595ecb53ff0fce0d873a90/packages/luthor_generator/lib/generators/luthor_generator.dart#L33-L41
There is no logical negation in if (hasFromJsonCtor), which breaks code generation.

Ahh sorry! Let me get a fix out

Fixed in 0.4.4+2


text:
🛑 My Site is down

In b46ad62, My Site ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: My Site is back up in 4828af0.

repo: exand/upptime


text:
Flickering

The block with the raw bytes isn't transparent and doesn't show my background, unlike everything else on my pycharm IDE. To make it worse, whenever I click on something anywhere (doesn't have to be somewhere within the plugin) or even just unfocus the window then the background briefly appears, before going away again. The end result is almost like a flash. It's really unpleasant and distracting. I tried tinkering with theme profiles but it didn't help.

Hi. I'm not sure if I understand. Could you provide screenshot or information about what special background or plugin are you using and your platform? (Win/Mac/Linux?)

Thanks for looking into my problem
My OS is Windows 10
I am using the built in background image feature

I have attached an recording
https://user-images.githubusercontent.com/61394004/129462059-556e88a5-be95-4543-b6c9-1bb04f462464.mp4

It seems, that IntelliJ platform uses special components for it's editors to propagate background images and attempts to do that for regular swing components at least partially as well.
I tried some experimental workaround, but it doesn't work all the time. Hopefully at least code area should flicker less with it...
If you want, you can try current development build, although there are some known issues with editing and many more untested bugs as it is work-in-progress...
https://bined.exbin.org/download/?bined-intellij-plugin.zip
Not sure I'll be able to do much more about this issue. Maybe I'll try to investigate around more before next release :-/

Thank you so much for taking your time to look into this!
Definitely often see the background break in pycharm, even sometimes without plugins. Anyway, I tried it and it works great! The background shows and everything blends seamlessly.  Everything looks great now.

You said it doesn't work all the time. It has worked for me until now..... but maybe I've got lucky?
However confused about something else. If I enter the settings screen and press apply or save (without changing any settings), the layout changes. When I reopen the tab, I'm back to the initial layout. I'm guessing this is one of those issues you mentioned?
Thank you again for working on this project. Hex editor seems like an essential thing to have in your IDE.

Well, it doesn't work all the time in values panel on the right side, bottom status panel and search toolbar. But it doesn't flicker there much at least...
As for saving, it seems that there is currently bug, that font is not applied when new tab is opened, therefore when saved, font will change. There might be other issues, but I didn't notice them...
As for hex editor in IDE, it's easy to use external hex editor with much more capabilities. Also not many developers need to look into binary data these days anyway. For me primary need for this plugin was to show debug fields as binary data.

Font issue is hopefully fixed in current development build.

Thanks! Yes, it fixed the font issue! Everything works here. There are some exceptions, but they don't really seem to cause any problems?
You can close this issue if you want

If you think there are some exceptions related to the plugin, you can include it here... I didn't notice any at my short testing.

I'm not sure. It says Exception in plugin Bin-Ed. There were four.
1.txt java.lang.StackOverflowError
2.txt java.lang.StackOverflowError
3.txt java.lang.StackOverflowError
4.txt java.lang.ClassCastException

Thanks. It all seems to be related :-/ I'll try to fix it...

good luck

I tired reproducing them again, but really couldn't. Maybe it's nothing
Glad that you fixed the other errors though

Should be fixed in version 0.2.5.

authors: Znunu hajdam

repo: exbin/bined-intellij-plugin


text:
The number of participants and the avatars do not match.

I also don't see my own avatar.. would be nice to know my assigned color.

Hey @lipis Can you please assign this issue to me? I am starting to work on it.

authors: Mishra-Pravin lipis

repo: excalidraw/excalidraw


text:
Feat: sync to GitHub

While there are multiple features to how we save our files after completing our work. But there could be a feature where we save our work files directly to GitHub and can easily fetch files directly from there.

Hi, is it okay If I work on it? If there is any approach on your mind I'll try implementing it. @dwelle. Thank You 😄

@dwelle Hi, I would love to pick this up. I believe it's going to be productive for the developers.


text:
Fix styleOption error in index.ts

Summary

#1357
Fix styleOption error in index.ts
As typescript updates, errors occur where existing styleOption is omitted.

Thanks for the fix. Sorry, I missed the optional identifier.

@alubbe Please merge this, as it fixes missing optional operator for type script users.

repo: exceljs/exceljs


text:
Acronym

I have an issue with Acronym excercise. I provided a solution, but I get an error if I use an exception class which seems it is unknown in exercism. The solution works fine in an on-prem system.

You provided a solution that apparently raises an error.  That error is not expected, though.
Do the tests pass locally?
You may want to request mentoring so that a mentor can help you work through the exercise.  If there is an issue, then they may direct you here to open one.
I suspect that it is simply that the tests are not expecting to have the try/catch performed, or not result in the way that it is used here.

yea, the exception class is probably missing in the runtime
https://help.sap.com/doc/abapdocu_731_index_htm/7.31/en-US/abensegment_functions.htm

You provided a solution that apparently raises an error. That error is not expected, though.
Do the tests pass locally?
You may want to request mentoring so that a mentor can help you work through the exercise. If there is an issue, then they may direct you here to open one.
I suspect that it is simply that the tests are not expecting to have the try/catch performed, or not result in the way that it is used here.

Locally the tests pass. The exception is the expected behaviour when the appropriate index is not found.
I think it would work when the exception class has been added to the runtime.

https://github.com/abaplint/transpiler/pull/954

Hi Lars, thanks it works now.

authors: kotp larshp mickrig

repo: exercism/abap


text:
Implement stub for dominoes

Here are some reference implementations from other tracks:

https://github.com/exercism/csharp/blob/main/exercises/practice/dominoes/.meta/Example.cs
https://github.com/exercism/fsharp/blob/main/exercises/practice/dominoes/.meta/Example.fs
https://github.com/exercism/elixir/blob/main/exercises/practice/dominoes/.meta/example.ex

This looks great!

repo: exercism/chapel


text:
Add syncLink script

This is a small script that extracts links from about.md and introduction.md and automatically populates links.json, which saves a bit of manual work and makes it easier to keep links synchronized.

Would be nice to have this on main to streamline creating concepts a bit.

repo: exercism/haxe


text:
Update high-score-board.spec.js with expected value

We expect 2674 on:
https://github.com/exercism/javascript/blob/main/exercises/concept/high-score-board/high-score-board.spec.js#L90
but update the value to 1337 on:
https://github.com/exercism/javascript/blob/main/exercises/concept/high-score-board/high-score-board.spec.js#L94
that leads to a failing test on the main track. No way around via online editor. The only option is to update the test and submit from local.
Updating the function to updateScore with expected values.

nvm, it's just me being daft

repo: exercism/javascript


text:
Update Bundler to version 2.5.6

This commit updates Bundler to version 2.5.6 which is now available.
Ref:

https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.6

Any reason to not go to 3.5.6 instead?

Any reason to not go to 3.5.6 instead? Sorry, specify the gem system version 3.5.6? And from the Gemfile not the Gemfile.lock?

No reason that I can think of 🙂. Let me try this locally.

This turned out to be a thrilling side quest!
I learned that requiring gem, gems or rubygems inside Gemfile does not keep Rubygems updated. For example requiring rubygems and running bundle install resulted in:
Could not find gem 'rubygems' in rubygems repository https://rubygems.org/ or installed locally.
The source does not contain any versions of 'rubygems'

gem update --system is the recommended way to keep the Rubygems version up to date.
I also learned that requiring a particular version of Bundler in Gemfile can lead to conflicts.
My take away is that bundle --update bundler is the blessed way to keep Bundler up to date and its configuration is tracked in Gemfile.lock (not Gemfile).
That said, if there is a way to specify the gem system version in Gemfile, I'm excited to learn how.

It's also worth noting that whatever we do here, we should really match in the Ruby Test Runner. The dockerfile for that is here: https://github.com/exercism/ruby-test-runner/blob/main/Dockerfile
My experience of installing bundler in dockerfiles is one that has a similar story to your sidequest.
We recently discovered that it's important to pass pass the bundler version in as a param in the GH Action. Here's a PR to guide if you go down this route (from a different repo): https://github.com/exercism/website/pull/6751/files

Thank you, @iHiD. Happy to take a closer look.

From what I am learning, it is no longer necessary to specify the exact version of Bundler in the Ruby Test Runner. If I can find a link to the change that introduced this, I'll share it.
When we use the current Bundler (gem install bundler without specifying the version) it will detect the appropriate version install and then use that. I confirmed this by building the Ruby Test Runner Dockerfile locally and got the following:
Bundler 2.5.6 is running, but your lockfile was generated with 2.4.18. Installing Bundler 2.4.18 and restarting using that version.

Ref:

https://github.com/exercism/ruby-test-runner/blob/e00080cc06e81ca24f6732a8405030b75f0eca04/Dockerfile#L8

I have opened https://github.com/exercism/ruby-test-runner/pull/139 as a possible approach to keeping Bundler "in sync" on the Ruby Test Runner.

it will detect the appropriate version install and then use that

Yeah, the problem with that is that we then lose the ability to cache Docker layers as all the gems will be re-installed, which takes a while for things like nokogiri. For the website, that adds 30mins to the deployment time.
The best way we've found to get round that is to read the bundler version from the Gemfile.lock and use that to cache properly (as per the PR I sent)

We might be able to have a bin/bundle script that uses bundle _2.2.2_ install for example, reflecting the current Gemfile.lock version.  That will help to ensure that the version of Bundler is used (prerequisite, that version is installed, with gem install bundler 2.2.2 (again as reflected by what is shown as Bundled with 2.2.2 in Gemfile.lock).

authors: iHiD kotp smaboshe

repo: exercism/ruby


text:
Extract track-specific test instructions from config/exercise_readme.go.tmpl

Each track needs a file that contains track-specific instructions on how to manually run the tests. The contents of this document are only presented to the student when using the CLI. This file lives at exercises/shared/.docs/tests.md. You almost certainly already have this information, but need to move it to the correct place.
For v2 tracks, this information was (usually) included in the readme template found at config/exercise_readme.go.tmpl. As such, tracks can extract the test instructions from the config/exercise_readme.go.tmpl file to the exercises/shared/.docs/tests.md file.
See https://github.com/exercism/csharp/pull/1557/files for an example PR.
Tracking
https://github.com/exercism/v3-launch/issues/51

Closed via #41

authors: ErikSchierboom joshgoebel

repo: exercism/wren


text:
Override probot/stale defaults, if necessary

Per the discussion in https://github.com/exercism/discussions/issues/128 we
will be installing the probot/stale integration on the Exercism organization on
April 10th, 2017.
By default, probot will comment on issues that are older than 60 days, warning
that they are stale. If there is no movement in 7 days, the bot will close the issue.
By default, anything with the labels security or pinned will not be closed by
probot.
If you wish to override these settings, create a .github/stale.yml file as described
in https://github.com/probot/stale#usage, and make sure that it is merged
before April 10th.
If the defaults are fine for this repository, then there is nothing further to do.
You may close this issue.

I made a mistake.
This was not explicitly documented in the README, but probot/stale requires the presence of a .github/stale.yml file.
If you want the default behavior, you need to add an empty .github/stale.yml file to this repo, otherwise the bot will not be active.

Ah okay! I'll grab this issue and add in the blank file tonight.

Added empty file for github bot in https://github.com/exercism/xcrystal/commit/1389618dfd0e771e3b22a228b2e807965a1b0ee9

We can reopen this or a similar issue if the defaults don't fit our needs here.

authors: kytrinyx mhelmetag

repo: exercism/xcrystal


text:
Add stub files to problems that have a testVersion

The testVersion is not documented anywhere, and is a bit tricky for people who are new to Go to figure out.
Since this is a book-keeping thing more than an idiomatic Go / interesting problem solving thing, I think it would make sense to provide a stub file for each of these, defining the test version (see discussion in #145)

[ ] bob
[ ] circular-buffer
[x] clock
[ ] crypto-square
[ ] custom-set
[ ] food-chain
[x] gigasecond
[ ] hamming
[x] leap
[x] ledger
[ ] paasio
[ ] tournament

I'm not sure what current thoughts are on this issue.  This issue mentions TestVersion but stub files have come up before as a way to communicate other things like API or data types.  I thought maybe stub files might be most needed by people just getting started, and so might be needed just on problems that appear earlier in config.json.  Also, we might write them with more information and more detail for the earlier problems, the let them become more terse and specify fewer details for later problems.
Leap is currently first in config.json so I made a stub file in the branch https://github.com/exercism/xgo/tree/leap-stub.  I didn't send a PR yet because I wasn't sure we wanted this much explanation.

Yes, agreed--let's add stub files for the first few exercises, but not necessarily all of them.
I like the idea of starting with a very verbose one, and making them successively more terse. The one thing that could get annoying with that is that most people will probably leave all those comments in place. Perhaps we can remind people to edit the comments to follow the guidelines in https://golang.org/doc/effective_go.html#commentary, deleting any comments that don't seem useful for other people on exercism to see. Perhaps we could even encourage them to run golint.

most people will probably leave all those comments in place.

I thought of that too.  Hmm, I added a little bit to encourage people to delete the comments, but maybe it could be worded more strongly or maybe we could add that nitpickers would likely criticize them for leaving the comments in.
You know, suggestions for golint and #comentary are in the help file, "getting started with Go".  Maybe that page could use more visibility.  We could mention it here in the stub file but how about maybe mentioning it with the URL in SETUP.md so that it would get included in every README?  (I know, I just merged it.  Maybe I was too fast.)

maybe we could add that nitpickers would likely criticize them for leaving the comments in.

I like that idea, especially since if they do leave it in, the nitpickers will see it and be encouraged to criticize it.

We could mention it here in the stub file but how about maybe mentioning it with the URL in SETUP.md so that it would get included in every README

Yeah, we should definitely do that.

Completed with https://github.com/exercism/xgo/pull/186.

authors: kytrinyx soniakeys

repo: exercism/xgo


text:
binary-search-tree: Add Minimum Required API

The fields are accessed directly by the tests so they have to be named just like this. Some people put left and right on the same line as left, right *SearchTreeData but it doesn't really matter.

Thank you very much, I think this will do as-is.
Listing out the required API as you have has made me realize that it is quite strange that the test constructs e.g. bst := SearchTreeData{data: 4}, forcing the student to name the structure SearchTreeData. If it were instead always using bst := Bst(4) (or I think renaming Bst to New would be more idiomatic) then the student would have freedom to name the structure as desired.
Similar ideas may be used to allow the members of the struct to be flexible.
Anyway, all that I've said here is not related to this PR, but I would consider the discussed changes welcome in a follow up too!

authors: jcbwlkr petertseng


text:
WIP: Updates installation.md for Delphi configuration

Step by step instructions with screen images that instruct  on what setting changes to Delphi should be made to so it may find DUnitX at compile time.

Needs final link destinations

authors: kotp rpottsoh

repo: exercism/xpascal


text:
hashes-equal? no longer returns #t when actual is empty.

There was a minor problem with 'hashes-equal?'. When actual is empty it would always return #t.

Thanks. Can you rebase?

No problem!  I rebased, let me know if there is a problem.

Thanks!

authors: cpaulbond yurrriq

repo: exercism/xracket


text:
Add a Gitter chat badge to README.md

exercism/xrust now has a Chat Room on Gitter
@IanWhitney has just created a chat room. You can visit it here: https://gitter.im/exercism/xrust.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

I thought this would be nice, since we can't link directly to the Track Maintainers team list.

Yeah, agreed.
I've also wanted to create a contributors page which would list teams/team maintainers. I wrote the code to extract the full list of contributors from the GitHub API into a json file, so that we could use that to generate the page, but I haven't had time to deal with any of that yet.

authors: IanWhitney gitter-badger kytrinyx

repo: exercism/xrust


text:
Player tracking not working on Corporation Map

Hello,
The player tracking  is not working as intended if I set my map to "CORPORATION", but that feature is working on "PRIVATE" and "ALLIANCE" maps.

Ill check. Player tracking is enabled in any map mode (Private, Corp, Ally). The way it should work is, that you see the current number of active pilots in a system.
Green means: Player number "increase"
Red means: Player number "decrease"
The screenshot looks good for me. Even if there are more than 1 player active in a system, there is just one player name visible. If you want to see more information and all other players, hover the small gray arrow next to the system name, the system should enlarge and all Players and all their ships should be shown.
Moreover, a green "dot" before a Player Name means, that he is in your Corp, blue = same Ally.
What exactly is your problem here?

Yes,  it's a screenshot of how it is supposed to work (so you know what I'm talking about), the bug is that on a corporation shared map, nothing happens, you can't see other pilots at all, while its working with the alliance and private maps

Ah okay i see. Thanks, Ill look at this.

This is fixed in v.0.0.11


text:
Refactor/bounds

The ContinuousInputfeature object and its subclasses now have their bounds saved into a Tuple[float, float] object instead of two separate float objects.

For some reason github visually includes all commits that I have made on other branches eventhough I checked out a fresh branch from upstream main before starting working. Changed files only show changes made in the working branch refactor/bounds.

repo: experimental-design/bofire


text:
Better README

Since this is now a public project, I would suggest improving upon the README to clearly explain what this package aims to do. This would give viewers and possible contributors a clear idea of what's expected.
:)

The README will be expanded in due time, opening an issue for this is not helpful.

The README will be expanded in due time, opening an issue for this is not helpful.

In that case, would you mind explaining to me the purpose of this project here? What does Weasel aim to achieve?
When having an open source project, I firmly believe in making the purpose of the project clear. This makes contributing and comparing easier.

@adrianeboyd.

authors: TheOnlyWayUp adrianeboyd

repo: explosion/weasel


text:
[eas-cli] Use new expo-updates configuration:syncnative for versioned native sync

Why
This makes use of the new command added in https://github.com/expo/expo/pull/27511 to ensure that the runtime version resolution and synchronization are both versioned.
How
Call the CLI instead of using the version of config plugins depended on by eas-cli when possible.
Test Plan
In a generic project using fingerprint and requireCommit: true:
yarn link expo-updates
neas build -p android

and ensure the native sync is no longer the old version (meaning it called the CLI to do the native sync).

/changelog-entry new-feature Use new expo-updates configuration:syncnative for versioned native sync

repo: expo/eas-cli


text:
reanimated crash on this version of  expo / react-conf-app

(NOBRIDGE) ERROR  ReanimatedError: [Reanimated] Tried to synchronously call a non-worklet function t3 on the UI thread.
See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread for more details., js engine: reanimated
(NOBRIDGE) ERROR  ReanimatedError: [Reanimated] Tried to synchronously call a non-worklet function t4 on the UI thread.
See https://docs.swmansion.com/react-native-reanimated/docs/guides/troubleshooting#tried-to-synchronously-call-a-non-worklet-function-on-the-ui-thread for more details., js engine: reanimated
(NOBRIDGE) ERROR  ReanimatedError: [Reanimated] Tried to synchronously call a non-worklet function t5 on the UI thread.

Could you please provide steps to reproduce this?

iOS or Android?
real device or emulator/simulator
did the error appear on launch or after an interaction?

Closing due to a lack of a reproducible example. Please create a new issue with steps to reproduce if the problem persists.

repo: expo/react-conf-app


text:
xde can not work

Hi ,
I just used xde yesterday normally, and today I can not use xde to do anything, xde just show loading icon whether when I create new project or open exists project. the log is here:
{"name":"expo","hostname":"Yis-MacBook-Pro.local","pid":3006,"level":50,"err":{"message":"There was a problem understanding the server. Please try again.","name":"Error","stack":"Error: There was a problem understanding the server. Please try again.\n    at /Applications/Expo XDE.app/Contents/Resources/app/node_modules/xdl/build/ApiV2.js:162:23\n    at Generator.throw ()\n    at step (/Applications/Expo XDE.app/Contents/Resources/app/node_modules/xdl/build/ApiV2.js:42:191)\n    at /Applications/Expo XDE.app/Contents/Resources/app/node_modules/xdl/build/ApiV2.js:42:402\n    at process._tickCallback (internal/process/next_tick.js:103:7)"},"msg":"There was a problem understanding the server. Please try again.","time":"2017-08-08T02:52:16.790Z","v":0}
any idea to fix this problem?

Hi! Can you please open this again at https://github.com/expo/expo, as requested in the issue template? Could you also provide some information about your system, like what version of macos you have, the version of xde you're using, etc.? Thanks!

Now I can open pure js project. but the detached project still not open.
MacOS: 10.12.6
Xde: 2.19.3

I debugged the code of exp and xdl and I found the process hung at getting schema from https://exp.host/--/xdl-schema/19.0.0.
and getting versions from
https://exp.host/--/api/v2/versions

Do you perhaps have an HTTP proxy in the way? If you do, you can set the http_proxy and https_proxy env cars and XDE should honor them.

@ide I access network through vpn, maybe it has something to do with the network environment.

authors: dikaiosune ide kinglywork

repo: expo/xde


text:
renderIcon doesn't work

renderIcon={() => <Image source={require('image!home')} style = {styles.size}/>}
renderSelectedIcon={() => <Image source={require('image!home')} style = {styles.size}/>}

renderIcon={() => <Image source={require('image!ic_collected_white')} style = {styles.size}/>}
renderSelectedIcon={() => <Image source={require('image!ic_collect_white')} style = {styles.size}/>}

renderIcon = {() => <Image source={require ('image!ic_collected_white')}/>}
renderSelectedIcon = {() => <Image source={require('image!ic_collect_white')}/>}

Can you verify that your icon <Image> components show up when you use them outside of the TabNavigator?

TabNavigator  Are there any requirements for image size?

You should make them about 22x22 big but it doesn't need to be exact. You can also put some margin/padding on them to adjust their positions.

Thanks

repo: exponentjs/react-native-tab-navigator


text:
feature: infinite scroll works with swiping as well as buttons

What:
There was a recent addition to allow infinite scrolling with the buttons and with autoplay, but this isn't currently happening when a user swipes at the start or end of the carousel. This PR changes that.
Why:
When a user is swiping through pictures and hits the end of the carousel, it is cumbersome to have to swipe back through all of the photos instead of continuing to swipe forward.
How:
Modifying the computeCurrentSlide to account for when infinite is set to true.
Checklist:

[x] Documentation added/updated
[x] Typescript definitions updated
[x] Tests added and passing
[x] Ready to be merged

Love what the team is doing with this! Thank you for the great package!

This looks good to me, thanks @mariohoyos92!
@tim-steele or @mrbinky3000 would you like to take a look at this before we merge it?
@allcontributors please add @mariohoyos92 for code

How does everyone feel about this as a user experience.  Swipe right and it jumps all the way back to the beginning of the slide show?  Feels like a bug.  I would like this better if I could turn this on/off for swipe.  My gut says someone will complain about this in the future.

Thanks @mariohoyos92 - we published pure-react-carousel@1.23.3 with the update.

repo: express-labs/pure-react-carousel


text:
service-worker.js 404

What is the missing service-worker.js ?
Hi everyone ! I'm new here, I created a express.js app few minute ago, it's on 4.17.1.
My question is in this screenshot:

And, here is my simple code:
const express = require('express')
const app = express()

app.get('/', function (req, res) {
  res.send('Hello World')
})

app.listen(3000)

What am I missing ?

Hi @KaivnD, this doesn't appear to have anything to do with Express.  You must have an html page which is trying to load that as a script tag, and as your example doesn't even serve an html page I am not sure how it could be an express issue.

Hi @wesleytodd, this error keep coming, and I do have html page, seen below.

Yes, your html is referencing a file which does not exist.  This has nothing to do with express.

authors: KaivnD wesleytodd

repo: expressjs/express


text:
update debug -> 2.6.8

debug: 2.6.7 has a breaking change in it:
https://github.com/visionmedia/debug/commit/cae07b70c968bdcadffff452dee8613522857888#diff-b056c1ad802eb5041886154caaf3a3d4
This causes:
  if (window && window.process && window.process.type === 'renderer') {
      ^

ReferenceError: window is not defined

The change was reversed in debug: 2.6.8
https://github.com/visionmedia/debug/commit/2482e08e4ef36416154ee27e9a2d60e568a01d48#diff-b056c1ad802eb5041886154caaf3a3d4

As far as I can tell running through the test suite (even with full debugging on), that changed file src/browser.js is never even loaded. How can I reproduce?

It looks like finalhandler is the only other dependency that explicitly requires debug: 2.6.7 and I just opened an issue to them: https://github.com/pillarjs/finalhandler/pull/17
I'm building a Typescript project with Webpack 2.  My webpack config has target: 'node'.  My tsconfig.json is:
{
    "compilerOptions": {
        "allowSyntheticDefaultImports": true,
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "lib": ["es2015", "dom"],
        "module": "es2015",
        "moduleResolution": "node",
        "target": "es2015",
        "importHelpers": true,
        "noImplicitAny": true,
        "noEmitHelpers": true,
        "sourceMap": true
    }
}

This used to work and run my server side renderer.  Now I get the error from the debug: 2.6.7 function though.
Let me see if I can work up a quick repro in a gist for you.

Let me see if I can work up a quick repro in a gist for you.

Awesome! I just want to make sure that we are covering our user base by testing against supported configurations of Express, which is why we have CI on Linux and Windows, and test against all the Node.js versions--quite a large matrix to produce high quality releases.
I would like to understand how this broke you, because we don't want to, and my only thought it there must be something drastically different from what we support now and what you're doing, since that src/browser.js file (1) never loaded in my uses or in our CI and (2) it looks like a file for running in a web browser, not in Node.js ... ?

The src/browse.js file at the top says:

This is the web browser implementation of debug().

I'm not sure that should be executing in Node.js. Thinking on this, perhaps you the way you are using TypeScript 2 + Webpack is incorrect? Why would it be producing output meant for a web browser to run in Node.js?

It turned out to be an odd combination of things in webpack triggering this.
Specifically there were shared portions of the webpack config for a web and server config that appear to have been mutated by webpack between webpack generating the web output and webpack generating the server output.
After separating my config into immutable objects, you are correct, node does not load the debug module on the server and the error in debug: 2.6.7 is no longer triggered.

If it's of any interest, here was the specific webpack config that was changed: https://github.com/caleblloyd/dotnet-core-boilerplate/commit/90d3d7242c7714c494cc9587170c5b3412fd62f3#diff-7b34478716a77715716a972f98bbe766

Oh, interesting. Didn't think Object.assign would alter anything but the left-most object.

I think webpack must have been mutating one of the nested objects in commonConfig
Oh javascript... :)

authors: caleblloyd dougwilson


text:
Provide public list of TC members

Per discussion in #653, it makes sense to provide a public listing of the members of the Express TC: https://github.com/orgs/expressjs/teams/express-tc (list is not publicly visible).  I think this can be done in two ways:

Add a manual copy of https://github.com/orgs/expressjs/teams/express-tc to the README or another document in both https://github.com/expressjs/expressjs.com and https://github.com/expressjs/express repos.
Make the visibility of the list in https://github.com/expressjs/expressjs.com public by changing the visibility to "public" in https://github.com/organizations/expressjs/settings/teams. Then simply link to that list from README, Contributing.md, et. al.

The second option seems better to me, since then we wouldn't have to maintain the list manually in the README (if people join or leave TC).

Hi @crandmck, there is no button I can see anywhere to make the team more public than it is already. There are only two choices I can see: Visible or Secret. The TC team (and all teams in the org) are already set to Visible:

Unless we can figure out how to get that organization team publicly visible, we should keep the maintenance cost low by only doing a single list. Ideally (I believe I brought this up before), the expressjs.com website itself needs a section on it with the TC information (including members), the governance policy, etc. This would allow us to just add a link to the website with the names in all the READMEs instead of trying to keep it up-to-date everywhere.

Huh, I guess I was mistaken about being able to make the list public.  My bad.
We do have http://expressjs.com/en/resources/contributing.html already that provides the info from various MD files in the express repo (e.g. https://github.com/expressjs/express/blob/master/Contributing.md).  Unfortunately, I don't know of any way to "single source" it from those files, so I just copy/pasted it.  I guess we'd have to do the same with the TC member list.  Or we could just link to the file from that page.

This is now published at http://expressjs.com/en/resources/contributing.html#technical-committee.

authors: crandmck dougwilson


text:
data.frame wrappers and converters

I had a quick look through the current repo, and it doesn't seem like we have an explicit handling for data frames.
I quickly tested it using:
let df = R!("iris");
dbg!(df);

Ok(
    r!(List::from_pairs(
        Zip {
            a: ["Sepal.Length", "Sepal.Width", "Petal.Length", "Petal.Width", "Species"],
            b: [r!([...]), r!([...]), r!([...]), r!([...]) r!([...])]
        }
    )).set_class(["data.frame"]
)

So I guess we're treating it as an R list of vectors, which is pretty reasonable.
Two thoughts though:

Firstly, I'm wondering if we could use the guaranteed properties of a data frame to simplify this conversion. For example, names are guaranteed to be unique, so we could losslessly convert to a hashmap
Secondly, I've been happily using Polars as my Rust data frame library. I'm wondering if there is interest in a feature-gated conversion between Polars and R data frames, in the same way we are doing for ndarray

I don't exactly understand what the specific request/suggestion is. Could you be more specific? What exactly is the feature that is missing? And if there is more than one, maybe open a separate issue for each?

I'm really not sure how to make this clearer:

Can we make the default R type for a data frame be a hash map?
Can I write a wrapper class that converts an R data.frame into a Polars DataFrame?

Can we make the default R type for a data frame be a hash map?

Do you mean Rust type? And wouldn't it make more sense to write an abstract wrapper and then leave how the wrapper stores the data as an implementation detail?

Can I write a wrapper class that converts an R data.frame into a Polars DataFrame?

Sure, but note that this entirely separate from your point one and thus deserves a second issue.

Do you mean Rust type? And wouldn't it make more sense to write an abstract wrapper and then leave how the wrapper stores the data as an implementation detail?

Yes I meant Rust. Maybe you're right, but I vaguely remember there being discussion about how users have to manually convert to hash map because it's normally a lossy conversion.

Sure, but note that this entirely separate from your point one and thus deserves a second issue.

Okay, I'll create a new issue.

In retrospect this is probably such a niche request that's satisfied well enough either by the existing List conversion or by #331.

authors: clauswilke multimeric

repo: extendr/extendr


text:
Snapshot-test extendr macros expansions

Test generated code
Visualize expansion for reference
???

Blocked by https://github.com/dtolnay/install/issues/12. If it will not be resolved by the author/us, I will switch to just cargo install cmd.

Dayum, snapshot tests are disabled by default on CRAN so they were not executed here >_<. I was debugging unreachable code on CI

Wait, what's wrong with nzchar? I did not get it

nchar takes a character vector as an argument and returns a vector whose elements contain the sizes of the corresponding elements of x.
but it returns boolean/logical.

Ah, but there are two functions. nchar counts characters, and nzchar (I read it as non-zero characters) just tells us if string is not empty.

authors: CGMossa Ilia-Kosenkov


text:
chore(docs): AWSSM quick example changes

Changed some stuff on the AWS SM example to enable people that want to get this quickly up to test and not think that much about the specification.

Made it clear that role is a optional field, if they want to omit it for test purposes.
Made the ExternalSecret example there be the complete file since people would want to just copy and paste and apply it right away :smile:

The reasoning is that awssm is the most popular provider and this will probably be the doc page with most accesses with people trying out the project.

A bit of data :smile:

Also, we added you @moolen to the analytics dashboard.

repo: external-secrets/external-secrets


text:
feat: update dataFrom with use of generator

Problem Statement
The annoted example of ExternalSecret was not using the present dataFrom with use of generatorRef
Related Issue
Fixes #2392
Proposed Changes
I changed the full-external-secret.yaml to use the generatorRef in the structure under dataFrom
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[x] All tests pass with make test
[x] I ensured my PR is ready for review with make reviewable

Thanks @LucasPimentel123, very useful!


text:
chore: promote gcp to stable

Promoting GCP to stable and trying new commands on the PR

/ok-to-test-managed sha=38ccd31

/ok-to-test sha=38ccd31

Nice :) seems commands woked like they should

We don´t need to merge this one yet, just wanted a new PR with new stuff to test the new ok-to-test command

@moolen do we wanna merge this one? Do you see something missing?

/approve

/merge

authors: knelasevero moolen


text:
Add Observe SDK support to the Extsim runtime

It would be great if we had Observe support in the Extism runtime. For ourselves and for our users. I think the primary blocker on this one is tokio / async support in Extism as that's required by the SDK. Perhaps there is another way.
@zshipko do you mind filling in some details on what we need to accomplish this goal?

I have tried converting the runtime to use the wasmtime async API, but this complicates the C API because we need to block on the future to return it from the SDK functions. It brings up the question of what runtime to support, do we go with tokio or try to support async-std too? I think doing this would still be possible but it's a lot of work.
The thing I haven't tried is to re-implement the observe SDK as Extism host functions in https://github.com/extism/extism/blob/main/runtime/src/pdk.rs - which seems like the most realistic path to support with what is available in Extism today.

Only Otel support

@bhelx follow up with Zach on priority for this

What do y'all think about this? is it still possible to get this out or should we table it?

we could, but the blocker has been the architecture that requires tokio in the Rust SDK. I don't think we should bring tokio into extism, but we'd then need to implement a different Observe SDK.

authors: bhelx neuronicnobody nilslice zshipko

repo: extism/extism


text:
Missing glass and metal sensor

I lack the ability to choose to see the glass and metal sensor for my area. Why is this.

The fractions shown in the list are the available fractions for the address in use. You can download the app "Min Renovasjon" from Apple App Store or Google Play and enter the same addresse to check if the missing fraction is showing.
I have experienced cases where, for one reason or another, Norkart (the source of data) has not returned all relevant fractions.
If the missing fraction shows up in the app, then there's an issue with the integration, and this needs to be looked into. If the missing fractions is not showing up in the app, Norkart is not supplying that fraction (at the moment).


text:
Lien dysfonctionnel manuel MAGNARD

Bonjour,
Tout d'abord merci beaucoup de nous partager autant de resources qui me sont utiles.
J'aurais aimé pourvoir consulter les manuels de chez MAGNARD mais vos liens ne fonctionnent plus.
Merci
Bonne journée

J'ai mis les nouveaux liens. Merci d'avoir repérer ce souci !

authors: Tioxbew eyssette


text:
[RFE] create DO output

Is your feature request related to a problem? Please describe.
Not a problem, but it would be super handy and drive DO adoption if we had a similar function to take a TMOS config and return all the settings DO would handle.  This could be a quick and easy way to templatize an F5's base/system settings and deploy more  devices with the same system settings.
Describe the solution you'd like
This may be best in another project (like ACC), or I could do something in vscode-f5/f5-corkscrew/f5-conx-core, but just wanted to get the idea out there.
Since this project is already doing TMOS->AS3 conversion, and now utilizing a REST API integration, a different API endpoint, or parameter could tell the engine to return a DO conversion instead of an AS3, could be an easy addition.
Examples below:
New API endpoint:

http://localhost:8080/apiV1/doConvert

As existing endpoint param:

http://localhost:8080/as3convert?do=true

Describe alternatives you've considered
Currently, there is no alternative.  DO declarations must be made by hand at some point
Additional context
A small tool like this could be incredibly valuable for helping users transition to automation tools like DO.  With the output from a tool like this, it would easily be converted to a FAST template and templatize/standardize deployments even more.   Like ACC, this would drastically reduce the time/expertise needed to get started with DO.  This could also be incorporated into workflows that assist users with migrating to next gen cloud based platforms.

Spike CHARON-269 created for PM tracking. Spike in progress

Added to ACC 1.14 as a preview. Will update this issue with supported classes and docs

docker run --rm -v  "$PWD":/app/data f5-as3-config-converter:1.15.0-RC2 -o data/v14-output.json -u data/v14-test.ucs --declarative-onboarding
Can be closed. More classes supported in ACC 1.15, 1.16 etc.


text:
Fixed issue with typed builder on phantom data

Closes #79
Also:

Fixed some clippy warnings

@fMeow the test failing on revision doesn't happen on ArangoDB 3.7.x and appears on 3.8.0

repo: fMeow/arangors


text:
[SolidJS]: How to handle errors from server?

Hi,
I'm wondering how I can handle server errors when I submit my form? Ie think a login form but the email has already been taken etc..
Schema/Type code:
const LoginSchema = object({
  email: string([email("Email is invalid"), minLength(1, "Email is required")]),
  password: string([minLength(1, "Password is required")]),
});

type LoginForm = Input<typeof LoginSchema>;

Component code:
export default function Index() {
  const [loginForm, { Form, Field }] = createForm<LoginForm>({
    validate: valiForm(LoginSchema),
  });
  const act = useAction(login);
  const handleSubmit: SubmitHandler<LoginForm> = async (values) => {
    await act(values);
  };
  return (
    <>

Login

      <Form onSubmit={handleSubmit}>
        <Show when={loginForm.response.message}>
          {(message) =>
{message()}
}
        </Show>
        <Field name="email">
          {(field, props) => (
            <>
              <input {...props} type="email" required />
              {field.error &&
{field.error}
}
            </>
          )}
        </Field>
        <Field name="password">
          {(field, props) => (
            <>
              <input {...props} type="password" required />
              {field.error &&
{field.error}
}
            </>
          )}
        </Field>
        <button type="submit">Login</button>
      </Form>

      Create an account
    </>
  );
}

Action code:
const login = action(async (values: LoginForm) => {
  "use server";

  const result = safeParse(LoginSchema, values);
  if (!result.success) {
    const flattened = flatten<typeof LoginSchema>(result.issues);
    const errors = Object.entries(flattened.nested).reduce(
      (acc, [key, value]) => {
        acc[key] = value[0];
        return acc;
      },
      {} as { [key: string]: string },
    );

    if (flattened.root && flattened.root.length > 0) {
      throw new FormError<LoginForm>(flattened.root[0], errors);
    }

    throw new FormError<LoginForm>(errors);
  }

  throw new FormError<LoginForm>("Email exists in database");
});

I would have thought I would see a message here, but I only see 500 internal server errors in my network tab:
        <Show when={loginForm.response.message}>
          {(message) =>
{message()}
}
        </Show>

Okay I think I've figured it out but it seems a bit quirky, please let me know if there is a better way?
Action code:
const login = action(async (values: LoginForm) => {
  "use server";

  const result = safeParse(LoginSchema, values);
  if (!result.success) {
    const flattened = flatten<typeof LoginSchema>(result.issues);
    const errors = Object.entries(flattened.nested).reduce(
      (acc, [key, value]) => {
        acc[key] = value[0];
        return acc;
      },
      {} as { [key: string]: string },
    );

    if (flattened.root && flattened.root.length > 0) {
      return new FormError<LoginForm>(flattened.root[0], errors);
    }

    return new FormError<LoginForm>(errors);
  }

  return new FormError<LoginForm>("Email exists in database");
});

Submit code:
  const [loginForm, { Form, Field }] = createForm<LoginForm>({});
  const act = useAction(login);
  const sub = useSubmission(login);
  const handleSubmit: SubmitHandler<LoginForm> = async (values) => {
    await act(values);
    if (sub.result) {
      Object.entries(sub.result.errors).forEach(([field, message]) => {
        setError(loginForm, field as keyof LoginForm, message);
      });
      throw new FormError<LoginForm>(sub.result.message);
    }
  };

Hey, I haven't had time to take a closer look at the new SolidStart beta release. I plan to integrate it in the future with a nice API and DX, but that will take some time.

Hello, I end up with something like that to reuse on different form/action.
//@types/action.d.ts
import { FieldValues, FormErrors } from "@modular-forms/solid";
import { Action } from "@solidjs/router";

export type ActionForm<Schema extends FieldValues> = Action<
  [data: any],
  { success?: boolean; error?: string; fields?: FormErrors<Schema> } | void
>;
// autocomplete on fields from TS

//lib/utils.ts
export function concatErrors(flattened: object) {
  return Object.entries(flattened).reduce(
    (result, [key, value]) => {
      result[key] = value.join(" ");
      return result;
    },
    {} as { [key: string]: string },
  );
}

//login.tsx
export default function Index() {
  const action = useAction(login);
  const submission = useSubmission(login);
  const [loginForm, { Form, Field }] = createForm<LoginForm>({
    validate: valiForm(LoginSchema),
  });
  const handleSubmit: SubmitHandler<LoginForm> = async (values) => {
    await action(values);
    if (submission.result) {
      const { error = "", fields = {} } = submission.result;
      throw new FormError<LoginForm>(error, fields);
    }
  };
  return ( ... )
};

const LoginSchema = v.object({ ... })
type LoginForm = v.Input<typeof LoginSchema>;

const login: ActionForm<LoginForm> = action(async (data) => {
  "use server";
  const result = v.safeParse(LoginSchema, data);
  if (!result.success) {
    const flattened = v.flatten<typeof LoginSchema>(result.issues).nested;
    const errors = concatErrors(flattened);
    throw { fields: errors };
  }

  // db call
  if (failed) throw { error: "user don't exists" }

  // all good
  throw redirect("/");
}, "login");

authors: Ashyni CallumVass fabian-hiller

repo: fabian-hiller/modular-forms


text:
Error: node stack overflow

Hello,
After a fresh clone of the project, I have attempted to run the test case and it is still not working for me, can you please advise me as to what may be going incorrectly?
The output of
Rscript VaQuERo/scripts/VaQuERo.r --debug TRUE
follows:
Rscript VaQuERo/scripts/VaQuERo.r --debug TRUE
##------ Wed Aug  3 09:44:40 2022 ------##
[1] "Warning: command line option overwritten"
[1] "##~LOG~PARAMETERS~####################"
$dir
[1] "sandbox"
$country
[1] "Austria"
$bbsouth
[1] 46.38
$bbnorth
[1] 49.01
$bbwest
[1] 9.53
$bbeast
[1] 17.15
$metadata
[1] "VaQuERo/data/metaDataSub.tsv"
$marker
[1] "VaQuERo/resources/mutations_list_grouped_2022-05-17_Austria.csv"
$smarker
[1] "VaQuERo/resources/mutations_special_2022-05-03.csv"
$pmarker
[1] "VaQuERo/resources/mutations_problematic_vss1_v3.csv"
$data2
[1] "VaQuERo/data/mutationDataSub_sparse.tsv"
$data
[1] "VaQuERo/data/mutationDataSub.tsv.gz"
$inputformat
[1] "sparse"
$plotwidth
[1] 8
$plotheight
[1] 4.5
$ninconsens
[1] 0.4
$zero
[1] 0.02
$depth
[1] 250
$recent
[1] 9999
$plottp
[1] 3
$minuniqmark
[1] 1
$minuniqmarkfrac
[1] 0.4
$minqmark
[1] 3
$minmarkfrac
[1] 0.4
$smoothingsamples
[1] 2
$smoothingtime
[1] 2
$voi
[1] "BA.4,BA.5,BA.1,BA.2,B.1.617.2,B.1.1.7"
$highlight
[1] "BA.4,BA.5,BA.1,BA.2,B.1.617.2,B.1.1.7"
$debug
[1] TRUE
$help
[1] FALSE
[1] "##~LOG~PARAMETERS~####################"
[1] "PROGRESS: create directory "
##------ Wed Aug  3 09:44:40 2022 ------##
[1] "PROGRESS: read mutation files "
[1] "PROGRESS: read and process meta data "
[1] "LOG: last_BSF_run_id BSF_1125"
[1] "LOG: print STATUS counts: "
detected passed_qc
1        19
[1] "PROGRESS: print STATUS map"
##------ Wed Aug  3 09:44:41 2022 ------##
Saving 7 x 7 in image
Error: node stack overflow
Execution halted
free(): invalid pointer
Aborted (core dumped)
Many thanks,
Evan

Hello Evan
Unfortunately we could not reproduce your issue. Since R and its packages make use of several system libraries, which might cause different behaviors on different systems, we decided to provide a docker image to have a standardized environment to execute the analysis. I hope this helps you.
Please refer to docker/README.md for details
If you have any questions concerning usage of the container or if you run into any issue executing the tool within the container, please do not hesitate to contact me.
lg Fabian

authors: evantroendle fabou-uobaf

repo: fabou-uobaf/VaQuERo


text:
Table design Update

Apply to all current table solutions.

Invision:
https://zalando.invisionapp.com/d/main/#/console/10454474/240453640/preview

Sprint 10 will test both variants and put it into Design Review again.

I think this is done.
@fabric-design/ux could you check it?
https://fabric-design.github.io/styleguide/#/molecules/tables

Closing it, as it seems done.

authors: fokusferit fragsalat myueksel schluchter

repo: fabric-design/scss


text:
Add Work Item does not match UX

The method for adding a Work Item in the full form (using the + in the upper right) does not match the UX designs as given here: https://redhat.invisionapp.com/share/HJ9YNYX2T.
Both the overlay needs to be adjusted, as well as the cards that each Work Item type reside inside of.

outdated - closing


text:
CODE: Convert visual designs for OSio to live site

Take the visual designs, as created by Jessica, and convert them to working code. All aspects should work on mobile and desktop alike and give proper user feedback.
Proper brand standards should be followed, and icons should be used according to standards given by web group.
VC:

approval from Jessica that site meets design specs.

Completed.


text:
Support for EnvironmentContext inside Components

type Container =
    { ServiceA: IServiceA
      ServiceB: IServiceB }

let ContainerKey = EnvironmentKey.Create<Container>("Container")

let grandChild() =
    Component() {
        // Retrieve the environment value for the key
        let! container = Environment.Get(ContainerKey)

        Button("Click me", fun () -> container.ServiceA.DoSomething())
    }

let child() =
    Component() {
        // Note here that the environment context can skip over several layers of component
        VStack() {
            grandChild()
        }
    }

let parent (container: Container) =
    Component() {
         // Define the environment value
         do! Environment.Set(ContainerKey, container)

         child()
    }

It is also possible to add more environment values down the hierarchy (only accessible to descendants) and override environment values down the hierarchy as well (still only for current level and descendants).
let EnvKey1 = EnvironmentKey.Create<int>("EnvKey1")
let EnvKey2 = EnvironmentKey.Create<int>("EnvKey2")

let grandChild() =
    Component() {
        let! envValue1 = Environment.Get(EnvKey1) // Will be 20
        let! envValue2 = Environment.Get(EnvKey2) // Will be 40

        (...)
    }

let child() =
    Component() {
        let! envValue1 = Environment.Get(EnvKey1) // Will be 10
        do! Environment.Set(EnvKey1, 20)
        do! Environment.Set(EnvKey2, 40)

        VStack() {
            grandChild()
        }
    }

let parent (container: Container) =
    Component() {
         // Define the environment value
         do! Environment.Set(EnvKey1, 10)

         child()
    }

@edgarfgp I couldn't do something like SwiftUI with the .environment(key, value) modifier because Fabulous doesn't allow for repeated modifiers (only the last one will be kept), and modifiers are evaluated only after the children have been evaluated, so the environment declarations would come too late anyway 😅


text:
Not all MD features are properly styled

Platform: LMDE 6

Installed from releases page
Affected cmark features: 4

As above, some cmark features aren't properly styled. That includes headings, most of them not being emphasized. They are generated properly with Ctrl+Shift+H though, so it's something about the CSS.

Can you open this issue again in FextifyPlus?

repo: face-hh/fextify


text:
fby4: sd/wf: Adjust VR negative reading to zero

Description

Adjust VR negative reading to zero according to power team suggestion.

Motivation

Prevent mfg-tool sensor-display overflow.

Test Plan:

Build code: Pass

Please rebase.  Appears to have merge conflicts.

authors: BonnieLo williamspatrick

repo: facebook/OpenBIC


text:
Can devices share the same encrypted file?

In my use case, I wanted one encrypted file can be decrypted by any device if it has the key/password.
I think it would be similar to this and this and should be achieved by a customized KeyChain implementation.
I'm just wondering if it will be helpful to provide a sample implementation to use a single string key if this is a common use case. So users like me who may not be familiar with KeyChain can use the lib out of box in their such simpler scenario.
Thanks!

Just starting to answer old issues.
Encryption is deterministic if KEY,IV and Entity are the same.
IV is generated randomly when encrypting, but it's included in the encrypted result.
So yes, another device will be able to read encrypted content if they have the same Key, and use the same Entity (Entity is used at the end, to run a hash check to avoid tampering). Entity is not expected to be a secret. Key, obviously is.
So as long as you have the same key you'll be fine.
To use the same key: either change the SharedPrefsKeyChain object to allow saving it, or just implement KeyChain returning the key you want to use.
Remember that the key should be sent in a secure way and that's very very important :)
Feel free to reopen. Now I'll be around to answer.

repo: facebook/conceal