[base-ui][Switch] Input checked attribute does not update

Steps to reproduce
Link to live example: https://mui.com/base-ui/react-switch/
Current behavior
When toggling the switch components, the checked property on the inner input does not update accordingly.
Expected behavior
The checked property should update.
Your environment

npx @mui/envinfo
  System:
    OS: macOS 13.4.1
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 344.23 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
    npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
    pnpm: 8.13.1 - ~/.nvm/versions/node/v18.19.0/bin/pnpm
  Managers:
    Homebrew: 4.2.0 - /usr/local/bin/brew
    pip3: 21.2.4 - /usr/bin/pip3
    RubyGems: <IP_ADDRESS> - /usr/bin/gem
  Utilities:
    Make: 3.81 - /usr/bin/make
    GCC: 14.0.3 - /usr/bin/gcc
    Git: 2.39.2 - /usr/bin/git
    Clang: 14.0.3 - /usr/bin/clang
    Curl: 7.88.1 - /usr/bin/curl
  Servers:
    Apache: 2.4.56 - /usr/sbin/apachectl
  IDEs:
    VSCode: 1.85.1 - /usr/local/bin/code
    Vim: 9.0 - /usr/bin/vim
    Xcode: /undefined - /usr/bin/xcodebuild
  Languages:
    Bash: 3.2.57 - /bin/bash
    Perl: 5.30.3 - /usr/bin/perl
    Python3: 3.9.6 - /usr/bin/python3
    Ruby: 2.6.10 - /usr/bin/ruby
  Databases:
    SQLite: 3.39.5 - /usr/bin/sqlite3
  Browsers:
    Chrome: 120.0.6099.216
    Safari: 16.5.1
  Monorepos:
    Lerna: 8.0.2

Search keywords: switch base-ui checked

@DiegoAndai Excuse me can I take these? I find another problem with the live example.

@ANUGLYPLUGIN sure, go ahead. If you found another problem that is not closely related, I would prefer that we have a separate issue and PR for that one, please 😊.

You're correct: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
My bad, closing this one 😅


Tree control can loop infinitely under certain conditions

Godot version:
3.2.stable
master@9239412
OS/device including version:
Windows 10
Issue description:
The Tree control is partial to infinite loops when navigating its items using incremental search (typing out names with a keyboard). Problem lies in Tree::_search_item_text method due to its reliance on the wrapping behavior in get_next_visible here:
https://github.com/godotengine/godot/blob/9239412027b6c25009efab69dc39650e0d76c56d/scene/gui/tree.cpp#L3430
This issue is present when using editor normally! But I guess it can also be reproduced within user projects.
Steps to reproduce:

Create a new project and a new scene within it.
Bring up the Create New Node dialog using a context menu or a keyboard shortcut.
Start typing "label" in the text filter; make sure that the Label node is selected.

Click next to the CanvasItem node to toggle its branch.
Without moving focus away from the Tree start typing another control's name, e.g. "control".

What happens is during handling _gui_input the Tree::_search_item_text gets hit. It starts with the root item, which is Node, but gets to the line 3430 where it asks the tree to provide the next visible item. Unfortunately, there is no visible items left, because CanvasItem is disabled and others are toggled off. But the function is called with p_wrap set to true, which causes it to retrieve the same Node item next and continue the process ad infinitum.
Minimal reproduction project:
Not applicable.

I think I managed to reproduce it once, but I can't anymore.

Click next to the CanvasItem node to toggle its branch.

On this action, the Control node gets focused, so there's a visible selected item, which prevents the infinite loop.
@pycbouh Can you check if it still happens for you in 3.2.2?

@KoBeWi It's the same in 3.2.2.

On this action, the Control node gets focused

You may have mixed some steps there. After you've typed "label" and you got the state as displayed on the picture, you click next to CanvasItem to collapse its branch. Control cannot get focus there because Control is inside of that branch and thus is invisible after that step.

Oh, right. I collapsed wrong branch .-.


[GSSoC'23] Add Sokoban game

Project Description:
The goal is to navigate a warehouse maze and push all the boxes to their designated locations. The player controls a character within the maze and can move up, down, left, or right to push the boxes. The game is won when all the boxes are successfully pushed to their target positions.
Expected Behavior:
The game will start with a warehouse maze displayed on the screen. The player can use arrow keys or WASD keys to move the character around the maze. When the character encounters a box, they can push it in the direction they are facing if there is no obstruction. The player wins the game when all the boxes are pushed onto their designated target positions. Each successful box push will earn the player points.

I've send you the pull request.
Kindly check it once.


TFLite classification example fix permission crash

TFLite classification example fix permission crash

It would be helpful to provide more information about what type of crash you were getting and the specs of your test devices you used.

https://github.com/tensorflow/examples/blob/master/lite/examples/image_classification/android/app/src/main/java/org/tensorflow/lite/examples/classification/CameraActivity.java#L398
requestPermissions() have an array with one camera permission, so onRequestPermissionsResult  grantResults have only one grantResults[0] and it will crash with java.lang.ArrayIndexOutOfBoundsException if using grantResults[1].

I've encountered the same problem and this fixed it for me.

Looks like the issue was fixed separately.


Add apple silicon targets

Fixes #10.

I don't want to update the compose beta at this point. I've created a 0.2.1 release that only updates Kotlin for the state machine module. https://github.com/freeletics/mad/commit/a0fb2442f62e636dc6720124fb229f82f190a00a
This should be enough to unblock FlowRedux and we will update main once a stable compose release supports 1.5.30


Fixed Contact Form Styling According to theme

Closes
Closes #1379
Description
This pull request addresses the styling issues with the contact form in our project and aligns it with the OSCodeCommunity theme for a consistent and visually appealing user experience. The changes made in this pull request include the following:

Updated CSS: The existing CSS for the contact form has been revised to match the OSCodeCommunity theme's color scheme, typography, and layout. This ensures that the contact form seamlessly blends with the rest of the website's design.

Responsive Design: The contact form is now fully responsive, making it look great on various devices, such as desktops, tablets, and mobile phones. It adapts to different screen sizes, improving usability and accessibility.

Form Validation: Form validation has been added to ensure that users provide valid input before submitting the form. This helps prevent errors and improves the overall user experience.

Improved Accessibility: Accessibility features, such as ARIA attributes and semantic HTML elements, have been incorporated to make the contact form more usable for individuals with disabilities.

Code Refactoring: The code has been refactored to improve readability, maintainability, and adherence to best practices. Comments have been added to provide clarity on the changes made.

Testing: The contact form has been thoroughly tested across different browsers to ensure compatibility and a consistent appearance.

Screenshots
Before:

AFter:

Note to reviewers
By merging this pull request, we can enhance the visual appeal and functionality of the contact form, aligning it with the OSCodeCommunity theme. These improvements will contribute to a better user experience and showcase our commitment to delivering a polished and professional website.
Checklist:

[x] I have linked the PR to the correct issue.
[x] I have read the Contribution Guidelines
[x] I have built and tested the changes, and they do not break or show any errors.

<!--
Thank you for contributing to OSCodeCommunitySite!

@Vaishnavi-Patil2211 ,please review and merge my pull request

@Vaishnavi-Patil2211 ,please review and merge my pull request


Don't calculate the pool size when disabling RMM

Although I disabled the RMM pool, most of the time it throws the exception that "xxx free memory) was less than xx the minimum xxx" in my gpu-memory-tight PC. I know I can add minAllocation/poolAllocation ... to bypass this. but it really does not make sense (at least for me) to still calculate the pool size since I've already disabled it.

build

build

Note that part of the point of checking the free memory was to fail-fast when the user misconfigures and the RAPIDS Accelerator ends up using a GPU already mostly consumed by another process.  Getting an OOM in the middle of a query is much more difficult to discern whether the query is at fault and fails much slower in some cases.
If you're able to run successfully with memory lower than the default minimum threshold, should we lower the default value for the minimum rather than remove this check?

Note that part of the point of checking the free memory was to fail-fast when the user misconfigures and the RAPIDS Accelerator ends up using a GPU already mostly consumed by another process. Getting an OOM in the middle of a query is much more difficult to discern whether the query is at fault and fails much slower in some cases.

Good point. Maybe we should change the wording in the config docs and in the errors for the non-pooled case, to make it clear that the minAllocation is not just for pooled in that case.

Note that part of the point of checking the free memory was to fail-fast when the user misconfigures and the RAPIDS Accelerator ends up using a GPU already mostly consumed by another process. Getting an OOM in the middle of a query is much more difficult to discern whether the query is at fault and fails much slower in some cases.

Yeah, Good point. But if users decide to disable the RMM pool, seems they know what they're doing. seems we really don't need to do the calculations.

But if users decide to disable the RMM pool, seems they know what they're doing.

If they know what they're doing, then they can update the min/max allocation threshold configs instead (and potentially not even disable the pool).  Disabling the pool does not mean "I want to run on a tiny GPU."  We have separate configs for that.  If we find users need to constantly modify the minimum threshold then maybe the threshold is too high.

Ok, just closed this issue.

Hi @jlowe
Another point, the calculation happens during starting, so it just calculates the mem based on the current mem things. what if a process occupying most of GPU memory will be finished just after spark-rapids throw that memory?
Why I made this PR is XGBoost-JVM does not support the RMM pool, so basically, The users need to disable the RMM pool most of the time, or else XGBoost itself will fail to train/transform with OOM error. But when disabling the RMM pool, the users are still required to add the extra necessary configurations (minAllocation/poolAllocation etc) which are really quite complicated for some users. They may be confused by what I should set these parameters.

what if a process occupying most of GPU memory will be finished just after spark-rapids throw that memory?

But what if it doesn't finish fast enough?  Sounds like this is a dangerous/flaky setup if we're relying on the relative timing between two processes without explicit synchronization.

The users need to disable the RMM pool most of the time, or else XGBoost itself will fail to train/transform with OOM error.

Yes that makes sense, because the RAPIDS Accelerator runs first and takes up most of the GPU, so that later when XGBoost tries to train/transform it has insufficient memory.  Disabling the pool is one way to work around that issue.  However what I'm confused about is what is taking up GPU resources when the RAPIDS Accelerator executor starts up?  Is that also XGBoost or some other thing?  I was under the impression XGBoost runs after the ETL processing by the RAPIDS Accelerator.  Is it typical and expected something else will be on the GPU when the RAPIDS Accelerator starts for the XGBoost use-case?

Users may work on Linux desktop where the X and some other processes run on GPU, just like my env, I didn't run any xgboost/rapids spark process, half of GPU memory is consumed.
Tue Sep 27 08:37:22 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.85.02    Driver Version: 510.85.02    CUDA Version: 11.6     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Quadro T1000        Off  | 00000000:01:00.0  On |                  N/A |
| N/A   52C    P0    13W /  N/A |   2030MiB /  4096MiB |      8%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1097      G   /usr/lib/xorg/Xorg               1114MiB |
|    0   N/A  N/A      1462      G   /usr/bin/gnome-shell              244MiB |
|    0   N/A  N/A      4242      G   ...296134261156151097,131072      279MiB |
|    0   N/A  N/A      4554      G   ...2gtk-4.0/WebKitWebProcess       55MiB |
|    0   N/A  N/A      6235      G   ...AAAAAAAAA= --shared-files       95MiB |
|    0   N/A  N/A     10417      G   ...RendererForSitePerProcess      118MiB |
|    0   N/A  N/A     16428      G   ...AAAAAAAAA= --shared-files       98MiB |
+-----------------------------------------------------------------------------+

Users may work on Linux desktop where the X and some other processes run on GPU, just like my env, I didn't run any xgboost/rapids spark process, half of GPU memory is consumed.

Yes, but that all depends on the GPU that they are using.  You have a GPU with only 4 GiB of memory, and 2 GiB of it is free. I am actually really surprised that the rapids plugin + xgboost works with that little of memory. CUDF takes up about 500MiB to 600 MiB just to load the kernels. That leaves just 1.5 GiB to do anything with. I agree with Jason that I would rather have us adjust the defaults if this feels like something that works instead of disable it entirely.

Ok, just close this PR.


Carthage support

Hi,
For iOS projets it's will be great to make your component Carthage compatible
Take a look at these articles:

Ruthlessly Simple Dependency Management with Carthage
Carthage Tutorial: Getting Started
Making Carthage-compatible Frameworks with Swift
Creating Cross-Platform Swift Frameworks for iOS, watchOS, and tvOS via Carthage and CocoaPods 👍

On your README.md add   on top and add section for the installation with Carthage.

Hello, you can check out new release with 'github "dani-gavrilov/GDPerformanceView-Swift" ~> 1.0.4' via Carthage.
Thank you for using GDPerformanceView.
I will change my README later as suggested in https://github.com/dani-gavrilov/GDPerformanceView-Swift/issues/5


Fixes to get rid of compiler warnings. Don't use malloc/free wrappers.

I think if you don't use the ugly Espressif os_malloc and os_free defines, you also don't need the kludge to find out where they're defined.
This commit also fixes a compiler because a global function is defined but not declared.

I am going to rework this one too.


A very strange case of DbUpdateConcurrencyException

http://stackoverflow.com/questions/33149719/a-very-strange-case-of-dbupdateconcurrencyexception/33149720

@divega @rowanmiller This no longer repros because a) we should get the parameter type correct now and b) we don't use this mechanism in the update pipeline anyway. Can we close, or at least remove from RTM milestone?

If it's no longer an issue then closing is fine

This no longer repros because...

Yes. I came to the same conclusion last night.
Closing.


Stuck on "Download mode device found"

Hi,
Thanks for creating this and making it easier to jailbreak with palera1n 😊
I don't know if this issue is supposed to be here or under palera1n GitHub, since I used palen1x I thought it should be here, anyway here it is (it's a lengthy explanation so bear with me 😅):
I tried it on my iPad Pro 9.7" on iPadOS 15.1.1 : It worked the first try (yay!) 🙂

then I started installing tweaks (ofc after checking their compatibility first) and everything was good,

until I noticed that the palera1n app was gone from the springboard (maybe it's supposed to do that idk)
so I tried to Rebuild Icon Cache with TrollStore (I had already installed before jailbreaking) and still it didn't show up again
I ignored it, and opened Sileo to continue installing tweaks but I had an issue with it:

All repos were gone
No packages show in the packages page
Error: " Didn't find architectures "iphoneos-arm64" " when adding repos

So I tried to fix this by rebooting and rejailbreaking, palera1n app is back but the Sileo error still the same, installed tweaks still work but can't do anything in Sileo (adding repos / install or managing tweaks)
I tried " Do all " in palera1n app but with no luck, re-installed the bootstrap and it didn't fix the issue,
As a last resort I tried to restore rootFS with palen1x but it got stuck at " Download mode device found " and it stayed like that for over 30 min,

I rebooted and tried to jailbreak again and same thing it gets stuck at that stage.
I can boot the device in normal mode but can't re-enable the jailbreak or restore rootFS.
I hope there's a fix for this, I appreciate any help.
Thanks in advance.
Keep up the good work 👍

what arguments did you use when jailbreaking?

I didn't specify any arguments I first jailbreak successfully, and since palen1x auto-boots with -f -v arguments I didn't have to specify anything.

Did you use anything else before trying to use palen1x? It looks like you have something completely different installed. Not saying you should do anything right now, just asking to make sure.

No, I didn't,
I had this iPad updated with DelayOTA to iPadOS 15.1.1 when the window was still open, I tried palera1n on Linux but it didn't work, when I tried palen1x (palera1n-c) it worked from the first try.
Does the failed palera1n attempt have anything with this?

It shouldn't, it looks like palera1n-c did something it shouldn't of have.
I assume you have trollstore installed, can you please refresh app registrations and install this IPA?
This has a feature to remove rootless jailbreak contents in tools which is what it looked like what you installed [ iphoneos-arm64 ]

Thanks, but it doesn't do anything.
Maybe it does but it's not showing verbose info?
What does it suppose to show after tapping Remove?

Update:
I managed to rejailbreak again in rootful mode (default in palen1x) :

Palera1n app is installed, but nothing is working, so I tried reinstalling the bootstrap :

But no luck, still no packages :

Or sources :

When I try to add palera1n repo manually I get this error :

So I tried to restore rootFS

And it's been over an hour stuck in " Download mode device found " stage :
Is there another way to restore rootFS?
Or a fix for the Sileo error " Didn't find architectures "iphoneos-arm64" " ?

Update (FIXED ✅)
I was able to restore rootFS successfully and now everything is back working :
Sources are back :

Packages are installed :

Adding sources work and I can login to get my purchases :

And tweaks install works 👍

I'm so glad I'm jailbroken again 🙂

It just needed some patience and some luck I guess 😅
I hope this somehow help others if they had the same issue.
Thanks.


Revise constant names

We have some constants like CASE_SENSITIVE that should really be caseSensitive. I'm working on a rework of generate_ObjectBoxC_header.rb that should fix these.

The constants are now more as you'd expect from Swift.


Unable to boot

Hi,
I really like what you've done here. I've rebased my own nixos config on top of your repo, and modified it to fit your structure. Despite perhaps dozens of attempts with different BIOS option and hardware combinations, I am unable to use your install script and NixOS config.
Although I can run the installer, and it seems to complete without issues, after a reboot, I find that the drives do not show up as a bootable option in the BIOS, for either legacy or UEFI. If I boot back into my live disk, and try to do a zpool import on any of the pools the script created, it dumps core. I've never seen that happen before with any zpools I've created by hand.
I've tried on NVMEs and HDDs.
Anyway, I don't know if this is worth your time to investigate, but I thought I'd share my experience.  Here is my branch:
https://github.com/WhittlesJr/nixos-config/compare/main...whittles-iskandar

Hi, Thanks.
Try uncommenting one, then only the other, then both, of these lines, until it hopefully works:
https://github.com/DerickEddington/nixos-config/blob/b80cd9cfe5bae2e382ab2f5511064cf45544bc7c/per-host/yoyo/default.nix#L62-L63 (where yours will be at whatever your per-host/$HOSTHAME/default.nix is).  Let me know if that works or not.
Thoughts:
That a barebones NixOS installation on the same hardware works clearly shows that my approach is somehow triggering the issues.  But since I only used stable public options of NixOS, such low-level problems should not be occurring even if my stuff needs some improvement (I'd expect high-level errors preventing causing low-level problems), so I still suspect some weird bug(s) in something outside my stuff.
Maybe your UEFI has a bug (it happens, and my above suggestion can workaround such), or maybe your motherboard or drive controllers, or maybe (very unlikely) both your NVMEs and your HDDs, have some hardware problems, that causes both the not showing-up and the zpool import crash.
I think the zpool import crash can't be what's causing your drives to not show-up early at boot (since UEFI/BIOS doesn't involve commands nor ZFS yet at this earlier point), but I suppose it's possible that whatever problem is causing your drives to not show-up could also somehow be causing the zpool import crash (e.g. because of some really weird corner case they didn't cover).  The not showing-up is definitely a separate additional issue than the bug in OpenZFS, but perhaps both are caused by a single deeper problem.
Just to mention:  There is some serious bug in zpool import.  A crash of any program/process that dumps core is always a bug in that program or its dependencies.  I too have never seen that command crash before.  That should never occur (if programming was perfect), even if there's something very wrong with a drive or pool, or even if there's some flaw in my stuff (possible, and I'd want to find) - that's still some bug in OpenZFS that should be reported to them.  You can use the coredumpctl command, in the system where the crash occurs (i.e. when you've booted the live installer and just caused the crash), to list, export, and even use debugger on the core-dump file ($ man coredumpctl), as part of reporting the bug to the OpenZFS project.  Make sure you identify the one that has zpool as the EXE column value and the correct timestamp.  (For a core-dump file to be useful to them, they'd also need the exact zpool executable file and possibly the exact files of its library dependencies, which come from the particular build of the NixOS channel at whatever exact commit of Nixpkgs, which might be too difficult for both you and them to exchange, so it might be "easier" for them to try to reproduce themselves with the NixOS live installer, and/or for you to use a debugger (gdb by default) on the core-dump, in your boot of the live installer where the crash occurs, so that you can get the backtrace(s) of the thread(s) and possibly investigate other aspects (like which signal caused the crash (e.g. SIGSEGV/SIGBUS vs SIGABRT), values of variables and memory, etc) so you can report (copy-paste debugger session) this essential info to them.  They should be able to help you dig into this if you're not familiar with this kind of debugging.  They'll definitely want to know about this bug.  Maybe it's already been reported but not yet fixed or a fix isn't in NixOS yet - search their issue tracker and report anyway if you're not sure.  I'd help report it but I'm unable to reproduce.  Feel free to reference this issue, and follow-up to reference that from this - I'll want to follow this bug in OpenZFS too.)

Try uncommenting one, then only the other, then both, of these lines, until it hopefully works:

And also make sure you remove/comment-out/edit any other lines for those same options.  My repo has one such immediately above those lines.  Otherwise there could be an error about conflicting values for the duplicated option.

Thank you for the support! I will try your suggested fix and do my best to report the issue to OpenZFS.
It might help if I gave a bit more context. Part of me wants to believe this is a hardware issue.
Before I found your repo, I was on a single NVME with ZFS root. One day, my system crashed, and I could no longer boot onto the NVME (it did not show up as a boot option, which looks just like the problem I'm having with this repo.)
I went on to replace the motherboard, RAM, and NVME, moving to a dual-NVME setup. I found your repo and migrated to it, as I mentioned, but could never get it to work despite the new hardware.
I still don't have any solid theories about what's going on here, and I've tried a Lot of Things™.

I will try [to] do my best to report the issue to OpenZFS.

Instead of what I'd suggested above for how to get the debugger info, I realized you probably can configure your boot of the NixOS live installer and your local network to allow other people to SSH into that live installer while it's still running, so they can then use a debugger on the crashing zpool import themselves.  You'll need their public key and to configure your firewall(s) of course, and your machine would be tied-up waiting, but this might be the easiest way for the OpenZFS people to get the essential details.
If you like, I could SSH in and do some initial debugger'ing of it and save the session of whatever I find, to go with your report.  I can give you my public key and my IP address, and we can coordinate, over some other private messaging channel.  This way, your machine is not tied-up waiting as long and we have something more substantial to report initially.

and I could no longer boot onto the NVME (it did not show up as a boot option, which looks just like the problem I'm having with this repo.)
I went on to replace the motherboard, RAM, and NVME, moving to a dual-NVME setup.

Thanks for mentioning this.  It adds a little more suspicion to a hardware problem being the cause, but it's still unclear.
Have you tried using your two NVMEs as dual as installed on by some other OS (e.g. Ubuntu, Fedora, Windoze) and/or installed on as NixOS but non-ZFS but still dual (e.g. RAID)?
Or, if you can have your HDD(s) along with your NVMEs physically installed at the same time, you could then try installing barebones OS as non-ZFS on a single HDD, boot into that, then see if you can manually create a zpool across both NVMEs and then see if zpool import works that way.
Doing either or both of those, to find-out whatever happens, would be useful to narrow-down what's going on.
I wonder if your hardware only has the problem when attempting to use dual NVMEs vs one being left unpartitioned while both are physically present.  Maybe your UEFI chokes on seeing multiple bootable EFI System Partitions and/or on just seeing multiple drives partitioned.  But maybe when only one is partitioned but not the other (i.e. the partition table was overwritten with zeros or randomness) then it works.  (My installation script does zap the partition tables initially and when aborting, which could've left your drives unpartitioned and so ready to work, under this assumption, when you install barebones on only one.)  UEFI looks at partition tables very early during boot, and some UEFIs are somewhat buggy and/or only support old EFI standards and/or cut corners and lack full support for less-common abilities of the EFI standard (IIRC).  If a UEFI bug screws-up its view of a drive at boot, that might screw-up later attempts to use it by OS drivers (IIRC) (which maybe triggers the zpool import bug somehow).
Sometimes you can find newer updated versions of your UEFI's firmware from its vendor, which can be more or less easy/frustrating, depending on the vendor and hardware, to "flash" the updated image into your firmware to have a newer version of the UEFI with their newer bug fixes.

I will try some experiments with creating mirrored pools by hand with my NVMEs and installing something simple on them. If you're really keen on this I'd be happy to pair with you over Discord and share my screen from my other machine.
It may not be exactly a kernel panic, actually... usually you do see the phrase "kernel panic" in the output in such instances, don't you? But this is what I'm actually getting:
Broadcast message from systemd-journald@nixos
systemd[1]: Caught <ABRT>, core dump failed (child 2008, code=killed, status=6/ABRT).
Broadcast message from systemd-journald@nixos
systemd[1]: Freezing execution.

I'm also just now noticing that the core dump failed, heh. Not sure how much helpful information we can get out of this system...

I've tested that core dumps are configured to succeed, in the 24.11 live installer (i.e. the live installer isn't configured to prevent them).  This suggests that the "core dump failed" error you had is very weird because core dumping should be working there.  I found an unofficial mention that says systemd will sometimes give the "core dump failed" error when there's an unusual hardware problem with the drive where it would've written the core dump.  But in the live installer, that location, /var/lib/systemd/coredump/, is in a tmpfs RAM-backed FS, which means such a "drive" problem would actually be a problem with the RAM I guess.
(I found that a different error occurs when there's not enough space left in the FS to save a core dump, so it seems that your case couldn't have been due to lack of space.)

systemd[1]: Freezing execution.

I think this means that there's a different, deeper, worse problem, and not zpool import crashing.  systemd freezing itself (I confirmed that's what that message is) means it encountered some very weird unrecoverable problem (IIUC).  That shouldn't be happening if it was just failing to handle the core dumping of a user process crashing.

systemd[1]: Caught <ABRT>, core dump failed (child 2008, code=killed, status=6/ABRT).

I've just read a little of systemd's source-code of where this "core dump failed" error comes from.  It's actually from when a systemd process itself has crashed and is attempting to dump core in a special way (for systemd being special).  That error message means there was some problem (in addition to whatever original problem caused the crash) doing the special way (which involves forking (which is what the child 2008 PID is - that's a systemd process) to actually be the one to die with core dump).
It's not about a user command like zpool crashing.
The ABRT part of the error message means a systemd process got SIGABRT, which usually happens when a process called abort() on itself, which often is when something like an assert() failed.  This suggests that a systemd program had an assertion fail (which is supposed to never happen) or encountered some very weird unrecoverable situation where it can only abort.  It's very unlikely that my stuff for installing and nixos config could somehow cause that.  systemd tries as much as possible to continue running no matter what other stuff fails, and it only aborts and freezes when something very weird and low-level is screwed-up with the machine.

Broadcast message from systemd-journald@nixos

That it broadcast the error message to all users' terminals is also indicative of the very weird emergency severity of systemd crashing.  It doesn't do such broadcasting when only a user process had a failure to save a core dump.

Not sure how much helpful information we can get out of this system...

Yeah, I'm now more strongly suspecting that your hardware is faulty.
Did you actually see a zpool status command crash and say it dumped core?  That would look something like the following in your shell session in your terminal:
$ zpool status
...
Segmentation fault (core dumped)

or:
$ zpool status
...
Aborted (core dumped)

or other possible reasons prefixed before the  (core dumped) part.
You would've seen such a message, as if it was output by the command, in the same terminal where you invoked the command.  Regardless of whatever other log messages about systemd are generated.
If you didn't see such, then I think we must change our assessment to no longer consider zpool import to have crashed.

usually you do see the phrase "kernel panic" in the output in such instances, don't you?

Whether such a phrase is output, when the kernel panics, depends on whether the terminal you're working in is the console or not.  If you're SSH'ed in, then it's not the console, and so you'll never see any message upon kernel panic.  This is because the console is the only safe place that can be output to after a panic.  The console is what you see when you do Ctrl-Alt-F1 - i.e. where you get just a basic textual terminal directly on your monitor without the GUI desktop environment.
The reliable way to review kernel-panic logs is to look in /sys/fs/pstore/ (before they're archived) and /var/lib/systemd/pstore/ (after archived) [1], after rebooting the panicked-frozen system.
When a kernel panic occurs, the entire system becomes completely frozen immediately, sometimes after your monitor changes to all black.  If you weren't already viewing the console when it freezes, you'll never see anything about the panic, it'll just freeze wherever you were.  If you didn't experience such a freeze, then kernel panic didn't occur - i.e. if you were able to continue running commands or doing anything else after whatever incident, then it wasn't a panic.
You should check those directories I listed above, and if you have any files in them whose timestamps correspond to when you were trying to install my approach, let me know and attach the files.  You can check /sys/fs/pstore/ from a boot of a live installer - that location represents special non-volatile storage provided by your motherboard.  But if you've booted any installed OS that uses systemd-pstore.service (e.g. NixOS or any other Linux that uses systemd), then that would've moved the files to the archive location at /var/lib/systemd/pstore/ in whatever FS was setup for that installed system (which if you've since wiped-out that then the panic logs are now gone forever).

Try uncommenting one, then only the other, then both, of these lines, until it hopefully works [*]:
https://github.com/DerickEddington/nixos-config/blob/b80cd9cfe5bae2e382ab2f5511064cf45544bc7c/per-host/yoyo/default.nix#L62-L63 (where yours will be in your per-host/$HOSTHAME/default.nix).
Let me know if that works or not.

Just a reminder to try those - there's a chance that'll make everything work for your hardware.
No rush with this or my other suggestions.

Did you actually see a zpool status command crash and say it dumped core? That would look something like the following in your shell session in your terminal:

Oops.  I meant zpool import.  I've corrected my above comment for this.  Sorry if that was confusing.
I'd also edited some of my comments to reflect my newer uncertainty about whether it was a zpool command that crashed.

If you find new evidence that my approach is causing your issue, we can re-open this.


Add comprehensive C API vector docs

This PR adds more comprehensive C API vector docs, including full end-to-end examples on how to read from results using these vectors.

Looks great, I only made a few formatting tweaks.


Read user-dirs.dirs instead of executing xdg-user-dir

Functional changes:
In previous version when xdg-user-dirs had been available but
user-dirs.dirs were not present a fall-back directory would be used
instead ($HOME/Desktop for DESKTOP and $HOME for others).
The new implementation does not provide a fall-back since this
behaviour varies considerably between different implementations
xdg-user-dir, Qt and GLib. Moreover using $HOME as fall-back for
PUBLICSHARE could pose a security risk.
Performance changes:
before: test user_dirs              ... bench:  11,525,716 ns/iter (+/- 9,478,928)
after:  test user_dirs              ... bench:       6,942 ns/iter (+/- 214)

Closes issue #16.

Would it be fine to bump up required minimal rust version to 1.26, or should I rewrite it to be compatible with 1.13?

@tmiasko Thanks a lot! I will try and have a look in the evening!

@tmiasko I think if it would be possible, it would be great if it ran on Rust 1.13!

I pushed updated version compatible with Rust 1.13.0 (as a seprate commit in
the case somebody would like to revert it in the future).

Thank you! I played a bit around with the code yesterday, trying to figure out the best way of making this code work well with both dirs and directories, perhaps by moving this code to its own crate, but I'm struggling a bit with the constraints of dirs only ever requesting a single item, while directories requesting all of them.
It's a bit ugly, but what do you think of passing in a vec/slice/... of the entries' names we are interested in and receiving back a vec/... of the entries' values?

If you would like to use this in dirs crate, I would suggest copying and
customizing code as necessary, rather than sharing the code through external
crate or otherwise.

Mhhh, people are already complaining about dirs and directories duplicating code. :-/

I pushed a modified version that could be shared with dir-rs crate.  It is
slightly slower, but difference is negligible compared to implementation that
runs xdg-user-dir.
I also added support for disabled directories, though whatever this is good
idea or not depends on use-case. xdg-user-dirs-update denotes disabled
directories by assigning them to homedir. This is somewhat unfortunate, since
you can't tell the difference between disabled directory and one intentionally
set to homedir.

Mhhh, people are already complaining about dirs and directories duplicating code. :-/

I hope this doesn't mean that directories-rs ends up depending on redox_users
crate since it has quite large dependency tree.

Hi @tmiasko, thank you for your change!

I hope this doesn't mean that directories-rs ends up depending on redox_users
crate since it has quite large dependency tree.

Ouch. I already thought it did, because I try to keep dirs and directories on platform parity.
Wouldn't the redox_users dependency only be an issue when compiling for Redox, though?

Wouldn't the redox_users dependency only be an issue when compiling for Redox, though?

Mostly yes, though cargo clippy will download them as well. Either way, it is
pretty large dependency for getuid and /etc/passwd parsing even if only used
with Redox.
BTW, it looks like Redox libc does in fact implement getuid and getpwuid_r,
so it could use unix code-path instead of redox_users crate at some point.

Hey @tmiasko, sorry for the delay!
Could you have a look at https://github.com/soc/dirs-sys-rs/commit/df40574ac1add79743de7005d81a7e3060c3697d and tell me whether this looks fine to you?
Thanks!

Hey @soc, those changes looks good to me. (I would probably make
user_dir_file private, and user_dirs take no additional path
argument, but those are details). Thanks!

@tmiasko The code is carefully aligned to avoid computing paths (multiple times) when the calling library may already have computed the path. But you are correct, I think the code is more complicated than necessary to achieve that. I'll push the corresponding commits in dirs and directories today, so we can have a look at the whole story.

@tmiasko
Changes you suggested: https://github.com/soc/dirs-sys-rs/commit/42bf1de2c19824be0a66781b8841d73fb163307d
Updates to dirs: https://github.com/soc/dirs-rs/commit/890e4cc18fd4ab7f7f9bfa8252edfd328a2e5290
Updates to diectories: https://github.com/soc/directories-rs/commit/2a34e90f6fd8f892c2c2ddbff4c20b9b2b1e89ae
Please let me know what you think!


rustPlatform.buildRustPackage: cleaner output on verifyCargoDeps

When this fails, the user may want to copy-paste the path to the "bad"
Cargo.lock file to inspect. The trailing . on $cargoDeps. gets caught in
most terminal copy-pastes. Since half the lines already don't have it, this
removes it from all of them for consistent output.
CC @zimbatm

Motivation for this change
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

good idea


Publish v0.13.0

The following tasks should be completed before publishing a release. Track the progress of the release by copying and pasting the tasks below into an issue for the release.
Github and Project Planning

[ ] Review and merge any outstanding pull requests.
[ ] Review any outstanding issues assigned to this release milestone.
[ ] Change ios-sdk name to swift-sdk.

Source Changes

[ ] Update the sdkVersion property in RestRequest.swift.
[ ] Add any new targets/services to Package.swift.

Tests and Verification

[ ] Run all tests to verify correctness. Fix any errors.
[ ] Update .travis.yml for any new targets/services.
[ ] Encrypt Credentials.swift to support any new targets/services with Travis.
[ ] If changes were made to Speech to Text, then test continuous streaming support on a physical device.

Documentation

[ ] Update the generate-documentation.sh script for any new targets/services.
[ ] Execute the generate-documentation.sh script to update the API documentation.
[ ] Check undocumented.json for any missing documentation comments. Make the necessary changes then re-run the generate-documentation.sh script.
[ ] Update CHANGELOG.md.
[ ] Update README.md.

Publish Release

[ ] Use Github to create a tag/release.
[ ] Execute the generate-binaries.sh script to build and archive frameworks into a WatsonDeveloperCloud.framework.zip file. Then attach WatsonDeveloperCloud.framework.zip to the GitHub release.
[ ] Test that Carthage successfully builds each service's framework.
[ ] Celebrate the team's hard work! :)

On renaming ios-sdk to swift-sdk, follow steps here


Clarity in the docs if Vue 2.. is following semver strictly.

Version
2.3.3
Reproduction link
https://vuejs.org/v2/guide/
Steps to reproduce
search in the docs for: versioning, semver, backward compatibility. No relevant answer are given.
What is expected?
A statement to specify if vue 2 is strictly semver
What is actually happening?
no info returned by searching with the search box

Looking at the issues on github, it seems it might, but I couldn't find a specific statement in the docs that Vue 2.. is strictly semver, and therefore offer full backward compatibility. Have I missed it or is not stated anywhere ?

just for the info, yes, Vue follows semver 🙂
It is not stated anywhere, I personally consider it's the default for any library.
Can you open the issue on the docs repo instead please: https://github.com/vuejs/vuejs.org/
Thanks!

allright, thanks.


Add html preview so users can see html they output.

Just an idea but essentially a user would enter html then it would obviously have the local host. Then from there it would take a screenshot and send it back to the user or just make a temp site or something.

interesting idea

thanks i just thought it could be possible  with your knowledge

Too resource expensive, this would involve starting a selenium instance (basically Firefox/chrome) for every request that's wants html rendering


Test Issue created at Fri, 10 Dec 2021 02:22:40 GMT

Test issue body  Fri, 10 Dec 2021 02:22:40 GMT

Comment on issue at Fri, 10 Dec 2021 02:22:42 GMT


DBZ-1311 Adding method to read structure for each captured tables

https://issues.jboss.org/browse/DBZ-1311

@jchipmunk, I definitely see how it speeds up your use case with a single captured table. I'm wondering though how things will behave if capturing more tables, say 1,000 out of those 5K you have? I'm concerned that fetching each single table metadata separately might be a problem them. Which again makes me wonder why the current call is that slow, it's not that the metadata of 5K tables would be a huge amount of data.

Perhaps we should resort to a custom implementation of metadata retrieval, just fetching the things we need? This SO answer (and linked one) has some good info on this. Biggest caveat is that the internal structure of the metadata tables changes across versions; but I think if there's a substantial perf improvement in doing that, we should give it a try. Similar things are done for PG already.

Ah, and one more thought: are all your 5K tables in the same schema? If not, we might do the same "trick" as for SQL Server (see the corresponding class) and only retrieve the metadata for whitelisted schema. Not ideal, but might help to improve things a bit.

Hey @jchipmunk, any thoughts on ^?

Ah, and one more thought: are all your 5K tables in the same schema? If not, we might do the same "trick" as for SQL Server (see the corresponding class) and only retrieve the metadata for whitelisted schema. Not ideal, but might help to improve things a bit.

My tables have the same schema.

Perhaps we should resort to a custom implementation of metadata retrieval, just fetching the things we need? This SO answer (and linked one) has some good info on this. Biggest caveat is that the internal structure of the metadata tables changes across versions; but I think if there's a substantial perf improvement in doing that, we should give it a try. Similar things are done for PG already.

Thank you, I will look towards the custom implementationof metadata retrieval in Oracle connector. This PR can be closed.

Going to close this PR as discussed. Thanks for your efforts, @jchipmunk, and looking forward to the alternative implementation in the Oracle connector.


Run command with folder as root

I was thinking it would be quite usefull to be able to run commands on directories from the tree. So when your cursor is on a folder, you could press a key to input a command that runs with that folder as it's root. Usefull for more advanced renames and such.
I'm hapy to work on this if it sounds useful to you too.

If you are going to be typing in a command, it seems like the most useful thing would be an "Open a Terminal Here" command. I know I use that context menu action a lot from gui file managers. It could be a floating window for a quick one command and leave type use case.

If you are going to be typing in a command, it seems like the most useful thing would be an "Open a Terminal Here" command. I know I use that context menu action a lot from gui file managers. It could be a floating window for a quick one command and leave type use case.

Yeah, that's a good idea! Allows for more flexible use as well.


Update CONTRIBUTING.md

asdasd

I don't see why this should be merged. Please close @marcussc.

Irrelevant. PR closed.


Update NOTES.txt to exclude deprecated commands and use new CTA

Description of your changes

Updates the NOTES.txt to remove the deprecated attach functionality and
instead prompt users to look to the Marketplace to get started.
Signed-off-by: hasheddan<EMAIL_ADDRESS>Fixes #282
I have:

[x] Read and followed Upbound's contribution process.
[x] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

make build and helm install

LGTM from all I can tell. That said I don't know where the contents are displayed.


Fix test_all

I think this is a good change. The issue is that some tasks don't have enough examples, which I think they should.
For example, currently task002_quoref_answer_generation is failing the tests. @swarooprm what do you think we add a few examples?

I think this is a good change. The issue is that some tasks don't have enough examples, which I think they should.
For example, currently task002_quoref_answer_generation is failing the tests. @swarooprm what do you think we add a few examples?

Yes, good initiative, however currently we have lots of tasks where this test fails and so this needs major revision. I think we can take this up later when we revise examples to add diverse positive and negative examples (currently no attention has been given to the diversity of examples).


Android Uncaught Eval Error

I've been trying to track down this error, but am coming up short. This just started today, which is really odd. I've tried GA 3.3.0 all the way through 4.0.0Beta and get the same error on all.
"Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src https://abs.twimg.com https://abs-0.twimg.com"."
I know it's an issue with Chrome, but do you have any ideas as to how I can get around this? Right now Twitter displays the PIN and won't go any further. I thought about just popping up another view so the user could enter the PIN and proceed, but would like to keep it as it worked before. Your code is above my pay grade, so I'm not the best with debugging where exactly this error is coming from ;)
Thanks!

Cheap work around for now... Make the user input the PIN :)
getHtml is returning null in Android, but again fine in iOS - Just putting this out there in case anybody runs into this error. Doesn't seem to be a fault of this module.
I modified the authorizeUICallback function:
function authorizeUICallback(e) {

   	 var promptView = Ti.UI.createView({
            width:'30%',
            height:'10%',
            layout: "vertical",
            backgroundColor:'black',
            bottom:"20%"
        }),
        pinField = Ti.UI.createTextField({
            width: Ti.UI.FILL,
            height: Ti.UI.SIZE,
            hintText: 'Enter PIN'
        }),
        pinButton = Ti.UI.createButton({
            width: Ti.UI.SIZE,
            height: Ti.UI.SIZE,
            title: "Authorize"
        });

    promptView.add(pinField);
    promptView.add(pinButton);
    view.add(promptView);

    pinButton.addEventListener('click', function() {
        if (!pinField.value) {
            alert('No PIN found');
        } else {
            pin = pinField.value;
            response = 1;
           response ? ( pin = pinField.value, /*pin = response.split("<code>")[1].split("</code>")[0]*/ destroyAuthorizeUI(), receivePinCallback()) : (loadingView && loadingView.hide(), loadingContainer && loadingContainer.hide(), webView && webView.show()), loading = !1, clearInterval(intervalID), estimates[estimateID] = (new Date).getTime() - startTime, Ti.App.Properties.setString("Social-LoadingEstimates", JSON.stringify(estimates));
        }
    });
  }

Did anybody ever find a better way to handle this issue?

One thought I've had is that perhaps you could stick a server-side proxy in between Twitter and the app that sets headers required for a safe EVAL. I'm not completely sure what the security risks would be associated with this, just throwing ideas out there.

I haven't found one. I'm still showing a box to have the user enter the PIN
on Android. iOS has always worked as before.
On Thu, Dec 10, 2015, 3:07 PM Joshua Lambert<EMAIL_ADDRESS>wrote:

Did anybody ever find a better way to handle this issue?
—
Reply to this email directly or view it on GitHub
https://github.com/aaronksaunders/test_social/issues/11#issuecomment-163735162
.

 Such as life I suppose. This is exactly what I'm implementing right now until I can find a better approach. Thanks for your fast response.

No problem! I need to circle back and allow my app to handle multi-image
uploads, so I might look at this again while working on that. Probably get
to it next week.
 Such as life I suppose. This is exactly what I'm
implementing right now until I can find a better approach. Thanks for your
fast response.
—
Reply to this email directly or view it on GitHub
https://github.com/aaronksaunders/test_social/issues/11#issuecomment-163737106
.

Very good!     :+1: :+1: :+1: :+1:


Version 0.11.2

v0.11.2 (2019-03-26)
Features

doc:  Don't display the full path to types in the documentation (a669faaa)

Bug Fixes

Ignore mdbook for osx builds (7755967a)
check:  The alias reduction stack must be cleared between unifying function arguments (170072a4)
doc:

Correct all the remaining links in docs (494675fe)
Point breadcrumb links correctly (2a9cca72)
Point Rust defined types to their doc location (b170f2f3)
Don't generate dead links in the documentation (04131b71)
Point sibling module links correctly (3bbf4a99)

bors r+


Use docker image for testing

Experiment.

I don't think this is the right approach: we need to test both 3.6 and 3.7, and potentially other configurations, and so could have a combinatorial explosion in the number of docker images we need to coordinate. Also, it likely won't save that much time.


[tool_crash] ProcessException: Bad CPU type in executable Command: /Users/gonzalodiascenzi/Desktop/flutter/bin/cache/artifacts/engine/darwin-x64/impellerc, OS error code: 86

Command
flutter run -d web-server

Steps to Reproduce

Upgrade flutter with flutter upgrade to version 3.3
Go to the directory of your proyect that have main.dart
Execute flutter run -d web-server

Logs
ProcessException: Bad CPU type in executable Command: /Users/gonzalodiascenzi/Desktop/flutter/bin/cache/artifacts/engine/darwin-x64/impellerc, OS error code: 86
#0      _ProcessImpl._start (dart:io-patch/process_patch.dart:401:33)
#1      Process.start (dart:io-patch/process_patch.dart:38:20)
#2      LocalProcessManager.start (package:process/src/interface/local_process_manager.dart:42:22)
#3      ErrorHandlingProcessManager.start.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:691:24)
#4      _run (package:flutter_tools/src/base/error_handling_io.dart:567:20)
#5      ErrorHandlingProcessManager.start (package:flutter_tools/src/base/error_handling_io.dart:690:12)
#6      ShaderCompiler.compileShader (package:flutter_tools/src/build_system/targets/shader_compiler.dart:72:60)
#7      writeBundle.<anonymous closure> (package:flutter_tools/src/bundle_builder.dart:184:46)
<asynchronous suspension>
#8      Future.wait.<anonymous closure> (dart:async/future.dart:522:21)
<asynchronous suspension>
#9      writeBundle (package:flutter_tools/src/bundle_builder.dart:162:3)
<asynchronous suspension>
#10     WebDevFS.update (package:flutter_tools/src/isolated/devfs_web.dart:843:9)
<asynchronous suspension>
#11     ResidentWebRunner._updateDevFS (package:flutter_tools/src/isolated/resident_web_runner.dart:488:35)
<asynchronous suspension>
#12     ResidentWebRunner.run.<anonymous closure> (package:flutter_tools/src/isolated/resident_web_runner.dart:283:41)
<asynchronous suspension>
#13     asyncGuard.<anonymous closure> (package:flutter_tools/src/base/async_guard.dart:111:24)
<asynchronous suspension>

[!] Flutter (Channel stable, 3.3.0, on macOS 12.5.1 21G83 darwin-arm, locale es-419)
    • Flutter version 3.3.0 on channel stable at /Users/gonzalodiascenzi/Desktop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (3 days ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0
    ✗ Downloaded executables cannot execute on host.
      See https://github.com/flutter/flutter/issues/6207 for more information

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/gonzalodiascenzi/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

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

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

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

[✓] Connected device (3 available)
    • macOS (desktop)  • macos      • darwin-arm64   • macOS 12.5.1 21G83 darwin-arm
    • Web Server (web) • web-server • web-javascript • Flutter Tools
    • Chrome (web)     • chrome     • web-javascript • Google Chrome 105.0.5195.52

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Flutter Application Metadat

@DIASG009
This seems to be fixed and merged into master as part of this issue: https://github.com/flutter/flutter/issues/109892.
I suggest you to switch to latest master and try the steps to replicate and confirm if you still see the crash or not.
flutter channel master
flutter upgrade


C_CPP: Rules for Virtual Functions

Description
Description
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


New streamconn endpoints do not work

I had to switch the endpoints back to platpush.webullbroker.com in order to get my Orders/Fills streamer to work. I run a small bot on Discord that sends that info to a channel as soon as I fill an order. Let me know if you need any more info.

It looks like it uses wspush.webullfintech.com and platpush.webullfintech.com more that *.webullbroker.com

interesting...
so it uses both?
I quickly tried on Friday and it worked, but since I don't use the websocket that much.
I would have to find a free time to look more deeply into it.

I wonder if it uses platpush for account related info and wspush for ticker and quote info


3D Animation play back is wrong when interpolation is cubic

Tested versions
Redot 4.3RC1, is present in Godot 4.3 stable
System information
Windows 10 - Redot 4.3 RC1
Issue description
I am creating an animation, with 6 meshes, 3 individually grouped into their own Node3D objects. I am animating those objects for ease, and also because one will be used for the left side and the other right side. I am using the Animation Player to animate these nodes.
My issue starts when I have keys, where the rotation is at Vector3(0, 0, 0), between 2.0 and 2.4. At frame 2.6 there is a key that sets the rotation of these nodes by 90 degrees on the Y axis. When I play or scrub through the animation, the 2 Node3D objects' rotation becomes skewed, when they should remain at 0. The interpolation for all the animation tracks are set to cubic for smoother transitions.

Steps to reproduce
Open the reproduction project, select the animation player, press play, and observe.
Minimal reproduction project (MRP)
reproduction.zip

I have tested this when interpolation is set to linear, and the problem goes away. So the issue is only present when the interpolation is cubic.

Could you check to see if this issue is reported in Godot's issue tracker? If not would you report it there. You didn't follow the standard to reporting the issue properly either when reporting system info and redot version info, when doing so you should validate this in Godot properly including system and version info using Godot, make sure your MRP works in Godot 4.3 stable and do not use Redot info when submitted there if you do.

This is the closest thing I found on the Godot github.
https://github.com/godotengine/godot/issues/87637
As for not following the standard in reporting, what did I get wrong? I specified my OS, and Redot version. I also specified the Godot version I initially had the problem with, and the Redot version I am using.

The info you gave was not comprehensive as instructed by the template.

Tested versions
To properly fix a bug, we need to identify if the bug was recently introduced in the engine, or if it was always present.

Please specify the Redot version you found the issue in, including the Git commit hash if using a development or non-official build. The exact Redot version (including the commit hash) can be copied by clicking the version shown in the editor (bottom bar) or in the project manager (top bar).
you can, please test earlier Redot versions (previous stable branch, and development snapshots of the current feature release) and, if applicable, newer versions (development snapshots for the next feature release). Mention whether the bug is reproducible or not in the versions you tested. You can find all Redot releases in our download archive.
The aim is for us to identify whether a bug is a regression, i.e. an issue that didn't exist in a previous version, but was introduced later on, breaking existing functionality. For example, if a bug is reproducible in 4.2.stable but not in 4.1.stable, we would like you to test intermediate 4.2 dev and beta snapshots to find which snapshot is the first one where the issue can be reproduced.

System information

Specify the OS version, and when relevant hardware information.
For issues that are likely OS-specific and/or graphics-related, please specify the CPU model and architecture.
For graphics-related issues, specify the GPU model, driver version, and the rendering backend (GLES2, GLES3, Vulkan).
Bug reports not including the required information may be closed at the maintainers' discretion. If in doubt, always include all the requested information; it's better to include too much information than not enough information.
Starting from Redot 4.1, you can copy this information to your clipboard by using Help > Copy System Info at the top of the editor window.


Backfilling Sales and Asks for Contracts

Hi !
Our use case involves backfilling / subscribing to resevoir's sales and listing tables. We're only concerned about a few NFT collections.
Playing around with this node I found that:

Asks were not populating into the DB
Sales only populated ~10
Ask requests were not being filted by collection
Ask requests cannot have any status

I tried modifying the code to our use case, but I bumped into some API walls:
% curl --request GET \
    --url 'https://api.reservoir.tools/orders/asks/v4?sortDirection=asc&limit=12&includeCriteriaMetadata=true&sortBy=updatedAt&startTimestamp=1682899200&endTimestamp=1685577599&contracts=0x76be3b62873462d2142405439777e971754e8e77' \
    --header 'accept: */*' \
    --header 'x-api-key: X'
{"statusCode":400,"error":"Bad Request","message":"Cannot filter by contracts while sortBy = \"updatedAt\" and status = \"any\""}%

Hey @felixjchen! Glad to see you trying things out - apologies for the issues. Hopefully we can get those sorted out for you.
For starters, would you mind sharing your configuration with me so I can attempt to replicate?
Chain, Contract(s), worker count, manager count
Regarding "Ask requests were not being filted by collection" the reason you don't see them being passed into the request is due to some limitations on that API currently. We're hoping to fix that issue soon. Currently the node should filter out the contracts you passed in on the client itself.
"Ask requests cannot have any status" could you elaborate on this? FWIW currently we backfill the data by only fetching the active asks and then once we reach the upkeep stage (present) we switch to an "any" status filter as opposed to just "active" in order to catch those asks that have been updated.
"Asks were not populating into the DB" - I'll take a look at this. We recently made some changes to the prisma aspect of the LightNode and this might've caused somethings to change that we were unaware of.
Also just a heads up, seems like you might've included your API key in the request!

Chain - Mainnet
Contract - 0x76be3b62873462d2142405439777e971754e8e77
Worker / Manager counts - Default
Ask requests were not being filted by collection - Yeah I figured out this limitation playing around with the API and your query params.
Ask requests cannot have any status - We're trying to build a historical floor for some contracts. To do that we need to see how listings got filled or cancelled in the past to figure how which listings are valid at any point in time. Sounds like your backfill + upkeep does manage to close out historical listings ?
Let me know, this project seems well written and we'd be happy to add it to our stack.

Hey @r3lays,
 Currently the node should filter out the contracts you passed in on the client itself. Is this why the insertion counts for managers are blowing up while the DB count is low ? I had a look through and looks like you might want to insertCount = sum(upsertCount) - sum(deleteCount), I see deletion is part of the contract filtering, I wish the API just did contract filtering.


Produce (by default) enables push-notification service and it leads to export problems with deliver

Is there any need for enabling push-notification service on a brand new app by default?
Currently it leads to an obscure problem which doesn't prevent building and signing, but prevents exporting the app for iTC submission.

it seems to be fixed inside produce, @masteranza what is the error you get on submission?

see PRS

1/2  https://github.com/fastlane/fastlane/pull/7222 -> spaceship
2/2 https://github.com/fastlane/fastlane/pull/7223 -> produce

@hjanuschka you're amazing. This was really fast and solves the problem, although this is similar to running produce disable_services --push-notification post creation.
My original question was:
What's the point of turning on push-notification on default in the first place?
It doesn't seem to me that everyone will want push-notifications in their apps, but perhaps there's another reason?

@masteranza updated the pr to support more flags 👍  and taken the logic from disable_service maybe you can try again? (call is  a bit different)

@hjanuschka great modification! I'll test it asap.
Still I'm voting for changing the default produce behaviour, so it does not turn on push-notifications. What does the fastlane team think about that?

@hjanuschka I forgot to say it works!


Feature: Add a Store Page to showcase merchandise

Add a Store Page in Resources to view available products

Sample

Not needed


Separate ForwardSpeed and add new getter to Entity.Speed and Vehicle.ForwardSpeed

MulleDK19 was right about one thing, Vehicle.Speed. They talked about RPH2 features, and we should separete the absolute speed of entity and the forward speed of them, too.

Ah, now I think I should remove the getter of Entiy.Speed.


Learning to hover using thrust and torque control - no wind yet

Right now using PPO, the drone can hover reasonably well without deviating much from the origin. Next is to use the simple wind model and potentially changing magnitude and direction (wind shear).
Would it be possible to collect data in wind tunnel that correlates sensor measurement with wind profile? We would need it for simulation training.

Would it be possible to collect data in wind tunnel that correlates sensor measurement with wind profile? We would need it for simulation training.

Yes, the goal of current wind tunnel experimentation is to resolve the free stream velocity components [x,y] from sensor measurements.


How to connect from mobile app

I downloaded the mobile Actual App from Play Store. It seems to connecting directly to Actual Cloud Servers. How can I change it, so that it points to my selfhosted server instance?

Hey,
It isn't possible at the moment, the mobile apps are not being developed, instead the focus is on a responsive version of the application which is being worked on here https://github.com/actualbudget/actual/pull/79


Come up with some real examples of common layout

Problem
With the new layout changes added in the next release, the ways to combine constraints and Flex becomes a bit larger.
The two new examples (flex, constraints) are great at showing these, but these examples are shown from the perspective of what does this look like when you combine settings.
From a user's perspective, it would be nice to see some examples that show how achieve common layouts that an app would need. This is probably a good thing to end up on the website as a how-to, but bringing it up here as these sort of dictate the future changes to defaults etc.
Some ideas for common layouts:

Sidebar / main area
Header / main / footer
Tables that grow, but have more important columns that should be shown (e.g. Name/Address/Email where email can be truncated first, but if not, the excess column width should be applied to all see https://github.com/ratatui-org/ratatui/pull/840#discussion_r1456852463)
Input area that expands to fit text / content area for history (e.g. messages / LLM chat responses)
Left / Center / Right
Vertical centering
Nested layouts

Solution

Perhaps this ends up in a small example that has a page for each layout?
Website docs for this.

Alternatives

Additional context

I was planning to open an issue like this after working on the weights. I can take this.

Pop up in the center:
    let area = f.size();

    let vertical_center = Layout::vertical([Percentage(50)])
        .flex(Flex::Center)
        .split(area);

    let center = Layout::horizontal([Percentage(50)])
        .flex(Flex::Center)
        .split(vertical_center[0]);

    for b in center.iter() {
        f.render_widget(Block::bordered().title("centered"), *b);
    }

f.size()─────────────────────────────────┐
│                                         │
│                                         │
│                                         │
│                                         │
│          ┌centered───────────┐          │
│          │                   │          │
│          │                   │          │
│          │                   │          │
│          │                   │          │
│          │                   │          │
│          │                   │          │
│          │                   │          │
│          │                   │          │
│          └───────────────────┘          │
│                                         │
│                                         │
│                                         │
│                                         │
└─────────────────────────────────────────┘

Popup message prompt:
    let area = f.size();

    let [center] = area.split(&Layout::vertical([Percentage(75)]).flex(Flex::Center));

    let [message, prompt] = center.split(
        &Layout::vertical([Proportional(1), Length(3)])
            .margin(2)
            .flex(Flex::Center),
    );

    f.render_widget(Block::bordered().title("message"), message);
    f.render_widget(Block::bordered().title("prompt"), prompt);

┌f.size()─────────────────────────────────┐
│                                         │
│                                         │
│                                         │
│                                         │
│ ┌message──────────────────────────────┐ │
│ │                                     │ │
│ │                                     │ │
│ │                                     │ │
│ │                                     │ │
│ │                                     │ │
│ │                                     │ │
│ └─────────────────────────────────────┘ │
│ ┌prompt───────────────────────────────┐ │
│ │                                     │ │
│ └─────────────────────────────────────┘ │
│                                         │
│                                         │
│                                         │
└─────────────────────────────────────────┘

This page has a number of modern CSS layouts:
https://1linelayouts.glitch.me/
I think having a documentation page like this with commonly used layouts would be nice.


feat: hacktoberfest Blog Post

I wrote a post summarising our participants at this year's Hacktoberfest
cc @derberg @alequetzalli

Thanks so much for writing this up 🙏🏼
So feedback:

in case of @Mayaleeeee there were 4 PRs https://github.com/asyncapi/conference-website/pulls?q=is%3Apr+author%3AMayaleeeee are related to speaker cards
in case of @toukirkhan I think he did 2 PRs, one in website and one in bundler 🤔
in case of @Ankitchaudharyy I think there were 3 PRs

Maybe mention all the contributors in this article, so they can verify on their own. I mean specify how many hacktoberfest contributions they did

@Amishakumari544 @toukirkhan @manavdesai27 @Ankitchaudharyy @nawed2611 @dhfherna @amit-ksh @mastdev @codingtenshi @mayaleeeee Please kindly confirm if the numbers of your PRs during hacktoberfest is right

Yes I was.

I had 3 PR merged in hacktoberfest.

Yes, 1 PR merged during hacktoberfest

@Amishakumari544 @toukirkhan @manavdesai27 @Ankitchaudharyy @nawed2611 @dhfherna @amit-ksh @mastdev @codingtenshi @Mayaleeeee Please kindly confirm if the numbers of your PRs during hacktoberfest is right

I worked on 2 PRs 188 and 275

Yeahh
Mine is 4 @AceTheCreator

Updated the PR cc @alequetzalli @derberg

/rtm

/rtm


Slow content download on requests proxied with YARP behind load balancer

Describe the bug
Slow content download on requests proxied with YARP behind load balancer. Likely this is config related but looking for some insight what may be happening here.
Here's how the issue looks in devtools:
With Load Balancer:

Without Load Balancer:

Details  when the issue does/does not occur:

As shown above issue only happens when accessing through load balancer
Response size does not have major affect. Latency is typically very close to 100ms
Issue only happens on requests proxied by YARP. Other requests to this application that are not handled by YARP such as health endpoints do not experience the slow content download time
Issue only happens on requests from chromium based browsers (Edge, Chrome). Firefox, Postman, etc. don't show the issue.

To Reproduce

Access API thru YARP setup behind load balancer using Chrome/Edge
See slow content download in Network tab - Timing

Further technical details

Include the version of the packages you are using

Platform Details:

YARP 2.1.0

.NET 8

Hosted by IIS

Windows Server 2019 Standard

Load Balancer: NetScaler 13.1

Issue only happens on requests from chromium based browsers (Edge, Chrome). Firefox, Postman, etc. don't show the issue.

This clue is quite interesting. It might be useful to look at whether the traffic is different somehow (e.g. HTTP/2 vs HTTP/1.1). You might find the browser dev tools to be useful for this, or perhaps something like Wireshark.

Triage: Not enough info to make it actionable. Closing. Feel free to reopen once there is more details.


Fix 1587 Internal error: TopValActualParent: does not have a parent

Fixes https://github.com/Microsoft/visualfsharp/issues/1587
A simple fix, we've hit this error recovery situation before.
I tested this one by hand, the case is obscure enough that I'm not sure it warrants a specific unit test

This is a really safe fix, I will merge it


Addressed the rules for config.allowUnsafeUpsert

I think Carl and I talked, and I think he is agreeable that it should not be under config.public.


fix resource release on SIGINT

Close method invocation was outside of execution context.  Updated process event handle callbacks to lambda expressions.
Missing bluebird assignment in AzuriteTable

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: danne931 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Hi @danne931 ,
many thanks for this contribution!
It would help us validate your changes if you could perhaps describe a test to validate this, or the reason for these changes?
Are we causing node to leak resources without these changes?
Would we not need to implement this logic for releasing resources in the code for all 3 services, not just the table API?
Many thanks,
Edwin

Created new PR to resolve this.


Clear TabBar tab close button's rect after it's hidden

Fixes #95110.
Similar to #83296 (same but for close buttons).

Thanks!


CI: regresion tests using QE cypress tests

Adding a comment just to separate following commits

Adding a comment on 22nd November just to visually separate new builds


Plugin incompatible with the new build

I updated intellij today, and it appears this plugin is not compatible with intellij build 241.14494.240.
(Edit, changed build number)

Hello all,
Many thanks for using the plugin. The next release should fix this issue.
If you like the Testcontainers Port Updater plugin, please don't forget to give it a star on GitHub and write a review or rate on JetBrains.
Greetings 👋🏼


Startup on boot

Can I start the app on boot up automaticaly and if so how can I do it?

Add a systemd service.
[Unit]
Description=Discord IRC bridge

[Service]
Restart=on-failure
RestartSec=5s
User=user
Type=oneshot
ExecStart=/usr/local/bin/discord-irc --config /path/to/config

[Install]
WantedBy=multi-user.target

Then systemctl daemon-reload and systemctl enable discord-irc.
Note that it 'seems' to hang if you start/restart the service in that it doesn't drop you back to the shell.  It's probably fixable but hasn't been something I really felt like looking into.
But in any case, this will not only start the bridge on boot, but if it crashes it'll automatically restart after 5 seconds.  It won't, however, restart if the IRC connection or whatever drops - this only detects if the program itself exited.

I would recommend to add After=network-online.target in the [Unit]


Improve Cut Inner First performance

Functional tests using file below work fine. Initial performance test on Teddy Bear (or toy dog) file, are very positive.
Code submitted for review. Full performance tests to follow tomorrow (assuming that Inner First ever completes on the old code for this big file).
test cut inside.zip

Any commits to this will waste 6 hours of unit-testing broken mac.

Even if broken. Any updates should be done in a different PR to prevent hours of wasted resources.

I disabled the unittest workflow.

And I don't get what the issue is and why it only applies to further commits and not to the base PR.

Might be that this has broken a unittest and that goes into a loop. I will take a look.

Teddy, Pre PR, no travel opt, one pass, merge operations:

[00:45:03] Executing Inner-First Identification
[00:45:03] Length at start: 2650756 mils
[00:59:33] Length at end: 2663592 mils (0%), optimized in 870.431 elapsed seconds using 849.938 seconds CPU
[00:59:33] Executing Inner Selection-Only optimization
[00:59:33] Length at start: 2663592 mils
[00:59:33] Length at end: 2663630 mils (0%), optimized in 0.226 elapsed seconds using 0.141 seconds CPU in 6 iterations

With this PR, no travel opt, one pass, merge operations

[09:33:04] Executing Inner-First Identification
[09:33:14] Inner paths identified in 9.733 elapsed seconds using 9.484 seconds CPU
[09:33:14] Executing Inner Selection-Only optimization
[09:33:14] Length at start: 2650756 mils
[09:33:14] Length at end: 2638180 mils (-0%), optimized in 0.273 elapsed seconds using 0.203 seconds CPU in 6 iterations

With this PR, with travel opt, one pass, merge operations

[09:36:58] Executing Inner-First Identification
[09:37:12] Inner paths identified in 13.413 elapsed seconds using 13.031 seconds CPU
[09:37:12] Executing Greedy Short-Travel optimization
[09:37:12] Length at start: 2650756 mils
[09:38:10] Length at end: 80314 mils (-97%), optimized in 57.845 elapsed seconds using 56.609 seconds CPU

With this PR, with travel opt, three passes, merge all

[09:39:40] Executing Inner-First Identification
[09:40:03] Inner paths identified in 22.865 elapsed seconds using 21.828 seconds CPU
[09:40:03] Executing Greedy Short-Travel optimization
[09:40:03] Length at start: 2650756 mils
[09:41:26] Length at end: 82914 mils (-97%), optimized in 82.638 elapsed seconds using 79.547 seconds CPU

I ran the unit tests just fine on my PC. I am guessing that this is an issue with unit tests on a mac. I don't have a mac so I can't test this locally but I will try to see why it hangs on a mac from the workflow output.
The only changes I now want to make to this are to the tooltips to reflect that this is no longer so CPU intensive.


Duplicate Key Input

Description
It appears there is some double input from keypresses.
Example

Environment

OS: Windows
Rust version: 1.82.0
Project version: 0.4.18(0c13626d4c1b)
Terminal: wezterm

Fixed with https://github.com/alexpasmantier/television/pull/3, I hope!


VerifyError

Running the decoder under Java 8 (Temurin) I got a VerifyError in JXLCodestreamDecoder#copyToCanvas().
I could fix it by replacing the ternary expressions by if-then-else:
private static void copyToCanvas(ImageBuffer canvas, Point start, Point off, Dimension size, ImageBuffer frameBuffer) {
Object[] canvasB; //bd resolved ternary expressions to if-else because of VerifyError
if (canvas.isInt())
canvasB = canvas.getIntBuffer();
else
canvasB = canvas.getFloatBuffer();
Object[] frameB;
if (frameBuffer.isInt())
frameB = frameBuffer.getIntBuffer();
else
frameB = frameBuffer.getFloatBuffer();
for (int y = 0; y < size.height; y++) {
System.arraycopy(frameB[y + off.y], off.x, canvasB[y + start.y], start.x, size.width);
}
}

Do you have a sample this can be reproduced by?

No, not an isolated example. I imported the Jxlatte source code into an plugin under Eclipse and Java 1.8 (Temurin) to run within an RCP applicaton. The problem occured with copyToCanvas() as static method, as instance method, and inlined into the calling code.
An Internet research showed that quite a few Verify errors under Java 1.8 were reported in connection with ternary ( = ? : ) expressions. I resolved the two ternary expression into if-then-else and the problem was gone.
My suspicion is that the Java 1.8 compiler does in this case not handle the type casting well. Both int[][] and float[][] must be cast to the same Object[].

This doesn't sound like it's an issue with jxlatte.


fct_lump_n loses interlacer class

library(interlacer)
library(forcats)

foo <- interlaced(c("a", "a", "b", "b", "c", "OMITTED"), na = "OMITTED") |>
  map_value_channel(as.factor)

fct_lump_n(foo, 2, other_level = "OTHER")
#> [1] a     a     b     b     OTHER <NA>
#> attr(,"na_channel_values")
#> [1] <NA>    <NA>    <NA>    <NA>    <NA>    OMITTED
#> Levels: OMITTED
#> Levels: a b OTHER

Created on 2024-08-08 with reprex v2.0.2

Ah, it's from fct_lump_n -> lvls_other() ->  fct_relevel() -> lvls_reorder()  -> refactor(). refactor() overwrites the class attribute
So refactor() is written to preserve all the extended attributes of the original factor, but not extensions of the class? It seems like it'd be better if it also preserved the subclass of the factor as well...


⚰(contacts) remove "base" contact inheritance

Purpose
The base contact was initially made to allow users to override a contact which exists in a common imported directory. The need is still not very clear but it seems we will have another model dedicated to "imported contacts".
Proposal
Remove all code related to Contact.base

[x] Remove Contact's base attribute
[x] Remove related tests
[x] Add migration

We will keep the override possibility, this will be done in another PR.


GDL-90 traffic alert status

I've been flying with stratux connected to Foreflight, and also pushing data to my Advanced Flight 4500s EFIS via GDL-90 serial.  Everything's working well and I've done a writeup to share with other pilots with similar config; this is one of a few dual-band In solutions that work with this hardware, and by far the most affordable.
In the build and testing, I did have one issue that required a change & recompile of the stratux code.  Because the GDL-90 "Traffic Alert Status" byte is hard-coded as 1 ("indicates that a traffic alert is active for this target" per the GDL-90 spec), the EFIS displayed all received targets in alert status.
Changing
msg[1] = 0x10 | ti.Addr_type (1.1b1 at 248)
to set the alert status to 0, as:
msg[1] = 0x00 | ti.Addr_type
allowed the EFIS to handle the alert determination on its own; on my particular display this shows distant traffic as a hollow diamond, nearby traffic as a filled diamond, and alert traffic as a yellow circle.
I tested Foreflight 8 and a WingX trial with the status set to 0, and it didn't seem to make any difference in display there.  I can't speak to how other EFISs or EFBs handle the difference, though.

Thanks for doing initial testing on this. We'll have to try with a few other EFBs to see if they even pay attention to the bit.

I've seen this same issue with certified equipment (Avidyne IFDs) and from reading the GDL90 ICD it seems this flag should only be set when the MFD is supposed to show a traffic alert.   Pull request to replace the hardcoded bit with logic that examines distance to target is inbound and conditionally sets the alert flag is inbound.

Needs EFB testing.
http://updates.stratux.me/builds/update-stratux-v1.2r2-9e12f69318.sh

@cyoung What do I look for on my EFB?

@Ergonomicmike I'm sure @cyoung will chime in, but as the author of the commit that was pulled in, I'd be very interested to see if there was any change at all with the way EFB displays traffic.   The hypothesis is that there will be no changes in how an EFB displays traffic, as the EFBs seem to ignore the flag entirely  (if they had been following the suggestions outlined in the GDL90 ICD, each target would have been displayed using a flashing yellow traffic symbol).

Okay, thanks. I'll let you know if I notice any changes.

No noticeable difference on any of the major EFBs so far. Closing until we run into an issue with it.


Track dependencies of SIL instructions on opened archetypes which they use

What's in this pull request?
This is essentially the PR #2928, with fixes for all problems reported by the buildbots performing the check-swift-validation-optimize-macosx-x86_64 tests.
This PR includes all my opened archetypes related commits. This should make it easier to revert them in one go, should it be necessary.
Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[x] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

Track dependencies of SIL instructions on opened archetypes which they use
Till now there was no way in SIL to explicitly express a dependency of an instruction on any opened archetypes used by it. This was a cause of many errors and correctness issues. In many cases the code was moved around without taking into account these dependencies, which resulted in breaking the invariant that any uses of an opened archetype should be dominated by the definition of this archetype.
This patch does the following:

Map opened archetypes to the instructions defining them, i.e. to open_existential instructions.
Introduce a helper class SILOpenedArchetypesTracker for creating and maintaining such mappings.
Introduce a helper class SILOpenedArchetypesState for providing a read-only API for looking up available opened archetypes.
Each SIL instruction which uses an opened archetype as a type gets an additional opened archetype operand representing a dependency of the instruction on this archetype. These opened archetypes operands are an in-memory representation. They are not serialized. Instead, they are re-constructed when reading binary or textual SIL files.
SILVerifier was extended to conduct more thorough checks related to the usage of opened archetypes

@swift-ci Pleas test

@swift-ci Please test

OK. Let's try a yet another merge. This time all bugs should have been fixed. I cross my fingers ;-)


Automatically validate manifests in v2 reader

Stronger validation of manifests is a useful pattern we've been using in py-ethpm. I added validation against the json schema in v2.Reader. It's been a while since I've done much js and have no experience with typescript - so pls feel free to critique this as harshly as necessary.

Travis builds are failing - but will be fixed pending https://github.com/ethpm/ethpm-spec/pull/136

ping @gnidan This isn't picking up on the most recent change to ethpm-spec. Do I need to run a script to publish the changes added in https://github.com/ethpm/ethpm-spec/pull/136 ?


New version: Google.Chrome.Canary version 108.0.5325.2

Result: Installation Successful

Manifest
Add/Remove Programs

Name
Google Chrome Canary
Google Chrome Canary

Version
108.0.5325.2
108.0.5325.2

Publisher
Google LLC
Google LLC

ProductCode

Google Chrome SxS

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 3256
Microsoft Reviewers: Open in CodeFlow

@wingetbot run


Infinite scroll for all views

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #1582
[ ] <brief_description_of_what_I've_added>

Process：

[x] explore-collection #2781
[x] explore-gallery
[x] collection/{id}
[x] profile-created
[x] profile-collection
test case: /rmrk/u/FZpjhYdt6fqRSzW1nR4fRejavcrSo7UXYP4TDhE3mgimgeC
[x] profile-sold
[x] profile-collected

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[x] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI; a screenshot is best to understand changes for others.

Infinite scroll has been done in collection/{id}.  @roiLeo
Feel free to leave some comments for code review if you have

why do you need a callback in async fetchPageData?

Because it needs to notify the fetching status changed.
The relevant code is in infiniteScrollMinxin.ts

it is necessary to have a loadDirection?

Yes, it is necessary to know in which direction will the paging data inserted.
For example, you already have a list and then you fetch paging data.
With the direction, you can directly know whether to insert it at the front or the back of the list

can we try to use fetch hook?

Sorry but I still don't know the benefit if use fetch hook.
A custom fetch function fetchPageData may be more flexible?

would be cool to add in a near future when there is "No Data" or the "End of Data", I think vue-infinite-slot provide slot template

Yes, but let's finish the infinite scroll in all views first because there is still a lot of work to be done : )
The display of "No Data" and the "End of Data" needs some Ui redesign.

Probably go on https://deploy-preview-2859--koda-nuxt.netlify.app/rmrk/explore?page=1 collections with small tiles?
🐛 - filters seem not in one row

Probably go on https://deploy-preview-2859--koda-nuxt.netlify.app/rmrk/explore?page=1 collections with small tiles as default? 🐛 - filters seem not in one row

will check it later.

Probably go on https://deploy-preview-2859--koda-nuxt.netlify.app/rmrk/explore?page=1 collections with small tiles as  default? 🐛 - filters seem not in one row

[x] 🐛Fixed - filters seem not in one row

Let's merge https://github.com/kodadot/nft-gallery/pull/2871 first, and then I could apply this fix to the other views and resolve conflicting code.

Let's merge #2871 first, and then I could apply this fix to the other views and resolve conflicting code.

Already modified code. Ready for code review now.

I manage to break it?
Scrolled somewhere down to the higher page and then went slowly back.
When I'm on top of the collection my bet page would be around the first page?
https://deploy-preview-2859--koda-nuxt.netlify.app/rmrk/collection/3892e43e923e5ad973-KAG?page=76

Another bug if I tried open this, did not load anything  https://deploy-preview-2859--koda-nuxt.netlify.app/rmrk/collection/3892e43e923e5ad973-KAG?page=395

How is paging made? Because I scroll like 1-5 pixels vertically and change pages number pretty wild 😁
https://user-images.githubusercontent.com/5887929/165516055-0c1df168-a73a-4c89-80ca-ccb7de97fd62.mov

oh, I will check it later.

It is because the collection has only 26 pages of items, however the page number on the url is greater than this maximum.
I have done something to avoid it.
Let's see if your issue has been resolved now? @yangwao

Seem the previous stuff has been fixed.
Follow up issue could be

https://github.com/kodadot/nft-gallery/pull/2859#discussion_r860844194
Test behaviour on mobile
Sharing page if it opens on new window well even on mobile
Different content between pages

What I see when open in explorer

What it supposed to be

pay 300 usd

😍 Perfect, I’ve sent the payout
💵 $300 @ 155.56 USD/KSM ~ 1.929 $KSM
🧗 Caiv9TbPz68q5dC8EcHu5xKYPRnremimGzqmEejDFNpWWLG
🔗 0x474ea6f876753de0207db5ec1b2db8e399861de63154a148e89e06467d9b09ba
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues