Upgrade template Gradle, App AGP, Module AGP, and Kotlin versions, and tests

After the land of https://github.com/flutter/engine/pull/53592, there is some log spam:
e: /Users/mackall/.gradle/caches/transforms-3/c1e137371ec1afe9bc9bd7b05823752d/transformed/fragment-1.7.1/jars/classes.jar!/META-INF/fragment_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /Users/mackall/.gradle/caches/transforms-3/d86c7cb1c556fe1655fa56db671c649c/transformed/jetified-activity-1.8.1/jars/classes.jar!/META-INF/activity_release.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
...

I think this is harmless, but still annoying. Upgrading the AGP version fixes it. To be honest, I don't know why (I expected the Kotlin version would do it). But after https://github.com/flutter/flutter/pull/146307, our tests have been running on AGP/Gradle 8.1/8.3 for a while, so it makes sense to upgrade anyways.
In a follow up PR:

Also upgrade the tests that were left behind in https://github.com/flutter/flutter/pull/146307, as I think removal of discontinued plugins paved the way here.

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[ ] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

TODO: The tests in test/android_preview_integration.shard/flutter_build_preview_sdk_test.dart will fail because that shard uses Java 11.
They were living on the same shard as the Gradle tests because they conveniently worked with Java 11, and this was a good shard to isolate to that Java version. But now this convenience is gone (the lower bounds that we are testing for Gradle are 7.0.x version which don't support Java 17, so they can't live a Java 17 shard and the preview tests can't live on a Java 11 shard because they use the updated templates).

The justification why another shard is needed is that the dependency checking tests need Java 11, and not the preview sdk. And the preview tests now need Java 17 (unless we hardcode old Gradle versions, right now they use create).
And this set is also different from the main shard, which uses Java 17 and the stable (not preview) android sdk.

The justification why another shard is needed is that the dependency checking tests need Java 11, and not the preview sdk. And the preview tests now need Java 17 (unless we hardcode old Gradle versions, right now they use create).
And this set is also different from the main shard, which uses Java 17 and the stable (not preview) android sdk.

Yeah, this is ugly, and not efficient with CI resources, but I can't think of a better short-term solution, so I think this is fine. FYI @andrewkolos
Long-term, it might be worth having the tool_integration_tests install multiple JDKs and such in the same build, and then allowing individual tests to select the one they want to test. This would require additional design, however.

Agreed on the wish to have multiple JDKs, and then configure per test

Reason for revert: Failing test in https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8743574743030691569/+/u/run_android_obfuscate_test/stdout

Hmm, looks like this breaks building modules as AARs.
TODO:

Figure out why
The test that we can build a module as an AAR should probably run in presubmit if we change the templates for modules, so add that to the reland.

https://docs.gradle.org/7.3/javadoc/org/gradle/api/Project.html#getComponents--
https://docs.gradle.org/8.8/javadoc/org/gradle/api/Project.html#components(org.gradle.api.Action)
looks like they added a parameter at some point.

I think it is because of
https://developer.android.com/build/releases/past-releases/agp-8-0-0-release-notes

AGP 8.0 creates no SoftwareComponent by default. Instead AGP creates SoftwareComponents only for variants that are configured to be published using the publishing DSL.

And we need to follow https://developer.android.com/build/publish-library/configure-pub-variants, or otherwise change how we are initializing the Aar task.


database: avoid regenerating password (PROJQUAY-2319)

Proceed to store database root password the same way we do for the
DB_URI. By doing that we avoid postgres redeployment during every
reconcile cycle.
This is a cherry-pick of https://github.com/quay/quay-operator/pull/501

After a recent rebase by @jonathankingfc this PR is not needed anymore.


fix(ci): add wait_process_exit in backwards compat test

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
We need to include it in backwards compat tests as well.

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

does it need to be in 1.7?

Okay I will cherry pick it in. Perhaps for 1.7s CI. Main issue it causes is flaky backwards compatibility tests.


fix(server): always return a JSON object

https://coveord.atlassian.net/browse/CDX-220

Mhhh... I would maybe type check err.
If it's an (error)[https://nodejs.org/api/errors.html#errors_class_error], maybe just add a statusCode and bubble it right up.
The Oopsy something brokey is always a bit frustrating tbh

Do you want to bubble up only the error message or the entire object (with the error stack)?
It's not like we are only returning an Oopsy message without no other message to the frontend. The error error stack trace will be printed in the terminal.

Mhhh... I would maybe type check err.
If it's an (error)[https://nodejs.org/api/errors.html#errors_class_error], maybe just add a statusCode and bubble it right up.
The Oopsy something brokey is always a bit frustrating tbh

Do you want to bubble up only the error message or the entire object (with the error stack)?
It's not like we are only returning an Oopsy message without no other message to the frontend. The error error stack trace will be printed in the terminal.

I think it's OK as it stands, I don't know what the error could be.
If we find out that there's too man oopsy message, we'll improve.


ESP32-C3 Incorrect wakeup cause with GPIO, resulting in RTC reset (IDFGH-10209)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0.2
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-C3 rev v0.3 on custom board
Power Supply used.
External 3.3V
What is the expected behavior?
The ESP32-C3 board should reliably wake up from deep sleep when a connected button (with external pull-up) on GPIO5 is pressed. This should be consistently signaled with a wakeup cause of rst:0x5 (DSLEEP). The RTC time and memory should be maintained across deep sleep cycles.
What is the actual behavior?
The ESP32-C3 board does not reliably wake up from deep sleep when the connected button on GPIO5 is pressed. Occasionally, instead of waking up from deep sleep, the system performs a full power-on reset (signaled by rst:0x1 (POWERON)) which resets the RTC time and memory.
Steps to reproduce.

Connect a button with an external pull-up resistor to GPIO5.
Flash the provided code onto an ESP32-C3 board.

#define WAKETEST_GPIO_NUM 5

void app_main(void)
{

    printf("*  Reset reason:  ");
    switch (rtc_get_reset_reason(0))
    {
    case 1:
        printf("POWERON_RESET");
        break; /**<1,  Vbat power on reset*/
    case 3:
        printf("SW_RESET");
        break; /**<3,  Software reset digital core*/
    case 5:
        printf("DEEPSLEEP_RESET");
        break; /**<5,  Deep Sleep reset digital core*/
    case 7:
        printf("TG0WDT_SYS_RESET");
        break; /**<7,  Timer Group0 Watch dog reset digital core*/
    case 8:
        printf("TG1WDT_SYS_RESET");
        break; /**<8,  Timer Group1 Watch dog reset digital core*/
    case 9:
        printf("RTCWDT_SYS_RESET");
        break; /**<9,  RTC Watch dog Reset digital core*/
    case 10:
        printf("INTRUSION_RESET");
        break; /**<10, Instrusion tested to reset CPU*/
    case 11:
        printf("TGWDT_CPU_RESET");
        break; /**<11, Time Group reset CPU*/
    case 12:
        printf("SW_CPU_RESET");
        break; /**<12, Software reset CPU*/
    case 13:
        printf("RTCWDT_CPU_RESET");
        break; /**<13, RTC Watch dog Reset CPU*/
    case 15:
        printf("RTCWDT_BROWN_OUT_RESET");
        break; /**<15, Reset when the vdd voltage is not stable*/
    case 16:
        printf("RTCWDT_RTC_RESET");
        break; /**<16, RTC Watch dog reset digital core and rtc module*/
    default:
        printf("NO_MEAN");
    }
    printf("\n");

    printf("*  WakeUp reason: ");
    switch (esp_sleep_get_wakeup_cause())
    {
    case ESP_SLEEP_WAKEUP_EXT0:
        printf("Wakeup caused by external signal using RTC_IO");
        break;
    case ESP_SLEEP_WAKEUP_EXT1:
        printf("Wakeup caused by external signal using RTC_CNTL");
        break;
    case ESP_SLEEP_WAKEUP_TIMER:
        printf("Wakeup caused by timer");
        break;
    case ESP_SLEEP_WAKEUP_TOUCHPAD:
        printf("Wakeup caused by touchpad");
        break;
    case ESP_SLEEP_WAKEUP_ULP:
        printf("Wakeup caused by ULP program");
        break;
    case ESP_SLEEP_WAKEUP_GPIO:
        printf("Wakeup caused by GPIO");
        break;
    default:
        printf("Wakeup was not caused by deep sleep: %d\n", esp_sleep_get_wakeup_cause());
        break; // printf(""); //
    }
    printf("\n");

    vTaskDelay(2000 / portTICK_PERIOD_MS);

    printf("Entering deep sleep...\n\n");

    fflush(stdout);

    const gpio_config_t config = {
        .pin_bit_mask = BIT(WAKETEST_GPIO_NUM),
        .mode = GPIO_MODE_INPUT,
    };
    ESP_ERROR_CHECK(gpio_config(&config));
    ESP_ERROR_CHECK(esp_deep_sleep_enable_gpio_wakeup(BIT(WAKETEST_GPIO_NUM), ESP_GPIO_WAKEUP_GPIO_LOW));
    esp_deep_sleep_start();
}

Press the connected button to attempt to wake the board from deep sleep.

Debug Logs.
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x3ac
load:0x403cc710,len:0x6c0
load:0x403ce710,len:0x24d0
entry 0x403cc710
*  Reset reason:  POWERON_RESET
*  WakeUp reason: Wakeup was not caused by deep sleep: 0

Entering deep sleep...

ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x3ac
load:0x403cc710,len:0x6c0
load:0x403ce710,len:0x24d0
entry 0x403cc710
*  Reset reason:  POWERON_RESET
*  WakeUp reason: Wakeup was not caused by deep sleep: 0

Entering deep sleep...

More Information.
The issue was observed while using the Arduino core v2.0.9 and ESP-IDF v5.0.2. The same behavior occurred with a button connected to GPIO3 with external pull-down. This issue seems to occur when the button is clicked after entering deep sleep; if the button is held before entering deep sleep, the wakeup works as expected.
In contrast, waking up the ESP32-C3 from deep sleep using the timer works perfectly, indicating that the issue is specific to GPIO wakeups.
I have tried nearly every possible workaround that I could think of and searched extensively for solutions, but none has resolved the issue. The goal is for the system to not reset RTC time or memory on wakeup.
This issue has proven to be a significant stumbling block, and I would greatly appreciate any assistance in resolving it. This behavior limits the usability of the ESP32-C3 for my project, as maintaining RTC across deep sleep cycles is a key requirement.

I have recently tested this issue with ESP-IDF v5.2 and it appears to function perfectly, without experiencing the incorrect wakeup cause from GPIO or RTC reset. However, for my project requirements, I need this to work with ESP-IDF v4.4 (because of Arduino framework). It would be really helpful if someone could guide me on the necessary changes to make this work with v4.4. Any advice or insights into this would be greatly appreciated. Thank you!

@Pavelovec Hello, I am unable to reproduce your issue. I am using the release/v4.4 branch with the commit: 8b94183c9cb47ede8f02df5598d8b9d68c754860.

@Pavelovec
Are you using v4.4 release? If so, can you try if v4.4.5 release work?
If you are using v4.4 branch, what's your 'git describe' output?

@Pavelovec Are you using v4.4 release? If so, can you try if v4.4.5 release work? If you are using v4.4 branch, what's your 'git describe' output?

Yes, I am using the v4.4 release. I've just tried the v4.4.5 release as you suggested, but unfortunately, the problem still exists.

I can conform that the same thing happens for me. I have tried waking up on pins #2 and #4. I am set to a LOW level wake-up.
Variables set in the RTC memory are reset and the wake up cause is always shown as 0
I am using the Arduino IDE by the way.

@bricomp hello, can you please tell me the commit you working on and the menuconfig you modified or other details, I will take action to solve this problem.

@Pavelovec  @bricomp Can you provide samples to help me reproduce the problem? Thank you.

Hi @10086loutianhao I have found the source of the problem and I am able to work arround it.
The problem is that if the SerialMonotor is open the ESP32C3 does NOT wake up properly from deep sleep. I am using the VISUAL MICRO (ARDUINO Based) IDE.
Now that I know where the problem lies I can work around it.
By the way I presented a sketch that showed the problem at the start of my submission!!!

@10086loutianhao Apologies for the delay in responding. I hadn't noticed your question earlier. The example code is indeed in the "Steps to reproduce" section. I haven't made any modifications in menuconfig; the issue seems to be specific to the ESP-IDF version, as it works perfectly with ESP-IDF v5.2.

Based on this commit: https://github.com/espressif/esp-idf/commit/1b04acf68f06995208c84f3cc6fbc475279ece10, I have implemented the changes in esp-idf v4.4. After thorough testing, it appears that these changes work perfectly and have resolved the initial issue.  My hope is that they won't introduce any new complications. I believe this issue can now be closed.

I am still experiencing this issue with the esp32c3.
I've tried multiple idf versions and the issue remains. After deep sleep esp_sleep_get_wakeup_cause() will always return zero and rtc memory is lost.
I've tested v5.1, v5.1.2, 5.2 and 5.3.

I have the same issue but I think it's because I have interrupts attached to pin changes. So first wake cause is correct but then watchdog triggers reboot which cleans rtc memory.

If you encounter any problems you wish to solve, please create a new issue and provide the necessary information for reproduction. Thank you


Shift Anti Drag without Shift

Shift Anti Drag should be allowed to function without holding shift. This is a core feature of PVP clients and the only reason why many players do not use RuneLite for Clan Wars. RuneLite has features such as player indicator tile highlighting which would make RuneLite desireable as a PVP client, but it is currently a bad client for PKers because there is no anti drag.
This feature is vital, because it stops food items from dragging while spam clicking pizzas in f2p, or while triple/quad eating in p2p during moments of panic.
This issue is under rejected issues because,
"General Anti-Drag: People complained and we decided to remove it as no other clients have it (see #3200)"
Which is an invalid/incorrect reason, as the Exilent client supports general anti drag and it is a core feature for PKers.
Proof: https://exilent.org/wiki/Anti_drag
Instead of removing the feature, it should be a check box that is not enabled by default, so as to not interfere with PVM players. There is currently no valid reason listed why this feature should not be in RuneLite. The code is already written, and disabling it by default would address PVM players' concerns with the feature while allowing for it to be used by bossers and Pkers.

It was removed intentionally due to community backslash and also decision of admins/people in Discord. We will not be bringing it back.
Pking 3rd party clients are also not excuse to implement the feature, because many of them have features that are against Jagex rules, or what Jagex requested to be removed in past.


revert: bump quarkus-github-app.version from 2.3.3 to 2.4.0

Revert this dependency update because it causes test to fail.
This reverts commit 1a0b2a7d2c56634c83af07b9deb6c45860ad6921.
See also #397

seems like the test RepositoryServiceTest.testInvalidBranch is flaky, because it also the one, which failed on main branch.


Update globals.crox

change drop_add_param to fractal_join_param

Ah, thanks for catching this!
The updates in globals.crox is definitely correct and much appreciated. However, we can't just remove one of the dropouts like that - it will make the list too short. The correct way of handling it would be checking if dropout > 0 and only then add a dropout layer.
Unfortunately I didn't catch this, because if I remember correctly I have made dropout=0 permissible in my version of Caffe.
If you remove the commit updating fractalnet.py, I can merge the globals.crox fix first and then we can address the dropout issue separately.

I've made a new pull request.


Add Skeleton

@benoitgrelard should we handle the text field issue on your screenshot? I saw it before in WorkOS UIs and understand that it happens because of our fancy prop forwarding, but can't come up with anything better than special-casing the text field in CSS.

@vladmoroz I wasn't sure whether it was intentional or not, given that the WorkDS docs call out specifically usage with interactive components (calling out hover/focus states, etc):

What is the intended behaviour?

@benoitgrelard it's not intended, it got broken in WorkDS when we changed TextField to Radix Themes

@vladmoroz I have done a pass on every single component https://github.com/radix-ui/themes/pull/188/commits/72d76eb9177b190bb5c8cc49d7cfd677230ad35c:

These are the adjustments I made:

Add inert to Skeleton
Checkbox, RadioGroupItem, Slider & Switch: Lift up border-radius so it is correct when wrapped in Skeleton
Special CSS handling for:

Slider: Ensure the correct height is used when wrapped in Skeleton
TextFieldInput: Ensure correct visual and cursor used when wrapped in Skeleton

@benoitgrelard also let's bikeshed the API tomorrow, there's a couple things that have felt slightly annoying since we've been using it in WorkDS:

Something like a loading prop idea has come up a few times, e.g. <Skeleton loading={isLoading}> to render it conditionally
We should discuss whether Skeleton should support width and height props that'd take both arbitrary and space scale values. The way it is now feels like too much friction for building throwaway loading states.

Supporting both arbitrary and space scale values is something that has been on my mind for all layout components too; somewhere on a local branch I have a PoC of a much better approach than what we have for Grid. I can work on that as a next step once we agree on the API

Something like a loading prop idea has come up a few times, e.g.  to render it conditionally. Otherwise the code gets easily littered with ternaries.

On that point, I'm not sure what's worse to be honest. I feel like most of the time we end up reproducing chunks of UIs in skeletons with an early return.

On that point, I'm not sure what's worse to be honest. I feel like most of the time we end up reproducing chunks of UIs in skeletons with an early return.

That’s partly a product of not having a smooth DX for the Skeleton. Also this would be even more relevant for UIs that are mostly static and have just a couple individual pieces that might need to load the data client-side; that's when you'd always do granular ternaries in the JSX.


Errors on creating a target dataset and searching against it.

Fail to compile a FASTA sequence with 'X' token
Error report:
warnings.warn(f"{seq.id} has characters that do not encode amino acids. The Sequence has not been added", UnexpectedCharSeq)
{'X'}
And then it caused the following problem when i try to create a target dataset:
ValueError: The length of the embedding file and the sequence df are different.

However, 'X' is common in many protein datasets.

Mistake in ./scripts/run_plm_blast.py
Traceback (most recent call last):
File "...", line 214, in
raise ValueError(f'The length of the embedding file and the sequence df are different: {query_df.shape[0]} != {len(query_emb)}')
NameError: name 'query_emb' is not defined.

Thanks for your response!

Thank you for bringing this to our attention. We will look into it.

By the way, the commond embeddings.py database.csv database -embedder pt -cname sequence --gpu -bs -1 --asdir looks weird.

Why not python embeddings.py but embeddings.py.
In addition, the setting of -bs -1 seems to cause the following error.
Traceback (most recent call last):
File "embeddings.py", line 14, in
df, num_batches = prepare_dataframe(df, args. batch_size, args. truncate)
File "embedders/parser.py", line 153, in prepare_dataframe
batch_iterator = make_iterator(df['seqlens'].tolist(), batch_size)
File "embedders/parser.py", line 170, in make_iterator
if startbatch[-1] != seqnum:
IndexError: list index out of range
After I changed to -bs 1, it worked fine. I don't know if I understand it wrong here.

Thanks for the info. Indeed, there seems to be a problem with the adaptative batch size. We will fix it soon.

Hi guys, great to see your replies, thanks again for sharing such awesome work.
In fact, I just ran through the pLM-BLAST Pipeline completely, including the pairwise alignment based on "Use in Python---Simple example" and "Searching a database".
Next, I will share my steps, some problems I encountered, and my temporary solutions, hoping to help you improve your work.
1. Use in Python---Simple example
In fact, this was done so successfully that I had no problems here.
2. Searching a database
I encountered some difficulties in this pipeline, next I will share my steps, the problems I encountered and my temporary solution.

Failed to make database, cannot recognize X

Error
#When making a database:
warnings.warn(f"{seq.id} has characters that do not encode amino acids. The Sequence has not been added", UnexpectedCharSeq)
and further lead to
ValueError: The length of the embedding file and the sequence df are different:

#When searching:
./scripts/run_plm_blast.py", line 160, in aa_to_group
     assert False

Solution:
Add X to the following two pieces of code
if set(seq.seq) - set('QWERTYIPASDFGHKLCVNMX') != set():
    print(set(seq.seq) - set('QWERTYIPASDFGHKLCVNMX'))

def aa_to_group(aa):
    for pos, g in enumerate(['GAVLI', 'FYW', 'CM', 'ST', 'KRH', 'DENQ', 'P', '-X']):
        g = list(g)
        if aa in g: return pos
    assert False

batch_size is set to -1

Error
Traceback (most recent call last):
File "embedders/parser.py", line 170, in make_iterator
     if startbatch[-1] != seqnum:
     IndexError: list index out of range

Solution:
After I changed to -bs 1, it worked fine. I don't know if I understand it wrong here.

Kernel size conflict

Error
RuntimeError: Calculated padded input size per channel: (25 x 64). Kernel size: (30 x 64). Kernel size can't be greater than actual input size

Solution:
Change the kernel_size below to 25
def chunk_cosine_similarity(query : th.Tensor,
                             targets : List[th.Tensor],
                             quantile, dataset_files : List[str],
                             stride = 3, kernel_size = 25) -> List[dict]:

Some other small issues that may confuse users

embeddings.py should be python embeddings.py; dbtofile.py should be scripts/dbtofile.py; name query_emb is not defined; exceptions caused by the inability to automatically process fasta files with a length exceeding 1000, etc.
Overall, pLM_BLAST is a very good job, correcting the above issues will hopefully improve the user-friendliness of plm_blast and make it even better.
Thank you all again and have a nice day.:relaxed:

Hi, thanks for your feedback. All bugs should be fixed for now.
Comments:

the batch size -1 was misleading it should be set 0 for which embeddings.py uses adaptative batch size to speed embedding calculations. The description of embeddings.py now shows correct help message
chunk_cosine_similarity should now set kernel_size  by its own - kernel must be >= then shortest sequence


Add a makefile that compiles and installs

At the moment, it's a little unclear what you're supposed to do to
get "hr" transformed from a block of C into a binary that you can use.
This commit adds a make file that compiles (and optionally installs)
the binary so it's easier to use.
Closes #1

There's a couple of things that need adjusting before I can merge this.
Makefiles should respect two key things, a prefix and a destination directory. By default, the prefix will be /usr/local, but is typically set to /usr for the purposes of packaging software for a distribution. Using the latter will install the resulting binary to /usr/bin/hr rather than /usr/local/bin/hr, which is the convention for software installed through a package manager.
The other thing (again for the purposes of creating a package) is that you definitely don't want to be installing things directly into your system's /usr directory. Typically you'll build software in a temporary directory, and then pass a destination directory (DESTDIR) to make install to have it "install" the files resulting from the build process in a different temporary directory. For example, I might say to make install, "install" the package into /tmp/mybuild/hr, and then the resulting binary would appear at /tmp/mybuild/hr/usr/bin/hr (assuming I also used the prefix /usr). The contents of /tmp/mybuild/hr can then simply be tarred up and distributed as a package.
You can find out more about prefix and DESTDIR here http://stackoverflow.com/questions/11307465/destdir-and-prefix-of-make and I know you can find plenty more around the web.
However, given we definitely don't want to bother with the overblown automake system to generate configure scripts that generate makefiles, you'll need to improvise, and just support the prefix directly in the makefile.
Secondly, it's incorrect to directly test the location of gcc in /usr/bin. Similarly to how someone may not be installing the binary directly into the root directory /, someone may be using their own compiler that they compiled/installed themselves in a totally different location. Instead of hard-coding the compiler being used, you should support the makefile CC variable. Typically it will default to cc. Make will look up cc in the user's PATH, and on most Linux systems it will find cc in /usr/bin/cc, and it will be a symlink to /usr/bin/gcc. Users can then override the default compiler by passing the CC variable (the same way the DESTDIR variable is passed).

This project now uses autotools to generate the Makefile necessary for building and compiling the software.


openssl fails to build if path contains spaces

I have fixed the dynamic build, but the static build still fails in the presence of spaces.

Fixed with 463862b94bbad473452605f9f2b3e3d25abb8816.


Text effects such as outline and drop shadow

They can be used to enhance contrast on uneven backgrounds.
An example from Google Maps:

May be useful: https://www.rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/


🐛 [Firebase Messaging] enabling backgroundMessages causes hot reload/restart to break

Bug report
In order to enable background messaging, I created a file Application.kt and referenced it. Since the docs are outdated and not in Kotlin, I went with this, as suggested in stackoverflow :
class Application : FlutterApplication(), PluginRegistrantCallback {

    override fun onCreate() {
        super.onCreate()
        FlutterFirebaseMessagingService.setPluginRegistrant(this);
    }

    override fun registerWith(registry: PluginRegistry?) {

       //GeneratedPluginRegistrant.registerWith(registry); // according to the docs, but this causes an error

    io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin.registerWith(registry?.registrarFor("io.flutter.plugins.firebasemessaging.FirebaseMessagingPlugin"));

    }
}

This works well for receiving background messages.
I also can start the app, however after 2-3 hot reloads all further hot reloads or restarts get stuck. I don't receive any error messages, just the hot reload process never finishes. I have to completely stop the run process and start it again with F5 (using VS Code).
If I comment out the registration of the Plugin in the Application.kt, hot reload works normally so it is definately due to firebase_messaging.
Either the docs are wrong (they need an update either way) or this seems to be a bug.
Expected behavior
Having background messages and making use of the flutter hot reload functionality normally ;-)

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
flutter doctor -v
[√] Flutter (Channel master, 1.25.0-5.0.pre.53, on Microsoft Windows [Version 10.0.18363.1198], locale de-DE)
    • Flutter version 1.25.0-5.0.pre.53 at C:\flutter
    • Framework revision 20ca6997b8 (4 hours ago), 2020-12-04 01:23:04 +0800
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\Cri\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 45.0.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.51.1)
    • VS Code at C:\Users\Cri\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.16.0

[√] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)                         • edge          • web-javascript • Microsoft Edge 86.0.622.56

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
flutter pub deps -- --style=compact
Dart SDK 2.12.0-76.0.dev
Flutter SDK 1.25.0-5.0.pre.53
micomida 1.0.0+1

dependencies:
- cupertino_icons 1.0.0
- device_info 0.4.2+9 [flutter device_info_platform_interface]
- dio 3.0.10 [http_parser path]
- dio_http_cache 0.2.11 [flutter quiver json_serializable json_annotation dio sqflite path crypto]
- easy_debounce 1.0.2 [flutter]
- email_validator 1.0.6
- enum_to_string 1.0.13
- firebase_messaging 7.0.3 [meta flutter firebase_core]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_cupertino_localizations 1.0.1 [flutter flutter_localizations]
- flutter_dotenv 2.1.0 [flutter meta]
- flutter_linkify 4.0.2 [flutter linkify]
- flutter_local_notifications 3.0.1+6 [flutter platform flutter_local_notifications_platform_interface timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_map 0.10.1+1 [flutter tuple latlong positioned_tap_detector transparent_image async flutter_image cached_network_image sqflite path_provider vector_math proj4dart meta]
- get_it 5.0.1 [async meta]
- image_picker 0.6.7+12 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- infinite_scroll_pagination 2.2.2 [flutter sliver_tools]
- intl_phone_number_input 0.5.2+2 [flutter meta libphonenumber equatable]
- location 3.1.0 [flutter meta location_platform_interface location_web]
- multi_image_picker 4.7.14 [flutter meta]
- permission_handler 5.0.1+1 [flutter meta permission_handler_platform_interface]
- progress_dialog 1.2.4 [flutter]
- shared_preferences 0.5.12+2 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sms_autofill 1.2.6 [pin_input_text_field flutter]
- url_launcher 5.7.10 [flutter url_launcher_platform_interface url_launcher_web url_launcher_linux url_launcher_macos url_launcher_windows]
- uuid 2.2.2 [crypto convert]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- _fe_analyzer_shared 11.0.0 [meta]
- analyzer 0.40.4 [_fe_analyzer_shared args charcode cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- ansicolor 1.0.5
- args 1.6.0
- async 2.5.0-nullsafety.3 [collection]
- boolean_selector 2.1.0-nullsafety.3 [source_span string_scanner]
- build 1.5.0 [analyzer async convert crypto logging meta path glob]
- build_config 0.4.2 [checked_yaml json_annotation meta path pubspec_parse yaml]
- cached_network_image 2.3.3 [flutter flutter_cache_manager octo_image]
- characters 1.1.0-nullsafety.5
- charcode 1.2.0-nullsafety.3
- checked_yaml 1.0.2 [json_annotation source_span yaml]
- cli_util 0.2.0 [path]
- clock 1.1.0-nullsafety.3
- collection 1.15.0-nullsafety.5
- console_log_handler 1.1.6 [logging intl ansicolor]
- convert 2.1.1 [charcode typed_data]
- crypto 2.1.5 [collection convert typed_data]
- dart_style 1.3.8 [analyzer args path source_span]
- device_info_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- equatable 1.2.5 [collection meta]
- fake_async 1.2.0-nullsafety.3 [clock collection]
- ffi 0.1.3
- file 6.0.0-nullsafety.4 [meta path]
- firebase_core 0.5.2 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.1 [firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 2.0.0 [flutter path_provider uuid http path sqflite pedantic clock file rxdart]
- flutter_image 3.0.0 [flutter]
- flutter_local_notifications_platform_interface 2.0.0+1 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 1.0.11 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- glob 1.2.0 [async collection node_io path pedantic string_scanner]
- http 0.12.2 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- image_picker_platform_interface 1.1.1 [flutter meta http plugin_platform_interface]
- intl 0.17.0-nullsafety.2 [clock path]
- js 0.6.3-nullsafety.3
- json_annotation 3.1.0
- json_serializable 3.5.0 [analyzer build build_config json_annotation meta path source_gen]
- latlong 0.6.1 [logging console_log_handler validate intl]
- libphonenumber 1.0.2 [flutter meta]
- linkify 3.0.0
- lists 0.1.6
- location_platform_interface 1.0.1 [flutter meta plugin_platform_interface]
- location_web 1.0.0 [flutter flutter_web_plugins location_platform_interface http_parser meta js]
- logging 0.11.4
- matcher 0.12.10-nullsafety.3 [stack_trace]
- meta 1.3.0-nullsafety.6
- mgrs_dart 1.0.1 [unicode]
- node_interop 1.1.1 [js]
- node_io 1.1.1 [node_interop path]
- octo_image 0.3.0 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- path 1.8.0-nullsafety.3
- path_provider 1.6.21 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 0.0.1+2 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 0.0.4+4 [flutter]
- path_provider_platform_interface 1.0.3 [flutter meta platform plugin_platform_interface]
- path_provider_windows 0.0.4+1 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.9.2 [meta]
- permission_handler_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- pin_input_text_field 3.1.1 [flutter]
- platform 3.0.0-nullsafety.4
- plugin_platform_interface 1.0.3 [meta]
- positioned_tap_detector 1.0.3 [flutter]
- process 4.0.0-nullsafety.4 [file path platform]
- proj4dart 1.0.5 [mgrs_dart wkt_parser meta]
- pub_semver 1.4.4 [collection]
- pubspec_parse 0.1.5 [checked_yaml json_annotation pub_semver yaml]
- quiver 2.1.3 [matcher meta]
- rxdart 0.24.1
- shared_preferences_linux 0.0.2+2 [file flutter meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 0.0.1+10 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 1.0.4 [meta flutter]
- shared_preferences_web 0.1.2+7 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 0.0.1+1 [shared_preferences_platform_interface flutter ffi file meta path path_provider_platform_interface path_provider_windows]
- sky_engine 0.0.99
- sliver_tools 0.1.9 [flutter]
- source_gen 0.9.7+1 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0-nullsafety.4 [charcode collection path term_glyph]
- sqflite 1.3.1+2 [flutter sqflite_common path]
- sqflite_common 1.0.2+1 [synchronized path meta]
- stack_trace 1.10.0-nullsafety.6 [path]
- stream_channel 2.1.0-nullsafety.3 [async]
- string_scanner 1.1.0-nullsafety.3 [charcode source_span]
- synchronized 2.2.0+2
- term_glyph 1.2.0-nullsafety.3
- test_api 0.2.19-nullsafety.6 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timezone 0.5.9 [path]
- transparent_image 1.0.0
- tuple 1.0.3 [quiver]
- typed_data 1.3.0-nullsafety.5 [collection]
- unicode 0.2.4 [lists]
- url_launcher_linux 0.0.1+4 [flutter]
- url_launcher_macos 0.0.1+9 [flutter]
- url_launcher_platform_interface 1.0.9 [flutter meta plugin_platform_interface]
- url_launcher_web 0.1.5+1 [url_launcher_platform_interface flutter flutter_web_plugins meta]
- url_launcher_windows 0.0.1+3 [flutter]
- validate 1.7.0
- vector_math 2.1.0-nullsafety.5
- watcher 0.9.7+15 [async path pedantic]
- win32 1.7.3 [ffi]
- wkt_parser 1.0.7
- xdg_directories 0.1.2 [meta path process]
- yaml 2.2.1 [charcode collection string_scanner source_span]

I can reproduce this on the latest master 1.25.0-5.0.pre.65 with firebase_messaging 7.0.3.

flutter doctor -v
[√] Flutter (Channel master, 1.25.0-5.0.pre.65, on Microsoft Windows [Version 10.0.19041.630], locale et-EE)
    • Flutter version 1.25.0-5.0.pre.65 at C:\Development\flutter_master
    • Framework revision 8f3a12f144 (2 hours ago), 2020-12-04 08:42:30 +0100
    • Engine revision 20caf54969
    • Dart version 2.12.0 (build 2.12.0-76.0.dev)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\marku\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.7)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.7.30621.155
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\201.6953283
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at C:\Users\marku\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\203.5981.155
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] Connected device (5 available)
    • SM G950F (mobile)           • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
    • sdk gphone x86 arm (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
    • Windows (desktop)           • windows            • windows-x64    • Microsoft Windows [Version 10.0.19041.630]
    • Chrome (web)                • chrome             • web-javascript • Google Chrome 87.0.4280.88
    • Edge (web)                  • edge               • web-javascript • Microsoft Edge 87.0.664.47

• No issues found!

However, it's worth mentioning that this is already fixed on the dev version and the Application.kt hack is no longer even necessary there. Eventually, the dev version will become stable and this issue will become obsolete.

Any news on this, or when the fixes from the dev branch will be released?

I still have this issue. Solved it now by commenting
FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
[√] Flutter (Channel unknown, 1.25.0-8.2.pre, on Microsoft Windows [Version 10.0.18363.1316], locale de-DE)
• Flutter version 1.25.0-8.2.pre at C:_Dev\Flutter
• Framework revision b0a2299859 (5 weeks ago), 2021-01-05 12:34:13 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
• Android SDK at C:_Dev\AndroidSDK
• Platform android-30, build-tools 30.0.1
• ANDROID_HOME = C:_Dev\AndroidSDK
• Java binary at: C:_Dev\AndroidStudio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.0)
• Android Studio at C:_Dev\AndroidStudio
• Flutter plugin version 51.0.1
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] Connected device (4 available)
• SM G920F (mobile)            • 03157df3a85b0632 • android-arm64  • Android 7.0 (API 24)
• AOSP on IA Emulator (mobile) • emulator-5554    • android-x86    • Android 9 (API 28) (emulator)
• Chrome (web)                 • chrome           • web-javascript • Google Chrome 88.0.4324.150
• Edge (web)                   • edge             • web-javascript • Microsoft Edge 87.0.664.75
• No issues found!

i have this same problem in flutter 2.0.3
When I start firebase the hot reaload hangs

Still happening on firebase_messaging 10.0.2.
I notice the first hot reload is always working, but the hot reload after that is no longer working. Tested it on vscode and notice there are also two main call stacks if i called FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
Is it related?

same problem with flutter version : 2.0.3
i think the problem is caused by
WidgetsFlutterBinding.ensureInitialized();
await Firebase.initializeApp();
FirebaseMessaging.onBackgroundMessage(_firebaseMessaginOnBackground);
in the main method

Hey @Chris1234567899, just to be sure - Have you made the background handler the following as stated in the documentation:

It must not be an anonymous function.
It must be a top-level function (e.g. not a class method which requires initialization).

I'd also recommend updating to the latest firebase_messaging version 11.2.4 so we're on the same page. Thanks.

Closing out due to lack of activity. Thanks.


Draft: Support RMV2

This is my - CURRENTLY INCOMPLETE - work in progress for supporting RMV2.
Don't worry about the number of commits - they're short.
It'll be a while until there is an official release that supports this format, but I hope to make an alpha release soon, and what better time to implement it here than when I'm also doing that for vsweep!
And of course, RMV2 is still a draft and could still get some minor changes (I made some while working on this because I realized that they were necessary - libraries that already work with binary blobs shouldn't require a complete refactor to support RMV2, but should validate that it's valid utf-8 nonetheless).
Things I already know are missing:

filling the timestamp field some other way after removing the result string
adding a test that parses a RMV2 replay
doing something with the extension properties (I wanted to get feedback for that)

And I'm sure there are a lot of other things I haven't considered.
Re: the extension properties: I could have put those into a HashMap, but also realized that I don't know how this library wants to treat information that only some formats provide - so for now, they're just being parsed, not put anywhere.
In general, please let me know if there is anything I should change or do differently!
I usually try to make my code consistent with the code around it, so I feel like I should justify right away why I put my test replay in its own directory instead of with the other test replays that are versioned. In my experience, having a suite of replays that need to work properly and produce the correct results is an awesome way to test a library like this; but if the replays are in the project base directory, adding more tests adds to project chaos, which makes it less likely to want to add new ones. So I decided to make a designated directory for testing replays (and assets in general), but of course, if you'd prefer, I can move it to the base dir.
I also ignored the convention for the test names because I didn't want to add new warnings. (side note: would you mind a PR that fixes those? As a terminal user they make the compiler output a lot less usable...)

but also realized that I don't know how this library wants to treat information that only some formats provide - so for now, they're just being parsed, not put anywhere.

Which information is only provided by RMV2? If such information exists, it should be discarded, just like the skin information in AVF. By the way, the most important thing is to record mouse actions in self.data.video_action_state_recorder.

I also ignored the convention for the test names because I didn't want to add new warnings. (side note: would you mind a PR that fixes those? As a terminal user they make the compiler output a lot less usable...)

We welcome all kinds of PRs, including but not limited to: add features, fix bugs, resolving warnings, and comments in native languages...

having a suite of replays that need to work properly and produce the correct results is an awesome way to test a library like this

I understand that this approach is the best practice, and in principle, we should move towards the best practice.

We welcome all kinds of PRs, including but not limited to: add features, fix bugs, resolving warnings, and comments in native languages...

By the way - what exactly do you mean by "comments in native languages"? Comments as in code comments? ie, would you want to have multiple translations for the same comments?

turning some of the modes into layerable game rules?

That's just my vision.

turning some of the modes into layerable game rules?

That's just my vision.
Ah, sorry, misunderstood you there! I like the idea, tho :)

but also realized that I don't know how this library wants to treat information that only some formats provide - so for now, they're just being parsed, not put anywhere.

There’s currently no place to store it. A new field could be added to BaseVideo<T>, for example, extension_properties: HashMap or Json string or Array<(&str, &str)> or ???. However, this brings up the challenge of FFI between Rust and Python or JavaScript. I’m not sure if such dynamic properties can be perfectly supported—it would require checking the documentation for pyo3 and wasm-bindgen.
But further, in order to make this meaningful, we would need to create a set of interfaces for generating RMV files, similar to  generate_evf_v3_raw_data and save_to_evf_file.

turning some of the modes into layerable game rules?

I’m not optimistic about this approach. My philosophy is that before designing a spec, the boundaries of the spec need to be well-defined.
I mean that there are actually many more possible variations to Minesweeper rules. It will inevitably surpass your imagination, and achieving complete uniformity of the format will be impossible. For example, the number of mines in each cell could even be negative, or a floating-point value (quantum Minesweeper).

By the way - what exactly do you mean by "comments in native languages"? Comments as in code comments? ie, would you want to have multiple translations for the same comments?

I don't mind having comments in multiple languages in one part of the code.


feature: publish ProjectsPanel

Our ui components library. With storybook and npm package
storybook — https://ekb-ui.vercel.app/
npm package —  https://www.npmjs.com/package/ekb package
How to use
npm i ekb

// in the app
import { ProjectsPanel } from 'ekb';

// ProjectsPanel props
// full types https://github.com/ekaterinburgdev/ekaterinburg-ui/blob/3d3efa0dc1bf2f16a1156d56b8749a20695dd302/src/lib/components/ProjectsPanel/types.ts
 {
  activeProjectId?: Project["id"];
  projects?: Project[];
  theme?: Theme;
  isDarkIcons?: boolean;
  style?: Styles;
  toggleStyle?: ToggleStyles;
}

PR in Transport: https://github.com/ekaterinburgdev/transport/pull/18/files
PR in Map: https://github.com/ekaterinburgdev/map/pull/12/files
PR in Guides: https://github.com/ekaterinburgdev/guides/pull/54/files
For @a-chabin
Please add to your vercel our storybook instead of my https://ekb-ui.vercel.app/
Build rule: pnpm build-storybook

Let's add Iset Sans?
You can even temporarily @font-face with ekaterinburg.design
Direct links:

https://ekaterinburg.design/fonts/IsetSans-Light.woff2
https://ekaterinburg.design/fonts/IsetSans-Medium.woff2
https://ekaterinburg.design/fonts/IsetSans-SemiBold.woff2
https://ekaterinburg.design/fonts/IsetSans-Regular.woff2

P.S. I hope there won't be any problems with the HTTP-headers!

It seems that there will be a lot of responsive rules for this component.
How about replacing paddings and margins in px with em?

suggestion Maybe we'll try to redesign scroll ? (windows 10 example)

It seems that there will be a lot of responsive rules for this component.
💡 How about replacing paddings and margins in px with em?

I don't fully understand the benefits of em, rem, etc. This will add miscommunication with designs. Also not easy to work with small values, like padding\borders\ets. Maybe Im conservative))

I don't fully understand the benefits of em, rem, etc. This will add miscommunication with designs. Also not easy to work with small values, like padding\borders\ets. Maybe Im conservative))

I think I'll say this:
soglasen, poka voobshe norm)))

Great! :)
I propose to improve this control in the next PRs :)


need to show all signers for any version, not just the last one

For the CLA-assistant to be usable it needs to capture and show all contributors and when they signed and for what version of the CLA. As it is currently written any modification to the CLA virtually resets a record of all signers rather than showing the list of users who accepted a CLA for their contributions and what the version of the CLA that they accepted.
The readme states "You as repository owner can review the list of users who signed your CLA for each version of it." Perhaps there is a way to do it but with the current UI I only see the latest CLA signatures. I went from a list of 141 to 1 after making a small change to the CLA and have no way of getting the list of the previous 141 anymore.
I'm happy to help with this if I can.

Good point! :+1:
We have had this functionality in an older version of CLA assistant, but it was skipped later on by redesign.
Your request is absolutely valid, let's bring it back...

@spf13 , could you check the new version, please? Does it work for you as expected?

Yes, this works... but it's a bit weird to have to export the list multiple times.. I can see why some may want this, but it would be great to have an export of all signings in one file as well.

Ok, I see... Would you expect a list with user name as a unique key or username + gist version as a unique key?

Name
Version

User A
1

User B
2

User C
2

or

Name
Version

User A
1

User B
2

User B
1

User C
2

I think the latter is better. I can filter it on my end if I need to.
On Wed, Nov 11, 2015 at 3:45 AM Anton<EMAIL_ADDRESS>wrote:

Ok, I see... Would you expect a list with user name as a unique key or
username + gist version as a unique key?
Name Version User A 1 User B 2 User C 2
or
Name Version User A 1 User B 2 User B 1 User C 2
—
Reply to this email directly or view it on GitHub
https://github.com/cla-assistant/cla-assistant/issues/79#issuecomment-155706506
.


New Feature Request

Thank for the wonderful app
Can you please add the option to change the wallpapers with every lock and unlock?

It's not possible for the app to do so, I mean it is, but Android pretty much restarts the whole system when the wallpaper changes and doing that every unlock will overload the system. Also, it'd require the app to run all the time, which isn't good for the battery as well.
However, you can look into this thread and create your own automation task or something to ask Peristyle to change wallpaper everything screen is unlocked.

Duplicate of https://github.com/Hamza417/Peristyle/issues/23


Onboarding: Privacy Pro dialog FF

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5314  👈 (View in Graphite)
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.


There's no install script.

Once we've done finalising the database layout, we need an install file. It shouldn't be too difficult to have one the needs to be removed after use to use Simplet. Just a PHP Form with Username, Password and Database name with an f-load of MySQL (actually not that much). Also, if we get file creation down, we can create the config file for them.
1-click setup (after you've made a mysql user, and then remove the install file).
===============================================================
The resolver of this issue will be awarded 100 votes, in addition to the standard amount for any code contributed, for use towards the management of the eustasy organisation.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/968999-there-s-no-install-script?utm_campaign=plugin&utm_content=tracker%2F86903&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F86903&utm_medium=issues&utm_source=github).

Invalidated as Simplet is now deprecated. See simplet.eustasy.org


Incomplete generation of styles

Love this plugin, wish it was functioning properly. Not sure if I have too many styles/symbols for it to work, but I get an incomplete generation. I don't get all of my symbols, type styles, or colors back... symbols seem to be there but you have to manually expand the container to see all of them. Please update?

Thanks for your report. I will update the plugin to work with the new plugin format.


Investigate and add tools to mock the grpc service to write unit tests

What's needed?
We need to be able to easily and reliably write unit tests for all API clients without having to spin up a server (real or mocked) for the tests.
Proposed solution
Add some utilities to mock the main grpc service, so we can somehow inject replies it should provide when some request is sent.
Use cases
No response
Alternatives and workarounds
Long term we could explore doing a more capable framework, [pytest-httpserver](https://pytest-httpserver.readthedocs.io/en/latest/ or even )like vcr (maybe it can be extended?) to record real responses from the server and then replay them in unit tests.
Additional context
No response

This I think is a great way to go, but not much documentation, need some trial and error to get it working: https://github.com/grpc/grpc/tree/master/src/python/grpcio_testing


Bug: Incorrect link to meetings page

Describe the bug
The link to the meetings page on this page shows an  Oops, The page you are looking for doesn't exist page.
How to Reproduce

Visit the AsyncAPI Initiative homepage.
Scroll down to Join AsyncAPI Community section.
The second bullet point,
"Join our public meetings: AsyncAPI hosts different meetings every week. They are focused on different topic, sometimes
purely technical and sometimes about community building. Pick one and join us! Learn more about our meetings" links to a vacant page, as shown in the screenshot below:

Expected behavior
The link on the GitHub page should link to the events page.

Hey, I can fix this.

fixed with https://github.com/asyncapi/.github/pull/249


iOS 10 errors for trying to start engine while siri is recording

This is a bit close to the issue https://github.com/AudioKit/AudioKit/issues/1629 that was closed for not enough details.
I am with AudioKit 4.9.2, running on an iOS 10.3.3 iPad. HEADPHONES are plugged in.
In my scenario I respond to route change notifications to reload a sampler and restart the engine (as suggested in https://github.com/AudioKit/AudioKit/issues/1629).
I get a route change notification when I activate Siri - during this one calling AudioKit.start() fails with the errors:
2019-12-02 20:02:43.329496+0200 myapp[7238:697861] [aurioc] 892: failed: 'siri' (enable 2, outf< 2 ch,  44100 Hz, Float32, non-inter> inf< 2 ch,      0 Hz, Float32, non-inter>)
2019-12-02 20:02:43.330726+0200 myapp[7238:697861] [central] 54:   ERROR:    [AVAudioSession Notify Thread] >avae> AVAudioEngineGraph.mm:2515: PerformCommand: error<PHONE_NUMBER>

When I deactivate Siri the signal rebuild works as planned, probably because Siri is no longer recording.

Update - when I don't have headphones plugged in I see no error but my audio isn't playing anymore. I suppose I need to also rebuild the chain and restart engine for interruptions?

Yeah, that's exactly right. Something along these lines:
@objc func restartEngineAfterRouteChange() {
    print("restartEngineAfterRouteChange")
    let attemptRestart = {

        // Come back up with UI in not playing state

        if !AudioKit.engine.isRunning && UIApplication.shared.applicationState == .active {
            AudioKit.engine.prepare()
            do {
                try AudioKit.engine.start()
            } catch {
                AKLog("error restarting AK engine")
            }
        }
    }
    if Thread.isMainThread {
        attemptRestart()
    } else {
        DispatchQueue.main.async(execute: attemptRestart)
    }
}


Update travis CI to test with firefox latest

This project uses semver, please check the scope of this pr:

[X] #none# - documentation fixes and/or test additions
[ ] #patch# - backwards-compatible bug fix
[ ] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

CHANGELOG

Updated travis CI to run against firefox latest

Don't need to remove any of these allowed failures?
  - env: EMBER_TRY_SCENARIO=ember-release
  - env: EMBER_TRY_SCENARIO=ember-beta
  - env: EMBER_TRY_SCENARIO=ember-canary

👍

Changes Unknown when pulling 3261aad2250f83ca80e89ba8f46407f58de49aec on juwara0:firefoxLatest into ** on ciena-blueplanet:master**.


Add using directive for target JVM

Is your feature request related to a problem? Please describe.
I'd like to post the following code as an example program for my project using scala-cli:
using lib "fr.hammons::slinc-runtime:0.1.1-72-1cedff"
using `jvm` "19"
using `java-opt` "--enable-native-access=ALL-UNNAMED"

import fr.hammons.slinc.runtime.{*,given}

case class div_t(quot: CInt, rem: CInt) derives Struct

object MyLib derives Library:
  def abs(i: CInt): CInt = Library.binding
  def div(numer: CInt, denom: CInt): div_t = Library.binding

@main def program =
  println(MyLib.abs(-5)) // prints 5
  println(MyLib.div(5,2)) // prints div_t(2,1)

The jvm directive would be helpful because the option set here is java 19 specific.
Describe the solution you'd like
Allow the already existing jvm download feature to be applied via a using directive.

duplicate of https://github.com/VirtusLab/scala-cli/issues/1337


Avoid empty return types written as empty parenthesis

At the moment, pina-golada writes function function with no return types like this:
func init() () {
  // ...
}

This is technically not wrong, but I would like to avoid it since it looks weird.

Fixed by #30


create link to differentia database

In an email, Debra requested the chant-edit pages (and chant-detail pages) to include a link to differentiaedatabase that opens in a new tab, so that the user can more easier search for differentiae while editing or proofreading. This was in OldCantus, like so:

From this conversation it emerged we would also in the longer term like to have a tool to enter without having to go to an external site (see #436 ), but this doesn't have to be a priority right now.

the chant-edit pages (and chant-detail pages)

I'm assuming you mean the Chant Edit and Create (rather than Detail) pages

I'm assuming you mean the Chant Edit and Create (rather than Detail) pages

Yes, I think I did...on  the Detail page there is a link to the differentia in question, which is better than a link to the homepage of the differentiae database.


Fix swapping both bait and preset together when fish caught

When a fish catch config is set to simultaneously swap bait and swap preset, only bait is swapped and preset remains unchanged instead of both being swapped. This was due to FishingSteps being treated as a bitmask rather than a normal enum.

Damn, I did a lot of testing with this feature and it worked fine, and somehow now it stops working, it is what is is...
With the changes you proposed, the program will never know if both preset and bait were already swapped since they override the previous state. That will cause a lot of weird interaction like when trying to changes bait or preset manually

I think i found another solution for it tho, ill be pushing the changes later

If you want to use FishingSteps as a bitmask you need to space out the enum values so that the bits don't overlap i.e. 0, 1, 2, 4, 8 ..., see https://aaronbos.dev/posts/csharp-flags-enum
You'll also need to fix all the checks that uses FishingSteps to check for existence of a bit instead of value equality. For example in https://github.com/InitialDet/AutoHook/blob/<IP_ADDRESS>/AutoHook/HookManager.cs#L272:
if(_lastStep != FishingSteps.PresetSwapped)

should be changed to
if(_lastStep & FishingSteps.PresetSwapped > 0)


Copy belonging target label shortcut

Hi,
Is there a way to copy the target label a file belongs to? The idea is that many times when I want to add a dependency on a class I can use CMD+N to find the file and then CMD+SHIFT+C to copy the file path. From there it's a bit of fiddling to get the target name.
Is there a simpler way in the plugin?
It seems that you already know which target the file belongs to.

The quickest way to do this currently:

right-click > Open Corresponding BUILD file (navigates to the relevant target in the BUILD file)
right-click again > Copy BUILD target string

Even easier would be to map these actions to hotkeys.

Thanks!
Is it difficult to expose an aggregate action?
On Wed, 21 Jun 2017 at 22:15 brendandouglas<EMAIL_ADDRESS>wrote:

The quickest way to do this currently:

right-click > Open Corresponding BUILD file (navigates to the
relevant target in the BUILD file)
right-click again > Copy BUILD target string

Even easier would be to map these actions to hotkeys.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/intellij/issues/105#issuecomment-310177724,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF6uWqO6xYnGVG8U-8jQ6USEdQ2T6ks5sGWu7gaJpZM4OBSnp
.

Not difficult, it's just that there are many similar actions we could expose, and I don't want to clutter the menus.
I could create the action, but not add it to the menu (allowing users to bind it to a hotkey themselves), but then it's not going to be discoverable.

please do...
There's always a tradeoff between discoverability and clutter.
This is the first small thing our internal users asked for... (they asked
for some big things as well :) )
On Tue, Jul 11, 2017 at 4:48 PM brendandouglas<EMAIL_ADDRESS>wrote:

Not difficult, it's just that there are many similar actions we could
expose, and I don't want to clutter the menus.
I could create the action, but not add it to the menu (allowing users to
bind it to a hotkey themselves), but then it's not going to be discoverable.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/intellij/issues/105#issuecomment-314449118,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF8GJxMs-Tsr8xHtzGq2NOQd97QWSks5sM303gaJpZM4OBSnp
.

I could create the action, but not add it to the menu (allowing users to bind it to a hotkey themselves), but then it's not going to be discoverable.

@brendandouglas can I have a go at that? It's a feature we use a lot at the moment, and having it be a single action would be of great help!
Even if not adding it to the menu by default...

Sure, please do!

Added a command that adds this functionality (and used it twice myself, already!)
I decided to set the text of the action to be Copy //:target....', where it will show the actual target name (shortened!). Makes it much easier to see what is being copied.
I also think this doesn't clutter the context menu too much. Would love if it could stay as is!


check cycles

Checked code for cycles using NoStateCycles listener (model_checking/CheckCycles.jpf).
Found cycles in original code (See model_checking/data/cycle-state.dot).
Updated src/main/java/ttsu/game/tictactoe/TicTacToeGameRunner.java to fix cycles by not letting random choose one input
forever.
Please check if my changes to TicTacToeGameRunner does not affect your work.

not a big fan of not using the maven, pushing bytecode, or the separate jpf files, but seems to work fine


Update members.json - removing myself

It was fun but I want to remove myself from here for now so I can rework and rethink the whole blog :3

Thank you for being an early member of Polyring (number 4, actually)! If you do create a new blog, you're always very welcome to join us again :)


NIFI-3382 New test keystore, truststore

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically master)?

[X] Is your initial contribution a single, squashed commit?

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] 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 file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

I generated new keystore localhost-ks.jks and truststore localhost-ts.jks to match the previous ones through the following incantation:
keytool -genkeypair -alias localhost -keyalg RSA -storepass localtest -keypass localtest -keystore localhost-ks.jks -dname "CN=localhost, OU=Apache NiFi, O=Apache, L=Santa Monica, ST=CA, C=US" -startdate "2017/01/05" -validity 10000 -noprompt
keytool -genkeypair -alias mykey -keyalg DSA -storepass localtest -keypass localtest -keystore localhost-ks.jks -dname "CN=localhost, OU=Testing, O=Research, L=Metropolis, ST=New York, C=US" -startdate "2017/01/05" -validity 10000 -noprompt

keytool -exportcert -rfc -alias localhost -keystore localhost-ks.jks -storepass localtest -file localhost_cert.pem
keytool -importcert -v -trustcacerts -alias localhost -file localhost_cert.pem -keystore localhost-ts.jks -storepass localtest -noprompt

keytool -exportcert -rfc -alias mykey -keystore localhost-ks.jks -storepass localtest -file mykey_cert.pem
keytool -importcert -v -trustcacerts -alias mykey -file mykey_cert.pem -keystore localhost-ts.jks -storepass localtest -noprompt

They seem to make the 0.x unit tests and master integration tests happy.

Hey @jvwing. I actually updated these in a separate PR that's been awaiting review for awhile now. Specifically, they were regenerated in #1399.

I'm sorry I didn't find that earlier, @mcgilman.  I would still like to fix this for the 0.x branch.  I'll close this PR and open a new PR that is focused only on the certs for 0.x.

The proposed 0.x change is in PR #1439.

No worries. Sounds like a plan. I could have opened a new JIRA but decided to just address in that PR since I was updating the integration tests. Thanks for opening the 0.x PR!


Roles/Table/People toggle on Approved/Expired/Rejected/Pending pages

User Story
consistent views across all approver pages

T-shirt size:

User Story
"As an Approver in the NExt app, I would like to be able to see the historical/pending data in various ways.  The app should allow me to pick between sorting by roles, sorting by people or a simple, sortable table on all pages."

Description
The XD doc shows different ways of displaying data on different pages... instead of deciding for the user, we should make all the options available and let them choose.

Acceptance Criteria/Tests
Verify that all pages in the title have the three radio buttons and sort the data the correct ways.  Verify that the table results are sortable by the various columns.

Table should show data like in A5 on the XD document in a tabular form... sortable by each of the columns.  Role and People as they do today.  Same functionality on all pages


Added sample project

Added sample project

Thanks!

Released in https://github.com/AdrienTorris/awesome-blazor/releases/tag/v2020.W49


Feature request

Hi,
after long search i found only your LS7366R python lib, but i'm missing the following features:

check routine if the LS7366R is connected on on-board SPI or external SPI device (like the I2C routine in adafruits
MCP230xx.zip, line 33-41).

the function for WRITE_DTR and LOAD_COUNTER

Hope you can add these two things
With best Regards
Thilo Brueckner
germany

Hi,
check routine is no longer needed because i use the LS direct on the RPi's SPI port.
With big help from an german python user the function for write DTR and load the counter is added.
With best Regards
Thilo Brueckner

Sorry I apologize for delayed reply! I have been really busy with my research lately.
I am glad you are using this library.
So write DTR and load counter are also good?
Would you mind doing a pull request?


how to set qo for Sigmoid layer

Hi,
first of all, thank you so much for this very comprehensive codebase.
I was wondering: when using the newly added QSigmoid layer, how do I set the qo parameter when freezing?
Thank you so much in advance.

您好，您的邮件已收到，我会尽快查看。

Hi @miccio-dk , you could init QSigmoid with qsigmoid = QSigmoid(qo=True), then qsigmoid will have its own qo. And freeze QSigmoid as qsigmoid.freeze(qi=last_layer.qo), which just pass qo=None.


Automatically delete shape(s) when a table is dropped

When a table is dropped from Postgres, users currently need to manually delete all shapes that are defined on that table. This is needed to avoid any problems that would occur when recreating the shape (e.g. with a different schema or different data) as Electric would still contain outdated data for that table potentially even in the old (invalid) format.
Currently, Electric is subscribed to a Postgres publication that streams changes (DML statements) about all tables involved in one or more shapes. However, Postgres does not stream DDL statements (such as DROP TABLE), which currently prevents Electric from detecting dropped tables and hence Electric can't automatically delete the corresponding shapes.
The goal of this issue is to discuss/propose ways of detecting tables being dropped in order to automate shape deletion.
@thruflo proposed a very neat approach  of using an event trigger that calls a special "purge" function when a table is dropped. That special function would write a row into a meta table, which will come through the replication stream. We could check for this special row on the replication stream to detect a table being dropped right in time. The only downside here is that event triggers require superuser access and don't work in single-user mode (e.g. which is the case of PGlite iirc).

Yup, I think the permission issue makes event triggers a bit of a non starter.
I was thinking more that we can install a user defined function and users could choose to call it in the migration where they do their drop. Because you know when you do a big drop table and we can provide a function that makes it easy to notify Electric about it.

Can we compare table identifiers
a) at initial sync query time?
b) when rows come through logical replication?
I.e.: for (b) do we get a table ID in the row metadata? For (a) presumably we could validate the table still has the same internal identifier that we're expecting?
Now ... with (b) a dropped table won't yield any new rows. I don't know if there's something in this. Like could we detect a sequence having been reset somehow?

@thruflo When PG sends a Relation message on the stream it contains the relation's OID. So we could potentially detect any changes there, but.. PG only sends this relation if needed for a change it is going to stream. So, if you drop a table and recreate it, it would only send the relation when you insert a row in that new table. While that's not the case, we won't get the Relation message and we will still serve stale data. Also i doubt PG will send the relation message because i'm assuming that PG removes that table from the publication when the table is dropped (need to verify this).

We need a general solution for winding down shapes that aren't being updated and and eventually drop them.
It would be nice to be able to figure out those that we can stop maintaining immediately, but with the general solution is just a matter of time if they stop being updated.

and don't work in single-user mode (e.g. which is the case of PGlite iirc).

Just here to say that we have patched pg to make these work in PGlite https://github.com/electric-sql/pglite/issues/258
Also, while I agree that cleaning shapes up would mitigate this issue, and using the relation OID is already something I'm looking into to remove ShapeStatus persistence, we would still have the issue of the following case:

Client creates a shape for table public.users with OID 1
Electric now has a cache matching public.users to shape A
Client deletes public.users from the database and recreates it, so no we have public.users with OID 2
Client tries to create shape for table public.users, but Electric sends them to the now basically inactive shape A
4a. New shape will only be created with the correct table once this one is collected

I get that this is "eventually" correct, but it feels like it might not provide a great experience and the cleaning up time will be configurable (some users might want to have long-lasting shapes).
How about having a sort of "keep-alive" ping from shapes to PG - if a shape doesn't get any updates for a short while, it schedules a ping to PG to see that the table is still alive and present.
We could have a service/process that batches these sorts of pings from all shapes in order to avoid unpredictable loads on Postgres - could be one query per 10 seconds or something - and cleans up any shapes that are no longer valid (table deleted or table exists but does not match the OID)


Examples don't work?

I checked out the example repo - as mentioned here, I can't get it to work.

Is this example supposed to work? I was able to run it, but both URLs return an empty response.
Do you have any working examples that currently run?
Are there any specific requirements to get them running? You didn't check in your package-lock.json, so I might be getting some newer dependencies that don't work anymore?
I also noticed this in the main repo, which looks similar and newer, but doesn't seem to have the route function?

I tried adding this line to registerControllers:
console.log(Metadata.getTypes().map(t => t.id));

It looks like only the built-in types can be reflected:
[
  '::invalid::Invalid',
  '::native::any',
  '::native::unknown',
  '::native::void',
  '::native::never',
  '::native::null',
  '::native::undefined',
  '::native::object',
  '::native::String',
  '::native::Number',
  '::native::BigInt',
  '::native::Boolean',
  '::native::true',
  '::native::false',
  '::native::Date',
  '::native::Error',
  '::native::Symbol',
  '::native::UniqueSymbol',
  '::native::RegExp',
  '::native::Int8Array',
  '::native::Uint8Array',
  '::native::Uint8ClampedArray',
  '::native::Int16Array',
  '::native::Uint16Array',
  '::native::Int32Array',
  '::native::Uint32Array',
  '::native::Float32Array',
  '::native::Float64Array',
  '::native::BigInt64Array',
  '::native::BigUint64Array',
  '::native::ArrayBuffer',
  '::native::SharedArrayBuffer',
  '::native::Atomics',
  '::native::DataView',
  '::native::Array{::native::Any}',
  '::native::Function'
]

I checked against reflection.config.json and tsconfig.json in dev/hookyns/2 in the main repo and tried a bunch of different settings - no luck, but I also don't see anything that looks wrong to me.
Also updated from alpha.6 to alpha.7 release.
Really excited to try this out, but no idea what else to try...

I also tried to run dev/hookyns/2, following instructions here, and this doesn't work either.
At npx ttsc, it fails with error messages like the following:
framework/Router.ts:12:38 - error TS2835: Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './controllers/IController.js'?

12 import { IController }          from "./controllers/IController";
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~

I tried adding the .js extensions, and was able to run it - and it says it's producing types:
[DEV] tst-reflect-transformer Completed!
        Initialization:  0.06423  sec.
        Type discovery and transformations:  0.00019  sec.
        Serialization and emitting of metadata:  0.20191  sec.
        Total time:  0.26634  sec.
        Processed  191  type(s) from  18  module(s).

The version in the examples repo never displayed this message.
However, it also doesn't work, and with the added console.log statement from above:
[
  '::invalid::Invalid',
  '::native::any',
  '::native::unknown',
  '::native::void',
  '::native::never',
  '::native::null',
  '::native::undefined',
  '::native::object',
  '::native::String',
  '::native::Number',
  '::native::BigInt',
  '::native::Boolean',
  '::native::true',
  '::native::false',
  '::native::Date',
  '::native::Error',
  '::native::Symbol',
  '::native::UniqueSymbol',
  '::native::RegExp',
  '::native::Int8Array',
  '::native::Uint8Array',
  '::native::Uint8ClampedArray',
  '::native::Int16Array',
  '::native::Uint16Array',
  '::native::Int32Array',
  '::native::Uint32Array',
  '::native::Float32Array',
  '::native::Float64Array',
  '::native::BigInt64Array',
  '::native::BigUint64Array',
  '::native::ArrayBuffer',
  '::native::SharedArrayBuffer',
  '::native::Atomics',
  '::native::DataView',
  '::native::Array{::native::Any}',
  '::native::Function'
]

It looks like there are still no reflections available at run-time.

Latest versions of TS, webpack, ts-loader and a lot of other tools does not work properly as I mentioned in the #7 Alpha issue it's the reason why I stoped working on the current Alpha and jumped right on the solution planned for 2024.
This StackBlitz example from the rttist.org website works. Try it out.
Here is StackBlitz example with decorators.
And here I get up and running the "MVC" example.
I found out that<EMAIL_ADDRESS>is broken but version alpha.10<EMAIL_ADDRESS>works just fine.


azure-core.CurlTransportOptions.noRevoke test failing with "unable to get certificate CRL" error

From unrelated PR: https://github.com/Azure/azure-sdk-for-cpp/pull/5474 on Validate Ubuntu22_included_release
https://dev.azure.com/azure-sdk/public/_build/results?buildId=3665652&view=logs&j=ba3dad2b-ce90-52d5-0c84-4172d8b9d063&t=6c6e0346-5c6c-5b96-a9d2-deaa2096ecd7&l=22207
2024-04-03T23:37:06.1862529Z test 7
2024-04-03T23:37:06.1862939Z         Start   7: azure-core.CurlTransportOptions.noRevoke
2024-04-03T23:37:06.1863111Z
2024-04-03T23:37:06.1863649Z 7: Test command: /mnt/vss/_work/1/s/build/sdk/core/azure-core/test/ut/azure-core-test "--gtest_filter=CurlTransportOptions.noRevoke" "--gtest_also_run_disabled_tests"
2024-04-03T23:37:06.1864157Z 7: Working Directory: /mnt/vss/_work/1/s/build/sdk/core/azure-core/test/ut
2024-04-03T23:37:06.1864445Z 7: Test timeout computed to be: 10000000
2024-04-03T23:37:06.1906785Z 7: Note: Google Test filter = CurlTransportOptions.noRevoke
2024-04-03T23:37:06.1907369Z 7: [==========] Running 1 test from 1 test suite.
2024-04-03T23:37:06.1908232Z 7: [----------] Global test environment set-up.
2024-04-03T23:37:06.1908650Z 7: [----------] 1 test from CurlTransportOptions
2024-04-03T23:37:06.1908997Z 7: [ RUN      ] CurlTransportOptions.noRevoke
2024-04-03T23:37:06.1909574Z 7: [2024-04-03T23:37:06.1904772Z T:<PHONE_NUMBER>13568] DEBUG : [CURL Transport Adapter]: Creating a new session.
2024-04-03T23:37:06.1910285Z 7: [2024-04-03T23:37:06.1904972Z T:<PHONE_NUMBER>13568] DEBUG : [CURL Transport Adapter]: Spawn new connection.
2024-04-03T23:37:06.4330773Z 7: [2024-04-03T23:37:06.4326520Z T:<PHONE_NUMBER>13568] INFO  : Load CRL from Url: http://www.microsoft.com/pkiops/crl/Microsoft%20Azure%20RSA%20TLS%20Issuing%20CA%2008.crl
2024-04-03T23:37:06.4660347Z 7: [2024-04-03T23:37:06.4657171Z T:<PHONE_NUMBER>13568] INFO  : Load CRL from Url: http://crl3.digicert.com/DigiCertGlobalRootG2.crl
2024-04-03T23:37:11.4738672Z 7: [2024-04-03T23:37:11.4734113Z T:<PHONE_NUMBER>13568] ERROR : Error in Load CRL: C0A4A7DD027F0000:error:10000093:BIO routines:BIO_do_connect_retry:connect timeout:../src/nssl-3.2.1-8707343470.clean/crypto/bio/bio_lib.c:1064:
2024-04-03T23:37:11.4739934Z 7: [2024-04-03T23:37:11.4734396Z T:<PHONE_NUMBER>13568] ERROR : Unable to retrieve CRL, CRL check may fail.
2024-04-03T23:37:11.4740827Z 7: [2024-04-03T23:37:11.4734680Z T:<PHONE_NUMBER>13568] INFO  : depth=1 C = US, O = Microsoft Corporation, CN = Microsoft Azure RSA TLS Issuing CA 08
2024-04-03T23:37:11.4741985Z 7: [2024-04-03T23:37:11.4734812Z T:<PHONE_NUMBER>13568] INFO  : verify error:num=3: unable to get certificate CRL
2024-04-03T23:37:11.4742788Z 7: [2024-04-03T23:37:11.4734941Z T:<PHONE_NUMBER>13568] INFO  : Unable to retrieve CRL.Fail TLS negotiation because CRL retrieval is not configured.
2024-04-03T23:37:11.4749018Z 7: /mnt/vss/_work/1/s/sdk/core/azure-core/test/ut/curl_options_test.cpp:82: Failure
2024-04-03T23:37:11.4749711Z 7: Expected: response = pipeline.Send(request, Azure::Core::Context::ApplicationContext) doesn't throw an exception.
2024-04-03T23:37:11.4750296Z 7:   Actual: it throws Azure::Core::Http::TransportException with description "Fail to get a new connection for: https://azuresdkforcpp.azurewebsites.net. SSL peer certificate or SSH remote key was not OK. Underlying error: unable to get certificate CRL".
2024-04-03T23:37:11.4751132Z 7: [  FAILED  ] CurlTransportOptions.noRevoke (5284 ms)
2024-04-03T23:37:11.4751699Z 7: [----------] 1 test from CurlTransportOptions (5284 ms total)
2024-04-03T23:37:11.4752118Z 7:
2024-04-03T23:37:11.4752518Z 7: [----------] Global test environment tear-down
2024-04-03T23:37:11.4752943Z 7: [==========] 1 test from 1 test suite ran. (5284 ms total)
2024-04-03T23:37:11.4753311Z 7: [  PASSED  ] 0 tests.
2024-04-03T23:37:11.4753704Z 7: [  FAILED  ] 1 test, listed below:
2024-04-03T23:37:11.4754076Z 7: [  FAILED  ] CurlTransportOptions.noRevoke
2024-04-03T23:37:11.4754444Z 7:
2024-04-03T23:37:11.4754732Z 7:  1 FAILED TEST
2024-04-03T23:37:11.4762910Z   7/533 Test   #7: azure-core.CurlTransportOptions.noRevoke ..........................................................***Failed    5.29 sec

A retry seems to have fixed the issue.

this issue is similar to the one regarding httpsDefault , seems to have been an infra issue ( the endpoint or network glitched) . it has not failed before or since. i suggest we reopen the issue if it becomes an issue again.

Re-opening as it is similar to https://github.com/Azure/azure-sdk-for-cpp/issues/4634 and it came up again recently (including httpsDefault from the screenshot in https://github.com/Azure/azure-sdk-for-cpp/issues/5533).
Fixed in https://github.com/Azure/azure-sdk-for-cpp/pull/5692


rancher v1.1.0+ rancher compose do not support chinese

rancher v1.0.1  rancher compose support chinese
but rancher v1.1.0 rancher compose do not support chinese

Duplicate of https://github.com/rancher/rancher/issues/5414
This is due to the parser that was changed in libcompose.


Admin fixes

Set ADMIN_CHANNEL_ID to be an environment variable
Added a command to clear the commands list. This should clear any old commands from the slash commands dropdown.
Added a command to change the hint channel. It's not a slash command so that it will not be visible to non-execs.

Added a command that allows execs to delete puzzles.
Moved the commands for puzzle creation and deletion, as well as the command for setting the hint channel into a separate Admin cog. Discord allows you to hide certain slash commands from the dropdown list for users but this can only be applied to the entire cog. While these commands already only allowed execs to use them, they were still visible to regular users which was not ideal.

nice! out of curiosity, which part of the code is responsible for only showing Admin cog to admin users?

It's actually in Discord itself. Go to your server and then Server Settings > Integrations > HuntBot


Why AGAIN THOSE CHANGES !!!!!

Please bear in mind that this is a public forum. The entire world can see what you're posting here. We're all under a lot of pressure, and some of us will be releasing in a few days. I understand your feelings of frustration.. but you might want to re-read your issue and edit it appropriately :)

Please bear in mind that this is a public forum. The entire world can see what you're posting here. We're all under a lot of pressure, and some of us will be releasing in a few days. I understand your feelings of frustration.. but you might want to re-read your issue and edit it appropriately :)

Also respect the fact that national solutions also have their deadlines.  Every change here is reflected almost automatically in dozens of other systems, where the situation is much more complex than just renaming a file.

Of course, and you should absolutely feel free to air that view. That's what is great about living in liberal democracies. However I think you'll regret this when the pressure is over, and us developers should try to look out for each other :)

yes, things can be done in different ways, and they can be communicated in different ways, especially when the whole world can look at this.

you might want to re-read your issue and edit it appropriately :)

Editing it is not necessarily enough for the embarrassing information to stay out of sight.  :)  Have a good day, folks.


ProjectInfo - Add support for map image layers

[ ] research if this is even feasible and how much time it will take

Thanks for configuring this for map image layers - looks great. Out of curiosity, did it take a lot of work to implement? It looks like you figured this out pretty quickly.

I haven't actually implemented this yet. Is it working for map image layers? If so, I would be very surprized.

Interesting. Information populates for the two map image layers (Economic Clusters & CDAs and RDAs) in the Economic Development tab as well as the two map image layers (Golf Courses & Green Infrastructure) in the Recreation tab.

However, information does not populate for the grouped map image layers in the Vision tab (when "useDefaultAGOLPopup": false, enabling the ProjectInfo window).

Looking at this now...

This now works for layers in the Vision tab. Thanks!


Status of DbResult

The README shows it as the return type for insert but the source shows Result as the return type. Is the end goal to use DbResult over Result?

The goal is not not overload prelude, but I've been referencing yaqb::result::Result when I use that name.


[WIP] Sensor update and refactor

Motivation and Context

Refactoring sensor code in python to mirror what the C++ code does. Continuing work from pull request #1151.
How Has This Been Tested
So far it has passed several tests in habitat-sim/tests, like "test_sensors.py" for example, though it skipped a lot of the tests that use the Matterport3D assets because I don't have access to those yet
Types of changes

[x] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

@jrreyna You should look into making sure you have pre-commit setup locally. It would have caught the merge diff issue before you committed as well as the linter issues.


Set env variable for jenkins user.

In compose cmd file there is a command which checks if Jenkins is up and running and later it triggers Load_Platform job. At the moment Jenkins user is hardcoded, when we use external LDAP probably it will fail because that user doesn't exist there. To avoid that i made env variable "USERNAME_JENKINS" in this way we can set user what we need.

@marisbahtins It seems like a duplicate of https://github.com/Accenture/adop-docker-compose/pull/213 so closing this.


Remove Average Accessibility Score as it's not calculated anymore

re: https://github.com/NationalSecurityAgency/skills-service/issues/2202

PR: https://github.com/NationalSecurityAgency/skills-docs/pull/252


Unexpected constant violation (VariableDeclarator)

Describe the bug
The error appear when trying to deobfuscate code
Expected Behaviour
Should deobfuscate collectly
Code
https://qu.ax/zEJG.txt

Logs
Error: Unexpected constant violation (VariableDeclarator): {currentPoint:a,rX:o,rY:i,sweepFlag:c,xAxisRotation:l,centp:v,a1:y,ad:d}=Z[s(1830)](f)
    at webcrack.worker-DAM0XNvR.js:71:204515
    at Array.forEach (<anonymous>)
    at En (webcrack.worker-DAM0XNvR.js:71:203971)
    at BJ (webcrack.worker-DAM0XNvR.js:71:212326)
    at Object.run (webcrack.worker-DAM0XNvR.js:76:599)
    at JT (webcrack.worker-DAM0XNvR.js:71:204958)
    at Array.<anonymous> (webcrack.worker-DAM0XNvR.js:78:38083)
    at IY (webcrack.worker-DAM0XNvR.js:78:38397)
    at async self.onmessage (webcrack.worker-DAM0XNvR.js:78:39020)

It's a babel bug, have to wait until it's fixed: https://github.com/babel/babel/issues/16512

It's a babel bug, have to wait until it's fixed: babel/babel#16512

its fixed they closed it 8 hours ago

not released yet though


WIP: HOSTEDCP-582: Add CEL immutability validations to hostedcluster.

This uses CEL validations available in kubernetes 1.25 and above, requiring OpenShift 4.12 or greater.  Tested with OpenShift 4.10 and while the validations do not work, they are also ignored so it should be safe to have them in place for all versions.

closing by https://github.com/openshift/hypershift/pull/2148 which will need to sync with IBM folks.


[QUERY] How to configure hierarchical partition keys using spring-data-cosmos

Query/Question
I use @PartitionKey to define a logical partition in my model class. I am not able to find any annotations using which I can define hierarchical partition keys in my model class. Is this feature supported by spring-data-cosmos module?
Why is this not a Bug or a feature Request?
This is a query regarding a feature supported by azure-sdk.

@trande4884 could you please take a look? thanks.

@aggarnik - this is in our backlog and is being developed currently in our Azure Cosmos DB Java V4 SDK. Once it is done and GAed, we plan to build this in Spring Data Cosmos SDK.
cc @simorenoh

to be review in planning for next semester.

@aggarnik - FYI, this is currently in development - and the PR is out - https://github.com/Azure/azure-sdk-for-java/pull/38365

@aggarnik does the PR above solve your issue? Please let me know if you are still having trouble using hierarchical PK's


Add type information to column header

To obtain the column type name the following can bey used:
column.field.type.toText

https://github.com/luna/dataframes/issues/151