fix the swapped lines in fix_missing_diodes_lef.py

@ax3ghazy noticed that there are swapped lines in the script that would cause the build to fail if the user is not building the hs and ms libraries. So, here is the quick fix.
Sorry for that :-)

Pull request has been merged.


Swift 4 api change.

Minor swift 4 api change with conditional runtime check.

Can we have this merged?

Merged this in via bbe7413 and fixing the indentation. Thanks for PR @m4rkk. This is released in 2.0.2.


Add blue border to inputs on active

Is your feature request related to a problem? Please describe.
In the styles/globals.css page, there are a few default styles that exist to override the default browser styles. This leads to consistency across browsers. We do not, however, have a default border to use for active inputs.
Describe the solution you'd like
In the styles/globals.css page, the input tag should have a light-blue border on focus. You can do so with the :focus pseudo-class.
Describe alternatives you've considered
I have considered an inset box shadow on focus, but this would not fit with the current style of the page.
Additional context

A screenshot of Firefox's default focused input border is provided above.

Hello, I can help!

Willing to work on it

Hello, I can help!

Hello @riungemaina,
Thanks for offering to help. I have assigned the issue to you. Feel free to mention me if you have any questions or concerns.

Hi @riungemaina, I wanted to follow up on the issue you offered to help with and check if you have made any progress. If not, are you still planning on contributing? If you need any assistance or have any questions, please let me know. I'm happy to help in any way I can. If I don't hear back from you in the next few days, I'll assume you are no longer interested in contributing. Thank you again for your interest!

I have pushed the commit 3da93b3 that solves this issue. The commit message is "Set default focused input border for cross-browser."

I have pushed the commit 3da93b3 that solves this issue. The commit message is "Set default focused input border for cross-browser."


Allow common table expressions in INSERT, UPDATE, DELETE statements

This fixes https://github.com/dolthub/dolt/issues/4025

LGTM! Not sure why this is failing, the errors don't necessarily seem related to your changes.

Unrelated parser changes I picked up


#include statement parses error

I used special tag for highlight with following code:
$(document).ready(function() {
            $('pre cc').each(function(i, block) {
                hljs.highlightBlock(block);
            });
        });

When the input is:

<cc class="cpp">
#include <iostream>
</cc>

the parsed result is:

<cc class="cpp hljs">
#include <iostream>
</iostream></cc>

You need to escape angle brackets or it will be turned into an HTML element. ie:

<cc class="cpp">
#include <iostream>
</cc>

I do NOT think that it is a good way to change the original code.
It is a regular and reasonable requirement for a highlight plugin  to render the plain code to formatted html.

@tl3shi this is not something highlight.js imposes on you, it's how HTML works: if you want angle brackets to be displayed as is, you should escape them. A highlighter might do this escaping as an extra service but then it wouldn't be able to distinguish between the tags you want to display and the real tags with .. that you want to use for some reason, like this:

... some code ...
important line
... some code ...

Got it. So if I want to use hightlight.js to hightlight my html code, I have to escape all the tags?

Yes, and this applies not only for highlight.js, this is basic HTML language rule.


Inertiajs ignoring methods, when the request is redirected.

Problem
The request that is made for the Laravel Application, is being redirected as part of the application main logic, but inertiajs methods seems to be lost in the request body, i have to replace the _METHOD of the post request to the content of the header REDIRECT_REDIRECT_REQUEST_METHOD each time as the REQUEST_METHOD is not provided by inertia.
How to fix
I use a seprate middleware for the moment, but it will be much apreciated if we can check inside the main Inertia Middleware, to confirm the right method.
Solution

I will also be working to provide a PR for this issue.

@hicham-saddek can you still replicate this? I have never encountered this myself. Please close the issue if this is no longer relevant and/or has been solved.

I am still able to reproduce this error, the steps are in the PR request available here PR

@crnkovic , @reinink - it looks like I'm getting this too, and no one seems to have even bothered to look at the PR. Am I missing something?


feat: Implement responsive design for homepage section

Implement responsive design for homepage section
Before:

After:

LFG! We have responsive in home! Thank u!


⚠ SolarOscp has degraded performance

In 1fbfae3, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 462 ms

Resolved: SolarOscp performance has improved in 1e78e22 after 9 minutes.


[openwhisk] remove includeDocs from changes action and package

@sefuhrer do not merge yet, this is not ready

@sefuhrer this work in progress, do not merge yet


subkey yields inconsistent results with hard/soft mixed

cargo run --release -- --sr25519 inspect "bottom drive obey lake curtain smoke basket hold race lonely fit walk/foo//bar"
Run 1 -
  Public key (hex): 0xaaf0fac3917a39680a9e37ee3a4dd20dd6ee1c621154e0906ed809ec22291578
  Address (SS58): 5FvqanwTCeSj61C11jMt61qYxmNLaJVAyJvCa6TsmSCu9WGc

Run 2 -
  Public key (hex): 0x961266aa6653385c330c331c04d338d0062c72e4cc66f6dfb2a9fe2e3b4cd60c
  Address (SS58): 5FTUWJpxwVFX5NBdV1e7JqUUufH2i2jDrC3BUnkCJRBSw4TB

Further inspection reveals -

soft/soft (e.g. /foo/bar) and hard/hard (e.g. //foo//bar) yields consistent results
hard/soft (e.g. //foo/bar) is consistent as well
soft/hard (e.g. /foo//bar) is inconsistent.

This could be related to the implementation of https://github.com/paritytech/substrate/blob/master/core/primitives/src/sr25519.rs#L368 and the use thereof here https://github.com/paritytech/substrate/blob/master/core/primitives/src/sr25519.rs#L454 where the full secret instead of the seed is passed in.
Basically the secretKey has a secret and nonce part, where the nonce part is non-consistent when derived from seed. (Passing in the seed portion here, when we get a seed back as well, would make it consistent)

This is why I added some hard_derive_mini_secret_key functions that do not hash the nonce seed.
We can make the nonce seed deterministic of course, but there is no reason why someone should not change the nonce seed whenever they like, so depending upon it being constant sounds unwise.


Implement auto-retrieval of items

Sometimes, items / tools the player needs to complete tasks end up outside of player range.
In these cases it would be handy to have an option to automatically retrieve items to the player, either close-by or in "holsters".

This issue will be moved to main repository on advisory of product lead.


Display docs navigation on mobile

Closes #302
Non-whitespace formatting code changes in site.css are on lines 3569 and 3679 - added display to docs__sidebar--left for screen width below 1000px and removed inexplicable gray spot from search-form__wrapper::after

Deployed successfully

Latest commit: | 3ffcc43
-- | --
Status: | ✅  Deploy successful!
Preview URL: | https://5d139706.mirrord-dev.pages.dev
Branch Preview URL: | https://mobile-nav-menu.mirrord-dev.pages.dev
Deployed successfully
Latest commit: 	3ffcc43
Status:	 ✅  Deploy successful!
Preview URL:	https://5d139706.mirrord-dev.pages.dev/
Branch Preview URL:	https://mobile-nav-menu.mirrord-dev.pages.dev/


fallibleness, apaturia (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


punes: 0.108 -> 0.109

Motivation for this change
https://github.com/punesemu/puNES/releases/tag/v0.109
Tested a homebrew game, WorksForMe:tm:.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

BTW enableParallelBuilding = true; is the default with CMake builds.
You don't even need to set it explicitly. :)

Only if the build actually uses the configure phase from CMake's setup hook, which it doesn't due to dontUseCmakeConfigure = true;. :wink:

Oh I missed dontUseCmakeConfigure = true; :)


Fix for Laravel 5.2

Models with non-incrementing primary keys need to set incrementing to false to prevent the primary key being overwritten on write.

Is there any other things that broken on 5.2. Or you made it working with laravel 5.2 after this fix?

This was the change that allowed everything to work for me.  Prior to the change the hash would reset to 0 and the target/after urls were recorded incorrectly.


Remove Carthage and Cocoapods support

This PR removes Carthage and Cocoapods support and focuses entirely on the Swift Package Manager (SPM). It also means that .xcworkspace and .xcodeproj files are no longer needed!
The test dependency, GCDWebServer, set up a local server to ensure HTTP requests are handled correctly via Session. Unfortunately, it doesn't support SPM and was archived in January. I converted the dependency to [Swifter].

I consider this PR ready for review/merge. But the test suite has a few things that could be improved in future PRs:

Remove Turbolinks 2x in test suite and consider support deprecated
Convert from Quick/Nimble to XCTest to be more in line with standard Apple (also, XCTest feels more at home for Rails developers using TestUnit vs. RSpec)
Remove try! from test suite and add throws to test cases
Use XCTUnwrap in place of multiline guard statements in test suite

@svara Can you give this a spot check and see if you have any feedback? I'm in favor of dropping Carthage and Cocoapods now that things have moved on to SPM.

Thanks @svara! Merging in now.


Added k8s-home URL to README.md

Trivial change. Link was missing.
For consistency, we could:

change all the remote URLs to be at the bottom, like these
change the kubernetes one, I've just added to be an in-line link, like all the others.

thanks @nicdoye!


Deprecate the jamesmcdonald/cpanm module

The cpanm module has been transferred to voxpupuli.
Could you please mark https://forge.puppetlabs.com/modules/jamesmcdonald/cpanm as deprecated and link to https://forge.puppetlabs.com/modules/puppet/cpanm ?

Deprecated https://forge.puppetlabs.com/modules/jamesmcdonald/cpanm/readme against https://forge.puppetlabs.com/modules/puppet/cpanm/readme, hence closing the same.


In the embedded Linux environment, the application runs automatically…

In the embedded Linux environment, the application runs automatically when it boots up, which will lead to the failure of LOGNAME acquisition.

I'm sorry, but I don't like hardcoding a user name in the library. Why don't you just set LOGNAME when starting the application? Something like
LOGNAME=root /path/to/application


Slack invite link in readme not working

The invite like of slack in the readme of the project is not working.

Same does

Any updates on this?

https://join.slack.com/t/swiftuichartview/shared_invite/zt-g6mxioq8-j3iUTF1YKX7D23ML3qcc4g

join here please, thanks! :)


Parser removes enum discriminator property

You can reproduce this bug by adding this test to SwaggerDeserializerTest:
@Test
public void testDeserializeWithEnumDiscriminator() {
    String yaml =
            "swagger: '2.0'\n" +
                    "definitions: \n" +
                    "  Animal:\n" +
                    "    type: object\n" +
                    "    discriminator: petType\n" +
                    "    description: |\n" +
                    "      A basic `Animal` object which can extend to other animal types.\n" +
                    "    required:\n" +
                    "      - commonName\n" +
                    "      - petType\n" +
                    "    properties:\n" +
                    "      commonName:\n" +
                    "        description: the household name of the animal\n" +
                    "        type: string\n" +
                    "      petType:\n" +
                    "        description: |\n" +
                    "          The discriminator for the animal type.  It _must_\n" +
                    "          match one of the concrete schemas by name (i.e. `Cat`)\n" +
                    "          for proper deserialization\n" +
                    "        enum:\n" +
                    "        - cat\n" +
                    "        - dog";

    SwaggerParser parser = new SwaggerParser();
    SwaggerDeserializationResult result = parser.readWithInfo(yaml);
    Map<String, Property> properties = result.getSwagger().getDefinitions().get("Animal").getProperties();
    assertTrue(properties.containsKey("commonName"));
    assertTrue(properties.containsKey("petType"));
}

Thank you--could you please send a PR with this test and we'll get it implemented?

Done :)

As a workaround, adding "type: string" to the petType property fixes it.

Wow: using the last stable release of swagger-codegen I can't just add "type: string" since it breaks the javascript code generation (I reported this issue here: https://github.com/swagger-api/swagger-codegen/issues/3143).
:(

So, I don't think inferring the type based on the enum values is a wise thing to do.  But I have added code to support this, it will fallback to string if the enum values are not compatible.

Thanks @fehguy!
The swagger specification is even more relaxed: it permits that each item in an enum has a different type. In http://swagger.io/specification/ it says:

The following properties are taken directly from the JSON Schema definition and follow the same specifications:

...
enum

So we should look what JSON schema permits. In https://spacetelescope.github.io/understanding-json-schema/reference/generic.html#enumerated-values it says:

You can use enum even without a type, to accept values of different types.

And it even gives examples of that.


[3.7] up_squared: tests/arch/x86/info/arch.x86.info.userspace [timeout]

Describe the bug
9739759fef6a pass (55,60 s)
a3266a8b6275 fail (63,30 s)
Expected behavior
test should pass
To Reproduce
west twister -p up_squared -s tests/arch/x86/info/arch.x86.info.userspace
Logs and console output
Version 2.18.1263. Copyright (C) 2018 American Megatrends, Inc.                                                                                Press <DEL> or <ESC> to enter setup.
>>Checking Media Presence......
>>Media Present......
>>Start PXE over IPv4. Press ESC key to abort PXE boot.
taIP address is <IP_ADDRESS>
Server IP address is <IP_ADDRESS>
NBP filename is up_squared.efi
NBP filesize is 2448705 Bytes
>>Checking Media Presence......
>>Media Present......
Downloading NBP file...
Succeed to download NBP file.
*** Zephyr EFI Loader ***
RSDP found at 0x79c2e000
Zeroing 11685888 bytes of memory at 0x12a000
Zeroing 3392 bytes of memory at 0xe752c0
Copying 16384 data bytes to 0x1000 from image offset
Copying 172032 data bytes to 0x100000 from image offset 16384
Copying 2253504 data bytes to 0xc4f000 from image offset 188416
Jumping to Entry Point: 0x116b (48 31 c0 48 31 d2 48)
***** delaying boot 500ms (per build configuration) *****
*** Booting Zephyr OS build a3266a8b6275 (delayed boot 500ms) ***
info: the Zephyr x86 platform information tool
MULTIBOOT: info struct UNAVAILABLE or EMPTY.
No basic memory map available.
No extended memory map available.
Framebuffer data not present.
MEMORY MAP: source is default, max 64 entries
0000000000000000 -> 000000007fffffff RAM (2097152K)
Kernel exclusions:
0x1000 -> 0x2000 (locore)
0x125000 -> 0xe76000 (ram)
0x125000 -> 0x12a000 (app_smem)
ACPI: 4 CPUs found
CPU #0: APIC ID 0x00
CPU #1: APIC ID 0x02
CPU #2: APIC ID 0x04
CPU #3: APIC ID 0x06
Intel VT-D Supported:
-> X2APIC does not need to be opted out
-> Interrupt remapping supported
[ Hardware Unit Definition 0 ]
- Includes only listed PCI devices under given Segment
- Segment number 0
- Base Address 0xfed64000
- Device Scopes:
. Scope type PCI Endpoint
. Enumeration ID 0
. PCI Path 00:02.00
[ Hardware Unit Definition 1 ]
- Includes all PCI devices under given Segment
- Segment number 0
- Base Address 0xfed65000
- Device Scopes:
. Scope type IOAPIC
. Enumeration ID 1
. PCI Path fa:1f.00
. Scope type MSI Capable HPET
. Enumeration ID 0
. PCI Path 00:1f.07
TIMER: HPET, configured frequency = 19200000Hz
Using CMOS RTC as reference clock:
start = 586431184, end = 605631719, 19200535 cycles
start = 624833231, end = 644035092, 19201861 cycles
start = 663236057, end = 682435787, 19199730 cycles
start = 701637696, end = 720839438, 19201742 cycles
start = 740039906, end = 759240946, 19201040 cycles
start = 778441427, end = 797642434, 19201007 cycles
start = 816843529, end = 836045081, 19201552 cycles
start = 855245516, end = 874446405, 19200889 cycles
start = 893648215, end = 912848456, 19200241 cycles

Environment:

Linux Ubuntu 22.04
Toolchain: Zephyr SDK 16.8
Zephyr version: a3266a8b6275

Can you reproduce this issue on the main branch?

No reproduce on the main branch.
Tue, 22 Oct 2024 03:10:29 GMT    INFO    - 1831/2056 up_squared    tests/arch/x86/info/arch.x86.info.userspace    PASSED (device: up2, 63.517s)

and it has sporadic reproduce on the v3.7-branch.
IMO the test has the execution time close to the time out (60s) and sometimes will it not be able to be do.
Zephyr version: a3266a8b6275:
INFO    - 2038/2039 up_squared    arch/x86/info/arch.x86.info    	   PASSED (device: up2, 54.550s)
INFO    - 2039/2039 up_squared    arch/x86/info/arch.x86.info.userspace    PASSED (device: up2_2, 55.367s)

Assigning to @arikgreen as he contributed PR


Generated SQL script file delete automatically when we update the code

Description:
This happens in VSCode.
The generated SQL Script file inside the target directory is deleted automatically when we try to update the source code.

Closing, since this is not a bug


Improve DTO models for people service

api implementation created in #1243
https://github.com/equinor/fusion-framework/blob/942cce0f49a26fb6a8f999986c744c9b3fc02bad/packages/modules/services/src/people/api-models.ts
each api function has a versioned request and response, this need to be correct

closed in #1254


点击小猫本来发出声音

http://scratch.mit.edu/projects/139704966
http://phosphorus.github.io/#139704966
start@[native code]
playSound@http://www.odeman.com/pm/phosphorus.js:3604:25

step@http://www.odeman.com/pm/phosphorus.js:3833:17
[native code]

What are you asking?


Azure Cosmos DB (Table API) & Azure Cosmos DB (SQL API) Linked Services in ADF

I'm looking into using ADF for reading data from data lake and storing the data to Cosmos DB. I'm figuring out whether I should use Azure Cosmos DB Table API or Azure Cosmos DB SQL API. I see that ADF does not support linked service Azure Cosmos DB (Table API). Can we use Azure Table Storage as a sink and persist it into a Cosmos DB account? Which one among Azure Cosmos DB (Table API) & Azure Cosmos DB (SQL API) is better in terms of cost and performance?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 70754c7c-a557-5683-bb58-b2fd0409e09f
Version Independent ID: e91ceff6-8314-c9af-973c-d434c178fc0c
Content: Linked services in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/concepts-linked-services.md
Service: data-factory
GitHub Login: @djpmsft
Microsoft Alias: daperlov

@xyz92  Unfortunately, Azure Data Factory don’t support Azure Cosmos DB (Table API) connector.

Reference: ADF - Supported data sources
I would suggest you to vote up an idea submitted by another Azure customer.
https://feedback.azure.com/forums/270578-data-factory/suggestions/36915322-support-cosmosdb-table-api-in-adf
All of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
We suggest that you take these steps to tune the performance of your Data Factory service with Copy Activity: Performance tuning steps.
Hope this helps.

@xyz92
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


failed to load RocksDB jni library

pulsar version 2.3
java version java8
rocksdbjni-5.13.1
At first I got an error: "invalid -XX:MaxDirectMemory=4g"  (default config) and  "The specified size exceeds the maximum representable size.".
Then I changed it to 3g and I got "failed to load RocksDB jni library"
Here's the error now:
Exception in thread "main" java.io.IOException: Failed to load RocksDB JNI library
at org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.(KeyValueStorageRocksDB.java:91)
at org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.(KeyValueStorageRocksDB.java:83)
at org.apache.bookkeeper.bookie.storage.ldb.KeyValueStorageRocksDB.lambda$static$0(KeyValueStorageRocksDB.java:58)
what should I do?

@Archerxy I am facing the same issue. Can you please help me with the solution?


ACA HCC Count is Incorrect

In the ACA SAS Code, group categories are computed first, then the count is applied. In the Python code, group categories occur after the count. This is likely because before BY2024 group categories were all hierarchy related, but with the introduction of G24 it is possible for someone to have both HCC 18 and HCC 183 thus inflating the count by 1.
To solve, likely the count will have to be moved outside of the interactions into its own separate method in commercial_model.py

This was covered in https://github.com/pfehlinger/risk_adjustment_model/pull/37


Make getProjectId() supports GAE

Fixes https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1500

Testing:

Local sample app on GAE
Local gcloud logging sample app on gRPC (throws CallNotFoundException)

@garrettjonesgoogle I have reverted the change and improve the error message. PTAL

Changes Unknown when pulling 643838580f8b3c047b66b5a783b92e35d287b701 on shinfan:master into ** on GoogleCloudPlatform:master**.

PTAL

Changes Unknown when pulling 37fe8162bb888345b5e98a7d856d1c8c8b74f82e on shinfan:master into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling 37fe8162bb888345b5e98a7d856d1c8c8b74f82e on shinfan:master into ** on GoogleCloudPlatform:master**.

PTAL

Changes Unknown when pulling 977ec601183afb36d5188da4e0a7fe5bb00f360e on shinfan:master into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling 977ec601183afb36d5188da4e0a7fe5bb00f360e on shinfan:master into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling 977ec601183afb36d5188da4e0a7fe5bb00f360e on shinfan:master into ** on GoogleCloudPlatform:master**.

PTAL

@garrettjonesgoogle PTAL

LGTM

Changes Unknown when pulling 7a65a30b805f7a79ef4d6c07787806a6cd7d0add on shinfan:master into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling 7a65a30b805f7a79ef4d6c07787806a6cd7d0add on shinfan:master into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling<PHONE_NUMBER>07a3d761b5e48eb6aff14c08251d13 on shinfan:master into ** on GoogleCloudPlatform:master**.

Changes Unknown when pulling<PHONE_NUMBER>07a3d761b5e48eb6aff14c08251d13 on shinfan:master into ** on GoogleCloudPlatform:master**.

Has it been tested in prod?
With java7 and the new Java8 standard runtime?
Ping me if you want access.
Ludo
On Mar 13, 2017 12:40, "Coveralls"<EMAIL_ADDRESS>wrote:

[image: Coverage Status] https://coveralls.io/builds/10570688
Changes Unknown when pulling 5881706
https://github.com/GoogleCloudPlatform/google-cloud-java/commit/588170652407a3d761b5e48eb6aff14c08251d13
on shinfan:master into ** on GoogleCloudPlatform:master**.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-java/pull/1726#issuecomment-286220215,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4zbdVJCRr5PHBQmiIG-uKS-IkVjv-ks5rlZuwgaJpZM4MYmUu
.

@ludoch I have tested this end-to-end on my local machine. I am happy to test it in prod if you gave me the access.


Fixed type of render function

Fix for issue #597

Coverage remained the same at 97.695% when pulling 491bddb34d55b20af4bcbbc7769704e14854dcbd on katyo:master into 00cf45f91e7cda9f80f6cf27f3fd7d28918434e2 on developit:master.

Well, it looks okay, I just don't know why one would render directly into document. Doing that, you won't be able to escape Preact for anything else.

can still append non-preact nodes, but they might get garbage collected prior to 8.0 yup.

@developit it's ParentNode interface. It doesn't have innerHTML and friends, so document doesn't have them too.

Anyway. I think this change won't hurt :-)

@developit well, they share Node interface of course too. It just was split into parts like Node, ParentNode, ChildNode, etc. Element implements most of them :-)

Coverage remained the same at 97.695% when pulling 572d4a88dbd356ae4f5424f13a0ff3bc17741d0a on katyo:master into 37e5a6f684aad1835027c59b5dd801b3a5e286c8 on developit:master.

I'm not entirely convinced this change is a good idea. At the moment it works but as you noted, Document does not implement the Element interface so it is possible that Preact might end up trying to do things with the container that are not supported on a non-Element object in future. Still it got approval in the linked issue so I'm going to merge it.


Pinentry window blank when logging in

The window appears, but is blank and doesn't allow passphrase input.
Mint 18 Sarah based on Ubuntu 16.14

Thanks, sorry about this, we've got a fix for this but it's not released yet due to the holiday period.  You could try killing the GUI app and logging in from keybase login on the console as a workaround.

Hi, this fix is released now.


Move MariaDB to the rhel8 repository instead of centos8 during conversion

There is not centos8-* repositories since MariaDB 10.11. Therefore, we need to switch to either RHEL8 or "centos/8/*". While there isn't much difference between them,
moving to RHEL8 seems simpler, so I decided to use it.

Related issue is #136


Identicon click gives error subsequently cannot download logs

Thanks for filing a bug report :-)
Steps to Reproduce

connect to the app
click on the identicon

Expected Result

Actual Result

TypeError: Cannot read property 'length' of undefined

Additional Infos (Optional)
- Browser & version
- Browser console errors
- Device / OS

@agatsoh Can you provide more information on what exactly you did? This error I remember doing a fix somewhere but it might just be on the PR I am currently working on.

@agatsoh Should be fixed. Could you retest?

@agatsoh confirmed that this is not an issue anymore so I am closing.


Enable Fltk

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] ~Reset the build number to 0 (if the version changed)~
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Trying to enable fltk since the dependency is already in host and run

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Did you check that the GUI works with this change?


[Suggestion] Twitch Chat Overlay settings and overlay toggle icon update

In September 2019 Twitch changed its brand, and a part of it is a completely new iconography. Since then Twitch Chat Overlay settings and overlay toggle icon significantly differs from the rest. The new Twitch icons are no longer filled inside, but the TCO still is.
It would be great if you also update your TCO icons (in those 2 places), using e.g. the Twitch's icon of the feature called "Whispers" (I used this one to prepare the screenshots below), or making your own one that matches the new Twitch iconography.
It could look like these:

Proposal of a (perfectly aligned) new TCO settings icon in the default state (at the top), and in the focused state (at the bottom)

Proposal of a (perfectly aligned as well) new TCO overlay toggle icon right next to the Twitch's video player icons

@trmcnvn Thank you for all the fixes and improvements.


Wrong binaries in arm64 version of the docker images for nebula-operator

Describe the bug (required)
Docker image for linux/arm64 platform of the vesoft/nebula-operator:v1.6.3 at Docker Hub contains x86_64 (AMD64) binaries.
Your Environments (required)

OS: Linux op1 5.10.110-rockchip-rk3588 #1.0.2 SMP Thu Apr 13 16:55:55 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
Docker Image ID:  8cb85d69068e

How To Reproduce(required)
I'm trying to run nebula-operator on the ARM64 Kubernetes platform.
As I start
helm install nebula-operator nebula-operator/nebula-operator --namespace=nebula-operator-system --version=1.6.3

I get in the logs the following errors for both nebula-operator-controller-manager-deployment and nebula-operator-scheduler-deployment:

exec /usr/local/bin/controller-manager: exec format error

That's all. It is not working.
I pulled image vesoft/nebula-operator:v1.6.3 (8cb85d69068e) and checked its content. This is the description of the /bin/sh file:
root@op1:/home/orangepi/work# readelf -h sh
ELF Header:
  Magic:   7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF64
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              DYN (Position-Independent Executable file)
  Machine:                           Advanced Micro Devices X86-64
  Version:                           0x1
  Entry point address:               0x85f1
  Start of program headers:          64 (bytes into file)
  Start of section headers:          815352 (bytes into file)
  Flags:                             0x0
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         11
  Size of section headers:           6**Additional context**

The controller-manager file is also specified as Advanced Micro Devices X86-64.
Expected behavior
The container for platform arm64 must contain correct ARM64 binaries rather then AMD64

@svok Thanks a lot. I've fixed the issue, please try again.

Thank you @MegaByte875. I confirm, installation's done

Unfortunately, I've found one more image with wrong platform.
vesoft/nebula-stats-exporter:v3.3.0

@svok Ok, I will fixed them asap.

The next iteration and one more step futher.
vesoft/nebula-stats-exporter:v3.3.0 - the same problem.

Since 1.7.0 vesoft/nebula-stats-exporter is not required anymore. Both nebula-operator and nebula-cluster have been installed successfully. Thank you.


Project Setup

JavaScript capstone project
Kanban project link : Project Link
Team Members: 2
Student A: @keroloussamy
Student B: @Omar-Muhamad

STATUS: APPROVED 🟢 🥳
Hi @keroloussamy & @Omar-Muhamad 🥇 ,
Congratulations!!! 🥳 🎉
You have successfully completed all the expectations for this project, there is nothing more to do here, now you can go on your way and keep improving your skills.
Cheers and Happy coding!👏👏👏

If anything is not 100% clear please leave your questions or comments in the PR thread, we will be glad to help you 😄.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


RM - New Home Screen [6h]

Issue
Since we are adding another activity type to the home screen, there has been a request to change the format of the home screen to icons - rather than the text buttons we have now.
This is how the new home screen will look with the new Resilience Messaging addition:

The new icons can be found here.
To Do:

restructure home screen per design

@anvmn @adamhstewart

nutrition env
tablet

Checked and Approved:
the new home screen with the new Resilience Messaging addition looks like this:
For Nurse:

For CHW:


Implement processrequesturl console command

This command is provided for use by build automation scripts to enable them to prime the cache for he purpose of generating a cache primer bundle without the need to stand up an http client.

OpenNTF » JavascriptAggregator #672 SUCCESS
This pull request looks good
(what's this?)


Add optional backup partner compatibility testing

What this PR does / why we need it:
Generalize tests marked with label PartnerComp to run with configured script used to backup and restore.
Added documentation  for backup partner explaining what needs to be done in order to run the tests with their backup solution
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Backup partner compatibility testing

closing for alternative PR


ipv4.rs: Potentially incomplete implementation of Result in impl TryFrom<Ipv4Addr> for Mask {}

Hello,
I am implementing an instantiation of Wifi using specific IP address, subnet mask and gateway. The following code is close to be complete but I can't retrieve the error result from the try_from call, I can only use the unwrap() call (see line with // <======= comment):
pub struct Wireless {
    running: bool,
    wifi: Box<EspWifi>,
}

impl Wireless {
    pub fn new(cfg: Config) -> Result<Wireless, anyhow::Error> {
      let netif_stack = Arc::new(EspNetifStack::new()?);
      let sys_loop_stack = Arc::new(EspSysLoopStack::new()?);
      let default_nvs = Arc::new(EspDefaultNvs::new()?);

      let ssid = cfg.ssid.clone();
      let psw = cfg.wifi_password.clone();

      let mut wireless = Wireless {
        running: false,
        wifi: Box::new(EspWifi::new(netif_stack, sys_loop_stack, default_nvs)?),
      };

      let ap_infos = wireless.wifi.scan()?;

      let ours = ap_infos.into_iter().find(|a| a.ssid == ssid);

      let channel = if let Some(ours) = ours {
        info!(
          "Found configured access point {} on channel {}",
          ssid, ours.channel
        );
        Some(ours.channel)
      } else {
        info!(
          "Configured access point {} not found during scanning, will go with unknown channel",
          ssid
        );
        None
      };

      wireless
        .wifi
        .set_configuration(&Configuration::Client(ClientConfiguration {
          ssid: ssid.clone(),
          password: psw.clone(),
          ip_conf: Some(
            if cfg.ip.is_empty() { ipv4::ClientConfiguration::DHCP(Default::default()) }
            else { ipv4::ClientConfiguration::Fixed(ipv4::ClientSettings {
              ip: cfg.ip.parse::<Ipv4Addr>()?,
              subnet: ipv4::Subnet {
                gateway: cfg.gateway.parse::<Ipv4Addr>()?,
                mask: ipv4::Mask::try_from(cfg.subnet_mask.parse::<Ipv4Addr>()?).unwrap(),  // <==========
              },
              dns: Some(cfg.dns.parse::<Ipv4Addr>()?),
              ..Default::default()
            }) }
          ),
          ..Default::default()
        }))?;

I can't replace the .unwrap() call with ? as I receive the following message from the analyser:
[Result]()<[Mask](), ()>
Go to Result | Mask

error: the trait bound `(): StdError` is not satisfied
label: the trait `StdError` is not implemented for `()`

note: required because of the requirements on the impl of `From<()>` for `anyhow::Error`
label: the trait `StdError` is not implemented for `()`

note: required because of the requirements on the impl of `FromResidual<Result<Infallible, ()>>` for `Result<Wireless, anyhow::Error>`
label: the trait `StdError` is not implemented for `()`

the trait bound `(): StdError` is not satisfied
required because of the requirements on the impl of `From<()>` for `anyhow::Error`
required because of the requirements on the impl of `FromResidual<Result<Infallible, ()>>` for `Result<Wireless, anyhow::Error>`rustc[E0277](https://doc.rust-lang.org/error-index.html#E0277

Thanks for your help!!
Guy

Thanks a lot! I've learned something today!! It worked fine!
Cheers!
Guy

Closing for now, if more folks complain, I may implement a better compat with STD.


🐛 [firebase_messaging] Background handler not working on iOS

Bug report
On iOS devices, the background handler set with FirebaseMessaging.onBackgroundMessage does not work.
On Android, the same code works fine.
I can receive messages while the app is in foreground.
I enabled Push notifications, Background fetch, Remote notifications and Background processing in Xcode.
I tried setting FirebaseAppDelegateProxyEnabled to false, but it did not solve the problem.
I am using the newest release 9.1.2 of firebase_messaging.
Steps to reproduce
Steps to reproduce the behavior:

Start the app
Close the app
Send a notification to the device
The notification is displayed but the handler is not called.

Expected behavior
The background handler is called.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
flutter doctor -v
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2.3 20D91 darwin-arm, locale de-DE)
    • Flutter version 2.0.5 at /Users/max/flutter
    • Framework revision adc687823a (9 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/max/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • 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-b3-6915495)

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (2 available)
    • iPhone 6S (mobile) • ios • iOS 14.4.2
    • Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.85

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.3
Flutter SDK 2.0.5
picturetransfer 1.2.5+1

dependencies:
- cached_network_image 3.0.0 [flutter flutter_cache_manager octo_image]
- device_info 2.0.0 [flutter device_info_platform_interface]
- dropdown_search 0.5.0 [flutter]
- email_validator 2.0.1
- ext_storage 1.0.3 [flutter]
- firebase_messaging 9.1.2 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_cache_manager 3.0.1 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_svg 0.21.0-nullsafety.0 [flutter meta path_drawing vector_math xml]
- font_awesome_flutter 9.0.0 [flutter]
- http 0.13.1 [http_parser meta path pedantic]
- image_downloader 0.30.0 [flutter]
- intl 0.17.0 [clock path]
- json_annotation 3.1.1
- package_info 2.0.0 [flutter]
- permission_handler 6.1.1 [flutter meta permission_handler_platform_interface]
- photo_view 0.11.1 [flutter]
- qr_code_scanner 0.4.0 [flutter]
- share 2.0.1 [meta mime flutter]
- shared_preferences 2.0.5 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- splashscreen 1.3.5 [flutter]
- url_launcher 6.0.2 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web]
- video_player 2.1.0 [meta video_player_platform_interface video_player_web flutter flutter_test]
- visibility_detector 0.2.0 [flutter]
- webview_flutter 2.0.2 [flutter]

dev dependencies:
- build_runner 1.11.5 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_launcher_icons 0.9.0 [args image path yaml]
- 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]
- json_serializable 3.5.1 [analyzer build build_config json_annotation meta path source_gen]

transitive dependencies:
- _fe_analyzer_shared 14.0.0 [meta]
- analyzer 0.41.2 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.1.2 [crypto path]
- args 2.0.0
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 1.6.2 [analyzer async convert crypto glob logging meta path]
- build_config 0.4.6 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.10 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.5.3 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.1.10 [async build build_config build_resolvers collection convert crypto glob graphs logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 5.0.0
- built_value 8.0.3 [built_collection collection fixnum]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 1.0.4 [json_annotation source_span yaml]
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- code_builder 3.7.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.0 [typed_data]
- crypto 3.0.0 [collection typed_data]
- dart_style 1.3.12 [analyzer args path pub_semver source_span]
- device_info_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase_core 1.0.4 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 2.1.2 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 1.0.5 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.0 [flutter meta pedantic]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- glob 2.0.0 [async collection file path pedantic string_scanner]
- graphs 0.2.0
- http_multi_server 2.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.2 [archive meta xml]
- io 0.3.5 [meta path string_scanner]
- js 0.6.3
- logging 1.0.0
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 1.0.0
- octo_image 1.0.0 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- path 1.8.0
- path_drawing 0.5.0-nullsafety.0 [vector_math meta path_parsing flutter]
- path_parsing 0.2.0-nullsafety.0 [vector_math meta]
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- permission_handler_platform_interface 3.1.1 [flutter meta plugin_platform_interface]
- petitparser 4.0.2 [meta]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.1.0 [file path platform]
- pub_semver 2.0.0 [collection]
- pubspec_parse 0.1.8 [checked_yaml json_annotation pub_semver yaml]
- rxdart 0.26.0
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- shelf 1.1.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.4+1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 0.9.10+3 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0 [charcode collection path term_glyph]
- sqflite 2.0.0+3 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+3 [json_annotation]
- typed_data 1.3.0 [collection]
- url_launcher_linux 2.0.0 [flutter]
- url_launcher_macos 2.0.0 [flutter]
- url_launcher_platform_interface 2.0.2 [flutter plugin_platform_interface]
- url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins]
- url_launcher_windows 2.0.0 [flutter]
- uuid 3.0.3 [crypto]
- vector_math 2.1.0
- video_player_platform_interface 4.1.0 [flutter meta flutter_test]
- video_player_web 2.0.0 [flutter flutter_web_plugins meta video_player_platform_interface]
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 1.2.0 [async crypto stream_channel]
- win32 2.0.4 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.0.2 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

Hi @IkhwanSI13
Sadly this is the expected (and documented) behavior on iOS due to the native constraints.
https://firebase.flutter.dev/docs/messaging/usage#receiving-messages

On iOS, if the user swipes away the application from app Switcher, it must be manually reopened again for background messages to start working again.

Thank you

Sorry for the late reply, I have been on vacation.
My problem is that the background handler does not work at all, even when the App is still running.

What is the notification payload you are sending and how are you sending it?

Here is an example of my payload. I replaced the URLs and removed sensitive data.
   "message":{
      "data":{
         "click_action":"FLUTTER_NOTIFICATION_CLICK",
         "camera":"6",
         "media": {},
      "notification":{
         "title":"Test",
         "body":"New message",
         "image":"http:\/\/example.com"
      },
      "android":{
         "collapse_key":"camera6",
         "priority":"HIGH",
         "restricted_package_name":"com.example",
         "notification":{
            "default_sound":true,
            "default_light_settings":true,
            "visibility":"PUBLIC",
            "vibrate_timings":[
               "0.5s",
               "1s"
            ]
         }
      },
      "apns":{
         "payload":{
            "aps":{
               "mutable-content":1
            }
         },
         "fcm_options":{
            "image":"http:\/\/example.com"
         }
      },
      "token":"---"
   }
}```

If you want a notification to always trigger the background messaging handler you can add in aps
  "apns": {
    "payload": {
      "aps": {
        "content-available": 1
      }
    }
  }

Otherwise content-available will be added to any data-only notification (if there is no notification key) automatically through the FCM v1 HTTP API.

Thank you, now it works as expected. I misunderstood the documentation.
"Data only messages are considered low priority by devices [...]. On Apple (iOS & macOS), set the content-available field to true."
I thought I don't need to set the flag because my messages are not data only.


Default to the system UI language

I haven't gone and confirmed this empirically (it's a bit annoying to test because it involves uninstalling the app), but from studying our code it looks like we always start out with English for the UI when the app is installed.
We should instead look at the user's language preferences they've set in the system settings, and respect those.
Once we've first installed, we can remember the language and let the user change it through our own settings UI independent of the system settings, like we do now. But this should make our language-settings UI unnecessary for the vast majority of users, and give most non-English-speaking users a better experience right from the start.
See also #2611 about some of the limitations of that UI; but no matter how excellent we make it, it'll be better still to make a sensible choice from the beginning.

Hey, I would like to work on this issue? Can you guide me with this?

I believe @im-adithya is working on this -- see chat thread.

@gnprice, I'm really sorry for responding late 😕 as I was busy with taking care of my parents who were suffering from covid for last two weeks (and they are gradually recovering now 🥳 so I can finally spare time for contributing!!)

I'll start working on this ASAP!

We've had a user request in this area: chat thread.
For anyone interested in picking this issue up, here's the implementation discussion from that previous thread in 2021:

And great, that [library] returns a list of locales ordered by preference:
https://github.com/zoontek/react-native-localize#getlocales
So we should just go down that list and take the first match.
That leaves a few wrinkles:

If we have the country-specific variant that react-native-localize tells us the user prefers, then take that. If not, but we have the country-independent version, then take that.

This way, if e.g. the user prefers pt_BR aka "Portuguese (Brazil)", we'll give them pt. But if they prefer pt_PT, we'll give them that, which we also have.

[I believe this has since been made moot, but:] We have id_ID (actually we call it id-ID?), but not simply id. That error seems to originate in our Transifex config. We should try to straighten it out there (file an issue in zulip/zulip?); in the meantime, just add a line or two of code to work around it ad hoc.
Chinese is a bit different, because aside from per-country variations there are two different scripts (each of which is used in several countries); currently we have zh-Hans and zh-Hant which are the two scripts. (After #4285 it'll be zh_TW and zh-Hans.)

Not sure how react-native-localize will represent that. This will need testing -- select Chinese in your system language settings and find out.


Retry analyzer not calling BeforeMethod & AfterMethods if firstTimeOnly/lastTimeOnly are mentioned for the test

Consider the case below:
@BeforeMethod(firstTimeOnly=true)
public void StartDriver()
{
   System.out.println("Start Driver");
}

@AfterMethod(lastTimeOnly=true)
public void stopDriver()
{
   System.out.println("Stop Driver");
}

@Test
public void TestRetry()
{
   Assert.assertTrue(false,"TestRetry Failed");
}

If I use TestNG's IRetryAnalyzer to rerun the above case, the StartDriver & stopDriver are called for the actual first run, while none of the two is called for the Second(retry) time.
[testng] Start Driver
[testng] [Status]:TestRetry2_FAIL
[testng] Stop Driver
[testng] Going to retry test case: TestRetry()
[testng] [Status]:TestRetry2_FAIL

I am using TestNG 6.9.4 & this works fine(i.e start & stop are called for both first time & for the retry execution) if firstTimeOnly & lastTimeOnly are not mentioned.
Any help would be deeply appreciated.

ping..

I guess this is working as designed. Looking at the code of public boolean firstTimeOnly() default false;
I see

If true and the @Test method about to be run has an invocationCount > 1, this
BeforeMethod will only be invoked once (before the first test invocation).

So the invocationCount is already > 1 during the retry. So this is working as expected.

It does, however, look like the @AfterMethod is being called prematurely.

@rschmitt  : Do you have a test? I can debug the code.

Says who? Look at his console output again:
[testng] Start Driver
[testng] [Status]:TestRetry2_FAIL
[testng] Stop Driver
[testng] Going to retry test case: TestRetry()
[testng] [Status]:TestRetry2_FAIL

It's an invariant violation for the @AfterMethod here to run between tests, isn't it?

@rschmitt  : I totally agree what you're saying. All I'm saying is, this defect context doesn't reflect actual bug in testng.
There should be a new defect for "Retry analyzer not calling BeforeMethod & AfterMethods if it's specified in a Test Class"


Parameter type inference went bizarrely wrong, When using slightly complex parameter

Bug Report
🔎 Search Terms
conditional return type
🕗 Version & Regression Information
4.9, and yes, typescript@next is tried.

This is NOT a crash
This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

⏯ Playground Link
See below:
Playground link with relevant code
💻 Code

interface ShParam {
        str_val:      string,
        opt_val?:     string,
}

interface ParameterType {
        retNumber?:   true,
        str1:         string,
        shparam:      ShParam
}

function createLabel0<O extends ParameterType, T>(insObj: T, idOrName: O): O extends {retNumber: true} ? number : T {
    throw "unimplemented";
}

let shparam   = {str_val: 'str'} as ShParam;

let a = createLabel0 ('hello', {retNumber: true, str1: 333});    // fine
//  ^?

let b = createLabel0 ('hello', {retNumber: true, str1: 'str'});  // fine
//  ^?

let c = createLabel0 ('hello', {retNumber: true, str5: 'str'});  // fine
//  ^?

let d = createLabel0 ('hello', {retNumber: true, str5: 'str', shparam});  // not file
//  ^?

let e = createLabel0 ('hello', {retNumber: true, shparam, str1: 'str'});  // wrong info when hovering over TestClass.createLabel
//  ^?

let f = createLabel0 ('hello', {retNumber: true, shparam, str1: 'str', str5: 'hello'});  // now str5 is just ignored
//  ^?

🙁 Actual behavior
Please hover on createLabel0 of case e and f. Its prototype becomes:
function createLabel0<{
    retNumber: true;
    shparam: ShParam;
    str1: string;
}, "hello">(insObj: "hello", idOrName: {
    retNumber: true;
    shparam: ShParam;
    str1: string;
}): number

And more importantly, in case f, "str5" is not detected as wrong parameter anymore, like in case c and d.
🙂 Expected behavior
createLabel0's prototype should be:
function createLabel0<ParameterType, "hello">(insObj: "hello", idOrName: ParameterType): "hello"

prototype

I think you mean “signature”.   “Prototype” means something completely different in JS than it does in C.

prototype

I think you mean “signature”. “Prototype” means something completely different in JS than it does in C.

I’m sure you are correct. I just forgot where I borrowed the word from. Thanks for reminding.

(I am not a TS team member, just an annoying interested fellow user)
I don't see any incorrect behavior here from the compiler, but explaining why nothing is wrong could take pages of text, links to documentation, and example code, and probably doesn't belong here but on Stack Overflow or some other more appropriate forum.  In short (ish):

Excess properties are generally allowed, or else you couldn't extend interfaces or classes by adding properties.  Excess property warnings on object literals only happen because they are likely to be forgotten about, not because they violate the type system.

For a, b, c, and d inference fails, because your argument is bad.  You got an excess property warning in c and d because the argument was not valid ParameterType even without the str5 property... so type argument inference of O failed and fell back to the ParameterType constraint, and str5 is not expected in that type.

In e and f your argument is good because you supplied all the necessary properties.  Type argument inference succeeded, and O was inferred as the type of the passed-in argument, which necessarily extends ParameterType.  Since O knows about every property in the argument, there are no excess properties.

If there's something in particular you still think is broken, could you write out very explicitly what the problem is?

Thanks for taking time to provide the detailed reply.

In e and f your argument is good because you supplied all the necessary properties.  Type argument inference succeeded, and O was inferred as the type of the passed-in argument, which necessarily extends ParameterType.  Since O knows about every property in the argument, there are no excess properties.

In "e", "f" cases, arguments are indeed good. However, why in these two cases, the function signature is inferred as
function createLabel0<{retNumber: true; shparam: ShParam; str1: string;}, "hello"> ... instead of function createLabel0<ParameterType, "hello">? Especially in case "e", the input parameter has a full match.

The displayed call signature is showing you the results of type inference, with inferred type arguments substituted for type parameters.  When inference succeeds, O is inferred as exactly the type of the passed-in idOrName argument, so that's what gets substituted for O, not ParameterType.  Unless the argument is exactly of type ParameterType, you won't see O as ParameterType unless inference fails, in which case it falls back.  If you want O to be exactly ParameterType all the time, then your function should probably not be generic in O at all.
As for your more specific question, this isn't a forum for asking how to write code, so I don't feel comfortable continuing too much about how to resolve your particular code issue. I explained why excess properties are not a type violation... when you say "places I need to change" you are making an assumption about the language that isn't true.   Presumably you want exact types in TypeScript as requested in #12936, and you can look in there for approaches that people use there to simulate such behavior.  Maybe this playground link will help you... but again, further discussion probably belongs elsewhere, and unless you can articulate a specific bug in TypeScript itself you should probably close this issue to save the TS team from the effort of triaging this.

Solved my specific issue by not relying on tsc to warn me of excess parameters, but resorting to jscodeshift to do codemods automatically.
Thank you anyway for the playground link, which also works perfectly! Hopefully it didn't intrude too much into the uneasy zone of code-writing tutoring. Much appreciated.


Verify clz

This PR implements verification for clz, which counts the number of leading zeros in a bv.
Hacks to watch out for

Added clz as an operator in the annotation language and hard-coded an SMT string that we feed directly to the solver.
Added a64_clz as a different operator in the annotation language because the a64_clz term returns a Reg.
Added logic to type inference to pass up isleType values like $I32. This is relevant to the RHS of two of the clz rules. Used query width when there was no explicit isleType value (ie just a variable like ty).
Needed many hard-coded clz strings: one for each input length, and one for a64_clz because of its 64-bit return type.
Since the clz string doesn't have a clear return value, we handle Expr::CLZ and Expr::A64CLZ as subcases of Expr::Eq. The downside is that in annotations, we can only use these operators directly as arguments to =.

This also means that type inference for CLZ is fragile because we assume that the input and output types are the same.

How clz works
Here's a runnable C program that computes clz:
#include <stdio.h>
#include <stdint.h>

uint8_t foo(uint64_t x);

int main()
{
    printf("%d\n", foo(16));
    return 0;
}

uint8_t foo(uint64_t x) {
    uint64_t y;
    uint8_t num_zeros = 0;

    y = x >> 32;
    if (y != 0) x = y; else num_zeros += 32;

    y = x >> 16;
    if (y != 0) x = y; else num_zeros += 16;

    y = x >> 8;
    if (y != 0) x = y; else num_zeros += 8;

    y = x >> 4;
    if (y != 0) x = y; else num_zeros += 4;

    y = x >> 2;
    if (y != 0) x = y; else num_zeros += 2;

    y = x >> 1;
    if (y != 0) x = y; else num_zeros += 1;

    if (x == 0) num_zeros += 1;

    return num_zeros;
}

And the translated SMT:
(declare-fun x () (_ BitVec 32))
(assert (= x (_ bv5 32))) ; placeholder to test x = 5

; total zeros counter
(declare-fun ret0 () (_ BitVec 32))
(assert (= ret0 (_ bv0 32)))

; round 1
(declare-fun ret1 () (_ BitVec 32))
(declare-fun y16 () (_ BitVec 32))
(declare-fun x16 () (_ BitVec 32))

(assert (= y16 (bvlshr x #x00000010)))
(assert (ite (not (= y16 (_ bv0 32))) (= ret1 ret0) (= ret1 (bvadd ret0 (_ bv16 32)))))
(assert (ite (not (= y16 (_ bv0 32))) (= x16 y16) (= x16 x)))

; round 2
(declare-fun ret2 () (_ BitVec 32))
(declare-fun y8 () (_ BitVec 32))
(declare-fun x8 () (_ BitVec 32))

(assert (= y8 (bvlshr x16 #x00000008)))
(assert (ite (not (= y8 (_ bv0 32))) (= ret2 ret1) (= ret2 (bvadd ret1 (_ bv8 32)))))
(assert (ite (not (= y8 (_ bv0 32))) (= x8 y8) (= x8 x16)))

; round 3
(declare-fun ret3 () (_ BitVec 32))
(declare-fun y4 () (_ BitVec 32))
(declare-fun x4 () (_ BitVec 32))

(assert (= y4 (bvlshr x8 #x00000004)))
(assert (ite (not (= y4 (_ bv0 32))) (= ret3 ret2) (= ret3 (bvadd ret2 (_ bv4 32)))))
(assert (ite (not (= y4 (_ bv0 32))) (= x4 y4) (= x4 x8)))

; round 4
(declare-fun ret4 () (_ BitVec 32))
(declare-fun y2 () (_ BitVec 32))
(declare-fun x2 () (_ BitVec 32))

(assert (= y2 (bvlshr x4 #x00000002)))
(assert (ite (not (= y2 (_ bv0 32))) (= ret4 ret3) (= ret4 (bvadd ret3 (_ bv2 32)))))
(assert (ite (not (= y2 (_ bv0 32))) (= x2 y2) (= x2 x4)))

; round 5
(declare-fun ret5 () (_ BitVec 32))
(declare-fun y1 () (_ BitVec 32))
(declare-fun x1 () (_ BitVec 32))

(assert (= y1 (bvlshr x2 #x00000001)))
(assert (ite (not (= y1 (_ bv0 32))) (= ret5 ret4) (= ret5 (bvadd ret4 (_ bv1 32)))))
(assert (ite (not (= y1 (_ bv0 32))) (= x1 y1) (= x1 x2)))

; last round
(declare-fun ret6 () (_ BitVec 32))
(assert (ite (not (= x1 (_ bv0 32))) (= ret6 ret5) (= ret6 (bvadd ret5 (_ bv1 32)))))

; final return
(declare-fun ret () (_ BitVec 32))
(assert (= ret ret6))

(check-sat)
(get-model)

And a Python script to generate Rust statements to add the SMT to the solver:
import sys
import re

filename = sys.argv[1]
decl = "(declare-fun "
assertion = "(assert "
pattern = re.compile(r'\{.*?\}')

# assume the line looks like (declare-fun <name> () <type>)
def parse_decl(line):
    name = line.split()[1]
    ty = f'String::from(\"{line.split("()")[1][1:-1]}\")'

    matches = re.findall(pattern, name)
    if len(matches) == 0:
        return name, ty

    var = set([m[1:-1] for m in matches])
    named_params = ', '.join([f'{x} = {x}' for x in var])
    return f'format!(\"{name}\", {named_params})', ty

# assume the line looks like (assert <assertion>)
def parse_assertion(line):
    a = line[len(assertion):-1]

    matches = re.findall(pattern, a)
    if len(matches) == 0:
        return a

    var = set([m[1:-1] for m in matches])
    named_params = ', '.join([f'{x} = {x}' for x in var])
    return f'format!(\"{a}\", {named_params})'

lines = []
with open(filename, 'r') as f:
    lines = f.readlines()

# this converter assumes self is accessible
for l in lines:
    line = l.strip()

    # leave blank lines
    if len(line) == 0:
        print("")
        continue

    # convert comments
    if line[0] == ';':
        print(f'//{line[1:]}')
        continue

    # convert declarations
    if line[:len(decl)] == decl:
        name, ty = parse_decl(line)
        print(f'self.additional_decls.push(({name}, {ty}));')
        continue

    # convert assertions
    if line[:len(assertion)] == assertion:
        a = parse_assertion(line)
        print(f'self.additional_assumptions.push({a});')
        continue

Overall, this is GREAT! Some comments inline but I think we might want to review this on a synchronous call.


Add Widget Gallery

View all widgets, what module they're a part of, and other widget related information in the Widget Gallery within the Admin drop down menu.

Widget Gallery Preview

Works well with SQLite in my test env.

I really like the widget gallery, there's just some implementation details I would like to see changed.


[#116681747] Download fly based on file modified time

What
This is a different solution to the problem described and worked around in
bcb785b. We noticed some confusion when upgrading Concourse because the
wrong version of fly was used and not replaced because it was <24hrs old.
It's also inconvenient to wait for the file to be re-downloaded each day
when there are no changes.
We can reduce the time that old binaries are used without significantly
increasing the time it takes to run by using HTTP If-Modified-Since
headers. I've raised concourse/fly#87 to implement this in fly itself, but
in the meantime we can do the same thing using curl by passing the -z
argument. It will only download the whole file if it either:

doesn't exist locally
has a later modified time than the file we have locally

I can't see any disadvantage to not using fly sync for the moment since we
have to construct the download URL for the first time anyway.
This adds about 300ms to the runtime when you already have fly.
Before:
➜  paas-cf git:(master) ✗ time ./concourse/scripts/fly_sync_and_login.sh
Doing fly login
username: admin
password:
target saved
./concourse/scripts/fly_sync_and_login.sh  0.03s user 0.02s system 16% cpu 0.339 total

After:
➜  paas-cf git:(bugfix/116681747-download_fly_mtime) ✗ time ./concourse/scripts/fly_sync_and_login.sh
Downloading fly command...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
Doing fly login
username: admin
password:
target saved
./concourse/scripts/fly_sync_and_login.sh  0.06s user 0.03s system 15% cpu 0.608 total

How to review

Checkout this branch: git checkout bugfix/116681747-download_fly_mtime
Delete your exist binary: rm bin/fly
Upload your pipelines and watch it download fly: make dev pipelines
Upload your pipelines again and it shouldn't download fly: make dev pipelines
Run the pipeline and confirm that self-update-pipeline still works.

Who can review
Not @dcarley

All good.


E/flutter (27120): 'package:share/share.dart': Failed assertion: line 83 pos 15: 'path != null': is not true.

Hi @d-silveira  I have another problem.
This plugin working good on share of one thing. But when I share my app with intent of multiple files I got exception on your code, (my code not running at all).
This is the log of my application:
E/flutter (27120): [ERROR:flutter/shell/platform/android/android_context_gl.cc(53)] EGL Error: EGL_BAD_ACCESS (12290)
I/MainActivity(27120): receiving shared files!
I/flutter (27120): Share received - {0: content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2Fshare_image_1516813324332.png, 1: content://com.android.providers.downloads.documents/document/raw%3A%2Fstorage%2Femulated%2F0%2FDownload%2Fshare_image_1516813378399.png, type: image/png, is_multiple: true}
E/flutter (27120): [ERROR:topaz/lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (27120): 'package:share/share.dart': Failed assertion: line 83 pos 15: 'path != null': is not true.
E/flutter (27120): #0      _AssertionError._doThrowNew (dart:core/runtime/liberrors_patch.dart:37:39)
E/flutter (27120): #1      _AssertionError._throwNew (dart:core/runtime/liberrors_patch.dart:33:5)
E/flutter (27120): #2      new Share.file (package:share/share.dart)
E/flutter (27120): #3      Share.fromReceived (package:share/share.dart:141:24)
E/flutter (27120): #4      ReceiveShareState._receiveShareInternal (package:share/receive_share_state.dart:40:24)
E/flutter (27120): #5      _RootZone.runUnaryGuarded (dart:async/zone.dart:1316:10)
E/flutter (27120): #6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:330:11)
E/flutter (27120): #7      _DelayedData.perform (dart:async/stream_impl.dart:578:14)
E/flutter (27120): #8      _StreamImplEvents.handleNext (dart:async/stream_impl.dart:694:11)
E/flutter (27120): #9      _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:654:7)
E/flutter (27120): #10     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (27120): #11     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
I/FlutterActivityDelegate(27120): onResume setting current activity to this
E/BpSurfaceComposerClient(27120): Failed to transact (-1)
E/BpSurfaceComposerClient(27120): Failed to transact (-1)
I/zygote64(27120): Do partial code cache collection, code=60KB, data=47KB
I/zygote64(27120): After code cache collection, code=60KB, data=47KB
I/zygote64(27120): Increasing code cache capacity to 256KB````

I will investigate it, thanks

Keep me posted...

Are you fixed the problem already ?

Hey how are you ?
anything new ?

Hi, I didn't find the issue yet, as soon as I have something I'll let you know, thanks

What's going on with the plugin ?
Any progress ?

Something new ?


Refactored code for readability

@theundeadmonk, I provided some comments. Take a look (and the other PR's as well) and take another stab. I'm sure you will have some ideas after the other reviews.
Keep it up!!

A

Also, if you had a separate class for name generation, you could move all the registry, duplicate, pattern stuff into it and leave the robot class clean and focusing on something more important than names ;-)


Add more test coverages for POST /_replicate

Added more POST /_replicate tests for https://github.com/couchbase/couchbase-lite-java-core/issues/1386.

ready to be merged once PR is merged.


Optional variable that allows collapsing the recently expanded cell, when any other cell is expanded

@okhanokbay Here's an example
I have my first section expanded.
Now, when I click on second section, the first section should collapse and second section should expand.
how to achieve this?

@vaibhav-varshaaweblabs  Until it will be implemented in v0.5.0, you can achieve this by using stateChangeForSection delegate method as written below: (Don't forget to set delegate)
extension ViewController: ExpyTableViewDelegate {
//OPTIONAL DELEGATE METHOD, receives callbacks when a section will expand, will collapse, did expand, did collapse. A unified method.
 func tableView(_ tableView: ExpyTableView, expyState state: ExpyState, changeForSection section: Int) {

   switch state {
   case .willExpand:
   //call this method here OR in didExpand state below
   //collapseLatestExpandedSection()
    print("WILL EXPAND")

   case .didExpand:
   //call this function here OR in willExpand state above
   //collapseLatestExpandedSection()
   print("DID EXPAND")
   }
 }

It is up to you to place your logic in willExpand or didExpand state, try and decide the best that fits your condition.
For example if you write a function named
func collapseLatestExpandedSection(section: Int)

Store the latest expanded section in a variable like below.
Then the implementation could be something like this:
var latestExpandedSection: Int?

func collapseLatestExpandedSection(section: Int) {
   guard let latestExpandedSection = latestExpandedSection else {
       latestExpandedSection = section
       return
   }
   guard section != latestExpandedSection else { return }
   //ExpandableTableView is your table view instance.
   expandableTableView.collapse(latestExpandedSection)
   latestExpandedSection = section
}

You can call this function from delegate method and it should work. Please tell me if it doesn't work :)

@okhanokbay Can we get the state of the cell on click of it?

@vaibhav-varshaaweblabs You may want to look at ExpyTableViewHeaderCell protocol. Conform to it in your table view cell subclass then you get the state information updates.


Datasette has plants_entity_eia file with missing columns

It appears that the version of the plants_entity_eia table currently hosted on Datasette (https://data.catalyst.coop/pudl/plants_entity_eia) is missing most of the columns it should contain per https://catalystcoop-pudl.readthedocs.io/en/latest/data_dictionaries/pudl_db.html#plants-entity-eia.

These columns have moved to plants_eia860 in the dev branch.

Ah yeah, sorry the Datasette deployment generally follows dev for the time being.

I have updated the documentation build to serve up the dev branch for the "latest" version on RTD, so this discrepancy shouldn't show up in the future:
https://catalystcoop-pudl.readthedocs.io/en/latest/


solver is not defined

When solver doesn't converge, a NameError is raised solver is not defined.

https://github.com/RemiTheWarrior/FESTIM/blob/fadd015404cdf092c1b02d16820d8a362a89244b/FESTIM/solving.py#L51
The problem is here


Why is setUniform(..) creating a new std::vector each call?

Why is setUniform(..) creating a std::vector each call? The data seems like it's already in the correct layout.
https://github.com/SFML/SFML/blob/1159ac5c522a4819263ef7fd8628e0ea8d624862/src/SFML/Graphics/Shader.cpp#L603

It would work, indeed, but I think casting a Vec2* to a float* is UB in C++. So the answer would be: this is the only standard-compliant way to accomplish this task.

Ah I see, thanks! I think a small vector optimisation here would improve performance for most cases.


ARR: Fix field readers

Avoid using double curly brace paths and point to the noteNumber field in the edit content

use these values instead:
            "readers": [
              "aclweb.org/ACL/ARR/2024/April/Program_Chairs",
              "aclweb.org/ACL/ARR/2024/April/Submission${7/content/noteNumber/value}/Senior_Area_Chairs",
              "aclweb.org/ACL/ARR/2024/April/Submission${7/content/noteNumber/value}/Area_Chairs",
              "${4/signatures}"
            ]

in all the invitations where fields have restricted readers.


Build problems using zig version specified by README

I cloned a fresh repo with the latest code and tried to build with the zig version specified by README.
Perhaps the vendored zig-gamedev code doesn't match this zig version?
Zig-gamedev is now expecting the latest version nominated by Mach.
➜  aftersun git:(main) git log -1 | tee
commit 46a4b795693ab536333baec28977f25df66dfb86
Author: foxnne<EMAIL_ADDRESS>Date:   Tue Feb 20 11:25:24 2024 -0600

    systems: Add back render_culling system to increase performance

➜  aftersun git:(main) alias afterzig
afterzig=/Users/jonas/zig/0.12.0-dev.1092+68ed78775/files/zig
➜  aftersun git:(main) afterzig build
/Users/jonas/src/zig/aftersun/src/deps/zig-gamedev/zstbi/build.zig:15:22: error: root struct of file 'Build' has no member named 'ResolvedTarget'
    target: std.Build.ResolvedTarget

Thanks for the issue and good catch! I recently was working with slimsag and ali to try to get this project using sysgpu to remedy the memory issues on macOS. One of the changes we made was updating to the latest sysgpu branch of mach-core, and to zig version 0.12.0-dev.2063+804cee3b9. I'll get the readme updated to reflect this :)

Readme has been updated, please let me know if you can get this to build and we can close this issue :)

Works just fine with the new README.
➜  aftersun git:(main) git log -1 | tee
commit c7c20524c500b0680ff603db8b56c31681161475
Author: foxnne<EMAIL_ADDRESS>Date:   Wed Feb 21 13:41:30 2024 -0600

    Update README.md
➜  aftersun git:(main) mzig version
0.12.0-dev.2063+804cee3b9
➜  aftersun git:(main) mzig build -l
  install (default)            Copy build artifacts to prefix path
  uninstall                    Remove build artifacts from prefix path
  run                          Run aftersun
  test                         Run unit tests
  process-assets               generates struct for all assets


white space on position of navigation bar

Describe the bug
After building app with bubblewrap, and set .well-known/assetlink.json when scrolling down, I see white space the size of the navigation bar below app content. Because of this space navbar which has css position "sticky", and set to top 0 is above the view.
To Reproduce

bubblewrap init --manifest ...
in manifest.json i have except icons only
"start_url": "/",
"scope": ".",
"display": "fullscreen",
"theme_color": "#000000",
"background_color": "#ffffff"
bubblewrap build (set Display mode to "fullscreen")
install app.
Expected behavior
no white space in app bottom when scrolling down.

Screenshots

Smartphone (please complete the following information):

Device: xiaomi redmi note 7
OS: 10 QKQ1.190910.002
Browser chrome
Version 111.0.5563.116

Additional context
That problem occurs when selected is fullscreen mode and occurs only in portarait view, in landscape everything is fine.
But on standalone display mode issue didn't occurs at all.
In PWA installed app problem does not exist. Bottom navigation from screen has position "fixed" and bottom 0

Bubblewrap only generates the packaging for the app, and rendering is implemented by the browser in a Trusted Web Activity. I'd recommend filing an issue on bugs.chromium.org in this case.


Switch from toml gem to toml-rb gem for more robust parsing

Description
Switches toml parsing gems from toml to toml-rb.
Issues Resolved
#190
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] All commits have been signed for the Developer Certificate of Origin. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

yeah if we need to bump to 13.7 then we bump to 13.7

@tas50 @jonlives Did you see my comment about the lack of a "dumper" function for the tomlrb gem?

This is covered in #202  so closing this one in preference to that as it also contains other stuff that needs merging. Thanks for the PR!


Remove mailing list links on contact page

e.g. we have links on http://community.openspending.org/about/contact/
I suggest we now remove these mailing list links in favour of the forum. Note I'm not sure the forum link is super clear so I would repeat in the bullet point lists (i.e. basically replace mailing list item in the lists with a link to the forum).
I'd also suggest we repeat the irc link under developer section (or get rid of the developer section frankly ...)

I rewrote the contact page a bit and removed another reference to the mailing lists somewhere else.


Compreface Fails to Connect When det_prob_threshold is Two Digits

Describe the bug
Double-take fails to connect to Compreface when the 'det_prob_threshold' option has more than one digit. For example, the det_prob_threshold value of 0.9 will connect, but 0.95 will not.
Version of Double Take
v1.5.1-ba20c69:latest
Expected behavior
Either connect to Compreface with a det_prob_threshold value of 0.95, automatically round down, or warn of the limitation.
Screenshots

Hardware

OS: Docker(Unraid)

Additional context
Compreface returns error 400 when using a 2 digit det_prob_threshold, so it's possible this is a Compreface limitation. If that's the case, then documentation for this config option or automatically rounding this value would be helpful.

This was fixed in the latest release v1.7.0. If you encounter any other issues feel free to reopen to make a new issue.


RuntimeError: Error(s) in loading state_dict for LatentDiffusion: 	size mismatch

Hi, Im follow ur README and try to generate some regularization pics, and also use the sd-v1-4-full-ema.ckpt, but error happen
/usr/bin/python /hy-tmp/dreambooth/Dreambooth-Stable-Diffusion-main/txt2img.py --ddim_eta 0.0 --n_samples 8 --n_iter 50 --scale 10.0 --ddim_steps 50 --ckpt stable-diffusion/sd-v1-4-full-ema.ckpt --prompt a photo of a man
Loading model from stable-diffusion/sd-v1-4-full-ema.ckpt
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 872.30 M params.
making attention of type 'vanilla' with 512 in_channels
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
making attention of type 'vanilla' with 512 in_channels
Traceback (most recent call last):
  File "/hy-tmp/dreambooth/Dreambooth-Stable-Diffusion-main/txt2img.py", line 119, in <module>
    model = load_model_from_config(config, opt.ckpt_path)  # TODO: check path
  File "/hy-tmp/dreambooth/Dreambooth-Stable-Diffusion-main/txt2img.py", line 19, in load_model_from_config
    m, u = model.load_state_dict(sd, strict=False)
  File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1482, in load_state_dict
    raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for LatentDiffusion:
	size mismatch for model.diffusion_model.input_blocks.1.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.input_blocks.1.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.input_blocks.2.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.input_blocks.2.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.input_blocks.4.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.input_blocks.4.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.input_blocks.5.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.input_blocks.5.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.input_blocks.7.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.input_blocks.7.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.input_blocks.8.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.input_blocks.8.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.middle_block.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.middle_block.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.3.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.3.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.4.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.4.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.5.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.5.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([1280, 768]) from checkpoint, the shape in current model is torch.Size([1280, 1280]).
	size mismatch for model.diffusion_model.output_blocks.6.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.output_blocks.6.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.output_blocks.7.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.output_blocks.7.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.output_blocks.8.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.output_blocks.8.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([640, 768]) from checkpoint, the shape in current model is torch.Size([640, 1280]).
	size mismatch for model.diffusion_model.output_blocks.9.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.output_blocks.9.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.output_blocks.10.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.output_blocks.10.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.output_blocks.11.1.transformer_blocks.0.attn2.to_k.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).
	size mismatch for model.diffusion_model.output_blocks.11.1.transformer_blocks.0.attn2.to_v.weight: copying a param with shape torch.Size([320, 768]) from checkpoint, the shape in current model is torch.Size([320, 1280]).

Process finished with exit code 1

why does it happen? should i alter the ckpt?

same problem


commit Chinese version of white paper.

Here, @ArthurSens .  I don't know whether the process of directly create pull request is correct or not. This is the translated content. Could you check it out if you have time?  Of course, anyone can.
Thank you and look forward to your reply.

Here, @ArthurSens . I don't know whether the process of directly create pull request is correct or not. This is the translated content. Could you check it out if you have time? Of course, anyone can.
Thank you and look forward to your reply.

@chenmudu  I'll be happy to do a proofreading on the Chinese version! Thanks for translating!

Generally look good to me. One problem is that can we keep consistency for the nouns? Something like logs, sometime it uses "日志", sometimes it uses "log". Same situation for "paper".

Yes, we should keep to the same style.  This is my oversight and I will fix it in the next commit.  Thank you for your advice and patience. ♥

@JohnWu20 @lichunli-amzn  Some minor bugs that were not easily detect have been fixed. If you have time, could you review it? Thanks a lot.

That's amazing job!
My worry for now is that we still have review period for English version, so it might change a bit. However this gives amazing value already, so maybe we can merge and iterate? 🤗

Here, @ArthurSens . I don't know whether the process of directly create pull request is correct or not. This is the translated content. Could you check it out if you have time? Of course, anyone can.

Direct PR is great, let's have at least one LGTM from Chinese speaker/reader contributor then we can merge (:

cc @JohnWu20 @raptorsun can you help? (:

cc @JohnWu20 @raptorsun can you help? (:

yup 😉

@JohnWu20 @lubingfeng @raptorsun Please review it again, if you have time. Thanks a lot.

Direct PR is great, let's have at least one LGTM from Chinese speaker/reader contributor then we can merge (:

Yeah, thanks.

@chenmudu  @lubingfeng @JohnWu20 @lichunli-amzn   我的修改建议都提完了。有劳各位再校对一下。

@chenmudu @lubingfeng @JohnWu20 @lichunli-amzn 我的修改建议都提完了。有劳各位再校对一下。
@bwplotka My review is over. Now double-checking with other translators 👀

🎉 This update fixes everyone's suggestions. Thanks a lot.  If there are no other problems, I think we can use LGMT to promote the merger of this pull request. ❤

@chenmudu @lubingfeng @JohnWu20 @lichunli-amzn 我的修改建议都提完了。有劳各位再校对一下。
@bwplotka My review is over. Now double-checking with other translators 👀

🎉 This update fixes everyone's suggestions. Thanks a lot. If there are no other problems, I think we can use LGMT to promote the merger of this pull request. ❤

谢谢老兄这么及时的修改。 最后Merge前把 Clearpath的首字母 C 加上就好了。 👍

This is so impressive!  Thanks a lot to everyone that worked on the translation ❤
From my side, I think it is fine to merge (if all translators have already approved). As we modify the original, I'll ping you folks to change the Chinese version too. Does that sound reasonable?

Thanks @ArthurSens and I'm glad to see this coming together!

As we modify the original, I'll ping you folks to change the Chinese version too. Does that sound reasonable?
Chinese version should change with the original version, I am happy to do so, please feel free to @chenmudu .

Chinese version should change with the original version, I am happy to do so, please feel free to @chenmudu .

LGTM, I think it's time for us to merge this pr. @ArthurSens  There hasn't been any problem feedback for several days.

Here, @ArthurSens . I don't know whether the process of directly create pull request is correct or not. This is the translated content. Could you check it out if you have time? Of course, anyone can.
Thank you and look forward to your reply.

LGTM,cool.

LGTM,cool.

Maybe take another 👀 on my suggestions. @chenmudu @lichunli-amzn @raptorsun @JohnWu20

Maybe take another 👀 on my suggestions. @chenmudu @lichunli-amzn @raptorsun @JohnWu20

Cool, I'll modify it later. @just1900


Could you provide your average latency data?

Hi authors, I read your paper. It's an impressive work. It seems that your paper only reported latency in a figure, which does not give accurate data. Could you provide them in a table so that we can get accurate data?

Hi, we have the frame per sec reported in Table 4.

Hi Hang, thank you for responding so timely! There is img/sec reported in Table 4 for ResNeSt-101 to 269. In comparison, the figure to the left additionally has avg latency for ResNeSt-50. Could you also provide that number? In addition, it would be great if you also have the numbers for corresponding ResNets under the same settings.

%%%%%%%%%%ResNet%%%%%%%%%%%%%
% resnet50b@224: 725.45
% resnet101b@224: 475.28
% resnet152b@224: 348.17
%%%%%%%%%%ResNeXt%%%%%%%%%%%%%
% resnext50_32x4d@224: 560.70
% resnext101_32x4d@224: 345.62
% resnext101_64x4d@224: 210.02
%%%%%%%%%%ResNeSt%%%%%%%%%%%%%
% resnest50@224: 488.17
% resnest50@256: 404.84
% resnest50@320: 273.74
% resnest101@224: 313.29
% resnest101@256: 265.30
% resnest101@320: 176.11
% resnest152@224: xxx.x
% resnest152@256: 199.74
% resnest152@320: 132.77
% resnest200@320: 102.93
% resnest269@400: 54.62
%%%%%%%%%%EfficientNet%%%%%%%%%%%%%
% efficientnet-b0@224: 806.45
% efficientnet-b1@240: 588.24
% efficientnet-b2@260: 458.71
% efficientnet-b3@300: 337.84
% efficientnet-b4@380: 149.25
% efficientnet-b5@456: 84.32
% efficientnet-b6@528: 53.93
% efficientnet-b7@600: 34.92
%%%%%%%%%%SENet%%%%%%%%%%%%%
% SENet-154@224: 133.80
% SENet-154@320: 133.80

Thank you so much!


Implement the final design - Front

Structure

[x] Main navigation (menu)
[x] Footer with terms and privacy nav
[x] Mobile general adjustments

Visual enhancement

[x] ConnectWallet page
[x] AddAgreement page
[ ] AgreementList page

closes #36

closes #57

closes #61


V1.3 dg update

fixes #284

Codecov Report

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

@@            Coverage Diff            @@
##             master     #285   +/-   ##
=========================================
  Coverage     30.78%   30.78%
  Complexity      309      309
=========================================
  Files           134      134
  Lines          2004     2004
  Branches        210      210
=========================================
  Hits            617      617
  Misses         1335     1335
  Partials         52       52

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d977f95...378989a. Read the comment docs.


How to set default swipe (like selected) specific items? NEED HELP

i mean, when load list, default slide right open at spesific item


Some PowerShell variables aren't highlighted ($Error, $PSVersionTable)

Describe the bug
Some PowerShell variables aren't highlighted.
The following:
```powershell
$SomeVariable
$Error
$PSVersionTable
```

Results in:

Related issue:

https://github.com/PowerShell/vscode-powershell/issues/4944

Expected behaviour
All variables should be highlighted, like highlight.js does it https://highlightjs.org/demo:

Related discussion

Additional notes

This is a problem with the upstream grammar, not linguist. Please open an issue in the grammar repo.

That would be https://github.com/PowerShell/EditorSyntax, correct? I'll make an issue there if it doesn't exist already.

Yup, that’s grammar we use. Interesting that the VSCode grammar suffers from the same issue.