[$250] Web - Emoji - Emoji picker is moved to the top when changing the size of the window

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.51-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:
1, Navigate to any chat
2. Open emoji picker
3. Reduce the size of the window
Expected Result:
Emoji picker stays in its position
Actual Result:
Reducing the size of the windows cause the Emoji picker to be moved to the top
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/c1f0ebb0-e5c5-4820-ab2b-e07c70324a7d
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021848576183089723860
Upwork Job ID:<PHONE_NUMBER>089723860
Last Price Increase: 2024-10-22

Issue OwnerCurrent Issue Owner: @abdulrahuman5196

@jliexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@Expensify/design hello, is this a bug? I feel like it might be, as we're automatically moving it - but it could also be intentional, to get the picker out of the way as the window is now reduced. Keen for your thoughts, cheers!

Yeah I would expect this to keep it's positioned anchored to the button that triggered it

Proposal
Please re-state the problem that we are trying to solve in this issue.
The emoji picker is moved to the top left when resizing window.
What is the root cause of that problem?
In the emoji picker component, we already have a dimension listener to recalculate the position.
https://github.com/Expensify/App/blob/ac57d30444f5ed2bf0be3bc72705e0da64faa03e/src/components/EmojiPicker/EmojiPicker.tsx#L164-L173
However, the value returned is always 0 (-14 for top for me). The reason is, everytime we resize the window, the emoji picker button (which is the anchor where we calculate the position based on) is always re-rendered.
https://github.com/Expensify/App/blob/ac57d30444f5ed2bf0be3bc72705e0da64faa03e/src/components/EmojiPicker/EmojiPickerButton.tsx#L33-L45
I verified this by appending a random number to the ID and it keeps changing when resizing. So, when we are trying to recalculate the new position, the previous ref is not "valid" anymore. The emoji picker button keeps getting re-rendered because we pass inline function to the props.
https://github.com/Expensify/App/blob/ac57d30444f5ed2bf0be3bc72705e0da64faa03e/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L518-L528
So, when the ReportActionCompose is re-rendered because of the window size, the emoji picker button is also re-rendered.
What changes do you think we should make in order to solve the problem?

Wrap both function to a useCallback so it only re-renders when it's really need to.
https://github.com/Expensify/App/blob/ac57d30444f5ed2bf0be3bc72705e0da64faa03e/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx#L518-L528
We need to apply this to other usage of emoji picker too, for example, in edit composer.

Same, agree this is a bug as I would also expect the emoji picker to stay anchored relative to the emoji button in the viewport.

Proposal
Please re-state the problem that we are trying to solve in this issue.
The emoji picker is moved to the top left when resizing window.
What is the root cause of that problem?
The measureInWindow function are not available until after the rendering has been completed in native.
https://github.com/Expensify/App/blob/96a68f871421afacceb3414e56a6437de462a949/src/libs/calculateAnchorPosition.ts#L15
By the way we are calling this function in during the rendering (when resize the window). So this function is returning the incorrect position (x:0, y:0).
What changes do you think we should make in order to solve the problem?
We should call this function in onLayout at here.
For solving this error, I added a moveEmojiPicker function in below 2 files and called it in onLayout.

EmojiPicker.tsx
EmojiPickerActions.ts

What alternative solutions did you explore? (Optional)
N/A
Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01aff093c9a804b145

https://github.com/user-attachments/assets/85f20121-5a86-4588-8e5d-bb346407c76e

Hi @abdulrahuman5196 Did you have a chance to review my proposal and video?

Waiting on @abdulrahuman5196 to review

Proposal
Please re-state the problem that we are trying to solve in this issue.
Web - Emoji - Emoji picker is moved to the top when changing the size of the window
What is the root cause of that problem?
The emoji picker position is controlled by a DOM reference (emojiPickerRef), which causes its position to reset and misalign when the window size changes.
What changes do you think we should make in order to solve the problem?
To fix this, we implemented a custom CSS style to ensure the emoji picker stays fixed at the bottom-right corner. Additionally, we added a window resize handler using useEffect in the EmojiPickerButton component. This handler repositions the emoji picker to its designated bottom-right position every time the window is resized.
Following changes will fix the issue:

Video:
https://github.com/user-attachments/assets/2248668a-82c3-4567-b2ee-e601f207dc70

Hi, Will check on this today.

Checking now

I don't see this issue in latest dev. Checked Firefox, chrome and safari. @jliexpensify
https://github.com/user-attachments/assets/d6b390a2-425e-4be6-ba1f-42a4a3b107ee

Hmm yeah, it looks to be fixed in v9.0.55-0 now.
I was able to reproduce it once out of ~15 attempts (and only on the 1st attempt). Going to close this one then!


Fixed issue #1837 by clearing leftover AST_INTERNAL state.

Pull request that Closes #1837
Once the issue was found the fix seems simple. Th tests succeeded and my original error has disappeared. The AST preprocessing code is a bit too dense for me to tell if this just cures a symptom or the cause itself.

Is it easy to add a testcase to make sure that this gets fixed and stays fixed?

Thanks for tracking this down. However, I think #1981 is the correct fix for this.


In flutter unit test mixpanel integration failing

Error : MissingPluginException(No implementation found for method initialize on channel mixpanel_flutter)
on Mixpanel.init

Are there any updates to this?

hi @mrgnhnt96 , how do you run the unit tests? our github actions running our unit tests work fine.

I am also having the same issue only when running on Linux. Chrome and mobile seem to work fine.

I am simply guessing that Linux implementation is not included (mixpanel-flutter version 2.1.1)


Allow new license type values for Linux Images

For Red Hat images
RHEL_BASE
RHEL_SAPAPPS
RHEL_SAPHA
RHEL_EUS
FOR SLES/SUSE images
SLES_BASE
SLES_SAP
SLES_HPC

@mathapli Hi, I have a question: in the previous PR, RHEL_ELS_6 is added only for az vm update. Do we still need to keep this logic? Or let both az vm/vmss create and az vm/vmss update support RHEL_ELS_6?

Please allow these values for both VMs and VMSS

@mathapli  OK, how about RHEL_ELS_6? Should both az vm/vmss create and az vm/vmss update support RHEL_ELS_6?

Please allow RHEL_ELS_6 for both.

@zhoxing-ms please update the allowed value
SLES_BASE should not be allowed
Instead SLES_STANDARD should be allowed

@mathapli I have modified it in #20765. please review whether the license types in this PR meets your expectations

Approved

@zhoxing-ms
Thanks you for all the help
Can you allow the following two license types as well?
RHEL_BASESAPAPPS
RHEL_BASESAPHA

＠mathapli It seems that license type needs to be modified frequently, and it only needs to modify one line of code.
Do you mind submitting PR to modify it? If so, I can review and merge the PR for you, I think this may be a more efficient way.
Please refer to https://github.com/Azure/azure-cli/pull/20765/files for modifications


Turn TokenTreeAccessHelper into an abstract

simplify the code a bit.

Codecov Report

Merging #31 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
- Coverage   66.01%   65.84%   -0.17%
==========================================
  Files          39       38       -1
  Lines        2395     2310      -85
  Branches       63       46      -17
==========================================
- Hits         1581     1521      -60
+ Misses        792      770      -22
+ Partials       22       19       -3

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 b16ee5f...0b64266. Read the comment docs.


Stop using openssl_random_pseudo_bytes()

I am uncomfortable with \base\Security::generateRandomKey()'s use of openssl_random_pseudo_bytes(). It's complicated, sorry, but worth discussing.
Why I don't like OpenSSL's RNG
TL;DR: I don't properly understand how OpenSSL's RNG works nor how it is configured in PHP but I do know that are ways that it can be configured so that it has properties that a CSPRNG must not have.
For example, the only way to be sure that OpenSSL's RNG is properly seeded is to do it yourself from a known-good source, i.e. the kernel or CryptGenRandom. But generateRandomKey() uses openssl_random_pseudo_bytes() as its last-chance source after trying and failing to read from those. So I think it likely in practice that generateRandomKey() uses OpenSSL only when it seeded itself using its fall-back, undocumented, user-space methods that I don't trust.
For another example, OpenSSL can be configured to use, when available, Intel's RDRAND, now known to be unsafe.
What to do?

Simply removing it will break everything on Windows and some non-Windows deployments.
We removed mcrypt_create_iv() when we replaced Mcrypt with OpenSSL. But mcrypt_create_iv() does not use libmcrypt and it is the only good way to access CryptGenRandom in PHP < 7. I think it's ok to use it where available so we could restore it.
We could leave openssl_random_pseudo_bytes() in but disabled by default, with a configuration member variable, Security::$allowOpenSslRng = false with new documentation to educate the user about the concerns.

Perhaps doing both 2. and 3. is reasonable.
Opinions?

Hmm... mcrypt_create_iv requires mcrypt dependency so there will be both dependencies on mcrypt and openssl.

we could check if function exists and only then use it.

I don't want to bring the Mcrypt PHP extension back as a Yii requirement.
But if (function_exists('mcrypt_create_iv')) {} is, I think, a better way to get random numbers on Windows that OpenSSL.

How about not implementing a solution yourselves, but using an existing one:
https://github.com/paragonie/random_compat
That way you can use random_bytes in Yii code and keep it clean and simple.
Obviously, you should review their code, but in general I think it's better to use outside code than reinvent the wheel right?

I'm glad you mentioned random_compat because I haven't looked at for a while. I took a quick look now and it's way better than it used to be. I like it. php.net recommends it and I think it's safe to make Yii depend on it.
I will need to read it carefully but it would settle two issues that I entered at the weekend. And as @SamMousa says, it will be clean and simple.

Am I right that we'd be able to use PHP7 API with it?

Yes
On Mon, Oct 12, 2015, 22:40 Alexander Makarov<EMAIL_ADDRESS>wrote:

Am I right that we'd be able to use PHP7 API with it?
—
Reply to this email directly or view it on GitHub
https://github.com/yiisoft/yii2/issues/9879#issuecomment-147513638.

I love the idea then. Waiting on @tom-- to confirm that the library is good.
@paragonie-scott what's your plan on supporting the library?

That's weird comments:

https://github.com/paragonie/random_compat/blob/master/lib/random.php#L36
https://github.com/paragonie/random_compat/blob/master/lib/random.php#L84

Not weird just in progress:https://github.com/paragonie/random_compat/issues/5

what's your plan on supporting the library?

random_compat? The plan is to immediately and quickly fix any bugs or deficits I find and have other crypto folks check my work before releasing anything new.
I'm not sure if I answered your question.

Not weird just in progress:

Yeah, look at the 1.0.5 tag, not master.

(For the record, the next release will probably be tagged 1.1.0 if we do decide to drop OpenSSL in known-to-be-bad-versions.)

@paragonie-scott, @tom-- what do you think about https://github.com/ircmaxell/random_compat?

https://github.com/ircmaxell/RandomLib/issues/37#issuecomment-131936822

I'm going to let the discussion proceed some more before deciding what to do with Security.


Auto-detecting the target

I'm very happy about this feature!! :heart: :tada:

ok I think that this is ready to go! I also fixed up our test CI/CD so it'll run properly now. @consideRatio lemme know if you have any other suggestions!

All systems go!

ok - got the tests working! I think we actually fixed a bug in the regression tests that I didn't catch before. Gonna merge this one!


How expand options in ASYNC_SEARCH ?

Hello.
How expand options in ASYNC_SEARCH ?
By default options aren't expand but i need to expand it on async search.
I'he tried use isDefaultExpanded, but it doesn't work in ansyc.

I also encountered the same problem. Have you solved it? How


Suggestion: Add rule "at-rule-no-unknown"

This issue was discussed previously in #86 and PR #92 was created to resolve the issue but before stylelint/stylelint#2173 was released.
With stylelint/stylelint#2173 resolved using stylelint.utils.checkAgainstRule in stylelint ^7.7.0, perhaps this rule can be added now?
I have a working implementation in my fork under branch "at-rule-unknown" with tests (from #92) all passing.

Yeah it has been on hold because https://github.com/kristerkari/stylelint-scss/pull/92 has not been finished.
Please submit a PR if you have got a working implementation 👍


Update grub2 with argon2 on backup.nix

This uses the latest grub2-git commit, plus patches in AUR's grub-improved-luks2-git. Notice type-fix.patch is due to outdated gnulib, but that can't be on HEAD either since it breaks build; the commit I used in let/in makes it work.
This is done in a way to keep maximum compatibility with nixpkgs's grub2 package.
I'm running this one on my current system with boot on btrfs on luks2+argon2id on mdraid1.
Grub takes a good 45s to derive the key (while initrd/kernel takes just 1-2 seconds), but I don't reboot very often and prefer this way for the added security and minimal boot footprint (just a single, standalone and portable 420kB BOOTX64.efi on EFI partition and everything else inside btrfs).
My config (install with `NIXOS_INSTALL_BOOTLOADER=1 nixos-rebuild boot`)

    boot.loader = {
      efi = {
        canTouchEfiVariables = false;
        efiSysMountPoint = "/boot/efi";
      };
      grub = let
        grub = pkgs.grub2_efi;
        modules = "part_gpt luks2 lvm mdraid1x cryptodisk gcry_rijndael gcry_sha256 gcry_sha512 pbkdf2 btrfs true";
        inherit (lib) escapeShellArg;
        stub = "${config.boot.loader.efi.efiSysMountPoint}/EFI/BOOT/BOOTX64.EFI";
      in {
        enable = true;
        enableCryptodisk = true;
        efiSupport = true;
        efiInstallAsRemovable = true;
        # extraGrubInstallArgs = [ "--modules=${modules}" ];
        device = "nodev";
        gfxmodeEfi = "1920x1080x32,1920x1080x24,1024x768x32,1024x768x24,auto";
        extraInstallCommands = ''
          grub_tmp=$(mktemp -d -t grub.conf.XXXXXXXX)
          trap 'rm -rf -- "$grub_tmp"' EXIT
          cat <<EOS >"$grub_tmp/grub.cfg"
            cryptomount -u $(${pkgs.utillinux}/bin/blkid -o value -s UUID ${escapeShellArg config.boot.initrd.luks.devices."enc".device})
            set root=(crypto0)
            set prefix=(crypto0)/boot/grub
          EOS

          mkdir -p ${escapeShellArg (builtins.dirOf stub)}
          ${grub}/bin/grub-mkimage \
            -p '(crypto0)/boot/grub' \
            -O ${grub.grubTarget} \
            -c $grub_tmp/grub.cfg \
            -o ${escapeShellArg stub} \
            ${modules}
        '';
      };
    };

I'm making a PR on your repo, as it was the only public one I found on Github with a somehow working version of grub2-git + argon2 patches for NixOS.
If you find these changes useful, please, feel free to take over this PR and adapt it to your repo, replacing/adapting other files as needed (e.g. most of the currently committed patches aren't needed anymore and are being fetched directly from aur's repo).

Thank you very much for the detailed explanations! I checked your changes and it works perfectly :)

Awesome, @AtaraxiaSjel
Thank you for the inspiration, I'm using that solution now in my daily system.
Best regards.


Visual glitch on song that is currently playing

OS:
Win 10
Issue Descriptions:
There is a visual glitch when the song that is currently playing in a list of songs is not selected. See screenshot. ( https://gyazo.com/e0ada21b50bcdbf791184b1b0fbf4212 ) This happens in any list of songs, be it a playlist or just the list of all song or an album.
Steps to Reproduce:
Play song in a list of songs and select a different song. Although, it might be that this glitch is not actually caused by GPMDP, but that is hard to tell for me.

This was fixed in 3.6.0. Please update.

My bad, I guess it didn't update automatically... weird. Sorry for the bother


Feature request: refresh information when image_loop="on"

Description
Hello. I have neofetch display album cover of currently playing song or if im not playing a song my wallpaper. These images changes pretty often and since when image_loop="on" is set neofetch doesnt return to shell instantly i see no reason not to have them be updated while running.
The battery percentage, currently playing song, memory, uptime, packages, cpu usage and disc usage are among others values which change frequently.
I think neofetch could become even more usefull if it was possible to update the values in real time. I can imagine using it with some sort of screensaver to dispay information such as the current time or weather.

You can modify neofetch to do this pretty easily.
Just open neofetch and replace
{code}
while [[ "$image_loop" == "on" && "$image_backend" == "w3m" ]]; do display_image; sleep 1; done
{code}
with
{code}
while [[ "$image_loop" == "on" && "$image_backend" == "w3m" ]]; do printf "\033[0;0f"; print_info; display_image; sleep 1; done
{code}
This won't work well with all terminals, and you have to use w3m. I've been using terminology with this.

I have no interest in this feature an it'll require major code changes. No one else seems to want to work on this either.


Added host property for uvicorn run

Added the option to specify host for the uvicorn app. It defaults to <IP_ADDRESS> as it already was. This change is needed for hosting on Heroku where uvicorn apps need to use host <IP_ADDRESS> and currently there is no way to make this change.
PS: The changes are at main.py line 295. PyCharm unfortunately did a lot of refactoring to the code adding a lot of noise in the diffs.

Thanks for the PR! Sorry, I was late I've been swamped at work.
Dispike uses Uvicorn under the hood to properly serve the requests, and they recommend that you do not use the built-in webserver when you deploy. I think it's due to the built-in web server offering no protection against attacks.
I personally do not use Heroku but they do have some documentation on deploying with Gunicorn (Uvicorn recommends this).  I'll need to write some documentation anyway to guide users to properly deploy a bot.
Taking a look at the guide provided by Heroku, it looks like you can simply just pass the gunicorn command to run this.
Assuming your bot directory is
📂root
└📁 bot.py
and your bot.py file has Dispike(..) defined at app=.

install uvloop, and gunicorn

You should be able to add the command
gunicorn -w 4 -k uvicorn.workers.UvicornWorker bot:app --bind='<IP_ADDRESS>:PORT'

to your procfile..
Gunicorn should be moderately better than the built-in web server -- It's recommended that you also deploy this behind a reverse proxy such as Nginx to handle load-balancing but it's possible that Heroku already handles this for you ¯_(ツ)_/¯.


Update en.js

Please review:
Minuets -> Minutes.
Saveing -> Saving.

Corrected!
Thanks for the help!


Fail to unlock LUKS by password

I'm booting Arch with a booster UKI bundled with sbctl (maybe this is causing the issue?) and have LVM on LUKS for root partition. Booster is asking for the passphrase but no matter what it always fails.

My password does not have any special character but I enabled vconsole anyway to see if it was a problem with the keymap, but the same. I've also tried to add a very simple password entry but it also fails. The LUKS partition is ok because I'm currently able to boot through a dracut image. I don't know if booster works on my machine bundling the image with a bootloader because I have an encrypted boot and it's a bit more complicated to configure anything that is not an UKI.
This is the current config:
enable_lvm: true
strip: false
universal: true
mount_timeout: 1m
vconsole: true
extra_files: busybox,fsck,fsck.ext4

EDIT: commands to generate the image:
sudo booster build -f /boot/booster-linux.img
sudo sbctl bundle -a /boot/amd-ucode.img -f /boot/booster-linux.img /efi/Linux/archlinux.efi

and the content of /etc/kernel/cmdline which is sourced by sbctl:
rd.luks.name=UUID=cryptolvm rd.luks.options=discard root=/dev/mapper/root rootfstype=ext4 rootflags=rw,relatime,data=ordered

In your boot parameters you specify crypt device name cryptolvm. It will add /dev/mapper/cryptolvm device file.
But your root is /dev/mapper/root and booster never sees such device, thus times out.
Try to change root to root=/dev/mapper/cryptolvm and see if it makes any difference for you.

Also why there are so many password retries for cryptolvm? Did you enter invalid password? Or it is some problem with booster?

Sorry about the confusion, I was hiding the real name of the root volume. The scheme is an LVM on LUKS and the parameter real value is root=/dev/mapper/Vol-root, so I guess it's ok, right? It's been like that with mkinitcpio and was working well.

Also why there are so many password retries for cryptolvm ? Did you enter an invalid password? Or is it some problem with booster?

That is reason of my question. I was writing the right password. I tried many times and always giving me this. Furthermore, I'm able to boot through another efi binary that has been bundled with the mkinitcpio, so the partition and the password are ok.
If we need to debug this, is there any way of testing the booster decryption separately? Maybe a simple small program to open it using the luks go module? I've enable the debug mode and no other messages appear during the unlocking attempts.

LVM on LUKS and the parameter real value is root=/dev/mapper/Vol-root, so I guess it's ok, right?

LVM-on-LUKS is supported by booster. So it should be fine.
The best way to start debugging is to enable debug logs with booster.debug kernel parameter. It will print a lot of information to the console. Once you type the password it will print the reason why the password did not match. It will give clues on what is going on at your host.

The debug option does not say anything more. Just incorrect password during the attempts.

It is a weird issue. If the password failed due to some missing modules, then an error message would be printed. But here we have no any messages.
Are you sure you type the correct password for cryprolvm? Do you use non-ASCII symbols in your password? Do you have non-English keyboard that needs to be configured?
I would start with trying the latest changes from master branch and see if the problem still exists. Then try to modify requestKeyboardPassword() function https://github.com/anatol/booster/blob/d8348d24abb47a0161bebd4305a3902eb8fdc8d6/init/luks.go#L363 and print the entered password just to make sure it is precisely the same as expected.
Also, do you use any non-standard cyphers/hash functions for your LUKS partition? Do you remember how did you format it?

The password doesn't seem to be the problem neither the keyboard. I have an Spanish keyboard, but the main password does not have any non-ASCII character. Furthermore, I added vconsole module and mount timeout, and when the console starts, I type the password and the characters are correct. I've also tried to add a new keyslot, with a dummy password (1234) but didn't work neither. I never used any custom parameter when adding keyslots. They key derivation functions are pkdf2 for the old one and argon2id for the dummy, both are standard and supported, right? The only thing that could be strange in my partition is that it was LUKS1 and I converted it to LUKS2 when it came out. But mkinitcpio has always been able to decrypt it.
I've tried master with the booster-git package from the aur, plus adding some debug messages and didn't work.
This is the code:
diff --git a/init/luks.go b/init/luks.go
index 8845f60..0ebc392 100644
--- a/init/luks.go
+++ b/init/luks.go
@@ -364,6 +364,7 @@ func requestKeyboardPassword(volumes chan *luks.Volume, d luks.Device, checkSlot
        for {
                prompt := fmt.Sprintf("Enter passphrase for %s:", mappingName)
                password, err := readPassword(prompt, "   Unlocking...")
+                debug("entered password: %s", password)
                if err != nil {
                        warning("reading password: %v", err)
                        return
@@ -373,8 +374,10 @@ func requestKeyboardPassword(volumes chan *luks.Volume, d luks.Device, checkSlot
                }

                for _, s := range checkSlots {
+                        debug("trying slot %v", s)
                        v, err := d.UnsealVolume(s, password)
                        if err == luks.ErrPassphraseDoesNotMatch {
+                                debug("passphrase does not match for slot %v", s)
                                continue
                        } else if err != nil {
                                warning("unlocking slot %v: %v", s, err)

and the messages trying the dummy password that I added for debugging purposes:

The command that I've used to add this new slot was cryptsetup luksAddKey /dev/nvme0n1p2 and for the migration it was cryptsetup format --type luks2 /dev/nvme0n1p2.

and for the migration it was cryptsetup format --type luks2 /dev/nvme0n1p2.

I believe you need to use cryptsetup convert tool for format conversion.

They key derivation functions are pkdf2 for the old one and argon2id for the dummy, both are standard and supported, right?

Correct, both derivation functions are supported. If the problem was related to a missing algorithm it would print an error message.
Could you please provide the luks partition info with cryptsetup luksDump /dev/nvme0n1p2? (clear Salt/Digest fields before sharing it).

I believe you need to use cryptsetup convert tool for format conversion.

I didn't remember that command, I suppose that I used that.

Could you please provide the luks partition info with cryptsetup luksDump /dev/nvme0n1p2? (clear Salt/Digest fields before sharing it).

Sure, this is the whole output of the command, omitting salts, digests and UUID.
LUKS header information
Version:       	2
Epoch:         	14
Metadata area: 	16384 [bytes]
Keyslots area: 	2064384 [bytes]
UUID:
Label:         	(no label)
Subsystem:     	(no subsystem)
Flags:       	(no flags)

Data segments:
  0: crypt
	offset: 2097152 [bytes]
	length: (whole device)
	cipher: aes-xts-plain64
	sector: 512 [bytes]

Keyslots:
  0: luks2
	Key:        256 bits
	Priority:   normal
	Cipher:     aes-xts-plain64
	Cipher key: 256 bits
	PBKDF:      pbkdf2
	Hash:       sha256
	Iterations: 2267994
	Salt:

	AF stripes: 4000
	AF hash:    sha256
	Area offset:32768 [bytes]
	Area length:131072 [bytes]
	Digest ID:  0
  1: luks2
	Key:        256 bits
	Priority:   normal
	Cipher:     aes-xts-plain64
	Cipher key: 256 bits
	PBKDF:      argon2id
	Time cost:  7
	Memory:     1048576
	Threads:    4
	Salt:

	AF stripes: 4000
	AF hash:    sha256
	Area offset:163840 [bytes]
	Area length:131072 [bytes]
	Digest ID:  0
  2: luks2
	Key:        256 bits
	Priority:   normal
	Cipher:     aes-xts-plain64
	Cipher key: 256 bits
	PBKDF:      argon2id
	Time cost:  6
	Memory:     1048576
	Threads:    4
	Salt:

	AF stripes: 4000
	AF hash:    sha256
	Area offset:294912 [bytes]
	Area length:131072 [bytes]
	Digest ID:  0
Tokens:
Digests:
  0: pbkdf2
	Hash:       sha256
	Iterations: 283250
	Salt:

	Digest:

I'm having the same problem, with LUKS2 (also converted from LUKS1) on LVM and ext4 as root filesystem. The password is good as i can boot with mkinitcpio image.
What's interesting is i can boot using booster into an different arch installation with XFS as rootfs , even on the same hardware and same booster and LUKS configs. However that installation was using LUKS2 from the beginning.
So maybe its the ext4 + LUKS/LVM combo that's causing this, or booster has some issue reading converted LUKS2 headers....
Will try to investigate further...

After checking debug messages i got the unknown digest error : whirlpool.
However the error message should give the unknown digest error by default, without adding the debug kernel parameter, as i was getting the same Incorrect passphrase... error, which is confusing.
Anyway, i guess i'll have to wait until support is added, as per this issue.

@deathtrip I just added whirlpool hash algorithm support to luks.go library:
https://github.com/anatol/luks.go/commit/fb3724ed7db791fb2b8d785bd5eb95d39c8c58ed

After trying the new release, i still can't unlock the volume with my password. Except now i don't get any unknown digest error warnings. The install without whirlpool works fine. So now i'm not sure if it's the hash or something else.

I'm having the same problem, with LUKS2 (also converted from LUKS1) on LVM and ext4 as root filesystem.

I am also running into this. I cannot open a LUKS2 device that was converted from LUKS1. As described in this issue, the password always seems wrong even though it is definitely correct. Prior to the conversion, booster worked fine. Additionally, I have other machines which use a freshly installed LUKS2 (instead of a converted one) where Booster also works fine.
I suppose cryptsetup convert results in a format that is somehow incompatible with Boosters LUKS code?

I am also running into this. I cannot open a LUKS2 device that was converted from LUKS1.

I debugged this further and this seems to be a bug in luks.go.
See: https://github.com/anatol/luks.go/issues/11

I also only had problems on a device converted from LUKS1 to LUKS2.
OP was also using LUKS2 that was converted, so it looks like the cause of the problem is now known.
Hopefully the pull request to luks.go will be accepted soon.


button-goup not working with  on Opera

Hi,
i would like to build a button-group with  tags but the problem is that the opera engine renders badly and i can't use  tags because otherwise the other GET parameters will be overwritten.
https://imgur.com/a/vEp7GJq
https://codepen.io/anon/pen/eQvNWz
Bootstrap version 4
Is there any Fix?

Remove type=“button” from a tag :)

facepalm thx


Core: "add new row" button is not rendered properly when no row headers are used

Description
"Add new row" button is half-hidden when no row headers are used
Demo script:
//language: javascript
//name: Template
let t = grok.data.testData('demog', 10);
let v = grok.shell.addTableView(t);

v.grid.setOptions({ showEditRow: true, showRowHeader: false })

Steps to reproduce
Run the script
Expected
Button with plus sign is rendered in the first column
Actual
Button is half-visible

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14786


the versionString = UNIVERSAL... gave an error due to 1.893.0 as example

 NOTICE
I dedicate any and all copyright interest in this software to the
public domain. I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors. I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.

Fixes: No current available issue present, this is found while working on fixing a bypass

While loading in linkvertise as example, i would always get an error thrown when injecting the script, with alot of debugging i found out that the versionString initialization was as fault, the UNIVERSAL_BYPASS_EXTERNAL_VERSION would be changed with something like 1.893.2 which would cause an javascript error.
it would be appended with an empty string making it a string, enclosing it in single quotes also makes it a string

[x] I made sure there are no unnecessary changes in the code*
[ ] Tested on Chromium- Browser OS
[x] Tested on Firefox

* indicates required

Appending a string to the end of a var makes the var a string, surrounding the var in quotes makes the string out of the vars name.

so because the versioning number ends up to have 2 dots it gave me an error


Update index calls [] to function calls () requested by Interpolations.jl

Warning: getindex(itp::AbstractInterpolation{T, N}, i::Vararg{ExpandedIndexTypes, N}) where {T, N} is deprecated, use itp(i...) instead.

Fixed in https://github.com/lnacquaroli/ThinFilmOptics.jl/commit/86e8b14f42cdc0149574b3fa7204d695f8230249


Gitbase support for low-level git UDFs

Related with #676

Shall we mark it as blocked till we resolve #676 ?

Can we add to the issue a bit more of information as to what is a "low-level git UDF"?

I don't know exactly what they are, but the idea here is to have UDFs that has access directly to the repository instance, to do more complicated things.

So just like UDFs but get another extra param that it's the repo?

Yes, we can work on this already, we need to access the repository (from sql.Context in the UDFs), for sure this will be need it.

I would say to close this issue. Right now we are able to access the repository pool inside the context from any Expression. The only thing you need to do is send the repository_id as a function parameter, to be able to retrieve the needed repo.

I changed the title from UDF to functions, which is what we originally meant, even if we said UDFs. The case for this is being able to write functions like DIFF, where you need to access the repo and you don't have all info as expression inputs (only repository_id and, for example, commit_hash). As far as I know, this can already be done with the context, but it would be good to document it. Once we have at least one function like DIFF working, I think we can consider this as fully solved.

https://github.com/src-d/gitbase/pull/811

As far as I can tell, there was a discussed resolution for this, can someone update here accordingly?
cc @src-d/data-processing

Already supported and some repository-aware functions implemented: https://github.com/src-d/gitbase/pull/835


gb vendor fetch should force a tag/branch/rev if part of the repo has already been vendored

The commands
 gb vendor fetch golang.org/x/crypto/pbkdf2
 gb vendor fetch golang.org/x/crypto/nacl/box

Will fetch master twice, and then selectively pick bits from it. This turns out to be ok as the crypto repo doesn't move very quickly. However, I think that vendor fetch should detect this and fetch the revision that exists in the manifest so that the revision used is always consistent.

Please wait on this, I want to see if users complain.


Font Flashing

I've been trying to setup fonts with next.js and I got them working by putting the font files in static, using them in an index.css, and then using <Link /> in the <Head /> to bring them in. However when running next.js in production settings I get a "font flash" every time I navigate to a different page the text on the screen will be rendered in the default browser font and then rerender in the font I use in the index.css causing a flash. Anyone got any clues on how to stop the flashing from happening?
Expected Behavior
Fonts and index.css loaded once and ready to use prior to page rendering, so that no flashing occurs on initial page load and navigating between pages.
Current Behavior
Initial Page load text flashes between fonts and navigating between pages flashing continues to occur, even when navigating to pages that have already been visited. Fonts and all static content is loaded again every time you navigate between pages.
Steps to Reproduce (for bugs)

Grab some font files
Put them in static
create a index.css file and set some elements to use that font
<Link /> to it in <Head /> from a Page component that will render routes/views as children

Context
I'm trying to use fonts
Your Environment

Tech
Version

next
4.1.4

node
8.9.1

os
osx

browser
chrome

ensure you are using html <link /> element but not a <Link /> component.
ensure the server generated HTML has the <link /> in the <head /> element.

If all the above conditioned is met, I guess you are using Chrome and encountering a bug of Chrome network speed API. There is a feature that when detecting slow network, Chrome will render system default font to avoid web page from being blocked by the font resources.
You can refer to https://stackoverflow.com/questions/42342133/slow-network-is-detected-fallback-font-will-be-used-while-loading-angular-app

This is caused by Next re-rendering the page on page change. Trying using <style jsx global> to set the font-face. This works really well in an app I'm building 👍 I'm going to close this since it's not something we can fix in the short term. But there's issues about the re-rendering of the whole page 👍


manim.py: error: unrecognized arguments: -pl

Help me:(
C:\Manim>python -m manim examples_scenes.py SquareToCircle -pl
usage: manim.py [-h] [-w] [-s] [-l] [-m] [--hd] [--uhd] [-f] [-g] [-i] [-t] [-q] [-a] [-o] [--finder]
[--file_name FILE_NAME] [-n START_AT_ANIMATION_NUMBER] [-r RESOLUTION] [--frame_rate FRAME_RATE]
[-c COLOR] [--leave_progress_bars] [--video_dir VIDEO_DIR]
[file] [scene_names [scene_names ...]]
manim.py: error: unrecognized arguments: -pl
Environment
windows 10:
master: master
python 3.8.3:

PLEASE SEARCH IN THE ISSUES PAGE FIRST!!
See #1361, #1369.

PLEASE SEARCH IN THE ISSUES PAGE FIRST!!
See #1361, #1369.


Access Denied on docker-compose

i m using docker-compose
here is the config
services:
ibeam:
image: voyz/ibeam
container_name: ibeam
env_file:
- env-test.list
ports:
- 5000:5000
- 5001:5001
network_mode: bridge # Required due to clientportal.gw IP restrictions
restart: 'no' # Prevents IBEAM_MAX_FAILED_AUTH from being exceeded
volumes:
- "./inputs:/srv/inputs"
and I have added my server IP, to the conf.yaml
ips:
allow:
- 192.*
- 131.216.*
- <IP_ADDRESS>
- <IP_ADDRESS>
- 172.17.0.*
and I have checked in the Docker,  conf.yaml mounted well..
and I checked the logs says my docker container is running well.. just I can't access it..

Hey @thunderwin thanks for your issue report 👍
Please see https://github.com/Voyz/ibeam/wiki/Troubleshooting#access-denied for fixing Access Denied. Let me know if it helps

I'm going to close this issue due to inactivity. Thanks for your contribution and please feel free to request a reopen if you'd like to continue the discussion 👍


added ability to overwrite jail.conf

#200
Now it's possible to change configurations for fail2ban in config/ directory, too.

Thank you @dominikwinter! Perfect!
Could you also document it in this page?


Number of quiz questions presented to use is incorrect

If the # of Questions per Quiz Attempt is less than the total # of questions (eg, 10 questions, but configured for only 1 per attempt), then when the user attempts to take the quiz the wording will say the quiz has 10 questions even though the user is only presented with one.

Pass the 10-quetsion  Quiz and earn <###>  points

PR: https://github.com/NationalSecurityAgency/skills-service/pull/2976


Force kill connection ?

Is there any way to kill connection to kafka. I have tried using disconnect but it can get in infinity loop if onBatch or onMessage will never complete processing of one single message (which could be triggered by other things/errors). As a solution to my use case i would like to kill kafka connection and reestablish that again to reread uncommitted messages. Unfortunatle when i call disconnect i can some thing like:
[34mdebug:  timestamp=2019-12-02T08:36:45.211Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5000ms (sent: 0 | received: 0)
debug:  timestamp=2019-12-02T08:36:46.212Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:47.214Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:48.219Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:49.220Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5003ms (sent: 0 | received: 0)
debug:  timestamp=2019-12-02T08:36:50.220Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:51.220Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:52.223Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:53.231Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:54.235Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5001ms (sent: 0 | received: 0)
debug:  timestamp=2019-12-02T08:36:55.238Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:56.241Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:57.244Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:58.249Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:36:59.251Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5003ms (sent: 0 | received: 0)
debug:  timestamp=2019-12-02T08:37:00.252Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:01.253Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:02.254Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:03.256Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:04.260Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5003ms (sent: 0 | received: 0)
debug:  timestamp=2019-12-02T08:37:05.264Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:06.265Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:07.269Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:08.270Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:09.270Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5005ms (sent: 0 | received: 0)
debug:  timestamp=2019-12-02T08:37:10.274Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:11.277Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:12.279Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:13.281Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
debug:  timestamp=2019-12-02T08:37:14.282Z, logger=kafkajs, message=waiting for consumer to finish..., groupId=ABC, memberId=ABCDE
info: [54210] Elapse: 5003ms (sent: 0 | received: 0)

And it never stops

Beyond consumer.disconnect, there is no way to force the connection to stop.

As a solution to my use case i would like to kill kafka connection and reestablish that again to reread uncommitted messages.

I would strongly advise against this, as the error that triggered before puts your app in an undefined state. Even if you'd kill the connection and somehow get the consumer to stop consuming (not sure how that would work), you'd run into undefined behaviour as a result of being in an undefined state. That can lead to some really hard to explain bugs, data corruption, etc. The thing to do there is to let the process crash, log the error and restart the process.
Your best course of action here, would be to figure out why your consumer "gets stuck" processing a message. Perhaps we can be of help there, maybe with the help of some code that replicates the issue. If that contains too much private information, some psuedo code could help, some logs might, etc.

@JaapRood thanks for suggestion, i have been doing chaos testing (stoping/starting kafka nodes for random amount of time), disconnecting internet for some time and connecting back. As an observation i have noticed that sometimes it can take a while to recover from this kinda situations event thought system is up (do not see any logs in debug as well) (as a work around i thought about the above solution to forcefully kill connection and restart consumer). Do you have any suggestion on kafkajs configuration for max resilience from above cases ?

Subjecting your systems to some chaos testing is always an interesting exercise, and theoretically something Kafka should shine in, and so should KafkaJS.
A big part of where you'll see delays in recovery is through how Kafka's ConsumerGroup work, which problems are rooted deep in distributed systems theory. Basically, to prevent a system from becoming super over-reactive to any type of fault and no longer actually productive, significant time-outs are used in the leader-election between consumers in a single group.
The biggest one of these is the sessionTimeout (a configurable parameter), which is set to 30 seconds by default. Not only is that the time that any consumer within the group can go without reporting that it's alive and healthy, it's also the time it's allowed to take to rejoin a group when a rebalance is triggered. This means that if one of the consumers in a group dies and stops reporting it's health to the Broker, it can take up to 30 seconds for a group rebalance to be triggered. If another node then dies or is delayed (through a network partition or garbage collection for example), it can take another 30 seconds for any of the consumers to receive their assigned topic-partitions again, which they need to know what to process.
There's a lot of reasons why this work this way, and simply turning down the session timeout to a way lower value isn't always helpful either. For example, if you set it to 5 seconds, a small network partition or connection dropout can cause an entire rebalance where one wasn't necessary. Depending on the type of processing, that can cause a bunch more consumer lag.
If you're interested to learn more about the underpinnings of this, I couldn't recommend a book more than Data Intensive Applications by Martin Kleppmann.
Apart from all those inherent delays, it's of course totally possible that something in the currently implementation of the KafkaJS client is causing more delay than necessary. Also, the default configuration can be altered to better fit your use case, changing trade-offs between throughput, latency, etc. For that, I'd have to rope in @tulios and @Nevon, who's company runs a way bigger deployment than us.

@JaapRood Thank you for your explanation :)  @tulios @Nevon i would be really interested in knowing about your kafkajs configurations.

We're not doing anything particularly advanced. The only things we do are to adjust sessionTimeout and heartbeatInterval to be as small as possible, while still keeping them high enough to allow us to do some processing in between. But then our workloads are not particularly latency sensitive. If a machine dies and it takes a minute for the group to stabilize again, that's not a problem for us, so we haven't optimized for it.

That's basically our approach as well. We're actually running with the default 30 seconds for sessionTimeout, as a bit of time for things to rebalance is not that big of a deal. We've had it 5 seconds before, that increased the amount of rebalances we saw, so actually increased the total time we weren't processing and consumer lag somewhat.


cc_toolchain_suite '@androidndk//:toolchain-libcpp' does not contain a toolchain for cpu 'k8'

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
TensorFlow installed from (source or binary): Source
Python version: 3.7
Bazel version (if compiling from source): 2.0.0

Describe the problem
I was trying to build tensorflow camera demo application using bazel.
Provide the exact sequence of commands / steps that you executed before running into the problem
1.) I cloned the repo using.
git clone --recurse-submodules https://github.com/tensorflow/tensorflow.git
2.) Downloaded ndk 14b, 20b (tried both)
3.) Build android-sdk 26.0.1
4.) configured ./WORKSPACE using ./configure and specified above mentioned ndk and sdk paths. Also, I specified API levels to their default values.
5.) Then I tried
bazel build --cxxopt='--std=c++11' -c opt //tensorflow/examples/android:tensorflow_demo
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
ERROR:
/home/unreal/.cache/bazel/_bazel_unreal/6de5222c143ce19677cab557a9a28cd8/external/androidndk/BUILD.bazel:41:1: in cc_toolchain_suite rule @androidndk//:toolchain-libcpp: cc_toolchain_suite '@androidndk//:toolchain-libcpp' does not contain a toolchain for cpu 'k8' ERROR: Analysis of target '//tensorflow/examples/android:tensorflow_demo' failed; build aborted: Analysis of target '@androidndk//:toolchain-libcpp' failed; build aborted INFO: Elapsed time: 2.946s INFO: 0 processes. FAILED: Build did NOT complete successfully (107 packages loaded, 8813 targets configured)
It seems like I am missing something for ndk bundle that I downloaded. Here there is something register_toolchains("@androidndk//:all") in WORKSPACE, but I don't know what I am missing.

Potential duplicate #24124

I solved this by adding the commend of building tflite --fat_apk_cpu=x86,x86_64,arm64-v8a,armeabi-v7a    --host_crosstool_top=@bazel_tools//tools/cpp:toolchain https://www.tensorflow.org/lite/guide/android
my bazel version is 2.0.0, with sdk 23 and ndk r17c

@komejisatori  is right. If you want to build fat APK, you need to provide --fat_apk_cpu, --host_crosstool_top options.
If you want to build a specific target arch (for example ARM64), then you just need to provide a proper "--config" option.
But this is not enough. It seems that some code require C++14 support.
I've verified the following command works for me.
bazel build --cxxopt='--std=c++14' --config=android_arm64 -c opt //tensorflow/examples/android:tensorflow_demo

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

I think between bazel versions, the default value of --config has changed. Earlier I have seen armeabi for mediapipe project but now its picking up my work station's platform. Probably similar issue in tensorflow as well. komejisatori's comment above fixed my build in mediapipe as well.


CubeWatchEvent not always fired

Looking at CubeWatcher internals, I came across these lines which appear to send the cube to the player while never firing the CubeWatchEvent (haven't actually tested it, just a suspicion):
https://github.com/OpenCubicChunks/CubicChunks/blob/5cef9e0256f914b527c0787dc3b060968686f6f8/src/main/java/io/github/opencubicchunks/cubicchunks/core/server/CubeWatcher.java#L120-L124
In contrast (when the cube is first loaded):
https://github.com/OpenCubicChunks/CubicChunks/blob/5cef9e0256f914b527c0787dc3b060968686f6f8/src/main/java/io/github/opencubicchunks/cubicchunks/core/server/CubeWatcher.java#L219-L222

That should be easy to fix.


Unable to hit play on FGA

Before opening an issue:

[x] I tested the latest release
[x] I looked at other issues (even the closed ones)
[x] I read the Troubleshooting Guide
[x] I'll fill this template properly

Your issue will get closed/locked by the bot in case proper info isn't provided
If you open unnecessary/dumb issues, you'll be rewarded with appropriate tags.

Describe the bug
Trying out the 1438 build for FGA (CI). Play button does not work, even tho it will register me clicking the button as seen in video. Opening up the FGA app itself, I am unable to actually Stop Service by clicking on it, and have to manually stop it via the overlay permissions app
Video
See attached please
Device Info (please fill at-least 'Device model'):

Device model: Samsung Galaxy S8
Screen size: 1440x2960
Android Version: Android 9
RAM: 4 GB

https://user-images.githubusercontent.com/55781810/129118379-6a6de268-8736-42bd-af4e-8d20fb55dfa8.mp4

Try connecting via adb and doing adb shell pm grant com.mathewsachin.fategrandautomata android.permission.SYSTEM_ALERT_WINDOW.
That would fix a missing permission if it hasn't been granted for some unknown reason.

That would fix a missing permission if it hasn't been granted for some unknown reason.

PLAY button is already visible which means that permission is not the problem.
I suspect it is similar to LG phones where the game mode option prevents popups from other apps. I suspect something similar is happening here. That couldn't record game audio toast is a bit suspicious. GAME BOOSTER.... thats the same thing that happens on LG phones then.

Same issue is happening to me on 64-bit Bluestack 5. Don't have the "can't record audio" though.
The instance is allocated 4 CPUs and 4GB of RAM.

Had a similar issue a a moment ago on my OnePlus 6. Try to Force Quit the app and restart it all.

Hi there I am having the same problem on LDPlayer on FGA canary ver 1478. Fixed it by uninstalling and reinstalling a bunch of times but lost all of my skill configs and now it has happened again

I suspect it is similar to LG phones where the game mode option prevents popups from other apps. I suspect something similar is happening here. That couldn't record game audio toast is a bit suspicious. GAME BOOSTER.... thats the same thing that happens on LG phones then.

tbh if it's game booster that would be super weird, as i've been using FGA w/o any issues until now
record game audio is only there b/c i never play w/ volume up LOL
if anything i'll just reinstall FGA and see if anything changes.

i just deleted and reinstalled FGA Canary and it works!
i'm guessing my version was out of date as the newer version definitely looks newer and has more friendly UI stuff.


Report from publicapis.dev

Name: Songsterr
Category: Music
Issue: Broken link
This report was sent from publicapis.dev.

I searched on Songsterr and there are no mentions of API on any pages or on any of the sitemaps.

Removed, thanks.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update go check to currently supported versions

Go1.7 is released and Go1.5 is expired.
ref. https://golang.org/dl/#stable
I have read CONTRIBUTING and signed the CNCF CLA, but please let me know if I've missed anything.

thanks for the PR, though I don't expect these to be updated with every go release, only as needed when building new releases
making the go version check just a warning for the make targets other than build-release could make sense

Sorry, you're right! I missed the pre-built binary and failed to build, so I created a PR, but it is not necessary.

making the go version check just a warning for the make targets other than build-release could make sense to avoid blocking people running local builds/installs

Is it like this? d2ffbc2
Anyway, please don't hesitate to close the PR if it's not necessary

I think something like https://github.com/kubernetes-sigs/kubectl-check-ownerreferences/pull/7 would work better, completely relaxing the go version check when people are building locally, and stamping the go version info into the build instead to be able to tell if an issue was potentially related to the go version


SCSS support

It would be great if we have scss support.

scss vs less vs stylus: fight

scss is the most popular one to be honest. PostCSS is the next to be widely adopted if trends continue

This is a great seed project!  We used this seed as a starting point and enhanced it in a number of ways.  I will probably open some PR's when I get some time and you can decide if you want to take any of them.  I figured since it is meant to be used for training and not necessarily for production applications you will not want all the stuff I did though.
That said we just added loaders for all 3 and the dev can use what they want :)

any chance someone is posting an example of this starter with scss support? Not suggesting scss is better, that's just what we use and I'm having troubles wiring all the configs to support that.

https://github.com/jtangelder/sass-loader - just read documetation.

Any solution for JSPM version?

@capaj Thx. So in other words: if we want to use scss we need to compile it in gulp and then serve our app from target/dev folder (or however you call it) instead of just serving src.

@capaj Thx. So in other words: if we want to use scss we need to compile it in gulp and then serve our app from target/dev folder (or however you call it) instead of just serving src.

@m-j yes

@m-j yes

Made a fork and replaced stylus with scss. Here's the link, hope it will help https://github.com/gebidesign/NG6-starter-sass

hi, I cant figure out why its not generating .scss file instead it still generating .styl. Ive changed the webpack.config.js to  { test: /.scss$/, loader: 'style!css!sass' } and also installed node-sass and sass-loader.

Thanks @bivainis . This should be added in README

@tucq88 I think that it's better to replace stylus with scss. Anyway angular2 starter uses scss instead of stylus.

I prepare PR to switch from stylus to scss: #188

Since #188 is landed, I should probably close this issue.


LogP_optimization_demo-RNNPredictor

Dear author, I would like to ask，When I run this line of code： my_predictor = RNNPredictor(path_to_params, path_to_checkpoint, predictor_tokens)
I received the following error：

How to solve this error, it seems to be a problem caused by OpenChem

This works for me.
https://blog.csdn.net/sinat_34054843/article/details/88046041


Fix small error in variables

bound types do not have length, now just check if a single bound type is supplied and cycle that.

FYI, stuff like this fails:
C.variables(
    keys = Symbol.(mets),
    bounds = C.Between(lb, ub),
)

/format


way to use Markdown-it plugins

How to add and enable markdown-it plugins (and in webpack-loader)

You use markdown-it plugins the same way as you do with markdown-it, just call use.
I don't really want to add this to the documentation, as not all markdown-it plugins are supported. But for plugins that are supported, you can see an example in the source for mdx-loader:
https://github.com/jamesknelson/mdx-loader/blob/master/index.js


Update a couple out-of-date production documentation pieces

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I adjusted the second commit to fix a typo and also frame the sharding discussion more clearly, since the first paragraph suggesting that we don't support sharding in Zulip releases was also no longer accurate.


sunil-bodapati's file

I added an introduction file for GitHub Teacher as requested in #1.

merge complete

merge complete


Shorten status bar widgets size

Currently, the status bar is crowded because we use too much space for the status widgets.
We could gain some space and clean up things, much like VSCode does.

That's because we show messages in the status bar, which are mostly are the tooltips from entries in several menus.
How should we handle that?

See the screenshot above (I am talking about the status widgets in spyder to the right), the branch and the conda env is another issue ;-)

I see, ok.

(Separate issue: the status bar for the dark style seems to be not working as expected on OSX)

Yep, could you take care of that?

Yep, could you take care of that?

Yep :-)


ERROR: Unable to connect to endpoint

we are trying the access the AWS bucket from the Linux server using the utility call ssadrv as shown below
ssadrv -a aws_sdk://<bucket_name>/<aws_url_along with bucketname>
Eg: ssadrv -a aws_sdk://PER/https://s3.us-east-1.aws.amazon.com/infagcs/PER
bucket was not accessible from Linux server, hence we have added the following library "libaws-cpp-sdk-core.so" to the Linux server and issue got resolved, now we are try to delete the data from the AWS bucket file from the Linux server, but it is failing with the following error message
"ERROR: ERROR: Exception Name:, Error Message:Unable to connect to endpoint".
Please let us the answers for below queries:
1: Which scenario the endpoint error will trigger, Is there any configuration missing?
2: How we can find the aws sdk version from RHEL 8 Linux server ?
3: Is this library "libaws-cpp-sdk-core.so" is compatible with RHEL 8 server?

using the utility call ssadrv

what is this utility? where is it defined? how do the call the aws sdk?

hence we have added the following library "libaws-cpp-sdk-core.so" to the Linux server and issue got resolved

why did adding the library fix it? how are you actually using the SDK?

We are using AWS C++ SDK version 1.4.50.

That commit is 6 years old, why are you using that old of a version?
Overall I'm not following what you are asking. This sounds like a third party tool that is using a very old version of the SDK. I would suggest contacting the owner of this tool.
If you can provide code using the SDK to replicate your issue we can help


CLI PDF rendering twitter profile clickable link

node . -u dvassallo -n 10
Make dvassallo clickable link. https://twitter.com/dvassallo

@proful Would like to work on this

@SarveshKadam you can go ahead

@proful Is this the expected change, made the username clickable, and it navigates to the Twitter profile in PDF as shown below.

Yes looks good! Create a PR @SarveshKadam

Have created a PR @johnjacobkenny once you have time, could you please review it and link the PR to this issue.

Link to PR mentioned below
PR Link

Yeah @SarveshKadam I have edited the description so that it gets linked


add a build variant that links Kwant against mumps-mpi

Checklist

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

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.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

All the tests now pass, but when I manually install kwant and fenics together in the same environment fenics gives all sorts of warnings on import about integer size mismatches.

Do you think these warnings indicate that things are broken?

Do you think these warnings indicate that things are broken?

Yes, but I don't know what it is exactly. I suspect that it is due to a difference in compile-time and run-time versions of MPI.

Great work Joe!
I say, let's go ahead and merge 👍

A quick question. If a user writes mamba install kwant in a fresh env, which variant is installed? Can we select a default?

The default will be the nompi, this is because we set the build number lower, so the default stays the same.
If someone prefers the mpi version, one should specify: conda install "kwant=*=*mpi".

Ah, I see that now. Neat! Please add a comment around that line to explain the purpose of the build number bump.
Given that I'm :+1: on merging, but I'd like @jbweston's confirmation.

We can't merge because things are still broken!
For clarity here's what happens when I import fenics in an environment where the mpi variant of kwant is installed:

@basnijholt also, as our variants are named nompi and mpi I think this means if we want the mpi variant we have to specify kwant=*=*_mpi with a weird leading underscore. This is because kwant=*=*mpi will also match nompi.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Failed to even lint the recipe, probably because of a conda-smithy bug :cry:. This likely indicates a problem in your meta.yaml, though. To get a traceback to help figure out what's going on, install conda-smithy and run conda smithy recipe-lint . from the recipe directory.

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.

@conda-forge-admin, please rerender

@jbweston, this seems unrelated to the changes made here.
Try installing the current version of kwant in Python 3.9 to get the same warnings.

Indeed, conda create -n fenics-alone -c conda-forge fenics; conda activate fenics-alone; python -c 'import fenics' gives these warnings, so it's not us.


Problem strcpy

its says something like _CTR_NO_WARNING or something like that

It's just warning, not an error.

Hey!
you can fix this warning by using
strcpy_s(buf, IM_ARRAYSIZE(buf) , config.misc.clanTag.c_str());

you can also hardcode array size to 16.


#217 fix dual footer fixed

#217
Fixes Issue
This PR fixes the following issues:
#example
changes made to this file
src/Pages/AllResources/webALL/css.jsx
Changes proposed
Here comes all the changes proposed through this PR

Check List (Check all the boxes which are applicable)

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Add all the screenshots and a video which support your changes

@mnnkhndlwl file removed kindly review the PR


add tab navigation (edge swipe) between feed and queue

found these resources super helpful

https://dev.to/hrastnik/lets-create-a-custom-animated-tab-bar-with-react-native-3496
https://reactnavigation.org/docs/en/tab-based-navigation.html
https://reactnavigation.org/docs/en/bottom-tab-navigator.html#docsNav

done here
https://github.com/daviswhitehead/shayr/pull/195


📎 Implement lint/noTsComment - typescript-eslint/ban-ts-comment

Description
Implement typescript-eslint rule ban-ts-comment as noTsComment.
If you have a better name, please suggest it.

Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.

I ma not sure we should add this rule. I am not very fond of it, I'm not really sure why we should ban directives.
The only rule that I think makes sense to have is the one to ban @ts-ignore in favour of @ts-expect-error

@ematipico
If there are only a few members on a given team who are proficient in TypeScript, I think this lint is useful. I have seen a fair amount of code where @ts-ignore is left out, so I see a certain value in this rule.
typescript-eslint offers a flexible option, but it may be better to focus on @ts-ignore.

Thank you @unvalley for the argument! I'm convinced :)

The only rule that I think makes sense to have is the one to ban @ts-ignore in favour of @ts-expect-error

Banning @ts-ignore in favour of @ts-expect-error is a better alternative overall, also requiring a brief explanation after this directive should also be required: // @ts-expect-error - <explanation>.
However I had to use // @ts-ignore in the past inside environments where a type declaration may or may not be defined, depending if its like inside CI or not, thus only // @ts-ignore would work. Also, I'm not sure if having to enable it to the entire repository just because one place needs it would be a good solution.

@arthurfiorette

However I had to use // @ts-ignore in the past inside environments where a type declaration may or may not be defined, depending if its like inside CI or not, thus only // @ts-ignore would work. Also, I'm not sure if having to enable it to the entire repository just because one place needs it would be a good solution.

How about using biome-ignore for such cases? We are not needed to turning off the lint rule in entire repository.

Ping @unvalley . Are you still interested?

How about using biome-ignore for such cases? I think we are not needed to turning off the lint rule in entire repository.

Should do the job for such specific use cases.

Happy to look into this one, however would be good just to verify exactly what this discussion landed on in terms of implementation?

Happy to look into this one, however would be good just to verify exactly what this discussion landed on in terms of implementation?

I think, for now, we want to offer a rule that checks @ts-ignore and suggests the expect error directive

And we'll be using the rule name banTsComment do so?

@emab, If we follow the suggestion of @ematipico, I propose noTsIgnoreComment or noIgnoreTsComment.

If anyone is interested, this issue has become available

👋 @unvalley are you still planning on contributing this rule?
Context: I'm writing an article for learningtypescript.com on all the TS comment directives. It's going to include best practices for them, including lint rules to prefer @ts-expect-error (https://github.com/biomejs/biome/issues/713#issuecomment-2068168811) and enforcing an explanatory comment. I'd like to include a link to all linters that implement this issue's rule, and can wait a bit to publish if you think this will get implemented soon.

@JoshuaKGoldberg
Hi, thank you for reaching out. I really enjoy reading your blog. I feel a bit bad about keeping you waiting until this issue gets closed, so if possible, it would be great if you could mention in your blog that Biome is tracking this issue. Also, once this lint rule is shipped, I’d love to submit a PR to your blog post!

You got it, and thanks! It's been really encouraging seeing all the progress here. Looking forward to it! ❤

I'll work on it

also requiring a brief explanation after this directive should also be required: // @ts-expect-error - .

makes me think a noUnfilledExplanation rules might be a good addition.
Juniors will often copypaste the directive without realising they're meant to replace the  text with their explanation. It'd be good to have those fixed before they come up in a PR.


Compute Gradle module classpath lazily

The module registry is created every time the global scope
services are initialized, even when we never actually ask
for any modules. This is the case for instance when using
DaemonLogsAnalyzer in our integration tests. This change
makes those tests faster and more memory efficient.

I'm reverting this in favor of the much simpler https://github.com/gradle/gradle/commit/c2018e0716152006a164200b0616d4391bd82085


smart_listing.paginate broke with Ruby 3.1.1

<%= smart_listing.paginate %>
Resulted in wrong number of arguments (given 2, expected 1)
TRACE:
[kaminari-core (1.2.2) lib/kaminari/helpers/helper_methods.rb:116:in `paginate']
[smart_listing (1.2.3) app/helpers/smart_listing/helper.rb:49:in `paginate']

any update on this issue? I'm running into the same thing

What dannyvanhoof said above BUT I would abandon this kind of gems.


Dynamic placement and autoUpdate conflict

Hello. Thanks for the hard work on this amazing project!
I have found an issue when Floating UI has a conflict between autoUpdate and dynamic placement.
Here I prepared a codesandbox so that you can check the issue (click on button will position floating with previous placement)

The autoUpdate cleanup function is not being returned from whileElementsMounted. There's a comment about it when using it as an inlined function:

// Or, pass options. Ensure the cleanup function is returned.

https://floating-ui.com/docs/react-dom#updating


Init script changes don't persist

I am working to create a customized postgresql image with postgis plugin. Following are the contents of docker file
# Setting base environment with Postgresql version 11
FROM postgres:11

ENV DB_NAME JoesBlooms

RUN apt update
RUN apt install -y wget curl gnupg2 software-properties-common apt-transport-https

RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc |  apt-key add -
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee  /etc/apt/sources.list.d/pgdg.list

RUN apt update
RUN apt install -y postgis postgresql-11-postgis-2.5

COPY ./enable_gis.sql /docker-entrypoint-initdb.d

Contents of enable_gis.sql are as follows
CREATE EXTENSION IF NOT EXISTS postgis;

place both files in same folder and build using following command
sudo docker build -t postgis:11-2.5 .

Then create following docker-compose.yml file
version: '3.9'
services:
    custom-postgresql:
        image: "postgis:11-2.5"
        volumes:
        - /test/postgresql:/var/lib/postgresql/data
        environment:
        - POSTGRES_USER=postgres
        - POSTGRES_PASSWORD=admin
        - POSTGRES_DB=testdb
        - PGDATA=/var/lib/postgresql/data/pgdata
        ports:
        - "5432:5432"
        restart: unless-stopped

Now when you spin-up container using docker compose, following output will be shown
sudo docker compose up

myfolder-custom-postgresql-1   | The files belonging to this database system will be owned by user "postgres".
myfolder-custom-postgresql-1   | This user must also own the server process.
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | The database cluster will be initialized with locale "en_US.utf8".
myfolder-custom-postgresql-1   | The default database encoding has accordingly been set to "UTF8".
myfolder-custom-postgresql-1   | The default text search configuration will be set to "english".
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | Data page checksums are disabled.
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok
myfolder-custom-postgresql-1   | creating subdirectories ... ok
myfolder-custom-postgresql-1   | selecting default max_connections ... 100
myfolder-custom-postgresql-1   | selecting default shared_buffers ... 128MB
myfolder-custom-postgresql-1   | selecting default timezone ... Etc/UTC
myfolder-custom-postgresql-1   | selecting dynamic shared memory implementation ... posix
myfolder-custom-postgresql-1   | creating configuration files ... ok
myfolder-custom-postgresql-1   | running bootstrap script ... ok
myfolder-custom-postgresql-1   | performing post-bootstrap initialization ... ok
myfolder-custom-postgresql-1   | syncing data to disk ... ok
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | Success. You can now start the database server using:
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   |     pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | WARNING: enabling "trust" authentication for local connections
myfolder-custom-postgresql-1   | You can change this by editing pg_hba.conf or using the option -A, or
myfolder-custom-postgresql-1   | --auth-local and --auth-host, the next time you run initdb.
myfolder-custom-postgresql-1   | waiting for server to start....2022-10-18 16:54:07.887 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
myfolder-custom-postgresql-1   | 2022-10-18 16:54:07.906 UTC [50] LOG:  database system was shut down at 2022-10-18 16:54:07 UTC
myfolder-custom-postgresql-1   | 2022-10-18 16:54:07.912 UTC [49] LOG:  database system is ready to accept connections
myfolder-custom-postgresql-1   |  done
myfolder-custom-postgresql-1   | server started
myfolder-custom-postgresql-1   | CREATE DATABASE
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/enable_gis.sql
myfolder-custom-postgresql-1   | CREATE EXTENSION
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | waiting for server to shut down...2022-10-18 16:54:08.859 UTC [49] LOG:  received fast shutdown request
myfolder-custom-postgresql-1   | .2022-10-18 16:54:08.863 UTC [49] LOG:  aborting any active transactions
myfolder-custom-postgresql-1   | 2022-10-18 16:54:08.865 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
myfolder-custom-postgresql-1   | 2022-10-18 16:54:08.870 UTC [51] LOG:  shutting down
myfolder-custom-postgresql-1   | 2022-10-18 16:54:08.940 UTC [49] LOG:  database system is shut down
myfolder-custom-postgresql-1   |  done
myfolder-custom-postgresql-1   | server stopped
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | PostgreSQL init process complete; ready for start up.
myfolder-custom-postgresql-1   |
myfolder-custom-postgresql-1   | 2022-10-18 16:54:08.982 UTC [1] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
myfolder-custom-postgresql-1   | 2022-10-18 16:54:08.982 UTC [1] LOG:  listening on IPv6 address "::", port 5432
myfolder-custom-postgresql-1   | 2022-10-18 16:54:08.989 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
myfolder-custom-postgresql-1   | 2022-10-18 16:54:09.004 UTC [86] LOG:  database system was shut down at 2022-10-18 16:54:08 UTC
myfolder-custom-postgresql-1   | 2022-10-18 16:54:09.041 UTC [1] LOG:  database system is ready to accept connections

Clearly showing that enable_gis.sql is called and CREATE EXTENSION as response, but when I execute SQL command SELECT PostGIS_version(); on this server, it return error the function is unknown.
Now if I execute the command CREATE EXTENSION IF NOT EXISTS postgis; then this plugin will be enabled and will start working fine.
My Question is why startup script changes are not persistent, they seem to executed successfully but somehow there changes are not saved.
For easy debugging the docker container is already pushed at ssilhr/postgis:11-2.5
I need PostgreSQL 11 with PostGIS 2.5, so version upgrade is not an option

Yeah not sure why the init script isn't actually doing the CREATE EXTENSION. But it will persist through restart after manually doing CREATE EXTENSION IF NOT EXISTS postgis;
Also tried swapping the COPY line with RUN echo 'CREATE EXTENSION IF NOT EXISTS "postgis";' > /docker-entrypoint-initdb.d/postgis.sql and same result https://github.com/docker-library/postgres/issues/826#issuecomment-804460304

I have the same issue. Create a schema in the init file and it's not created in the container when it runs. Only Create Database works.

FROM postgres:15
I met the same issue too. password changing in init.sh is not persistent.

alter user xxxx with password 'xxxx';

I execute above, manually so success.

I'm not sure what the difference between your Dockerfile and the PostGIS Dockerfiles is, because they are working over there.
https://github.com/postgis/docker-postgis/tree/4b53c954472c548c6d63e833404952b6bfb6942a/11-3.3
My guess is that it might be related to postgres background threads that don't quite finish with just a single CREATE EXTENSION before the server restart, but I have no proof and I am unable to reproduce locally:
FROM postgres:11-bullseye
#postgres:11 no longer works as the Debian Stretch PostgreSQL repos are no longer available

RUN set -e; \
	apt-get update; \
	apt-get install -y postgis postgresql-11-postgis-3; \
	rm -rf /var/lib/apt/lists/*

RUN set -e; echo 'CREATE EXTENSION IF NOT EXISTS "postgis";' | tee /docker-entrypoint-initdb.d/postgis.sql

$ docker build .
...
Successfully built 5f98ea5a4547
$ docker run -it --rm --name pg -e POSTGRES_PASSWORD=admin 5f98ea5a4547
$ docker exec -it pg psql -U postgres
psql (15.1 (Debian 15.1-1.pgdg110+1), server 11.18 (Debian 11.18-1.pgdg110+1))
Type "help" for help.

postgres=# SELECT PostGIS_version();
            postgis_version
---------------------------------------
 3.3 USE_GEOS=1 USE_PROJ=1 USE_STATS=1
(1 row)

(They have some ~5 month old PostgeSQL 11 with PostGIS 2.5 images that might work for you: https://hub.docker.com/r/postgis/postgis/tags?page=1&name=11-2.5)


Make Android OnReceived condition virtual, fix UnsubscribeAll ios Bug and Update to new firebase sdk

:sparkles: What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Feature
:arrow_heading_down: What is the current behavior?
The condition to skip displaying a notification with android is confusing/complicated: https://github.com/CrossGeeks/FirebasePushNotificationPlugin/blob/d86266a9f45687b418f5f1e69c348681d1ff6e27/Plugin.FirebasePushNotification/DefaultPushNotificationHandler.android.cs#L151
More infos: https://github.com/CrossGeeks/FirebasePushNotificationPlugin/issues/434
:new: What is the new behavior (if this is a feature change)?
With this change it is possible to implement a custom condition or simple skip the condition (return false). Just override the virtual method.
:boom: Does this PR introduce a breaking change?
No.
:bug: Recommendations for testing
:memo: Links to relevant issues/docs
:thinking: Checklist before submitting

[x] All projects build
[x] Follows style guide lines
[ ] Relevant documentation was updated
[ ] Rebased onto current develop

Fixed a bug in FirebasePushNotificationManager.ios.cs. You loop thru currentTopics array in UnsubscribeAll and in the loop you remove items in currentTopics. Which results in an incomplete Unsubscribe operation.

Hi @rdelrosario,
could you merge this and release a new version?
Thank you very much!

@rdelrosario can we expect this change to be merged before June 2024?

Hi @thomasgalliker ,
i think this package will still work. I accidently pushed the last commits to this pull request. I only want to test the new bindings project with XF. And it works.
If you want you can take my changes to your new plugin. It would we great if your plugin will also run with XF apps.

Ok cool. Its a nightmare to have to support .net maui and XF in one single project. I would rather publish a new nuget for xf (temporarily) until we have migrated to maui. Yet another nuget, I know what you think. The best solution would be to publish this changes here but it look like this plugin is no longer maintained….

@AlleSchonWeg did you publish these changes somewhere on nuget.org? We're stuck migrating one app to MAUI and I think we need an updated firebase-ios-sdk in order to publish apps to production. I'd create a new temporary nuget if you've not done so already.

@thomasgalliker
No. There is no nuget.

@AlleSchonWeg your PR actually triggered a build which created a nuget. That saves me for now, thanks! 🥇


Class 'App\User' not found

Class 'App\User' not found in mail/{id}
My config file is:
<?php
return [
    'user_model' => App\User::class,
    'message_model' => Cmgmyr\Messenger\Models\Message::class,
    'participant_model' => Cmgmyr\Messenger\Models\Participant::class,
    'thread_model' => Cmgmyr\Messenger\Models\Thread::class,
    'messages_table' => null,
    'participants_table' => null,
    'threads_table' => null,
];

Are you 100% sure the User model is in the App folder?

Yes, it is.

Did you alter the MessengerServiceProvider.php file in any way?

Could you paste the stacktrace as well?

@pirmax have you run or seen any issues with composer dumpautoload -o?

Problem solved, I deleted the line in config/app.php by mistake.


Version on the PSGallery

A little trouble - our targets are not web-connected, so we host a local repository for resources, we need. Yesterday I had some troubles trying to use a direct copy of xWebAdministration, pushed to a local repo. On the PSGallery, the package version is 2.3.0 in the module it is <IP_ADDRESS>, so when deployed, it was complaining about missing resources.
Is there a recipe, how to install this module from NuGet?
Thank you.

Can confirm this is an issue with people who import this package into a local repo (like ProGet).   When I edit the .nuspec and change the version <IP_ADDRESS>, everything works.  I'd submit a PR to fix, but the nuspec isn't in the git repo.

Bumping this, this is still an issue.

Just a reminder here, this is still broken in <IP_ADDRESS>

This is discussed here and will be resolved for all repos in the DSC Resource Kit when possible, so closing this issue.

Sorry, the issue https://github.com/PowerShell/DscResources/issues/508 is where this is being discussed. 🙂


merge_sltrain

sometimes there's an error when reading the template pose image like below.
I'll leave this to the developers to sovle it. The main functionality is tested well.
File "/home/pai/envs/modelscope_v3/lib/python3.10/site-packages/PIL/Image.py", line 2138, in resize self.load() File "/home/pai/envs/modelscope_v3/lib/python3.10/site-packages/PIL/ImageFile.py", line 256, in load raise OSError(msg) from e OSError: image file is truncated


Handle FB User Profile API changes to default profile fields

With the launch of Graph API v3.1, Facebook has announced that the User Profile API will henceforth only return name, first_name, last_name, and profile_pic fields by default.
Access to additional profile fields (locale, timezone, gender) are denied by default unless apps request and get additional permissions.
In botly, the getUserProfile() function currently requests for first_name, last_name, profile_pic, locale, timezone, and gender fields explicitly. Due to the above changes by Facebook, this API request from botly now fails for all new apps (until they request additional permissions), and soon for existing apps too.
Can we have the getUserProfile() function accept the set of fields as an argument, so apps using botly can decide (based on their needs) what fields to request in the facebook API?
(We can make the function signature change non-breaking by also handling an undefined fields argument to simply request for default profile fields)

I propose PR #53 to solve this.
Kindly review.

@miki2826 - Please take a look at this issue, and proposed fix (PR #53)


pigz is not installed on ubuntu.

pigz should probably be installed on ubuntu to enable parallel decompression of images.
in reality, it should probably be installed as a package on all OSes that have this package.

pigz cannot do parallel decompression, only parallel compression
Source: https://zlib.net/pigz/pigz.pdf


about watershed labeling.

   hi, I found that it is not so easy to split the Gaussian distribution map.

    can you provide details of the watered algorithm?
    For example, the binarization method used here?
   The details of the initial marker in the cv2.watershed() interface function in opencv?
   Or is it using a different function interface?

I just followed the instruction provided by opencv document (https://docs.opencv.org/3.3.1/d3/db4/tutorial_py_watershed.html).
We used thresholding for the binary maps for finding three areas such as sure_fg, sure_bg, and unknown in the example.
Two thresholds are used for separating those areas, and the values are 0.6 and 0.2, respectively.
These thresholds are not sensitive for distinguishing those areas since they play a role of the initial guess for the watershed labeling. The initial markers are created by labeling the regions inside surely foreground area.
In addition, we used opencv watershed labeling function.

Thanks for your reply.
I tried to use the method you said, but I found that the resulting character border does not cover the entire character area very well. It can only detect the vicinity of the center point of the character. Does this have a great influence on the model training?
In addition, in the ICDAR2015 dataset, the size of the image is generally 72012803. In the image preprocessing, I first resize the image to 7687683, and then  random crop into 6406403, but I found that some of the characters that were already small in the original image were smaller after the scale change, and the size of the gt was 0.5 times the size of the training img, which caused the Gaussian distribution of many characters to be very crowded and strange. How do you pre-process the training img?
Some words in the ICDAR data set are marked as "###", so the character length cannot be obtained. According to the paper, the confidence level of this part should be 1. Does such a word have an adverse effect on the training of the model? How do you deal with such words during the training of CRAFT?
Thank you and look forward to your reply.

@wulitaotao1  IMHO,' ###' chars are ignored, so the score should be 0.

@Godricly thank you so much.
And how do you deal with small characters caused by scaling the original img? The gaussian map looks like very crowded, or maybe its wont have much impact  on the task of detecting word-level text,I'm going to do some experiments.

@YoungminBaek What's the input img of watershed algorithm?Region Score map or transformed img like gradient map?


Discuss about OnlineCheckerImpl 's isOnline(context) method

Why use isConnectedOrConnecting() rather than isConnected() ?
For isConnectedOrConnecting method's javadoc:
Indicates whether network connectivity exists or is in the process of being established. This is good for applications that need to do anything related to the network other than read or write data. For the latter, call isConnected() instead, which guarantees that the network is fully usable.
Thanks for refactor code again and i have used this nice library in my productive project.
Thanks in advance!

You're right. I think, we can replace isConnectedOrConnecting() with isConnected(). We just need to test whether it behaves correctly.

I've updated it in https://github.com/pwittchen/NetworkEvents/commit/cf58d70233c7174aedde50828822e74a158b22e3. Update will be available in the next release.

I appreciate you hard work!  Thanks again!@pwittchen

Please remember that Internet connection checking functionality is disabled by default in the newest version of the library. If you want to use it, you need to enable it. It is described here: https://github.com/pwittchen/NetworkEvents#enabling-internet-connection-check

Yes! I have read your guide.
I will be test and try find bugs in my productive project.


abort-or-stop is still a flaky test

Occasionally the abort-or-stop test will fail with an error like
ERROR /Users/runner/work/acquire-common/acquire-common/acquire-video-runtime/tests/abort-or-stop.cpp(1[54](https://github.com/acquire-project/acquire-common/actions/runs/7389258094/job/20101713711#step:7:55)) - acquire: Expression evaluated as false: nframes == props.video[0].max_frame_count
ERROR /Users/runner/work/acquire-common/acquire-common/acquire-video-runtime/tests/abort-or-stop.cpp(159) - acquire: Runtime error: Expression evaluated as false: nframes == props.video[0].max_frame_count
ERROR /Users/runner/work/acquire-common/acquire-common/acquire-video-runtime/tests/abort-or-stop.cpp(203) - main: Something went wrong in 'stop' test.
ERROR /Users/runner/work/acquire-common/acquire-common/acquire-video-runtime/tests/abort-or-stop.cpp(209) - main: Runtime error: Something went wrong in 'stop' test.

I suspect this is because the queue is not being flushed fully.

closed by #5


shell: Fix shell uart not waking up shell on mcumgr data

When mcumgr smp data was received over shell uart transport
it was not waking up shell thread and thus request was not
processed. Shell thread must be waken up on any incoming
data, even data which is only dedicated for mcumgr smp.
Fixes #16278
Signed-off-by: Krzysztof Chruscinski<EMAIL_ADDRESS>

@PhilippFinke fyi

@carlescufi @nashif can you merge it?


Prepare to release 1.0.0-beta

[README.md] Update install docs for beta version
[package.json] Bump version to 1.0.0-beta.0

Reference to release beta versions.

@kadler

Please change it to alpha instead of beta

Done


Add tests for CallVisualizerCoordinator

The delegates inside the coordinators are not tested because each coordinator itself tests the delegate methods functioning through their own set of tests. Also, the coordinators in this class are all private, so testing it from outside would require moving the coordinators to internal properties, which I would say is not desirable.
MOB-2917
Release notes:

[ ] Feature
[x] Ignore
[ ] Release notes (Is it clear from the description here?)
[ ] Migration guide (If changes are needed for integrator already using the SDK - what needs to be communicated? Add underneath please)

Additional info:

[ ] Tests fixed, added? Unit, acceptance, snapshots?
[ ] Logging necessary for future troubleshooting of customer issues added?

Screenshots:

!squash