MySQL - ER_CON_COUNT_ERROR: Too many connections

    at Handshake.Sequence._packetToError (/home/container/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
    at Handshake.ErrorPacket (/home/container/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
    at Protocol._parsePacket (/home/container/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home/container/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home/container/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home/container/node_modules/mysql/lib/protocol/Protocol.js:38:16)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:526:10)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    --------------------
    at Protocol._enqueue (/home/container/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home/container/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home/container/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home/container/node_modules/mysql/lib/Pool.js:48:16)
    at Pool.query (/home/container/node_modules/mysql/lib/Pool.js:202:8)
    at /home/container/utilities/giveaways/giveaways.js:8:21
    at new Promise (<anonymous>)
    at Giveaways.getAllGiveaways (/home/container/utilities/giveaways/giveaways.js:7:11)
    at Giveaways._init (/home/container/node_modules/discord-giveaways/src/Manager.js:665:39)
    at new GiveawaysManager (/home/container/node_modules/discord-giveaways/src/Manager.js:59:24) {
  code: 'ER_CON_COUNT_ERROR',
  errno: 1040,
  sqlMessage: 'Too many connections',
  sqlState: undefined,
  fatal: true
}
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^
Error: ER_CON_COUNT_ERROR: Too many connections
    at Handshake.Sequence._packetToError (/home/container/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
    at Handshake.ErrorPacket (/home/container/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
    at Protocol._parsePacket (/home/container/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home/container/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home/container/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home/container/node_modules/mysql/lib/protocol/Protocol.js:38:16)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:526:10)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    --------------------
    at Protocol._enqueue (/home/container/node_modules/mysql/lib/protocol/Protocol.js:144:48)
    at Protocol.handshake (/home/container/node_modules/mysql/lib/protocol/Protocol.js:51:23)
    at PoolConnection.connect (/home/container/node_modules/mysql/lib/Connection.js:116:18)
    at Pool.getConnection (/home/container/node_modules/mysql/lib/Pool.js:48:16)
    at Pool.query (/home/container/node_modules/mysql/lib/Pool.js:202:8)
    at /home/container/utilities/giveaways/giveaways.js:8:21
    at new Promise (<anonymous>)
    at Giveaways.getAllGiveaways (/home/container/utilities/giveaways/giveaways.js:7:11)
    at Giveaways._init (/home/container/node_modules/discord-giveaways/src/Manager.js:665:39)
    at new GiveawaysManager (/home/container/node_modules/discord-giveaways/src/Manager.js:59:24) {
  code: 'ER_CON_COUNT_ERROR',
  errno: 1040,
  sqlMessage: 'Too many connections',
  sqlState: undefined,
  fatal: true
}```

This is the issue I am facing, I think the bot is not supposed to do this or did I missed something in the installation? Please let me know, Thanks.

It looks like you are trying to connect to the database too many times - change the configurations in this file: https://github.com/IgorKowalczyk/majo.exe/blob/master/config/mysql_config.js

It looks like you are trying to connect to the database too many times - change the configurations in this file: https://github.com/IgorKowalczyk/majo.exe/blob/master/config/mysql_config.js

Error: ER_NO_SUCH_TABLE: Table 'sql7639640.giveaways' doesn't exist
    at Query.Sequence._packetToError (/home/container/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
    at Query.ErrorPacket (/home/container/node_modules/mysql/lib/protocol/sequences/Query.js:79:18)
    at Protocol._parsePacket (/home/container/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home/container/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home/container/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home/container/node_modules/mysql/lib/protocol/Protocol.js:38:16)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:526:10)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    --------------------
    at Pool.query (/home/container/node_modules/mysql/lib/Pool.js:199:23)
    at /home/container/utilities/giveaways/giveaways.js:8:21
    at new Promise (<anonymous>)
    at Giveaways.getAllGiveaways (/home/container/utilities/giveaways/giveaways.js:7:11)
    at Giveaways._init (/home/container/node_modules/discord-giveaways/src/Manager.js:665:39)
    at new GiveawaysManager (/home/container/node_modules/discord-giveaways/src/Manager.js:59:24)
    at new Giveaways (/home/container/utilities/giveaways/giveaways.js:5:20)
    at module.exports (/home/container/utilities/giveaways/giveaways.js:56:18)
    at module.exports (/home/container/utilities/client/util.js:17:61)
    at module.exports (/home/container/bot/index.js:2:37) {
  code: 'ER_NO_SUCH_TABLE',
  errno: 1146,
  sqlMessage: "Table 'sql7639640.giveaways' doesn't exist",
  sqlState: '42S02',
  index: 0,
  sql: 'SELECT `data` FROM `giveaways`'
}
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^
Error: ER_NO_SUCH_TABLE: Table 'sql7639640.giveaways' doesn't exist
    at Query.Sequence._packetToError (/home/container/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
    at Query.ErrorPacket (/home/container/node_modules/mysql/lib/protocol/sequences/Query.js:79:18)
    at Protocol._parsePacket (/home/container/node_modules/mysql/lib/protocol/Protocol.js:291:23)
    at Parser._parsePacket (/home/container/node_modules/mysql/lib/protocol/Parser.js:433:10)
    at Parser.write (/home/container/node_modules/mysql/lib/protocol/Parser.js:43:10)
    at Protocol.write (/home/container/node_modules/mysql/lib/protocol/Protocol.js:38:16)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:88:28)
    at Socket.<anonymous> (/home/container/node_modules/mysql/lib/Connection.js:526:10)
    at Socket.emit (node:events:390:28)
    at addChunk (node:internal/streams/readable:315:12)
    --------------------
    at Pool.query (/home/container/node_modules/mysql/lib/Pool.js:199:23)
    at /home/container/utilities/giveaways/giveaways.js:8:21
    at new Promise (<anonymous>)
    at Giveaways.getAllGiveaways (/home/container/utilities/giveaways/giveaways.js:7:11)
    at Giveaways._init (/home/container/node_modules/discord-giveaways/src/Manager.js:665:39)
    at new GiveawaysManager (/home/container/node_modules/discord-giveaways/src/Manager.js:59:24)
    at new Giveaways (/home/container/utilities/giveaways/giveaways.js:5:20)
    at module.exports (/home/container/utilities/giveaways/giveaways.js:56:18)
    at module.exports (/home/container/utilities/client/util.js:17:61)
    at module.exports (/home/container/bot/index.js:2:37) {
  code: 'ER_NO_SUCH_TABLE',
  errno: 1146,
  sqlMessage: "Table 'sql7639640.giveaways' doesn't exist",
  sqlState: '42S02',
  index: 0,
  sql: 'SELECT `data` FROM `giveaways`'
}

Also recieving this error, I suppose the bot is supposed to make it's own tables?

Yes, it should create its own tables on startup - But as you can see it doesn't, copy the SQL code you see in this file and execute it against the database
https://github.com/IgorKowalczyk/majo.exe/blob/master/utilities/mysql/database.js

Yes, it should create its own tables on startup - But as you can see it doesn't, copy the SQL code you see in this file and execute it against the database
https://github.com/IgorKowalczyk/majo.exe/blob/master/utilities/mysql/database.js

Yes, it should create its own tables on startup - But as you can see it doesn't, copy the SQL code you see in this file and execute it against the database
https://github.com/IgorKowalczyk/majo.exe/blob/master/utilities/mysql/database.js

Thanks for the quick reply, but I am going to be honest, I am not an SQL geek, can you tell me how can I execute this from phpmyadmin?

I assume you already have phpmyadmin installed, select your database in the side panel:

When you select a database at the top you should have a SQL tab:

Click on this and paste the scripts:
CREATE TABLE IF NOT EXISTS `guild_settings` ( `guild_id` BIGINT(64) NOT NULL , `anti_selfbots` INT(1), PRIMARY KEY (`guild_id`));
CREATE TABLE IF NOT EXISTS `guild_stats` ( `guild_id` BIGINT(64) NOT NULL , `joins` JSON NULL, `leaves` JSON NULL, `last_updated` DATE NOT NULL, PRIMARY KEY (`guild_id`));
CREATE TABLE IF NOT EXISTS `users` ( `user_id` varchar(32) NOT NULL , `reputation` bigint(20), `ban` INT(1), PRIMARY KEY(`user_id`))
CREATE TABLE IF NOT EXISTS `giveaways` (`id` INT(1) NOT NULL AUTO_INCREMENT, `message_id` VARCHAR(64) NOT NULL, `data` JSON NOT NULL, PRIMARY KEY (`id`));
CREATE TABLE IF NOT EXISTS `welcome` (`guildid` VARCHAR(32) NOT NULL, `channelid` VARCHAR(32) NOT NULL, UNIQUE(`guildid`));
CREATE TABLE IF NOT EXISTS `leave` (`guildid` VARCHAR(32) NOT NULL, `channelid` VARCHAR(32) NOT NULL, UNIQUE(`guildid`));
CREATE TABLE IF NOT EXISTS `logs` (`guildid` VARCHAR(32) NOT NULL, `channelid` VARCHAR(32) NOT NULL, UNIQUE(`guildid`));

Note: For everything to work correctly your Mysql version should be at least 5.7!


Featured Session cards don't show their background images

Scenario:

Load https://events.google.com/io2016/
Scroll down to "Featured Session" area

Tested on:

Samsung Internet 4.0 (Chromium 44.0.2403.133)
Chrome 43.0.2357.93

Expected behavior:

"Featured Session" cards render with their background images

Actual behavior:

"Featured Session" cards don't show any background images

In the "Elements" tab of the devtools, I found the following style attribute of the card-content div element in "io-home-page.html" is not applied:
style="height:100%; background-image:url([[_computeBgImage(item)]])"

Those versions of chrome are fairly old. Can you confirm this is working on
newer browsers?
On Mon, May 23, 2016, 1:52 AM Jungkee Song<EMAIL_ADDRESS>wrote:

Scenario:

Load https://events.google.com/io2016/
Scroll down to "Featured Session" area

Tested on:

Samsung Internet 4.0 (Chromium 44.0.2403.133)
Chrome 43.0.2357.93

Expected behavior:

"Featured Session" cards render with their background images

Actual behavior:

"Featured Session" cards don't show any background images

In the "Elements" tab of the devtools, I found the following style
attribute of the card-content div element in "io-home-page.html" is not
applied:
style="height:100%; background-image:url([[_computeBgImage(item)]])"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/GoogleChrome/ioweb2016/issues/1008

Fixed via https://github.com/GoogleChrome/ioweb2016/commit/e9a6c4c216949ca6d484cfa08b6e802aa06ae339

Thanks for the quick update!


Add TV channel control

Part of requirement FR1 ↗
User Story: As a user, I want to be able to change the channel on my TV using the device.
Acceptance Criteria:

[ ] TV remote configurations contain channel switching.
[ ] When using a TV remote configuration, the app has buttons for channel switching.
[ ] When using a TV remote configuration, the terminal left/right buttons correspond to previous/next channel buttons.

Deprecated to avoid excessive branching, as this would create a separate branch for adding only channels to the configurations. Acceptance criteria merged into #20 instead.

Moved to the next milestone and removed the last acceptance criterion due to time constraints. Will be implemented together with #20.


Design the battle experience

As a Pokemon Trainer, I want to engage in battles with wild Pokemon, dojo, or other players, so that I can test my Pokemon skills and train my Pokemon by earning EXPs from the battle.
Acceptance Criteria:

[ ] A design doc is created that explain
[ ] The design doc must cover what choices will have for a Trainer when engaging a battle with wild Pokemon or other player(dojo).
[ ] The design doc must cover how Trainer can initiate battles with wild Pokemon. (using specific command)
[ ] The design doc must cover both successful and unsuccessful battle. The wild Pokemon can be captured, defeated or escaped...
[ ] The design doc must cover the machanics of how battles are resolved, including the use of moves, type advantages, and status conditions.
[ ] The design doc must cover


Unable to call w2alert in w2alert callback

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

What is the current behavior?

The script w2alert("one").done(function(){w2alert("two")}) displays the first alert, and clicking the "Ok" button closes the box without loading the second alert. The second alert is very briefly visible inside the first.

What is the expected behavior?

The first alert should appear, and the second should appear after the first is dismissed.

What is the motivation / use case for changing the behavior?

I have two functions. "Function A" does some stuff, then loads an alert to tell the user what to do. "Function B" does some stuff, loads an alert, then calls "Function B".
When "Function A" is called by itself, the alert loads fine. But when "Function A" is called by "Function B", the alert is not loaded.
There are ways of working around this problem, but it seems this is unintended behavior that deserves a bug report.

@vitmalina how should this even behave?
If you call it with a timeout, the second allert is shown immediately above the first alert, not on dismiss.
w2alert("one").done(setTimeout(function(){w2alert("two")}))


Perform R&D with pileupconf data service

Impact of the new feature
WMAgent and management of jobs
Is your feature request related to a problem? Please describe.
Working on https://github.com/dmwm/WMCore/pull/11884 issue we faced large complexity to adjust pileup configuration files located in job's tarball. In order to make any change each individual pilupe configuration file should be extracted, changed and written back to tarball. This procedure can be significantly simplified if we'll have configuration file service.
Describe the solution you'd like
It seems to me it would be worth to explore pileup configuration service which will store pileup configuration files and provides API to change them. Here is I envision it:

</create>/path POST HTTP api to store pileup conf file, where path represents dataset (pileup) path
</delete>/path DELETE HTTP api to delete configuraiton file
</search>/path GET HTTP api to search for configuration file
NOTE: here I used optional </action> end-point (such as /<search>) for demonstration purposes but they are not strictly required if we'll follow HTTP method since each method define the action.

There are different ways to organize backend, e.g.

use key-value store, e.g. Redis. It will only store dataset-pileup-path vs pileup json file pairs
NoSQL database, e.g. MongoDB, if we want to have more comprehensive search over content of pileupconf.hson content
traditional RDBMS, e.g. ORACLE, if we want additional relationship stored in DB backend

But all of these solution can be wrapped into simple HTTP based service which can be installed on CMSWEB and used by different parts, from WMAgent to data-ops queries/requests, to query, update, create, and delete pileup configuration files.
The benefits of such service is many-fold;

Provide common place to store configuration files
Provide common place to query and modify configuration files
Independent service from WMAgent machinery
Easy integration in different worklfows machineries, e.g. data-ops can change configuration on a fly, i.e. before or after workflow is placed into WMA system

Describe alternatives you've considered
Do nothing and keep using sandbox tar ball which currently holds configuration files
Additional context
This is a nice example of pure micro-service architecture where a single piece, i.e. handling configuration files, is delegated to the service. Such service has no connection with other WMCore Micro-services or WMAgent components but will be used by later comprehensively everywhere.

FYI: @amaltaro , @klannon , @todor-ivanov , @khurtado


[Enhancement] Avoid using DeleteRange for delvec GC

What type of PR is this：

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #11405
Problem Summary(Required) ：

Rocksdb range deletes may cause range query to perform badly. Previously, delvec GC is performed by range delete delvecs of a segment of versions [0 to min_readable_version), this PR changes delvec GC logic to scan through all delvecs of a tablet, get all expired delvec keys, then perform a batch delete.  There is already a scan through delvecs before performing range delete, this PR just use the original scan, so it does not introduce any new overhead.
Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test


UI: Color code stores based on how they are being queried

The idea originated from this comment, see for full context https://github.com/thanos-io/thanos/pull/4908#discussion_r771194974
Basically, we could improve the user experience by providing more information on how the stores are being queried, beyond providing just min / max time or just showing that the min / max time is not available, which does not in fact tell users if that store will be queried.

Hi, I would like to work on this issue.

@jaiakash are you still working on this? I can take over if you aren't

No I am not working on it. Yeah you can take over.

hi @richardgreg are you working on this issue?

Hey @Harshitavkb26, I'm unable to commit to the issue at the moment. Feel free to work on it.

ok I will fix this.

Hey @Harshitavkb26, please have a look at this comment - https://github.com/thanos-io/thanos/pull/4908#discussion_r771194974 - this is the initial suggestion, feel free to take whatever approach seems sensible :slightly_smiling_face:

any updates on this one?


tests: subsys: sensing: set CONFIG_EMUL=y

The test is broken in CI because the emulated spi bus is not built in, adding an explicit CONFIG_EMUL=y to the test config.

Thanks for the quick fix. This is still giving me a compiler warning:
$ west build -p -b native_sim tests/subsys/sensing -T subsys.sensing
[...]
In function ‘sensor_later_config’,
    inlined from ‘sensing_runtime_thread’ at zephyr/subsys/sensing/sensor_mgmt.c:230:5:
zephyr/subsys/sensing/sensor_mgmt.h:29:73: warning: array subscript -1 is outside array bounds of ‘struct sensing_sensor[16777215]’ [-Warray-bounds=]
[...]

Maybe something to be fixed outside this PR?

Maybe something to be fixed outside this PR? Let's see if it passes CI.

Yeah I don't see that in https://github.com/zephyrproject-rtos/zephyr/actions/runs/9397269764/job/25880300357 for some reasons, if you have an obvious fix for that we can add it up but if CI passes as is we can handle it separately.

Yeah I don't see that in https://github.com/zephyrproject-rtos/zephyr/actions/runs/9397269764/job/25880300357 for some reasons, if you have an obvious fix for that we can add it up but if CI passes as is we can handle it separately.

Had a quick look, but didn't fully understand the for_each_sensor_reverse macro, yet. Interesting that it passes LLVM build, which is usally quite pedantic ;)

@fabiobaltieri I'd just revert the PR. The build warnings were there already in the PR and I don't think it went  thru proper review


Fix quickstart commands

I noticed an error in the docs.

Blerugh @jurgenwerk I hope u dm. I saw a bunch of errored Markdown formatting -- wrong indents etc. I pushed changes here

I see, thanks.


feat: RPC - starknet_getTransactionByHash

Get the details and status of a submitted transaction

@abdelhamidbakhta I can try to take this one to dive into how madara runtime works. 👍

@abdelhamidbakhta I can try to take this one to dive into how madara runtime works. 👍

Sure thing, assigned to you.

Quick question, as I am going through my PR for this issue, I was wondering what is the most efficient way to retrieve transaction by hash.
At the moment, we store the blocks with all their transactions. Does it mean I have no choice of iterating on all blocks using getBlockWithTxHashes to find the transaction the user asked for?
Do you think it is worthy to spend some time on finding an efficient way to keep somehow an index of transactions? Or did I miss it?
Thanks a lot for the feedbacks.
(For now I am doing a very naïve implementation).

Also to confirm, for now I can return a Transaction, but once the storage is implemented for TransactionReceipWrapper this should be the returned object, right?

@abdelhamidbakhta merged in #323. :+1:


Is it possible to connect joystick to analog pin ( to measure resistance of pot)

Another 4 analog pins from the ESP32S3? That probably would be difficult. But you could totally use external ADCs such as ADS1015 over I2C.
I am actually trying to build a PCB for this thing, here (https://github.com/JunOllyLi/TX_PCB) is the initial draft, not tested yet. But you can see how I used ADS1015 to read the POTs (not the sticks though)
And of course you will need to write the SW for it. I have no intention to use the old analog sticks on FS6 😄

Yes, I am also interested in making PCBs. I am interested in 3D printing a joystick. Currently, I am using a 10k potentiometer to read gimbal movement. Is there any affordable Hall effect sensor available ?(that should compatibleto this project)

Yes, I am also interested in making PCBs. I am interested in 3D printing a joystick. Currently, I am using a 10k potentiometer to read gimbal movement. Is there any affordable Hall effect sensor available ?(that should compatibleto this project)

My code is built around the FlySky Hall Gimbal, which costs around $100. 😄

I am also interested in 3D printing a case based on your PCB design 😀

Why didn't you mechanical guys come earlier. 😿 My PCB was built exactly the same size and shape and with the same holes so it fits into the FlySky FS6 case.

Okay 😀

ADS1115 (16bit) adc is compatible? I2c have any latency?? Simultaneously display and adc work with i2c?? Or do you have any other solution for gimbal joystick??

ADS1115 (16bit) adc is compatible? I2c have any latency?? Simultaneously display and adc work with i2c?? Or do you have any other solution for gimbal joystick??

It should be good enough for measuring human movement to control something that already had so many mechanical stuff in between, like the servo. From this point of view, I personally think 16-bit is an overkill, human fingers would never be that precisely moved so that the 1/4096 of the stick range or 1/65536 of the stick range makes any difference. 😄
And theoretical numbers of I2C definitely can meet the needs. In real world, when you have multiple devices sharing the same I2C, SW does affect the result. But again, whether reading it every 1ms or 50ms would not really matter to human finger movement.
As of display and adc work, ESP32 has more than one core. I tried to separate the UI task and the mixing logic into different cores. So I do not think that would be a problem.

Thank you for information

Okay

I do order for adc. I would like to know how 4 hall sensor communication through uart? Does it have separate mcu in your hardware?

I do order for adc. I would like to know how 4 hall sensor communication through uart? Does it have separate mcu in your hardware?

Yes, there is some builtin controller in the hall gimbal to encode all 4 channels into one data stream over UART

Okay

LCD Type: TFT
LCD Interface: SPI
LCD Controller: ILI9486
Touch Screen Type: Resistive
Touch Screen Controller: XPT2046
Colors: RGB, 65K colors
Resolution: 480x320 (Pixel)
Aspect Ratio: 8:5
I/O Voltage: 3.3V/5V
is this module work fine with edge tx?

LCD Type: TFT LCD Interface: SPI LCD Controller: ILI9486 Touch Screen Type: Resistive Touch Screen Controller: XPT2046 Colors: RGB, 65K colors Resolution: 480x320 (Pixel) Aspect Ratio: 8:5 I/O Voltage: 3.3V/5V
is this module work fine with edge tx?

I should work. But I personally would choose the 8bit MCU bus over SPI (your LCD module does have the 8bit bus), unless you want to save some pins for other use.

I have an MCU for the Edgetx, an MCU for joystick, and an MCU for ELRS. Do you have any methods to reduce the number of MCUs?

In my locality, the Arduino Nano and ADS1115 are priced almost the same. Which one should I choose for this joystick? I plan to design a 3D-printed joystick with a Hall sensor. Do you have any suggestions?

I have an MCU for the Edgetx, an MCU for joystick, and an MCU for ELRS. Do you have any methods to reduce the number of MCUs?

Are you going to do ELRS by yourself instead of an existing module? If is a module, then the number of MCU does not really matter since others would have already written FW for it.
On the other hand, I think the ESP32 for the edgetx still have extra computing power can be used, so really depend on your design. For example, like the question you asked me in the other thread, technically both would work if you use ADS to read the joystick and the main ESP32 to process the data directly, or having an Arduino to process the data before passing to ESP32.

Thank you for your immediate response

example

Yes, I want to build a DIY ELRS TX using the RA02 or RFM95W module. You have already connected 2 potentiometers. Is it possible to add 4 potentiometers to the ESP32 as a joystick ?

I have modified my 3D printer with a plotter attachment (CD writer/permanent marker) to draw PCBs on copper clad. Then I go through etching. I am limited to a minimum track width of 2.8mm (arduino328 smd leg size), but I can test new PCB prototypes in less time.😃

In my locality, the Arduino Nano and ADS1115 are priced almost the same. Which one should I choose for this joystick? I plan to design a 3D-printed joystick with a Hall sensor. Do you have any suggestions?

Sorry I have not used Arduino Nano. It should work. But I think I would make decision based on the following:

How good is the ADC of the Arduino Nano comparing to ADS1115. ADC needs some more concern about not just the spec, also about how the circuit is designed and wired, since there is analog part and the noise on the wires cannot be ignored.
do you want to write your own FW for the Nano or not.
Size difference. I know it is Nano but still looks a lot bigger than the ADS1115 module you could get, or even bigger difference if you create your own PCB

The Arduino Nano has a 10-bit ADC. In my previous project, I used the ATmega328P SMD instead of the Nano board. Although it is smaller in size, the ADS1115 has a better ADC than the Arduino.

As I mentioned earlier, 10bit/12bit/16bit probably would not make any difference regarding measuring finger movements. I am more concern about the analog circuit design, the noise on the analog signals may make a lot bigger problem than the data  bits

I have modified my 3D printer with a plotter attachment (CD writer/permanent marker) to draw PCBs on copper clad. Then I go through etching. I am limited to a minimum track width of 2.8mm (arduino328 smd leg size), but I can test new PCB prototypes in less time.😃

Cool! But how are you going to connect the vias between each layers?

I have modified my 3D printer with a plotter attachment (CD writer/permanent marker) to draw PCBs on copper clad. Then I go through etching. I am limited to a minimum track width of 2.8mm (arduino328 smd leg size), but I can test new PCB prototypes in less time.😃

Cool! But how are you going to connect the vias between each layers?

Good question.  That part is a limitation for me

Most of the time, I try to design circuits as simply as possible, preferably on a single-sided board.
Soldering Teflon wire to join double sided pcb or jumper to 1 sided  pcb
Using through-hole vias (requires punching one side with a hammer)

I have modified my 3D printer with a plotter attachment (CD writer/permanent marker) to draw PCBs on copper clad. Then I go through etching. I am limited to a minimum track width of 2.8mm (arduino328 smd leg size), but I can test new PCB prototypes in less time.😃

Cool! But how are you going to connect the vias between each layers?

Good question. That part is a limitation for me

Most of the time, I try to design circuits as simply as possible, preferably on a single-sided board.
Soldering Teflon wire to join double sided pcb or jumper to 1 sided  pcb
Using through-hole vias (requires punching one side with a hammer)

But the PCB I designed is 4 layer board, the via need to connect to middle layer as well...

I have modified my 3D printer with a plotter attachment (CD writer/permanent marker) to draw PCBs on copper clad. Then I go through etching. I am limited to a minimum track width of 2.8mm (arduino328 smd leg size), but I can test new PCB prototypes in less time.😃

Cool! But how are you going to connect the vias between each layers?

Good question. That part is a limitation for me

Most of the time, I try to design circuits as simply as possible, preferably on a single-sided board.
Soldering Teflon wire to join double sided pcb or jumper to 1 sided  pcb
Using through-hole vias (requires punching one side with a hammer)

But the PCB I designed is 4 layer board, the via need to connect to middle layer as well...

If I am ready to design once again. Is it possible to  reduce the layers?
Otherwise I have to order in online website

currently I am using easyeda instead of kicad

I have modified my 3D printer with a plotter attachment (CD writer/permanent marker) to draw PCBs on copper clad. Then I go through etching. I am limited to a minimum track width of 2.8mm (arduino328 smd leg size), but I can test new PCB prototypes in less time.😃

Cool! But how are you going to connect the vias between each layers?

Good question. That part is a limitation for me

Most of the time, I try to design circuits as simply as possible, preferably on a single-sided board.
Soldering Teflon wire to join double sided pcb or jumper to 1 sided  pcb
Using through-hole vias (requires punching one side with a hammer)

But the PCB I designed is 4 layer board, the via need to connect to middle layer as well...

If I am ready to design once again. Is it possible to reduce the layers?
Otherwise I have to order in online website

Well, sure you can. The worse case is that you make the board a little bit bigger than mine. I chose the size to fit into the FS6 case and you do not have that problem. And other than the USB signals, most of the signal is not very high frequency to deal with.

Thank you. schematic available?

I want to try AS5600 hall sensor for joystick gimbal. It has analog and pwm output , is it possible to connect through pwm? Or i2c
Well, I don't know the details of this sensor, but as long as the SW matches it, either pwm or i2c can work. ESP32 is very flexible about pin assignment, you can basically use the same pin for almost any peripheral controller.
I stick to FlySky hall gimbal because it a drop in replacement for the FlySky TX case I have.


February 2020 Endgame

February 24 Code freeze for the endgame
February 28 Endgame done
March 4 Expected release date (this may change)

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame.

Monday

[x] Run OSS tool endgame master
[x] Code freeze at 5pm PT
[x] Ensure we have a green build on all platforms at 5pm PT
[x] Create test plan items following the template here by 5pm PT
[x] Add verification-needed label to features needed testing and are not tested by TPIs.
[x] Update your availability for testing here - https://vscode-tools.azurewebsites.net/
[x] Create Test plan item for smoke testing (OS & browser coverage!) endgame master https://github.com/microsoft/vscode/issues/91337
[x] Review the extensionKind list in product.json both for stable and insiders, see this tracking issue.

Tuesday

[x] Test plan items assigned (using https://vscode-tools.azurewebsites.net/)

Run the tool multiple times to balance load if test items come in later and assignments are already made
Assigned to you

[x] 🔖All closed feature-requests either have a verification-needed or on-testplan label
[x] Test build starts at 7am CET
[x] Test plan ready by 8am CET
[x] 🔖Testing
[x] 🔖Verification needed

Wednesday

[x] 🔖Testing
[x] Remind team members to assign issues that they intend to fix to the current milestone
[x] Fixing (self-assigned, milestone assigned)
[x] 🔖Verification needed
[x] Prepare for Smoke test: Make sure all smoke test issues are labelled smoke-test and fixed endgame master

Thursday

[x] Fixing (scrutiny sets in - major bugs only - to be discussed in stand-up meeting, labeled as candidate)
[x] 🔖Verification needed
[x] 🔖Verification
[x] Prepare for Smoke test: Make sure all smoke test issues are labelled smoke-test and fixed endgame master

Friday

[x] Pause scheduled insider builds endgame master
Satellite modules/npm packages ready, version updated, smoke tested

[x] vscode @bpasero
[x] yo generator @aeschli
[x] vsce @joaomoreno
[x] node debug @weinand
[x] node debug2 @roblourens
[x] node debugadapter node @weinand
[x] js-debug @connor4312

[ ] All issues 🔖verified
[ ] Fixing (only critical bugs - no string changes)
Smoketest (⚠ MUST run with --stable-build argument ⚠ )

[x] Windows - @dbaeumer
[x] OS X - @sandy081
[x] Linux - @aeschli
[x] Web (Chromium) - @alexr00

[ ] All release notes updated

release notes are collected in a file named Month_Year.md in this repo directory
[x] @aeschli
[ ] @alexdima
[x] @alexr00
[x] @bpasero
[ ] @chrmarti
[x] @connor4312
[x] @dbaeumer
[ ] @deepak1556
[ ] @eamodio
[x] @egamma
[x] @isidorn
[ ] @JacksonKearl
[x] @joaomoreno
[x] @jrieken
[ ] @kieferrm
[ ] @mjbvz
[ ] @octref
[ ] @rebornix
[ ] @rmacfarlane
[ ] @roblourens
[x] @sandy081
[ ] @sbatten
[x] @tyriar
[x] @weinand

[ ] Acknowledge pull requests in release notes. We acknowledge PRs from outside the team. Use the thankyou tool to generate the initial contents of the section. owner

[x] vscode endgame master
[x] vscode-node-debug @weinand
[x] vscode-node-debug2 @roblourens
[x] vscode-debugadapter-node @weinand
[x] vscode-js-debug @connor4312
[x] vscode-languageserver-node @dbaeumer
[x] language-server-protocol @dbaeumer
[ ] vscode-textmate @alexdima
[ ] vscode-loader @alexdima
[x] vscode-generator-code @aeschli
[x] vscode-vsce @joaomoreno
[x] vscode-docs @gregvanl
[x] vscode-css-languageservice @aeschli
[x] vscode-json-languageservice @aeschli
[x] vscode-html-languageservice @aeschli
[x] jsonc-parser @aeschli
[x] vscode-eslint @dbaeumer
[ ] vscode-jshint @rmacfarlane
[ ] vscode-recipes @chrisdias
[ ] localization @weeteckt
[ ] vscode-github-issues-prs @chrmarti
[x] inno-updater @joaomoreno

[x] Review pull requests acknowledgements with NOT MERGED - PLS REVIEW. endgame master
[ ] Acknowledge issue trackers from the community @chrmarti
[x] Add notable fixes to the release notes all
When done fixing/verifying and there are changes since last build at the end of day PT

[ ] Trigger new insider build and publish it manually endgame master

Friday/Monday

[x] Branch code to `release/<x.y> endgame master
[x] Bump up the version in package.json - endgame master
[x] Announce master is open for business endgame master
[ ] Polish release notes redmond

Monday - Wednesday

[ ] 🔖milestone issues
[ ] 🔖candidate issues
[ ] Polish release notes redmond
[ ] Cherry-pick hand-picked and reviewed changes to release/<x.y> endgame master
[ ] Build Insider from release/<x.y> endgame master
[ ] Manually release Insider endgame master
[ ] Build stable for all platforms as new candidate issues come in endgame master
[ ] Documentation updated

[ ] @aeschli
[ ] @alexdima
[ ] @alexr00
[x] @bpasero
[ ] @chrmarti
[x] @connor4312
[ ] @dbaeumer
[ ] @deepak1556
[ ] @eamodio
[x] @egamma
[ ] @isidorn
[ ] @JacksonKearl
[x] @joaomoreno
[ ] @jrieken
[ ] @kieferrm
[ ] @mjbvz
[ ] @octref
[ ] @rebornix
[ ] @rmacfarlane
[ ] @roblourens
[x] @sandy081
[ ] @sbatten
[ ] @tyriar
[ ] @weinand

[ ] Run scripts/test-documentation.sh|bat and add file or fix issues if there are new colors that are not documented.

Note: The Insiders build needs to be in the wild for 24 hours before we can enter the last phase of the endgame. endgame master

Wednesday/Thursday

[ ] Build stable for all platforms endgame master
[ ] Sanity check of installable bits

[ ] Windows 32 bit owner

[ ] signed installer 32-bit
[ ] signed user installer 32-bit
[ ] zip 32-bit

[ ] Windows 64 bit owner

[ ] signed installer 64-bit
[ ] signed user installer 64-bit
[ ] zip 64-bit

[ ] OS X - owner
[ ] Linux

[ ] deb package 64-bit owner
[ ] rpm package 64-bit owner
[ ] archives owner
[ ] snap owner

[ ] Server (instructions) owner

[ ] Publish website @gregvanl
[ ] Publish Localization language pack @weeteckt
[ ] Publish to stable endgame master
[ ] Add a git tag to HEAD of release/<x.y> in format x.y.z (for vscode.d.ts download)  endgame master
[ ] Publish @types/vscode endgame master
[ ] Enable scheduled insider builds endgame master
[ ] Twitter announcement @chrisdias

swapping with @chrmarti for buddy role.

is setting sync going to be released as part of this release?

Is the OSS build tool link private?

@sanket-bhalerao I don't think so, it's still disabled in Insider builds...but it's mentioned in the changelog.

@Stanzilla, i saw that, raised a bug for this.
#91875 - closed without a proper explanation, why its in release notes if its not released.
so created another #91882

@sanket-bhalerao I guess the release notes in Insiders aren't formally released yet, so are subject to change.

@sanket-bhalerao I guess the release notes in Insiders aren't formally released yet, so are subject to change.

Seeing it another way, when 1.43 releases (probably later this week) its release notes will tell 1.43 users that they can get a preview of Settings Sync in the Insiders release, which by then will be 1.44.0-insider.

@sanket-bhalerao We are preparing release notes for next major release (1.44.0) and we are making Settings Sync ready for preview from next insiders (1.44.0-insiders). I was completely forgotten that current insiders picks up this release notes. I will update the release notes and mention from which insiders it will be available from.
Sorry for the confusion.

@sanket-bhalerao We are preparing release notes for next major release (1.44.0) and we are making

Typo there. The next major release @sandy081 is referring to is 1.43.0

@sandy081 thanks for the update,
@gjsjohnmurray thanks for the clarification.

@gjsjohnmurray Thanks for the correction. Updated my comment.

release notes are collected in a file named Month_Year.md

Your endgame template still quite outdated (:

@gudvinr updated the issue and template 👍

Is it possible to use the last day as "expected release date", because It's usually published later:

March 4 Expected release date (this may change)

Wednesday/Thursday

[ ]  Build stable for all platforms endgame master
[ ] ...

Wednesday - March 4
Thursday - March 5
- March 4 Expected release date (this may change)
+ March 5 Expected release date (this may change)

Also using a link to the release notes document instead of repository:
- https://github.com/Microsoft/vscode-docs/tree/vnext/release-notes
+ https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_43.md

https://github.com/microsoft/vscode-docs/blob/vnext/release-notes/v1_43.md

What is the hold up here?

Released this yesterday.
@nicholasengleman sometimes things get delayed due to bugs we find late or issues we hit during release.
@usernamehw added the expected release day note, I'm not changing the link to the release notes md though as that would require yet another thing for the endgame master to do every month.


Convert optional arguments to GMS2.3.3 syntax

Should only be attempted for v4.x; hopefully by that time GMS2.3.3 is more stable.

Waaaait a second, we're already on GMS2.3.3. No point in holding back!

Implemented https://github.com/JujuAdams/Input/commit/adb1f98a7eb792c5e51335c4f8fe435e6d470217


[tcgc] add doc and summary to tcgc types

resolve: https://github.com/Azure/typespec-azure/issues/1235

All changed packages have been documented.

:white_check_mark: @azure-tools/typespec-client-generator-core

Show changes
@azure-tools/typespec-client-generator-core - feature ✏

add doc and summary to tcgc types

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


How did you design questions and answers in the LongQA dataset?

Dear authors,
Thank you for the outstanding work. I noticed that the questions you design in the LongQA dataset are all different, how do you generate specific questions for different materials? Is it generated by asking questions manually or by other means?
Thank you for your assistance.

Hi,
Many thanks for your question. There some different types. For papers, we design questions like summarization, review, the answers of them could be found in OpenReview. For books, there are some discussion on reddit or quora. For those we can not find questions, we design them by ourself. For those we can not find answers, we ask Claude API for help.


Add github action to run flake8

🛠 Changes

Add github flow to flake8 check
Add github page link in README

📝 Associated issues
#6
🤔 Considerations

I see everything ok now, but there is a warning in the workflow execution Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. ... could you check if there is a newer version of that action?

Yes, there is v5. Solved.


Support for different transfer size

Hi,
I have experimented with your code a little. I find it nice to read and learn from. For my purpose I need a larger transfer size (16 bits) perhaps that support for common transfer size (8,16,24,32) can be added?

Hi, I plan to add support for different transaction sizes in the next version (perhaps this month) as VHDL generic.

Nice


Routing error on collections view

When I'm at https://deploy-preview-1212--koda-nuxt.netlify.app/rmrk/collections and I click on picture I end up on / route
https://user-images.githubusercontent.com/5887929/142725990-7fffd0ca-3f73-4a66-b049-af3bcb2ee846.mov

Still happening on the current beta.kodadot.xyz during writing this

Closed in #1255 & #1471


New release?

Any chance I can convince you to do a new point release that includes the change on HEAD to upgrade maturin? (I'm trying to import this in a build system that knows about PEP 621 and the updated pyproject.toml would help it automatically figure out dependencies.) Thanks!

Hi @geofft, PyXIRR has no dependencies. Do you have any issues with the other package metadata? If so, which ones? Which version of maturin is suitable for your needs?

Updated maturin to the latest version avalible (v0.14.13)


Why give Windows instructions in a Linux\Mac section?

https://docs.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc?view=vsts&tabs=new-nav#linux-or-mac
"Create a token that lasts longer than 90 days" > Point 2.
Why give Windows instructions in a Linux\Mac section? Please replace with something relevant.
For example: base64 <<< "YOUR_PAT_GOES_HERE" for Mac

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

ID: cb7c2ab6-4ba1-51d5-96bb-38a9ab6b50c3
Version Independent ID: 415de875-ba1b-476b-f08b-1a61dc7a2747
Content: Set up your client's npmrc
Content Source: docs/artifacts/npm/npmrc.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Fixing this by adding both instructions, thanks! :)


Validation fixes

Fixes for validation versions forms
Can't add duplicate test parameter files
Added new test parameter format to add tags (missed this during my last hotfix change)
ga4gh/dockstore#767
ga4gh/dockstore#683

Codecov Report

:exclamation: No coverage uploaded for pull request base (hotfix/2.0.2@30e1360). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             hotfix/2.0.2     #150   +/-   ##
===============================================
  Coverage                ?   65.17%
===============================================
  Files                   ?       99
  Lines                   ?     2656
  Branches                ?      330
===============================================
  Hits                    ?     1731
  Misses                  ?      741
  Partials                ?      184

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 30e1360...f80e3c3. Read the comment docs.

Note to self: update from https://github.com/dockstore/dockstore-ui2/pull/149


incorrect paths in webhook validation failures

Found a bug in Build's webhook:
2018/11/30 19:33:05 Unexpected error: Internal error occurred: admission webhook "webhook.build.knative.dev" denied the request: mutation failed: missing field(s): spec.b.spec.template
missing field(s): spec.b.spec.steps

that field path is clearly wrong
I see those coming from here:
https://github.com/knative/build/blob/92d2bf3eee363ee915cbe1c2d65b2d8526314afc/pkg/apis/build/v1alpha1/build_validation.go#L37

/kind good-first-issue

Since the validation for bs.Template and bs.Steps is being taken care of later in the Validate() function, is this conditional block if bs.Template != nil && len(bs.Steps) > 0 { 		return apis.ErrMissingField("b.spec.template").Also(apis.ErrMissingField("b.spec.steps")) 	} necessary?

I realize that the error stems from the ErrMissingField being raised even though the fields are clearly not missing

/assign

I would like to work on this issue

@prithviramesh considered it assign to you :wink: don't worry about @knative-prow-robot :stuck_out_tongue_closed_eyes:


support *.herolist_c as decompileable

Is your feature request related to a problem? Please describe.
as example, in dota2 - pak01_dir.vpk/scripts/heroes.herolist_c
VRF can read this file, but can't decompile&export.
[ExportFile] Export for "heroes.herolist_c" has no suitable extension
P.S. also with *.dat files
as example, in dota2 - pak01_dir.vpk/resource/subtitles/subtitles_abaddon_english.dat
VRF can read this file, but when press decompile&export will get original file
Describe the solution you'd like
No response
Describe alternatives you've considered
No response

Viewer should offer resource data block export no matter what. In this case DATA is text, but the resource is not registered in vrf. Mildly related to #541
With .dat files, I don't know what is a good export type.

Export .dat files as JSON?

[
   {
      "Hash":3952443579,
      "HashText":2929807745,
      "Blocknum":0,
      "Offset":0,
      "Length":8,
      "Text":"Map"
   },
   {
      "Hash":1591094946,
      "HashText":1063679044,
      "Blocknum":0,
      "Offset":8,
      "Length":18,
      "Text":"MOVEMENT"
   }
]


Move towards consistent commenting/docstring style

Description
Convert ActivationCache and HookedTransformer docstrings/comments to the consistent Google Python Style Guide.
Note the only changes made are:

Make sure docstrings have titles (and they end in a full stop).
Put all args under "Args:" (some were missing this section title so they didn't show on the Sphinx docs)
Some very minor spelling mistakes/moving titles to the imperative tense.
Use rewrap to make all the comments the same length (100, as per Pylint config in the project)

There are still other things missing (e.g. sometimes args are not documented) but it's a good start.
Type of change
Please delete options that are not relevant.

[x] This change requires a documentation update

Usual checklist didn't seem to make sense (as it's only changing comments/docstrings), but I've manually gone through and also made sure all wording changes are minor (so it's just formatting).

Seems good! Surely there's a linter or something that might help with this stuff? We could make it default in the dev container?

Yeah pylint will flag stuff like this - but I don't think we can make it mandatory yet as it'll cause headaches for ongoing PRs (as quite a lot of the codebase has squiggly lines :) ). At least re-wrap did most of the hard work for now.
I've just re-checked and will merge now, as leaving a big PR around like this will create merge conflicts otherwise.


add docs for autocompletions and forc init template

Question, @adlerjohn do we want to embed the autocompletions gif at the end of that section? Or would we prefer to keep the sway book text only?

do we want to embed the autocompletions gif at the end of that section? Or would we prefer to keep the sway book text only?

Up to you. I think images are fine so long as it's not overdone.

I've created a new media folder inside of docs as a place where we can store things like images and gifs for the sway book. If anyone has any objections to this or another suggestion for where we should host media files, feel free to chime in.

Media is fine. Does it actually get compiled properly with mdbook?

Good call, just built the book locally and it doesn't seem to copy the file into the book when it's built. Seems like it only works if the gif link is a URL.

We probably shouldn't rely on a remote source for images IMO. If we can't include it locally then better to not include it at all.

Yep, fair enough. I'll remove it.


Error when creating folder with datacenter id

Describe what happened
When attempting to create a folder Pulumi returns attached error message. I can work with the datacenter variable freely through other functions and Pulumi cloud stack displays datacenterId in outputs.
Sample program
import pulumi
import pulumi_vsphere as vsphere
import pprint as pprint

datacenter = vsphere.get_datacenter(name="VSPHERE")
my_folder = vsphere.Folder("my folder", path="my-path/my-folder", type="vm", datacenter_id=datacenter.id)
pulumi.export("folder", my_folder)

Log output
    * creating urn:pulumi:<>::vmware::vsphere:index/folder:Folder::my-folder: 1 error occurred:
    * cannot find datacenter from path "/VSPHERE": NoPermission

Affected Resource(s)
No response
Output of pulumi about
CLI
Version      3.121.0
Go Version   go1.22.4
Go Compiler  gc

Plugins
KIND      NAME     VERSION
language  python   unknown
resource  vsphere  4.10.1

Host
OS       Microsoft Windows 11 Pro
Version  10.0.22631 Build 22631
Arch     x86_64

This project is written in python: executable='C:\mypath\venv\Scripts\python.exe' version='3.11.0'

Current Stack: <>

TYPE                                         URN
pulumi:pulumi:Stack                          urn:pulumi:NewStack::vmware::pulumi:pulumi:Stack::<>
pulumi:providers:vsphere                     urn:pulumi:NewStack::vmware::pulumi:providers:vsphere::default_4_10_1
vsphere:index/folder:Folder                  urn:pulumi:NewStack::vmware::vsphere:index/folder:Folder::my-folder

Found no pending operations associated with NewStack

Backend
Name           <>
URL            <>
User           <>
Organizations  <>
Token type     personal

Dependencies:
NAME            VERSION
pip             24.1
pulumi_vsphere  4.10.1
setuptools      70.1.1
wheel           0.43.0

Pulumi locates its logs in C:\mypath\AppData\Local\Temp by default

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @mzakutny0 Thanks for reporting this issue. I'll take a look at diagnosing the issue later today.

Hi @mzakutny0, it is possible that this issue is related to upstream https://github.com/hashicorp/terraform-provider-vsphere/issues/854 or https://github.com/hashicorp/terraform-provider-vsphere/issues/132.
Unfortunately, we are currently blocked on #540 to assist further.

Hello, I am a colleague of @mzakutny0.
I don't know if issues mentioned above are related. The issue https://github.com/hashicorp/terraform-provider-vsphere/issues/132 was solved in 2017, so it should not be an issue anymore. I think it is more related to https://github.com/hashicorp/terraform-provider-vsphere/issues/803 than to https://github.com/hashicorp/terraform-provider-vsphere/issues/854.
WORKAROUND
We already solved the issue by assigning a role System.Read as was mentioned in issue 854.
We no longer receive No permission error when calling govc datacenter.info, so we can consider it as a workaround.
@guineveresaenger Is it possible to see the generated Terraform file after we call pulumi up or pulumi destroy? Do you use Terraform or OpenTofu? How can I find what version of Terraform provider is used by the version of Pulumi I run?
Thank you.

Hi @xzizka, I'm glad you found a workardound.
To answer your other questions:
pulumi-vsphere uses terraform-provider-vsphere v2.8.2. It doesn't invoke the terraform CLI or generate any HCL. You can see the version of the upstream provider used by looking at the version of the upstream submodule checked into the repo.


Deployment of Lambda function that processes a DynamoDb stream

We want to add a lambda function that processes a dynamodb stream in our amplify app.
We are able to achieve it by adding the following policy to lambdaexecutionpolicy in the function's cloudformation template
{
    "Effect": "Allow",
	"Action": [
		"dynamodb:GetRecords",
		"dynamodb:GetShardIterator",
		"dynamodb:DescribeStream",
		"dynamodb:ListStreams"
	],
	"Resource": [
		"arn:aws:dynamodb:<region>:<accountnum>:table/<tablename>/stream/<timestamp>"
	]
}

and by adding following EventSourceMapping to the function's cloudformation template.
"ATableTrigger": {
	"Type": "AWS::Lambda::EventSourceMapping",
	"DependsOn": [
		"LambdaExecutionRole",
		"lambdaexecutionpolicy"
	],
	"Properties": {
		"BatchSize": 10,
		"Enabled": true,
		"EventSourceArn": "arn:aws:dynamodb:<region>:<accountnum>:table/<tablename>/stream/<timestamp>",
		"FunctionName": {
			"Fn::GetAtt": [
				"LambdaFunction",
				"Arn"
			]
		},
		"StartingPosition": "LATEST"
	}
}

The issue is we have to hard-code the arn of the stream inside this cloudformation template.
Is there any way to obtain this stream arn from cloudformation stack or supplying to amplify push via some sort of environment settings?

like you do GetAtt for the function you could do it for the Table, no?
"Fn::GetAtt": [
    "TableName",
    "Arn"
]

@blairtaylor Is this table managed or created by the Amplify CLI?

Created via the Amplify CLI.

The solution suggested by @onhate works. We'll close the issue. Thanks.


wiggle: add initial support for shared memory

This change is the first in a series of changes to support shared memory in Wiggle. Since Wiggle was written under the assumption of single-threaded guest-side access, this change introduces a shared field to guest memories in order to flag when this assumption will not be the case. This change always sets shared to false; once a few more pieces are in place, shared will be set dynamically when a shared memory is detected, e.g., in a change like #5054.
Using the shared field, we can now decide to load Wiggle values differently under the new assumptions. This change  makes the guest T::read and T::write calls into Relaxed atomic loads and stores in order to maintain WebAssembly's expected memory consistency guarantees. We choose Rust's Relaxed here to match the Unordered memory consistency described in the memory model section of the ECMA spec.
Since 128-bit scalar types do not have Atomic* equivalents, we remove their T::read and T::write implementations here. They are unused by any WASI implementations in the project.

cc: @pchickey


Can't upload sourcemaps when using codepush

The command from here: https://docs.bugsnag.com/platforms/react-native/showing-full-stacktraces/#how-should-i-upload-source-maps-if-i-39-m-using-codepush
$ bugsnag-sourcemaps upload \
     --api-key <PROJECT API KEY> \
     --code-bundle-id 1.0-123 \
     --source-map <path to source map> \
     --minified-file <path to bundle> \
     --upload-sources \
     --add-wildcard-prefix

Does not do anything. No errors and no success messages. In Settings >Projects > Uploaded source maps - I don't see that sourcemaps are uploaded. I managed to upload sourcemaps with this command:
bugsnag-sourcemaps upload --api-key XXXX --app-version 2.7 --code-bundle-id 2.7 --minified-url main.jsbundle --source-map ./dist/codepush/main.jsbundle.map --minified-file ./dist/codepush/main.jsbundle --upload-sources --add-wildcard-prefix
In Settings >Projects > Uploaded source maps I can see that sourcemaps are uploaded but the APP VERSION is not applied "-" thus stacktraces are not readable.
What am I doing wrong?

Hi @grundmanise, I have been able to replicate this issue. Please, would you be able to try again with the latest release candidate, and let me know how it goes?
$ npm install -g<EMAIL_ADDRESS>
Cheers!

@jmshal Thanks for support, but still no luck..  I get:  Bad Request (400) - missing required param: minifiedUrl when I use the command from the docs, if I include --minified-url I can upload sourcemaps, but the stacktrace is still obfuscated. Also when adding --app-version it is not applied.

From my understanding, errors that contain a codeBundleId only take into account only the codeBundleId and not the appVersion.
If you manually try and send both appVersion and codeBundleId to the sourcemaps endpoint Bugsnag responds with the following error: only one of 'appVersion' and 'codeBundleId' can be provided. I believe you need to call bugsnag-sourcemaps twice, one for standard bundles and another for CodePush.
Can you also confirm that you're using the --add-wildcard-prefix flag when uploading your CodePush bundle? More info can be found here https://docs.bugsnag.com/platforms/react-native/showing-full-stacktraces/#how-should-i-upload-source-maps-if-i-39-m-using-codepush.
I hope that helps.

@grundmanise I'm taking a shot in the dark here somewhat, but does it work if you set --minified-url as */main.jsbundle? If so, it might mean that we need to add a tweak to the --add-wildcard-prefix behaviour.

@kattrali Thank you very much! Your solution works!
bugsnag-sourcemaps upload --api-key XXXX --code-bundle-id 2.7 --minified-url */main.jsbundle --source-map ./dist/codepush/main.jsbundle.map --minified-file ./dist/codepush/main.jsbundle --upload-sources --strip-project-root  --overwrite


Failed to redeem RAV

I encountered a situation where allocations have been redeemed on-chain but in the database the 'final' column is still false. As a result, the agent attempts to redeem that allocation again and encounters the error 'Failed to redeem query fee voucher.' After checking the code, I realized a few points:

https://github.com/graphprotocol/indexer/blob/ade405e07dd46e30dc4e7807417974133b87f2b0/packages/indexer-common/src/allocations/query-fees.ts#L603 This code aims to find items that exist on-chain and also in the database but have 'final' = false. I think the correct approach should be ravsLastNotFinal.find , if you use !ravsLastNotFinal.find  it means that it exists on-chain but does not exist in the database, which I have never encountered. If such a case were to occur, the method markRavAsRedeemed would only be updating the item, if it doesn't exist in the database, how can it update?

I debugged and found the following data:

rav.senderAddress = 0xDDE4cfFd3D9052A9cb618fC05a1Cd02be1f2F467
rav.allocationId = 0xC0ccccc865cEd16F3E56640E5798A9648233AE92
tx.sender.id = 0xdde4cffd3d9052a9cb618fc05a1cd02be1f2f467
tx.allocationID = 0xc0ccccc865ced16f3e56640e5798a9648233ae92

https://github.com/graphprotocol/indexer/blob/ade405e07dd46e30dc4e7807417974133b87f2b0/packages/indexer-common/src/allocations/query-fees.ts#L605
In the code, you are not using toLowerCase(), so clearly, this case will not be updated as redeemed even though there is a transaction on-chain.

https://github.com/graphprotocol/indexer/blob/ade405e07dd46e30dc4e7807417974133b87f2b0/packages/indexer-common/src/allocations/query-fees.ts#L1124 The method  markRavAsRedeemed has a logic error when redeemed_at is a timestamp, while you are using a number."

Hello @suntzu93, given your case I think that the most probable errors was because #1011, since you redeemed multiple allocations (possible more than 100) in less than 1 hour.
I'm closing this issue in favor of the other one.


Model local scope recieves different amount of parameters

Laravel Version: 5.7
PHP Version: 7.1
Database Driver & Version: MySQL

Description:
Model specific scope sometimes receives 2 instead of 1 parameter.
This makes it almost impossible to pass and unpredictable to pass in random parameters,
because at one point you get TooFewArgumentsPassed exception.
Model relations
Model1 => hasMany Model3
Model3 => hasMany Model4
Model4 => belongsTo Model5
Model2 => ManyToMany Model5
Model5 => ManyToMany Model6
Scenario 1:
Model1->load(Model3.Model4.Model5 => function($query) {
    $query->with([Model6 => function($query) {
        $query->whereStuff($parameter);
    }]);
});

Scenario 2:
Model2->load(Model5.Model6 => function($query) {
    $query->whereStuff($parameter);
});

Steps To Reproduce:
create local scope in Model6:
public function scopeWhereStuff() {
  dd(count(func_get_args));
}

Scenario 1:
dd(count(func_get_args)); => 2
Scenario 2:
dd(count(func_get_args)); => 3
In case of scenario 2 a BelongsToMany relation is also passed in.

Hey there,
Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so feel free to reply and we'll try to have a look.
Thanks!

I opened new issue after validating that the problem persists. #28363


Android crash when I launch TrackPlayer

Describe the Bug
Android crash when I launch TrackPlayer
Steps To Reproduce
Code To Reproduce
    ```

const currentTrack = await TrackPlayer.getCurrentTrack()
if (session.intro) {
        setTimeCode(session.intro)
    }

    if (currentTrack !== null) {
        if (audioSession.id === session.id) {
            return;
        }

    }

    await TrackPlayer.destroy()

    const setupPlayer = await TrackPlayer.setupPlayer()

    const updateOptions = await TrackPlayer.updateOptions({
        // Media controls capabilities
        capabilities: [
            Capability.Play,
            Capability.Pause,

        ],
        stopWithApp: true,

        // Capabilities that will show up when the notification is in the compact form on Android
        compactCapabilities: [Capability.Play, Capability.Pause,],

        // Icons for the notification on Android (if you don't like the default ones)

    });
    // Add a track to the queue

    setAudioSession(session)
    const addSession = await TrackPlayer.add({
        id: session.id,
        url: session.audio,
        title: session.title,
        artist: session.expert,
        artwork: session.image
    });

    // Start playing it
    setAudioState("playing")

    await TrackPlayer.play()

**Environment Info:**
Android :
   buildToolsVersion = "30.0.0"
        minSdkVersion = 21
        compileSdkVersion = 30
        targetSdkVersion = 30
**How I can Help**

java.lang.NoSuchMethodError: No virtual method setAudioAttributes(Lcom/google/android/exoplayer2/audio/AudioAttributes;)V in class Lcom/google/android/exoplayer2/SimpleExoPlayer; or its super classes (declaration of 'com.google.android.exoplayer2.SimpleExoPlayer' appears in /data/app/~~f4RCPnknhSDVaSXSXE3MSg==/com.taiwa.manuel.atempo-cJ4k6STdUv8Iy4zXxSSdow==/base.apk)
at com.guichaguri.trackplayer.service.MusicManager.createLocalPlayback(MusicManager.java:135)
at com.guichaguri.trackplayer.service.MusicBinder.getPlayback(MusicBinder.java:34)
at com.guichaguri.trackplayer.module.MusicModule.lambda$getCurrentTrack$24$MusicModule(MusicModule.java:424)
at com.guichaguri.trackplayer.module.-$$Lambda$MusicModule$Xm2tTFhYcHlc8y6vDfMFWxLovSE.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:246)
at android.app.ActivityThread.main(ActivityThread.java:8512)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1139)

What can you do to help resolve this?
Have you investigated the underlying JS or Swift/Android code causing this bug?
Can you create a Pull Request with a fix?

I found the problem, it was because of the react-native-purchasely library. I don't know why this library crashed the track player.

@manuelTaiwa did you figure out how/why react-native-purchasely was crashing the track player? We are experiencing the same issue, but we don't have react-native-purchasely in our project.

Hello @robyweb,
I haven't found why. But maybe for you too it's a library that comes into conflict with the track-player.
I have read that some people have particular problems when they use react-native-video and react-native-track-player

I have the same problem, happened after upgrading expo to sdk 45, someone know how to solve it?


Indoor matches - Rafael Nadal / Total matches - Roger Federer

First of all, I congratulate you for the great job done in your website. I love checking tennis statistics, so finding your website it´s really nice.
Now, I notice something in the statistics of Rafael Nadal, in your website it says that in indoor, he has a career record of 81-38 in indoor matches. The problem is that when I check the same stats in the ATP website, it says there that Nadal has a career record of 92-39 in indoor matches. Also, I notice that his career win-loss record is different: In your website is 1000-201 and in the ATP website says 1002-202.
Apart from Nadal, I also notice that the career win-loss record of Roger Federer is different in both website:
In your website his record is 1236-271 but in the ATP website is 1242-271.
I would like you to know what is the reason of the difference between your website (ultimatetennisstatistics.com) and the ATP website (atptour.com).
Once again, congratulations for the great work
I hope to hear news from you soon

The difference is due to Laver Cup, which is counted by ATP, but is rather the exhibition with non-standard match format, so it is not counted by UTS.


Use a font family that supports polish letters

Describe the bug
The bug renders some polish letters bolder then the others.
To Reproduce
Steps to reproduce the behavior:

Set language to Polish (Polski)
Go to https://dogehouse.tv/me
See these ugly buttons

Expected behavior
I expected polish letters to be rendered with correct size and thickness glyphs.
Like this

Screenshots

What device are you on?
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36 OPR/75.0.3969.93
Additional context
It may affect other languages as well

@JakubekWeg can you please suggest a font family that supports it?

I'm not a designer, so I don't know which font looks the best, however most popular fonts support most languages therefore I would choose a font that is popular and is used by other websites.
For example GitHub uses this CSS to style the website:
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;

And it works, so why don't we just copy this line?

Using another font family would need to change the whole design system just so that a miniority of people is not ideal. For me it the polish letters look pretty similar to the other ones, it's not like they are completely disturbed.


emmet in PHP files won't close suggestion popup

Using the emmet-ls lsp paired with the intelephense lsp results in a buggy autocomplete experience. You can check it out in this video https://storage.siblanco.dev/emmetls.mp4 , where I keep pressing Enter (10 seconds). No problems if no php LSP is attached.
My emmet_ls config is the default one, just added php to filetypes:
return {   filetypes = {'html', 'typescriptreact', 'javascriptreact', 'css', 'sass', 'scss', 'less', 'php'} }
Any idea what I could do?

https://github.com/hrsh7th/nvim-cmp/issues/1055#issuecomment-1214413360 fixes this


Tablet UI Fixes

Here is a list of UI elements that are not working correctly or can be better:
-Name of the experience:

in the first menu it's called "VR4VET job test and in the rest "Name of the experience"
the back arrow doesn't work in a lot of sub-menus
There is no method/function to change this name

-Tabs

The color of the tab doesn't match the selected tab in some cases
EG:

about is the one on display, but feedback is the one in blue

here, feedback is selected, and the color matches the selections
-Pages (container)

In order for the container not to get stack with elements in a single page , we decided to call (). Refresh() this is not a sustainable solution since it won't work with all containers.

-Scripts/Classes
There are some scripts that in my understanding were used for testing, please delete this scripts since it can be confusing to have multiple Subtask scripts etc.

Size
arrow buttons for the page change are quite small and hard to select
In my opinion, the name of the experience takes too much space

Tablet Score info - #139

about the pages containers using Refresh():
Refresh() - runs only on the specific ContentPageChanger responsible for that particular container, clearing and repopulating the list with the necessary elements. Performance wise it is appropriate, as the GetComponent<>() call performance impact is negligible if not called 10k times a frame or so, and in this case it is only called when changing the visible task, subtask, etc.
Most element containers (Tasks, Subtasks, Steps, Skills) use ContentPageChanger- except the score sheet, which uses ScoreChartUI for navigation.


Including a Google Colab notebook

This PR does two things:

it replaces the two Jupyter notebooks previously used for generating interactive plotly HTML files with a pair of new notebooks that generate the plot in a slightly different, cleaner way (notebooks starting with 4_DrerMmusXlae)
it adds the framework for loading the repo in Binder, although this loading currently fails due to Binder's size limitations (see: binder_notebook.ipynb, environment.yml, and postBuild)
it includes a link to a Google Colab notebook which implements the functionality of the desired Binder, since the amount of data and compute needed are too large.

The Colab notebook does the following things:

downloads annotations for each of the three species' cell types (Drer, Mmus, Xlae) from this Zenodo record
downloads compressed .h5ad files for the joint embedding of cells from all three species in orthogroup or structural cluster space
performs filtering using scanpy, species-based harmonization using Harmony, and dimensionality reduction using the same parameters as in the pub
plots the UMAP of the joint embedding as colored by species, celltype, and Leiden cluster
provides the data for downstream exploration using Scanpy

While not as tidy as Binder, hopefully this Colab notebook provides enough of an entry point to the data of this pub that it's useful.
The dramatically high number of lines changed is because of how the output of Plotly interacts with Jupyter notebooks; there's not actually a ton of code that has been modified.

also is binder_notebook.ipynb the same thing as the google colab notebook that's linked? they look a little different -- it would be good if the colab nb was the same as whatever is on github if possible.

The two notebooks have the same function, but they do have some minor differences:

rather than using conda and the environment.yml that Binder would use, the Colab notebook uses pip to install software dependencies
the Colab notebook also has a cell that downloads files using wget which would have been handled by postBuild
I added a variety of form comments that allow Colab to pass in user-input variables through its GUI-like markdown format for people to modify parameters without having to directly edit the code

Hopefully it should be similar enough that it won't be confusing!


Add Google's Gemma formatting via chat_format="gemma"

Description
This PR adds the recently released Google's Gemma formatting, so that it can be used via the chat_format arg within the Llama class i.e. chat_format="gemma".
More information about the models in the following HuggingFace Collection at https://huggingface.co/collections/google/gemma-release-65d5efbccdbb8c4202ec078b
Note that some of the current GGUF versions uploaded to the HuggingFace Hub are not working fine with llama.cpp, but I got it working when using e.g. https://huggingface.co/rahuldshetty/gemma-7b-it-gguf-quantized/blob/main/gemma-7b-it-Q4_K_M.gguf.
Example
from llama_cpp import Llama

llm = Llama(
    model_path="./models/gemma-7b-it-Q4_K_M.gguf",
    chat_format="gemma",
    n_gpu_layers=-1,
)
print(
    llm.create_chat_completion(
        messages=[
            {"role": "user", "content": "What's the capital of Spain"},
            {"role": "assistant", "content": "Barcelona"},
            {"role": "user", "content": "No, it's not, try again."},
        ],
        max_tokens=4,
    )
)
# {'id': 'chatcmpl-6037698e-2f05-496d-b49f-f7d61dde32f3', 'object': 'chat.completion', 'created':<PHONE_NUMBER>, 'model': './models/gemma-7b-it-Q4_K_M.gguf', 'choices': [{'index': 0, 'message': {'role': 'assistant', 'content': 'The answer is Madrid'}, 'finish_reason': 'length'}], 'usage': {'prompt_tokens': 37, 'completion_tokens': 4, 'total_tokens': 41}}

P.S. I'm still unsure whether the format_gemma should raise a ValueError when the system_prompt is provided, as maybe instead if safer to just print out a warning stating that the system_prompt cannot be used i.e. will be ignored, WDYT @abetlen?

P.S. I'm still unsure whether the format_gemma should raise a ValueError when the system_prompt is provided, as maybe instead if safer to just print out a warning stating that the system_prompt cannot be used i.e. will be ignored, WDYT @abetlen?

Agree ^^^
There are cases where a Prompt System is being used and happens to hold a 'system' value. I would even suggest to append the system_prompt on the first user message.

@alvarobartt thank you for the contribution.
As for system message I'm a little conflicted on this, the issue is that there are at least 3 entirely valid ways to handle it: raise an error, concat it to the user message, or ignore it entirely. For now I think ignoring a system message is the safest option (potentially raising a warning in verbose mode). In the future I'd like to migrate all of the chat templates to jinja2 then people can just pass custom templates easily to override these model defined presets.

As for system message I'm a little conflicted on this, the issue is that there are at least 3 entirely valid ways to handle it: raise an error, concat it to the user message, or ignore it entirely. For now I think ignoring a system message is the safest option (potentially raising a warning in verbose mode). In the future I'd like to migrate all of the chat templates to jinja2 then people can just pass custom templates easily to override these model defined presets.

Fair, then I'll do that for the moment, and if you happen to open a draft PR with the Jinja2 migration I'm happy to help out! 🤝🏻


[WIP] MM-T463: E2E to validate maximum users in group message

Summary

Add a few HTML id attributes to the MultiSelect component to assist with E2E tests
Add a cypress test that validates a group message between users cannot contain more than 8 people

Ticket Link
JIRA Ticket: MM-T481
Related test scenario: https://automation-test-cases.vercel.app/test/MM-T481

@saturninoabril When removing a user from the "Direct messages" dialog, but only when accessing this dialog from "Add users" dropdown from the group message, the warning note that suggests creating a private channel instead never goes away. I tested manually further and even if I remove all the users it is still displayed. Is this expected ? Joining a gif to better explain what's going on.

Thanks for checking @Niceplace!
There are 2 messages there:

"You've reached the maximum number of people for this conversation. Consider creating a private channel instead."
"This will start a new conversation. If you're adding a lot of people, consider creating a private channel instead."

The issue with second message are it doesn't care

if you're removing user/s in reference to the original members count, and
if all users were removed.

I believe it's how it works currently but it's definitely needs to improve. I'll open up a UX discussion in this regard.


Create Video

Create video of application showing workflow.

Because this application won’t be deployed, you’ll need to provide a link to a walkthrough video that demonstrates its functionality and all of the tests passing. You’ll need to submit a link to the video AND add it to the readme of your project.


Fix Alpine Vaultwarden Install Script

Description
Updated Vaultwarden Script for .env File
Fixes #745
Type of change
Please check the relevant option(s):

[x] Bug fix (non-breaking change that resolves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
[ ] New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites
The following efforts must be made for the PR to be considered. Please check when completed:

[x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
[x] Testing performed (I have tested my changes, ensuring everything works as expected)

This PR adds a duplicate config which fixes the bug (missing rocket address) but also introduces some wrong config values. I have created a PR which fixes the actual breaking change here https://github.com/community-scripts/ProxmoxVE/pull/775


Fix: LoadingIndicator spin is not being shown on Android.

Problem is we cannot use borderTopWidth and borderRadius at the same time on Android.
If we are using  borderTopWidth then borderRadius should be 0 in order to make border visible.

Great that you found the cause for this!
I do not think the dashed thing is a good indicator though. Let's see if we can approximate the style somehow. Alternatively, we can do it with a rotating image of the spinner.

I meged the other fix PR, so this is no longer needed.


MapService NodeToPoint response is ambiguous

When a client sends a NodeToPointRequest to the MapService for some Node, it receives a NodeToPointResponse with only a Point. If a client requests this synchronously, it is clear that the response Point y corresponds to Node x that this client just requested. However, it is not clear how to match requests with responses when sending several asynchronously.
I assume this is a queue, rather than a stack, but I can't tell, as nothing seems to call Map.node_to_point(). I will verify this soon, when my client starts getting node points and estimating where nodes are, so it can approximate airplane moved events to the closest node.
I submit that a response with the point and the node that it goes with constitutes a better message, as it makes the context explicit, rather than implicit. I understand that would be a breaking change to the api.

I realise this is an old issue; but what's blocking the client from wrapping other parameters into their callback? For example, I store an airplane's id in the variable "callsign" before submitting a new flight plan (another such function that doesn't give feedback from the API):
const callsign = airplane.getId();
let newfp = new atc.UpdateFlightPlanRequest();
newfp = newfp.setId(callsign);
newfp = newfp.setFlightPlanList(path);
airplaneService.updateFlightPlan(newfp, (error, response) => { ApproachClearance(callsign, error, response); });

Nothing prevents a client from doing so, of course. I guess if my client instantiated a stream observer for each request, that would disambiguate the significance of the NodeToPointResponse. However, I am (was, to the degree that I considered it) concerned that this increases the overhead of deriving the map node points. That overhead is most meaningful as the simulation begins and the client must rush to understand the map in time to route the first plane from its random flight plan to a valid client-controlled one.
As to the ambiguity of the UpdateFlightPlanResponse, the reason I didn't complain about that too stems from the fact that I hadn't gotten far enough to really worry about it yet. I consoled myself that the game would affirm my choice with a followup FlightPlanUpdated event. I acknowledge that understanding the failed request sooner than a (self-imposed) timeout would be helpful in marshalling the correct response.
To answer my earlier questions, the simulation - thankfully - provides responses that imitate a queue rather than a stack. If I studied the Tonic library (which is what handles the Map.node_to_point() endpoint), I would probably find that they corroborate that style of handling requests.
I guess that, if I resume developing my atc client, I should change the endpoints that involve ambiguous responses in the style @tyrope suggested, similar to how TCP creates order from disorder, at cost.

That overhead is most meaningful as the simulation begins and the client must rush to understand the map in time to route the first plane from its random flight plan to a valid client-controlled one.
You can grab all the map details before starting the simulation. ;)


Packages: apply a batch of non-critical updates

Coverage increased (+0.01%) to 68.036% when pulling ea594c0cd3610ff32c954ec9ef2dd284078989fa on packages/update-2018-12-17 into 82dc1344f1b7f8cf05d9fb4afed30c9baca47820 on master.


Wash up should inform user that wasmcloud is already running rather than bailing

Feature or Problem
Wash up should be idempotent https://github.com/wasmCloud/wasmCloud/issues/846
Follow up to https://github.com/wasmCloud/wasmCloud/pull/1674
Related Issues
None
Release Information
None
Consumer Impact
This will change how users start multiple wasmCloud hosts on the same machine
Testing
No integration tests changed
Unit Test(s)
Unit test added for PID lookup.
Acceptance or Integration
None
Manual Verification
❯ target/debug/wash up

🛁 wash up completed successfully, already running
🕸  NATS is running in the background at http://<IP_ADDRESS>:4222/
📜 Logs for the host are being written to /Users/colmurph/.wash/downloads/wasmcloud.log

⬇   To stop wasmCloud, run "wash down"
❯ target/debug/wash up -d

🛁 wash up completed successfully, already running
🕸  NATS is running in the background at http://<IP_ADDRESS>:4222/
📜 Logs for the host are being written to /Users/colmurph/.wash/downloads/wasmcloud.log

⬇   To stop wasmCloud, run "wash down"
❯ target/debug/wash up -d --multi-local

🛁 wash up completed successfully
🕸  NATS is running in the background at http://<IP_ADDRESS>:4222/
📜 Logs for the host are being written to /Users/colmurph/.wash/downloads/wasmcloud.log

⬇   To stop wasmCloud, run "wash down"
❯ target/debug/wash up -d

🟨 Multiple hosts are running. Please use --multi-local to start another

@cdmurph32 You're missing DCO, but once that is there you should be good to go

Sorry about that. All set now.


Update stable version in repo from 0.0.0 to 0.1.9

Think about adding version 0.1.9 to stable repository.
Version: stable=0.0.0 (0 days old) => latest=0.1.9 (30 days old)
Installs: stable=0 (0%), latest=61 (89.71%), total=68
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 0.1.9 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

Is there any reason to delay updating this adapter at stable any longer?
Please drop a commit if you know any reason to refrain from updating.
If there is no response until 1.11.2024 we could decide to add anyway

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.1.9 but the current stable version is already 0.1.9.
So this issue should be closed.
@mcm1957 for evidence


Strange behaviour with time picker when entering wrong hours

Hello,
there is a bug when entering wrong data in timepicker,
for example :
63 => 15:00
64 => 16:00
etc...
An example with a jsfiddle :
https://jsfiddle.net/lk77/5z38wgrq/
And a gif :

thanks for your help
Your Environment

flatpickr version used: 4.6.1
Browser name and version: chrome 75
OS and version: ubuntu 18.10

That is not a bug.
It happens because a day cannot have more than 24 hours, so if you enter an hour H, the displayed hour is H%24. Also, if you enter a number H with more than 2 digits, only the last 2 digits will be taken into account.
H = 133 -> 33%24 = 9
H = 300 -> 00%24 = 0
H = 60 -> 60%24 = 12


Would be great to have a way to individually set rows from the handler function

I would like to, for example, find out if the first and last name were not filled in by the user from the handler function and if so,  set an error message in line 15 (for example) in intense to tell the user no data was put in.
thanks a lot. Great software!

Not quite sure I understand -- do you mean be able to set something like "required: true" on a field, and have the library handle checking that and display an error message instead of the application developer using the library having to check all the fields manually?
Add support for some kind of validation logic in the library itself?

let me explain better:
In your example.go code before this part:
response, err = go3270.ShowScreen(screen2, fieldValues, 0, 0, conn)
if err != nil {
fmt.Println(err)
return
}
I would like to set individually, say, Row 15 with some value to display before go3270.ShowScreen gets invoked. This way, I can do some plausibility checked and set some message or errorr code in a row.
Hope that simplifies my question.
thanks

Ah, I see what you mean. I think that is possible with the library already. You'd create the read-only field on row 15, perhaps setting intensity to true if that's what you want, and give it a name (say, 'errormsg'), but leave content blank. Then, if you wanted to display an error message in it, you'd add the error message to that fieldValues map before calling ShowScreen -- fieldValues["errormsg"] = "First name is required."
I'll update the example application to make those two fields required to see how this works.

I've updated the example application with this scenario. Let me know if that's what you had in mind or if you were thinking something else.

Hey Matt
thanks a lot. That's actually more or less how I caught a no-input condition (well, without the loop, which is elegant!).
Let me try to state this differently:
if we present a map (and I think in the video you hinted to the possibility of stating default values) and then the user doens't change anything to the map, it would be good if we had a flag for that so we could immediately raise an error. So, some kind of system to recognzie several flags would be great. No rush, though.
thanks a lot!
m

I think I understand what you're suggesting, but I'm trying to wrap my head around some of the practical implications.
First, let me check my understanding of your request with a proposed implementation: let's say in addition to getting the map of field values, the response also includes a "modified" variable, map[string]bool, where string is the field name, and bool is true if the user modified the field. This, to your point, isn't just blank checking: if you send the screen to the client with a default value in a field, if the user doesn't modify that default value, the modified attribute would be false, even though a value is present. [In a way, this just mirrors the MDT--modified data tag--bit for fields in the 3270 protocol.]
If that is a correct understanding of your suggestion, then my question is how to handle the following scenario:

You send a screen to the client with fields A and B. Your application intent is that both A and B require the user to change the value.
Client submits the screen, having entered a value in A but not B.
Your code checks modified[A] (which is true), and modified[B] (which is false). You notice modified[B] is false, populate an error message field, and send the screen back to the client to correct the error. You include the user's previous value for field A as the new default value of field A so they don't lose the partial data they've entered.
User fills in field B, leaving their previous (now default) value for field a.
This time, modified[A] would be false, and modified[B] would be true. The application using the library and checking those values might incorrect think the user hasn't fully filled out the form, unless the application remembered that last time modified[A] was true so now it's okay that we just got the default value back. But at that point...it seems the utility value of the modified indicator is pretty low, since the application would have to implement as much logic to handle that situation as it would to just do its own validation checking on values based on the modified flag.

Since each ShowScreen() call is an independent event and the library doesn't distinguish between showing the same screen to the client a second time, versus showing an entirely new screen, there isn't a way to keep the "modified" value for each field consistently meaningful across a loop of error->try again->error->try again cycles.
One more comprehensive approach would be to make the library more stateful, or give it an inherent understanding of field validators and let ShowScreen() itself be responsible for the entire show->read responses->validate fields->re-display if not all validators pass loop, so one call to ShowScreen() potentially wouldn't even return a response to the calling code until after several iterations of attempting to get the user to fill out the screen correctly. But I'm not sure if you were suggesting going that far, or if that's indeed what you had in mind...

Yes, I see what you mean. Actually, CICS had to deal with all these issues as well, and you are right that a more stateful. So, giving ShowScreen() ownership of show->read responses->validate fields-> re-display is very, very close to what CICS does.
So, if I could say row 5 has a field called pick_option1 and I can say it can accept only 1 selector item alphabetic only, and only one of these group of options can be selected, then we it would be come trivial to build maps from within the application. This is obviously a lot of work to do for go3270 in the library. Another option could be to provide a seperate program that lets people design maps (like they exist for CICS) and then an include is generated which then the user application uses to send maps, get responses and process them.
But I do think that asking the user to draw a loop for each map shown leads to very cumbersome and long user applications. Imagine if a user program has 20 maps, or more.
thanks
M

Yes, I think there's probably a need for some higher-level convenience functions in the library. The first one I was already thinking about was a "layout engine" of sorts to make it easier to build screens without having to calculate all the field positions, but I think you're right that a higher-level stateful control-flow function would be good too. I'll let that rattle around in my brain for a bit to think about how I might want to approach that.

@moshix : I have added a new function, HandleScreen(), to use instead of the original ShowScreen() function. example1 in the repository is the original example, and example2 is essentially the same application but using the new HandleScreen() function so is much less code. Let me know if this is along the lines of what you were thinking to make things easier for users of the library.
There are a couple of rough edges, I'm sure, and I'd like to make things a little nicer in terms of giving the developer more control over the error messages for field validation. I'd also like to make the cursor go to the first invalid field instead of always starting at the original cursor position.

@racingmars Yes! much better. This spares the user to have to write a very loop for validating each screen, and instead focus on writing the logic of the panel. Let me play with this a little and I will get back. For now let's close this issue?

Sounds good @moshix -- looking forward to any feedback you have!


[Bug]: The point adding interface cannot display the remaining points in real time

Is there an existing issue for this?

[X] I have searched the existing issues

Have you tried to reproduce this without OP?

[X] I have tested without OP

Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
1、/class attr
2、

3、

Environment
- Server Software: Paper Spigot 1.16.5
- ProSkillAPI Version: <IP_ADDRESS>-ALPHA
- ProMCCore Version: <IP_ADDRESS>-ALPHA
- Plugins: promccore-<IP_ADDRESS>-ALPHA、proskillapi-<IP_ADDRESS>-ALPHA、ProSkillAPIParties-1.0-snapshot

latest.log
No response
Anything else?
No response

I'm not sure what you're asking here and everything seems to be working as intended. If you would like to provide more detailed information of what isn't functioning as it should, feel free to reopen this issue.


this blocks users with Python < 3.7

https://github.com/lewisbails/cem/blob/66f5e796f1fdce39c1ebc7247c7943efa9f855e1/cem/cem.py#L1

duplicated


Help text

This application accepts numerical value only and will help the user find the box they need! Entering anything other than a numerical value will give you no results. Don’t Complain!


[AppConfiguration] Test fix: GetBatchSettingPagination

/azp run net - appconfiguration - tests

API change check
API changes are not detected in this pull request.


[jtag] Clarify whether the LC TAP should work in the SCRAP LC state

Description
The manuf_scrap test currently relies on the LC TAP working in the SCRAP state (which it does).
However the documentation states:
During SCRAP state the device is completely dead. All functions, including CPU execution are disabled.

The table in the same page only mentions HW_DEBUG_EN which must refer to the RISC-V TAP so the status of the LC TAP is unclear. The pinmux page on the other hand suggests that the LC TAP is always available.
@timothytrippel @msfschaffner

I would have expected it to be completely dead, to prevent any attempt to reactivate a part that was scrapped.
As noted in the same documentation, SCRAP is intentional and an end-of-life state.
But further, INVALID behaves functionally the same as SCRAP, so we want an adversary to mostly be stuck in INVALID (behaving like SCRAP) if they are attempting to glitch the lifecycle.
@moidx

The documentation is correct - all functions modulated by life cycle are disabled in SCRAP.
On top of that, lc_escalate_en is asserted in SCRAP states so as to further disable / brick critical functionality within the chip:
https://github.com/lowRISC/opentitan/blob/2495f652020c911e6b7d1b3ddaddddbd4f0aa771/hw/ip/lc_ctrl/rtl/lc_ctrl_signal_decode.sv#L202-L208
Note that terminal INVALID, ESCALATE and SCRAP states all have the same behavior functionally.
They just have a different encoding so that we can tell how we got to the terminal state by reading the LC_CTRL status via the TAP.
I believe the (partially) missing piece in the docs here is that the LC TAP itself is not modulated by lifecycle so that the state of the chip can always be read out.
I am not sure it is practically feasible to abuse this since the life cycle controller will not accept any commands when in SCRAP, INVALID and ESCALATE states even when the TAP is accessible. I.e., the LC_CTRL FSM goes to a terminal state in those cases upon initialization and it seems impractical to glitch it into any other state after that due to the very large size of the combined manufacturing state vector + FSM state ((16+20) x 16bit + 16 bit = 816bit). There are no FSM transition arcs leaving the terminal FSM states besides the asynchronous reset, and the LC state is continuously decoded even after initialization.

I believe the (partially) missing piece in the docs here is that the LC TAP itself is not modulated by lifecycle so that the state of the chip can always be read out.

Yes I think thats the only thing missing, but sounds like this is expected then. Thanks for clarifying @msfschaffner. I presume we can close this then? Or we can close this with a PR that updates the docs perhaps?

Updating the docs to close this issue SGTM.


fix: update to eye v2.7.4

fix: update to eye v2.7.4

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

npm package (@latest dist-tag)
GitHub release
v2.9.4

Your semantic-release bot :package::rocket:


make sure our code is warning-free

@memoryleak47 would be nice to get this to pass... :)

As of now we only have
function ´bytes_valid_for_type´ is never used
function ´transmute´ is never used
I think those functions are intentionally unused.
Do we want to make them pub, or add some #[allow(dead_code)?

Yeah makes sense to mark them unused. They are just for demonstration.
Can you open a PR for that, also including the commit from this PR?

Superseded by https://github.com/RalfJung/minirust/pull/73