New, Edit and Delete buttons on flight logs page do not respond

For the flight logs page, those three buttons don't respond, beyond turning turquoise (indicating that the system is acknowledging a click, but nothing is resulting from it).
Using Chrome on Windows.

Additionally, I wasn't able to add a "bug" tag to this issue.


Custom PBA Image

Considering that sedutil is weird (e.g. linuxpba suddenly reboots after writing a password which is not "debug") and it's PBA is quite slow to boot, it would be nice to have a PBA image based on sed-opal-unlocker available for the public.
I would like to propose to build a minimal linux kernel containing only sed-opal-unlocker and busybox embedded on the initramfs, compressed using a faster algorithm than lzma (lz4, perhaps?), so that it could boot instantly on NVMe devices (and maybe on SATA).
What do you think about it?

Thanks for your interest in this project.
The idea is great and to be honest, I'm already using something like that for a few months... a PBA image in form of EFI system partition containing multiplicated EFI executable (very minimal kernel with embedded initramfs with busybox + sed-opal-unlocker + plymouth + efibootmgr + kexec + somescripts; all lz4-ed) and I find it working really well.
It's probably as far from being general as you can possibly get, though. The image must be built on user's computer (embeds encrypted secrets and depends on /boot/efi/ structure); it's Gentoo-based (unlikely to build on other distros); it assumes user replaced vendor's Secure Boot keys with his/her own (everything is signed with custom keys). Even the Plymouth theme is acceptable only for Thinkpad users ;-)
But I guess that's a good starting point. I promise I'll publish it someday in my laptop-notes repo; it already contains some design notes. I did finish the scripts, however I chronically lack time (and some motivation as well) to clean them out and publish... I hope this will happen in a month or two, but I cannot guarantee anything.

Although I'm not having spare time to help right now, I've already tried some options to automate the PBA image generation using petitboot. They already provide some useful packages out of the box, so it won't take time to have a working image.
My suggestion would be to use the initramfs outside the kernel (as a cpio.lz4), so the user can modify it as needed.
Are you currently building your PBA using gentoo-sources or vanilla-sources?

Nice ideas! I also don't like the existing PBA as it

forces long POST process (two reboots or more if you type a wrong password)
gives ugly UI with tiny font
gives you literally once chance to enter correct password
you're not notified is it was successful unless you record screen with high speed camera
will not work on AMD machines (need custom sedutil)
will cause sleep problems (for AMD, need to compile custom sedutil's merge of another sedutil fork)
I wasn't able to use BIOS unlocking on an NVME drive either, looks like every single component works with SED drive in a different way (BIOS, Windows, sedutil, sedutil hash fork, sedutil S3 fork, sedutil AMD fork) and passwords in both normal and "-n" mode can't be reused between them.
I'm happy to use sed-opal-unlocker instead, the key is read from the fingerprint USB drive. It just needs correct "Before" and "After" dependencies in regards of mounting USB drive and the SED drive.
I'd love to have a GRUB/UEFI/Ventoy module to do this job after POST and before OS. Or PBA that can continue booting? I am not knowledgeable on the subject. Currently, I have to login Linux first to unlock drive for Windows, for example.

@leonardohn @gitthangbaby If you are still interested, I got it working on initramfs via normal EFI system partition: no PBA/ShadowMBR, no extra reboot after unlocking, and even Secure Boot all the way. This still needs polishing before it can be released, but it certainly is working on my server, can even ssh in to type the password. See #3 for updates.

See #3 for updates.
interesting. does this mean the parts of disk can stay unencrypted?
because i 've had an initram or post-init solution with such convenience (however using 2nd non TCG drive for execution), but i realized i'd love Windows to unlock parts of the target drive too (which doesn't work without some expensive tools like Winmagic(?); wouldn't survive resume; and Bitlocker also didn't provide hardware support despite manufacturer claim). But if partitions can be locked, then i could simply mark Windows and LinuxBoot partition as unecnrypted. That'd be pretty cool!

@gitthangbaby Well, technically all data is always encrypted, but yes, anything not included in your enabled LockingRanges can stays unlocked after power loss.
Do note that setting up LockingRanges may destroy data, so migrate your data elsewhere while setting this up:
sedutil-cli --setupLockingRange 1 [Admin1 password] [start sector] [sector COUNT] /dev/nvme0n1
sedutil-cli --enableLockingRange 1 [Admin1 password] /dev/nvme0n1

# Unlock immediately
sedutil-cli --setLockingRange 1 RW [Admin1 password] /dev/nvme0n1

# Lock immediately (happens automatically on power loss)
sedutil-cli --setLockingRange 1 LK [Admin1 password] /dev/nvme0n1

Since sed-opal-unlocker is currently hardcoded to use LockingRange 0, i.e. the whole disk, you will need to edit source code to enable what was done with sedutil-cli --setLockingRange in the commands above.


HIVE-28523: Improve performance when drop partition or drop table

What changes were proposed in this pull request?
Reduce getDnsPath times to improve performance
https://issues.apache.org/jira/browse/HIVE-28523
Why are the changes needed?
When the number of partitions is large,serial traversing and obtaining wh.getDnsPath will take a huge amount of time, and performance optimization can be done for this place
For example, there are 200,000 partitions, each getDnsPath takes 10 milliseconds, and the serial fetch time can reach 30 minutes
Does this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?
By ut

When is the tableDnsPath empty ?   And why can this Improve performance?

Could you please provide more detaill about this optimization?
For example, if you guess wh.getDnsPath will take much time when dropping partition, you can do a jstack  on HMS java pid, and you should see the wh.getDnsPath  thread is in a WAITING or a BLOCK state for a long time.
So ,could you do a jstack on HMS to help we know more about this?
Thanks.

Could you please provide more detaill about this optimization? For example, if you guess wh.getDnsPath will take much time when dropping partition, you can do a jstack  on HMS java pid, and you should see the wh.getDnsPath thread is in a WAITING or a BLOCK state for a long time.
So ,could you do a jstack on HMS to help we know more about this? Thanks.

It is executed in serial, which should not show that the state is waiting or block. I have a time-consuming printing here, which can show that there is a performance problem in this piece.
I think that's a good indication of the problem

When is the tableDnsPath empty ? And why can this Improve performance?

When table type is view the tableDnsPath will be null, By reduce times to get filesytem client.

@Leonidas963 I checked https://issues.apache.org/jira/browse/HIVE-24838 which wanted to reduce the object stores fs call. I think it maybe can also be used to hdfs filesystem.
HIVE-24838 was merged to Hive 4. Can you try to test HIVE-24838  in your hadoop cluster? and set the metastore property as following:  hive.blobstore.supported.schemes=hdfs,s3,s3a,s3n
BTW, i will check your fix later.


It is possible to call function with 2 arguments?

Suppose I have some string and want to use function "replace"
"truefalse"["replace"]("true")   -->   "undefinedfalse"
this line can be easily converted to JSF without using any kind of eval (interpreting string as code) as follows (I use comments and new lines to increase readability)
// "truefalse"[
([]+!![]+![])[

// long 'replace' word:
[]+(!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(+(!+[]+!+[]+[+!+[]]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]])[+!+[]+[+[]]]+([]+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]][([][[]]+[])[+!+[]]+(![]+[])[+!+[]]+((+[])[([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]+[])[+!+[]+[+!+[]]]+(!![]+[])[!+[]+!+[]+!+[]]]](!+[]+!+[]+!+[]+[+!+[]])[+!+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(![]+[])[!+[]+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]

// ]("true")
]([]+!![])

Questions:

It is possible to call function replace with 2 arguments - Like that: "truefalse"["replace"]("true","1")  and write it in similar way in JSF (without any kind of 'eval')? I have/see problem with comma which separate arguments... :(

It is possible to write in similar way regular expression in replace function argument e.g."truefalse"["replace"](/e/g,"E")  (without any kind of 'eval') (we want to change e to E in whole string) ? (here I have/see problem with slash I don't know how to "construct" them in JSF to be interpreted as regexp

No, it is not possible to call function with more than one arguments without eval in JSfuck. So... you need to come up with a way to represent this with functions with single argument.
The solution that can express your immediate problem in JSfuck without eval:
"truefalse".split("true").join("1") => "1false"

"truefalse"["split"]("true")["join"]("1")

And RegExp:
"truefalse"["split"](RegExp("e"))["join"]("E")

However, RegExp involves an eval expression.

@hazzik actually it is possible :) Yesterday I ask question on stackoverflow and one smart guy: trincot discover the way for n-parameters (working example):
["true"]["concat"]("1")["reduce"](""["replace"]["bind"]("truefalse"))
I also ask another question: it is possible to call such n-param methods in chain/flow way (not nested) e.g. "truefalse".replace("true",1).replace("false",0) - and he discover way to do it too - here:
"truefalse"
  ["split"]()["concat"]([["true"]["concat"]("1")])["reduce"](""["replace"]["apply"]["bind"](""["replace"]))
  ["split"]()["concat"]([["false"]["concat"]("0")])["reduce"](""["replace"]["apply"]["bind"](""["replace"]))

I also ask question about RegExp here

Oh, cool. Nice.

Now I need to recall why I wanted to get a way to call a method with two arguments. I completely forgot. :-(


2 day off after 24u shift

Possible implementation using 3-day pattern, needs testing

working as intended


Erlang doesn't install anymore

The last version I was able to build was 26.2.5.
Now, with version 27.0 (which builds fine, if done without mise), I get the following trace in the logs:
=== Entering application stdlib
make[3]: ingresso nella directory «/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/lib/stdlib/src»
make[3]: Nessuna operazione da eseguire per «docs».
make[3]: uscita dalla directory «/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/lib/stdlib/src»
make[3]: ingresso nella directory «/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/lib/stdlib/doc»
make[3]: ***  Nessuna regola per generare l'obiettivo «man», necessario per «docs».  Arresto.
make[3]: uscita dalla directory «/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/lib/stdlib/doc»
make[2]: *** [/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/make/otp_subdir.mk:29: docs] Error 2
make[2]: uscita dalla directory «/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/lib/stdlib»
make[1]: *** [/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/make/otp_subdir.mk:29: docs] Error 2
make[1]: uscita dalla directory «/home/ivanhoe/.cache/mise/erlang/kerl/builds/27.0/otp_src_27.0/lib»
make: *** [Makefile:439: docs] Error 2

It happens both with the core plugin and with adfs' one.
I'm on Fedora core 38.

I'm having the same problem here. I've checked the erlang build process log and it seems fine.
Running the following command ends up errors from mise install script
$ RUST_BACKTRACE=full mise install<EMAIL_ADDRESS>--verbose

[ERROR] ~/.local/share/mise/plugins/erlang/bin/install failed
Error:
   0: ~/.local/share/mise/plugins/erlang/bin/install exited with non-zero status: exit code 1

Location:
   src/plugins/script_manager.rs:178

Version:
   2024.5.21 linux-x64 (ef24c46 2024-05-23)

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  <empty backtrace>

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.

After switching from asdf plugin to core plugin, now it works

IMHO it was not the same problem.

I was able to upgrade to 27.0 by unsetting KERL_DOC_TARGETS and KERL_INSTALL_MANPAGES and setting the following in my env variables:
KERL_BUILD_DOCS=no
This was the only way to solve the issue.
But I'd like to be able to build erlang with docs again, because it is very useful to have documentation when doing development by using a language server.

I also can't install OTP27.0, getting error:
Neither sha1sum nor sha256sum found to verify /Users/name/Library/Caches/mise/erlang/kerl/builds/27.0/otp_src_27.0/bin/ex_doc
Please check manually that the correct ex_doc was downloaded.

Tried different options including local (escript) ex_doc install etc. Nothing works.

I had this same issue with Erlang 27.0.1:
cd /Users/noah/.local/share/mise/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1/lib && \
          PATH=/Users/noah/.local/share/mise/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1/bin:"${PATH}" ERL_TOP=/Users/noah/.local/share/mise/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1 \
          make BUILD_ALL=1 TESTROOT="" docs
=== Entering application stdlib
make[3]: Nothing to be done for `docs'.
make[3]: *** No rule to make target `man', needed by `docs'.  Stop.
make[2]: *** [docs] Error 2
make[1]: *** [docs] Error 2
make: *** [docs] Error 2
[ERROR] ~/.local/share/mise/plugins/erlang/bin/install failed

@il-santo's of setting KERL_BUILD_DOCS=no resolved the issue for me.

I think this is resolved now


Game Crashes On Startup - Arch Linux/EndeavourOS

I tried installing this patch, and the game began crashing on startup. I tried to uninstall to begin testing, and it continues to crash on startup. Re-validating my files and clearing my cache don't fix the issue. Now in order to play, I have to use the Proton version of Civ V, which has some issues.
Running Civ5XP.launch gives me:
[Steam_SetMinidumpSteamID:  Caching Steam ID:<PHONE_NUMBER>5149936 [API loaded no]
fish: Job 1, './Civ5XP.launch' terminated by signal SIGSEGV (Address boundary error)

There are no errors in the installer log for the patch, nor in the uninstall.  Pretty high level issue for your program to cause. True uninstalls that put everything back the way they're supposed to be is the one thing most people consider a 'must' in the world of computer software.
Not sure what else to provide to help with this issue, let me know.
Software Version: Latest Release (Jar)
Game Version: Steam, Latest Release, Native Linux.
System Details:
OS: EndeavourOS [Arch Linux, essentially.]
DE: KDE (X11)
Shell: Fish (Dropped in from Bash w/ Bashrc.)
CPU: Ryzen 5 4600H
GPU: Nvidia GTX 1660Ti Mobile (Noveau Drivers)
(It's an Optimus system, but I don't use an Optimus manager and stick to only using the discrete GPU, the battery was removed previously and I use it like a desktop.)

This is an issue with Civ V, not MPPatch, and I'm not sure I can fix it in a reasonable way.
Instead of setting it to the Proton version, try setting it to use the Steam Linux Runtime 1.0 (scout) in the Compatibility menu, which should solve this problem.

I tried it with both the Proton version and the native version multiple times...

Does it work if you delete the Civilization V directory entirely and reinstall it? With no patch installed.


Update: Feature flag export

Resolves #

Description
Put feature flag behind a feature flag
Proposed Changes

Screenshots

License
I confirm that this contribution is made under an MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

Now that we go by that. should we add csv to be functional off that list rather than it being default?

Now that we go by that. should we add csv to be functional off that list rather than it being default?

Yes

Made the change for csv to be in that list instead of being default.


How to add floor selection Option?

Hi,
I your readme (for the map) you have a floor selection dropdown. How did you add that? Which card is that?
I only get the basic map with the basic controls for zone selection ect.

Thanks but i might be missing something. That Code does work in that it Shows the Rooms. But it does Not Show an card selector at All.


Changed Java details

Changed Charset.forName("UTF-8") to StandardCharsets.UTF_8 to avoid string construction and typos.
Removed Google CharMatcher dependency by adding a faster pure Java utility function to validate if a string consists solely of ASCII characters or not. However, the new function like the previous one still allows for control characters.

@rodaine I'm satisfied. 😁


auto_link method does not seem to work in production rails

I used the auto_link method in a few of my models and everything works in development mode but when switching to production the auto_link method no longer returns a link.  Link_to seems to work just fine.

This is working in production for us now. Please re-open if it becomes an issue again.


Bug: Running tasks on Windows depends on PowerShell 7+

Expected Behaviour
It should be possible to run sessions on a default Windows 10 install, that only includes PowerShell 5.1, not 7.
At the very least, the error message should be clear about the problem.  Currently it produces an error messages that "pwsh.exe" is not found.
Current Behaviour
Cannot run sessions on Windows 10.
Reproduction Steps
Start from a Windows 10 machine that has only the default PowerShell installed. Try to run a task with the openjd run CLI command.
Code Snippet
No response

Thank you for the report. Powershell, of any version, is no longer required.


Use new permission system

This will a be requirement once minSdkVersion 23 or higher is used
https://developer.android.com/guide/topics/permissions/requesting.html

Fixed in c0dcf1c.


[HTTP] Cannot invoke services when Transfer encoding has multiple values

Steps

Send the following request to a ballerina service. (Chunked, gzipped message)
Header :
Transfer-Encoding: gzip, chunked

Issue: Ballerina server will give the following error
no matching service found for path : /bad-request

There's no such error in the current ballerina server


Add helm lint to check formatting

This PR adds helm lint to check charts formatting. The previous script is run only in case of success and if the current branch is master.

@jonandernovella I merged this myself due to time constraints, but please give it a look, we can always revert things if you don't agree. I am going to made a bunch of further fixes/refactories in further PRs, please check them too.


docs(get started): add links to accessibility docs

What I did

Add link to designer accessibility docs to "Get started: Designers"
Add link to developer accessibility docs to "Get started: Developers"

Testing Instructions

Check links in DP: "Get started: Designers" (under "Accessibility") and "Get started: Developers"  (under "Documentation")

Notes to Reviewers

@adamjohnson, thanks for taking a look! I'm just going to merge this one because we don't usually add changesets for content updates in docs.


Lumbridge swamp put marker next to stash unit for emote clue

Currently the plugin doesn't put markers near stash locations for emote clue items.
Ex.
Me doing emote near stash

Where the plugin puts a marker.

The marker is near a stash unit. Is there more than one stash unit for that particular clue??

According to this there is only one stash unit in the lumbridge swamp caves.

Ya I think there are two. The one that OP used is the more common one. It's close to the Lumbridge teleport. This makes it easier to get to by just going into the cellar. I think it makes sense to switch it.

One is an easy clue that is on ground level next to the zanaris shack.
The ONLY stash unit for that medium clue step is where I was.

That is not correct, there are apparently two stash units for this clue step. From the Emote clues wiki page:

Two STASH units are provided, one near each of the main entrances. Building one of them will automatically build the other one.

Proof:

Soo looks like this is solved by original poster not having full info


Godot 3.5 RC 7,  iOS 16 safari  HTML 5,  engine load crash

Godot version
Godot 3.5 RC 7
System information
iOS 16 beta 3
Issue description
godot engine load crash
Steps to reproduce
1、Create a new project
2、Exported to  HTML 5 , upload to server
3、Load the url on iPhone safari
Minimal reproduction project
Simply visit this exported page at the following url:
https://dl.lookingpet.com/temp/ios16_test/game.html
project source code:
ios16_test1.zip

Duplicate of #62445.

You had commented on that issue already, please don't open new issues if there's already one for the same problem.


Add Clean Tech

https://github.com/nglgzz/awesome-clean-tech
List of awesome clean tech companies and research on climate change.
PRs Reviewed:
https://github.com/sindresorhus/awesome/pull/1611
https://github.com/sindresorhus/awesome/pull/1610
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it.
Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

Non-generated Markdown file in a GitHub repo.
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate. Please search for existing submissions.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.
To verify that you've read all the guidelines, please add comment with just the word unicorn.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.
Doesn't include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

The linter is complaining about the description not being separated with a dash. I used the format below as I think it makes more sense for the type of information on the repo.
- [Company Name](URL) | Based in | Founded Year

Short description.

unicorn

Your entry should be added at the bottom of the appropriate category.

I think you could spend some more time finding more entries for the More Resources and Research sections.

Thank you for the review, I updated my PR, and added more entries to the More Resources and Research sections.

Tweet: https://twitter.com/awesome__re/status/1177085925123190789


Official examples have type errors in _app.tsx

Description
Minimal example _app.tsx type error => Property 'messages' does not exist on type '{}'
Reproduction
https://next-intl-docs.vercel.app/examples/minimal
https://next-intl-docs.vercel.app/examples/advanced
Expected behaviour
Examples can be built without type errors

That's a good point, thanks!
I'd suggest this:
import { AbstractIntlMessages, NextIntlProvider } from "next-intl";
import { AppProps } from "next/app";

type Props = AppProps & {
  pageProps: {messages: AbstractIntlMessages}
}

export default function App({ Component, pageProps }: Props) {
  return (
    <NextIntlProvider messages={pageProps.messages}>
      <Component {...pageProps} />
    </NextIntlProvider>
  );
}

Would you be interested in updating this? The examples are in this repository.


Questions about shuffle style

Excellent work！I would like to make it work on mobilephone. But，When I read the code(train.py), I have two questions:

why there need to shuffle origin img batch:
A = aug(ori_A[[np.random.randint(args.batch)]].expand_as(ori_A))
B = aug(ori_B[[np.random.randint(args.batch)]].expand_as(ori_B))

Won't the shuffle of style lead to mismatch?  fake_A2B2A(c1, s1)  !=  A(c1, s2),  Cycle Consistency Loss maybe unsatisfied?
fake_A2B2A = G_B2A.decode(A2B2A_content, shuffle_batch(A2B_style))
fake_B2A2B = G_A2B.decode(B2A2B_content, shuffle_batch(B2A_style))

for our A (and also B) batch, it is simply one single image augmented many times (refer to the paper). ori_A contains a batch of different images, I am choosing one of it, repeating it multiple times into a batch, and then augmenting each of them separately.

Since each A2B_style should be the same, I can shuffle freely. This is another form of regularization where I want all A2B_style in a batch to be exactly the same. This comes from our definition that style code is invariant towards augmentations.

Thanks! I got it, A is  augmented from the same image. By the way, will you continue to improve this method? Maybe A->B and B->A can share the same encoder and decoder.

I am working on something related now but its not ready for now. Sharing encoder and decoder could work, maybe something similar to what starganv2 has done. Feel free to try stuff out!


Bump cryptography from 42.0.1 to 42.0.2 (#7096)

Pull request opened by the merge tool on behalf of #7096

Merged in 5e18b3daae9b7a681b7c073d707bf8f8f769b947


Translated strings don't wait for page transition

Version
@nuxtjs/i18n: 7.0.1
nuxt: 2.15.7
Nuxt configuration
Please change to [x] if relevant for this issue:

[ ] Applies to a site deployed to a static server (site generated with nuxt generate)
[X] Applies to a site deployed to a server with a Node backend

@nuxtjs/i18n configuration
i18n: {
    locales: [
      { code: "en", iso: "en-US", name: "English", file: "en-US" },
      { code: "pt", iso: "pt-PT", name: "Português", file: "pt-PT" }
    ],
    defaultLocale: "en",
    detectBrowserLanguage: {
      redirectOn: "root"
    },
    strategy: "prefix",
    lazy: true,
    langDir: "i18n/",
    parsePages: false,
    vueI18n: {
      fallbackLocale: "en"
    },
    skipSettingLocaleOnNavigate: true
  }

Reproduction Link
I created a Code Sandbox: https://codesandbox.io/s/cocky-galileo-z8qhk?file=/pages/index.vue
Steps to reproduce
Access the code sandbox and click either one of the language selection links.
What is Expected?
The translated string should only change after the page transition completed.
What is actually happening?
The translated string changes before transition is completed and is then re-rendered.

That logic doesn't work when explicitly using $i18n.setLocale which you are doing from LangSwitcher.vue. It only works on navigating to a route with a different locale.
You'd want to change the lang switcher to something like:
    <nuxt-link
      v-for="locale of $i18n.locales"
      :key="locale.code"
      :to="switchLocalePath(locale.code)"
    >
      {{ locale.name }}
    </nuxt-link>

I guess that it could still be seen as a bug that it doesn't work using setLocale.

Thanks, your suggestion worked!
However, on my app, whenever I change the locale I have to perform a request to get the data for the matching locale.
With my previous approach was using i18n.locale inside asyncData to get the data for that locale.
This seems to break when using switchLocalePath and nuxt-link, so I'm assuming I'd have to change to fetch instead?

The asyncData should still be called in that case as you are changing to a different route.
I've tried with:
<template>
  <div>{{ $t("welcome") }}</div>
</template>

<script>
export default {
  asyncData({ route }) {
    console.log(`asyncData for route ${route.path}`)
  },
}
</script>

And the log was printed on changing locale.

After fiddling around with this it appears that while asyncData is called correctly, the locale property seems to be outdated. So when I do something like this (this is from the docs)
export default Vue.extend({
  asyncData({ i18n }) {
    const locale = i18n.locale

    return {
      locale
    }
  }
})

the old locale would be set and not the that's currently being switched to. The only I'm currently able to get the pending locale is through the __pendingLocale property, but it doesn't seem like a good idea to use that.

Hmm... we want the locale to change only after the new route has loaded but also we want the locale property to be updated before the new route starts loading... Those are conflicting expectations.
I'm not sure if there is a clean solution for that.

Will re-open although I don't have any possible solution in mind right now.

+1

+1

This is an issue for me as well; the documented solution (skipSettingLocaleOnNavigate: true in i18n object in nuxt.config.ts does not work when doing e.g. navigateTo(switchLocalePath(locale)).

For the people who can rely on using  for this you can find a working solution below:

skipSettingLocaleOnNavigate: true in nuxt.config.ts -> i18n object
create a plugin with the code below:

export default defineNuxtPlugin(nuxtApp => {
    const router = useRouter()
    router.afterEach(() => {
        setTimeout(() => {
            nuxtApp.$i18n.finalizePendingLocaleChange()
        }, 300) // whatever the duration of your page transition is
    })
})

@gerbenvandijk I just did a fresh install and the default setup from the docs: https://i18n.nuxtjs.org/docs/guide/lang-switcher#wait-for-page-transition seems to work, can you confirm it's fixed? I'm using
"nuxt": "^3.10.1",
"@nuxtjs/i18n": "^8.1.0",

Will have a look at it on monday and let you know! Thanks for looking at it :)

Will have a look at it on monday and let you know! Thanks for looking at it :)

Never mind! It doesn't work when I'm on a detail page such as /en/startup, when I use switchLocale it calls my api with {locale: nl, slug: startup}, it should be {locale: nl, slug: opstarten}. Sorry for the false hope.

@notflip @gerbenvandijk
FYI, this issue is regarding v7 (Nuxt 2), if you're experiencing an issue with v8 please open a new issue with a (minimal) reproduction!

Closing this as v7 is not being actively worked on (critical hotfixes only), if this still applies to v8 and later please open a new issue!


Cross dependency issues with Casks

It happens, when installing some formulas, they depend on a cask to be already installed (maven and android-sdk depends on java), but, since casks are installed after non cask packages, this results in a blocking cross dependency.

:/

Fixed in #58 and released in version 2.3.2


Move PyObject de/serialization to its own module

Also use serde-wasm-bindgen for de/serialization for converting between JS and PyObjects in rustpython_wasm instead of using JSON as an intermediary.

What is the reason for this refactor? Could we re-use the serialization / deserialization code in the marshall module?
Btw, I think it is a good refactor. Especially having the wasm code not importing into stdlib code is a good thing.

Merging, more work can be done on the serde implementations in separate PRs.


python310Packages.ical: 4.1.2 -> 4.2.1, python310Packages.gcal-sync: 4.0.3 -> 4.0.4

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 204708 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.google
python310Packages.gcal-sync
python310Packages.ical
python39Packages.gcal-sync
python39Packages.ical


Async actions appear to be out of order

I'm trying to use async actions. For simplicity, I'm using only a single action, called update, and dispatching all app actions through that. I'm also using the load and update events to set a state value on app startup and print the value on every state change, respectively.
Here's the code:
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Hyperapp Async Test</title>
  </head>

  <body id="root">
    <script src="https://unpkg.com/hyperapp"></script></script>

    <script>
var { app, h } = hyperapp;
var initModel = 0;

// Helper to create an action payload in the correct shape.
function payload(key, value) { return { key: key, value: value }; }

function view(state, { update }) {
  return h("div", {}, [
    h("p", {}, "Current value: " + state.model),

    h("button",
      { onclick: _ => update(payload("increment")) },
      "Increment") ]);
}

function update(state, _, payload) {
  return function(update2) {
    switch (payload.key) {
      case "edit":
        return Promise.resolve({ model: payload.value }).then(update2);

      case "increment":
        return Promise.resolve({ model: state.model + 1 }).then(update2);

      case "log":
        console.log(payload.value);
        return Promise.resolve(state).then(update2);
    }
  };
}

var events = {
  load: function(_, { update }) {
    // Set the value to 5 when the app loads.
    return update(payload("edit", 5));
  },

  update: function(_, { update }, nextState) {
    // Log the value whenever it changes.
    return update(payload("log", nextState));
  }
};

app({
  state: { model: initModel },
  view: view,
  actions: { update: update },
  events: events
});
    </script>
  </body>
</html>

I'm having two problems:

State updates appear out of order. First state is { model: 5 }, then it's { model: 0 }, while my understanding is it should be the other way round.

State seems to become { model: undefined } after the load event fires, so the view renders as Current value: undefined, and clicking the Increment button logs Object { model: NaN }.

Any suggestions on fixing these async updates? Thanks

load event is special, return from it is node, which is used for dom hydration.  If you aren't hydrating from ssr/pre-render you shouldn't return from load.

Oops, missed that looking through the docs. OK, if I get rid of the remove from the event handlers so that neither of them returns anything, the script seems to go into an infinite loop continuously changing the state between Object { model: 5 } and Object { model: 0 } and printing to the console. The view doesn't get a chance to render.

Since you're using promises, you may need to add this boilerplate described on https://github.com/hyperapp/hyperapp/blob/master/docs/events.md, in order to allow actions to return a Promise.
app({
  events: {
    resolve(state, actions, result) {
      if (result && typeof result.then === "function") {
        return update => result.then(update) && result
      }
    }
  }
})

Same result ... which makes sense, if I understand the documentation right the resolve event doesn't affect how other event handlers behave...

OK, I figured it out. The key is something similar to what @andyrj said--instead of returning a call to update with the existing state from the "log" case, I changed it to return undefined. It seems that the update function in async updates (which I called update2 above to avoid ambiguity) will force a state update even if the state value hasn't changed. In turn, this will trigger my update event handler, which will call the update action, which will force a state update again, and so on, ad infinitum. Neat little infinite loop.
TL;DR: avoid potential infinite loop by not calling the async update function if the state hasn't actually changed.

@yawaramin will force a state update even if the state value hasn't changed

How could we determine if the state changed or not? We could check if appState holds the same reference or if it's a new reference, and if it's the same skip the update, already talked about here and the consensus was to let you have it.


Edit an external Manifest

[ ] Any valid IIIF Presentation 3 JSON in the Manifest is preserved
[ ] Any changes to the JSON of the items property is permitted, but...
[ ] On each save, the canvas_paintings table is updated to reflect the items JSON
[ ] On a flat request for the edited manifest, the paintedResources property reflects the change (but still no asset property as they aren't our assets yet)

(NB the items JSON is never generated by the DLCS, it only reflects it back to the canvas_paintings table)
BUT the paintedResources info is generated from that table - so the DB persistence can be tested by looking at the paintedResources property.

Is this still required? Or is it covered by #62 ?

agreed to close as a duplicate of #62


[newsfeed] Fix bug where the newsfeed sometimes stops

It appears that #3336 introduced a bug where a newsfeed with >1 items would stop updating after a while (usually after activeItem wraps around the end of the list). Sorry! My bad, I hadn't tested that case well enough.

I presume the test failure is related to the ongoing work on 3291.

I presume the test failure is related to the ongoing work on 3291.

Yes, the test fails usually on wednesdays.


Messages are being skipped

Version of Ruby: 2.5
Version of Kafka: <IP_ADDRESS>
Version of ruby-kafka: 0.6.6

We're seeing behavior that only appears under production load that is causing messages to be skipped. Here's what we're seeing:

Here you can see consumer.message for 2 consumer groups. As you can see the group A, represented by the top line, is consuming more message than group B, represented by the bottom line. This is despite the fact that they're consuming the same topic. Since one is clearly outpacing the other, you would expect to see lag in group B, however:

Lag is actually ver small, fluctuating by only a few hundred messages per partition. At the same time, group B is consuming hundreds of thousands of message less every hour. For the same hour, here's
producer.produce
consumer.messages for A
consumer.messages for B
Sum of max consumer.lag for all partitions for B

As you can see there's a gap of 1324688 - 1088320 - 5616 = 230752 messages
Indeed, when we look at the destination db the records are being written to, the gap exists. We record partition and offset in the destination database, and there are gaps of hundreds of offsets consistent with the above graphs. Not only that, group A, which is the healthier group, also has gaps, though not as many.
Both groups rarely fail to write to the destination, and when they do, we retry until they succeed before proceeding with the next batch.
I don't understand how we could have huge discrepancies in consumer.messages for 2 groups consuming the same topic, without seeing commensurate lag.
I haven't been able to reproduce this on my dev env. One thing I have noticed is that in production, both groups are logging WARN -- : Reached max fetcher queue size (100), sleeping 1s, and group B is showing this a lot more.
Configurations I've tried:

automatically_mark_as_processed: true with commit offsets every 10 seconds
automatically_mark_as_processed: false with mark_as_processed and commit_offsets after every batch

Any help would be appreciated

Update: tried with ruby-kafka: 0.6.7 and issue persists

@bradurani thanks for reporting.
Couple things: Reached max fetcher queue size means that there's a lot of data prefetched to the ruby-kafka. It may mean, you're falling behind with the processing and that your system produces more data than it can consume fast enough. If your retention policy is short enough it may cause weird behaviors that may look like losing data.
Could you try with a much smaller fetcher_max_queue_size? For example 2 and see if it persists or behaves differently? Could you try distributing the workload to more partitions?

Updated: we added code to detect skipped messages:
consumer.each_batch do |batch|

    check_for_skipped_offsets!(batch)

    process_batch(batch)
  end
end

def check_for_skipped_offsets!(batch)
  @previous_last_offsets ||= {}
  @previous_last_offsets[batch.topic] ||= {}
  previous_last_offset = @previous_last_offsets[batch.topic][batch.partition]

  if previous_last_offset.present? &&
    batch.messages.any? &&
    previous_last_offset != (batch.messages.first.offset - 1)
    num_skipped = batch.first_offset - previous_last_offset - 1
       log_discrepency(...)
    end
    @previous_last_offsets[batch.topic][batch.partition] = batch.last_offset
  end
end

Sure enough, the discrepancy becomes obvious right away:

Update: we've set the fetcher_max_queue_size to 2, and if anything we're losing more messages

Update: we switched to master and the issue persists
Update: We might have fixed it. We doubled the number of consumers and, while we still need to give it time to be sure, it looks like this might have fixed the issue.
It looks like the skipped messages occurred exactly when we had small amounts of lag. During busy periods, we had lag, but only a few hundred messages (see first post in the thread for graph). Is it possible there's a logical error around offset counting when we're not consuming at the head of the queue?
I'm left with a lot of lingering concerns. Since Kafka guarantees at-least-once delivery, it seems to me that we should never skip messages, even if our configuration is not ideal. I know there are a lot of variables to consider - lag, min bytes, max bytes, fetcher max queue size, number of partitions, number of consumers, Kafka version, compression - but even if we don't find the optimal consumer configuration, shouldn't the gem consume in a way that doesn't break the at-least-once delivery guarantees?
Or maybe we can work backwards: are there any configuration mistakes anyone out there knows of that are known to cause skipped messages?

I have verified the missing messages in the downstream database and they are definitely being skipped. The missing message counts for for the downstream database match the numbers detected by my skipped message detection you see above. It's missing whole batches (10-200 records depending on load).
Topics: 1
Partitions: 32
Compression: GZIP
Producers ~100 servers for 1 app
I have 2 consumer groups consuming the same topic:
Consumers: 6 per group
Mostly Healthy Group:
Consumer Loop Duration: 500ms
Loss Rate: ~1%
Very Unhealthy Group:
Consumer Loop Duration: 4,000ms
Loss Rate: ~20%
max_bytes: 500,000
max_wait_time: 1
min_bytes: 1024 * 20
AutoCommit: every 10 seconds (I've also tried other configurations)
During times of low load (< 100 msg /sec). The problems goes away. At high load (500-600 msgs / sec), the problem is severe.
I fixed the problem by increasing the consumer count to 12 per group. Since then, I've lost only one batches of 32 messages that occurred during a rebalance.
Not sure if this is relevant, but during the times it's losing messages, partitions are alternating between 0 lag and small amount of lag (less than the size of a typical batch). Could it be a logical error calculating next batch to fetch? Would GZIP complicate that?

@bradurani One more thing. Are all the producers using Ruby too? If no, could you please check whether other producers are using fancy features like Transactional or Idempotent messages production or not. I'm working on that feature support for ruby-kafka, and fixed a the bug of skipped messages because of transactional message production. Hope that would provide more information for you.

W'e're using ruby-kafka as a producer and no, we're not using the features

I'll try it tomorrow morning. We're using <IP_ADDRESS> BTW

Update: we've deployed Nguyễn's bug fix branch and the problem stopped immediately
Also, we ported the program to Java with the exact same parameters and experienced zero data loss
@nguyenquangminh0711 your PR mentions the fix is for newer versions of Kafka (after 0.11.0, I guess), but we're running <IP_ADDRESS> and were affected by the bug. Does this gel with your understanding?

@bradurani Oh I mean this happens from Kafka 0.11.x, where the new troublesome record batch encoding format is introduced. So, your company's current version <IP_ADDRESS> is within the range I mentioned. Sorry for my bad English 😃.
Btw, glad to hear the problem is gone. The PR is ready to merge. Perhaps we should have a bug fix release for 0.6.x beside the master branch.

@nguyenquangminh0711

Perhaps we should have a bug fix release for 0.6.x beside the master branch.
Yes please. I will update karafka references immediately after that.

@nguyenquangminh0711 thank you sincerely for this fix! We really appreciate your work on this gem 👏👏👏👏👏👏👏👏

I've released v0.7.0.beta2 and v0.6.8 containing the fix for this issue.

пиздец


Docs for custom request and response body transforms

Fixes #1204

@Tratcher Why not recommend calling Response.Clear() before writing the response? That's what I ended up doing here:
https://github.com/davidfowl/SmartLoadBalancer/blob/c317d10540863ab3ecdae7384fd6f5765667b43a/Microsoft.AspNetCore.SignalR.LoadBalancing/SignalRSessionAffinity.cs#L86-L90


Add --flannel-external-ip flag

Proposed Changes
Using the node external IP address for all CNI traffic is a breaking change from previous versions; we should make it an opt-in for distributed clusters instead of default behavior.
Types of Changes
bugfix, new feature
Verification
Create a multi-node cluster with --node-external-ip set; note that inter-node traffic works even if the VXLAN port isn't open to other nodes' external IPs.
Testing

Linked Issues

https://github.com/k3s-io/k3s/issues/6319
https://github.com/k3s-io/k3s/issues/6177

User-Facing Change

Added a new --flannel-external-ip flag. When enabled, Flannel traffic will now use the nodes external IPs, instead of internal. This is meant for use with distributed clusters that are not all on the same local network.

Further Comments

Could you explain how it becomes a breaking change? Is it because of the wireguard port that must be open? I probably need to change my docs update with this new information

@manuelbuil this broke QA tests because the vxlan port was only open to the nodes security group. If the traffic goes to the external IP and then hairpins back in to the internal IP, it no longer matches the security group rule and is blocked. On-prem users may have similar issues where they have opened ports expecting the traffic to flow directly between private addresses, instead of going out to the internet/edge router, and back.
It's too bad that it can't be configured to use multiple endpoint for a single tunnel, in which case we could have it try both internal and external addresses and use whichever works. Absent that, we need to let users pick if it should use external addresses or not.


Font-size

The font-size of p{} and html, body{} is set to pixel units.
it is recommended to use rem units, it will allow convenient font-size modification in appearance setting.

Thanks for your feedback! That's true, so we fixed this in the latest version(L299). Try to use it and contact if get any issue👋.


fix: make pubsub.unsubscribe async and alter pubsub.subscribe signature

depends on: https://github.com/ipfs/interface-ipfs-core/pull/260

Windows tests are having a hard time. Being fixed at #756


make workaround for guzzlr gold deliveries counting finished deliveries instead of started

https://kolmafia.us/showthread.php?24954-Guzzlr-tablet-May-Item-of-the-month&p=157671&viewfull=1#post157671
If mafia bug is not fixed in a timely manner then make a workaround for guzzlr gold deliveries counting finished deliveries instead of started deliveries. You can start 3 deliveries a day but there is no limit on how many you can finish a day (Except for the practical limit that you can only have 1 from last night and 3 taken today for a total of 4)

I was sure it only affected gold but it might also affect platinum.
If they don't fix it i will just use my own tracking stats.
instead of
_guzzlrPlatinumDeliveries
ill use
_guzzlrPlatinumDeliveriesStarted


feat: Map chart improvements

Closes #1425
This PR:

consolidates some of the logic related to initializing map color fields,
adds opacity property to every color field (and enables it via slider for all symbol color types),
fixes empty map charts when symbol layer is the only enabled layer and is based on geometries, and not coordinates,
removes unused header progress code,
increases radius of circle legend elements,
adds black border to map symbols.

How to test
PR

Go to this link.
Switch to a map chart.
Remove Areas (select dimension to None).
Add Symbols (select dimension to Kanton).
✅ See that the map is shown.
✅ See that each symbol is encircled with a black border.
Change color measure to Leistung in kW.
✅ See that it's possible to control the opacity with a slider.
Change color measure to Kanton.
✅ See that it's possible to control the opacity with a slider.
✅ See that circles in the legend have a size that matches the height of the text.

TEST

Go to this link.
Switch to a map chart.
Remove Areas (select dimension to None).
Add Symbols (select dimension to Kanton).
❌ See that the map is not shown.
Add the Areas back.
Switch to Symbols options.
❌ See that symbols are not encircled with black borders.
Change color measure to Leistung in kW.
❌ See that it's not possible to control the opacity.
Change color measure to Kanton.
❌ See that it's not possible to control the opacity.
❌ See that circles in the legend have a size that is smaller than the height of the text.

@KerstinFaye as it was rather easy to implement both behaviors mentioned in #1425 (symbol opacity and border), I decided to give it a go – you can test them by following the instructions in the How to test section in the PR description, let me know if it's fine to leave things like this, or if we should introduce some changes 🎨

Thanks for reviewing @KerstinFaye 🎉 As discussed offline, we will keep the black border; I'll also investigate the zooming in when changing chart options 👍


ERR WARNING: An illegal reflective access operation has occurred

Deploying v74.2.0 to Open Jdk JRE 11.0.4_11 I see the following error in the logs:
   2019-10-03T11:05:33.42+1000 [APP/PROC/WEB/0] OUT JVM Memory Configuration: -Xmx339031K -Xss1M -XX:ReservedCodeCacheSize=240M -XX:MaxDirectMemorySize=10M -XX:MaxMetaspaceSize=197544K
   2019-10-03T11:05:37.34+1000 [APP/PROC/WEB/0] ERR Oct 03, 2019 1:05:37 AM org.cloudfoundry.reconfiguration.ProfileUtils lambda$activateProfile$1
   2019-10-03T11:05:37.34+1000 [APP/PROC/WEB/0] ERR INFO: 'cloud' profile activated
   2019-10-03T11:05:38.03+1000 [APP/PROC/WEB/0] OUT   .   ____          _            __ _ _
   2019-10-03T11:05:38.04+1000 [APP/PROC/WEB/0] OUT  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
   2019-10-03T11:05:38.04+1000 [APP/PROC/WEB/0] OUT ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
   2019-10-03T11:05:38.04+1000 [APP/PROC/WEB/0] OUT  \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
   2019-10-03T11:05:38.04+1000 [APP/PROC/WEB/0] OUT   '  |____| .__|_| |_|_| |_\__, | / / / /
   2019-10-03T11:05:38.04+1000 [APP/PROC/WEB/0] OUT  =========|_|==============|___/=/_/_/_/
   2019-10-03T11:05:38.04+1000 [APP/PROC/WEB/0] OUT  :: Spring Boot ::        (v2.1.8.RELEASE)
   2019-10-03T11:05:38.65+1000 [APP/PROC/WEB/0] ERR Oct 03, 2019 1:05:38 AM org.cloudfoundry.reconfiguration.CloudPropertySourceApplicationContextInitializer lambda$initialize$1
   2019-10-03T11:05:38.65+1000 [APP/PROC/WEB/0] ERR INFO: 'cloud' property source added
   2019-10-03T11:05:38.66+1000 [APP/PROC/WEB/0] ERR Oct 03, 2019 1:05:38 AM org.cloudfoundry.reconfiguration.CloudServiceReconfigurationApplicationContextInitializer lambda$initialize$1
   2019-10-03T11:05:38.66+1000 [APP/PROC/WEB/0] ERR INFO: Reconfiguration enabled
   2019-10-03T11:05:38.85+1000 [APP/PROC/WEB/0] ERR WARNING: An illegal reflective access operation has occurred
   2019-10-03T11:05:38.85+1000 [APP/PROC/WEB/0] ERR WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (jar:file:/home/vcap/app/WEB-INF/lib/groovy-2.5.8.jar!/) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
   2019-10-03T11:05:38.85+1000 [APP/PROC/WEB/0] ERR WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
   2019-10-03T11:05:38.85+1000 [APP/PROC/WEB/0] ERR WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
   2019-10-03T11:05:38.85+1000 [APP/PROC/WEB/0] ERR WARNING: All illegal access operations will be denied in a future release

Protips for how to run newer UAA that's changed since v4.x.y era (JRE 11 being one of them).
To reproduce this issue:
git clone https://github.com/starkandwayne/quick-uaa-deployment-cf -b develop
cd quick-uaa-deployment-cf
eval "$(bin/quaa env)"

cf create-service elephantsql turtle uaa-db
quaa up

Hi @drnic
I don't believe you should need to do anything differently to cf push newer versions of the UAA.
You have, however, discovered a bug in how the uaa.war file is generated. The META-INF/MANIFEST.MF now includes information about spring boot which confuses the java-buildpack.
You should be able to cf push future versions of the UAA once this is addressed.

Hey @drnic , cf pushing should work as of v74.3.0. Can you give it a try and let us know if you still see failures?

Hurray CI is happy again!
https://ci2.starkandwayne.com/teams/cfcommunity/pipelines/quick-uaa-deployment-cf/jobs/test-develop/builds/40
Thanks everyone

I'm still having this problem, but I found a workaround.
Add the following line to ~/.gradle/gradle.properties
org.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/
You'll need to have Java 1.8 installed on your machine.


Add HTTP request parameters and aggregation tests

Introduce tests for HTTP request parameters and aggregation to ensure proper functionality and response handling.

Codecov Report
Attention: Patch coverage is 60.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 94.17%. Comparing base (07f0ff3) to head (0192826).

Files with missing lines
Patch %
Lines

pkg/repo/callrepo.go
53.84%
4 Missing and 2 partials :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
- Coverage   94.63%   94.17%   -0.46%
==========================================
  Files          30       30
  Lines        1193     1202       +9
==========================================
+ Hits         1129     1132       +3
- Misses         45       49       +4
- Partials       19       21       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


GCP Deployment fails at openshift_ca : Generate the loopback master client config

TASK [openshift_ca : Generate the loopback master client config] ***************
fatal: [master-master-jt6v]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'openshift_master_cert_expire_days' is undefined\n\nThe error appears to have been in '/home/brad/branches/master/openshift-ansible/roles/openshift_ca/tasks/main.yml': line 118, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate the loopback master client config\n  ^ here\n"}
I followed the current instructions here: https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/gce-cli
Fresh master of this repo and openshift-ansible-<IP_ADDRESS>-1 of openshift-origin
Here is the diff of my config against the example:
[brad@gca-dev-00-builder gce-cli]$ diff -u config.yaml.example config.yaml
--- config.yaml.example 2017-06-23 13:35:29.020995106 +0000
+++ config.yaml 2017-06-23 14:36:04.323392262 +0000
@@ -5,7 +5,7 @@

 # Prefix for every resource name deployed. You can deploy multiple clusters
 # under single account with different prefixes and DNS configuration
-prefix: 'ocp'
+prefix: 'master'

 # Username and password for Red Hat Customer Portal
 rhsm_user<EMAIL_ADDRESS>@@ -21,11 +21,11 @@
 delete_gold_image: false

 # Project ID and main zone settings for Google Cloud
-gcloud_project: 'project-1'
+gcloud_project: 'gca-dev-00'
 gcloud_zone: 'us-central1-a'

 # Public DNS domain which will be configured in Google Cloud DNS
-public_hosted_zone: 'ocp.example.com'
+public_hosted_zone: 'master.branches.gca-dev.<<REDACTED>>.com'
 # Public DNS name for the Master service
 openshift_master_cluster_public_hostname: 'master.{{ public_hosted_zone }}'
 # Internal DNS name for the Master service
@@ -49,7 +49,7 @@
 node_machine_type: n1-standard-2

 # OpenShift deployment type
-openshift_deployment_type: openshift-enterprise
+openshift_deployment_type: origin
 containerized: false

 # OpenShift SDN selection
@@ -63,14 +63,15 @@
 # OpenShift Identity providers. This is Google oauth example (hosted_domain is
 # optional and restricts login to users only from the specified domain)
 openshift_master_identity_providers:
-- name: 'google'
-  kind: 'GoogleIdentityProvider'
-  login: true
+- name: 'github'
+  kind: 'GitHubIdentityProvider'
   challenge: false
-  mapping_method: 'claim'
-  clientID: 'xxx-yyy.apps.googleusercontent.com'
-  clientSecret: 'zzz'
-  hostedDomain: 'example.com'
+  login: true
+  mappingMethod: 'claim'
+  clientID: '<<REDACTED>>'
+  clientSecret: '<<REDACTED>>'
+  teams:
+  - '<<REDACTED>>'

 ###
@@ -79,7 +80,7 @@

 # Disk sizes in GB
-bastion_disk_size: 20
+bastion_disk_size: 10
 master_boot_disk_size: 35
 node_boot_disk_size: 25
 node_docker_disk_size: 25

@bdurrow do you still see this problem? It should be fixed in ansible-installer openshift-ansible-3.5.91-1 and later.

Closing, please reopen if problem persists.


FunctionRestricted ignores warning in some cases.

In WordPress-VIP there are many WordPress functions which are restricted to use due to not caching the data, slow performance and other various reasons.
WordPress_Sniffs_VIP_RestrictedFunctionsSniff sniff works great when I call the function in the normal way. for Eg. wp_remote_get( 'http://example.com' ); it will throw the WARNING.

wp_remote_get() is highly discouraged, please use vip_safe_wp_remote_get() instead.

But it may be the case that these functions are calling using call_user_func(), call_user_func_array().
for Eg. call_user_func( 'wp_remote_get', 'http://example.com' );
In this case, PHPCS showing no warning when calling the restricted function  call_user_func(), call_user_func_array().
Environment:
phpcs : v2.9 ,
wpcs: develop branch
Let me know any further info needed.

Thanks for the report @emgk. This is actually a duplicate of #611. It will be fixed by #843.

@JDGrimes Bonus points for sneaking in "duplicate of" keyword :-)

@GaryJones I actually didn't realize that GitHub looks for that keyword until after posting. 😄

@JDGrimes It's a recent feature and even has it's own "saved reply" which is available to everyone ;-)


COPY command ignores USER, sets file ownership to root

When building an image from a docker file where you have a sequence like so:
USER jim
COPY app/* /u01/app
The copied files will be owned by root rather than by jim.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

I believe this is a dup of #6119  since ADD and COPY are pretty much the same code base


Great API!!! Is a shame it stopped being updated after 20-21 season

I just wanted to thank you for your api, and encourage you for keeping it up to date, is a great API, free and easy to use, I would like o know why you stopped updating it, and if you are going to update it some day! :)

greetings from austria.  thanks for the kind words.  i am not a machine (just a random guy). for more see https://github.com/openfootball/help.   i try to (re)start in 2024!


Messed up HTML? CSS? in profile description

Subject: Messed up HTML? CSS? in profile description
Description:
I was using the URL and the quota feature both in the "Additional information" paragraph and they kinda hashed up each other. I just leave it as it is. The WYSIWYG preview is showing something different here than the actual profile
Results:
I left everything unchanged so you can see what I wrote in the Additional information. please contact me for additional questions
Backend version: develop-cd801cfe
Frontend version: develop-cd801cfe
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Page: https://app.couchers.org/profile/edit/about
User: knapsu (2467)

The following markdown doesn't render correctly in our markdown component, presumably due to some of the custom regex:
[>link<](google.com)

> hello


SCSS Cleanup

This builds upon work done in #50 - please merge that first to get a meaningful diff here.

I was quite meticulous as I went through this, so am reasonably confident that I haven't deleted anything that should not have been deleted!


Unable to disable pipelines

According to the documentation to disable a pipeline, we need to define the metrics as null,
config:
  exporters:
    zipkin:
      endpoint: zipkin-all-in-one:14250
  service:
    pipelines:
      metrics: null
      traces:
        exporters:
          - zipkin

but when I do this I got the message on logs that I need at least one metric receiver;
2021-07-15T15:08:26.040Z	info	service/collector.go:262	Starting otelcol...	{"Version": "v0.29.0", "NumCPU": 4}
2021-07-15T15:08:26.056Z	info	service/collector.go:322	Using memory ballast	{"MiBs": 819}
2021-07-15T15:08:26.056Z	info	service/collector.go:170	Setting up own telemetry...
2021-07-15T15:08:26.058Z	info	service/telemetry.go:99	Serving Prometheus metrics	{"address": "<IP_ADDRESS>:8888", "level": 0, "service.instance.id": "37d7dabe-6838-41ee-a5b6-254efb27bb6b"}
2021-07-15T15:08:26.058Z	info	service/collector.go:205	Loading configuration...
Error: invalid configuration: pipeline "metrics" must have at least one receiver
2021/07/15 15:08:26 collector server run finished with error: invalid configuration: pipeline "metrics" must have at least one receiver

How can I disable those pipelines re metrics and logs?

@wtcampos  how did you resolve this?

Hello @adriangb , you can define those values as null, if you're using the Helm chart to deploy it just keep in mind of the merge strategy between the agent and standalone config.
e.g:
config:

  exporters:
    logging: null

  receivers:
    otlp: null
    prometheus: null
    jaeger: null
    zipkin: null

  service:
    pipelines:
      metrics: null
      logs: null


Feat: update the favicon for the website

Describe the feature
there is no any favicon for the website currently
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

/assign

This issue is already assigned.


Feature: Allow user to pass  docker build Options from UI

Summary
allow user to pass  docker build Options from UI
Motivation

in certain cases user would like to control build behaviour using options like --target, --platform
for running devtron in multi mode we want ability to pass --target flag in dockerfile like https://github.com/devtron-labs/devtron/blob/binary-executor-ea/Dockerfile

Proposal
allow user to pass these params from the UI
AB#458

Resolved by #2441


Hide() Show() not Animating.

Hi, Thanks for the wonderful project.
I am using AppTheme as "Theme.AppCompat.NoActionBar".
As there is no default action bar in my Activity, I created my own customized action bar.
Your plugin is working fine but it is not animating while hide() show(), there is kind of jerk.
I also shared my project at stackoverflow for the sollution, but no success so far.
http://stackoverflow.com/questions/33749702/animate-hide-show-activity-toolbar
Kindly help.
Thank.

Sorry for my late reply.
If you have a Toolbar in your layout,
why don't you use the Toolbar animation as implemented in my example ToolbarControlListViewActivity?
Is there any reason that you must use the Toolbar as ActionBar?


Maybe we need to move http_util and io_util to opendal_util crate to avoid breaking?

As described as http_util and io_util's docs, they are not public APIs of OpenDAL.
Maybe we can move them to another crate instead.

I noticed that utils will depend on io.rs and object.rs , io.rs we can move directly to utils but object.rs doesn't feel right for that.


AttributeError

Hello,I want to ask a question.I install torchsparse for a code.When I run the code,an erro occurred here.Could you tell me how can I sovle it?
Traceback (most recent call last):
File "demo.py", line 76, in
outputs, loss_dict = model(sample, save_scene)
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 153, in forward
return self.module(*inputs[0], **kwargs[0])
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/u/Documents/NeuralRecon-master/models/neuralrecon.py", line 82, in forward
outputs, loss_dict = self.neucon_net(features, inputs, outputs)
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/u/Documents/NeuralRecon-master/models/neucon_network.py", line 157, in forward
feat = self.sp_convsi
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/home/u/Documents/NeuralRecon-master/models/modules.py", line 147, in forward
x0 = initial_voxelize(z, self.pres, self.vres)
File "/home/u/Documents/NeuralRecon-master/ops/torchsparse_utils.py", line 19, in initial_voxelize
pc_hash = spf.sphash(torch.floor(new_float_coord).int())
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torchsparse/nn/functional/hash.py", line 39, in sphash
return HashGPU.apply(idx)
File "/home/u/anaconda3/envs/neucon/lib/python3.7/site-packages/torchsparse/nn/functional/hash.py", line 11, in forward
return torchsparse_backend.hash_forward(idx.contiguous())
AttributeError: module 'torchsparse_backend' has no attribute 'hash_forward'
Is this casused by a mismatch between the torch version and the torchsparse version?
My pytorch version == 1.6.0;torchvision == 0.7.0

Could you please try the latest release version? Thanks!

Hi!
I'm also with this problem using version 1.2.0. But when i update to version 1.4.0, this error appears:
"No module named 'torch sparse.point tensor'"
Is there any solution?

You need to change from torchsparse.point_tensor import PointTensor to from torchsparse import PointTensor.

Thank you!
That worked.
Now i found this one:
from torchsparse.utils.kernel_region import *
ModuleNotFoundError: No module named 'torchsparse.utils.kernel_region'

See https://github.com/mit-han-lab/torchsparse/releases/tag/v1.4.0 for these API changes.

Thanks! I'll take a look at there


[KYUUBI #939][FOLLOWUP][TEST] Add string column test for Z-Order

Why are the changes needed?

Added string column test for zorder.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #1157 (0b5b822) into master (3a1da69) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 0b5b822 differs from pull request most recent head 6b17881. Consider uploading reports for the commit 6b17881 to get more accurate results

@@            Coverage Diff            @@
##             master    #1157   +/-   ##
=========================================
  Coverage     79.20%   79.20%
  Complexity      101      101
=========================================
  Files           181      181
  Lines          6625     6625
  Branches        783      783
=========================================
  Hits           5247     5247
  Misses          924      924
  Partials        454      454

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 3a1da69...6b17881. Read the comment docs.

thank you @zhaomin1423 , can we also test the string column with null value ?

also cc @cfmcgrady

thank you @zhaomin1423 , can we also test the string column with null value ?

done

thanks, merged to maset


Fix washed out images

Fixes #54.
👋 Hiya! I was looking to use the library, but the (seemingly random) washed out images were a little worrying, so I found a fix: within read_quantization_indices(), base needed to be initialised with yac_abs when segments are not enabled.
With this change, the existing tests pass as well as the image from #49, and (most of the) images referred to in #54.
There are 3 images that cause test failures (currently commented out), but visually they appear almost identical. Below is a table of all the images from #54, with results from before and after this patch:
(I added diffs for the images that fail test to try and visualise the differences...but image diffing is hard, and I don't think the tool does a great job showing the diff?)

Name
Passes Test
Reference
Before Fix
After Fix
Reference Diff

26009_tf_eva_tarolo_teto_nelkul_13x9cm_by_dome_1_imgresize500x500
✅

-

26010_tf_eva_tarolo_teto_nelkul_17x10cm_by_dome_1_imgresize500x500
✅

-

circulaba_con_700_postes_de_madera_de_palo_santo_1
❌

community_groups
❌

dc_siamo_annuncio_breve_james_gunn_svela_progetti_presentati_v3_631174_1280x960
❌

favicon_2023
✅

-

i48_22_8410_external
✅

-

menu_point
✅

-

tr
✅

-

twitter
✅

-

I'm fairly confident the differences are minor enough that we could ignore it (i.e. subtle YUV->RGB conversion differences), but there might actually be a deeper problem. In any case, this PR gets us much closer to correct, so at least it's a step forward regardless.

Thanks for tracking down this issue! The code looks good to me and I agree that this is worth merging even though a few of the diverging images still don't completely match
The one concern I have is over the image licensing. The diverging images were obtained by scraping the internet and contain copyrighted contents. We can only include images that are freely licensed by their creator (or something like the 1x1 pixel regression.webp file that are too small for that to apply)

The one concern I have is over the image licensing

Ah, of course! I had thought about that, but then forgot about it as I got closer to midnight... 🤦
I've rolled that commit back, and cherrypicked the commit from #49 to keep the committer history. Licensing should be okay now!

To confirm, did you produce the reference PNGs by running dwebp with the -nofancy option?
The YUV to RGB conversion step of decoding lossy webp isn't precisely specified, but we attempt to get bit-exact output that matches that option. That's possible because our YUV conversion code is directly based on reading the implementation in libwebp.
The nice thing about getting bit exact output is that we can attribute all decoding differences to bugs in our implementation. Tests don't currently demand 100% of pixels to match because there's some bug that causes a small fraction of pixels to be slightly different over the test corpus. Hopefully we can track down the cause and get rid of the exception

To confirm, did you produce the reference PNGs by running dwebp with the -nofancy option?

Yup, in a batch. Specifically:
find /path/to/tests/images/divergenes -type f -iname "*.webp" -exec sh -c 'dwebp -nofancy {} -o /path/to/tests/reference/divergenes/$(basename {} .webp).png' \;

The nice thing about targeting bit exact output is that we can attribute all decoding differences to bugs in our implementation.

That's a good point, makes sense.

Perhaps we need our own -nofancy option, just like libwebp?
I recall the YUV to RGB conversion taking a significant percentage of the time in flame graphs. It would be great if we could optimize it further.

We only support the -nofancy formula. I'd be interested in figuring out what higher quality algorithm libwebp was using when the flag isn't passed and switching to that by default, but there isn't much documentation on what they do and I wasn't able to track it down in the libwebp source code.


Framing issue: goals and roadmap of cooklang-c

Goals
C is the mother of all programming languages. Most of other languages support C code execution in one way or another. Hence the parser written in C can be wrapped in in other languages and require very little effort from us to provide consistent Cooklang support in variety of popular languages like Python, Ruby, Java, Go, NodeJS, etc. In addition it makes Cooklang evolution easier and reduces repeatability in required code updates for these parsers. In long-term this parser will replace Swift one in CLI.
Design principles
We want to make an end-user of downstream parsers experience the easiest. What it means is that if I'm, for example, a user of Cooklang Python module I shouldn't do anything else other than regular package installation and import to my project. Behind the scenes it should compile C extension for me.
That means:

the repo should host C-file(s) of parser with no other system dependencies except standard. We want to avoid third party system library installation.
we want to move away from filesystem level and operate in memory only (hence working only with strings). No cook file readings from C code. We move this responsibility to work with files to downstream parsers or apps.
C-invocation should be pure. Considering that many languages have automated Garbage Collection we need to provide a way for proper management of objects life-cycle.

Roadmap
Here I outline first steps which are basically to make this parser production ready:

[ ] #26
[ ] Restructure README and CONTRIBUTING pages. README should show how C-parser users can use it and cover input/output.  We don't expect them to know anything about flex/bison. They just use precompiled version. CONTRIBUTING page should reference how people could make changes to C-parser project itself. There we cover flex/bison and friends.
[ ] Create a GitHub action to build the parser from flex/bison definitions, including UTF related tables.
[ ] Add support for cook files with syntax errors. Definitely we don't want to crash. We need to do our best effort and guess some typical errors while reporting in data-structure position and expected syntax.
[ ] Setup unit test framework and add other tests other than canonical.
[ ] #25
[ ] Create common helper to combine ingredients with lemmatisation support.

After that we need to support features newly added into the spec (rough idea https://github.com/cooklang/CookCLI/milestones?direction=asc&sort=title&state=open). There's a chance of changing this parser to multi-pass parser to support servings (first pass for metadata and second for a recipe and adjusting amounts to scaled one).
Challenges

UTF support
evaluate Flex/Bison if it withstand future challenges:

not flexible enough to implement forgiveness?
error handling?
performance? generated parser file is huge (12Mb)!

Nice, looks great!
I accidentally opened #25 and then closed it because I had not intended to open it. I did not attempt to solve that problem.
I did open #26 on purpose though.

I don't know if it's the best policy to support files with errors. I know it can be frustrating to the end user but if we have nice error messages the person will know what was wrong.
If you choose to guess the typical errors there should be a flashing warning with "did you mean ..." messages.


✨ Add app_id to JWT app cache keys

This makes the cache multi-app aware, and so that it can handle JWT tokens from multiple apps

It seems the installation cache key also missing the app id.

Yeah, but I don't think it's as critical, as different installation IDs imply different app IDs.


Typo

your-unique-keyvault-name -> your-unique-ledger-name

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

ID: ffba32ba-d527-419f-ae4f-7984625843e5
Version Independent ID: eb3c659d-380f-579e-1b83-8913e03e81af
Content: Quickstart – Microsoft Azure confidential ledger Python client library
Content Source: articles/confidential-ledger/quickstart-python.md
Service: confidential-ledger
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@wintersteiger
Thanks for your feedback! We will investigate and update as appropriate.

@wintersteiger
Thank you for pointing this out! I've created a PR to update the documentation and it's currently waiting for the author to review and sign off.
I will now close out this issue. Please allow some time for the author to review and the changes to reflect.
Thank you for your time and patience!


add eslint-plugin-import

https://github.com/benmosher/eslint-plugin-import (@benmosher fyi)

@jamestalmage @novemberborn @vdemedes @kevva @SamVerschueren @jfmengels  and anyone looking. I could use some help with testing this. Git checkout out this PR locally, npm link it globally, and run xo --no-local on your projects to see if there are any problems (not lint violation, unless it's wrong).

Known issues:

Don't try to read imported JSON files: https://github.com/benmosher/eslint-plugin-import/issues/267
Support optionalDependencies in the no-extraneous-dependencies rule: https://github.com/benmosher/eslint-plugin-import/issues/266
Ignore CommonJS exports in the named rule: https://github.com/benmosher/eslint-plugin-import/issues/268

(Help welcome for those)

@sindresorhus I don't actually use xo in my own projects, so no comment from me really 😄
The plugin looks really cool though, I'll probably add it to https://github.com/novemberborn/as-i-preach when I have some time.

RE: as-i-preach.
Oh - you're one of those semicolon haters.

@novemberborn Yeah, no worries. This is more about finding bugs in the import plugin, so same result if you add the plugin to your own shareable config and run ESLint on your projects.

Oh - you're one of those semicolon haters.

I just feel so much freer without them!

I think we should debate this at length and totally hijack this thread. Great use of everyone's time.

Does XO support the ignore and resolve settings?

@adriantoine Not directly. We have a rules option where you can override and define rules for any plugin, including this one.

Support optionalDependencies in the no-extraneous-dependencies rule: benmosher/eslint-plugin-import#266

:ok_hand: in v1.7.0

Just published v1.7.0] to npm. It doesn't address all the issues @sindresorhus raised, yet, but a number of them are resolved.

Thanks for fixing some of the issues. PR updated. We're getting closer to a merge :)

Discovered another issue: https://github.com/benmosher/eslint-plugin-import/issues/378

This PR has been opened long enough. I've disabled the offending rules for now and opened an issue to track them: https://github.com/sindresorhus/xo/issues/124
Thanks everyone for participating :D


Intl.PluralRules: Safari TP Support

Safari Technology Preview 88 enabled Intl.PluralRules by default.
This feature has been shown: false for a while. shown:true should close #3763.

Thanks! Will see if I can review the rest of the data for that one soon.


Adding import to first README example

I believe it's missing import SwiftCLI, isn't it?

Nice spot, thanks!


compiling issue

I have installed your judge 0IDE I  am not able to compiling any code it shows an error could u please tell me how to install API on cpanel to get that ide to compile the code on web not localhost
Could u please instruct me to install API to the ide on cpanel

Hi @siddarth9,
Instructions on how to install API on your server can be found here. And if you want to
change API endpoint of Judge0 IDE in your local environment, then please
comment this
line and refresh Judge0 IDE in your browser.
On Mon, 21 Aug 2017 at 07:33 siddarth9<EMAIL_ADDRESS>wrote:

I have installed your judge 0IDE I have not compiling any code it shows an
error could u please tell me how to install API on cpanel to get that ide
to compile the code on web not localhost
Could u please instruct me to install API to the ide on cpanel
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/judge0/ide/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHj17mUBWnbN7yIORmBwVq2haEuPtftOks5saRaugaJpZM4O85gn
.

--
http://hermanz.dosilovic.com/
+385 91 7222 076


My Garo Wallbox has 2 outlets

It seems like this add-on doesn't work when the Wallbox has 2 outlets, or is it just for me?

It won't handle each outlet but you can still use the other funktions, turning off and on both outlets att the same time.
Have been using this integration for 3 years now with glb twin.

The new 2024.9.0 version has outlet and twin support


plotPredictorCategoryPerformance with multiple facets returns a configuration rather than a plot

pdstools version checks

[X] I have checked that this issue has not already been reported.

[X] I have confirmed this bug exists on the latest version of pdstools.

Issue description
Given a dm with model and predictor data, the following all work fine, returning the expected plots
dm.plotPredictorCategoryPerformance(facets=["Issue"])
dm.plotPredictorCategoryPerformance(facets=["Channel"])
dm.plotPredictorCategoryPerformance()

but when I combine both
dm.plotPredictorCategoryPerformance(facets=["Issue", "Channel"])
I get a JSON dump of a plotly Figure configuration
[Figure({
     'data': [{'alignmentgroup': 'True',
               'hovertemplate': ('Legend=Customer<br>Issue=NA<br' ... 'orCategory=%{y}<extra></extra>'),
               'legendgroup': 'Customer',
               'marker': {'color': '#001F5F'},
               'name': 'Customer',
               'notched': False,
               'offsetgroup': 'Customer',
(etc)

Reproducible example
from pdstools import ADMDatamart, datasets
dm = datasets.CDHSample()
dm.plotPredictorCategoryPerformance(facets=["Issue", "Channel"])

Expected behavior
Expected a 2-d facetted plot
Installed versions

---Version info---
pdstools: 3.4.4
Platform: macOS-14.5-arm64-arm-64bit
Python: 3.12.3 (v3.12.3:f6650f9ad7, Apr  9 2024, 08:18:47) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]

---Dependencies---
plotly: 5.22.0
requests: 2.32.3
pydot: 2.0.0
polars: 0.20.31
pyarrow: 16.1.0
tqdm: 4.66.4
pyyaml: <not installed>
aioboto3: 13.0.1

---Streamlit app dependencies---
streamlit: <not installed>
quarto: <not installed>
papermill: 2.6.0
itables: <not installed>
pandas: 2.2.2
jinja2: 3.1.4
xlsxwriter: 3.2.0```

</details>

It's not actually a json @operdeck - it is a list of plotly objects. If you loop through them and call show() on them, they will appear.
It's probably not an optimal implementation, but I don't really know how else we should solve this: having it all as one big plotly plot probably doesn't improve things either.

Ah in that case lets close this
Op wo 24 jul 2024 om 11:07 schreef Stijn Kas @.***>

It's not actually a json @operdeck https://github.com/operdeck - it is
a list of plotly objects. If you loop through them and call show() on
them, they will appear.
It's probably not an optimal implementation, but I don't really know how
else we should solve this: having it all as one big plotly plot probably
doesn't improve things either.
—
Reply to this email directly, view it on GitHub
https://github.com/pegasystems/pega-datascientist-tools/issues/249#issuecomment-2247307310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEVTKD2V5A4P5CTQQYJ44TZN5VGRAVCNFSM6AAAAABLCPQCZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBXGMYDOMZRGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


cap ci chef failing

Setting up a new lobot, the "cap ci chef" command fails on yum install of libxml2-devel.
 ** [out :: ec2-107-20-93-210.compute-1.amazonaws.com] [Tue, 20 Sep 2011 12:57:52 -0400] FATAL: Chef::Exceptions::Package: yum_package[libxml2-devel] (pivotal_server::libxml_prereqs line 8) had an error: Version 2.6.26-<IP_ADDRESS>.el5_5.1 of libxml2-devel not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)
command finished in 5520ms

failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'ruby-1.9.2-p180' -c 'cd /var/ci/dinamundo && PATH=/usr/sbin:$PATH APP_NAME=dinamundo APP_DIR=/var/ci/dinamundo LOG_LEVEL=debug soloist'" on ec2-107-20-93-210.compute-1.amazonaws.com

See stacktrace at https://gist.github.com/1229658

Kevin & Daniela, Pivotal

Thanks for the reports, this is now fixed in 0.9.2.


pre-trained model for testing

Hello, nice work. Would you provide pre-trained models for PCC testing?

Dear @Holmes-Alan,
Unfortunately, I no longer have the models for pcc_geo_cnn. However, you can access the supplementary material (data and results only) at this address
https://github.com/mauriceqch/pcc_geo_cnn_samples.
Alternatively, pcc_geo_cnn_v2 has both data and pre-trained models available which would fit your requirements.


Feature/asb 279 filter options and counts

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Decode percent encoded strings in parameters

This is a simple PR that decodes strings using stringByRemovingPercentEncoding before inserting them into parameters. Almost every web server does this automatically.
I was unsure of what to do with regards to tests, as I didn't see existing tests for the parameters. If I could get feedback on that, I would love to write tests if needed.

Are you working with Vapor in Xcode? If so, you should be able to create a new file in the Tests folder, following the structure of the two tests that already exist in there.
Then select the Tests Scheme (There should only be Vapor, and Tests), and hit command + u to run the tests.
Otherwise, this PR looks good. We will see if Travis comes back with the OK.

Sorry if I wasn't clear — I can run the existing tests, and I know how to add new ones. I just didn't see any existing tests that tests the parameters, so I wasn't really sure how to start some from scratch (since I'm not too familiar with how the project is structured).
If I have time to look into it more though, I'll look into writing same basic tests. I looked at the RouterTests again and I think I could do something similar.

Ah okay. There have been basically no tests written yet, so lots to do... The ResponseTests was there just to make sure the Tests scheme worked really. RouterTests is the first unit test written alongside a new feature.
I would include the test for this PR in the RouterTests file as a separate function–called testUrlParameters() or something like that...
If you want to add additional tests for other aspects of Vapor (which would be greatly appreciated), you could submit that as a separate PR.

Fixes issue #32.

Working on tests right now, how would I go about updating this PR? My GitHub fu is lacking.

Any commits you make to the branch involved in this PR (kylebshr:master) will automatically appear here.

Alrighty! Added a test if you wanna take a look, assuming travis is happy of course.

Will do! Wasn't sure about that, I'm still new to writing unit tests 👍

I realized that the test can still pass if the handler doesn't run (if someone modified the test and the handler never got called for some reason). I added in an assertion to make sure the handler was run — is there a better way to do that, or is it a good check?

Everything looks great. Thank you!

I've updated tag '0.1.9' to include this commit.

This is strange — something in 0.1.9 is spitting out gibberish when the server starts. This didn't happen a few hours ago, but I don't think it was anything this PR added:

@kylebshr whoops sorry, I think that was me.
#34 will fix that once merged.


Workflow for AM_SUBSCRIPTION_UPDATE is routing to Wrong tenant - APIM 3.2.0

Description
When making the subscription update after enabling the workflow extensions and cross tenant subscriptions, the subscription update approval requests are going to different tenant domains.
Steps to Reproduce

Enabled the cross tenant subscription by adding the below configuration into the deployment.toml file.

[apim.devportal]
enable_cross_tenant_subscriptions = true

Created 3 tenants via the carbon console. (tenant1.com, tenant2.com, tenant3.com)
Enabled the org.wso2.carbon.apimgt.impl.workflow.SubscriptionUpdateApprovalWorkflowExecutor for all 3 tenants by modifying the workflow-extensions.xml under the /_system/governance/apimgt/applicationdata/ path. (Edited by browsing the file via the carbon management console's registry browser)

<!--SubscriptionUpdate executor="org.wso2.carbon.apimgt.impl.workflow.SubscriptionUpdateSimpleWorkflowExecutor"/-->
    <SubscriptionUpdate executor="org.wso2.carbon.apimgt.impl.workflow.SubscriptionUpdateApprovalWorkflowExecutor"/>
    <!--SubscriptionUpdate executor="org.wso2.carbon.apimgt.impl.workflow.SubscriptionUpdateWSWorkflowExecutor">
         <Property name="serviceEndpoint">http://localhost:9765/services/SubscriptionApprovalWorkFlowProcess/</Property>
         <Property name="username">admin</Property>
         <Property name="password">admin</Property>
         <Property name="callbackURL">https://localhost:8243/services/WorkflowCallbackService</Property>
    </SubscriptionUpdate-->

Logged into the publisher portal and published 2 APIs from both tenant1.com and tenant2.com tenants.

tenant1.com: Tenant1_API
tenant2.com: Tenant2_API
Select multiple subscriptions for both APIs since we have to update subscriptions of APIs via the dev portal.
Made those 2 APIs available for all the tenants in the system.

Logged into the dev portal by using the tenant3.com credentials and subscribed both APIs.
Then updated the Tenant2_API subscription and checked the database and noticed that the subscription workflow record got inserted correctly.

SELECT * FROM AM_WORKFLOWS;

WF_ID
WF_REFERENCE
WF_TYPE
WF_STATUS
WF_CREATED_TIME
WF_UPDATED_TIME
WF_STATUS_DESC
TENANT_ID
TENANT_DOMAIN
WF_EXTERNAL_REFERENCE
WF_METADATA
WF_PROPERTIES

9
6
AM_SUBSCRIPTION_UPDATE
CREATED
2023-06-12 18:38:05.564
2023-06-12 18:38:05.564
Approve API Tenant2_API - 2 subscription creation request from subscriber -<EMAIL_ADDRESS>for the application - TENANT3_APP
2
tenant2.com
886ef48e-1b57-4889-9074-c38083e97dfb
7b7d
7b226170694e616d65223a2254656e616e74325f415049222c2261706956657273696f6e223a2232222c2273756273637269626572223a2261646d696e4074656e616e74332e636f6d222c2263757272656e7454696572223a2242726f6e7a65222c226170706c69636174696f6e4e616d65223a2254454e414e54335f415050222c2272657175657374656454696572223a22476f6c64227d

Then updated the Tenant1_API subscription and checked the database and noticed that the subscription workflow record got inserted to the tenant2.com tenant which is not expected.

SELECT * FROM AM_WORKFLOWS;

WF_ID
WF_REFERENCE
WF_TYPE
WF_STATUS
WF_CREATED_TIME
WF_UPDATED_TIME
WF_STATUS_DESC
TENANT_ID
TENANT_DOMAIN
WF_EXTERNAL_REFERENCE
WF_METADATA
WF_PROPERTIES

10
5
AM_SUBSCRIPTION_UPDATE
CREATED
2023-06-12 18:38:22.51
2023-06-12 18:38:22.51
Approve API Tenant1_API - 1 subscription creation request from subscriber -<EMAIL_ADDRESS>for the application - TENANT3_APP
2
tenant2.com
3726f2b9-466a-4f48-b45a-08a218a333ff
7b7d
7b226170694e616d65223a2254656e616e74315f415049222c2261706956657273696f6e223a2231222c2273756273637269626572223a2261646d696e4074656e616e74332e636f6d222c2263757272656e7454696572223a2242726f6e7a65222c226170706c69636174696f6e4e616d65223a2254454e414e54335f415050222c2272657175657374656454696572223a22556e6c696d69746564227d

Furthermore, we logged into the tenant2.com admin portal and noticed that both the subscription update requests came as below.

Affected Component
APIM
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Closing this as the issue was not reproducible in latest APIM version.