7 in 1 not receiving data

Context

Which example sketch are you using?
examples/BresserWeatherSensorMQTT
Which changes to the code did you make (if any)?
USE_CC1101
Which sensor are you using?
7in1 7003600GYE000

Describe the bug
CC1101 is not receiving data
To Reproduce
Steps to reproduce the behavior:
Upload sketch
Expected behavior
Receive data
Debug Log
If applicable, add log file to help explain your problem.

Build log file (enable verbose output in the Arduino IDE: File->Preferences - "Show verbose output during: compile")

/home/ben/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 -X utf8 -I /home/ben/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/tools/sizes.py --elf /tmp/arduino_build_487795/BresserWeatherSensorMQTT.ino.elf --path /home/ben/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/bin --mmu "-DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000"
. Variables and constants in RAM (global, static), used 32176 / 80192 bytes (40%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     1696     initialized variables
╠══ RODATA   2984     constants
╚══ BSS      27496    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 62951 / 65536 bytes (96%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     30183    code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 290992 / 1048576 bytes (27%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     290992   code in flash
Bibliothek ESP8266WiFi in Version 1.0 im Ordner: /home/ben/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/ESP8266WiFi  wird verwendet
Bibliothek MQTT in Version 2.5.1 im Ordner: /home/ben/Arduino/libraries/MQTT  wird verwendet
Bibliothek ArduinoJson in Version 6.21.2 im Ordner: /home/ben/Arduino/libraries/ArduinoJson  wird verwendet
Bibliothek BresserWeatherSensorReceiver in Version 0.9.0 im Ordner: /home/ben/Arduino/libraries/BresserWeatherSensorReceiver  wird verwendet
Bibliothek RadioLib in Version 6.0.0 im Ordner: /home/ben/Arduino/libraries/RadioLib  wird verwendet
Bibliothek SPI in Version 1.0 im Ordner: /home/ben/.arduino15/packages/esp8266/hardware/esp8266/3.1.2/libraries/SPI  wird verwendet

Serial console log file (see Debug Output Configuration in Arduino IDE)

22:22:39.684 -> SDK:2.2.2-dev(38a443e)/Core:3.1.1=30101000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
22:22:39.684 ->
22:22:39.684 ->
22:22:39.684 -> BresserWeatherSensorMQTT 20221024
22:22:39.684 ->
22:22:39.684 -> Attempting to connect to SSID: muhxnetworkfpm close 1
22:22:39.684 -> mode : sta(8c:aa:b5:cb:65:bd)
22:22:39.684 -> add if0
22:22:39.784 -> ...scandone
22:22:43.500 -> state: 0 -> 2 (b0)
22:22:43.500 -> .state: 2 -> 3 (0)
22:22:43.533 -> state: 3 -> 5 (10)
22:22:43.533 -> add 0
22:22:43.533 -> aid 10
22:22:43.533 -> cnt
22:22:43.632 ->
22:22:43.632 -> connected with muhxnetwork, channel 11
22:22:43.632 -> dhcp client start...
22:22:43.665 -> ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
22:22:44.528 -> connected!
22:22:44.528 -> Checking wifi...
22:22:44.528 -> MQTT connecting... connected!
22:22:44.528 -> ESPWeather-CB65BD/status: online
22:22:44.528 -> [CC1101] Initializing ...
22:22:44.694 -> success!
22:22:44.694 -> [CC1101] Setup complete - awaiting incoming messages...
22:22:53.521 -> pm open,type:2 0

Embedded Device (please complete the following information):

Arduino IDE Version: 1.8.19
ESP32/ESP8266 Board Support Package Version: [e.g. ESP32 2.0.7]
Library Version 0.9.0
Your Board: Wemos D1 mini
Selected Board in the Arduino IDE: [brand/model/version]
Your Radio Transceiver Module (if external): cc1101 868
Pinning/Wiring as in the example

How long did you wait for data?
Which kind of antenna are you using?
What's the distance between the CC1101 and the weather sensor?
What is the power supply to the ESP8266 D1 mini?

I had wiring problems (GDO pins swapped).
Now BresserWheaterSensorBasic receives data, but BresserWheaterSensorMQTT is not publishing.
The topics radio and status are published.
00:51:23.197 -> Checking wifi...
00:51:23.197 -> MQTT connecting... connected!
00:51:23.197 -> ESPWeather-CB65BD/status: online
00:51:23.197 -> [CC1101] Initializing ...
00:51:23.363 -> success!
00:51:23.363 -> [CC1101] Setup complete - awaiting incoming messages...
00:51:28.142 -> [CC1101] Data: D4 BE FD 19 8D AA 8A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:51:28.175 -> [CC1101] R [D4] RSSI: -27.0
00:51:28.175 -> find_slot(): ID=0000B327
00:51:28.175 -> find_slot(): Storing into slot #0
00:51:32.191 -> pm open,type:2 0
00:51:40.654 -> [CC1101] Data: D4 BE FD 19 8D AA 8A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:51:40.654 -> [CC1101] R [D4] RSSI: -26.5
00:51:40.654 -> find_slot(): ID=0000B327
00:51:40.654 -> find_slot(): Storing into slot #0
00:51:53.164 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:51:53.164 -> [CC1101] R [D4] RSSI: -25.5
00:51:53.164 -> find_slot(): ID=0000B327
00:51:53.164 -> find_slot(): Storing into slot #0
00:52:05.643 -> [CC1101] Data: D4 BE FD 19 8D AA 8A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:52:05.643 -> [CC1101] R [D4] RSSI: -27.0
00:52:05.643 -> find_slot(): ID=0000B327
00:52:05.677 -> find_slot(): Storing into slot #0
00:52:18.157 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:52:18.157 -> [CC1101] R [D4] RSSI: -27.0
00:52:18.157 -> find_slot(): ID=0000B327
00:52:18.157 -> find_slot(): Storing into slot #0
00:52:30.635 -> [CC1101] Data: D4 46 D5 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA FB AA AA AA AA AA AA AA AA 00
00:52:30.669 -> [CC1101] R [D4] RSSI: -26.0
00:52:30.669 -> find_slot(): ID=0000B327
00:52:30.669 -> find_slot(): Storing into slot #0
00:52:43.148 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:52:43.148 -> [CC1101] R [D4] RSSI: -26.0
00:52:43.148 -> find_slot(): ID=0000B327
00:52:43.148 -> find_slot(): Storing into slot #0
00:52:53.668 -> ESPWeather-CB65BD/status: online
00:52:53.668 -> ESPWeather-CB65BD/radio: {"rssi":-26}
00:52:55.660 -> [CC1101] Data: D4 8E A0 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA F8 AA AA AA AA AA AA AA AA 00
00:52:55.660 -> [CC1101] R [D4] RSSI: -26.5
00:52:55.660 -> find_slot(): ID=0000B327
00:52:55.660 -> find_slot(): Storing into slot #0
00:53:08.137 -> [CC1101] Data: D4 46 D5 19 8D AA 9A 18 AA AA AA AA AA 82 AA 88 AA FB AA AA AA AA AA AA AA AA 00
00:53:08.170 -> [CC1101] R [D4] RSSI: -27.5
00:53:08.170 -> find_slot(): ID=0000B327
00:53:08.170 -> find_slot(): Storing into slot #0

Could you please add the following code to the end of decodeBresser7In1Payload() before line 935 (return DECODE_OK;)  in WeatherSensor.cpp?
 sensor[slot].valid    = true;
 sensor[slot].complete = true;

Solved, thank you
14:21:27.064 -> ESPWeather/status: online
14:21:27.064 -> ESPWeather/radio: {"rssi":-57.5}
14:21:39.542 -> [CC1101] Data: D4 EA AF 19 8D A3 AA 18 AA AA AA AA AA 82 AA 88 9A FC AA AB A2 AA AA AA AA AA 00
14:21:39.575 -> [CC1101] R [D4] RSSI: -58.5
14:21:39.575 -> find_slot(): ID=0000B327
14:21:39.575 -> find_slot(): Storing into slot #0
14:21:39.575 -> ESPWeather/data/    B327: {"id":45863,"battery_ok":1,"temp_c":22.3,"humidity":56,"wind_gust":0.0,"wind_avg":0.0,"wind_dir":90.0,"uv":0.0,"light_klx":0.1,"rain":0.0,"rain_d":0.0,"rain_w":0.0,"rain_m":0.0}
14:21:39.575 -> ESPWeather/extra: {"wind_dir_txt":"E","wind_gust_bft":0,"wind_avg_bft":0,"dewpoint_c":13.1,"perceived_temp_c":24.7}
14:21:52.048 -> [CC1101] Data: D4 E0 36 19 8D A3 AA 18 AA AA AA AA AA 82 AA 88 9A FC AA AB 8A AA AA AA AA AA 00
14:21:52.048 -> [CC1101] R [D4] RSSI: -53.5
14:21:52.048 -> find_slot(): ID=0000B327
14:21:52.048 -> find_slot(): Storing into slot #0
14:22:04.554 -> [CC1101] Data: D4 E0 36 19 8D A3 AA 18 AA AA AA AA AA 82 AA 88 9A FC AA AB 8A AA AA AA AA AA 00
14:22:04.554 -> [CC1101] R [D4] RSSI: -54.0
14:22:04.554 -> find_slot(): ID=0000B327
14:22:04.554 -> find_slot(): Storing into slot #0
14:22:04.554 -> ESPWeather/data/    B327: {"id":45863,"battery_ok":1,"temp_c":22.3,"humidity":56,"wind_gust":0.0,"wind_avg":0.0,"wind_dir":90.0,"uv":0.0,"light_klx":0.1,"rain":0.0,"rain_d":0.0,"rain_w":0.0,"rain_m":0.0}
14:22:04.587 -> ESPWeather/extra: {"wind_dir_txt":"E","wind_gust_bft":0,"wind_avg_bft":0,"dewpoint_c":13.1,"perceived_temp_c":24.7}
14:22:04.587 -> ESPWeather/status: online
14:22:04.587 -> ESPWeather/radio: {"rssi":-54}


Updated validations.py python script.

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Closes: #1
Fixes

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

my email id of coursera is<EMAIL_ADDRESS>


⚠ PrivateHD has degraded performance

In 6535fe2, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1620 ms

Resolved: PrivateHD performance has improved in 0c4f661.


docs: Readme

Replaced the link to the roadmap, the old link didn't work
Fixed Issue(s)

Thanks for sending a pull request! Have you done the following?

[ ] Checked out our contribution guidelines?
[ ] Considered documentation and added the doc-change-required label to this PR if updates are required.
[ ] Considered the changelog and included an update if required.
[ ] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[ ] unit tests: ./gradlew build
[ ] acceptance tests: ./gradlew acceptanceTest
[ ] integration tests: ./gradlew integrationTest
[ ] reference tests: ./gradlew ethereum:referenceTests:referenceTests

this is already part of #7722


missing wildcard search on the very elaborate Azure powershell documentation

Hi,
This reference is very elaborate and it is good that it comes with a search: https://docs.microsoft.com/en-us/powershell/module/?view=azps-1.8.0. Only it would be much more convenient if wildcard search or partial search is also possible. For example New-AzApplicationGatewayBackendAddressPool should be searchable though "addresspool" or "gatewaybackend". At this moment you actuall need to know that it starts with New-AZ.....
Hope you can add this feature

#log-suggestion @dendeli-msft
Thanks for the feedback @owingruters! This is something that we will consider for the long-term set of improvements for the PowerShell Module Browser, but is not in the immediate set of priorities we'll be addressing.
Den Delimarsky ● Senior PM, docs.microsoft.com ● @DennisCode


Does this lib caches API calls?

I'm experimenting with the lib and it seems that the API is always called even if I use the same coordinates.
Does the lib have caching support in any way? It would be great if the lib could handle that as well :)

Great idea!


Tons of stuff

fine-tuning of discord markdown rules
include parsing of discord-specific things, like <@123456>, <#123456> etc. with custom callbacks
increased test coverage
parsing options

...since so much work has been done on it, maybe it is better for me to re-publish it on npm?

Thanks for the PR! Dealing with Discord's custom markdown parser was annoying, so I'm glad you were able to put this together and finish up the library.


Gitter notifications

A row needs to be manually entered in theNotifications table for the notifications to be fired. channel should be gitter, type can be an activity type or all, and webhookUrl needs to be copied manually from what the user obtains on the Gitter integrations page when selecting Open Collective. That will require the merge of a little Gitter PR that will follow.
I note that email and (internal) slack notifications are handled in some other places in the code, it might be helpful to integrate with this code (if deemed sufficiently important).
A little extra PR should allow slack webhooks as well, I can look at that when this is merged.

Tested sending a message to this channel, goes through properly: https://gitter.im/sedubois/opencollective_test
Documented at https://github.com/OpenCollective/OpenCollective/wiki/Slack-and-Gitter


Prominence 2 issue

In the prominence 2 modpack im able to import items only into the right side of the controller block using ae2 but unable to pull any items out using ae2?
is this a bug with the modpack or a bug with the mod?

This is probably unrelated to Prominence completely. The bottom block of the Forge can be replaced with a Hopper, and this block is generally exposed as an output (you should be able to directly attach an importer to it).
Refer to the image present in the documentation: https://docs.wispforest.io/alloy-forgery/building-a-forge/#automation


The problem of upgrading immediately after the connection is successful.

I'm sorry to trouble you again!
I met a problem like this title, The method of calling the DFU upgrade immediately after I connect to the Bluetooth device will give me the wrong 'can only accept commands while in the connected state', But when I pause for 2 seconds after connecting the Bluetooth device, the method of calling the DFU upgrade will be successful.

In fact, 1s is enough.

Good morning, seems like your DFU code is starting to execute before the connection is actually established, you might doing things on a different thread and seeing a race condition. without seeing actual code I would say that this is the most possible issue

`- (void)manager:(QmjkDeviceManager *)manager connectPeripheralIsSuccess:(BOOL)isSuccess {
if (isSuccess) {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self OTA];
});
} else {
}

}`
I execute the DFU code when receive the callback that connect device successful.

Can you breakpoint and see when and what is calling the connectPeripheralIsSuccess method ? this might be getting fired too early or before the peripheral is actually connected.

Any updates ?


Add support for recursive messages

Previously recursive message ended up in infinite loop and protoc
finished with error like:
runtime: goroutine stack exceeds<PHONE_NUMBER>-byte limit

This adds a workaround by when detecting that the same message is nested
within itself (possibly with some intermediate), it does not generate
field for the nested message.

@googlebot I signed it!

Grzegorz  -- any interest in pursuing this pullrequest still? We're looking to start maintaining this again.

Grzegorz -- any interest in pursuing this pullrequest still? We're looking to start maintaining this again.

Sure, this change is pretty straightforward and looks like fixes actual issue.


Message "Using default renderer" breaks JSON output

Usually you can call jsdoc -X to get JSON output. Using this plugin you get broken JSON because the message "Using default renderer" shows up at the top. (The jsdoc -X feature is used by sphinx_js.)

Oh, I wasn't aware of that behaviour.
Anyway, this message has been indirectly removed with #106 (see https://github.com/Kocal/jsdoc-vuejs/pull/106/files#diff-1136f4dbfe67a612a978ede458d23388), I will publish a new release very soon.

Just realeased 2.2.0, please close this issue if it's fine for you 🙂


Initrd sshd settings fix

Description of changes
Fixes the naming of Ciphers after #211991, and updates initrd-ssh to use the correct new names
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg test initrd-network-ssh

Thanks a lot !


Refactored Cilium Operations

Signed-off-by: MUzairS15<EMAIL_ADDRESS>Description
This PR fixes #30
Notes for Reviewers
@lee added cilium operations as you mentioned earlier today.
Signed commits

[x] Yes, I signed my commits.

// @leecalcote @theBeginner86

Potentially, the final PR before the adapter moves to Beta...


[observability] Switch from datetime.utcnow to time.perf_counter

datetime.utcnow() raises a deprecation warning on Python 3.12, so this change prevents that deprecation warning while also switching to a monotonic clock for calculating RPC latency

cc @XuanWang-Amos

Thanks for the PR! Just out of curiosity, are you currently using the Python observability?

Thanks for the PR! Just out of curiosity, are you currently using the Python observability?

No, we are not currently using it -- I actually did not know about the built-in observability features until I saw the deprecation warnings. Over this past year we have been making improvements to our APM monitoring so this is definitely something good to know about.

Thanks for the PR! Just out of curiosity, are you currently using the Python observability?

No, we are not currently using it -- I actually did not know about the built-in observability features until I saw the deprecation warnings. Over this past year we have been making improvements to our APM monitoring so this is definitely something good to know about.

Got it, observability is still a work in progress, but I'm glad to hear that we have users who are interested in it.


heredoc test fals with comparison

The test can be reduced to:
cd  ~/zopen/dev/bashport/bash-5.2/tests
catfile()
{
   cat <<- EOF > $FILENAME
     $(cat $1)
EOF
  cmp $FILENAME $1
 # rm -f $FILENAME
 }

catfle ../y.tab.c

This fails.

By enabling 'cat' as a coreutils tool, we go from 1 byte of output to a larger stream of output, but it shows up as gibberish - so is not being converted properly.

@IgorTodorovskiIBM this feels like a pipe that is not being properly tagged?


Feature request: Disallow parent selectors

I'd like to see a rule to disallow some parent selectors, like this:
Bad:
.Base {
  background-color: red;
  &__element {
    background-color: blue;
  }
}

Good:
.Base {
  background-color: red;
  &:after {
    background-color: blue;
  }
}

Good:
.Base {
  background-color: red;
}
.Base__element {
  background-color: blue;
}

Is this somehow already possible? Does it make sense as a rule? Is it reasonable?

This seems to conflict with the ::after pseudo element, which can still be written with one colon. I'd expect your second sample to compile to:
.Base {
  background-color: red;
}
.Base:after {
  background-color: blue;
}

Regardless, I don't think disallowing parent selectors is possible right now. Since there isn't an alternative to &__element, I don't think I could see using this in production.

@abea The alternative would be using the syntax from my third example.
The reason for this is that I find the &__element syntax can get really messy for bigger modules, and explicitly defining class names makes sure you can always search for a class name to see it's rules.

Ah, I misunderstood the examples. I can definitely see that.

@abea Sorry that I was unclear!

Yeah, that's a good idea. I liked this syntax at first, but it absolutely ruins search possibilities.
@eldh although, I think your second example is completely irrelevant and confusing here :)

Yeah, I just wanted to clarify that the rule shouldn't apply to all uses of &, but I see how it can be confusing.

I edited the description now to hopefully make it more clear .

I had the same need, so I hacked one together at https://github.com/shukriadams/selectorConcatenation. It was done in a hurry but it seems to work. Basically, any selector that starts with & followed by letters, numbers dashes or underscores gets flagged. Too simplistic?
And totally agree, this is one Sass feature that has created huge headaches for us when it comes to code maintenance.


Bug: in resolving extras for requirement

Hi! Thanks for a great library!
I believe there is a misspell in a checking parsing extras paths for requirements
	# Requirements
	if using == "requirements":
		requirementsPaths = ["requirements.txt"] if len(extras) > 0 else extras
		extras = []

which should be simply fixed by changing line to
		requirementsPaths = extras if extras else ["requirements.txt"]

which is consistent with the previous logic
https://github.com/FHPythonUtils/LicenseCheck/commit/ba70665012b66d0a2497f68fdeec6c3389a45a37#diff-3d2b023624ae6455c661f617085c9570286f1bed0e80cb02a65512d802aa19b4L58-L60

Hi sorry for the delay in getting back to you! Life has been busy
You're absolutely spot on, can't believe I introduced a bug there. I'll fix this asap


Please update this line to 'return isDirectory ? .directory : .file'

https://github.com/weichsel/ZIPFoundation/blob/ec32d62d412578542c0ffb7a6ce34d3e64b43b94/Sources/ZIPFoundation/Entry.swift#L150

Guessing the entry type based on the path suffix shouldn't be necessary on UNIX based platforms. Did you encounter an archive that has no mode set for an entry that actually is a directory? If yes, can you please check to what value let mode = mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT expands to?
Maybe we should handle that case as well.

Here are the values I am getting while extracting and getting 0 for mode
self.centralDirectoryStructure.externalFileAttributes = 27525120
mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) = 420
S_IFMT = 61440
mode_t(self.centralDirectoryStructure.externalFileAttributes >> 16) & S_IFMT = 0

Do you have a sample archive?

test_archive.zip

Thank you!

I found a little EPUB today and made a pull request.


dedeuplicate terms

See dcterms:creator
It has a label defined in dcterms but also in pav. Need to ignore the dodgy ones coming from pav. and more generally to ignore / remove any declarations of terms from other ontologies, so that we should only get terms being defined in the ontologies to which they belong.

it is done. I manually created overrides to the affected ontologies


What is stan and is it scary - lecture

Aim for 15 minutes. Related to #21

Could be based on these https://samabbott.co.uk/presentations/2022/stan-an-introduction-without-the-scary-parts.pdf but likely needs to be toned down to have a less insane vibe and with a simpler example.


Use fallback control for Solaris / Illumos.

As an OS Illumos does support SO_REUSEPORT however Go thinks Solaris and Illumos do not [1]. Apparently someone did make an attempt to rectify this in Go but withdrew the patch [2]. This leads to a build error which this PR fixes.
For now for both Solaris and Illumos a workaround is to simply use the fallback control to avoid errors when compiling.
[1] https://go.googlesource.com/sys/+/refs/heads/master/unix/zerrors_solaris_amd64.go
[2] https://go-review.googlesource.com/c/sys/+/331989/1

So active connections will fail on Solaris, can you confirm? Please take a look here for a test procedure, thanks

Perhaps I don't understand you correctly but what I meant to say is at the moment there is no way to build ftpserverlib on Illumos and Solaris. The build will error out due to SO_REUSEPORT not being available in Go on Illumos and Solaris (it can be "seen" missing in the Go unix/zerrors_solaris_amd64.go implementation). This change makes ftpserverlib build on Illumos and Solaris.
Or do you mean what happens on Solaris when you build it with this fix and then use an active connection?

Perhaps I don't understand you correctly but what I meant to say is at the moment there is no way to build ftpserverlib on Illumos and Solaris. The build will error out due to SO_REUSEPORT not being available in Go on Illumos and Solaris (it can be "seen" missing in the Go unix/zerrors_solaris_amd64.go implementation). This change makes ftpserverlib build on Illumos and Solaris.
Or do you mean what happens on Solaris when you build it with this fix and then use an active connection?

Sorry for not being clear, I suspect active connections will not work after building with this patch, but this is still better than a build error

I'll give it a test run on Illumos to see what it does. Might be good to be able to add a warning to the readme in case it doesn't work.

Had to use some workarounds to get it to build. The location of the dependency is apparently tied to the namespace in Go. Meaning that if I change sftpgo to use my forked github.com/siepkes/ftpserverlib it starts complaining.
I used lftp to do a bunch of ls commands but couldn't trigger an error. The command I used was: lftp -e 'debug 10;set ftp:passive-mode off; set ftp:auto-passive-mode no; ls; ls; ls; ls; ls; ls; ls; ls; ls; ls; bye;' -u ftp,ftp ftp://<IP_ADDRESS>:4932.
BTW I encountered an unrelated issue when building with nogcs,noazblob,nobolt,nomysql,nosqlite. I verified this also happens on Linux. Worked around it by using go build -tags nogcs,noazblob -a. I mainly need to disable GCS and Azure because they pull in a boatload of other stuff. Some of which that doesn't build on Illumos:
$ go build -tags nogcs,noazblob,nobolt,nomysql,nosqlite -a
# github.com/drakkan/sftpgo/v2/dataprovider
dataprovider/memory.go:185:2: undefined: setLastUserUpdate
dataprovider/memory.go:364:2: undefined: setLastUserUpdate
dataprovider/memory.go:445:5: undefined: getLastUserUpdate

Had to use some workarounds to get it to build. The location of the dependency is apparently tied to the namespace in Go. Meaning that if I change sftpgo to use my forked github.com/siepkes/ftpserverlib it starts complaining.
I used lftp to do a bunch of ls commands but couldn't trigger an error. The command I used was: lftp -e 'debug 10;set ftp:passive-mode off; set ftp:auto-passive-mode no; ls; ls; ls; ls; ls; ls; ls; ls; ls; ls; bye;' -u ftp,ftp ftp://<IP_ADDRESS>:4932.
BTW I encountered an unrelated issue when building sftpgo with nogcs,noazblob,nobolt,nomysql,nosqlite. I verified this also happens on Linux. Worked around it by using go build -tags nogcs,noazblob -a. I mainly need to disable GCS and Azure because they pull in a boatload of other stuff. Some of which that doesn't build on Illumos:

Thanks, good to know that active mode works on Illumos/Solaris even without setting SO_REUSEPORT.

$ go build -tags nogcs,noazblob,nobolt,nomysql,nosqlite -a
# github.com/drakkan/sftpgo/v2/dataprovider
dataprovider/memory.go:185:2: undefined: setLastUserUpdate
dataprovider/memory.go:364:2: undefined: setLastUserUpdate
dataprovider/memory.go:445:5: undefined: getLastUserUpdate

This is now fixed, thanks for reporting

Had to use some workarounds to get it to build. The location of the dependency is apparently tied to the namespace in Go. Meaning that if I change sftpgo to use my forked github.com/siepkes/ftpserverlib it starts complaining.
I used lftp to do a bunch of ls commands but couldn't trigger an error. The command I used was: lftp -e 'debug 10;set ftp:passive-mode off; set ftp:auto-passive-mode no; ls; ls; ls; ls; ls; ls; ls; ls; ls; ls; bye;' -u ftp,ftp ftp://<IP_ADDRESS>:4932.
BTW I encountered an unrelated issue when building sftpgo with nogcs,noazblob,nobolt,nomysql,nosqlite. I verified this also happens on Linux. Worked around it by using go build -tags nogcs,noazblob -a. I mainly need to disable GCS and Azure because they pull in a boatload of other stuff. Some of which that doesn't build on Illumos:

Thanks, good to know that active mode works on Illumos/Solaris even without setting SO_REUSEPORT.

just to be sure, can you please confirm that you have active_transfers_port_non_20 set to false? Can you also test an ls from two concurrent clients and confirm that it works? Thanks

$ go build -tags nogcs,noazblob,nobolt,nomysql,nosqlite -a
# github.com/drakkan/sftpgo/v2/dataprovider
dataprovider/memory.go:185:2: undefined: setLastUserUpdate
dataprovider/memory.go:364:2: undefined: setLastUserUpdate
dataprovider/memory.go:445:5: undefined: getLastUserUpdate

This is now fixed, thanks for reporting

I've opend 2 interactive lftp clients with set ftp:passive-mode off; set ftp:auto-passive-mode no and ran the ls command a couple of times on them. I encountered no errors.
 I encountered no errors.
 I approved this PR, let's wait a bit to see if @fclairamb has any comments

This is fine with me.


make subselects more visible

Pitch
in our documentation we never really cover subselects.
so to find out that we support that you need to have a look at release notes or know that this is a select from a relation.
https://crate.io/docs/crate/reference/en/latest/search.html?q=subselects
we should add that somewhere
https://crate.io/docs/crate/reference/en/latest/sql/statements/select.html#relation-reference
(from joe)

this was addressed by the recent work on the glossary (which includes the addition of a subselects entry and attendant addition of cross-references in the main docs)


Flush Utilities/bootstrap script logging output

Motivation:
As Utilities/helpers.py output of print is not immediately flushed, it makes debugging of Utilities/bootstrap script very hard, since logging messages are not guaranteed to be printed in correct order.
Modifications:
All calls to print in Utilities/helpers.py have flush=True passed as arguments.
Result:
Messages logged in the bootstrap script are always printed in the correct order.

@swift-ci test

@swift-ci test windows

@swift-ci test windows

@swift-ci test windows


Track JavaScript data lifetimes

I'm embedding this in a rendering application where rendered objects can be scripted in the frontend. The problem is that the rendered objects are managed in Rust but created in JavaScript. When the JS objects are garbage collected, they remain in the Rust backend. Ideally this should be automated so when the JS objects are deleted there is some automated way of having the Rust data associated be deleted too. Is there a way of achieving this currently or a implementation that could enable this?

It definitely seems possible

As @pavlukivan pointed out, this is possible.
It would require exposing the JS_NewClass, SetOpaque and then provide a finalizer that can call a Rust callback.


'watchPathIgnorePatterns' is documented at facebook.github.io/jest/docs/configuration.html but seems not yet to be released in the latest version on npm (20.0.4)

I see it in the code but it seems not to yet be published? Are the docs ahead of the releases or am I missing something?

Thanks for reporting this


[about_board] Josh Greenberg's term should indicate that he is an ex oficio board member

@bnosek should ex officio replace Josh's term or be appended to it?

appended, thanks
On Tue, Feb 16, 2016 at 3:37 PM, saradbowman<EMAIL_ADDRESS>wrote:

@bnosek https://github.com/bnosek should ex officio replace Josh's term
or be appended to it?
—
Reply to this email directly or view it on GitHub
https://github.com/CenterForOpenScience/centerforopenscience.org/issues/610#issuecomment-184865617
.


Are Windows DLLs missing from repo?

I'm seeing this in Build.pm, which I think will try to copy bundled DLLs on Windows? There are no DLL files in the repo though.

Never mind. Reading further down I see they're downloaded.


Error parsing (new resource required) in resource header

In at least Terraform v0.10.5 they have added a new reason to a resource_header when a resource is to be re-created (new resource required)
$ terraform plan

...

-/+ null_resource.foo (tainted) (new resource required)
      id:                    "123456789" => <computed> (forces new resource)
      triggers.%:            "2" => "2"

landscape throws error: Expected one of "\n", "\n\n" .... after -/+ null_resource.foo (tainted)

Fixed in #36.


CORS filter

CORS filter
@objectiser @jpkrohling Could you please review?

Basically, this filter is disabling the CORS protection, right? It's accepting everything, from everywhere.

Would you please add a configuration option to disable this filter? On a scenario where Keycloak is in the mix, Keycloak would need to manage the CORS policy. I believe we might have KC integrated with APM on an OpenShift scenario.

Yes, it should do that thing, with https://github.com/hawkular/hawkular-apm-opentracing-javascript it should accept requests from anywhere.
PR updated. Cors filter can be disabled with -DHAWKULAR_APM_DISABLE_CORS_FILTER=true

@pavolloffay I defer to Juca on this one :). Looks fine to me.

it should accept requests from anywhere.

If that's what we really want, I  think we should document this. Basically, it opens a door for an evilsite.com to make calls to myapmserver.com/hawkular/apm/delete-all on user's behalf, including the user's previous basic auth headers. This kind of attack is blocked by browsers via this CORS technique. Normally, UIs would be available via "myui.com", and this "myui.com" would be added to the list of whitelisted origins, so that the attack from evilcorp.com would be blocked.

@jpkrohling PR updated, Now it is possible to specify allowed origins with -DHAWKULAR_APM_CORS_ALLOWED_ORIGINS=http://localhost:900 and extra allowed headers -DHAWKULAR_APM_CORS_ACCESS_CONTROL_ALLOW_HEADERS

@objectiser @jpkrohling What about by default allowing all origins. This could be overridden by system prop.

Hawk inventory, alerts does it like tihs.

@pavolloffay It would probably be best to be consistent, so if other components doing it that way then fine by me.

@pavolloffay Tested with your opentracing javascript provider node-browser example and it worked great!

retest this please

I would certainly prefer to have the secure option as the default, instead of "allow all" (which is effectively bypassing the browser's built-in security), but if that's how other components are doing, who am I to disagree? :)

@pavolloffay Integration tests ran fine for me, so ok to merge?


Add aria-activedescendant

See this video on why this is important:
https://classroom.udacity.com/courses/ud891/lessons/8311490720/concepts/83106568490923#
(Screen readers are currently not reading out the items in the combobox)
To do:

[ ] Add id's to all items
[ ] Add aria-activedescendant to the input and reference the id of the selected item
[ ] add aria aria-posinset & aria-setsize
[ ] ...

I can work on this if you like, but https://github.com/reactjs/react-autocomplete/issues/169 is blocking me.

Hi! This is great! We really hope you can help us out with this, as you already stated this is very important. We're here to facilitate in any way we can (I hope my answer in #169 was good enough to unblock you for now).
Regarding #1: The consumer has control over creating the menu items, so we probably want to put some though into how we handle this problem. Perhaps we could sniff the options and add IDs where they're missing.

Thanks, yeah that resolved my issue. I'm a bit busier than a month ago but I'll see what I can come up with.

Regarding #1: The consumer has control over creating the menu items, so we probably want to put some though into how we handle this problem. Perhaps we could sniff the options and add IDs where they're missing.

Or we could wrap the each item in an div and give it a random id?

Or we could wrap the each item in an div and give it a random id?

We could do that, but then the consumer is losing complete control over the dropdown markup (since the hierarchy will be menu > our wrapper > item).
I don't mean to devaluate your time, but could you summarise why IDs are important in this context? I want to watch the video when I have time, right I'm just working on getting through the backlog.

Heya. I came across this in investigating getting a screen reader (ChromeVox) to be able to read the items as they are highlighted by the autocomplete component. We think that if the aria-activedescendant property were set, then the reader would be able to pick up on the results.
I was curious if you have a plan for implementing this yet. Our items all have id attributes, so we are hoping to find some way to set the role as the highlighted item is changed. It sounds like sniffing the rendered items has some flaws, though. Do you have a better approach in mind? We're happy to make a PR to contribute back here, if we can find a way to get it working smoothly.
Or, maybe we are off base and there is another way folks have found to have a screen reader identify the highlighted items? It's been a couple years since this was active, so maybe somebody else has an easier way forward?

@wmitchell-cambria

Or, maybe we are off base and there is another way folks have found to have a screen reader identify the highlighted items? It's been a couple years since this was active, so maybe somebody else has an easier way forward?

It is the way.
The other way is to move focus from the input to the list items.
See this article for more info:
https://www.levelaccess.com/differences-aria-1-0-1-1-changes-rolecombobox/
I'm currently modifying our own home-made autocomplete to meet ARIA stuff.
This component claims to be "WAI-ARIA compliant" and that's a conscious lie because it's not.
Seems that the developers even didn't bother reading into what "WAI-ARIA compliancy" really is.
Throwing false claims left and right, how typical for modern frontend development.
To be clear: we didn't ever use this particular component nor will we ever be.
I just got here from Google looking for the ways WAI-ARIA support is claimed to be "implemented" in popular autocomplete components.


Closures containing parameter packs

Description
Callbacks that take a parameter pack can not be stored
I am trying to achieve something similar to this but with parameter packs
struct Call<T,J> {
    var callback: (T,J) -> String

    init(callback: @escaping (T,J) -> String) {
        self.callback = callback
    }
}

Reproduction
struct PackCall<each T> {
    let callback: (repeat each T) -> Void

    init(callback: @escaping (repeat each T) -> Void) {
        self.callback = callback // X - Type of expression is ambiguous without a type annotation
    }
}

Expected behavior
it should work similar to the code in the description
Environment
swift-driver version: 1.87.3 Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)
Target: arm64-apple-macosx14.0
Additional information
No response

@NoahKamara looks like 68369.

This was fixed by https://github.com/apple/swift/pull/70457.


Provide plugin for ShardingSphere 4.1.0

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[x] Requirement
[ ] Feature or performance improvement

Provide plugin for ShardingSphere 4.1.0 of which the package name is different from 4.0.0.

Duplicated. Please request to ShardingSphere project.

@wu-sheng hi，i work on shardingSphere, 4.1.0 Has been released, but the interface has changed,
so well should Provide plugin for ShardingSphere 4.1.0

I think the plugin is missing supports from 4-RC1. Not only 4.1.0. @yu199195

4.0.0-RC1 ~~4.0.0-RC3 have already provided。 @wu-sheng

From SkyWalking doc, it doesn't say so.


Compression with .save(path)

Hi, is there a way to specify the compression algorithm when doing
frame.write.format("com.databricks.spark.csv").save(path)

Cheers, Alexey

I'm interested in this as well, in particular being able to save compressed csv output from Python. In Scala an implicit class adds the saveAsCsvFile method to DataFrames, which allows you to pass in a compression codec. Is there any way to call this method from Python?

I also am interested - when transferring data over S3 compression can save quite some bandwidth (and storage cost).
I saw that spark-csv actually supports this internally in the saveAsCsvFile, but I didn't find a way to use it when using the proper save interface.
Wouldn't it be enough to add an option specifying the codec to the parameters?

I've got a pull request open for exactly that: https://github.com/databricks/spark-csv/pull/174


Vue.js warnings

Hello,
New version has following warnings:
bundle.js:11071 [Vue warn]: Property or method "uid" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option. (found in root instance)

I already fixed it in my MR: https://github.com/typicode/hotel/pull/120/commits/9c0a0d2a6e9aa22c4e793acbea48cf269e95dbda
Maybe it can be merged or we can cherry pick the commit?

Hi,
Do you still have it with hotel v0.5.5? Because I'm not seeing it anymore, so there may be a commit that has fixed it.

Ok, found it.
It was because in the output item.uid wasn't used.
https://github.com/typicode/hotel/commit/823978b3689dbf115e92a2a472bb5c946d9a52e5
Thanks for raising this bug.


Introduce a Host API

This is an implementation of the API described at #204. Please see that
issue for more details on the motivation.

A Host provides access to the available audio devices on the system.
Some platforms have more than one host available, e.g.
wasapi/asio/dsound on windows, alsa/pulse/jack on linux and so on. As a
result, some audio devices are only available on certain hosts, while
others are only available on other hosts. Every platform supported by
CPAL has at least one DefaultHost that is guaranteed to be available
(alsa, wasapi and coreaudio). Currently, the default hosts are the only
hosts supported by CPAL, however this will change as of landing #221 (cc
@freesig). These changes should also accommodate support for other hosts
such as jack #250 (cc @derekdreery) and pulseaudio (cc @knappador) #259.
This introduces a suite of traits allowing for both compile time and
runtime dispatch of different hosts and their uniquely associated device
and event loop types.
A new private host module has been added containing the individual
host implementations, each in their own submodule gated to the platforms
on which they are available.
A new platform module has been added containing platform-specific
items, including a dynamically dispatched host type that allows for
easily switching between hosts at runtime.
The ALL_HOSTS slice contains a HostId for each host supported on
the current platform. The available_hosts function produces a
HostId for each host that is currently available on the platform.
The host_from_id function allows for initialising a host from its
associated ID, failing with a HostUnavailable error. The
default_host function returns the default host and should never
fail.
Please see the examples for a demonstration of the change in usage. For
the most part, things look the same at the surface level, however the
role of device enumeration and creating the event loop have been moved
from global functions to host methods. The enumerate.rs example has been
updated to enumerate all devices for each host, not just the default.
TODO

[x] Add the new Host API
[x] Update examples for the new API.
[x] Null host
[x] ALSA host
[x] WASAPI host
[x] CoreAudio host
[x] Emscripten host

Follow-up PR

[ ] ASIO host #221

cc @ishitatsuyuki more to review for you if you're interested.

I'm excited by this. After it lands, I'd like to take a look at the alsa implementation to see if I can improve it. I think we cut some corners with regards to selection of parameters for the connection, with the consequence that we have panics and some valid configurations of audio hardware fail to work.

One thing: I think DefaultHost should be replaced in favor of the polymorphic version, therefore the defaults should be determined at runtime.
This is because on Linux the preferred audio API varies a lot, depending on the audio server installed (PulseAudio or Jack) or even drivers (some users may be using OSS).

One thing: I think DefaultHost should be replaced in favor of the polymorphic version, therefore the defaults should be determined at runtime.
This is because on Linux the preferred audio API varies a lot, depending on the audio server installed (PulseAudio or Jack) or even drivers (some users may be using OSS).

Yes this is a good point, I've added a commit that makes this change.


L2logreg

for front page :)

good to go from my end. Next is to integrate this to the the front page.

There is something weird going on with LBFGS, it seems it does not converge?
Any idea why?


Add NIST 800-171 controls to CISO/DPO section

We have completed a GAP analysis between the product and NIST 800 171 rev 2 and we concluded that all controls within scope of the platform is fully supported by the product as is.
Can we create a similar page for NIS 800-171 as the one we have for ISO 27001, HIPPA, BSI and so on?

Given an active customer case I would have this as the prio one in comparison to all the other documentation requests I just filed @cristiklein
Aslo, the customer talked about rev 5, but @llarsson said that rev 3 is still pending approval so maybe we should go with rev 2 until further notice?

Evidence: https://www.preveil.com/blog/nist-releases-800-171-rev3-and-r3-assessment-methodology/

Including a summary like this one of the controls at the very top of the page would also be amazing!


MAPREDUCE-7411: use secure XML parsers

Description of PR
How was this patch tested?
For code changes:

[x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 54s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 12 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
16m  3s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
28m 53s

trunk passed

+1 :green_heart:
compile
2m 48s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
2m 29s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 19s

trunk passed

+1 :green_heart:
mvnsite
3m 25s

trunk passed

+1 :green_heart:
javadoc
2m 46s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 43s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
5m 24s

trunk passed

+1 :green_heart:
shadedclient
21m 40s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 31s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 17s

the patch passed

+1 :green_heart:
compile
2m 31s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
2m 31s

the patch passed

+1 :green_heart:
compile
2m 14s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
2m 14s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 56s

hadoop-mapreduce-project/hadoop-mapreduce-client: The patch generated 0 new + 32 unchanged - 1 fixed = 32 total (was 33)

+1 :green_heart:
mvnsite
2m 27s

the patch passed

+1 :green_heart:
javadoc
1m 45s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 41s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 36s

the patch passed

+1 :green_heart:
shadedclient
20m 20s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
7m 15s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
unit
8m 51s

hadoop-mapreduce-client-app in the patch passed.

+1 :green_heart:
unit
5m  0s

hadoop-mapreduce-client-hs in the patch passed.

+1 :green_heart:
unit
140m 33s

hadoop-mapreduce-client-jobclient in the patch passed.

+1 :green_heart:
asflicense
1m  1s

The patch does not generate ASF License warnings.

293m 16s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4980/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4980

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 639dd1f5bc01 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / c2a34a2cd432555fa79e050f1b3eaf774a233bcd

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4980/1/testReport/

Max. process+thread count
1613 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient U: hadoop-mapreduce-project/hadoop-mapreduce-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4980/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@pjfanning can you rebase and push up to kick jenkins off again? thanks

@steveloughran rebased and build restarted

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 51s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 12 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
15m 41s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
25m 43s

trunk passed

+1 :green_heart:
compile
2m 50s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
2m 24s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 16s

trunk passed

+1 :green_heart:
mvnsite
3m 31s

trunk passed

+1 :green_heart:
javadoc
2m 58s

trunk passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
2m 41s

trunk passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 54s

trunk passed

+1 :green_heart:
shadedclient
20m 40s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 30s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 15s

the patch passed

+1 :green_heart:
compile
2m 34s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
2m 34s

the patch passed

+1 :green_heart:
compile
2m 11s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
2m 11s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 57s

hadoop-mapreduce-project/hadoop-mapreduce-client: The patch generated 0 new + 31 unchanged - 2 fixed = 31 total (was 33)

+1 :green_heart:
mvnsite
2m 33s

the patch passed

+1 :green_heart:
javadoc
1m 56s

the patch passed with JDK Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m 39s

the patch passed with JDK Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
4m 32s

the patch passed

+1 :green_heart:
shadedclient
20m 12s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
7m  9s

hadoop-mapreduce-client-core in the patch passed.

+1 :green_heart:
unit
8m 47s

hadoop-mapreduce-client-app in the patch passed.

+1 :green_heart:
unit
5m  7s

hadoop-mapreduce-client-hs in the patch passed.

+1 :green_heart:
unit
134m 57s

hadoop-mapreduce-client-jobclient in the patch passed.

+1 :green_heart:
asflicense
0m 54s

The patch does not generate ASF License warnings.

282m 40s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4980/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4980

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 2892e6611423 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 975f92cfdf1920c1dd709d3e3ce4471e94d86f40

Default Java
Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.16+8-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_342-8u342-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4980/4/testReport/

Max. process+thread count
1590 (vs. ulimit of 5500)

modules
C: hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient U: hadoop-mapreduce-project/hadoop-mapreduce-client

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4980/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Cannot select Enum as type

This code makes error.
let Locate=Enum({
    Hand:null,
    Deck:null
});

let Card=struct({
    id:'string',
    locate:Locate
});

let some_card=Card({
    id:'foo',
    locate:Locate.Hand
});
// Error: Type mismatched for locate ! expected: [object Object], actual: object

This is because returned value of Enum is just an object, and not a constructor of that returned by enum-arm (in this example, (Enum.Hand).constructor).

Fixed


POC RoutingAuto integration

This is currently an experimental branch for integrating the Symfony CMF RoutingAuto component.
Practically it:

Would remove the RLP strategy things.

Remove the "Legacy" mapping of the URI (segment) as a property.

(but retain it as a content type to allow positioning and placement in Structure template).

...

Would probably remove the "history/restore" functionality, which, IIRC, we discussed and concluded that it could not work.

Will fix the current path history / redirect system - current system is broken because each old path references the next least eldest path in a cascading domino game of death. We should reference the content.

Other benefits:

Allow routes to be fully automatically generated, e.g. imagine /products/my-product-name
Make the RouteDocument more of a thing, paving the way to do things like {{ path(document) }} for path generation in Twig templates / etc.
.. more ..

@chirimoya one thing we will need to deal with is "caching" the URLs in the content for the menu.


Allows the default git/gitoxide configuration to be obtained from the ENV and config

What does this PR try to resolve?
The default git/gitoxide feautures config can be obtained througt -Zgit and -Zgitoxide.
However, it cannot be obtained from environment variables or configurations.
It's not very ergonomic.
How should we test and review this PR?

Additional information
Inspired by https://github.com/rust-lang/cargo/issues/11813#issuecomment-1817517629
See also https://github.com/rust-lang/cargo/issues/13285#issuecomment-2016875459
Change of usage

Mirror Zgit/Zgitoxide when they parsed as string

Specify the feature you like
CARGO_UNSABLE_GIT='shallow-deps' cargo fetch
cargo fetch --config "unstable.git='shallow-deps'"
cargo fetch -Zgit="shallow-deps"

Specify partial fields when parsed as table

CARGO_UNSTABLE_GITOXIDE_FETCH=true cargo fetch

The rest fields will use Rust default value. That said, checkout and internal_use_git2 will be false.
Besides, you can pass true to the whole feature to specify the pre-defined features.
CARGO_UNSTABLE_GITOXIDE=true cargo fetch

I assume this is meant to resolve the immediate part of #13688 (leaving aside the more general problem).  Is that right?

:umbrella: The latest upstream changes (presumably #13696) made this pull request unmergeable. Please resolve the merge conflicts.

r? weihanglo

In my new commit, a string can be parsed as git/gitoxide features in ENV and Config.
You can pass 'all' to enable predefined features.
CARGO_UNSABLE_GIT='all' cargo fetch
CARGO_UNSABLE_GIT='shallow-deps' cargo fetch
cargo fetch --config "unstable.git='shallow-deps'"
cargo fetch --config "unstable.git='all'"

In Config, the git/gitoxide can be defined as
# as string
[unstable]
git = 'all'

# still can be defined as table, but all fields needed
[unstable.git]
shallow_deps = true
shallow_index = true

But the defect is that the fields as ENV will be ignored.
CARGO_UNSABLE_GIT_SHALLOW_DEPS CARGO_UNSABLE_GIT_SHALLOW_INDEX cargo fetch

In ENV, it seems that a struct cann't be parser from string and table in the sametime.

I assume this is meant to resolve the immediate part of #13688 (leaving aside the more general problem). Is that right?

Yes，this tend to mirror the -Zgit/-Zgitoxide as possible.

:umbrella: The latest upstream changes (presumably #13956) made this pull request unmergeable. Please resolve the merge conflicts.

Thanks!
@bors r+

:pushpin: Commit ee87c915d3cfe0ae1c78833bc8d8c6e003b48c8a has been approved by weihanglo
It is now in the queue for this repository.

:hourglass: Testing commit ee87c915d3cfe0ae1c78833bc8d8c6e003b48c8a with merge 4219b66f63b2e1091e6aa9d4e6e252540a4d176d...

:sunny: Test successful - checks-actions
Approved by: weihanglo
Pushing 4219b66f63b2e1091e6aa9d4e6e252540a4d176d to master...


Call disconnects immediately

Hi,
I'm experimenting with this quickstart tutorial on Chrome (101.0.4951.64) for MacOS (12.3.1).
When I press "Call" it seems like there is an attempt to make a call but it disconnects immediately. There is no ring on the target phone that I try to call. I tried different phones and it behaves the same. I also tried another quickstart tutorial, for programmed voice, and it works well. So I believe my purchased number and the target number that I try to call are both fine.
The event log shows:
>  Requesting Access Token...
>  Got a token.
>  Initializing device
>  Twilio.Device Ready to make and receive calls!
>  Attempting to call <target number>...
>  Call disconnected.

Inspecting the JS console shows this:
Setting up VSP
twilio.min.js:1 Initializing preferred transport backoff using config:  {factor: 2, maxDelay: 1000, randomisationFactor: 0.4}
twilio.min.js:1 Initializing primary transport backoff using config:  {factor: 2, initialDelay: 100, maxDelay: 20000, randomisationFactor: 0.4}
twilio.min.js:1 WSTransport.open() called...
twilio.min.js:1 Attempting to connect...
twilio.min.js:1 Closing and cleaning up WebSocket...
twilio.min.js:1 No WebSocket to clean up.
twilio.min.js:1 WebSocket opened successfully.
twilio.min.js:1 Setting token and publishing listen
twilio.min.js:1 Stream is ready
twilio.min.js:1 signalingState is "have-local-offer"
twilio.min.js:1 dtlsTransportState is "new"
twilio.min.js:1 pc.iceGatheringState is "gathering"
twilio.min.js:1 ICE Candidate: {"candidate":"candidate:4131776327 1 udp<PHONE_NUMBER> <IP_ADDRESS> 55145 typ host generation 0 ufrag VD9m network-id 1 network-cost 10","sdpMid":"0","sdpMLineIndex":0}
twilio.min.js:1 ICE Candidate: {"candidate":"candidate:3099990967 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 ufrag VD9m network-id 1 network-cost 10","sdpMid":"0","sdpMLineIndex":0}
twilio.min.js:1 pc.iceGatheringState is "complete"
twilio.min.js:1 ICE Candidate: null
twilio.min.js:1 Received HANGUP from gateway
twilio.min.js:1 Received an error from the gateway: ConnectionError: ConnectionError (31005): Error sent from gateway in HANGUP
    at ConnectionError.TwilioError [as constructor] (twilio.min.js:1:98536)
    at new ConnectionError (twilio.min.js:1:84420)
    at PStream.Call._this._onHangup (twilio.min.js:1:21253)
    at emitOne (twilio.min.js:1:248707)
    at PStream.emit (twilio.min.js:1:250013)
    at PStream._handleTransportMessage (twilio.min.js:1:125763)
    at emitOne (twilio.min.js:1:248707)
    at WSTransport.emit (twilio.min.js:1:250013)
    at WebSocket.WSTransport._this._onSocketMessage (twilio.min.js:1:217569)
Log.error @ twilio.min.js:1
Call._this._onHangup @ twilio.min.js:1
emitOne @ twilio.min.js:1
emit @ twilio.min.js:1
PStream._handleTransportMessage @ twilio.min.js:1
emitOne @ twilio.min.js:1
emit @ twilio.min.js:1
WSTransport._this._onSocketMessage @ twilio.min.js:1
twilio.min.js:1 Disconnecting...
twilio.min.js:1 dtlsTransportState is "closed"

Hi @assaft, Twilio Developer Educator here.
Sometimes I see this error when there's an issue with the AccessToken. I would first decode the AccessToken on jwt.io and make sure that it contains the proper SID for your TwiML App.
Also, you may want to check that your ngrok tunnel is working properly. Can you send a  POST request to your ngrok.io/voice endpoint and get back TwiML? Can you send a GET request to your ngrok.io/token endpoint and receive a token? Is your TwiML App properly configured with your ngrok.io/voice URL?
These are some good places to start with troubleshooting.  Let me know if you've verified that your AccessToken and endpoints/ngrok tunnel are working properly.
Thank you!

@assaft I had a similar problem.  It only works when I use http://localhost:5000/ but not http://:5000.  If I use the ngrok https URL and force Chrome through the certificate failure warning, it works there as well.

@tommyorndorff When you configure your TwiML App and your Twilio Phone Number with your ngrok URL, are you using the HTTPS ngrok url?

Sure, my TwiML App is configured like this for the 'Request URL' parameter, just like in the README.md doc:

https://cc84-216-251-118-195.ngrok.io/voice

Then in Chrome:

http://localhost:5000 -> This works, I'm guessing because its localhost but not https
http://<IP_ADDRESS>:5000 -> This does not work as it is not localhost and not https
https://cc84-216-251-118-195.ngrok.io -> This works after bypassing the warnings as it is not "localhost" and it is https

I'm running into the same issue. I've tried using a TwiML App as well as routing it directly in the Twilio number's callbacks. Also, in terms of token generation, I have exactly the same as what is described in this repository.
The one thing I have noticed, however, is that in Ngrok the request coming in from Twilio appears to be missing the 'To' parameter as well as any of the custom metadata I'm loading in the 'params' field.

Hi @jamesktan in your Twilio Console under the Monitor tab in the left navigation pane, do you see any Call Logs (under Logs > Calls) created when you attempt to make a call?
If you see a call log created, on the call's Call Details page, do you see anything under Request Inspector? Also, do you see a Child Calls heading or a Parent Call SID under the Properties setting?
Do you see any errors under Monitor > Logs > Errors > Error logs?
If you can post a screenshot of your ngrok terminal, the request coming from Twilio, and/or any Request Inspector or Error information from the Twilio Console, that may help me figure out what's going on.

Got HTTP 405 response to https://9869-2001-ee0-4081-3a15-2c94-f145-23f7-70bb.ngrok-free.app. Could you please help me to solve this problem, I can't make outbound call using these code


CONTENT_URL_INVALID to local file

Steps to reproduce
so i use this construction to make some stuff:
InlineQueryResultVoice[] p = new InlineQueryResultVoice[1];
            p[0] = new InlineQueryResultVoice();
            p[0].Title = "Your voice";
            p[0].Id = "11";
            p[0].Url = "file://<IP_ADDRESS>/downloads/1097008955417205768.mp3";

to prevent some useless question i tried next constructions:
p[0].Url = "file:///<IP_ADDRESS>/downloads/1097008955417205768.mp3";
p[0].Url = "file:///c:/downloads/1097008955417205768.mp3";
p[0].Url = "http://<IP_ADDRESS>/downloads/1097008955417205768.mp3";
Expected  behavior
So i want to send in inline query voice on this address.
Actual behavior
I have CONTENT_URL_INVALID so when i change url to something like : "https://google.com"
that construction worked but send empty voice file.
Used your last library.
IDE: (VS2015)
App: (Desktop)

Telegram clients should be able to download from that location, which means that it can't be on your computer (unless you expose it to the internet). Contact BotSupport for more info on this, and please close this issue.


center figure and captions inside figwith, while the whole figure is left/right

center figure and captions inside figwith, while the whole figure is left/right
testing code: ( MyST md )
:::{figure} https://source.unsplash.com/200x200/daily?cute+puppy
:width: 60%
:align: left
:figwidth: 40%
Caption text text text text
:::

long long text ...

:::{figure} https://source.unsplash.com/200x200/daily?cute+puppy
:width: 60%
:align: right
:figwidth: 40%
Caption text text text text text text text text text text text
:::

long long text ...

old css:

new css:

@gabalafou, this PR has been approved and is waiting for the merge for a bit. I can go ahead an merge but would love a quick check on your end if possible?


Add Groq client support

I have a Groq API key that I'd like to be able to use for the models they support (see here).
Seems like their chat completion API interface is the same as OpenAI's (https://console.groq.com/docs/quickstart), with some exceptions.

Wow, thanks mmahmad these are super fast.
How can I make this the default model for users?
Do I need to run a SQL migration or front-end code that can be changed.  I'll take a look myself also.

I think you'd need to change at least the following 2 files:

defaults: https://github.com/mckaywrigley/chatbot-ui/blob/a18409e2c4fe6338c8af69bdc38d8098f7b9cff7/app/[locale]/[workspaceid]/layout.tsx#L159
sql migration similar to: https://github.com/mckaywrigley/chatbot-ui/blob/a18409e2c4fe6338c8af69bdc38d8098f7b9cff7/supabase/migrations/20240125192042_upgrade_openai_models.sql#L4


[Bug] Cannot convert JsValue into JsArray

Describe the bug
When i use a function with String as argument it works perfectly on web.
When i use a function with List<String> as argument it crashes trying to convert JsValue to JsArray
panicked at 'called `Result::unwrap()` on an `Err` value: JsValue(Object)', src/binding/bridge_generated.web.rs:38:9

Stack:

Error
    at imports.wbg.__wbg_new_abda76e883ba8a5f (http://localhost:5000/pkg/extractor.js:460:21)
    at http://localhost:5000/pkg/extractor_bg.wasm:wasm-function[1139]:0xce5e0
    at http://localhost:5000/pkg/extractor_bg.wasm:wasm-function[547]:0xb9e3d
    at http://localhost:5000/pkg/extractor_bg.wasm:wasm-function[903]:0xc2b7e
    at http://localhost:5000/pkg/extractor_bg.wasm:wasm-function[715]:0xbe834
    at http://localhost:5000/pkg/extractor_bg.wasm:wasm-function[212]:0x7bf64
    at http://localhost:5000/pkg/extractor_bg.wasm:wasm-function[168]:0x6e9a5
    at __exports.wire_process_lines (http://localhost:5000/pkg/extractor.js:218:10)
    at d8.NB (http://localhost:5000/main.dart.js:55029:20)
    at Object.cAm (http://localhost:5000/main.dart.js:42841:27)

Here is the incriminated unwarp
impl Wire2Api<Vec<String>> for JsValue {
    fn wire2api(self) -> Vec<String> {
        self.dyn_into::<JsArray>()
            .unwrap()
            .iter()
            .map(Wire2Api::wire2api)
            .collect()
    }
}

Codegen logs with RUST_LOG=debug environment variable
flutter_rust_bridge_codegen -r native/src/binding/api.rs -d lib/bridge_generated.dart -c ios/Classes/bridge_generated.h -e macos/Runner --wasm --skip-add-mod-to-lib --dart-decl-output lib/bridge-definitions.dart
2023/06/06 08:01:34 [WARN] Skipping unresolvable module web (tried /home/andrflor/projects/extractor/native/src/binding/web.rs, /home/andrflor/projects/extractor/native/src/binding/web/mod.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/web.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/web/mod.rs, )
2023/06/06 08:01:34 [WARN] Skipping unresolvable module io (tried /home/andrflor/projects/extractor/native/src/binding/io.rs, /home/andrflor/projects/extractor/native/src/binding/io/mod.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/io.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/io/mod.rs, )
2023/06/06 08:01:35 [INFO] Phase: Validate config(s)
2023/06/06 08:01:35 [INFO] Picked config: Opts { rust_input_path: "/home/andrflor/projects/extractor/native/src/binding/api.rs", dart_output_path: "/home/andrflor/projects/extractor/lib/bridge_generated.dart", dart_decl_output_path: Some("/home/andrflor/projects/extractor/lib/bridge-definitions.dart"), c_output_path: ["/home/andrflor/projects/extractor/ios/Classes/bridge_generated.h", "macos/Runner/bridge_generated.h"], rust_crate_dir: "/home/andrflor/projects/extractor/native", rust_output_path: "/home/andrflor/projects/extractor/native/src/binding/bridge_generated.rs", class_name: "Extractor", dart_format_line_length: 80, dart_enums_style: false, skip_add_mod_to_lib: true, llvm_path: ["/opt/homebrew/opt/llvm", "/usr/local/opt/llvm", "/usr/lib/llvm-9", "/usr/lib/llvm-10", "/usr/lib/llvm-11", "/usr/lib/llvm-12", "/usr/lib/llvm-13", "/usr/lib/llvm-14", "/usr/lib/", "/usr/lib64/", "C:/Program Files/llvm", "C:/msys64/mingw64"], llvm_compiler_opts: "", manifest_path: "/home/andrflor/projects/extractor/native/Cargo.toml", dart_root: Some("/home/andrflor/projects/extractor"), build_runner: true, block_index: BlockIndex(0), skip_deps_check: false, wasm_enabled: true, inline_rust: false, bridge_in_method: true, extra_headers: "" }
2023/06/06 08:01:35 [INFO] Phase: Parse source code to AST, then to IR
2023/06/06 08:01:35 [WARN] Skipping unresolvable module web (tried /home/andrflor/projects/extractor/native/src/binding/web.rs, /home/andrflor/projects/extractor/native/src/binding/web/mod.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/web.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/web/mod.rs, )
2023/06/06 08:01:35 [WARN] Skipping unresolvable module io (tried /home/andrflor/projects/extractor/native/src/binding/io.rs, /home/andrflor/projects/extractor/native/src/binding/io/mod.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/io.rs, /home/andrflor/projects/extractor/native/src/binding/bridge_generated/io/mod.rs, )
2023/06/06 08:01:35 [INFO] Phase: Transform IR
2023/06/06 08:01:35 [INFO] Phase: Generate Rust code
2023/06/06 08:01:35 [INFO] Phase: Generate Dart code
Flutter 3.11.0-19.0.pre • channel master • https://github.com/flutter/flutter.git
Framework • revision 0b7415356e (3 days ago) • 2023-06-03 07:16:37 -0400
Engine • revision c838a1b059
Tools • Dart 3.1.0 (build 3.1.0-166.0.dev) • DevTools 2.24.0
2023/06/06 08:01:36 [INFO] Phase: Generating Dart bindings for Rust
Deprecated. Use `dart run` instead.
Running in Directory: '/home/andrflor/projects/extractor'
Input Headers: [/tmp/.tmpHuNcFv.h]
[WARNING]: No definition found for declaration - (Cursor) spelling: _Dart_Handle, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct _Dart_Handle, usr: c:@S@_Dart_Handle
[WARNING]: No definition found for declaration - (Cursor) spelling: _Dart_Handle, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct _Dart_Handle, usr: c:@S@_Dart_Handle
[WARNING]: No definition found for declaration - (Cursor) spelling: DartCObject, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct DartCObject, usr: c:@S@DartCObject
[WARNING]: No definition found for declaration - (Cursor) spelling: DartCObject, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct DartCObject, usr: c:@S@DartCObject
[WARNING]: No definition found for declaration - (Cursor) spelling: _Dart_Handle, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct _Dart_Handle, usr: c:@S@_Dart_Handle
[WARNING]: No definition found for declaration - (Cursor) spelling: _Dart_Handle, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct _Dart_Handle, usr: c:@S@_Dart_Handle
[WARNING]: No definition found for declaration - (Cursor) spelling: _Dart_Handle, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct _Dart_Handle, usr: c:@S@_Dart_Handle
[WARNING]: No definition found for declaration - (Cursor) spelling: _Dart_Handle, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct _Dart_Handle, usr: c:@S@_Dart_Handle
[WARNING]: No definition found for declaration - (Cursor) spelling: DartCObject, kind: 2, kindSpelling: StructDecl, type: 105, typeSpelling: struct DartCObject, usr: c:@S@DartCObject
[WARNING]: Generated declaration '_Dart_Handle' start's with '_' and therefore will be private.
Finished, Bindings generated in /tmp/.tmpmZXmKz
the path is "/home/andrflor/projects/extractor/ios/Classes/bridge_generated.h"
the path is "macos/Runner/bridge_generated.h"
2023/06/06 08:01:38 [INFO] Phase: Running build_runner
2023/06/06 08:01:38 [INFO] Running build_runner at /home/andrflor/projects/extractor
Deprecated. Use `dart run` instead.
[INFO] Generating build script completed, took 260ms
[WARNING] Invalidated precompiled build script due to missing asset graph.
[INFO] Precompiling build script... completed, took 634ms
[INFO] Building new asset graph completed, took 1.5s
[INFO] Checking for unexpected pre-existing outputs. completed, took 0ms
[INFO] Running build completed, took 17.7s
[INFO] Caching finalized dependency graph completed, took 234ms
[INFO] Succeeded after 17.9s with 10 outputs (15859 actions)
2023/06/06 08:02:00 [INFO] Phase: Formatting Dart code
Formatted /home/andrflor/projects/extractor/lib/bridge_generated.dart
Formatted /home/andrflor/projects/extractor/lib/bridge-definitions.dart
Formatted /home/andrflor/projects/extractor/lib/bridge_generated.web.dart
Formatted /home/andrflor/projects/extractor/lib/bridge_generated.io.dart
Formatted 5 files (4 changed) in 0.35 seconds.
2023/06/06 08:02:01 [INFO] Success!
2023/06/06 08:02:01 [INFO] Now go and use it :)

To Reproduce
Just try to get a function that takes a List of string on web
Expected behavior
Should get string vector
Generated binding code
No response
OS
Web
Version of flutter_rust_bridge_codegen
1.45.3 -> 1.77.1
Flutter info
No response
Version of clang++
15.0.7
Version of ffigen
8.0.1
Additional context
No response

Looks like a bug, also cc @Desdaemon who implemented the helpful Web part. Feel free to create a PR!


Support 'tw info'

From @adamrtalbot
Run tw info as a  good check of everything is installed correctly and can talk to the server.

Implemented in #89. Use seqerakit --info or tw.info().


GSP update

Solar Sheffield are updating their GSP boundaries (on 19th July)
https://docs.google.com/document/d/1iYdRMym43uC0BdSanjpMdMHDFKywjNM-t9J7k6W6UHM/edit
Whats changing

re regions
the installed capacities

medium term
We will need to retrain the models as some GSPs are changing, but historic data might not be available by then
short term
Optional 1 - Forecast old regions
Map old GSP data onto old GSP regions. Some sort of weighting from old regions to new regions
Optional 2 - Forecast new regions
Forecast new regions, Need to update GSP installed capacities. This might be ok, because we are forecasting normalized GSP data in the model, and we are using the gsp regsion centroid

As Discussed with @dantravers and @jacobbieker today,
I will do some analysis of what the different regions look like.

Plot every region with the over lapping new regions.
Taking a threshold of say 95%, check how many regions map one to one, and how many mw the relates too.

Here's a few examples

Other's are here

How does overlap relate to installed capacity
Plot 1, For each GSP, whats the maximum amount of overlap from v4 to v3. 100% would be no change at all. Also we see cumulative installed capacity %. We see that 80% of the UK installed capaicty GSPs, have more than a 80% overlap with v3.

bonus plot of overlap, and how its distributed. The regions in the south are mainly the same apart from London.

Great on-the-fly analysis, @peterdudfield !  Agree with the conclusion.

Yeah, really awesome work, thank you @peterdudfield for handling this so quickly! Great work!


support macOS

npm install failed under macOS because different endian.h and no c++ throw
refs:
https://gist.github.com/yinyin/2027912
https://github.com/nodejs/node-gyp/issues/17

@liukun currently looking into this, and will post some questions if there are, if none, will merge it.  👍

Tested ACK


Hotfix magic number for magnetic tower donut

Looks like there was a hardcoded minimal offset for the donut leftover from original development.
Does not affect our INCITE runs as we ran with an offset of 0.001.
Thanks @mfournier01 for reporting (this came up when the MagneticTowerModel::PowerSrcTerm mt_linear_contrib and mt_quadratic_contrib are both zero. (Has MagneticTowerReducePowerContribs been called?) safetey check was triggered for offset <0.001).

Thanks @mfournier01 for reporting (this came up when the MagneticTowerModel::PowerSrcTerm mt_linear_contrib and mt_quadratic_contrib are both zero. (Has MagneticTowerReducePowerContribs been called?) safetey check was triggered for offset <0.001).

I saw that error come up out of the blue when I was doing some profiling with the cluster setup yesterday but I didn't look into the cause. Very good that it's found!


Update CasStorageServiceImpl.java

URIs should not be hardcoded
Because the hard-coded path delimiter "/" makes the code harder to maintain, it must be changed. It also makes cross-platform interoperability more difficult. Hard coding a URI makes it harder to test a program since path literals are not always transferrable between operating systems. for solving this problem i used variable File.separator

Looks good, PR contains however unrelated formatting changes too.


Create a warning window when trying to assign a mismatched type

For example, if I try to assign a sprite to an audio component, a window should show up warning the user that this operation cannot be done.

doesnt technically meet rubric requirement, but it hovers near the field


Can't look up a channel by its Id? Empty Channels collections?

Hi guys. Thanks for taking the time to put this together. I'm having some problems though.
I've registered a bot. I've added it to my Discord bot. I can use Discord.Net to login and I see the bot appear online on the server. I can even @mention the bot and it will reply, using the MessageReceived event. That all works fine.
My problem is, I want the bot to also be able to post on its own, in a specific channel. I know the Id of that channel. I want to get a reference to it. But I don't seem to be able to do so.
At runtime, if I call discordSocketClient.GetChannel(channelId), it returns null. If I call discordSocketClient.GetGuild(guildId), I get back a SocketGuild object, but almost everything in it has default values - the Channels, Emotes, Features, Name, Owner, Roles, etc. properties are all null or empty. Of course, If I call guild.GetChannel(channelId), it returns null again.
What could I be doing wrong?

Sounds like you're doing this before the client is ready. Hook into discordSocketClient.Ready and try it there

Thanks, that seemed to be it! A bit confusing though.

It is written in our getting started guide that one should not interact with the client until it is ready.
Also, for future non-erroneous issues, visit us on the Discord API chat. Close the issue if you think the issue has been resolved.

I did wait until ConnectionState was Connected, which I thought was enough. Thanks.


CID 1513221:  Error handling issues

*** CID 1513221:  Error handling issues  (UNCAUGHT_EXCEPT)
/lib/swoc/include/swoc/Vectray.h: 258 in swoc::_1_5_1::Vectray<swoc::_1_5_1::TextView, (unsigned long)8, std::allocator<swoc::_1_5_1::TextView>>::FixedStore::~FixedStore()()
252             this->template emplace_back(std::move(item));
253           }
254         }
255       }
256     }
257
   CID 1513221:  Error handling issues  (UNCAUGHT_EXCEPT)
   An exception of type "std::invalid_argument" is thrown but the exception specification "/*implicit*/noexcept" doesn't allow it to be thrown. This will result in a call to terminate().
258     template <typename T, size_t N, class A> Vectray<T, N, A>::FixedStore::~FixedStore() {
259       for ( auto & item : this->span() ) {
260         std::destroy_at(std::addressof(item));
261       }
262     }
263

Can't find it on Coverity. It may have been already fixed.


Gh action tsc

@robotoer you may want to confirm the output looks correct: https://github.com/collabswarm/collabswarm/runs/3199040701?check_suite_focus=true
And maybe you know a better way to only check changed workspaces - but since they can run in parallel it seems fine.
Lastly, caching of npm-modules does not seem to be working (each workspace is taking 20s to yarn install), but can run in parallel so total time ~ 1 min.

This output does not look correct:
Error: bin/collabswarm-yjs-d.ts(3,47): error TS2307: Cannot find module '@collabswarm/collabswarm' or its corresponding type declarations.
Error: src/collabswarm-yjs.ts(9,8): error TS2307: Cannot find module '@collabswarm/collabswarm' or its corresponding type declarations.
Error: Process completed with exit code 2.

My guess is that the wrong version of yarn/npm/nodejs is being used. Check out the Dockerfile for what gets setup for the dev environment.
Each github actions run creates a new docker container (think: new machine), clones the repo and runs whatever commands are specified in github actions. There is no shared filesystem or data between pipeline runs unfortunately. We'll need to use the github actions cache feature (or someone's prebuilt solution)

Ah, the last run looks correct

Hmmm, I see what you mean. It's a different output than I get locally. Will check the Docker file and cache again.

Confirmed working: https://github.com/collabswarm/collabswarm/actions/runs/1083225677


CSV exported file with users column

Would be really nice to also add a user column in the exported CSV file that contains the OSM username of the editor the reviewed a certain task within a challenge

To gain access to additional data, the CSV export needs to move from the front-end to the backend. maproulette/maproulette2#426 will add support on the server.


aws_sns_topic false positive on 'owner' field

Description

Got this using provider 3.44:
Found changed resources:
    - arn:aws:sns:us-east-1:141177182257:qa-sns-topic (aws_sns_topic_policy):
        + owner: <nil> => "141177182257" (computed)
    - arn:aws:sns:us-east-1:141177182257:sns-qa-1.fifo (aws_sns_topic_policy):
        + owner: <nil> => "141177182257" (computed)

Apply twice TF 1.0 doesn't help
Environment

OS: F34
driftctl version: 0.10.0-pre

How to reproduce

apply this

resource "aws_sns_topic" "fifo" {
  name                        = "sns-qa-1.fifo"
  fifo_topic                  = true
  content_based_deduplication = true
}

resource "aws_sns_topic" "a" {
  name = "qa-sns-topic"
}

then driftctl scan: DCTL_TF_PROVIDER_VERSION=3.44.0 driftctl-0.10.0 scan

Possible Solution

Additional context

            + name_prefix: <nil> => "" (computed)
            + owner: <nil> => "726421854799" (computed)

name_prefix also

            + firehose_failure_feedback_role_arn: <nil> => ""
            + firehose_success_feedback_role_arn: <nil> => ""

False positive for these fields

LGTM in build fa43924-dev!


rewrite regex and my editor fixed trailing whitespace

replaces /{[^]*/gm with /{.*$/gm
per https://github.com/gabelerner/canvg/issues/351
I don't have IE8 to test but this regex makes more sense

:+1:
@gabelerner can we merge this?

tests?

closing in favor of https://github.com/gabelerner/canvg/pull/432


compose resource - where is service specification and how to run them?

I can't find in the docs how to specify a service in compose resource in dobi.yaml. Also there is no :run task for compose resource type. So the only thing you can do with compose is to run everything with single up command.
This highly limits the use of docker-compose and dobi together and the only way to workaround this is to create lots of duplicating docker-compose files (for every possible invocation) with duplicating specifications. Needless to say it's hard to maintain. And seeing all this I give up on using Dobi one more time :(

So the only thing you can do with compose is to run everything with single up command.

That is correct, that is by design. The way to support individual services would be to define them in the dobi.yaml (issue #45)

And seeing all this I give up on using Dobi one more time

I'm sorry to hear that dobi isn't working for your use case. I must admit I don't really understand what it is you are trying to accomplish. It could be that a service resource is really necessary to satisfy your use case.  Since that feature is already being tracked in #45 I'm going to close this issue.

While #45 sounds like a must have feature - yeah - I don't see how it's gonna cover the lack of run or service specifications. So this is a feature request:

extend composer resource with service field to be able to reference different parts.
add :run task to composer resource.

I must admit I don't really understand what it is you are trying to accomplish.

Just a simple thing: to use docker-composer with dobi. And currently that not possible. You left us only 'up' thing, as if it were the main thing in docker-compose while it's actually not.
I came here from a discussion in docker-compose issue queue, where we have been requesting ~for years~ for a long time for some simple feature like making a service not required (not default), and despite of hundreds of votes for this feature, we were told that the view of the developers is different, it is so that docker-compose is more a service oriented thing, for task-oriented stuff - check out dobi. While nobody can really explain wtf does that mean.

add :run task to composer resource.

docker-compose run is really a problem. It's using a service definition as a job. This is one of the major problems that I'd like to fix with dobi. docker-compose run should be replaced with job= tasks.

You left us only 'up' thing, as if it was the main or only thing in docker-compose while it's actually not.

I really should be the main thing that docker-compose does (along with down).  Everything else doesn't really fix well with the design.

docker-compose is more a service oriented thing, for task-oriented stuff - check out dobi. While nobody can really explain wtf does that mean.

tasks -> short lived, interactive (has a tty and stdin) processes that are expected to exit with a status code that indicates if they were successful or failed. (Ex: build a binary, run a test suite, etc)
services -> long lived processes that should never exit (unless the user explicitly requests it to stop), where a user or some other process interacts with it through an API (socket, TCP). (Ex: http server, database, message queue server, etc)

Both of these types of processes use containers, but they have very different properties and need to be treated differently in an automated build system.

docker-compose run is really a problem. It's using a service definition as a job. This is one of the major problems that I'd like to fix with dobi. docker-compose run should be replaced with job= tasks.

I'm totally agree with you that mixing up services and jobs makes the whole system kind of obscure.
Also, I approve your definition of task and service, and recollecting some details of the discussion I'm referencing - the main request was to make some services optional. I barely can imagine a use case for that, but it's clear that people were trying to use services as tasks.


Take screenshot of Controls

Closes #317
Test Code
import flet as ft

def main(page):
    page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
    page.on_error = lambda e: print(e.data)

    def handle_click(e):
        page.add(ft.Image(src_base64=page.take_screenshot(c.uid)))

    page.add(
        c := ft.Container(content=ft.Text("Hello, World!"), bgcolor=ft.colors.RED_200),
        ft.OutlinedButton("Take ScreenShot", on_click=handle_click),
    )

ft.app(target=main)

Note
Getting the below error with the current implementation:
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following StoreProviderError<StoreProvider<AppState>> was thrown building
StoreConnector<AppState, ControlViewModel?>-[<'_2'>](dirty):
Error: No StoreProvider<AppState> found. To fix, please try:

  * Wrapping your MaterialApp with the StoreProvider<State>,
  rather than an individual Route
  * Providing full type information to your Store<State>,
  StoreProvider<State> and StoreConnector<State, ViewModel>
  * Ensure you are using consistent and complete imports.
  E.g. always use `import 'package:my_app/app_state.dart';

If none of these solutions work, please file a bug at:
https://github.com/brianegan/flutter_redux/issues/new

The relevant error-causing widget was:
  StoreConnector<AppState, ControlViewModel?>-[<'_2'>]
  StoreConnector:file:///Users/ndonkohenri/PycharmProjects/flet-dev/flet/packages/flet/lib/src/controls/create_control.dart:121:10

When the exception was thrown, this was the stack:
#0      StoreProvider.of (package:flutter_redux/flutter_redux.dart:78:27)
#1      StoreConnector.build (package:flutter_redux/flutter_redux.dart:324:28)
#2      StatelessElement.build (package:flutter/src/widgets/framework.dart:5550:49)
#3      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5480:15)
#4      Element.rebuild (package:flutter/src/widgets/framework.dart:5196:7)
#5      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5462:5)
#6      ComponentElement.mount (package:flutter/src/widgets/framework.dart:5456:5)
...     Normal element mounting (7 frames)
#13     Element.inflateWidget (package:flutter/src/widgets/framework.dart:4335:16)
#14     Element.updateChild (package:flutter/src/widgets/framework.dart:3846:18)
#15     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/adapter.dart:143:16)
#16     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/adapter.dart:112:5)
#17     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/adapter.dart:61:18)
#18     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2844:19)
#19     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/adapter.dart:60:13)
#20     ScreenshotController.widgetToUiImage (package:screenshot/screenshot.dart:192:16)
#21     ScreenshotController.captureFromWidget (package:screenshot/screenshot.dart:102:28)
#22     takeScreenshot (package:flet/src/utils/screenshot.dart:16:8)
#23     appReducer (package:flet/src/reducers.dart:301:15)
#24     Store._createReduceAndNotify.<anonymous closure> (package:redux/src/store.dart:235:28)
#25     Store.dispatch (package:redux/src/store.dart:267:27)
#26     FletServer._onMessage (package:flet/src/flet_server.dart:237:16)
#27     FletWebSocketServerProtocol._onMessage (package:flet/src/flet_server_protocol_web_socket.dart:56:14)
#45     new _WebSocketImpl._fromSocket.<anonymous closure> (dart:_http/websocket_impl.dart:1144:21)
#51     _WebSocketProtocolTransformer._messageFrameEnd (dart:_http/websocket_impl.dart:332:23)
#52     _WebSocketProtocolTransformer.add (dart:_http/websocket_impl.dart:226:46)
#60     _Socket._onData (dart:io-patch/socket_patch.dart:2447:41)
#67     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1936:33)
#68     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379:14)
(elided 37 frames from dart:async)

File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\site-packages\flet_core\page.py", line 528, in wrapper
handler(*args)
File "c:\Users\Muddassir Farooq\Desktop\Python Projects\Flet Projects\Ambassadors\test.py", line 9, in handle_click
page.add(ft.Image(src_base64=page.take_screenshot(c.uid)))
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Page' object has no attribute 'take_screenshot'

File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\concurrent\futures\thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Muddassir Farooq\AppData\Local\Programs\Python\Python312\Lib\site-packages\flet_core\page.py", line 528, in wrapper handler(*args) File "c:\Users\Muddassir Farooq\Desktop\Python Projects\Flet Projects\Ambassadors\test.py", line 9, in handle_click page.add(ft.Image(src_base64=page.take_screenshot(c.uid))) ^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Page' object has no attribute 'take_screenshot'

It wasn't merged yet


We should not start processing gossips until initialization is finished

In current implementation we would start listening and processing gossips from the network as soon as we start the daemon. And there's a problem with that in integration test, because with eager bootstrap, there would be an initialization phase which blocks bootstrap controller from consuming the transitions from gossip. This would cause the transitions being stacked up in bootstrap_pipe in transition_router and possibly leads to an overflow in that pipe.
There's 2 possible solution to that:

Do not start listening to gossips until initialization is finished or failed.
Do not start processing gossips related to transitions until initialization is finished or failed.

The first option is more conservative because I don't think we should not start processing gossips related to transactions until we have a working transition frontier because of the nonce issue. For this reason, I even want hold off transaction-related gossip processing until catchup finishes. And it's less meaningful to processing gossips related to transitions because we would gather best tip from peers during initialization phase. From bootstrap's point of view, best tip from the peers is the only thing we need to make bootstrap controller. start working.

We already reject all gossipped incoming transactions if the frontier isn't
available. When it is available we validate them based on the current best
tip, which may be out of date during catchup. If we turned off processing
during catchup we'd lose potentially valuable transactions sometimes.
On Tue, Oct 1, 2019 at 2:36 PM ghost!@shell <EMAIL_ADDRESS>wrote:

In current implementation we would start listening and processing gossips
from the network as soon as we start the daemon. And there's a problem with
that in integration test, because with eager bootstrap, there would be an
initialization phase which blocks bootstrap controller from consuming the
transitions from gossip. This would cause the transitions being stacked up
in bootstrap_pipe in transition_router and possibly leads to an overflow
in that pipe.
There's 2 possible solution to that:

Do not start listening to gossips until initialization is finished
or failed.
Do not start processing gossips related to transitions until
initialization is finished or failed.

The first option is more conservative because I don't think we should not
start processing gossips related to transactions until we have a working
transition frontier because of the nonce issue. For this reason, I even
want hold off transaction-related gossip processing until catchup finishes.
And it's less meaningful to processing gossips related to transitions
because we would gather best tip from peers during initialization phase.
From bootstrap's point of view, best tip from the peers is the only thing
we need to make bootstrap controller. start working.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CodaProtocol/coda/issues/3543?email_source=notifications&email_token=AAAPATMSYD45KKLCV6QEKRDQMO7GPA5CNFSM4I4PEBCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HO7CU7A,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAPATJBPPCWJ2VKQSUGW2LQMO7GPANCNFSM4I4PEBCA
.

@ghost-not-in-the-shell will talk with @enolan and produce a state transition diagram to explain initialization -- this should fix secular grail

put the state transition diagram on discourse (the forums)

I already have a hack that mitigates the bootstrap overflow in integration tests: #3545. But I still believe the right thing to do is that postpone the procession of gossip until initialization finishes. After discuss with @enolan, I realized that the transaction_pool_diff and snark_pool_diff, those gossips would be discarded until we have a working frontier. I believe we should do the same for new_state gossip too (discard those gossip until initialization finishes which is exactly what I did in #3545).
This PR #3653 contains a diagram I draw that reflects the control flow of transition router.

@ghost-not-in-the-shell suggests waiting til libp2p lands to implement this diagram